This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] sim: add noreturn markings to more hw abort/halt funcs


On Sat, Jan 8, 2011 at 6:14 PM, Mike Frysinger <vapier@gentoo.org> wrote:
> 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>
>
> 2010-01-08 ?Mike Frysinger ?<vapier@gentoo.org>
>
> ? ? ? ?* hw-device.h (hw_abort, hw_vabort, hw_halt): Add noreturn attribute.
> ? ? ? ?* sim-hw.h (sim_hw_abort): Likewise.

This is ok.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]