Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

pt_regs Struct Reference

#include <ptrace.h>


Data Fields

unsigned long r0
unsigned long r1
unsigned long r2
unsigned long r3
unsigned long r4
unsigned long r5
unsigned long r6
unsigned long r7
unsigned long r8
unsigned long r19
unsigned long r20
unsigned long r21
unsigned long r22
unsigned long r23
unsigned long r24
unsigned long r25
unsigned long r26
unsigned long r27
unsigned long r28
unsigned long hae
unsigned long trap_a0
unsigned long trap_a1
unsigned long trap_a2
unsigned long ps
unsigned long pc
unsigned long gp
unsigned long r16
unsigned long r17
unsigned long r18
long uregs [17]
long ebx
long ecx
long edx
long esi
long edi
long ebp
long eax
int xds
int xes
long orig_eax
long eip
int xcs
long eflags
long esp
int xss
long d1
long d2
long d3
long d4
long d5
long a0
long a1
long a2
long d0
long orig_d0
long stkadj
unsigned short sr
unsigned format: 4
unsigned vector: 12
unsigned long pad0 [6]
unsigned long regs [32]
unsigned long lo
unsigned long hi
unsigned long cp0_epc
unsigned long cp0_badvaddr
unsigned long cp0_status
unsigned long cp0_cause
unsigned long gpr [32]
unsigned long nip
unsigned long msr
unsigned long orig_gpr3
unsigned long ctr
unsigned long link
unsigned long xer
unsigned long ccr
unsigned long mq
unsigned long trap
unsigned long dar
unsigned long dsisr
unsigned long result
S390_REGS __u32 trap
unsigned long psr
unsigned long npc
unsigned long y
unsigned long u_regs [16]
unsigned long tstate
unsigned long tpc
unsigned long tnpc
unsigned int y
unsigned int fprs


Field Documentation

long pt_regs::a0
 

Definition at line 35 of file asm-m68k/ptrace.h.

Referenced by die_if_kernel(), mac_nmi_handler(), rt_restore_ucontext(), rt_setup_ucontext(), setup_sigcontext(), and show_regs().

long pt_regs::a1
 

Definition at line 36 of file asm-m68k/ptrace.h.

Referenced by die_if_kernel(), mac_nmi_handler(), rt_restore_ucontext(), rt_setup_ucontext(), setup_sigcontext(), and show_regs().

long pt_regs::a2
 

Definition at line 37 of file asm-m68k/ptrace.h.

Referenced by die_if_kernel(), rt_restore_ucontext(), rt_setup_ucontext(), and show_regs().

unsigned long pt_regs::ccr
 

Definition at line 29 of file asm-ppc/ptrace.h.

Referenced by prregs(), trace_syscall(), and xmon().

unsigned long pt_regs::cp0_badvaddr
 

Definition at line 47 of file asm-mips/ptrace.h.

Referenced by do_ade(), setup_irix_frame(), and sys_ptrace().

unsigned long pt_regs::cp0_cause
 

Definition at line 49 of file asm-mips/ptrace.h.

Referenced by delay_slot(), do_ade(), do_cpu(), do_fpe(), get_insn_opcode(), irix_getcontext(), r2300_show_regs(), r4k_show_regs(), r6000_show_regs(), setup_irix_frame(), setup_sigcontext(), and sys_ptrace().

unsigned long pt_regs::cp0_epc
 

Definition at line 46 of file asm-mips/ptrace.h.

Referenced by __compute_return_epc(), compute_return_epc(), die(), do_ade(), do_fpe(), do_irix_signal(), do_page_fault(), do_ri(), emulate_load_store_insn(), get_insn_opcode(), irix_getcontext(), irix_setcontext(), r2300_show_regs(), r4k_show_regs(), r6000_show_regs(), restore_sigcontext(), setup_frame(), setup_irix_frame(), setup_sigcontext(), start_thread(), sys_ptrace(), syscall_restart(), and timer_interrupt().

unsigned long pt_regs::cp0_status
 

Definition at line 48 of file asm-mips/ptrace.h.

Referenced by andes_user_mode(), copy_thread(), do_cpu(), dump_fpu(), r2300_show_regs(), r2300_user_mode(), r4k_show_regs(), r4k_user_mode(), r6000_show_regs(), r6000_user_mode(), setup_sigcontext(), start_thread(), and tfp_user_mode().

unsigned long pt_regs::ctr
 

Definition at line 26 of file asm-ppc/ptrace.h.

Referenced by prregs(), and xmon().

long pt_regs::d0
 

Definition at line 38 of file asm-m68k/ptrace.h.

Referenced by copy_thread(), die_if_kernel(), do_sigsuspend(), handle_restart(), mac_nmi_handler(), rt_restore_ucontext(), rt_setup_ucontext(), setup_sigcontext(), and show_regs().

long pt_regs::d1
 

Definition at line 30 of file asm-m68k/ptrace.h.

Referenced by die_if_kernel(), m68k_clone(), mac_nmi_handler(), rt_restore_ucontext(), rt_setup_ucontext(), setup_sigcontext(), and show_regs().

long pt_regs::d2
 

Definition at line 31 of file asm-m68k/ptrace.h.

Referenced by die_if_kernel(), m68k_clone(), mac_nmi_handler(), rt_restore_ucontext(), rt_setup_ucontext(), and show_regs().

long pt_regs::d3
 

Definition at line 32 of file asm-m68k/ptrace.h.

Referenced by die_if_kernel(), do_sigsuspend(), mac_nmi_handler(), rt_restore_ucontext(), rt_setup_ucontext(), and show_regs().

long pt_regs::d4
 

Definition at line 33 of file asm-m68k/ptrace.h.

Referenced by die_if_kernel(), mac_nmi_handler(), rt_restore_ucontext(), rt_setup_ucontext(), and show_regs().

long pt_regs::d5
 

Definition at line 34 of file asm-m68k/ptrace.h.

Referenced by die_if_kernel(), mac_nmi_handler(), rt_restore_ucontext(), rt_setup_ucontext(), and show_regs().

unsigned long pt_regs::dar
 

Definition at line 33 of file asm-ppc/ptrace.h.

Referenced by AlignmentException(), excprint(), and fix_alignment().

unsigned long pt_regs::dsisr
 

Definition at line 34 of file asm-ppc/ptrace.h.

Referenced by excprint(), and fix_alignment().

long pt_regs::eax
 

Definition at line 33 of file asm-i386/ptrace.h.

Referenced by copy_thread(), do_signal(), dump_thread(), handle_signal(), return_to_32bit(), setup_sigcontext(), show_registers(), show_regs(), sys_rt_sigsuspend(), and sys_sigsuspend().

long pt_regs::ebp
 

Definition at line 32 of file asm-i386/ptrace.h.

Referenced by dump_thread(), setup_sigcontext(), show_registers(), and show_regs().

long pt_regs::ebx
 

Definition at line 27 of file asm-i386/ptrace.h.

Referenced by dump_thread(), setup_sigcontext(), show_registers(), show_regs(), sys_clone(), sys_execve(), and sys_iopl().

long pt_regs::ecx
 

Definition at line 28 of file asm-i386/ptrace.h.

Referenced by dump_thread(), setup_sigcontext(), show_registers(), show_regs(), sys_clone(), and sys_execve().

long pt_regs::edi
 

Definition at line 31 of file asm-i386/ptrace.h.

Referenced by dump_thread(), setup_sigcontext(), show_registers(), and show_regs().

long pt_regs::edx
 

Definition at line 29 of file asm-i386/ptrace.h.

Referenced by dump_thread(), setup_sigcontext(), show_registers(), show_regs(), and sys_execve().

long pt_regs::eflags
 

Definition at line 39 of file asm-i386/ptrace.h.

Referenced by die_if_kernel(), die_if_no_fixup(), do_debug(), do_general_protection(), do_page_fault(), dump_thread(), restore_sigcontext(), setup_frame(), setup_rt_frame(), setup_sigcontext(), show_registers(), show_regs(), and sys_iopl().

long pt_regs::eip
 

Definition at line 37 of file asm-i386/ptrace.h.

Referenced by die_if_no_fixup(), do_debug(), do_page_fault(), do_signal(), do_timer_interrupt(), dump_thread(), handle_signal(), setup_frame(), setup_rt_frame(), setup_sigcontext(), show_registers(), show_regs(), and smp_local_timer_interrupt().

long pt_regs::esi
 

Definition at line 30 of file asm-i386/ptrace.h.

Referenced by dump_thread(), setup_sigcontext(), show_registers(), and show_regs().

long pt_regs::esp
 

Definition at line 40 of file asm-i386/ptrace.h.

Referenced by copy_thread(), do_page_fault(), dump_thread(), get_sigframe(), setup_frame(), setup_rt_frame(), setup_sigcontext(), show_registers(), show_regs(), sys_clone(), sys_fork(), sys_rt_sigreturn(), sys_sigaltstack(), sys_sigreturn(), and sys_vfork().

unsigned pt_regs::format
 

Definition at line 43 of file asm-m68k/ptrace.h.

Referenced by bad_super_trap(), buserr_c(), do_signal(), dump_stack(), rt_restore_ucontext(), rt_setup_ucontext(), send_fault_sig(), setup_frame(), setup_rt_frame(), setup_sigcontext(), show_regs(), and trap_c().

unsigned int pt_regs::fprs
 

Definition at line 19 of file asm-sparc64/ptrace.h.

unsigned long pt_regs::gp
 

Definition at line 47 of file asm-alpha/ptrace.h.

Referenced by dik_show_regs(), do_page_fault(), dump_thread(), load_aout_binary(), restore_sigcontext(), and setup_sigcontext().

unsigned long pt_regs::gpr[32]
 

Definition at line 22 of file asm-ppc/ptrace.h.

Referenced by backtrace(), copy_thread(), emulate_instruction(), excprint(), fix_alignment(), handle_signal(), prregs(), setup_frame(), setup_rt_frame(), show_regs(), Soft_emulate_8xx(), StackOverflow(), sys_clone(), sys_fork(), sys_rt_sigreturn(), sys_rt_sigsuspend(), sys_sigaltstack(), sys_sigreturn(), sys_sigsuspend(), sys_vfork(), trace_syscall(), and xmon().

unsigned long pt_regs::hae
 

Definition at line 39 of file asm-alpha/ptrace.h.

unsigned long pt_regs::hi
 

Definition at line 41 of file asm-mips/ptrace.h.

Referenced by irix_getcontext(), irix_setcontext(), restore_sigcontext(), setup_irix_frame(), setup_sigcontext(), and sys_ptrace().

unsigned long pt_regs::link
 

Definition at line 27 of file asm-ppc/ptrace.h.

Referenced by prregs(), setup_frame(), setup_rt_frame(), show_regs(), sys_rt_sigreturn(), sys_sigreturn(), trace_syscall(), and xmon().

unsigned long pt_regs::lo
 

Definition at line 40 of file asm-mips/ptrace.h.

Referenced by irix_getcontext(), irix_setcontext(), restore_sigcontext(), setup_irix_frame(), setup_sigcontext(), and sys_ptrace().

unsigned long pt_regs::mq
 

Definition at line 30 of file asm-ppc/ptrace.h.

Referenced by amiga_do_irq_list(), and apus_do_IRQ().

unsigned long pt_regs::msr
 

Definition at line 24 of file asm-ppc/ptrace.h.

