aboutsummaryrefslogtreecommitdiff
path: root/gdb/nios2-tdep.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2014-02-12 09:20:02 -0700
committerTom Tromey <tromey@redhat.com>2014-02-12 09:20:02 -0700
commit9fb5010805bdfe0eb8fc5db01e7f4c93b04c8f29 (patch)
tree8585df957f0ec0800ab10df545aa4e62a990391c /gdb/nios2-tdep.c
parent963f35869dd021f4a2a236ca6fa1242efc860d86 (diff)
downloadgdb-9fb5010805bdfe0eb8fc5db01e7f4c93b04c8f29.zip
gdb-9fb5010805bdfe0eb8fc5db01e7f4c93b04c8f29.tar.gz
gdb-9fb5010805bdfe0eb8fc5db01e7f4c93b04c8f29.tar.bz2
fix error in nios2-tdep.c
Since this change: 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com> * nios2-tdep.c (nios2_stub_frame_base): Remove global. nios2-tdep hasn't built: ../../binutils-gdb/gdb/nios2-tdep.c:1337:1: error: ‘nios2_stub_frame_base_address’ defined but not used [-Werror=unused-function] This patch removes the offending function. 2014-02-12 Tom Tromey <tromey@redhat.com> * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
Diffstat (limited to 'gdb/nios2-tdep.c')
-rw-r--r--gdb/nios2-tdep.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/gdb/nios2-tdep.c b/gdb/nios2-tdep.c
index ca653f7..7b1b640 100644
--- a/gdb/nios2-tdep.c
+++ b/gdb/nios2-tdep.c
@@ -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 =