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#2 5/6] set debug auto-load


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


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