]> git.proxmox.com Git - mirror_qemu.git/commit
scripts: add gdb support script
authorAvi Kivity <avi@redhat.com>
Sun, 18 Mar 2012 14:48:44 +0000 (16:48 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 24 Mar 2012 12:57:02 +0000 (12:57 +0000)
commit4daa187d49a9d242d0bda1f35e190486112915f6
treed3bdbc67a9574993fd92a9bb6032b08802de9265
parent33cf629a3754b58a1e2dbbe01d91d97e712b7c06
scripts: add gdb support script

Add a script that enhances gdb to be aware of QEMU data structures.

This patch adds a single gdb command, 'qemu mtree'.  The command is
similar to the monitor's 'info mtree', except that it prints MemoryRegion
addresses, and except for working from a core dump as well as a live instance.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
scripts/qemu-gdb.py [new file with mode: 0644]