aboutsummaryrefslogtreecommitdiff
path: root/gdb/trad-frame.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-05-07 01:12:14 +0000
committerMichael Snyder <msnyder@vmware.com>2010-05-07 01:12:14 +0000
commit1c5465ac6061382a64975cbe2e619054bfc71c45 (patch)
treeba85ab4553ee5d3bd44e59aeb1c85f1329badff1 /gdb/trad-frame.c
parent1be757cfff9173963cf2a9dd482037dc00b959e7 (diff)
downloadgdb-1c5465ac6061382a64975cbe2e619054bfc71c45.zip
gdb-1c5465ac6061382a64975cbe2e619054bfc71c45.tar.gz
gdb-1c5465ac6061382a64975cbe2e619054bfc71c45.tar.bz2
2010-05-06 Michael Snyder <msnyder@vmware.com>
* frame-unwind.c (frame_unwind_find_by_frame): Delete unused variable. * gnu-v2-abi.c (gnuv2_value_rtti_type): Delete unused variable. * cp-support.c (mangled_name_to_comp): Delete unused variable. (method_name_from_physname): Delete unused variable. (cp_func_name): Delete unused variable. (cp_validate_operator): Delete unused variable. * cp-namespace.c (cp_scan_for_anonymous_namespaces): Delete unused variable. * trad-frame.c (trad_frame_get_prev_register): Delete unused variable. * tramp-frame.c (tramp_frame_cache): Delete unused variable.
Diffstat (limited to 'gdb/trad-frame.c')
-rw-r--r--gdb/trad-frame.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/trad-frame.c b/gdb/trad-frame.c
index fe86877..a369e50 100644
--- a/gdb/trad-frame.c
+++ b/gdb/trad-frame.c
@@ -136,7 +136,6 @@ trad_frame_get_prev_register (struct frame_info *this_frame,
struct trad_frame_saved_reg this_saved_regs[],
int regnum)
{
- struct gdbarch *gdbarch = get_frame_arch (this_frame);
if (trad_frame_addr_p (this_saved_regs, regnum))
/* The register was saved in memory. */
return frame_unwind_got_memory (this_frame, regnum,