aboutsummaryrefslogtreecommitdiff
path: root/sim/common/ChangeLog
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-01-10 21:52:08 +0000
committerMike Frysinger <vapier@gentoo.org>2011-01-10 21:52:08 +0000
commit5f78776ab10ca691df6a39760795257e30121be5 (patch)
treeaf17830010a40e221de6a5cfe825c1931ed96bbe /sim/common/ChangeLog
parent0df8b4180acb4890d058c92753dafcd4ff0a87d1 (diff)
downloadgdb-5f78776ab10ca691df6a39760795257e30121be5.zip
gdb-5f78776ab10ca691df6a39760795257e30121be5.tar.gz
gdb-5f78776ab10ca691df6a39760795257e30121be5.tar.bz2
sim: add noreturn markings to more hw abort/halt funcs
These functions either call abort() themselves, or call functions which are already marked noreturn. Either way, they don't return, so mark them as such so calling code can assume this. This fixes some uninitialized warnings due to code paths that end in an abort function. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sim/common/ChangeLog')
-rw-r--r--sim/common/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index ea0ce20..04ea93b 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,8 @@
+2010-01-10 Mike Frysinger <vapier@gentoo.org>
+
+ * hw-device.h (hw_abort, hw_vabort, hw_halt): Add noreturn attribute.
+ * sim-hw.h (sim_hw_abort): Likewise.
+
2011-01-05 Mike Frysinger <vapier@gentoo.org>
* sim-load.c (sim_load_file): Change buffer type to unsigned char *.