From 56c423fec54c1cbc282d958155cd667ac6cc2ba9 Mon Sep 17 00:00:00 2001 From: Kung Hsu Date: Mon, 14 Aug 1995 21:42:17 +0000 Subject: * blockframe.c (inside_main_func): Fix a typo in previous change. --- gdb/blockframe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/blockframe.c') diff --git a/gdb/blockframe.c b/gdb/blockframe.c index bef1d9b..a55e85a 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) -- cgit v1.1