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: gdb-patches at sourceware dot org
- Date: Wed, 10 Mar 2010 09:34:17 -0700
- Subject: Re: [2/2] RFC: let "commands" affect multiple breakpoints
- References: <m31vfsltl7.fsf@fleche.redhat.com>
- Reply-to: Tom Tromey <tromey at redhat dot com>
>>>>> "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