Changeset View
Changeset View
Standalone View
Standalone View
head/sys/sparc64/sparc64/machdep.c
Show First 20 Lines • Show All 972 Lines • ▼ Show 20 Lines | |||||
ptrace_clear_single_step(struct thread *td) | ptrace_clear_single_step(struct thread *td) | ||||
{ | { | ||||
/* TODO; */ | /* TODO; */ | ||||
return (0); | return (0); | ||||
} | } | ||||
void | void | ||||
exec_setregs(struct thread *td, struct image_params *imgp, u_long stack) | exec_setregs(struct thread *td, struct image_params *imgp, uintptr_t stack) | ||||
{ | { | ||||
struct trapframe *tf; | struct trapframe *tf; | ||||
struct pcb *pcb; | struct pcb *pcb; | ||||
struct proc *p; | struct proc *p; | ||||
u_long sp; | uintptr_t sp; | ||||
/* XXX no cpu_exec */ | /* XXX no cpu_exec */ | ||||
p = td->td_proc; | p = td->td_proc; | ||||
p->p_md.md_sigtramp = NULL; | p->p_md.md_sigtramp = NULL; | ||||
if (p->p_md.md_utrap != NULL) { | if (p->p_md.md_utrap != NULL) { | ||||
utrap_free(p->p_md.md_utrap); | utrap_free(p->p_md.md_utrap); | ||||
p->p_md.md_utrap = NULL; | p->p_md.md_utrap = NULL; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 119 Lines • Show Last 20 Lines |