Messages in this thread | | | Date | Sat, 28 Feb 1998 16:43:42 -0500 (EST) | From | Jason Duerstock <> | Subject | Re: [?] Find the address of a segfault in userland |
| |
I believe so. I think the alpha ends up pointing to the buggy instruction, but on the x86 it points to the instruction after.
Jason
On Sat, 28 Feb 1998, David Woodhouse wrote:
> jasond@cdc.net said: > > void sigsegv_handler(int num, struct sigcontext info) /* ignore the > > compiler whinings :D */ { > > printf("EIP: %x\n", info.eip); } > > > That doesn't give the address that caused the fault, though - does the sigsegv > handler have to disassemble the offending instruction and work out the > faulting address itself?
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |