summaryrefslogtreecommitdiff
path: root/gdb/infcmd.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2010-05-06 19:14:08 +0000
committerMichael Snyder <msnyder@specifix.com>2010-05-06 19:14:08 +0000
commit2a57de41aa57946e997b20f907b766f0bdfdb0a7 (patch)
treee1a230d3908e97d4c2af64690e3766bbc889829d /gdb/infcmd.c
parent096667dd0d10dfe49d82a08ea40b11eb06f5b4af (diff)
downloadgdb-2a57de41aa57946e997b20f907b766f0bdfdb0a7.tar.gz
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/infcmd.c')
-rw-r--r--gdb/infcmd.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 16d32a661b0..c3693b3fcb8 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -832,7 +832,6 @@ static void
step_1 (int skip_subroutines, int single_inst, char *count_string)
{
int count = 1;
- struct frame_info *frame;
struct cleanup *cleanups = make_cleanup (null_cleanup, NULL);
int async_exec = 0;
int thread = -1;
@@ -1994,8 +1993,6 @@ registers_info (char *addr_exp, int fpregs)
{
struct frame_info *frame;
struct gdbarch *gdbarch;
- int regnum, numregs;
- char *end;
if (!target_has_registers)
error (_("The program has no registers now."));
@@ -2356,8 +2353,6 @@ attach_command_continuation_free_args (void *args)
void
attach_command (char *args, int from_tty)
{
- char *exec_file;
- char *full_exec_path = NULL;
int async_exec = 0;
struct cleanup *back_to = make_cleanup (null_cleanup, NULL);