aboutsummaryrefslogtreecommitdiff
path: root/gas/dwarf2dbg.c
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2007-11-19 19:33:23 +0000
committerBob Wilson <bob.wilson@acm.org>2007-11-19 19:33:23 +0000
commit00462d019bae7d5b445831c705ce2f6a45a6c09d (patch)
tree95c5f0472ccd94c80dd989b36760bc68c85d22e5 /gas/dwarf2dbg.c
parent661ba50f530d936e1e9b260f0c4424d92ce9076f (diff)
downloadgdb-00462d019bae7d5b445831c705ce2f6a45a6c09d.zip
gdb-00462d019bae7d5b445831c705ce2f6a45a6c09d.tar.gz
gdb-00462d019bae7d5b445831c705ce2f6a45a6c09d.tar.bz2
* dwarf2dbg.c (dwarf2_emit_label): Use dwarf2_consume_line_info.
Diffstat (limited to 'gas/dwarf2dbg.c')
-rw-r--r--gas/dwarf2dbg.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c
index 97a60c7..96da797 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);
}