From: Jim Kingdon Date: Wed, 30 Mar 1994 22:38:58 +0000 (+0000) Subject: * xcoffread.c (xcoff_next_symbol_text): New function. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=afbdbbd78e334d2e24eb0d35b292bdf56de5589a;p=binutils-gdb.git * xcoffread.c (xcoff_next_symbol_text): New function. (read_xcoff_symtab): Set next_symbol_text_func to it. Move raw_symbol outside of read_xcoff_symtab. --- diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c index e4dd816d3ed..314982f7be7 100644 --- a/gdb/xcoffread.c +++ b/gdb/xcoffread.c @@ -985,10 +985,10 @@ xcoff_next_symbol_text () {"Unexpected symbol continuation", 0, 0}; bfd_coff_swap_sym_in (current_objfile->obfd, raw_symbol, &symbol); - if (symbol->n_zeroes) + if (symbol.n_zeroes) complain (&msg); - else if (symbol->n_sclass & 0x80) - return debugsec + symbol->n_offset; + else if (symbol.n_sclass & 0x80) + return debugsec + symbol.n_offset; else complain (&msg); raw_symbol += coff_data (current_objfile->obfd)->local_symesz;