From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3663 invoked by alias); 11 Jan 2004 16:19:48 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 3656 invoked from network); 11 Jan 2004 16:19:47 -0000 Received: from unknown (HELO localhost.redhat.com) (65.49.3.48) by sources.redhat.com with SMTP; 11 Jan 2004 16:19:47 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 6CBCD2B8F; Sun, 11 Jan 2004 11:19:27 -0500 (EST) Message-ID: <4001778F.6090609@gnu.org> Date: Sun, 11 Jan 2004 16:19:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 MIME-Version: 1.0 To: Mark Kettenis Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH] Add %cs and %ss for AMD64 References: <200401101254.i0ACsNnq025981@elgar.kettenis.dyndns.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-01/txt/msg00278.txt.bz2 > There were no objections, so I went ahead. You'll need to recompile > gdbserver on GNU/Linux x86-64 if you want to see the correct > floating-point and SSE registers. > > Committed, Mark, can add something to the NEWS file? It's a user visible change. Andrew > Index: ChangeLog > from Mark Kettenis > > * x86-64-tdep.c (amd64_register_info): Add %cs and %ss. Adjust > register numbers in comments. > * x86-64-tdep.h: Update copyright year. > (X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM): > Adjust for addition of %cs and %ss. > * amd64fbsd-nat.c: Update copyright year. > (reg_offset): Add register offsets for %cs and %ss. > * amd64fbsd-tdep.c: Update copyright year. > (amd64fbsd_r_reg_offset): Add register offsets for %cs and %ss. > (amd64fbsd_sc_reg_offset): Likewise. > * x86-64-linux-nat.c: Update copyright year. > (x86_64_linux_gregset64_reg_offset): Add register offsets for %cs > and %ss. > * amd64nbsd-nat.c: Update copyright year. > (amd64nbsd32_r_reg_offset): Add register offsets for %cs and %ss. > * amd64nbsd-tdep.c: Update copyright year. > (amd64nbsd_r_reg_offset): Add register offsets for %cs and %ss. > * x86-64-linux-tdep.c: Update copyright year. > (user_to_gdb_regmap): Add mapping for %cs and %ss. > (x86_64_linux_sc_reg_offset): Adjust for addition of %cs and %ss. > * regformats/reg-x86-64.dat: Add %cs and %ss.