aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gdb/linux/utils.py')
-rw-r--r--scripts/gdb/linux/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gdb/linux/utils.py b/scripts/gdb/linux/utils.py
index d7ff3a39b672..0893b326a28b 100644
--- a/scripts/gdb/linux/utils.py
+++ b/scripts/gdb/linux/utils.py
@@ -151,6 +151,6 @@ def get_gdbserver_type():
151 gdbserver_type = GDBSERVER_QEMU 151 gdbserver_type = GDBSERVER_QEMU
152 elif probe_kgdb(): 152 elif probe_kgdb():
153 gdbserver_type = GDBSERVER_KGDB 153 gdbserver_type = GDBSERVER_KGDB
154 if not gdbserver_type is None and hasattr(gdb, 'events'): 154 if gdbserver_type is not None and hasattr(gdb, 'events'):
155 gdb.events.exited.connect(exit_handler) 155 gdb.events.exited.connect(exit_handler)
156 return gdbserver_type 156 return gdbserver_type