This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/sim/common ChangeLog hw-device.h sim-hw.h
- From: vapier at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 10 Jan 2011 21:52:08 -0000
- Subject: src/sim/common ChangeLog hw-device.h sim-hw.h
CVSROOT: /cvs/src
Module name: src
Changes by: vapier@sourceware.org 2011-01-10 21:52:08
Modified files:
sim/common : ChangeLog hw-device.h sim-hw.h
Log message:
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>
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/ChangeLog.diff?cvsroot=src&r1=1.230&r2=1.231
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/hw-device.h.diff?cvsroot=src&r1=1.9&r2=1.10
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/sim-hw.h.diff?cvsroot=src&r1=1.7&r2=1.8