[mdb-discuss] Re: mdb examples?

2005-10-12 Thread Frank Hofmann - Solaris Sustaining
> > You can just do: > > > > > devnamesp::print [20] > > { > > [20].dn_name = 0x82a46ba0 "hci1394" > > ... > > } > > > > Here's a dumb question.. > > I'm coming from well over a decade of using gdb and dbx before that. > With those debuggers, the debugger already knows t

[mdb-discuss] Re: mdb examples?

2005-10-12 Thread Frank Hofmann - Solaris Sustaining
> > For the time being, I've put the PDF file only onto my old student > > account at http://cip.physik.uni-wuerzburg.de/~hofmann/docs/book.pdf > > where I'll keep it until the editable material on mediacast.sun.com > > is publically reachable. > > > > mdb usage examples are Chapter 7. > > Thes

[mdb-discuss] Re: mdb examples?

2005-10-12 Thread Andrew Gallatin
Frank Hofmann - Solaris Sustaining writes: > > In kernel debugging, you usually pull an address out of thin air. In (gdb/dbx) I typically pull an address off the stack in the form of local variables or function arguments. In gdb parlance, a typical debugging session for me will be something

[mdb-discuss] Re: mdb examples?

2005-10-12 Thread Andrew Gallatin
Jonathan Adams writes: > > You can just do: > > > devnamesp::print [20] > { > [20].dn_name = 0x82a46ba0 "hci1394" > ... > } > Here's a dumb question.. I'm coming from well over a decade of using gdb and dbx before that. With those debuggers, the debugger already knows

[mdb-discuss] Re: mdb examples?

2005-10-12 Thread Jonathan Adams
On Wed, Oct 12, 2005 at 03:58:02PM -0400, Andrew Gallatin wrote: > > Frank Hofmann - Solaris Sustaining writes: > > > > In kernel debugging, you usually pull an address out of thin air. > > > In (gdb/dbx) I typically pull an address off the stack in the form of > local variables or function a

[mdb-discuss] Re: mdb examples?

2005-10-12 Thread Adam Leventhal
On Wed, Oct 12, 2005 at 03:10:06PM -0400, Andrew Gallatin wrote: > > Jonathan Adams writes: > > > > You can just do: > > > > > devnamesp::print [20] > > { > > [20].dn_name = 0x82a46ba0 "hci1394" > > ... > > } > > > > Here's a dumb question.. > > I'm coming from well ov

[mdb-discuss] Re: mdb examples?

2005-10-12 Thread Jonathan Adams
On Wed, Oct 12, 2005 at 07:49:01PM +0100, Frank Hofmann - Solaris Sustaining wrote: > Btw, is there an existing RFE against mdb asking to be able to > use "::offsetof" and "::sizeof" in arithmetic expressions, to > get better array handling support ? > > I.e. I'd like to look at specific elements

[mdb-discuss] Re: mdb examples?

2005-10-12 Thread Jonathan Adams
On Mon, Oct 10, 2005 at 08:39:08PM +0100, Frank Hofmann - Solaris Sustaining wrote: > > For the time being, I've put the PDF file only onto my old student > account at http://cip.physik.uni-wuerzburg.de/~hofmann/docs/book.pdf > where I'll keep it until the editable material on mediacast.sun.com >