aboutsummaryrefslogtreecommitdiff
path: root/sim/common/Make-common.in
AgeCommit message (Collapse)AuthorFilesLines
2005-02-09cgen/ChangeLog:Jim Blandy1-2/+2
2005-02-09 Jim Blandy <jimb@redhat.com> * cgen-sim.scm (load-files): Don't load fixup.scm. (See corresponding change in the sim/common directory.) sim/common/ChangeLog: 2005-02-09 Jim Blandy <jimb@redhat.com> * Make-common.in (CGEN): Load guile.scm, and include a trailing '-s' argument. (CGEN_FLAGS_TO_PASS): Include single quotes around the reference to $(CGEN), to ensure that the command substitution happens where the variable is referenced in the submake, not when the submake's arguments are expanded. (cgen.sh): Be prepared for the 'cgen' argument to contain spaces. (arch, cpu, decode, cpu-decode, defs, desc): Place the name of the application Scheme script directly after ${cgen}; don't precede it with a -s.
2004-12-07 * Make-common.in (sim-basics_h): Add $(callback_h).Hans-Peter Nilsson1-0/+1
2004-12-01Update copyright yearHans-Peter Nilsson1-1/+1
2004-12-01 * cgen.sh: New thirteenth parameter opcfile, defaulting toHans-Peter Nilsson1-1/+1
/dev/null. <case desc>: Pass -OPC opcfile. * Make-common.in (cgen-desc): Pass $(opcfile) as thirteenth parameter to cgen.sh.
2004-11-30* Make-common.in (sim-basics_h): Correct dependencies onRichard Earnshaw1-3/+3
cconfig.h and tconfig.h (sim-load.o): Correct typo in sim-basics_h dependency.
2004-11-18* Make-common.in (sim-*_h): Add rules for all sim headers. AlsoRichard Earnshaw1-24/+57
add sub-dependencies for other sim files that they include. (sim_main_headers): Use sim-*_h rules. (sim-load.o): Depend on sim-basics_h, not sim_main_headers.
2004-11-16 * Make-common.in (sim-load.o): Depend on $(sim_main_headers) andHans-Peter Nilsson1-1/+2
$(remote_sim_h) too. (sim_main_headers): Add sim-utils.h.
2003-09-082003-09-08 Dave Brolley <brolley@redhat.com>Dave Brolley1-6/+12
On behalf of Doug Evans <dje@sebabeach.org> * cgen.sh: New arg archfile. * Make-common.in (cgen-arch,cgen-cpu,cgen-defs,cgen-decode, cgen-cpu-decode,cgen-desc): Update call to cgen.sh.
2003-04-132003-04-13 Michael Snyder <msnyder@redhat.com>Michael Snyder1-2/+2
* Make-common.in (sim-events.o, sim-config.o): Depend on sim-main.h.
2003-02-20Index: include/gdb/ChangeLogAndrew Cagney1-6/+0
2003-02-20 Andrew Cagney <ac131313@redhat.com> * remote-sim.c (gdbsim_insert_breakpoint) (gdbsim_remove_breakpoint): Delete #ifdef SIM_HAS_BREAKPOINTS code. Index: include/gdb/ChangeLog 2003-02-20 Andrew Cagney <ac131313@redhat.com> * remote-sim.h (SIM_RC): Delete unused SIM_RC_UNKNOWN_BREAKPOINT, SIM_RC_INSUFFICIENT_RESOURCES and SIM_RC_DUPLICATE_BREAKPOINT. (sim_set_breakpoint, sim_clear_breakpoint): Delete declarations. (sim_clear_all_breakpoints, sim_enable_breakpoint): Ditto. (sim_enable_all_breakpoints, sim_disable_breakpoint): Ditto. (sim_disable_all_breakpoints): Ditto. Index: sim/common/ChangeLog 2003-02-20 Andrew Cagney <ac131313@redhat.com> * Make-common.in (SIM_NEW_COMMON_OBJS): Remove sim-break.o (sim-break_h): Delete macro. (sim-break.o): Delete rule. * sim-break.c: Delete file. * sim-break.h: Delete file. * sim-base.h [SIM_HAVE_BREAKPOINTS]: Don't include "sim-break.h". (STATE_BREAKPOINTS): Delete macro. (sim_state_base): Delete field breakpoints. * sim-module.c (modules) [SIM_HAVE_BREAKPOINTS]: Don't add sim_break_install to array.
2002-11-062002-11-06 Richard Sandiford <rsandifo@redhat.com>Chris Demetriou1-1/+3
* Make-common.in (SIM_EXTRA_DISTCLEAN): New macro. (distclean): Depend on it.
2002-08-292002-08-29 Dave Brolley <brolley@redhat.com>Dave Brolley1-1/+1
* Make-common.in (CGEN_READ_SCM): Remove ../../cgen/stamp-cgen.
2002-07-14From 2002-07-11 Momchil Velikov <velco@fadata.bg>:Andrew Cagney1-0/+1
* Make-common.in (installdirs): Make $(libdir) too, needed when installing libsim.a.
2002-06-09Move include/callback.h and include/remote-sim.h to include/gdb/.Andrew Cagney1-24/+17
Update accordingly.
2001-07-052001-07-05 Ben Elliston <bje@redhat.com>Ben Elliston1-7/+7
* Make-common.in (srccgen): Remove. (CGEN_CPU_DIR): Define. (CGEN_READ_SCM): Redefine without $(srccgen). (CGEN_ARCH_SCM): Ditto. (CGEN_CPU_SCM): Ditto. (CGEN_DECODE_SCM): Ditto. (CGEN_DESC_SCM): Ditto. * $arch/Makefile.in: Use $(CGEN_CPU_DIR) where applicable.
2000-12-27* Make-common.in (sim-io.o): Depend on targ-vals.h.Alexandre Oliva1-1/+1
2000-12-052000-12-05 Ben Elliston <bje@redhat.com>Ben Elliston1-2/+7
* Make-common.in (cgen-defs): New target. (cgen-decode): Pass $(EXTRAFILES).
2000-10-262000-10-26 Ben Elliston <bje@redhat.com>Elena Zannoni1-6/+6
* cgen.sh: Handle an isa argument between cpu and mach. Default to `all'. Pass `-i' options to cgen applications. * Make-common.in (cgen-arch, cgen-cpu, cgen-decode, cgen-cpu-decode, cgen-desc): Pass $(isa) to cgen.sh.
2000-08-21* Contribute CGEN simulator build support code.Frank Ch. Eigler1-0/+52
* Patch was posted by bje@redhat.com.
1999-09-22import gdb-1999-09-21Jason Molenda1-1/+0
1999-09-09import gdb-1999-09-08 snapshotStan Shebs1-2/+11
1999-07-05import gdb-1999-07-05 snapshotJason Molenda1-1/+8
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1-0/+642
1999-04-16Initial creation of sourceware repositoryStan Shebs1-698/+0
1998-12-05 * cgen-defs.h: New file, old cgen-sim.h.Doug Evans1-4/+10
* cgen-sim.h: Simple header that includes others. * sim-arange.c: New file. * sim-arange.h: New file. * sim-basics.h: Include it. * Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-arange.o. (sim-arange.o): Add rule for. * sim-cpu.h (sim_cpu_msg_prefix): Add prototype. (sim_io_eprintf_cpu): Add prototype. * sim-inline.h (HAVE_INLINE): Define if GNUC. (INLINE2): New macro. (EXTERN_INLINE): New macro. * sim-module.c (sim_post_argv_init): Initialize cpu backlink before calling module init fns. * sim-profile.h (OPTION_PROFILE_*): Move into enum. (profile_init): New function. (profile_options): New option --profile-range. (profile_option_handler): Handle --profile-range. (profile_print_insn): Qualify address range specific section titles. (profile_print_addr_ranges): New function. (profile_info): Print address ranges if specified. (profile_install): Set profile_init init fn. * sim-profile.h (PROFILE_DATA): New member `range'. * sim-trace.c (trace_init): New function. (trace_options): New option --trace-range. (trace_option_handler): Handle --trace-range. (trace_install): Set trace_init init fn. * sim-trace.h (TRACE_DATA): New member `range'. * sim-utils.c (sim_cpu_msg_prefix): New function. (sim_io_eprintf_cpu): New function. * cgen-engine.h (PC_IN_TRACE_RANGE_P): New macro. (PC_IN_PROFILE_RANGE_P): New macro. * cgen-trace.c (trace_insn_init): Set current_insn to NULL. (trace_insn_fini): New arg abuf. All callers updated. Exit early if trace_insn not called. Check ARGBUF_PROFILE_P before printing cycle counts. * cgen-trace.h (trace_insn_fini): Update prototype. (TRACE_RESULT_P): New macro. (TRACE_INSN_INIT,TRACE_INSN_FINI): New arg abuf. All callers updated. (TRACE_INSN): Check ARGBUF_TRACE_P. (TRACE_EXTRACT,TRACE_RESULT): New arg abuf. All callers updated. * cgen-types.h (SIM_INLINE): Delete. (SIM_HAVE_MODEL,SIM_HAVE_ADDR_RANGE): Define. * cgen-utils.c: Don't include cgen-engine.h * genmloop.sh (@cpu@_fill_argbuf): New function. (@cpu@_fill_argbuf_tp): New function. (@cpu@_emit_before,@cpu@_emit_after): New functions. (@cpu@_pbb_begin): Prefix cti_sc,insn_count with '_'. (SET_CTI_VPC,SET_INSN_COUNT): Update. (@cpu@_pbb_before): Check ARGBUF_PROFILE_P before calling doing profiling. Update call to TRACE_INSN_INIT,TRACE_INSN_FINI. (@cpu@_pbb_after): Check ARGBUF_PROFILE_P before calling doing profiling. Update call to TRACE_INSN_FINI.
1998-11-14* Personal prototype "gx" translation-based JIT engine for M32R.Frank Ch. Eigler1-0/+15
[ChangeLog] start-sanitize-gxsim 1998-11-13 Frank Ch. Eigler <fche@elastic.org> * configure.in: Added "--enable-sim-gx" option. * configure: Regenerated. end-sanitize-gxsim [common/ChangeLog] 1998-11-13 Frank Ch. Eigler <fche@elastic.org> start-sanitize-gxsim * Make-common.im: Build sim-gx.o and sim-gx-run.o. * sim-gx.c: New file: target-independent gx routines. * sim-gx.h: Declarations for gx structs and routines. * sim-gx-run.c: New file: target-independent gx driver. * sim-base.h: Add gx block vector to state struct. end-sanitize-gxsim * aclocal.m4: Add tests for dlopen family.
1998-10-28Unify (well almost) --enable-build-warnings configuration optionAndrew Cagney1-33/+48
across GDB and SIM directories.
1998-06-04Memory corruption problems - hw-event list wasn't correctAndrew Cagney1-3/+9
unlinking/freeing events. Couldn't handle the removal of a hw-event that just been scheduled.
1998-05-25Make hw-main.h the main header file for H/W devices. Like sim-main.hAndrew Cagney1-27/+16
Update dv-*.c Replace *_callback with more correct. *_method. Update dv-*.c
1998-05-25Split out hw-alloc code. Add constructor and destructor for hw-alloc.Andrew Cagney1-0/+7
1998-05-25Split out hw-event code. Clean up interface. Update all users.Andrew Cagney1-0/+7
1998-05-25De-sanitize simulator hw.Andrew Cagney1-8/+0
1998-05-22Only enable H/W on some mips targets.Andrew Cagney1-3/+14
Move common hw-obj to Make-common Pacify GCC
1998-05-15Run ranlib on installed copy of libsim.a.Joyce Janczyn1-1/+2
1998-05-15Install libsim.a $(exec_prefix)/lib/lib[target]-sim.a as part of install-sim.Joyce Janczyn1-16/+21
1998-04-24 * configure: Regenerated to track ../common/aclocal.m4 changes.Tom Tromey1-3/+7
* config.in: Ditto. * acconfig.h: New file. * Make-common.in (top_builddir): New macro. (INTL_LIB): Removed. (INTLLIBS): New macro. (INTLDEPS): Likewise. (LIBDEPS): Use INTLDEPS. (EXTRA_LIBS): Use INTLLIBS. * aclocal.m4 (SIM_AC_COMMON): Call CY_GNU_GETTEXT. (CY_WITH_NLS, CY_GNU_GETTEXT, AM_PATH_PROG_WITH_TEST, AM_LC_MESSAGES): New macros from GNU gettext.
1998-04-22Add intl supportMichael Meissner1-5/+9
1998-04-04Cleanup INLINE support for simulators using common framework.Andrew Cagney1-5/+27
Make IGEN responsible for co-ordinating inlining of generated files. By default, aclocal.m4 disabled all inlining.
1998-03-24 * Make-common.in: Get SHELL from configure.Stu Grossman1-6/+75
* (stamp-tvals sim-inline.c): Use $(SHELL) when invoking move-if-change. Fixes NT native build problem. * Makefile.in (nltvals.def): Use $(SHELL) when invoking move-if-change. Fixes NT native build problem. * configure: Regenerate with autoconf 2.12.1 to fix shell issues for NT native builds.
1998-03-15 * dv-sockser.c, dv-sockser.h: New files.Doug Evans1-1/+10
* Make-common.in (dv-sockser.o): Add rule for. * aclocal.m4: Check for fcntl.h. * config.h: Add HAVE_FCNTL_H. * sim-break.c (remove_breakpoint): Fix thinko. * sim-hload.c (sim_load): Provide default value of SIM_HANDLES_LMA. Use SIM_HANDLES_LMA for lma_p arg to sim_load_file.
1998-02-28Add generic sim-info.c:sim_info() function using module mechanism.Andrew Cagney1-0/+6
Clean up compile probs in mips/vr5400.
1998-02-25 * Make-common.in (check): Run `make check' in testsuite dir.Doug Evans1-20/+18
1998-01-20* aclocal.m4: Recognize --enable-maintainer-mode.Doug Evans1-1/+2
*/configure: Regenerated.
1998-01-20* Make-common.in (cgen-run.o,cgen-scache.o): Delete cgen-scache.h dep.Doug Evans1-4/+2
1998-01-20sanitize keep-cygnus cgen generationDoug Evans1-0/+4
1998-01-19 * Make-common.in (cgen-{arch,cpu,decode}): New targets.Doug Evans1-2/+50
* cgen.sh: New file. * cgen-scache.h: Deleted. * cgen-scache.c: Only compile contents if WITH_SCACHE. (scache_init): Use runtime computed size of SCACHE. (scache_flush): Likewise. * cgen-mem.h (GETIMEMU[QHSD]I): Declare. ([GS]ETT{QI,UQI,HI,UHI,SI,USI,DI,UDI}): Declare. * cgen-sim.h: Scache support moved here. (PC): Redo definition. (ARGBUF,SCACHE,PARALLEL_EXEC): Provide forward decls. (DECODE): Add parallel execution support. Only include semantic label members if using switch. (SWITCH,CASE,BREAK,DEFAULT,ENDSWITCH): Portable computed goto support. (CGEN_CPU): Delete members exec_state, halt_sigrc, halt_jmp_buf. (IADDR,CIA,SEM_ARG,EX_FN_NAME,SEM_FN_NAME,RECORD_IADDR,SEM_ARGBUF, SEM_NEXT_PC,SEM_BRANCH_VIA_{CACHE,ADDR},SEM_NEW_PC_ADDR): Moved here from cgen-types.h. (engine_{stop,run,resume,halt,signal}): Delete decls. * cgen-types.h (CGEN_{XCAT3,CAT3}): Delete. (argbuf,scache): Delete forward decls. (STATE): Delete decl. * cgen-utils.c: Don't include decode.h, mem-ops.h, sem-ops.h. Include cgen-mem.h, cgen-ops.h. (engine_halt,engine_signal): Delete. ({ex,exc,sem,semc}_illegal): Delete. (sim_disassemble_insn): Result of extract fn is in bits. * genmloop.sh: Rewrite.
1997-12-04 * Make-common.in (SIM_ENVIRONMENT): New variable.Doug Evans1-7/+15
(CONFIG_CFLAGS): Add it. * aclocal.m4 (SIM_AC_OPTION_ENVIRONMENT): Handle --enable-sim-environment option. * configure: Regenerated. * sim-config.h (environment support): Rewrite. * sim-config.c (current_environment): Define as enum, unconditionally. (current_alignment): Define unconditionally. (config_environment_to_a): Update. (config_alignment_to_a): Fix type of argument. Define unconditionally. (sim_config): Handle environment and alignment determination unconditionally. Delete sanity checks of current_environment, unnecessary. (print_sim_config): Update. * sim-options.c (STANDARD_OPTIONS enum): Add OPTION_ENVIRONMENT. (standard_options): Add --environment. (standard_option_handler): Likewise.
1997-11-22Clarify meaning of sim_signalled's SIGRC argument. Document that thisAndrew Cagney1-0/+1
isn't possible in sim-reason.c and just return the target SIGRC instead. For simulators that rely on sim-reason.c, replace SIG* with SIM_SIG*. Hack nrun.c so that when it is executed (ARGV[0]) as `step' instead of `run' it single steps the simulator. Allows testing of single step without full GDB.
1997-11-19 * sim-signal.c, sim-signal.h: New files.Doug Evans1-0/+5
* Make-common.in (sim-signal.o): Add rule for. (SIM_NEW_COMMON_OBJS): Add sim-signal.o. * sim-abort.c: Don't include <signal.h>. * sim-basics.h: #include "sim-signal.h". * sim-break.c: Don't include <signal.h>. (sim_handle_breakpoint): Replace SIGTRAP with SIM_SIGTRAP. * sim-core.c: Don't include <signal.h>. (SIGBUS): Delete definition. (sim_core_signal): Replace SIGSEGV,SIGBUS with SIM_SIGSEGV,SIM_SIGBUS. * sim-engine.c: Don't include <signal.h>. (sim_engine_abort): Replace SIGABRT with SIM_SIGABRT. * sim-reason.c (sim_stop_reason): Call sim_signal_to_host. * sim-resume.c: Don't include <signal.h>. (SIGTRAP): Delete definition. (has_stepped): Replace SIGTRAP with SIM_SIGTRAP. * sim-stop.c: Don't include <signal.h>. (control_c_simulation): Replace SIGINT with SIM_SIGINT. * sim-watch.c: Don't include <signal.h>. (handle_watchpoint): Replace SIGINT with SIM_SIGINT.
1997-11-18 * Make-common.in (SIM_NEW_COMMON_OBJS): New variable.Doug Evans1-0/+27
* sim-base.h (CIA_ADDR): Provide default definition.