aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Tiemann <tiemann@cygnus>1992-06-01 23:17:21 +0000
committerMichael Tiemann <tiemann@cygnus>1992-06-01 23:17:21 +0000
commita748555bbb64d206563f829eb8c976f592efba9d (patch)
treea251419bceeb6609678827f8ae3ca226e455ca6f
parentbbc7590aad6931babbcd996543b50bea4e7cda2c (diff)
downloadgdb-a748555bbb64d206563f829eb8c976f592efba9d.zip
gdb-a748555bbb64d206563f829eb8c976f592efba9d.tar.gz
gdb-a748555bbb64d206563f829eb8c976f592efba9d.tar.bz2
Define MALLOC_INCOMPATIBLE so we can compile files which include <malloc.h>
-rw-r--r--gdb/ChangeLog8
-rw-r--r--gdb/xm-sun4os4.h8
2 files changed, 16 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b1cd25e..202e1f6 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,11 @@
+Mon Jun 1 16:16:12 1992 Michael Tiemann (tiemann@cygnus.com)
+
+ * xm-sun4os4.h (MALLOC_INCOMPATIBLE): Define it.
+
+Sun May 31 06:38:27 1992 Michael Tiemann (tiemann@cygnus.com)
+
+ * configure.in: Handle -m680[01234]0-wrs.
+
Fri May 29 22:16:02 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
* m68k-pinsn.c (print_insn_arg): Pass &EXT_FORMAT_68881 to
diff --git a/gdb/xm-sun4os4.h b/gdb/xm-sun4os4.h
index fb03aef..b20a602 100644
--- a/gdb/xm-sun4os4.h
+++ b/gdb/xm-sun4os4.h
@@ -40,3 +40,11 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define MMAP_BASE_ADDRESS 0xE0000000 /* First mapping here */
#define MMAP_INCREMENT 0x01000000 /* Increment to next mapping */
+
+/* /usr/include/malloc.h defines these w/o prototypes (and uses
+ char * instead of void *). */
+#define MALLOC_INCOMPATIBLE
+extern char* malloc PARAMS (());
+extern char* realloc PARAMS (());
+extern int free PARAMS (());
+