scripts/qemu-gdb: Simplify fs_base fetching for coroutines
authorPeter Xu <peterx@redhat.com>
Thu, 12 Dec 2024 20:48:00 +0000 (15:48 -0500)
committerKevin Wolf <kwolf@redhat.com>
Thu, 6 Feb 2025 12:59:00 +0000 (13:59 +0100)
commitf4e343b6559eda19efe972b9dcd52e479320e388
tree8eae18158102080fee882c2f3b502450bcc9995c
parent5bf10468b68816377264e557e91186a2ee129c95
scripts/qemu-gdb: Simplify fs_base fetching for coroutines

There're a bunch of code trying to fetch fs_base in different ways.  IIUC
the simplest way instead is "$fs_base".  It also has the benefit that it'll
work for both live gdb session or coredumps.

Signed-off-by: Peter Xu <peterx@redhat.com>
Message-ID: <20241212204801.1420528-3-peterx@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
scripts/qemugdb/coroutine.py