freenode/#clasp - IRC Chatlog
Search
21:44:38
Bike
drmeister: libunwind documentation seems pretty comfortable with working from signal handlers, e.g. here https://www.nongnu.org/libunwind/man/unw_resume(3).html
21:45:13
Bike
i think on mac we'd use llvm's unwinder, which isn't as well documented, but if nothing else this wouldn't be new territory
21:51:15
Bike
other than the exp crash what seems weird right now is i have to manually reset the traps. not sure what's happening there
0:25:51
drmeister
I was looking it up a while ago when I was trying to figure out how to access debug info.
0:26:38
Bike
the header says it's source-compatible with nongnu, so i guess it can unwind out of signal handlers too.
0:29:40
Bike
yeah i meant the apple one. here. https://opensource.apple.com/source/libunwind/libunwind-35.3/include/libunwind.h.auto.html
0:29:43
drmeister
My understanding is that libunwind uses DWARF-like info to describe the stack unwinding information - but that is it.
0:30:29
drmeister
Yeah - that https://opensource.apple.com/source/libunwind/libunwind-35.3/include/libunwind.h.auto.html was what I was looking at months ago.
0:32:14
Bike
well, since it says it's source compatible i'm going to imagine that things are fine in that respect, and the problems i'm seeing are something that won't involve the unwinder, because i really don't want to deal with the unwinder
0:39:52
drmeister
They are supposed to be a scientific programming language - I'm surprised they have done as little as they have.
2:32:28
Bike
makecontext might be a good thing to do except all those functions were removed from posix how super
2:48:37
drmeister
I read that there were several functions removed a few years ago that emacs needed. I thought it might have been at that point.
7:34:46
frgo
Bike: The Cray T90 seems to natively support FPEs as traps ;-) https://users.757.org/~ethan/comp_cray/MANPAGES/2080_10.0/04_pgs_174-409.pdf
7:41:11
frgo
Bike: Not exactly knowing what you now want to achieve, but I also found this: https://linuxgazette.net/issue40/trap.txt