This is the mail archive of the gdb-patches@sourceware.cygnus.com 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]

Can decode_line_1() return sals.nelts > 1?


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

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