diff options
-rw-r--r-- | gdb/xcoffread.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c index e4dd816..314982f 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; |