gdb/aix-thread: fix misleading indentation in store_regs_user_thread
Building aix-thread.c on AIX fails with:
../../../src/binutils-gdb/gdb/aix-thread.c:1699:7: error: this 'for' clause does not guard... [-Werror=misleading-indentation]
The checks for the vrsave and vscr registers are indented as if they
were part of the for loop body, but they are not. Fix the indentation.
Change-Id: Ib2c6df20937779b4edd339a0d14076f1891ae185
diff --git a/gdb/aix-thread.c b/gdb/aix-thread.c
index 8f2c626..967175e 100644
--- a/gdb/aix-thread.c
+++ b/gdb/aix-thread.c
@@ -1701,10 +1701,11 @@ store_regs_user_thread (const struct regcache *regcache, pthdb_pthread_t pdtid)
&(vmx.__vr[i]));
ctx.vmx.__vr[i] = vmx.__vr[i];
}
- if (REG_VALID == regcache->get_register_status (tdep->ppc_vrsave_regnum))
- ctx.vmx.__vrsave = vmx.__vrsave;
- if (REG_VALID == regcache->get_register_status (tdep->ppc_vrsave_regnum - 1))
- ctx.vmx.__vscr = vmx.__vscr;
+ if (REG_VALID == regcache->get_register_status (tdep->ppc_vrsave_regnum))
+ ctx.vmx.__vrsave = vmx.__vrsave;
+ if (REG_VALID
+ == regcache->get_register_status (tdep->ppc_vrsave_regnum - 1))
+ ctx.vmx.__vscr = vmx.__vscr;
}
/* Fill vsx registers. */