From: Kung Hsu Date: Mon, 14 Aug 1995 21:42:17 +0000 (+0000) Subject: * blockframe.c (inside_main_func): Fix a typo in previous change. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=56c423fec54c1cbc282d958155cd667ac6cc2ba9;p=binutils-gdb.git * blockframe.c (inside_main_func): Fix a typo in previous change. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 93bbb67c5e0..18dec3b6999 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,7 @@ Mon Aug 14 13:43:01 1995 Kung Hsu + * 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. diff --git a/gdb/blockframe.c b/gdb/blockframe.c index bef1d9b78bc..a55e85a9f8d 100644 --- a/gdb/blockframe.c +++ b/gdb/blockframe.c @@ -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)