From: Blaisorblade <blaisorblade@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: Miao Qingjun <qmiao@centecnetworks.com>,
user-mode-linux-user@lists.sourceforge.net
Subject: Re: [uml-devel] uml and gdb debugging questions
Date: Wed, 12 Jul 2006 20:59:55 +0200 [thread overview]
Message-ID: <200607122059.55708.blaisorblade@yahoo.it> (raw)
In-Reply-To: <019a01c6a54f$405ffdf0$d4190a0a@centecnetworks.com>
On Wednesday 12 July 2006 03:05, Miao Qingjun wrote:
> Hi,
>
> I have several problems about uml-2.6.17 and gdb debugging.
>
> I start "gdb uml", "b sys_init_module", then "run",
> but gdb is not break at sys_init_module() when I insmod LKM?
> Why? How can I do it?
Sometimes breakpoints don't work in GDB :-(. An hack was posted: it was based
on recompiling after adding code calling pause() if a variable was set and
setting the variable only from the debugger; however some special care was
needed to avoid gcc recognizing nobody set the variable and optimizing the
check out.
> When I type control-c in gdb, the virtual console xterm is also closed,
This doesn't happen here for what I remember, I used both Ctrl-C and kill -INT
<main pid> to get back the control in the console.
> I just want to enter gdb command line to single step kernel code, how can I
> do it?
--
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade
http://www.user-mode-linux.org/~blaisorblade
Chiacchiera con i tuoi amici in tempo reale!
http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next prev parent reply other threads:[~2006-07-12 19:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-12 1:05 [uml-devel] uml and gdb debugging questions Miao Qingjun
2006-07-12 18:59 ` Blaisorblade [this message]
2006-07-13 19:37 ` [uml-devel] [uml-user] " Jeff Dike
2006-07-14 18:48 ` Blaisorblade
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200607122059.55708.blaisorblade@yahoo.it \
--to=blaisorblade@yahoo.it \
--cc=qmiao@centecnetworks.com \
--cc=user-mode-linux-devel@lists.sourceforge.net \
--cc=user-mode-linux-user@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox