Commit Graph

22 Commits

Author SHA1 Message Date
Andrew Cagney 601cecf016 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.
2003-06-20 13:32:34 +00:00
Elena Zannoni 47243d69f7 2002-06-17 Elena Zannoni <ezannoni@redhat.com>
* psim.c (psim_options): Don't choke when gdb invokes us with
	the --architecture option, just ignore it.
2002-06-17 19:58:39 +00:00
Stan Shebs 7a292a7adf import gdb-19990422 snapshot 1999-04-26 18:34:20 +00:00
Stan Shebs c906108c21 Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
Stan Shebs 071ea11e85 Initial creation of sourceware repository 1999-04-16 01:34:07 +00:00
David Edelsohn ed119303f5 * psim.c (psim_options): Ignore -E option (sets endianness).
* sim_calls.c: #include bfd.h.
	(entry_point): New static local.
	(sim_load): Return SIM_RC.  New arg abfd.  Set start address from bfd.
	(sim_create_inferior): Return SIM_RC.  Delete arg start_address.
1997-04-17 10:31:52 +00:00
Michael Meissner 5c04f4f7fc January 23rd merge 1997-01-27 21:34:50 +00:00
Michael Meissner 30c87b55ec New simulator changes from Andrew 1996-07-23 15:42:42 +00:00
Michael Meissner 88f1eac415 Add Solaris and Linux emulations 1996-06-02 15:40:16 +00:00
Michael Meissner 7a543ca48e Fix typo that clobbered the stack and rewrite 2/26 change 1996-03-26 21:20:54 +00:00
Michael Meissner 94feae28e3 Fix -m switch 1996-02-21 18:58:31 +00:00
Michael Meissner eada1efcaf Update to 1995-02-20 release 1996-02-21 16:47:06 +00:00
Michael Meissner 290ad14a9d Add determining when we do not have enough writeback slots; Do not do model specific handling if not printing out the information 1995-11-28 18:47:07 +00:00
Michael Meissner 45525d8d6d Fix warnings to everything can be compiled with -Wall; Redo model specific changes once again to speed things up 1995-11-24 16:44:37 +00:00
Michael Meissner 28816f45f5 Add support for setting model name and other things 1995-11-12 14:20:39 +00:00
Michael Meissner 73c4941b23 first stage in function unit support; add new switches & latest code from andrew 1995-11-08 18:57:06 +00:00
Michael Meissner 4dcb0cdda6 Small changes from Andrew 1995-11-06 15:37:43 +00:00
Michael Meissner c494cadde6 Use autoconf correctly; provide more stats with -I 1995-11-02 20:21:35 +00:00
Michael Meissner a983c8f080 Andrew's latest changes & print all instruction counts if -I 1995-11-02 14:27:18 +00:00
Michael Meissner 7ca054e88e Print exit status/signal number if -I 1995-10-06 21:23:35 +00:00
Michael Meissner 83d96c6e3e Add support to count the number of instructions issued. 1995-10-02 18:19:17 +00:00
Michael Meissner 8b3797aa18 Update to new config scheme 1995-09-08 23:56:38 +00:00