From f6fe98efdcadbe85913d89d0d67f6f9d81becb50 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Sat, 21 Feb 2004 02:13:35 +0000 Subject: [PATCH] * dwarf2read.c (add_partial_symbol): Fix typo in adding enumerators to the partial symbol table. --- gdb/ChangeLog | 5 +++++ gdb/dwarf2read.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7b7371e9474..26c343291a3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2004-02-20 Daniel Jacobowitz + + * dwarf2read.c (add_partial_symbol): Fix typo in adding enumerators + to the partial symbol table. + 2004-02-20 J. brobecker * PROBLEMS: Add description of problem documented under gdb/1560. diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index e09c3c15f6c..46c3cf4ed7e 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -1562,8 +1562,8 @@ add_partial_symbol (struct partial_die_info *pdi, add_psymbol_to_list (actual_name, strlen (actual_name), VAR_DOMAIN, LOC_CONST, cu->language == language_cplus - ? &objfile->static_psymbols - : &objfile->global_psymbols, + ? &objfile->global_psymbols + : &objfile->static_psymbols, 0, (CORE_ADDR) 0, cu->language, objfile); break; default: -- 2.30.2