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