* dwarf2read.c (add_partial_symbol): Fix typo in adding enumerators

to the partial symbol table.
This commit is contained in:
Daniel Jacobowitz
2004-02-21 02:13:35 +00:00
parent b5e0fabd1f
commit f6fe98efdc
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2004-02-20 Daniel Jacobowitz <drow@mvista.com>
* dwarf2read.c (add_partial_symbol): Fix typo in adding enumerators
to the partial symbol table.
2004-02-20 J. brobecker <brobecker@gnat.com> 2004-02-20 J. brobecker <brobecker@gnat.com>
* PROBLEMS: Add description of problem documented under gdb/1560. * PROBLEMS: Add description of problem documented under gdb/1560.

View File

@ -1562,8 +1562,8 @@ add_partial_symbol (struct partial_die_info *pdi,
add_psymbol_to_list (actual_name, strlen (actual_name), add_psymbol_to_list (actual_name, strlen (actual_name),
VAR_DOMAIN, LOC_CONST, VAR_DOMAIN, LOC_CONST,
cu->language == language_cplus cu->language == language_cplus
? &objfile->static_psymbols ? &objfile->global_psymbols
: &objfile->global_psymbols, : &objfile->static_psymbols,
0, (CORE_ADDR) 0, cu->language, objfile); 0, (CORE_ADDR) 0, cu->language, objfile);
break; break;
default: default: