|
|
|
|
|
by astrange
4479 days ago
|
|
amd64 has enough registers that using one for the frame pointer isn't too bad. On the other hand, some platforms don't need a frame pointer for debugging; if you emit correct unwind tables that's enough for the debugger to construct a backtrace. I haven't looked lately but am pretty sure amd64 ELF is one of them. Also, modern gcc generates okay debug info for optimized programs such that it's much more likely you can read variables out of a crash in gdb. |
|
Working with unwind tables is more complicated and many useful debugging tools don't do so.