diff options
author | Michael Snyder <msnyder@vmware.com> | 2010-05-07 00:47:37 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2010-05-07 00:47:37 +0000 |
commit | 1be757cfff9173963cf2a9dd482037dc00b959e7 (patch) | |
tree | 513f15ebeef02e49215d2e6a351440dadeafa570 /gdb/frame.c | |
parent | 9216103f920df7d9399aed10328cabd314cb8f47 (diff) | |
download | gdb-1be757cfff9173963cf2a9dd482037dc00b959e7.zip gdb-1be757cfff9173963cf2a9dd482037dc00b959e7.tar.gz 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/frame.c')
-rw-r--r-- | gdb/frame.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/frame.c b/gdb/frame.c index 0b0c5b4..e320e4f 100644 --- a/gdb/frame.c +++ b/gdb/frame.c @@ -1677,8 +1677,6 @@ inside_entry_func (struct frame_info *this_frame) struct frame_info * get_prev_frame (struct frame_info *this_frame) { - struct frame_info *prev_frame; - /* There is always a frame. If this assertion fails, suspect that something should be calling get_selected_frame() or get_current_frame(). */ @@ -1906,7 +1904,6 @@ get_frame_base_address (struct frame_info *fi) CORE_ADDR get_frame_locals_address (struct frame_info *fi) { - void **cache; if (get_frame_type (fi) != NORMAL_FRAME) return 0; /* If there isn't a frame address method, find it. */ @@ -1922,7 +1919,6 @@ get_frame_locals_address (struct frame_info *fi) CORE_ADDR get_frame_args_address (struct frame_info *fi) { - void **cache; if (get_frame_type (fi) != NORMAL_FRAME) return 0; /* If there isn't a frame address method, find it. */ |