* buildsym.h, dbxread.c, mipsread.c: Add objfile arg to
authorStu Grossman <grossman@cygnus>
Sat, 4 Apr 1992 01:43:01 +0000 (01:43 +0000)
committerStu Grossman <grossman@cygnus>
Sat, 4 Apr 1992 01:43:01 +0000 (01:43 +0000)
process_one_symbol.

gdb/ChangeLog
gdb/buildsym.h
gdb/mipsread.c

index 3de96f3d235e643baebde3bf7be76ee7cf6005e8..f925d49b0b36177fe035b93dfd52dfe3d39653cd 100644 (file)
@@ -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.
index 19f3f55b4e00bb4c92c8342905ea560144abf82d..721238417e6db75fe046d9224d5a7b12f80ff2bb 100644 (file)
@@ -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 *));
index a79006121ddb0a0410f10091760c3cfe3f386002..d9f1c316697ab6c3e0dd648a0a8da8f99d40277d 100644 (file)
@@ -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. */