I can execute up to a specific line in GDB by placing a breakpoint there and then pressing c
to continue execution.
b <line_number> ; insert breakpoint
c ; run up to the breakpoint
del <breakpoint_number> ; remove breakpoint
Is there a command to run up to a specific line number that will avoid having to run the above sequence of commands?
u
is a nice shortcut for this. – Paderewski