Allow the debugger to detach from gdbstub.

- Sebastian
This commit is contained in:
Stanislav Shwartsman 2009-12-28 20:07:41 +00:00
parent e8bf2b7785
commit b21a893939

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: gdbstub.cc,v 1.39 2009-12-04 20:02:12 sshwarts Exp $
// $Id: gdbstub.cc,v 1.40 2009-12-28 20:07:41 sshwarts Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2002-2006 The Bochs Project Team
@ -820,6 +820,11 @@ static void debug_loop(void)
case 'k':
BX_PANIC(("Debugger asked us to quit"));
break;
case 'D':
BX_INFO(("Debugger detached"));
put_reply("OK");
return;
break;
default:
put_reply("");