lookup_partial_symbol PARAMS ((struct partial_symtab *, const char *,
int, namespace_enum));
+static struct partial_symbol *
+fixup_psymbol_section PARAMS ((struct partial_symbol *, struct objfile *));
+
static struct symtab *
lookup_symtab_1 PARAMS ((char *));
\f
-struct partial_symbol * fixup_psymbol_section PARAMS ((struct partial_symbol *,
- struct objfile *));
-
-
/* Find which partial symtab on contains PC and SECTION. Return 0 if none. */
struct partial_symtab *
return sym;
}
-struct partial_symbol *
+static struct partial_symbol *
fixup_psymbol_section (psym, objfile)
struct partial_symbol *psym;
struct objfile *objfile;
s = find_pc_sect_symtab (pc, section);
if (!s)
{
+ /* if no symbol information, return previous pc */
+ if (notcurrent)
+ pc++;
val.pc = pc;
return val;
}