summaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2010-05-07 00:47:33 +0000
committerMichael Snyder <msnyder@specifix.com>2010-05-07 00:47:33 +0000
commitb59d2d704c224c515321407cebd7bb34403062ac (patch)
tree4cb20b5e116963d068fc0c7c1621407f076a39f3 /gdb/top.c
parent36740389202db9855a768e8853b2bc9b1a0451ba (diff)
downloadgdb-b59d2d704c224c515321407cebd7bb34403062ac.tar.gz
2010-05-06 Michael Snyder <msnyder@vmware.com>
* serial.c (serial_for_fd): Delete unused variable. * mdebugread.c (psymtab_to_symtab_1): Delete unused variable. * top.c (execute_command): Delete unused variable. (init_main): Delete unused variable. * utils.c (do_fclose_cleanup): Delete unused variable. (do_all_inferior_continuations): Delete unused variable. (initialize_utils): Delete unused variable. (internal_problem_mode): Delete unused global. * frame.c (get_prev_frame): Delete unused global. (get_frame_locals_address): Delete unused global. (get_frame_args_address): Delete unused global.
Diffstat (limited to 'gdb/top.c')
-rw-r--r--gdb/top.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/top.c b/gdb/top.c
index dc2104cbc72..5108089e40f 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -360,7 +360,6 @@ execute_command (char *p, int from_tty)
#ifdef HAVE_SBRK
long space_at_cmd_start = 0;
#endif
- extern int display_time;
extern int display_space;
if (target_can_async_p ())
@@ -1516,8 +1515,6 @@ Notification of completion for asynchronous execution commands is %s.\n"),
static void
init_main (void)
{
- struct cmd_list_element *c;
-
/* initialize the prompt stack to a simple "(gdb) " prompt or to
whatever the DEFAULT_PROMPT is. */
the_prompts.top = 0;