This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Add comment to i387_print_float_info
- From: Mark Kettenis <kettenis at chello dot nl>
- To: gdb-patches at sources dot redhat dot com
- Date: Fri, 16 Aug 2002 01:06:24 +0200 (CEST)
- Subject: [PATCH] Add comment to i387_print_float_info
As promised.
Checked in.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* i387-tdep.c (i387_print_float_info): Add comment about ignoring
FRAME.
Index: i387-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/i387-tdep.c,v
retrieving revision 1.19
diff -u -p -r1.19 i387-tdep.c
--- i387-tdep.c 15 Aug 2002 17:36:57 -0000 1.19
+++ i387-tdep.c 15 Aug 2002 23:05:32 -0000
@@ -312,7 +312,10 @@ print_i387_control_word (unsigned int co
}
}
-/* Print out the i387 floating poin state. */
+/* Print out the i387 floating poin state. Note that we ignore FRAME
+ in the code below. That's OK since floating-point registers are
+ never saved on the stack. */
+
void
i387_print_float_info (struct gdbarch *gdbarch, struct ui_file *file,
struct frame_info *frame)