From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 122000 invoked by alias); 26 Sep 2019 14:06:20 -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 121987 invoked by uid 89); 26 Sep 2019 14:06:20 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-11.9 required=5.0 tests=BAYES_00,GIT_PATCH_2,GIT_PATCH_3 autolearn=ham version=3.3.1 spammy=HX-Received:e485, tasks X-HELO: us-smtp-delivery-1.mimecast.com Received: from us-smtp-2.mimecast.com (HELO us-smtp-delivery-1.mimecast.com) (205.139.110.61) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 26 Sep 2019 14:06:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1569506777; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LQAQrTvNkbg+huuxbo8e7tufPeutbA3VI41VL4lHgzQ=; b=Us0C78cUEOAm8T6wbUZRoBsQ1/4YMBzysoCVJDfxdigC2BrYily92O6JFw7BFbKnLKvE3q zcMcXbx8+cZAbv2m25BEIu2eshq1sDI+xrLrSIB3euWg09XBVNEbV/rSHK5zVNJfxjia8Y pxTXgs08o6na70M7b26JGjCVV8FOpkY= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-190-NjYfyJYENKGhXyHdgXBceQ-1; Thu, 26 Sep 2019 10:06:15 -0400 Received: by mail-wm1-f72.google.com with SMTP id l3so1227480wmf.8 for ; Thu, 26 Sep 2019 07:06:15 -0700 (PDT) Return-Path: Received: from ?IPv6:2001:8a0:f913:f700:56ee:75ff:fe8d:232b? ([2001:8a0:f913:f700:56ee:75ff:fe8d:232b]) by smtp.gmail.com with ESMTPSA id d193sm5824794wmd.0.2019.09.26.07.06.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 26 Sep 2019 07:06:13 -0700 (PDT) Subject: Re: [RFC 10/17] Move event-loop.[ch] to common/ To: Tom Tromey , gdb-patches@sourceware.org References: <20190224165153.5062-1-tom@tromey.com> <20190224165153.5062-11-tom@tromey.com> From: Pedro Alves Message-ID: Date: Thu, 26 Sep 2019 14:06:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20190224165153.5062-11-tom@tromey.com> X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2019-09/txt/msg00525.txt.bz2 On 2/24/19 4:51 PM, Tom Tromey wrote: > --- a/gdb/event-loop.h > +++ b/gdb/common/event-loop.h > @@ -70,6 +70,8 @@ >=20=20 > Corollary tasks are the creation and deletion of event sources. */ >=20=20 > +#include "common/function-view.h" > + Is this needed here? > typedef void *gdb_client_data; > typedef void (handler_func) (int, gdb_client_data); > typedef void (timer_handler_func) (gdb_client_data); Thanks, Pedro Alves