mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-31 13:10:34 +00:00
[qwaq] Make traceon and traceoff always available
Tired of adding and removing them all the time.
This commit is contained in:
parent
30b97af65a
commit
a28e7417e6
2 changed files with 6 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue