Creating own macros for adb
807567Apr 3 2002 — edited Apr 4 2002Hi,
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