Re: Invalid registers

Daniel Jacobowitz
2005-07-11T15:49:31Z

On Mon, Jul 11, 2005 at 04:39:51PM +0100, Andrew STUBBS wrote:
> Hi,
>
> I have been having a little trouble updating from GDB 5.3 to GDB 6.3.
>
> It used to be the case that GDB would report '*value not available*' (for
> SH - I haven't checked other architectures) if the value of a register is
> not known in the current stack frame. However, it no longer does this.
> Since I assume it has not acquired some way to find out what that value
> was, I also assume this is somehow broken.

How's it supposed to know that the value is not available? If you want
to do this based on the standard call ABI, please take a look at the
current callers of dwarf2_frame_set_init_reg.

--
Daniel Jacobowitz
CodeSourcery, LLC