1
0
mirror of https://github.com/golang/go synced 2024-09-30 14:28:33 -06:00

runtime: fix tab/space inconsistency in runtime-gdb.py

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>
This commit is contained in:
Austin Clements 2017-06-08 12:05:31 -04:00
parent 2465971781
commit a7d7d7aec2

View 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()