diff options
author | Cary Coutant <ccoutant@google.com> | 2015-01-30 04:16:46 -0800 |
---|---|---|
committer | Cary Coutant <ccoutant@google.com> | 2015-01-30 04:16:46 -0800 |
commit | b3759731e0335ea593361c4280587ee6b29f148f (patch) | |
tree | abb7f2d9875fa1343e0560bb1c4d72d27c08ea43 | |
parent | 89442fc4839f511530f0c71bc5e505bd0bc9b19d (diff) | |
download | gdb-b3759731e0335ea593361c4280587ee6b29f148f.zip gdb-b3759731e0335ea593361c4280587ee6b29f148f.tar.gz gdb-b3759731e0335ea593361c4280587ee6b29f148f.tar.bz2 |
For ODR checking, when we see two .lloc directives in a row, output them both.
2015-01-30 Cary Coutant <ccoutant@google.com>
gas/
* dwarf2dbg.c (dwarf2_directive_loc): Always emit extra .lloc.
-rw-r--r-- | gas/dwarf2dbg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c index 5ab3098..dfd3d63 100644 --- a/gas/dwarf2dbg.c +++ b/gas/dwarf2dbg.c @@ -831,7 +831,7 @@ dwarf2_directive_loc (int is_lloc) /* If we see two .loc directives in a row, force the first one to be output now. */ - if (!is_new_logical && dwarf2_loc_directive_seen) + if (dwarf2_loc_directive_seen) dwarf2_emit_insn (0); if (is_lloc && !is_new_logical) |