* varobj.c (install_new_value): Only call value_get_print_value
[deliverable/binutils-gdb.git] / gdb / ppc-linux-tdep.c
index e10c614178c9a5ad0547e0698ef3a606fd8530da..cf09a172fe7cf1d66edcb1bb83b87fe23764e5a8 100644 (file)
@@ -1,7 +1,7 @@
 /* Target-dependent code for GDB, the GNU debugger.
 
-   Copyright (C) 1986, 1987, 1989, 1991, 1992, 1993, 1994, 1995, 1996,
-   1997, 2000, 2001, 2002, 2003, 2004, 2005, 2006
+   Copyright (C) 1986, 1987, 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
+   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
    Free Software Foundation, Inc.
 
    This file is part of GDB.
@@ -916,16 +916,18 @@ ppc_linux_sigtramp_cache (struct frame_info *next_frame,
   trad_frame_set_reg_addr (this_cache, tdep->ppc_cr_regnum,
                           gpregs + 38 * tdep->wordsize);
 
-  if (ppc_floating_point_unit_p (gdbarch)) {
-         /* Floating point registers.  */
-         for (i = 0; i < 32; i++)
-         {
-                 int regnum = i + FP0_REGNUM;
-                 trad_frame_set_reg_addr (this_cache, regnum, fpregs + i * tdep->wordsize);
-         }
-         trad_frame_set_reg_addr (this_cache, tdep->ppc_fpscr_regnum,
+  if (ppc_floating_point_unit_p (gdbarch))
+    {
+      /* Floating point registers.  */
+      for (i = 0; i < 32; i++)
+       {
+         int regnum = i + FP0_REGNUM;
+         trad_frame_set_reg_addr (this_cache, regnum,
+                                  fpregs + i * tdep->wordsize);
+       }
+      trad_frame_set_reg_addr (this_cache, tdep->ppc_fpscr_regnum,
                          fpregs + 32 * tdep->wordsize);
-  }
+    }
   trad_frame_set_id (this_cache, frame_id_build (base, func));
 }
 
This page took 0.12927 seconds and 4 git commands to generate.