RFC: implement "catch signal"
Yao Qi
yao@codesourcery.com
Sat Nov 17 02:22:00 GMT 2012
On 11/17/2012 03:06 AM, Tom Tromey wrote:
> * breakpoint.c (base_breakpoint_ops): No longer static.
> (bpstat_explains_signal): New function.
> (init_catchpoint): No longer static.
> (base_breakpoint_explains_signal): New function.
> (base_breakpoint_ops): Initialize new field.
> * breakpoint.h (enum bpstat_signal_value): New.
> (struct breakpoint_ops) <explains_signal>: New field.
> (bpstat_explains_signal): Remove macro, declare as function.
> (base_breakpoint_ops, init_catchpoint): Declare.
> * break-catch-sig.c: New file.
FWIW, I am happy to see that some interfaces are exposed from
breakpoint.c, and this new feature is implemented in a new file instead
of in already-too-long breakpoint.c.
--
Yao (é½å°§)
More information about the Gdb-patches
mailing list