This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 2/3] Add missing ATTRIBUTE_NORETURNs
On Tue, Sep 27, 2016 at 7:16 PM, Tom Tromey <tom@tromey.com> wrote:
> /* Wrapper to throw MAX_COMPLETIONS_REACHED_ERROR. */
>
> -extern void throw_max_completions_reached_error (void);
> +extern void throw_max_completions_reached_error (void)
> + ATTRIBUTE_NORETURN;
>
Don't we need to also add ATTRIBUTE_NORETURN to the definition of
throw_max_completions_reached_error?
--
Yao (齐尧)