summaryrefslogtreecommitdiff
path: root/gdb/blockframe.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-01-15 20:00:17 +0000
committerMark Kettenis <kettenis@gnu.org>2004-01-15 20:00:17 +0000
commitbf4869f564fde0da7c11847929a5f275c9bd80aa (patch)
tree751e08910849f9c2d57ea1c1672925b9ee840f90 /gdb/blockframe.c
parentf46726c45ddaf53f935e072595fff333cb8dae4b (diff)
downloadgdb-bf4869f564fde0da7c11847929a5f275c9bd80aa.tar.gz
* blockframe.c: Update copyright year.
(inside_entry_func): Don't treat a zero PC specially.
Diffstat (limited to 'gdb/blockframe.c')
-rw-r--r--gdb/blockframe.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/gdb/blockframe.c b/gdb/blockframe.c
index 83bc691cd51..4a7a380023f 100644
--- a/gdb/blockframe.c
+++ b/gdb/blockframe.c
@@ -2,8 +2,8 @@
functions and pc values.
Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
- 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software
- Foundation, Inc.
+ 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
+ Free Software Foundation, Inc.
This file is part of GDB.
@@ -157,15 +157,11 @@ inside_main_func (CORE_ADDR pc)
}
/* Test whether PC is inside the range of addresses that corresponds
- to the process entry point function.
-
- A PC of zero is always considered to be the bottom of the stack. */
+ to the process entry point function. */
int
inside_entry_func (CORE_ADDR pc)
{
- if (pc == 0)
- return 1;
if (symfile_objfile == 0)
return 0;