mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
2006-01-10 Thomas Schwinge <tschwinge@gnu.org>
* hurd/sigunwind.c: Include <jmpbuf-unwind.h> instead of <setjmp.h>. * sysdeps/mach/hurd/jmp-unwind.c: Likewise.
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
/* longjmp cleanup function for unwinding past signal handlers.
|
/* longjmp cleanup function for unwinding past signal handlers.
|
||||||
Copyright (C) 1995, 1996, 1997, 1998, 2005 Free Software Foundation, Inc.
|
Copyright (C) 1995,1996,1997,1998,2005,2006 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
#include <hurd.h>
|
#include <hurd.h>
|
||||||
#include <thread_state.h>
|
#include <thread_state.h>
|
||||||
#include <setjmp.h>
|
#include <jmpbuf-unwind.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* _longjmp_unwind -- Clean up stack frames unwound by longjmp. Hurd version.
|
/* _longjmp_unwind -- Clean up stack frames unwound by longjmp. Hurd version.
|
||||||
Copyright (C) 1995, 1996, 2005 Free Software Foundation, Inc.
|
Copyright (C) 1995,1996,2005,2006 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -17,7 +17,7 @@
|
|||||||
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
||||||
02111-1307 USA. */
|
02111-1307 USA. */
|
||||||
|
|
||||||
#include <setjmp.h>
|
#include <jmpbuf-unwind.h>
|
||||||
#include <hurd/userlink.h>
|
#include <hurd/userlink.h>
|
||||||
#include <hurd/signal.h>
|
#include <hurd/signal.h>
|
||||||
#include <hurd/sigpreempt.h>
|
#include <hurd/sigpreempt.h>
|
||||||
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#ifndef _JMPBUF_UNWINDS
|
#ifndef _JMPBUF_UNWINDS
|
||||||
#error "<bits/setjmp.h> fails to define _JMPBUF_UNWINDS"
|
#error "<jmpbuf-unwind.h> fails to define _JMPBUF_UNWINDS"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static inline uintptr_t
|
static inline uintptr_t
|
||||||
|
Reference in New Issue
Block a user