aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog8
-rw-r--r--gdb/xcoffexec.c2
-rw-r--r--gdb/xm-sun3os4.h6
3 files changed, 15 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1fec6e3..1db7639 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,11 @@
+Wed Jun 17 13:08:33 1992 Stu Grossman (grossman at cygnus.com)
+
+ * xcoffexec.c: Remove ' from comment.
+
+ * xm-sun3os4.h: Define MALLOC_INCOMPATIBLE to avoid conflicts
+ with decls of malloc in c-exp.tab.c (as produced by yacc).
+ There's got to be a better way to do this...
+
Wed Jun 17 11:10:40 1992 Fred Fish (fnf@cygnus.com)
* partial-stab.h: Convert single rindex use to strrchr.
diff --git a/gdb/xcoffexec.c b/gdb/xcoffexec.c
index 42ed759..f9b9e32 100644
--- a/gdb/xcoffexec.c
+++ b/gdb/xcoffexec.c
@@ -342,7 +342,7 @@ map_vmap (bfd *bf, bfd *arch)
#if 0
/* This is only needed if we want to load shared libraries no matter what.
Since we provide the choice of incremental loading of shared objects
- now, we don't have to load them as default anymore. */
+ now, we do not have to load them as default anymore. */
syms_from_objfile (obj, 0, 0, 0);
new_symfile_objfile (obj, 0, 0);
diff --git a/gdb/xm-sun3os4.h b/gdb/xm-sun3os4.h
index b9401f9..cf23a4b 100644
--- a/gdb/xm-sun3os4.h
+++ b/gdb/xm-sun3os4.h
@@ -40,3 +40,9 @@ 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 */
+
+/* Prevent type conflicts between yacc malloc decls and defs.h */
+#define MALLOC_INCOMPATIBLE
+extern char *malloc();
+extern char *realloc();
+extern void free();