aboutsummaryrefslogtreecommitdiff
path: root/gdb/psymtab.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2010-03-10 18:27:00 +0000
committerTom Tromey <tromey@redhat.com>2010-03-10 18:27:00 +0000
commite38df1d074456c912b31d672bde73afcea5b5c92 (patch)
tree0caa4647ecc72597b0cb74e51b73221ae875f541 /gdb/psymtab.c
parentccefe4c44c4b2d1bc88757fba90ff59eb017a074 (diff)
downloadgdb-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/psymtab.c')
-rw-r--r--gdb/psymtab.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/gdb/psymtab.c b/gdb/psymtab.c
index 35f410b..4def4a7 100644
--- a/gdb/psymtab.c
+++ b/gdb/psymtab.c
@@ -1420,17 +1420,6 @@ allocate_psymtab (const char *filename, struct objfile *objfile)
psymtab->objfile = objfile;
psymtab->next = objfile->psymtabs;
objfile->psymtabs = psymtab;
-#if 0
- {
- struct partial_symtab **prev_pst;
- psymtab->objfile = objfile;
- psymtab->next = NULL;
- prev_pst = &(objfile->psymtabs);
- while ((*prev_pst) != NULL)
- prev_pst = &((*prev_pst)->next);
- (*prev_pst) = psymtab;
- }
-#endif
return (psymtab);
}