Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

automating 'next' in gdb dubugger





>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).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org