diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-01-11 16:52:16 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-01-11 16:52:16 +0000 |
commit | 5bf00f29a7836dcffc1368181b66ee8f3b703861 (patch) | |
tree | 9ae5ae3e2b0a992d7a316b8fdd6d814833a3998b /gdb/frame.c | |
parent | b3497996f506f855b11074310e07ad7f7651dc3c (diff) | |
download | gdb-5bf00f29a7836dcffc1368181b66ee8f3b703861.zip gdb-5bf00f29a7836dcffc1368181b66ee8f3b703861.tar.gz gdb-5bf00f29a7836dcffc1368181b66ee8f3b703861.tar.bz2 |
* frame.c: Update copyright year.
(get_prev_frame): Improve comment.
Diffstat (limited to 'gdb/frame.c')
-rw-r--r-- | gdb/frame.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gdb/frame.c b/gdb/frame.c index b8a7b25..a7da919 100644 --- a/gdb/frame.c +++ b/gdb/frame.c @@ -1,7 +1,7 @@ /* Cache and manage frames for GDB, the GNU debugger. Copyright 1986, 1987, 1989, 1991, 1994, 1995, 1996, 1998, 2000, - 2001, 2002, 2003 Free Software Foundation, Inc. + 2001, 2002, 2003, 2004 Free Software Foundation, Inc. This file is part of GDB. @@ -1726,7 +1726,12 @@ legacy_get_prev_frame (struct frame_info *this_frame) /* Return a structure containing various interesting information about the frame that called THIS_FRAME. Returns NULL - if there is no such frame. */ + if there is no such frame. + + This function tests some target-independent conditions that should + terminate the frame chain, such as unwinding past main(). It + should not contain any target-dependent tests, such as checking + whether the program-counter is zero. */ struct frame_info * get_prev_frame (struct frame_info *this_frame) |