aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2009-11-23 22:06:04 +0000
committerTom Tromey <tromey@redhat.com>2009-11-23 22:06:04 +0000
commit53d72f980c60f6dd31d5be3546c4b22b8b10c06f (patch)
treeaf68933f7caef63335535c511b974dd9e49c8a91 /gdb/dwarf2read.c
parent7a6973ad42f7f525439fd006942060139d2acbd3 (diff)
downloadgdb-53d72f980c60f6dd31d5be3546c4b22b8b10c06f.zip
gdb-53d72f980c60f6dd31d5be3546c4b22b8b10c06f.tar.gz
gdb-53d72f980c60f6dd31d5be3546c4b22b8b10c06f.tar.bz2
* dwarf2read.c (find_partial_die): Don't reassign to 'back_to'.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r--gdb/dwarf2read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index c859605..630d900 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