nios2-tdep: remove unreferenced global nios2_stub_frame_base
authorSanimir Agovic <sanimir.agovic@intel.com>
Mon, 10 Feb 2014 17:54:15 +0000 (17:54 +0000)
committerSanimir Agovic <sanimir.agovic@intel.com>
Wed, 12 Feb 2014 12:09:45 +0000 (12:09 +0000)
2014-02-12  Sanimir Agovic  <sanimir.agovic@intel.com>

* nios2-tdep.c (nios2_stub_frame_base): Remove global.

gdb/ChangeLog
gdb/nios2-tdep.c

index b1dc8a9468e267c74ecd092334b53e1c06efbc4c..bb977b5e995385e3eee23eec1de653c5fe2cbfa0 100644 (file)
@@ -1,3 +1,7 @@
+2014-02-12  Sanimir Agovic  <sanimir.agovic@intel.com>
+
+       * nios2-tdep.c (nios2_stub_frame_base): Remove global.
+
 2014-02-12  Sanimir Agovic  <sanimir.agovic@intel.com>
 
        * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
index 8f187390b2caff4d592e4a30effdfbd3d6922ea0..ca653f73140af60c21ab3be243ca5c5357517e4b 100644 (file)
@@ -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