On Sat, Jan 20, 2018 at 06:01:16PM -0600, Daniel Santos wrote: > As far as adding tests, I guess I would need to dig into > lib/gcc-gdb-test.exp to figure out how to do that.
The gdb-test infrastructure allows essentially b linenumber p something p somethingother Not sure if it would work if instead of using a number of linenumber you'd use the symbol for these snippets or symbol+number, plus you are interested not in printing values of variables there, but about sensible backtraces. Probably gdb's testsuite is better suited for that. Jakub