diff options
author | Daniel Jacobowitz <drow@false.org> | 2004-02-21 02:13:35 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2004-02-21 02:13:35 +0000 |
commit | f6fe98efdcadbe85913d89d0d67f6f9d81becb50 (patch) | |
tree | 90bcff5fe586fdcb0b36fb92af5ee25ff4cef70c /gdb/dwarf2read.c | |
parent | b5e0fabd1f01350077bab42b9f6c5cd00a8144df (diff) | |
download | gdb-f6fe98efdcadbe85913d89d0d67f6f9d81becb50.zip gdb-f6fe98efdcadbe85913d89d0d67f6f9d81becb50.tar.gz gdb-f6fe98efdcadbe85913d89d0d67f6f9d81becb50.tar.bz2 |
* dwarf2read.c (add_partial_symbol): Fix typo in adding enumerators
to the partial symbol table.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r-- | gdb/dwarf2read.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index e09c3c1..46c3cf4 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: |