OLD | NEW |
1 /* Machine independent GDB support for core files on systems using "regsets". | 1 /* Machine independent GDB support for core files on systems using "regsets". |
2 | 2 |
3 Copyright (C) 1993-1996, 1998-2000, 2003, 2007-2012 Free Software | 3 Copyright (C) 1993-2013 Free Software Foundation, Inc. |
4 Foundation, Inc. | |
5 | 4 |
6 This file is part of GDB. | 5 This file is part of GDB. |
7 | 6 |
8 This program is free software; you can redistribute it and/or modify | 7 This program is free software; you can redistribute it and/or modify |
9 it under the terms of the GNU General Public License as published by | 8 it under the terms of the GNU General Public License as published by |
10 the Free Software Foundation; either version 3 of the License, or | 9 the Free Software Foundation; either version 3 of the License, or |
11 (at your option) any later version. | 10 (at your option) any later version. |
12 | 11 |
13 This program is distributed in the hope that it will be useful, | 12 This program is distributed in the hope that it will be useful, |
14 but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 14 matching lines...) Expand all Loading... |
29 | 28 |
30 #include "defs.h" | 29 #include "defs.h" |
31 #include "command.h" | 30 #include "command.h" |
32 #include "gdbcore.h" | 31 #include "gdbcore.h" |
33 #include "inferior.h" | 32 #include "inferior.h" |
34 #include "target.h" | 33 #include "target.h" |
35 #include "regcache.h" | 34 #include "regcache.h" |
36 | 35 |
37 #include <fcntl.h> | 36 #include <fcntl.h> |
38 #include <errno.h> | 37 #include <errno.h> |
39 #include "gdb_string.h" | 38 #include <string.h> |
40 #include <time.h> | 39 #include <time.h> |
41 #ifdef HAVE_SYS_PROCFS_H | 40 #ifdef HAVE_SYS_PROCFS_H |
42 #include <sys/procfs.h> | 41 #include <sys/procfs.h> |
43 #endif | 42 #endif |
44 | 43 |
45 /* Prototypes for supply_gregset etc. */ | 44 /* Prototypes for supply_gregset etc. */ |
46 #include "gregset.h" | 45 #include "gregset.h" |
47 | 46 |
48 /* Provide registers to GDB from a core file. | 47 /* Provide registers to GDB from a core file. |
49 | 48 |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 }; | 115 }; |
117 | 116 |
118 /* Provide a prototype to silence -Wmissing-prototypes. */ | 117 /* Provide a prototype to silence -Wmissing-prototypes. */ |
119 extern void _initialize_core_regset (void); | 118 extern void _initialize_core_regset (void); |
120 | 119 |
121 void | 120 void |
122 _initialize_core_regset (void) | 121 _initialize_core_regset (void) |
123 { | 122 { |
124 deprecated_add_core_fns (®set_core_fns); | 123 deprecated_add_core_fns (®set_core_fns); |
125 } | 124 } |
OLD | NEW |