]> git.baikalelectronics.ru Git - kernel.git/commit
scripts/gdb: add get_gdbserver_type helper
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 17 Feb 2015 21:47:18 +0000 (13:47 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 17 Feb 2015 22:34:54 +0000 (14:34 -0800)
commit8896768b98f7bdcfed7712c2543bfea2096a4a0a
tree1380a114f8d72d23063c518553293cf4efb54fa6
parent11b29d1c1b516ccab8e0bf68126dc959eb4b8652
scripts/gdb: add get_gdbserver_type helper

This helper probes the type of the gdb server.  Supported are QEMU and
KGDB so far.  Knowledge about the gdb server is required e.g.  to
retrieve the current CPU or current task.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Jason Wessel <jason.wessel@windriver.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Ben Widawsky <ben@bwidawsk.net>
Cc: Borislav Petkov <bp@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/gdb/linux/utils.py