This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]