aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-10-30 21:52:26 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-10-30 21:52:26 +0000
commit992166eeb0e1058b48048eaa9bd9161f2bd30cb8 (patch)
tree822c15ca8bc142b3a375b1919c2af65a52ea0ca6
parentbb09620c178c29d93f4eec4169a289d336337de5 (diff)
downloadgdb-992166eeb0e1058b48048eaa9bd9161f2bd30cb8.zip
gdb-992166eeb0e1058b48048eaa9bd9161f2bd30cb8.tar.gz
gdb-992166eeb0e1058b48048eaa9bd9161f2bd30cb8.tar.bz2
2007-10-30 Markus Deuling <deuling@de.ibm.com>
* frv-linux-tdep.c (frv_linux_sigtramp_frame_cache): Use get_frame_arch to get at the current architecture by frame_info.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/frv-linux-tdep.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 691fb7a..9f7bf33 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2007-10-30 Markus Deuling <deuling@de.ibm.com>
+ * frv-linux-tdep.c (frv_linux_sigtramp_frame_cache): Use get_frame_arch
+ to get at the current architecture by frame_info.
+
+2007-10-30 Markus Deuling <deuling@de.ibm.com>
+
* f-lang.c (build_fortran_types): Replace current_gdbarch by gdbarch.
2007-10-30 Markus Deuling <deuling@de.ibm.com>
diff --git a/gdb/frv-linux-tdep.c b/gdb/frv-linux-tdep.c
index 6465e36..6ed0a74 100644
--- a/gdb/frv-linux-tdep.c
+++ b/gdb/frv-linux-tdep.c
@@ -256,7 +256,7 @@ static struct trad_frame_cache *
frv_linux_sigtramp_frame_cache (struct frame_info *next_frame, void **this_cache)
{
struct trad_frame_cache *cache;
- struct gdbarch_tdep *tdep = gdbarch_tdep (current_gdbarch);
+ struct gdbarch_tdep *tdep = gdbarch_tdep (get_frame_arch (next_frame));
CORE_ADDR addr;
char buf[4];
int regnum;