This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Invalid registers


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]