gdb: Remove vec.{c,h} and update code to not include vec.h
authorAndrew Burgess <andrew.burgess@embecosm.com>
Mon, 7 Oct 2019 15:38:53 +0000 (16:38 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 15 Oct 2019 20:31:55 +0000 (21:31 +0100)
commit0dc327459b19e6765c8fe80957f5c8620611628e
tree5ba10c0740be182a742dc68727f70c861815c003
parentae6400219c19f165692254740531b2a7ad74945e
gdb: Remove vec.{c,h} and update code to not include vec.h

Removes vec.c and vec.h from the source tree, and remove all the
remaining includes of vec.h.  There should be no user visible changes
after this commit.

I did have a few issues rebuilding GDB after applying this patch due
to cached dependencies, I found that running this command in the build
directory resolved my build issues without requiring a 'make clean':

    rm -fr gdb/gdbserver/gdbsupport/.deps/

gdb/ChangeLog:

* Makefile.in: Remove references to vec.h and vec.c.
* aarch64-tdep.c: No longer include vec.h.
* ada-lang.c: Likewise.
* ada-lang.h: Likewise.
* arm-tdep.c: Likewise.
* ax.h: Likewise.
* breakpoint.h: Likewise.
* charset.c: Likewise.
* cp-support.h: Likewise.
* dtrace-probe.c: Likewise.
* dwarf2read.c: Likewise.
* extension.h: Likewise.
* gdb_bfd.c: Likewise.
* gdbsupport/gdb_vecs.h: Likewise.
* gdbsupport/vec.c: Remove.
* gdbsupport/vec.h: Remove.
* gdbthread.h: Likewise.
* guile/scm-type.c: Likewise.
* inline-frame.c: Likewise.
* machoread.c: Likewise.
* memattr.c: Likewise.
* memrange.h: Likewise.
* namespace.h: Likewise.
* nat/linux-btrace.h: Likewise.
* osdata.c: Likewise.
* parser-defs.h: Likewise.
* progspace.h: Likewise.
* python/py-type.c: Likewise.
* record-btrace.c: Likewise.
* rust-exp.y: Likewise.
* solib-target.c: Likewise.
* stap-probe.c: Likewise.
* target-descriptions.c: Likewise.
* target-memory.c: Likewise.
* target.h: Likewise.
* varobj.c: Likewise.
* varobj.h: Likewise.
* xml-support.h: Likewise.

gdb/gdbserver/ChangeLog:

* Makefile.in: Remove references to vec.c.

Change-Id: I0c91d7170bf1b5e992a387fcd9fe4f2abe343bb5
41 files changed:
gdb/ChangeLog
gdb/Makefile.in
gdb/aarch64-tdep.c
gdb/ada-lang.c
gdb/ada-lang.h
gdb/arm-tdep.c
gdb/ax.h
gdb/breakpoint.h
gdb/charset.c
gdb/cp-support.h
gdb/dtrace-probe.c
gdb/dwarf2read.c
gdb/extension.h
gdb/gdb_bfd.c
gdb/gdbserver/ChangeLog
gdb/gdbserver/Makefile.in
gdb/gdbsupport/gdb_vecs.h
gdb/gdbsupport/vec.c [deleted file]
gdb/gdbsupport/vec.h [deleted file]
gdb/gdbthread.h
gdb/guile/scm-type.c
gdb/inline-frame.c
gdb/machoread.c
gdb/memattr.c
gdb/memrange.h
gdb/namespace.h
gdb/nat/linux-btrace.h
gdb/osdata.c
gdb/parser-defs.h
gdb/progspace.h
gdb/python/py-type.c
gdb/record-btrace.c
gdb/rust-exp.y
gdb/solib-target.c
gdb/stap-probe.c
gdb/target-descriptions.c
gdb/target-memory.c
gdb/target.h
gdb/varobj.c
gdb/varobj.h
gdb/xml-support.h