Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Creating own macros for adb

807567Apr 3 2002 — edited Apr 4 2002
Hi,
I was looking at the 'proc' adb macro and it is basically printing
all the process information offsetting from the process base address.
Question is how does the macro know what info is at what offset ?
Ofcourse /usr/include/sys/proc.h would be one source.
How do you find out what information is at what offset ? eg., how does the proc macro know that ppid is at a particular offset ?

I am trying to find information to write a tool which will let one navigate all kernel data structures logically (something line 'analyse/system' tool found on VMS).

Tried adbgen, but that still needs offset info.

Thanks,
-A
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 2 2002
Added on Apr 3 2002
1 comment
336 views