"Karel" == Karel Klic kklic-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org writes:
Karel> I have created the next iteration of backtrace parsing and processing Karel> code, and I would like to see it included in the development version Karel> of ABRT.
Karel> What are the improvements compared to the current ABRT's backtrace code? [...] Karel> - new hand written parser: it parses much more backtraces correctly Karel> (especially those with C++ frames, applications using boost library), Karel> and the code seems to be more readable than the current bison Karel> grammar. That is because some parts of the backtrace format are very Karel> difficult to express in the rules for the Bison GLR parser while Karel> keeping the memory usage and parsing time reasonable
It would not be difficult to change gdb to emit a format that is much simpler to parse. The easiest way is to write a backtrace emitter in Python -- this way you can pick whatever format you like, without having to modify the gdb core. We already have this code, you would just need to adapt it to format how you want.
There are other ways as well, though, if you don't like that.
Tom