RFA: PATCH to add pp command to gdbinit.in

Jason Merrill jason@redhat.com
Mon Dec 10 00:53:00 GMT 2018


On Sun, Dec 9, 2018, 7:42 PM Eric Gallager <egall@gwmail.gwu.edu wrote:

> On 12/6/18, Jason Merrill <jason@redhat.com> 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 thing as the new pp command
> you're adding?
>

I assumed that some people were used to using pbb for basic_blocks. But on
reflection, the command before my patch didn't work at all, so it's
unlikely anyone was relying on it, so it's probably better to remove it.

Jason

>



More information about the Gcc-patches mailing list