diff options
author | Michael Snyder <msnyder@vmware.com> | 2010-05-06 19:14:09 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2010-05-06 19:14:09 +0000 |
commit | 167e43849e8c76e720617fbb17897861ee1f2be0 (patch) | |
tree | a04622102fbb7de744045b5b2598a37cbf73411c /gdb/stack.c | |
parent | 8f78b329f08167847d9b94940b3bcae6ee292242 (diff) | |
download | gdb-167e43849e8c76e720617fbb17897861ee1f2be0.zip gdb-167e43849e8c76e720617fbb17897861ee1f2be0.tar.gz gdb-167e43849e8c76e720617fbb17897861ee1f2be0.tar.bz2 |
2010-05-06 Michael Snyder <msnyder@vmware.com>
* linespec.c (decode_compound): Delete unused variable.
* dictionary.c (iterator_next_hashed): Delete unused variable.
* infcall.c (call_function_by_hand): Delete unused variable.
* infcmd.c (step_1): Delete unused variable.
(registers_info): Delete unused variable.
(attach_command): Delete unused variable.
* infrun.c (follow_exec): Delete unused variable.
(handle_step_into_function_backwards): Delete unused variable.
(_initialize_infrun): Delete unused variable.
* stack.c (parse_frame_specification_1): Delete unused variable.
(frame_info): Delete unused variable.
(backtrace_command_1): Delete unused variable.
(catch_info): Delete unused variable.
Diffstat (limited to 'gdb/stack.c')
-rw-r--r-- | gdb/stack.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/gdb/stack.c b/gdb/stack.c index 53d4aeb..0632245 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -865,9 +865,6 @@ parse_frame_specification_1 (const char *frame_exp, const char *message, numargs = 0; else { - char *addr_string; - struct cleanup *tmp_cleanup; - numargs = 0; while (1) { @@ -994,7 +991,7 @@ frame_info (char *addr_exp, int from_tty) struct symbol *func; struct symtab *s; struct frame_info *calling_frame_info; - int i, count, numregs; + int numregs; char *funname = 0; enum language funlang = language_unknown; const char *pc_regname; @@ -1314,8 +1311,6 @@ backtrace_command_1 (char *count_exp, int show_locals, int from_tty) if (info_verbose) { - struct partial_symtab *ps; - /* Read in symbols for all of the frames. Need to do this in a separate pass so that "Reading in symbols for xxx" messages don't screw up the appearance of the backtrace. Also if @@ -1693,8 +1688,6 @@ locals_info (char *args, int from_tty) static void catch_info (char *ignore, int from_tty) { - struct symtab_and_line *sal; - /* Assume g++ compiled code; old GDB 4.16 behaviour. */ print_frame_label_vars (get_selected_frame (_("No frame selected.")), 0, gdb_stdout); |