Date: Wed, 13 Jul 2022 16:47:47 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 71b19e1b9ccb - stable/13 - gcore: Remove unused typedefs. Message-ID: <202207131647.26DGllsg052406@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=71b19e1b9ccb524b19bba3b9863dfaae633b3639 commit 71b19e1b9ccb524b19bba3b9863dfaae633b3639 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-06-30 17:03:32 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-07-13 16:22:19 +0000 gcore: Remove unused typedefs. These are no longer needed after commit 4965ac059da1 which used PT_GETREGSET to fetch NT_PRSTATUS and NT_FPREGSET. Reviewed by: markj, emaste MFC after: 2 weeks Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D35665 (cherry picked from commit d2a3c30a511d4802412a102e9fa44f810605a872) --- usr.bin/gcore/elfcore.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/usr.bin/gcore/elfcore.c b/usr.bin/gcore/elfcore.c index e5d7afd3f440..8a6fdb642aeb 100644 --- a/usr.bin/gcore/elfcore.c +++ b/usr.bin/gcore/elfcore.c @@ -84,18 +84,12 @@ struct sseg_closure { }; #ifdef ELFCORE_COMPAT_32 -typedef struct fpreg32 elfcore_fpregset_t; -typedef struct reg32 elfcore_gregset_t; typedef struct prpsinfo32 elfcore_prpsinfo_t; -typedef struct prstatus32 elfcore_prstatus_t; typedef struct ptrace_lwpinfo32 elfcore_lwpinfo_t; static void elf_convert_lwpinfo(struct ptrace_lwpinfo32 *pld, struct ptrace_lwpinfo *pls); #else -typedef fpregset_t elfcore_fpregset_t; -typedef gregset_t elfcore_gregset_t; typedef prpsinfo_t elfcore_prpsinfo_t; -typedef prstatus_t elfcore_prstatus_t; typedef struct ptrace_lwpinfo elfcore_lwpinfo_t; #define elf_convert_lwpinfo(d,s) *d = *s #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202207131647.26DGllsg052406>