From 53d72f980c60f6dd31d5be3546c4b22b8b10c06f Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 23 Nov 2009 22:06:04 +0000 Subject: [PATCH] * dwarf2read.c (find_partial_die): Don't reassign to 'back_to'. --- gdb/ChangeLog | 4 ++++ gdb/dwarf2read.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 313c82cf18d..1e575609e36 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2009-11-23 Tom Tromey + + * dwarf2read.c (find_partial_die): Don't reassign to 'back_to'. + 2009-11-23 Michael Snyder * NEWS: Mention hw watchpoint fix for process record. diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index c859605361d..630d9009700 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -6914,7 +6914,7 @@ find_partial_die (unsigned int offset, struct dwarf2_cu *cu) if (per_cu->cu->dwarf2_abbrevs == NULL) { dwarf2_read_abbrevs (per_cu->cu->objfile->obfd, per_cu->cu); - back_to = make_cleanup (dwarf2_free_abbrev_table, per_cu->cu); + make_cleanup (dwarf2_free_abbrev_table, per_cu->cu); } info_ptr = (dwarf2_per_objfile->info.buffer + per_cu->cu->header.offset -- 2.30.2