diff options
author | Fred Fish <fnf@specifix.com> | 1992-06-15 19:25:13 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1992-06-15 19:25:13 +0000 |
commit | 4c07f28d773c899f7cc1270dd32c5a376b3771ee (patch) | |
tree | fe89b83cd8de97edbdd6bef22e07e02c6210a8a0 /gdb/dbxread.c | |
parent | 5bdf878ebf0f5da5f7e228b5943e8e709cc3341d (diff) | |
download | gdb-4c07f28d773c899f7cc1270dd32c5a376b3771ee.zip gdb-4c07f28d773c899f7cc1270dd32c5a376b3771ee.tar.gz gdb-4c07f28d773c899f7cc1270dd32c5a376b3771ee.tar.bz2 |
* Makefile.in (VERSION): Bump to 4.5.5.
* symtab.c (decode_line_1): Until C++ support stabilizes, when
C++ lookups fail, print possibly helpful hint about completion.
* cplus-dem.c (demangle_signature): Fix ARM style demangling
for static data members.
* dbxread.c (dbx_psymtab_to_symtab_1): Fix prototype.
* config/ncr3000.mh (INSTALL): Don't use /usr/ucb/install,
it's broken on ncr3000's.
Diffstat (limited to 'gdb/dbxread.c')
-rw-r--r-- | gdb/dbxread.c | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/gdb/dbxread.c b/gdb/dbxread.c index 647a96f..7cbdbe1 100644 --- a/gdb/dbxread.c +++ b/gdb/dbxread.c @@ -227,7 +227,7 @@ static void dbx_psymtab_to_symtab PARAMS ((struct partial_symtab *)); static void -psymtab_to_symtab_1 PARAMS ((struct partial_symtab *, int)); +dbx_psymtab_to_symtab_1 PARAMS ((struct partial_symtab *)); static void read_dbx_symtab PARAMS ((CORE_ADDR, struct objfile *, CORE_ADDR, int)); @@ -1144,9 +1144,8 @@ end_psymtab (pst, include_list, num_includes, capping_symbol_offset, } static void -psymtab_to_symtab_1 (pst, sym_offset) +dbx_psymtab_to_symtab_1 (pst) struct partial_symtab *pst; - int sym_offset; { struct cleanup *old_chain; int i; @@ -1176,7 +1175,7 @@ psymtab_to_symtab_1 (pst, sym_offset) wrap_here (""); /* Flush output */ fflush (stdout); } - psymtab_to_symtab_1 (pst->dependencies[i], sym_offset); + dbx_psymtab_to_symtab_1 (pst->dependencies[i]); } if (LDSYMLEN(pst)) /* Otherwise it's a dummy */ @@ -1184,10 +1183,11 @@ psymtab_to_symtab_1 (pst, sym_offset) /* Init stuff necessary for reading in symbols */ buildsym_init (); old_chain = make_cleanup (really_free_pendings, 0); - - /* Read in this files symbols */ - bfd_seek (pst->objfile->obfd, sym_offset, L_SET); file_string_table_offset = FILE_STRING_OFFSET (pst); + symbol_size = SYMBOL_SIZE (pst); + + /* Read in this file's symbols */ + bfd_seek (pst->objfile->obfd, SYMBOL_OFFSET (pst), L_SET); pst->symtab = read_ofile_symtab (pst->objfile, LDSYMOFF(pst), LDSYMLEN(pst), pst->textlow, pst->texthigh - pst->textlow, @@ -1231,11 +1231,9 @@ dbx_psymtab_to_symtab (pst) sym_bfd = pst->objfile->obfd; - symbol_size = SYMBOL_SIZE(pst); - next_symbol_text_func = dbx_next_symbol_text; - psymtab_to_symtab_1 (pst, SYMBOL_OFFSET (pst)); + dbx_psymtab_to_symtab_1 (pst); /* Match with global symbols. This only needs to be done once, after all of the symtabs and dependencies have been read in. */ |