2 |
#define DEBUGGER_H |
#define DEBUGGER_H |
3 |
|
|
4 |
/* |
/* |
5 |
* Copyright (C) 2004-2005 Anders Gavare. All rights reserved. |
* Copyright (C) 2004-2007 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.9 2006/12/30 13:31:00 debug Exp $ |
32 |
* |
* |
33 |
* See src/debugger.c. |
* See src/debugger/debugger.c. |
34 |
*/ |
*/ |
35 |
|
|
36 |
|
#include "misc.h" |
37 |
|
|
38 |
struct emul; |
struct emul; |
39 |
|
struct machine; |
40 |
|
|
41 |
/* debugger.c: */ |
/* debugger.c: */ |
42 |
void debugger_activate(int x); |
void debugger_activate(int x); |
45 |
void debugger_reset(void); |
void debugger_reset(void); |
46 |
void debugger_init(struct emul **emuls, int n_emuls); |
void debugger_init(struct emul **emuls, int n_emuls); |
47 |
|
|
48 |
|
/* single_step values: */ |
49 |
|
#define NOT_SINGLE_STEPPING 0 |
50 |
|
#define ENTER_SINGLE_STEPPING 1 |
51 |
|
#define SINGLE_STEPPING 2 |
52 |
|
|
53 |
|
/* debugger_expr.c: */ |
54 |
|
#define PARSE_NOMATCH 0 |
55 |
|
#define PARSE_MULTIPLE 1 |
56 |
|
#define PARSE_SETTINGS 2 |
57 |
|
#define PARSE_NUMBER 3 |
58 |
|
#define PARSE_SYMBOL 4 |
59 |
|
|
60 |
|
int debugger_parse_expression(struct machine *m, char *expr, int writeflag, |
61 |
|
uint64_t *valuep); |
62 |
|
|
63 |
#endif /* DEBUGGER_H */ |
#endif /* DEBUGGER_H */ |