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: [RFA, doc RFA] New option set use-deprecated-index-sections


Jan Kratochvil writes:
 > On Thu, 19 Jul 2012 00:33:42 +0200, dje@google.com wrote:
 > > +  use "-iex 'set use-deprecated-index-sections on'".
 > [...]
 > > +`-iex \"set use-deprecated-index-sections on\"' to gdb."),
 > 
 > It is more Eli's decision but I would find it overquoted.
 > (1) ` is deprecated by GNU Coding Standard in favor of '.
 > (2) If user really passes "-iex 'set use-deprecated-index-sections on'"
 >     to GDB it will not work:
 >     $ gdb "-iex 'set use-deprecated-index-sections on'"
 >     gdb: unrecognized option '-iex 'set use-deprecated-index-sections on''
 > 
 > So IMO:
 > > +  use: -iex 'set use-deprecated-index-sections on'
 > [...]
 > > +-iex \"set use-deprecated-index-sections on\" to gdb."),

One could apply the same reasoning to a lot of other places.
I'm happy to follow whatever rules there are,
I just require them to be applied consistently.

Maybe it should be phrased as
<-iex \"set use-deprecated-index-sections on\">
since when we say "Type <return> to continue"
we assume they know we're not asking them to type
< r e t u r n >.  :-(


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