]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/ChangeLog
record-btrace: provide target_find_new_threads method
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
1 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2
3 * record-btrace.c (record_btrace_find_new_threads)
4 (record_btrace_thread_alive): New.
5 (init_record_btrace_ops): Initialize to_find_new_threads and
6 to_thread_alive.
7
8 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
9
10 * record-btrace.c (record_btrace_resume): New.
11 (record_btrace_wait): New.
12 (init_record_btrace_ops): Initialize to_wait and to_resume.
13
14 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
15
16 * record-btrace.c (record_btrace_xfer_partial)
17 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
18 (record_btrace_allow_memory_access): New.
19 (init_record_btrace_ops): Initialize new methods.
20 * target.c (raw_memory_xfer_partial): Bail out if target reports
21 that this memory is not available.
22
23 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
24
25 * target.h (target_ops) <to_insert_breakpoint>
26 <to_remove_breakpoint>: Add target_ops parameter.
27 (forward_target_insert_breakpoint): New.
28 (forward_target_remove_breakpoint): New.
29 (memory_remove_breakpoint, memory_insert_breakpoint):
30 Add target_ops parameter.
31 * target.c (target_insert_breakpoint): Split into this and ...
32 (forward_target_insert_breakpoint): ... this.
33 (target_remove_breakpoint): Split into this and ...
34 (forward_target_remove_breakpoint): ... this.
35 (debug_to_insert_breakpoint): Add target_ops parameter.
36 Call forward_target_insert_breakpoint.
37 (debug_to_remove_breakpoint): Add target_ops parameter.
38 Call forward_target_remove_breakpoint.
39 (update_current_target): Do not inherit or default to_insert_breakpoint
40 and to_remove_breakpoint.
41 * corelow.c (ignore): Add target_ops parameter.
42 * exec.c (ignore): Add target_ops parameter.
43 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
44 Add target_ops parameter.
45 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
46 Add target_ops parameter.
47 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
48 Add target_ops parameter.
49 * record-full.c (record_full_beneath_to_insert_breakpoint)
50 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
51 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
52 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
53 (record_full_core_remove_breakpoint): Add target_ops parameter.
54 Update users.
55 (record_full_beneath_to_insert_breakpoint_ops)
56 (record_full_beneath_to_remove_breakpoint_ops)
57 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
58 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
59 tmp_to_remove_breakpoint_ops,
60 record_full_beneath_to_insert_breakpoint_ops, and
61 record_full_beneath_to_remove_breakpoint_ops.
62 * remote-m32r-sdi.c (m32r_insert_breakpoint)
63 (m32r_remove_breakpoint): Add target_ops parameter.
64 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
65 Add target_ops parameter.
66 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
67 Add target_ops parameter.
68
69 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
70 Markus Metzger <markus.t.metzger@intel.com>
71
72 * record-btrace.c: Include frame-unwind.h.
73 (record_btrace_frame_unwind_stop_reason)
74 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
75 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
76 New.
77 (init_record_btrace_ops): Install it.
78
79 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
80
81 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
82 get_prev_frame_1.
83
84 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
85
86 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
87 earlier.
88
89 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
90
91 * frame-unwind.c: Include target.h.
92 (frame_unwind_try_unwinder): New function with code from ...
93 (frame_unwind_find_by_frame): ... here. New variable
94 unwinder_from_target, call also target_get_unwinder)
95 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
96 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
97 * target.h (struct target_ops): New fields to_get_unwinder and
98 to_get_tailcall_unwinder.
99 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
100
101 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
102
103 * record-btrace.c (record_btrace_fetch_registers)
104 (record_btrace_store_registers)
105 (record_btrace_to_prepare_to_store): New.
106 (init_record_btrace_ops): Add the above.
107
108 2014-01-16 Tom Tromey <tromey@redhat.com>
109
110 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
111 * target.h (struct target_ops) <to_prepare_to_store>: Add
112 argument.
113 (target_prepare_to_store): Add argument.
114 * target.c (debug_to_prepare_to_store): Add argument.
115 (update_current_target): Update.
116 * remote.c (remote_prepare_to_store): Add 'self' argument.
117 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
118 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
119 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
120 * record-full.c (record_full_core_prepare_to_store): Add 'self'
121 argument.
122 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
123 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
124 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
125 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
126 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
127
128 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
129
130 * btrace.h (replay) <replay>: New.
131 (btrace_is_replaying): New.
132 * btrace.c (btrace_clear): Free replay iterator.
133 (btrace_is_replaying): New.
134 * record-btrace.c (record_btrace_is_replaying): New.
135 (record_btrace_info): Print insn number if replaying.
136 (record_btrace_insn_history): Start at replay position.
137 (record_btrace_call_history): Start at replay position.
138 (init_record_btrace_ops): Init to_record_is_replaying.
139
140 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
141
142 * record-btrace.c (record_btrace_insn_history_range): Include
143 end.
144 (record_btrace_insn_history_from): Adjust range.
145 (record_btrace_call_history_range): Include
146 end.
147 (record_btrace_call_history_from): Adjust range.
148 * NEWS: Announce changes.
149
150 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
151
152 * record.h (enum record_print_flag)
153 <record_print_indent_calls>: New.
154 * record.c (get_call_history_modifiers): Recognize /c modifier.
155 (_initialize_record): Document /c modifier.
156 * record-btrace.c (btrace_call_history): Add btinfo parameter.
157 Reorder fields. Optionally indent the function name. Update
158 all users.
159 * NEWS: Announce changes.
160
161 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
162
163 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
164
165 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
166
167 * btrace.c (ftrace_new_function): Start counting at one.
168 * record-btrace.c (record_btrace_info): Adjust number of calls
169 and insns.
170 * NEWS: Announce it.
171
172 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
173
174 * record-btrace.c (btrace_call_history_insn_range): Print
175 insn range as [begin, end].
176
177 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
178
179 * btrace.h (struct btrace_func_link): New.
180 (enum btrace_function_flag): New.
181 (struct btrace_inst): Rename to ...
182 (struct btrace_insn): ...this. Update all users.
183 (struct btrace_func) <ibegin, iend>: Remove.
184 (struct btrace_func_link): New.
185 (struct btrace_func): Rename to ...
186 (struct btrace_function): ...this. Update all users.
187 (struct btrace_function) <segment, flow, up, insn, insn_offset)
188 (number, level, flags>: New.
189 (struct btrace_insn_iterator): Rename to ...
190 (struct btrace_insn_history): ...this.
191 Update all users.
192 (struct btrace_insn_iterator, btrace_call_iterator): New.
193 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
194 (struct btrace_target_info) <begin, end, level>
195 <insn_history, call_history>: New.
196 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
197 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
198 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
199 (btrace_call_number, btrace_call_begin, btrace_call_end)
200 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
201 (btrace_find_function_by_number, btrace_set_insn_history)
202 (btrace_set_call_history): New.
203 * btrace.c (btrace_init_insn_iterator)
204 (btrace_init_func_iterator, compute_itrace): Remove.
205 (ftrace_print_function_name, ftrace_print_filename)
206 (ftrace_skip_file): Change
207 parameter to const.
208 (ftrace_init_func): Remove.
209 (ftrace_debug): Use new btrace_function fields.
210 (ftrace_function_switched): Also consider gaining and
211 losing symbol information).
212 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
213 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
214 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
215 New.
216 (ftrace_new_function): Move. Remove debug print.
217 (ftrace_update_lines, ftrace_update_insns): New.
218 (ftrace_update_function): Check for call, ret, and jump.
219 (compute_ftrace): Renamed to ...
220 (btrace_compute_ftrace): ...this. Rewritten to compute call
221 stack.
222 (btrace_fetch, btrace_clear): Updated.
223 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
224 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
225 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
226 (btrace_call_number, btrace_call_begin, btrace_call_end)
227 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
228 (btrace_find_function_by_number, btrace_set_insn_history)
229 (btrace_set_call_history): New.
230 * record-btrace.c (require_btrace): Use new btrace thread
231 info fields.
232 (record_btrace_info, btrace_insn_history)
233 (record_btrace_insn_history, record_btrace_insn_history_range):
234 Use new btrace thread info fields and new iterator.
235 (btrace_func_history_src_line): Rename to ...
236 (btrace_call_history_src_line): ...this. Use new btrace
237 thread info fields.
238 (btrace_func_history): Rename to ...
239 (btrace_call_history): ...this. Use new btrace thread info
240 fields and new iterator.
241 (record_btrace_call_history, record_btrace_call_history_range):
242 Use new btrace thread info fields and new iterator.
243
244 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
245
246 * frame.h (frame_id_build_unavailable_stack_special): New.
247 * frame.c (frame_id_build_unavailable_stack_special): New.
248
249 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
250
251 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
252 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
253 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
254 to gdbarch.
255 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
256 (i386_insn_is_jump, i386_jmp_p): New.
257 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
258 insn_is_jump to gdbarch.
259 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
260 * gdbarch.h: Regenerated.
261 * gdbarch.c: Regenerated.
262 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
263 (default_insn_is_jump): New.
264 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
265 (default_insn_is_jump): New.
266
267 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
268
269 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
270 Change to ...
271 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
272 (btrace_read_type) <btrace_read_new>: Change to ...
273 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
274
275 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
276
277 * common/linux-btrace.c (linux_read_btrace): Free trace from
278 previous iteration.
279
280 2014-01-15 Doug Evans <dje@google.com>
281
282 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
283 uint32_t.
284
285 2014-01-15 Tom Tromey <tromey@redhat.com>
286
287 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
288 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
289 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
290 (set_objfile_main_name): New function.
291 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
292 language_of_main>: New fields.
293 (set_objfile_main_name): Declare.
294 * symtab.c (find_main_name): Loop over objfiles to find the main
295 name and language.
296 (set_main_name): Now static.
297 (get_main_info): Add comment.
298 * symtab.h (set_main_name): Don't declare.
299
300 2014-01-15 Tom Tromey <tromey@redhat.com>
301
302 * symtab.c (main_progspace_key): New global.
303 (struct main_info): New.
304 (name_of_main, language_of_main): Remove.
305 (get_main_info, main_info_cleanup): New function.
306 (set_main_name, main_name, main_language): Use get_main_info.
307 (_initialize_symtab): Initialize main_progspace_key.
308
309 2014-01-15 Tom Tromey <tromey@redhat.com>
310
311 * dbxread.c (process_one_symbol): Update.
312 * dwarf2read.c (read_partial_die): Update.
313 * symfile.c (set_initial_language): Call main_language.
314 * symtab.c (language_of_main): Now static.
315 (set_main_name): Add 'lang' parameter.
316 (find_main_name): Update.
317 (main_language): New function.
318 (symtab_observer_executable_changed): Update.
319 * symtab.h (set_main_name): Update.
320 (language_of_main): Remove.
321 (main_language): Declare.
322
323 2014-01-15 Tom Tromey <tromey@redhat.com>
324
325 * symfile.c (init_entry_point_info): Use new "initialized" field.
326 Update.
327 * objfiles.h (struct entry_point) <initialized>: New field.
328 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
329 (struct objfile) <ei>: ...here. Remove.
330 * objfiles.c (entry_point_address_query): Update.
331
332 2014-01-15 Tom Tromey <tromey@redhat.com>
333
334 * objfiles.c (entry_point_address_query): Relocate entry point
335 address.
336 (objfile_relocate1): Do not relocate entry point address.
337 * objfiles.h (struct entry_info) <entry_point>: Update comment.
338 <the_bfd_section_index>: New field.
339 * symfile.c (init_entry_point_info): Find the entry point's
340 section.
341
342 2014-01-15 Tom Tromey <tromey@redhat.com>
343
344 * solib-frv.c (enable_break): Use entry_point_address_query.
345
346 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
347
348 * NEWS: Add note on improved process record-replay on
349 arm*-linux* targets.
350
351 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
352
353 * arm-tdep.c (enum arm_record_result): New enum.
354 (arm_record_unsupported_insn): New function.
355 (arm_record_coproc_data_proc): Removed.
356 (thumb2_record_ld_st_multiple): New function.
357 (thumb2_record_ld_st_dual_ex_tbb): New function.
358 (thumb2_record_data_proc_sreg_mimm): New function.
359 (thumb2_record_ps_dest_generic): New function.
360 (thumb2_record_branch_misc_cntrl): New function.
361 (thumb2_record_str_single_data): New function.
362 (thumb2_record_ld_mem_hints): New function.
363 (thumb2_record_ld_word): New function.
364 (thumb2_record_lmul_lmla_div): New function.
365 (thumb2_record_decode_insn_handler): New function.
366 (decode_insn): Add thumb32 instruction handlers.
367
368 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
369
370 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
371 (struct arm_linux_record_tdep): Declare.
372 (arm_canonicalize_syscall): New function.
373 (arm_all_but_pc_registers_record): New function.
374 (arm_linux_syscall_record): New function.
375 (arm_linux_init_abi): Add syscall recording constructs.
376 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
377 decoding. (arm_record_coproc_data_proc): Update arm syscall
378 decoding.
379 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
380 <arm_syscall_record>: New field.
381 * configure.tgt (arm*-*-linux*): Add linux-record.o to
382 gdb_target_obs.
383
384 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
385
386 * arm-tdep.c (thumb_record_misc): Update to use sp as base
387 register for push instruction recording.
388
389 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
390
391 * arm-tdep.c (thumb_record_misc): Update to correct logical
392 error while recording ldm, ldmia and pop instructions.
393
394 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
395
396 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
397
398 2014-01-15 Pedro Alves <palves@redhat.com>
399
400 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
401 (go32_resume, go32_fetch_registers, store_register)
402 (go32_store_registers, go32_prepare_to_store)
403 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
404 (go32_create_inferior, go32_can_run, go32_terminal_init)
405 (go32_terminal_inferior, go32_terminal_ours): Delete forward
406 declarations.
407
408 2014-01-15 Tom Tromey <tromey@redhat.com>
409
410 * target.h (async_callback_ftype): New typedef.
411 (struct target_ops) <to_async>: Use it.
412
413 2014-01-15 Joel Brobecker <brobecker@adacore.com>
414
415 * python/py-value.c (get_field_type): Remove unnecessary curly
416 braces for single-statement if block.
417
418 2014-01-15 Joel Brobecker <brobecker@adacore.com>
419
420 * python/py-type.c (convert_field): Add missing empty line
421 after declarations.
422
423 2014-01-14 Doug Evans <dje@google.com>
424
425 * symfile.h (expand_symtabs_matching): Renamed from
426 expand_partial_symbol_names. Update prototype.
427 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
428 * symfile.c (expand_symtabs_matching): Renamed from
429 expand_partial_symbol_names. New args file_matcher, kind.
430 Rename arg fun to symbol_matcher.
431 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
432 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
433 ada_expand_partial_symbol_name.
434 (ada_make_symbol_completion_list): Update to call
435 expand_symtabs_matching.
436 (ada_add_global_exceptions): Call expand_symtabs_matching.
437 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
438 call map_symbol_filenames.
439 * symtab.c (sources_info): Update to call map_symbol_filenames.
440 (search_symbols): Call expand_symtabs_matching.
441 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
442 (default_make_symbol_completion_list_break_on): Update to call
443 expand_symtabs_matching.
444 (make_source_files_completion_list): Update to call
445 map_symbol_filenames.
446
447 2014-01-14 Doug Evans <dje@google.com>
448
449 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
450 (expand_symtabs_symbol_matcher_ftype): New typedef.
451 (quick_symbol_functions.expand_symtabs_matching): Update to use.
452 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
453 * symfile.c (expand_partial_symbol_names): Update to use
454 expand_symtabs_symbol_matcher_ftype.
455 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
456 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
457 Arg name_matcher renamed to symbol_matcher.
458 * psymtab.c (recursively_search_psymtabs): Update to use
459 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
460 sym_matcher.
461 (expand_symtabs_matching_via_partial): Update to use
462 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
463 Arg name_matcher renamed to symbol_matcher.
464
465 2014-01-14 Doug Evans <dje@google.com>
466
467 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
468 (map_partial_symbol_filenames): Ditto.
469 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
470 (map_partial_symbol_filenames): Ditto.
471 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
472 (map_partial_symbol_filenames): Ditto.
473 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
474 (map_partial_symbol_filenames): Ditto.
475 * symtab.c: Delete #include "psymtab.h".
476
477 2014-01-14 Pedro Alves <palves@redhat.com>
478 Tom Tromey <tromey@redhat.com>
479
480 * infrun.c (use_displaced_stepping): Use find_record_target
481 instead of RECORD_IS_USED.
482 (adjust_pc_after_break): Use record_full_is_used instead of
483 RECORD_IS_USED.
484 * record-btrace.c (record_btrace_open): Call record_preopen
485 instead of checking RECORD_IS_USED.
486 * record-full.c (record_full_shortname)
487 (record_full_core_shortname): New globals.
488 (record_full_is_used): New function.
489 (find_full_open): Call record_preopen instead of checking
490 RECORD_IS_USED.
491 (init_record_full_ops): Set the target's shortname to
492 record_full_shortname.
493 (init_record_full_core_ops): Set the target's shortname to
494 record_full_core_shortname.
495 * record-full.h (record_full_is_used): Declare.
496 * record.c (find_record_target): Make extern.
497 (record_preopen): New function.
498 * record.h (RECORD_IS_USED): Delete macro.
499 (find_record_target, record_preopen): Declare functions.
500
501 2014-01-14 Yao Qi <yao@codesourcery.com>
502
503 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
504 'len''s type to ULONGEST.
505 (core_xfer_shared_libraries_aix): Likewise.
506 * gdbarch.c, gdbarch.h: Regenerated.
507 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
508 Change type of 'len' to ULONGEST.
509 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
510 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
511
512 2014-01-14 Yao Qi <yao@codesourcery.com>
513
514 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
515 type of 'len' to ULONGEST.
516 (linux_xfer_osdata_processgroups): Likewise.
517 (linux_xfer_osdata_threads): Likewise.
518 (linux_xfer_osdata_fds): Likewise.
519 (linux_xfer_osdata_isockets): Likewise.
520 (linux_xfer_osdata_shm): Likewise.
521 (linux_xfer_osdata_sem): Likewise.
522 (linux_xfer_osdata_msg): Likewise.
523 (linux_common_xfer_osdata): Likewise.
524 (struct osdata_type) <getter>: Likewise.
525 * common/linux-osdata.h (linux_common_xfer_osdata): Update
526 the declaration.
527
528 2014-01-14 Yao Qi <yao@codesourcery.com>
529
530 * target.h (target_xfer_partial_ftype): Update.
531 (struct target_ops) <to_xfer_partial>: Change 'len' type to
532 ULONGEST.
533 * aix-thread.c (aix_thread_xfer_partial): Change type of
534 argument 'len' to ULONGEST.
535 * auxv.c (procfs_xfer_auxv): Likewise.
536 (ld_so_xfer_auxv): Likewise.
537 (memory_xfer_auxv): Likewise.
538 * bfd-target.c (target_bfd_xfer_partial): Likewise.
539 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
540 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
541 * corelow.c (core_xfer_partial): Likewise.
542 * ctf.c (ctf_xfer_partial): Likewise.
543 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
544 '%u'.
545 (darwin_read_dyld_info): Likewise.
546 (darwin_xfer_partial): Likewise.
547 * exec.c (section_table_xfer_memory_partial): Likewise.
548 (exec_xfer_partial): Likewise.
549 * exec.h (section_table_xfer_memory_partial): Update
550 declaration.
551 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
552 instead of plongest.
553 (gnu_xfer_partial): Likewise.
554 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
555 (ia64_hpux_xfer_solib_got): Likewise.
556 (ia64_hpux_xfer_partial): Likewise.
557 * ia64-linux-nat.c (ia64_linux_xfer_partial):
558 * inf-ptrace.c (inf_ptrace_xfer_partial):
559 * inf-ttrace.c (inf_ttrace_xfer_partial):
560 * linux-nat.c (linux_xfer_siginfo): Likewise.
561 (linux_nat_xfer_partial): Likewise.
562 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
563 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
564 * monitor.c (monitor_xfer_memory): Likewise.
565 (monitor_xfer_partial): Likewise.
566 * procfs.c (procfs_xfer_partial): Likewise.
567 * record-full.c (record_full_xfer_partial): Likewise.
568 (record_full_core_xfer_partial): Likewise.
569 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
570 instead of plongest.
571 (gdbsim_xfer_partial): Likewise.
572 * remote.c (remote_xfer_partial): Likewise.
573 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
574 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
575 declaration.
576 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
577 (rs6000_xfer_shared_libraries): Likewise.
578 * sol-thread.c (sol_thread_xfer_partial): Likewise.
579 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
580 (sparc_xfer_partial): Likewise.
581 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
582 (spu_xfer_partial): Likewise.
583 * spu-multiarch.c (spu_xfer_partial): Likewise.
584 * target.c (target_read_live_memory): Likewise.
585 (memory_xfer_live_readonly_partial): Likewise.
586 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
587 (target_xfer_partial, default_xfer_partial): Likewise.
588 (current_xfer_partial): Likewise.
589 * tracepoint.c (tfile_xfer_partial): Likewise.
590 * windows-nat.c (windows_xfer_memory): Likewise. Call
591 pulongest instead of plongest.
592 (windows_xfer_partial): Likewise.
593 (windows_xfer_shared_libraries): Likewise.
594
595 2014-01-14 Yao Qi <yao@codesourcery.com>
596
597 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
598 target_xfer_partial_ftype.
599
600 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
601
602 PR python/15464
603 PR python/16113
604 * valops.c (value_struct_elt_bitpos): New function
605 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
606 object to 'None' if the field name is an empty string ("").
607 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
608 attribute to look for a field when 'name' is 'None'.
609 (get_field_type): New function
610
611 2014-01-13 Doug Evans <dje@google.com>
612
613 PR symtab/16426
614 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
615 (try_open_dwop_file): Ditto.
616 * gdb_bfd.c: #include "vec.h".
617 (bfdp): New typedef.
618 (struct gdb_bfd_data): New member included_bfds.
619 (gdb_bfd_unref): Unref all included bfds.
620 (gdb_bfd_record_inclusion): New function.
621 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
622
623 2014-01-13 Tom Tromey <tromey@redhat.com>
624
625 * gdbcore.h (deprecated_core_resize_section_table): Remove.
626
627 2014-01-13 Tom Tromey <tromey@redhat.com>
628
629 * defs.h (use_windows): Remove.
630 * gdb.c (main): Update.
631 * main.c (captured_main, gdb_main): Update.
632 * main.h (struct captured_main_args) <use_windows>: Remove.
633 * top.c (use_windows): Remove.
634
635 2014-01-13 Tom Tromey <tromey@redhat.com>
636
637 * defs.h (deprecated_flush_hook): Remove.
638
639 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
640
641 PR threads/16216
642 * linux-thread-db.c (try_thread_db_load): Add parameter
643 check_auto_load_safe. Move here the file_is_auto_load_safe call.
644 (try_thread_db_load_from_pdir_1): Move it there from here.
645 (try_thread_db_load_from_sdir): Update caller.
646 (try_thread_db_load_from_dir): Move it there from here.
647
648 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
649
650 * regformats/regdat.sh: Always rewrite the register file.
651
652 2014-01-13 Pedro Alves <palves@redhat.com>
653
654 * Makefile.in (CHECK_HEADERS): New variable.
655 (check-headers:): New rule.
656
657 2014-01-13 Tom Tromey <tromey@redhat.com>
658
659 * cli/cli-setshow.c (do_set_command): Update.
660 * defs.h (deprecated_set_hook): Remove.
661 * top.c (deprecated_set_hook): Remove.
662
663 2014-01-13 Pedro Alves <palves@redhat.com>
664
665 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
666 the tracepoint if the PC is a pseudo-register.
667
668 2014-01-13 Tom Tromey <tromey@redhat.com>
669
670 * defs.h (XCALLOC): Remove.
671 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
672 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
673 * dwarf2loc.c (allocate_piece_closure): Likewise.
674 * elfread.c (elf_symfile_segments): Likewise.
675 (elf_symfile_segments): Likewise.
676 * gdbtypes.c (copy_type_recursive): Likewise.
677 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
678 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
679 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
680 XCALLOC.
681 * mt-tdep.c (mt_gdbarch_init): Likewise.
682 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
683 XCALLOC.
684 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
685 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
686 * registry.c (registry_alloc_data): Likewise.
687 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
688 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
689 * serial.c (serial_fdopen_ops): Likewise.
690 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
691 XCALLOC.
692 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
693 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
694 not XCALLOC.
695
696 2014-01-13 Tom Tromey <tromey@redhat.com>
697
698 * defs.h (XMALLOC): Remove.
699 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
700 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
701 * cli-out.c (struct ui_out *): Likewise.
702 * cli/cli-dump.c (add_dump_command): Likewise.
703 (add_dump_command): Likewise.
704 * complaints.c (get_complaints): Likewise.
705 (find_complaint): Likewise.
706 * dwarf2-frame.c (execute_cfa_program): Likewise.
707 * dwarf2read.c (abbrev_table_read_table): Likewise.
708 * gdbarch.sh: Likewise.
709 * gdbarch.c: Rebuild.
710 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
711 * interps.c (interp_new): Likewise.
712 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
713 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
714 * mi/mi-console.c (mi_console_file_new): Likewise.
715 * mi/mi-interp.c (mi_interpreter_init): Likewise.
716 * mi/mi-out.c (mi_out_new): Likewise.
717 * mi/mi-parse.c (mi_parse): Likewise.
718 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
719 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
720 * observer.c (xalloc_observer_list_node): Likewise.
721 * regcache.c (regcache_xmalloc_1): Likewise.
722 * reggroups.c (reggroup_new): Likewise.
723 (_initialize_reggroup): Likewise.
724 * registry.c (register_data_with_cleanup): Likewise.
725 * remote.c (remote_notif_stop_alloc_reply): Likewise.
726 * ser-base.c (serial_ttystate): Likewise.
727 * ser-mingw.c (make_pipe_state): Likewise.
728 * ser-pipe.c (pipe_open): Likewise.
729 * serial.c (serial_open): Likewise.
730 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
731 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
732 (tui_alloc_win_info): Likewise.
733 (tui_add_content_elements): Likewise.
734 * tui/tui-file.c (tui_file_new): Likewise.
735 * tui/tui-out.c (tui_out_new): Likewise.
736 * ui-file.c (mem_file_new): Likewise.
737 * ui-out.c (push_level): Likewise.
738 (make_cleanup_ui_out_end): Likewise.
739 (append_header_to_list): Likewise.
740 (ui_out_new): Likewise.
741 * user-regs.c (user_reg_add_builtin): Likewise.
742
743 2014-01-13 Tom Tromey <tromey@redhat.com>
744
745 * defs.h (XZALLOC): Remove.
746 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
747 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
748 (get_ada_tasks_inferior_data): Likewise.
749 * auto-load.c (get_auto_load_pspace_data): Likewise.
750 * auxv.c (get_auxv_inferior_data): Likewise.
751 * bfd-target.c (target_bfd_reopen): Likewise.
752 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
753 (deprecated_insert_raw_breakpoint): Likewise.
754 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
755 * corelow.c (core_open): Likewise.
756 * darwin-nat.c (darwin_check_new_threads): Likewise.
757 (darwin_attach_pid): Likewise.
758 * dummy-frame.c (dummy_frame_push): Likewise.
759 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
760 * dwarf2loc.c (allocate_piece_closure): Likewise.
761 * elfread.c (elf_symfile_segments): Likewise.
762 * eval.c (ptrmath_type_p): Likewise.
763 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
764 * gdbtypes.c (alloc_type_arch): Likewise.
765 (alloc_type_instance): Likewise.
766 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
767 * inf-child.c (inf_child_can_use_agent): Likewise.
768 * inflow.c (get_inflow_inferior_data): Likewise.
769 * infrun.c (save_infcall_suspend_state): Likewise.
770 * jit.c (jit_reader_load): Likewise.
771 (get_jit_objfile_data): Likewise.
772 (get_jit_program_space_data): Likewise.
773 (jit_object_open_impl): Likewise.
774 (jit_symtab_open_impl): Likewise.
775 (jit_block_open_impl): Likewise.
776 (jit_frame_sniffer): Likewise.
777 * linux-fork.c (add_fork): Likewise.
778 * maint.c (make_command_stats_cleanup): Likewise.
779 * objfiles.c (get_objfile_pspace_data): Likewise.
780 * opencl-lang.c (struct lval_closure): Likewise.
781 * osdata.c (osdata_start_osdata): Likewise.
782 * progspace.c (new_address_space): Likewise.
783 (add_program_space): Likewise.
784 * remote-sim.c (get_sim_inferior_data): Likewise.
785 * sh-tdep.c (sh_gdbarch_init): Likewise.
786 * skip.c (Ignore): Likewise.
787 (skip_delete_command): Likewise.
788 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
789 (library_list_start_library): Likewise.
790 (solib_aix_current_sos): Likewise.
791 * solib-darwin.c (get_darwin_info): Likewise.
792 (darwin_current_sos): Likewise.
793 * solib-dsbt.c (get_dsbt_info): Likewise.
794 * solib-ia64-hpux.c (new_so_list): Likewise.
795 (ia64_hpux_get_solib_linkage_addr): Likewise.
796 * solib-spu.c (append_ocl_sos): Likewise.
797 (spu_current_sos): Likewise.
798 * solib-svr4.c (get_svr4_info): Likewise.
799 (svr4_keep_data_in_core): Likewise.
800 (library_list_start_library): Likewise.
801 (svr4_default_sos): Likewise.
802 (svr4_read_so_list): Likewise.
803 * solib-target.c (library_list_start_library): Likewise.
804 (solib_target_current_sos): Likewise.
805 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
806 * symfile-debug.c (install_symfile_debug_logging): Likewise.
807 * symfile.c (default_symfile_segments): Likewise.
808 * target-descriptions.c (tdesc_data_init): Likewise.
809 (tdesc_create_reg): Likewise.
810 (struct tdesc_type *): Likewise.
811 (tdesc_create_vector): Likewise.
812 (tdesc_set_struct_size): Likewise.
813 (struct tdesc_type *): Likewise.
814 (tdesc_free_feature): Likewise.
815 (tdesc_create_feature): Likewise.
816 * windows-nat.c (windows_add_thread): Likewise.
817 (windows_make_so): Likewise.
818 * xml-support.c (gdb_xml_body_text): Likewise.
819 (gdb_xml_create_parser_and_cleanup): Likewise.
820 (xml_process_xincludes): Likewise.
821 * xml-syscall.c (allocate_syscalls_info): Likewise.
822 (syscall_create_syscall_desc): Likewise.
823
824 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
825
826 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
827 function, with code from i386_stap_parse_special_token.
828 (i386_stap_parse_special_token_three_arg_disp): Likewise.
829 (i386_stap_parse_special_token): Move code to the two functions
830 above; simplify it.
831
832 2014-01-09 Pedro Alves <palves@redhat.com>
833 Hui Zhu <hui@codesourcery.com>
834
835 PR gdb/16101
836 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
837 bp_err_string. Don't mark the location shlib_disabled if the
838 error thrown wasn't a generic or memory error. Catch errors
839 thrown while inserting breakpoints in overlayed code. Output
840 error message of software breakpoints.
841 * remote.c (remote_insert_breakpoint): If this breakpoint has
842 target-side commands but this stub doesn't support Z0 packets,
843 throw NOT_SUPPORTED_ERROR error.
844 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
845 * target.h (target_insert_breakpoint): Extend comment.
846 (target_insert_hw_breakpoint): Add comment.
847
848 2014-01-08 Pedro Alves <palves@redhat.com>
849
850 * remote.c (remote_add_thread): Add threads silently if starting
851 up.
852 (remote_notice_new_inferior): If in all-stop, and starting up,
853 don't call notice_new_inferior.
854 (get_current_thread): New function, factored out from ...
855 (add_current_inferior_and_thread): ... this. Adjust.
856 (remote_start_remote) <all-stop>: Fetch the thread list. If we
857 found any thread, then select the remote's current thread as GDB's
858 current thread too.
859
860 2014-01-08 Joel Brobecker <brobecker@adacore.com>
861
862 * NEWS: Create a new section for the next release branch.
863 Rename the section of the current branch, now that it has
864 been cut.
865
866 2014-01-08 Joel Brobecker <brobecker@adacore.com>
867
868 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
869 * version.in: Bump version to 7.7.50.DATE-cvs.
870
871 2014-01-08 Yao Qi <yao@codesourcery.com>
872
873 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
874 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
875 (spu_xfer_partial): Cast 'buf' to 'const char *'.
876
877 2014-01-08 Yao Qi <yao@codesourcery.com>
878
879 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
880 return value of bfd_get_filename to symbol_file_add_from_bfd.
881
882 2014-01-08 Pierre Muller <muller@sourceware.org>
883
884 Fix PR16201.
885 * coff-pe-read.c (struct read_pe_section_data): Add index field.
886 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
887 to prim_record_mininal_symbol_and_info.
888 (add_pe_forwarded_sym): Use known section number of forwarded symbol
889 in call to prim_record_minimal_symbol_and_info.
890 (read_pe_exported_syms): Set index field of section_data.
891
892 2014-01-07 Andrew Pinski <apinski@cavium.com>
893
894 * features/aarch64-core.xml (cpsr): Change to be 64bit.
895 * features/aarch64.c: Regenerate.
896
897 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
898
899 * target.c (return_null): Define.
900 (update_current_target): Use it instead of return_zero for
901 functions that return a pointer.
902
903 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
904
905 * source.c (add_path): Fix check for duplicated paths in the previously
906 included paths.
907
908 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
909
910 * ada-lang.c: Remove duplicated include statements.
911 * alphabsd-nat.c: Ditto.
912 * amd64-darwin-tdep.c: Ditto.
913 * amd64fbsd-nat.c: Ditto.
914 * auto-load.c: Ditto.
915 * ax-gdb.c: Ditto.
916 * breakpoint.c: Ditto.
917 * dbxread.c: Ditto.
918 * fork-child.c: Ditto.
919 * gdb_usleep.c: Ditto.
920 * i386-darwin-tdep.c: Ditto.
921 * i386fbsd-nat.c: Ditto.
922 * infcmd.c: Ditto.
923 * inferior.c: Ditto.
924 * jv-lang.c: Ditto.
925 * linux-nat.c: Ditto.
926 * linux-tdep.c: Ditto.
927 * m68kbsd-nat.c: Ditto.
928 * m68klinux-nat.c: Ditto.
929 * microblaze-tdep.c: Ditto.
930 * mips-linux-tdep.c: Ditto.
931 * mn10300-tdep.c: Ditto.
932 * nto-tdep.c: Ditto.
933 * opencl-lang.c: Ditto.
934 * osdata.c: Ditto.
935 * printcmd.c: Ditto.
936 * regcache.c: Ditto.
937 * remote-m32r-sdi.c: Ditto.
938 * remote.c: Ditto.
939 * symfile.c: Ditto.
940 * symtab.c: Ditto.
941 * tilegx-linux-nat.c: Ditto.
942 * tilegx-tdep.c: Ditto.
943 * tracepoint.c: Ditto.
944 * valops.c: Ditto.
945 * vaxbsd-nat.c: Ditto.
946 * windows-nat.c: Ditto.
947 * xtensa-tdep.c: Ditto.
948
949 2014-01-07 Yao Qi <yao@codesourcery.com>
950
951 * spu-linux-nat.c (_initialize_spu_nat): Declare.
952
953 2014-01-07 Yao Qi <yao@codesourcery.com>
954 Joel Brobecker <brobecker@adacore.com>
955
956 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
957 (pdc_write_regs): Likewise.
958 (fetch_regs_kernel_thread): Likewise.
959 (store_regs_kernel_thread): Likewise.
960
961 2014-01-07 Joel Brobecker <brobecker@adacore.com>
962
963 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
964 tagged type objects to their actual type.
965
966 2014-01-07 Joel Brobecker <brobecker@adacore.com>
967
968 * ada-valprint.c (print_field_values): Add "language" parameter.
969 Update calls to print_field_values and print_variant_part.
970 Pass new parameter "language" in call to val_print instead
971 of "current_language". Replace call to ada_val_print by call
972 to val_print.
973 (print_variant_part): Add "language" parameter.
974 (ada_val_print_struct_union): Update call to print_field_values.
975
976 2014-01-07 Joel Brobecker <brobecker@adacore.com>
977
978 * ada-valprint.c (ui_memcpy): Delete.
979 (ada_print_floating): Update documentation. Add empty line
980 between between function documentation and implementation.
981 Delete variable "buffer". Use ui_file_xstrdup in place of
982 ui_file_put. Minor adjustments following this change.
983
984 2014-01-07 Joel Brobecker <brobecker@adacore.com>
985
986 * ada-valprint.c (ada_val_print_string): New function,
987 extracted from ada_val_print_array.
988 (ada_val_print_array): Replace extracted code by call
989 to ada_val_print_string followed by a return. Move
990 "else" branch to the function's top block.
991
992 2014-01-07 Joel Brobecker <brobecker@adacore.com>
993
994 * ada-valprint.c (ada_val_print_array): Move implementation
995 down. Rename parameter "offset" and "val" into "offset_aligned"
996 and "original_value" respectively. Add parameter "offset".
997
998 2014-01-07 Joel Brobecker <brobecker@adacore.com>
999
1000 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
1001 re-organizing the code. Change the "???" message printed
1002 when target type is a TYPE_CODE_UNDEF into
1003 "<ref to undefined type>".
1004
1005 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1006
1007 * ada-valprint.c (print_record): Delete, implementation inlined...
1008 (ada_val_print_struct_union): ... here. Remove call to
1009 ada_check_typedef in inlined implementation.
1010
1011 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1012
1013 * ada-valprint.c (ada_val_print_gnat_array): New function,
1014 extracted from ada_val_print_1;
1015 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
1016 (ada_val_print_flt, ada_val_print_struct_union)
1017 (ada_val_print_ref): Likewise.
1018 (ada_val_print_1): Delete variables i and elttype.
1019 Replace extracted-out code by call to corresponding
1020 new functions.
1021
1022 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1023
1024 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
1025
1026 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1027
1028 * ada-valprint.c (ada_val_print_1): Replace calls to
1029 ada_val_print_1 by calls to val_print.
1030
1031 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1032
1033 * ada-valprint.c (ada_val_print_1): Add parameter "language".
1034 Update calls to self accordingly. Replace calls to c_val_print
1035 by calls to val_print.
1036
1037 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1038
1039 * ada-valprint.c (print_record): Delete declaration.
1040 (adjust_type_signedness, ada_val_print_1): Likewise.
1041 (ada_val_print): Move function implementation down.
1042 (print_variant_part, print_field_values, print_record):
1043 Move function implementation up.
1044
1045 2014-01-07 Joel Brobecker <brobecker@adacore.com>
1046
1047 * python/py-type.c (typy_get_name): New function.
1048 (type_object_getset): Add entry for attribute "name".
1049 * NEWS: Add entry mentioning this new attribute.
1050
1051 2014-01-07 Yao Qi <yao@codesourcery.com>
1052
1053 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
1054 statement.
1055
1056 2014-01-07 Yao Qi <yao@codesourcery.com>
1057
1058 * gnu-nat.c (info_port_rights): Add qualifier const to
1059 argument args.
1060
1061 2014-01-07 Yao Qi <yao@codesourcery.com>
1062
1063 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
1064
1065 2014-01-07 Yao Qi <yao@codesourcery.com>
1066
1067 * gnu-nat.c (make_inf) Update declaration.
1068 (make_inf): Make it static.
1069 (inf_set_traced): Likewise.
1070 (inf_port_to_thread, inf_task_died_status): Likewise.
1071
1072 2014-01-07 Yao Qi <yao@codesourcery.com>
1073
1074 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
1075
1076 2014-01-07 Yao Qi <yao@codesourcery.com>
1077
1078 * gnu-nat.c (_initialize_gnu_nat): Declare.
1079
1080 2014-01-07 Yao Qi <yao@codesourcery.com>
1081
1082 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
1083 'enum bfd_endian'.
1084 (struct gdbarch_info) <byte_order>: Change type to
1085 'enum bfd_endian'.
1086 <byte_order_for_code>: Likewise.
1087 * gdbarch.c, gdbarch.h: Regenerated.
1088
1089 2014-01-06 Sasha Smundak <asmundak@google.com>
1090
1091 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
1092
1093 2014-01-06 Tom Tromey <tromey@redhat.com>
1094
1095 * doublest.c (convert_doublest_to_floatformat): Use const, not
1096 CONST.
1097 * somread.c (som_symtab_read): Likewise.
1098
1099 2014-01-07 Hui Zhu <hui@codesourcery.com>
1100
1101 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
1102 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
1103 (gdb_bfd_fopen): Ditto.
1104 (gdb_bfd_openr): Ditto.
1105 (gdb_bfd_openw): Ditto.
1106 (gdb_bfd_openr_iovec): Ditto.
1107 (gdb_bfd_fdopenr): Ditto.
1108 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
1109 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
1110 with xstrdup.
1111 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
1112 with xstrdup.
1113 * symfile-mem.c (symbol_file_add_from_memory): Removed
1114 gdb_bfd_stash_filename.
1115
1116 2014-01-03 Doug Evans <dje@google.com>
1117
1118 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
1119 output.
1120
1121 2014-01-01 Joel Brobecker <brobecker@adacore.com>
1122
1123 Update year range in copyright notice of all files.
1124
1125 2014-01-01 Joel Brobecker <brobecker@adacore.com>
1126
1127 * top.c (print_gdb_version): Set copyright year to 2014.
1128
1129 2014-01-01 Joel Brobecker <brobecker@adacore.com>
1130
1131 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
1132
1133 For older changes see ChangeLog-2013.
1134 \f
1135 Local Variables:
1136 mode: change-log
1137 left-margin: 8
1138 fill-column: 74
1139 version-control: never
1140 coding: utf-8
1141 End: