target/microblaze: Add GDB XML and correct SReg reporting
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 6 repliesIn review
- v14 patches 3 repliesSuperseded
Changes in v2 from the cover letter
- 1/4: Added missing core XML file
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | target/microblaze: gdb: Add dynamic GDB XML register supportconfigure gdb-xml/ target/ +2 more | +201 | 2 replies | |
| 2/4 | target/microblaze: gdb: Extend the number of registers presented to GDBtarget/ target/ | +50 | 1 reply | |
| 3/4 | target/microblaze: gdb: Fix incorrect SReg reportingtarget/ | +49 | 1 reply | |
| 4/4 | target/microblaze: monitor: Increase the number of registers reportedtarget/ | +14 | 1 reply |
Reviews trailers per patch
3 of 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Edgar E. Iglesias |
|---|---|
| Series | R-b |
| 1/4 | |
| 2/4 | R-b |
| 3/4 | R-b |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH V2 0/4] target/microblaze: Add GDB XML and correct SReg reporting
Hi all,
This series adds dynamic GDB XML support for Micraoblaze CPUs, and fixes an issue when reporting Microblaze SRegs through GDB.
The SRegs used to be printed out by iterating over the SReg array, but the SReg array isn't laid out in memory in the same order that GDB expects them.
When reporting register to GDB, note that even though 32-bit
Microblaze supports having certain registers wider than 32-bits, we're repoting all of them as being 32-bits wide right now to maintain compatibility with GDB.
Thanks!
Joe
Changelog:
v1 -> v2
- 1/4: Added missing core XML file
Joe Komlodi (4):
target/microblaze: gdb: Add dynamic GDB XML register support target/microblaze: gdb: Extend the number of registers presented to
GDB
target/microblaze: gdb: Fix incorrect SReg reporting target/microblaze: monitor: Increase the number of registers reported
configure | 1 + gdb-xml/microblaze-core.xml | 64 +++++++++++++ target/microblaze/cpu.c | 6 +- target/microblaze/cpu.h | 9 ++ target/microblaze/gdbstub.c | 214 +++++++++++++++++++++++++++++++++++++++++- target/microblaze/translate.c | 16 +++- 6 files changed, 304 insertions(+), 6 deletions(-) create mode 100644 gdb-xml/microblaze-core.xml
Signature · 1 line
2.7.4