Date: Wed, 2 Aug 2006 23:27:35 GMT From: Marcel Moolenaar <marcel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 103073 for review Message-ID: <200608022327.k72NRZrs026942@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <davidxu@freebsd.org> - * 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 *,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608022327.k72NRZrs026942>