Should "dir" override the full path encoded in debug info?

Joel Brobecker brobecker@adacore.com
Sat Jun 24 11:19:00 GMT 2006


> Then I think this is by design: GDB gives preference to existing files
> in the default places.

That's fine. But then how do you explain that when you compile
differently GDB now finds the files in the new location, despite
the fact that the files in the original location are still present
(and the debugging info contains the path to the original files)?
Isn't that inconsistent?

-- 
Joel



More information about the Gdb mailing list