From owner-p4-projects@FreeBSD.ORG Wed Aug 2 23:27:36 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id EA8E416A4DF; Wed, 2 Aug 2006 23:27:35 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C7D6616A4DA for ; Wed, 2 Aug 2006 23:27:35 +0000 (UTC) (envelope-from marcel@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F5CA43D46 for ; Wed, 2 Aug 2006 23:27:35 +0000 (GMT) (envelope-from marcel@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k72NRZK0026945 for ; Wed, 2 Aug 2006 23:27:35 GMT (envelope-from marcel@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k72NRZrs026942 for perforce@freebsd.org; Wed, 2 Aug 2006 23:27:35 GMT (envelope-from marcel@freebsd.org) Date: Wed, 2 Aug 2006 23:27:35 GMT Message-Id: <200608022327.k72NRZrs026942@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to marcel@freebsd.org using -f From: Marcel Moolenaar To: Perforce Change Reviews Cc: Subject: PERFORCE change 103073 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Aug 2006 23:27:36 -0000 http://perforce.freebsd.org/chv.cgi?CH=103073 Change 103073 by marcel@marcel_nfs on 2006/08/02 23:27:20 o Eliminate use of prfpregset_t and prgregset_t. They are obfuscating and inconsistent. o Eliminate ps_lgetxmmregs and ps_lsetxmmregs for i386, the generic ps_lgetxregs and ps_lsetxregs serve that purpose. Affected files ... .. //depot/projects/gdb/include/proc_service.h#8 edit Differences ... ==== //depot/projects/gdb/include/proc_service.h#8 (text+ko) ==== @@ -1,6 +1,6 @@ /* * Copyright (c) 2004 David Xu - * Copyright (c) 2004 Marcel Moolenaar + * Copyright (c) 2004-2006 Marcel Moolenaar * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -47,19 +47,15 @@ __BEGIN_DECLS ps_err_e ps_lcontinue(struct ps_prochandle *, lwpid_t); -ps_err_e ps_lgetfpregs(struct ps_prochandle *, lwpid_t, prfpregset_t *); -ps_err_e ps_lgetregs(struct ps_prochandle *, lwpid_t, prgregset_t); +ps_err_e ps_lgetfpregs(struct ps_prochandle *, lwpid_t, fpregset_t *); +ps_err_e ps_lgetregs(struct ps_prochandle *, lwpid_t, gregset_t *); ps_err_e ps_lgetxregs(struct ps_prochandle *, lwpid_t, void *); ps_err_e ps_lgetxregsize(struct ps_prochandle *, lwpid_t, int *); -ps_err_e ps_lsetfpregs(struct ps_prochandle *, lwpid_t, const prfpregset_t *); -ps_err_e ps_lsetregs(struct ps_prochandle *, lwpid_t, const prgregset_t); +ps_err_e ps_linfo(struct ps_prochandle *, lwpid_t, void *); +ps_err_e ps_lsetfpregs(struct ps_prochandle *, lwpid_t, const fpregset_t *); +ps_err_e ps_lsetregs(struct ps_prochandle *, lwpid_t, const gregset_t *); ps_err_e ps_lsetxregs(struct ps_prochandle *, lwpid_t, const void *); -#ifdef __i386__ -ps_err_e ps_lgetxmmregs (struct ps_prochandle *, lwpid_t, char *); -ps_err_e ps_lsetxmmregs (struct ps_prochandle *, lwpid_t, const char *); -#endif ps_err_e ps_lstop(struct ps_prochandle *, lwpid_t); -ps_err_e ps_linfo(struct ps_prochandle *, lwpid_t, void *); ps_err_e ps_pcontinue(struct ps_prochandle *); ps_err_e ps_pdmodel(struct ps_prochandle *, int *); ps_err_e ps_pglobal_lookup(struct ps_prochandle *, const char *, const char *,