Browse Source

* i387-tdep.c (print_i387_status_word): Fix printing of Stack

fault flag.  It is bit 6 of the x87 FPU status word, not bit 7.
dberlin-typesystem-branch
Mark Kettenis 26 years ago
parent
commit
96836138dc
  1. 5
      gdb/ChangeLog
  2. 2
      gdb/i387-tdep.c

5
gdb/ChangeLog

@ -1,3 +1,8 @@
2001-03-09 Mark Kettenis <kettenis@gnu.org>
* i387-tdep.c (print_i387_status_word): Fix printing of Stack
fault flag. It is bit 6 of the x87 FPU status word, not bit 7.
2001-03-08 Andrew Cagney <ac131313@redhat.com>
* configure.host (m88*-harris-cxux*): Mark as obsolete.

2
gdb/i387-tdep.c

@ -255,7 +255,7 @@ print_i387_status_word (unsigned int status)
puts_filtered (" ");
printf_filtered (" %s", (status & 0x0080) ? "ES" : " ");
puts_filtered (" ");
printf_filtered (" %s", (status & 0x0080) ? "SF" : " ");
printf_filtered (" %s", (status & 0x0040) ? "SF" : " ");
puts_filtered (" ");
printf_filtered (" %s", (status & 0x0100) ? "C0" : " ");
printf_filtered (" %s", (status & 0x0200) ? "C1" : " ");

Loading…
Cancel
Save