This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Add tests that backtrace and backtrace_symbols produce correct results


You cannot expect reliable backtrace through a signal trampoline without
unwind information.

Obtained backtrace with 6 functions
Function 0: /daten/src/libc/m68k/debug/tst-backtrace4(handle_signal+0x1e) [0x800016f6]
Function 1: [0xeffff520]
Function 2: /daten/src/libc/m68k/debug/tst-backtrace4(fn+0x18) [0x800019c2]
Function 3: /daten/src/libc/m68k/debug/tst-backtrace4(fn+0x18) [0x800019c2]
Function 4: /daten/src/libc/m68k/debug/tst-backtrace4() [0x80001a40]
Function 5: /daten/src/libc/m68k/debug/tst-backtrace4(main+0x1e2) [0x80001466]
Failure on line 91

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]