diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2018-07-16 14:27:50 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2018-07-16 14:30:30 -0400 |
commit | b4792091ca60bd865064a501d50661f522e26636 (patch) | |
tree | afdb614b2eeee657970760a8e0002686cf9c6978 /gdb/ia64-libunwind-tdep.c | |
parent | ec74dcd894ce3087dad2b6d0da96c572d5e0c7c6 (diff) | |
download | gdb-b4792091ca60bd865064a501d50661f522e26636.zip gdb-b4792091ca60bd865064a501d50661f522e26636.tar.gz gdb-b4792091ca60bd865064a501d50661f522e26636.tar.bz2 |
Remove unused variables in ia64*tdep.c
gdb/ChangeLog:
* ia64-libunwind-tdep.c (libunwind_frame_cache): Remove unused
variable.
(libunwind_frame_sniffer): Likewise.
(libunwind_frame_prev_register): Likewise.
(libunwind_sigtramp_frame_sniffer): Likewise.
* ia64-tdep.c (ia64_access_reg): Likewise.
(ia64_access_rse_reg): Likewise.
(ia64_libunwind_sigtramp_frame_this_id): Likewise.
* ia64-vms-tdep.c (ia64_vms_find_proc_info_x): Likewise.
Diffstat (limited to 'gdb/ia64-libunwind-tdep.c')
-rw-r--r-- | gdb/ia64-libunwind-tdep.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/gdb/ia64-libunwind-tdep.c b/gdb/ia64-libunwind-tdep.c index b7eef4a..f6d954a 100644 --- a/gdb/ia64-libunwind-tdep.c +++ b/gdb/ia64-libunwind-tdep.c @@ -178,7 +178,7 @@ libunwind_frame_cache (struct frame_info *this_frame, void **this_cache) struct libunwind_frame_cache *cache; struct libunwind_descr *descr; struct gdbarch *gdbarch = get_frame_arch (this_frame); - int i, ret; + int ret; if (*this_cache) return (struct libunwind_frame_cache *) *this_cache; @@ -270,7 +270,7 @@ libunwind_frame_sniffer (const struct frame_unwind *self, unw_addr_space_t as; struct libunwind_descr *descr; struct gdbarch *gdbarch = get_frame_arch (this_frame); - int i, ret; + int ret; /* To test for libunwind unwind support, initialize a cursor to the current frame and try to back up. We use this same method @@ -324,12 +324,9 @@ libunwind_frame_prev_register (struct frame_info *this_frame, { struct libunwind_frame_cache *cache = libunwind_frame_cache (this_frame, this_cache); - struct gdbarch *gdbarch = get_frame_arch (this_frame); - void *ptr; - unw_cursor_t *c; unw_save_loc_t sl; - int i, ret; + int ret; unw_word_t intval; unw_fpreg_t fpval; unw_regnum_t uw_regnum; @@ -414,7 +411,7 @@ libunwind_sigtramp_frame_sniffer (const struct frame_unwind *self, unw_addr_space_t as; struct libunwind_descr *descr; struct gdbarch *gdbarch = get_frame_arch (this_frame); - int i, ret; + int ret; /* To test for libunwind unwind support, initialize a cursor to the current frame and try to back up. We use this same method when |