Re: RFA: PATCH to add pp command to gdbinit.in

2018-12-13 Thread Marek Polacek
On Thu, Dec 13, 2018 at 12:48:37PM -0500, Jason Merrill wrote: > On Thu, Dec 13, 2018 at 12:26 PM Marek Polacek wrote: > > On Thu, Dec 13, 2018 at 10:15:07AM -0700, Jeff Law wrote: > > > On 12/6/18 1:59 PM, Jason Merrill wrote: > > > > Since pvt was removed, it's bugged me that to pretty-print a v

Re: RFA: PATCH to add pp command to gdbinit.in

2018-12-13 Thread Jason Merrill
On Thu, Dec 13, 2018 at 12:26 PM Marek Polacek wrote: > On Thu, Dec 13, 2018 at 10:15:07AM -0700, Jeff Law wrote: > > On 12/6/18 1:59 PM, Jason Merrill wrote: > > > Since pvt was removed, it's bugged me that to pretty-print a vec I > > > needed to write out "call debug($)". So this patch adds a g

Re: RFA: PATCH to add pp command to gdbinit.in

2018-12-13 Thread Marek Polacek
On Thu, Dec 13, 2018 at 10:15:07AM -0700, Jeff Law wrote: > On 12/6/18 1:59 PM, Jason Merrill wrote: > > Since pvt was removed, it's bugged me that to pretty-print a vec I > > needed to write out "call debug($)". So this patch adds a generic > > command "pp" to print anything handled by a debug ov

Re: RFA: PATCH to add pp command to gdbinit.in

2018-12-13 Thread Jeff Law
On 12/6/18 1:59 PM, Jason Merrill wrote: > Since pvt was removed, it's bugged me that to pretty-print a vec I > needed to write out "call debug($)". So this patch adds a generic > command "pp" to print anything handled by a debug overload. > > OK for trunk? > Seems quite reasonable. I didn't ev

Re: RFA: PATCH to add pp command to gdbinit.in

2018-12-09 Thread Jason Merrill
On Sun, Dec 9, 2018, 7:42 PM Eric Gallager On 12/6/18, Jason Merrill wrote: > > Since pvt was removed, it's bugged me that to pretty-print a vec I > > needed to write out "call debug($)". So this patch adds a generic > > command "pp" to print anything handled by a debug overload. > > > > OK for

Re: RFA: PATCH to add pp command to gdbinit.in

2018-12-09 Thread Eric Gallager
On 12/6/18, Jason Merrill wrote: > Since pvt was removed, it's bugged me that to pretty-print a vec I > needed to write out "call debug($)". So this patch adds a generic > command "pp" to print anything handled by a debug overload. > > OK for trunk? > Why does it also change pbb to do the same t

RFA: PATCH to add pp command to gdbinit.in

2018-12-06 Thread Jason Merrill
Since pvt was removed, it's bugged me that to pretty-print a vec I needed to write out "call debug($)". So this patch adds a generic command "pp" to print anything handled by a debug overload. OK for trunk? commit 2dd2501e3abbd9d0b70119534fa5a93e957432bf Author: Jason Merrill Date: Tue Nov 20