diff options
author | Kung Hsu <kung@cygnus> | 1995-08-14 21:42:17 +0000 |
---|---|---|
committer | Kung Hsu <kung@cygnus> | 1995-08-14 21:42:17 +0000 |
commit | 56c423fec54c1cbc282d958155cd667ac6cc2ba9 (patch) | |
tree | cd0d0827eedd1c9596c3d5f990fd8ea7b6646785 /gdb | |
parent | 8e11ad0acda1ef8d35a922c58c9d50bf86ddebfe (diff) | |
download | gdb-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')
-rw-r--r-- | gdb/ChangeLog | 2 | ||||
-rw-r--r-- | gdb/blockframe.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 93bbb67..18dec3b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. 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) |