diff options
Diffstat (limited to 'sysdeps/generic/segfault.c')
-rw-r--r-- | sysdeps/generic/segfault.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sysdeps/generic/segfault.c b/sysdeps/generic/segfault.c index 868ff1dfd7..6504123e18 100644 --- a/sysdeps/generic/segfault.c +++ b/sysdeps/generic/segfault.c @@ -63,12 +63,6 @@ struct layout }; -static void -handle (int fd, void *addr) -{ -} - - /* This function is called when a segmentation fault is caught. The system is in an instable state now. This means especially that malloc() might not work anymore. */ @@ -115,7 +109,7 @@ catch_segfault (int signal, SIGCONTEXT ctx) arr = alloca (cnt * sizeof (void *)); /* First handle the program counter from the structure. */ - arr[0] = GET_EIP (ctx); + arr[0] = GET_PC (ctx); current = (struct layout *) top_frame; cnt = 1; |