Re: [uml-user] gdb + uml

2007-10-30 Thread Jeff Dike
On Mon, Oct 29, 2007 at 12:18:02PM -0600, Jon Rafkind wrote: > Actually scratch that. I'm not sure what I was doing wrong before but > now I can make gdb attach to uml in a seperate xterm. Its probably the > extra 'debug' argument. There is an up-to-date description of gdb-ing UML at http://user-m

Re: [uml-user] gdb + uml

2007-10-29 Thread Jon Rafkind
Jon Rafkind wrote: > Jeff Dike wrote: > >> On Tue, Sep 18, 2007 at 01:48:09PM -0600, Jon Rafkind wrote: >> >> >>> How can I use gdb to debug uml? I get a segfault because I have been >>> hacking on the ext3 code but I can't seem to use gdb to set breakpoints >>> in uml >>> >>> gdb) break

Re: [uml-user] gdb + uml

2007-10-29 Thread Jon Rafkind
Jeff Dike wrote: > On Tue, Sep 18, 2007 at 01:48:09PM -0600, Jon Rafkind wrote: > >> How can I use gdb to debug uml? I get a segfault because I have been >> hacking on the ext3 code but I can't seem to use gdb to set breakpoints >> in uml >> >> gdb) break ext3_fill_super >> gdb) run >> > >

Re: [uml-user] gdb + uml

2007-09-18 Thread Jeff Dike
On Tue, Sep 18, 2007 at 01:48:09PM -0600, Jon Rafkind wrote: > How can I use gdb to debug uml? I get a segfault because I have been > hacking on the ext3 code but I can't seem to use gdb to set breakpoints > in uml > > gdb) break ext3_fill_super > gdb) run Can you bring UML up and attach gdb to i

[uml-user] gdb + uml

2007-09-18 Thread Jon Rafkind
How can I use gdb to debug uml? I get a segfault because I have been hacking on the ext3 code but I can't seem to use gdb to set breakpoints in uml gdb) break ext3_fill_super gdb) run ... Program received signal SIGSEGV, Segmentation fault. 0x080d9e97 in ext3_count_free_blocks (sb=0x87e38c0) at fs