mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
PR symtab/14931:
* psymtab.c (struct psymtab_state): New. (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New functions. * psympriv.h (make_cleanup_discard_psymtabs): Declare. * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions. gdb/testsuite * gdb.dwarf2/dw2-error.exp: New file. * gdb.dwarf2/dw2-error.c: New file. * gdb.dwarf2/dw2-error.S: New file.
This commit is contained in:
@ -231,6 +231,8 @@ extern struct partial_symtab *allocate_psymtab (const char *,
|
||||
|
||||
extern void discard_psymtab (struct objfile *, struct partial_symtab *);
|
||||
|
||||
extern struct cleanup *make_cleanup_discard_psymtabs (struct objfile *);
|
||||
|
||||
/* Traverse all psymtabs in one objfile. */
|
||||
|
||||
#define ALL_OBJFILE_PSYMTABS(objfile, p) \
|
||||
|
Reference in New Issue
Block a user