diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2021-05-27 15:01:28 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2021-05-27 15:01:28 -0400 |
commit | 01add95bed9afd5e7815439c3967db976be53f80 (patch) | |
tree | a0239dcf29375bf6e4382d419d17117b1665d8ab /gdb/nat | |
parent | 055c879fcf242e43a6ef8190f83905109922da93 (diff) | |
download | fsf-binutils-gdb-01add95bed9afd5e7815439c3967db976be53f80.zip fsf-binutils-gdb-01add95bed9afd5e7815439c3967db976be53f80.tar.gz fsf-binutils-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/nat')
-rw-r--r-- | gdb/nat/aarch64-sve-linux-ptrace.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gdb/nat/aarch64-sve-linux-ptrace.c b/gdb/nat/aarch64-sve-linux-ptrace.c index f344f92..8b162cd 100644 --- a/gdb/nat/aarch64-sve-linux-ptrace.c +++ b/gdb/nat/aarch64-sve-linux-ptrace.c @@ -100,17 +100,17 @@ aarch64_sve_set_vq (int tid, struct reg_buffer_common *reg_buf) inferior function call, and the VG register comes after the Z registers. */ if (reg_buf->get_register_status (AARCH64_SVE_VG_REGNUM) != REG_VALID) - { - /* If vg is not available yet, fetch it from ptrace. The VG value from - ptrace is likely the correct one. */ - uint64_t vq = aarch64_sve_get_vq (tid); + { + /* If vg is not available yet, fetch it from ptrace. The VG value from + ptrace is likely the correct one. */ + uint64_t vq = aarch64_sve_get_vq (tid); - /* If something went wrong, just bail out. */ - if (vq == 0) - return false; + /* If something went wrong, just bail out. */ + if (vq == 0) + return false; - reg_vg = sve_vg_from_vq (vq); - } + reg_vg = sve_vg_from_vq (vq); + } else reg_buf->raw_collect (AARCH64_SVE_VG_REGNUM, ®_vg); |