This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch#2 5/6] set debug auto-load
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 3 Apr 2012 20:33:26 +0200
- Subject: Re: [patch#2 5/6] set debug auto-load
- References: <20120329091510.GF25449@host2.jankratochvil.net> <83ehsa1q9d.fsf@gnu.org>
On Fri, 30 Mar 2012 09:50:38 +0200, Eli Zaretskii wrote:
> > +auto-load: Resolved file "/home/user/gdb/gdb-gdb.rc"
> > + as "/home/user/gdb/gdb-gdb.rc".
>
> Didactically, it would be better if the resolution produced a
> non-trivial change of the file name. This would drive point home
> better.
Put there now for directories:
_("auto-load: Using directory \"%s\".\n"),
vs.
_("auto-load: Resolved directory \"%s\" "
"as \"%s\".\n"),
and optionally
_("auto-load: And canonicalized as \"%s\".\n"),
And the message
> > +auto-load: Resolved file "/home/user/gdb/gdb-gdb.rc"
> > + as "/home/user/gdb/gdb-gdb.rc".
is now really printed only if the filenames differ.
Thanks,
Jan