Obscure .eh_frame debug info question.

Tom Horsley tom.horsley at att.net
Fri May 22 12:37:50 UTC 2009


On Thu, 21 May 2009 13:49:16 -0400
Tom Horsley wrote:

> Its obviously not a problem, since gdb can walkback through the frame
> in question, I just can't figure out what implicit undocumented information
> gdb must be using to initialize the process of interpreting the frame
> info.

DOH! I finally figured it out. One of my early guesses was actually
correct, but I apparently made a cut & paste error when plugging
the numbers into a calculator, so decided it didn't make any sense.

The unspecified initial value for reg16 is the value of the PC in the
current frame (the most obvious guess, and the first thing I tried,
if only I had done the arithmetic correctly, I wouldn't have gotten
so confused :-).




More information about the fedora-list mailing list