From: Andrew Cagney Date: Mon, 19 Nov 2001 20:18:32 +0000 (+0000) Subject: Use ISO C long strings. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=22e04375877bca22b09c1fe3c4ce52e810799eeb;p=binutils-gdb.git Use ISO C long strings. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a41263a1bfa..818d8ebba8f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +Mon Nov 19 14:58:52 2001 Andrew Cagney + + * 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 * varobj.c (c_value_of_child): Use the wrapper function, diff --git a/gdb/remote.c b/gdb/remote.c index e5b707a2b34..bd8e68e7c6e 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -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;