aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcmd.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/infcmd.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/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 16d32a6..c3693b3 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);