* 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>
|
2003-11-29 Nicholas Wourms <nwourms@netscape.net>
|
||||||
|
|
||||||
* Makefile.in: (DLL_OFILES): Add flock.o.
|
* Makefile.in: (DLL_OFILES): Add flock.o.
|
||||||
|
@ -54,7 +54,7 @@ CC_FOR_TARGET:=$(CC)
|
|||||||
CFLAGS=@CFLAGS@ -fmerge-constants -ftracer
|
CFLAGS=@CFLAGS@ -fmerge-constants -ftracer
|
||||||
override CFLAGS+=-MMD ${$(*F)_CFLAGS}
|
override CFLAGS+=-MMD ${$(*F)_CFLAGS}
|
||||||
CXX=@CXX@
|
CXX=@CXX@
|
||||||
CXXFLAGS=@CXXFLAGS@ -fmerge-constants
|
CXXFLAGS=@CXXFLAGS@
|
||||||
|
|
||||||
AR:=@AR@
|
AR:=@AR@
|
||||||
AR_FLAGS:=qv
|
AR_FLAGS:=qv
|
||||||
|
@ -189,8 +189,8 @@ _threadinfo::pop ()
|
|||||||
assert (stackptr > stack);
|
assert (stackptr > stack);
|
||||||
#endif
|
#endif
|
||||||
__stack_t res = *--stackptr;
|
__stack_t res = *--stackptr;
|
||||||
#ifndef DEBUGGING
|
#ifdef DEBUGGING
|
||||||
_my_tls.stackptr = 0;
|
*stackptr = 0;
|
||||||
debug_printf ("popped %p, stack %p, stackptr %p", res, stack, stackptr);
|
debug_printf ("popped %p, stack %p, stackptr %p", res, stack, stackptr);
|
||||||
#endif
|
#endif
|
||||||
return res;
|
return res;
|
||||||
|
@ -26,8 +26,6 @@ enum picom
|
|||||||
PICOM_FIFO = 2
|
PICOM_FIFO = 2
|
||||||
};
|
};
|
||||||
|
|
||||||
extern struct sigaction *global_sigs;
|
|
||||||
|
|
||||||
class _pinfo
|
class _pinfo
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
@ -86,6 +86,8 @@ void __stdcall sigalloc ();
|
|||||||
|
|
||||||
extern char myself_nowait_dummy[];
|
extern char myself_nowait_dummy[];
|
||||||
|
|
||||||
|
extern struct sigaction *global_sigs;
|
||||||
|
|
||||||
#define WAIT_SIG_PRIORITY THREAD_PRIORITY_TIME_CRITICAL
|
#define WAIT_SIG_PRIORITY THREAD_PRIORITY_TIME_CRITICAL
|
||||||
|
|
||||||
#define myself_nowait ((_pinfo *)myself_nowait_dummy)
|
#define myself_nowait ((_pinfo *)myself_nowait_dummy)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user