diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2015-02-17 22:46:58 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-17 23:34:53 +0100 |
commit | 7f994963745b9cea89a2816dae7cc3a1fc01adcc (patch) | |
tree | 8f100eb57664208e2f1d42fe3a35e605f9fe3cd7 /scripts/gdb/vmlinux-gdb.py | |
parent | scripts/gdb: add internal helper and convenience function to look up a module (diff) | |
download | linux-7f994963745b9cea89a2816dae7cc3a1fc01adcc.tar.xz linux-7f994963745b9cea89a2816dae7cc3a1fc01adcc.zip |
scripts/gdb: add get_target_endianness helper
Parse the target endianness from the output of "show endian" and cache the
result to return it via the new helper get_target_endiannes. We will need
it for reading integers from buffers that contain target memory.
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>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions