diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-10-14 02:24:44 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-10-14 02:24:44 +0000 |
commit | c701ab9f0e231592427e0602431d4156a21d4afd (patch) | |
tree | 84d8b777f95f0e47178ab5946e9b25181b393b47 /sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h | |
parent | c0f62c56788c48b9fb36dc609c0a9f9db3667306 (diff) | |
download | glibc-c701ab9f0e231592427e0602431d4156a21d4afd.tar glibc-c701ab9f0e231592427e0602431d4156a21d4afd.tar.gz glibc-c701ab9f0e231592427e0602431d4156a21d4afd.tar.bz2 glibc-c701ab9f0e231592427e0602431d4156a21d4afd.zip |
2004-10-12 Jakub Jelinek <jakub@redhat.com>
* sysdeps/generic/segfault.c: Include alloca.h and stdint.h.
Don't include frame.h.
(CURRENT_STACK_FRAME, INNER_THAN, ADVANCE_STACK_FRAME): Remove.
(catch_segfault): Use backtrace function.
* sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Fix comment.
* sysdeps/unix/sysv/linux/ia64/register-dump.h: New file.
* sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h (GET_PC): Return sc_ip
field.
Diffstat (limited to 'sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h b/sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h index b5ce1d9108..51c11e6b46 100644 --- a/sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h +++ b/sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2002 Free Software Foundation, Inc. +/* Copyright (C) 2002, 2004 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -18,7 +18,7 @@ #define SIGCONTEXT siginfo_t *_si, struct sigcontext * #define SIGCONTEXT_EXTRA_ARGS _si, -#define GET_PC(ctx) ((void *) 0) +#define GET_PC(ctx) ((ctx)->sc_ip) #define GET_FRAME(ctx) ((void *) 0) #define GET_STACK(ctx) ((void *) 0) |