This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Avoid calling stat with empty name in relocate_gdb_directory
- From: Tom Tromey <tromey at redhat dot com>
- To: "Pierre Muller" <pierre dot muller at ics-cnrs dot unistra dot fr>
- Cc: <gdb-patches at sourceware dot org>
- Date: Thu, 06 Dec 2012 11:33:46 -0700
- Subject: Re: [RFA] Avoid calling stat with empty name in relocate_gdb_directory
- References: <29503.7594777115$1354726985@news.gmane.org> <87sj7ks7g6.fsf@fleche.redhat.com> <434.327257289802$1354751122@news.gmane.org>
>>>>> "Pierre" == Pierre Muller <pierre.muller@ics-cnrs.unistra.fr> writes:
Pierre> Apparently it isn't used elsewhere...
Pierre> Should we modify the default value to NULL instead of ""?
Pierre> I do not master complicated autoconf things like
Pierre> GDB_AC_DEFINE_RELOCATABLE well enough to know if this is
Pierre> without problems...
Pierre> Tell me if you think we should modify it at configury level or
Pierre> if I should commit my patch, whatever you prefer!
Maybe we should just skip computing gdb_sysroot if TARGET_SYSTEM_ROOT is
"". What do you think?
Tom