This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [Patch] Improve path lookup of absolute source file
- From: Francois Rigault <francois dot rigault at amadeus dot com>
- To: Daniel Jacobowitz <drow at false dot org>, Thiago Jung Bauermann <thiago dot bauermann at gmail dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 11 Mar 2009 09:32:12 +0100
- Subject: Re: [Patch] Improve path lookup of absolute source file
Daniel Jacobowitz <drow@false.org> wrote on 26/09/2008 15:01:55:
> I'm nervous about "unlikely". What happens before and after if they
> do have different basenames? e.g. a symlink foo.c to foo_x86.c; if
> GDB or GCC resolves the symlink at some point we'll mismatch and now
> completely fail to locate the file.
Hi,
would you accept a patch that uses a macro somewhere so that
users can choose to compile gdb with or without the modified lookup
routine ?
Francois