This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [2/2] RFC: let "commands" affect multiple breakpoints
- From: Tom Tromey <tromey at redhat dot com>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 11 Mar 2010 13:50:03 -0700
- Subject: Re: [2/2] RFC: let "commands" affect multiple breakpoints
- References: <m31vfsltl7.fsf@fleche.redhat.com> <83bpew2i3y.fsf@gnu.org>
- Reply-to: Tom Tromey <tromey at redhat dot com>
>>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:
>> -@item commands @r{[}@var{bnum}@r{]}
>> +@item commands @r{[}@var{range}@dots{}@r{]}
>> @itemx @dots{} @var{command-list} @dots{}
>> @itemx end
>> -Specify a list of commands for breakpoint number @var{bnum}. The commands
>> +Specify a list of commands for the given breakpoints. The commands
>> themselves appear on the following lines. Type a line containing just
>> @code{end} to terminate the commands.
Eli> You never say what is the valid syntax of RANGE. Do I understand
Eli> correctly that RANGE could be "12-34"? Can it also be "1 2 3 4",
Eli> i.e. a list of numbers? What about mixing those ("1-10 25 35")?
Ranges are already described in the parent node, Breakpoints.
Also, none of the other places that use ranges refer to this node.
Tom