From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 52532 invoked by alias); 18 Jan 2016 15:05:19 -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 52518 invoked by uid 89); 18 Jan 2016 15:05:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-pf0-f178.google.com Received: from mail-pf0-f178.google.com (HELO mail-pf0-f178.google.com) (209.85.192.178) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 18 Jan 2016 15:05:17 +0000 Received: by mail-pf0-f178.google.com with SMTP id e65so159523004pfe.0 for ; Mon, 18 Jan 2016 07:05:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type :content-transfer-encoding; bh=xffY0DyPf7XgQq225CvLYDOP5sQpi49cjBalruMMooY=; b=Zj+MWzu1QrL8/qD3VM/K6stnak2gSgPAx7VWQF+Qblvwi28TC3btH7I8A2wztUHQxc DhcK/Qi+j5cIJGOU6E4ReBDRLIyodUg5YUp1LMp1oDiZpq9qqNGBVDxJdap5h1I7Inyz d/4Sq8IbJrLrKmjz1TQLOg+/o//RrBZ7c82ReOmzj49IGeXilto3PS+u7YaFdwYwUIkG CtMyu47UrhAbxQPoiokfFl1I+NXHlVawH6QZKNUaXeUkGKOJ34SPnPOEapHrTgDsW8iN GOK6mxz0J+FBx15msRA4tRORyJjloFitjcQm78Vsatx8dOOMmra409STCS9aw7tVSNnv tYyw== X-Gm-Message-State: ALoCoQmfGkKnLIyqvT4Tmc1moM2z7/G0Lx6Lyv3MKO+qNC+qjpiHNdgUihfTTFxCGTiy5ReYI4chIrj/IKJtITNmbkaJflz7sg== X-Received: by 10.98.32.25 with SMTP id g25mr37173562pfg.20.1453129515985; Mon, 18 Jan 2016 07:05:15 -0800 (PST) Received: from E107787-LIN (gcc1-power7.osuosl.org. [140.211.15.137]) by smtp.gmail.com with ESMTPSA id h87sm34707399pfd.33.2016.01.18.07.05.13 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Mon, 18 Jan 2016 07:05:15 -0800 (PST) From: Yao Qi To: Yao Qi Cc: gdb-patches@sourceware.org Subject: Re: [PATCH] Replace some $ARCH_{get,set}_pc with linux_{get,set}_pc_32bit References: <1452503511-21249-1-git-send-email-yao.qi@linaro.org> Date: Mon, 18 Jan 2016 15:05:00 -0000 In-Reply-To: <1452503511-21249-1-git-send-email-yao.qi@linaro.org> (Yao Qi's message of "Mon, 11 Jan 2016 09:11:51 +0000") Message-ID: <868u3nszbv.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: 2016-01/txt/msg00380.txt.bz2 Yao Qi writes: > This patch adds a pair of new functions linux_get_pc_32bit and > linux_set_pc_32bit which get and set 32-bit register "pc" from > regcache. This function can be used some targets and these own > $ARCH_{get,set}_pc are replaced by linux_{get,set}_pc_32bit > respectively. > > This patch touches many targets, but I only have arm board to > test and no regression. I also rebuilt nios2-linux GDBserver. > If it is right to go, I'll post the 64-bit counterpart later. I pushed these two patches in. --=20 Yao (=E9=BD=90=E5=B0=A7)