* execute commands on signal and pass @ 2010-12-10 12:14 Ilya Basin 2010-12-10 18:09 ` Michael Snyder 2010-12-10 19:04 ` Tom Tromey 0 siblings, 2 replies; 3+ messages in thread From: Ilya Basin @ 2010-12-10 12:14 UTC (permalink / raw) To: gdb I can tell gdb to execute some commands when breakpoint hit: break [LOCATION] commands backtrace continue end Can I tell gdb to execute some commands on SIGSEGV and pass? ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: execute commands on signal and pass 2010-12-10 12:14 execute commands on signal and pass Ilya Basin @ 2010-12-10 18:09 ` Michael Snyder 2010-12-10 19:04 ` Tom Tromey 1 sibling, 0 replies; 3+ messages in thread From: Michael Snyder @ 2010-12-10 18:09 UTC (permalink / raw) To: Ilya Basin; +Cc: gdb Ilya Basin wrote: > I can tell gdb to execute some commands when breakpoint hit: > break [LOCATION] > commands > backtrace > continue > end > > Can I tell gdb to execute some commands on SIGSEGV and pass? No, but it's not a bad suggestion. ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: execute commands on signal and pass 2010-12-10 12:14 execute commands on signal and pass Ilya Basin 2010-12-10 18:09 ` Michael Snyder @ 2010-12-10 19:04 ` Tom Tromey 1 sibling, 0 replies; 3+ messages in thread From: Tom Tromey @ 2010-12-10 19:04 UTC (permalink / raw) To: Ilya Basin; +Cc: gdb Ilya> Can I tell gdb to execute some commands on SIGSEGV and pass? This has been a wish-list item since forever: http://sourceware.org/bugzilla/show_bug.cgi?id=7221 I agree with Michael that this would be a nice feature. Tom ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-12-10 19:04 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2010-12-10 12:14 execute commands on signal and pass Ilya Basin 2010-12-10 18:09 ` Michael Snyder 2010-12-10 19:04 ` Tom Tromey
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox