mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-12 18:36:10 +08:00
Create a typedef for record_line: record_line_ftype.
gdb/ChangeLog: * buildsym.h (record_line_ftype): New typedef. (record_line): Use it. * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions. (dwarf_decode_lines_1): Call them.
This commit is contained in:
@ -171,6 +171,10 @@ EXTERN int context_stack_size;
|
||||
|
||||
EXTERN int within_function;
|
||||
|
||||
/* The type of the record_line function. */
|
||||
typedef void (record_line_ftype) (struct subfile *subfile, int line,
|
||||
CORE_ADDR pc);
|
||||
|
||||
|
||||
|
||||
#define next_symbol_text(objfile) (*next_symbol_text_func)(objfile)
|
||||
@ -236,7 +240,7 @@ extern struct context_stack *push_context (int desc, CORE_ADDR valu);
|
||||
|
||||
extern struct context_stack *pop_context (void);
|
||||
|
||||
extern void record_line (struct subfile *subfile, int line, CORE_ADDR pc);
|
||||
extern record_line_ftype record_line;
|
||||
|
||||
extern void start_symtab (const char *name, const char *dirname,
|
||||
CORE_ADDR start_addr);
|
||||
|
Reference in New Issue
Block a user