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=unavailable autolearn_force=no version=3.4.4 Path: border1.nntp.dca3.giganews.com!backlog4.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: Could not launch the debugger Date: Sun, 09 Mar 2014 14:47:18 +0100 Organization: A noiseless patient Spider Message-ID: <87wqg3a3h5.fsf@ludovic-brenta.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: mx05.eternal-september.org; posting-host="51062cdff76eb1d2558ca499d88b6174"; logging-data="817"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX194oghvh9a4PFoUTQ2zKmtp" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:MY6s+zXXR7SwmsEeQ2w0ZgPIxew= sha1:PllRCg/zewVn5hH5292Y0BoDiog= X-Original-Bytes: 2279 Xref: number.nntp.dca.giganews.com comp.lang.ada:185150 Date: 2014-03-09T14:47:18+01:00 List-Id: hreba writes: > On 03/03/2014 05:46 PM, J-P. Rosen wrote: >> Le 02/03/2014 19:37, hreba a écrit : >>> 2. Check whether the GNU debugger is in the path. Opening a terminal >>> window and executing "gdb" invoked the debugger. >> Make sure you have the right one. >> >> A common source of problems is that you have to use the gdb provided >> with GNAT, but you often have another one installed. Make sure the GNAT >> bin directory is first on the path. >> > > Installed all packages of my Linux distribution with "gnat" in its > name, but they contain no specific gdb: > > frank@office ~ $ find /usr -name gdb -executable \! -type d > /usr/bin/gdb > find: `/usr/lib/gimp/2.0/plug-ins/bimp-locale': Permission denied > > So it seems to be a bug of the package. No, see https://bugs.debian.org/659166 (I am surprised that you could not find the exact phrase "Could not launch the debugger" which is in the title of this bug!) The problem is that the gdb provided by package gdb does not work in the console of GPS; you must install gdb-minimal instead, as gnat-gps recommends. -- Ludovic Brenta.