From 0e2bd21956791f9a638251d3364c8fc4e4bdeb85 Mon Sep 17 00:00:00 2001
From: Richard Earnshaw <richard.earnshaw@arm.com>
Date: Wed, 8 May 2002 15:59:52 +0000
Subject: * remote-rdi.c (_initializie_remote_rdi): Use ANSI-style string
 concatenation for command help messages.

---
 gdb/ChangeLog    |  5 +++++
 gdb/remote-rdi.c | 48 +++++++++++++++++++++++++-----------------------
 2 files changed, 30 insertions(+), 23 deletions(-)

(limited to 'gdb')

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 91fa94d..2b0a106 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2002-05-08  Richard Earnshaw  <rearnsha@arm.com>
+
+	* remote-rdi.c (_initializie_remote_rdi): Use ANSI-style string
+	concatenation for command help messages.
+
 2002-05-08  Jason Thorpe  <thorpej@wasabisystems.com>
 
 	* NEWS: Note new sh*-*-netbsdelf* configuration.
diff --git a/gdb/remote-rdi.c b/gdb/remote-rdi.c
index 695a302..5243f9b 100644
--- a/gdb/remote-rdi.c
+++ b/gdb/remote-rdi.c
@@ -1023,39 +1023,41 @@ _initialize_remote_rdi (void)
 
   c = add_cmd ("rdilogfile", class_maintenance,
 	       rdilogfile_command,
-	       "Set filename for ADP packet log.\n\
-This file is used to log Angel Debugger Protocol packets.\n\
-With a single argument, sets the logfile name to that value.\n\
-Without an argument, shows the current logfile name.\n\
-See also: rdilogenable\n",
-	   &maintenancelist);
+	       "Set filename for ADP packet log.\n"
+	       "This file is used to log Angel Debugger Protocol packets.\n"
+	       "With a single argument, sets the logfile name to that value.\n"
+	       "Without an argument, shows the current logfile name.\n"
+	       "See also: rdilogenable\n",
+	       &maintenancelist);
   set_cmd_completer (c, filename_completer);
 
   add_cmd ("rdilogenable", class_maintenance,
 	   rdilogenable_command,
-	   "Set enable logging of ADP packets.\n\
-This will log ADP packets exchanged between gdb and the\n\
-rdi target device.\n\
-An argument of 1,t,true,y,yes will enable.\n\
-An argument of 0,f,false,n,no will disabled.\n\
-Withough an argument, it will display current state.\n",
+	   "Set enable logging of ADP packets.\n"
+	   "This will log ADP packets exchanged between gdb and the\n"
+	   "rdi target device.\n"
+	   "An argument of 1, t, true, y or yes will enable.\n"
+	   "An argument of 0, f, false, n or no will disabled.\n"
+	   "Withough an argument, it will display current state.\n",
 	   &maintenancelist);
 
   add_show_from_set
-    (add_set_boolean_cmd ("rdiromatzero", no_class, &rom_at_zero,
-			  "Set target has ROM at addr 0.\n\
-A true value disables vector catching, false enables vector catching.\n\
-This is evaluated at the time the 'target rdi' command is executed\n",
-			  &setlist),
+    (add_set_boolean_cmd
+     ("rdiromatzero", no_class, &rom_at_zero,
+      "Set target has ROM at addr 0.\n"
+      "A true value disables vector catching, false enables vector catching.\n"
+      "This is evaluated at the time the 'target rdi' command is executed\n",
+      &setlist),
      &showlist);
 
   add_show_from_set
-    (add_set_boolean_cmd ("rdiheartbeat", no_class, &rdi_heartbeat,
-			  "Set enable for ADP heartbeat packets.\n\
-I don't know why you would want this. If you enable them,\n\
-it will confuse ARM and EPI JTAG interface boxes as well\n\
-as the Angel Monitor.\n",
-			  &setlist),
+    (add_set_boolean_cmd
+     ("rdiheartbeat", no_class, &rdi_heartbeat,
+      "Set enable for ADP heartbeat packets.\n"
+      "I don't know why you would want this. If you enable them,\n"
+      "it will confuse ARM and EPI JTAG interface boxes as well\n"
+      "as the Angel Monitor.\n",
+      &setlist),
      &showlist);
 }
 
-- 
cgit v1.1