daily update
[deliverable/binutils-gdb.git] / gdb / frv-linux-tdep.c
index 6465e36ab721e714c78a81332d5e5d2b42b55962..d2a59771319c18ce596a2ad1a6c4a4535305fb8d 100644 (file)
@@ -1,7 +1,7 @@
 /* Target-dependent code for GNU/Linux running on the Fujitsu FR-V,
    for GDB.
 
-   Copyright (C) 2004, 2006, 2007 Free Software Foundation, Inc.
+   Copyright (C) 2004, 2006, 2007, 2008 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -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;
This page took 0.023127 seconds and 4 git commands to generate.