Re: RFA: assert that target_fetch_registers did its job

Ian Lance Taylor
2004-08-07T01:47:22Z

Jim Blandy <jimb@redhat.com> writes:

> Perhaps another option would be something like the below: it informs
> users that things are not as they seem, and encourages developers to
> fix up their targets. Comments?

Aren't users going to wind up getting this error message approximately
one gazillion times when doing debugging on a target which doesn't
provide all the registers?

I don't know if this is the right approach in general, but if it is I
think it at least needs a static flag or something to only issue the
error once per execution.

I'm not sure this is the right approach because I don't see how to
avoid the error, at least not with something like BSD KVM. The
registers are in the target, but the values just aren't available.
It's not like there is any way to fix that.

Ian