From a7d7d7aec26b18e8ae4581a30b7c0f5b4d0b9c6b Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Thu, 8 Jun 2017 12:05:31 -0400 Subject: [PATCH] runtime: fix tab/space inconsistency in runtime-gdb.py Change-Id: I78c6198eb909e679cf0f776b77dda52211bfd347 Reviewed-on: https://go-review.googlesource.com/45133 Run-TryBot: Austin Clements Reviewed-by: Brad Fitzpatrick TryBot-Result: Gobot Gobot --- src/runtime/runtime-gdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/runtime-gdb.py b/src/runtime/runtime-gdb.py index 26f36b5119..dd1f79b72e 100644 --- a/src/runtime/runtime-gdb.py +++ b/src/runtime/runtime-gdb.py @@ -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()