From afbdbbd78e334d2e24eb0d35b292bdf56de5589a Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Wed, 30 Mar 1994 22:38:58 +0000 Subject: [PATCH] * 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. --- gdb/xcoffread.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.30.2