This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Should "dir" override the full path encoded in debug info?
Joel Brobecker <brobecker@adacore.com> writes:
>> > Please correct me if I'm wrong, but wouldn't something like
>> > substitute-path be more correct. I mean, this doesn't relate to a dir or
>> > a filename does it? I may not completly understand what the new
>> > functions input/output is though.
>>
>> Works for me.
>
> substitute-path works for me too. (and I verified, no collision with
> other commands).
>
> Right now, the interface I have in mind is the following.
>
> (gdb) substitute-path from to
>
> Sets the substitution rule using "from" and "to".
How about adding subcommands `add' and `remove' and having more than one
substitution rule?
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."