This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Invalid registers
- From: Daniel Jacobowitz <drow at false dot org>
- To: Andrew STUBBS <andrew dot stubbs at st dot com>
- Cc: GDB <gdb at sources dot redhat dot com>
- Date: Mon, 11 Jul 2005 11:49:26 -0400
- Subject: Re: Invalid registers
- References: <op.stq9spovo669wz@terrorhawk.bri.st.com>
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