summaryrefslogtreecommitdiff
path: root/sim/common/sim-config.h
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year range in all GDB filesJoel Brobecker2018-01-021-1/+1
| | | | | | gdb/ChangeLog: Update copyright year range in all GDB files
* update copyright year range in GDB filesJoel Brobecker2017-01-011-1/+1
| | | | | | | | | This applies the second part of GDB's End of Year Procedure, which updates the copyright year range in all of GDB's files. gdb/ChangeLog: Update copyright year range in all GDB files.
* sim: move many common settings from CPPFLAGS to config.hMike Frysinger2016-01-101-52/+0
| | | | | | | | | Rather than stuffing the command line with a bunch of -D flags, start moving things to config.h which is managed by autoheader. This makes the makefile a bit simpler and the build output tighter, and it makes the migration to automake easier as there are fewer vars to juggle. We'll want to move the other options out too, but it'll take more work.
* sim: drop --enable-sim-{regparm,stdcall} optionsMike Frysinger2016-01-101-14/+0
| | | | | | | These options were never exposed for most sims (just the ppc one), and they are really only useful on 32-bit x86 systems. Considering modern systems tend to be 64-bit x86_64 and how well modern compilers are at optimizing code, these have outlived their usefulness.
* sim: punt x86-specific bswap logicMike Frysinger2016-01-041-17/+1
| | | | | | | The compiler/C library should produce reasonable code for htonl/ntohl, and at least glibc tries pretty hard to always produce good code for them. This logic only had support for 32-bit x86 systems anymore, and it's unlikely people were even opting into this, so drop it all.
* sim: drop host endian configure optionMike Frysinger2016-01-031-18/+9
| | | | | | | The --enable-sim-hostendian flag was purely so people had an escape route for when cross-compiling. This is because historically, AC_C_BIGENDIAN did not work in those cases. That was fixed a while ago though, so we can require that macro everywhere now and simplify a good bit of code.
* sim: convert to bfd_endianMike Frysinger2016-01-031-176/+14
| | | | | | | Rather than re-invent endian defines, as well as maintain our own list of OS & arch-specific includes, punt all that logic in favor of the bfd ones already set up and maintained elsewhere. We already rely on the bfd library, so leveraging the endian aspect should be fine.
* GDB copyright headers update after running GDB's copyright.py script.Joel Brobecker2016-01-011-1/+1
| | | | | | gdb/ChangeLog: Update year range in copyright notice of all files.
* sim: drop WITH_ENGINE defineMike Frysinger2015-12-251-13/+0
| | | | | We enable this everywhere already, and all new ports should use the engine logic, so no point in making it an option to disable.
* sim: sim-model: build for everyoneMike Frysinger2015-12-251-4/+0
| | | | | | | | | | | | | | | Rather than include this for some targets, set it up so we can build it all the time via the common code. This makes it easier for targets to opt into it when they're ready, increases build coverage, and allows us to centralize much of the logic. We also get to delete tconfig.h from two more targets -- they were setting WITH_DEVICES to 0 which has the same behavior as not defining it at all. While the SIM_HAVE_MODEL knob is gone, we now have WITH_MODEL_P, but it is only used by the common sim-model code. We use it to declare dummy model lists when the arch hasn't created its own.
* sim: always enable callback memoryMike Frysinger2015-12-251-5/+0
| | | | | | We enable WITH_CALLBACK_MEMORY everywhere and don't provide a way to turn it off, and no target does so. Make it unconditional for all to keep things simple.
* sim: always enable modulo memoryMike Frysinger2015-11-171-4/+0
| | | | | | | | Having this be a config option doesn't make sense: the code size is pretty much the same (as all the logic is still active), and if it's disabled, the sim throws an error if you try to use it. That means we can't break sims that weren't using it before by enabling it all the time.
* sim: trace: do not enable internal debug by defaultMike Frysinger2015-06-231-2/+2
| | | | | | Since --trace-debug is for people hacking on the sim sources rather than people just using the sim, default it to off. This matches the behavior of other debug knobs we have.
* sim: update configure.in->configure.ac docsMike Frysinger2015-06-121-1/+1
| | | | A few places still refer to the configure.in file; update them.
* Update year range in copyright notice of all files owned by the GDB project.Joel Brobecker2015-01-011-1/+1
| | | | | | gdb/ChangeLog: Update year range in copyright notice of all files.
* Update Copyright year range in all files maintained by GDB.Joel Brobecker2014-01-011-1/+1
|
* Update years in copyright notice for the GDB files.Joel Brobecker2013-01-011-1/+1
| | | | | | | Two modifications: 1. The addition of 2013 to the copyright year range for every file; 2. The use of a single year range, instead of potentially multiple year ranges, as approved by the FSF.
* Copyright year update in most files of the GDB Project.Joel Brobecker2012-01-041-2/+1
| | | | | | gdb/ChangeLog: Copyright year update in most files of the GDB Project.
* run copyright.sh for 2011.Joel Brobecker2011-01-011-1/+2
|
* Update copyright notices to add year 2010.Joel Brobecker2010-01-011-1/+1
|
* Update the copyright notice of some of the files I missedJoel Brobecker2009-01-141-1/+1
| | | | in the previous copyright update.
* Updated copyright notices for most files.Daniel Jacobowitz2008-01-011-1/+1
|
* Switch the license of all files explicitly copyright the FSFJoel Brobecker2007-08-241-4/+2
| | | | to GPLv3.
* Copyright updates for 2007.Daniel Jacobowitz2007-01-091-1/+1
|
* * run.1: Document --sysroot=filepath.Hans-Peter Nilsson2004-12-081-1/+4
| | | | | | | | | | | | | * sim-options.c (STANDARD_OPTIONS): New member OPTION_SYSROOT. (standard_options): Support --sysroot=<path>. (standard_option_handler): Handle OPTION_SYSROOT. * syscall.c (simulator_sysroot): Define, initialized empty. (get_path): Prepend simulator_sysroot to absolute file path. [HAVE_STRING_H]: Include string.h. [!HAVE_STRING_H && HAVE_STRINGS_H]: Include strings.h. * nrun.c [HAVE_UNISTD_H]: Include unistd.h. (main): If simulator_sysroot is not empty, chdir there. * sim-config.h (simulator_sysroot): Declare.
* 2002-11-22 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-231-19/+22
| | | | | | | | | | | | | * dv-core.c: Update copyright. sim/common contributed to the FSF. * dv-glue.c, dv-pal.c, hw-base.c, hw-base.h, hw-device.c: Ditto. * hw-device.h, hw-handles.c, hw-handles.h: Ditto. * hw-instances.c, hw-instances.h, hw-properties.c: Ditto. * hw-properties.h, hw-tree.c, hw-tree.h, sim-alu.h: Ditto. * sim-basics.h, sim-bits.c, sim-bits.h, sim-config.c: Ditto. * sim-config.h, sim-core.c, sim-core.h, sim-endian.c: Ditto. * sim-endian.h, sim-events.c, sim-events.h, sim-inline.c: Ditto. * sim-inline.h, sim-io.c, sim-io.h, sim-n-bits.h: Ditto. * sim-n-core.h, sim-n-endian.h, sim-types.h: Ditto.
* Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1999-04-161-0/+594
|
* Initial creation of sourceware repositoryStan Shebs1999-04-161-590/+0
|
* Add config support for the size of the target address and OF cell.Andrew Cagney1998-01-311-9/+18
|
* * Make-common.in (SIM_ENVIRONMENT): New variable.Doug Evans1997-12-041-12/+33
| | | | | | | | | | | | | | | | | | | (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.
* Add support for --enable-sim-alignment to simulator common aclocal.m4Andrew Cagney1997-09-221-11/+16
| | | | | | Add support for --alignment={strict,nonstrict,forced} to simulator common run-time options. For v850 use, make the default NONSTRICT_ALIGNMENT.
* Add ABFD argument to sim_create_inferior. Document.Andrew Cagney1997-08-271-2/+1
| | | | | | 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.
* Add ABFD argument to sim_open call. Pass through to sim_config soAndrew Cagney1997-08-251-46/+60
| | | | | | | | | | 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.
* * sim-config.h (WITH_DEBUG): Provide default value of zero.David Edelsohn1997-04-171-1/+7
|
* Get the BIT/MASK/ROT/... macros to work with any 32/64/MSB0/MSBn target.Andrew Cagney1997-04-151-0/+197
|
* New file common/sim-config.c sets/checks simulator configuration options.Andrew Cagney1997-04-021-0/+339
Update common/aclocal.m4 to better work with sim-config.[hc].