From cda2eb9eeb6f6fd9d32f67bde98e577265bdd64e Mon Sep 17 00:00:00 2001 From: Bob Wilson Date: Wed, 19 Nov 2003 23:55:06 +0000 Subject: * config/tc-xtensa.c (xg_emit_insn): Include "dwarf2dbg.h" and add call to dwarf2_emit_insn. --- gas/ChangeLog | 5 +++++ gas/config/tc-xtensa.c | 3 +++ 2 files changed, 8 insertions(+) (limited to 'gas') 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 + + * config/tc-xtensa.c (xg_emit_insn): Include "dwarf2dbg.h" and add + call to dwarf2_emit_insn. + 2003-11-18 Maciej W. Rozycki * 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; -- cgit v1.1