aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1992-04-04 01:43:01 +0000
committerStu Grossman <grossman@cygnus>1992-04-04 01:43:01 +0000
commitb2de19e3c671f63d86cebe2ec18584e2518db071 (patch)
tree4b499abc613c8a9b0111bb9d82d6649e57954c7f /gdb
parent556f3d9029f10733007a87814d7a46ea0c480be2 (diff)
downloadgdb-b2de19e3c671f63d86cebe2ec18584e2518db071.zip
gdb-b2de19e3c671f63d86cebe2ec18584e2518db071.tar.gz
gdb-b2de19e3c671f63d86cebe2ec18584e2518db071.tar.bz2
* buildsym.h, dbxread.c, mipsread.c: Add objfile arg to
process_one_symbol.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/buildsym.h3
-rw-r--r--gdb/mipsread.c3
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. */