scripts/gdb: add read_u16/32/64 helpers
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 17 Feb 2015 21:47:01 +0000 (13:47 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 17 Feb 2015 22:34:53 +0000 (14:34 -0800)
commit78e878172327b1b6aa6264b1d22f9a083f9ddaa6
tree42f6441e8eb8610922d43fcad320fcfd2d10f98f
parent7f994963745b9cea89a2816dae7cc3a1fc01adcc
scripts/gdb: add read_u16/32/64 helpers

Add helpers for reading integers from target memory buffers.  Required
when caching the memory access is more efficient than reading individual
values via gdb.

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