This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: implement "catch signal"


>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:

Jan> That MI output is now:

Jan> body=[bkpt={number="1",type="catchpoint",disp="keep",enabled="y",what=[signal="SIGINT",signal="SIGTRAP"],times="0"}]

Jan> vs. for example existing:

Jan> body=[bkpt={number="3",type="catchpoint",disp="keep",enabled="y",what="<any
syscall> ",times="0"}]

Jan> but maybe it is OK this way, MI parsing has never been easy.

Yes, I think it is clearly better this way: we use MI constructs for
representing lists and such.

The "type" of the "what" field is now a bit variable.
That is, it can either be a list or a string, depending on the signal
catchpoint.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]