Re: Kernel Debugging & mbuf & opaqueness
Re: Kernel Debugging & mbuf & opaqueness
- Subject: Re: Kernel Debugging & mbuf & opaqueness
- From: Josh Graessley <email@hidden>
- Date: Tue, 6 Dec 2005 10:43:54 -0800
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:
40apple.com
This email sent to email@hidden
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden