From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 110523 invoked by alias); 27 Sep 2016 23:30:46 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 110508 invoked by uid 89); 27 Sep 2016 23:30:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-oi0-f46.google.com Received: from mail-oi0-f46.google.com (HELO mail-oi0-f46.google.com) (209.85.218.46) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 27 Sep 2016 23:30:35 +0000 Received: by mail-oi0-f46.google.com with SMTP id t83so33882667oie.3 for ; Tue, 27 Sep 2016 16:30:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=J9ibHDpyu9SgfqaxWWA/nIRGxEe2Q8XJc2/8atyueg0=; b=f8Q9nbcqWNTBiCzD2IYvqAEYpsqqp4IjHdzy5tT4GKPF2+Up3KvzyOOgr3XZSFp1Oe 2Ft7HMmYBojSo3ywY3KtPSuEGiE1rEG4Hp06Hw+8fHeKRPIh0DCh6YQYtp/b75rqHFk6 DQy8OVJDjJ1gCdMLJ9EGVnrKSw/Cey5cBzH3O/RiXnKQSo6Bi+Gg4KgxqLo09PfvAxO8 YGjkj3SHc5mtVb/6chOX2EgPJ2taykFeu4sns/c5+9xfBzeHo3dWOUSNm/YpOjMT07PA vSfygfCvIi12bdw3zH8EgXbm4eet+VdhbfKNs9/vz84orOzrdGC+A87+UETEXkQcilOH Yp6A== X-Gm-Message-State: AE9vXwPYS+/L7Ypmh4pDK2ZZk2MgjVSzBVAUf0p1EsNBOg/FJpJbz0FPKOJr4hUXddKo5wOMyTsPB822Zo4RIA== X-Received: by 10.202.82.67 with SMTP id g64mr37294704oib.154.1475019034389; Tue, 27 Sep 2016 16:30:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.197.215 with HTTP; Tue, 27 Sep 2016 16:30:33 -0700 (PDT) In-Reply-To: <1475000192-8789-3-git-send-email-tom@tromey.com> References: <1475000192-8789-1-git-send-email-tom@tromey.com> <1475000192-8789-3-git-send-email-tom@tromey.com> From: Yao Qi Date: Wed, 28 Sep 2016 07:28:00 -0000 Message-ID: Subject: Re: [RFA 2/3] Add missing ATTRIBUTE_NORETURNs To: Tom Tromey Cc: "gdb-patches@sourceware.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2016-09/txt/msg00389.txt.bz2 On Tue, Sep 27, 2016 at 7:16 PM, Tom Tromey 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? --=20 Yao (=E9=BD=90=E5=B0=A7)