From: Stu Grossman Date: Thu, 9 Jun 1994 15:32:46 +0000 (+0000) Subject: (nlm_symfile_read): Use SYMBOL_CLASS to access symbol class. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7314b3ee04b3def5a9da78bc243f260b05225584;p=binutils-gdb.git (nlm_symfile_read): Use SYMBOL_CLASS to access symbol class. --- diff --git a/gdb/nlmread.c b/gdb/nlmread.c index a5d6186722b..a12ca634175 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));