automating 'next' in gdb dubugger
Michael O'Donnell
mod+blu at std.com
Sat Sep 16 08:44:37 EDT 2000
>It has been a long time since I have used the gdb dubugger.
>I am steping through a large program and would like to automate
>the 'next' command from breakpoint A to breakpoint B.
>
>How can I automate the 'next' command in this case?
Not quite sure what you're asking, but GDB itself
(in response to the "help next" command) says:
> (gdb) help next
> Step program, proceeding through subroutine calls.
> Like the "step" command as long as subroutine calls do not happen;
> when they do, the call is treated as one instruction.
> Argument N means do this N times (or till program stops for another reason).
-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).
More information about the Discuss
mailing list