That is, when we do not know which function inside the file is called, can we make it break without knowing the details?
You can do this easily with the command rbreak. Just specify the exact file you want to control and the regular expression. So, for all functions in this file:
rbreak
rbreak file.c:.