aboutsummaryrefslogtreecommitdiff
path: root/sim/mips/ChangeLog
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-15 01:09:49 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-16 01:56:22 -0400
commitb80d4475804d5f3c4e9d996229e1569b7b3c8426 (patch)
treefdecb5843c375feecf5bb1c3ac19f9c3ee6b4fa4 /sim/mips/ChangeLog
parent6828a30253e55983b887dcd8f947a4d771aff82b (diff)
downloadgdb-b80d4475804d5f3c4e9d996229e1569b7b3c8426.zip
gdb-b80d4475804d5f3c4e9d996229e1569b7b3c8426.tar.gz
gdb-b80d4475804d5f3c4e9d996229e1569b7b3c8426.tar.bz2
sim: mips: add printf attribute to trace func
This helps catch format errors in code, although they're all clean at this point already.
Diffstat (limited to 'sim/mips/ChangeLog')
-rw-r--r--sim/mips/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog
index c36e01f..c582abc 100644
--- a/sim/mips/ChangeLog
+++ b/sim/mips/ChangeLog
@@ -1,5 +1,10 @@
2021-06-16 Mike Frysinger <vapier@gentoo.org>
+ * interp.c (dotrace): Make comment const.
+ * sim-main.h (dotrace): Likewise. Add ATTRIBUTE_PRINTF.
+
+2021-06-16 Mike Frysinger <vapier@gentoo.org>
+
* interp.c (sim_monitor): Change ap type to address_word*.
(_P, P): New macros. Rewrite dynamic printf logic to use these.