2010-05-05 Michael Snyder <msnyder@vmware.com>
authorMichael Snyder <msnyder@vmware.com>
Wed, 5 May 2010 20:46:06 +0000 (20:46 +0000)
committerMichael Snyder <msnyder@vmware.com>
Wed, 5 May 2010 20:46:06 +0000 (20:46 +0000)
* remote.c (remote_threads_info): Delete unused variable.
(process_stop_reply): Delete unused variable.
(remote_get_trace_status): Delete unused variables.

gdb/ChangeLog
gdb/remote.c

index a0893e5e89aca97fd9f0726605789c5766f844a1..a21a9f96f9678801e8e399339d5e104a09a5e6d9 100644 (file)
@@ -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.
index 3aa7c6877ca03f48a729fb866fa203b89d73b433..051443d49c79cce4087e70cb97237105a73c9b16 100644 (file)
@@ -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;