diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/buildsym.h | 3 | ||||
-rw-r--r-- | gdb/mipsread.c | 3 |
3 files changed, 9 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3de96f3..f925d49 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 19f3f55..7212384 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 a790061..d9f1c31 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. */ |