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.
This commit is contained in:
Tom Tromey 2018-09-14 07:46:55 -06:00
parent 65e65158c5
commit 752312ba4e
3 changed files with 9 additions and 2 deletions

View File

@ -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.

View File

@ -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);
}

View File

@ -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)