diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/dwarf2/read.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b7e8f1f..abcd02b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2020-11-12 Simon Marchi <simon.marchi@polymtl.ca> + * dwarf2/read.c (dw2_do_instantiate_symtab): Fix call to + dwarf2_queue_guard. + +2020-11-12 Simon Marchi <simon.marchi@polymtl.ca> + * dwarf2/read.c (dw2_do_instantiate_symtab): Fix typo in comment. diff --git a/gdb/dwarf2/read.c b/gdb/dwarf2/read.c index 5c3849b..1b43fc8 100644 --- a/gdb/dwarf2/read.c +++ b/gdb/dwarf2/read.c @@ -2435,7 +2435,7 @@ dw2_do_instantiate_symtab (dwarf2_per_cu_data *per_cu, /* The destructor of dwarf2_queue_guard frees any entries left on the queue. After this point we're guaranteed to leave this function with the dwarf queue empty. */ - dwarf2_queue_guard q_guard (dwarf2_per_objfile); + dwarf2_queue_guard q_guard (per_objfile); if (!per_objfile->symtab_set_p (per_cu)) { |