OSDN Git Service

Use ISO C long strings.
authorAndrew Cagney <cagney@redhat.com>
Mon, 19 Nov 2001 20:18:32 +0000 (20:18 +0000)
committerAndrew Cagney <cagney@redhat.com>
Mon, 19 Nov 2001 20:18:32 +0000 (20:18 +0000)
gdb/ChangeLog
gdb/remote.c

index a41263a..818d8eb 100644 (file)
@@ -1,3 +1,9 @@
+Mon Nov 19 14:58:52 2001  Andrew Cagney  <cagney@redhat.com>
+
+       * remote.c (remote_open_1, remote_async_open_1): Use ISO C string
+       concatenation for error parameter.
+       (remote_cisco_open): Ditto.
+
 2001-11-19  Keith Seitz  <keiths@redhat.com>
 
        * varobj.c (c_value_of_child): Use the wrapper function,
index e5b707a..bd8e68e 100644 (file)
@@ -2227,9 +2227,9 @@ remote_open_1 (char *name, int from_tty, struct target_ops *target,
 {
   struct remote_state *rs = get_remote_state ();
   if (name == 0)
-    error ("To open a remote debug connection, you need to specify what\n\
-serial device is attached to the remote system\n\
-(e.g. /dev/ttyS0, /dev/ttya, COM1, etc.).");
+    error ("To open a remote debug connection, you need to specify what\n"
+          "serial device is attached to the remote system\n"
+          "(e.g. /dev/ttyS0, /dev/ttya, COM1, etc.).");
 
   /* See FIXME above */
   wait_forever_enabled_p = 1;
@@ -2328,9 +2328,9 @@ remote_async_open_1 (char *name, int from_tty, struct target_ops *target,
 {
   struct remote_state *rs = get_remote_state ();
   if (name == 0)
-    error ("To open a remote debug connection, you need to specify what\n\
-serial device is attached to the remote system\n\
-(e.g. /dev/ttyS0, /dev/ttya, COM1, etc.).");
+    error ("To open a remote debug connection, you need to specify what\n"
+          "serial device is attached to the remote system\n"
+          "(e.g. /dev/ttyS0, /dev/ttya, COM1, etc.).");
 
   target_preopen (from_tty);
 
@@ -5437,9 +5437,8 @@ static void
 remote_cisco_open (char *name, int from_tty)
 {
   if (name == 0)
-    error (
-           "To open a remote debug connection, you need to specify what \n\
-device is attached to the remote system (e.g. host:port).");
+    error ("To open a remote debug connection, you need to specify what \n"
+          "device is attached to the remote system (e.g. host:port).");
 
   /* See FIXME above */
   wait_forever_enabled_p = 1;