Added message def for preparing to hand over a debugged team to another

debugger. After successful reply to the message the debugger won't receive
any more messages from the debugged team. The mechanism is completely
transparent to the target debugger. It simply installs itself as debugger
for the team.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11662 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2005-03-10 21:56:23 +00:00
parent d3beb2a46c
commit 1c7fbde145

View File

@ -131,7 +131,11 @@ typedef enum {
B_DEBUG_MESSAGE_CLEAR_BREAKPOINT, // clear a breakpoint
B_DEBUG_MESSAGE_SET_WATCHPOINT, // set a watchpoint
B_DEBUG_MESSAGE_CLEAR_WATCHPOINT, // clear a watchpoint
B_DEBUG_MESSAGE_PREPARE_HANDOVER, // prepares the debugged team for being
// handed over to another debugger;
// the new debugger can just invoke
// install_team_debugger()
} debug_nub_message;
// maximal number of bytes to read/write via B_{READ,WRITE]_MEMORY
@ -250,6 +254,12 @@ typedef struct {
void *address; // watchpoint address
} debug_nub_clear_watchpoint;
// B_DEBUG_MESSAGE_PREPARE_HANDOVER
typedef struct {
status_t error; // B_OK, if the everything went fine
} debug_nub_prepare_handover_reply;
// union of all messages structures sent to the debug nub thread
typedef union {
debug_nub_read_memory read_memory;