This patch is a diff between the official gdb-2.8 and the gdb shipped with GNAT GPL 2008 [1]. It adds Ada specific features to gdb. For example exception handling. I suggest adding an Ada useflag and applying the patch when it is set. [1] https://libre.adacore.com/ (Registration required) Reproducible: Always Steps to Reproduce:
Created attachment 156751 [details] gdb-6.8-gnat-2008.patch.tar.gz
contains a lot of junk as well ... but as long as it's behind USE=ada, i dont really care it doesnt apply cleanly to gdb-6.8-r1 though ... tip: when generating the diff, use '-x config.sub -x config.guess'
@ada team: Is this going to go anywhere? Its been sitting for quite some time.
(In reply to comment #3) > @ada team: Is this going to go anywhere? Its been sitting for quite some >time. In principle yes. But, as I am essentially a one-man Ada team and quite busy with "real life" as well, so I have to prioritize. And gdb was relatively low on the list (I don't use it personally and there were bigger issues). Well, in fact another reason was that I thought of it as tied to gps, but that's clearly wrong, gdb may be interesting of itself. Now that you reminded me of this, I'll reprioritize it, so, stay tuned. Still, its gonna take a bit, as first I want to add gnat-gcc-4.4 (and they seem to have changed build system a bit) and in parallel push out a paper soon (not Gentoo related :)).
is this still needed with gdb-7.6 ? i see a lot of ada related stuff in there.
file any feature requests for missing functionality in http://sourceware.org/bugzilla/