This is the mail archive of the gdb-patches@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: RFA: assert that target_fetch_registers did its job


Jim Blandy <jimb@redhat.com> writes:

> Does anyone see anything wrong with this?  Should it be an error, or a
> warning, instead of an internal error?  It seems to me that the error
> should be furnished by the target-specific code; if
> target_fetch_registers returns silently, it should have done its job.

I noticed that "info reg" tripped over this with the BSD KVM target,
because the KVM backend only loads in the registers that are present
in the PCB. Should the KVM backend be zeroing out everything else
explicitly (is there a regcache call to do the wipe for us)?

        - Nathan


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