[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/4] qemugdb: coroutine backtrace for coredump
From: |
Vladimir Sementsov-Ogievskiy |
Subject: |
[Qemu-devel] [PATCH 0/4] qemugdb: coroutine backtrace for coredump |
Date: |
Wed, 28 Mar 2018 20:32:34 +0300 |
Hi all. Here are some qemugdb enhancements around qemu coroutine command.
The main feature is a backtrace for coroutine, when debugging with a
coredump file.
The problem is that we can't get coroutine backtrace through obvious way
- set regs
- bt
- restore regs
when debugging a coredump.
So, let's go hard way: clone current coredump file, patch regs
in it and execute a subprocess gdb to get backtrace from this
patched coredump.
Vladimir Sementsov-Ogievskiy (4):
scripts/qemugdb: get pthread_self from "info threads" command
scripts/qemugdb: improve "qemu coroutine" command
scripts/qemugdb: add coredump.py for coredump patching
scripts/qemugdb: backtraces for coroutines in coredump
scripts/qemugdb/coredump.py | 51 ++++++++++++++++++++++++++++++++++++++++++
scripts/qemugdb/coroutine.py | 53 +++++++++++++++++++++++++++++++++++++++-----
2 files changed, 99 insertions(+), 5 deletions(-)
create mode 100644 scripts/qemugdb/coredump.py
--
2.11.1
- [Qemu-devel] [PATCH 0/4] qemugdb: coroutine backtrace for coredump,
Vladimir Sementsov-Ogievskiy <=