This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch 1/2] Provide $ddir substitution for --with-auto-load-safe-path


On Fri, 11 May 2012 20:59:31 +0200, Pedro Alves wrote:
> It should already be working?
> So we'd only need to remove the '/' special case,

Yes, it is already working.  No, there is no special case, filename_is_in_dir
handles "", "/" and "////" the same for each split path component.

One just has to avoid the "reset to factory defaults" feature some way (such
as by that ":").


> and tweak the docs to mention that.

Yes.  I can do it but I would like to keep it here for some comments first.
TBH I find that '/' still a bit more logical.  Also we should admit UNIX is
more native environment for GDB.


Thanks,
Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]