tag 435544 patch thanks Ok, I decided to fix it anyway. Attached is a new version of patches/command-names.patch which sets the correct paths.
Teemu
Use external commands in the Debian paths. Index: cpp_module/src/cpp_parser.adb =================================================================== --- cpp_module/src/cpp_parser.adb.orig 2006-05-22 12:28:05.000000000 +0200 +++ cpp_module/src/cpp_parser.adb 2007-08-02 15:53:21.000000000 +0200 @@ -3179,8 +3179,7 @@ if DBIMP_Dir.all = "" then H.DBIMP_Path := new String' - (Name_As_Directory (System_Dir) & "bin" & - Directory_Separator & DBIMP & Exec_Suffix.all); + ("/usr/lib/gps/" & DBIMP & Exec_Suffix.all); else H.DBIMP_Path := new String' (DBIMP_Dir.all & Directory_Separator & DBIMP & Exec_Suffix.all); @@ -3188,8 +3187,7 @@ if CBrowser_Dir.all = "" then H.CBrowser_Path := new String' - (Name_As_Directory (System_Dir) & "bin" - & Directory_Separator & CBrowser & Exec_Suffix.all); + ("/usr/lib/gps/" & CBrowser & Exec_Suffix.all); else H.CBrowser_Path := new String' (CBrowser_Dir.all Index: gvd/gvd/debugger-gdb.adb =================================================================== --- gvd/gvd/debugger-gdb.adb.orig 2005-12-21 15:11:49.000000000 +0100 +++ gvd/gvd/debugger-gdb.adb 2006-09-18 08:12:24.000000000 +0200 @@ -75,7 +75,7 @@ Prompt_Length : constant := 6; -- Length of the prompt ("(gdb) "). - Gdb_Command : constant String := "gdb"; + Gdb_Command : constant String := "gnatdb"; -- Name of the command to launch gdb. Gdb_Options : constant String := "-nw -q"; Index: share/plug-ins/projects.xml =================================================================== --- share/plug-ins/projects.xml.orig 2005-10-27 17:32:54.000000000 +0200 +++ share/plug-ins/projects.xml 2006-09-18 08:12:24.000000000 +0200 @@ -107,7 +107,8 @@ description="The application to use when debugging applications. Only gdb and its variants are currently supported by GPS" hide_in="wizard library_wizard" label="Debugger"> - <choice default="true" >gdb</choice> + <choice default="true" >gnatgdb</choice> + <choice>gdb</choice> <choice>powerpc-wrs-vxworks-gdb</choice> <choice>powerpc-wrs-vxworksae-gdb</choice> <choice>powerpc-elf-gdb</choice>