From: Ulrich Weigand Date: Tue, 30 Oct 2007 21:52:26 +0000 (+0000) Subject: 2007-10-30 Markus Deuling X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=992166eeb0e1058b48048eaa9bd9161f2bd30cb8;p=binutils-gdb.git 2007-10-30 Markus Deuling * frv-linux-tdep.c (frv_linux_sigtramp_frame_cache): Use get_frame_arch to get at the current architecture by frame_info. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 691fb7adbc2..9f7bf335252 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2007-10-30 Markus Deuling + + * 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 * f-lang.c (build_fortran_types): Replace current_gdbarch by gdbarch. diff --git a/gdb/frv-linux-tdep.c b/gdb/frv-linux-tdep.c index 6465e36ab72..6ed0a74666f 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;