From 8128fd8ef72ce13203f74615807146db637f3db5 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Thu, 16 Aug 2012 07:21:59 +0000 Subject: gdb/ * remote.c (handle_notification): Remove parameter 'length'. (putpkt_binary, getpkt_or_notif_sane_1): Caller update. --- gdb/ChangeLog | 5 +++++ gdb/remote.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'gdb') 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 + + * remote.c (handle_notification): Remove parameter 'length'. + (putpkt_binary, getpkt_or_notif_sane_1): Caller update. + 2012-08-15 Keith Seitz * 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. */ -- cgit v1.1