[prev in list] [next in list] [prev in thread] [next in thread]
List: user-mode-linux-user
Subject: Re: [uml-user] gdb + uml
From: Jeff Dike <jdike () addtoit ! com>
Date: 2007-09-18 23:15:14
Message-ID: 20070918231514.GA9510 () c2 ! user-mode-linux ! org
[Download RAW message or body]
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 it later? That seems to be reliable.
gdb has always had problems with UML, and I've never understood why.
Jeff
--
Work email - jdike at linux dot intel dot com
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic