[patch] IS_ABSOLUTE_PATH to handle both DOS and POSIX path st yles

Aleksandar Ristovski ARistovski@qnx.com
Sun Jan 6 12:17:00 GMT 2008


> 
> But the form of the file names is determined by the platform on which
> you compiled the sources, right?  

Right and this is the problem: IS_ABSOLUTE_PATH is determined at compile
time only by platform on which gdb will be running. Gdb, however needs to
deal with binaries possibly built on a platform with different file system
(we often have this case: gdb on POSIX file system debugging binary built on
windows).
 
> So are you talking about a use case
> where a program was compiled on Windows, and is then debugged on a
> GNU/Linux host?

Yes. 



More information about the Gcc-patches mailing list