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

Jan Kratochvil jan.kratochvil@redhat.com
Fri May 11 19:05:00 GMT 2012


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



More information about the Gdb-patches mailing list