This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Can decode_line_1() return sals.nelts > 1?
- To: GDB Patches <gdb-patches at sourceware dot cygnus dot com>
- Subject: Can decode_line_1() return sals.nelts > 1?
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Mon, 13 Dec 1999 22:13:09 +1100
- Organization: Cygnus Solutions
Hello,
Grubbing through break_command_1() and noticed:
if (sals.nelts > 1)
{
warning ("Multiple breakpoints were set.");
warning ("Use the \"delete\" command to delete unwanted
breakpoints.");
}
I'm left wondering _how_ break_command_1() can end up with sals.nelts
with a value of anything other than one. Looking through
decode_line_1() which is used to decode the breakpoint expression I
can't find anything other than sals.nelts being set to zero or one.
Anyone know?
Andrew