aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/dbxout.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6d57da9..78a1b39 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+Tue Dec 8 09:28:36 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * dbxout.c: If USG is defined use gstab.h, even if HAVE_STAB_H is set.
+
1998-12-08 Ulrich Drepper <drepper@cygnus.com>
* configure.in: Test for availability of putc_unlocked, fputc_unlocked,
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index c0e71b5..9e1bc16 100644
--- a/gcc/dbxout.c
+++ b/gcc/dbxout.c
@@ -163,10 +163,10 @@ static int source_label_number = 1;
#define FORCE_TEXT
#endif
-/* If there is a system stabs.h, use it. Otherwise, use our own. */
+/* If there is a system stab.h, use it. Otherwise, use our own. */
-#ifndef HAVE_STAB_H
-#include "gstab.h"
+#if defined (USG) || !defined (HAVE_STAB_H)
+#include "gstab.h" /* If doing DBX on sysV, use our own stab.h. */
#else
#include <stab.h>