diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2021-05-27 15:18:49 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2021-05-27 15:18:49 -0400 |
commit | 24b21115f522cd0fbe55986cd914a593576294ef (patch) | |
tree | 6f2f71d9ede68e21d0371cc5db25b50d64de53af /gdb/i386-tdep.c | |
parent | 01add95bed9afd5e7815439c3967db976be53f80 (diff) | |
download | fsf-binutils-gdb-24b21115f522cd0fbe55986cd914a593576294ef.zip fsf-binutils-gdb-24b21115f522cd0fbe55986cd914a593576294ef.tar.gz fsf-binutils-gdb-24b21115f522cd0fbe55986cd914a593576294ef.tar.bz2 |
gdb: fix tab after space indentation issues
I spotted some indentation issues where we had some spaces followed by
tabs at beginning of line, that I wanted to fix. So while at it, I did
a quick grep to find and fix all I could find.
gdb/ChangeLog:
* Fix tab after space indentation issues throughout.
Change-Id: I1acb414dd9c593b474ae2b8667496584df4316fd
Diffstat (limited to 'gdb/i386-tdep.c')
-rw-r--r-- | gdb/i386-tdep.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c index 7f9405c..973085e 100644 --- a/gdb/i386-tdep.c +++ b/gdb/i386-tdep.c @@ -1276,8 +1276,8 @@ i386_analyze_stack_align (CORE_ADDR pc, CORE_ADDR current_pc, "andl $-XXX, %esp" can be either 3 bytes or 6 bytes: - 0x83 0xe4 0xf0 andl $-16, %esp - 0x81 0xe4 0x00 0xff 0xff 0xff andl $-256, %esp + 0x83 0xe4 0xf0 andl $-16, %esp + 0x81 0xe4 0x00 0xff 0xff 0xff andl $-256, %esp */ gdb_byte buf[14]; @@ -1941,20 +1941,20 @@ i386_skip_main_prologue (struct gdbarch *gdbarch, CORE_ADDR pc) gdb_byte buf[4]; if (target_read_code (pc + 1, buf, sizeof buf) == 0) - { + { /* Make sure address is computed correctly as a 32bit integer even if CORE_ADDR is 64 bit wide. */ - struct bound_minimal_symbol s; - CORE_ADDR call_dest; + struct bound_minimal_symbol s; + CORE_ADDR call_dest; call_dest = pc + 5 + extract_signed_integer (buf, 4, byte_order); call_dest = call_dest & 0xffffffffU; - s = lookup_minimal_symbol_by_pc (call_dest); - if (s.minsym != NULL - && s.minsym->linkage_name () != NULL - && strcmp (s.minsym->linkage_name (), "__main") == 0) - pc += 5; - } + s = lookup_minimal_symbol_by_pc (call_dest); + if (s.minsym != NULL + && s.minsym->linkage_name () != NULL + && strcmp (s.minsym->linkage_name (), "__main") == 0) + pc += 5; + } } return pc; |