X-Git-Url: https://repo.jachan.dev/linux.git/blobdiff_plain/6bdfe2d88b9ff8b0cce32ce87cd47c0e9d665f48..66ad4829ddd0b5540dc0b076ef2818e89c8f720e:/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