* sigproc.h (sigframe::set): Accept a default frame pointer.

* sigproc.cc (sig_send): Use passed in frame pointer, if appropriate.
This commit is contained in:
Christopher Faylor
2000-05-26 06:24:58 +00:00
parent 6880ecefaa
commit e1e61b9ae5
3 changed files with 12 additions and 4 deletions

View File

@@ -755,7 +755,7 @@ sig_send (pinfo *p, int sig, DWORD ebp)
{
thiscatch = sigcatch_main;
thiscomplete = sigcomplete_main;
thisframe.set (mainthread);
thisframe.set (mainthread, 1, ebp);
}
}
else if (!(thiscatch = getsem (p, "sigcatch", 0, 0)))