]>
Commit | Line | Data |
---|---|---|
c22bc6d1 JB |
1 | --- DyninstAPI-9.0.3/stackwalk/src/x86-swk.C.orig 2015-08-26 18:13:07.000000000 +0200 |
2 | +++ DyninstAPI-9.0.3/stackwalk/src/x86-swk.C 2015-10-25 20:25:17.942073210 +0100 | |
3 | @@ -61,7 +61,7 @@ | |
e0511022 | 4 | sw_printf("%p%p\n", (void*)frame_pointer, (void*)&frame_pointer); |
c22bc6d1 JB |
5 | } |
6 | ||
7 | -#if defined(arch_x86_64) && (defined(os_linux) || defined(os_freebsd)) | |
8 | +#if defined(arch_x86_64) && !defined(__ILP32__) && (defined(os_linux) || defined(os_freebsd)) | |
9 | __asm__("mov %%rbp, %0\n" | |
10 | : "=r"(frame_pointer)); | |
11 | #elif defined(os_linux) || defined(os_freebsd) |