From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4144 invoked by alias); 28 Apr 2015 11:18:11 -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 4131 invoked by uid 89); 28 Apr 2015 11:18:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pd0-f182.google.com Received: from mail-pd0-f182.google.com (HELO mail-pd0-f182.google.com) (209.85.192.182) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 28 Apr 2015 11:18:09 +0000 Received: by pdea3 with SMTP id a3so161054196pde.3 for ; Tue, 28 Apr 2015 04:18:08 -0700 (PDT) X-Received: by 10.68.104.66 with SMTP id gc2mr30992814pbb.29.1430219887962; Tue, 28 Apr 2015 04:18:07 -0700 (PDT) Received: from E107787-LIN (gcc1-power7.osuosl.org. [140.211.15.137]) by mx.google.com with ESMTPSA id ia3sm22096148pbc.31.2015.04.28.04.18.06 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 28 Apr 2015 04:18:07 -0700 (PDT) From: Yao Qi To: Sandra Loosemore Cc: Subject: Re: [patch 2/3, nios2] use PTRACE_GETREGSET/SETREGSET in gdbserver References: <55393E8C.8090804@codesourcery.com> <55393FFE.80009@codesourcery.com> Date: Tue, 28 Apr 2015 11:29:00 -0000 In-Reply-To: <55393FFE.80009@codesourcery.com> (Sandra Loosemore's message of "Thu, 23 Apr 2015 12:54:54 -0600") Message-ID: <86a8xswlg3.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: 2015-04/txt/msg01035.txt.bz2 Sandra Loosemore writes: > When glibc support for nios2 was submitted upstream, we were asked to > change the ptrace register query interface from > PTRACE_GETREGS/PTRACE_SETREGS to > PTRACE_GETREGSET/PTRACE_SETREGSET. This patch makes the corresponding > change to gdbserver (there is no native GDB support for this target > yet). Hi Sandra, Could you show me the discussion archive about ptrace interface change request? > > diff --git a/gdb/gdbserver/linux-nios2-low.c b/gdb/gdbserver/linux-nios2-= low.c > index e2fbb89..7bd3c97 100644 > --- a/gdb/gdbserver/linux-nios2-low.c > +++ b/gdb/gdbserver/linux-nios2-low.c > @@ -21,6 +21,7 @@ >=20=20 > #include "server.h" > #include "linux-low.h" > +#include "elf/common.h" The new include should be mentioned in the ChangeLog entry. --=20 Yao (=E9=BD=90=E5=B0=A7)