aboutsummaryrefslogtreecommitdiff
path: root/gdb/ia64-tdep.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2018-07-16 14:27:50 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2018-07-16 14:30:30 -0400
commitb4792091ca60bd865064a501d50661f522e26636 (patch)
treeafdb614b2eeee657970760a8e0002686cf9c6978 /gdb/ia64-tdep.c
parentec74dcd894ce3087dad2b6d0da96c572d5e0c7c6 (diff)
downloadgdb-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-tdep.c')
-rw-r--r--gdb/ia64-tdep.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/ia64-tdep.c b/gdb/ia64-tdep.c
index 2fab60c..c7fc3c6 100644
--- a/gdb/ia64-tdep.c
+++ b/gdb/ia64-tdep.c
@@ -2484,8 +2484,6 @@ ia64_access_reg (unw_addr_space_t as, unw_regnum_t uw_regnum, unw_word_t *val,
unw_word_t bsp, sof, cfm, psr, ip;
struct frame_info *this_frame = (struct frame_info *) arg;
struct gdbarch *gdbarch = get_frame_arch (this_frame);
- enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
- long new_sof, old_sof;
/* We never call any libunwind routines that need to write registers. */
gdb_assert (!write);
@@ -2557,8 +2555,6 @@ ia64_access_rse_reg (unw_addr_space_t as, unw_regnum_t uw_regnum,
unw_word_t bsp, sof, cfm, psr, ip;
struct regcache *regcache = (struct regcache *) arg;
struct gdbarch *gdbarch = regcache->arch ();
- enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
- long new_sof, old_sof;
/* We never call any libunwind routines that need to write registers. */
gdb_assert (!write);
@@ -3032,7 +3028,6 @@ ia64_libunwind_sigtramp_frame_this_id (struct frame_info *this_frame,
gdb_byte buf[8];
CORE_ADDR bsp;
struct frame_id id = outer_frame_id;
- CORE_ADDR prev_ip;
libunwind_frame_this_id (this_frame, this_cache, &id);
if (frame_id_eq (id, outer_frame_id))