Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Fully automating GDB (aka how to make canned command strings see  the exit status)
@ 2006-03-16 17:18 Alex Bennee
  2006-03-16 17:25 ` Daniel Jacobowitz
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Alex Bennee @ 2006-03-16 17:18 UTC (permalink / raw)
  To: gdb

Hi,

I've got a program I'm trying to debug that crashes on a very
intermittent basis. I suspect the core dumps I'm getting are incomplete
so I would like to try and catch the the crash live in gdb.

I figure a canned script to run the program is the answer. However how
do I tell if the program has exited successfully (in which case I can
run again) to hitting the SEG and staying put for when I come back in
the morning?


--
Alex, homepage: http://www.bennee.com/~alex/
TV is chewing gum for the eyes. -- Frank Lloyd Wright


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

end of thread, other threads:[~2006-03-16 18:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-16 17:18 Fully automating GDB (aka how to make canned command strings see the exit status) Alex Bennee
2006-03-16 17:25 ` Daniel Jacobowitz
2006-03-16 23:09   ` Andrew STUBBS
2006-03-16 17:31 ` Larry Martell
2006-03-16 18:54 ` Ramana Radhakrishnan

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