This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: PATCH to add pp command to gdbinit.in
- From: Jason Merrill <jason at redhat dot com>
- To: Eric Gallager <egall at gwmail dot gwu dot edu>
- Cc: gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 9 Dec 2018 19:53:16 -0500
- Subject: Re: RFA: PATCH to add pp command to gdbinit.in
- References: <CADzB+2mSSYbHJxP=d3KuKZForEHDWnVstx4QOtS-SL2DXqB9FQ@mail.gmail.com> <CAMfHzOuQ88JqBsDiaaHM8M5nP_shMq9XtqHXW3wZj4CX6rSucw@mail.gmail.com>
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
>