aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-xtensa.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 2195b9e..a41416d 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2003-11-19 Bob Wilson <bob.wilson@acm.org>
+
+ * config/tc-xtensa.c (xg_emit_insn): Include "dwarf2dbg.h" and add
+ call to dwarf2_emit_insn.
+
2003-11-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
* config/tc-mips.c (macro): Handle new macros: "lca" and "dlca"
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;