aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2007-10-03 11:35:16 +0000
committerAlan Modra <amodra@gmail.com>2007-10-03 11:35:16 +0000
commitdf98fa7db878eec68a03347d4de0f221806c189b (patch)
tree2cf57346a5cead4430336e7108ff549948dd07a4
parent4fb6c25d5007c1bc13c8fddda21c96bb4d05ef91 (diff)
downloadgdb-df98fa7db878eec68a03347d4de0f221806c189b.zip
gdb-df98fa7db878eec68a03347d4de0f221806c189b.tar.gz
gdb-df98fa7db878eec68a03347d4de0f221806c189b.tar.bz2
* stabs.c (aout_process_stab): Set BSF_DEBUGGING.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/stabs.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 011d29b..bbc8f90 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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
diff --git a/gas/stabs.c b/gas/stabs.c
index d295bea..275a327 100644
--- a/gas/stabs.c
+++ b/gas/stabs.c
@@ -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);