Use ISO C long strings.

This commit is contained in:
Andrew Cagney 2001-11-19 20:18:32 +00:00
parent 30c6b1fbe9
commit 22e0437587
2 changed files with 14 additions and 9 deletions

View 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,

View 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;