Move declaration of vtbl_ptr_name to the header.
authorChristian Biesinger <cbiesinger@google.com>
Mon, 7 Oct 2019 18:23:34 +0000 (13:23 -0500)
committerChristian Biesinger <cbiesinger@google.com>
Mon, 7 Oct 2019 22:30:22 +0000 (17:30 -0500)
commitbad5c02618a27f8f1c5c0858c323dba060aed905
tree205bfb022d809d23f7134d6221f5852a42ef05d4
parent51f1fdc3d2235ffe94172b51d33fec0e5c5edeca
Move declaration of vtbl_ptr_name to the header.

There are conflicting comments about whether this was
introduced in GCC 2.4.5 or GCC 2.6 and I don't know
which one is correct...

gdb/ChangeLog:

2019-10-07  Christian Biesinger  <cbiesinger@google.com>

* c-lang.h (vtbl_ptr_name): Declare.
* cp-valprint.c (vtbl_ptr_name): Remove "extern" now that we get
it from the header.
* stabsread.c (define_symbol): Remove declaration of vtbl_ptr_name.
gdb/ChangeLog
gdb/c-lang.h
gdb/cp-valprint.c
gdb/stabsread.c