aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/interrupts.c
AgeCommit message (Collapse)AuthorFilesLines
2022-10-12sim/ppc: fixes for arguments to printf style functionsAndrew Burgess1-1/+1
After the recent series of fixes to mark more functions in the simulator with ATTRIBUTE_PRINTF, there were some build failures in the ppc sim due, in some cases, to bugs with the arguments being passed, and in other cases, the issues were (maybe) less serious, with arguments being the wrong size, or type, for the printf format being used. This commit fixes all of the issues that I ran into. In each case I selected the easiest solution to the problem, which is usually just casting the argument to the correct type. If anyone later on thinks the print format should change, please feel free to do that. What we have here should keep the simulator basically working as it does currently, which is my goal with this commit.
2021-05-15sim: ppc: clean up various warningsMike Frysinger1-1/+1
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.
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.
2003-06-222003-06-21 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-2/+2
* interrupts.c: Update copyright. (external_interrupt): Fix test for already pending interrupt. Problem found by Joshua LeVasseur.
2000-04-28Cleanup tracing.Andrew Cagney1-1/+1
1999-04-26import gdb-19990422 snapshotStan Shebs1-5/+1
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1-0/+545
1999-04-16Initial creation of sourceware repositoryStan Shebs1-408/+0
1995-12-15Changes from AndrewMichael Meissner1-26/+21
1995-11-02Andrew's latest changes & print all instruction counts if -IMichael Meissner1-0/+413