aboutsummaryrefslogtreecommitdiff
path: root/gdb/i387-tdep.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-06-21 23:46:49 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-06-21 23:46:49 +0000
commit2c7ab4ca35418cfcecce16d8311bb16599b085cd (patch)
treec8501b2f677c7640c90b4539edf1280bd21011b2 /gdb/i387-tdep.c
parent2b63dbfefd03e2c69b3592f807fa5793b1243a7f (diff)
downloadgdb-2c7ab4ca35418cfcecce16d8311bb16599b085cd.zip
gdb-2c7ab4ca35418cfcecce16d8311bb16599b085cd.tar.gz
gdb-2c7ab4ca35418cfcecce16d8311bb16599b085cd.tar.bz2
* config/i386/*aix*, i386aix-nat.c: New files.
* configure.in: Use them. * alldeps.mak: List them. * coffread.c (decode_base_type): Deal with anonymous enum type. * i387-tdep.c (print_387_status_word): Add comment re "top". * i386-tdep.c [I386_AIX_TARGET] (i386_extract_return_value): New func. * dbxread.c: Use SEEK_SET and SEEK_CUR, not L_*. Define them if and only if not defined by a header file. * mipsread.c: Don't define L_SET or L_INCR.
Diffstat (limited to 'gdb/i387-tdep.c')
-rw-r--r--gdb/i387-tdep.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/i387-tdep.c b/gdb/i387-tdep.c
index b0f0088..5600507 100644
--- a/gdb/i387-tdep.c
+++ b/gdb/i387-tdep.c
@@ -107,6 +107,9 @@ print_387_status_word (status)
(status & 0x0400) != 0,
(status & 0x0200) != 0,
(status & 0x0100) != 0);
-
+
+ /* FIXME: Someone claims this should be 7 - (status >> 11) & 7 for AIX.
+ What's the story? Is the following just wrong or are differing
+ notations in use? */
printf ("top %d\n", (status >> 11) & 7);
}