* ppc-opc.c: Support optional L form mtmsr.
[deliverable/binutils-gdb.git] / gdb / frv-linux-tdep.c
index b24dbd01b77b09db6168e13ac4ee6e56479ba859..d2a59771319c18ce596a2ad1a6c4a4535305fb8d 100644 (file)
@@ -1,12 +1,13 @@
 /* Target-dependent code for GNU/Linux running on the Fujitsu FR-V,
    for GDB.
-   Copyright (C) 2004 Free Software Foundation, Inc.
+
+   Copyright (C) 2004, 2006, 2007, 2008 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2 of the License, or
+   the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.
 
    This program is distributed in the hope that it will be useful,
@@ -15,9 +16,7 @@
    GNU General Public License for more details.
 
    You should have received a copy of the GNU General Public License
-   along with this program; if not, write to the Free Software
-   Foundation, Inc., 51 Franklin Street, Fifth Floor,
-   Boston, MA 02110-1301, USA.  */
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
 #include "gdbcore.h"
@@ -257,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;
@@ -452,7 +451,7 @@ frv_linux_supply_fpregset (const struct regset *regset,
   regcache_raw_supply (regcache, fsr0_regnum, fpregsetp->fsr[0]);
 }
 
-/* FRV Linux register sets.  */
+/* FRV Linux kernel register sets.  */
 
 static struct regset frv_linux_gregset =
 {
This page took 0.024558 seconds and 4 git commands to generate.