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] Remove explicit leading space in query strings


On 10/29/2015 12:43 PM, Patrick Palka wrote:
> Instead of requiring each caller of the query() family of functions to
> add a leading space to the inputted query string (so that there is a
> separator between the query string and the "(y or n)" suffix that is
> appended to it), this patch instead makes the callee always add this
> leading space before appending the "(y or n)" suffix, so that each caller
> won't have to.  (Some existing query strings passed to the query()
> family of function did not yet have a leading space.  This patch
> also implicitly fixes such occurrences.)
> 
> I discovered the list of queries to change in this patch by grepping for
> the string "? \")".

OK.

Thanks,
Pedro Alves


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