aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/debug.c
AgeCommit message (Collapse)AuthorFilesLines
2021-09-08sim: ppc: align format string settings with common codeMike Frysinger1-1/+1
This copies logic used in the common sim warning configure code to fix build errors for mingw targets. Turning format warnings on triggers a failure in the debug.c file, so apply a minor fix at the same time.
2021-05-16sim: switch config.h usage to defs.hMike Frysinger1-1/+3
The defs.h header will take care of including the various config.h headers. For now, it's just config.h, but we'll add more when we integrate gnulib in. This header should be used instead of config.h, and should be the first include in every .c file. We won't rely on the old behavior where we expected files to include the port's sim-main.h which then includes the common sim-basics.h which then includes config.h. We have a ton of code that includes things before sim-main.h, and it sometimes needs to be that way. Creating a dedicated header avoids the ordering mess and implicit inclusion that shows up otherwise.
2021-01-11sim: clean up C11 header includesMike Frysinger1-4/+0
Since we require C11 now, we can assume many headers exist, and clean up all of the conditional includes. It's not like any of this code actually accounted for the headers not existing, just whether we could include them. The strings.h cleanup is a little nuanced: it isn't in C11, but every use of it in the codebase will include strings.h only if string.h doesn't exist. Since we now assume the C11 string.h exists, we'll never include strings.h, so we can delete it.
2012-12-19[sim] Update old contact info in GPL license noticesJoel Brobecker1-2/+1
sim/ChangeLog: Update old contact info in GPL license notices.
2012-12-19Update sim copyright headers from GPLv2-or-later to GPLv3-or-later.Joel Brobecker1-1/+1
gdb/sim/ChangeLog: Update the non-FSF-copyrighted files in sim to GPLv3 or later.
2008-11-182008-11-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-0/+5
* configure: Regenerated. * configure.ac: Add test for System V shared memory and semaphore. * debug.c, debug.h: Add trace support for new devices. * hw_sem.c, hw_shm.c: New files. * Makefile.in: Add hw_sem.c and hw_shm.c.
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1-0/+153
1999-04-16Initial creation of sourceware repositoryStan Shebs1-120/+0
1995-11-16more functional unit changesMichael Meissner1-0/+2
1995-11-08first stage in function unit support; add new switches & latest code from andrewMichael Meissner1-1/+2
1995-11-02Use autoconf correctly; provide more stats with -IMichael Meissner1-0/+3
1995-11-02Andrew's latest changes & print all instruction counts if -IMichael Meissner1-0/+114