From: Tom Hughes Date: Tue, 3 May 2005 09:30:04 +0000 (+0000) Subject: Reset the address encoding to the default before parsing the X-Git-Tag: svn/VALGRIND_3_0_0~718 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=33ee50201927a5cb3caeee8a2794f9717e909285;p=thirdparty%2Fvalgrind.git Reset the address encoding to the default before parsing the 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 --- diff --git a/coregrind/vg_dwarf.c b/coregrind/vg_dwarf.c index b99d8b28cf..80b37950c5 100644 --- a/coregrind/vg_dwarf.c +++ b/coregrind/vg_dwarf.c @@ -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':