aboutsummaryrefslogtreecommitdiff
path: root/gdb/blockframe.c
diff options
context:
space:
mode:
authorKung Hsu <kung@cygnus>1995-08-14 21:42:17 +0000
committerKung Hsu <kung@cygnus>1995-08-14 21:42:17 +0000
commit56c423fec54c1cbc282d958155cd667ac6cc2ba9 (patch)
treecd0d0827eedd1c9596c3d5f990fd8ea7b6646785 /gdb/blockframe.c
parent8e11ad0acda1ef8d35a922c58c9d50bf86ddebfe (diff)
downloadgdb-56c423fec54c1cbc282d958155cd667ac6cc2ba9.zip
gdb-56c423fec54c1cbc282d958155cd667ac6cc2ba9.tar.gz
gdb-56c423fec54c1cbc282d958155cd667ac6cc2ba9.tar.bz2
* blockframe.c (inside_main_func): Fix a typo in previous change.
Diffstat (limited to 'gdb/blockframe.c')
-rw-r--r--gdb/blockframe.c2
1 files changed, 1 insertions, 1 deletions
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)