aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2003-11-19 23:55:06 +0000
committerBob Wilson <bob.wilson@acm.org>2003-11-19 23:55:06 +0000
commitcda2eb9eeb6f6fd9d32f67bde98e577265bdd64e (patch)
tree32437ba66c1de9c540cc2209213ac4fa944a5251 /gas/config
parentd6bfa74209bc8178d8ac94e2eaa015a39560e952 (diff)
downloadgdb-cda2eb9eeb6f6fd9d32f67bde98e577265bdd64e.zip
gdb-cda2eb9eeb6f6fd9d32f67bde98e577265bdd64e.tar.gz
gdb-cda2eb9eeb6f6fd9d32f67bde98e577265bdd64e.tar.bz2
* config/tc-xtensa.c (xg_emit_insn): Include "dwarf2dbg.h" and add
call to dwarf2_emit_insn.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-xtensa.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c
index 99509bd..c011600 100644
--- a/gas/config/tc-xtensa.c
+++ b/gas/config/tc-xtensa.c
@@ -27,6 +27,7 @@
#include "subsegs.h"
#include "xtensa-relax.h"
#include "xtensa-istack.h"
+#include "dwarf2dbg.h"
#include "struc-symbol.h"
#include "xtensa-config.h"
@@ -3929,6 +3930,8 @@ xg_emit_insn (t_insn, record_fix)
xtensa_insnbuf_to_chars (isa, insnbuf, f);
+ dwarf2_emit_insn (byte_count);
+
/* Now spit out the opcode fixup.... */
if (!has_fixup)
return !ok;