Re: [2/2] RFC: let "commands" affect multiple breakpoints

Tom Tromey
2010-03-10T16:34:30Z

>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:

Tom> I'd appreciate comments on this. Barring comments I will commit it
Tom> soonish. It needs a doc review.

Actually, this patch is a little half-baked. I forgot (sigh) to write
any tests... so I won't be committing it until I do that.

I do have a question though. With this change, gdb prints somewhat less
nice text for "commands":

Tom> + l = read_command_lines (_("Type commands for all specified breakpoints"),
Tom> + info->from_tty, 1);

Tom> - char *tmpbuf = xstrprintf ("Type commands for when breakpoint %d is hit, one per line.",
Tom> - bnum);

Any suggestions for something better here?

Tom