aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
commit26b0da329fcf5e3fdb36722c670d2a23c91975f4 (patch)
tree41077bacffc5eb5aa3f3541c881113c315e8e8fa /gdb
parent091c48f61aca2db9a3f96346e3d90eb282cd6a7c (diff)
downloadgdb-26b0da329fcf5e3fdb36722c670d2a23c91975f4.zip
gdb-26b0da329fcf5e3fdb36722c670d2a23c91975f4.tar.gz
gdb-26b0da329fcf5e3fdb36722c670d2a23c91975f4.tar.bz2
* blockframe.c: Update copyright year.
(inside_entry_func): Don't treat a zero PC specially.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/blockframe.c10
2 files changed, 8 insertions, 7 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 72036ef..d158b11 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2004-01-15 Mark Kettenis <kettenis@gnu.org>
+
+ * blockframe.c: Update copyright year.
+ (inside_entry_func): Don't treat a zero PC specially.
+
2004-01-14 Elena Zannoni <ezannoni@redhat.com>
* gcore.c (gcore_copy_callback): Use paddr_d to print size
diff --git a/gdb/blockframe.c b/gdb/blockframe.c
index 83bc691..4a7a380 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;