| OLD | NEW |
| 1 /* Target signal numbers for GDB and the GDB remote protocol. | 1 /* Target signal numbers for GDB and the GDB remote protocol. |
| 2 Copyright 1986, 1988-2002, 2007-2012 Free Software Foundation, Inc. | 2 Copyright 1986, 1988-2002, 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 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 remote protocols use a similar encoding. However, it is | 38 remote protocols use a similar encoding. However, it is |
| 39 recognized that this set of signals has limitations (such as not | 39 recognized that this set of signals has limitations (such as not |
| 40 distinguishing between various kinds of SIGSEGV, or not | 40 distinguishing between various kinds of SIGSEGV, or not |
| 41 distinguishing hitting a breakpoint from finishing a single step). | 41 distinguishing hitting a breakpoint from finishing a single step). |
| 42 So in the future we may get around this either by adding additional | 42 So in the future we may get around this either by adding additional |
| 43 signals for breakpoint, single-step, etc., or by adding signal | 43 signals for breakpoint, single-step, etc., or by adding signal |
| 44 codes; the latter seems more in the spirit of what BSD, System V, | 44 codes; the latter seems more in the spirit of what BSD, System V, |
| 45 etc. are doing to address these issues. */ | 45 etc. are doing to address these issues. */ |
| 46 | 46 |
| 47 /* For an explanation of what each signal means, see | 47 /* For an explanation of what each signal means, see |
| 48 target_signal_to_string. */ | 48 gdb_signal_to_string. */ |
| 49 | 49 |
| 50 enum target_signal | 50 enum gdb_signal |
| 51 { | 51 { |
| 52 #define SET(symbol, constant, name, string) \ | 52 #define SET(symbol, constant, name, string) \ |
| 53 symbol = constant, | 53 symbol = constant, |
| 54 #include "gdb/signals.def" | 54 #include "gdb/signals.def" |
| 55 #undef SET | 55 #undef SET |
| 56 }; | 56 }; |
| 57 | 57 |
| 58 #endif /* #ifndef GDB_SIGNALS_H */ | 58 #endif /* #ifndef GDB_SIGNALS_H */ |
| OLD | NEW |