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!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: hreba Newsgroups: comp.lang.ada Subject: Re: Could not launch the debugger Date: Tue, 11 Mar 2014 20:01:09 -0300 Message-ID: References: <87wqg3a3h5.fsf@ludovic-brenta.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: individual.net jbQ/Ule39da07jEtZamnQQD7ol7CZymSkn+0T72FIzDD44TI2J Cancel-Lock: sha1:eILI7VfoZCB+tJ6we5Z86d4aI00= User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 In-Reply-To: <87wqg3a3h5.fsf@ludovic-brenta.org> X-Original-Bytes: 2332 Xref: number.nntp.dca.giganews.com comp.lang.ada:185157 Date: 2014-03-11T20:01:09-03:00 List-Id: On 03/09/2014 10:47 AM, Ludovic Brenta wrote: > 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. > Did as suggested and it works now. Thanks a lot for the hint. In fact with those comfortable package installation software and repositories you get used that everything works out of the box.