Commit 26f8b1e
committed
gdb: z80: guard saved_reg addr access
The z80 unwinder calls trad_frame_saved_reg::addr() on entries that
are still REALREG, which trips an assertion in debug builds. Guard the
addr() access with is_addr() so only actual saved-address regs are
adjusted. This keeps debug and release behavior consistent.1 parent 91658d4 commit 26f8b1e
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
641 | 641 | | |
642 | 642 | | |
643 | 643 | | |
644 | | - | |
| 644 | + | |
645 | 645 | | |
646 | 646 | | |
647 | 647 | | |
| |||
0 commit comments