diff options
author | Dawn Perchik <dawn@cygnus> | 1996-11-11 21:02:55 +0000 |
---|---|---|
committer | Dawn Perchik <dawn@cygnus> | 1996-11-11 21:02:55 +0000 |
commit | 28444bf3a1e0d6422cb9236baacb6cac11f384de (patch) | |
tree | 22cf8c1c95890224f092567bc591d40f55b7debb /gdb/values.c | |
parent | 77814fa88214b4a2b27284bb66aeb67689e23187 (diff) | |
download | gdb-28444bf3a1e0d6422cb9236baacb6cac11f384de.zip gdb-28444bf3a1e0d6422cb9236baacb6cac11f384de.tar.gz gdb-28444bf3a1e0d6422cb9236baacb6cac11f384de.tar.bz2 |
* mips-tdep.c, remote-mips.c, values.c, mdebugread.c,
config/mips/tm-mips.h: Add/fix bugs for 64-bit mips support.
* defs.h: Cleanup; add prototypess
* corefile.c: Change FIXME #ifdef
* win32-nat.c: Include windefs instead of windows.h.
* utils.c: Add routines for printing addresses and registers
based on type size.
Diffstat (limited to 'gdb/values.c')
-rw-r--r-- | gdb/values.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/values.c b/gdb/values.c index 954f620..0c3a6b9 100644 --- a/gdb/values.c +++ b/gdb/values.c @@ -675,7 +675,16 @@ unpack_double (type, valaddr, invp) else if (nosign) { /* Unsigned -- be sure we compensate for signed LONGEST. */ +#ifndef _MSC_VER return (unsigned LONGEST) unpack_long (type, valaddr); +#else +#if (_MSC_VER > 800) + return (unsigned LONGEST) unpack_long (type, valaddr); +#else + /* FIXME!!! msvc22 doesn't support unsigned __int64 -> double */ + return (LONGEST) unpack_long (type, valaddr); +#endif +#endif /* _MSC_VER */ } else { |