Add debugger module hooks to implement alternative io (I need laplink debugging...)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24052 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol
2008-02-21 22:41:49 +00:00
parent 7b855018c9
commit 7f3937521f
4 changed files with 12 additions and 1 deletions
+5
View File
@@ -49,6 +49,11 @@ struct debugger_module_info {
void (*enter_debugger)(void);
void (*exit_debugger)(void);
// io hooks
int (*debugger_puts)(const char *str, int32 length);
int (*debugger_getchar)(void);
// TODO: add hooks for tunnelling gdb ?
};
extern int dbg_register_file[B_MAX_CPU_COUNT][14];