Closed DavidEGrayson closed 7 years ago
I tried to use set substitute-path ../samples/ src/angle/samples/ in GDB when debugging the ANGLE samples, but I still get the message:
set substitute-path ../samples/ src/angle/samples/
../samples/hello_triangle/HelloTriangle.cpp: No such file or directory.
Process Monitor shows that GDB is not even trying to open the src/angle directory.
The show command gives the expected output:
show
(gdb) show substitute-path ../samples/hello_trangle/HelloTriangle.cpp Source path substitution rule matching `../samples/hello_trangle/HelloTriangle.cpp': `../samples' -> `src/angle/samples'.
I added a patch to fix this last night and also submitted it upstream:
https://sourceware.org/ml/gdb-patches/2017-02/msg00693.html
I tried to use
set substitute-path ../samples/ src/angle/samples/
in GDB when debugging the ANGLE samples, but I still get the message:Process Monitor shows that GDB is not even trying to open the src/angle directory.
The
show
command gives the expected output: