]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdbsupport/Makefile.in
Remove struct buffer
authorTom Tromey <tom@tromey.com>
Fri, 16 Dec 2022 19:50:29 +0000 (12:50 -0700)
committerTom Tromey <tom@tromey.com>
Fri, 24 Feb 2023 18:53:03 +0000 (11:53 -0700)
commit147699fd6991ae67fc22ca543a28f85a242fc930
tree6b0db9f0536b143faf89940d3f0e9fa500bd08ae
parent1293ecd838c82e86f6c81d4518f5c662f8eaa0b9
Remove struct buffer

I've long wanted to remove 'struct buffer', and thanks to Simon's
earlier patch, I was finally able to do so.  My feeling has been that
gdb already has several decent structures available for growing
strings: std::string of course, but also obstack and even objalloc
from BFD and dyn-string from libiberty.  The previous patches in this
series removed all the uses of struct buffer, so this one can remove
the code and the remaining #includes.
gdb/linux-nat.c
gdb/nat/linux-osdata.c
gdb/nat/linux-ptrace.c
gdb/nat/linux-ptrace.h
gdb/top.h
gdbserver/server.h
gdbsupport/Makefile.am
gdbsupport/Makefile.in
gdbsupport/buffer.cc [deleted file]
gdbsupport/buffer.h [deleted file]