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: 2003-01-01 12:47:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!206.228.247.230!not-for-mail From: Ed Cogburn Newsgroups: comp.lang.ada Subject: Re: gdb 5.2.1 doesn't know Ada, gcc 3.2.1 does Date: Wed, 01 Jan 2003 15:46:58 -0500 Message-ID: References: NNTP-Posting-Host: 206.228.247.230 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: fu-berlin.de 1041454021 11137087 206.228.247.230 (16 [49761]) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130 In-Reply-To: Xref: archiver1.google.com comp.lang.ada:32437 Date: 2003-01-01T15:46:58-05:00 List-Id: Harry Rockefeller wrote: > 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". Yes, they are aware of this in the gdb group, because I did a google search on this error when I saw it and found some discussions about it. The next gdb release should fix this problem, I'm sure. I solved it by downloading the gdb source and applying a patch I found in one of those discussions to force gdb to treat it as the C language. I didn't know about the -gstabs option Waldek mentioned, so I'll check that out. Do a google search on "unk_lang_create_fundamental_type" and you'll find the discussions I found.