Lack of architecture in gdbstub makes debugging confusing
Bug #1923693 reported by
kallisti5
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Expired
|
Undecided
|
Unassigned |
Bug Description
I spent some quality time debugging GEF and came to a conclusion here:
https:/
tldr;
* gdb_arch_name was undefined on riscv
* this bug was fixed recently via https:/
* An undefined gdb_arch_name results in qemu's gdbstub omitting the <architecture> xml.
* gdb translates a missing <architecture> as "auto" which breaks a lot of stuff.
* tracking down where "auto" comes from is a bit confusing and time consuming.
It might be better to report a missing / blank gdb_arch_name as "<architecture>
To post a comment you must log in.
Thanks for raising this. I have marked it as fixes as like you say it's fixed in mainline.