]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix tab/space inconsistency in runtime-gdb.py
authorAustin Clements <austin@google.com>
Thu, 8 Jun 2017 16:05:31 +0000 (12:05 -0400)
committerAustin Clements <austin@google.com>
Thu, 8 Jun 2017 16:14:52 +0000 (16:14 +0000)
Change-Id: I78c6198eb909e679cf0f776b77dda52211bfd347
Reviewed-on: https://go-review.googlesource.com/45133
Run-TryBot: Austin Clements <austin@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>

src/runtime/runtime-gdb.py

index 26f36b51199e279de324601a77a870661c8a9b74..dd1f79b72e1f2e11b55549cda763eba1801e2bbd 100644 (file)
@@ -436,7 +436,7 @@ def find_goroutine(goid):
        for thr in gdb.selected_inferior().threads():
                if thr.ptid[1] == m['procid']:
                        break
-        else:
+       else:
                return None, None
        # Get scheduler state from the G's OS thread state.
        curthr = gdb.selected_thread()