]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* partial-stab.h (case N_ENDM): Finish current partial symbol
authorPeter Schauer <Peter.Schauer@mytum.de>
Tue, 19 Mar 1996 20:50:13 +0000 (20:50 +0000)
committerPeter Schauer <Peter.Schauer@mytum.de>
Tue, 19 Mar 1996 20:50:13 +0000 (20:50 +0000)
table for Solaris 2 cc.

gdb/ChangeLog
gdb/partial-stab.h

index 68e3973a13971adc3a1a4e440fb4cf84369da381..dd56e546180030a936087b9d3fc53d71e7f83016 100644 (file)
@@ -1,3 +1,8 @@
+Tue Mar 19 12:47:51 1996  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * partial-stab.h (case N_ENDM):  Finish current partial symbol
+       table for Solaris 2 cc.
+
 Tue Mar 19 10:39:15 1996  Jeffrey A Law  (law@cygnus.com)
 
        * rs6000-nat.c (exec_one_dummy_insn): Don't clobber the
index 988ef0e08f0b88ad1f5cb81733ca00f69f964f0a..a91811d240763195128a147033cc8c858a56c0f2 100644 (file)
@@ -714,6 +714,25 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 #endif /* DBXREAD_ONLY */
          continue;
 
+       case N_ENDM:
+#ifdef SOFUN_ADDRESS_MAYBE_MISSING
+         /* Solaris 2 end of module, finish current partial symbol table.
+            END_PSYMTAB will set pst->texthigh to the proper value, which
+            is necessary if a module compiled without debugging info
+            follows this module.  */
+         if (pst)
+           {
+             END_PSYMTAB (pst, psymtab_include_list, includes_used,
+                          symnum * symbol_size,
+                          (CORE_ADDR) 0,
+                          dependency_list, dependencies_used);
+             pst = (struct partial_symtab *) 0;
+             includes_used = 0;
+             dependencies_used = 0;
+           }
+#endif
+         continue;
+
        case N_RBRAC:
 #ifdef HANDLE_RBRAC
          HANDLE_RBRAC(CUR_SYMBOL_VALUE);
@@ -742,7 +761,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
        case N_OBJ:             /* useless types from Solaris */
        case N_OPT:
-       case N_ENDM:
          /* These symbols aren't interesting; don't worry about them */
 
          continue;