[PATCH] Move declaration of vtbl_ptr_name to the header.

Christian Biesinger via gdb-patches gdb-patches@sourceware.org
Mon Oct 7 22:31:00 GMT 2019


On Mon, Oct 7, 2019 at 5:20 PM Tom Tromey <tom@tromey.com> wrote:
>
> >>>>> "Christian" == Christian Biesinger via gdb-patches <gdb-patches@sourceware.org> writes:
>
> Christian> There are conflicting comments about whether this was
> Christian> introduced in GCC 2.4.5 or GCC 2.6 and I don't know
> Christian> which one is correct...
>
> Christian> 2019-10-07  Christian Biesinger  <cbiesinger@google.com>
>
> Christian>      * c-lang.h (vtbl_ptr_name): Declare.
> Christian>      * cp-valprint.c (vtbl_ptr_name): Remove "extern" now that we get
> Christian>      it from the header.
> Christian>      * stabsread.c (define_symbol): Remove declaration of vtbl_ptr_name.
>
> Thanks.  This is ok.  Probably this is all dead code.

Thanks, pushed.

Christian



More information about the Gdb-patches mailing list