Referenced by AlignmentException(), bvme6000_gettimeoffset(), bvme6000_gettod(), bvme6000_hwclk(), bvme6000_sched_init(), bvme6000_set_clock_mmss(), bvme6000_timer_int(), clear_single_step(), copy_thread(), excprint(), fix_alignment(), ProgramCheckException(), prregs(), set_single_step(), setup_frame(), setup_rt_frame(), show_regs(), SingleStepException(), sys_execve(), sys_rt_sigreturn(), sys_sigreturn(), TAUException(), UnknownException(), xmon(), xmon_bpt(), xmon_dabr_match(), and xmon_iabr_match().

unsigned long pt_regs::nip
 

Definition at line 23 of file asm-ppc/ptrace.h.

Referenced by AlignmentException(), bad_page_fault(), copy_thread(), emulate_instruction(), excprint(), gemini_do_IRQ(), open_pic_do_IRQ(), pmac_do_IRQ(), prep_do_IRQ(), prregs(), setup_frame(), setup_rt_frame(), show_regs(), Soft_emulate_8xx(), sys_rt_sigreturn(), sys_sigreturn(), TAUException(), trace_syscall(), UnknownException(), xmon(), xmon_bpt(), and xmon_dabr_match().

unsigned long pt_regs::npc
 

Definition at line 16 of file asm-sparc/ptrace.h.

Referenced by _sigpause_common(), advance(), do_fpe_trap(), do_mathemu(), do_ptrace(), do_rt_sigreturn(), do_rt_sigsuspend(), do_signal(), do_sigreturn(), do_sparc_fault(), do_user_muldiv(), dump_thread(), handle_signal(), kernel_mna_trap_fault(), new_setup_frame(), new_setup_rt_frame(), ok_for_user(), pt_error_return(), pt_succ_return(), pt_succ_return_linux(), setup_frame(), setup_svr4_frame(), sparc_breakpoint(), start_thread(), svr4_getcontext(), svr4_setcontext(), syscall_restart(), and unexpected_irq().

long pt_regs::orig_d0
 

Definition at line 39 of file asm-m68k/ptrace.h.

Referenced by do_signal(), handle_restart(), handle_signal(), rt_restore_ucontext(), and show_regs().

long pt_regs::orig_eax
 

Definition at line 36 of file asm-i386/ptrace.h.

Referenced by do_IRQ(), do_signal(), dump_thread(), handle_signal(), and restore_sigcontext().

unsigned long pt_regs::orig_gpr3
 

Definition at line 25 of file asm-ppc/ptrace.h.

unsigned long pt_regs::pad0[6]
 

Definition at line 34 of file asm-mips/ptrace.h.

unsigned long pt_regs::pc
 

Definition at line 15 of file asm-sparc/ptrace.h.

Referenced by _sigpause_common(), advance(), alpha_fp_emul_imprecise(), apecs_machine_check(), bad_super_trap(), die_if_kernel(), dik_show_regs(), do_entArith(), do_entIF(), do_entInt(), do_entUnaUser(), do_fpe_trap(), do_illegal_instruction(), do_mathemu(), do_memaccess_unaligned(), do_page_fault(), do_ptrace(), do_rt_sigreturn(), do_rt_sigsuspend(), do_signal(), do_sigreturn(), do_sparc_fault(), dump_stack(), dump_thread(), ev6_cpu_machine_check(), handle_ipi(), handle_irq(), handle_restart(), handle_signal(), kernel_mna_trap_fault(), kernel_unaligned_trap(), lca_machine_check(), mac_nmi_handler(), mikasa_apecs_machine_check(), naut_sys_machine_check(), new_setup_frame(), new_setup_rt_frame(), noritake_apecs_machine_check(), ok_for_user(), polaris_machine_check(), process_mcheck_info(), pt_error_return(), pt_succ_return(), pt_succ_return_linux(), restore_sigcontext(), rt_restore_ucontext(), rt_setup_ucontext(), send_fault_sig(), setup_frame(), setup_rt_frame(), setup_sigcontext(), setup_svr4_frame(), show_regs(), smp4d_percpu_timer_interrupt(), smp4m_percpu_timer_interrupt(), smp_percpu_timer_interrupt(), sparc_breakpoint(), start_thread(), sunos_nosys(), svr4_getcontext(), svr4_setcontext(), syscall_restart(), t2_machine_check(), timer_interrupt(), trap_c(), unexpected_irq(), user_mna_trap_fault(), and user_unaligned_trap().

