[qwaq] Make traceon and traceoff always available

Tired of adding and removing them all the time.
This commit is contained in:
Bill Currie 2020-03-26 13:27:53 +09:00
parent 30b97af65a
commit a28e7417e6
2 changed files with 6 additions and 2 deletions

View File

@ -74,6 +74,9 @@ typedef struct qdb_target_s { int handle; } qdb_target_t;
unsigned fnum);
@extern qdb_def_t *qdb_get_local_defs (qdb_target_t target, unsigned fnum);
@extern void traceon();
@extern void traceoff();
#else//GCC
void QWAQ_Debug_Init (progs_t *pr);

View File

@ -108,8 +108,6 @@ update_current_func (Debugger *self, unsigned fnum)
}
}
void traceon() = #0;
-(void)update_watchvars
{
qdb_state_t state = qdb_get_state (debug_target);
@ -171,6 +169,9 @@ key_event (Debugger *self, Editor *file, qwaq_event_t *event)
@end
void traceon() = #0;
void traceoff() = #0;
void qdb_set_trace (qdb_target_t target, int state) = #0;
int qdb_set_breakpoint (qdb_target_t target, unsigned staddr) = #0;
int qdb_clear_breakpoint (qdb_target_t target, unsigned staddr) = #0;