mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-15 20:08:23 +00:00
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.
This commit is contained in:
@@ -60,7 +60,6 @@
|
||||
#include "symfile.h"
|
||||
#include "gdbsupport/agent.h"
|
||||
#include "tracepoint.h"
|
||||
#include "gdbsupport/buffer.h"
|
||||
#include "target-descriptions.h"
|
||||
#include "gdbsupport/filestuff.h"
|
||||
#include "objfiles.h"
|
||||
|
||||
Reference in New Issue
Block a user