OLD | NEW |
1 /* Definitions for expressions designed to be executed on the agent | 1 /* Definitions for expressions designed to be executed on the agent |
2 Copyright (C) 1998-2000, 2007-2012 Free Software Foundation, Inc. | 2 Copyright (C) 1998-2000, 2007-2012 Free Software Foundation, Inc. |
3 | 3 |
4 This file is part of GDB. | 4 This file is part of GDB. |
5 | 5 |
6 This program is free software; you can redistribute it and/or modify | 6 This program is free software; you can redistribute it and/or modify |
7 it under the terms of the GNU General Public License as published by | 7 it under the terms of the GNU General Public License as published by |
8 the Free Software Foundation; either version 3 of the License, or | 8 the Free Software Foundation; either version 3 of the License, or |
9 (at your option) any later version. | 9 (at your option) any later version. |
10 | 10 |
11 This program is distributed in the hope that it will be useful, | 11 This program is distributed in the hope that it will be useful, |
12 but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 GNU General Public License for more details. | 14 GNU General Public License for more details. |
15 | 15 |
16 You should have received a copy of the GNU General Public License | 16 You should have received a copy of the GNU General Public License |
17 along with this program. If not, see <http://www.gnu.org/licenses/>. */ | 17 along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
18 | 18 |
19 #ifndef AGENTEXPR_H | 19 #ifndef AGENTEXPR_H |
20 #define AGENTEXPR_H | 20 #define AGENTEXPR_H |
21 | 21 |
22 #include "doublest.h" /* For DOUBLEST. */ | 22 #include "doublest.h" /* For DOUBLEST. */ |
| 23 #include "vec.h" |
23 | 24 |
24 /* It's sometimes useful to be able to debug programs that you can't | 25 /* It's sometimes useful to be able to debug programs that you can't |
25 really stop for more than a fraction of a second. To this end, the | 26 really stop for more than a fraction of a second. To this end, the |
26 user can specify a tracepoint (like a breakpoint, but you don't | 27 user can specify a tracepoint (like a breakpoint, but you don't |
27 stop at it), and specify a bunch of expressions to record the | 28 stop at it), and specify a bunch of expressions to record the |
28 values of when that tracepoint is reached. As the program runs, | 29 values of when that tracepoint is reached. As the program runs, |
29 GDB collects the values. At any point (possibly while values are | 30 GDB collects the values. At any point (possibly while values are |
30 still being collected), the user can display the collected values. | 31 still being collected), the user can display the collected values. |
31 | 32 |
32 This is used with remote debugging; we don't really support it on | 33 This is used with remote debugging; we don't really support it on |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 has. However, the bitmask is reg_mask_len bytes long, so the | 135 has. However, the bitmask is reg_mask_len bytes long, so the |
135 valid register numbers run from 0 to reg_mask_len * 8 - 1. | 136 valid register numbers run from 0 to reg_mask_len * 8 - 1. |
136 | 137 |
137 Also note that this mask may contain registers that are needed | 138 Also note that this mask may contain registers that are needed |
138 for the original collection expression to work, but that are | 139 for the original collection expression to work, but that are |
139 not referenced by any bytecode. This could, for example, occur | 140 not referenced by any bytecode. This could, for example, occur |
140 when collecting a local variable allocated to a register; the | 141 when collecting a local variable allocated to a register; the |
141 compiler sets the mask bit and skips generating a bytecode whose | 142 compiler sets the mask bit and skips generating a bytecode whose |
142 result is going to be discarded anyway. | 143 result is going to be discarded anyway. |
143 */ | 144 */ |
error: old chunk mismatch |
None
OLD | NEW |