Re: Refresh TUI source panel after "monitor reset"
Pedro Alves <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
On 2022-06-24 15:57, R. Diez via Gdb wrote: > > But then I experimented a little further. Command "list" seems to work if you supply a known function name. If the function does not exist, you get an error message like 'Function "test" not defined.'. > > However, if you specify an address which does not fall in the known code area, GDB just ignores the "list" command. For example, I tried these commands: > > list * 0x1000000 > list * 0x8000000 > > And there were just silently ignored. > > The reset address does not fall into the current firmware, but in the bootloader area, and the currently-loaded ELF does not have debug symbols for the bootloader area. That is perhaps the reason why the "list *$pc" has no effect. > > But then your suggestion gave me the idea of trying "disassemble $pc,+10". That did the trick. > Did you try just "frame"? That's what I typically use to make the source pane refocus on the current frame, where the program is stopped.