diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3de96f3d23..f925d49b0b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Fri Apr 3 17:41:29 1992 Stu Grossman (grossman at cygnus.com) + + * buildsym.h, dbxread.c, mipsread.c: Add objfile arg to + process_one_symbol. + Fri Apr 3 12:17:14 1992 Per Bothner (bothner@cygnus.com) * munch: Must pre-pend "_" to "initialize" for SYSV style nm. diff --git a/gdb/buildsym.h b/gdb/buildsym.h index 19f3f55b4e..721238417e 100644 --- a/gdb/buildsym.h +++ b/gdb/buildsym.h @@ -351,7 +351,8 @@ end_psymtab PARAMS ((struct partial_symtab *, char **, int, int, CORE_ADDR, struct partial_symtab **, int)); extern void -process_one_symbol PARAMS ((int, int, CORE_ADDR, char *, int)); +process_one_symbol PARAMS ((int, int, CORE_ADDR, char *, int, + struct objfile *)); extern int hashname PARAMS ((char *)); diff --git a/gdb/mipsread.c b/gdb/mipsread.c index a79006121d..d9f1c31669 100644 --- a/gdb/mipsread.c +++ b/gdb/mipsread.c @@ -2327,7 +2327,8 @@ psymtab_to_symtab_1(pst, filename) CORE_ADDR valu = sh->value; if (MIPS_IS_STAB(sh)) { int type_code = MIPS_UNMARK_STAB(sh->index); - process_one_symbol (type_code, 0, valu, name, /*FIXME*/ 0); + process_one_symbol (type_code, 0, valu, name, /*FIXME*/ 0, + pst->objfile); } else if (sh->st == stLabel && sh->index != indexNil) { /* Handle encoded stab line number. */