* dwarf2read.c (queue_and_load_all_dwo_tus): New function.
authorDoug Evans <dje@google.com>
Wed, 4 Sep 2013 23:05:32 +0000 (23:05 +0000)
committerDoug Evans <dje@google.com>
Wed, 4 Sep 2013 23:05:32 +0000 (23:05 +0000)
commit89e63ee47a55271506d68f24b25a4a2094ab346f
tree789f9e3cf3fab8f723af987820f6cc934a0b28a5
parent492c0ab72a050a19d09d0df16eb3b0d8da22be1a
* dwarf2read.c (queue_and_load_all_dwo_tus): New function.
(queue_and_load_dwo_tu): New function.
(lookup_dwo_signatured_type): Set per_cu.tu_read.
(maybe_queue_comp_unit): Rename this_cu argument to dependent_cu.
Make dependent_cu optional.
(dw2_do_instantiate_symtab): If we just loaded a CU from a DWO,
and an older .gdb_index is in use, queue and load all its TUs too.

testsuite/
* gdb.base/enumval.c (ZERO): New enum value.
(main): Use it
* gdb.base/enumval.exp: Test ability to print ZERO.
gdb/ChangeLog
gdb/dwarf2read.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/enumval.c
gdb/testsuite/gdb.base/enumval.exp