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]

FYI: removing trailing \n from dprintf help


I noticed that the dprintf help text has a trailing newline.

Other commands in breakpoint.c, and generally in gdb, do not do this.
So, I removed this one.

I'm checking this in.

Built and regtested on x86-64 Fedora 18.

Tom

2013-06-19  Tom Tromey  <tromey@redhat.com>

	* breakpoint.c (_initialize_breakpoint): Remove trailing \n from
	"dprintf" help.

Index: breakpoint.c
===================================================================
RCS file: /cvs/src/src/gdb/breakpoint.c,v
retrieving revision 1.766
diff -u -r1.766 breakpoint.c
--- breakpoint.c	18 Jun 2013 19:57:48 -0000	1.766
+++ breakpoint.c	19 Jun 2013 19:04:01 -0000
@@ -16453,8 +16453,7 @@
 dprintf location,format string,arg1,arg2,...\n\
 location may be a line number, function name, or \"*\" and an address.\n\
 If a line number is specified, break at start of code for that line.\n\
-If a function is specified, break at start of code for that function.\n\
-"));
+If a function is specified, break at start of code for that function."));
   set_cmd_completer (c, location_completer);
 
   add_setshow_enum_cmd ("dprintf-style", class_support,


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