This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[rfa/doco] FRAME_FP -> read_fp
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Tue, 19 Nov 2002 15:00:36 -0500
- Subject: [rfa/doco] FRAME_FP -> read_fp
Hello,
This patch updates the doco so that it better reflects GDB's current
implementation of create_new_frame().
ok?
Andrew
2002-11-19 Andrew Cagney <ac131313@redhat.com>
* gdbint.texinfo (Algorithms): Replace FRAME_FP with read_fp.
Index: gdbint.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdbint.texinfo,v
retrieving revision 1.107
diff -u -r1.107 gdbint.texinfo
--- gdbint.texinfo 26 Oct 2002 17:19:28 -0000 1.107
+++ gdbint.texinfo 19 Nov 2002 19:58:05 -0000
@@ -234,13 +234,13 @@
and called functions.
@findex create_new_frame
-@vindex FRAME_FP
-@code{FRAME_FP} in the machine description has no meaning to the
+@vindex read_fp
+@code{read_fp} in the machine description has no meaning to the
machine-independent part of @value{GDBN}, except that it is used when
setting up a new frame from scratch, as follows:
@smallexample
-create_new_frame (read_register (FP_REGNUM), read_pc ()));
+create_new_frame (read_fp (), read_pc ()));
@end smallexample
@cindex frame pointer register