diff options
author | Mark Kettenis <kettenis@gnu.org> | 2001-03-09 16:14:55 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2001-03-09 16:14:55 +0000 |
commit | 96836138dc1fb87c0ad3a8b3e54467458c5476a6 (patch) | |
tree | e839b4c3e4d1d534bded7c8bc4593b85adf204af /gdb/i387-tdep.c | |
parent | 1b59432770021935a1b9095a851fe33e2b1d1228 (diff) | |
download | gdb-96836138dc1fb87c0ad3a8b3e54467458c5476a6.zip gdb-96836138dc1fb87c0ad3a8b3e54467458c5476a6.tar.gz gdb-96836138dc1fb87c0ad3a8b3e54467458c5476a6.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/i387-tdep.c')
-rw-r--r-- | gdb/i387-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/i387-tdep.c b/gdb/i387-tdep.c index b7a9554..e221b0c 100644 --- a/gdb/i387-tdep.c +++ b/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" : " "); |