diff options
author | Peter Schauer <Peter.Schauer@mytum.de> | 1996-03-19 20:50:13 +0000 |
---|---|---|
committer | Peter Schauer <Peter.Schauer@mytum.de> | 1996-03-19 20:50:13 +0000 |
commit | 677183693dd3fd755dfa0f2b46a6da1ef9549c1e (patch) | |
tree | 9490322d777571c6b261022df24d7e2ca49a5f63 /gdb/partial-stab.h | |
parent | a466b86aac9e055dbaf4b1e5087deb52265ff8d5 (diff) | |
download | gdb-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.
Diffstat (limited to 'gdb/partial-stab.h')
-rw-r--r-- | gdb/partial-stab.h | 20 |
1 files changed, 19 insertions, 1 deletions
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; |