| OLD | NEW | 
|     1 /* Data structures associated with breakpoints in GDB. |     1 /* Data structures associated with breakpoints in GDB. | 
|     2    Copyright (C) 1992-2004, 2007-2012 Free Software Foundation, Inc. |     2    Copyright (C) 1992-2004, 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 #if !defined (BREAKPOINT_H) |    19 #if !defined (BREAKPOINT_H) | 
|    20 #define BREAKPOINT_H 1 |    20 #define BREAKPOINT_H 1 | 
|    21  |    21  | 
|    22 #include "frame.h" |    22 #include "frame.h" | 
|    23 #include "value.h" |    23 #include "value.h" | 
|    24 #include "vec.h" |    24 #include "vec.h" | 
 |    25 #include "ax.h" | 
 |    26 #include "command.h" | 
|    25  |    27  | 
|    26 struct value; |    28 struct value; | 
|    27 struct block; |    29 struct block; | 
|    28 struct breakpoint_object; |    30 struct breakpoint_object; | 
|    29 struct get_number_or_range_state; |    31 struct get_number_or_range_state; | 
|    30 struct thread_info; |    32 struct thread_info; | 
|    31 struct bpstats; |    33 struct bpstats; | 
|    32 struct bp_location; |    34 struct bp_location; | 
 |    35 struct linespec_result; | 
 |    36 struct linespec_sals; | 
|    33  |    37  | 
|    34 /* This is the maximum number of bytes a breakpoint instruction can |    38 /* This is the maximum number of bytes a breakpoint instruction can | 
|    35    take.  Feel free to increase it.  It's just used in a few places to |    39    take.  Feel free to increase it.  It's just used in a few places to | 
|    36    size arrays that should be independent of the target |    40    size arrays that should be independent of the target | 
|    37    architecture.  */ |    41    architecture.  */ | 
|    38  |    42  | 
|    39 #define BREAKPOINT_MAX  16 |    43 #define BREAKPOINT_MAX  16 | 
|    40  |    44  | 
|    41  |    45  | 
|    42  |    46  | 
|    43 /* Type of breakpoint.  */ |    47 /* Type of breakpoint.  */ | 
|    44 /* FIXME In the future, we should fold all other breakpoint-like |    48 /* FIXME In the future, we should fold all other breakpoint-like | 
|    45    things into here.  This includes: |    49    things into here.  This includes: | 
|    46  |    50  | 
|    47    * single-step (for machines where we have to simulate single |    51    * single-step (for machines where we have to simulate single | 
|    48    stepping) (probably, though perhaps it is better for it to look as |    52    stepping) (probably, though perhaps it is better for it to look as | 
|    49    much as possible like a single-step to wait_for_inferior).  */ |    53    much as possible like a single-step to wait_for_inferior).  */ | 
|    50  |    54  | 
|    51 enum bptype |    55 enum bptype | 
|    52   { |    56   { | 
|    53     bp_none = 0,                /* Eventpoint has been deleted */ |    57     bp_none = 0,                /* Eventpoint has been deleted */ | 
|    54     bp_breakpoint,              /* Normal breakpoint */ |    58     bp_breakpoint,              /* Normal breakpoint */ | 
|    55     bp_hardware_breakpoint,     /* Hardware assisted breakpoint */ |    59     bp_hardware_breakpoint,     /* Hardware assisted breakpoint */ | 
|    56     bp_until,                   /* used by until command */ |    60     bp_until,                   /* used by until command */ | 
|    57     bp_finish,                  /* used by finish command */ |    61     bp_finish,                  /* used by finish command */ | 
|    58     bp_watchpoint,              /* Watchpoint */ |    62     bp_watchpoint,              /* Watchpoint */ | 
|    59     bp_hardware_watchpoint,     /* Hardware assisted watchpoint */ |    63     bp_hardware_watchpoint,     /* Hardware assisted watchpoint */ | 
|    60     bp_read_watchpoint,         /* read watchpoint, (hardware assisted) */ |    64     bp_read_watchpoint,         /* read watchpoint, (hardware assisted) */ | 
error: old chunk mismatch | 
None
| OLD | NEW |