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 X-Google-Thread: 103376,4bd5f0f0bea53c58 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-02-25 02:38:39 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!uninett.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: debugging ada with gdb Date: Tue, 25 Feb 2003 10:38:38 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <3e5aa6ba$1_4@news.arrakis.es> <3E5B2A37.9020604@epfl.ch> NNTP-Posting-Host: kiuk0152.chembio.ntnu.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: tyfon.itea.ntnu.no 1046169518 16703 129.241.83.78 (25 Feb 2003 10:38:38 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Tue, 25 Feb 2003 10:38:38 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:34553 Date: 2003-02-25T10:38:38+00:00 List-Id: Rodrigo Garc�a wrote: > Use the gdb that comes with your GNAT distribution (look at "bin" > folder). It should output something like this: In Debian it is the Gnat 3.14p which is te current stable compiler. The next compiler will be gnat 3.2 (gcc). the Gnat 3.14p in Debian does not contain the Ada-aware gdb. However (http://www.velvet.net/~aidan/tech/programming.html): Ada support for GDB I've modifed ACT's patch for GDB5 so that it builds cleanly against GDB 5.2. It hasn't been imported into the mainline yet, but hopefully will be soon. Apply it in the top level directory with patch. It was last tested against the CVS snapshot from 2002-07-09. You can download it here. If you use it, and especially if you have any problems with it, please email me. -- Preben Randhol ---------------- http://www.pvv.org/~randhol/ -- "Violence is the last refuge of the incompetent", Isaac Asimov