summaryrefslogtreecommitdiff
path: root/gdbserver
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-12-16 12:50:29 -0700
committerTom Tromey <tom@tromey.com>2023-02-24 11:53:03 -0700
commit147699fd6991ae67fc22ca543a28f85a242fc930 (patch)
tree6b0db9f0536b143faf89940d3f0e9fa500bd08ae /gdbserver
parent1293ecd838c82e86f6c81d4518f5c662f8eaa0b9 (diff)
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.
Diffstat (limited to 'gdbserver')
-rw-r--r--gdbserver/server.h1
1 files changed, 0 insertions, 1 deletions
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"