Re: [rust-dev] Stack traces on Linux

2011-09-21 Thread Marijn Haverbeke
> Yeah this is really annoying. You should be able to get backtraces by > compiling LLVM with -fno-omit-frame-pointer. Great, that did the trick! I'll add a note to the 'gettting started' page on the wiki. ___ Rust-dev mailing list Rust-dev@mozilla.org h

Re: [rust-dev] Stack traces on Linux

2011-09-20 Thread Brian Anderson
On 09/19/2011 07:16 AM, Marijn Haverbeke wrote: In gdb, I can get stack traces from inside rust and from upcalls just fine. But when an assertion in LLVM is hit, gdb gets confused a nd just shows me the LLVM funtions on the stack, and then below that bogus addresses labeled with '???'. Doing 'ret

[rust-dev] Stack traces on Linux

2011-09-19 Thread Marijn Haverbeke
In gdb, I can get stack traces from inside rust and from upcalls just fine. But when an assertion in LLVM is hit, gdb gets confused a nd just shows me the LLVM funtions on the stack, and then below that bogus addresses labeled with '???'. Doing 'ret' to get out of the LLVM functions doesn't help --