aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-tdep.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2021-05-27 15:01:28 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2021-05-27 15:01:28 -0400
commit01add95bed9afd5e7815439c3967db976be53f80 (patch)
treea0239dcf29375bf6e4382d419d17117b1665d8ab /gdb/i386-tdep.c
parent055c879fcf242e43a6ef8190f83905109922da93 (diff)
downloadgdb-01add95bed9afd5e7815439c3967db976be53f80.zip
gdb-01add95bed9afd5e7815439c3967db976be53f80.tar.gz
gdb-01add95bed9afd5e7815439c3967db976be53f80.tar.bz2
gdb: fix some indentation issues
I wrote a small script to spot a pattern of indentation mistakes I saw happened in breakpoint.c. And while at it I ran it on all files and fixed what I found. No behavior changes intended, just indentation and addition / removal of curly braces. gdb/ChangeLog: * Fix some indentation mistakes throughout. gdbserver/ChangeLog: * Fix some indentation mistakes throughout. Change-Id: Ia01990c26c38e83a243d8f33da1d494f16315c6e
Diffstat (limited to 'gdb/i386-tdep.c')
-rw-r--r--gdb/i386-tdep.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c
index 5e6769a..7f9405c 100644
--- a/gdb/i386-tdep.c
+++ b/gdb/i386-tdep.c
@@ -4967,10 +4967,8 @@ static int i386_record_floats (struct gdbarch *gdbarch,
else if (I386_SAVE_FPU_ENV_REG_STACK == iregnum)
{
for (i = I387_ST0_REGNUM (tdep); i <= I387_FOP_REGNUM (tdep); i++)
- {
if (record_full_arch_list_add_reg (ir->regcache, i))
return -1;
- }
}
else if ((iregnum >= I387_ST0_REGNUM (tdep)) &&
(iregnum <= I387_FOP_REGNUM (tdep)))