PR symtab/14931:
authorTom Tromey <tromey@redhat.com>
Mon, 14 Jan 2013 20:51:48 +0000 (20:51 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 14 Jan 2013 20:51:48 +0000 (20:51 +0000)
commitc9bf062262da5a158d7a74907f8db2cd6df6bdfd
tree006b1942db2e0074c7eb49f272b88d7cc7839af0
parent44d594fd828c1ba491e387ad0b06d68f5fd1b342
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.
gdb/ChangeLog
gdb/dwarf2read.c
gdb/psympriv.h
gdb/psymtab.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/dw2-error.S [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/dw2-error.c [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/dw2-error.exp [new file with mode: 0644]