public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Invalid registers
@ 2005-07-11 15:42 Andrew STUBBS
  2005-07-11 15:49 ` Daniel Jacobowitz
  0 siblings, 1 reply; 15+ messages in thread
From: Andrew STUBBS @ 2005-07-11 15:42 UTC (permalink / raw)
  To: GDB

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.

(Note that SH already was broken in this respect for fp registers etc.)

The code to print the data, in sh-tdep.c, has not changed greatly. It  
still calls frame_register_read() to discover the status of each register.  
However, deep in regcache.c, the code to handle this sort of thing has  
changed somewhat (indeed a few 'deprecated_...'s have got into the mix).  
The result is that no register is ever marked invalid.

I cannot find out how (or where) it is supposed to know whether a register  
is invalid or not. Nor can I find any relevant discussion on the subject  
by googling (or I don't recognise it when I see it).

Has this problem been fixed since 6.3 or become somehow obsolete? If not,  
any clues how to fix it?

Thanks

Andrew Stubbs

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2005-07-14 14:11 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-11 15:42 Invalid registers Andrew STUBBS
2005-07-11 15:49 ` Daniel Jacobowitz
2005-07-11 18:47   ` Marcel Moolenaar
2005-07-11 18:51     ` Daniel Jacobowitz
2005-07-11 19:08       ` Marcel Moolenaar
2005-07-12 16:16     ` Andrew STUBBS
2005-07-12 17:19       ` Marcel Moolenaar
2005-07-12 16:07   ` Andrew STUBBS
2005-07-12 17:34     ` Daniel Jacobowitz
2005-07-13 15:13       ` Andrew STUBBS
2005-07-13 15:42         ` Daniel Jacobowitz
2005-07-13 16:16           ` Andrew STUBBS
2005-07-13 20:27             ` Daniel Jacobowitz
2005-07-14  9:36           ` Andrew STUBBS
2005-07-14 14:11             ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).