Skip to content
Snippets Groups Projects
Commit 3e6a6087 authored by wlott's avatar wlott
Browse files

Changed arch_get_bad_addr to take the signal and code in addition to the

sigcontext.
parent c871866f
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,7 @@ char *arch_init(void) ...@@ -19,7 +19,7 @@ char *arch_init(void)
return NULL; return NULL;
} }
os_vm_address_t arch_get_bad_addr(struct sigcontext *scp) os_vm_address_t arch_get_bad_addr(int sig, int code, struct sigcontext *scp)
{ {
/* Finding the bad address on the mips is easy. */ /* Finding the bad address on the mips is easy. */
return (os_vm_address_t)scp->sc_badvaddr; return (os_vm_address_t)scp->sc_badvaddr;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment