Jumping to the next “instruction” using gdb

You want to use stepi, aka si. it steps by one machine instruction.
(Or ni to step over call instructions.)

Check the GDB manual’s section on continuing and stepping, which has an entry for it.
Or inside GDB, help / help running will show you that si exists, and help stepi will show you more about it.

Leave a Comment