diff options
author | Tom Tromey <tromey@redhat.com> | 2010-03-10 18:27:00 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2010-03-10 18:27:00 +0000 |
commit | e38df1d074456c912b31d672bde73afcea5b5c92 (patch) | |
tree | 0caa4647ecc72597b0cb74e51b73221ae875f541 /gdb/dwarf2read.c | |
parent | ccefe4c44c4b2d1bc88757fba90ff59eb017a074 (diff) | |
download | gdb-e38df1d074456c912b31d672bde73afcea5b5c92.zip gdb-e38df1d074456c912b31d672bde73afcea5b5c92.tar.gz gdb-e38df1d074456c912b31d672bde73afcea5b5c92.tar.bz2 |
* xcoffread.c (xcoff_start_psymtab): Update.
(xcoff_end_psymtab): Update.
* psymtab.c (allocate_psymtab): Remove dead code.
* psympriv.h (struct partial_symtab) <read_symtab_private>: Now
void*.
* mdebugread.c (parse_partial_symbols): Update.
(new_psymtab): Likewise.
* dwarf2read.c (process_psymtab_comp_unit): Update.
(psymtab_to_symtab_1): Update.
* dbxread.c (start_psymtab): Update.
(end_psymtab): Likewise.
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 975ce75..11f1a91 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -1951,7 +1951,7 @@ process_psymtab_comp_unit (struct objfile *objfile, if (attr != NULL) pst->dirname = DW_STRING (attr); - pst->read_symtab_private = (char *) this_cu; + pst->read_symtab_private = this_cu; baseaddr = ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile)); @@ -3055,7 +3055,7 @@ psymtab_to_symtab_1 (struct partial_symtab *pst) psymtab_to_symtab_1 (pst->dependencies[i]); } - per_cu = (struct dwarf2_per_cu_data *) pst->read_symtab_private; + per_cu = pst->read_symtab_private; if (per_cu == NULL) { |