Andrew Cagney
0aaa4a81b0
Index: mn10200/ChangeLog
2004-06-28 Andrew Cagney <cagney@gnu.org>
* interp.c: Rename ui_loop_hook to deprecated_ui_loop_hook.
Index: d10v/ChangeLog
2004-06-28 Andrew Cagney <cagney@gnu.org>
* interp.c (sim_resume): Rename ui_loop_hook to
deprecated_ui_loop_hook.
Index: arm/ChangeLog
2004-06-28 Andrew Cagney <cagney@gnu.org>
* armemu.c: Rename ui_loop_hook to deprecated_ui_loop_hook.
Index: common/ChangeLog
2004-06-28 Andrew Cagney <cagney@gnu.org>
* run.c: Rename ui_loop_hook to deprecated_ui_loop_hook.
22 years ago
Daniel Jacobowitz
41ee5402be
* callback.c: Update copyright dates.
* run.c: Likewise.
* sim-basics.h: Likewise.
* sim-load.c: Likewise.
* syscall.c: Likewise.
From Maciej W. Rozycki <macro@ds2.pg.gda.pl>
* callback.c: Include cconfig.h instead of config.h.
* run.c: Likewise.
* sim-basics.h: Likewise.
* sim-load.c: Likewise.
* syscall.c: Likewise.
23 years ago
Michael Snyder
828c9ae668
2003-06-04 Michael Snyder <msnyder@redhat.com>
* common/run.c (main): Remove SIM_H8300 ifdef.
(usage): Ditto.
* common/sim-options.c (STANDARD_OPTIONS): Add SIM_H8300SX.
(standard_options): Add '-x' for h8/300sx.
(standard_option_handler): Add case for SIM_H8300SX.
24 years ago
Kazu Hirata
45a15d6f78
* run.c (usage): Fix typos.
24 years ago
Andrew Cagney
d25b15536c
Index: common/ChangeLog
2002-11-13 Andrew Cagney <cagney@redhat.com>
* run.c (main): Remove SIM_HAVE_ENVIRONMENT from #endif.
Index: d10v/ChangeLog
2002-11-13 Andrew Cagney <cagney@redhat.com>
* simops.c: Include <string.h>.
24 years ago
Andrew Cagney
3c25f8c7b0
Move include/callback.h and include/remote-sim.h to include/gdb/.
Update accordingly.
25 years ago
Kazu Hirata
dbec3bef45
* run.c: Fix formatting.
25 years ago
Nick Clifton
de4112fa38
Add support for target specific command line switches to old-style simualtors.
Make use of this support in the ARM simulator to add a --swi-support= switch
to select whcih SWI protocols to emulate.
25 years ago
Andrey Volkov
a8cdafbd4e
* h8300s now new target, not alias of h8300h
25 years ago
Kazu Hirata
280b26c033
* run.c (usage): Fix a typo.
25 years ago
Michael Meissner
f6bb7a3bb0
Remove reference to alloca-conf.h
26 years ago
Andrew Cagney
781c552e2d
sigrc wasn't initialized before being passed to sim_resume().
27 years ago
Andrew Cagney
baa7ae6f10
When SIM_HAVE_ENVIRONMENT: use sim_set_trace() to enable tracing
instead of sim_trace() to run the program; include support for ``-o''
option (operating environment); when a signal occurs, only continue
execution when operating environment mode.
Update d10v.
27 years ago
Andrew Cagney
7fc5b5adca
Report SIGBUS and halt simulation when ld/st detect a misaligned address.
27 years ago
Nick Clifton
6d358e869b
Fix compile time warning messages.
27 years ago
Stan Shebs
7a292a7adf
import gdb-19990422 snapshot
28 years ago
Stan Shebs
c906108c21
Initial creation of sourceware repository
28 years ago
Stan Shebs
071ea11e85
Initial creation of sourceware repository
28 years ago
Andrew Cagney
247fccdeb5
Add ABFD argument to sim_open call. Pass through to sim_config so
that image properties such as endianness can be checked.
More strongly document the expected behavour of each of the sim_*
interfaces.
Add default endian argument to simulator config macro
SIM_AC_OPTION_ENDIAN. Use in sim_config.
29 years ago
Andrew Cagney
24aa2b57af
Depreciate sim_set_callbacks() function. Set simulator callbacks
during sim_open().
30 years ago
Michael Meissner
e3eba3fd0a
Restore exec_bfd, needed for v850 debug code
30 years ago
Andrew Cagney
8517f62b16
Ref gdb/11763 - can't stop a running simulator:
o Provide poll_quit callback to simulators
so that they can poll for SIGINT on
clueless OS's.
o Add sim_stop to simulators so that clients
can request a halt (eg gdbtk's STOP button)
Works for PPC!
o Re-arange remote-sim.c so that the
hard work is moved from gdbsim_resume()
to gdbsim_wait() (where it should be).
30 years ago
David Edelsohn
75cfb4864d
Fix copyright message, this is not GCC.
30 years ago
David Edelsohn
f7d2f53818
* run.c (main): Check return value of sim_open.
30 years ago
David Edelsohn
0f2811d1c5
* Make-common.in (sim-options.o, sim-load.o): Add rules for.
(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.
30 years ago
David Edelsohn
bcd1475aec
* run.c (main): Pass SIM_OPEN_STANDALONE to sim_open.
30 years ago
Andrew Cagney
fa21d299e6
Pass GCC -W...
30 years ago
Michael Meissner
57bc1a721a
Better error messages when a program stops due to signal; support d10v getpid/kill
30 years ago
Jackie Smith Cashion
3733d1095f
Tue Sep 17 11:04:50 1996 James G. Smith <jsmith@cygnus.co.uk>
* run.c (main): Explicitly cast malloc() parameter.
This is needed because for certain builds the size field being given
to malloc() is actually 64bits long, and without a cast or malloc
prototype the resulting value used by malloc() depended on the host
endianness, and how long long paramaters are passed into functions.
30 years ago
Michael Meissner
9b280a864b
Store bfd pointer in a global variable
30 years ago
Jim Wilson
3be50301d5
Fix SH simulator to handle program exit correctly.
31 years ago
Jim Wilson
6834d4935c
* common/run.c (main): Initialize the callbacks.
31 years ago
David Edelsohn
24691f5599
(Try to) Update to new bfd autoconf scheme.
* run.c: Don't include sysdep.h.
* Makefile.in (INSTALL{,_PROGRAM,_DATA}): Use autoconf computed value.
(CC, CFLAGS, AR, RANLIB): Likewise.
(HDEFINES, TDEFINES): Define.
(CC_FOR_BUILD): Delete.
(host_makefile_frag): Delete.
(Makefile): Don't depend on frags.
* configure.in (sysdep.h): Don't create symlink.
(host_makefile_frag, frags): Deleted.
(CC, CFLAGS, AR, RANLIB, INSTALL): Compute values.
* configure: Regenerated.
31 years ago
Fred Fish
6c9638b444
Update FSF address.
32 years ago
Steve Chamberlain
c8aea29bd6
* run.c (main): Grab return value from right register.
32 years ago
Steve Chamberlain
2494eaf6fd
Wed May 24 14:37:31 1995 Steve Chamberlain <sac@slash.cygnus.com>
* New.
32 years ago
J.T. Conklin
057af5c96c
* run.c: parse arguments with getopt().
32 years ago
Steve Chamberlain
4d0be1f5d4
* interp.c (BUSERROR): New macro.
([r|w][bwl]at[little|big]) New functions.
(sim_resume): If GO32 check for interrupt every now
and again. Decrement PC if SIGBUS seen.
* run.c (main): Return result of simulated _exit.
32 years ago
Steve Chamberlain
d2fd61a812
* interp.c ([wr][bwl]at): New functions.
(trap): Cope with both byte modes.
32 years ago
Steve Chamberlain
0a24010060
Specify the file type.
33 years ago
Steve Chamberlain
3d3e5651cf
* interp.c (trap): Fix irix incompatibility.
* run.c (main): open without specifying file type.
33 years ago
David Edelsohn
fe031f82c4
* interp.c (sim_*): Make result void where there isn't one.
(sim_set_pc): Delete.
(sim_info): Delete printf_fn arg, all callers changed.
Call printf_filtered instead.
(sim_close): New function.
(sim_load): New function.
(sim_create_inferior): Renamed from sim_set_args, all callers changed.
* run.c: #include <varargs.h>, "remote-sim.h".
(printf_filtered): New function.
33 years ago
Steve Chamberlain
8aff8146d2
* gencode.c (main, gendefines): New -d option prints table of defines.
* interp.c (trap): Add a load of system calls.
(sim_memory_size): Now default to 8Mbyte.
(PARANOID): Keep vector of registers with undefined contents.
33 years ago
David Edelsohn
c834dacddd
* Makefile.in (CSEARCH): Add -I$(srcdir)/../../gdb
* interp.c: #include "remote-sim.h".
(sim_resume): int result, new arg `siggnal'.
(sim_write): Use SIM_ADDR for type of arg `addr'.
(sim_read): Use SIM_ADDR for type of arg `addr'.
Use unsigned char * for `buffer'.
(sim_store_register): int result.
(sim_fetch_register): Ditto.
(sim_stop_reason): Renamed from sim_stop_signal. New arg `reason'.
(sim_set_pc): int result, use SIM_ADDR for type of arg `x'.
(sim_info): int result, new args `verbose', `printf_fn'.
(sim_kill): int result.
(sim_open): int result, new arg `name'.
* run.c: #include <stdio.h>
(main): Update call to sim_info.
33 years ago
Steve Chamberlain
1a11e53014
* run.c (main), interp.c (sim_set_timeout): Remove timeout
functionality.
34 years ago
Steve Chamberlain
f6fba99573
Checkpoint.
34 years ago
Steve Chamberlain
90fe361fdc
* gencode.c: Fix some opcodes.
* interp.c: Support for profiling and portability fixes.
* run.c (main): Get profiling args.
34 years ago
Steve Chamberlain
5e1ac26014
Support for broken makes and lint.
34 years ago
Steve Chamberlain
594266fc8a
New stuff for SH.
34 years ago