diff options
author | Bob Wilson <bob.wilson@acm.org> | 2007-11-19 19:37:18 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@acm.org> | 2007-11-19 19:37:18 +0000 |
commit | 1eee4adcdbd8631ec670405f6d61ada09164de5d (patch) | |
tree | 731aaf946fe8105955353eb805dcef80883265b6 /gas/dwarf2dbg.h | |
parent | 00462d019bae7d5b445831c705ce2f6a45a6c09d (diff) | |
download | gdb-1eee4adcdbd8631ec670405f6d61ada09164de5d.zip gdb-1eee4adcdbd8631ec670405f6d61ada09164de5d.tar.gz gdb-1eee4adcdbd8631ec670405f6d61ada09164de5d.tar.bz2 |
* dwarf2dbg.h (dwarf2_loc_directive_seen): New.
* dwarf2dbg.c (loc_directive_seen): Make external and rename to...
(dwarf2_loc_directive_seen): ...this.
(dwarf2_emit_insn, dwarf2_consume_line_info)
(dwarf2_emit_label, dwarf2_directive_loc): Use new name.
Diffstat (limited to 'gas/dwarf2dbg.h')
-rw-r--r-- | gas/dwarf2dbg.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/dwarf2dbg.h b/gas/dwarf2dbg.h index 55836cc..4dfc624 100644 --- a/gas/dwarf2dbg.h +++ b/gas/dwarf2dbg.h @@ -79,6 +79,10 @@ extern void dwarf2_consume_line_info (void); /* Should be called for each code label. */ extern void dwarf2_emit_label (symbolS *); +/* True when we've seen a .loc directive recently. Used to avoid + doing work when there's nothing to do. */ +bfd_boolean dwarf2_loc_directive_seen; + /* True when we're supposed to set the basic block mark whenever a label is seen. Unless the target is doing Something Weird, just call dwarf2_emit_label. */ |