]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Only set debug_type to DEBUG_NONE if it is DEBUG_UNSPECIFIED.
authorNick Clifton <nickc@redhat.com>
Sat, 7 Jul 2001 15:44:08 +0000 (15:44 +0000)
committerNick Clifton <nickc@redhat.com>
Sat, 7 Jul 2001 15:44:08 +0000 (15:44 +0000)
gas/ChangeLog
gas/ecoff.c

index 8d1251a5a88f076be7cc6be0449d79a33274984a..7984c5457ad3efe70bc07c97441628616e693b66 100644 (file)
@@ -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
index 57ddddc93bfe00ec20cf9e0d7ed09db87eda9d33..cc94bf69ac30a3bea17a091a62437fcc28547d76 100644 (file)
@@ -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