Invalid registers

Marcel Moolenaar marcel@cup.hp.com
Mon Jul 11 19:08:00 GMT 2005


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



More information about the Gdb mailing list