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