From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a4469a3a933d9276 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-12-31 06:54:54 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!postnews1.google.com!not-for-mail From: harryr@ssd.fsi.com (Harry Rockefeller) Newsgroups: comp.lang.ada Subject: Re: gdb 5.2.1 doesn't know Ada, gcc 3.2.1 does Date: 31 Dec 2002 06:54:54 -0800 Organization: http://groups.google.com/ Message-ID: References: NNTP-Posting-Host: 65.115.221.98 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1041346494 10566 127.0.0.1 (31 Dec 2002 14:54:54 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 31 Dec 2002 14:54:54 GMT Xref: archiver1.google.com comp.lang.ada:32408 Date: 2002-12-31T14:54:54+00:00 List-Id: harryr@ssd.fsi.com (Harry Rockefeller) wrote in message news:... I was wondering why there was no response. I think I misdiagnosed the problem and so will provide a bit more detail too. > I have a gentoo Linux system and applied the > bugzilla patch to get Ada built into gcc 3.2.1 The problem appears to be here. When I run gdb 5.2.1 on the executable created I get an internal error - "unimplemented function unk_lang_create_fundamental_type called" when trying to set a breakpoint at a line in my Ada source. show lang and info extensions also seemed to indicate that gdb was not "Ada aware". > but found out that my gdb doesn't understand > the source language Ada. This is not true. When I compile my Ada program using the NYU gcc 2.8.1 the gdb 5.2.1 works and allows me to set breakpoints, etc. show lang still gives "auto; currently c" and info extensions doesn't show any gnat aware extensions, but it works none the less. An interesting side issue is that the gdb provided with the NYU dist fails to execute; failing with libncurses.so.4 can't be found. I'll still accept any help from readers of this newsgroup, but I also will post in the Gentoo programming forum as well since it appears the problem may be with their Ada patch for gcc 3.2.1.