If you have the kernel symbol file, you can use the following:
p *(struct mbuf*)myBufPtr
I believe you can get the kernel symbol file as part of a kernel
debugging SDK.
-josh
On Dec 6, 2005, at 8:35 AM, Stephane Sudre wrote:
Stupid question probably but I have not found the answer for it yet.
Let's say I am remote-debugging a kernel extension on OS X 10.4.3.
How can I display the contents or values of a mbuf in gdb?
Since the structure is now opaque, doing a p *myBufPtr is leading
to <type description incomplete> (or something like this).
The idea is that I would like to be able to browse the mbuf link
chain and inspect the data and length of each mbuf.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/macnetworkprog/jgraessley%
40apple.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macnetworkprog/email@hidden
This email sent to email@hidden