This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Generate unwind info for pthread_sighandler*


Hi!

I think one should be able to unwind through the pthread
signal handler wrappers (e.g. libjava currently uses very ugly workarounds
because of this).
Or would you prefer instead moving those 2 functions into separate source
file and add exceptions just to that file?

2002-05-02  Jakub Jelinek  <jakub@redhat.com>

	* Makefile (CFLAGS-signals.c): Build unwind info.

--- linuxthreads/Makefile.jj	Wed Jan 30 18:01:24 2002
+++ linuxthreads/Makefile	Thu May  2 16:57:10 2002
@@ -80,6 +80,7 @@ CFLAGS-pthread.c += -D__NO_WEAK_PTHREAD_
 CFLAGS-ptfork.c += -D__NO_WEAK_PTHREAD_ALIASES
 CFLAGS-cancel.c += -D__NO_WEAK_PTHREAD_ALIASES -D_RPC_THREAD_SAFE_
 CFLAGS-unload.c += -DPREFIX=\"$(objpfx)\"
+CFLAGS-signals.c += $(exceptions)
 
 # Depend on libc.so so a DT_NEEDED is generated in the shared objects.
 # This ensures they will load libc.so for needed symbols if loaded by

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]