2003-06-20 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Fri, 20 Jun 2003 13:32:34 +0000 (13:32 +0000)
committerAndrew Cagney <cagney@redhat.com>
Fri, 20 Jun 2003 13:32:34 +0000 (13:32 +0000)
commit601cecf016bc104dc20b12630be28d3a73767ba6
treef178ead92957cc6cce09dcd2c34b0fa165ba2ba0
parent8f3bab57754eb34346df536d6b7d5ec4a4255cbc
2003-06-20  Andrew Cagney  <cagney@redhat.com>

* sim_calls.c (sim_create_inferior): Assert that
psim_write_register succeeded.
(sim_fetch_register, sim_store_register): Make "regname" constant.
Delete Altivec hack.  Return result from psim_read_register /
psim_write_register.
* psim.h (psim_read_register, psim_write_register): Change return
type to int.  Update comments.
* psim.c: Update copyright.
(psim_stack): Assert that the psim_read_register worked.
(psim_read_register, psim_read_register): Return the register's
size.  Allocate the cooked buffer dynamically.
* hw_register.c: Update copyright.
(do_register_init): Check that psim_write_register succeeded.
* hw_init.c: Update copyright.
(create_ppc_elf_stack_frame, create_ppc_aix_stack_frame): Assert
that the register transfer worked.
sim/ppc/ChangeLog
sim/ppc/hw_init.c
sim/ppc/hw_register.c
sim/ppc/psim.c
sim/ppc/psim.h
sim/ppc/sim_calls.c