aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/remote.c6
2 files changed, 6 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a0893e5..a21a9f9 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
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.
+
* linux-thread-db.c (add_thread_db_info): Delete unused variable.
(thread_from_lwp): Delete unused variable.
(enable_thread_event_reporting): Delete unused variable.
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;