Bug 8903

Summary: java GC generates SIGSEGV
Product: gdb Reporter: gbs
Component: javaAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED DUPLICATE    
Severity: enhancement CC: gdb-prs
Priority: P3    
Version: 5.0   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:

Description gbs 2004-10-26 18:18:02 UTC
[Converted from Gnats 1798]

Problem occurs while using gdb to debug C/C++ programs with embedded Sun JVM. 

The JVM can generate SIGSEGV's as part of it's normal garbage collection. The JVM traps and handles these signals. 

However, gdb terminates the program C/C++ program.

Is there some way gdb could ignore the SIGSEGV's from the JVM, while continuing to process other SIGSEGV's in it's normal way?

Release:
5.0 plus

Environment:
Solaris, Cygwin, Windows
Comment 1 Tom Tromey 2009-08-04 21:09:37 UTC
I think this could probably be done if there were a way to
attach commands to a "signal breakpoint".
However, AFAIK there is no way to do this.
I'm closing this as a duplicate of the feature request for "catch signal".


*** This bug has been marked as a duplicate of 7221 ***