diff options
author | Mark Alexander <marka@cygnus> | 1996-12-19 17:45:57 +0000 |
---|---|---|
committer | Mark Alexander <marka@cygnus> | 1996-12-19 17:45:57 +0000 |
commit | 214e969267acd11ce81584187f66b1139b4d81cd (patch) | |
tree | 178bb154f6eca3e65a103a2529144677edd62c89 /gdb | |
parent | 9c199842e54a91b59b2d319c1d53dc94464fa9f7 (diff) | |
download | gdb-214e969267acd11ce81584187f66b1139b4d81cd.zip gdb-214e969267acd11ce81584187f66b1139b4d81cd.tar.gz gdb-214e969267acd11ce81584187f66b1139b4d81cd.tar.bz2 |
* values.c (unpack_double): Make it compile with MSVC++ 2.x.
* remote-mips.c (S_IROTH): Define if not defined by stat.h, e.g.
when using MSVC++.
(common_open): Fix help string.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 7 | ||||
-rw-r--r-- | gdb/remote-mips.c | 9 | ||||
-rw-r--r-- | gdb/values.c | 2 |
3 files changed, 15 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 170faa6..6b67e78 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +Thu Dec 19 09:38:56 1996 Mark Alexander <marka@cygnus.com> + + * values.c (unpack_double): Make it compile with MSVC++ 2.x. + * remote-mips.c (S_IROTH): Define if not defined by stat.h, e.g. + when using MSVC++. + (common_open): Fix help string. + Sat Dec 14 20:50:01 1996 Mark Alexander <marka@cygnus.com> * mips-tdep.c (mips_push_arguments): Handle floating point args. diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c index ea92173..11d0e2b 100644 --- a/gdb/remote-mips.c +++ b/gdb/remote-mips.c @@ -40,6 +40,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include <varargs.h> #endif +/* Microsoft C's stat.h doesn't define all the POSIX file modes. */ +#ifndef S_IROTH +#define S_IROTH S_IREAD +#endif + extern void mips_set_processor_type_command PARAMS ((char *, int)); @@ -1457,8 +1462,8 @@ device is attached to the target board (e.g., /dev/ttya).\n" "temporary file to be used by GDB for downloads as the second argument.\n" "This filename must be in the form host:filename, where host is the name\n" "of the host running the TFTP server, and the file must be readable by the\n" -"world. If the local name of the temporary file differs from the name as\n", -"seen from the board via TFTP, specify that name as the third parameter\n"); +"world. If the local name of the temporary file differs from the name as\n" +"seen from the board via TFTP, specify that name as the third parameter.\n"); /* Parse the serial port name, the optional TFTP name, and the optional local TFTP name. */ diff --git a/gdb/values.c b/gdb/values.c index bfb0108..afd8b03 100644 --- a/gdb/values.c +++ b/gdb/values.c @@ -678,7 +678,7 @@ unpack_double (type, valaddr, invp) #ifndef _MSC_VER return (ULONGEST) unpack_long (type, valaddr); #else -#if (_MSC_VER > 800) +#if (_MSC_VER > 900) return (ULONGEST) unpack_long (type, valaddr); #else /* FIXME!!! msvc22 doesn't support unsigned __int64 -> double */ |