I only recently started using GDB, but I was impressed. Unsurprisingly, this is a de facto debugger for many users. However, one slight annoyance that I discovered is that I cannot scroll over the current instruction in the TUI assembly view. I can scroll up and down just fine as long as the display buffer is under the current instruction.
Besides something like x/20i [address](what type of hitting a scrollable window is) or changing memory during a jump and setting a subsequent breakpoint, is there any way to show the TUI assembly in another place that may be higher (lower than the memory) of the current instruction?
Edit: this seems to only happen when connecting to an already running process, and not when using gdb to start the process. Sometimes I can scroll up to the current instruction, otherwise I can not scroll everything.
source
share