[Patch] MIPS load_memory fix

Andrew Cagney ac131313@cygnus.com
Wed Feb 7 18:03:00 GMT 2001


Ben Elliston wrote:
> 
> The following patch passes the current instruction address down to the
> core memory accessors, for completeness.  Any reason why this
> shouldn't be done?  Thanks,
> 
> Ben
> 
> 2001-02-08  Ben Elliston  <bje@redhat.com>
> 
>         * sim-main.c (load_memory): Pass cia to sim_core_read* functions.
>         (store_memory): Likewise, pass cia to sim_core_write*.

The sim/common stuff was grafted onto the MIPS simulator and at the time
CIA was still a global.

Yes, fine, and thanks :-)

	Andrew


More information about the Gdb-patches mailing list