]>
Commit | Line | Data |
---|---|---|
469db033 MK |
1 | 2006-01-15 Mark Kettenis <[email protected]> |
2 | ||
3 | * s390-tdep.c: Do not include "tm.h" and "../bfd/bfd.h". | |
4 | * Makefile.in (s390-tdep.o): Update dependencies. | |
5 | ||
4dd7c9f6 MK |
6 | 2006-01-14 Mark Kettenis <[email protected]> |
7 | ||
081bf9da MK |
8 | * sol2-tdep.h. sol2-tdep.c: New files. |
9 | * amd64-sol2-tdep.c: Include "sol2-tdep.h". | |
10 | (amd64_sol2_init_abi): Set skip_solib_resolver. | |
11 | * i386-sol2-tdep.c: Include "sol2-tdep.h". | |
12 | (i386_sol2_init_abi): Set skip_solib_resolver. | |
13 | * sparc-sol2-tdep.c: Include "sol2-tdep.h". | |
14 | (sparc32_sol2_init_abi): Set skip_solib_resolver. | |
15 | * sparc64-sol2-tdep.c: Include "sol2-tdep.h". | |
16 | (sparc64_sol2_init_abi): Set skip_solib_resolver. | |
17 | * Makefile.in (sol2_tdep_h): New variable. | |
18 | (ALLDEPFILES): Add sol2-tdep.c. | |
19 | (sol2-tdep.o): New target. | |
20 | (amd64-sol2-tdep.o, i386-sol2-tdep.o, sparc-sol2-tdep.o) | |
21 | (sparc64-sol2-tdep.o): Update dependencies | |
22 | * config/i386/i386sol2.mt (TDEPFILES): Add sol2-tdep.o. | |
23 | * config/i386/sol2-64.mt (TDEPFILES): Add sol2-tdep.o. | |
24 | * config/sparc/sol2.mt (TDEPFILES): Add sol2-tdep.o. | |
25 | * config/sparc/sol2-64.mt (TDEPFILES): Add sol2-tdep.o. | |
26 | ||
c0f96416 MK |
27 | * hppa-linux-tdep.c: Fix copyright indentation. |
28 | ||
4dd7c9f6 MK |
29 | * hppa-tdep.h (enum hppa_regnum): Add HPPA_FP31R_REGNUM. |
30 | * hppabsd-nat.c (hppabsd_fpregset_supplies_p) | |
31 | (hppabsd_supply_fpregset, hppabsd_collect_fpregset): New | |
32 | functions. | |
33 | (hppabsd_fetch_registers, hppabsd_store_registers): Handle | |
34 | floating-point registers. | |
35 | ||
6da86618 MM |
36 | 2006-01-13 Mark Mitchell <[email protected]> |
37 | ||
38 | * event-loop.c (gdb_select): Detect file descriptors that have | |
39 | been closed. | |
40 | ||
ed944ce7 MK |
41 | 2006-01-13 Mark Kettenis <[email protected]> |
42 | ||
43 | * hppabsd-tdep.c (hppabsd_init_abi): Set long_double_bit to 64, | |
44 | and long_double_format accordingly. | |
45 | ||
03ee6b2e PH |
46 | 2006-01-12 Paul N. Hilfinger <[email protected]> |
47 | ||
48 | * ada-exp.y (yyerror): Change message to ignore the argument, avoiding | |
49 | translation problems. | |
50 | * ada-lang.c (ada_value_struct_elt): Change interface and handling | |
51 | of errors to avoid translation problem (and less than optimal error | |
52 | messages). | |
53 | (ada_value_tag, ada_tag_name_1, ada_tag_name_2, ada_evaluate_subexp): | |
54 | Use new interface to ada_value_struct_elt. | |
55 | * ada_lang.h (ada_value_struct_elt): Update declaration to new | |
56 | interface. | |
57 | ||
58 | * ChangeLog: remove reference to ada-tasks.c from entry of | |
59 | 2006-01-07. | |
60 | ||
24b06219 MK |
61 | 2006-01-11 Mark Kettenis <[email protected]> |
62 | ||
63 | * remote.c (get_memory_packet_size, set_thread) | |
64 | (remote_unpack_thread_info_response, remote_get_threadinfo) | |
65 | (parse_threadlist_response, remote_get_threadlist) | |
66 | (remote_current_thread, remote_threads_info) | |
67 | (remote_threads_extra_info, extended_remote_restart, get_offsets) | |
68 | (remote_check_symbols, remote_open_1, remote_detach) | |
69 | (remote_async_wait, remote_fetch_registers) | |
70 | (remote_store_registers, check_binary_download, putpkt_binary) | |
71 | (remote_insert_breakpoint, remote_insert_watchpoint) | |
72 | (remote_remove_watchpoint, remote_insert_hw_breakpoint) | |
73 | (remote_remove_hw_breakpoint, remote_xfer_partial, remote_rcmd) | |
74 | (packet_command): Remove redundant parenthesis. | |
75 | ||
15550d6b MK |
76 | 2006-01-10 Mark Kettenis <[email protected]> |
77 | ||
dfb65433 MK |
78 | * corefile.c (read_memory_integer, read_memory_unsigned_integer) |
79 | (read_memory_typed_address, write_memory) | |
80 | (write_memory_unsigned_integer, write_memory_signed_integer): Use | |
81 | gdb_byte where appropriate. | |
82 | ||
508416a1 MK |
83 | * mi/mi-main.c (mi_cmd_data_read_memory): Change type of mbus into |
84 | 'gdb_byte *'. | |
85 | ||
f6519ebc MK |
86 | * target.h (target_read_memory_partial, target_write_memory_partial): |
87 | Change second argument to 'gdb_byte *'. | |
88 | * target.c (target_xfer_memory_partial): Change third argument to | |
89 | 'gdb_byte *'. | |
90 | (target_read_memory_partial, target_write_memory_partial): Change | |
91 | second argument to 'gdb_byte *'. | |
92 | ||
15550d6b MK |
93 | * linespec.c (decode_objc): Make i1 and i2 unsigned. |
94 | (find_method): Set values.sals to NULL. | |
95 | ||
d7a30af7 MK |
96 | 2006-01-09 Mark Kettenis <[email protected]> |
97 | ||
98 | * amd64obsd-nat.c (amd64obsd_supply_pcb): Use 'gdb_byte *' instead | |
99 | of 'char *' in cast. | |
100 | ||
e1d5a0d2 PH |
101 | 2006-01-07 Paul N. Hilfinger <[email protected]> |
102 | ||
103 | * ada-exp.y, ada-lex.l, ada-typeprint.c: I18n markup. | |
03ee6b2e | 104 | * ada-lang.c: I18n markup. |
e1d5a0d2 PH |
105 | Editorial: change "can not" => "cannot" throughout. |
106 | ||
790124be MK |
107 | 2006-01-07 Mark Kettenis <[email protected]> |
108 | ||
109 | * Makefile.in: Sort dependencies. | |
110 | ||
3c481fdc EZ |
111 | 2006-01-07 Eli Zaretskii <[email protected]> |
112 | ||
113 | * top.c (control_level): Remove unused variable. | |
114 | ||
cb5d864f FF |
115 | 2006-01-06 Fred Fish <[email protected]> |
116 | ||
117 | * objfiles.c (source.h): Include. | |
118 | (free_objfile): Update comment about clear_symtab_users(). | |
119 | (free_objfile): Check all symtabs of objfile being freed and if | |
120 | one of them is the current source symtab, call | |
121 | clear_current_source_symtab_and_line(). | |
122 | ||
ac264b3b MS |
123 | 2006-01-04 Michael Snyder <[email protected]> |
124 | ||
125 | Checkpoint/Restart for Linux. | |
126 | * linux-nat.c: Add support for debugging multiple forks. | |
127 | Add #include for linux-fork.h (interface spec). | |
128 | (super_mourn_inferior): New function pointer. | |
129 | (child_mourn_inferior): New function / target method. | |
130 | (linux_target): Claim to_mourn_inferior method pointer. | |
131 | (child_follow_fork): Call interface to linux-fork, conditionally | |
132 | add new fork processes to list of debugged processes. | |
133 | (kill_inferior): Use interface to linux-fork to kill | |
134 | multiple processes. | |
135 | ||
136 | * linux-fork.h: New file. | |
137 | * linux-fork.c: New file. Support for debugging multiple forks | |
138 | of the same program. Support for checkpoint and restart commands. | |
139 | ||
140 | * infrun.c (nullify_last_target_wait_ptid): New function. | |
141 | ||
142 | * Makefile.in: Add linux-fork. | |
143 | * config/*/linux.mh: Add linux-fork. | |
144 | * NEWS: Mention new functionality. | |
145 | ||
f98ce7c2 PH |
146 | 2006-01-02 Paul Hilfinger <[email protected]> |
147 | ||
148 | * ada-exp.y (syntax definitions,write_var_or_type,write_name_assoc): | |
149 | Change uses of "illegal" to "invalid". | |
150 | ||
52ce6436 PH |
151 | 2006-01-02 Paul N. Hilfinger <[email protected]> |
152 | ||
153 | * ada-exp.y: Considerable reorganization to move functionality | |
154 | from ada-lex.l to here, where it is logically more appropriate. | |
155 | The original reason, however, was to prevent premature name | |
156 | lookups for selector names in record aggregates. | |
157 | (BLOCKNAME, TYPENAME, OBJECT_RENAMING): Remove; lexer now returns | |
158 | NAME for all of these. | |
159 | (VAR): New artificial token to clarify precedence rules. | |
160 | (OTHERS): New lexeme. | |
161 | (empty_stoken): New symbol. | |
162 | (%union): Remove ssym, voidval. | |
163 | (%type): Remove <voidval> type declarations. | |
164 | (syntax definitions): Add aggregates. | |
165 | Remove distinction between NAME, TYPENAME, BLOCKNAME, OBJECT_RENAMING. | |
166 | Rename some non-terminals to be closer to reference manual usage. | |
167 | Tighten up expression syntax to disallow certain non-Ada | |
168 | constructions such as X and then Y or else Z. | |
169 | (ada_parse): Remove initialization of left_block_context. | |
170 | (write_var_from_name): Remove. | |
171 | (write_var_or_type): New function, containing previous code from | |
172 | defunct write_var_from_name and name_lookup. | |
173 | (block_lookup): New function, moved from ada-lex.l | |
174 | (select_possible_type_sym): New function, factored out of | |
175 | name_lookup, which used to be in ada-lex.l. | |
176 | (find_primitive_type): Ditto. | |
177 | (chop_selector): Ditto. | |
178 | (write_ambiguous_var): New function, factored out of defunct | |
179 | write_var_from_name. | |
180 | (write_selectors): New function. | |
181 | (write_name_assoc): New function. | |
182 | (write_exp_op_with_string): New function. | |
183 | ||
184 | * ada-lex.l (processId): Change interface to return stoken. | |
185 | (tempbuf, resize_tempbuf, tempbuf_size, tempbuf_len): Remove. | |
186 | (block_lookup, name_lookup): Remove. Functionality moved to | |
187 | ada-exp.y. | |
188 | (state IN_STRING): Remove. | |
189 | (rules): Handle string escapes in processString. | |
190 | Add 'others' token. | |
191 | Return all NAMEs, BLOCKNAMEs, OBJECT_RENAMINGs, TYPENAMEs in | |
192 | yylval.sval (as simple strings). | |
193 | All name look-ups now handled in ada-exp.y. | |
194 | Introduce "::" (COLONCOLON) token and return as separate token. | |
195 | (processId): Change return convention. Comment. | |
196 | Leave leading "'" in place. | |
197 | (processString): New function. | |
198 | (find_dot_all): Add note to comment. | |
199 | Fix problem that allowed match only at the end. | |
200 | ||
201 | * ada-lang.c: Introduce aggregates. | |
202 | (find_struct_field): Add new parameter to count fields skipped, and | |
203 | allow other output parameters to be NULL. | |
204 | (value_tag_from_contents_and_address, ada_value_struct_elt): Use | |
205 | new find_struct_field. | |
206 | (ada_index_struct_field, assign_aggregate, ada_is_array_type) | |
207 | (num_visible_fields, ada_index_struct_field_1, ada_index_struct_field) | |
208 | (num_component_specs, assign_component, assign_aggregate): | |
209 | (aggregate_assign_from_choices,aggregate_assign_positional) | |
210 | (aggregate_assign_others,add_component_interval): | |
211 | New functions. | |
212 | (ada_evaluate_subexp): Declare. | |
213 | Add aggregate-related operators. | |
214 | (ada_forward_operator_length): Declare. | |
215 | (resolve_subexp): Add cases for new aggregate operators and OP_NAME. | |
216 | Consolidate Ada operators, using ada_forward_operator_length. | |
217 | (ada_search_struct_field): Search in forward order. | |
218 | (ADA_OPERATORS): Add new aggregate operators. | |
219 | (ada_operator_length, ada_op_name, ada_forward_operator_length) | |
220 | (ada_dump_subexp_body, ada_print_subexp): Handle new aggregate | |
221 | operators and OP_NAME. | |
222 | (ada_type_of_array): Use longest_to_int. | |
223 | (value_assign_to_component): New function. | |
224 | (ada_forward_operator_length, ada_op_name, ada_dump_subexp_body): | |
225 | Add OP_NAME case. | |
226 | (ada_forward_operator_length, ada_dump_subexp_body): | |
227 | Add OP_STRING case. | |
228 | ||
229 | * ada-lang.h (enum ada_operator): Add OP_AGGREGATE, OP_OTHERS, | |
230 | OP_CHOICES, OP_DISCRETE_RANGE, OP_POSITIONAL. | |
231 | ||
529cad9c PH |
232 | 2006-01-02 Paul N. Hilfinger <[email protected]> |
233 | ||
234 | * ada-lang.c (process_raise_exception_name): Remove extraneous | |
235 | definition from unsubmitted code. | |
236 | ||
237 | (is_lower_alphanum): New function. | |
238 | (ada_decode): Add support for decoding protected object subprograms | |
239 | and entries, and of entities declared inside protected object | |
240 | subprograms. | |
241 | Also add missing handling for__{DIGITS}+ suffixes. | |
242 | Allow '$<digits>' as valid overloading suffix. | |
243 | (is_name_suffix): Add handling for protected type entriy suffixes. | |
244 | Also add support for protected type subprogram suffixes, but keep | |
245 | it commented out for now, as there is an ambiguity between these | |
246 | entities and other internally generated entities. | |
247 | Allow '$<digits>' as valid overloading suffix. | |
248 | (is_valid_name_for_wild_match): New function. | |
249 | (wild_match): Add an exra level of verification of the entity name | |
250 | before declaring it a match for the given pattern. | |
251 | ||
252 | (ada_type_of_array, ada_evaluate_subexp): Use more proper | |
253 | longest_to_int rather than cast. | |
254 | ||
255 | (ada_evaluate_subexp): Use "invalid" rather than "illegal" in comment. | |
256 | ||
257 | (ada_coerce_to_simple_array): Call check_size to make sure | |
258 | that the object size is reasonable. | |
259 | ||
260 | (ada_value_primitive_packed_val): Use correct location in target | |
261 | buffer for extracting packed record fields that are themselves records. | |
262 | ||
263 | (add_defn_to_vec): Do not try to replace a stub type by its full | |
264 | type. Avoids a potential infinite loop. | |
265 | ||
266 | (ada_lookup_symbol): Move return incorrectly placed return statement, | |
267 | causing a loop that should be scanning all object files to only | |
268 | scan the first one. | |
269 | ||
270 | (ada_tag_name_2): New function. | |
271 | (ada_tag_name_1): If no 'tsd' field found in the dispatching table, | |
272 | use alternative representation. | |
273 | ||
274 | (ada_find_renaming_symbol): Strip the function name suffix when | |
275 | computing the XR type name. | |
276 | ||
277 | (ada_to_fixed_type): Try determining the tag only if we have the | |
278 | object's address. | |
279 | (to_fixed_array_type): Add comments. | |
280 | ||
281 | (ada_check_typedef): Replace expression checking whether the given | |
282 | type is a stub or not by a "call" to TYPE_STUB. Clearer and more | |
283 | consistent. | |
284 | ||
285 | * ada-lang.h (ADA_KNOWN_AUXILIARY_FUNCTION_NAME_PATTERNS): Allow | |
286 | '$' in addition to '.' for runtime auxiliary function name suffixes. | |
287 | See changes to ada_decode above. | |
288 | ||
289 | (struct task_control_block): Add field called_task. (This change is | |
290 | to keep synchronized with our local sources; it does not affect the | |
291 | public version yet.) | |
292 | ||
293 | * ada-typeprint.c (ada_print_type): Use int_string for printing | |
294 | modulus of modular type. | |
295 | ||
296 | (print_range): Trivial editorial comment fix. | |
297 | ||
298 | * ada-valprint.c (ada_emit_char): Use normal Ada syntax for | |
299 | double quote in string. | |
300 | ||
9b799fe6 JB |
301 | 2006-01-01 Joel Brobecker <[email protected]> |
302 | ||
303 | * top.c: Add 2006 to list of copyright years in file header. | |
304 | ||
0bee0712 JB |
305 | 2006-01-01 Joel Brobecker <[email protected]> |
306 | ||
307 | * top.c (print_gdb_version): Update copyright year to 2006. | |
308 | ||
13c763f4 JB |
309 | 2006-01-01 Roger Sayle <[email protected]> |
310 | Elena Zannoni <[email protected]> | |
311 | ||
312 | PR symtab/1651 | |
313 | * xcoffread.c (xcoff_next_symbol_text): Check this_symtab_psymtab | |
314 | for NULL before assigning this_symtab_psymtab->objfile to objfile. | |
315 | (scan_xcoff_symtab): Initialize next_symbol_text_func. | |
316 | (Committed by Jim Blandy) | |
317 | ||
e50f0da1 | 318 | For older changes see ChangeLog-2005. |
c906108c SS |
319 | \f |
320 | Local Variables: | |
321 | mode: change-log | |
322 | left-margin: 8 | |
323 | fill-column: 74 | |
324 | version-control: never | |
325 | End: |