https://sourceware.org/bugzilla/show_bug.cgi?id=30948

--- Comment #2 from Masatake YAMATO <yamato at redhat dot com> ---
Thank you. With -gdwarf-aranges, the stack command works expectedly.

$ clang -O0 -g -gdwarf-aranges target.c -o target-clang
$ ./target-clang &                                     
[1] 4104789
$ ./src/stack -s -p  4104789
PID 4104789 - process
TID 4104789:
#0  0x0000000000401149 f1
    /home/yamato/var/elfutils/target.c:4:3
#1  0x0000000000401139 f0
    /home/yamato/var/elfutils/target.c:11:10
#2  0x0000000000401124 main
    /home/yamato/var/elfutils/target.c:16:10
#3  0x00007fb7e9213b8a __libc_start_call_main
    ../sysdeps/nptl/libc_start_call_main.h:58:16
#4  0x00007fb7e9213c4b __libc_start_main@@GLIBC_2.34
    ../csu/libc-start.c:360:3
#5  0x0000000000401045 _start

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to