From: Michael Snyder Date: Tue, 1 Mar 2011 00:34:27 +0000 (+0000) Subject: 2011-02-28 Michael Snyder X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a9cbf802971550abc3bc6886ebe5b885dc288f90;p=binutils-gdb.git 2011-02-28 Michael Snyder * remote.c (remote_get_noisy_reply): Discard unused value. (remote_vcont_resume): Ditto. (remote_stop_ns): Ditto. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e5612a61cba..3170798c382 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2011-02-28 Michael Snyder + * remote.c (remote_get_noisy_reply): Discard unused value. + (remote_vcont_resume): Ditto. + (remote_stop_ns): Ditto. + * linespec.c (decode_objc): Delete unused variable. * tui/tui-regs.c (tui_register_format): Delete unused variable. diff --git a/gdb/remote.c b/gdb/remote.c index 322b26e0404..c55db1a9967 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -455,7 +455,7 @@ remote_get_noisy_reply (char **buf_p, from = ul; p = pp + 1; - pp = unpack_varlen_hex (p, &ul); + unpack_varlen_hex (p, &ul); to = ul; org_to = to; @@ -4464,7 +4464,7 @@ remote_vcont_resume (ptid_t ptid, int step, enum target_signal siggnal) so we don't have any TID numbers the inferior will understand. Make sure to only send forms that do not specify a TID. */ - p = append_resumption (p, endp, minus_one_ptid, step, siggnal); + append_resumption (p, endp, minus_one_ptid, step, siggnal); } else if (ptid_equal (ptid, minus_one_ptid) || ptid_is_pid (ptid)) { @@ -4479,12 +4479,12 @@ remote_vcont_resume (ptid_t ptid, int step, enum target_signal siggnal) } /* And continue others without a signal. */ - p = append_resumption (p, endp, ptid, /*step=*/ 0, TARGET_SIGNAL_0); + append_resumption (p, endp, ptid, /*step=*/ 0, TARGET_SIGNAL_0); } else { /* Scheduler locking; resume only PTID. */ - p = append_resumption (p, endp, ptid, step, siggnal); + append_resumption (p, endp, ptid, step, siggnal); } gdb_assert (strlen (rs->buf) < get_remote_packet_size ()); @@ -4711,7 +4711,7 @@ remote_stop_ns (ptid_t ptid) nptid = ptid; } - p = write_ptid (p, endp, nptid); + write_ptid (p, endp, nptid); } /* In non-stop, we get an immediate OK reply. The stop reply will