aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/psymtab.c')
-rw-r--r--gdb/psymtab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/psymtab.c b/gdb/psymtab.c
index 24aef99b1b7..08eff0711cd 100644
--- a/gdb/psymtab.c
+++ b/gdb/psymtab.c
@@ -786,7 +786,7 @@ psymtab_to_symtab (struct objfile *objfile, struct partial_symtab *pst)
{
struct cleanup *back_to = increment_reading_symtab ();
- (*pst->read_symtab) (objfile, pst);
+ (*pst->read_symtab) (pst, objfile);
do_cleanups (back_to);
}