Use GNU style for metasyntactic variables in gdbserver
authorTom Tromey <tom@tromey.com>
Fri, 14 Sep 2018 13:46:55 +0000 (07:46 -0600)
committerTom Tromey <tom@tromey.com>
Sun, 16 Sep 2018 12:25:17 +0000 (06:25 -0600)
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.

gdb/gdbserver/ChangeLog
gdb/gdbserver/gdbreplay.c
gdb/gdbserver/remote-utils.c

index 0c5c32b22effbf90cef07ce81591804242f39a2d..c9979ed330f9cf9536eef54139a7dcb2df89dd81 100644 (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.
 2018-09-05  Tom Tromey  <tom@tromey.com>
 
        * configure: Rebuild.
index b05209c4d1474804b71fdf0538487bdba4279f43..9e81541712ee5f0000756d70c46980e5f8be9602 100644 (file)
@@ -448,7 +448,7 @@ gdbreplay_version (void)
 static void
 gdbreplay_usage (FILE *stream)
 {
 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);
 }
   if (REPORT_BUGS_TO[0] && stream == stdout)
     fprintf (stream, "Report bugs to \"%s\".\n", REPORT_BUGS_TO);
 }
index 38c90324288c510c348d03dbe2ea4da2a9a41f28..9199a9c7add50c8d414467925a06eb81bee25496 100644 (file)
@@ -336,7 +336,7 @@ remote_open (const char *name)
   port_str = strchr (name, ':');
 #ifdef USE_WIN32API
   if (port_str == NULL)
   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)
 #endif
 
   if (strcmp (name, STDIO_CONNECTION_NAME) == 0)
This page took 0.032983 seconds and 4 git commands to generate.