From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3073 invoked by alias); 4 Mar 2004 10:37:15 -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 3029 invoked from network); 4 Mar 2004 10:37:11 -0000 Received: from unknown (HELO walton.kettenis.dyndns.org) (213.93.115.144) by sources.redhat.com with SMTP; 4 Mar 2004 10:37:11 -0000 Received: from elgar.kettenis.dyndns.org (elgar.kettenis.dyndns.org [192.168.0.2]) by walton.kettenis.dyndns.org (8.12.6p3/8.12.6) with ESMTP id i24Ab70u003134 for ; Thu, 4 Mar 2004 11:37:07 +0100 (CET) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: from elgar.kettenis.dyndns.org (localhost [127.0.0.1]) by elgar.kettenis.dyndns.org (8.12.6p3/8.12.6) with ESMTP id i24Ab7EU003323 for ; Thu, 4 Mar 2004 11:37:07 +0100 (CET) (envelope-from kettenis@elgar.kettenis.dyndns.org) Received: (from kettenis@localhost) by elgar.kettenis.dyndns.org (8.12.6p3/8.12.6/Submit) id i24Ab7h1003320; Thu, 4 Mar 2004 11:37:07 +0100 (CET) Date: Thu, 04 Mar 2004 10:37:00 -0000 Message-ID: <200403041037.i24Ab7h1003320@elgar.kettenis.dyndns.org> From: Mark Kettenis To: gdb-patches@sources.redhat.com Subject: [PATCH] s/amd64_fill_fxsave/amd64_collect_fxsave/ X-SW-Source: 2004-03.o/txt/msg00071.txt Message-ID: <20040304103700.j_8H29MzqTFSIYxpYaEH2vdvYix_8H9YLz9UiqKH6jw@z> This paves the way for retiring amd64_fill_fxsave. Committed to mainline, Mark Index: ChangeLog from Mark Kettenis * amd64-linux-nat.c (fill_fpregset): Call amd64_colletc_fxsave instead of amd64_fill_fxsave. * amd64bsd-nat.c (store_inferior_registers): Likewise. * amd64fbsd-nat.c (fill_fpregset): Likewise. Index: amd64-linux-nat.c =================================================================== RCS file: /cvs/src/src/gdb/amd64-linux-nat.c,v retrieving revision 1.4 diff -u -p -r1.4 amd64-linux-nat.c --- amd64-linux-nat.c 28 Feb 2004 19:38:21 -0000 1.4 +++ amd64-linux-nat.c 4 Mar 2004 10:34:10 -0000 @@ -176,7 +176,7 @@ supply_fpregset (elf_fpregset_t *fpregse void fill_fpregset (elf_fpregset_t *fpregsetp, int regnum) { - amd64_fill_fxsave ((char *) fpregsetp, regnum); + amd64_collect_fxsave (current_regcache, regnum, fpregsetp); } /* Fetch all floating-point registers from process/thread TID and store Index: amd64bsd-nat.c =================================================================== RCS file: /cvs/src/src/gdb/amd64bsd-nat.c,v retrieving revision 1.3 diff -u -p -r1.3 amd64bsd-nat.c --- amd64bsd-nat.c 25 Feb 2004 20:59:12 -0000 1.3 +++ amd64bsd-nat.c 4 Mar 2004 10:34:10 -0000 @@ -98,7 +98,7 @@ store_inferior_registers (int regnum) (PTRACE_ARG3_TYPE) &fpregs, 0) == -1) perror_with_name ("Couldn't get floating point status"); - amd64_fill_fxsave ((char *) &fpregs, regnum); + amd64_collect_fxsave (current_regcache, regnum, &fpregs); if (ptrace (PT_SETFPREGS, PIDGET (inferior_ptid), (PTRACE_ARG3_TYPE) &fpregs, 0) == -1) Index: amd64fbsd-nat.c =================================================================== RCS file: /cvs/src/src/gdb/amd64fbsd-nat.c,v retrieving revision 1.12 diff -u -p -r1.12 amd64fbsd-nat.c --- amd64fbsd-nat.c 25 Feb 2004 20:59:12 -0000 1.12 +++ amd64fbsd-nat.c 4 Mar 2004 10:34:10 -0000 @@ -141,7 +141,7 @@ supply_fpregset (fpregset_t *fpregsetp) void fill_fpregset (fpregset_t *fpregsetp, int regnum) { - amd64_fill_fxsave ((char *) fpregsetp, regnum); + amd64_collect_fxsave (current_regcache, regnum, fpregsetp); }