and I would like to know if there is any way to stop a program when is using a function from a certain file. Ideally what I am looking for is something like:
rbreak foo.cpp:.
Here . matches anything, and so breaks on all functions of file foo.cpp.
.
foo.cpp