aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-05-06 19:14:09 +0000
committerMichael Snyder <msnyder@vmware.com>2010-05-06 19:14:09 +0000
commit167e43849e8c76e720617fbb17897861ee1f2be0 (patch)
treea04622102fbb7de744045b5b2598a37cbf73411c /gdb/infrun.c
parent8f78b329f08167847d9b94940b3bcae6ee292242 (diff)
downloadgdb-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/infrun.c')
-rw-r--r--gdb/infrun.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 93f50eb..e79b634 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -650,7 +650,6 @@ show_follow_exec_mode_string (struct ui_file *file, int from_tty,
static void
follow_exec (ptid_t pid, char *execd_pathname)
{
- struct target_ops *tgt;
struct thread_info *th = inferior_thread ();
struct inferior *inf = current_inferior ();
@@ -726,7 +725,6 @@ follow_exec (ptid_t pid, char *execd_pathname)
if (follow_exec_mode_string == follow_exec_mode_new)
{
struct program_space *pspace;
- struct inferior *new_inf;
/* The user wants to keep the old inferior and program spaces
around. Create a new fresh one, and switch to it. */
@@ -4884,7 +4882,7 @@ handle_step_into_function_backward (struct gdbarch *gdbarch,
struct execution_control_state *ecs)
{
struct symtab *s;
- struct symtab_and_line stop_func_sal, sr_sal;
+ struct symtab_and_line stop_func_sal;
s = find_pc_symtab (stop_pc);
if (s && s->language != language_asm)
@@ -6438,7 +6436,6 @@ _initialize_infrun (void)
{
int i;
int numsigs;
- struct cmd_list_element *c;
add_info ("signals", signals_info, _("\
What debugger does when program gets various signals.\n\