* symtab.c (find_pc_sect_psymtab): Use MSYMBOL_TYPE.
(find_pc_sect_symtab): Likewise. * symmisc.c (dump_msymbols): Use MSYMBOL_TYPE. * solib-som.c (som_solib_desire_dynamic_linker_symbols): Use MSYMBOL_TYPE, not SYMBOL_TYPE. * parse.c (write_exp_msymbol): Use MSYMBOL_TYPE. * objc-lang.c (find_methods): Use MSYMBOL_TYPE. * minsyms.c (lookup_minimal_symbol_by_pc_section_1): Use MSYMBOL_TYPE. * m2-exp.y (yylex): Use SYMBOL_CLASS.
This commit is contained in:
parent
87f67dbac2
commit
712f90be02
8 changed files with 31 additions and 17 deletions
|
@ -1154,7 +1154,8 @@ find_methods (struct symtab *symtab, char type,
|
|||
{
|
||||
QUIT;
|
||||
|
||||
if ((msymbol->type != mst_text) && (msymbol->type != mst_file_text))
|
||||
if ((MSYMBOL_TYPE (msymbol) != mst_text)
|
||||
&& (MSYMBOL_TYPE (msymbol) != mst_file_text))
|
||||
/* Not a function or method. */
|
||||
continue;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue