mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 12:24:38 +08:00
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.
This commit is contained in:
parent
0e6f30610f
commit
bfe2e011c0
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
@ -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,
|
||||
|
@ -396,10 +396,6 @@ struct buildsym_compunit
|
||||
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,
|
||||
|
Loading…
Reference in New Issue
Block a user