]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Reset the address encoding to the default before parsing the
authorTom Hughes <tom@compton.nu>
Tue, 3 May 2005 09:30:04 +0000 (09:30 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 3 May 2005 09:30:04 +0000 (09:30 +0000)
augmentation string for a new CIE or we may end up using a bogus
encoding from the previous CIE if the new one has no encoding
specified.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3600

coregrind/vg_dwarf.c

index b99d8b28cf61890659fc316da87dc295a55ebcfe..80b37950c5e723577094a764672b87e35fb18a31 100644 (file)
@@ -1728,6 +1728,8 @@ void VG_(read_callframe_info_dwarf2)
             cie_instrs = NULL;
          }
 
+         address_encoding = default_Addr_encoding();
+
          while (*cie_augmentation) {
             switch (*cie_augmentation) {
                case 'L':