From: Bob Wilson Date: Mon, 19 Nov 2007 19:33:23 +0000 (+0000) Subject: * dwarf2dbg.c (dwarf2_emit_label): Use dwarf2_consume_line_info. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=00462d019bae7d5b445831c705ce2f6a45a6c09d;p=binutils-gdb.git * dwarf2dbg.c (dwarf2_emit_label): Use dwarf2_consume_line_info. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 835b56f3faa..cbdaa3d6ba6 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2007-11-19 Bob Wilson + + * dwarf2dbg.c (dwarf2_emit_label): Use dwarf2_consume_line_info. + 2007-11-19 Bob Wilson * dwarf2dbg.c (dwarf2_consume_line_info): New. diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c index 97a60c7883a..96da797e606 100644 --- a/gas/dwarf2dbg.c +++ b/gas/dwarf2dbg.c @@ -419,17 +419,11 @@ dwarf2_emit_label (symbolS *label) if (debug_type == DEBUG_DWARF2) dwarf2_where (&loc); else - { - loc = current; - loc_directive_seen = FALSE; - } + loc = current; loc.flags |= DWARF2_FLAG_BASIC_BLOCK; - current.flags &= ~(DWARF2_FLAG_BASIC_BLOCK - | DWARF2_FLAG_PROLOGUE_END - | DWARF2_FLAG_EPILOGUE_BEGIN); - + dwarf2_consume_line_info (); dwarf2_gen_line_info_1 (label, &loc); }