aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-05-05 20:46:06 +0000
committerMichael Snyder <msnyder@vmware.com>2010-05-05 20:46:06 +0000
commitaa369b55ebb701c579d42962b1176fd3629c32fb (patch)
tree255f412b54bbd027cafd8d28f0e490d0b19eeedf /gdb/remote.c
parent9e9547e4851f166d3ef1c3a47de18dba0871fba1 (diff)
downloadgdb-aa369b55ebb701c579d42962b1176fd3629c32fb.zip
gdb-aa369b55ebb701c579d42962b1176fd3629c32fb.tar.gz
gdb-aa369b55ebb701c579d42962b1176fd3629c32fb.tar.bz2
2010-05-05 Michael Snyder <msnyder@vmware.com>
* remote.c (remote_threads_info): Delete unused variable. (process_stop_reply): Delete unused variable. (remote_get_trace_status): Delete unused variables.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index 3aa7c68..051443d 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -2512,8 +2512,8 @@ remote_threads_info (struct target_ops *ops)
{
struct gdb_xml_parser *parser;
struct threads_parsing_context context;
- struct cleanup *back_to = make_cleanup (null_cleanup, NULL);
+ make_cleanup (null_cleanup, NULL);
context.items = 0;
parser = gdb_xml_create_parser_and_cleanup (_("threads"),
threads_elements,
@@ -5079,7 +5079,6 @@ process_stop_reply (struct stop_reply *stop_reply,
struct target_waitstatus *status)
{
ptid_t ptid;
- struct thread_info *info;
*status = stop_reply->ws;
ptid = stop_reply->ptid;
@@ -9637,8 +9636,7 @@ remote_trace_start (void)
static int
remote_get_trace_status (struct trace_status *ts)
{
- char *p, *p1, *p_temp;
- ULONGEST val;
+ char *p;
/* FIXME we need to get register block size some other way */
extern int trace_regblock_size;
trace_regblock_size = get_remote_arch_state ()->sizeof_g_packet;