qemu-e2k/scripts
Andrew Jones 4b17bc933f dump-guest-memory: more descriptive lookup_type failure
We've seen a few reports of

 (gdb) source /usr/share/qemu-kvm/dump-guest-memory.py
 Traceback (most recent call last):
   File "/usr/share/qemu-kvm/dump-guest-memory.py", line 19, in <module>
     UINTPTR_T = gdb.lookup_type("uintptr_t")
 gdb.error: No type named uintptr_t.

This occurs when symbols haven't been loaded first, i.e. neither a
QEMU binary was loaded nor a QEMU process was attached first. Let's
better inform the user of how to fix the issue themselves in order
to avoid more reports.

Acked-by: Janosch Frank <frankja@linux.vnet.ibm.com>
Signed-off-by: Andrew Jones <drjones@redhat.com>
Message-Id: <20180314153820.18426-1-drjones@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Tested-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2018-03-21 15:02:00 +01:00
..
coccinelle
kvm
modules
qapi qapi: introduce new cmd option "allow-oob" 2018-03-19 14:58:37 -05:00
qemu-guest-agent
qemugdb scripts/qemu-gdb/timers.py: define encoding in header comment 2018-02-05 13:54:39 +01:00
qmp qmp.py: Encode json data before sending 2018-03-12 19:10:16 -03:00
tracetool trace: only permit standard C types and fixed size integer types 2018-03-12 11:10:20 +00:00
analyse-9p-simpletrace.py
analyse-locks-simpletrace.py scripts/analyse-locks-simpletrace.py: script to analyse lock times 2018-01-16 14:54:52 +01:00
analyze-inclusions
analyze-migration.py migration: fix analyze-migration.py script with radix table 2018-01-15 12:47:58 +01:00
archive-source.sh
argparse.py scripts/argparse.py: spelling (independant) 2018-02-10 10:03:39 +03:00
check-qerror.sh
checkpatch.pl checkpatch: Exempt long URLs 2018-03-12 16:12:46 +01:00
clean-header-guards.pl
clean-includes
cleanup-trace-events.pl
cocci-macro-file.h
coverity-model.c
create_config audio: add driver registry 2018-03-12 11:18:26 +01:00
decodetree.py decodetree: Propagate return value from translate subroutines 2018-03-02 11:03:45 +00:00
device-crash-test device-crash-test: Use 'python' binary 2018-03-12 19:10:16 -03:00
disas-objdump.pl
dump-guest-memory.py dump-guest-memory: more descriptive lookup_type failure 2018-03-21 15:02:00 +01:00
extract-vsssdk-headers
feature_to_c.sh
get_maintainer.pl
git-submodule.sh build: fix typo in error message 2018-02-10 10:17:06 +03:00
git.orderfile
gtester-cat
hxtool
make_device_config.sh
make-release scripts/make-release: Don't archive .git files 2018-02-10 10:11:20 +03:00
ordereddict.py
qapi-gen.py qapi: Lift error reporting from QAPISchema.__init__() to callers 2018-03-02 13:14:09 -06:00
qemu-binfmt-conf.sh qemu-binfmt-conf.sh: add qemu-xtensa 2018-03-09 19:26:15 +01:00
qemu-gdb.py scripts/qemu-gdb/timers.py: new helper to dump timer state 2018-01-16 14:54:51 +01:00
qemu.py qemu.py: Use items() instead of iteritems() 2018-03-12 19:10:16 -03:00
qtest.py
refresh-pxe-roms.sh
replay-dump.py scripts/replay-dump.py: replay log dumper 2018-03-12 17:10:38 +01:00
shaderinclude.pl
show-fixed-bugs.sh
signrom.py scripts: ensure signrom treats data as bytes 2018-02-05 19:53:54 -02:00
simpletrace.py trace: include filename when printing parser error messages 2018-03-12 11:10:20 +00:00
switch-timer-api
texi2pod.pl
tracetool.py trace: include filename when printing parser error messages 2018-03-12 11:10:20 +00:00
update-linux-headers.sh virtio,vhost,pci,pc: features, cleanups 2018-03-20 15:48:34 +00:00
vmstate-static-checker.py