Here is a draft patch for gdb.mi/mi-break.exp to use
gdb_get_line_number.
It works, but that's beside the point. I'm looking for the right style.
So this is RFC, not RFA.
Some questions:
. there are a lot of line_* variables. how would you like me to name
them and manage them?
. some of the test names have line numbers embedded in them:
"insert temp breakpoint at basics.c:15 (callee3)"
this is now
"insert temp breakpoint at basics.c:$line_callee3 (callee3)"
so the name floats around as basics.c changes. That is, I just
did the simple stupid substitution. What would you really like for
test names like this?