Project

General

Profile

Actions

Bug #1300

closed

vkernel suspends execution when showing ddb prompt

Added by corecode about 15 years ago. Updated almost 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

whenever the MP vkernel breaks to the debugger prompt, it will suspend
execution. To reach the debugger, you will have to put it to foreground manually.

The reason for this is this line in platform/vkernel/i386/mp.c:

if (pthread_kill(ap_tids[n], SIGSTOP) != 0)

as specified by POSIX, sending a SIGSTOP signal to any thread of a process will
stop the complete process.

The solutions probably would need some other means of thread communication than
a mere stop signal.

Actions

Also available in: Atom PDF