aboutsummaryrefslogtreecommitdiff
path: root/gdb/minsyms.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2008-10-01 16:56:52 +0000
committerTom Tromey <tromey@redhat.com>2008-10-01 16:56:52 +0000
commit712f90be028d481f1d2151824f2b4e3f75263c00 (patch)
treebc570a9ee15b282467932a3133b69a61eae40149 /gdb/minsyms.c
parent87f67dbac2c40477b490e0eb1c5fa6f275d60bba (diff)
downloadgdb-712f90be028d481f1d2151824f2b4e3f75263c00.zip
gdb-712f90be028d481f1d2151824f2b4e3f75263c00.tar.gz
gdb-712f90be028d481f1d2151824f2b4e3f75263c00.tar.bz2
* 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.
Diffstat (limited to 'gdb/minsyms.c')
-rw-r--r--gdb/minsyms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/minsyms.c b/gdb/minsyms.c
index 71d56cb..f020cb5 100644
--- a/gdb/minsyms.c
+++ b/gdb/minsyms.c
@@ -531,7 +531,7 @@ lookup_minimal_symbol_by_pc_section_1 (CORE_ADDR pc,
triggered by a special mst_abs_or_lib or some
such. */
- if (msymbol[hi].type == mst_abs)
+ if (MSYMBOL_TYPE (&msymbol[hi]) == mst_abs)
{
hi--;
continue;