diff options
author | Yao Qi <yao@codesourcery.com> | 2012-08-16 07:21:59 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2012-08-16 07:21:59 +0000 |
commit | 8128fd8ef72ce13203f74615807146db637f3db5 (patch) | |
tree | 5b13419d3b92590b64733bfe47123b8e13677e55 /gdb | |
parent | 4f5e1ddd97c37c933ee6cdb18f4734ba339c7acb (diff) | |
download | gdb-8128fd8ef72ce13203f74615807146db637f3db5.zip gdb-8128fd8ef72ce13203f74615807146db637f3db5.tar.gz gdb-8128fd8ef72ce13203f74615807146db637f3db5.tar.bz2 |
gdb/
* remote.c (handle_notification): Remove parameter 'length'.
(putpkt_binary, getpkt_or_notif_sane_1): Caller update.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/remote.c | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 24ef63a..3229ea9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/remote.c b/gdb/remote.c index a974dc1..3696709 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -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. */ |