Re: ADA, GNAT, and GDB
On Thu, May 30, 2002 at 02:21:53PM +1000, Brian May wrote:
> What is the status of Ada/Gnat support in GDB 5.x?
Pending. ACT and someone else in the community are currently working
on (at last) contributing the patches. I expect that it will come
together for 6.0, in four to six months, but don't quote me on that
unless you're volunteering to help it get done.
> I found a patched version of gnat-gdb-5 lying around, but this is really
> old (and buggy), and doesn't seem to support binaries compiled with Gnat
Correct. You can try compiling with -gstabs+ instead of -g and using
this old version, but no promises.
> I would file a bug report on gdb, but there already are bug reports, one
> almost 3 years old.
> So I tried debugging my gnat 3.1 compiled application using Gdb in
> Debian, anyway, and it seems incapable of doing even very primitive
> stuff (maybe this is as a result of gcc 3.1 ABI changes?):
> (gdb) b main
> internal error - unimplemented function unk_lang_create_fundamental_type
That should be fixed in a CVS snapshot; I try to avoid doing new
upstream snapshots too frequently but after another set of patches I'm
working on go in I probably will.
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org