From 147699fd6991ae67fc22ca543a28f85a242fc930 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 16 Dec 2022 12:50:29 -0700 Subject: 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. --- gdbserver/server.h | 1 - 1 file changed, 1 deletion(-) (limited to 'gdbserver') diff --git a/gdbserver/server.h b/gdbserver/server.h index 7997d1a32e6..730ec146530 100644 --- a/gdbserver/server.h +++ b/gdbserver/server.h @@ -52,7 +52,6 @@ int vsnprintf(char *str, size_t size, const char *format, va_list ap); # define PROG "gdbserver" #endif -#include "gdbsupport/buffer.h" #include "gdbsupport/xml-utils.h" #include "regcache.h" #include "gdbsupport/gdb_signals.h" -- cgit v1.2.3