debug;posix: log that we're waiting for a debugger

This commit is contained in:
Danny Robson 2018-09-12 14:02:27 +10:00
parent a71ed6fe12
commit 09a690f2d3

View File

@ -81,6 +81,8 @@ prepare_debugger (void)
void
await_debugger (void)
{
LOG_INFO ("awaiting debugger");
if (is_debugged ())
breakpoint ();
else