aboutsummaryrefslogtreecommitdiff
path: root/gdb/psympriv.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/psympriv.h')
-rw-r--r--gdb/psympriv.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/gdb/psympriv.h b/gdb/psympriv.h
index 16b9b83..ec9aa4a 100644
--- a/gdb/psympriv.h
+++ b/gdb/psympriv.h
@@ -96,10 +96,6 @@ struct partial_symtab
const char *dirname;
- /* Information about the object file from which symbols should be read. */
-
- struct objfile *objfile;
-
/* Set of relocation offsets to apply to each section. */
struct section_offsets *section_offsets;
@@ -200,7 +196,7 @@ struct partial_symtab
/* Pointer to function which will read in the symtab corresponding to
this psymtab. */
- void (*read_symtab) (struct partial_symtab *);
+ void (*read_symtab) (struct objfile *, struct partial_symtab *);
/* Information that lets read_symtab() locate the part of the symbol table
that this psymtab corresponds to. This information is private to the
@@ -210,7 +206,7 @@ struct partial_symtab
void *read_symtab_private;
};
-extern void sort_pst_symbols (struct partial_symtab *);
+extern void sort_pst_symbols (struct objfile *, struct partial_symtab *);
/* Add any kind of symbol to a psymbol_allocation_list. */
@@ -232,7 +228,7 @@ extern struct partial_symtab *start_psymtab_common (struct objfile *,
extern struct partial_symtab *allocate_psymtab (const char *,
struct objfile *);
-extern void discard_psymtab (struct partial_symtab *);
+extern void discard_psymtab (struct objfile *, struct partial_symtab *);
/* Traverse all psymtabs in one objfile. */