gdb/gdbserver/
authorYao Qi <yao@codesourcery.com>
Sat, 11 Feb 2012 13:36:41 +0000 (13:36 +0000)
committerYao Qi <yao@codesourcery.com>
Sat, 11 Feb 2012 13:36:41 +0000 (13:36 +0000)
* server.c: (handle_monitor_command): Add a new parameter
`own_buf'.
(handle_query): Update caller.

gdb/gdbserver/ChangeLog
gdb/gdbserver/server.c

index e0823091b50c3277587c9eb6754da229ccbb6f2f..0d5e6b43a26d28b87f85cf91b9bc140d250fc69f 100644 (file)
@@ -1,3 +1,9 @@
+2012-02-11  Yao Qi  <yao@codesourcery.com>
+
+       * server.c: (handle_monitor_command): Add a new parameter
+       `own_buf'.
+       (handle_query): Update caller.
+
 2012-02-09  Joel Brobecker  <brobecker@adacore.com>
 
        * configure.ac: Add readlink to AC_CHECK_FUNCS list.
index c1788a90f85ca3f4c6ee52eec7d0cc72d83ede80..37dc8d13f9521a523e6976c3f5dc25c8c2875eed 100644 (file)
@@ -811,7 +811,7 @@ handle_search_memory (char *own_buf, int packet_len)
 /* Handle monitor commands not handled by target-specific handlers.  */
 
 static void
-handle_monitor_command (char *mon)
+handle_monitor_command (char *mon, char *own_buf)
 {
   if (strcmp (mon, "set debug 1") == 0)
     {
@@ -1737,7 +1737,7 @@ handle_query (char *own_buf, int packet_len, int *new_packet_len_p)
       if (the_target->handle_monitor_command == NULL
          || (*the_target->handle_monitor_command) (mon) == 0)
        /* Default processing.  */
-       handle_monitor_command (mon);
+       handle_monitor_command (mon, own_buf);
 
       free (mon);
       return;
This page took 0.032442 seconds and 4 git commands to generate.