aboutsummaryrefslogtreecommitdiff
path: root/gdb/v850-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/v850-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/v850-tdep.c')
-rw-r--r--gdb/v850-tdep.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/gdb/v850-tdep.c b/gdb/v850-tdep.c
index 1c46e29..5114c1b 100644
--- a/gdb/v850-tdep.c
+++ b/gdb/v850-tdep.c
@@ -1025,12 +1025,14 @@ v850_push_dummy_call (struct gdbarch *gdbarch,
if (gdbarch_tdep (gdbarch)->abi == V850_ABI_RH850)
stack_offset = 0;
else
- /* The offset onto the stack at which we will start copying parameters
- (after the registers are used up) begins at 16 rather than at zero.
- That's how the ABI is defined, though there's no indication that these
- 16 bytes are used for anything, not even for saving incoming
- argument registers. */
- stack_offset = 16;
+ {
+ /* The offset onto the stack at which we will start copying parameters
+ (after the registers are used up) begins at 16 rather than at zero.
+ That's how the ABI is defined, though there's no indication that these
+ 16 bytes are used for anything, not even for saving incoming
+ argument registers. */
+ stack_offset = 16;
+ }
/* Now make space on the stack for the args. */
for (argnum = 0; argnum < nargs; argnum++)