Re: DbgHelp: Fix for Includes with Relative Paths

2004-08-27 Thread Eric Pouech
Is the attached patch correct? yes

Re: DbgHelp: Fix for Includes with Relative Paths

2004-08-24 Thread Robert Shearman
Eric Pouech wrote: Robert Shearman a écrit : How does the attached patch look? better, but you should to nuke srcpath (and no longer currpath) in N_SO case, when *ptr is '\0' (it's defensive code, so it shouldn't harm on normally formed stabs file). As a side effect, you don't need also to memse

Re: DbgHelp: Fix for Includes with Relative Paths

2004-08-24 Thread Eric Pouech
Robert Shearman a écrit : How does the attached patch look? better, but you should to nuke srcpath (and no longer currpath) in N_SO case, when *ptr is '\0' (it's defensive code, so it shouldn't harm on normally formed stabs file). As a side effect, you don't need also to memset currpath to 0 at

Re: DbgHelp: Fix for Includes with Relative Paths

2004-08-24 Thread Robert Shearman
Eric Pouech wrote: which means that: - we create a new compilation unit (for example) on 2205 => this gives the source directory - we start the main compilation unit on 2206 => /home/dm/wine/dlls/dbghelp/elf_module.c - in this CU, we start a new include file (on ), => /home/dm/wine/dlls/dbgh

Re: DbgHelp: Fix for Includes with Relative Paths

2004-08-23 Thread Eric Pouech
which means that: - we create a new compilation unit (for example) on 2205 => this gives the source directory - we start the main compilation unit on 2206 => /home/dm/wine/dlls/dbghelp/elf_module.c - in this CU, we start a new include file (on ), => /home/dm/wine/dlls/dbghelp/../../include/w

Re: DbgHelp: Fix for Includes with Relative Paths

2004-08-23 Thread Robert Shearman
Eric Pouech wrote: Robert Shearman a écrit : Hi, On startup, the debugger usually prompted me to type the path where "/winternl.h" can be found. This was due to the path being stored internally as "../../include/winternl.h", i.e. relative to the source directory. This patch adds the ability to s

Re: DbgHelp: Fix for Includes with Relative Paths

2004-08-23 Thread Eric Pouech
Robert Shearman a écrit : Hi, On startup, the debugger usually prompted me to type the path where "/winternl.h" can be found. This was due to the path being stored internally as "../../include/winternl.h", i.e. relative to the source directory. This patch adds the ability to store the source dir