aboutsummaryrefslogtreecommitdiff
path: root/gdb/s390-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/s390-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/s390-tdep.c')
-rw-r--r--gdb/s390-tdep.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/s390-tdep.c b/gdb/s390-tdep.c
index 1bd770a..4905bca 100644
--- a/gdb/s390-tdep.c
+++ b/gdb/s390-tdep.c
@@ -7143,12 +7143,12 @@ s390_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
cause GDB to crash with an internal error when the user tries to set
an unsupported OSABI. */
if (!tdesc_has_registers (tdesc))
- {
- if (info.bfd_arch_info->mach == bfd_mach_s390_31)
- tdesc = tdesc_s390_linux32;
- else
- tdesc = tdesc_s390x_linux64;
- }
+ {
+ if (info.bfd_arch_info->mach == bfd_mach_s390_31)
+ tdesc = tdesc_s390_linux32;
+ else
+ tdesc = tdesc_s390x_linux64;
+ }
tdep->tdesc = tdesc;
/* Check any target description for validity. */