From 24b21115f522cd0fbe55986cd914a593576294ef Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Thu, 27 May 2021 15:18:49 -0400 Subject: 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 --- gdb/stubs/sh-stub.c | 10 +++++----- gdb/stubs/sparc-stub.c | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'gdb/stubs') diff --git a/gdb/stubs/sh-stub.c b/gdb/stubs/sh-stub.c index 379824c..03a865e 100644 --- a/gdb/stubs/sh-stub.c +++ b/gdb/stubs/sh-stub.c @@ -418,10 +418,10 @@ retry: if (ch == '#') { - ch = getDebugChar (); - xmitcsum = hex (ch) << 4; - ch = getDebugChar (); - xmitcsum += hex (ch); + ch = getDebugChar (); + xmitcsum = hex (ch) << 4; + ch = getDebugChar (); + xmitcsum += hex (ch); if (checksum != xmitcsum) { @@ -437,7 +437,7 @@ retry: putDebugChar (buffer[0]); putDebugChar (buffer[1]); - return &buffer[3]; + return &buffer[3]; } return &buffer[0]; diff --git a/gdb/stubs/sparc-stub.c b/gdb/stubs/sparc-stub.c index 24631ce..acb7743 100644 --- a/gdb/stubs/sparc-stub.c +++ b/gdb/stubs/sparc-stub.c @@ -204,7 +204,7 @@ window_fine: recursive_trap: st %l5, [%lo(in_trap_handler) + %l4] sub %sp,(16+1+6+1+72)*4,%sp ! Make room for input & locals - ! + hidden arg + arg spill + ! + hidden arg + arg spill ! + doubleword alignment ! + registers[72] local var -- cgit v1.1