Workaround for GDB bug described in #632 (#633)
Workaround for GDB bug described in #632 (#633)

GDB's `up` and `down` commands trigger internal notification about
changed frame. It does not happen for `gdb.Frame.select()` which we use
in our own overrides for `up` and `down` commands.

Because of that, the `list` GDB command does not show proper source code
lines.

This can be worked around by firing `frame` command and this is what
this workaround/PR adds.

This bug has also been reported to GDB bugzilla at
https://sourceware.org/bugzilla/show_bug.cgi?id=24534
anthraxx/pwndbg,pwndbg/pwndbg,cebrusfs/217gdb,pwndbg/pwndbg,cebrusfs/217gdb,anthraxx/pwndbg,cebrusfs/217gdb,cebrusfs/217gdb,pwndbg/pwndbg,anthraxx/pwndbg,anthraxx/pwndbg,pwndbg/pwndbg