diff options
author | Stu Grossman <grossman@cygnus> | 1994-06-09 15:32:46 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1994-06-09 15:32:46 +0000 |
commit | 7314b3ee04b3def5a9da78bc243f260b05225584 (patch) | |
tree | ae658e6fb8cef1bab4ed0c3cfab0526f172d6d10 /gdb/nlmread.c | |
parent | 64bb143c6b37bd128f2dd1fae06c0c9a6496b667 (diff) | |
download | gdb-7314b3ee04b3def5a9da78bc243f260b05225584.zip gdb-7314b3ee04b3def5a9da78bc243f260b05225584.tar.gz gdb-7314b3ee04b3def5a9da78bc243f260b05225584.tar.bz2 |
(nlm_symfile_read): Use SYMBOL_CLASS to access symbol class.
Diffstat (limited to 'gdb/nlmread.c')
-rw-r--r-- | gdb/nlmread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/nlmread.c b/gdb/nlmread.c index a5d6186..a12ca63 100644 --- a/gdb/nlmread.c +++ b/gdb/nlmread.c @@ -227,7 +227,7 @@ nlm_symfile_read (objfile, section_offsets, mainline) mainsym = lookup_symbol ("main", NULL, VAR_NAMESPACE, NULL, NULL); if (mainsym - && mainsym->class == LOC_BLOCK) + && SYMBOL_CLASS(mainsym) == LOC_BLOCK) { objfile->ei.main_func_lowpc = BLOCK_START (SYMBOL_BLOCK_VALUE (mainsym)); objfile->ei.main_func_highpc = BLOCK_END (SYMBOL_BLOCK_VALUE (mainsym)); |