2012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
authorSergio Durigan Junior <sergiodj@redhat.com>
Fri, 27 Apr 2012 20:48:57 +0000 (20:48 +0000)
committerSergio Durigan Junior <sergiodj@redhat.com>
Fri, 27 Apr 2012 20:48:57 +0000 (20:48 +0000)
commit28106bc2feb5553aede17c93fcb01c08bf935ad1
tree401179ea78fca6f770f4172c3f12af2c4026832d
parent55aa24fb2eb147288fec359a99e960f7136336e8
2012-04-27  Sergio Durigan Junior  <sergiodj@redhat.com>
    Tom Tromey  <tromey@redhat.com>

* breakpoint.c (struct breakpoint_objfile_data)
<longjmp_searched>,<longjmp_probes>,<exception_searched>,
<exception_probes>: New fields.
(free_breakpoint_probes): New function.
(create_longjmp_master_breakpoint): Prefer SystemTap probe over
`_Unwind_DebugHook'.
(create_exception_master_breakpoint): Likewise.
(_initialize_breakpoint): Registering cleanup for SystemTap probes.
* infrun.c: Including necessary header files for handling SystemTap
probes.
(handle_inferior_event): Handling longjmp breakpoint and exceptions
via SystemTap probes.
(check_exception_resume): Remove `func' argument.  Handle exception
unwinding breakpoint set via a SystemTap probe.
(insert_exception_resume_from_probe): New function.
gdb/ChangeLog
gdb/breakpoint.c
gdb/infrun.c