2 |
#define DEBUGGER_H |
#define DEBUGGER_H |
3 |
|
|
4 |
/* |
/* |
5 |
* Copyright (C) 2004-2005 Anders Gavare. All rights reserved. |
* Copyright (C) 2004-2006 Anders Gavare. All rights reserved. |
6 |
* |
* |
7 |
* Redistribution and use in source and binary forms, with or without |
* Redistribution and use in source and binary forms, with or without |
8 |
* modification, are permitted provided that the following conditions are met: |
* modification, are permitted provided that the following conditions are met: |
28 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
29 |
* |
* |
30 |
* |
* |
31 |
* $Id: debugger.h,v 1.2 2006/02/04 11:10:59 debug Exp $ |
* $Id: debugger.h,v 1.5 2006/06/24 19:52:28 debug Exp $ |
32 |
* |
* |
33 |
* See src/debugger.c. |
* See src/debugger/debugger.c. |
34 |
*/ |
*/ |
35 |
|
|
36 |
struct emul; |
struct emul; |
37 |
|
struct machine; |
38 |
|
|
39 |
/* debugger.c: */ |
/* debugger.c: */ |
40 |
void debugger_activate(int x); |
void debugger_activate(int x); |
43 |
void debugger_reset(void); |
void debugger_reset(void); |
44 |
void debugger_init(struct emul **emuls, int n_emuls); |
void debugger_init(struct emul **emuls, int n_emuls); |
45 |
|
|
46 |
|
/* single_step values: */ |
47 |
|
#define NOT_SINGLE_STEPPING 0 |
48 |
|
#define ENTER_SINGLE_STEPPING 1 |
49 |
|
#define SINGLE_STEPPING 2 |
50 |
|
|
51 |
#endif /* DEBUGGER_H */ |
#endif /* DEBUGGER_H */ |