This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: symbolic debug of loadable modules with kgdb light
I have no objection regarding generic way of sending a BREAK. However, I had
two reasons to introduce linux-kgdb.
1) Someone suggested me the same several months ago. Nobody implemented.
2) I need some way to specify debugging linux kernel by using kgdb for
symbolic debug of loadable modules.
-caz
-----Original Message-----
From: Michael Snyder [mailto:msnyder@vmware.com]
Sent: Friday, May 15, 2009 3:14 PM
To: Caz Yokoyama
Cc: 'Daniel Jacobowitz'; 'Pedro Alves'; gdb-patches@sourceware.org;
tromey@redhat.com; 'Joel Brobecker'
Subject: Re: symbolic debug of loadable modules with kgdb light
I think we need a generic way to send a BREAK
(whatever that may mean) to the target from the
command line. Like maybe a "BREAK" command.
Caz Yokoyama wrote:
> Yes, that is correct.
> -caz
> -----Original Message-----
> From: Daniel Jacobowitz [mailto:drow@false.org]
> Sent: Friday, May 15, 2009 2:34 PM
> To: Pedro Alves
> Cc: gdb-patches@sourceware.org; Caz Yokoyama; tromey@redhat.com; 'Joel
> Brobecker'
> Subject: Re: symbolic debug of loadable modules with kgdb light
>
> On Fri, May 15, 2009 at 10:23:57PM +0100, Pedro Alves wrote:
>> Sounds like you need to fix kgdb instead. Why would it need
>> a 'g' on connection?
>
> BREAK on a serial (or network maybe?) console is magic sysrq; this is
> sysrq-g, probably for debuG.
>