OLD | NEW |
1 /* Support routines for decoding "stabs" debugging information format. | 1 /* Support routines for decoding "stabs" debugging information format. |
2 | 2 |
3 Copyright (C) 1986-2012 Free Software Foundation, Inc. | 3 Copyright (C) 1986-2013 Free Software Foundation, Inc. |
4 | 4 |
5 This file is part of GDB. | 5 This file is part of GDB. |
6 | 6 |
7 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 |
8 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 |
9 the Free Software Foundation; either version 3 of the License, or | 9 the Free Software Foundation; either version 3 of the License, or |
10 (at your option) any later version. | 10 (at your option) any later version. |
11 | 11 |
12 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, |
13 but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 GNU General Public License for more details. | 15 GNU General Public License for more details. |
16 | 16 |
17 You should have received a copy of the GNU General Public License | 17 You should have received a copy of the GNU General Public License |
18 along with this program. If not, see <http://www.gnu.org/licenses/>. */ | 18 along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
19 | 19 |
20 /* Support routines for reading and decoding debugging information in | 20 /* Support routines for reading and decoding debugging information in |
21 the "stabs" format. This format is used with many systems that use | 21 the "stabs" format. This format is used with many systems that use |
22 the a.out object file format, as well as some systems that use | 22 the a.out object file format, as well as some systems that use |
23 COFF or ELF where the stabs data is placed in a special section. | 23 COFF or ELF where the stabs data is placed in a special section. |
24 Avoid placing any object file format specific code in this file. */ | 24 Avoid placing any object file format specific code in this file. */ |
25 | 25 |
26 #include "defs.h" | 26 #include "defs.h" |
27 #include "gdb_string.h" | 27 #include <string.h> |
28 #include "bfd.h" | 28 #include "bfd.h" |
29 #include "gdb_obstack.h" | 29 #include "gdb_obstack.h" |
30 #include "symtab.h" | 30 #include "symtab.h" |
31 #include "gdbtypes.h" | 31 #include "gdbtypes.h" |
32 #include "expression.h" | 32 #include "expression.h" |
33 #include "symfile.h" | 33 #include "symfile.h" |
34 #include "objfiles.h" | 34 #include "objfiles.h" |
35 #include "aout/stab_gnu.h" /* We always use GNU stabs, not native. */ | 35 #include "aout/stab_gnu.h" /* We always use GNU stabs, not native. */ |
36 #include "libaout.h" | 36 #include "libaout.h" |
37 #include "aout/aout64.h" | 37 #include "aout/aout64.h" |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 int typenums[2]; | 197 int typenums[2]; |
198 struct type *type; | 198 struct type *type; |
199 }; | 199 }; |
200 static struct nat *noname_undefs; | 200 static struct nat *noname_undefs; |
201 static int noname_undefs_allocated; | 201 static int noname_undefs_allocated; |
202 static int noname_undefs_length; | 202 static int noname_undefs_length; |
203 | 203 |
204 /* Check for and handle cretinous stabs symbol name continuation! */ | 204 /* Check for and handle cretinous stabs symbol name continuation! */ |
205 #define STABS_CONTINUE(pp,objfile) \ | 205 #define STABS_CONTINUE(pp,objfile) \ |
206 do { \ | 206 do { \ |
error: old chunk mismatch |
None
OLD | NEW |