1
Is it possible to set a breakpoint for all functions of a particular file in gdb? An application, for example, would check if the program passes by certain file during its execution.
1
Is it possible to set a breakpoint for all functions of a particular file in gdb? An application, for example, would check if the program passes by certain file during its execution.
1
Use the rbreak
, that defines breakpoints according to a regular expression. To set breakpoints in all file functions arquivo.c
, use the following command:
(gdb) rbreak arquivo.c:.
More information on documentation.
Browser other questions tagged debug gdb breakpoints
You are not signed in. Login or sign up in order to post.