* exceptions.cc (interruptible): Add extra debugging.

* sigproc.h (wait_sig): Fill in frame pointer, by default, prior to calling or
suffer confusion due to September 7 change below.
This commit is contained in:
Christopher Faylor 2000-10-05 04:53:17 +00:00
parent 1daf97f97e
commit a5855dc341
4 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,9 @@
Thu Oct 5 00:48:40 2000 Christopher Faylor <cgf@cygnus.com>
* exceptions.cc (interruptible): Add extra debugging.
* sigproc.h (wait_sig): Fill in frame pointer, by default, prior to
calling or suffer confusion due to September 7 change below.
Wed Oct 4 23:10:27 2000 Christopher Faylor <cgf@cygnus.com>
* include/netinet/tcp.h: Remove winsock.h include.

View File

@ -593,7 +593,7 @@ interruptible (DWORD pc, int testvalid = 0)
MEMORY_BASIC_INFORMATION m;
memset (&m, 0, sizeof m);
if (!VirtualQuery ((LPCVOID) pc, &m, sizeof m))
sigproc_printf ("couldn't get memory info, %E");
sigproc_printf ("couldn't get memory info, pc %p, %E", pc);
char *checkdir = (char *) alloca (windows_system_directory_length + 4);
memset (checkdir, 0, sizeof (checkdir));

View File

@ -1270,6 +1270,7 @@ wait_sig (VOID *)
{
if (sig == SIGCHLD)
saw_sigchld = 1;
if (sig > 0 && sig != SIGCONT && sig != SIGKILL && sig != SIGSTOP &&
(sigismember (& myself->getsigmask (), sig) ||
myself->process_state & PID_STOPPED))

View File

@ -100,7 +100,7 @@ void __stdcall subproc_init ();
void __stdcall sigproc_terminate ();
BOOL __stdcall proc_exists (_pinfo *);
BOOL __stdcall pid_exists (pid_t);
int __stdcall sig_send (_pinfo *, int, DWORD ebp = 0);
int __stdcall sig_send (_pinfo *, int, DWORD ebp = (DWORD) __builtin_frame_address (0));
void __stdcall signal_fixup_after_fork ();
extern char myself_nowait_dummy[];