d946c2884d
sim: fix printf format warning about non-string literal
...
This is the normal "passing a buffer straight to printf makes GCC warn".
While we know this particular case is fine, the trend in this source tree
is to fix this anyways to avoid the warnings.
2010-03-30 20:43:36 +00:00
dc41661593
sim: convert old style function definitions
...
GCC currently emits warnings like:
nrun.c: In function 'usage':
nrun.c:223: warning: old-style function definition
2010-03-30 19:43:42 +00:00
dc3cf14f35
Update copyright notices to add year 2010.
2010-01-01 10:03:36 +00:00
982807ce66
From: J"orn Rennecke <joern.rennecke@arc.com> (tiny change)
...
Speed up simulator startup:
* sim-utils.c (zalloc): Use xcalloc.
2009-03-19 14:32:38 +00:00
e4d013fc0f
Update the copyright notice of some of the files I missed
...
in the previous copyright update.
2009-01-14 10:53:10 +00:00
9b254dd1ce
Updated copyright notices for most files.
2008-01-01 22:53:26 +00:00
4744ac1bb0
Switch the license of all files explicitly copyright the FSF
...
to GPLv3.
2007-08-24 14:30:15 +00:00
6aba47ca06
Copyright updates for 2007.
2007-01-09 17:59:20 +00:00
6439295f61
2002-02-10 Chris Demetriou <cgd@broadcom.com>
...
* callback.c: Fix some spelling errors.
* hw-device.h: Likewise.
* hw-tree.c: Likewise.
* sim-abort.c: Likewise.
* sim-alu.h: Likewise.
* sim-core.h: Likewise.
* sim-events.c: Likewise.
* sim-events.h: Likewise.
* sim-fpu.h: Likewise.
* sim-profile.h: Likewise.
* sim-utils.c: Likewise.
2002-02-10 23:11:37 +00:00
2836ee25d9
* thanks, nickc
...
2001-04-25 Frank Ch. Eigler <fche@redhat.com>
* sim-load.c (sim_load_file): Put it back [...]
2001-04-25 21:14:28 +00:00
5b77812558
Revert call to bfd_cache_close().
2001-04-21 22:50:55 +00:00
6ec9f4a9be
* bug fix
...
2001-04-19 Frank Ch. Eigler <fche@redhat.com>
* sim-utils.c (sim_analyze_program): Call bfd_cache_close after
we're finished with its immediate use.
* sim-load.c (sim_load_file): Ditto.
2001-04-19 20:59:30 +00:00
c906108c21
Initial creation of sourceware repository
1999-04-16 01:35:26 +00:00
071ea11e85
Initial creation of sourceware repository
1999-04-16 01:34:07 +00:00
966df5804d
* sim-base.h (sim_cpu_base): New members name, options.
...
(sim_cpu_lookup): Add prototype.
* sim-module.c (sim_pre_argv_init): Provide default names for cpus.
* sim-options.h (DECLARE_OPTION_HANDLER): New argument `cpu'.
(sim_add_option_table): Update prototype.
* sim-options.c (sim_add_option_table): New argument `cpu'.
(standard_option_handler,standard_install): Update.
(sim_parse_args): Handle cpu specific options.
(print_help): New static function.
(sim_print_help): Call it. Print cpu specific options.
(find_match): New static function.
(sim_args_command): Call it. Handle cpu specific options.
* sim-utils.c (sim_cpu_lookup): New function.
* sim-memopt.c (memory_option_handler): Update.
(sim_memopt_install): Update.
* sim-model.c (model_option_handler): Update.
(model_install): Update.
* sim-profile.c (profile_option_handler): Update.
(profile_install): Update.
* sim-trace.c (trace_option_handler): Update.
(trace_install): Update.
* sim-watch.c (watchpoint_option_handler): Update.
(sim_watchpoint_install): Update.
* cgen-scache.c (scache_option_handler): Update.
(scache_install): Update.
1998-02-27 18:39:22 +00:00
7e13b93461
* sim-utils.c (sim_state_alloc): Delete setting of cpu backlink here.
1998-01-19 21:09:43 +00:00
1b465b54e1
Add sim_do_commandf - printf version of sim_do_command.
1997-09-05 07:57:27 +00:00
a34abff813
o Add modulo argument to sim_core_attach
...
o Add sim-memopt module - memory option processing.
1997-09-04 03:47:39 +00:00
4b2a6aed84
Use sim_state_alloc to create common sim object.
1997-09-01 03:26:31 +00:00
f90b720ba1
Passify GCC. Convert 0x0LL to something more portable in the FP code.
1997-08-30 00:02:19 +00:00
18c319ae59
Add --target=BFDTARGET and --architecture=MACHINE options.
1997-08-28 09:44:42 +00:00
fafce69ab1
Add ABFD argument to sim_create_inferior. Document.
...
Add file sim-hload.c - generic load for hardware only simulators.
Review each simulators sim_open, sim_load, sim_create_inferior so that
they more closely match required behavour.
1997-08-27 04:44:41 +00:00
d07dddd2b2
Save a copy of argv, not just a pointer.
1997-08-27 00:35:34 +00:00
2317a49939
* sim-utils.c (sim_add_commas): New function.
...
* sim-basics.h (sim_add_commas): Add prototype.
* cgen-scache.c (scache_print_profile): Print commas in numbers.
* sim-profile.c (COMMAS): New macro.
(print_*): Use it to print commas in numbers.
1997-05-02 00:32:05 +00:00
ba65b2f4c9
* sim-utils.c (sim_copy_argv, sim_analyze_program): New functions.
1997-04-17 14:14:49 +00:00