gdb/gdbserver/
authorPedro Alves <palves@redhat.com>
Mon, 26 Jan 2009 16:16:48 +0000 (16:16 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 26 Jan 2009 16:16:48 +0000 (16:16 +0000)
* server.c (gdbserver_usage): Mention --remote-debug.
(main): Accept '--remote-debug' switch.

gdb/doc/
* gdb.texinfo (Using the `gdbserver' Program): Document
--remote-debug.

gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/gdbserver/ChangeLog
gdb/gdbserver/server.c

index 255ba7b3f9b9a560e7497210c797a41a8882a206..e708185387d434f1a5b910ff98334fba60a73855 100644 (file)
@@ -1,3 +1,8 @@
+2009-01-26  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.texinfo (Using the `gdbserver' Program): Document
+       --remote-debug.
+
 2009-01-23  Doug Evans  <dje@google.com>
 
        * gdb.texinfo: Add nexti to list of commands that support
index bb9161b34f57f5eb1c2b82c85e12bddffd7b3e3c..add576d477c831b9b3fc4b471e378950022b720d 100644 (file)
@@ -13985,10 +13985,11 @@ You can terminate it by using @code{monitor exit}
 
 @subsubsection Other Command-Line Arguments for @code{gdbserver}
 
-You can include @option{--debug} on the @code{gdbserver} command line.
-@code{gdbserver} will display extra status information about the debugging
-process.  This option is intended for @code{gdbserver} development and
-for bug reports to the developers.
+The @option{--debug} option tells @code{gdbserver} to display extra
+status information about the debugging process.  The
+@option{--remote-debug} option tells @code{gdbserver} to display
+remote protocol debug output.  These options are intended for
+@code{gdbserver} development and for bug reports to the developers.
 
 The @option{--wrapper} option specifies a wrapper to launch programs
 for debugging.  The option should be followed by the name of the
index 530a2f1eb7ec12aead2a6ddc445e8101a7108772..3fda37e45da3894d46d9e3f7c4421dd1c10ee2dc 100644 (file)
@@ -1,3 +1,8 @@
+2009-01-26  Pedro Alves  <pedro@codesourcery.com>
+
+       * server.c (gdbserver_usage): Mention --remote-debug.
+       (main): Accept '--remote-debug' switch.
+
 2009-01-18  Doug Evans  <dje@google.com>
 
        * regcache.c (new_register_cache): No need to check result of xcalloc.
index 2e97c923413a265cdb08b5fd970101155caa4f22..c4e167210bd3c349a60d689986555c658f5a3030 100644 (file)
@@ -1299,9 +1299,10 @@ gdbserver_usage (FILE *stream)
           "HOST:PORT to listen for a TCP connection.\n"
           "\n"
           "Options:\n"
-          "  --debug\t\tEnable debugging output.\n"
-          "  --version\t\tDisplay version information and exit.\n"
-          "  --wrapper WRAPPER --\tRun WRAPPER to start new programs.\n");
+          "  --debug               Enable general debugging output.\n"
+          "  --remote-debug        Enable remote protocol debugging output.\n"
+          "  --version             Display version information and exit.\n"
+          "  --wrapper WRAPPER --  Run WRAPPER to start new programs.\n");
   if (REPORT_BUGS_TO[0] && stream == stdout)
     fprintf (stream, "Report bugs to \"%s\".\n", REPORT_BUGS_TO);
 }
@@ -1378,6 +1379,8 @@ main (int argc, char *argv[])
        }
       else if (strcmp (*next_arg, "--debug") == 0)
        debug_threads = 1;
+      else if (strcmp (*next_arg, "--remote-debug") == 0)
+       remote_debug = 1;
       else if (strcmp (*next_arg, "--disable-packet") == 0)
        {
          gdbserver_show_disableable (stdout);
This page took 0.056152 seconds and 4 git commands to generate.