This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] symfile find_separate_debug_file
- From: Tom Tromey <tromey at redhat dot com>
- To: Aleksandar Ristovski <aristovski at qnx dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 13 Aug 2009 15:37:51 -0600
- Subject: Re: [patch] symfile find_separate_debug_file
- References: <h5pnol$ejf$1@ger.gmane.org>
- Reply-to: tromey at redhat dot com
>>>>> "Aleksandar" == Aleksandar Ristovski <aristovski@qnx.com> writes:
Aleksandar> * symfile.c (find_separate_debug_file): Fix the case when
Aleksandar> objfile has only basename as its name.
Aleksandar> + somewhere, unless there isn't. See allocate_objfile. */
Funny comment :)
This is ok.
It seems to me that we probably need some kind of OBJF_IS_FILE flag,
because we do have objfiles that don't come from files, but that still
have names. Constructing file names derived from these names seems
bogus.
Tom