Mdren
Mdren

Reputation: 121

Increase number of lines in GDB live disassembly

Is it possible to increase the number of auto disassembled lines that GDB (with pwndbg) shows when stepping through an executable? I have tried using display x $pc but it doesn't fit in with the rest of the debugger.

Currently looks like:

Currently looks like

Ideally would look like this(Except functional):

Ideally would look like this(Except functional)

Upvotes: 1

Views: 574

Answers (1)

Florian Weimer
Florian Weimer

Reputation: 33727

You can use the winheight command. This should increase the size of the disassembly by twenty lines:

winheight asm +20

Upvotes: 2

Related Questions