Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* RE: FW: gstack
@ 2007-02-06 18:05 Bloch, Jack (SNL US)
  2007-02-07  3:03 ` Daniel Jacobowitz
  0 siblings, 1 reply; 4+ messages in thread
From: Bloch, Jack (SNL US) @ 2007-02-06 18:05 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: gdb

Perhaps I was not clear. Is there a way in GDB to display the signal
which hit the program being attached to?

I expected that the thread apply all bt full would display parameters
but the target binary has no debug symbols although I would have thought
that the values would still be displayed 

-----Original Message-----
From: Daniel Jacobowitz [mailto:drow@false.org] 
Sent: Tuesday, February 06, 2007 11:01 AM
To: Bloch, Jack (SNL US)
Cc: gdb@sourceware.org
Subject: Re: FW: gstack

On Tue, Feb 06, 2007 at 07:55:39AM -0800, Bloch, Jack (SNL US) wrote:
> I am using gstack which is invoked whenever my applicaton gets a
signal.
> I have added the full option to the thread apply all bt statement in
the
> gstack script, but I want to have the signal displaywed in the gstack
> output. is there any way to make this happen

Ask whoever you got gstack from?  It's not part of GNU GDB releases; I
assume it's just a wrapper script calling GDB.

-- 
Daniel Jacobowitz
CodeSourcery


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: FW: gstack
  2007-02-06 18:05 FW: gstack Bloch, Jack (SNL US)
@ 2007-02-07  3:03 ` Daniel Jacobowitz
  0 siblings, 0 replies; 4+ messages in thread
From: Daniel Jacobowitz @ 2007-02-07  3:03 UTC (permalink / raw)
  To: Bloch, Jack (SNL US); +Cc: gdb

On Tue, Feb 06, 2007 at 10:06:37AM -0800, Bloch, Jack (SNL US) wrote:
> Perhaps I was not clear. Is there a way in GDB to display the signal
> which hit the program being attached to?

Hmm, I don't think there is.  On a lot of systems there's no way to
tell.  If you know inside the application, you could save it in a
global and have GDB print it - it's possible to get that to work
even if you do not have debug symbols.

> I expected that the thread apply all bt full would display parameters
> but the target binary has no debug symbols although I would have thought
> that the values would still be displayed 

No, we can't display arguments without knowing their types, so we need
debug info.

-- 
Daniel Jacobowitz
CodeSourcery


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: FW: gstack
  2007-02-06 15:54 Bloch, Jack (SNL US)
@ 2007-02-06 16:00 ` Daniel Jacobowitz
  0 siblings, 0 replies; 4+ messages in thread
From: Daniel Jacobowitz @ 2007-02-06 16:00 UTC (permalink / raw)
  To: Bloch, Jack (SNL US); +Cc: gdb

On Tue, Feb 06, 2007 at 07:55:39AM -0800, Bloch, Jack (SNL US) wrote:
> I am using gstack which is invoked whenever my applicaton gets a signal.
> I have added the full option to the thread apply all bt statement in the
> gstack script, but I want to have the signal displaywed in the gstack
> output. is there any way to make this happen

Ask whoever you got gstack from?  It's not part of GNU GDB releases; I
assume it's just a wrapper script calling GDB.

-- 
Daniel Jacobowitz
CodeSourcery


^ permalink raw reply	[flat|nested] 4+ messages in thread

* FW: gstack
@ 2007-02-06 15:54 Bloch, Jack (SNL US)
  2007-02-06 16:00 ` Daniel Jacobowitz
  0 siblings, 1 reply; 4+ messages in thread
From: Bloch, Jack (SNL US) @ 2007-02-06 15:54 UTC (permalink / raw)
  To: gdb

 

________________________________

From: Bloch, Jack (SNL US) 
Sent: Tuesday, February 06, 2007 10:32 AM
To: 'gdb@sourceware.org'
Subject: gstack


I am using gstack which is invoked whenever my applicaton gets a signal.
I have added the full option to the thread apply all bt statement in the
gstack script, but I want to have the signal displaywed in the gstack
output. is there any way to make this happen


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-02-07  3:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-06 18:05 FW: gstack Bloch, Jack (SNL US)
2007-02-07  3:03 ` Daniel Jacobowitz
  -- strict thread matches above, loose matches on Subject: below --
2007-02-06 15:54 Bloch, Jack (SNL US)
2007-02-06 16:00 ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox