Is there a single command in gdb which can set breakpoints on all the functions in a given file ? I know about rbreak regex which sets breakpoints in matching regular expres
(gdb) set height 0
(gdb) rbreak file.cpp:.*
worked fine for me.
In my case it was useful to shrink the result set a little bit by specifying a template argument for the functions contained in the file:
(gdb) rbreak file.cpp:.*TemplateClass.*
(gdb) rbreak file:.
from http://sourceware.org/gdb/download/onlinedocs/gdb/Set-Breaks.html#Set-Breaks