Use ISO C long strings.
This commit is contained in:
parent
30c6b1fbe9
commit
22e0437587
|
@ -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>
|
2001-11-19 Keith Seitz <keiths@redhat.com>
|
||||||
|
|
||||||
* varobj.c (c_value_of_child): Use the wrapper function,
|
* varobj.c (c_value_of_child): Use the wrapper function,
|
||||||
|
|
17
gdb/remote.c
17
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 ();
|
struct remote_state *rs = get_remote_state ();
|
||||||
if (name == 0)
|
if (name == 0)
|
||||||
error ("To open a remote debug connection, you need to specify what\n\
|
error ("To open a remote debug connection, you need to specify what\n"
|
||||||
serial device is attached to the remote system\n\
|
"serial device is attached to the remote system\n"
|
||||||
(e.g. /dev/ttyS0, /dev/ttya, COM1, etc.).");
|
"(e.g. /dev/ttyS0, /dev/ttya, COM1, etc.).");
|
||||||
|
|
||||||
/* See FIXME above */
|
/* See FIXME above */
|
||||||
wait_forever_enabled_p = 1;
|
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 ();
|
struct remote_state *rs = get_remote_state ();
|
||||||
if (name == 0)
|
if (name == 0)
|
||||||
error ("To open a remote debug connection, you need to specify what\n\
|
error ("To open a remote debug connection, you need to specify what\n"
|
||||||
serial device is attached to the remote system\n\
|
"serial device is attached to the remote system\n"
|
||||||
(e.g. /dev/ttyS0, /dev/ttya, COM1, etc.).");
|
"(e.g. /dev/ttyS0, /dev/ttya, COM1, etc.).");
|
||||||
|
|
||||||
target_preopen (from_tty);
|
target_preopen (from_tty);
|
||||||
|
|
||||||
|
@ -5437,9 +5437,8 @@ static void
|
||||||
remote_cisco_open (char *name, int from_tty)
|
remote_cisco_open (char *name, int from_tty)
|
||||||
{
|
{
|
||||||
if (name == 0)
|
if (name == 0)
|
||||||
error (
|
error ("To open a remote debug connection, you need to specify what \n"
|
||||||
"To open a remote debug connection, you need to specify what \n\
|
"device is attached to the remote system (e.g. host:port).");
|
||||||
device is attached to the remote system (e.g. host:port).");
|
|
||||||
|
|
||||||
/* See FIXME above */
|
/* See FIXME above */
|
||||||
wait_forever_enabled_p = 1;
|
wait_forever_enabled_p = 1;
|
||||||
|
|
Loading…
Reference in New Issue