aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/device.c
AgeCommit message (Collapse)AuthorFilesLines
2022-01-06sim: ppc: migrate to standard uintXX_t typesMike Frysinger1-3/+3
Drop the sim-specific unsignedXX types and move to the standard uintXX_t types that C11 provides.
2021-10-31sim: ppc: clean up printf format handlingMike Frysinger1-8/+8
Don't blindly cast every possible type to (long). Change to the right printf format specifier whether it be a 64-bit type or a pointer.
2021-09-09sim: ppc: enable use of gnulibMike Frysinger1-0/+3
All other sim arches are using this now, so finish up the logic in the ppc arch to enable gnulib usage here too.
2021-05-15sim: ppc: clean up various warningsMike Frysinger1-9/+3
A random grab bag of minor fixes to enable -Werror for this port. Cast address vars to long when the format was using %l. Use %zu with sizeof operations. Add const to a bunch of strings. Trim unused variables. Fix sizeof call to calculate target storage and not the pointer itself.
2021-01-11sim: clean up C11 header includesMike Frysinger1-10/+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.
2014-08-27psim: Correct spelling in comments.Joel Sherrill1-1/+1
2014-08-27 Joel Sherrill <joel.sherrill@oarcorp.com> * basics.h, device.c, device.h, hw_htab.c, hw_memory.c: Correct spelling in comments.
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.
2011-02-14sim: punt zfree()Mike Frysinger1-12/+12
The sim keeps track of which allocations are zero-ed internally (via zalloc) and then calls a helper "zfree" function rather than "free". But this "zfree" function simply calls "free" itself. Since I can see no point in this and it is simply useless overhead, punt it. The only real change is in hw-alloc.c where we remove the zalloc_p tracking, and sim-utils.c where zfree is delete. The rest of the changes are a simple `sed` from "zfree" to "free". Signed-off-by: Mike Frysinger <vapier@gentoo.org>
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1-0/+1998
1999-04-16Initial creation of sourceware repositoryStan Shebs1-2051/+0
1997-01-27January 23rd mergeMichael Meissner1-1050/+1132
1996-07-23New simulator changes from AndrewMichael Meissner1-860/+1599
1996-01-08Latest cagney updateMichael Meissner1-62/+137
1995-12-15Changes from AndrewMichael Meissner1-0/+1155