GDB support for Ada: break exception
GDB support for Ada: break exception
- Subject: GDB support for Ada: break exception
- From: Pascal <email@hidden>
- Date: Sun, 19 Dec 2010 19:17:48 +0100
Hi.
I've installed Ada compiler GNAT GPL 2010 from AdaCore libre site
(http://libre.adacore.com/libre/) on Mac OS 10.6.5.
Despite Ada is a powerful language with many coding safe
capabilities, GDB is sometimes necessary for debugging programs.
One useful Ada aware GDB functionality is catching exceptions.
But with GDB 7.1 coming with GNAT, I've got a strange message:
(gdb) br exception
Unable to insert catchpoint. Try to start the program first.
(gdb) catch exception
Cannot insert catchpoints in this configuration.
with this warning when GDB starts:
"warning: OSO archive file "/usr/local/gnat-2010/lib/gcc/x86_64-apple-
darwin9.6.0/4.3.6/adalib/libgnat.a" not an archive."
But I don't find any issue with this file:
$ file /usr/local/gnat-2010/lib/gcc/x86_64-apple-darwin9.6.0/4.3.6/
adalib/libgnat.a
/usr/local/gnat-2010/lib/gcc/x86_64-apple-darwin9.6.0/4.3.6/adalib/
libgnat.a: current ar archive random library
Even not being a GDB expert, is there somebody knowing about OSO file?
What could issue this warning?
Else GDB coming with XCode doesn't issue this warning, but it isn't
Ada aware ;-(
Thanks for your answers, Pascal.
http://blady.pagesperso-orange.fr
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden