aboutsummaryrefslogtreecommitdiff
path: root/gdb/buildsym.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/buildsym.h')
-rw-r--r--gdb/buildsym.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/buildsym.h b/gdb/buildsym.h
index 6284aaf..ee75e6f 100644
--- a/gdb/buildsym.h
+++ b/gdb/buildsym.h
@@ -20,6 +20,7 @@
#define BUILDSYM_H 1
#include "gdbsupport/gdb_obstack.h"
+#include "symtab.h"
struct objfile;
struct symbol;
@@ -53,10 +54,7 @@ struct subfile
struct subfile *next = nullptr;
std::string name;
-
- /* Space for this is malloc'd. */
- struct linetable *line_vector = nullptr;
- int line_vector_length = 0;
+ std::vector<linetable_entry> line_vector_entries;
enum language language = language_unknown;
struct symtab *symtab = nullptr;
};