unsigned long pt_regs::ps
 

Definition at line 45 of file asm-alpha/ptrace.h.

Referenced by copy_thread(), die_if_kernel(), dik_show_regs(), do_entInt(), dump_thread(), start_thread(), and unexpected_irq().

unsigned long pt_regs::psr
 

Definition at line 14 of file asm-sparc/ptrace.h.

Referenced by _sigpause_common(), copy_thread(), die_if_kernel(), do_fpd_trap(), do_fpe_trap(), do_memaccess_unaligned(), do_new_sigreturn(), do_ptrace(), do_rt_sigreturn(), do_rt_sigsuspend(), do_sigreturn(), do_sparc_fault(), do_user_muldiv(), dump_fpu(), dump_thread(), new_setup_rt_frame(), pt_error_return(), pt_succ_return(), pt_succ_return_linux(), read_sunos_user(), restore_fpu_state(), save_fpu_state(), setup_frame(), setup_svr4_frame(), start_thread(), svr4_getcontext(), svr4_setcontext(), and syscall_restart().

unsigned long pt_regs::r0
 

Definition at line 20 of file asm-alpha/ptrace.h.

Referenced by alpha_create_module(), alpha_ni_syscall(), copy_thread(), dik_show_regs(), do_signal(), dump_thread(), osf_getpriority(), restore_sigcontext(), setup_sigcontext(), sys_ptrace(), and syscall_restart().

unsigned long pt_regs::r1
 

Definition at line 21 of file asm-alpha/ptrace.h.

Referenced by dik_show_regs(), dump_thread(), restore_sigcontext(), and setup_sigcontext().

unsigned long pt_regs::r16
 

Definition at line 48 of file asm-alpha/ptrace.h.

Referenced by dik_show_regs(), do_entIF(), dump_thread(), process_mcheck_info(), restore_sigcontext(), setup_frame(), setup_rt_frame(), and setup_sigcontext().

unsigned long pt_regs::r17
 

Definition at line 49 of file asm-alpha/ptrace.h.

Referenced by dik_show_regs(), dump_thread(), process_mcheck_info(), restore_sigcontext(), setup_frame(), setup_rt_frame(), and setup_sigcontext().

unsigned long pt_regs::r18
 

Definition at line 50 of file asm-alpha/ptrace.h.

Referenced by dik_show_regs(), dump_thread(), process_mcheck_info(), restore_sigcontext(), setup_frame(), setup_rt_frame(), and setup_sigcontext().

unsigned long pt_regs::r19
 

Definition at line 29 of file asm-alpha/ptrace.h.

Referenced by copy_thread(), dik_show_regs(), do_signal(), dump_thread(), restore_sigcontext(), setup_sigcontext(), and syscall_restart().

unsigned long pt_regs::r2
 

Definition at line 22 of file asm-alpha/ptrace.h.

Referenced by dik_show_regs(), dump_thread(), restore_sigcontext(), and setup_sigcontext().

unsigned long pt_regs::r20
 

Definition at line 30 of file asm-alpha/ptrace.h.

Referenced by copy_thread(), dik_show_regs(), dump_thread(), restore_sigcontext(), and setup_sigcontext().

unsigned long pt_regs::r21
 

Definition at line 31 of file asm-alpha/ptrace.h.

Referenced by dik_show_regs(), dump_thread(), restore_sigcontext(), and setup_sigcontext().

unsigned long pt_regs::r22
 

Definition at line 32 of file asm-alpha/ptrace.h.

Referenced by dik_show_regs(), dump_thread(), restore_sigcontext(), and setup_sigcontext().

unsigned long pt_regs::r23
 

