From: kettenis Date: Sun, 11 Jan 2004 16:52:15 +0000 (+0000) Subject: * frame.c: Update copyright year. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=34eabc92fc55401f6ce5ce66c8a1ebe441d77219;p=pf3gnuchains%2Fsourceware.git * frame.c: Update copyright year. (get_prev_frame): Improve comment. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8d1c62c051..3391836abe 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ 2004-01-11 Mark Kettenis + * frame.c: Update copyright year. + (get_prev_frame): Improve comment. + * sparc64fbsd-tdep.c: Include "regset.h". (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg): Remove variables. diff --git a/gdb/frame.c b/gdb/frame.c index b8a7b25618..a7da9196b0 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)