aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2002-08-15 23:06:54 +0000
committerMark Kettenis <kettenis@gnu.org>2002-08-15 23:06:54 +0000
commit7d8d29181592c1a8eb76fd1a4c7dc155c30adafe (patch)
tree04a073f267729bceafdb7b836a5656fad5905428
parent1c7cc583121c02618f9abeb06655fa84ada1f55f (diff)
downloadgdb-7d8d29181592c1a8eb76fd1a4c7dc155c30adafe.zip
gdb-7d8d29181592c1a8eb76fd1a4c7dc155c30adafe.tar.gz
gdb-7d8d29181592c1a8eb76fd1a4c7dc155c30adafe.tar.bz2
* i387-tdep.c (i387_print_float_info): Add comment about ignoring
FRAME.
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/i387-tdep.c5
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 9f15409..154be73 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,8 @@
2002-08-16 Mark Kettenis <kettenis@gnu.org>
+ * i387-tdep.c (i387_print_float_info): Add comment about ignoring
+ FRAME.
+
* NEWS: Mention that the i[3456]-*-aix target has been made obsolete.
* configure.host: Make i[3456]86-*-aix host obsolete.
* configure.tgt: Make i[3456]86-*-aix target obsolete.
diff --git a/gdb/i387-tdep.c b/gdb/i387-tdep.c
index 6ace98b..4a39eec 100644
--- a/gdb/i387-tdep.c
+++ b/gdb/i387-tdep.c
@@ -312,7 +312,10 @@ print_i387_control_word (unsigned int control, struct ui_file *file)
}
}
-/* 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)