Definition at line 33 of file asm-alpha/ptrace.h.

Referenced by dik_show_regs(), dump_thread(), restore_sigcontext(), and setup_sigcontext().

unsigned long pt_regs::r24
 

Definition at line 34 of file asm-alpha/ptrace.h.

Referenced by dik_show_regs(), dump_thread(), restore_sigcontext(), and setup_sigcontext().

unsigned long pt_regs::r25
 

Definition at line 35 of file asm-alpha/ptrace.h.

Referenced by dik_show_regs(), dump_thread(), restore_sigcontext(), and setup_sigcontext().

unsigned long pt_regs::r26
 

Definition at line 36 of file asm-alpha/ptrace.h.

Referenced by dik_show_regs(), dump_thread(), ev6_cpu_machine_check(), naut_sys_machine_check(), process_mcheck_info(), restore_sigcontext(), setup_frame(), setup_rt_frame(), and setup_sigcontext().

unsigned long pt_regs::r27
 

Definition at line 37 of file asm-alpha/ptrace.h.

Referenced by dik_show_regs(), dump_thread(), restore_sigcontext(), setup_frame(), setup_rt_frame(), and setup_sigcontext().

unsigned long pt_regs::r28
 

Definition at line 38 of file asm-alpha/ptrace.h.

Referenced by dik_show_regs(), dump_thread(), restore_sigcontext(), and setup_sigcontext().

unsigned long pt_regs::r3
 

Definition at line 23 of file asm-alpha/ptrace.h.

Referenced by dik_show_regs(), dump_thread(), restore_sigcontext(), and setup_sigcontext().

unsigned long pt_regs::r4
 

Definition at line 24 of file asm-alpha/ptrace.h.

Referenced by dik_show_regs(), dump_thread(), restore_sigcontext(), and setup_sigcontext().

unsigned long pt_regs::r5
 

Definition at line 25 of file asm-alpha/ptrace.h.

Referenced by dik_show_regs(), dump_thread(), restore_sigcontext(), and setup_sigcontext().

unsigned long pt_regs::r6
 

Definition at line 26 of file asm-alpha/ptrace.h.

Referenced by dik_show_regs(), dump_thread(), restore_sigcontext(), and setup_sigcontext().

unsigned long pt_regs::r7
 

Definition at line 27 of file asm-alpha/ptrace.h.

Referenced by dik_show_regs(), dump_thread(), restore_sigcontext(), and setup_sigcontext().

unsigned long pt_regs::r8
 

Definition at line 28 of file asm-alpha/ptrace.h.

Referenced by dik_show_regs(), dump_thread(), restore_sigcontext(), and setup_sigcontext().

unsigned long pt_regs::regs[32]
 

Definition at line 37 of file asm-mips/ptrace.h.

Referenced by __compute_return_epc(), copy_thread(), die(), do_irix_signal(), do_page_fault(), do_ri(), dump_thread(), emulate_load_store_insn(), irix_exec(), irix_exece(), irix_getcontext(), irix_getgid(), irix_getpid(), irix_getuid(), irix_mmap64(), irix_prctl(), irix_setcontext(), irix_sigsuspend(), irix_sysmp(), irix_syssgi(), irix_unimp(), r2300_show_regs(), r4k_show_regs(), r6000_show_regs(), setup_frame(), setup_irix_frame(), start_thread(), sys_clone(), sys_execve(), sys_fork(), sys_pipe(), sys_ptrace(), sys_sigaltstack(), sys_sigreturn(), sys_sigsuspend(), sys_syscall(), and syscall_restart().

unsigned long pt_regs::result
 

Definition at line 35 of file asm-ppc/ptrace.h.

Referenced by handle_signal().

unsigned short pt_regs::sr
 

Definition at line 41 of file asm-m68k/ptrace.h.

Referenced by amiga_do_irq_list(), die_if_kernel(), do_page_fault(), do_signal(), mac_do_irq_list(), mac_nmi_handler(), rt_restore_ucontext(),