Skip to content

Quality of life patches for qemu coroutine debugging

Maxim Levitsky qemu-devel 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesIn review
  2. v12 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2scripts/gdb: fix 'qemu coroutine' when users selects a non topmost stack framescripts/qemugdb/coroutine.py+7 -00 replies
2/2scripts/gdb: implement 'qemu bt'scripts/qemu-gdb.py scripts/qemugdb/coroutine.py+28 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] Quality of life patches for qemu coroutine debugging

These are two patches that improve a bit the qemu gdb scripts in regard to coroutines.

First patch fixes a bug in 'qemu coroutine' in regard to usage on non topmost stack frame.

Second patch implements 'qemu bt' as Stefan suggested.

V2, because after hitting 'send' I noticed a few bugs:
1. Switch to try/catch around bt, so that when regular bt fails, we print the same message as original bt.
2. Print the correct co-routine address

Best regards,
Maxim Levitsky

Maxim Levitsky (2):
scripts/gdb: fix 'qemu coroutine' when users selects a non topmost
stack frame
scripts/gdb: implement 'qemu bt'

 scripts/qemu-gdb.py          |  1 +
 scripts/qemugdb/coroutine.py | 35 ++++++++++++++++++++++++++++++++++-
 2 files changed, 35 insertions(+), 1 deletion(-)
Signature · 1 line
2.26.2