aboutsummaryrefslogtreecommitdiff
path: root/gas/dwarf2dbg.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2018-06-01 06:00:25 -0300
committerAlexandre Oliva <aoliva@redhat.com>2018-06-01 06:00:25 -0300
commit3a00b02d277023ccfc5ccba3fcd4bae7aa485a49 (patch)
tree0244ccdc92de98bb2f4638d510d2b5f4110ed8f5 /gas/dwarf2dbg.c
parent733bd0abdd059beff9d2c3be94fcd3b72fd44aaf (diff)
downloadgdb-3a00b02d277023ccfc5ccba3fcd4bae7aa485a49.zip
gdb-3a00b02d277023ccfc5ccba3fcd4bae7aa485a49.tar.gz
gdb-3a00b02d277023ccfc5ccba3fcd4bae7aa485a49.tar.bz2
Drop view when consuming line info
Fix locviews on ia64. If we do not drop the view after copying line info to slots in the bundle, we may attempt to compute the view more than once and get very confused. for gas/ChangeLog * dwarf2dbg.c (dwarf2_consume_line_info): Drop view.
Diffstat (limited to 'gas/dwarf2dbg.c')
-rw-r--r--gas/dwarf2dbg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c
index e7c0b6e..7193265 100644
--- a/gas/dwarf2dbg.c
+++ b/gas/dwarf2dbg.c
@@ -624,6 +624,7 @@ dwarf2_consume_line_info (void)
| DWARF2_FLAG_PROLOGUE_END
| DWARF2_FLAG_EPILOGUE_BEGIN);
current.discriminator = 0;
+ current.view = NULL;
}
/* Called for each (preferably code) label. If dwarf2_loc_mark_labels