aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-07-07 15:44:08 +0000
committerNick Clifton <nickc@redhat.com>2001-07-07 15:44:08 +0000
commita9be2b1c8146fd6659a99952599830c6186fbe23 (patch)
tree488b7cf4e9ee809f1fc1ecbdcf65551ba1691580
parente8fbcf5be7ad8cf21592c788b0ca70a1545a9a24 (diff)
downloadgdb-a9be2b1c8146fd6659a99952599830c6186fbe23.zip
gdb-a9be2b1c8146fd6659a99952599830c6186fbe23.tar.gz
gdb-a9be2b1c8146fd6659a99952599830c6186fbe23.tar.bz2
Only set debug_type to DEBUG_NONE if it is DEBUG_UNSPECIFIED.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/ecoff.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 8d1251a..7984c54 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2001-07-07 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * ecoff.c (add_file): Only set debug_type to DEBUG_NONE if it is
+ DEBUG_UNSPECIFIED.
+
2001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
* config/tc-arm.c (do_ldst): Use MVN to build simple inverted
diff --git a/gas/ecoff.c b/gas/ecoff.c
index 57ddddc..cc94bf6 100644
--- a/gas/ecoff.c
+++ b/gas/ecoff.c
@@ -2220,7 +2220,7 @@ add_file (file_name, indx, fake)
if (! symbol_table_frozen && debug_type == DEBUG_UNSPECIFIED)
debug_type = DEBUG_ECOFF;
}
- else
+ else if (debug_type == DEBUG_UNSPECIFIED)
debug_type = DEBUG_NONE;
#ifndef NO_LISTING