retitle 414614 gnat-gps: calls gdb instead of gnatgdb with default project properties severity 414614 minor reassign 414614 gnat-gps thanks
Alain Kalker writes: > Package: gnat-gdb > Version: 6.4+2006-2 > Severity: important > > When enabling the preference 'Debugger->Break on exceptions' in gnat-gps > and subsequently initializing a debugging session, the debugger reports: > > (gdb) break exception > Function "exception" not defined. It seems that this is not the correct gdb. Try "show version" in the debugger console. The correct output should be: GNU gdb 6.4 for GNAT Pro 2006 (20060522) Copyright 2005 Free Software Foundation, Inc. Ada Core Technologies version of GDB for GNAT Professional GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". which I get from an xterm after calling gnatgdb. But in gnat-gps, after initializing the debugger and doing "show version", I get: GNU gdb 6.4.90-debian Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". which is the wrong gdb, without Ada support. This seems like a bug in gps, because the project properties, "Languages" tab, shows gnatgdb as the debugger. To correct the problem, I wrote /usr/bin/gnatgdb explicitly in the combo box for the debugger. Lowering the severity to minor because of this simple workaround, but definitely something worth fixing. -- Ludovic Brenta. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]