summaryrefslogtreecommitdiff
path: root/gdb/psymtab.c
diff options
context:
space:
mode:
authorqiyao <qiyao>2013-01-18 03:09:41 +0000
committerqiyao <qiyao>2013-01-18 03:09:41 +0000
commit22a80df243cb5bc2adbb349f8af726ad52f3ab4f (patch)
tree4a28ee0b7e8fd6e654dff18ae192f04282036863 /gdb/psymtab.c
parent83949731130332c2ca6be12d49fd2848f07c6564 (diff)
downloadgdb-22a80df243cb5bc2adbb349f8af726ad52f3ab4f.tar.gz
gdb/
* dbxread.c (dbx_psymtab_to_symtab): Delete the declaration. (dbx_read_symtab): New declaration. (dbx_psymtab_to_symtab): Delete. (dbx_read_symtab): Rename from dbx_psymtab_to_symtab. Rename parameter PST to SELF. Exchanged two parameters. (start_psymtab): Caller update. * dwarf2read.c (dwarf2_psymtab_to_symtab): Delete the declaration. (dwarf2_read_symtab): New declaration. (dwarf2_psymtab_to_symtab): Delete. (dwarf2_read_symtab): Rename from dwarf2_psymtab_to_symtab. Rename parameter PST to SELF. Exchanged two parameters. (create_partial_symtab): Caller update. * mdebugread.c (mdebug_psymtab_to_symtab): Delete. (mdebug_read_symtab): Rename from mdebug_psymtab_to_symtab. Rename parameter PST to SELF. Exchanged two parameters. (parse_partial_symbols, new_psymtab): Caller update. * psympriv.h (struct partial_symtab) <read_symtab>: Exchange two parameters. * psymtab.c (psymtab_to_symtab): Caller update. * xcoffread.c (xcoff_psymtab_to_symtab): Delete. (xcoff_read_symtab): Rename from xcoff_psymtab_to_symtab. Rename parameter PST to SELF. Exchanged two parameters. (xcoff_start_psymtab): Caller update.
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);
}