aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-05-07 00:47:37 +0000
committerMichael Snyder <msnyder@vmware.com>2010-05-07 00:47:37 +0000
commit1be757cfff9173963cf2a9dd482037dc00b959e7 (patch)
tree513f15ebeef02e49215d2e6a351440dadeafa570 /gdb/top.c
parent9216103f920df7d9399aed10328cabd314cb8f47 (diff)
downloadfsf-binutils-gdb-1be757cfff9173963cf2a9dd482037dc00b959e7.zip
fsf-binutils-gdb-1be757cfff9173963cf2a9dd482037dc00b959e7.tar.gz
fsf-binutils-gdb-1be757cfff9173963cf2a9dd482037dc00b959e7.tar.bz2
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 dc2104c..5108089 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;