X-Git-Url: https://repo.jachan.dev/linux.git/blobdiff_plain/00657bb3dbecee324336e1da1ad71b670b6aee60..4165cee7ecb112c20bc1a05fa8d93d16d11b68c2:/scripts/gdb/linux/utils.py diff --git a/scripts/gdb/linux/utils.py b/scripts/gdb/linux/utils.py index 7d5278d815fa..245ab297ea84 100644 --- a/scripts/gdb/linux/utils.py +++ b/scripts/gdb/linux/utils.py @@ -196,7 +196,7 @@ def get_gdbserver_type(): def probe_kgdb(): try: thread_info = gdb.execute("info thread 2", to_string=True) - return "shadowCPU0" in thread_info + return "shadowCPU" in thread_info except gdb.error: return False