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] GDB 7.2: new feature for "backtrace" that cuts path to file (remain filename)


On Tuesday 05 July 2011 03:46:21, Eli Zaretskii wrote:
> > Date: Mon, 4 Jul 2011 13:51:01 -0700
> > From: Joel Brobecker <brobecker@adacore.com>
> > Cc: iam ahal <hal9000ed2k@gmail.com>, pmuldoon@redhat.com,
> > 	tromey@redhat.com, gdb-patches@sourceware.org
> > 
> > Now, to find an appropriate name for that setting...
> 
> backtrace-display-basename-only?

We already have the set backtrace prefix:

(gdb) set backtrace 
limit       past-entry  past-main 

So that'd make it "set backtrace display-basename-only on|off"

Or maybe an enum.  Something like:

set backtrace display basename-only|the-whole-sheebang

-- 
Pedro Alves


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