]> 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)
commit762d8914ccc3c7404159393dc1430233401183a2
tree1380a114f8d72d23063c518553293cf4efb54fa6
parent41793421fb67ca3ac68a42be2f5581553d4ec86d
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