This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: implement "catch signal"
On Fri, 07 Dec 2012 19:42:05 +0100, Tom Tromey wrote:
> >>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
>
> Jan> body=[bkpt={number="1",type="catchpoint",disp="keep",enabled="y",what="<signal>",signal=["SIGINT","SIGTRAP"],times="0"}]
>
> I see now that the "type" field for catchpoints is not very useful.
>
> I think we should make that change depending on the particular type of
> catchpoint that is installed. Thoughts on this?
I proposed the scheme above so that 'what' can remain still a string while it
also differentiates the various sub-kinds of the 'catchpoint' type.
Thanks,
Jan