Re: How to display instructions around the current instuction?

Sterling Augustine via Gdb
2021-01-28T17:01:03Z

On Thu, Jan 28, 2021 at 8:50 AM Peng Yu via Gdb <gdb@sourceware.org> wrote:
>
> > I believe "disas" should work:
>
> I need at each si, it automatically print the commands. I don't want
> to type disas each time when I type si.

You might find the TUI assembly layout helpful.

(gdb) tui enable
(gdb) layout asm

Remember here that everyone is trying to help you out of kindness.