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 Jul 11, 2005, at 11:51 AM, Daniel Jacobowitz wrote:


On Mon, Jul 11, 2005 at 11:47:01AM -0700, Marcel Moolenaar wrote:
Given that registers are available when a value has been supplied,
it's logical to assume (a priori) that a register is unavailable
when no value has been supplied.

You are talking about a completely different meaning of unavailable than Andrew was. He's talking about unwinding, i.e. registers which have been modified but not saved by an intervening stack frame.

Ah, I see. Wouldn't this apply only to caller-saved registers? And wouldn't it be reasonable to mark them as unavailable unless proven otherwise?

--
 Marcel Moolenaar         USPA: A-39004          marcel@xcllnt.net


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