#define MIPS_DEBUGGING_INFO /* MIPS specific debugging info */
#ifndef PREFERRED_DEBUGGING_TYPE /* assume SDB_DEBUGGING_INFO */
-#define PREFERRED_DEBUGGING_TYPE \
- ((len > 1 && !strncmp (str, "ggdb", len)) ? DBX_DEBUG : SDB_DEBUG)
+#define PREFERRED_DEBUGGING_TYPE SDB_DEBUG
#endif
#define MIPS_DEBUGGING_INFO /* MIPS specific debugging info */
#ifndef PREFERRED_DEBUGGING_TYPE /* assume SDB_DEBUGGING_INFO */
-#define PREFERRED_DEBUGGING_TYPE ((!strncmp (str, "ggdb", 4)) ? DBX_DEBUG : SDB_DEBUG)
+#define PREFERRED_DEBUGGING_TYPE SDB_DEBUG
#endif
/* By default, turn on GDB extensions. */
/* Act the same as the UTek complier: -g for dbx, -go for sdb.
* This is used in toplev.c.
*/
-#define PREFERRED_DEBUGGING_TYPE \
- ((len > 1 && !strncmp(str, "go", len)) ? SDB_DEBUG : DBX_DEBUG )
+#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
+
+#define CC1_SPEC "{go:-gcoff}"
+#define CC1PLUS_SPEC "{go:-gcoff}"
/* Sequent has some changes in the format of DBX symbols. */
#define DBX_NO_XREFS 1
level = 0;
}
- /* ??? A few targets use STR in the
- definition of PREFERRED_DEBUGGING_TYPE! */
if (type == NO_DEBUG)
- type = PREFERRED_DEBUGGING_TYPE;
+ {
+ type = PREFERRED_DEBUGGING_TYPE;
+ if (len > 1 && strncmp (str, "ggdb", len) == 0)
+ {
+#ifdef DWARF2_DEBUGGING_INFO
+ type = DWARF2_DEBUG;
+#elif defined DBX_DEBUGGING_INFO
+ type = DBX_DEBUG;
+#endif
+ }
+ }
if (type == NO_DEBUG)
warning ("`-%s' not supported by this configuration of GCC",