[RFC] new substitute path when loading feature

Joel Brobecker brobecker@adacore.com
Thu May 15 19:29:00 GMT 2008


> 2008-05-15  Daniel Jacobowitz  <dan@codesourcery.com>
> 
> 	* defs.h (GDB_IS_DIR_SEPARATOR, GDB_IS_ABSOLUTE_PATH)
> 	(GDB_FILENAME_CMP): New macros.
> 	(gdb_filename_cmp): Declare.
> 	* buildsym.c, dwarf2read.c, solib.c, source.c, symtab.c: Use the
> 	new macros.
> 	* utils.c (ldirname): Likewise.
> 	(gdb_filename_cmp): New function.
> 
> Does this fix the same problem you're working on?  Does anyone see a
> problem with the compromises I made here?

The compromises made here seem reasonable to me.

-- 
Joel



More information about the Gdb-patches mailing list