2010-03-03 02:41:41 +01:00
|
|
|
/* radare - LGPL - Copyright 2010 pancake<nopcode.org> */
|
|
|
|
|
|
|
|
#include <r_bp.h>
|
|
|
|
|
|
|
|
/* TODO */
|
2010-03-03 13:34:38 +01:00
|
|
|
R_API void r_bp_watch_add() {
|
2010-03-03 02:41:41 +01:00
|
|
|
// set steppy continuations
|
|
|
|
// after each iteration we must check the conditions of
|
|
|
|
// all the RBreakpointWatch
|
|
|
|
}
|
|
|
|
|
2010-03-03 13:34:38 +01:00
|
|
|
R_API void r_bp_watch_del() {
|
2010-03-03 02:41:41 +01:00
|
|
|
}
|
2010-03-03 13:34:38 +01:00
|
|
|
|
|
|
|
/* TODO: move into _watch */
|
|
|
|
R_API int r_bp_add_cond(struct r_bp_t *bp, const char *cond) {
|
|
|
|
// TODO: implement contitional breakpoints
|
2015-09-14 02:08:31 +02:00
|
|
|
bp->stepcont = true;
|
2010-03-03 13:34:38 +01:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
R_API int r_bp_del_cond(struct r_bp_t *bp, int idx) {
|
|
|
|
// add contitional
|
2015-09-14 02:08:31 +02:00
|
|
|
bp->stepcont = false;
|
|
|
|
return true;
|
2010-03-03 13:34:38 +01:00
|
|
|
}
|
|
|
|
|