mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 18:56:10 +00:00
massif/tests/mmapunmap on ppc now indicates a below main function. Note: this ppc53 specific file is needed because the valgrind stack unwinder does not properly unwind in main. At the mmap syscall, gdb backtrace gives: Breakpoint 3, 0x00000000041dbae0 in .__GI_mmap () from /lib64/libc.so.6 (gdb) bt while the valgrind stack trace gives: Thread 1: status = VgTs_Runnable (lwpid 64207) ==64207== at 0x41DBAE0: mmap (in /usr/lib64/libc-2.17.so) ==64207== by 0x10000833: f (mmapunmap.c:9) ==64207== by 0x40E6BEB: (below main) (in /usr/lib64/libc-2.17.so) client stack range: [0x1FFEFF0000 0x1FFF00FFFF] client SP: 0x1FFF00ECE0 valgrind stack top usage: 15632 of 1048576