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-2012 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. |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 static struct type *dbx_alloc_type (int[2], struct objfile *); | 91 static struct type *dbx_alloc_type (int[2], struct objfile *); |
92 | 92 |
93 static long read_huge_number (char **, int, int *, int); | 93 static long read_huge_number (char **, int, int *, int); |
94 | 94 |
95 static struct type *error_type (char **, struct objfile *); | 95 static struct type *error_type (char **, struct objfile *); |
96 | 96 |
97 static void | 97 static void |
98 patch_block_stabs (struct pending *, struct pending_stabs *, | 98 patch_block_stabs (struct pending *, struct pending_stabs *, |
99 struct objfile *); | 99 struct objfile *); |
100 | 100 |
101 static void fix_common_block (struct symbol *, int); | 101 static void fix_common_block (struct symbol *, CORE_ADDR); |
102 | 102 |
103 static int read_type_number (char **, int *); | 103 static int read_type_number (char **, int *); |
104 | 104 |
105 static struct type *read_type (char **, struct objfile *); | 105 static struct type *read_type (char **, struct objfile *); |
106 | 106 |
107 static struct type *read_range_type (char **, int[2], int, struct objfile *); | 107 static struct type *read_range_type (char **, int[2], int, struct objfile *); |
108 | 108 |
109 static struct type *read_sun_builtin_type (char **, int[2], struct objfile *); | 109 static struct type *read_sun_builtin_type (char **, int[2], struct objfile *); |
110 | 110 |
111 static struct type *read_sun_floating_type (char **, int[2], | 111 static struct type *read_sun_floating_type (char **, int[2], |
(...skipping 1051 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1163 case 'S': | 1163 case 'S': |
1164 /* Static symbol at top level of file. */ | 1164 /* Static symbol at top level of file. */ |
1165 SYMBOL_TYPE (sym) = read_type (&p, objfile); | 1165 SYMBOL_TYPE (sym) = read_type (&p, objfile); |
1166 SYMBOL_CLASS (sym) = LOC_STATIC; | 1166 SYMBOL_CLASS (sym) = LOC_STATIC; |
1167 SYMBOL_VALUE_ADDRESS (sym) = valu; | 1167 SYMBOL_VALUE_ADDRESS (sym) = valu; |
1168 if (gdbarch_static_transform_name_p (gdbarch) | 1168 if (gdbarch_static_transform_name_p (gdbarch) |
1169 && gdbarch_static_transform_name (gdbarch, | 1169 && gdbarch_static_transform_name (gdbarch, |
1170 SYMBOL_LINKAGE_NAME (sym)) | 1170 SYMBOL_LINKAGE_NAME (sym)) |
1171 != SYMBOL_LINKAGE_NAME (sym)) | 1171 != SYMBOL_LINKAGE_NAME (sym)) |
1172 { | 1172 { |
error: old chunk mismatch |
None
OLD | NEW |