* nindy-tdep.c (nindy_frame_chain_valid): Use lookup_misc_func.

(Reported by Mark Peek <mark@imagen.com>.)
This commit is contained in:
John Gilmore 1991-09-28 02:20:09 +00:00
parent d8ce13268e
commit a65bb55d7a
1 changed files with 3 additions and 5 deletions

View File

@ -65,11 +65,9 @@ nindy_frame_chain_valid (chain, curframe)
if ( sym != 0 ){
a = sym->value.value;
} else {
for ( i = 0; strcmp(misc_function_vector[i].name,sf); i++ ){
if ( i >= misc_function_count ){
i = lookup_misc_func (sf);
if (i < 0)
return 0;
}
}
a = misc_function_vector[i].address;
}