This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [MI][patch v2] -break-list to specify "thread-group"
>>>>> "Marc" == Marc Khouzam <marc.khouzam@ericsson.com> writes:
Marc> Here's a second stab at it using the "i" prefix for MI.
I think the general idea is great.
Marc> The below patch adds the new field "thread-group".
My recollection, reinforced by browsing the MI docs just now, is that
generally the field name "thread-group" is used to specify a single
group. However, with this patch it is actually list-valued. So, I
think a different name would be somewhat better, maybe "thread-groups".
Marc> or (if the bp applies to multiple inferiors, which I didn't quite
Marc> out how to officially trigger, so I hacked the code to make sure
Marc> the output was done properly in that case):
Hm. I think a given location can only apply to a single inferior.
I am not totally sure.
So maybe making it "thread-group" and giving it a single value is the
right thing to do.
Tom