line->flags = DWARF2_FLAG_BEGIN_STMT;
}
}
+
+/* Generate a DWARF2 line statement for an
+ instruction of SIZE bytes in length. */
+
+void
+dwarf2_generate_asm_lineno (size)
+ int size;
+{
+ bfd_vma addr;
+ static struct dwarf2_line_info debug_line;
+
+ /* First update the notion of the current source line. */
+ dwarf2_where (& debug_line);
+
+ /* We want the offset of the start of this
+ instruction within the the current frag. */
+ addr = frag_now->fr_address + frag_now_fix () - size;
+
+ /* And record the information. */
+ dwarf2_gen_line_info (addr, & debug_line);
+}
+