1 2014-02-20 Doug Evans <xdje42@gmail.com>
3 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
5 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
7 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
8 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
10 2014-02-20 lin zuojian <manjian2006@gmail.com>
11 Joel Brobecker <brobecker@adacore.com>
12 Doug Evans <xdje42@gmail.com>
15 * dwarf2read.c (struct die_info): New member in_process.
16 (reset_die_in_process): New function.
17 (process_die): Set it at the start, reset when returning.
18 (inherit_abstract_dies): Only call process_die if origin_child_die
19 not already being processed.
21 2014-02-20 Joel Brobecker <brobecker@adacore.com>
23 * windows-nat.c (handle_unload_dll): Add function documentation.
24 (do_initial_windows_stuff): Add comment explaining why we wait
25 until after inferior initialization has finished before
28 2014-02-20 Joel Brobecker <brobecker@adacore.com>
30 * windows-nat.c (get_module_name): Delete.
31 (windows_get_exec_module_filename): New function, mostly
32 inspired from get_module_name.
33 (windows_pid_to_exec_file): Replace call to get_module_name
34 by call to windows_get_exec_module_filename.
36 2014-02-20 Joel Brobecker <brobecker@adacore.com>
38 * windows-nat.c (handle_load_dll): Rewrite this function's
39 introductory comment. Remove code using get_module_name
40 to get the DLL's name.
42 2014-02-20 Joel Brobecker <brobecker@adacore.com>
44 * windows-nat.c (get_windows_debug_event): Ignore
45 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
46 if windows_initialization_done == 0.
47 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
48 Adjust implementation to always load all DLLs.
49 (do_initial_windows_stuff): Replace call to
50 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
52 2014-02-20 Joel Brobecker <brobecker@adacore.com>
54 * windows-nat.c (_initialize_windows_nat): Deprecate the
55 "dll-symbols" command. Turn the "add-shared-symbol-files"
56 and "assf" aliases into commands, and deprecate them as well.
57 * NEWS: Add entry explaining that "dll-symbols" and its two
58 aliases are now deprecated.
60 2014-02-20 Joel Brobecker <brobecker@adacore.com>
62 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
63 new-line in debug string. Remove trailing spaces.
65 2014-02-19 Stan Shebs <stan@codesourcery.com>
67 * darwin-nat.c (darwin_xfer_partial): Fix return type.
69 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
71 * NEWS: Add entry for the new feature
72 * python/py-value.c (valpy_binop): Call value_x_binop for struct
75 2014-02-19 Stan Shebs <stan@codesourcery.com>
77 * MAINTAINERS: List Yao Qi as nios2 maintainer.
79 2014-02-19 Pedro Alves <palves@redhat.com>
81 * common/ptid.h (struct ptid): Mention that process_stratum
82 targets should prefer ptid.lwp.
84 2014-02-19 Pedro Alves <palves@redhat.com>
86 * remote.c (remote_thread_alive, write_ptid, read_ptid)
87 (read_ptid, remote_newthread_step, remote_threads_extra_info)
88 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
89 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
90 store remote thread ids rather than ptid.tid.
91 (_initialize_remote): Adjust.
93 2014-02-19 Tom Tromey <tromey@redhat.com>
95 * target.c (target_get_unwinder): Rewrite.
96 (target_get_tailcall_unwinder): Rewrite.
97 * record-btrace.c (record_btrace_to_get_unwinder): New function.
98 (record_btrace_to_get_tailcall_unwinder): New function.
99 (init_record_btrace_ops): Update.
100 * target.h (struct target_ops) <to_get_unwinder,
101 to_get_tailcall_unwinder>: Now function pointers. Use
102 TARGET_DEFAULT_RETURN.
104 2014-02-19 Tom Tromey <tromey@redhat.com>
106 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
108 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
110 2014-02-19 Tom Tromey <tromey@redhat.com>
112 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
114 * target-delegates.c: Rebuild.
115 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
117 * target.c (default_target_decr_pc_after_break): Rename from
118 forward_target_decr_pc_after_break. Simplify.
119 (target_decr_pc_after_break): Rely on delegation.
121 2014-02-19 Tom Tromey <tromey@redhat.com>
123 * target.c (update_current_target): Do not INHERIT to_doc or
124 to_magic. Do not de_fault to_open or to_close.
126 2014-02-19 Tom Tromey <tromey@redhat.com>
128 * gcore.h (objfile_find_memory_regions): Declare.
129 * gcore.c (objfile_find_memory_regions): No longer static. Add
131 (_initialize_gcore): Don't call exec_set_find_memory_regions.
132 * exec.c: Include gcore.h.
133 (exec_set_find_memory_regions): Remove.
134 (exec_find_memory_regions): Remove.
135 (exec_do_find_memory_regions): Remove.
136 (init_exec_ops): Update.
137 * defs.h (exec_set_find_memory_regions): Remove.
139 2014-02-19 Tom Tromey <tromey@redhat.com>
141 * target-delegates.c: Rebuild.
142 * target.h (struct target_ops) <to_extra_thread_info,
143 to_thread_name, to_pid_to_exec_file, to_get_section_table,
144 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
145 not 0, in TARGET_DEFAULT_RETURN.
147 2014-02-19 Tom Tromey <tromey@redhat.com>
149 * target.c (complete_target_initialization): Remove casts. Use
150 return_zero_has_execution.
151 (return_zero): Add "ignore" argument.
152 (return_zero_has_execution): New function.
153 (init_dummy_target): Remove casts. Use
154 return_zero_has_execution.
156 2014-02-19 Tom Tromey <tromey@redhat.com>
158 * target.c (update_current_target): Update comments. Do not
161 2014-02-19 Tom Tromey <tromey@redhat.com>
163 * arm-linux-nat.c (arm_linux_read_description): Delegate when
165 * corelow.c (core_read_description): Delegate when needed.
166 * remote.c (remote_read_description): Delegate when needed.
167 * target-delegates.c: Rebuild.
168 * target.c (target_read_description): Rewrite.
169 * target.h (struct target_ops) <to_read_description>: Update
170 comment. Use TARGET_DEFAULT_RETURN.
172 2014-02-19 Tom Tromey <tromey@redhat.com>
174 * target-delegates.c: Rebuild.
175 * target.c (update_current_target): Don't inherit or default
177 (find_default_run_target): Check against delegate_can_run.
178 * target.h (struct target_ops) <to_can_run>: Use
179 TARGET_DEFAULT_RETURN.
181 2014-02-19 Tom Tromey <tromey@redhat.com>
183 * target-delegates.c: Rebuild.
184 * target.c (target_disconnect): Unconditionally delegate.
185 * target.h (struct target_ops) <to_disconnect>: Use
186 TARGET_DEFAULT_NORETURN.
188 2014-02-19 Tom Tromey <tromey@redhat.com>
190 * record.c (record_stop): Unconditionally delegate.
191 * target-delegates.c: Rebuild.
192 * target.c (target_stop_recording): Unconditionally delegate.
193 * target.h (struct target_ops) <to_stop_recording>: Use
194 TARGET_DEFAULT_IGNORE.
196 2014-02-19 Tom Tromey <tromey@redhat.com>
198 * target-delegates.c: Rebuild.
199 * target.c (target_enable_btrace): Unconditionally delegate.
200 * target.h (struct target_ops) <to_enable_btrace>: Use
201 TARGET_DEFAULT_NORETURN.
203 2014-02-19 Tom Tromey <tromey@redhat.com>
205 * target-delegates.c: Rebuild.
206 * target.c (target_read_btrace): Unconditionally delegate.
207 * target.h (struct target_ops) <to_read_btrace>: Use
208 TARGET_DEFAULT_NORETURN.
210 2014-02-19 Tom Tromey <tromey@redhat.com>
212 * target-delegates.c: Rebuild.
213 * target.c (target_teardown_btrace): Unconditionally delegate.
214 * target.h (struct target_ops) <to_teardown_btrace>: Use
215 TARGET_DEFAULT_NORETURN.
217 2014-02-19 Tom Tromey <tromey@redhat.com>
219 * target-delegates.c: Rebuild.
220 * target.c (target_disable_btrace): Unconditionally delegate.
221 * target.h (struct target_ops) <to_disable_btrace>: Use
222 TARGET_DEFAULT_NORETURN.
224 2014-02-19 Tom Tromey <tromey@redhat.com>
226 * target-delegates.c: Rebuild.
227 * target.c (default_search_memory): New function.
228 (simple_search_memory): Update comment.
229 (target_search_memory): Unconditionally delegate.
230 * target.h (struct target_ops) <to_search_memory>: Use
233 2014-02-19 Tom Tromey <tromey@redhat.com>
235 * auxv.c (default_auxv_parse): No longer static.
236 (target_auxv_parse): Unconditionally delegate.
237 * auxv.h (default_auxv_parse): Declare.
238 * target-delegates.c: Rebuild.
239 * target.c: Include auxv.h.
240 * target.h (struct target_ops) <to_auxv_parse>: Use
243 2014-02-19 Tom Tromey <tromey@redhat.com>
245 * target-delegates.c: Rebuild.
246 * target.c (target_memory_map): Unconditionally delegate.
247 * target.h (struct target_ops) <to_memory_map>: Use
248 TARGET_DEFAULT_RETURN.
250 2014-02-19 Tom Tromey <tromey@redhat.com>
252 * target-delegates.c: Rebuild.
253 * target.c (target_thread_alive): Unconditionally delegate.
254 * target.h (struct target_ops) <to_thread_alive>: Use
255 TARGET_DEFAULT_RETURN.
257 2014-02-19 Tom Tromey <tromey@redhat.com>
259 * target-delegates.c: Rebuild.
260 * target.c (target_save_record): Unconditionally delegate.
261 * target.h (struct target_ops) <to_save_record>: Use
262 TARGET_DEFAULT_NORETURN.
264 2014-02-19 Tom Tromey <tromey@redhat.com>
266 * target-delegates.c: Rebuild.
267 * target.c (target_delete_record): Unconditionally delegate.
268 * target.h (struct target_ops) <to_delete_record>: Use
269 TARGET_DEFAULT_NORETURN.
271 2014-02-19 Tom Tromey <tromey@redhat.com>
273 * target-delegates.c: Rebuild.
274 * target.c (target_record_is_replaying): Unconditionally
276 * target.h (struct target_ops) <to_record_is_replaying>: Use
277 TARGET_DEFAULT_RETURN.
279 2014-02-19 Tom Tromey <tromey@redhat.com>
281 * target-delegates.c: Rebuild.
282 * target.c (target_goto_record_begin): Unconditionally delegate.
283 * target.h (struct target_ops) <to_goto_record_begin>: Use
284 TARGET_DEFAULT_NORETURN.
286 2014-02-19 Tom Tromey <tromey@redhat.com>
288 * target-delegates.c: Rebuild.
289 * target.c (target_goto_record_end): Unconditionally delegate.
290 * target.h (struct target_ops) <to_goto_record_end>: Use
291 TARGET_DEFAULT_NORETURN.
293 2014-02-19 Tom Tromey <tromey@redhat.com>
295 * target-delegates.c: Rebuild.
296 * target.c (target_goto_record): Unconditionally delegate.
297 * target.h (struct target_ops) <to_goto_record>: Use
298 TARGET_DEFAULT_NORETURN.
300 2014-02-19 Tom Tromey <tromey@redhat.com>
302 * target-delegates.c: Rebuild.
303 * target.c (target_insn_history): Unconditionally delegate.
304 * target.h (struct target_ops) <to_insn_history>: Use
305 TARGET_DEFAULT_NORETURN.
307 2014-02-19 Tom Tromey <tromey@redhat.com>
309 * target-delegates.c: Rebuild.
310 * target.c (target_insn_history_from): Unconditionally delegate.
311 * target.h (struct target_ops) <to_insn_history_from>: Use
312 TARGET_DEFAULT_NORETURN.
314 2014-02-19 Tom Tromey <tromey@redhat.com>
316 * target-delegates.c: Rebuild.
317 * target.c (target_insn_history_range): Unconditionally delegate.
318 * target.h (struct target_ops) <to_insn_history_range>: Use
319 TARGET_DEFAULT_NORETURN.
321 2014-02-19 Tom Tromey <tromey@redhat.com>
323 * target-delegates.c: Rebuild.
324 * target.c (target_call_history): Unconditionally delegate.
325 * target.h (struct target_ops) <to_call_history>: Use
326 TARGET_DEFAULT_NORETURN.
328 2014-02-19 Tom Tromey <tromey@redhat.com>
330 * target-delegates.c: Rebuild.
331 * target.c (target_call_history_from): Unconditionally delegate.
332 * target.h (struct target_ops) <to_call_history_from>: Use
333 TARGET_DEFAULT_NORETURN.
335 2014-02-19 Tom Tromey <tromey@redhat.com>
337 * target-delegates.c: Rebuild.
338 * target.c (target_call_history_range): Unconditionally delegate.
339 * target.h (struct target_ops) <to_call_history_range>: Use
340 TARGET_DEFAULT_NORETURN.
342 2014-02-19 Tom Tromey <tromey@redhat.com>
344 * target-delegates.c: Rebuild.
345 * target.c (target_verify_memory): Unconditionally delegate.
346 * target.h (struct target_ops) <to_verify_memory>: Use
347 TARGET_DEFAULT_NORETURN.
349 2014-02-19 Tom Tromey <tromey@redhat.com>
351 * target-delegates.c: Rebuild.
352 * target.c (target_core_of_thread): Unconditionally delegate.
353 * target.h (struct target_ops) <to_core_of_thread>: Use
354 TARGET_DEFAULT_RETURN.
356 2014-02-19 Tom Tromey <tromey@redhat.com>
358 * target-delegates.c: Rebuild.
359 * target.c (target_flash_done): Unconditionally delegate.
360 * target.h (struct target_ops) <to_flash_done>: Use
361 TARGET_DEFAULT_NORETURN.
363 2014-02-19 Tom Tromey <tromey@redhat.com>
365 * target-delegates.c: Rebuild.
366 * target.c (target_flash_erase): Unconditionally delegate.
367 * target.h (struct target_ops) <to_flash_erase>: Use
368 TARGET_DEFAULT_NORETURN.
370 2014-02-19 Tom Tromey <tromey@redhat.com>
372 * target-delegates.c: Rebuild.
373 * target.c (target_get_section_table): Unconditionally delegate.
374 * target.h (struct target_ops) <to_get_section_table>: Use
375 TARGET_DEFAULT_RETURN.
377 2014-02-19 Tom Tromey <tromey@redhat.com>
379 * target-delegates.c: Rebuild.
380 * target.c (target_pid_to_str): Unconditionally delegate.
381 (init_dummy_target): Don't initialize to_pid_to_str.
382 (default_pid_to_str): Rename from dummy_pid_to_str.
383 * target.h (struct target_ops) <to_pid_to_str>: Use
386 2014-02-19 Tom Tromey <tromey@redhat.com>
388 * target-delegates.c: Rebuild.
389 * target.c (target_find_new_threads): Unconditionally delegate.
390 * target.h (struct target_ops) <to_find_new_threads>: Use
391 TARGET_DEFAULT_RETURN.
393 2014-02-19 Tom Tromey <tromey@redhat.com>
395 * target-delegates.c: Rebuild.
396 * target.c (target_program_signals): Unconditionally delegate.
397 * target.h (struct target_ops) <to_program_signals>: Use
398 TARGET_DEFAULT_IGNORE.
400 2014-02-19 Tom Tromey <tromey@redhat.com>
402 * target-delegates.c: Rebuild.
403 * target.c (target_pass_signals): Unconditionally delegate.
404 * target.h (struct target_ops) <to_pass_signals>: Use
405 TARGET_DEFAULT_IGNORE.
407 2014-02-19 Tom Tromey <tromey@redhat.com>
409 * target-delegates.c: Rebuild.
410 * target.c (default_mourn_inferior): New function.
411 (target_mourn_inferior): Unconditionally delegate.
412 * target.h (struct target_ops) <to_mourn_inferior>: Use
415 2014-02-19 Tom Tromey <tromey@redhat.com>
417 * target-delegates.c: Rebuild.
418 * target.c (default_follow_fork): New function.
419 (target_follow_fork): Unconditionally delegate.
420 * target.h (struct target_ops) <to_follow_fork>: Use
423 2014-02-19 Tom Tromey <tromey@redhat.com>
425 * target-delegates.c: Rebuild.
426 * target.c (target_kill): Unconditionally delegate.
427 * target.h (struct target_ops) <to_kill>: Use
428 TARGET_DEFAULT_NORETURN.
430 2014-02-19 Tom Tromey <tromey@redhat.com>
432 * target-delegates.c: Rebuild.
433 * target.c (target_masked_watch_num_registers): Unconditionally
435 * target.h (struct target_ops) <to_masked_watch_num_registers>:
436 Use TARGET_DEFAULT_RETURN.
438 2014-02-19 Tom Tromey <tromey@redhat.com>
440 * target-delegates.c: Rebuild.
441 * target.c (target_remove_mask_watchpoint): Unconditionally
443 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
444 TARGET_DEFAULT_RETURN.
446 2014-02-19 Tom Tromey <tromey@redhat.com>
448 * target-delegates.c: Rebuild.
449 * target.c (target_insert_mask_watchpoint): Unconditionally
451 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
452 TARGET_DEFAULT_RETURN.
454 2014-02-19 Tom Tromey <tromey@redhat.com>
456 * target-delegates.c: Rebuild.
457 * target.c (target_ranged_break_num_registers): Unconditionally
459 * target.h (struct target_ops) <to_ranged_break_num_registers>:
460 Use TARGET_DEFAULT_RETURN.
462 2014-02-19 Tom Tromey <tromey@redhat.com>
464 * target-delegates.c: Rebuild.
465 * target.c (target_fetch_registers): Unconditionally delegate.
466 * target.h (struct target_ops) <to_fetch_registers>: Use
467 TARGET_DEFAULT_NORETURN.
469 2014-02-19 Tom Tromey <tromey@redhat.com>
471 * target-delegates.c: Rebuild.
472 * target.c (update_current_target): Don't inherit or default
474 * target.h (struct target_ops) <to_stop>: Use
475 TARGET_DEFAULT_IGNORE.
477 2014-02-19 Tom Tromey <tromey@redhat.com>
479 * target-delegates.c: Rebuild.
480 * target.c (update_current_target): Don't inherit or default
481 to_can_run_breakpoint_commands.
482 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
483 Use TARGET_DEFAULT_RETURN.
485 2014-02-19 Tom Tromey <tromey@redhat.com>
487 * target-delegates.c: Rebuild.
488 * target.c (update_current_target): Don't inherit or default
489 to_supports_evaluation_of_breakpoint_conditions.
490 * target.h (struct target_ops)
491 <to_supports_evaluation_of_breakpoint_conditions>: Use
492 TARGET_DEFAULT_RETURN.
494 2014-02-19 Tom Tromey <tromey@redhat.com>
496 * target-delegates.c: Rebuild.
497 * target.c (update_current_target): Don't inherit or default
498 to_augmented_libraries_svr4_read.
499 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
500 Use TARGET_DEFAULT_RETURN.
502 2014-02-19 Tom Tromey <tromey@redhat.com>
504 * target-delegates.c: Rebuild.
505 * target.c (update_current_target): Don't inherit or default
507 * target.h (struct target_ops) <to_can_use_agent>: Use
508 TARGET_DEFAULT_RETURN.
510 2014-02-19 Tom Tromey <tromey@redhat.com>
512 * target-delegates.c: Rebuild.
513 * target.c (update_current_target): Don't inherit or default
515 * target.h (struct target_ops) <to_use_agent>: Use
516 TARGET_DEFAULT_NORETURN.
518 2014-02-19 Tom Tromey <tromey@redhat.com>
520 * target-delegates.c: Rebuild.
521 * target.c (update_current_target): Don't inherit or default
523 (return_null): Remove.
524 * target.h (struct target_ops) <to_traceframe_info>: Use
525 TARGET_DEFAULT_RETURN.
527 2014-02-19 Tom Tromey <tromey@redhat.com>
529 * target-delegates.c: Rebuild.
530 * target.c (update_current_target): Don't inherit or default
531 to_static_tracepoint_markers_by_strid.
532 * target.h (struct target_ops)
533 <to_static_tracepoint_markers_by_strid>: Use
534 TARGET_DEFAULT_NORETURN.
536 2014-02-19 Tom Tromey <tromey@redhat.com>
538 * target-delegates.c: Rebuild.
539 * target.c (update_current_target): Don't inherit or default
540 to_static_tracepoint_marker_at.
541 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
542 Use TARGET_DEFAULT_RETURN.
544 2014-02-19 Tom Tromey <tromey@redhat.com>
546 * target-delegates.c: Rebuild.
547 * target.c (update_current_target): Don't inherit or default
549 * target.h (struct target_ops) <to_set_permissions>: Use
550 TARGET_DEFAULT_IGNORE.
552 2014-02-19 Tom Tromey <tromey@redhat.com>
554 * target-delegates.c: Rebuild.
555 * target.c (update_current_target): Don't inherit or default
557 * target.h (struct target_ops) <to_get_tib_address>: Use
558 TARGET_DEFAULT_NORETURN.
560 2014-02-19 Tom Tromey <tromey@redhat.com>
562 * target-delegates.c: Rebuild.
563 * target.c (update_current_target): Don't inherit or default
565 * target.h (struct target_ops) <to_set_trace_notes>: Use
566 TARGET_DEFAULT_RETURN.
568 2014-02-19 Tom Tromey <tromey@redhat.com>
570 * target-delegates.c: Rebuild.
571 * target.c (update_current_target): Don't initialize
572 to_set_trace_buffer_size.
573 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
574 TARGET_DEFAULT_IGNORE.
576 2014-02-19 Tom Tromey <tromey@redhat.com>
578 * target-delegates.c: Rebuild.
579 * target.c (update_current_target): Don't inherit or default
580 to_set_circular_trace_buffer.
581 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
582 TARGET_DEFAULT_IGNORE.
584 2014-02-19 Tom Tromey <tromey@redhat.com>
586 * target-delegates.c: Rebuild.
587 * target.c (update_current_target): Don't inherit or default
588 to_set_disconnected_tracing.
589 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
590 TARGET_DEFAULT_IGNORE.
592 2014-02-19 Tom Tromey <tromey@redhat.com>
594 * target-delegates.c: Rebuild.
595 * target.c (update_current_target): Don't inherit or default
596 to_get_min_fast_tracepoint_insn_len.
597 (return_minus_one): Remove.
598 * target.h (struct target_ops)
599 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
601 2014-02-19 Tom Tromey <tromey@redhat.com>
603 * target-delegates.c: Rebuild.
604 * target.c (update_current_target): Don't inherit or default
605 to_get_raw_trace_data.
606 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
607 TARGET_DEFAULT_NORETURN.
609 2014-02-19 Tom Tromey <tromey@redhat.com>
611 * target-delegates.c: Rebuild.
612 * target.c (update_current_target): Don't inherit or default
613 to_upload_trace_state_variables.
614 * target.h (struct target_ops) <to_upload_trace_state_variables>:
615 Use TARGET_DEFAULT_RETURN.
617 2014-02-19 Tom Tromey <tromey@redhat.com>
619 * target-delegates.c: Rebuild.
620 * target.c (update_current_target): Don't inherit or default
621 to_upload_tracepoints.
622 * target.h (struct target_ops) <to_upload_tracepoints>: Use
623 TARGET_DEFAULT_RETURN.
625 2014-02-19 Tom Tromey <tromey@redhat.com>
627 * target-delegates.c: Rebuild.
628 * target.c (update_current_target): Don't inherit or default
630 * target.h (struct target_ops) <to_save_trace_data>: Use
631 TARGET_DEFAULT_NORETURN.
633 2014-02-19 Tom Tromey <tromey@redhat.com>
635 * target-delegates.c: Rebuild.
636 * target.c (update_current_target): Don't inherit or default
637 to_get_trace_state_variable_value.
638 * target.h (struct target_ops)
639 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
641 2014-02-19 Tom Tromey <tromey@redhat.com>
643 * target-delegates.c: Rebuild.
644 * target.c (update_current_target): Don't inherit or default
646 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
648 2014-02-19 Tom Tromey <tromey@redhat.com>
650 * target-delegates.c: Rebuild.
651 * target.c (update_current_target): Don't inherit or default
653 * target.h (struct target_ops) <to_trace_stop>: Use
654 TARGET_DEFAULT_NORETURN.
656 2014-02-19 Tom Tromey <tromey@redhat.com>
658 * target-delegates.c: Rebuild.
659 * target.c (update_current_target): Don't inherit or default
660 to_get_tracepoint_status.
661 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
662 TARGET_DEFAULT_NORETURN.
664 2014-02-19 Tom Tromey <tromey@redhat.com>
666 * target-delegates.c: Rebuild.
667 * target.c (update_current_target): Don't inherit or default
669 * target.h (struct target_ops) <to_get_trace_status>: Use
670 TARGET_DEFAULT_RETURN.
672 2014-02-19 Tom Tromey <tromey@redhat.com>
674 * target-delegates.c: Rebuild.
675 * target.c (update_current_target): Don't inherit or default
677 * target.h (struct target_ops) <to_trace_start>: Use
678 TARGET_DEFAULT_NORETURN.
680 2014-02-19 Tom Tromey <tromey@redhat.com>
682 * target-delegates.c: Rebuild.
683 * target.c (update_current_target): Don't inherit or default
684 to_trace_set_readonly_regions.
685 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
686 Use TARGET_DEFAULT_NORETURN.
688 2014-02-19 Tom Tromey <tromey@redhat.com>
690 * target-delegates.c: Rebuild.
691 * target.c (update_current_target): Don't inherit or default
692 to_disable_tracepoint.
693 * target.h (struct target_ops) <to_disable_tracepoint>: Use
694 TARGET_DEFAULT_NORETURN.
696 2014-02-19 Tom Tromey <tromey@redhat.com>
698 * target-delegates.c: Rebuild.
699 * target.c (update_current_target): Don't inherit or default
700 to_enable_tracepoint.
701 * target.h (struct target_ops) <to_enable_tracepoint>: Use
702 TARGET_DEFAULT_NORETURN.
704 2014-02-19 Tom Tromey <tromey@redhat.com>
706 * target-delegates.c: Rebuild.
707 * target.c (update_current_target): Don't inherit or default
708 to_download_trace_state_variable.
709 * target.h (struct target_ops) <to_download_trace_state_variable>:
710 Use TARGET_DEFAULT_NORETURN.
712 2014-02-19 Tom Tromey <tromey@redhat.com>
714 * target-delegates.c: Rebuild.
715 * target.c (update_current_target): Don't inherit or default
716 to_can_download_tracepoint.
717 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
718 TARGET_DEFAULT_RETURN.
720 2014-02-19 Tom Tromey <tromey@redhat.com>
722 * target-delegates.c: Rebuild.
723 * target.c (update_current_target): Don't inherit or default
724 to_download_tracepoint.
725 * target.h (struct target_ops) <to_download_tracepoint>: Use
726 TARGET_DEFAULT_NORETURN.
728 2014-02-19 Tom Tromey <tromey@redhat.com>
730 * target-delegates.c: Rebuild.
731 * target.c (update_current_target): Don't inherit or default
733 * target.h (struct target_ops) <to_trace_init>: Use
734 TARGET_DEFAULT_RETURN.
736 2014-02-19 Tom Tromey <tromey@redhat.com>
738 * target-delegates.c: Rebuild.
739 * target.c (update_current_target): Don't inherit or default
740 to_supports_string_tracing.
741 * target.h (struct target_ops) <to_supports_string_tracing>: Use
742 TARGET_DEFAULT_RETURN.
744 2014-02-19 Tom Tromey <tromey@redhat.com>
746 * target-delegates.c: Rebuild.
747 * target.c (update_current_target): Don't inherit or default
748 to_supports_enable_disable_tracepoint.
749 * target.h (struct target_ops)
750 <to_supports_enable_disable_tracepoint>: Use
751 TARGET_DEFAULT_RETURN.
753 2014-02-19 Tom Tromey <tromey@redhat.com>
755 * target-delegates.c: Rebuild.
756 * target.c (update_current_target): Don't inherit or default
757 to_supports_multi_process.
758 * target.h (struct target_ops) <to_supports_multi_process>: Use
759 TARGET_DEFAULT_RETURN.
761 2014-02-19 Tom Tromey <tromey@redhat.com>
763 * target-delegates.c: Rebuild.
764 * target.c (update_current_target): Don't inherit or default
765 to_get_ada_task_ptid.
766 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
769 2014-02-19 Tom Tromey <tromey@redhat.com>
771 * target-delegates.c: Rebuild.
772 * target.c (update_current_target): Don't inherit or default
773 to_thread_architecture.
774 * target.h (struct target_ops) <to_thread_architecture>: Use
777 2014-02-19 Tom Tromey <tromey@redhat.com>
779 * target-delegates.c: Rebuild.
780 * target.c (update_current_target): Don't inherit or default
781 to_execution_direction.
782 * target.h (struct target_ops) <to_execution_direction>: Use
785 2014-02-19 Tom Tromey <tromey@redhat.com>
787 * target-delegates.c: Rebuild.
788 * target.c (update_current_target): Don't inherit or default
789 to_can_execute_reverse.
790 * target.h (struct target_ops) <to_can_execute_reverse>: Use
791 TARGET_DEFAULT_RETURN.
792 (target_can_execute_reverse): Unconditionally delegate.
794 2014-02-19 Tom Tromey <tromey@redhat.com>
796 * target-delegates.c: Rebuild.
797 * target.c (update_current_target): Don't inherit or default
799 (dummy_goto_bookmark): Remove.
800 (init_dummy_target): Don't inherit or default to_goto_bookmark.
801 * target.h (struct target_ops) <to_goto_bookmark>: Use
802 TARGET_DEFAULT_NORETURN.
804 2014-02-19 Tom Tromey <tromey@redhat.com>
806 * target-delegates.c: Rebuild.
807 * target.c (update_current_target): Don't inherit or default
809 (dummy_get_bookmark): Remove.
810 (init_dummy_target): Don't inherit or default to_get_bookmark.
811 * target.h (struct target_ops) <to_get_bookmark>: Use
812 TARGET_DEFAULT_NORETURN
814 2014-02-19 Tom Tromey <tromey@redhat.com>
816 * target-delegates.c: Rebuild.
817 * target.c (update_current_target): Don't inherit or default
818 to_make_corefile_notes.
819 (init_dummy_target): Don't initialize to_make_corefile_notes.
820 * target.h (struct target_ops) <to_make_corefile_notes>: Use
823 2014-02-19 Tom Tromey <tromey@redhat.com>
825 * target-delegates.c: Rebuild.
826 * target.c (update_current_target): Don't inherit or default
827 to_find_memory_regions.
828 (init_dummy_target): Don't initialize to_find_memory_regions.
829 * target.h (struct target_ops) <to_find_memory_regions>: Use
832 2014-02-19 Tom Tromey <tromey@redhat.com>
834 * target-delegates.c: Rebuild.
835 * target.c (update_current_target): Don't inherit or default
837 * target.h (struct target_ops) <to_log_command>: Use
838 TARGET_DEFAULT_IGNORE.
839 (target_log_command): Unconditionally delegate.
841 2014-02-19 Tom Tromey <tromey@redhat.com>
843 * target-delegates.c: Rebuild.
844 * target.c (update_current_target): Don't inherit or default
846 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
847 TARGET_DEFAULT_RETURN.
849 2014-02-19 Tom Tromey <tromey@redhat.com>
851 * target-delegates.c: Rebuild.
852 * target.c (update_current_target): Don't inherit or default
854 (target_thread_name): Unconditionally delegate.
855 * target.h (struct target_ops) <to_thread_name>: Use
856 TARGET_DEFAULT_RETURN.
858 2014-02-19 Tom Tromey <tromey@redhat.com>
860 * target-delegates.c: Rebuild.
861 * target.c (update_current_target): Don't inherit or default
862 to_extra_thread_info.
863 * target.h (struct target_ops) <to_extra_thread_info>: Use
864 TARGET_DEFAULT_RETURN.
866 2014-02-19 Tom Tromey <tromey@redhat.com>
868 * target-delegates.c: Rebuild.
869 * target.c (update_current_target): Don't inherit or default
871 * target.h (struct target_ops) <to_has_exited>: Use
872 TARGET_DEFAULT_RETURN..
874 2014-02-19 Tom Tromey <tromey@redhat.com>
876 * target-delegates.c: Rebuild.
877 * target.c (update_current_target): Don't inherit or default
878 to_set_syscall_catchpoint.
879 (return_one): Remove.
880 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
881 TARGET_DEFAULT_RETURN.
883 2014-02-19 Tom Tromey <tromey@redhat.com>
885 * target-delegates.c: Rebuild.
886 * target.c (update_current_target): Don't inherit or default
887 to_insert_exec_catchpoint.
888 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
889 TARGET_DEFAULT_RETURN.
891 2014-01-08 Tom Tromey <tromey@redhat.com>
893 * target-delegates.c: Rebuild.
894 * target.c (update_current_target): Don't inherit or default
895 to_insert_exec_catchpoint.
896 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
897 TARGET_DEFAULT_RETURN.
899 2014-02-19 Tom Tromey <tromey@redhat.com>
901 * target-delegates.c: Rebuild.
902 * target.c (update_current_target): Don't inherit or default
903 to_remove_vfork_catchpoint.
904 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
905 TARGET_DEFAULT_RETURN.
907 2014-02-19 Tom Tromey <tromey@redhat.com>
909 * target-delegates.c: Rebuild.
910 * target.c (update_current_target): Don't inherit or default
911 to_insert_vfork_catchpoint.
912 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
913 TARGET_DEFAULT_RETURN.
915 2014-02-19 Tom Tromey <tromey@redhat.com>
917 * target-delegates.c: Rebuild.
918 * target.c (update_current_target): Don't inherit or default
919 to_remove_fork_catchpoint.
920 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
921 TARGET_DEFAULT_RETURN.
923 2014-02-19 Tom Tromey <tromey@redhat.com>
925 * target-delegates.c: Rebuild.
926 * target.c (update_current_target): Don't inherit or default
927 to_insert_fork_catchpoint.
928 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
929 TARGET_DEFAULT_RETURN.
931 2014-02-19 Tom Tromey <tromey@redhat.com>
933 * target-delegates.c: Rebuild.
934 * target.c (update_current_target): Don't inherit or default
935 to_post_startup_inferior.
936 * target.h (struct target_ops) <to_post_startup_inferior>: Use
937 TARGET_DEFAULT_IGNORE.
939 2014-02-19 Tom Tromey <tromey@redhat.com>
941 * target-delegates.c: Rebuild.
942 * target.c (update_current_target): Don't inherit or default
944 * target.h (struct target_ops) <to_load>: Use
945 TARGET_DEFAULT_NORETURN.
947 2014-02-19 Tom Tromey <tromey@redhat.com>
949 * target-delegates.c: Rebuild.
950 * target.c (update_current_target): Don't inherit or default
952 * target.h (struct target_ops) <to_terminal_info>: Use
955 2014-02-19 Tom Tromey <tromey@redhat.com>
957 * target-delegates.c: Rebuild.
958 * target.c (update_current_target): Don't inherit or default
959 to_terminal_save_ours.
960 * target.h (struct target_ops) <to_terminal_save_ours>: Use
961 TARGET_DEFAULT_IGNORE.
963 2014-02-19 Tom Tromey <tromey@redhat.com>
965 * target-delegates.c: Rebuild.
966 * target.c (update_current_target): Don't inherit or default
968 * target.h (struct target_ops) <to_terminal_ours>: Use
969 TARGET_DEFAULT_IGNORE.
971 2014-02-19 Tom Tromey <tromey@redhat.com>
973 * target-delegates.c: Rebuild.
974 * target.c (update_current_target): Don't inherit or default
975 to_terminal_ours_for_output.
976 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
977 TARGET_DEFAULT_IGNORE.
979 2014-02-19 Tom Tromey <tromey@redhat.com>
981 * target-delegates.c: Rebuild.
982 * target.c (update_current_target): Don't inherit or default
983 to_terminal_inferior.
984 * target.h (struct target_ops) <to_terminal_inferior>: Use
985 TARGET_DEFAULT_IGNORE.
987 2014-02-19 Tom Tromey <tromey@redhat.com>
989 * target-delegates.c: Rebuild.
990 * target.c (update_current_target): Don't inherit or default
992 * target.h (struct target_ops) <to_terminal_init>: Use
993 TARGET_DEFAULT_IGNORE.
995 2014-02-19 Tom Tromey <tromey@redhat.com>
997 * target-delegates.c: Rebuild.
998 * target.c (update_current_target): Don't inherit or default
999 to_can_accel_watchpoint_condition.
1000 * target.h (struct target_ops)
1001 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
1003 2014-02-19 Tom Tromey <tromey@redhat.com>
1005 * target-delegates.c: Rebuild.
1006 * target.c (update_current_target): Don't inherit or default
1007 to_region_ok_for_hw_watchpoint.
1008 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1009 Use TARGET_DEFAULT_FUNC.
1011 2014-02-19 Tom Tromey <tromey@redhat.com>
1013 * target-delegates.c: Rebuild.
1014 * target.c (update_current_target): Don't inherit or default
1015 to_watchpoint_addr_within_range.
1016 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
1017 Use TARGET_DEFAULT_FUNC.
1019 2014-02-19 Tom Tromey <tromey@redhat.com>
1021 * target-delegates.c: Rebuild.
1022 * target.c (update_current_target): Don't inherit or default
1023 to_remove_watchpoint.
1024 * target.h (struct target_ops) <to_remove_watchpoint>: Use
1025 TARGET_DEFAULT_NORETURN.
1027 2014-02-19 Tom Tromey <tromey@redhat.com>
1029 * target-delegates.c: Rebuild.
1030 * target.c (update_current_target): Don't inherit or default
1031 to_insert_watchpoint.
1032 * target.h (struct target_ops) <to_insert_watchpoint>: Use
1033 TARGET_DEFAULT_RETURN.
1035 2014-02-19 Tom Tromey <tromey@redhat.com>
1037 * target-delegates.c: Rebuild.
1038 * target.c (update_current_target): Don't inherit or default
1039 to_remove_hw_breakpoint.
1040 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
1041 TARGET_DEFAULT_RETURN.
1043 2014-02-19 Tom Tromey <tromey@redhat.com>
1045 * target-delegates.c: Rebuild.
1046 * target.c (update_current_target): Don't inherit or default
1047 to_insert_hw_breakpoint.
1048 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
1049 TARGET_DEFAULT_RETURN.
1051 2014-02-19 Tom Tromey <tromey@redhat.com>
1053 * target-delegates.c: Rebuild.
1054 * target.c (update_current_target): Don't inherit or default
1055 to_can_use_hw_breakpoint.
1056 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
1057 TARGET_DEFAULT_RETURN.
1059 2014-02-19 Tom Tromey <tromey@redhat.com>
1061 * target-delegates.c: Rebuild.
1062 * target.c (update_current_target): Don't inherit or default
1064 * target.h (struct target_ops) <to_files_info>: Use
1065 TARGET_DEFAULT_IGNORE.
1067 2014-02-19 Tom Tromey <tromey@redhat.com>
1069 * target-delegates.c: Rebuild.
1070 * target.c (update_current_target): Don't inherit or default
1072 * target.h (struct target_ops) <to_store>: Use
1073 TARGET_DEFAULT_NORETURN.
1075 2014-02-19 Tom Tromey <tromey@redhat.com>
1077 * target-delegates.c: Rebuild.
1078 * target.c (update_current_target): Don't inherit or default
1080 * target.h (struct target_ops) <to_post_attach>: Use
1081 TARGET_DEFAULT_IGNORE.
1083 2014-02-19 Tom Tromey <tromey@redhat.com>
1085 * target-delegates.c: Rebuild.
1086 * target.c (update_current_target): Don't inherit or default
1088 (default_rcmd): New function.
1089 (do_monitor_command): Unconditionally delegate.
1090 * target.h (struct target_ops) <to_rmcd>: Use
1091 TARGET_DEFAULT_FUNC.
1093 2014-02-19 Tom Tromey <tromey@redhat.com>
1095 * target-delegates.c: Rebuild.
1096 * target.c (init_dummy_target): Don't initialize to_attach.
1097 (target_attach): Unconditionally delegate.
1098 * target.h (struct target_ops) <to_attach>: Use
1099 TARGET_DEFAULT_FUNC.
1101 2014-02-19 Tom Tromey <tromey@redhat.com>
1103 * target-delegates.c: Rebuild.
1104 * target.c (target_detach): Unconditionally delegate.
1105 (init_dummy_target): Don't initialize to_detach.
1106 * target.h (struct target_ops) <to_detach>: Use
1107 TARGET_DEFAULT_IGNORE.
1109 2014-02-19 Tom Tromey <tromey@redhat.com>
1111 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1113 (target_augmented_libraries_svr4_read): Add argument.
1114 * target.c (update_current_target): Update.
1115 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
1118 2014-02-19 Tom Tromey <tromey@redhat.com>
1120 * target.h (struct target_ops) <to_call_history_range>: Add
1122 * target.c (target_call_history_range): Add argument.
1123 * record-btrace.c (record_btrace_call_history_range): Add 'self'
1125 (record_btrace_call_history_from): Update.
1127 2014-02-19 Tom Tromey <tromey@redhat.com>
1129 * target.h (struct target_ops) <to_call_history_from>: Add
1131 * target.c (target_call_history_from): Add argument.
1132 * record-btrace.c (record_btrace_call_history_from): Add 'self'
1135 2014-02-19 Tom Tromey <tromey@redhat.com>
1137 * target.h (struct target_ops) <to_call_history>: Add argument.
1138 * target.c (target_call_history): Add argument.
1139 * record-btrace.c (record_btrace_call_history): Add 'self'
1142 2014-02-19 Tom Tromey <tromey@redhat.com>
1144 * target.h (struct target_ops) <to_insn_history_range>: Add
1146 * target.c (target_insn_history_range): Add argument.
1147 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
1149 (record_btrace_insn_history_from): Update.
1151 2014-02-19 Tom Tromey <tromey@redhat.com>
1153 * target.h (struct target_ops) <to_insn_history_from>: Add
1155 * target.c (target_insn_history_from): Add argument.
1156 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
1159 2014-02-19 Tom Tromey <tromey@redhat.com>
1161 * target.h (struct target_ops) <to_insn_history>: Add argument.
1162 * target.c (target_insn_history): Add argument.
1163 * record-btrace.c (record_btrace_insn_history): Add 'self'
1166 2014-02-19 Tom Tromey <tromey@redhat.com>
1168 * target.h (struct target_ops) <to_goto_record>: Add argument.
1169 * target.c (target_goto_record): Add argument.
1170 * record-full.c (record_full_goto): Add 'self' argument.
1171 * record-btrace.c (record_btrace_goto): Add 'self' argument.
1173 2014-02-19 Tom Tromey <tromey@redhat.com>
1175 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
1176 * target.c (target_goto_record_end): Add argument.
1177 * record-full.c (record_full_goto_end): Add 'self' argument.
1178 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
1180 2014-02-19 Tom Tromey <tromey@redhat.com>
1182 * target.h (struct target_ops) <to_goto_record_begin>: Add
1184 * target.c (target_goto_record_begin): Add argument.
1185 * record-full.c (record_full_goto_begin): Add 'self' argument.
1186 * record-btrace.c (record_btrace_goto_begin): Add 'self'
1189 2014-02-19 Tom Tromey <tromey@redhat.com>
1191 * target.h (struct target_ops) <to_record_is_replaying>: Add
1193 * target.c (target_record_is_replaying): Add argument.
1194 * record-full.c (record_full_is_replaying): Add 'self' argument.
1195 * record-btrace.c (record_btrace_is_replaying): Add 'self'
1197 (record_btrace_xfer_partial, record_btrace_store_registers)
1198 (record_btrace_prepare_to_store, record_btrace_resume)
1199 (record_btrace_wait, record_btrace_decr_pc_after_break)
1200 (record_btrace_find_new_threads, record_btrace_thread_alive):
1203 2014-02-19 Tom Tromey <tromey@redhat.com>
1205 * target.h (struct target_ops) <to_delete_record>: Add argument.
1206 * target.c (target_delete_record): Add argument.
1207 * record-full.c (record_full_delete): Add 'self' argument.
1209 2014-02-19 Tom Tromey <tromey@redhat.com>
1211 * target.h (struct target_ops) <to_save_record>: Add argument.
1212 * target.c (target_save_record): Add argument.
1213 * record-full.c (record_full_save): Add 'self' argument.
1214 (record_full_save): Add 'self' argument.
1216 2014-02-19 Tom Tromey <tromey@redhat.com>
1218 * target.h (struct target_ops) <to_info_record>: Add argument.
1219 * target.c (target_info_record): Add argument.
1220 * record.c (info_record_command): Add argument.
1221 * record-full.c (record_full_info): Add 'self' argument.
1222 * record-btrace.c (record_btrace_info): Add 'self' argument.
1224 2014-02-19 Tom Tromey <tromey@redhat.com>
1226 * target.h (struct target_ops) <to_stop_recording>: Add argument.
1227 * target.c (target_stop_recording): Add argument.
1228 * record.c (record_stop): Add argument.
1229 * record-btrace.c (record_btrace_stop_recording): Add 'self'
1232 2014-02-19 Tom Tromey <tromey@redhat.com>
1234 * target.h (struct target_ops) <to_read_btrace>: Add argument.
1235 * target.c (struct target_ops) <to_read_btrace>: Add argument.
1236 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
1238 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
1239 (_initialize_amd64_linux_nat): Use it.
1240 * i386-linux-nat.c (i386_linux_read_btrace): New function.
1241 (_initialize_i386_linux_nat): Use it.
1243 2014-02-19 Tom Tromey <tromey@redhat.com>
1245 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
1246 * target.c (target_teardown_btrace): Add argument.
1247 * remote.c (remote_teardown_btrace): Add 'self' argument.
1248 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
1250 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
1253 2014-02-19 Tom Tromey <tromey@redhat.com>
1255 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
1256 * target.c (target_disable_btrace): Add argument.
1257 * remote.c (remote_disable_btrace): Add 'self' argument.
1258 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
1260 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
1263 2014-02-19 Tom Tromey <tromey@redhat.com>
1265 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
1266 * target.c (target_enable_btrace): Add argument.
1267 * remote.c (remote_enable_btrace): Add 'self' argument.
1268 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
1270 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
1273 2014-02-19 Tom Tromey <tromey@redhat.com>
1275 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
1276 (target_can_use_agent): Add argument.
1277 * target.c (update_current_target): Update.
1278 * remote.c (remote_can_use_agent): Add 'self' argument.
1279 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
1281 2014-02-19 Tom Tromey <tromey@redhat.com>
1283 * target.h (struct target_ops) <to_use_agent>: Add argument.
1284 (target_use_agent): Add argument.
1285 * target.c (update_current_target): Update.
1286 * remote.c (remote_use_agent): Add 'self' argument.
1287 * inf-child.c (inf_child_use_agent): Add 'self' argument.
1289 2014-02-19 Tom Tromey <tromey@redhat.com>
1291 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
1292 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
1293 (target_traceframe_info): Add argument.
1294 * target.c (update_current_target): Update.
1295 * remote.c (remote_traceframe_info): Add 'self' argument.
1296 * ctf.c (ctf_traceframe_info): Add 'self' argument.
1298 2014-02-19 Tom Tromey <tromey@redhat.com>
1300 * target.h (target_static_tracepoint_markers_by_strid): Add
1302 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
1304 * target.c (update_current_target): Update.
1305 * remote.c (struct target_ops)
1306 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1307 * linux-nat.c (struct target_ops)
1308 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1310 2014-02-19 Tom Tromey <tromey@redhat.com>
1312 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1314 (target_static_tracepoint_marker_at): Add argument.
1315 * target.c (update_current_target): Update.
1316 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
1319 2014-02-19 Tom Tromey <tromey@redhat.com>
1321 * target.h (struct target_ops) <to_set_permissions>: Add argument.
1322 (target_set_permissions): Add argument.
1323 * target.c (update_current_target): Update.
1324 * remote.c (remote_set_permissions): Add 'self' argument.
1325 (remote_start_remote): Update.
1327 2014-02-19 Tom Tromey <tromey@redhat.com>
1329 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
1330 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
1331 (target_get_tib_address): Add argument.
1332 * target.c (update_current_target): Update.
1333 * remote.c (remote_get_tib_address): Add 'self' argument.
1335 2014-02-19 Tom Tromey <tromey@redhat.com>
1337 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
1338 (target_set_trace_notes): Add argument.
1339 * target.c (update_current_target): Update.
1340 * remote.c (remote_set_trace_notes): Add 'self' argument.
1342 2014-02-19 Tom Tromey <tromey@redhat.com>
1344 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
1346 (target_set_trace_buffer_size): Add argument.
1347 * target.c (update_current_target): Update.
1348 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
1350 2014-02-19 Tom Tromey <tromey@redhat.com>
1352 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
1354 (target_set_circular_trace_buffer): Add argument.
1355 * target.c (update_current_target): Update.
1356 * remote.c (remote_set_circular_trace_buffer): Add 'self'
1359 2014-02-19 Tom Tromey <tromey@redhat.com>
1361 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
1363 (target_set_disconnected_tracing): Add argument.
1364 * target.c (update_current_target): Update.
1365 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
1367 2014-02-19 Tom Tromey <tromey@redhat.com>
1369 * target.h (struct target_ops)
1370 <to_get_min_fast_tracepoint_insn_len>: Add argument.
1371 (target_get_min_fast_tracepoint_insn_len): Add argument.
1372 * target.c (update_current_target): Update.
1373 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
1376 2014-02-19 Tom Tromey <tromey@redhat.com>
1378 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
1380 (target_get_raw_trace_data): Add argument.
1381 * target.c (update_current_target): Update.
1382 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
1384 2014-02-19 Tom Tromey <tromey@redhat.com>
1386 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1388 (target_upload_trace_state_variables): Add argument.
1389 * target.c (update_current_target): Update.
1390 * remote.c (remote_upload_trace_state_variables): Add 'self'
1392 (remote_start_remote): Update.
1394 2014-02-19 Tom Tromey <tromey@redhat.com>
1396 * target.h (struct target_ops) <to_upload_tracepoints>: Add
1398 (target_upload_tracepoints): Add argument.
1399 * target.c (update_current_target): Update.
1400 * remote.c (remote_upload_tracepoints): Add 'self' argument.
1401 (remote_start_remote): Update.
1403 2014-02-19 Tom Tromey <tromey@redhat.com>
1405 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
1406 (target_save_trace_data): Add argument.
1407 * target.c (update_current_target): Update.
1408 * remote.c (remote_save_trace_data): Add 'self' argument.
1410 2014-02-19 Tom Tromey <tromey@redhat.com>
1412 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
1414 * target.h (struct target_ops)
1415 <to_get_trace_state_variable_value>: Add argument.
1416 (target_get_trace_state_variable_value): Add argument.
1417 * target.c (update_current_target): Update.
1418 * remote.c (remote_get_trace_state_variable_value): Add 'self'
1420 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
1422 2014-02-19 Tom Tromey <tromey@redhat.com>
1424 * tracepoint.c (tfile_trace_find): Add 'self' argument.
1425 * target.h (struct target_ops) <to_trace_find>: Add argument.
1426 (target_trace_find): Add argument.
1427 * target.c (update_current_target): Update.
1428 * remote.c (remote_trace_find): Add 'self' argument.
1429 * ctf.c (ctf_trace_find): Add 'self' argument.
1431 2014-02-19 Tom Tromey <tromey@redhat.com>
1433 * target.h (struct target_ops) <to_trace_stop>: Add argument.
1434 (target_trace_stop): Add argument.
1435 * target.c (update_current_target): Update.
1436 * remote.c (remote_trace_stop): Add 'self' argument.
1438 2014-02-19 Tom Tromey <tromey@redhat.com>
1440 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
1441 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
1443 (target_get_tracepoint_status): Add argument.
1444 * target.c (update_current_target): Update.
1445 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
1447 2014-02-19 Tom Tromey <tromey@redhat.com>
1449 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
1450 * target.h (struct target_ops) <to_get_trace_status>: Add
1452 (target_get_trace_status): Add argument.
1453 * target.c (update_current_target): Update.
1454 * remote.c (remote_get_trace_status): Add 'self' argument.
1455 (remote_start_remote, remote_can_download_tracepoint): Update.
1456 * ctf.c (ctf_get_trace_status): Add 'self' argument.
1458 2014-02-19 Tom Tromey <tromey@redhat.com>
1460 * target.h (struct target_ops) <to_trace_start>: Add argument.
1461 (target_trace_start): Add argument.
1462 * target.c (update_current_target): Update.
1463 * remote.c (remote_trace_start): Add 'self' argument.
1465 2014-02-19 Tom Tromey <tromey@redhat.com>
1467 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1469 (target_trace_set_readonly_regions): Add argument.
1470 * target.c (update_current_target): Update.
1471 * remote.c (remote_trace_set_readonly_regions): Add 'self'
1474 2014-02-19 Tom Tromey <tromey@redhat.com>
1476 * target.h (struct target_ops) <to_disable_tracepoint>: Add
1478 (target_disable_tracepoint): Add argument.
1479 * target.c (update_current_target): Update.
1480 * remote.c (remote_disable_tracepoint): Add 'self' argument.
1482 2014-02-19 Tom Tromey <tromey@redhat.com>
1484 * target.h (struct target_ops) <to_enable_tracepoint>: Add
1486 (target_enable_tracepoint): Add argument.
1487 * target.c (update_current_target): Update.
1488 * remote.c (remote_enable_tracepoint): Add 'self' argument.
1490 2014-02-19 Tom Tromey <tromey@redhat.com>
1492 * target.h (struct target_ops) <to_download_trace_state_variable>:
1494 (target_download_trace_state_variable): Add argument.
1495 * target.c (update_current_target): Update.
1496 * remote.c (remote_download_trace_state_variable): Add 'self'
1499 2014-02-19 Tom Tromey <tromey@redhat.com>
1501 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
1503 (target_can_download_tracepoint): Add argument.
1504 * target.c (update_current_target): Update.
1505 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
1507 2014-02-19 Tom Tromey <tromey@redhat.com>
1509 * target.h (struct target_ops) <to_download_tracepoint>: Add
1511 (target_download_tracepoint): Add argument.
1512 * target.c (update_current_target): Update.
1513 * remote.c (remote_download_tracepoint): Add 'self' argument.
1515 2014-02-19 Tom Tromey <tromey@redhat.com>
1517 * target.h (struct target_ops) <to_trace_init>: Add argument.
1518 (target_trace_init): Add argument.
1519 * target.c (update_current_target): Update.
1520 * remote.c (remote_trace_init): Add 'self' argument.
1522 2014-02-19 Tom Tromey <tromey@redhat.com>
1524 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1525 * target.c (target_fileio_readlink): Add argument.
1526 * remote.c (remote_hostio_readlink): Add 'self' argument.
1527 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1529 2014-02-19 Tom Tromey <tromey@redhat.com>
1531 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1532 * target.c (target_fileio_unlink): Add argument.
1533 * remote.c (remote_hostio_unlink): Add 'self' argument.
1534 (remote_file_delete): Update.
1535 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1537 2014-02-19 Tom Tromey <tromey@redhat.com>
1539 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1540 * target.c (target_fileio_close): Add argument.
1541 * remote.c (remote_hostio_close): Add 'self' argument.
1542 (remote_hostio_close_cleanup): Update.
1543 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1545 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1547 2014-02-19 Tom Tromey <tromey@redhat.com>
1549 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1550 * target.c (target_fileio_pread): Add argument.
1551 * remote.c (remote_hostio_pread): Add 'self' argument.
1552 (remote_bfd_iovec_pread, remote_file_get): Update.
1553 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1555 2014-02-19 Tom Tromey <tromey@redhat.com>
1557 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1558 * target.c (target_fileio_pwrite): Add argument.
1559 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1560 (remote_file_put): Update.
1561 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1563 2014-02-19 Tom Tromey <tromey@redhat.com>
1565 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1566 * target.c (target_fileio_open): Add argument.
1567 * remote.c (remote_hostio_open): Add 'self' argument.
1568 (remote_bfd_iovec_open): Add 'self' argument.
1569 (remote_file_put): Add 'self' argument.
1570 (remote_file_get): Add 'self' argument.
1571 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1573 2014-02-19 Tom Tromey <tromey@redhat.com>
1575 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1577 (target_can_run_breakpoint_commands): Add argument.
1578 * target.c (update_current_target): Update.
1579 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1581 (remote_insert_breakpoint): Add 'self' argument.
1582 (remote_insert_hw_breakpoint): Add 'self' argument.
1583 (remote_can_run_breakpoint_commands): Add 'self' argument.
1585 2014-02-19 Tom Tromey <tromey@redhat.com>
1587 * target.h (struct target_ops)
1588 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1589 (target_supports_evaluation_of_breakpoint_conditions): Add
1591 * target.c (update_current_target): Update.
1592 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1594 (remote_insert_breakpoint): Add 'self' argument.
1595 (remote_insert_hw_breakpoint): Add 'self' argument.
1596 (remote_supports_cond_breakpoints): Add 'self' argument.
1598 2014-02-19 Tom Tromey <tromey@redhat.com>
1600 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1602 (target_supports_string_tracing): Add argument.
1603 * target.c (update_current_target): Update.
1604 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1606 2014-02-19 Tom Tromey <tromey@redhat.com>
1608 * target.h (struct target_ops)
1609 <to_supports_disable_randomization>: Add argument.
1610 * target.c (find_default_supports_disable_randomization): Add
1612 (target_supports_disable_randomization): Add argument.
1613 (find_default_supports_disable_randomization): Add 'self'
1615 * remote.c (extended_remote_supports_disable_randomization): Add
1617 (remote_supports_disable_randomization): Add 'self' argument.
1618 (extended_remote_create_inferior): Update.
1619 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1622 2014-02-19 Tom Tromey <tromey@redhat.com>
1624 * target.h (struct target_ops)
1625 <to_supports_enable_disable_tracepoint>: Add argument.
1626 (target_supports_enable_disable_tracepoint): Add argument.
1627 * target.c (update_current_target): Update.
1628 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1631 2014-02-19 Tom Tromey <tromey@redhat.com>
1633 * target.h (struct target_ops) <to_supports_multi_process>: Add
1635 (target_supports_multi_process): Add argument.
1636 * target.c (update_current_target): Update.
1637 * remote.c (remote_supports_multi_process): Add 'self' argument.
1638 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1640 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1643 2014-02-19 Tom Tromey <tromey@redhat.com>
1645 * target.h (struct target_ops) <to_execution_direction>: Add
1647 (target_execution_direction): Add argument.
1648 * target.c (default_execution_direction): Add 'self' argument.
1649 * record-full.c (record_full_execution_direction): Add 'self'
1652 2014-02-19 Tom Tromey <tromey@redhat.com>
1654 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1656 (target_can_execute_reverse): Add argument.
1657 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1658 * record-full.c (record_full_can_execute_reverse): Add 'self'
1660 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1663 2014-02-19 Tom Tromey <tromey@redhat.com>
1665 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1666 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1668 (target_get_ada_task_ptid): Add argument.
1669 * target.c (update_current_target): Update.
1670 (default_get_ada_task_ptid): Add 'self' argument.
1671 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1672 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1673 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1675 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1677 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1679 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1681 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1682 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1685 2014-02-19 Tom Tromey <tromey@redhat.com>
1687 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1688 (target_goto_bookmark): Add argument.
1689 * target.c (dummy_goto_bookmark): Add 'self' argument.
1690 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1692 2014-02-19 Tom Tromey <tromey@redhat.com>
1694 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1695 (target_get_bookmark): Add argument.
1696 * target.c (dummy_get_bookmark): Add 'self' argument.
1697 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1699 2014-02-19 Tom Tromey <tromey@redhat.com>
1701 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1703 (target_make_corefile_notes): Add argument.
1704 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1705 * procfs.c (procfs_make_note_section): Add 'self' argument.
1706 (procfs_make_note_section): Add 'self' argument.
1707 (procfs_make_note_section): Add 'self' argument.
1708 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1710 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1711 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1712 * exec.c (exec_make_note_section): Add 'self' argument.
1713 (exec_make_note_section): Add 'self' argument.
1715 2014-02-19 Tom Tromey <tromey@redhat.com>
1717 * target.h (struct target_ops) <to_find_memory_regions>: Add
1719 (target_find_memory_regions): Add argument.
1720 * target.c (dummy_find_memory_regions): Add 'self' argument.
1721 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1722 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1723 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1724 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1725 * exec. (exec_do_find_memory_regions): New global.
1726 (exec_set_find_memory_regions): Rewrite.
1727 (exec_find_memory_regions): New function.
1728 (init_exec_ops): Use exec_find_memory_regions.
1730 2014-02-19 Tom Tromey <tromey@redhat.com>
1732 * target.h (struct target_ops) <to_supports_non_stop>: Add
1734 * target.c (find_default_supports_non_stop): Add argument.
1735 (target_supports_non_stop): Add argument.
1736 (find_default_supports_non_stop): Add 'self' argument.
1737 * remote.c (remote_supports_non_stop): Add 'self' argument.
1738 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1740 2014-02-19 Tom Tromey <tromey@redhat.com>
1742 * target.h (struct target_ops) <to_log_command>: Add argument.
1743 (target_log_command): Add argument.
1744 * serial.h (serial_log_command): Add 'self' argument.
1745 * serial.c (serial_log_command): Add 'self' argument.
1747 2014-02-19 Tom Tromey <tromey@redhat.com>
1749 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1750 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1752 (target_pid_to_exec_file): Add argument.
1753 * target.c (debug_to_pid_to_exec_file): Add argument.
1754 (update_current_target): Update.
1755 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1756 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1757 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1758 (linux_handle_extended_wait): Update.
1759 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1760 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1761 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1762 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1764 2014-02-19 Tom Tromey <tromey@redhat.com>
1766 * target.h (struct target_ops) <to_rcmd>: Add argument.
1767 (target_rcmd): Add argument.
1768 * target.c (debug_to_rcmd): Add argument.
1769 (update_current_target, do_monitor_command): Update.
1770 * remote.c (remote_rcmd): Add 'self' argument.
1771 * monitor.c (monitor_rcmd): Add 'self' argument.
1773 2014-02-19 Tom Tromey <tromey@redhat.com>
1775 * windows-nat.c (windows_stop): Add 'self' argument.
1776 * target.h (struct target_ops) <to_stop>: Add argument.
1777 * target.c (target_stop): Add argument.
1778 (debug_to_stop): Add argument.
1779 (update_current_target): Update.
1780 * remote.c (remote_stop): Add 'self' argument.
1781 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1782 (gdbsim_cntrl_c): Update.
1783 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1784 * procfs.c (procfs_stop): Add 'self' argument.
1785 * nto-procfs.c (procfs_stop): Add 'self' argument.
1786 * monitor.c (monitor_stop): Add 'self' argument.
1787 (monitor_open): Update.
1788 * linux-nat.c (linux_nat_stop): Add argument.
1789 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1790 * gnu-nat.c (gnu_stop): Add 'self' argument.
1791 * darwin-nat.c (darwin_stop): Add 'self' argument.
1793 2014-02-19 Tom Tromey <tromey@redhat.com>
1795 * target.h (struct target_ops) <to_thread_name>: Add argument.
1796 * target.c (target_thread_name): Add argument.
1797 (update_current_target): Update.
1798 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
1800 2014-02-19 Tom Tromey <tromey@redhat.com>
1802 * target.h (struct target_ops) <to_extra_thread_info>: Add
1804 (target_extra_thread_info): Add argument.
1805 * target.c (update_current_target): Update.
1806 * remote.c (remote_threads_extra_info): Add 'self' argument.
1807 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
1809 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
1810 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
1811 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
1813 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
1815 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
1817 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
1820 2014-02-19 Tom Tromey <tromey@redhat.com>
1822 * target.h (struct target_ops) <to_program_signals>: Add argument.
1823 * target.c (target_program_signals): Add argument.
1824 * remote.c (remote_program_signals): Add 'self' argument.
1826 2014-02-19 Tom Tromey <tromey@redhat.com>
1828 * target.h (struct target_ops) <to_pass_signals>: Add argument.
1829 * target.c (target_pass_signals): Add argument.
1830 * remote.c (remote_pass_signals): Add 'self' argument.
1831 (remote_start_remote): Update.
1832 * procfs.c (procfs_pass_signals): Add 'self' argument.
1833 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
1834 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
1835 (linux_nat_create_inferior, linux_nat_attach): Update.
1837 2014-02-19 Tom Tromey <tromey@redhat.com>
1839 * windows-nat.c (windows_can_run): Add 'self' argument.
1840 * target.h (struct target_ops) <to_can_run>: Add argument.
1841 (target_can_run): Add argument.
1842 * target.c (debug_to_can_run): Add argument.
1843 (update_current_target): Update.
1844 * nto-procfs.c (procfs_can_run): Add 'self' argument.
1845 * inf-child.c (inf_child_can_run): Add 'self' argument.
1846 * go32-nat.c (go32_can_run): Add 'self' argument.
1848 2014-02-19 Tom Tromey <tromey@redhat.com>
1850 * target.h (struct target_ops) <to_has_exited>: Add argument.
1851 (target_has_exited): Add argument.
1852 * target.c (debug_to_has_exited): Add argument.
1853 (update_current_target): Update.
1855 2014-02-19 Tom Tromey <tromey@redhat.com>
1857 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
1859 (target_set_syscall_catchpoint): Add argument.
1860 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
1862 * target.c (update_current_target): Update.
1864 2014-02-19 Tom Tromey <tromey@redhat.com>
1866 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
1868 (target_remove_exec_catchpoint): Add argument.
1869 * target.c (debug_to_remove_exec_catchpoint): Add argument.
1870 (update_current_target): Update.
1871 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
1874 2014-02-19 Tom Tromey <tromey@redhat.com>
1876 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
1878 (target_insert_exec_catchpoint): Add argument.
1879 * target.c (debug_to_insert_exec_catchpoint): Add argument.
1880 (update_current_target): Update.
1881 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
1884 2014-02-19 Tom Tromey <tromey@redhat.com>
1886 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
1888 (target_remove_vfork_catchpoint): Add argument.
1889 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
1890 (update_current_target): Update.
1891 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
1894 2014-02-19 Tom Tromey <tromey@redhat.com>
1896 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
1898 (target_insert_vfork_catchpoint): Add argument.
1899 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
1900 (update_current_target): Update.
1901 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
1904 2014-02-19 Tom Tromey <tromey@redhat.com>
1906 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
1908 (target_remove_fork_catchpoint): Add argument.
1909 * target.c (debug_to_remove_fork_catchpoint): Add argument.
1910 (update_current_target): Update.
1911 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
1914 2014-02-19 Tom Tromey <tromey@redhat.com>
1916 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
1918 (target_insert_fork_catchpoint): Add argument.
1919 * target.c (debug_to_insert_fork_catchpoint): Add argument.
1920 (update_current_target): Update.
1921 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
1924 2014-02-19 Tom Tromey <tromey@redhat.com>
1926 * target.h (struct target_ops) <to_post_startup_inferior>: Add
1928 (target_post_startup_inferior): Add argument.
1929 * target.c (debug_to_post_startup_inferior): Add argument.
1930 (update_current_target): Update.
1931 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
1933 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
1935 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
1937 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
1939 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
1941 (super_post_startup_inferior): Likewise.
1942 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
1944 (super_post_startup_inferior): Likewise.
1945 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
1946 Add 'self' argument.
1947 (super_post_startup_inferior): Likewise.
1949 2014-02-19 Tom Tromey <tromey@redhat.com>
1951 * target.h (struct target_ops) <to_load>: Add argument.
1952 * target.c (target_load): Add argument.
1953 (debug_to_load): Add argument.
1954 (update_current_target): Update.
1955 * remote.c (remote_load): Add 'self' argument.
1956 * remote-sim.c (gdbsim_load): Add 'self' argument.
1957 * remote-mips.c (mips_load): Add 'self' argument.
1958 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
1959 * monitor.c (monitor_load): Add 'self' argument.
1960 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
1962 2014-02-19 Tom Tromey <tromey@redhat.com>
1964 * target.h (struct target_ops) <to_terminal_info>: Add argument.
1965 (target_terminal_info): Add argument.
1966 * target.c (debug_to_terminal_info): Add argument.
1967 (default_terminal_info): Likewise.
1968 * inflow.c (child_terminal_info): Add 'self' argument.
1969 * inferior.h (child_terminal_info): Add 'self' argument.
1970 * go32-nat.c (go32_terminal_info): Add 'self' argument.
1972 2014-02-19 Tom Tromey <tromey@redhat.com>
1974 * target.h (struct target_ops) <to_terminal_save_ours>: Add
1976 (target_terminal_save_ours): Add argument.
1977 * target.c (debug_to_terminal_save_ours): Add argument.
1978 (update_current_target): Update.
1979 * inflow.c (terminal_save_ours): Add 'self' argument.
1980 * inferior.h (terminal_save_ours): Add 'self' argument.
1982 2014-02-19 Tom Tromey <tromey@redhat.com>
1984 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
1985 (target_terminal_ours): Add argument.
1986 * target.c (debug_to_terminal_ours): Add argument.
1987 (update_current_target): Update.
1988 * remote.c (remote_terminal_ours): Add 'self' argument.
1989 (remote_close): Update.
1990 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
1991 * inflow.c (terminal_ours): Add 'self' argument.
1992 * inferior.h (terminal_ours): Add 'self' argument.
1993 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1995 2014-02-19 Pedro Alves <palves@redhat.com>
1996 Tom Tromey <tromey@redhat.com>
1998 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
2000 (target_terminal_ours_for_output): Add argument.
2001 * target.c (debug_to_terminal_ours_for_output): Add argument.
2002 (update_current_target): Update.
2003 * inflow.c (terminal_ours_for_output): Add 'self' argument.
2004 * inferior.h (terminal_ours_for_output): Add 'self' argument.
2005 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2007 2014-02-19 Tom Tromey <tromey@redhat.com>
2009 * target.h (struct target_ops) <to_terminal_inferior>: Add
2011 * target.c (target_terminal_inferior): Add argument.
2012 (update_current_target): Update.
2013 * remote.c (remote_terminal_inferior): Add 'self' argument.
2014 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
2015 * inflow.c (terminal_inferior): Add 'self' argument.
2016 * inferior.h (terminal_inferior): Add 'self' argument.
2017 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
2018 (go32_terminal_inferior): Add 'self' argument.
2020 2014-02-19 Tom Tromey <tromey@redhat.com>
2022 * target.h (struct target_ops) <to_terminal_init>: Add argument.
2023 (target_terminal_init): Add argument.
2024 * target.c (debug_to_terminal_init): Add argument.
2025 (update_current_target): Update.
2026 * inflow.c (terminal_init_inferior): Add 'self' argument.
2027 * inferior.h (terminal_init_inferior): Add 'self' argument.
2028 * go32-nat.c (go32_terminal_init): Add 'self' argument.
2029 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
2031 2014-02-19 Tom Tromey <tromey@redhat.com>
2033 * target.h (struct target_ops)
2034 <to_can_accel_watchpoint_condition>: Add argument.
2035 (target_can_accel_watchpoint_condition): Add argument.
2036 * target.c (debug_to_can_accel_watchpoint_condition): Add
2038 (update_current_target): Update.
2039 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
2042 2014-02-19 Tom Tromey <tromey@redhat.com>
2044 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2046 (target_region_ok_for_hw_watchpoint): Add argument.
2047 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
2048 (default_region_ok_for_hw_watchpoint): Add argument.
2049 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
2050 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
2052 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
2054 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
2056 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
2058 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
2060 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
2062 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
2063 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
2065 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
2066 Add 'self' argument.
2068 2014-02-19 Tom Tromey <tromey@redhat.com>
2070 * target.h (struct target_ops) <to_insert_watchpoint>: Add
2072 (target_insert_watchpoint): Add argument.
2073 * target.c (debug_to_insert_watchpoint): Add argument.
2074 (update_current_target): Update.
2075 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
2076 * remote.c (remote_insert_watchpoint): Add 'self' argument.
2077 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
2078 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
2079 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
2080 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
2082 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
2083 (procfs_insert_hw_watchpoint): Add 'self' argument.
2084 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
2086 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
2088 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
2090 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
2091 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
2093 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
2096 2014-02-19 Tom Tromey <tromey@redhat.com>
2098 * target.h (struct target_ops) <to_remove_watchpoint>: Add
2100 (target_remove_watchpoint): Add argument.
2101 * target.c (debug_to_remove_watchpoint): Add argument.
2102 (update_current_target): Update.
2103 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
2104 * remote.c (remote_remove_watchpoint): Add 'self' argument.
2105 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
2106 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
2107 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
2108 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
2110 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
2111 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
2113 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
2115 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
2117 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
2118 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
2120 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
2123 2014-02-19 Tom Tromey <tromey@redhat.com>
2125 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
2127 (target_remove_hw_breakpoint): Add argument.
2128 * target.c (debug_to_remove_hw_breakpoint): Add argument.
2129 (update_current_target): Update.
2130 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
2131 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
2133 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
2134 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
2136 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
2139 2014-02-19 Tom Tromey <tromey@redhat.com>
2141 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
2143 (target_insert_hw_breakpoint): Add argument.
2144 * target.c (debug_to_insert_hw_breakpoint): Add argument.
2145 (update_current_target): Update.
2146 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
2147 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
2149 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
2150 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
2151 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
2153 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
2156 2014-02-19 Tom Tromey <tromey@redhat.com>
2158 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
2160 (target_can_use_hardware_watchpoint): Add argument.
2161 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
2162 (update_current_target): Update.
2163 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
2165 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
2167 * remote.c (remote_check_watch_resources): Add 'self' argument.
2168 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
2169 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
2171 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
2172 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
2174 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
2176 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
2178 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
2180 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
2182 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
2184 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
2185 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
2187 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
2190 2014-02-19 Tom Tromey <tromey@redhat.com>
2192 * target.h (struct target_ops) <to_post_attach>: Add argument.
2193 (target_post_attach): Add argument.
2194 * target.c (debug_to_post_attach): Add argument.
2195 (update_current_target): Update.
2196 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
2197 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
2198 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
2199 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
2200 * inf-child.c (inf_child_post_attach): Add 'self' argument.
2202 2014-02-19 Tom Tromey <tromey@redhat.com>
2204 * windows-nat.c (windows_close): Add 'self' argument.
2205 * tracepoint.c (tfile_close): Add 'self' argument.
2206 * target.h (struct target_ops) <to_close>: Add argument.
2207 * target.c (target_close): Add argument.
2208 (update_current_target): Update.
2209 * remote.c (remote_close): Add 'self' argument.
2210 * remote-sim.c (gdbsim_close): Add 'self' argument.
2211 * remote-mips.c (mips_close): Add 'self' argument.
2212 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
2213 * record-full.c (record_full_close): Add 'self' argument.
2214 * record-btrace.c (record_btrace_close): Add 'self' argument.
2215 * monitor.h (monitor_close): Add 'self' argument.
2216 * monitor.c (monitor_close): Add 'self' argument.
2217 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
2218 * linux-nat.c (linux_nat_close): Add argument.
2219 * go32-nat.c (go32_close): Add 'self' argument.
2220 * exec.c (exec_close_1): Add 'self' argument.
2221 * ctf.c (ctf_close): Add 'self' argument.
2222 * corelow.c (core_close): Add 'self' argument.
2223 (core_close_cleanup): Update.
2224 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
2225 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
2227 2014-02-19 Tom Tromey <tromey@redhat.com>
2229 * remote.c (remote_load): New function.
2230 (init_remote_ops): Use it.
2232 2014-02-19 Tom Tromey <tromey@redhat.com>
2234 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
2236 * common/linux-btrace.h (linux_supports_btrace): Update.
2237 * remote.c (remote_supports_btrace): Add "self" argument.
2238 * target-delegates.c: Rebuild.
2239 * target.c (target_supports_btrace): Remove.
2240 * target.h (struct target_ops) <to_supports_btrace>: Add
2241 target_ops argument.
2242 (target_supports_btrace): New define.
2244 2014-02-19 Tom Tromey <tromey@redhat.com>
2246 * record-full.c (record_full_beneath_to_resume_ops)
2247 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
2248 (record_full_beneath_to_wait)
2249 (record_full_beneath_to_store_registers_ops)
2250 (record_full_beneath_to_store_registers)
2251 (record_full_beneath_to_xfer_partial_ops)
2252 (record_full_beneath_to_xfer_partial)
2253 (record_full_beneath_to_insert_breakpoint_ops)
2254 (record_full_beneath_to_insert_breakpoint)
2255 (record_full_beneath_to_remove_breakpoint_ops)
2256 (record_full_beneath_to_remove_breakpoint)
2257 (record_full_beneath_to_stopped_by_watchpoint)
2258 (record_full_beneath_to_stopped_data_address)
2259 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
2260 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
2261 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
2262 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
2263 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
2264 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
2265 (tmp_to_stopped_data_address, tmp_to_async): Remove.
2266 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
2267 (record_full_resume, record_full_wait_1)
2268 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
2269 (record_full_store_registers, record_full_xfer_partial)
2270 (record_full_insert_breakpoint, record_full_remove_breakpoint)
2271 (record_full_async, record_full_core_xfer_partial): Use target
2273 * target-delegates.c: Rebuild.
2274 * target.c (current_xfer_partial): Remove.
2275 (update_current_target): Do not INHERIT or de_fault
2276 to_insert_breakpoint, to_remove_breakpoint,
2277 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
2278 to_is_async_p, to_async. Do not set to_xfer_partial field.
2279 (default_xfer_partial): Simplify.
2280 (current_xfer_partial): Remove.
2281 (target_wait, target_resume): Simplify.
2282 (find_default_can_async_p, find_default_is_async_p): Update.
2283 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
2284 to_xfer_partial, to_stopped_by_watchpoint,
2285 to_stopped_data_address.
2286 (target_store_registers): Simplify.
2287 (forward_target_remove_breakpoint)
2288 (forward_target_insert_breakpoint): Remove.
2289 (target_remove_breakpoint, target_insert_breakpoint)
2290 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
2291 * target.h (struct target_ops) <to_resume, to_wait,
2292 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
2293 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
2294 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
2296 (forward_target_remove_breakpoint)
2297 (forward_target_insert_breakpoint): Remove.
2298 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
2300 (record_btrace_insert_breakpoint): Delegate directly.
2302 2014-02-19 Tom Tromey <tromey@redhat.com>
2305 * target-delegates.c: New file.
2306 * target.c: Include target-delegates.c.
2307 (init_dummy_target): Call install_dummy_methods.
2308 (complete_target_initialization): Call install_delegators.
2309 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
2310 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
2311 * make-target-delegates: New file.
2313 2014-02-19 Tom Tromey <tromey@redhat.com>
2315 * record.c (find_record_target): Use find_target_at.
2316 * target.c (find_target_at): New function.
2317 * target.h (find_target_at): Declare.
2319 2014-02-19 Tom Tromey <tromey@redhat.com>
2321 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
2323 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
2325 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
2326 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
2328 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
2330 * linux-nat.c (save_sigtrap): Update.
2331 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
2332 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
2333 (linux_nat_close): Update.
2334 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
2336 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
2338 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
2339 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
2340 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
2341 (tmp_to_async): Add 'ops' argument.
2342 (record_full_stopped_by_watchpoint, record_full_async)
2343 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
2345 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
2346 (m32r_stopped_by_watchpoint): Add 'ops' argument.
2347 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
2348 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
2349 (remote_is_async_p, remote_async): Add 'ops' argument.
2350 (remote_stopped_data_address): Update.
2351 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
2352 * target.c (update_current_target)
2353 (find_default_can_async_p, find_default_is_async_p): Update.
2354 (init_dummy_target): Update.
2355 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
2356 * target.h (struct target_ops) <to_stopped_by_watchpoint,
2357 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
2358 (target_can_async_p, target_is_async_p, target_async)
2359 (target_stopped_by_watchpoint): Update.
2361 2014-02-19 Yao Qi <yao@codesourcery.com>
2364 * gdbarch.sh: Remove startup_gdbarch.
2365 * gdbarch.c: Regenerated.
2366 * gdbarch.h: Likewise.
2368 2014-02-17 Kevin Buettner <kevinb@redhat.com>
2370 * rl78-tdep.c (rl78_g10_register_name): New function.
2371 (rl78_return_value): Add g10 support.
2372 (rl78_gdbarch_init): Register rl78_g10_register_name for the
2375 2014-02-17 Doug Evans <xdje42@gmail.com>
2377 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
2378 (SUBDIR_GUILE_SRCS): Ditto.
2379 (scm-gsmob.o): Ditto.
2381 2014-02-17 Yao Qi <yao@codesourcery.com>
2383 * gnu-nat.c (ILL_RPC): Declare defined function.
2385 2014-02-17 Yao Qi <yao@codesourcery.com>
2387 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
2388 mach_msg_type_number_t.
2389 (gnu_write_inferior): Likewise.
2391 2014-02-17 Yao Qi <yao@codesourcery.com>
2393 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
2395 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
2396 (inf_validate_procs, inf_signal): Likewise.
2397 (S_exception_raise_request): Likewise.
2398 (do_mach_notify_dead_name): Likewise.
2399 (steal_exc_port): Likewise.
2400 (gnu_read_inferior): Change 'copy_count''s type to
2401 mach_msg_type_number_t.
2402 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
2405 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
2407 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
2408 flag. Adjust all users; in particular...
2409 (gnu_wait): ..., don't decrement its value in here...
2410 (gnu_create_inferior): ..., and instead set the flag in here,
2411 around the startup_inferior call, and call that one with
2412 START_INFERIOR_TRAPS_EXPECTED.
2414 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
2415 (ILL_RPC): ... new macro.
2416 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
2417 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
2418 (do_mach_notify_send_once, S_proc_setmsgport_reply)
2419 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
2420 functions with ILL_RPC macro.
2421 (S_proc_pid2task_reply, S_proc_task2pid_reply)
2422 (S_proc_task2proc_reply, S_proc_proc2task_reply)
2423 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
2424 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
2425 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
2426 (S_proc_getlogin_reply, S_proc_getsid_reply)
2427 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
2428 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
2429 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
2430 (S_proc_getnports_reply, S_proc_is_important_reply)
2431 (S_proc_get_code_reply): New stub functions, generated with
2434 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
2435 collected the type check structures.
2437 * reply_mig_hack.awk: Don't expect to see the auto keyword.
2439 2014-02-14 Doug Evans <dje@google.com>
2441 * target.c (target_write_partial): Fix result type.
2443 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2445 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
2446 the proper offsets to access fpregset_t.
2448 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
2450 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
2451 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
2452 * h8300-tdep.c (setmachinelist): Remove global.
2453 * hppa-tdep.c (hppa_sigtramp): Remove global.
2454 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
2455 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
2456 * ravenscar-thread.c (update_target_observer): Remove global.
2457 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
2459 2014-02-12 Tom Tromey <tromey@redhat.com>
2461 * common/rsp-low.c: Update comments.
2462 * common/rsp-low.h: Update comments.
2464 2014-02-12 Tom Tromey <tromey@redhat.com>
2466 * common/rsp-low.c (convert_ascii_to_int): Remove.
2467 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
2469 2014-02-12 Tom Tromey <tromey@redhat.com>
2471 * common/rsp-low.h (unhexify): Don't declare.
2472 * common/rsp-low.c (unhexify): Remove.
2474 2014-02-12 Tom Tromey <tromey@redhat.com>
2476 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
2477 * common/rsp-low.c (convert_int_to_ascii): Remove.
2479 2014-02-12 Tom Tromey <tromey@redhat.com>
2481 * common/rsp-low.h (hexify): Don't declare.
2482 * common/rsp-low.c (hexify): Remove.
2484 2014-02-12 Tom Tromey <tromey@redhat.com>
2486 * common/rsp-low.c (hexify): Never take strlen of argument.
2488 2014-02-12 Tom Tromey <tromey@redhat.com>
2490 * common/rsp-low.c (bin2hex): Never take strlen of argument.
2491 * remote.c (extended_remote_run, remote_rcmd)
2492 (remote_download_trace_state_variable, remote_save_trace_data)
2493 (remote_set_trace_notes): Update.
2494 * tracepoint.c (encode_source_string, tfile_write_status)
2495 (tfile_write_uploaded_tsv): Update.
2497 2014-02-12 Tom Tromey <tromey@redhat.com>
2499 * tracepoint.c: Include rsp-low.h.
2500 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
2501 * remote.c: Include rsp-low.h.
2502 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
2503 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
2504 (remote_unescape_input): Move to common/rsp-low.c.
2505 * common/rsp-low.h: New file.
2506 * common/rsp-low.c: New file.
2507 * Makefile.in (SFILES): Add common/rsp-low.c.
2508 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
2509 (COMMON_OBS): Add rsp-low.o.
2510 (rsp-low.o): New target.
2512 2014-02-12 Tom Tromey <tromey@redhat.com>
2514 * utils.h: Include print-utils.h.
2515 (host_address_to_string, plongest, pulongest, phex, phex_nz)
2516 (int_string, core_addr_to_string, core_addr_to_string_nz)
2517 (hex_string, hex_string_custom): Don't declare.
2518 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2519 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2520 (hex_string_custom, int_string, core_addr_to_string)
2521 (core_addr_to_string_nz, host_address_to_string): Move to
2522 common/print-utils.c.
2523 * common/print-utils.h: New file.
2524 * common/print-utils.c: New file
2525 * Makefile.in (SFILES): Add common/print-utils.c.
2526 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2527 (COMMON_OBS): Add print-utils.o.
2528 (print-utils.o): New target.
2530 2014-02-12 Tom Tromey <tromey@redhat.com>
2532 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2534 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2536 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2538 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2540 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2541 if a PT_IO ptrace request returns sucessfully but indicates that 0
2542 bytes were transferred.
2544 2014-02-12 Pedro Alves <palves@redhat.com>
2545 Kevin Buettner <kevinb@redhat.com>
2547 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2548 TYPE_INSTANCE_FLAG_CODE_SPACE.
2550 2014-02-12 Pedro Alves <palves@redhat.com>
2552 * h8300-tdep.c (pseudo_from_raw_register)
2553 (raw_from_pseudo_register): New functions.
2554 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2557 2014-02-12 Pedro Alves <palves@redhat.com>
2559 * h8300-tdep.c (h8300_register_sim_regno): New function.
2560 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2561 gdbarch_register_sim_regno hook.
2563 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2565 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2567 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2569 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2571 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2573 * obsd-tdep.h (obsd_init_abi): New prototype.
2574 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2575 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2576 (obsd_init_abi): New functions.
2577 * i386obsd-tdep.c: Include "obsd-tdep.h".
2578 (i386obsd_init_abi): Call obsd_init_abi.
2579 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2580 (amd64obsd_init_abi): Call obsd_init_abi.
2581 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2582 obsd-tdep.c to gdb_target_obs.
2584 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2586 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2587 double float arguments to 16-byte in the argument slots.
2589 2014-02-11 Doug Evans <xdje42@gmail.com>
2591 * configure.ac: Don't crash if pkg-config is not found and guile
2592 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2594 * configure: Regenerate.
2596 2014-02-11 Yao Qi <yao@codesourcery.com>
2598 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2599 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2600 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2601 * gnu-nat.c (gnu_xfer_memory): Likewise.
2602 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2603 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2604 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2605 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2607 2014-02-11 Yao Qi <yao@codesourcery.com>
2609 * target.h (enum target_xfer_error): Rename to ...
2610 (enum target_xfer_status): ... it. New. All users updated.
2611 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2613 (TARGET_XFER_STATUS_ERROR_P): New macro.
2614 (target_xfer_error_to_string): Remove declaration.
2615 (target_xfer_status_to_string): Declare.
2616 (target_xfer_partial_ftype): Adjust it.
2617 (struct target_ops) <to_xfer_partial>: Return
2618 target_xfer_status. Add argument xfered_len. Update
2620 * target.c (target_xfer_error_to_string): Rename to ...
2621 (target_xfer_status_to_string): ... it. New. All callers
2623 (target_read_live_memory): Likewise. Call target_xfer_partial
2624 instead of target_read.
2625 (memory_xfer_live_readonly_partial): Return
2626 target_xfer_status. Add argument xfered_len.
2627 (raw_memory_xfer_partial): Likewise.
2628 (memory_xfer_partial_1): Likewise.
2629 (memory_xfer_partial): Likewise.
2630 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2631 properly. Update debug message.
2632 (default_xfer_partial, current_xfer_partial): Likewise.
2633 (target_write_partial): Likewise.
2634 (target_read_partial): Likewise. All callers updated.
2635 (read_whatever_is_readable): Likewise.
2636 (target_write_with_progress): Likewise.
2637 (target_read_alloc_1): Likewise.
2639 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2640 * auxv.c (procfs_xfer_auxv): Likewise.
2641 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2642 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2643 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2644 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2645 * corefile.c (read_memory): Adjust.
2646 * corelow.c (core_xfer_partial): Likewise.
2647 * ctf.c (ctf_xfer_partial): Likewise.
2648 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2650 (darwin_xfer_partial): Likewise.
2651 * exec.c (section_table_xfer_memory_partial): Likewise. All
2653 (exec_xfer_partial): Likewise.
2654 * exec.h (section_table_xfer_memory_partial): Update
2656 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2658 (gnu_xfer_partial): Likewise.
2659 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2660 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2661 (ia64_hpux_xfer_solib_got): Likewise.
2662 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2663 type of 'partial_len' to ULONGEST.
2664 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2665 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2666 (linux_nat_xfer_partial): Likewise.
2667 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2668 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2669 * monitor.c (monitor_xfer_memory): Likewise.
2670 (monitor_xfer_partial): Likewise.
2671 * procfs.c (procfs_xfer_partial): Likewise.
2672 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2673 * record-full.c (record_full_xfer_partial): Likewise.
2674 (record_full_core_xfer_partial): Likewise.
2675 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2676 (gdbsim_xfer_partial): Likewise.
2677 * remote.c (remote_write_bytes_aux): Likewise. All callers
2679 (remote_write_bytes, remote_read_bytes): Likewise. All
2681 (remote_flash_erase): Likewise. All callers updated.
2682 (remote_write_qxfer): Likewise. All callers updated.
2683 (remote_read_qxfer): Likewise. All callers updated.
2684 (remote_xfer_partial): Likewise.
2685 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2686 (rs6000_xfer_shared_libraries): Likewise.
2687 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2688 (sol_thread_xfer_partial): Likewise.
2689 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2690 (sparc_xfer_partial): Likewise.
2691 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2693 (spu_xfer_partial): Likewise.
2694 * spu-multiarch.c (spu_xfer_partial): Likewise.
2695 * tracepoint.c (tfile_xfer_partial): Likewise.
2696 * windows-nat.c (windows_xfer_memory): Likewise.
2697 (windows_xfer_shared_libraries): Likewise.
2698 (windows_xfer_partial): Likewise.
2699 * valprint.c: Replace 'target_xfer_error' with
2700 'target_xfer_status' in comments.
2702 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2704 Checked in by Joel Brobecker <brobecker@adacore.com>.
2705 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2707 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2709 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2710 function parameters.
2712 2014-02-10 Will Newton <will.newton@linaro.org>
2714 * elfread.c (elf_rel_plt_read): Look for a .got section if
2715 looking up .got.plt fails.
2716 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2717 on address passed to elf_gnu_ifunc_record_cache.
2718 (elf_gnu_ifunc_resolve_addr): Likewise.
2719 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2721 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2723 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2724 (X_RETTURN): New macro.
2725 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2727 * sparc64-tdep.c (sparc64_init_abi): Hook
2728 sparc_in_function_epilogue_p.
2730 2014-02-10 Gary Benson <gbenson@redhat.com>
2732 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2733 Rename name_matcher to symbol_matcher.
2735 2014-02-10 Gary Benson <gbenson@redhat.com>
2737 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2738 Use expand_symtabs_file_matcher_ftype and
2739 expand_symtabs_symbol_matcher_ftype.
2741 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2743 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2744 (struct ada_symbol_cache): New.
2745 (ada_free_symbol_cache): Forward declare.
2746 (struct ada_pspace_data): New.
2747 (ada_pspace_data_handle): New static global.
2748 (get_ada_pspace_data, ada_pspace_data_cleanup)
2749 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2750 (cache_space, cache): Delete, now folded inside struct
2752 (ada_get_symbol_cache): New function.
2753 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2755 (_initialize_ada_language): Remove initialization of cache_space.
2756 Move call to observer_attach_inferior_exit up, grouping it
2757 with the other observer registrations inside this function.
2758 Rename command to be more general. Add call to
2759 register_program_space_data_with_cleanup.
2761 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2763 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2764 ada_new_objfile_observer.
2765 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2766 (_initialize_tasks): Update uses of ada_new_objfile_observer
2767 and ada_tasks_normal_stop_observer.
2769 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2771 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2772 returned by the 'Length attribute to integer.
2774 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2776 * ada-lang.c (_initialize_ada_language): Initialize
2777 cache_space obstack.
2779 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2781 * ada-lang.c (HASH_SIZE): New macro.
2782 (struct cache_entry): New type.
2783 (cache_space, cache): New static globals.
2784 (ada_clear_symbol_cache, find_entry): New functions.
2785 (lookup_cached_symbol, cache_symbol): Implement.
2786 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2787 (_initialize_ada_language): Attach ada_new_objfile_observer
2788 and ada_free_objfile_observer.
2790 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2792 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
2793 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
2794 struct block * parameter.
2795 (ada_lookup_symbol_list_worker): Constify local variable "block".
2796 Remove cast which is no longer necessary.
2798 2014-02-10 Doug Evans <xdje42@gmail.com>
2800 Add Guile as an extension language.
2801 * NEWS: Mention Guile scripting.
2802 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
2803 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
2804 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
2805 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
2806 (CLIBS): Add GUILE_LIBS.
2807 (install-guile): New rule.
2808 (guile.o): New rule.
2809 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
2810 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
2811 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
2812 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
2813 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
2814 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
2815 (scm-type.o, scm-utils.o, scm-value.o): New rules.
2816 * configure.ac: New option --with-guile.
2817 * configure: Regenerate.
2818 * config.in: Regenerate.
2819 * auto-load.c: Remove #include "python/python.h". Add #include
2820 "gdb/section-scripts.h".
2821 (source_section_scripts): Handle Guile scripts.
2822 (_initialize_auto_load): Add name of Guile objfile script to
2823 scripts-directory help text.
2824 * breakpoint.c (condition_command): Tweak comment to include Scheme.
2825 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
2826 (struct breakpoint): New member scm_bp_object.
2827 * defs.h (enum command_control_type): New value guile_control.
2828 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
2830 (show_user): Update comment.
2831 (_initialize_cli_cmds): Update help text for "show user". Update help
2832 text for max-user-call-depth.
2833 * cli/cli-script.c: Remove #include "python/python.h". Add #include
2835 (multi_line_command_p): Add guile_control.
2836 (print_command_lines): Handle guile_control.
2837 (execute_control_command, recurse_read_control_structure): Ditto.
2838 (process_next_line): Recognize "guile" commands.
2839 * disasm.c (gdb_disassemble_info): Make non-static.
2840 * disasm.h: #include "dis-asm.h".
2841 (struct gdbarch): Add forward decl.
2842 (gdb_disassemble_info): Declare.
2843 * extension.c: #include "guile/guile.h".
2844 (extension_languages): Add guile.
2845 (get_ext_lang_defn): Handle EXT_LANG_GDB.
2846 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
2847 * gdbtypes.c (get_unsigned_type_max): New function.
2848 (get_signed_type_minmax): New function.
2849 * gdbtypes.h (get_unsigned_type_max): Declare.
2850 (get_signed_type_minmax): Declare.
2851 * guile/README: New file.
2852 * guile/guile-internal.h: New file.
2853 * guile/guile.c: New file.
2854 * guile/guile.h: New file.
2855 * guile/scm-arch.c: New file.
2856 * guile/scm-auto-load.c: New file.
2857 * guile/scm-block.c: New file.
2858 * guile/scm-breakpoint.c: New file.
2859 * guile/scm-disasm.c: New file.
2860 * guile/scm-exception.c: New file.
2861 * guile/scm-frame.c: New file.
2862 * guile/scm-gsmob.c: New file.
2863 * guile/scm-iterator.c: New file.
2864 * guile/scm-lazy-string.c: New file.
2865 * guile/scm-math.c: New file.
2866 * guile/scm-objfile.c: New file.
2867 * guile/scm-ports.c: New file.
2868 * guile/scm-pretty-print.c: New file.
2869 * guile/scm-safe-call.c: New file.
2870 * guile/scm-string.c: New file.
2871 * guile/scm-symbol.c: New file.
2872 * guile/scm-symtab.c: New file.
2873 * guile/scm-type.c: New file.
2874 * guile/scm-utils.c: New file.
2875 * guile/scm-value.c: New file.
2876 * guile/lib/gdb.scm: New file.
2877 * guile/lib/gdb/boot.scm: New file.
2878 * guile/lib/gdb/experimental.scm: New file.
2879 * guile/lib/gdb/init.scm: New file.
2880 * guile/lib/gdb/iterator.scm: New file.
2881 * guile/lib/gdb/printing.scm: New file.
2882 * guile/lib/gdb/types.scm: New file.
2883 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
2884 (VPATH): Add $(GUILE_SRCDIR).
2885 (GUILE_DIR): New variable.
2886 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
2887 (all): Add stamp-guile dependency.
2888 (stamp-guile): New rule.
2889 (clean-guile, install-guile, uninstall-guile): New rules.
2890 (install-only): Add install-guile dependency.
2891 (uninstall): Add uninstall-guile dependency.
2892 (clean): Add clean-guile dependency.
2894 2014-02-09 Doug Evans <xdje42@gmail.com>
2896 Revert this patch (which I approved, mea culpa).
2898 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2900 * Makefile.in (all-lib): Remove.
2901 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2903 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2905 Fix Python stack corruption.
2906 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
2909 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2911 * Makefile.in (all-lib): Remove.
2912 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2914 2014-02-07 Doug Evans <dje@google.com>
2916 * extension-priv.h (extension_language_script_ops): Add comment.
2917 (extension_language_ops): Add comment.
2918 (active_ext_lang_state): Fix typo in comment.
2920 2014-02-07 Pedro Alves <palves@redhat.com>
2922 * infrun.c (handle_signal_stop) <signal arrives while stepping
2923 over a breakpoint>: Switch back to the stepping thread.
2925 2014-02-07 Yao Qi <yao@codesourcery.com>
2927 * target.c (target_xfer_partial): Return zero if LEN is zero.
2929 2014-02-07 Yao Qi <yao@codesourcery.com>
2931 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
2932 (ld_so_xfer_auxv): Likewise.
2933 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2934 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2935 * corelow.c (core_xfer_partial): Likewise.
2936 * ctf.c (ctf_xfer_partial): Likewise.
2937 * darwin-nat.c (darwin_read_dyld_info): Likewise.
2938 (darwin_xfer_partial): Likewise.
2939 * exec.c (exec_xfer_partial): Likewise.
2940 * gnu-nat.c (gnu_xfer_partial): Likewise.
2941 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
2942 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2943 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2944 * linux-nat.c (linux_xfer_siginfo): Likewise.
2945 (linux_proc_xfer_spu): Likewise.
2946 * procfs.c (procfs_xfer_partial): Likewise.
2947 * record-full.c (record_full_xfer_partial): Likewise.
2948 (record_full_core_xfer_partial): Likewise.
2949 * remote-sim.c (gdbsim_xfer_partial): Likewise.
2950 * remote.c (remote_write_qxfer): Likewise.
2951 (remote_write_qxfer, remote_read_qxfer): Likewise.
2952 (remote_xfer_partial): Likewise.
2953 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2954 (rs6000_xfer_shared_libraries): Likewise.
2955 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2956 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2957 (spu_xfer_partial): Likewise.
2958 * target.c (memory_xfer_partial_1): Likewise.
2959 * tracepoint.c (tfile_xfer_partial): Likewise.
2960 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
2961 (windows_xfer_partial): Likewise.
2963 2014-02-07 Yao Qi <yao@codesourcery.com>
2965 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
2967 (core_xfer_shared_libraries_aix): Likewise.
2968 * gdbarch.c, gdbarch.h: Regenerated.
2969 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
2970 ULONGEST. Change 'len_avail' type to ULONGEST.
2971 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
2972 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
2974 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
2976 2014-02-07 Yao Qi <yao@codesourcery.com>
2978 * corefile.c (memory_error): Get 'exception' from ERR and pass
2979 'exception' to throw_error.
2981 2014-02-06 Doug Evans <xdje42@gmail.com>
2983 * configure.ac (libpython checking): Remove all but python.o from
2984 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
2985 * configure: Regenerate.
2987 * Makefile.in (SFILES): Add extension.c.
2988 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
2989 (COMMON_OBS): Add extension.o.
2990 * extension.h: New file.
2991 * extension-priv.h: New file.
2992 * extension.c: New file.
2994 * python/python-internal.h: #include "extension.h".
2995 (gdbpy_auto_load_enabled): Declare.
2996 (gdbpy_apply_val_pretty_printer): Declare.
2997 (gdbpy_apply_frame_filter): Declare.
2998 (gdbpy_preserve_values): Declare.
2999 (gdbpy_breakpoint_cond_says_stop): Declare.
3000 (gdbpy_breakpoint_has_cond): Declare.
3001 (void source_python_script_for_objfile): Delete.
3002 * python/python.c: #include "extension-priv.h".
3003 Delete inclusion of "observer.h".
3004 (extension_language_python): Moved here and renamed from
3005 script_language_python in py-auto-load.c.
3006 Redefined to be of type extension_language_defn.
3007 (python_extension_script_ops): New global.
3008 (python_extension_ops): New global.
3009 (struct python_env): New member previous_active.
3010 (restore_python_env): Call restore_active_ext_lang.
3011 (ensure_python_env): Call set_active_ext_lang.
3012 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
3014 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
3016 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
3018 (gdbpy_eval_from_control_command): Renamed from
3019 eval_python_from_control_command, made static. New arg extlang.
3020 (gdbpy_source_script) Renamed from source_python_script, made static.
3022 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
3023 result to int. New arg extlang.
3024 (gdbpy_source_objfile_script): Renamed from
3025 source_python_script_for_objfile, made static. New arg extlang.
3026 (gdbpy_start_type_printers): Renamed from start_type_printers, made
3027 static. New args extlang, extlang_printers. Change result type to
3029 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
3030 static. New arg extlang. Rename arg printers to extlang_printers
3031 and change type to ext_lang_type_printers *.
3032 (gdbpy_free_type_printers): Renamed from free_type_printers, made
3033 static. Replace argument arg with extlang, extlang_printers.
3034 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
3035 (!HAVE_PYTHON, source_python_script): Delete.
3036 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
3037 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
3038 (!HAVE_PYTHON, start_type_printers): Delete.
3039 (!HAVE_PYTHON, apply_type_printers): Delete.
3040 (!HAVE_PYTHON, free_type_printers): Delete.
3041 (_initialize_python): Delete call to observer_attach_before_prompt.
3042 (finalize_python): Set/restore active extension language.
3043 (gdbpy_finish_initialization) Renamed from
3044 finish_python_initialization, made static. New arg extlang.
3045 (gdbpy_initialized): New function.
3046 * python/python.h: #include "extension.h". Delete #include
3047 "value.h", "mi/mi-cmds.h".
3048 (extension_language_python): Declare.
3049 (GDBPY_AUTO_FILE_NAME): Delete.
3050 (enum py_bt_status): Moved to extension.h and renamed to
3052 (enum frame_filter_flags): Moved to extension.h.
3053 (enum py_frame_args): Moved to extension.h and renamed to
3054 ext_lang_frame_args.
3055 (finish_python_initialization): Delete.
3056 (eval_python_from_control_command): Delete.
3057 (source_python_script): Delete.
3058 (apply_val_pretty_printer): Delete.
3059 (apply_frame_filter): Delete.
3060 (preserve_python_values): Delete.
3061 (gdbpy_script_language_defn): Delete.
3062 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
3063 (start_type_printers, apply_type_printers, free_type_printers): Delete.
3065 * auto-load.c: #include "extension.h".
3066 (GDB_AUTO_FILE_NAME): Delete.
3067 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
3068 (script_language_gdb): Delete, moved to extension.c and renamed to
3069 extension_language_gdb.
3070 (source_gdb_script_for_objfile): Delete.
3071 (auto_load_pspace_info): New member unsupported_script_warning_printed.
3072 (loaded_script): Change type of language member to
3073 struct extension_language_defn *.
3074 (init_loaded_scripts_info): Initialize
3075 unsupported_script_warning_printed.
3076 (maybe_add_script): Make static. Change type of language arg to
3077 struct extension_language_defn *.
3078 (clear_section_scripts): Reset unsupported_script_warning_printed.
3079 (auto_load_objfile_script_1): Rewrite to use extension language API.
3080 (auto_load_objfile_script): Make public. Remove support-compiled-in
3081 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
3082 (source_section_scripts): Rewrite to use extension language API.
3083 (load_auto_scripts_for_objfile): Rewrite to use
3084 auto_load_scripts_for_objfile.
3085 (collect_matching_scripts_data): Change type of language member to
3086 struct extension_language_defn *.
3087 (auto_load_info_scripts): Change type of language arg to
3088 struct extension_language_defn *.
3089 (unsupported_script_warning_print): New function.
3090 (script_not_found_warning_print): Make static.
3091 (_initialize_auto_load): Rewrite construction of scripts-directory
3093 * auto-load.h (struct objfile): Add forward decl.
3094 (struct script_language): Delete.
3095 (struct auto_load_pspace_info): Add forward decl.
3096 (struct extension_language_defn): Add forward decl.
3097 (maybe_add_script): Delete.
3098 (auto_load_objfile_script): Declare.
3099 (script_not_found_warning_print): Delete.
3100 (auto_load_info_scripts): Update prototype.
3101 (auto_load_gdb_scripts_enabled): Declare.
3102 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
3103 auto_load_python_scripts_enabled and made public.
3104 (script_language_python): Delete, moved to python.c.
3105 (gdbpy_script_language_defn): Delete.
3106 (info_auto_load_python_scripts): Update to use
3107 extension_language_python.
3109 * breakpoint.c (condition_command): Replace call to
3110 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
3111 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
3112 with call to breakpoint_ext_lang_cond_says_stop.
3113 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
3114 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
3115 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
3116 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
3118 (local_setattro): Print name of extension language with existing
3121 * valprint.c (val_print, value_print): Update to call
3122 apply_ext_lang_val_pretty_printer.
3123 * cp-valprint.c (cp_print_value): Update call to
3124 apply_ext_lang_val_pretty_printer.
3125 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
3126 (gdbpy_apply_val_pretty_printer): Renamed from
3127 apply_val_pretty_printer. New arg extlang.
3128 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
3130 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
3131 extension language API.
3132 * cli/cli-script.c (execute_control_command): Update to call
3133 eval_ext_lang_from_control_command.
3135 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
3136 enum ext_lang_bt_status values. Update call to
3137 apply_ext_lang_frame_filter.
3138 (mi_cmd_stack_list_locals): Ditto.
3139 (mi_cmd_stack_list_args): Ditto.
3140 (mi_cmd_stack_list_variables): Ditto.
3141 * mi/mi-main.c: Delete #include "python/python-internal.h".
3142 Add #include "extension.h".
3143 (mi_cmd_list_features): Replace reference to python internal variable
3144 gdb_python_initialized with call to ext_lang_initialized_p.
3146 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
3147 Update to use enum ext_lang_frame_args. Update to call
3148 apply_ext_lang_frame_filter.
3149 * python/py-framefilter.c (extract_sym): Update to use enum
3151 (extract_value, py_print_type, py_print_value): Ditto.
3152 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
3153 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
3154 (py_print_frame): Ditto.
3155 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
3156 New arg extlang. Update to use enum ext_lang_bt_status.
3158 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
3159 finish_python_initialization. Replace with call to
3160 finish_ext_lang_initialization.
3162 * typeprint.c (do_free_global_table): Update to call
3163 free_ext_lang_type_printers.
3164 (create_global_typedef_table): Update to call
3165 start_ext_lang_type_printers.
3166 (find_global_typedef): Update to call apply_ext_lang_type_printers.
3167 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
3168 (type_print_options): Change type of global_printers from "void *"
3169 to "struct ext_lang_type_printers *".
3171 * value.c (preserve_values): Update to call preserve_ext_lang_values.
3172 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
3173 (gdbpy_preserve_values): Renamed from preserve_python_values.
3175 (!HAVE_PYTHON, preserve_python_values): Delete.
3177 * utils.c (quit_flag): Delete, moved to extension.c.
3178 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
3181 * eval.c: Delete #include "python/python.h".
3182 * main.c: Delete #include "python/python.h".
3184 * defs.h: Update comment.
3186 2014-02-06 Joel Brobecker <brobecker@adacore.com>
3190 2014-02-05 Mark Kettenis <kettenis@gnu.org>
3192 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
3195 2014-02-05 Yao Qi <yao@codesourcery.com>
3197 * remote.c (remote_pass_signals): Remove local 'buf' and use
3199 (remote_program_signals): Likewise.
3201 2014-02-05 Yao Qi <yao@codesourcery.com>
3203 * ctf.c: Include "inferior.h" and "gdbthread.h".
3204 (CTF_PID): A new macro.
3205 (ctf_open): Call inferior_appeared and add_thread_silent.
3206 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
3207 (ctf_thread_alive): New function.
3208 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
3210 2014-02-05 Yao Qi <yao@codesourcery.com>
3214 2013-05-24 Yao Qi <yao@codesourcery.com>
3216 * tracepoint.c (TFILE_PID): Remove.
3217 (tfile_open): Don't add thread and inferior.
3218 (tfile_close): Don't set 'inferior_ptid'. Don't call
3219 exit_inferior_silent.
3220 (tfile_thread_alive): Remove.
3221 (init_tfile_ops): Don't set field 'to_thread_alive' of
3224 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
3226 * remote.c (remote_start_remote): Call remote_check_symbols even
3227 if only symbol-file (not file) has been given.
3229 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3231 * gdbarch.sh (skip_entrypoint): New callback.
3232 * gdbarch.c, gdbarch.h: Regenerate.
3233 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
3234 * infrun.c (fill_in_stop_func): Likewise.
3235 * ppc-linux-tdep.c: Include "elf/ppc64.h".
3236 (ppc_elfv2_elf_make_msymbol_special): New function.
3237 (ppc_elfv2_skip_entrypoint): Likewise.
3238 (ppc_linux_init_abi): Install them for ELFv2.
3240 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3242 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
3243 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
3244 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
3245 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
3246 structures returned in GPRs.
3248 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3250 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
3251 offset to the stack parameter list for the ELFv2 ABI.
3253 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3255 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
3256 set_gdbarch_convert_from_func_ptr_addr and
3257 set_gdbarch_elf_make_msymbol_special for ELFv1.
3258 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
3259 function descriptors on ELFv1.
3260 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
3261 set up r12 at function entry.
3263 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3265 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
3266 (struct gdbarch_tdep): New member elf_abi.
3268 * rs6000-tdep.c: Include "elf/ppc64.h".
3269 (rs6000_gdbarch_init): Detect ELF ABI version.
3271 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3273 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
3274 within a register pair holding a DFP 128-bit value on little-endian.
3275 (ppc64_sysv_abi_return_value_base): Likewise.
3276 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
3277 (dfp_pseudo_register_write): Likewise.
3279 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3281 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
3282 offset on little-endian when passing _Decimal32.
3283 (ppc64_sysv_abi_return_value_base): Likewise for return values.
3285 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3287 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
3288 of the overlapped FP register within the VSX register on little-
3290 (efpr_pseudo_register_write): Likewise.
3292 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3294 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
3295 offset on little-endian when passing small structures.
3297 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3299 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
3300 (struct ppc64_sysv_argpos): New data structure.
3301 (ppc64_sysv_abi_push_float): Remove.
3302 (ppc64_sysv_abi_push_val): New function.
3303 (ppc64_sysv_abi_push_integer): Likewise.
3304 (ppc64_sysv_abi_push_freg): Likewise.
3305 (ppc64_sysv_abi_push_vreg): Likewise.
3306 (ppc64_sysv_abi_push_param): Likewise.
3307 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
3308 (ppc64_sysv_abi_return_value_base): New function.
3309 (ppc64_sysv_abi_return_value): Refactor to use it.
3311 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3313 * NEWS: Document new target powerpc64le-*-linux*.
3315 2014-02-04 Mark Kettenis <kettenis@gnu.org>
3317 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
3318 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
3320 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
3321 register set used in ELF core dumps. Add floating-point register set.
3323 2014-02-03 Kevin Buettner <kevinb@redhat.com>
3325 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
3326 dwarf2_to_gdb[] table using symbolic constants. Adjust
3327 penultimate entry from number representing the PC register
3328 to symbolic constant representing the MDR register. Add
3329 constant for the PC register to the end of the table.
3331 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3333 * bsd-kvm.c: Include <sys/param.h>
3335 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3337 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
3339 2014-01-31 Joel Brobecker <brobecker@adacore.com>
3341 * ada-lang.h (clear_ada_sym_cache): Delete.
3343 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
3345 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
3347 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3349 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
3350 the sigreturn register save area only if the syscall is
3353 2014-01-29 Joel Brobecker <brobecker@adacore.com>
3355 * valops.c (value_slice): Minor reformatting.
3357 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
3359 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
3361 2014-01-28 Joel Brobecker <brobecker@adacore.com>
3363 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
3365 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
3366 (ada_ignore_descriptive_types_p): New static global.
3367 (find_parallel_type_by_descriptive_type): Return immediately
3368 if ada_ignore_descriptive_types_p is set.
3369 (_initialize_ada_language): Register new commands "maintenance
3370 set ada", "maintenance show ada", "maintenance set ada
3371 ignore-descriptive-types" and "maintenance show ada
3372 ignore-descriptive-types".
3373 * NEWS: Add entry for new "maint ada set/show
3374 ignore-descriptive-types" commands.
3376 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
3378 * record-btrace.c (record_btrace_close): Call btrace_teardown
3381 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3383 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
3386 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3388 * ada-typeprint (type_is_full_subrange_of_target_type):
3390 (print_range): Add parameter bounds_prefered_p. If not set,
3391 try printing range types using the name of their base type.
3392 (print_range_type): Add parameter bounds_prefered_p.
3393 Use it in call to print_range.
3394 (print_array_type, ada_print_type): Update calls to print_range
3395 and print_range_type.
3397 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3399 * ada-typeprint.c (print_array_type, print_choices, print_range)
3400 (print_range_bound, print_dynamic_range_bound, print_range_type):
3403 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3405 * ada-typeprint.c (print_range): Add missing empty line
3406 after local declaration.
3408 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3410 * ada-valprint.c (print_optional_low_bound): Get index_type's
3411 target type for as long as it is a TYPE_CODE_RANGE.
3413 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3415 * procfs.c (procfs_make_note_section): Remove assertion and
3418 2014-01-24 Yao Qi <yao@codesourcery.com>
3420 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
3421 * corelow.c (get_core_siginfo): Likewise.
3423 2014-01-24 Yao Qi <yao@codesourcery.com>
3425 * remote.c (remote_write_bytes_aux): Change type of 'len' to
3426 ULONGEST. Don't check 'len' is negative.
3427 (remote_write_bytes): Change type of 'len' to ULONGEST.
3429 2014-01-23 Tom Tromey <tromey@redhat.com>
3432 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
3433 Handle exception from frame.block.
3434 (FrameVars.fetch_frame_locals): Likewise.
3436 2014-01-23 Tom Tromey <tromey@redhat.com>
3439 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
3440 on a NULL pointer. Move "goto error" to correct place.
3442 2014-01-23 Tom Tromey <tromey@redhat.com>
3445 * python/py-framefilter.c (apply_frame_filter): Call
3446 ensure_python_env after computing gdbarch.
3448 2014-01-23 Yao Qi <yao@codesourcery.com>
3450 * target.c (raw_memory_xfer_partial): Change argument type
3451 from void * to gdb_byte *.
3452 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
3454 2014-01-22 Doug Evans <dje@google.com>
3456 New gdbserver option --debug-format=timestamp.
3459 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3461 * syscalls/s390x-linux.xml: New file.
3462 * syscalls/s390-linux.xml: New file.
3463 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
3464 (XML_SYSCALL_FILENAME_S390X): Likewise.
3465 (op_svc): New enum value for SVC opcode.
3466 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
3467 (s390_linux_get_syscall_number): New function.
3468 (s390_gdbarch_init): Register '*get_syscall_number' and the
3469 syscall xml file name.
3470 * data-directory/Makefile.in (SYSCALLS_FILES): Add
3471 "s390-linux.xml" and "s390x-linux.xml".
3472 * NEWS: Announce new feature.
3474 2014-01-22 Baruch Siach <baruch@tkos.co.il>
3476 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
3478 2014-01-22 Pedro Alves <palves@redhat.com>
3480 * xtensa-config.c: Include defs.h.
3482 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3484 * common/common-utils.h: Add "ARI:" comment beside __func__
3487 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3489 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
3490 documentation a bit.
3492 2014-01-21 Roland McGrath <mcgrathr@google.com>
3494 * configure.ac: Call AM_PROG_INSTALL_STRIP.
3495 * configure: Regenerate.
3496 * aclocal.m4: Regenerate.
3497 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
3498 New substituted variables.
3499 (install-strip): New target.
3500 (INSTALL_SCRIPT): New substituted variable.
3501 (FLAGS_TO_PASS): Add it.
3502 (install-only): Use $(INSTALL_SCRIPT) rather than
3503 $(INSTALL_PROGRAM) for gcore.
3505 2014-01-20 Tom Tromey <tromey@redhat.com>
3507 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
3510 2014-01-20 Tom Tromey <tromey@redhat.com>
3512 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
3513 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
3514 (deprecated_cmd_warning, complete_on_cmdlist): Update.
3515 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
3516 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3517 (struct cmd_list_element) <flags>: Remove.
3518 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3519 doc_allocated>: New fields.
3520 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3522 * maint.c (maintenance_do_deprecate): Update.
3523 * top.c (execute_command): Update.
3525 2014-01-20 Baruch Siach <baruch@tkos.co.il>
3527 * xtensa-linux-nat.c: Include asm/ptrace.h.
3529 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3531 * Makefile.in (SFILES): Add d-support.c.
3532 (COMMON_OBS): Add d-support.o.
3533 * d-lang.h (d_parse_symbol): Add comment, now defined in
3535 * d-lang.c (parse_call_convention)
3536 (parse_attributes, parse_function_types)
3537 (parse_function_args, parse_type, parse_identifier)
3538 (call_convention_p, d_parse_symbol): Move functions to ...
3539 * d-support.c: ... New file.
3541 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3543 * d-lang.h (d_parse_symbol): Add declaration.
3544 * d-lang.c (extract_identifiers)
3545 (extract_type_info): Remove functions.
3546 (parse_call_convention, parse_attributes)
3547 (parse_function_types, parse_function_args)
3548 (parse_type, parse_identifier, call_convention_p)
3549 (d_parse_symbol): New functions.
3550 (d_demangle): Use d_parse_symbol to demangle D symbols.
3552 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3554 * d-lang.h (struct builtin_d_type): New data type.
3555 (builtin_d_type): Add declaration.
3556 * d-lang.c (d_language_arch_info, build_d_types)
3557 (builtin_d_type): New functions.
3558 (enum d_primitive_types): New data type.
3559 (d_language_defn): Change c_language_arch_info to
3560 d_language_arch_info.
3561 (d_type_data): New static variable.
3562 (_initialize_d_language): Initialize d_type_data.
3564 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3566 * d-lang.h (d_main_name): Add declaration.
3567 * d-lang.c (d_main_name): New function.
3568 * symtab.c (find_main_name): Add call to d_main_name.
3570 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3572 * d-lang.c (d_language_defn): Change macro_expansion_c to
3575 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3577 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3579 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3581 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3582 gdb_exception" declaration.
3583 * remote.c (getpkt_or_notif_sane): Likewise.
3585 2014-01-17 Doug Evans <dje@google.com>
3587 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3588 function, contents of dirnames_to_char_ptr_vec_append moved here.
3589 (delim_string_to_char_ptr_vec): New function.
3590 (dirnames_to_char_ptr_vec_append): Rewrite.
3591 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3593 2014-01-17 Doug Evans <dje@google.com>
3595 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3597 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3598 #include "common-utils.h".
3599 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3600 * common/vec.h (VEC_ASSERT_PASS): Update.
3601 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3602 (MACH_CHECK_ERROR): Update.
3604 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3606 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3608 * gdbarch.h: Regenerate.
3610 2014-01-16 Tom Tromey <tromey@redhat.com>
3612 * value.c (struct value) <regnum>: Move earlier.
3614 2014-01-16 Tom Tromey <tromey@redhat.com>
3616 * remote.c (extended_remote_create_inferior): Rename from
3617 extended_remote_create_inferior_1. Add "ops" argument. Remove
3620 2014-01-16 Pedro Alves <palves@redhat.com>
3622 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3623 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3626 2014-01-16 Doug Evans <dje@google.com>
3628 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3630 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3632 * btrace.h (btrace_thread_flag): New.
3633 (struct btrace_thread_info) <flags>: New.
3634 * record-btrace.c (record_btrace_resume_thread)
3635 (record_btrace_find_thread_to_move, btrace_step_no_history)
3636 (btrace_step_stopped, record_btrace_start_replaying)
3637 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3638 (record_btrace_find_resume_thread): New.
3639 (record_btrace_resume, record_btrace_wait): Extend.
3640 (record_btrace_can_execute_reverse): New.
3641 (record_btrace_open): Fail in non-stop mode.
3642 (record_btrace_set_replay): Split into this, ...
3643 (record_btrace_stop_replaying): ... this, ...
3644 (record_btrace_clear_histories): ... and this.
3645 (init_record_btrace_ops): Init to_can_execute_reverse.
3646 * NEWS: Announce it.
3648 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3650 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3651 (forward_target_decr_pc_after_break)
3652 (target_decr_pc_after_break): New.
3653 * target.c (forward_target_decr_pc_after_break)
3654 (target_decr_pc_after_break): New.
3655 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3656 instead of gdbarch_decr_pc_after_break.
3657 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3658 instead of gdbarch_decr_pc_after_break.
3659 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3660 instead of gdbarch_decr_pc_after_break.
3661 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3662 instead of gdbarch_decr_pc_after_break.
3663 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3664 instead of gdbarch_decr_pc_after_break.
3665 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3666 instead of gdbarch_decr_pc_after_break.
3668 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3670 * btrace.c: Include regcache.h.
3671 (btrace_add_pc): New.
3672 (btrace_enable): Call btrace_add_pc.
3673 (btrace_is_empty): New.
3674 * btrace.h (btrace_is_empty): New.
3675 * record-btrace.c (require_btrace, record_btrace_info): Call
3678 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3680 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3681 Support delta reads.
3682 (linux_disable_btrace): Change return type.
3683 * common/linux-btrace.h (linux_read_btrace): Change parameters
3684 and return type to allow error reporting. Update users.
3685 (linux_disable_btrace): Change return type. Update users.
3686 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3688 (btrace_error): New.
3689 (btrace_block) <begin>: Comment on BEGIN == 0.
3690 * btrace.c (btrace_compute_ftrace): Start from the end of
3692 (btrace_stitch_trace, btrace_clear_history): New.
3693 (btrace_fetch): Read delta trace, return if replaying.
3694 (btrace_clear): Move clear history code to btrace_clear_history.
3695 (parse_xml_btrace): Throw an error if parsing failed.
3696 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3697 and return type to allow error reporting.
3698 (target_read_btrace): Change parameters and return type to allow
3700 * target.c (target_read_btrace): Update.
3701 * remote.c (remote_read_btrace): Support delta reads. Pass
3703 * NEWS: Announce it.
3705 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3707 * record.h (record_btrace_frame_unwind)
3708 (record_btrace_tailcall_frame_unwind): New declarations.
3709 * dwarf2-frame: Include record.h
3710 (dwarf2_frame_cfa): Throw an error for btrace frames.
3711 * record-btrace.c: Include hashtab.h.
3712 (btrace_get_bfun_name): New.
3713 (btrace_call_history): Call btrace_get_bfun_name.
3714 (struct btrace_frame_cache): New.
3716 (bfcache_hash, bfcache_eq, bfcache_new): New.
3717 (btrace_get_frame_function): New.
3718 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3719 (record_btrace_frame_this_id): Compute own id.
3720 (record_btrace_frame_prev_register): Provide PC, throw_error
3721 for all other registers.
3722 (record_btrace_frame_sniffer): Detect btrace frames.
3723 (record_btrace_tailcall_frame_sniffer): New.
3724 (record_btrace_frame_dealloc_cache): New.
3725 (record_btrace_frame_unwind): Add new functions.
3726 (record_btrace_tailcall_frame_unwind): New.
3727 (_initialize_record_btrace): Allocate cache.
3728 * btrace.c (btrace_clear): Call reinit_frame_cache.
3729 * NEWS: Announce it.
3731 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3733 * record-btrace.c (record_btrace_set_replay)
3734 (record_btrace_goto_begin, record_btrace_goto_end)
3735 (record_btrace_goto): New.
3736 (init_record_btrace_ops): Initialize them.
3737 * NEWS: Announce it.
3739 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3741 * record-btrace.c (record_btrace_find_new_threads)
3742 (record_btrace_thread_alive): New.
3743 (init_record_btrace_ops): Initialize to_find_new_threads and
3746 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3748 * record-btrace.c (record_btrace_resume): New.
3749 (record_btrace_wait): New.
3750 (init_record_btrace_ops): Initialize to_wait and to_resume.
3752 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3754 * record-btrace.c (record_btrace_xfer_partial)
3755 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3756 (record_btrace_allow_memory_access): New.
3757 (init_record_btrace_ops): Initialize new methods.
3758 * target.c (raw_memory_xfer_partial): Bail out if target reports
3759 that this memory is not available.
3761 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3763 * target.h (target_ops) <to_insert_breakpoint>
3764 <to_remove_breakpoint>: Add target_ops parameter.
3765 (forward_target_insert_breakpoint): New.
3766 (forward_target_remove_breakpoint): New.
3767 (memory_remove_breakpoint, memory_insert_breakpoint):
3768 Add target_ops parameter.
3769 * target.c (target_insert_breakpoint): Split into this and ...
3770 (forward_target_insert_breakpoint): ... this.
3771 (target_remove_breakpoint): Split into this and ...
3772 (forward_target_remove_breakpoint): ... this.
3773 (debug_to_insert_breakpoint): Add target_ops parameter.
3774 Call forward_target_insert_breakpoint.
3775 (debug_to_remove_breakpoint): Add target_ops parameter.
3776 Call forward_target_remove_breakpoint.
3777 (update_current_target): Do not inherit or default to_insert_breakpoint
3778 and to_remove_breakpoint.
3779 * corelow.c (ignore): Add target_ops parameter.
3780 * exec.c (ignore): Add target_ops parameter.
3781 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3782 Add target_ops parameter.
3783 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3784 Add target_ops parameter.
3785 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3786 Add target_ops parameter.
3787 * record-full.c (record_full_beneath_to_insert_breakpoint)
3788 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3789 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3790 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
3791 (record_full_core_remove_breakpoint): Add target_ops parameter.
3793 (record_full_beneath_to_insert_breakpoint_ops)
3794 (record_full_beneath_to_remove_breakpoint_ops)
3795 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
3796 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
3797 tmp_to_remove_breakpoint_ops,
3798 record_full_beneath_to_insert_breakpoint_ops, and
3799 record_full_beneath_to_remove_breakpoint_ops.
3800 * remote-m32r-sdi.c (m32r_insert_breakpoint)
3801 (m32r_remove_breakpoint): Add target_ops parameter.
3802 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
3803 Add target_ops parameter.
3804 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
3805 Add target_ops parameter.
3807 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3808 Markus Metzger <markus.t.metzger@intel.com>
3810 * record-btrace.c: Include frame-unwind.h.
3811 (record_btrace_frame_unwind_stop_reason)
3812 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
3813 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
3815 (init_record_btrace_ops): Install it.
3817 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3819 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
3822 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3824 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
3827 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3829 * frame-unwind.c: Include target.h.
3830 (frame_unwind_try_unwinder): New function with code from ...
3831 (frame_unwind_find_by_frame): ... here. New variable
3832 unwinder_from_target, call also target_get_unwinder)
3833 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
3834 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
3835 * target.h (struct target_ops): New fields to_get_unwinder and
3836 to_get_tailcall_unwinder.
3837 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
3839 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3841 * record-btrace.c (record_btrace_fetch_registers)
3842 (record_btrace_store_registers)
3843 (record_btrace_to_prepare_to_store): New.
3844 (init_record_btrace_ops): Add the above.
3846 2014-01-16 Tom Tromey <tromey@redhat.com>
3848 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
3849 * target.h (struct target_ops) <to_prepare_to_store>: Add
3851 (target_prepare_to_store): Add argument.
3852 * target.c (debug_to_prepare_to_store): Add argument.
3853 (update_current_target): Update.
3854 * remote.c (remote_prepare_to_store): Add 'self' argument.
3855 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
3856 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
3857 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
3858 * record-full.c (record_full_core_prepare_to_store): Add 'self'
3860 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
3861 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
3862 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
3863 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
3864 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
3866 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3868 * btrace.h (replay) <replay>: New.
3869 (btrace_is_replaying): New.
3870 * btrace.c (btrace_clear): Free replay iterator.
3871 (btrace_is_replaying): New.
3872 * record-btrace.c (record_btrace_is_replaying): New.
3873 (record_btrace_info): Print insn number if replaying.
3874 (record_btrace_insn_history): Start at replay position.
3875 (record_btrace_call_history): Start at replay position.
3876 (init_record_btrace_ops): Init to_record_is_replaying.
3878 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3880 * record-btrace.c (record_btrace_insn_history_range): Include
3882 (record_btrace_insn_history_from): Adjust range.
3883 (record_btrace_call_history_range): Include
3885 (record_btrace_call_history_from): Adjust range.
3886 * NEWS: Announce changes.
3888 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3890 * record.h (enum record_print_flag)
3891 <record_print_indent_calls>: New.
3892 * record.c (get_call_history_modifiers): Recognize /c modifier.
3893 (_initialize_record): Document /c modifier.
3894 * record-btrace.c (btrace_call_history): Add btinfo parameter.
3895 Reorder fields. Optionally indent the function name. Update
3897 * NEWS: Announce changes.
3899 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3901 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
3903 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3905 * btrace.c (ftrace_new_function): Start counting at one.
3906 * record-btrace.c (record_btrace_info): Adjust number of calls
3908 * NEWS: Announce it.
3910 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3912 * record-btrace.c (btrace_call_history_insn_range): Print
3913 insn range as [begin, end].
3915 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3917 * btrace.h (struct btrace_func_link): New.
3918 (enum btrace_function_flag): New.
3919 (struct btrace_inst): Rename to ...
3920 (struct btrace_insn): ...this. Update all users.
3921 (struct btrace_func) <ibegin, iend>: Remove.
3922 (struct btrace_func_link): New.
3923 (struct btrace_func): Rename to ...
3924 (struct btrace_function): ...this. Update all users.
3925 (struct btrace_function) <segment, flow, up, insn, insn_offset)
3926 (number, level, flags>: New.
3927 (struct btrace_insn_iterator): Rename to ...
3928 (struct btrace_insn_history): ...this.
3930 (struct btrace_insn_iterator, btrace_call_iterator): New.
3931 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
3932 (struct btrace_target_info) <begin, end, level>
3933 <insn_history, call_history>: New.
3934 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3935 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3936 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3937 (btrace_call_number, btrace_call_begin, btrace_call_end)
3938 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3939 (btrace_find_function_by_number, btrace_set_insn_history)
3940 (btrace_set_call_history): New.
3941 * btrace.c (btrace_init_insn_iterator)
3942 (btrace_init_func_iterator, compute_itrace): Remove.
3943 (ftrace_print_function_name, ftrace_print_filename)
3944 (ftrace_skip_file): Change
3946 (ftrace_init_func): Remove.
3947 (ftrace_debug): Use new btrace_function fields.
3948 (ftrace_function_switched): Also consider gaining and
3949 losing symbol information).
3950 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
3951 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
3952 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
3954 (ftrace_new_function): Move. Remove debug print.
3955 (ftrace_update_lines, ftrace_update_insns): New.
3956 (ftrace_update_function): Check for call, ret, and jump.
3957 (compute_ftrace): Renamed to ...
3958 (btrace_compute_ftrace): ...this. Rewritten to compute call
3960 (btrace_fetch, btrace_clear): Updated.
3961 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3962 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3963 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3964 (btrace_call_number, btrace_call_begin, btrace_call_end)
3965 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3966 (btrace_find_function_by_number, btrace_set_insn_history)
3967 (btrace_set_call_history): New.
3968 * record-btrace.c (require_btrace): Use new btrace thread
3970 (record_btrace_info, btrace_insn_history)
3971 (record_btrace_insn_history, record_btrace_insn_history_range):
3972 Use new btrace thread info fields and new iterator.
3973 (btrace_func_history_src_line): Rename to ...
3974 (btrace_call_history_src_line): ...this. Use new btrace
3976 (btrace_func_history): Rename to ...
3977 (btrace_call_history): ...this. Use new btrace thread info
3978 fields and new iterator.
3979 (record_btrace_call_history, record_btrace_call_history_range):
3980 Use new btrace thread info fields and new iterator.
3982 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3984 * frame.h (frame_id_build_unavailable_stack_special): New.
3985 * frame.c (frame_id_build_unavailable_stack_special): New.
3987 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3989 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
3990 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
3991 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
3993 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
3994 (i386_insn_is_jump, i386_jmp_p): New.
3995 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
3996 insn_is_jump to gdbarch.
3997 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
3998 * gdbarch.h: Regenerated.
3999 * gdbarch.c: Regenerated.
4000 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
4001 (default_insn_is_jump): New.
4002 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
4003 (default_insn_is_jump): New.
4005 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4007 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
4009 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
4010 (btrace_read_type) <btrace_read_new>: Change to ...
4011 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
4013 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4015 * common/linux-btrace.c (linux_read_btrace): Free trace from
4018 2014-01-15 Doug Evans <dje@google.com>
4020 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
4023 2014-01-15 Tom Tromey <tromey@redhat.com>
4025 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
4026 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
4027 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
4028 (set_objfile_main_name): New function.
4029 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
4030 language_of_main>: New fields.
4031 (set_objfile_main_name): Declare.
4032 * symtab.c (find_main_name): Loop over objfiles to find the main
4034 (set_main_name): Now static.
4035 (get_main_info): Add comment.
4036 * symtab.h (set_main_name): Don't declare.
4038 2014-01-15 Tom Tromey <tromey@redhat.com>
4040 * symtab.c (main_progspace_key): New global.
4041 (struct main_info): New.
4042 (name_of_main, language_of_main): Remove.
4043 (get_main_info, main_info_cleanup): New function.
4044 (set_main_name, main_name, main_language): Use get_main_info.
4045 (_initialize_symtab): Initialize main_progspace_key.
4047 2014-01-15 Tom Tromey <tromey@redhat.com>
4049 * dbxread.c (process_one_symbol): Update.
4050 * dwarf2read.c (read_partial_die): Update.
4051 * symfile.c (set_initial_language): Call main_language.
4052 * symtab.c (language_of_main): Now static.
4053 (set_main_name): Add 'lang' parameter.
4054 (find_main_name): Update.
4055 (main_language): New function.
4056 (symtab_observer_executable_changed): Update.
4057 * symtab.h (set_main_name): Update.
4058 (language_of_main): Remove.
4059 (main_language): Declare.
4061 2014-01-15 Tom Tromey <tromey@redhat.com>
4063 * symfile.c (init_entry_point_info): Use new "initialized" field.
4065 * objfiles.h (struct entry_point) <initialized>: New field.
4066 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
4067 (struct objfile) <ei>: ...here. Remove.
4068 * objfiles.c (entry_point_address_query): Update.
4070 2014-01-15 Tom Tromey <tromey@redhat.com>
4072 * objfiles.c (entry_point_address_query): Relocate entry point
4074 (objfile_relocate1): Do not relocate entry point address.
4075 * objfiles.h (struct entry_info) <entry_point>: Update comment.
4076 <the_bfd_section_index>: New field.
4077 * symfile.c (init_entry_point_info): Find the entry point's
4080 2014-01-15 Tom Tromey <tromey@redhat.com>
4082 * solib-frv.c (enable_break): Use entry_point_address_query.
4084 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4086 * NEWS: Add note on improved process record-replay on
4087 arm*-linux* targets.
4089 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4091 * arm-tdep.c (enum arm_record_result): New enum.
4092 (arm_record_unsupported_insn): New function.
4093 (arm_record_coproc_data_proc): Removed.
4094 (thumb2_record_ld_st_multiple): New function.
4095 (thumb2_record_ld_st_dual_ex_tbb): New function.
4096 (thumb2_record_data_proc_sreg_mimm): New function.
4097 (thumb2_record_ps_dest_generic): New function.
4098 (thumb2_record_branch_misc_cntrl): New function.
4099 (thumb2_record_str_single_data): New function.
4100 (thumb2_record_ld_mem_hints): New function.
4101 (thumb2_record_ld_word): New function.
4102 (thumb2_record_lmul_lmla_div): New function.
4103 (thumb2_record_decode_insn_handler): New function.
4104 (decode_insn): Add thumb32 instruction handlers.
4106 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4108 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
4109 (struct arm_linux_record_tdep): Declare.
4110 (arm_canonicalize_syscall): New function.
4111 (arm_all_but_pc_registers_record): New function.
4112 (arm_linux_syscall_record): New function.
4113 (arm_linux_init_abi): Add syscall recording constructs.
4114 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
4115 decoding. (arm_record_coproc_data_proc): Update arm syscall
4117 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
4118 <arm_syscall_record>: New field.
4119 * configure.tgt (arm*-*-linux*): Add linux-record.o to
4122 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4124 * arm-tdep.c (thumb_record_misc): Update to use sp as base
4125 register for push instruction recording.
4127 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4129 * arm-tdep.c (thumb_record_misc): Update to correct logical
4130 error while recording ldm, ldmia and pop instructions.
4132 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4134 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
4136 2014-01-15 Pedro Alves <palves@redhat.com>
4138 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
4139 (go32_resume, go32_fetch_registers, store_register)
4140 (go32_store_registers, go32_prepare_to_store)
4141 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
4142 (go32_create_inferior, go32_can_run, go32_terminal_init)
4143 (go32_terminal_inferior, go32_terminal_ours): Delete forward
4146 2014-01-15 Tom Tromey <tromey@redhat.com>
4148 * target.h (async_callback_ftype): New typedef.
4149 (struct target_ops) <to_async>: Use it.
4151 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4153 * python/py-value.c (get_field_type): Remove unnecessary curly
4154 braces for single-statement if block.
4156 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4158 * python/py-type.c (convert_field): Add missing empty line
4161 2014-01-14 Doug Evans <dje@google.com>
4163 * symfile.h (expand_symtabs_matching): Renamed from
4164 expand_partial_symbol_names. Update prototype.
4165 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4166 * symfile.c (expand_symtabs_matching): Renamed from
4167 expand_partial_symbol_names. New args file_matcher, kind.
4168 Rename arg fun to symbol_matcher.
4169 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4170 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
4171 ada_expand_partial_symbol_name.
4172 (ada_make_symbol_completion_list): Update to call
4173 expand_symtabs_matching.
4174 (ada_add_global_exceptions): Call expand_symtabs_matching.
4175 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
4176 call map_symbol_filenames.
4177 * symtab.c (sources_info): Update to call map_symbol_filenames.
4178 (search_symbols): Call expand_symtabs_matching.
4179 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
4180 (default_make_symbol_completion_list_break_on): Update to call
4181 expand_symtabs_matching.
4182 (make_source_files_completion_list): Update to call
4183 map_symbol_filenames.
4185 2014-01-14 Doug Evans <dje@google.com>
4187 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
4188 (expand_symtabs_symbol_matcher_ftype): New typedef.
4189 (quick_symbol_functions.expand_symtabs_matching): Update to use.
4190 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4191 * symfile.c (expand_partial_symbol_names): Update to use
4192 expand_symtabs_symbol_matcher_ftype.
4193 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
4194 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4195 Arg name_matcher renamed to symbol_matcher.
4196 * psymtab.c (recursively_search_psymtabs): Update to use
4197 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
4199 (expand_symtabs_matching_via_partial): Update to use
4200 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4201 Arg name_matcher renamed to symbol_matcher.
4203 2014-01-14 Doug Evans <dje@google.com>
4205 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
4206 (map_partial_symbol_filenames): Ditto.
4207 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
4208 (map_partial_symbol_filenames): Ditto.
4209 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
4210 (map_partial_symbol_filenames): Ditto.
4211 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
4212 (map_partial_symbol_filenames): Ditto.
4213 * symtab.c: Delete #include "psymtab.h".
4215 2014-01-14 Pedro Alves <palves@redhat.com>
4216 Tom Tromey <tromey@redhat.com>
4218 * infrun.c (use_displaced_stepping): Use find_record_target
4219 instead of RECORD_IS_USED.
4220 (adjust_pc_after_break): Use record_full_is_used instead of
4222 * record-btrace.c (record_btrace_open): Call record_preopen
4223 instead of checking RECORD_IS_USED.
4224 * record-full.c (record_full_shortname)
4225 (record_full_core_shortname): New globals.
4226 (record_full_is_used): New function.
4227 (find_full_open): Call record_preopen instead of checking
4229 (init_record_full_ops): Set the target's shortname to
4230 record_full_shortname.
4231 (init_record_full_core_ops): Set the target's shortname to
4232 record_full_core_shortname.
4233 * record-full.h (record_full_is_used): Declare.
4234 * record.c (find_record_target): Make extern.
4235 (record_preopen): New function.
4236 * record.h (RECORD_IS_USED): Delete macro.
4237 (find_record_target, record_preopen): Declare functions.
4239 2014-01-14 Yao Qi <yao@codesourcery.com>
4241 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
4242 'len''s type to ULONGEST.
4243 (core_xfer_shared_libraries_aix): Likewise.
4244 * gdbarch.c, gdbarch.h: Regenerated.
4245 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
4246 Change type of 'len' to ULONGEST.
4247 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4248 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
4250 2014-01-14 Yao Qi <yao@codesourcery.com>
4252 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
4253 type of 'len' to ULONGEST.
4254 (linux_xfer_osdata_processgroups): Likewise.
4255 (linux_xfer_osdata_threads): Likewise.
4256 (linux_xfer_osdata_fds): Likewise.
4257 (linux_xfer_osdata_isockets): Likewise.
4258 (linux_xfer_osdata_shm): Likewise.
4259 (linux_xfer_osdata_sem): Likewise.
4260 (linux_xfer_osdata_msg): Likewise.
4261 (linux_common_xfer_osdata): Likewise.
4262 (struct osdata_type) <getter>: Likewise.
4263 * common/linux-osdata.h (linux_common_xfer_osdata): Update
4266 2014-01-14 Yao Qi <yao@codesourcery.com>
4268 * target.h (target_xfer_partial_ftype): Update.
4269 (struct target_ops) <to_xfer_partial>: Change 'len' type to
4271 * aix-thread.c (aix_thread_xfer_partial): Change type of
4272 argument 'len' to ULONGEST.
4273 * auxv.c (procfs_xfer_auxv): Likewise.
4274 (ld_so_xfer_auxv): Likewise.
4275 (memory_xfer_auxv): Likewise.
4276 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4277 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4278 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4279 * corelow.c (core_xfer_partial): Likewise.
4280 * ctf.c (ctf_xfer_partial): Likewise.
4281 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
4283 (darwin_read_dyld_info): Likewise.
4284 (darwin_xfer_partial): Likewise.
4285 * exec.c (section_table_xfer_memory_partial): Likewise.
4286 (exec_xfer_partial): Likewise.
4287 * exec.h (section_table_xfer_memory_partial): Update
4289 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
4290 instead of plongest.
4291 (gnu_xfer_partial): Likewise.
4292 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
4293 (ia64_hpux_xfer_solib_got): Likewise.
4294 (ia64_hpux_xfer_partial): Likewise.
4295 * ia64-linux-nat.c (ia64_linux_xfer_partial):
4296 * inf-ptrace.c (inf_ptrace_xfer_partial):
4297 * inf-ttrace.c (inf_ttrace_xfer_partial):
4298 * linux-nat.c (linux_xfer_siginfo): Likewise.
4299 (linux_nat_xfer_partial): Likewise.
4300 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
4301 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
4302 * monitor.c (monitor_xfer_memory): Likewise.
4303 (monitor_xfer_partial): Likewise.
4304 * procfs.c (procfs_xfer_partial): Likewise.
4305 * record-full.c (record_full_xfer_partial): Likewise.
4306 (record_full_core_xfer_partial): Likewise.
4307 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
4308 instead of plongest.
4309 (gdbsim_xfer_partial): Likewise.
4310 * remote.c (remote_xfer_partial): Likewise.
4311 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4312 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4314 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4315 (rs6000_xfer_shared_libraries): Likewise.
4316 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4317 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4318 (sparc_xfer_partial): Likewise.
4319 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4320 (spu_xfer_partial): Likewise.
4321 * spu-multiarch.c (spu_xfer_partial): Likewise.
4322 * target.c (target_read_live_memory): Likewise.
4323 (memory_xfer_live_readonly_partial): Likewise.
4324 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
4325 (target_xfer_partial, default_xfer_partial): Likewise.
4326 (current_xfer_partial): Likewise.
4327 * tracepoint.c (tfile_xfer_partial): Likewise.
4328 * windows-nat.c (windows_xfer_memory): Likewise. Call
4329 pulongest instead of plongest.
4330 (windows_xfer_partial): Likewise.
4331 (windows_xfer_shared_libraries): Likewise.
4333 2014-01-14 Yao Qi <yao@codesourcery.com>
4335 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
4336 target_xfer_partial_ftype.
4338 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4342 * valops.c (value_struct_elt_bitpos): New function
4343 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
4344 object to 'None' if the field name is an empty string ("").
4345 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
4346 attribute to look for a field when 'name' is 'None'.
4347 (get_field_type): New function
4349 2014-01-13 Doug Evans <dje@google.com>
4352 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
4353 (try_open_dwop_file): Ditto.
4354 * gdb_bfd.c: #include "vec.h".
4355 (bfdp): New typedef.
4356 (struct gdb_bfd_data): New member included_bfds.
4357 (gdb_bfd_unref): Unref all included bfds.
4358 (gdb_bfd_record_inclusion): New function.
4359 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
4361 2014-01-13 Tom Tromey <tromey@redhat.com>
4363 * gdbcore.h (deprecated_core_resize_section_table): Remove.
4365 2014-01-13 Tom Tromey <tromey@redhat.com>
4367 * defs.h (use_windows): Remove.
4368 * gdb.c (main): Update.
4369 * main.c (captured_main, gdb_main): Update.
4370 * main.h (struct captured_main_args) <use_windows>: Remove.
4371 * top.c (use_windows): Remove.
4373 2014-01-13 Tom Tromey <tromey@redhat.com>
4375 * defs.h (deprecated_flush_hook): Remove.
4377 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4380 * linux-thread-db.c (try_thread_db_load): Add parameter
4381 check_auto_load_safe. Move here the file_is_auto_load_safe call.
4382 (try_thread_db_load_from_pdir_1): Move it there from here.
4383 (try_thread_db_load_from_sdir): Update caller.
4384 (try_thread_db_load_from_dir): Move it there from here.
4386 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
4388 * regformats/regdat.sh: Always rewrite the register file.
4390 2014-01-13 Pedro Alves <palves@redhat.com>
4392 * Makefile.in (CHECK_HEADERS): New variable.
4393 (check-headers:): New rule.
4395 2014-01-13 Tom Tromey <tromey@redhat.com>
4397 * cli/cli-setshow.c (do_set_command): Update.
4398 * defs.h (deprecated_set_hook): Remove.
4399 * top.c (deprecated_set_hook): Remove.
4401 2014-01-13 Pedro Alves <palves@redhat.com>
4403 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
4404 the tracepoint if the PC is a pseudo-register.
4406 2014-01-13 Tom Tromey <tromey@redhat.com>
4408 * defs.h (XCALLOC): Remove.
4409 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
4410 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
4411 * dwarf2loc.c (allocate_piece_closure): Likewise.
4412 * elfread.c (elf_symfile_segments): Likewise.
4413 (elf_symfile_segments): Likewise.
4414 * gdbtypes.c (copy_type_recursive): Likewise.
4415 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
4416 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
4417 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
4419 * mt-tdep.c (mt_gdbarch_init): Likewise.
4420 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
4422 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
4423 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
4424 * registry.c (registry_alloc_data): Likewise.
4425 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
4426 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
4427 * serial.c (serial_fdopen_ops): Likewise.
4428 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
4430 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
4431 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
4434 2014-01-13 Tom Tromey <tromey@redhat.com>
4436 * defs.h (XMALLOC): Remove.
4437 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
4438 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
4439 * cli-out.c (struct ui_out *): Likewise.
4440 * cli/cli-dump.c (add_dump_command): Likewise.
4441 (add_dump_command): Likewise.
4442 * complaints.c (get_complaints): Likewise.
4443 (find_complaint): Likewise.
4444 * dwarf2-frame.c (execute_cfa_program): Likewise.
4445 * dwarf2read.c (abbrev_table_read_table): Likewise.
4446 * gdbarch.sh: Likewise.
4447 * gdbarch.c: Rebuild.
4448 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
4449 * interps.c (interp_new): Likewise.
4450 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
4451 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
4452 * mi/mi-console.c (mi_console_file_new): Likewise.
4453 * mi/mi-interp.c (mi_interpreter_init): Likewise.
4454 * mi/mi-out.c (mi_out_new): Likewise.
4455 * mi/mi-parse.c (mi_parse): Likewise.
4456 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
4457 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
4458 * observer.c (xalloc_observer_list_node): Likewise.
4459 * regcache.c (regcache_xmalloc_1): Likewise.
4460 * reggroups.c (reggroup_new): Likewise.
4461 (_initialize_reggroup): Likewise.
4462 * registry.c (register_data_with_cleanup): Likewise.
4463 * remote.c (remote_notif_stop_alloc_reply): Likewise.
4464 * ser-base.c (serial_ttystate): Likewise.
4465 * ser-mingw.c (make_pipe_state): Likewise.
4466 * ser-pipe.c (pipe_open): Likewise.
4467 * serial.c (serial_open): Likewise.
4468 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
4469 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
4470 (tui_alloc_win_info): Likewise.
4471 (tui_add_content_elements): Likewise.
4472 * tui/tui-file.c (tui_file_new): Likewise.
4473 * tui/tui-out.c (tui_out_new): Likewise.
4474 * ui-file.c (mem_file_new): Likewise.
4475 * ui-out.c (push_level): Likewise.
4476 (make_cleanup_ui_out_end): Likewise.
4477 (append_header_to_list): Likewise.
4478 (ui_out_new): Likewise.
4479 * user-regs.c (user_reg_add_builtin): Likewise.
4481 2014-01-13 Tom Tromey <tromey@redhat.com>
4483 * defs.h (XZALLOC): Remove.
4484 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
4485 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
4486 (get_ada_tasks_inferior_data): Likewise.
4487 * auto-load.c (get_auto_load_pspace_data): Likewise.
4488 * auxv.c (get_auxv_inferior_data): Likewise.
4489 * bfd-target.c (target_bfd_reopen): Likewise.
4490 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
4491 (deprecated_insert_raw_breakpoint): Likewise.
4492 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
4493 * corelow.c (core_open): Likewise.
4494 * darwin-nat.c (darwin_check_new_threads): Likewise.
4495 (darwin_attach_pid): Likewise.
4496 * dummy-frame.c (dummy_frame_push): Likewise.
4497 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
4498 * dwarf2loc.c (allocate_piece_closure): Likewise.
4499 * elfread.c (elf_symfile_segments): Likewise.
4500 * eval.c (ptrmath_type_p): Likewise.
4501 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
4502 * gdbtypes.c (alloc_type_arch): Likewise.
4503 (alloc_type_instance): Likewise.
4504 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
4505 * inf-child.c (inf_child_can_use_agent): Likewise.
4506 * inflow.c (get_inflow_inferior_data): Likewise.
4507 * infrun.c (save_infcall_suspend_state): Likewise.
4508 * jit.c (jit_reader_load): Likewise.
4509 (get_jit_objfile_data): Likewise.
4510 (get_jit_program_space_data): Likewise.
4511 (jit_object_open_impl): Likewise.
4512 (jit_symtab_open_impl): Likewise.
4513 (jit_block_open_impl): Likewise.
4514 (jit_frame_sniffer): Likewise.
4515 * linux-fork.c (add_fork): Likewise.
4516 * maint.c (make_command_stats_cleanup): Likewise.
4517 * objfiles.c (get_objfile_pspace_data): Likewise.
4518 * opencl-lang.c (struct lval_closure): Likewise.
4519 * osdata.c (osdata_start_osdata): Likewise.
4520 * progspace.c (new_address_space): Likewise.
4521 (add_program_space): Likewise.
4522 * remote-sim.c (get_sim_inferior_data): Likewise.
4523 * sh-tdep.c (sh_gdbarch_init): Likewise.
4524 * skip.c (Ignore): Likewise.
4525 (skip_delete_command): Likewise.
4526 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4527 (library_list_start_library): Likewise.
4528 (solib_aix_current_sos): Likewise.
4529 * solib-darwin.c (get_darwin_info): Likewise.
4530 (darwin_current_sos): Likewise.
4531 * solib-dsbt.c (get_dsbt_info): Likewise.
4532 * solib-ia64-hpux.c (new_so_list): Likewise.
4533 (ia64_hpux_get_solib_linkage_addr): Likewise.
4534 * solib-spu.c (append_ocl_sos): Likewise.
4535 (spu_current_sos): Likewise.
4536 * solib-svr4.c (get_svr4_info): Likewise.
4537 (svr4_keep_data_in_core): Likewise.
4538 (library_list_start_library): Likewise.
4539 (svr4_default_sos): Likewise.
4540 (svr4_read_so_list): Likewise.
4541 * solib-target.c (library_list_start_library): Likewise.
4542 (solib_target_current_sos): Likewise.
4543 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4544 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4545 * symfile.c (default_symfile_segments): Likewise.
4546 * target-descriptions.c (tdesc_data_init): Likewise.
4547 (tdesc_create_reg): Likewise.
4548 (struct tdesc_type *): Likewise.
4549 (tdesc_create_vector): Likewise.
4550 (tdesc_set_struct_size): Likewise.
4551 (struct tdesc_type *): Likewise.
4552 (tdesc_free_feature): Likewise.
4553 (tdesc_create_feature): Likewise.
4554 * windows-nat.c (windows_add_thread): Likewise.
4555 (windows_make_so): Likewise.
4556 * xml-support.c (gdb_xml_body_text): Likewise.
4557 (gdb_xml_create_parser_and_cleanup): Likewise.
4558 (xml_process_xincludes): Likewise.
4559 * xml-syscall.c (allocate_syscalls_info): Likewise.
4560 (syscall_create_syscall_desc): Likewise.
4562 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4564 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4565 function, with code from i386_stap_parse_special_token.
4566 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4567 (i386_stap_parse_special_token): Move code to the two functions
4570 2014-01-09 Pedro Alves <palves@redhat.com>
4571 Hui Zhu <hui@codesourcery.com>
4574 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4575 bp_err_string. Don't mark the location shlib_disabled if the
4576 error thrown wasn't a generic or memory error. Catch errors
4577 thrown while inserting breakpoints in overlayed code. Output
4578 error message of software breakpoints.
4579 * remote.c (remote_insert_breakpoint): If this breakpoint has
4580 target-side commands but this stub doesn't support Z0 packets,
4581 throw NOT_SUPPORTED_ERROR error.
4582 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4583 * target.h (target_insert_breakpoint): Extend comment.
4584 (target_insert_hw_breakpoint): Add comment.
4586 2014-01-08 Pedro Alves <palves@redhat.com>
4588 * remote.c (remote_add_thread): Add threads silently if starting
4590 (remote_notice_new_inferior): If in all-stop, and starting up,
4591 don't call notice_new_inferior.
4592 (get_current_thread): New function, factored out from ...
4593 (add_current_inferior_and_thread): ... this. Adjust.
4594 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4595 found any thread, then select the remote's current thread as GDB's
4598 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4600 * NEWS: Create a new section for the next release branch.
4601 Rename the section of the current branch, now that it has
4604 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4606 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4607 * version.in: Bump version to 7.7.50.DATE-cvs.
4609 2014-01-08 Yao Qi <yao@codesourcery.com>
4611 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4612 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4613 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4615 2014-01-08 Yao Qi <yao@codesourcery.com>
4617 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4618 return value of bfd_get_filename to symbol_file_add_from_bfd.
4620 2014-01-08 Pierre Muller <muller@sourceware.org>
4623 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4624 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4625 to prim_record_mininal_symbol_and_info.
4626 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4627 in call to prim_record_minimal_symbol_and_info.
4628 (read_pe_exported_syms): Set index field of section_data.
4630 2014-01-07 Andrew Pinski <apinski@cavium.com>
4632 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4633 * features/aarch64.c: Regenerate.
4635 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4637 * target.c (return_null): Define.
4638 (update_current_target): Use it instead of return_zero for
4639 functions that return a pointer.
4641 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4643 * source.c (add_path): Fix check for duplicated paths in the previously
4646 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4648 * ada-lang.c: Remove duplicated include statements.
4649 * alphabsd-nat.c: Ditto.
4650 * amd64-darwin-tdep.c: Ditto.
4651 * amd64fbsd-nat.c: Ditto.
4652 * auto-load.c: Ditto.
4654 * breakpoint.c: Ditto.
4656 * fork-child.c: Ditto.
4657 * gdb_usleep.c: Ditto.
4658 * i386-darwin-tdep.c: Ditto.
4659 * i386fbsd-nat.c: Ditto.
4661 * inferior.c: Ditto.
4663 * linux-nat.c: Ditto.
4664 * linux-tdep.c: Ditto.
4665 * m68kbsd-nat.c: Ditto.
4666 * m68klinux-nat.c: Ditto.
4667 * microblaze-tdep.c: Ditto.
4668 * mips-linux-tdep.c: Ditto.
4669 * mn10300-tdep.c: Ditto.
4670 * nto-tdep.c: Ditto.
4671 * opencl-lang.c: Ditto.
4673 * printcmd.c: Ditto.
4674 * regcache.c: Ditto.
4675 * remote-m32r-sdi.c: Ditto.
4679 * tilegx-linux-nat.c: Ditto.
4680 * tilegx-tdep.c: Ditto.
4681 * tracepoint.c: Ditto.
4683 * vaxbsd-nat.c: Ditto.
4684 * windows-nat.c: Ditto.
4685 * xtensa-tdep.c: Ditto.
4687 2014-01-07 Yao Qi <yao@codesourcery.com>
4689 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4691 2014-01-07 Yao Qi <yao@codesourcery.com>
4692 Joel Brobecker <brobecker@adacore.com>
4694 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4695 (pdc_write_regs): Likewise.
4696 (fetch_regs_kernel_thread): Likewise.
4697 (store_regs_kernel_thread): Likewise.
4699 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4701 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4702 tagged type objects to their actual type.
4704 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4706 * ada-valprint.c (print_field_values): Add "language" parameter.
4707 Update calls to print_field_values and print_variant_part.
4708 Pass new parameter "language" in call to val_print instead
4709 of "current_language". Replace call to ada_val_print by call
4711 (print_variant_part): Add "language" parameter.
4712 (ada_val_print_struct_union): Update call to print_field_values.
4714 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4716 * ada-valprint.c (ui_memcpy): Delete.
4717 (ada_print_floating): Update documentation. Add empty line
4718 between between function documentation and implementation.
4719 Delete variable "buffer". Use ui_file_xstrdup in place of
4720 ui_file_put. Minor adjustments following this change.
4722 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4724 * ada-valprint.c (ada_val_print_string): New function,
4725 extracted from ada_val_print_array.
4726 (ada_val_print_array): Replace extracted code by call
4727 to ada_val_print_string followed by a return. Move
4728 "else" branch to the function's top block.
4730 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4732 * ada-valprint.c (ada_val_print_array): Move implementation
4733 down. Rename parameter "offset" and "val" into "offset_aligned"
4734 and "original_value" respectively. Add parameter "offset".
4736 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4738 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4739 re-organizing the code. Change the "???" message printed
4740 when target type is a TYPE_CODE_UNDEF into
4741 "<ref to undefined type>".
4743 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4745 * ada-valprint.c (print_record): Delete, implementation inlined...
4746 (ada_val_print_struct_union): ... here. Remove call to
4747 ada_check_typedef in inlined implementation.
4749 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4751 * ada-valprint.c (ada_val_print_gnat_array): New function,
4752 extracted from ada_val_print_1;
4753 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4754 (ada_val_print_flt, ada_val_print_struct_union)
4755 (ada_val_print_ref): Likewise.
4756 (ada_val_print_1): Delete variables i and elttype.
4757 Replace extracted-out code by call to corresponding
4760 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4762 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4764 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4766 * ada-valprint.c (ada_val_print_1): Replace calls to
4767 ada_val_print_1 by calls to val_print.
4769 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4771 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4772 Update calls to self accordingly. Replace calls to c_val_print
4773 by calls to val_print.
4775 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4777 * ada-valprint.c (print_record): Delete declaration.
4778 (adjust_type_signedness, ada_val_print_1): Likewise.
4779 (ada_val_print): Move function implementation down.
4780 (print_variant_part, print_field_values, print_record):
4781 Move function implementation up.
4783 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4785 * python/py-type.c (typy_get_name): New function.
4786 (type_object_getset): Add entry for attribute "name".
4787 * NEWS: Add entry mentioning this new attribute.
4789 2014-01-07 Yao Qi <yao@codesourcery.com>
4791 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
4794 2014-01-07 Yao Qi <yao@codesourcery.com>
4796 * gnu-nat.c (info_port_rights): Add qualifier const to
4799 2014-01-07 Yao Qi <yao@codesourcery.com>
4801 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
4803 2014-01-07 Yao Qi <yao@codesourcery.com>
4805 * gnu-nat.c (make_inf) Update declaration.
4806 (make_inf): Make it static.
4807 (inf_set_traced): Likewise.
4808 (inf_port_to_thread, inf_task_died_status): Likewise.
4810 2014-01-07 Yao Qi <yao@codesourcery.com>
4812 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
4814 2014-01-07 Yao Qi <yao@codesourcery.com>
4816 * gnu-nat.c (_initialize_gnu_nat): Declare.
4818 2014-01-07 Yao Qi <yao@codesourcery.com>
4820 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
4822 (struct gdbarch_info) <byte_order>: Change type to
4824 <byte_order_for_code>: Likewise.
4825 * gdbarch.c, gdbarch.h: Regenerated.
4827 2014-01-06 Sasha Smundak <asmundak@google.com>
4829 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
4831 2014-01-06 Tom Tromey <tromey@redhat.com>
4833 * doublest.c (convert_doublest_to_floatformat): Use const, not
4835 * somread.c (som_symtab_read): Likewise.
4837 2014-01-07 Hui Zhu <hui@codesourcery.com>
4839 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
4840 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
4841 (gdb_bfd_fopen): Ditto.
4842 (gdb_bfd_openr): Ditto.
4843 (gdb_bfd_openw): Ditto.
4844 (gdb_bfd_openr_iovec): Ditto.
4845 (gdb_bfd_fdopenr): Ditto.
4846 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
4847 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
4849 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
4851 * symfile-mem.c (symbol_file_add_from_memory): Removed
4852 gdb_bfd_stash_filename.
4854 2014-01-03 Doug Evans <dje@google.com>
4856 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
4859 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4861 Update year range in copyright notice of all files.
4863 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4865 * top.c (print_gdb_version): Set copyright year to 2014.
4867 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4869 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
4871 For older changes see ChangeLog-2013.
4877 version-control: never