I want to implement rbreak
from Python scripting.
The simplest way to do that would be to loop over all functions, and compare their name to a regular expression in Python.
Or if there is a better way without explicit looping, I'm interested as well.
I expect the solution to use some API like: https://sourceware.org/gdb/onlinedocs/gdb/Symbol-Tables-In-Python.html but it's hard to do it without examples.