This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

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


>>>>> "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


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