aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/buildsym-legacy.h2
-rw-r--r--gdb/buildsym.h4
3 files changed, 6 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 9f9b8e3..c02fb53 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2018-07-20 Tom Tromey <tom@tromey.com>
+ * buildsym-legacy.h (record_line): Don't use record_line_ftype.
+ * buildsym.h (record_line_ftype): Remove typedef.
+
+2018-07-20 Tom Tromey <tom@tromey.com>
+
* buildsym-legacy.h (augment_type_symtab): Don't declare.
(end_expandable_symtab): Likewise.
(end_symtab_get_static_block): Likewise.
diff --git a/gdb/buildsym-legacy.h b/gdb/buildsym-legacy.h
index aaa9152..ed825b4 100644
--- a/gdb/buildsym-legacy.h
+++ b/gdb/buildsym-legacy.h
@@ -79,7 +79,7 @@ extern struct context_stack *push_context (int desc, CORE_ADDR valu);
extern struct context_stack pop_context ();
-extern record_line_ftype record_line;
+extern void record_line (struct subfile *subfile, int line, CORE_ADDR pc);
extern struct compunit_symtab *start_symtab (struct objfile *objfile,
const char *name,
diff --git a/gdb/buildsym.h b/gdb/buildsym.h
index 36b3e99..141adfd 100644
--- a/gdb/buildsym.h
+++ b/gdb/buildsym.h
@@ -396,10 +396,6 @@ private:
struct pending *m_local_symbols = nullptr;
};
-/* The type of the record_line function. */
-typedef void (record_line_ftype) (struct subfile *subfile, int line,
- CORE_ADDR pc);
-
extern void add_symbol_to_list (struct symbol *symbol,