* stabs.c (aout_process_stab): Set BSF_DEBUGGING.
authorAlan Modra <amodra@gmail.com>
Wed, 3 Oct 2007 11:35:16 +0000 (11:35 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 3 Oct 2007 11:35:16 +0000 (11:35 +0000)
gas/ChangeLog
gas/stabs.c

index 011d29b..bbc8f90 100644 (file)
@@ -1,3 +1,8 @@
+2007-10-03  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 4303
+       * stabs.c (aout_process_stab): Set BSF_DEBUGGING.
+
 2007-10-01  M R Swami Reddy <MR.Swami.Reddy@nsc.com>
 
        * config/tc-cr16.c: Replaced 'tabs' with white spaces and
index d295bea..275a327 100644 (file)
@@ -164,6 +164,8 @@ aout_process_stab (what, string, type, other, desc)
 
   symbol_append (symbol, symbol_lastP, &symbol_rootP, &symbol_lastP);
 
+  symbol_get_bfdsym (symbol)->flags |= BSF_DEBUGGING;
+
   S_SET_TYPE (symbol, type);
   S_SET_OTHER (symbol, other);
   S_SET_DESC (symbol, desc);