* blockframe.c (inside_main_func): Fix a typo in previous change.
This commit is contained in:
parent
8e11ad0acd
commit
56c423fec5
2 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
|||
Mon Aug 14 13:43:01 1995 Kung Hsu <kung@mexican.cygnus.com>
|
||||
|
||||
* blockframe.c (inside_main_func): Fix a typo in previous change.
|
||||
|
||||
* config/sparc/tm-sparclite.h: Define FRAME_CHAIN_VALID_ALTERNATE.
|
||||
* blockframe.c (inside_main_func): If main func addr range not set,
|
||||
try to set it now.
|
||||
|
|
|
@ -75,7 +75,7 @@ struct symbol *mainsym;
|
|||
return 0;
|
||||
|
||||
if (symfile_objfile -> ei.main_func_lowpc == 0 &&
|
||||
symfile_objfile -> ei.main_func_highpc > pc == 0)
|
||||
symfile_objfile -> ei.main_func_highpc == 0)
|
||||
{
|
||||
mainsym = lookup_symbol ("main", NULL, VAR_NAMESPACE, NULL, NULL);
|
||||
if (mainsym && SYMBOL_CLASS(mainsym) == LOC_BLOCK)
|
||||
|
|
Loading…
Reference in a new issue