aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-basics.h
AgeCommit message (Collapse)AuthorFilesLines
1997-04-17 * aclocal.m4: Check for headers time.h, sys/time.h, sys/resource.h.David Edelsohn1-0/+8
Check for functions getrusage, time. * sim-basics.h (SIM_ELAPSED_TIME): New typedef. (sim_elapsed_time_get, sim_elapsed_time_since): Add prototypes. * sim-utils.c: #include time.h, sys/time.h, sys/resource.h if able. (sim_elapsed_time_get, sim_elapsed_time_since): New functions.
1997-04-17 * Make-common.in (sim-options.o, sim-load.o): Add rules for.David Edelsohn1-0/+1
(sim_main_headers): Add sim-trace.h. * run.c (exec_bfd, target_byte_order): Delete. (main): Pass -E <endian> to sim_open. Delete code to load sections, call sim_load instead. Check return code of sim_create_inferior. * sim-base.h (CURRENT_STATE): Define. (sim_state_base): Make typedef. New members options, prog_argv, prog_bfd, text_{section,start,end}, start_addr, simcache_size, mem_size, memory [+ corresponding access macros]. (sim_cpu_base): New typedef. * sim-trace.h: New file. * sim-basics.h: #include it. * sim-load.c: New file.
1997-04-15Get the BIT/MASK/ROT/... macros to work with any 32/64/MSB0/MSBn target.Andrew Cagney1-0/+117