aboutsummaryrefslogtreecommitdiff
path: root/gdb/ppc-ravenscar-thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ppc-ravenscar-thread.c')
-rw-r--r--gdb/ppc-ravenscar-thread.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/ppc-ravenscar-thread.c b/gdb/ppc-ravenscar-thread.c
index dbe8f3d..4b68784 100644
--- a/gdb/ppc-ravenscar-thread.c
+++ b/gdb/ppc-ravenscar-thread.c
@@ -148,7 +148,6 @@ ppc_ravenscar_generic_fetch_registers
struct regcache *regcache, int regnum)
{
struct gdbarch *gdbarch = get_regcache_arch (regcache);
- const int sp_regnum = gdbarch_sp_regnum (gdbarch);
const int num_regs = gdbarch_num_regs (gdbarch);
int current_regnum;
CORE_ADDR current_address;