* config/tc-xtensa.c (xg_emit_insn): Include "dwarf2dbg.h" and add
authorBob Wilson <bob.wilson@acm.org>
Wed, 19 Nov 2003 23:55:06 +0000 (23:55 +0000)
committerBob Wilson <bob.wilson@acm.org>
Wed, 19 Nov 2003 23:55:06 +0000 (23:55 +0000)
call to dwarf2_emit_insn.

gas/ChangeLog
gas/config/tc-xtensa.c

index 2195b9ee73f9bbbdc785c1b463e2743fd8faa95d..a41416dc9d29e8a71e05118f8a7603041ff08f25 100644 (file)
@@ -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"
index 99509bdb957f110f0245e40c8d3027759d977cc3..c0116009034720c4aaadd150194e6b3d94503168 100644 (file)
@@ -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;