From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1234 invoked by alias); 13 Feb 2017 03:58:32 -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 1097 invoked by uid 89); 13 Feb 2017 03:58:31 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=target.h, targeth, UD:target.h, timwiederhakeintelcom X-HELO: mail-pg0-f68.google.com Received: from mail-pg0-f68.google.com (HELO mail-pg0-f68.google.com) (74.125.83.68) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 13 Feb 2017 03:58:29 +0000 Received: by mail-pg0-f68.google.com with SMTP id 204so8629417pge.2 for ; Sun, 12 Feb 2017 19:58:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=77ciZMgDslxtcX7qHn/wunVjCCUBfjPbWgizUsJzIpw=; b=sFjNXiTvDEQLxEqj6RySUYbXP44pqS1BveGa6U4tlESp490uruZo3Syi5p1FMXR7xs cZgCIo/vHtOolxo1fVW3Mk+pfLGHnKiO6cyQr01BLke+OoSNuwheqvfRq8X70v4W385z OD7lxSVN+wXw/Nc2EQ9m7tQ8m0ofjl32uxjBljv0FWOvsJLHVxChtUZ18oruHY3nFl2d 2joce/8pOpUDYNa8npfIKH+Ro8llGbwrXtv/HyHC10WJ4cpdS2LPgBCVen94hHCvjGoI ErE42IznVfVXwmY1sKQz6VSIoAasAjy+aVdMTtu2K/aeex5tc5no9p2UjI/QwbQ0/sFf lAoA== X-Gm-Message-State: AMke39mvgIfxv6c3U7xdrfRkVbCWsbHGj2nufbpX4oy0In3iQwmdNk5ZWiDWAOCaeucpCg== X-Received: by 10.98.214.73 with SMTP id r70mr23664308pfg.89.1486958308683; Sun, 12 Feb 2017 19:58:28 -0800 (PST) Received: from seba.sebabeach.org.gmail.com (173-13-178-53-sfba.hfc.comcastbusiness.net. [173.13.178.53]) by smtp.gmail.com with ESMTPSA id e4sm17375742pgc.45.2017.02.12.19.58.27 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 12 Feb 2017 19:58:28 -0800 (PST) From: Doug Evans To: Tim Wiederhake Cc: gdb-patches@sourceware.org, markus.t.metzger@intel.com, palves@redhat.com Subject: Re: [PATCH v5 5/9] Add method to query current recording method to target_ops. References: <1485527996-32506-1-git-send-email-tim.wiederhake@intel.com> <1485527996-32506-6-git-send-email-tim.wiederhake@intel.com> Date: Mon, 13 Feb 2017 03:58:00 -0000 In-Reply-To: <1485527996-32506-6-git-send-email-tim.wiederhake@intel.com> (Tim Wiederhake's message of "Fri, 27 Jan 2017 15:39:52 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2017-02/txt/msg00316.txt.bz2 Tim Wiederhake writes: > 2017-01-27 Tim Wiederhake > > gdb/ChangeLog > > * record-btrace.c (record_btrace_record_method): New function. > (init_record_btrace_ops): Initialize to_record_method. > * record-full.c (record_full_record_method): New function. > (init_record_full_ops, init_record_full_core_ops): Add > record_full_record_method. > * record.h (enum record_method): New enum. > * target-debug.h (target_debug_print_enum_record_method: New define. > * target-delegates.c: Regenerate. > * target.c (target_record_method): New function. > * target.h: Include record.h. > (struct target_ops) : New field. > (target_record_method): New export. LGTM