OSDN Git Service

Only set debug_type to DEBUG_NONE if it is DEBUG_UNSPECIFIED.
authorNick Clifton <nickc@redhat.com>
Sat, 7 Jul 2001 15:43:04 +0000 (15:43 +0000)
committerNick Clifton <nickc@redhat.com>
Sat, 7 Jul 2001 15:43:04 +0000 (15:43 +0000)
gas/ChangeLog
gas/ecoff.c

index 7af747b..9944e1d 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-07-06  John Healy  <jhealy@redhat.com>
 
        * cgen.c (gas_cgen_save_fixups): Modified to allow more than one
index 57ddddc..cc94bf6 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