elf32core.c (246e7a2b6494cd991b08ac669ed761ecea0cc98c) | elf32core.c (dbee5c671aa8cf7673e92ca7ce6d227f52cb185c) |
---|---|
1/* $FreeBSD$ */ 2#ifndef __LP64__ 3#error "this file must be compiled for LP64." 4#endif 5 6#define __ELF_WORD_SIZE 32 7#define _MACHINE_ELF_WANT_32BIT 8 9#include <sys/procfs.h> 10 | 1/* $FreeBSD$ */ 2#ifndef __LP64__ 3#error "this file must be compiled for LP64." 4#endif 5 6#define __ELF_WORD_SIZE 32 7#define _MACHINE_ELF_WANT_32BIT 8 9#include <sys/procfs.h> 10 |
11struct prpsinfo32 { 12 int pr_version; 13 u_int pr_psinfosz; 14 char pr_fname[PRFNAMESZ+1]; 15 char pr_psargs[PRARGSZ+1]; 16}; 17 18struct prstatus32 { 19 int pr_version; 20 u_int pr_statussz; 21 u_int pr_gregsetsz; 22 u_int pr_fpregsetsz; 23 int pr_osreldate; 24 int pr_cursig; 25 pid_t pr_pid; 26 struct reg32 pr_reg; 27}; 28 | |
29#define ELFCORE_COMPAT_32 1 30#include "elfcore.c" 31 32static void 33elf_convert_gregset(elfcore_gregset_t *rd, struct reg *rs) 34{ 35#ifdef __amd64__ 36 rd->r_gs = rs->r_gs; --- 30 unchanged lines hidden --- | 11#define ELFCORE_COMPAT_32 1 12#include "elfcore.c" 13 14static void 15elf_convert_gregset(elfcore_gregset_t *rd, struct reg *rs) 16{ 17#ifdef __amd64__ 18 rd->r_gs = rs->r_gs; --- 30 unchanged lines hidden --- |