aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Schauer <Peter.Schauer@mytum.de>1996-03-19 20:50:13 +0000
committerPeter Schauer <Peter.Schauer@mytum.de>1996-03-19 20:50:13 +0000
commit677183693dd3fd755dfa0f2b46a6da1ef9549c1e (patch)
tree9490322d777571c6b261022df24d7e2ca49a5f63
parenta466b86aac9e055dbaf4b1e5087deb52265ff8d5 (diff)
downloadgdb-677183693dd3fd755dfa0f2b46a6da1ef9549c1e.zip
gdb-677183693dd3fd755dfa0f2b46a6da1ef9549c1e.tar.gz
gdb-677183693dd3fd755dfa0f2b46a6da1ef9549c1e.tar.bz2
* partial-stab.h (case N_ENDM): Finish current partial symbol
table for Solaris 2 cc.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/partial-stab.h20
2 files changed, 24 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 68e3973..dd56e54 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/partial-stab.h b/gdb/partial-stab.h
index 988ef0e..a91811d 100644
--- a/gdb/partial-stab.h
+++ b/gdb/partial-stab.h
@@ -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;