From 8f0084065d30812b428df35a82f5edb51e92460d Mon Sep 17 00:00:00 2001 From: Sanimir Agovic Date: Mon, 10 Feb 2014 17:54:15 +0000 Subject: [PATCH] nios2-tdep: remove unreferenced global nios2_stub_frame_base 2014-02-12 Sanimir Agovic * nios2-tdep.c (nios2_stub_frame_base): Remove global. --- gdb/ChangeLog | 4 ++++ gdb/nios2-tdep.c | 8 -------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b1dc8a9468e..bb977b5e995 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2014-02-12 Sanimir Agovic + + * nios2-tdep.c (nios2_stub_frame_base): Remove global. + 2014-02-12 Sanimir Agovic * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default. diff --git a/gdb/nios2-tdep.c b/gdb/nios2-tdep.c index 8f187390b2c..ca653f73140 100644 --- a/gdb/nios2-tdep.c +++ b/gdb/nios2-tdep.c @@ -1354,14 +1354,6 @@ static const struct frame_unwind nios2_stub_frame_unwind = nios2_stub_frame_sniffer }; -static const struct frame_base nios2_stub_frame_base = -{ - &nios2_stub_frame_unwind, - nios2_stub_frame_base_address, - nios2_stub_frame_base_address, - nios2_stub_frame_base_address -}; - /* Helper function to read an instruction at PC. */ static unsigned long -- 2.30.2