aboutsummaryrefslogtreecommitdiff
path: root/gdb/stubs
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2021-05-27 15:18:49 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2021-05-27 15:18:49 -0400
commit24b21115f522cd0fbe55986cd914a593576294ef (patch)
tree6f2f71d9ede68e21d0371cc5db25b50d64de53af /gdb/stubs
parent01add95bed9afd5e7815439c3967db976be53f80 (diff)
downloadgdb-24b21115f522cd0fbe55986cd914a593576294ef.zip
gdb-24b21115f522cd0fbe55986cd914a593576294ef.tar.gz
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/stubs')
-rw-r--r--gdb/stubs/sh-stub.c10
-rw-r--r--gdb/stubs/sparc-stub.c2
2 files changed, 6 insertions, 6 deletions
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