NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: kern/51322



>  (when gdb says "optimized out", it doesn't mean that the value's not
>  there, it means gdb doesn't know how to find it because it's e.g. in
>  some scratch register and not in what gdb thinks of as a "variable")

indeed.

several times i've looked at this and GCC is usually failing to
emit useful debug info.  when studying the asm, you can often
find the value in a register.


.mrg.


Home | Main Index | Thread Index | Old Index