From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18974 invoked by alias); 3 Oct 2017 11:17:00 -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 18950 invoked by uid 89); 3 Oct 2017 11:16:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=H*r:sk:clients, H*r:sk:static. X-HELO: mail-wr0-f172.google.com Received: from mail-wr0-f172.google.com (HELO mail-wr0-f172.google.com) (209.85.128.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 03 Oct 2017 11:16:58 +0000 Received: by mail-wr0-f172.google.com with SMTP id l24so3133509wre.1 for ; Tue, 03 Oct 2017 04:16:58 -0700 (PDT) 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:content-transfer-encoding; bh=dnsghnWTQL38o93LdVy8wfvtvMl+28diN++rufvDmok=; b=eKSQ6IpR/+nQNLuOhtRbMMB6SWeJwF9sXBGY/UALzL8Xmo6oWEeFzM6p9ImR2jOVvC whvQCQPKGzQB9/9WjEwkoNHjqZtUVWkcyNHDcxOfBiyxHQZNCbvpUp/U8YpbgUE8aQEm DEvFMvwxFD8eScX0e83XUw456dSgrpz4mrxiw7coHbaSxWgkgn6AQvBD3osvGE3/mx5z AJyTnYFqLqvnZbT0u58+pDAAq6fGLB1cpVogbEjLThjBGw9lQT0oazaGDLtw5/0DcplO G/a6jpvHOmo0RxVxBJReGw7BtkwhY5qu3CsLePxnEcFN9Il8gSgGKapHOUTCWc8FQ/QK +RXA== X-Gm-Message-State: AHPjjUhVptVwpXFvZm3xBkfOifFGUEXbHedxQBkepS/rtirgHVBLGXiI sjfAR0LEVinKqukTvPcdGLi+Tg== X-Google-Smtp-Source: AOwi7QCjdgp07V+cv8sVN/AW3pKdn68flA5pnBcIe8H/TJzAEclJVzMo2zYTF3jWZKjlcv/GRq+EEA== X-Received: by 10.223.156.203 with SMTP id h11mr16090824wre.178.1507029416476; Tue, 03 Oct 2017 04:16:56 -0700 (PDT) Received: from E107787-LIN (static.42.136.251.148.clients.your-server.de. [148.251.136.42]) by smtp.gmail.com with ESMTPSA id e134sm11814902wma.31.2017.10.03.04.16.55 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Tue, 03 Oct 2017 04:16:56 -0700 (PDT) From: Yao Qi To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: [PATCH 2/3] Reimplement support for "maint print registers" with no running inferior yet References: <1506957311-30028-1-git-send-email-palves@redhat.com> <1506957311-30028-3-git-send-email-palves@redhat.com> Date: Tue, 03 Oct 2017 11:17:00 -0000 In-Reply-To: <1506957311-30028-3-git-send-email-palves@redhat.com> (Pedro Alves's message of "Mon, 2 Oct 2017 16:15:10 +0100") Message-ID: <86fub07a6x.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2017-10/txt/msg00032.txt.bz2 Pedro Alves writes: > gdb/ChangeLog: > 2017-10-02 Pedro Alves > > * regcache.c (get_thread_arch_regcache): Remove null_ptid special > case. > (regcache_print): Handle !target_has_registers here instead. Patch is good to me. --=20 Yao (=E9=BD=90=E5=B0=A7)