diff options
author | Tom Tromey <tom@tromey.com> | 2018-09-14 07:46:55 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-09-16 06:25:17 -0600 |
commit | 752312ba4e53fea8e77ae240a35a7b508c6ca619 (patch) | |
tree | 27019e105bbc9800c5b3e1f4e61a2939fc89b704 /gdb | |
parent | 65e65158c50dd7e7a5fbc9dcdad9da6df31e01c4 (diff) | |
download | gdb-752312ba4e53fea8e77ae240a35a7b508c6ca619.zip gdb-752312ba4e53fea8e77ae240a35a7b508c6ca619.tar.gz gdb-752312ba4e53fea8e77ae240a35a7b508c6ca619.tar.bz2 |
Use GNU style for metasyntactic variables in gdbserver
This changes a couple of places in gdbserver to use the GNU style for
metasyntactic variables.
gdb/gdbserver/ChangeLog
2018-09-16 Tom Tromey <tom@tromey.com>
* remote-utils.c (remote_open): Use GNU style for metasyntactic
variables.
* gdbreplay.c (gdbreplay_usage): Use GNU style for metasyntactic
variables.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 7 | ||||
-rw-r--r-- | gdb/gdbserver/gdbreplay.c | 2 | ||||
-rw-r--r-- | gdb/gdbserver/remote-utils.c | 2 |
3 files changed, 9 insertions, 2 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 0c5c32b..c9979ed 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,10 @@ +2018-09-16 Tom Tromey <tom@tromey.com> + + * remote-utils.c (remote_open): Use GNU style for metasyntactic + variables. + * gdbreplay.c (gdbreplay_usage): Use GNU style for metasyntactic + variables. + 2018-09-05 Tom Tromey <tom@tromey.com> * configure: Rebuild. diff --git a/gdb/gdbserver/gdbreplay.c b/gdb/gdbserver/gdbreplay.c index b05209c..9e81541 100644 --- a/gdb/gdbserver/gdbreplay.c +++ b/gdb/gdbserver/gdbreplay.c @@ -448,7 +448,7 @@ gdbreplay_version (void) static void gdbreplay_usage (FILE *stream) { - fprintf (stream, "Usage:\tgdbreplay <logfile> <host:port>\n"); + fprintf (stream, "Usage:\tgdbreplay LOGFILE HOST:PORT\n"); if (REPORT_BUGS_TO[0] && stream == stdout) fprintf (stream, "Report bugs to \"%s\".\n", REPORT_BUGS_TO); } diff --git a/gdb/gdbserver/remote-utils.c b/gdb/gdbserver/remote-utils.c index 38c9032..9199a9c 100644 --- a/gdb/gdbserver/remote-utils.c +++ b/gdb/gdbserver/remote-utils.c @@ -336,7 +336,7 @@ remote_open (const char *name) port_str = strchr (name, ':'); #ifdef USE_WIN32API if (port_str == NULL) - error ("Only <host>:<port> is supported on this platform."); + error ("Only HOST:PORT is supported on this platform."); #endif if (strcmp (name, STDIO_CONNECTION_NAME) == 0) |