I would like to be able to set breakpoints to every method of a C++ class in gdb.
I think the easiest way to do this is probably python, since now python has complete access to gdb.  I know very little python, and with gdb on top of it, it's even harder.  I am wondering if anyone knows how to write a class python code that sets breakpoints to every method of a named class in gdb.
You can generate (for example using python) a .gdbrc file with a line containing 
'break C::foo'
for every function of your class C and then start gdb.
gdb python programming: how to write code that will set breakpoints to every method of a C++ class?