diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-03-30 22:38:58 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-03-30 22:38:58 +0000 |
commit | afbdbbd78e334d2e24eb0d35b292bdf56de5589a (patch) | |
tree | 602062c5bd8e226d786fe1e7efb5d6a0041888e7 /gdb | |
parent | 326e32d7ce8a83f59192657c48c9b9980466b939 (diff) | |
download | gdb-afbdbbd78e334d2e24eb0d35b292bdf56de5589a.zip gdb-afbdbbd78e334d2e24eb0d35b292bdf56de5589a.tar.gz gdb-afbdbbd78e334d2e24eb0d35b292bdf56de5589a.tar.bz2 |
* 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.
Diffstat (limited to 'gdb')
-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; |