summaryrefslogtreecommitdiff
path: root/sim/testsuite/common
Commit message (Collapse)AuthorAgeFilesLines
* sim: testsuite: migrate to standard uintXX_t typesMike Frysinger2022-01-064-19/+19
| | | | | This old code setup its own uintXX types, but since we require C11 now, we can assume the standard uintXX_t types exist and use them.
* Automatic Copyright Year update after running gdb/copyright.pyJoel Brobecker2022-01-012-2/+2
| | | | | | | | This commit brings all the changes made by running gdb/copyright.py as per GDB's Start of New Year Procedure. For the avoidance of doubt, all changes in this commits were performed by the script.
* sim: use ## for automake commentsMike Frysinger2021-12-091-14/+14
| | | | | | The ## marker tells automake to not include the comment in its generated output, so use that in most places where the comment only makes sense in the inputs.
* sim: testsuite: fix bits-gen EXEEXT handlingMike Frysinger2021-11-261-4/+4
| | | | | | Add missing $(EXEEXT) to dependencies on bits-gen. These are actually build-only tools, but automake doesn't allow for build & host tools, so the rules are re-using EXEEXT.
* sim: enable silent rules in common buildsMike Frysinger2021-06-141-12/+12
| | | | We only do the common code as automake simplifies the logic.
* sim: Add bfd include path for common testsuite toolsDimitar Dimitrov2021-05-071-1/+2
| | | | | | | | | | | | On a host without installed libbfd, this patch fixes the following "make check-sim" errors for both pru cross target, and native x86_64: In file included from ../../../binutils/sim/common/sim-basics.h:131, from testsuite/common/bits32m0.c:13:../../../binutils/sim/../include/gdb/callback.h:55:10: fatal error: bfd.h: No such file or directory 55 | #include "bfd.h" | ^~~~~~~ Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
* sim: testsuite: integrate common tests into buildMike Frysinger2021-04-032-53/+84
| | | | | | Now that we have the common automake build with support for build-time programs working, we can integrate the common tests into the default `make check` flow.
* sim: tests: get common tests working againMike Frysinger2021-01-113-40/+31
| | | | | | | | | | | | | | These were written with 32-bit host assumptions baked into it. Simplify the printf formats to use ll length modifier as it's in C11 rather than trying to manually break it up into two, and cleanup some of the casts to stop assuming sizeof(long) is the same as sizeof(int). We also have to add a few more includes for the various funcs used in here. The tests aren't compiled automatically still. We can figure that out later with more work.
* sim: testsuite: delete unused Make-common.in fileMike Frysinger2021-01-051-90/+0
| | | | | This seems like it was meant to unify arch test Makefiles, but that never happened, and we've instead unified using dejagnu.
* Update copyright year range in all GDB filesJoel Brobecker2021-01-011-1/+1
| | | | | | | | | This commits the result of running gdb/copyright.py as per our Start of New Year procedure... gdb/ChangeLog Update copyright year range in copyright header of all GDB files.
* Update copyright year range in all GDB files.Joel Brobecker2020-01-011-1/+1
| | | | | | gdb/ChangeLog: Update copyright year range in all GDB files.
* Update copyright year range in all GDB files.Joel Brobecker2019-01-011-1/+1
| | | | | | | | | | | | | | | | This commit applies all changes made after running the gdb/copyright.py script. Note that one file was flagged by the script, due to an invalid copyright header (gdb/unittests/basic_string_view/element_access/char/empty.cc). As the file was copied from GCC's libstdc++-v3 testsuite, this commit leaves this file untouched for the time being; a patch to fix the header was sent to gcc-patches first. gdb/ChangeLog: Update copyright year range in all GDB files.
* 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: convert to bfd_endianMike Frysinger2016-01-031-1/+1
| | | | | | | 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.
* 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.
* sim: convert old style prototypesMike Frysinger2014-03-041-5/+3
| | | | | Most of these prototypes have been killed off, but we have a few left in the sim tree. Clean them up so we can enable the -W flag for it.
* 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-5/+4
| | | | to GPLv3.
* Copyright updates for 2007.Daniel Jacobowitz2007-01-091-1/+1
|
* Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1999-04-167-0/+1772
|
* Initial creation of sourceware repositoryStan Shebs1999-04-168-1456/+0
|
* Add file alu-n-tst.hAndrew Cagney1997-11-251-0/+1
|
* Preliminary tests for sim-alu module.Andrew Cagney1997-10-173-0/+189
|
* Rewrite simulator floating point module. Do not rely on host FPAndrew Cagney1997-10-031-0/+538
| | | | | | | implementation. Add preliminary support for different IEEE-754 rounding modes. Implement SQRT in software. Update TiC80 simulator. Add sim-fpu -> TestFloat interface for testing.
* Do not sanitize out sim/testsuite/common directory.Andrew Cagney1997-09-291-0/+41
|
* Generic rules for building simple simulator test programs.Andrew Cagney1997-09-161-0/+48
|
* More sim-bits testing.Andrew Cagney1997-09-161-4/+36
|
* Check MS* macros from sim/common.Andrew Cagney1997-09-082-0/+574
|
* Get the BIT/MASK/ROT/... macros to work with any 32/64/MSB0/MSBn target.Andrew Cagney1997-04-151-0/+33