Commit | Line | Data |
---|---|---|
790124be MK |
1 | 2006-01-07 Mark Kettenis <kettenis@gnu.org> |
2 | ||
3 | * Makefile.in: Sort dependencies. | |
4 | ||
3c481fdc EZ |
5 | 2006-01-07 Eli Zaretskii <eliz@gnu.org> |
6 | ||
7 | * top.c (control_level): Remove unused variable. | |
8 | ||
cb5d864f FF |
9 | 2006-01-06 Fred Fish <fnf@specifix.com> |
10 | ||
11 | * objfiles.c (source.h): Include. | |
12 | (free_objfile): Update comment about clear_symtab_users(). | |
13 | (free_objfile): Check all symtabs of objfile being freed and if | |
14 | one of them is the current source symtab, call | |
15 | clear_current_source_symtab_and_line(). | |
16 | ||
ac264b3b MS |
17 | 2006-01-04 Michael Snyder <msnyder@redhat.com> |
18 | ||
19 | Checkpoint/Restart for Linux. | |
20 | * linux-nat.c: Add support for debugging multiple forks. | |
21 | Add #include for linux-fork.h (interface spec). | |
22 | (super_mourn_inferior): New function pointer. | |
23 | (child_mourn_inferior): New function / target method. | |
24 | (linux_target): Claim to_mourn_inferior method pointer. | |
25 | (child_follow_fork): Call interface to linux-fork, conditionally | |
26 | add new fork processes to list of debugged processes. | |
27 | (kill_inferior): Use interface to linux-fork to kill | |
28 | multiple processes. | |
29 | ||
30 | * linux-fork.h: New file. | |
31 | * linux-fork.c: New file. Support for debugging multiple forks | |
32 | of the same program. Support for checkpoint and restart commands. | |
33 | ||
34 | * infrun.c (nullify_last_target_wait_ptid): New function. | |
35 | ||
36 | * Makefile.in: Add linux-fork. | |
37 | * config/*/linux.mh: Add linux-fork. | |
38 | * NEWS: Mention new functionality. | |
39 | ||
f98ce7c2 PH |
40 | 2006-01-02 Paul Hilfinger <hilfingr@nile.gnat.com> |
41 | ||
42 | * ada-exp.y (syntax definitions,write_var_or_type,write_name_assoc): | |
43 | Change uses of "illegal" to "invalid". | |
44 | ||
52ce6436 PH |
45 | 2006-01-02 Paul N. Hilfinger <hilfinger@adacore.com> |
46 | ||
47 | * ada-exp.y: Considerable reorganization to move functionality | |
48 | from ada-lex.l to here, where it is logically more appropriate. | |
49 | The original reason, however, was to prevent premature name | |
50 | lookups for selector names in record aggregates. | |
51 | (BLOCKNAME, TYPENAME, OBJECT_RENAMING): Remove; lexer now returns | |
52 | NAME for all of these. | |
53 | (VAR): New artificial token to clarify precedence rules. | |
54 | (OTHERS): New lexeme. | |
55 | (empty_stoken): New symbol. | |
56 | (%union): Remove ssym, voidval. | |
57 | (%type): Remove <voidval> type declarations. | |
58 | (syntax definitions): Add aggregates. | |
59 | Remove distinction between NAME, TYPENAME, BLOCKNAME, OBJECT_RENAMING. | |
60 | Rename some non-terminals to be closer to reference manual usage. | |
61 | Tighten up expression syntax to disallow certain non-Ada | |
62 | constructions such as X and then Y or else Z. | |
63 | (ada_parse): Remove initialization of left_block_context. | |
64 | (write_var_from_name): Remove. | |
65 | (write_var_or_type): New function, containing previous code from | |
66 | defunct write_var_from_name and name_lookup. | |
67 | (block_lookup): New function, moved from ada-lex.l | |
68 | (select_possible_type_sym): New function, factored out of | |
69 | name_lookup, which used to be in ada-lex.l. | |
70 | (find_primitive_type): Ditto. | |
71 | (chop_selector): Ditto. | |
72 | (write_ambiguous_var): New function, factored out of defunct | |
73 | write_var_from_name. | |
74 | (write_selectors): New function. | |
75 | (write_name_assoc): New function. | |
76 | (write_exp_op_with_string): New function. | |
77 | ||
78 | * ada-lex.l (processId): Change interface to return stoken. | |
79 | (tempbuf, resize_tempbuf, tempbuf_size, tempbuf_len): Remove. | |
80 | (block_lookup, name_lookup): Remove. Functionality moved to | |
81 | ada-exp.y. | |
82 | (state IN_STRING): Remove. | |
83 | (rules): Handle string escapes in processString. | |
84 | Add 'others' token. | |
85 | Return all NAMEs, BLOCKNAMEs, OBJECT_RENAMINGs, TYPENAMEs in | |
86 | yylval.sval (as simple strings). | |
87 | All name look-ups now handled in ada-exp.y. | |
88 | Introduce "::" (COLONCOLON) token and return as separate token. | |
89 | (processId): Change return convention. Comment. | |
90 | Leave leading "'" in place. | |
91 | (processString): New function. | |
92 | (find_dot_all): Add note to comment. | |
93 | Fix problem that allowed match only at the end. | |
94 | ||
95 | * ada-lang.c: Introduce aggregates. | |
96 | (find_struct_field): Add new parameter to count fields skipped, and | |
97 | allow other output parameters to be NULL. | |
98 | (value_tag_from_contents_and_address, ada_value_struct_elt): Use | |
99 | new find_struct_field. | |
100 | (ada_index_struct_field, assign_aggregate, ada_is_array_type) | |
101 | (num_visible_fields, ada_index_struct_field_1, ada_index_struct_field) | |
102 | (num_component_specs, assign_component, assign_aggregate): | |
103 | (aggregate_assign_from_choices,aggregate_assign_positional) | |
104 | (aggregate_assign_others,add_component_interval): | |
105 | New functions. | |
106 | (ada_evaluate_subexp): Declare. | |
107 | Add aggregate-related operators. | |
108 | (ada_forward_operator_length): Declare. | |
109 | (resolve_subexp): Add cases for new aggregate operators and OP_NAME. | |
110 | Consolidate Ada operators, using ada_forward_operator_length. | |
111 | (ada_search_struct_field): Search in forward order. | |
112 | (ADA_OPERATORS): Add new aggregate operators. | |
113 | (ada_operator_length, ada_op_name, ada_forward_operator_length) | |
114 | (ada_dump_subexp_body, ada_print_subexp): Handle new aggregate | |
115 | operators and OP_NAME. | |
116 | (ada_type_of_array): Use longest_to_int. | |
117 | (value_assign_to_component): New function. | |
118 | (ada_forward_operator_length, ada_op_name, ada_dump_subexp_body): | |
119 | Add OP_NAME case. | |
120 | (ada_forward_operator_length, ada_dump_subexp_body): | |
121 | Add OP_STRING case. | |
122 | ||
123 | * ada-lang.h (enum ada_operator): Add OP_AGGREGATE, OP_OTHERS, | |
124 | OP_CHOICES, OP_DISCRETE_RANGE, OP_POSITIONAL. | |
125 | ||
529cad9c PH |
126 | 2006-01-02 Paul N. Hilfinger <hilfinger@adacore.com> |
127 | ||
128 | * ada-lang.c (process_raise_exception_name): Remove extraneous | |
129 | definition from unsubmitted code. | |
130 | ||
131 | (is_lower_alphanum): New function. | |
132 | (ada_decode): Add support for decoding protected object subprograms | |
133 | and entries, and of entities declared inside protected object | |
134 | subprograms. | |
135 | Also add missing handling for__{DIGITS}+ suffixes. | |
136 | Allow '$<digits>' as valid overloading suffix. | |
137 | (is_name_suffix): Add handling for protected type entriy suffixes. | |
138 | Also add support for protected type subprogram suffixes, but keep | |
139 | it commented out for now, as there is an ambiguity between these | |
140 | entities and other internally generated entities. | |
141 | Allow '$<digits>' as valid overloading suffix. | |
142 | (is_valid_name_for_wild_match): New function. | |
143 | (wild_match): Add an exra level of verification of the entity name | |
144 | before declaring it a match for the given pattern. | |
145 | ||
146 | (ada_type_of_array, ada_evaluate_subexp): Use more proper | |
147 | longest_to_int rather than cast. | |
148 | ||
149 | (ada_evaluate_subexp): Use "invalid" rather than "illegal" in comment. | |
150 | ||
151 | (ada_coerce_to_simple_array): Call check_size to make sure | |
152 | that the object size is reasonable. | |
153 | ||
154 | (ada_value_primitive_packed_val): Use correct location in target | |
155 | buffer for extracting packed record fields that are themselves records. | |
156 | ||
157 | (add_defn_to_vec): Do not try to replace a stub type by its full | |
158 | type. Avoids a potential infinite loop. | |
159 | ||
160 | (ada_lookup_symbol): Move return incorrectly placed return statement, | |
161 | causing a loop that should be scanning all object files to only | |
162 | scan the first one. | |
163 | ||
164 | (ada_tag_name_2): New function. | |
165 | (ada_tag_name_1): If no 'tsd' field found in the dispatching table, | |
166 | use alternative representation. | |
167 | ||
168 | (ada_find_renaming_symbol): Strip the function name suffix when | |
169 | computing the XR type name. | |
170 | ||
171 | (ada_to_fixed_type): Try determining the tag only if we have the | |
172 | object's address. | |
173 | (to_fixed_array_type): Add comments. | |
174 | ||
175 | (ada_check_typedef): Replace expression checking whether the given | |
176 | type is a stub or not by a "call" to TYPE_STUB. Clearer and more | |
177 | consistent. | |
178 | ||
179 | * ada-lang.h (ADA_KNOWN_AUXILIARY_FUNCTION_NAME_PATTERNS): Allow | |
180 | '$' in addition to '.' for runtime auxiliary function name suffixes. | |
181 | See changes to ada_decode above. | |
182 | ||
183 | (struct task_control_block): Add field called_task. (This change is | |
184 | to keep synchronized with our local sources; it does not affect the | |
185 | public version yet.) | |
186 | ||
187 | * ada-typeprint.c (ada_print_type): Use int_string for printing | |
188 | modulus of modular type. | |
189 | ||
190 | (print_range): Trivial editorial comment fix. | |
191 | ||
192 | * ada-valprint.c (ada_emit_char): Use normal Ada syntax for | |
193 | double quote in string. | |
194 | ||
9b799fe6 JB |
195 | 2006-01-01 Joel Brobecker <brobecker@adacore.com> |
196 | ||
197 | * top.c: Add 2006 to list of copyright years in file header. | |
198 | ||
0bee0712 JB |
199 | 2006-01-01 Joel Brobecker <brobecker@adacore.com> |
200 | ||
201 | * top.c (print_gdb_version): Update copyright year to 2006. | |
202 | ||
13c763f4 JB |
203 | 2006-01-01 Roger Sayle <roger@eyesopen.com> |
204 | Elena Zannoni <ezannoni@redhat.com> | |
205 | ||
206 | PR symtab/1651 | |
207 | * xcoffread.c (xcoff_next_symbol_text): Check this_symtab_psymtab | |
208 | for NULL before assigning this_symtab_psymtab->objfile to objfile. | |
209 | (scan_xcoff_symtab): Initialize next_symbol_text_func. | |
210 | (Committed by Jim Blandy) | |
211 | ||
e50f0da1 | 212 | For older changes see ChangeLog-2005. |
c906108c SS |
213 | \f |
214 | Local Variables: | |
215 | mode: change-log | |
216 | left-margin: 8 | |
217 | fill-column: 74 | |
218 | version-control: never | |
219 | End: |