2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
authorAleksandar Ristovski <aristovski@qnx.com>
Thu, 31 Jan 2013 16:27:50 +0000 (16:27 +0000)
committerAleksandar Ristovski <aristovski@qnx.com>
Thu, 31 Jan 2013 16:27:50 +0000 (16:27 +0000)
        * auto-load.c (auto_load_expand_dir_vars): Remove unused dir_vec.
        * ax-gdb.c (gen_printf): Remove unused expr, i, bot, fr, flen, fmt.
        * ax-general.c (ax_print): Remove unused is_float.
        * blockframe.c (block_innermost_frame): Remove unused start, end.
        * break-catch-sig.c (catch_signal_command): Remove unused gdbarch.

Reference: http://sourceware.org/ml/gdb-patches/2013-01/msg00752.html

gdb/ChangeLog
gdb/auto-load.c
gdb/ax-gdb.c
gdb/ax-general.c
gdb/blockframe.c
gdb/break-catch-sig.c

index 1524b60083955000c7d2cd42fb519601ab398151..742f8e5ff0bb12bd38fd213cf45772cabac7d6e5 100644 (file)
@@ -1,3 +1,11 @@
+2013-01-31  Aleksandar Ristovski  <aristovski@qnx.com>
+
+       * auto-load.c (auto_load_expand_dir_vars): Remove unused dir_vec.
+       * ax-gdb.c (gen_printf): Remove unused expr, i, bot, fr, flen, fmt.
+       * ax-general.c (ax_print): Remove unused is_float.
+       * blockframe.c (block_innermost_frame): Remove unused start, end.
+       * break-catch-sig.c (catch_signal_command): Remove unused gdbarch.
+
 2013-01-31  Aleksandar Ristovski  <aristovski@qnx.com>
 
        * solib-svr4.c (svr4_keep_data_in_core): Remove unused lmo.
index 850c704ebf258e69eea973f791bf87fd404aaa60..b12995b652a15c160d3faa8bb2b73ed8e7348f77 100644 (file)
@@ -178,7 +178,6 @@ auto_load_expand_dir_vars (const char *string)
 static void
 auto_load_safe_path_vec_update (void)
 {
-  VEC (char_ptr) *dir_vec = NULL;
   unsigned len;
   int ix;
 
index f0e33cb009e0f347df9a57fef59f3363328f8e5b..202988256893eb0f6c7e6cf4225ccaba94950dc1 100644 (file)
@@ -2562,13 +2562,11 @@ gen_printf (CORE_ADDR scope, struct gdbarch *gdbarch,
            struct format_piece *frags,
            int nargs, struct expression **exprs)
 {
-  struct expression *expr;
   struct cleanup *old_chain = 0;
   struct agent_expr *ax = new_agent_expr (gdbarch, scope);
   union exp_element *pc;
   struct axs_value value;
-  int i, tem, bot, fr, flen;
-  char *fmt;
+  int tem;
 
   old_chain = make_cleanup_free_agent_expr (ax);
 
index bf70824e387c036884a502c3ae4a9dca04bbd8bc..32a47a7dcf71312aa311d779be24a4c347568d4c 100644 (file)
@@ -375,7 +375,6 @@ void
 ax_print (struct ui_file *f, struct agent_expr *x)
 {
   int i;
-  int is_float = 0;
 
   fprintf_filtered (f, _("Scope: %s\n"), paddress (x->gdbarch, x->scope));
   fprintf_filtered (f, _("Reg mask:"));
@@ -430,8 +429,6 @@ ax_print (struct ui_file *f, struct agent_expr *x)
        }
       fprintf_filtered (f, "\n");
       i += 1 + aop_map[op].op_size;
-
-      is_float = (op == aop_float);
     }
 }
 
index 1f3bbf082b0973ad8e2af4d141b69bf57fd057a2..d5787f1e2fee2fe4fcb13b176f4c3a7c96440f81 100644 (file)
@@ -360,15 +360,10 @@ struct frame_info *
 block_innermost_frame (const struct block *block)
 {
   struct frame_info *frame;
-  CORE_ADDR start;
-  CORE_ADDR end;
 
   if (block == NULL)
     return NULL;
 
-  start = BLOCK_START (block);
-  end = BLOCK_END (block);
-
   frame = get_selected_frame_if_set ();
   if (frame == NULL)
     frame = get_current_frame ();
index 89783b03a8b46d580dbf27b6e50a473313ad33be..4bb07f057802f7376fdc248d874cc4193cb2ef38 100644 (file)
@@ -444,7 +444,6 @@ catch_signal_command (char *arg, int from_tty,
 {
   int tempflag, catch_all = 0;
   VEC (gdb_signal_type) *filter;
-  struct gdbarch *gdbarch = get_current_arch ();
 
   tempflag = get_cmd_context (command) == CATCH_TEMPORARY;
 
This page took 0.031057 seconds and 4 git commands to generate.