It's getting more confused as I dig more deeper into this I getting the same data from two different addresses as I did the below
self->spwd = (uintptr_t *) copyin((uintptr_t)arg1, 4); self->a = (char *) copyin((uintptr_t)arg1, 4); printf("\nchar at address %a is %c\n",self->a,*self->a); printf("\nchar at address%a is %c\n",self->a+1,*(self->a+1)); printf("\nchar at address%a is %c\n",self->a+2,*(self->a+2)); printf("\nchar at address%a is %c\n",self->a+3,*(self->a+3)); printf("\nchar at address%a is %c\n",self->a+4,*(self->a+4)); printf("\nchar at address%a is %c\n",self->a+5,*(self->a+5)); printf("\nchar at address%a is %c\n",self->a+6,*(self->a+6)); printf("\nchar at address%a is %c\n",self->a+7,*(self->a+7)); printf("\nchar at address%a is %c\n",self->a+8,*(self->a+8)); printf("\nchar at address%a is %c\n",self->spwd,*((char *) self->spwd)); printf("\nchar at address%a is %c\n",self->spwd+1,*((char *) self->spwd+1)); char at address 0x300dc9249b8 is p char at address0x300dc9249b9 is q char at address0x300dc9249ba is r char at address0x300dc9249bb is s char at address0x300dc9249bc is char at address0x300dc9249bd is char at address0x300dc9249be is char at address0x300dc9249bf is char at address0x300dc9249c0 is char at address0x300dc9249b0 is p char at address0x300dc9249b8 is q 0x300dc9249b8 and 0x300dc9249b0 contain char p? I'll take a look at the link you suggested and read the DTrace UG again. Thanks -- This message posted from opensolaris.org _______________________________________________ dtrace-discuss mailing list dtrace-discuss@opensolaris.org