[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
Hi everyone, Anyone know why i can't get substitute-path to work on gdb? It seems to just be broken? or am i being really stupid? GNU gdb 6.6.90.20070912-debian Copyright (C) 2007 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu"... Using host libthread_db library "/lib/libthread_db.so.1". (gdb) list 794 /tmp/root/usr/src/1.18.3.5/linden/indra/x86_64-linux-client-debug/newview/viewer.cpp: No such file or directory. in /tmp/root/usr/src/1.18.3.5/linden/indra/x86_64-linux-client-debug/newview/viewer.cpp (gdb) show substitute-path List of all source path substitution rules: `/tmp/root/usr/src/1.18.3.5/linden/indra/x86_64-linux-client-debug/newview' -> `/usr/src/1.18.3.5/linden/indra/newview'. (gdb) show substitute-path /tmp/root/usr/src/1.18.3.5/linden/indra/x86_64-linux-client-debug/newview Source path substitution rule matching `/tmp/root/usr/src/1.18.3.5/linden/indra/x86_64-linux-client-debug/newview': `/tmp/root/usr/src/1.18.3.5/linden/indra/x86_64-linux-client-debug/newview' -> `/usr/src/1.18.3.5/linden/indra/newview'. (gdb) show substitute-path /tmp/root/usr/src/1.18.3.5/linden/indra/x86_64-linux-client-debug/newview/viewer.cpp Source path substitution rule matching `/tmp/root/usr/src/1.18.3.5/linden/indra/x86_64-linux-client-debug/newview/viewer.cpp': For some reason it just does not work when you add the trailing / to the input data so ......newview works but .......newview/somefile.cpp doesn't ??? Robin -- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html