* dwarf2read.c (find_partial_die): Don't reassign to 'back_to'.
authorTom Tromey <tromey@redhat.com>
Mon, 23 Nov 2009 22:06:04 +0000 (22:06 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 23 Nov 2009 22:06:04 +0000 (22:06 +0000)
gdb/ChangeLog
gdb/dwarf2read.c

index 313c82cf18df0d0a622b8f15f0e35c8ac20c17d5..1e575609e36f79f1c0bcbd24978e89460471a8f9 100644 (file)
@@ -1,3 +1,7 @@
+2009-11-23  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2read.c (find_partial_die): Don't reassign to 'back_to'.
+
 2009-11-23  Michael Snyder  <msnyder@vmware.com>
 
        * NEWS: Mention hw watchpoint fix for process record.
index c859605361db1fa488485f9e70362447430b67c8..630d9009700d0c668a1535214cb71122a2e938b0 100644 (file)
@@ -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