constify ui_out_impl
[deliverable/binutils-gdb.git] / gdb / nios2-tdep.c
index 5b9e2e6a373a34eecf7fbb414517f03799178ecd..7b1b640fe89bcfe343884ded68200857ea3203da 100644 (file)
@@ -1,5 +1,5 @@
 /* Target-machine dependent code for Nios II, for GDB.
-   Copyright (C) 2012-2013 Free Software Foundation, Inc.
+   Copyright (C) 2012-2014 Free Software Foundation, Inc.
    Contributed by Peter Brookes (pbrookes@altera.com)
    and Andrew Draper (adraper@altera.com).
    Contributed by Mentor Graphics, Inc.
@@ -164,7 +164,7 @@ static const char *const nios2_reg_names[NIOS2_NUM_REGS] =
   "zero", "at", "r2", "r3", "r4", "r5", "r6", "r7",
   "r8", "r9", "r10", "r11", "r12", "r13", "r14", "r15",
   "r16", "r17", "r18", "r19", "r20", "r21", "r22", "r23",
-  "et", "bt", "gp", "sp", "fp", "ea", "ba", "ra",
+  "et", "bt", "gp", "sp", "fp", "ea", "sstatus", "ra",
   "pc",
   "status", "estatus", "bstatus", "ienable",
   "ipending", "cpuid", "ctl6", "exception",
@@ -1330,18 +1330,6 @@ nios2_stub_frame_sniffer (const struct frame_unwind *self,
   return 0;
 }
 
-/* Implement the this_base, this_locals, and this_args hooks
-   for the stub unwinder.  */
-
-static CORE_ADDR
-nios2_stub_frame_base_address (struct frame_info *this_frame, void **this_cache)
-{
-  struct trad_frame_cache *this_trad_cache
-    = nios2_stub_frame_cache (this_frame, this_cache);
-
-  return trad_frame_get_this_base (this_trad_cache);
-}
-
 /* Define the data structures for the stub unwinder.  */
 
 static const struct frame_unwind nios2_stub_frame_unwind =
@@ -1354,14 +1342,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
This page took 0.024771 seconds and 4 git commands to generate.