mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-07 03:38:31 +00:00
Set up http://redbean.justine.lol/ demo server
This commit is contained in:
parent
472b95fea3
commit
c029e83dd8
7 changed files with 118 additions and 25 deletions
|
@ -232,8 +232,6 @@ relegated void __oncrash(int sig, struct siginfo *si, ucontext_t *ctx) {
|
|||
err = errno;
|
||||
if (once) _exit(119);
|
||||
once = true;
|
||||
/* TODO(jart): Needs translation for ucontext_t and possibly siginfo_t. */
|
||||
if (IsFreebsd() || IsOpenbsd()) ctx = NULL;
|
||||
rip = ctx ? ctx->uc_mcontext.rip : 0;
|
||||
if ((gdbpid = IsDebuggerPresent(true))) {
|
||||
DebugBreak();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue