aboutsummaryrefslogtreecommitdiff
path: root/sim/erc32/func.c
AgeCommit message (Collapse)AuthorFilesLines
2005-07-08 * func.c: Remove ANSI_PROTOTYPES conditional code.Ben Elliston1-4/+0
2005-03-072005-03-07 Jerome Guitton <guitton@gnat.com>Jerome Guitton1-43/+0
* sim/erc32/float.c (set_fsr): Do not use deprecated multi-line strings. (clear_accex): Ditto. * sim/erc32/interf.c: Remove the redeclaration of fprintf. * sim/erc32/sis.c: Ditto. * sim/erc32/exec.c: Add missing semicolon. * sim/erc32/func.c: Remove definitions of generic_print_address, generic_symbol_at_address, buffer_read_memory and perror_memory, as they are already defined in opcodes/dis-buf.c.
2000-03-03* build patchFrank Ch. Eigler1-1/+1
2000-03-03 Jonathan Larmour <jlarmour@redhat.co.uk> * func.c (buffer_read_memory): Change type of size to unsigned to match prototype
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1-0/+1162
1999-04-16Initial creation of sourceware repositoryStan Shebs1-1139/+0
1998-06-02 * interf.c (sim_open): Use revamped memory_read, which makesMark Alexander1-122/+293
byte-swapping unnecessary. Add -sparclite-board option for emulating RAM found on typical SPARClite boards. Print error message for unrecognized option. * erc32.c: Change RAM address and size from constants to variables, to allow emulation of SPARClite board RAM. (fetch_bytes, store_bytes): New helper functions for revamped mememory_read and memory_write. (memory_read, memory_write): Rewrite to store bytes in target byte order instead of storing words in host byte order; this greatly simplifies support of little-endian programs. (get_mem_ptr): Remove unnecessary byte parameter. (sis_memory_write, sis_memory_read): Store words in target byte order instead of host byte order. (byte_swap_words): Remove, no longer needed. * sis.h ((byte_swap_words): Remove declaration, no longer needed. (memory_read): Add new sz parameter. * sis.c (run_sim): Use revamped memory_read, which makes byte-swapping unnecessary. * exec.c (dispatch_instruction): Use revamped memory_read, which makes byte-swapping and double-word fetching unnecessary. * func.c (sparclite_board): Declare new variable. (get_regi): Handle little-endian data. (bfd_load): Recognize little-endian SPARClite as having little-endian data.
1996-05-20 New sparc simulator from the ESA.Rob Savoye1-0/+968