]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb/
authorYao Qi <yao@codesourcery.com>
Thu, 16 Aug 2012 07:21:59 +0000 (07:21 +0000)
committerYao Qi <yao@codesourcery.com>
Thu, 16 Aug 2012 07:21:59 +0000 (07:21 +0000)
* remote.c (handle_notification): Remove parameter 'length'.
(putpkt_binary, getpkt_or_notif_sane_1): Caller update.

gdb/ChangeLog
gdb/remote.c

index 24ef63a9ddb95ca0ae4cab2b5bab4ca5dccdc29e..3229ea9f9328b606f65a85f854c9aa5c7cf79aad 100644 (file)
@@ -1,3 +1,8 @@
+2012-08-16  Yao Qi  <yao@codesourcery.com>
+
+       * remote.c (handle_notification): Remove parameter 'length'.
+       (putpkt_binary, getpkt_or_notif_sane_1): Caller update.
+
 2012-08-15  Keith Seitz  <keiths@redhat.com>
 
        * gdbtypes.c (opaque_type_resolution): Make static.
index a974dc1bdfcdce9aa112f81f276a81427b913d01..3696709e4c39a2eea55fbc85229a5f551d82d706 100644 (file)
@@ -6744,7 +6744,7 @@ remote_read_bytes (CORE_ADDR memaddr, gdb_byte *myaddr, int len)
 /* Remote notification handler.  */
 
 static void
-handle_notification (char *buf, size_t length)
+handle_notification (char *buf)
 {
   if (strncmp (buf, "Stop:", 5) == 0)
     {
@@ -7156,7 +7156,7 @@ putpkt_binary (char *buf, int cnt)
                                            str);
                        do_cleanups (old_chain);
                      }
-                   handle_notification (rs->buf, val);
+                   handle_notification (rs->buf);
                    /* We're in sync now, rewait for the ack.  */
                    tcount = 0;
                  }
@@ -7534,7 +7534,7 @@ getpkt_or_notif_sane_1 (char **buf, long *sizeof_buf, int forever,
              do_cleanups (old_chain);
            }
 
-         handle_notification (*buf, val);
+         handle_notification (*buf);
 
          /* Notifications require no acknowledgement.  */