From b2de19e3c671f63d86cebe2ec18584e2518db071 Mon Sep 17 00:00:00 2001 From: Stu Grossman Date: Sat, 4 Apr 1992 01:43:01 +0000 Subject: [PATCH] * buildsym.h, dbxread.c, mipsread.c: Add objfile arg to process_one_symbol. --- gdb/ChangeLog | 5 +++++ gdb/buildsym.h | 3 ++- gdb/mipsread.c | 3 ++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 3de96f3d235..f925d49b0b3 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 19f3f55b4e0..721238417e6 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 a79006121dd..d9f1c316697 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. */ -- 2.30.2