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.
This commit is contained in:
Ulrich Weigand 2007-10-30 21:52:26 +00:00
parent bb09620c17
commit 992166eeb0
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -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;