* gas/cgen feature
authorFrank Ch. Eigler <fche@redhat.com>
Fri, 12 Jan 2001 23:34:43 +0000 (23:34 +0000)
committerFrank Ch. Eigler <fche@redhat.com>
Fri, 12 Jan 2001 23:34:43 +0000 (23:34 +0000)
2001-01-12  Frank Ch. Eigler  <fche@redhat.com>

* cgen.c (gas_cgen_finish_insn): Call dwarf2_emit_insn.

gas/ChangeLog
gas/cgen.c

index 76c3d9e254536fdb8b39de949794474adc10297b..cddf47338c33694ad39323e2125720fda8c386eb 100644 (file)
@@ -1,3 +1,7 @@
+2001-01-12  Frank Ch. Eigler  <fche@redhat.com>
+
+       * cgen.c (gas_cgen_finish_insn): Call dwarf2_emit_insn.
+
 2001-01-12  Nick Clifton  <nickc@redhat.com>
 
        * as.c (print_args): Update copyright date to 2001.
index e3cb1c83ae6715326e99ba76987d22558387471e..271d391663421996794191e55a9a790477d6c128 100644 (file)
@@ -1,5 +1,5 @@
 /* GAS interface for targets using CGEN: Cpu tools GENerator.
-   Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
 
 This file is part of GAS, the GNU Assembler.
 
@@ -26,6 +26,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 #include "as.h"
 #include "subsegs.h"
 #include "cgen.h"
+#include "dwarf2dbg.h"
 
 /* Opcode table descriptor, must be set by md_begin.  */
 
@@ -445,6 +446,9 @@ gas_cgen_finish_insn (insn, buf, length, relax_p, result)
   memcpy (f, buf, byte_len);
 #endif
 
+  /* Emit DWARF2 debugging information.  */
+  dwarf2_emit_insn (byte_len);
+
   /* Create any fixups.  */
   for (i = 0; i < num_fixups; ++i)
     {
This page took 0.0594479999999999 seconds and 4 git commands to generate.