aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-11-19 20:18:32 +0000
committerAndrew Cagney <cagney@redhat.com>2001-11-19 20:18:32 +0000
commit22e04375877bca22b09c1fe3c4ce52e810799eeb (patch)
treec1d4b4daa0ad29354b9969dfcee5e4e73c89ad7b
parent30c6b1fbe984d8cf5cb51f21aeef1241fd53524e (diff)
downloadgdb-22e04375877bca22b09c1fe3c4ce52e810799eeb.zip
gdb-22e04375877bca22b09c1fe3c4ce52e810799eeb.tar.gz
gdb-22e04375877bca22b09c1fe3c4ce52e810799eeb.tar.bz2
Use ISO C long strings.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/remote.c17
2 files changed, 14 insertions, 9 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a41263a..818d8eb 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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,
diff --git a/gdb/remote.c b/gdb/remote.c
index e5b707a..bd8e68e 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;