aboutsummaryrefslogtreecommitdiff
path: root/gdb/ppc-linux-tdep.c
diff options
context:
space:
mode:
authorPaul Gilliam <pgilliam@us.ibm.com>2006-11-13 18:50:11 +0000
committerPaul Gilliam <pgilliam@us.ibm.com>2006-11-13 18:50:11 +0000
commit60f140f9b6be487aa80c683a38096c02672def04 (patch)
treea356513684a39e515f0df3f001ccbbfabbeea3f9 /gdb/ppc-linux-tdep.c
parent4019046acc7d27405a762121bd962f43e44f4f7f (diff)
downloadgdb-60f140f9b6be487aa80c683a38096c02672def04.zip
gdb-60f140f9b6be487aa80c683a38096c02672def04.tar.gz
gdb-60f140f9b6be487aa80c683a38096c02672def04.tar.bz2
Fixed up some indentation introduced by my last pactch.
Diffstat (limited to 'gdb/ppc-linux-tdep.c')
-rw-r--r--gdb/ppc-linux-tdep.c20
1 files changed, 11 insertions, 9 deletions
diff --git a/gdb/ppc-linux-tdep.c b/gdb/ppc-linux-tdep.c
index e10c614..50d9c39 100644
--- a/gdb/ppc-linux-tdep.c
+++ b/gdb/ppc-linux-tdep.c
@@ -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));
}