summaryrefslogtreecommitdiff
path: root/gdb/buildsym.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-05-22 22:47:15 -0600
committerTom Tromey <tom@tromey.com>2018-07-20 09:42:56 -0600
commitbfe2e011c004b88687ae4514cfdb00072a9cee63 (patch)
tree1a1286e22daad178bddaf8a71e6bbe7b45dcc525 /gdb/buildsym.h
parent0e6f30610fdb50b4974b349ed3673b744d03e9a9 (diff)
downloadbinutils-gdb-bfe2e011c004b88687ae4514cfdb00072a9cee63.tar.gz
Remove record_line_ftype
The record_line_ftype typedef was only used in the DWARF reader, and we removed those uses a few patches ago. So, remove the typedef. gdb/ChangeLog 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.
Diffstat (limited to 'gdb/buildsym.h')
-rw-r--r--gdb/buildsym.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/buildsym.h b/gdb/buildsym.h
index 36b3e99dc56..141adfdebe4 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,