* exceptions.cc (_threadinfo::pop): Zero *contents* of popped stack location
rather than the actual stack pointer.
This commit is contained in:
parent
f3a1e23eb3
commit
b63ba3b6aa
|
@ -1,3 +1,8 @@
|
|||
2003-11-29 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* exceptions.cc (_threadinfo::pop): Zero *contents* of popped stack
|
||||
location rather than the actual stack pointer.
|
||||
|
||||
2003-11-29 Nicholas Wourms <nwourms@netscape.net>
|
||||
|
||||
* Makefile.in: (DLL_OFILES): Add flock.o.
|
||||
|
|
|
@ -54,7 +54,7 @@ CC_FOR_TARGET:=$(CC)
|
|||
CFLAGS=@CFLAGS@ -fmerge-constants -ftracer
|
||||
override CFLAGS+=-MMD ${$(*F)_CFLAGS}
|
||||
CXX=@CXX@
|
||||
CXXFLAGS=@CXXFLAGS@ -fmerge-constants
|
||||
CXXFLAGS=@CXXFLAGS@
|
||||
|
||||
AR:=@AR@
|
||||
AR_FLAGS:=qv
|
||||
|
|
|
@ -189,8 +189,8 @@ _threadinfo::pop ()
|
|||
assert (stackptr > stack);
|
||||
#endif
|
||||
__stack_t res = *--stackptr;
|
||||
#ifndef DEBUGGING
|
||||
_my_tls.stackptr = 0;
|
||||
#ifdef DEBUGGING
|
||||
*stackptr = 0;
|
||||
debug_printf ("popped %p, stack %p, stackptr %p", res, stack, stackptr);
|
||||
#endif
|
||||
return res;
|
||||
|
|
|
@ -26,8 +26,6 @@ enum picom
|
|||
PICOM_FIFO = 2
|
||||
};
|
||||
|
||||
extern struct sigaction *global_sigs;
|
||||
|
||||
class _pinfo
|
||||
{
|
||||
public:
|
||||
|
|
|
@ -86,6 +86,8 @@ void __stdcall sigalloc ();
|
|||
|
||||
extern char myself_nowait_dummy[];
|
||||
|
||||
extern struct sigaction *global_sigs;
|
||||
|
||||
#define WAIT_SIG_PRIORITY THREAD_PRIORITY_TIME_CRITICAL
|
||||
|
||||
#define myself_nowait ((_pinfo *)myself_nowait_dummy)
|
||||
|
|
Loading…
Reference in New Issue