1 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
3 * NEWS: Add entry for the new feature
4 * python/py-value.c (valpy_binop): Call value_x_binop for struct
7 2014-02-19 Stan Shebs <stan@codesourcery.com>
9 * MAINTAINERS: List Yao Qi as nios2 maintainer.
11 2014-02-19 Pedro Alves <palves@redhat.com>
13 * common/ptid.h (struct ptid): Mention that process_stratum
14 targets should prefer ptid.lwp.
16 2014-02-19 Pedro Alves <palves@redhat.com>
18 * remote.c (remote_thread_alive, write_ptid, read_ptid)
19 (read_ptid, remote_newthread_step, remote_threads_extra_info)
20 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
21 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
22 store remote thread ids rather than ptid.tid.
23 (_initialize_remote): Adjust.
25 2014-02-19 Tom Tromey <tromey@redhat.com>
27 * target.c (target_get_unwinder): Rewrite.
28 (target_get_tailcall_unwinder): Rewrite.
29 * record-btrace.c (record_btrace_to_get_unwinder): New function.
30 (record_btrace_to_get_tailcall_unwinder): New function.
31 (init_record_btrace_ops): Update.
32 * target.h (struct target_ops) <to_get_unwinder,
33 to_get_tailcall_unwinder>: Now function pointers. Use
34 TARGET_DEFAULT_RETURN.
36 2014-02-19 Tom Tromey <tromey@redhat.com>
38 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
40 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
42 2014-02-19 Tom Tromey <tromey@redhat.com>
44 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
46 * target-delegates.c: Rebuild.
47 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
49 * target.c (default_target_decr_pc_after_break): Rename from
50 forward_target_decr_pc_after_break. Simplify.
51 (target_decr_pc_after_break): Rely on delegation.
53 2014-02-19 Tom Tromey <tromey@redhat.com>
55 * target.c (update_current_target): Do not INHERIT to_doc or
56 to_magic. Do not de_fault to_open or to_close.
58 2014-02-19 Tom Tromey <tromey@redhat.com>
60 * gcore.h (objfile_find_memory_regions): Declare.
61 * gcore.c (objfile_find_memory_regions): No longer static. Add
63 (_initialize_gcore): Don't call exec_set_find_memory_regions.
64 * exec.c: Include gcore.h.
65 (exec_set_find_memory_regions): Remove.
66 (exec_find_memory_regions): Remove.
67 (exec_do_find_memory_regions): Remove.
68 (init_exec_ops): Update.
69 * defs.h (exec_set_find_memory_regions): Remove.
71 2014-02-19 Tom Tromey <tromey@redhat.com>
73 * target-delegates.c: Rebuild.
74 * target.h (struct target_ops) <to_extra_thread_info,
75 to_thread_name, to_pid_to_exec_file, to_get_section_table,
76 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
77 not 0, in TARGET_DEFAULT_RETURN.
79 2014-02-19 Tom Tromey <tromey@redhat.com>
81 * target.c (complete_target_initialization): Remove casts. Use
82 return_zero_has_execution.
83 (return_zero): Add "ignore" argument.
84 (return_zero_has_execution): New function.
85 (init_dummy_target): Remove casts. Use
86 return_zero_has_execution.
88 2014-02-19 Tom Tromey <tromey@redhat.com>
90 * target.c (update_current_target): Update comments. Do not
93 2014-02-19 Tom Tromey <tromey@redhat.com>
95 * arm-linux-nat.c (arm_linux_read_description): Delegate when
97 * corelow.c (core_read_description): Delegate when needed.
98 * remote.c (remote_read_description): Delegate when needed.
99 * target-delegates.c: Rebuild.
100 * target.c (target_read_description): Rewrite.
101 * target.h (struct target_ops) <to_read_description>: Update
102 comment. Use TARGET_DEFAULT_RETURN.
104 2014-02-19 Tom Tromey <tromey@redhat.com>
106 * target-delegates.c: Rebuild.
107 * target.c (update_current_target): Don't inherit or default
109 (find_default_run_target): Check against delegate_can_run.
110 * target.h (struct target_ops) <to_can_run>: Use
111 TARGET_DEFAULT_RETURN.
113 2014-02-19 Tom Tromey <tromey@redhat.com>
115 * target-delegates.c: Rebuild.
116 * target.c (target_disconnect): Unconditionally delegate.
117 * target.h (struct target_ops) <to_disconnect>: Use
118 TARGET_DEFAULT_NORETURN.
120 2014-02-19 Tom Tromey <tromey@redhat.com>
122 * record.c (record_stop): Unconditionally delegate.
123 * target-delegates.c: Rebuild.
124 * target.c (target_stop_recording): Unconditionally delegate.
125 * target.h (struct target_ops) <to_stop_recording>: Use
126 TARGET_DEFAULT_IGNORE.
128 2014-02-19 Tom Tromey <tromey@redhat.com>
130 * target-delegates.c: Rebuild.
131 * target.c (target_enable_btrace): Unconditionally delegate.
132 * target.h (struct target_ops) <to_enable_btrace>: Use
133 TARGET_DEFAULT_NORETURN.
135 2014-02-19 Tom Tromey <tromey@redhat.com>
137 * target-delegates.c: Rebuild.
138 * target.c (target_read_btrace): Unconditionally delegate.
139 * target.h (struct target_ops) <to_read_btrace>: Use
140 TARGET_DEFAULT_NORETURN.
142 2014-02-19 Tom Tromey <tromey@redhat.com>
144 * target-delegates.c: Rebuild.
145 * target.c (target_teardown_btrace): Unconditionally delegate.
146 * target.h (struct target_ops) <to_teardown_btrace>: Use
147 TARGET_DEFAULT_NORETURN.
149 2014-02-19 Tom Tromey <tromey@redhat.com>
151 * target-delegates.c: Rebuild.
152 * target.c (target_disable_btrace): Unconditionally delegate.
153 * target.h (struct target_ops) <to_disable_btrace>: Use
154 TARGET_DEFAULT_NORETURN.
156 2014-02-19 Tom Tromey <tromey@redhat.com>
158 * target-delegates.c: Rebuild.
159 * target.c (default_search_memory): New function.
160 (simple_search_memory): Update comment.
161 (target_search_memory): Unconditionally delegate.
162 * target.h (struct target_ops) <to_search_memory>: Use
165 2014-02-19 Tom Tromey <tromey@redhat.com>
167 * auxv.c (default_auxv_parse): No longer static.
168 (target_auxv_parse): Unconditionally delegate.
169 * auxv.h (default_auxv_parse): Declare.
170 * target-delegates.c: Rebuild.
171 * target.c: Include auxv.h.
172 * target.h (struct target_ops) <to_auxv_parse>: Use
175 2014-02-19 Tom Tromey <tromey@redhat.com>
177 * target-delegates.c: Rebuild.
178 * target.c (target_memory_map): Unconditionally delegate.
179 * target.h (struct target_ops) <to_memory_map>: Use
180 TARGET_DEFAULT_RETURN.
182 2014-02-19 Tom Tromey <tromey@redhat.com>
184 * target-delegates.c: Rebuild.
185 * target.c (target_thread_alive): Unconditionally delegate.
186 * target.h (struct target_ops) <to_thread_alive>: Use
187 TARGET_DEFAULT_RETURN.
189 2014-02-19 Tom Tromey <tromey@redhat.com>
191 * target-delegates.c: Rebuild.
192 * target.c (target_save_record): Unconditionally delegate.
193 * target.h (struct target_ops) <to_save_record>: Use
194 TARGET_DEFAULT_NORETURN.
196 2014-02-19 Tom Tromey <tromey@redhat.com>
198 * target-delegates.c: Rebuild.
199 * target.c (target_delete_record): Unconditionally delegate.
200 * target.h (struct target_ops) <to_delete_record>: Use
201 TARGET_DEFAULT_NORETURN.
203 2014-02-19 Tom Tromey <tromey@redhat.com>
205 * target-delegates.c: Rebuild.
206 * target.c (target_record_is_replaying): Unconditionally
208 * target.h (struct target_ops) <to_record_is_replaying>: Use
209 TARGET_DEFAULT_RETURN.
211 2014-02-19 Tom Tromey <tromey@redhat.com>
213 * target-delegates.c: Rebuild.
214 * target.c (target_goto_record_begin): Unconditionally delegate.
215 * target.h (struct target_ops) <to_goto_record_begin>: Use
216 TARGET_DEFAULT_NORETURN.
218 2014-02-19 Tom Tromey <tromey@redhat.com>
220 * target-delegates.c: Rebuild.
221 * target.c (target_goto_record_end): Unconditionally delegate.
222 * target.h (struct target_ops) <to_goto_record_end>: Use
223 TARGET_DEFAULT_NORETURN.
225 2014-02-19 Tom Tromey <tromey@redhat.com>
227 * target-delegates.c: Rebuild.
228 * target.c (target_goto_record): Unconditionally delegate.
229 * target.h (struct target_ops) <to_goto_record>: Use
230 TARGET_DEFAULT_NORETURN.
232 2014-02-19 Tom Tromey <tromey@redhat.com>
234 * target-delegates.c: Rebuild.
235 * target.c (target_insn_history): Unconditionally delegate.
236 * target.h (struct target_ops) <to_insn_history>: Use
237 TARGET_DEFAULT_NORETURN.
239 2014-02-19 Tom Tromey <tromey@redhat.com>
241 * target-delegates.c: Rebuild.
242 * target.c (target_insn_history_from): Unconditionally delegate.
243 * target.h (struct target_ops) <to_insn_history_from>: Use
244 TARGET_DEFAULT_NORETURN.
246 2014-02-19 Tom Tromey <tromey@redhat.com>
248 * target-delegates.c: Rebuild.
249 * target.c (target_insn_history_range): Unconditionally delegate.
250 * target.h (struct target_ops) <to_insn_history_range>: Use
251 TARGET_DEFAULT_NORETURN.
253 2014-02-19 Tom Tromey <tromey@redhat.com>
255 * target-delegates.c: Rebuild.
256 * target.c (target_call_history): Unconditionally delegate.
257 * target.h (struct target_ops) <to_call_history>: Use
258 TARGET_DEFAULT_NORETURN.
260 2014-02-19 Tom Tromey <tromey@redhat.com>
262 * target-delegates.c: Rebuild.
263 * target.c (target_call_history_from): Unconditionally delegate.
264 * target.h (struct target_ops) <to_call_history_from>: Use
265 TARGET_DEFAULT_NORETURN.
267 2014-02-19 Tom Tromey <tromey@redhat.com>
269 * target-delegates.c: Rebuild.
270 * target.c (target_call_history_range): Unconditionally delegate.
271 * target.h (struct target_ops) <to_call_history_range>: Use
272 TARGET_DEFAULT_NORETURN.
274 2014-02-19 Tom Tromey <tromey@redhat.com>
276 * target-delegates.c: Rebuild.
277 * target.c (target_verify_memory): Unconditionally delegate.
278 * target.h (struct target_ops) <to_verify_memory>: Use
279 TARGET_DEFAULT_NORETURN.
281 2014-02-19 Tom Tromey <tromey@redhat.com>
283 * target-delegates.c: Rebuild.
284 * target.c (target_core_of_thread): Unconditionally delegate.
285 * target.h (struct target_ops) <to_core_of_thread>: Use
286 TARGET_DEFAULT_RETURN.
288 2014-02-19 Tom Tromey <tromey@redhat.com>
290 * target-delegates.c: Rebuild.
291 * target.c (target_flash_done): Unconditionally delegate.
292 * target.h (struct target_ops) <to_flash_done>: Use
293 TARGET_DEFAULT_NORETURN.
295 2014-02-19 Tom Tromey <tromey@redhat.com>
297 * target-delegates.c: Rebuild.
298 * target.c (target_flash_erase): Unconditionally delegate.
299 * target.h (struct target_ops) <to_flash_erase>: Use
300 TARGET_DEFAULT_NORETURN.
302 2014-02-19 Tom Tromey <tromey@redhat.com>
304 * target-delegates.c: Rebuild.
305 * target.c (target_get_section_table): Unconditionally delegate.
306 * target.h (struct target_ops) <to_get_section_table>: Use
307 TARGET_DEFAULT_RETURN.
309 2014-02-19 Tom Tromey <tromey@redhat.com>
311 * target-delegates.c: Rebuild.
312 * target.c (target_pid_to_str): Unconditionally delegate.
313 (init_dummy_target): Don't initialize to_pid_to_str.
314 (default_pid_to_str): Rename from dummy_pid_to_str.
315 * target.h (struct target_ops) <to_pid_to_str>: Use
318 2014-02-19 Tom Tromey <tromey@redhat.com>
320 * target-delegates.c: Rebuild.
321 * target.c (target_find_new_threads): Unconditionally delegate.
322 * target.h (struct target_ops) <to_find_new_threads>: Use
323 TARGET_DEFAULT_RETURN.
325 2014-02-19 Tom Tromey <tromey@redhat.com>
327 * target-delegates.c: Rebuild.
328 * target.c (target_program_signals): Unconditionally delegate.
329 * target.h (struct target_ops) <to_program_signals>: Use
330 TARGET_DEFAULT_IGNORE.
332 2014-02-19 Tom Tromey <tromey@redhat.com>
334 * target-delegates.c: Rebuild.
335 * target.c (target_pass_signals): Unconditionally delegate.
336 * target.h (struct target_ops) <to_pass_signals>: Use
337 TARGET_DEFAULT_IGNORE.
339 2014-02-19 Tom Tromey <tromey@redhat.com>
341 * target-delegates.c: Rebuild.
342 * target.c (default_mourn_inferior): New function.
343 (target_mourn_inferior): Unconditionally delegate.
344 * target.h (struct target_ops) <to_mourn_inferior>: Use
347 2014-02-19 Tom Tromey <tromey@redhat.com>
349 * target-delegates.c: Rebuild.
350 * target.c (default_follow_fork): New function.
351 (target_follow_fork): Unconditionally delegate.
352 * target.h (struct target_ops) <to_follow_fork>: Use
355 2014-02-19 Tom Tromey <tromey@redhat.com>
357 * target-delegates.c: Rebuild.
358 * target.c (target_kill): Unconditionally delegate.
359 * target.h (struct target_ops) <to_kill>: Use
360 TARGET_DEFAULT_NORETURN.
362 2014-02-19 Tom Tromey <tromey@redhat.com>
364 * target-delegates.c: Rebuild.
365 * target.c (target_masked_watch_num_registers): Unconditionally
367 * target.h (struct target_ops) <to_masked_watch_num_registers>:
368 Use TARGET_DEFAULT_RETURN.
370 2014-02-19 Tom Tromey <tromey@redhat.com>
372 * target-delegates.c: Rebuild.
373 * target.c (target_remove_mask_watchpoint): Unconditionally
375 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
376 TARGET_DEFAULT_RETURN.
378 2014-02-19 Tom Tromey <tromey@redhat.com>
380 * target-delegates.c: Rebuild.
381 * target.c (target_insert_mask_watchpoint): Unconditionally
383 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
384 TARGET_DEFAULT_RETURN.
386 2014-02-19 Tom Tromey <tromey@redhat.com>
388 * target-delegates.c: Rebuild.
389 * target.c (target_ranged_break_num_registers): Unconditionally
391 * target.h (struct target_ops) <to_ranged_break_num_registers>:
392 Use TARGET_DEFAULT_RETURN.
394 2014-02-19 Tom Tromey <tromey@redhat.com>
396 * target-delegates.c: Rebuild.
397 * target.c (target_fetch_registers): Unconditionally delegate.
398 * target.h (struct target_ops) <to_fetch_registers>: Use
399 TARGET_DEFAULT_NORETURN.
401 2014-02-19 Tom Tromey <tromey@redhat.com>
403 * target-delegates.c: Rebuild.
404 * target.c (update_current_target): Don't inherit or default
406 * target.h (struct target_ops) <to_stop>: Use
407 TARGET_DEFAULT_IGNORE.
409 2014-02-19 Tom Tromey <tromey@redhat.com>
411 * target-delegates.c: Rebuild.
412 * target.c (update_current_target): Don't inherit or default
413 to_can_run_breakpoint_commands.
414 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
415 Use TARGET_DEFAULT_RETURN.
417 2014-02-19 Tom Tromey <tromey@redhat.com>
419 * target-delegates.c: Rebuild.
420 * target.c (update_current_target): Don't inherit or default
421 to_supports_evaluation_of_breakpoint_conditions.
422 * target.h (struct target_ops)
423 <to_supports_evaluation_of_breakpoint_conditions>: Use
424 TARGET_DEFAULT_RETURN.
426 2014-02-19 Tom Tromey <tromey@redhat.com>
428 * target-delegates.c: Rebuild.
429 * target.c (update_current_target): Don't inherit or default
430 to_augmented_libraries_svr4_read.
431 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
432 Use TARGET_DEFAULT_RETURN.
434 2014-02-19 Tom Tromey <tromey@redhat.com>
436 * target-delegates.c: Rebuild.
437 * target.c (update_current_target): Don't inherit or default
439 * target.h (struct target_ops) <to_can_use_agent>: Use
440 TARGET_DEFAULT_RETURN.
442 2014-02-19 Tom Tromey <tromey@redhat.com>
444 * target-delegates.c: Rebuild.
445 * target.c (update_current_target): Don't inherit or default
447 * target.h (struct target_ops) <to_use_agent>: Use
448 TARGET_DEFAULT_NORETURN.
450 2014-02-19 Tom Tromey <tromey@redhat.com>
452 * target-delegates.c: Rebuild.
453 * target.c (update_current_target): Don't inherit or default
455 (return_null): Remove.
456 * target.h (struct target_ops) <to_traceframe_info>: Use
457 TARGET_DEFAULT_RETURN.
459 2014-02-19 Tom Tromey <tromey@redhat.com>
461 * target-delegates.c: Rebuild.
462 * target.c (update_current_target): Don't inherit or default
463 to_static_tracepoint_markers_by_strid.
464 * target.h (struct target_ops)
465 <to_static_tracepoint_markers_by_strid>: Use
466 TARGET_DEFAULT_NORETURN.
468 2014-02-19 Tom Tromey <tromey@redhat.com>
470 * target-delegates.c: Rebuild.
471 * target.c (update_current_target): Don't inherit or default
472 to_static_tracepoint_marker_at.
473 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
474 Use TARGET_DEFAULT_RETURN.
476 2014-02-19 Tom Tromey <tromey@redhat.com>
478 * target-delegates.c: Rebuild.
479 * target.c (update_current_target): Don't inherit or default
481 * target.h (struct target_ops) <to_set_permissions>: Use
482 TARGET_DEFAULT_IGNORE.
484 2014-02-19 Tom Tromey <tromey@redhat.com>
486 * target-delegates.c: Rebuild.
487 * target.c (update_current_target): Don't inherit or default
489 * target.h (struct target_ops) <to_get_tib_address>: Use
490 TARGET_DEFAULT_NORETURN.
492 2014-02-19 Tom Tromey <tromey@redhat.com>
494 * target-delegates.c: Rebuild.
495 * target.c (update_current_target): Don't inherit or default
497 * target.h (struct target_ops) <to_set_trace_notes>: Use
498 TARGET_DEFAULT_RETURN.
500 2014-02-19 Tom Tromey <tromey@redhat.com>
502 * target-delegates.c: Rebuild.
503 * target.c (update_current_target): Don't initialize
504 to_set_trace_buffer_size.
505 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
506 TARGET_DEFAULT_IGNORE.
508 2014-02-19 Tom Tromey <tromey@redhat.com>
510 * target-delegates.c: Rebuild.
511 * target.c (update_current_target): Don't inherit or default
512 to_set_circular_trace_buffer.
513 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
514 TARGET_DEFAULT_IGNORE.
516 2014-02-19 Tom Tromey <tromey@redhat.com>
518 * target-delegates.c: Rebuild.
519 * target.c (update_current_target): Don't inherit or default
520 to_set_disconnected_tracing.
521 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
522 TARGET_DEFAULT_IGNORE.
524 2014-02-19 Tom Tromey <tromey@redhat.com>
526 * target-delegates.c: Rebuild.
527 * target.c (update_current_target): Don't inherit or default
528 to_get_min_fast_tracepoint_insn_len.
529 (return_minus_one): Remove.
530 * target.h (struct target_ops)
531 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
533 2014-02-19 Tom Tromey <tromey@redhat.com>
535 * target-delegates.c: Rebuild.
536 * target.c (update_current_target): Don't inherit or default
537 to_get_raw_trace_data.
538 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
539 TARGET_DEFAULT_NORETURN.
541 2014-02-19 Tom Tromey <tromey@redhat.com>
543 * target-delegates.c: Rebuild.
544 * target.c (update_current_target): Don't inherit or default
545 to_upload_trace_state_variables.
546 * target.h (struct target_ops) <to_upload_trace_state_variables>:
547 Use TARGET_DEFAULT_RETURN.
549 2014-02-19 Tom Tromey <tromey@redhat.com>
551 * target-delegates.c: Rebuild.
552 * target.c (update_current_target): Don't inherit or default
553 to_upload_tracepoints.
554 * target.h (struct target_ops) <to_upload_tracepoints>: Use
555 TARGET_DEFAULT_RETURN.
557 2014-02-19 Tom Tromey <tromey@redhat.com>
559 * target-delegates.c: Rebuild.
560 * target.c (update_current_target): Don't inherit or default
562 * target.h (struct target_ops) <to_save_trace_data>: Use
563 TARGET_DEFAULT_NORETURN.
565 2014-02-19 Tom Tromey <tromey@redhat.com>
567 * target-delegates.c: Rebuild.
568 * target.c (update_current_target): Don't inherit or default
569 to_get_trace_state_variable_value.
570 * target.h (struct target_ops)
571 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
573 2014-02-19 Tom Tromey <tromey@redhat.com>
575 * target-delegates.c: Rebuild.
576 * target.c (update_current_target): Don't inherit or default
578 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
580 2014-02-19 Tom Tromey <tromey@redhat.com>
582 * target-delegates.c: Rebuild.
583 * target.c (update_current_target): Don't inherit or default
585 * target.h (struct target_ops) <to_trace_stop>: Use
586 TARGET_DEFAULT_NORETURN.
588 2014-02-19 Tom Tromey <tromey@redhat.com>
590 * target-delegates.c: Rebuild.
591 * target.c (update_current_target): Don't inherit or default
592 to_get_tracepoint_status.
593 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
594 TARGET_DEFAULT_NORETURN.
596 2014-02-19 Tom Tromey <tromey@redhat.com>
598 * target-delegates.c: Rebuild.
599 * target.c (update_current_target): Don't inherit or default
601 * target.h (struct target_ops) <to_get_trace_status>: Use
602 TARGET_DEFAULT_RETURN.
604 2014-02-19 Tom Tromey <tromey@redhat.com>
606 * target-delegates.c: Rebuild.
607 * target.c (update_current_target): Don't inherit or default
609 * target.h (struct target_ops) <to_trace_start>: Use
610 TARGET_DEFAULT_NORETURN.
612 2014-02-19 Tom Tromey <tromey@redhat.com>
614 * target-delegates.c: Rebuild.
615 * target.c (update_current_target): Don't inherit or default
616 to_trace_set_readonly_regions.
617 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
618 Use TARGET_DEFAULT_NORETURN.
620 2014-02-19 Tom Tromey <tromey@redhat.com>
622 * target-delegates.c: Rebuild.
623 * target.c (update_current_target): Don't inherit or default
624 to_disable_tracepoint.
625 * target.h (struct target_ops) <to_disable_tracepoint>: Use
626 TARGET_DEFAULT_NORETURN.
628 2014-02-19 Tom Tromey <tromey@redhat.com>
630 * target-delegates.c: Rebuild.
631 * target.c (update_current_target): Don't inherit or default
632 to_enable_tracepoint.
633 * target.h (struct target_ops) <to_enable_tracepoint>: Use
634 TARGET_DEFAULT_NORETURN.
636 2014-02-19 Tom Tromey <tromey@redhat.com>
638 * target-delegates.c: Rebuild.
639 * target.c (update_current_target): Don't inherit or default
640 to_download_trace_state_variable.
641 * target.h (struct target_ops) <to_download_trace_state_variable>:
642 Use TARGET_DEFAULT_NORETURN.
644 2014-02-19 Tom Tromey <tromey@redhat.com>
646 * target-delegates.c: Rebuild.
647 * target.c (update_current_target): Don't inherit or default
648 to_can_download_tracepoint.
649 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
650 TARGET_DEFAULT_RETURN.
652 2014-02-19 Tom Tromey <tromey@redhat.com>
654 * target-delegates.c: Rebuild.
655 * target.c (update_current_target): Don't inherit or default
656 to_download_tracepoint.
657 * target.h (struct target_ops) <to_download_tracepoint>: Use
658 TARGET_DEFAULT_NORETURN.
660 2014-02-19 Tom Tromey <tromey@redhat.com>
662 * target-delegates.c: Rebuild.
663 * target.c (update_current_target): Don't inherit or default
665 * target.h (struct target_ops) <to_trace_init>: Use
666 TARGET_DEFAULT_RETURN.
668 2014-02-19 Tom Tromey <tromey@redhat.com>
670 * target-delegates.c: Rebuild.
671 * target.c (update_current_target): Don't inherit or default
672 to_supports_string_tracing.
673 * target.h (struct target_ops) <to_supports_string_tracing>: Use
674 TARGET_DEFAULT_RETURN.
676 2014-02-19 Tom Tromey <tromey@redhat.com>
678 * target-delegates.c: Rebuild.
679 * target.c (update_current_target): Don't inherit or default
680 to_supports_enable_disable_tracepoint.
681 * target.h (struct target_ops)
682 <to_supports_enable_disable_tracepoint>: Use
683 TARGET_DEFAULT_RETURN.
685 2014-02-19 Tom Tromey <tromey@redhat.com>
687 * target-delegates.c: Rebuild.
688 * target.c (update_current_target): Don't inherit or default
689 to_supports_multi_process.
690 * target.h (struct target_ops) <to_supports_multi_process>: Use
691 TARGET_DEFAULT_RETURN.
693 2014-02-19 Tom Tromey <tromey@redhat.com>
695 * target-delegates.c: Rebuild.
696 * target.c (update_current_target): Don't inherit or default
697 to_get_ada_task_ptid.
698 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
701 2014-02-19 Tom Tromey <tromey@redhat.com>
703 * target-delegates.c: Rebuild.
704 * target.c (update_current_target): Don't inherit or default
705 to_thread_architecture.
706 * target.h (struct target_ops) <to_thread_architecture>: Use
709 2014-02-19 Tom Tromey <tromey@redhat.com>
711 * target-delegates.c: Rebuild.
712 * target.c (update_current_target): Don't inherit or default
713 to_execution_direction.
714 * target.h (struct target_ops) <to_execution_direction>: Use
717 2014-02-19 Tom Tromey <tromey@redhat.com>
719 * target-delegates.c: Rebuild.
720 * target.c (update_current_target): Don't inherit or default
721 to_can_execute_reverse.
722 * target.h (struct target_ops) <to_can_execute_reverse>: Use
723 TARGET_DEFAULT_RETURN.
724 (target_can_execute_reverse): Unconditionally delegate.
726 2014-02-19 Tom Tromey <tromey@redhat.com>
728 * target-delegates.c: Rebuild.
729 * target.c (update_current_target): Don't inherit or default
731 (dummy_goto_bookmark): Remove.
732 (init_dummy_target): Don't inherit or default to_goto_bookmark.
733 * target.h (struct target_ops) <to_goto_bookmark>: Use
734 TARGET_DEFAULT_NORETURN.
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
741 (dummy_get_bookmark): Remove.
742 (init_dummy_target): Don't inherit or default to_get_bookmark.
743 * target.h (struct target_ops) <to_get_bookmark>: Use
744 TARGET_DEFAULT_NORETURN
746 2014-02-19 Tom Tromey <tromey@redhat.com>
748 * target-delegates.c: Rebuild.
749 * target.c (update_current_target): Don't inherit or default
750 to_make_corefile_notes.
751 (init_dummy_target): Don't initialize to_make_corefile_notes.
752 * target.h (struct target_ops) <to_make_corefile_notes>: Use
755 2014-02-19 Tom Tromey <tromey@redhat.com>
757 * target-delegates.c: Rebuild.
758 * target.c (update_current_target): Don't inherit or default
759 to_find_memory_regions.
760 (init_dummy_target): Don't initialize to_find_memory_regions.
761 * target.h (struct target_ops) <to_find_memory_regions>: Use
764 2014-02-19 Tom Tromey <tromey@redhat.com>
766 * target-delegates.c: Rebuild.
767 * target.c (update_current_target): Don't inherit or default
769 * target.h (struct target_ops) <to_log_command>: Use
770 TARGET_DEFAULT_IGNORE.
771 (target_log_command): Unconditionally delegate.
773 2014-02-19 Tom Tromey <tromey@redhat.com>
775 * target-delegates.c: Rebuild.
776 * target.c (update_current_target): Don't inherit or default
778 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
779 TARGET_DEFAULT_RETURN.
781 2014-02-19 Tom Tromey <tromey@redhat.com>
783 * target-delegates.c: Rebuild.
784 * target.c (update_current_target): Don't inherit or default
786 (target_thread_name): Unconditionally delegate.
787 * target.h (struct target_ops) <to_thread_name>: Use
788 TARGET_DEFAULT_RETURN.
790 2014-02-19 Tom Tromey <tromey@redhat.com>
792 * target-delegates.c: Rebuild.
793 * target.c (update_current_target): Don't inherit or default
794 to_extra_thread_info.
795 * target.h (struct target_ops) <to_extra_thread_info>: Use
796 TARGET_DEFAULT_RETURN.
798 2014-02-19 Tom Tromey <tromey@redhat.com>
800 * target-delegates.c: Rebuild.
801 * target.c (update_current_target): Don't inherit or default
803 * target.h (struct target_ops) <to_has_exited>: Use
804 TARGET_DEFAULT_RETURN..
806 2014-02-19 Tom Tromey <tromey@redhat.com>
808 * target-delegates.c: Rebuild.
809 * target.c (update_current_target): Don't inherit or default
810 to_set_syscall_catchpoint.
811 (return_one): Remove.
812 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
813 TARGET_DEFAULT_RETURN.
815 2014-02-19 Tom Tromey <tromey@redhat.com>
817 * target-delegates.c: Rebuild.
818 * target.c (update_current_target): Don't inherit or default
819 to_insert_exec_catchpoint.
820 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
821 TARGET_DEFAULT_RETURN.
823 2014-01-08 Tom Tromey <tromey@redhat.com>
825 * target-delegates.c: Rebuild.
826 * target.c (update_current_target): Don't inherit or default
827 to_insert_exec_catchpoint.
828 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
829 TARGET_DEFAULT_RETURN.
831 2014-02-19 Tom Tromey <tromey@redhat.com>
833 * target-delegates.c: Rebuild.
834 * target.c (update_current_target): Don't inherit or default
835 to_remove_vfork_catchpoint.
836 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
837 TARGET_DEFAULT_RETURN.
839 2014-02-19 Tom Tromey <tromey@redhat.com>
841 * target-delegates.c: Rebuild.
842 * target.c (update_current_target): Don't inherit or default
843 to_insert_vfork_catchpoint.
844 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
845 TARGET_DEFAULT_RETURN.
847 2014-02-19 Tom Tromey <tromey@redhat.com>
849 * target-delegates.c: Rebuild.
850 * target.c (update_current_target): Don't inherit or default
851 to_remove_fork_catchpoint.
852 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
853 TARGET_DEFAULT_RETURN.
855 2014-02-19 Tom Tromey <tromey@redhat.com>
857 * target-delegates.c: Rebuild.
858 * target.c (update_current_target): Don't inherit or default
859 to_insert_fork_catchpoint.
860 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
861 TARGET_DEFAULT_RETURN.
863 2014-02-19 Tom Tromey <tromey@redhat.com>
865 * target-delegates.c: Rebuild.
866 * target.c (update_current_target): Don't inherit or default
867 to_post_startup_inferior.
868 * target.h (struct target_ops) <to_post_startup_inferior>: Use
869 TARGET_DEFAULT_IGNORE.
871 2014-02-19 Tom Tromey <tromey@redhat.com>
873 * target-delegates.c: Rebuild.
874 * target.c (update_current_target): Don't inherit or default
876 * target.h (struct target_ops) <to_load>: Use
877 TARGET_DEFAULT_NORETURN.
879 2014-02-19 Tom Tromey <tromey@redhat.com>
881 * target-delegates.c: Rebuild.
882 * target.c (update_current_target): Don't inherit or default
884 * target.h (struct target_ops) <to_terminal_info>: Use
887 2014-02-19 Tom Tromey <tromey@redhat.com>
889 * target-delegates.c: Rebuild.
890 * target.c (update_current_target): Don't inherit or default
891 to_terminal_save_ours.
892 * target.h (struct target_ops) <to_terminal_save_ours>: Use
893 TARGET_DEFAULT_IGNORE.
895 2014-02-19 Tom Tromey <tromey@redhat.com>
897 * target-delegates.c: Rebuild.
898 * target.c (update_current_target): Don't inherit or default
900 * target.h (struct target_ops) <to_terminal_ours>: Use
901 TARGET_DEFAULT_IGNORE.
903 2014-02-19 Tom Tromey <tromey@redhat.com>
905 * target-delegates.c: Rebuild.
906 * target.c (update_current_target): Don't inherit or default
907 to_terminal_ours_for_output.
908 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
909 TARGET_DEFAULT_IGNORE.
911 2014-02-19 Tom Tromey <tromey@redhat.com>
913 * target-delegates.c: Rebuild.
914 * target.c (update_current_target): Don't inherit or default
915 to_terminal_inferior.
916 * target.h (struct target_ops) <to_terminal_inferior>: Use
917 TARGET_DEFAULT_IGNORE.
919 2014-02-19 Tom Tromey <tromey@redhat.com>
921 * target-delegates.c: Rebuild.
922 * target.c (update_current_target): Don't inherit or default
924 * target.h (struct target_ops) <to_terminal_init>: Use
925 TARGET_DEFAULT_IGNORE.
927 2014-02-19 Tom Tromey <tromey@redhat.com>
929 * target-delegates.c: Rebuild.
930 * target.c (update_current_target): Don't inherit or default
931 to_can_accel_watchpoint_condition.
932 * target.h (struct target_ops)
933 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
935 2014-02-19 Tom Tromey <tromey@redhat.com>
937 * target-delegates.c: Rebuild.
938 * target.c (update_current_target): Don't inherit or default
939 to_region_ok_for_hw_watchpoint.
940 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
941 Use TARGET_DEFAULT_FUNC.
943 2014-02-19 Tom Tromey <tromey@redhat.com>
945 * target-delegates.c: Rebuild.
946 * target.c (update_current_target): Don't inherit or default
947 to_watchpoint_addr_within_range.
948 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
949 Use TARGET_DEFAULT_FUNC.
951 2014-02-19 Tom Tromey <tromey@redhat.com>
953 * target-delegates.c: Rebuild.
954 * target.c (update_current_target): Don't inherit or default
955 to_remove_watchpoint.
956 * target.h (struct target_ops) <to_remove_watchpoint>: Use
957 TARGET_DEFAULT_NORETURN.
959 2014-02-19 Tom Tromey <tromey@redhat.com>
961 * target-delegates.c: Rebuild.
962 * target.c (update_current_target): Don't inherit or default
963 to_insert_watchpoint.
964 * target.h (struct target_ops) <to_insert_watchpoint>: Use
965 TARGET_DEFAULT_RETURN.
967 2014-02-19 Tom Tromey <tromey@redhat.com>
969 * target-delegates.c: Rebuild.
970 * target.c (update_current_target): Don't inherit or default
971 to_remove_hw_breakpoint.
972 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
973 TARGET_DEFAULT_RETURN.
975 2014-02-19 Tom Tromey <tromey@redhat.com>
977 * target-delegates.c: Rebuild.
978 * target.c (update_current_target): Don't inherit or default
979 to_insert_hw_breakpoint.
980 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
981 TARGET_DEFAULT_RETURN.
983 2014-02-19 Tom Tromey <tromey@redhat.com>
985 * target-delegates.c: Rebuild.
986 * target.c (update_current_target): Don't inherit or default
987 to_can_use_hw_breakpoint.
988 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
989 TARGET_DEFAULT_RETURN.
991 2014-02-19 Tom Tromey <tromey@redhat.com>
993 * target-delegates.c: Rebuild.
994 * target.c (update_current_target): Don't inherit or default
996 * target.h (struct target_ops) <to_files_info>: Use
997 TARGET_DEFAULT_IGNORE.
999 2014-02-19 Tom Tromey <tromey@redhat.com>
1001 * target-delegates.c: Rebuild.
1002 * target.c (update_current_target): Don't inherit or default
1004 * target.h (struct target_ops) <to_store>: Use
1005 TARGET_DEFAULT_NORETURN.
1007 2014-02-19 Tom Tromey <tromey@redhat.com>
1009 * target-delegates.c: Rebuild.
1010 * target.c (update_current_target): Don't inherit or default
1012 * target.h (struct target_ops) <to_post_attach>: Use
1013 TARGET_DEFAULT_IGNORE.
1015 2014-02-19 Tom Tromey <tromey@redhat.com>
1017 * target-delegates.c: Rebuild.
1018 * target.c (update_current_target): Don't inherit or default
1020 (default_rcmd): New function.
1021 (do_monitor_command): Unconditionally delegate.
1022 * target.h (struct target_ops) <to_rmcd>: Use
1023 TARGET_DEFAULT_FUNC.
1025 2014-02-19 Tom Tromey <tromey@redhat.com>
1027 * target-delegates.c: Rebuild.
1028 * target.c (init_dummy_target): Don't initialize to_attach.
1029 (target_attach): Unconditionally delegate.
1030 * target.h (struct target_ops) <to_attach>: Use
1031 TARGET_DEFAULT_FUNC.
1033 2014-02-19 Tom Tromey <tromey@redhat.com>
1035 * target-delegates.c: Rebuild.
1036 * target.c (target_detach): Unconditionally delegate.
1037 (init_dummy_target): Don't initialize to_detach.
1038 * target.h (struct target_ops) <to_detach>: Use
1039 TARGET_DEFAULT_IGNORE.
1041 2014-02-19 Tom Tromey <tromey@redhat.com>
1043 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1045 (target_augmented_libraries_svr4_read): Add argument.
1046 * target.c (update_current_target): Update.
1047 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
1050 2014-02-19 Tom Tromey <tromey@redhat.com>
1052 * target.h (struct target_ops) <to_call_history_range>: Add
1054 * target.c (target_call_history_range): Add argument.
1055 * record-btrace.c (record_btrace_call_history_range): Add 'self'
1057 (record_btrace_call_history_from): Update.
1059 2014-02-19 Tom Tromey <tromey@redhat.com>
1061 * target.h (struct target_ops) <to_call_history_from>: Add
1063 * target.c (target_call_history_from): Add argument.
1064 * record-btrace.c (record_btrace_call_history_from): Add 'self'
1067 2014-02-19 Tom Tromey <tromey@redhat.com>
1069 * target.h (struct target_ops) <to_call_history>: Add argument.
1070 * target.c (target_call_history): Add argument.
1071 * record-btrace.c (record_btrace_call_history): Add 'self'
1074 2014-02-19 Tom Tromey <tromey@redhat.com>
1076 * target.h (struct target_ops) <to_insn_history_range>: Add
1078 * target.c (target_insn_history_range): Add argument.
1079 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
1081 (record_btrace_insn_history_from): Update.
1083 2014-02-19 Tom Tromey <tromey@redhat.com>
1085 * target.h (struct target_ops) <to_insn_history_from>: Add
1087 * target.c (target_insn_history_from): Add argument.
1088 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
1091 2014-02-19 Tom Tromey <tromey@redhat.com>
1093 * target.h (struct target_ops) <to_insn_history>: Add argument.
1094 * target.c (target_insn_history): Add argument.
1095 * record-btrace.c (record_btrace_insn_history): Add 'self'
1098 2014-02-19 Tom Tromey <tromey@redhat.com>
1100 * target.h (struct target_ops) <to_goto_record>: Add argument.
1101 * target.c (target_goto_record): Add argument.
1102 * record-full.c (record_full_goto): Add 'self' argument.
1103 * record-btrace.c (record_btrace_goto): Add 'self' argument.
1105 2014-02-19 Tom Tromey <tromey@redhat.com>
1107 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
1108 * target.c (target_goto_record_end): Add argument.
1109 * record-full.c (record_full_goto_end): Add 'self' argument.
1110 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
1112 2014-02-19 Tom Tromey <tromey@redhat.com>
1114 * target.h (struct target_ops) <to_goto_record_begin>: Add
1116 * target.c (target_goto_record_begin): Add argument.
1117 * record-full.c (record_full_goto_begin): Add 'self' argument.
1118 * record-btrace.c (record_btrace_goto_begin): Add 'self'
1121 2014-02-19 Tom Tromey <tromey@redhat.com>
1123 * target.h (struct target_ops) <to_record_is_replaying>: Add
1125 * target.c (target_record_is_replaying): Add argument.
1126 * record-full.c (record_full_is_replaying): Add 'self' argument.
1127 * record-btrace.c (record_btrace_is_replaying): Add 'self'
1129 (record_btrace_xfer_partial, record_btrace_store_registers)
1130 (record_btrace_prepare_to_store, record_btrace_resume)
1131 (record_btrace_wait, record_btrace_decr_pc_after_break)
1132 (record_btrace_find_new_threads, record_btrace_thread_alive):
1135 2014-02-19 Tom Tromey <tromey@redhat.com>
1137 * target.h (struct target_ops) <to_delete_record>: Add argument.
1138 * target.c (target_delete_record): Add argument.
1139 * record-full.c (record_full_delete): Add 'self' argument.
1141 2014-02-19 Tom Tromey <tromey@redhat.com>
1143 * target.h (struct target_ops) <to_save_record>: Add argument.
1144 * target.c (target_save_record): Add argument.
1145 * record-full.c (record_full_save): Add 'self' argument.
1146 (record_full_save): Add 'self' argument.
1148 2014-02-19 Tom Tromey <tromey@redhat.com>
1150 * target.h (struct target_ops) <to_info_record>: Add argument.
1151 * target.c (target_info_record): Add argument.
1152 * record.c (info_record_command): Add argument.
1153 * record-full.c (record_full_info): Add 'self' argument.
1154 * record-btrace.c (record_btrace_info): Add 'self' argument.
1156 2014-02-19 Tom Tromey <tromey@redhat.com>
1158 * target.h (struct target_ops) <to_stop_recording>: Add argument.
1159 * target.c (target_stop_recording): Add argument.
1160 * record.c (record_stop): Add argument.
1161 * record-btrace.c (record_btrace_stop_recording): Add 'self'
1164 2014-02-19 Tom Tromey <tromey@redhat.com>
1166 * target.h (struct target_ops) <to_read_btrace>: Add argument.
1167 * target.c (struct target_ops) <to_read_btrace>: Add argument.
1168 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
1170 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
1171 (_initialize_amd64_linux_nat): Use it.
1172 * i386-linux-nat.c (i386_linux_read_btrace): New function.
1173 (_initialize_i386_linux_nat): Use it.
1175 2014-02-19 Tom Tromey <tromey@redhat.com>
1177 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
1178 * target.c (target_teardown_btrace): Add argument.
1179 * remote.c (remote_teardown_btrace): Add 'self' argument.
1180 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
1182 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
1185 2014-02-19 Tom Tromey <tromey@redhat.com>
1187 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
1188 * target.c (target_disable_btrace): Add argument.
1189 * remote.c (remote_disable_btrace): Add 'self' argument.
1190 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
1192 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
1195 2014-02-19 Tom Tromey <tromey@redhat.com>
1197 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
1198 * target.c (target_enable_btrace): Add argument.
1199 * remote.c (remote_enable_btrace): Add 'self' argument.
1200 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
1202 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
1205 2014-02-19 Tom Tromey <tromey@redhat.com>
1207 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
1208 (target_can_use_agent): Add argument.
1209 * target.c (update_current_target): Update.
1210 * remote.c (remote_can_use_agent): Add 'self' argument.
1211 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
1213 2014-02-19 Tom Tromey <tromey@redhat.com>
1215 * target.h (struct target_ops) <to_use_agent>: Add argument.
1216 (target_use_agent): Add argument.
1217 * target.c (update_current_target): Update.
1218 * remote.c (remote_use_agent): Add 'self' argument.
1219 * inf-child.c (inf_child_use_agent): Add 'self' argument.
1221 2014-02-19 Tom Tromey <tromey@redhat.com>
1223 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
1224 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
1225 (target_traceframe_info): Add argument.
1226 * target.c (update_current_target): Update.
1227 * remote.c (remote_traceframe_info): Add 'self' argument.
1228 * ctf.c (ctf_traceframe_info): Add 'self' argument.
1230 2014-02-19 Tom Tromey <tromey@redhat.com>
1232 * target.h (target_static_tracepoint_markers_by_strid): Add
1234 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
1236 * target.c (update_current_target): Update.
1237 * remote.c (struct target_ops)
1238 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1239 * linux-nat.c (struct target_ops)
1240 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1242 2014-02-19 Tom Tromey <tromey@redhat.com>
1244 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1246 (target_static_tracepoint_marker_at): Add argument.
1247 * target.c (update_current_target): Update.
1248 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
1251 2014-02-19 Tom Tromey <tromey@redhat.com>
1253 * target.h (struct target_ops) <to_set_permissions>: Add argument.
1254 (target_set_permissions): Add argument.
1255 * target.c (update_current_target): Update.
1256 * remote.c (remote_set_permissions): Add 'self' argument.
1257 (remote_start_remote): Update.
1259 2014-02-19 Tom Tromey <tromey@redhat.com>
1261 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
1262 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
1263 (target_get_tib_address): Add argument.
1264 * target.c (update_current_target): Update.
1265 * remote.c (remote_get_tib_address): Add 'self' argument.
1267 2014-02-19 Tom Tromey <tromey@redhat.com>
1269 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
1270 (target_set_trace_notes): Add argument.
1271 * target.c (update_current_target): Update.
1272 * remote.c (remote_set_trace_notes): Add 'self' argument.
1274 2014-02-19 Tom Tromey <tromey@redhat.com>
1276 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
1278 (target_set_trace_buffer_size): Add argument.
1279 * target.c (update_current_target): Update.
1280 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
1282 2014-02-19 Tom Tromey <tromey@redhat.com>
1284 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
1286 (target_set_circular_trace_buffer): Add argument.
1287 * target.c (update_current_target): Update.
1288 * remote.c (remote_set_circular_trace_buffer): Add 'self'
1291 2014-02-19 Tom Tromey <tromey@redhat.com>
1293 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
1295 (target_set_disconnected_tracing): Add argument.
1296 * target.c (update_current_target): Update.
1297 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
1299 2014-02-19 Tom Tromey <tromey@redhat.com>
1301 * target.h (struct target_ops)
1302 <to_get_min_fast_tracepoint_insn_len>: Add argument.
1303 (target_get_min_fast_tracepoint_insn_len): Add argument.
1304 * target.c (update_current_target): Update.
1305 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
1308 2014-02-19 Tom Tromey <tromey@redhat.com>
1310 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
1312 (target_get_raw_trace_data): Add argument.
1313 * target.c (update_current_target): Update.
1314 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
1316 2014-02-19 Tom Tromey <tromey@redhat.com>
1318 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1320 (target_upload_trace_state_variables): Add argument.
1321 * target.c (update_current_target): Update.
1322 * remote.c (remote_upload_trace_state_variables): Add 'self'
1324 (remote_start_remote): Update.
1326 2014-02-19 Tom Tromey <tromey@redhat.com>
1328 * target.h (struct target_ops) <to_upload_tracepoints>: Add
1330 (target_upload_tracepoints): Add argument.
1331 * target.c (update_current_target): Update.
1332 * remote.c (remote_upload_tracepoints): Add 'self' argument.
1333 (remote_start_remote): Update.
1335 2014-02-19 Tom Tromey <tromey@redhat.com>
1337 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
1338 (target_save_trace_data): Add argument.
1339 * target.c (update_current_target): Update.
1340 * remote.c (remote_save_trace_data): Add 'self' argument.
1342 2014-02-19 Tom Tromey <tromey@redhat.com>
1344 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
1346 * target.h (struct target_ops)
1347 <to_get_trace_state_variable_value>: Add argument.
1348 (target_get_trace_state_variable_value): Add argument.
1349 * target.c (update_current_target): Update.
1350 * remote.c (remote_get_trace_state_variable_value): Add 'self'
1352 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
1354 2014-02-19 Tom Tromey <tromey@redhat.com>
1356 * tracepoint.c (tfile_trace_find): Add 'self' argument.
1357 * target.h (struct target_ops) <to_trace_find>: Add argument.
1358 (target_trace_find): Add argument.
1359 * target.c (update_current_target): Update.
1360 * remote.c (remote_trace_find): Add 'self' argument.
1361 * ctf.c (ctf_trace_find): Add 'self' argument.
1363 2014-02-19 Tom Tromey <tromey@redhat.com>
1365 * target.h (struct target_ops) <to_trace_stop>: Add argument.
1366 (target_trace_stop): Add argument.
1367 * target.c (update_current_target): Update.
1368 * remote.c (remote_trace_stop): Add 'self' argument.
1370 2014-02-19 Tom Tromey <tromey@redhat.com>
1372 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
1373 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
1375 (target_get_tracepoint_status): Add argument.
1376 * target.c (update_current_target): Update.
1377 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
1379 2014-02-19 Tom Tromey <tromey@redhat.com>
1381 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
1382 * target.h (struct target_ops) <to_get_trace_status>: Add
1384 (target_get_trace_status): Add argument.
1385 * target.c (update_current_target): Update.
1386 * remote.c (remote_get_trace_status): Add 'self' argument.
1387 (remote_start_remote, remote_can_download_tracepoint): Update.
1388 * ctf.c (ctf_get_trace_status): Add 'self' argument.
1390 2014-02-19 Tom Tromey <tromey@redhat.com>
1392 * target.h (struct target_ops) <to_trace_start>: Add argument.
1393 (target_trace_start): Add argument.
1394 * target.c (update_current_target): Update.
1395 * remote.c (remote_trace_start): Add 'self' argument.
1397 2014-02-19 Tom Tromey <tromey@redhat.com>
1399 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1401 (target_trace_set_readonly_regions): Add argument.
1402 * target.c (update_current_target): Update.
1403 * remote.c (remote_trace_set_readonly_regions): Add 'self'
1406 2014-02-19 Tom Tromey <tromey@redhat.com>
1408 * target.h (struct target_ops) <to_disable_tracepoint>: Add
1410 (target_disable_tracepoint): Add argument.
1411 * target.c (update_current_target): Update.
1412 * remote.c (remote_disable_tracepoint): Add 'self' argument.
1414 2014-02-19 Tom Tromey <tromey@redhat.com>
1416 * target.h (struct target_ops) <to_enable_tracepoint>: Add
1418 (target_enable_tracepoint): Add argument.
1419 * target.c (update_current_target): Update.
1420 * remote.c (remote_enable_tracepoint): Add 'self' argument.
1422 2014-02-19 Tom Tromey <tromey@redhat.com>
1424 * target.h (struct target_ops) <to_download_trace_state_variable>:
1426 (target_download_trace_state_variable): Add argument.
1427 * target.c (update_current_target): Update.
1428 * remote.c (remote_download_trace_state_variable): Add 'self'
1431 2014-02-19 Tom Tromey <tromey@redhat.com>
1433 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
1435 (target_can_download_tracepoint): Add argument.
1436 * target.c (update_current_target): Update.
1437 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
1439 2014-02-19 Tom Tromey <tromey@redhat.com>
1441 * target.h (struct target_ops) <to_download_tracepoint>: Add
1443 (target_download_tracepoint): Add argument.
1444 * target.c (update_current_target): Update.
1445 * remote.c (remote_download_tracepoint): Add 'self' argument.
1447 2014-02-19 Tom Tromey <tromey@redhat.com>
1449 * target.h (struct target_ops) <to_trace_init>: Add argument.
1450 (target_trace_init): Add argument.
1451 * target.c (update_current_target): Update.
1452 * remote.c (remote_trace_init): Add 'self' argument.
1454 2014-02-19 Tom Tromey <tromey@redhat.com>
1456 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1457 * target.c (target_fileio_readlink): Add argument.
1458 * remote.c (remote_hostio_readlink): Add 'self' argument.
1459 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1461 2014-02-19 Tom Tromey <tromey@redhat.com>
1463 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1464 * target.c (target_fileio_unlink): Add argument.
1465 * remote.c (remote_hostio_unlink): Add 'self' argument.
1466 (remote_file_delete): Update.
1467 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1469 2014-02-19 Tom Tromey <tromey@redhat.com>
1471 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1472 * target.c (target_fileio_close): Add argument.
1473 * remote.c (remote_hostio_close): Add 'self' argument.
1474 (remote_hostio_close_cleanup): Update.
1475 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1477 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1479 2014-02-19 Tom Tromey <tromey@redhat.com>
1481 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1482 * target.c (target_fileio_pread): Add argument.
1483 * remote.c (remote_hostio_pread): Add 'self' argument.
1484 (remote_bfd_iovec_pread, remote_file_get): Update.
1485 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1487 2014-02-19 Tom Tromey <tromey@redhat.com>
1489 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1490 * target.c (target_fileio_pwrite): Add argument.
1491 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1492 (remote_file_put): Update.
1493 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1495 2014-02-19 Tom Tromey <tromey@redhat.com>
1497 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1498 * target.c (target_fileio_open): Add argument.
1499 * remote.c (remote_hostio_open): Add 'self' argument.
1500 (remote_bfd_iovec_open): Add 'self' argument.
1501 (remote_file_put): Add 'self' argument.
1502 (remote_file_get): Add 'self' argument.
1503 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1505 2014-02-19 Tom Tromey <tromey@redhat.com>
1507 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1509 (target_can_run_breakpoint_commands): Add argument.
1510 * target.c (update_current_target): Update.
1511 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1513 (remote_insert_breakpoint): Add 'self' argument.
1514 (remote_insert_hw_breakpoint): Add 'self' argument.
1515 (remote_can_run_breakpoint_commands): Add 'self' argument.
1517 2014-02-19 Tom Tromey <tromey@redhat.com>
1519 * target.h (struct target_ops)
1520 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1521 (target_supports_evaluation_of_breakpoint_conditions): Add
1523 * target.c (update_current_target): Update.
1524 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1526 (remote_insert_breakpoint): Add 'self' argument.
1527 (remote_insert_hw_breakpoint): Add 'self' argument.
1528 (remote_supports_cond_breakpoints): Add 'self' argument.
1530 2014-02-19 Tom Tromey <tromey@redhat.com>
1532 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1534 (target_supports_string_tracing): Add argument.
1535 * target.c (update_current_target): Update.
1536 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1538 2014-02-19 Tom Tromey <tromey@redhat.com>
1540 * target.h (struct target_ops)
1541 <to_supports_disable_randomization>: Add argument.
1542 * target.c (find_default_supports_disable_randomization): Add
1544 (target_supports_disable_randomization): Add argument.
1545 (find_default_supports_disable_randomization): Add 'self'
1547 * remote.c (extended_remote_supports_disable_randomization): Add
1549 (remote_supports_disable_randomization): Add 'self' argument.
1550 (extended_remote_create_inferior): Update.
1551 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1554 2014-02-19 Tom Tromey <tromey@redhat.com>
1556 * target.h (struct target_ops)
1557 <to_supports_enable_disable_tracepoint>: Add argument.
1558 (target_supports_enable_disable_tracepoint): Add argument.
1559 * target.c (update_current_target): Update.
1560 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1563 2014-02-19 Tom Tromey <tromey@redhat.com>
1565 * target.h (struct target_ops) <to_supports_multi_process>: Add
1567 (target_supports_multi_process): Add argument.
1568 * target.c (update_current_target): Update.
1569 * remote.c (remote_supports_multi_process): Add 'self' argument.
1570 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1572 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1575 2014-02-19 Tom Tromey <tromey@redhat.com>
1577 * target.h (struct target_ops) <to_execution_direction>: Add
1579 (target_execution_direction): Add argument.
1580 * target.c (default_execution_direction): Add 'self' argument.
1581 * record-full.c (record_full_execution_direction): Add 'self'
1584 2014-02-19 Tom Tromey <tromey@redhat.com>
1586 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1588 (target_can_execute_reverse): Add argument.
1589 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1590 * record-full.c (record_full_can_execute_reverse): Add 'self'
1592 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1595 2014-02-19 Tom Tromey <tromey@redhat.com>
1597 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1598 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1600 (target_get_ada_task_ptid): Add argument.
1601 * target.c (update_current_target): Update.
1602 (default_get_ada_task_ptid): Add 'self' argument.
1603 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1604 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1605 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1607 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1609 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1611 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1613 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1614 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1617 2014-02-19 Tom Tromey <tromey@redhat.com>
1619 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1620 (target_goto_bookmark): Add argument.
1621 * target.c (dummy_goto_bookmark): Add 'self' argument.
1622 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1624 2014-02-19 Tom Tromey <tromey@redhat.com>
1626 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1627 (target_get_bookmark): Add argument.
1628 * target.c (dummy_get_bookmark): Add 'self' argument.
1629 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1631 2014-02-19 Tom Tromey <tromey@redhat.com>
1633 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1635 (target_make_corefile_notes): Add argument.
1636 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1637 * procfs.c (procfs_make_note_section): Add 'self' argument.
1638 (procfs_make_note_section): Add 'self' argument.
1639 (procfs_make_note_section): Add 'self' argument.
1640 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1642 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1643 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1644 * exec.c (exec_make_note_section): Add 'self' argument.
1645 (exec_make_note_section): Add 'self' argument.
1647 2014-02-19 Tom Tromey <tromey@redhat.com>
1649 * target.h (struct target_ops) <to_find_memory_regions>: Add
1651 (target_find_memory_regions): Add argument.
1652 * target.c (dummy_find_memory_regions): Add 'self' argument.
1653 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1654 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1655 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1656 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1657 * exec. (exec_do_find_memory_regions): New global.
1658 (exec_set_find_memory_regions): Rewrite.
1659 (exec_find_memory_regions): New function.
1660 (init_exec_ops): Use exec_find_memory_regions.
1662 2014-02-19 Tom Tromey <tromey@redhat.com>
1664 * target.h (struct target_ops) <to_supports_non_stop>: Add
1666 * target.c (find_default_supports_non_stop): Add argument.
1667 (target_supports_non_stop): Add argument.
1668 (find_default_supports_non_stop): Add 'self' argument.
1669 * remote.c (remote_supports_non_stop): Add 'self' argument.
1670 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1672 2014-02-19 Tom Tromey <tromey@redhat.com>
1674 * target.h (struct target_ops) <to_log_command>: Add argument.
1675 (target_log_command): Add argument.
1676 * serial.h (serial_log_command): Add 'self' argument.
1677 * serial.c (serial_log_command): Add 'self' argument.
1679 2014-02-19 Tom Tromey <tromey@redhat.com>
1681 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1682 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1684 (target_pid_to_exec_file): Add argument.
1685 * target.c (debug_to_pid_to_exec_file): Add argument.
1686 (update_current_target): Update.
1687 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1688 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1689 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1690 (linux_handle_extended_wait): Update.
1691 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1692 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1693 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1694 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1696 2014-02-19 Tom Tromey <tromey@redhat.com>
1698 * target.h (struct target_ops) <to_rcmd>: Add argument.
1699 (target_rcmd): Add argument.
1700 * target.c (debug_to_rcmd): Add argument.
1701 (update_current_target, do_monitor_command): Update.
1702 * remote.c (remote_rcmd): Add 'self' argument.
1703 * monitor.c (monitor_rcmd): Add 'self' argument.
1705 2014-02-19 Tom Tromey <tromey@redhat.com>
1707 * windows-nat.c (windows_stop): Add 'self' argument.
1708 * target.h (struct target_ops) <to_stop>: Add argument.
1709 * target.c (target_stop): Add argument.
1710 (debug_to_stop): Add argument.
1711 (update_current_target): Update.
1712 * remote.c (remote_stop): Add 'self' argument.
1713 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1714 (gdbsim_cntrl_c): Update.
1715 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1716 * procfs.c (procfs_stop): Add 'self' argument.
1717 * nto-procfs.c (procfs_stop): Add 'self' argument.
1718 * monitor.c (monitor_stop): Add 'self' argument.
1719 (monitor_open): Update.
1720 * linux-nat.c (linux_nat_stop): Add argument.
1721 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1722 * gnu-nat.c (gnu_stop): Add 'self' argument.
1723 * darwin-nat.c (darwin_stop): Add 'self' argument.
1725 2014-02-19 Tom Tromey <tromey@redhat.com>
1727 * target.h (struct target_ops) <to_thread_name>: Add argument.
1728 * target.c (target_thread_name): Add argument.
1729 (update_current_target): Update.
1730 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
1732 2014-02-19 Tom Tromey <tromey@redhat.com>
1734 * target.h (struct target_ops) <to_extra_thread_info>: Add
1736 (target_extra_thread_info): Add argument.
1737 * target.c (update_current_target): Update.
1738 * remote.c (remote_threads_extra_info): Add 'self' argument.
1739 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
1741 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
1742 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
1743 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
1745 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
1747 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
1749 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
1752 2014-02-19 Tom Tromey <tromey@redhat.com>
1754 * target.h (struct target_ops) <to_program_signals>: Add argument.
1755 * target.c (target_program_signals): Add argument.
1756 * remote.c (remote_program_signals): Add 'self' argument.
1758 2014-02-19 Tom Tromey <tromey@redhat.com>
1760 * target.h (struct target_ops) <to_pass_signals>: Add argument.
1761 * target.c (target_pass_signals): Add argument.
1762 * remote.c (remote_pass_signals): Add 'self' argument.
1763 (remote_start_remote): Update.
1764 * procfs.c (procfs_pass_signals): Add 'self' argument.
1765 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
1766 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
1767 (linux_nat_create_inferior, linux_nat_attach): Update.
1769 2014-02-19 Tom Tromey <tromey@redhat.com>
1771 * windows-nat.c (windows_can_run): Add 'self' argument.
1772 * target.h (struct target_ops) <to_can_run>: Add argument.
1773 (target_can_run): Add argument.
1774 * target.c (debug_to_can_run): Add argument.
1775 (update_current_target): Update.
1776 * nto-procfs.c (procfs_can_run): Add 'self' argument.
1777 * inf-child.c (inf_child_can_run): Add 'self' argument.
1778 * go32-nat.c (go32_can_run): Add 'self' argument.
1780 2014-02-19 Tom Tromey <tromey@redhat.com>
1782 * target.h (struct target_ops) <to_has_exited>: Add argument.
1783 (target_has_exited): Add argument.
1784 * target.c (debug_to_has_exited): Add argument.
1785 (update_current_target): Update.
1787 2014-02-19 Tom Tromey <tromey@redhat.com>
1789 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
1791 (target_set_syscall_catchpoint): Add argument.
1792 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
1794 * target.c (update_current_target): Update.
1796 2014-02-19 Tom Tromey <tromey@redhat.com>
1798 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
1800 (target_remove_exec_catchpoint): Add argument.
1801 * target.c (debug_to_remove_exec_catchpoint): Add argument.
1802 (update_current_target): Update.
1803 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
1806 2014-02-19 Tom Tromey <tromey@redhat.com>
1808 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
1810 (target_insert_exec_catchpoint): Add argument.
1811 * target.c (debug_to_insert_exec_catchpoint): Add argument.
1812 (update_current_target): Update.
1813 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
1816 2014-02-19 Tom Tromey <tromey@redhat.com>
1818 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
1820 (target_remove_vfork_catchpoint): Add argument.
1821 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
1822 (update_current_target): Update.
1823 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
1826 2014-02-19 Tom Tromey <tromey@redhat.com>
1828 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
1830 (target_insert_vfork_catchpoint): Add argument.
1831 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
1832 (update_current_target): Update.
1833 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
1836 2014-02-19 Tom Tromey <tromey@redhat.com>
1838 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
1840 (target_remove_fork_catchpoint): Add argument.
1841 * target.c (debug_to_remove_fork_catchpoint): Add argument.
1842 (update_current_target): Update.
1843 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
1846 2014-02-19 Tom Tromey <tromey@redhat.com>
1848 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
1850 (target_insert_fork_catchpoint): Add argument.
1851 * target.c (debug_to_insert_fork_catchpoint): Add argument.
1852 (update_current_target): Update.
1853 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
1856 2014-02-19 Tom Tromey <tromey@redhat.com>
1858 * target.h (struct target_ops) <to_post_startup_inferior>: Add
1860 (target_post_startup_inferior): Add argument.
1861 * target.c (debug_to_post_startup_inferior): Add argument.
1862 (update_current_target): Update.
1863 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
1865 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
1867 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
1869 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
1871 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
1873 (super_post_startup_inferior): Likewise.
1874 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
1876 (super_post_startup_inferior): Likewise.
1877 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
1878 Add 'self' argument.
1879 (super_post_startup_inferior): Likewise.
1881 2014-02-19 Tom Tromey <tromey@redhat.com>
1883 * target.h (struct target_ops) <to_load>: Add argument.
1884 * target.c (target_load): Add argument.
1885 (debug_to_load): Add argument.
1886 (update_current_target): Update.
1887 * remote.c (remote_load): Add 'self' argument.
1888 * remote-sim.c (gdbsim_load): Add 'self' argument.
1889 * remote-mips.c (mips_load): Add 'self' argument.
1890 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
1891 * monitor.c (monitor_load): Add 'self' argument.
1892 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
1894 2014-02-19 Tom Tromey <tromey@redhat.com>
1896 * target.h (struct target_ops) <to_terminal_info>: Add argument.
1897 (target_terminal_info): Add argument.
1898 * target.c (debug_to_terminal_info): Add argument.
1899 (default_terminal_info): Likewise.
1900 * inflow.c (child_terminal_info): Add 'self' argument.
1901 * inferior.h (child_terminal_info): Add 'self' argument.
1902 * go32-nat.c (go32_terminal_info): Add 'self' argument.
1904 2014-02-19 Tom Tromey <tromey@redhat.com>
1906 * target.h (struct target_ops) <to_terminal_save_ours>: Add
1908 (target_terminal_save_ours): Add argument.
1909 * target.c (debug_to_terminal_save_ours): Add argument.
1910 (update_current_target): Update.
1911 * inflow.c (terminal_save_ours): Add 'self' argument.
1912 * inferior.h (terminal_save_ours): Add 'self' argument.
1914 2014-02-19 Tom Tromey <tromey@redhat.com>
1916 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
1917 (target_terminal_ours): Add argument.
1918 * target.c (debug_to_terminal_ours): Add argument.
1919 (update_current_target): Update.
1920 * remote.c (remote_terminal_ours): Add 'self' argument.
1921 (remote_close): Update.
1922 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
1923 * inflow.c (terminal_ours): Add 'self' argument.
1924 * inferior.h (terminal_ours): Add 'self' argument.
1925 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1927 2014-02-19 Pedro Alves <palves@redhat.com>
1928 Tom Tromey <tromey@redhat.com>
1930 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
1932 (target_terminal_ours_for_output): Add argument.
1933 * target.c (debug_to_terminal_ours_for_output): Add argument.
1934 (update_current_target): Update.
1935 * inflow.c (terminal_ours_for_output): Add 'self' argument.
1936 * inferior.h (terminal_ours_for_output): Add 'self' argument.
1937 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1939 2014-02-19 Tom Tromey <tromey@redhat.com>
1941 * target.h (struct target_ops) <to_terminal_inferior>: Add
1943 * target.c (target_terminal_inferior): Add argument.
1944 (update_current_target): Update.
1945 * remote.c (remote_terminal_inferior): Add 'self' argument.
1946 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
1947 * inflow.c (terminal_inferior): Add 'self' argument.
1948 * inferior.h (terminal_inferior): Add 'self' argument.
1949 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
1950 (go32_terminal_inferior): Add 'self' argument.
1952 2014-02-19 Tom Tromey <tromey@redhat.com>
1954 * target.h (struct target_ops) <to_terminal_init>: Add argument.
1955 (target_terminal_init): Add argument.
1956 * target.c (debug_to_terminal_init): Add argument.
1957 (update_current_target): Update.
1958 * inflow.c (terminal_init_inferior): Add 'self' argument.
1959 * inferior.h (terminal_init_inferior): Add 'self' argument.
1960 * go32-nat.c (go32_terminal_init): Add 'self' argument.
1961 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
1963 2014-02-19 Tom Tromey <tromey@redhat.com>
1965 * target.h (struct target_ops)
1966 <to_can_accel_watchpoint_condition>: Add argument.
1967 (target_can_accel_watchpoint_condition): Add argument.
1968 * target.c (debug_to_can_accel_watchpoint_condition): Add
1970 (update_current_target): Update.
1971 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
1974 2014-02-19 Tom Tromey <tromey@redhat.com>
1976 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1978 (target_region_ok_for_hw_watchpoint): Add argument.
1979 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
1980 (default_region_ok_for_hw_watchpoint): Add argument.
1981 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
1982 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
1984 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
1986 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
1988 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
1990 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
1992 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
1994 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
1995 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
1997 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
1998 Add 'self' argument.
2000 2014-02-19 Tom Tromey <tromey@redhat.com>
2002 * target.h (struct target_ops) <to_insert_watchpoint>: Add
2004 (target_insert_watchpoint): Add argument.
2005 * target.c (debug_to_insert_watchpoint): Add argument.
2006 (update_current_target): Update.
2007 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
2008 * remote.c (remote_insert_watchpoint): Add 'self' argument.
2009 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
2010 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
2011 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
2012 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
2014 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
2015 (procfs_insert_hw_watchpoint): Add 'self' argument.
2016 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
2018 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
2020 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
2022 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
2023 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
2025 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
2028 2014-02-19 Tom Tromey <tromey@redhat.com>
2030 * target.h (struct target_ops) <to_remove_watchpoint>: Add
2032 (target_remove_watchpoint): Add argument.
2033 * target.c (debug_to_remove_watchpoint): Add argument.
2034 (update_current_target): Update.
2035 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
2036 * remote.c (remote_remove_watchpoint): Add 'self' argument.
2037 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
2038 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
2039 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
2040 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
2042 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
2043 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
2045 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
2047 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
2049 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
2050 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
2052 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
2055 2014-02-19 Tom Tromey <tromey@redhat.com>
2057 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
2059 (target_remove_hw_breakpoint): Add argument.
2060 * target.c (debug_to_remove_hw_breakpoint): Add argument.
2061 (update_current_target): Update.
2062 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
2063 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
2065 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
2066 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
2068 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
2071 2014-02-19 Tom Tromey <tromey@redhat.com>
2073 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
2075 (target_insert_hw_breakpoint): Add argument.
2076 * target.c (debug_to_insert_hw_breakpoint): Add argument.
2077 (update_current_target): Update.
2078 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
2079 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
2081 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
2082 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
2083 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
2085 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
2088 2014-02-19 Tom Tromey <tromey@redhat.com>
2090 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
2092 (target_can_use_hardware_watchpoint): Add argument.
2093 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
2094 (update_current_target): Update.
2095 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
2097 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
2099 * remote.c (remote_check_watch_resources): Add 'self' argument.
2100 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
2101 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
2103 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
2104 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
2106 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
2108 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
2110 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
2112 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
2114 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
2116 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
2117 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
2119 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
2122 2014-02-19 Tom Tromey <tromey@redhat.com>
2124 * target.h (struct target_ops) <to_post_attach>: Add argument.
2125 (target_post_attach): Add argument.
2126 * target.c (debug_to_post_attach): Add argument.
2127 (update_current_target): Update.
2128 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
2129 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
2130 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
2131 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
2132 * inf-child.c (inf_child_post_attach): Add 'self' argument.
2134 2014-02-19 Tom Tromey <tromey@redhat.com>
2136 * windows-nat.c (windows_close): Add 'self' argument.
2137 * tracepoint.c (tfile_close): Add 'self' argument.
2138 * target.h (struct target_ops) <to_close>: Add argument.
2139 * target.c (target_close): Add argument.
2140 (update_current_target): Update.
2141 * remote.c (remote_close): Add 'self' argument.
2142 * remote-sim.c (gdbsim_close): Add 'self' argument.
2143 * remote-mips.c (mips_close): Add 'self' argument.
2144 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
2145 * record-full.c (record_full_close): Add 'self' argument.
2146 * record-btrace.c (record_btrace_close): Add 'self' argument.
2147 * monitor.h (monitor_close): Add 'self' argument.
2148 * monitor.c (monitor_close): Add 'self' argument.
2149 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
2150 * linux-nat.c (linux_nat_close): Add argument.
2151 * go32-nat.c (go32_close): Add 'self' argument.
2152 * exec.c (exec_close_1): Add 'self' argument.
2153 * ctf.c (ctf_close): Add 'self' argument.
2154 * corelow.c (core_close): Add 'self' argument.
2155 (core_close_cleanup): Update.
2156 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
2157 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
2159 2014-02-19 Tom Tromey <tromey@redhat.com>
2161 * remote.c (remote_load): New function.
2162 (init_remote_ops): Use it.
2164 2014-02-19 Tom Tromey <tromey@redhat.com>
2166 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
2168 * common/linux-btrace.h (linux_supports_btrace): Update.
2169 * remote.c (remote_supports_btrace): Add "self" argument.
2170 * target-delegates.c: Rebuild.
2171 * target.c (target_supports_btrace): Remove.
2172 * target.h (struct target_ops) <to_supports_btrace>: Add
2173 target_ops argument.
2174 (target_supports_btrace): New define.
2176 2014-02-19 Tom Tromey <tromey@redhat.com>
2178 * record-full.c (record_full_beneath_to_resume_ops)
2179 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
2180 (record_full_beneath_to_wait)
2181 (record_full_beneath_to_store_registers_ops)
2182 (record_full_beneath_to_store_registers)
2183 (record_full_beneath_to_xfer_partial_ops)
2184 (record_full_beneath_to_xfer_partial)
2185 (record_full_beneath_to_insert_breakpoint_ops)
2186 (record_full_beneath_to_insert_breakpoint)
2187 (record_full_beneath_to_remove_breakpoint_ops)
2188 (record_full_beneath_to_remove_breakpoint)
2189 (record_full_beneath_to_stopped_by_watchpoint)
2190 (record_full_beneath_to_stopped_data_address)
2191 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
2192 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
2193 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
2194 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
2195 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
2196 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
2197 (tmp_to_stopped_data_address, tmp_to_async): Remove.
2198 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
2199 (record_full_resume, record_full_wait_1)
2200 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
2201 (record_full_store_registers, record_full_xfer_partial)
2202 (record_full_insert_breakpoint, record_full_remove_breakpoint)
2203 (record_full_async, record_full_core_xfer_partial): Use target
2205 * target-delegates.c: Rebuild.
2206 * target.c (current_xfer_partial): Remove.
2207 (update_current_target): Do not INHERIT or de_fault
2208 to_insert_breakpoint, to_remove_breakpoint,
2209 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
2210 to_is_async_p, to_async. Do not set to_xfer_partial field.
2211 (default_xfer_partial): Simplify.
2212 (current_xfer_partial): Remove.
2213 (target_wait, target_resume): Simplify.
2214 (find_default_can_async_p, find_default_is_async_p): Update.
2215 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
2216 to_xfer_partial, to_stopped_by_watchpoint,
2217 to_stopped_data_address.
2218 (target_store_registers): Simplify.
2219 (forward_target_remove_breakpoint)
2220 (forward_target_insert_breakpoint): Remove.
2221 (target_remove_breakpoint, target_insert_breakpoint)
2222 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
2223 * target.h (struct target_ops) <to_resume, to_wait,
2224 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
2225 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
2226 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
2228 (forward_target_remove_breakpoint)
2229 (forward_target_insert_breakpoint): Remove.
2230 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
2232 (record_btrace_insert_breakpoint): Delegate directly.
2234 2014-02-19 Tom Tromey <tromey@redhat.com>
2237 * target-delegates.c: New file.
2238 * target.c: Include target-delegates.c.
2239 (init_dummy_target): Call install_dummy_methods.
2240 (complete_target_initialization): Call install_delegators.
2241 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
2242 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
2243 * make-target-delegates: New file.
2245 2014-02-19 Tom Tromey <tromey@redhat.com>
2247 * record.c (find_record_target): Use find_target_at.
2248 * target.c (find_target_at): New function.
2249 * target.h (find_target_at): Declare.
2251 2014-02-19 Tom Tromey <tromey@redhat.com>
2253 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
2255 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
2257 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
2258 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
2260 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
2262 * linux-nat.c (save_sigtrap): Update.
2263 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
2264 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
2265 (linux_nat_close): Update.
2266 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
2268 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
2270 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
2271 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
2272 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
2273 (tmp_to_async): Add 'ops' argument.
2274 (record_full_stopped_by_watchpoint, record_full_async)
2275 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
2277 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
2278 (m32r_stopped_by_watchpoint): Add 'ops' argument.
2279 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
2280 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
2281 (remote_is_async_p, remote_async): Add 'ops' argument.
2282 (remote_stopped_data_address): Update.
2283 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
2284 * target.c (update_current_target)
2285 (find_default_can_async_p, find_default_is_async_p): Update.
2286 (init_dummy_target): Update.
2287 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
2288 * target.h (struct target_ops) <to_stopped_by_watchpoint,
2289 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
2290 (target_can_async_p, target_is_async_p, target_async)
2291 (target_stopped_by_watchpoint): Update.
2293 2014-02-19 Yao Qi <yao@codesourcery.com>
2296 * gdbarch.sh: Remove startup_gdbarch.
2297 * gdbarch.c: Regenerated.
2298 * gdbarch.h: Likewise.
2300 2014-02-17 Kevin Buettner <kevinb@redhat.com>
2302 * rl78-tdep.c (rl78_g10_register_name): New function.
2303 (rl78_return_value): Add g10 support.
2304 (rl78_gdbarch_init): Register rl78_g10_register_name for the
2307 2014-02-17 Doug Evans <xdje42@gmail.com>
2309 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
2310 (SUBDIR_GUILE_SRCS): Ditto.
2311 (scm-gsmob.o): Ditto.
2313 2014-02-17 Yao Qi <yao@codesourcery.com>
2315 * gnu-nat.c (ILL_RPC): Declare defined function.
2317 2014-02-17 Yao Qi <yao@codesourcery.com>
2319 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
2320 mach_msg_type_number_t.
2321 (gnu_write_inferior): Likewise.
2323 2014-02-17 Yao Qi <yao@codesourcery.com>
2325 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
2327 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
2328 (inf_validate_procs, inf_signal): Likewise.
2329 (S_exception_raise_request): Likewise.
2330 (do_mach_notify_dead_name): Likewise.
2331 (steal_exc_port): Likewise.
2332 (gnu_read_inferior): Change 'copy_count''s type to
2333 mach_msg_type_number_t.
2334 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
2337 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
2339 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
2340 flag. Adjust all users; in particular...
2341 (gnu_wait): ..., don't decrement its value in here...
2342 (gnu_create_inferior): ..., and instead set the flag in here,
2343 around the startup_inferior call, and call that one with
2344 START_INFERIOR_TRAPS_EXPECTED.
2346 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
2347 (ILL_RPC): ... new macro.
2348 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
2349 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
2350 (do_mach_notify_send_once, S_proc_setmsgport_reply)
2351 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
2352 functions with ILL_RPC macro.
2353 (S_proc_pid2task_reply, S_proc_task2pid_reply)
2354 (S_proc_task2proc_reply, S_proc_proc2task_reply)
2355 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
2356 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
2357 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
2358 (S_proc_getlogin_reply, S_proc_getsid_reply)
2359 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
2360 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
2361 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
2362 (S_proc_getnports_reply, S_proc_is_important_reply)
2363 (S_proc_get_code_reply): New stub functions, generated with
2366 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
2367 collected the type check structures.
2369 * reply_mig_hack.awk: Don't expect to see the auto keyword.
2371 2014-02-14 Doug Evans <dje@google.com>
2373 * target.c (target_write_partial): Fix result type.
2375 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2377 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
2378 the proper offsets to access fpregset_t.
2380 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
2382 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
2383 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
2384 * h8300-tdep.c (setmachinelist): Remove global.
2385 * hppa-tdep.c (hppa_sigtramp): Remove global.
2386 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
2387 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
2388 * ravenscar-thread.c (update_target_observer): Remove global.
2389 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
2391 2014-02-12 Tom Tromey <tromey@redhat.com>
2393 * common/rsp-low.c: Update comments.
2394 * common/rsp-low.h: Update comments.
2396 2014-02-12 Tom Tromey <tromey@redhat.com>
2398 * common/rsp-low.c (convert_ascii_to_int): Remove.
2399 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
2401 2014-02-12 Tom Tromey <tromey@redhat.com>
2403 * common/rsp-low.h (unhexify): Don't declare.
2404 * common/rsp-low.c (unhexify): Remove.
2406 2014-02-12 Tom Tromey <tromey@redhat.com>
2408 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
2409 * common/rsp-low.c (convert_int_to_ascii): Remove.
2411 2014-02-12 Tom Tromey <tromey@redhat.com>
2413 * common/rsp-low.h (hexify): Don't declare.
2414 * common/rsp-low.c (hexify): Remove.
2416 2014-02-12 Tom Tromey <tromey@redhat.com>
2418 * common/rsp-low.c (hexify): Never take strlen of argument.
2420 2014-02-12 Tom Tromey <tromey@redhat.com>
2422 * common/rsp-low.c (bin2hex): Never take strlen of argument.
2423 * remote.c (extended_remote_run, remote_rcmd)
2424 (remote_download_trace_state_variable, remote_save_trace_data)
2425 (remote_set_trace_notes): Update.
2426 * tracepoint.c (encode_source_string, tfile_write_status)
2427 (tfile_write_uploaded_tsv): Update.
2429 2014-02-12 Tom Tromey <tromey@redhat.com>
2431 * tracepoint.c: Include rsp-low.h.
2432 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
2433 * remote.c: Include rsp-low.h.
2434 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
2435 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
2436 (remote_unescape_input): Move to common/rsp-low.c.
2437 * common/rsp-low.h: New file.
2438 * common/rsp-low.c: New file.
2439 * Makefile.in (SFILES): Add common/rsp-low.c.
2440 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
2441 (COMMON_OBS): Add rsp-low.o.
2442 (rsp-low.o): New target.
2444 2014-02-12 Tom Tromey <tromey@redhat.com>
2446 * utils.h: Include print-utils.h.
2447 (host_address_to_string, plongest, pulongest, phex, phex_nz)
2448 (int_string, core_addr_to_string, core_addr_to_string_nz)
2449 (hex_string, hex_string_custom): Don't declare.
2450 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2451 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2452 (hex_string_custom, int_string, core_addr_to_string)
2453 (core_addr_to_string_nz, host_address_to_string): Move to
2454 common/print-utils.c.
2455 * common/print-utils.h: New file.
2456 * common/print-utils.c: New file
2457 * Makefile.in (SFILES): Add common/print-utils.c.
2458 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2459 (COMMON_OBS): Add print-utils.o.
2460 (print-utils.o): New target.
2462 2014-02-12 Tom Tromey <tromey@redhat.com>
2464 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2466 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2468 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2470 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2472 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2473 if a PT_IO ptrace request returns sucessfully but indicates that 0
2474 bytes were transferred.
2476 2014-02-12 Pedro Alves <palves@redhat.com>
2477 Kevin Buettner <kevinb@redhat.com>
2479 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2480 TYPE_INSTANCE_FLAG_CODE_SPACE.
2482 2014-02-12 Pedro Alves <palves@redhat.com>
2484 * h8300-tdep.c (pseudo_from_raw_register)
2485 (raw_from_pseudo_register): New functions.
2486 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2489 2014-02-12 Pedro Alves <palves@redhat.com>
2491 * h8300-tdep.c (h8300_register_sim_regno): New function.
2492 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2493 gdbarch_register_sim_regno hook.
2495 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2497 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2499 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2501 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2503 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2505 * obsd-tdep.h (obsd_init_abi): New prototype.
2506 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2507 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2508 (obsd_init_abi): New functions.
2509 * i386obsd-tdep.c: Include "obsd-tdep.h".
2510 (i386obsd_init_abi): Call obsd_init_abi.
2511 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2512 (amd64obsd_init_abi): Call obsd_init_abi.
2513 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2514 obsd-tdep.c to gdb_target_obs.
2516 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2518 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2519 double float arguments to 16-byte in the argument slots.
2521 2014-02-11 Doug Evans <xdje42@gmail.com>
2523 * configure.ac: Don't crash if pkg-config is not found and guile
2524 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2526 * configure: Regenerate.
2528 2014-02-11 Yao Qi <yao@codesourcery.com>
2530 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2531 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2532 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2533 * gnu-nat.c (gnu_xfer_memory): Likewise.
2534 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2535 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2536 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2537 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2539 2014-02-11 Yao Qi <yao@codesourcery.com>
2541 * target.h (enum target_xfer_error): Rename to ...
2542 (enum target_xfer_status): ... it. New. All users updated.
2543 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2545 (TARGET_XFER_STATUS_ERROR_P): New macro.
2546 (target_xfer_error_to_string): Remove declaration.
2547 (target_xfer_status_to_string): Declare.
2548 (target_xfer_partial_ftype): Adjust it.
2549 (struct target_ops) <to_xfer_partial>: Return
2550 target_xfer_status. Add argument xfered_len. Update
2552 * target.c (target_xfer_error_to_string): Rename to ...
2553 (target_xfer_status_to_string): ... it. New. All callers
2555 (target_read_live_memory): Likewise. Call target_xfer_partial
2556 instead of target_read.
2557 (memory_xfer_live_readonly_partial): Return
2558 target_xfer_status. Add argument xfered_len.
2559 (raw_memory_xfer_partial): Likewise.
2560 (memory_xfer_partial_1): Likewise.
2561 (memory_xfer_partial): Likewise.
2562 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2563 properly. Update debug message.
2564 (default_xfer_partial, current_xfer_partial): Likewise.
2565 (target_write_partial): Likewise.
2566 (target_read_partial): Likewise. All callers updated.
2567 (read_whatever_is_readable): Likewise.
2568 (target_write_with_progress): Likewise.
2569 (target_read_alloc_1): Likewise.
2571 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2572 * auxv.c (procfs_xfer_auxv): Likewise.
2573 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2574 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2575 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2576 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2577 * corefile.c (read_memory): Adjust.
2578 * corelow.c (core_xfer_partial): Likewise.
2579 * ctf.c (ctf_xfer_partial): Likewise.
2580 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2582 (darwin_xfer_partial): Likewise.
2583 * exec.c (section_table_xfer_memory_partial): Likewise. All
2585 (exec_xfer_partial): Likewise.
2586 * exec.h (section_table_xfer_memory_partial): Update
2588 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2590 (gnu_xfer_partial): Likewise.
2591 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2592 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2593 (ia64_hpux_xfer_solib_got): Likewise.
2594 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2595 type of 'partial_len' to ULONGEST.
2596 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2597 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2598 (linux_nat_xfer_partial): Likewise.
2599 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2600 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2601 * monitor.c (monitor_xfer_memory): Likewise.
2602 (monitor_xfer_partial): Likewise.
2603 * procfs.c (procfs_xfer_partial): Likewise.
2604 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2605 * record-full.c (record_full_xfer_partial): Likewise.
2606 (record_full_core_xfer_partial): Likewise.
2607 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2608 (gdbsim_xfer_partial): Likewise.
2609 * remote.c (remote_write_bytes_aux): Likewise. All callers
2611 (remote_write_bytes, remote_read_bytes): Likewise. All
2613 (remote_flash_erase): Likewise. All callers updated.
2614 (remote_write_qxfer): Likewise. All callers updated.
2615 (remote_read_qxfer): Likewise. All callers updated.
2616 (remote_xfer_partial): Likewise.
2617 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2618 (rs6000_xfer_shared_libraries): Likewise.
2619 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2620 (sol_thread_xfer_partial): Likewise.
2621 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2622 (sparc_xfer_partial): Likewise.
2623 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2625 (spu_xfer_partial): Likewise.
2626 * spu-multiarch.c (spu_xfer_partial): Likewise.
2627 * tracepoint.c (tfile_xfer_partial): Likewise.
2628 * windows-nat.c (windows_xfer_memory): Likewise.
2629 (windows_xfer_shared_libraries): Likewise.
2630 (windows_xfer_partial): Likewise.
2631 * valprint.c: Replace 'target_xfer_error' with
2632 'target_xfer_status' in comments.
2634 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2636 Checked in by Joel Brobecker <brobecker@adacore.com>.
2637 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2639 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2641 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2642 function parameters.
2644 2014-02-10 Will Newton <will.newton@linaro.org>
2646 * elfread.c (elf_rel_plt_read): Look for a .got section if
2647 looking up .got.plt fails.
2648 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2649 on address passed to elf_gnu_ifunc_record_cache.
2650 (elf_gnu_ifunc_resolve_addr): Likewise.
2651 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2653 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2655 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2656 (X_RETTURN): New macro.
2657 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2659 * sparc64-tdep.c (sparc64_init_abi): Hook
2660 sparc_in_function_epilogue_p.
2662 2014-02-10 Gary Benson <gbenson@redhat.com>
2664 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2665 Rename name_matcher to symbol_matcher.
2667 2014-02-10 Gary Benson <gbenson@redhat.com>
2669 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2670 Use expand_symtabs_file_matcher_ftype and
2671 expand_symtabs_symbol_matcher_ftype.
2673 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2675 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2676 (struct ada_symbol_cache): New.
2677 (ada_free_symbol_cache): Forward declare.
2678 (struct ada_pspace_data): New.
2679 (ada_pspace_data_handle): New static global.
2680 (get_ada_pspace_data, ada_pspace_data_cleanup)
2681 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2682 (cache_space, cache): Delete, now folded inside struct
2684 (ada_get_symbol_cache): New function.
2685 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2687 (_initialize_ada_language): Remove initialization of cache_space.
2688 Move call to observer_attach_inferior_exit up, grouping it
2689 with the other observer registrations inside this function.
2690 Rename command to be more general. Add call to
2691 register_program_space_data_with_cleanup.
2693 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2695 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2696 ada_new_objfile_observer.
2697 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2698 (_initialize_tasks): Update uses of ada_new_objfile_observer
2699 and ada_tasks_normal_stop_observer.
2701 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2703 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2704 returned by the 'Length attribute to integer.
2706 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2708 * ada-lang.c (_initialize_ada_language): Initialize
2709 cache_space obstack.
2711 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2713 * ada-lang.c (HASH_SIZE): New macro.
2714 (struct cache_entry): New type.
2715 (cache_space, cache): New static globals.
2716 (ada_clear_symbol_cache, find_entry): New functions.
2717 (lookup_cached_symbol, cache_symbol): Implement.
2718 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2719 (_initialize_ada_language): Attach ada_new_objfile_observer
2720 and ada_free_objfile_observer.
2722 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2724 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
2725 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
2726 struct block * parameter.
2727 (ada_lookup_symbol_list_worker): Constify local variable "block".
2728 Remove cast which is no longer necessary.
2730 2014-02-10 Doug Evans <xdje42@gmail.com>
2732 Add Guile as an extension language.
2733 * NEWS: Mention Guile scripting.
2734 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
2735 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
2736 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
2737 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
2738 (CLIBS): Add GUILE_LIBS.
2739 (install-guile): New rule.
2740 (guile.o): New rule.
2741 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
2742 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
2743 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
2744 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
2745 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
2746 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
2747 (scm-type.o, scm-utils.o, scm-value.o): New rules.
2748 * configure.ac: New option --with-guile.
2749 * configure: Regenerate.
2750 * config.in: Regenerate.
2751 * auto-load.c: Remove #include "python/python.h". Add #include
2752 "gdb/section-scripts.h".
2753 (source_section_scripts): Handle Guile scripts.
2754 (_initialize_auto_load): Add name of Guile objfile script to
2755 scripts-directory help text.
2756 * breakpoint.c (condition_command): Tweak comment to include Scheme.
2757 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
2758 (struct breakpoint): New member scm_bp_object.
2759 * defs.h (enum command_control_type): New value guile_control.
2760 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
2762 (show_user): Update comment.
2763 (_initialize_cli_cmds): Update help text for "show user". Update help
2764 text for max-user-call-depth.
2765 * cli/cli-script.c: Remove #include "python/python.h". Add #include
2767 (multi_line_command_p): Add guile_control.
2768 (print_command_lines): Handle guile_control.
2769 (execute_control_command, recurse_read_control_structure): Ditto.
2770 (process_next_line): Recognize "guile" commands.
2771 * disasm.c (gdb_disassemble_info): Make non-static.
2772 * disasm.h: #include "dis-asm.h".
2773 (struct gdbarch): Add forward decl.
2774 (gdb_disassemble_info): Declare.
2775 * extension.c: #include "guile/guile.h".
2776 (extension_languages): Add guile.
2777 (get_ext_lang_defn): Handle EXT_LANG_GDB.
2778 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
2779 * gdbtypes.c (get_unsigned_type_max): New function.
2780 (get_signed_type_minmax): New function.
2781 * gdbtypes.h (get_unsigned_type_max): Declare.
2782 (get_signed_type_minmax): Declare.
2783 * guile/README: New file.
2784 * guile/guile-internal.h: New file.
2785 * guile/guile.c: New file.
2786 * guile/guile.h: New file.
2787 * guile/scm-arch.c: New file.
2788 * guile/scm-auto-load.c: New file.
2789 * guile/scm-block.c: New file.
2790 * guile/scm-breakpoint.c: New file.
2791 * guile/scm-disasm.c: New file.
2792 * guile/scm-exception.c: New file.
2793 * guile/scm-frame.c: New file.
2794 * guile/scm-gsmob.c: New file.
2795 * guile/scm-iterator.c: New file.
2796 * guile/scm-lazy-string.c: New file.
2797 * guile/scm-math.c: New file.
2798 * guile/scm-objfile.c: New file.
2799 * guile/scm-ports.c: New file.
2800 * guile/scm-pretty-print.c: New file.
2801 * guile/scm-safe-call.c: New file.
2802 * guile/scm-string.c: New file.
2803 * guile/scm-symbol.c: New file.
2804 * guile/scm-symtab.c: New file.
2805 * guile/scm-type.c: New file.
2806 * guile/scm-utils.c: New file.
2807 * guile/scm-value.c: New file.
2808 * guile/lib/gdb.scm: New file.
2809 * guile/lib/gdb/boot.scm: New file.
2810 * guile/lib/gdb/experimental.scm: New file.
2811 * guile/lib/gdb/init.scm: New file.
2812 * guile/lib/gdb/iterator.scm: New file.
2813 * guile/lib/gdb/printing.scm: New file.
2814 * guile/lib/gdb/types.scm: New file.
2815 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
2816 (VPATH): Add $(GUILE_SRCDIR).
2817 (GUILE_DIR): New variable.
2818 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
2819 (all): Add stamp-guile dependency.
2820 (stamp-guile): New rule.
2821 (clean-guile, install-guile, uninstall-guile): New rules.
2822 (install-only): Add install-guile dependency.
2823 (uninstall): Add uninstall-guile dependency.
2824 (clean): Add clean-guile dependency.
2826 2014-02-09 Doug Evans <xdje42@gmail.com>
2828 Revert this patch (which I approved, mea culpa).
2830 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2832 * Makefile.in (all-lib): Remove.
2833 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2835 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2837 Fix Python stack corruption.
2838 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
2841 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2843 * Makefile.in (all-lib): Remove.
2844 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2846 2014-02-07 Doug Evans <dje@google.com>
2848 * extension-priv.h (extension_language_script_ops): Add comment.
2849 (extension_language_ops): Add comment.
2850 (active_ext_lang_state): Fix typo in comment.
2852 2014-02-07 Pedro Alves <palves@redhat.com>
2854 * infrun.c (handle_signal_stop) <signal arrives while stepping
2855 over a breakpoint>: Switch back to the stepping thread.
2857 2014-02-07 Yao Qi <yao@codesourcery.com>
2859 * target.c (target_xfer_partial): Return zero if LEN is zero.
2861 2014-02-07 Yao Qi <yao@codesourcery.com>
2863 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
2864 (ld_so_xfer_auxv): Likewise.
2865 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2866 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2867 * corelow.c (core_xfer_partial): Likewise.
2868 * ctf.c (ctf_xfer_partial): Likewise.
2869 * darwin-nat.c (darwin_read_dyld_info): Likewise.
2870 (darwin_xfer_partial): Likewise.
2871 * exec.c (exec_xfer_partial): Likewise.
2872 * gnu-nat.c (gnu_xfer_partial): Likewise.
2873 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
2874 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2875 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2876 * linux-nat.c (linux_xfer_siginfo): Likewise.
2877 (linux_proc_xfer_spu): Likewise.
2878 * procfs.c (procfs_xfer_partial): Likewise.
2879 * record-full.c (record_full_xfer_partial): Likewise.
2880 (record_full_core_xfer_partial): Likewise.
2881 * remote-sim.c (gdbsim_xfer_partial): Likewise.
2882 * remote.c (remote_write_qxfer): Likewise.
2883 (remote_write_qxfer, remote_read_qxfer): Likewise.
2884 (remote_xfer_partial): Likewise.
2885 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2886 (rs6000_xfer_shared_libraries): Likewise.
2887 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2888 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2889 (spu_xfer_partial): Likewise.
2890 * target.c (memory_xfer_partial_1): Likewise.
2891 * tracepoint.c (tfile_xfer_partial): Likewise.
2892 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
2893 (windows_xfer_partial): Likewise.
2895 2014-02-07 Yao Qi <yao@codesourcery.com>
2897 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
2899 (core_xfer_shared_libraries_aix): Likewise.
2900 * gdbarch.c, gdbarch.h: Regenerated.
2901 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
2902 ULONGEST. Change 'len_avail' type to ULONGEST.
2903 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
2904 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
2906 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
2908 2014-02-07 Yao Qi <yao@codesourcery.com>
2910 * corefile.c (memory_error): Get 'exception' from ERR and pass
2911 'exception' to throw_error.
2913 2014-02-06 Doug Evans <xdje42@gmail.com>
2915 * configure.ac (libpython checking): Remove all but python.o from
2916 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
2917 * configure: Regenerate.
2919 * Makefile.in (SFILES): Add extension.c.
2920 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
2921 (COMMON_OBS): Add extension.o.
2922 * extension.h: New file.
2923 * extension-priv.h: New file.
2924 * extension.c: New file.
2926 * python/python-internal.h: #include "extension.h".
2927 (gdbpy_auto_load_enabled): Declare.
2928 (gdbpy_apply_val_pretty_printer): Declare.
2929 (gdbpy_apply_frame_filter): Declare.
2930 (gdbpy_preserve_values): Declare.
2931 (gdbpy_breakpoint_cond_says_stop): Declare.
2932 (gdbpy_breakpoint_has_cond): Declare.
2933 (void source_python_script_for_objfile): Delete.
2934 * python/python.c: #include "extension-priv.h".
2935 Delete inclusion of "observer.h".
2936 (extension_language_python): Moved here and renamed from
2937 script_language_python in py-auto-load.c.
2938 Redefined to be of type extension_language_defn.
2939 (python_extension_script_ops): New global.
2940 (python_extension_ops): New global.
2941 (struct python_env): New member previous_active.
2942 (restore_python_env): Call restore_active_ext_lang.
2943 (ensure_python_env): Call set_active_ext_lang.
2944 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
2946 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
2948 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
2950 (gdbpy_eval_from_control_command): Renamed from
2951 eval_python_from_control_command, made static. New arg extlang.
2952 (gdbpy_source_script) Renamed from source_python_script, made static.
2954 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
2955 result to int. New arg extlang.
2956 (gdbpy_source_objfile_script): Renamed from
2957 source_python_script_for_objfile, made static. New arg extlang.
2958 (gdbpy_start_type_printers): Renamed from start_type_printers, made
2959 static. New args extlang, extlang_printers. Change result type to
2961 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
2962 static. New arg extlang. Rename arg printers to extlang_printers
2963 and change type to ext_lang_type_printers *.
2964 (gdbpy_free_type_printers): Renamed from free_type_printers, made
2965 static. Replace argument arg with extlang, extlang_printers.
2966 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
2967 (!HAVE_PYTHON, source_python_script): Delete.
2968 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
2969 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
2970 (!HAVE_PYTHON, start_type_printers): Delete.
2971 (!HAVE_PYTHON, apply_type_printers): Delete.
2972 (!HAVE_PYTHON, free_type_printers): Delete.
2973 (_initialize_python): Delete call to observer_attach_before_prompt.
2974 (finalize_python): Set/restore active extension language.
2975 (gdbpy_finish_initialization) Renamed from
2976 finish_python_initialization, made static. New arg extlang.
2977 (gdbpy_initialized): New function.
2978 * python/python.h: #include "extension.h". Delete #include
2979 "value.h", "mi/mi-cmds.h".
2980 (extension_language_python): Declare.
2981 (GDBPY_AUTO_FILE_NAME): Delete.
2982 (enum py_bt_status): Moved to extension.h and renamed to
2984 (enum frame_filter_flags): Moved to extension.h.
2985 (enum py_frame_args): Moved to extension.h and renamed to
2986 ext_lang_frame_args.
2987 (finish_python_initialization): Delete.
2988 (eval_python_from_control_command): Delete.
2989 (source_python_script): Delete.
2990 (apply_val_pretty_printer): Delete.
2991 (apply_frame_filter): Delete.
2992 (preserve_python_values): Delete.
2993 (gdbpy_script_language_defn): Delete.
2994 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
2995 (start_type_printers, apply_type_printers, free_type_printers): Delete.
2997 * auto-load.c: #include "extension.h".
2998 (GDB_AUTO_FILE_NAME): Delete.
2999 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
3000 (script_language_gdb): Delete, moved to extension.c and renamed to
3001 extension_language_gdb.
3002 (source_gdb_script_for_objfile): Delete.
3003 (auto_load_pspace_info): New member unsupported_script_warning_printed.
3004 (loaded_script): Change type of language member to
3005 struct extension_language_defn *.
3006 (init_loaded_scripts_info): Initialize
3007 unsupported_script_warning_printed.
3008 (maybe_add_script): Make static. Change type of language arg to
3009 struct extension_language_defn *.
3010 (clear_section_scripts): Reset unsupported_script_warning_printed.
3011 (auto_load_objfile_script_1): Rewrite to use extension language API.
3012 (auto_load_objfile_script): Make public. Remove support-compiled-in
3013 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
3014 (source_section_scripts): Rewrite to use extension language API.
3015 (load_auto_scripts_for_objfile): Rewrite to use
3016 auto_load_scripts_for_objfile.
3017 (collect_matching_scripts_data): Change type of language member to
3018 struct extension_language_defn *.
3019 (auto_load_info_scripts): Change type of language arg to
3020 struct extension_language_defn *.
3021 (unsupported_script_warning_print): New function.
3022 (script_not_found_warning_print): Make static.
3023 (_initialize_auto_load): Rewrite construction of scripts-directory
3025 * auto-load.h (struct objfile): Add forward decl.
3026 (struct script_language): Delete.
3027 (struct auto_load_pspace_info): Add forward decl.
3028 (struct extension_language_defn): Add forward decl.
3029 (maybe_add_script): Delete.
3030 (auto_load_objfile_script): Declare.
3031 (script_not_found_warning_print): Delete.
3032 (auto_load_info_scripts): Update prototype.
3033 (auto_load_gdb_scripts_enabled): Declare.
3034 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
3035 auto_load_python_scripts_enabled and made public.
3036 (script_language_python): Delete, moved to python.c.
3037 (gdbpy_script_language_defn): Delete.
3038 (info_auto_load_python_scripts): Update to use
3039 extension_language_python.
3041 * breakpoint.c (condition_command): Replace call to
3042 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
3043 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
3044 with call to breakpoint_ext_lang_cond_says_stop.
3045 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
3046 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
3047 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
3048 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
3050 (local_setattro): Print name of extension language with existing
3053 * valprint.c (val_print, value_print): Update to call
3054 apply_ext_lang_val_pretty_printer.
3055 * cp-valprint.c (cp_print_value): Update call to
3056 apply_ext_lang_val_pretty_printer.
3057 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
3058 (gdbpy_apply_val_pretty_printer): Renamed from
3059 apply_val_pretty_printer. New arg extlang.
3060 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
3062 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
3063 extension language API.
3064 * cli/cli-script.c (execute_control_command): Update to call
3065 eval_ext_lang_from_control_command.
3067 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
3068 enum ext_lang_bt_status values. Update call to
3069 apply_ext_lang_frame_filter.
3070 (mi_cmd_stack_list_locals): Ditto.
3071 (mi_cmd_stack_list_args): Ditto.
3072 (mi_cmd_stack_list_variables): Ditto.
3073 * mi/mi-main.c: Delete #include "python/python-internal.h".
3074 Add #include "extension.h".
3075 (mi_cmd_list_features): Replace reference to python internal variable
3076 gdb_python_initialized with call to ext_lang_initialized_p.
3078 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
3079 Update to use enum ext_lang_frame_args. Update to call
3080 apply_ext_lang_frame_filter.
3081 * python/py-framefilter.c (extract_sym): Update to use enum
3083 (extract_value, py_print_type, py_print_value): Ditto.
3084 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
3085 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
3086 (py_print_frame): Ditto.
3087 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
3088 New arg extlang. Update to use enum ext_lang_bt_status.
3090 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
3091 finish_python_initialization. Replace with call to
3092 finish_ext_lang_initialization.
3094 * typeprint.c (do_free_global_table): Update to call
3095 free_ext_lang_type_printers.
3096 (create_global_typedef_table): Update to call
3097 start_ext_lang_type_printers.
3098 (find_global_typedef): Update to call apply_ext_lang_type_printers.
3099 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
3100 (type_print_options): Change type of global_printers from "void *"
3101 to "struct ext_lang_type_printers *".
3103 * value.c (preserve_values): Update to call preserve_ext_lang_values.
3104 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
3105 (gdbpy_preserve_values): Renamed from preserve_python_values.
3107 (!HAVE_PYTHON, preserve_python_values): Delete.
3109 * utils.c (quit_flag): Delete, moved to extension.c.
3110 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
3113 * eval.c: Delete #include "python/python.h".
3114 * main.c: Delete #include "python/python.h".
3116 * defs.h: Update comment.
3118 2014-02-06 Joel Brobecker <brobecker@adacore.com>
3122 2014-02-05 Mark Kettenis <kettenis@gnu.org>
3124 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
3127 2014-02-05 Yao Qi <yao@codesourcery.com>
3129 * remote.c (remote_pass_signals): Remove local 'buf' and use
3131 (remote_program_signals): Likewise.
3133 2014-02-05 Yao Qi <yao@codesourcery.com>
3135 * ctf.c: Include "inferior.h" and "gdbthread.h".
3136 (CTF_PID): A new macro.
3137 (ctf_open): Call inferior_appeared and add_thread_silent.
3138 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
3139 (ctf_thread_alive): New function.
3140 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
3142 2014-02-05 Yao Qi <yao@codesourcery.com>
3146 2013-05-24 Yao Qi <yao@codesourcery.com>
3148 * tracepoint.c (TFILE_PID): Remove.
3149 (tfile_open): Don't add thread and inferior.
3150 (tfile_close): Don't set 'inferior_ptid'. Don't call
3151 exit_inferior_silent.
3152 (tfile_thread_alive): Remove.
3153 (init_tfile_ops): Don't set field 'to_thread_alive' of
3156 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
3158 * remote.c (remote_start_remote): Call remote_check_symbols even
3159 if only symbol-file (not file) has been given.
3161 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3163 * gdbarch.sh (skip_entrypoint): New callback.
3164 * gdbarch.c, gdbarch.h: Regenerate.
3165 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
3166 * infrun.c (fill_in_stop_func): Likewise.
3167 * ppc-linux-tdep.c: Include "elf/ppc64.h".
3168 (ppc_elfv2_elf_make_msymbol_special): New function.
3169 (ppc_elfv2_skip_entrypoint): Likewise.
3170 (ppc_linux_init_abi): Install them for ELFv2.
3172 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3174 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
3175 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
3176 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
3177 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
3178 structures returned in GPRs.
3180 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3182 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
3183 offset to the stack parameter list for the ELFv2 ABI.
3185 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3187 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
3188 set_gdbarch_convert_from_func_ptr_addr and
3189 set_gdbarch_elf_make_msymbol_special for ELFv1.
3190 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
3191 function descriptors on ELFv1.
3192 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
3193 set up r12 at function entry.
3195 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3197 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
3198 (struct gdbarch_tdep): New member elf_abi.
3200 * rs6000-tdep.c: Include "elf/ppc64.h".
3201 (rs6000_gdbarch_init): Detect ELF ABI version.
3203 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3205 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
3206 within a register pair holding a DFP 128-bit value on little-endian.
3207 (ppc64_sysv_abi_return_value_base): Likewise.
3208 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
3209 (dfp_pseudo_register_write): Likewise.
3211 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3213 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
3214 offset on little-endian when passing _Decimal32.
3215 (ppc64_sysv_abi_return_value_base): Likewise for return values.
3217 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3219 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
3220 of the overlapped FP register within the VSX register on little-
3222 (efpr_pseudo_register_write): Likewise.
3224 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3226 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
3227 offset on little-endian when passing small structures.
3229 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3231 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
3232 (struct ppc64_sysv_argpos): New data structure.
3233 (ppc64_sysv_abi_push_float): Remove.
3234 (ppc64_sysv_abi_push_val): New function.
3235 (ppc64_sysv_abi_push_integer): Likewise.
3236 (ppc64_sysv_abi_push_freg): Likewise.
3237 (ppc64_sysv_abi_push_vreg): Likewise.
3238 (ppc64_sysv_abi_push_param): Likewise.
3239 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
3240 (ppc64_sysv_abi_return_value_base): New function.
3241 (ppc64_sysv_abi_return_value): Refactor to use it.
3243 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3245 * NEWS: Document new target powerpc64le-*-linux*.
3247 2014-02-04 Mark Kettenis <kettenis@gnu.org>
3249 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
3250 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
3252 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
3253 register set used in ELF core dumps. Add floating-point register set.
3255 2014-02-03 Kevin Buettner <kevinb@redhat.com>
3257 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
3258 dwarf2_to_gdb[] table using symbolic constants. Adjust
3259 penultimate entry from number representing the PC register
3260 to symbolic constant representing the MDR register. Add
3261 constant for the PC register to the end of the table.
3263 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3265 * bsd-kvm.c: Include <sys/param.h>
3267 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3269 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
3271 2014-01-31 Joel Brobecker <brobecker@adacore.com>
3273 * ada-lang.h (clear_ada_sym_cache): Delete.
3275 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
3277 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
3279 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3281 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
3282 the sigreturn register save area only if the syscall is
3285 2014-01-29 Joel Brobecker <brobecker@adacore.com>
3287 * valops.c (value_slice): Minor reformatting.
3289 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
3291 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
3293 2014-01-28 Joel Brobecker <brobecker@adacore.com>
3295 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
3297 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
3298 (ada_ignore_descriptive_types_p): New static global.
3299 (find_parallel_type_by_descriptive_type): Return immediately
3300 if ada_ignore_descriptive_types_p is set.
3301 (_initialize_ada_language): Register new commands "maintenance
3302 set ada", "maintenance show ada", "maintenance set ada
3303 ignore-descriptive-types" and "maintenance show ada
3304 ignore-descriptive-types".
3305 * NEWS: Add entry for new "maint ada set/show
3306 ignore-descriptive-types" commands.
3308 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
3310 * record-btrace.c (record_btrace_close): Call btrace_teardown
3313 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3315 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
3318 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3320 * ada-typeprint (type_is_full_subrange_of_target_type):
3322 (print_range): Add parameter bounds_prefered_p. If not set,
3323 try printing range types using the name of their base type.
3324 (print_range_type): Add parameter bounds_prefered_p.
3325 Use it in call to print_range.
3326 (print_array_type, ada_print_type): Update calls to print_range
3327 and print_range_type.
3329 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3331 * ada-typeprint.c (print_array_type, print_choices, print_range)
3332 (print_range_bound, print_dynamic_range_bound, print_range_type):
3335 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3337 * ada-typeprint.c (print_range): Add missing empty line
3338 after local declaration.
3340 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3342 * ada-valprint.c (print_optional_low_bound): Get index_type's
3343 target type for as long as it is a TYPE_CODE_RANGE.
3345 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3347 * procfs.c (procfs_make_note_section): Remove assertion and
3350 2014-01-24 Yao Qi <yao@codesourcery.com>
3352 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
3353 * corelow.c (get_core_siginfo): Likewise.
3355 2014-01-24 Yao Qi <yao@codesourcery.com>
3357 * remote.c (remote_write_bytes_aux): Change type of 'len' to
3358 ULONGEST. Don't check 'len' is negative.
3359 (remote_write_bytes): Change type of 'len' to ULONGEST.
3361 2014-01-23 Tom Tromey <tromey@redhat.com>
3364 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
3365 Handle exception from frame.block.
3366 (FrameVars.fetch_frame_locals): Likewise.
3368 2014-01-23 Tom Tromey <tromey@redhat.com>
3371 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
3372 on a NULL pointer. Move "goto error" to correct place.
3374 2014-01-23 Tom Tromey <tromey@redhat.com>
3377 * python/py-framefilter.c (apply_frame_filter): Call
3378 ensure_python_env after computing gdbarch.
3380 2014-01-23 Yao Qi <yao@codesourcery.com>
3382 * target.c (raw_memory_xfer_partial): Change argument type
3383 from void * to gdb_byte *.
3384 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
3386 2014-01-22 Doug Evans <dje@google.com>
3388 New gdbserver option --debug-format=timestamp.
3391 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3393 * syscalls/s390x-linux.xml: New file.
3394 * syscalls/s390-linux.xml: New file.
3395 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
3396 (XML_SYSCALL_FILENAME_S390X): Likewise.
3397 (op_svc): New enum value for SVC opcode.
3398 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
3399 (s390_linux_get_syscall_number): New function.
3400 (s390_gdbarch_init): Register '*get_syscall_number' and the
3401 syscall xml file name.
3402 * data-directory/Makefile.in (SYSCALLS_FILES): Add
3403 "s390-linux.xml" and "s390x-linux.xml".
3404 * NEWS: Announce new feature.
3406 2014-01-22 Baruch Siach <baruch@tkos.co.il>
3408 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
3410 2014-01-22 Pedro Alves <palves@redhat.com>
3412 * xtensa-config.c: Include defs.h.
3414 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3416 * common/common-utils.h: Add "ARI:" comment beside __func__
3419 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3421 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
3422 documentation a bit.
3424 2014-01-21 Roland McGrath <mcgrathr@google.com>
3426 * configure.ac: Call AM_PROG_INSTALL_STRIP.
3427 * configure: Regenerate.
3428 * aclocal.m4: Regenerate.
3429 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
3430 New substituted variables.
3431 (install-strip): New target.
3432 (INSTALL_SCRIPT): New substituted variable.
3433 (FLAGS_TO_PASS): Add it.
3434 (install-only): Use $(INSTALL_SCRIPT) rather than
3435 $(INSTALL_PROGRAM) for gcore.
3437 2014-01-20 Tom Tromey <tromey@redhat.com>
3439 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
3442 2014-01-20 Tom Tromey <tromey@redhat.com>
3444 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
3445 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
3446 (deprecated_cmd_warning, complete_on_cmdlist): Update.
3447 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
3448 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3449 (struct cmd_list_element) <flags>: Remove.
3450 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3451 doc_allocated>: New fields.
3452 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3454 * maint.c (maintenance_do_deprecate): Update.
3455 * top.c (execute_command): Update.
3457 2014-01-20 Baruch Siach <baruch@tkos.co.il>
3459 * xtensa-linux-nat.c: Include asm/ptrace.h.
3461 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3463 * Makefile.in (SFILES): Add d-support.c.
3464 (COMMON_OBS): Add d-support.o.
3465 * d-lang.h (d_parse_symbol): Add comment, now defined in
3467 * d-lang.c (parse_call_convention)
3468 (parse_attributes, parse_function_types)
3469 (parse_function_args, parse_type, parse_identifier)
3470 (call_convention_p, d_parse_symbol): Move functions to ...
3471 * d-support.c: ... New file.
3473 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3475 * d-lang.h (d_parse_symbol): Add declaration.
3476 * d-lang.c (extract_identifiers)
3477 (extract_type_info): Remove functions.
3478 (parse_call_convention, parse_attributes)
3479 (parse_function_types, parse_function_args)
3480 (parse_type, parse_identifier, call_convention_p)
3481 (d_parse_symbol): New functions.
3482 (d_demangle): Use d_parse_symbol to demangle D symbols.
3484 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3486 * d-lang.h (struct builtin_d_type): New data type.
3487 (builtin_d_type): Add declaration.
3488 * d-lang.c (d_language_arch_info, build_d_types)
3489 (builtin_d_type): New functions.
3490 (enum d_primitive_types): New data type.
3491 (d_language_defn): Change c_language_arch_info to
3492 d_language_arch_info.
3493 (d_type_data): New static variable.
3494 (_initialize_d_language): Initialize d_type_data.
3496 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3498 * d-lang.h (d_main_name): Add declaration.
3499 * d-lang.c (d_main_name): New function.
3500 * symtab.c (find_main_name): Add call to d_main_name.
3502 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3504 * d-lang.c (d_language_defn): Change macro_expansion_c to
3507 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3509 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3511 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3513 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3514 gdb_exception" declaration.
3515 * remote.c (getpkt_or_notif_sane): Likewise.
3517 2014-01-17 Doug Evans <dje@google.com>
3519 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3520 function, contents of dirnames_to_char_ptr_vec_append moved here.
3521 (delim_string_to_char_ptr_vec): New function.
3522 (dirnames_to_char_ptr_vec_append): Rewrite.
3523 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3525 2014-01-17 Doug Evans <dje@google.com>
3527 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3529 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3530 #include "common-utils.h".
3531 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3532 * common/vec.h (VEC_ASSERT_PASS): Update.
3533 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3534 (MACH_CHECK_ERROR): Update.
3536 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3538 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3540 * gdbarch.h: Regenerate.
3542 2014-01-16 Tom Tromey <tromey@redhat.com>
3544 * value.c (struct value) <regnum>: Move earlier.
3546 2014-01-16 Tom Tromey <tromey@redhat.com>
3548 * remote.c (extended_remote_create_inferior): Rename from
3549 extended_remote_create_inferior_1. Add "ops" argument. Remove
3552 2014-01-16 Pedro Alves <palves@redhat.com>
3554 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3555 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3558 2014-01-16 Doug Evans <dje@google.com>
3560 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3562 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3564 * btrace.h (btrace_thread_flag): New.
3565 (struct btrace_thread_info) <flags>: New.
3566 * record-btrace.c (record_btrace_resume_thread)
3567 (record_btrace_find_thread_to_move, btrace_step_no_history)
3568 (btrace_step_stopped, record_btrace_start_replaying)
3569 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3570 (record_btrace_find_resume_thread): New.
3571 (record_btrace_resume, record_btrace_wait): Extend.
3572 (record_btrace_can_execute_reverse): New.
3573 (record_btrace_open): Fail in non-stop mode.
3574 (record_btrace_set_replay): Split into this, ...
3575 (record_btrace_stop_replaying): ... this, ...
3576 (record_btrace_clear_histories): ... and this.
3577 (init_record_btrace_ops): Init to_can_execute_reverse.
3578 * NEWS: Announce it.
3580 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3582 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3583 (forward_target_decr_pc_after_break)
3584 (target_decr_pc_after_break): New.
3585 * target.c (forward_target_decr_pc_after_break)
3586 (target_decr_pc_after_break): New.
3587 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3588 instead of gdbarch_decr_pc_after_break.
3589 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3590 instead of gdbarch_decr_pc_after_break.
3591 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3592 instead of gdbarch_decr_pc_after_break.
3593 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3594 instead of gdbarch_decr_pc_after_break.
3595 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3596 instead of gdbarch_decr_pc_after_break.
3597 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3598 instead of gdbarch_decr_pc_after_break.
3600 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3602 * btrace.c: Include regcache.h.
3603 (btrace_add_pc): New.
3604 (btrace_enable): Call btrace_add_pc.
3605 (btrace_is_empty): New.
3606 * btrace.h (btrace_is_empty): New.
3607 * record-btrace.c (require_btrace, record_btrace_info): Call
3610 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3612 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3613 Support delta reads.
3614 (linux_disable_btrace): Change return type.
3615 * common/linux-btrace.h (linux_read_btrace): Change parameters
3616 and return type to allow error reporting. Update users.
3617 (linux_disable_btrace): Change return type. Update users.
3618 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3620 (btrace_error): New.
3621 (btrace_block) <begin>: Comment on BEGIN == 0.
3622 * btrace.c (btrace_compute_ftrace): Start from the end of
3624 (btrace_stitch_trace, btrace_clear_history): New.
3625 (btrace_fetch): Read delta trace, return if replaying.
3626 (btrace_clear): Move clear history code to btrace_clear_history.
3627 (parse_xml_btrace): Throw an error if parsing failed.
3628 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3629 and return type to allow error reporting.
3630 (target_read_btrace): Change parameters and return type to allow
3632 * target.c (target_read_btrace): Update.
3633 * remote.c (remote_read_btrace): Support delta reads. Pass
3635 * NEWS: Announce it.
3637 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3639 * record.h (record_btrace_frame_unwind)
3640 (record_btrace_tailcall_frame_unwind): New declarations.
3641 * dwarf2-frame: Include record.h
3642 (dwarf2_frame_cfa): Throw an error for btrace frames.
3643 * record-btrace.c: Include hashtab.h.
3644 (btrace_get_bfun_name): New.
3645 (btrace_call_history): Call btrace_get_bfun_name.
3646 (struct btrace_frame_cache): New.
3648 (bfcache_hash, bfcache_eq, bfcache_new): New.
3649 (btrace_get_frame_function): New.
3650 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3651 (record_btrace_frame_this_id): Compute own id.
3652 (record_btrace_frame_prev_register): Provide PC, throw_error
3653 for all other registers.
3654 (record_btrace_frame_sniffer): Detect btrace frames.
3655 (record_btrace_tailcall_frame_sniffer): New.
3656 (record_btrace_frame_dealloc_cache): New.
3657 (record_btrace_frame_unwind): Add new functions.
3658 (record_btrace_tailcall_frame_unwind): New.
3659 (_initialize_record_btrace): Allocate cache.
3660 * btrace.c (btrace_clear): Call reinit_frame_cache.
3661 * NEWS: Announce it.
3663 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3665 * record-btrace.c (record_btrace_set_replay)
3666 (record_btrace_goto_begin, record_btrace_goto_end)
3667 (record_btrace_goto): New.
3668 (init_record_btrace_ops): Initialize them.
3669 * NEWS: Announce it.
3671 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3673 * record-btrace.c (record_btrace_find_new_threads)
3674 (record_btrace_thread_alive): New.
3675 (init_record_btrace_ops): Initialize to_find_new_threads and
3678 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3680 * record-btrace.c (record_btrace_resume): New.
3681 (record_btrace_wait): New.
3682 (init_record_btrace_ops): Initialize to_wait and to_resume.
3684 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3686 * record-btrace.c (record_btrace_xfer_partial)
3687 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3688 (record_btrace_allow_memory_access): New.
3689 (init_record_btrace_ops): Initialize new methods.
3690 * target.c (raw_memory_xfer_partial): Bail out if target reports
3691 that this memory is not available.
3693 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3695 * target.h (target_ops) <to_insert_breakpoint>
3696 <to_remove_breakpoint>: Add target_ops parameter.
3697 (forward_target_insert_breakpoint): New.
3698 (forward_target_remove_breakpoint): New.
3699 (memory_remove_breakpoint, memory_insert_breakpoint):
3700 Add target_ops parameter.
3701 * target.c (target_insert_breakpoint): Split into this and ...
3702 (forward_target_insert_breakpoint): ... this.
3703 (target_remove_breakpoint): Split into this and ...
3704 (forward_target_remove_breakpoint): ... this.
3705 (debug_to_insert_breakpoint): Add target_ops parameter.
3706 Call forward_target_insert_breakpoint.
3707 (debug_to_remove_breakpoint): Add target_ops parameter.
3708 Call forward_target_remove_breakpoint.
3709 (update_current_target): Do not inherit or default to_insert_breakpoint
3710 and to_remove_breakpoint.
3711 * corelow.c (ignore): Add target_ops parameter.
3712 * exec.c (ignore): Add target_ops parameter.
3713 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3714 Add target_ops parameter.
3715 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3716 Add target_ops parameter.
3717 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3718 Add target_ops parameter.
3719 * record-full.c (record_full_beneath_to_insert_breakpoint)
3720 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3721 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3722 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
3723 (record_full_core_remove_breakpoint): Add target_ops parameter.
3725 (record_full_beneath_to_insert_breakpoint_ops)
3726 (record_full_beneath_to_remove_breakpoint_ops)
3727 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
3728 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
3729 tmp_to_remove_breakpoint_ops,
3730 record_full_beneath_to_insert_breakpoint_ops, and
3731 record_full_beneath_to_remove_breakpoint_ops.
3732 * remote-m32r-sdi.c (m32r_insert_breakpoint)
3733 (m32r_remove_breakpoint): Add target_ops parameter.
3734 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
3735 Add target_ops parameter.
3736 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
3737 Add target_ops parameter.
3739 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3740 Markus Metzger <markus.t.metzger@intel.com>
3742 * record-btrace.c: Include frame-unwind.h.
3743 (record_btrace_frame_unwind_stop_reason)
3744 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
3745 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
3747 (init_record_btrace_ops): Install it.
3749 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3751 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
3754 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3756 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
3759 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3761 * frame-unwind.c: Include target.h.
3762 (frame_unwind_try_unwinder): New function with code from ...
3763 (frame_unwind_find_by_frame): ... here. New variable
3764 unwinder_from_target, call also target_get_unwinder)
3765 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
3766 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
3767 * target.h (struct target_ops): New fields to_get_unwinder and
3768 to_get_tailcall_unwinder.
3769 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
3771 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3773 * record-btrace.c (record_btrace_fetch_registers)
3774 (record_btrace_store_registers)
3775 (record_btrace_to_prepare_to_store): New.
3776 (init_record_btrace_ops): Add the above.
3778 2014-01-16 Tom Tromey <tromey@redhat.com>
3780 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
3781 * target.h (struct target_ops) <to_prepare_to_store>: Add
3783 (target_prepare_to_store): Add argument.
3784 * target.c (debug_to_prepare_to_store): Add argument.
3785 (update_current_target): Update.
3786 * remote.c (remote_prepare_to_store): Add 'self' argument.
3787 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
3788 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
3789 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
3790 * record-full.c (record_full_core_prepare_to_store): Add 'self'
3792 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
3793 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
3794 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
3795 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
3796 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
3798 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3800 * btrace.h (replay) <replay>: New.
3801 (btrace_is_replaying): New.
3802 * btrace.c (btrace_clear): Free replay iterator.
3803 (btrace_is_replaying): New.
3804 * record-btrace.c (record_btrace_is_replaying): New.
3805 (record_btrace_info): Print insn number if replaying.
3806 (record_btrace_insn_history): Start at replay position.
3807 (record_btrace_call_history): Start at replay position.
3808 (init_record_btrace_ops): Init to_record_is_replaying.
3810 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3812 * record-btrace.c (record_btrace_insn_history_range): Include
3814 (record_btrace_insn_history_from): Adjust range.
3815 (record_btrace_call_history_range): Include
3817 (record_btrace_call_history_from): Adjust range.
3818 * NEWS: Announce changes.
3820 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3822 * record.h (enum record_print_flag)
3823 <record_print_indent_calls>: New.
3824 * record.c (get_call_history_modifiers): Recognize /c modifier.
3825 (_initialize_record): Document /c modifier.
3826 * record-btrace.c (btrace_call_history): Add btinfo parameter.
3827 Reorder fields. Optionally indent the function name. Update
3829 * NEWS: Announce changes.
3831 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3833 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
3835 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3837 * btrace.c (ftrace_new_function): Start counting at one.
3838 * record-btrace.c (record_btrace_info): Adjust number of calls
3840 * NEWS: Announce it.
3842 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3844 * record-btrace.c (btrace_call_history_insn_range): Print
3845 insn range as [begin, end].
3847 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3849 * btrace.h (struct btrace_func_link): New.
3850 (enum btrace_function_flag): New.
3851 (struct btrace_inst): Rename to ...
3852 (struct btrace_insn): ...this. Update all users.
3853 (struct btrace_func) <ibegin, iend>: Remove.
3854 (struct btrace_func_link): New.
3855 (struct btrace_func): Rename to ...
3856 (struct btrace_function): ...this. Update all users.
3857 (struct btrace_function) <segment, flow, up, insn, insn_offset)
3858 (number, level, flags>: New.
3859 (struct btrace_insn_iterator): Rename to ...
3860 (struct btrace_insn_history): ...this.
3862 (struct btrace_insn_iterator, btrace_call_iterator): New.
3863 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
3864 (struct btrace_target_info) <begin, end, level>
3865 <insn_history, call_history>: New.
3866 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3867 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3868 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3869 (btrace_call_number, btrace_call_begin, btrace_call_end)
3870 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3871 (btrace_find_function_by_number, btrace_set_insn_history)
3872 (btrace_set_call_history): New.
3873 * btrace.c (btrace_init_insn_iterator)
3874 (btrace_init_func_iterator, compute_itrace): Remove.
3875 (ftrace_print_function_name, ftrace_print_filename)
3876 (ftrace_skip_file): Change
3878 (ftrace_init_func): Remove.
3879 (ftrace_debug): Use new btrace_function fields.
3880 (ftrace_function_switched): Also consider gaining and
3881 losing symbol information).
3882 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
3883 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
3884 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
3886 (ftrace_new_function): Move. Remove debug print.
3887 (ftrace_update_lines, ftrace_update_insns): New.
3888 (ftrace_update_function): Check for call, ret, and jump.
3889 (compute_ftrace): Renamed to ...
3890 (btrace_compute_ftrace): ...this. Rewritten to compute call
3892 (btrace_fetch, btrace_clear): Updated.
3893 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3894 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3895 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3896 (btrace_call_number, btrace_call_begin, btrace_call_end)
3897 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3898 (btrace_find_function_by_number, btrace_set_insn_history)
3899 (btrace_set_call_history): New.
3900 * record-btrace.c (require_btrace): Use new btrace thread
3902 (record_btrace_info, btrace_insn_history)
3903 (record_btrace_insn_history, record_btrace_insn_history_range):
3904 Use new btrace thread info fields and new iterator.
3905 (btrace_func_history_src_line): Rename to ...
3906 (btrace_call_history_src_line): ...this. Use new btrace
3908 (btrace_func_history): Rename to ...
3909 (btrace_call_history): ...this. Use new btrace thread info
3910 fields and new iterator.
3911 (record_btrace_call_history, record_btrace_call_history_range):
3912 Use new btrace thread info fields and new iterator.
3914 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3916 * frame.h (frame_id_build_unavailable_stack_special): New.
3917 * frame.c (frame_id_build_unavailable_stack_special): New.
3919 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3921 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
3922 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
3923 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
3925 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
3926 (i386_insn_is_jump, i386_jmp_p): New.
3927 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
3928 insn_is_jump to gdbarch.
3929 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
3930 * gdbarch.h: Regenerated.
3931 * gdbarch.c: Regenerated.
3932 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
3933 (default_insn_is_jump): New.
3934 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
3935 (default_insn_is_jump): New.
3937 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3939 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
3941 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
3942 (btrace_read_type) <btrace_read_new>: Change to ...
3943 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
3945 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3947 * common/linux-btrace.c (linux_read_btrace): Free trace from
3950 2014-01-15 Doug Evans <dje@google.com>
3952 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
3955 2014-01-15 Tom Tromey <tromey@redhat.com>
3957 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
3958 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
3959 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
3960 (set_objfile_main_name): New function.
3961 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
3962 language_of_main>: New fields.
3963 (set_objfile_main_name): Declare.
3964 * symtab.c (find_main_name): Loop over objfiles to find the main
3966 (set_main_name): Now static.
3967 (get_main_info): Add comment.
3968 * symtab.h (set_main_name): Don't declare.
3970 2014-01-15 Tom Tromey <tromey@redhat.com>
3972 * symtab.c (main_progspace_key): New global.
3973 (struct main_info): New.
3974 (name_of_main, language_of_main): Remove.
3975 (get_main_info, main_info_cleanup): New function.
3976 (set_main_name, main_name, main_language): Use get_main_info.
3977 (_initialize_symtab): Initialize main_progspace_key.
3979 2014-01-15 Tom Tromey <tromey@redhat.com>
3981 * dbxread.c (process_one_symbol): Update.
3982 * dwarf2read.c (read_partial_die): Update.
3983 * symfile.c (set_initial_language): Call main_language.
3984 * symtab.c (language_of_main): Now static.
3985 (set_main_name): Add 'lang' parameter.
3986 (find_main_name): Update.
3987 (main_language): New function.
3988 (symtab_observer_executable_changed): Update.
3989 * symtab.h (set_main_name): Update.
3990 (language_of_main): Remove.
3991 (main_language): Declare.
3993 2014-01-15 Tom Tromey <tromey@redhat.com>
3995 * symfile.c (init_entry_point_info): Use new "initialized" field.
3997 * objfiles.h (struct entry_point) <initialized>: New field.
3998 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
3999 (struct objfile) <ei>: ...here. Remove.
4000 * objfiles.c (entry_point_address_query): Update.
4002 2014-01-15 Tom Tromey <tromey@redhat.com>
4004 * objfiles.c (entry_point_address_query): Relocate entry point
4006 (objfile_relocate1): Do not relocate entry point address.
4007 * objfiles.h (struct entry_info) <entry_point>: Update comment.
4008 <the_bfd_section_index>: New field.
4009 * symfile.c (init_entry_point_info): Find the entry point's
4012 2014-01-15 Tom Tromey <tromey@redhat.com>
4014 * solib-frv.c (enable_break): Use entry_point_address_query.
4016 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4018 * NEWS: Add note on improved process record-replay on
4019 arm*-linux* targets.
4021 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4023 * arm-tdep.c (enum arm_record_result): New enum.
4024 (arm_record_unsupported_insn): New function.
4025 (arm_record_coproc_data_proc): Removed.
4026 (thumb2_record_ld_st_multiple): New function.
4027 (thumb2_record_ld_st_dual_ex_tbb): New function.
4028 (thumb2_record_data_proc_sreg_mimm): New function.
4029 (thumb2_record_ps_dest_generic): New function.
4030 (thumb2_record_branch_misc_cntrl): New function.
4031 (thumb2_record_str_single_data): New function.
4032 (thumb2_record_ld_mem_hints): New function.
4033 (thumb2_record_ld_word): New function.
4034 (thumb2_record_lmul_lmla_div): New function.
4035 (thumb2_record_decode_insn_handler): New function.
4036 (decode_insn): Add thumb32 instruction handlers.
4038 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4040 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
4041 (struct arm_linux_record_tdep): Declare.
4042 (arm_canonicalize_syscall): New function.
4043 (arm_all_but_pc_registers_record): New function.
4044 (arm_linux_syscall_record): New function.
4045 (arm_linux_init_abi): Add syscall recording constructs.
4046 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
4047 decoding. (arm_record_coproc_data_proc): Update arm syscall
4049 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
4050 <arm_syscall_record>: New field.
4051 * configure.tgt (arm*-*-linux*): Add linux-record.o to
4054 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4056 * arm-tdep.c (thumb_record_misc): Update to use sp as base
4057 register for push instruction recording.
4059 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4061 * arm-tdep.c (thumb_record_misc): Update to correct logical
4062 error while recording ldm, ldmia and pop instructions.
4064 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4066 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
4068 2014-01-15 Pedro Alves <palves@redhat.com>
4070 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
4071 (go32_resume, go32_fetch_registers, store_register)
4072 (go32_store_registers, go32_prepare_to_store)
4073 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
4074 (go32_create_inferior, go32_can_run, go32_terminal_init)
4075 (go32_terminal_inferior, go32_terminal_ours): Delete forward
4078 2014-01-15 Tom Tromey <tromey@redhat.com>
4080 * target.h (async_callback_ftype): New typedef.
4081 (struct target_ops) <to_async>: Use it.
4083 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4085 * python/py-value.c (get_field_type): Remove unnecessary curly
4086 braces for single-statement if block.
4088 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4090 * python/py-type.c (convert_field): Add missing empty line
4093 2014-01-14 Doug Evans <dje@google.com>
4095 * symfile.h (expand_symtabs_matching): Renamed from
4096 expand_partial_symbol_names. Update prototype.
4097 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4098 * symfile.c (expand_symtabs_matching): Renamed from
4099 expand_partial_symbol_names. New args file_matcher, kind.
4100 Rename arg fun to symbol_matcher.
4101 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4102 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
4103 ada_expand_partial_symbol_name.
4104 (ada_make_symbol_completion_list): Update to call
4105 expand_symtabs_matching.
4106 (ada_add_global_exceptions): Call expand_symtabs_matching.
4107 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
4108 call map_symbol_filenames.
4109 * symtab.c (sources_info): Update to call map_symbol_filenames.
4110 (search_symbols): Call expand_symtabs_matching.
4111 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
4112 (default_make_symbol_completion_list_break_on): Update to call
4113 expand_symtabs_matching.
4114 (make_source_files_completion_list): Update to call
4115 map_symbol_filenames.
4117 2014-01-14 Doug Evans <dje@google.com>
4119 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
4120 (expand_symtabs_symbol_matcher_ftype): New typedef.
4121 (quick_symbol_functions.expand_symtabs_matching): Update to use.
4122 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4123 * symfile.c (expand_partial_symbol_names): Update to use
4124 expand_symtabs_symbol_matcher_ftype.
4125 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
4126 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4127 Arg name_matcher renamed to symbol_matcher.
4128 * psymtab.c (recursively_search_psymtabs): Update to use
4129 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
4131 (expand_symtabs_matching_via_partial): Update to use
4132 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4133 Arg name_matcher renamed to symbol_matcher.
4135 2014-01-14 Doug Evans <dje@google.com>
4137 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
4138 (map_partial_symbol_filenames): Ditto.
4139 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
4140 (map_partial_symbol_filenames): Ditto.
4141 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
4142 (map_partial_symbol_filenames): Ditto.
4143 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
4144 (map_partial_symbol_filenames): Ditto.
4145 * symtab.c: Delete #include "psymtab.h".
4147 2014-01-14 Pedro Alves <palves@redhat.com>
4148 Tom Tromey <tromey@redhat.com>
4150 * infrun.c (use_displaced_stepping): Use find_record_target
4151 instead of RECORD_IS_USED.
4152 (adjust_pc_after_break): Use record_full_is_used instead of
4154 * record-btrace.c (record_btrace_open): Call record_preopen
4155 instead of checking RECORD_IS_USED.
4156 * record-full.c (record_full_shortname)
4157 (record_full_core_shortname): New globals.
4158 (record_full_is_used): New function.
4159 (find_full_open): Call record_preopen instead of checking
4161 (init_record_full_ops): Set the target's shortname to
4162 record_full_shortname.
4163 (init_record_full_core_ops): Set the target's shortname to
4164 record_full_core_shortname.
4165 * record-full.h (record_full_is_used): Declare.
4166 * record.c (find_record_target): Make extern.
4167 (record_preopen): New function.
4168 * record.h (RECORD_IS_USED): Delete macro.
4169 (find_record_target, record_preopen): Declare functions.
4171 2014-01-14 Yao Qi <yao@codesourcery.com>
4173 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
4174 'len''s type to ULONGEST.
4175 (core_xfer_shared_libraries_aix): Likewise.
4176 * gdbarch.c, gdbarch.h: Regenerated.
4177 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
4178 Change type of 'len' to ULONGEST.
4179 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4180 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
4182 2014-01-14 Yao Qi <yao@codesourcery.com>
4184 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
4185 type of 'len' to ULONGEST.
4186 (linux_xfer_osdata_processgroups): Likewise.
4187 (linux_xfer_osdata_threads): Likewise.
4188 (linux_xfer_osdata_fds): Likewise.
4189 (linux_xfer_osdata_isockets): Likewise.
4190 (linux_xfer_osdata_shm): Likewise.
4191 (linux_xfer_osdata_sem): Likewise.
4192 (linux_xfer_osdata_msg): Likewise.
4193 (linux_common_xfer_osdata): Likewise.
4194 (struct osdata_type) <getter>: Likewise.
4195 * common/linux-osdata.h (linux_common_xfer_osdata): Update
4198 2014-01-14 Yao Qi <yao@codesourcery.com>
4200 * target.h (target_xfer_partial_ftype): Update.
4201 (struct target_ops) <to_xfer_partial>: Change 'len' type to
4203 * aix-thread.c (aix_thread_xfer_partial): Change type of
4204 argument 'len' to ULONGEST.
4205 * auxv.c (procfs_xfer_auxv): Likewise.
4206 (ld_so_xfer_auxv): Likewise.
4207 (memory_xfer_auxv): Likewise.
4208 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4209 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4210 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4211 * corelow.c (core_xfer_partial): Likewise.
4212 * ctf.c (ctf_xfer_partial): Likewise.
4213 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
4215 (darwin_read_dyld_info): Likewise.
4216 (darwin_xfer_partial): Likewise.
4217 * exec.c (section_table_xfer_memory_partial): Likewise.
4218 (exec_xfer_partial): Likewise.
4219 * exec.h (section_table_xfer_memory_partial): Update
4221 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
4222 instead of plongest.
4223 (gnu_xfer_partial): Likewise.
4224 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
4225 (ia64_hpux_xfer_solib_got): Likewise.
4226 (ia64_hpux_xfer_partial): Likewise.
4227 * ia64-linux-nat.c (ia64_linux_xfer_partial):
4228 * inf-ptrace.c (inf_ptrace_xfer_partial):
4229 * inf-ttrace.c (inf_ttrace_xfer_partial):
4230 * linux-nat.c (linux_xfer_siginfo): Likewise.
4231 (linux_nat_xfer_partial): Likewise.
4232 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
4233 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
4234 * monitor.c (monitor_xfer_memory): Likewise.
4235 (monitor_xfer_partial): Likewise.
4236 * procfs.c (procfs_xfer_partial): Likewise.
4237 * record-full.c (record_full_xfer_partial): Likewise.
4238 (record_full_core_xfer_partial): Likewise.
4239 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
4240 instead of plongest.
4241 (gdbsim_xfer_partial): Likewise.
4242 * remote.c (remote_xfer_partial): Likewise.
4243 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4244 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4246 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4247 (rs6000_xfer_shared_libraries): Likewise.
4248 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4249 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4250 (sparc_xfer_partial): Likewise.
4251 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4252 (spu_xfer_partial): Likewise.
4253 * spu-multiarch.c (spu_xfer_partial): Likewise.
4254 * target.c (target_read_live_memory): Likewise.
4255 (memory_xfer_live_readonly_partial): Likewise.
4256 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
4257 (target_xfer_partial, default_xfer_partial): Likewise.
4258 (current_xfer_partial): Likewise.
4259 * tracepoint.c (tfile_xfer_partial): Likewise.
4260 * windows-nat.c (windows_xfer_memory): Likewise. Call
4261 pulongest instead of plongest.
4262 (windows_xfer_partial): Likewise.
4263 (windows_xfer_shared_libraries): Likewise.
4265 2014-01-14 Yao Qi <yao@codesourcery.com>
4267 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
4268 target_xfer_partial_ftype.
4270 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4274 * valops.c (value_struct_elt_bitpos): New function
4275 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
4276 object to 'None' if the field name is an empty string ("").
4277 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
4278 attribute to look for a field when 'name' is 'None'.
4279 (get_field_type): New function
4281 2014-01-13 Doug Evans <dje@google.com>
4284 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
4285 (try_open_dwop_file): Ditto.
4286 * gdb_bfd.c: #include "vec.h".
4287 (bfdp): New typedef.
4288 (struct gdb_bfd_data): New member included_bfds.
4289 (gdb_bfd_unref): Unref all included bfds.
4290 (gdb_bfd_record_inclusion): New function.
4291 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
4293 2014-01-13 Tom Tromey <tromey@redhat.com>
4295 * gdbcore.h (deprecated_core_resize_section_table): Remove.
4297 2014-01-13 Tom Tromey <tromey@redhat.com>
4299 * defs.h (use_windows): Remove.
4300 * gdb.c (main): Update.
4301 * main.c (captured_main, gdb_main): Update.
4302 * main.h (struct captured_main_args) <use_windows>: Remove.
4303 * top.c (use_windows): Remove.
4305 2014-01-13 Tom Tromey <tromey@redhat.com>
4307 * defs.h (deprecated_flush_hook): Remove.
4309 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4312 * linux-thread-db.c (try_thread_db_load): Add parameter
4313 check_auto_load_safe. Move here the file_is_auto_load_safe call.
4314 (try_thread_db_load_from_pdir_1): Move it there from here.
4315 (try_thread_db_load_from_sdir): Update caller.
4316 (try_thread_db_load_from_dir): Move it there from here.
4318 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
4320 * regformats/regdat.sh: Always rewrite the register file.
4322 2014-01-13 Pedro Alves <palves@redhat.com>
4324 * Makefile.in (CHECK_HEADERS): New variable.
4325 (check-headers:): New rule.
4327 2014-01-13 Tom Tromey <tromey@redhat.com>
4329 * cli/cli-setshow.c (do_set_command): Update.
4330 * defs.h (deprecated_set_hook): Remove.
4331 * top.c (deprecated_set_hook): Remove.
4333 2014-01-13 Pedro Alves <palves@redhat.com>
4335 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
4336 the tracepoint if the PC is a pseudo-register.
4338 2014-01-13 Tom Tromey <tromey@redhat.com>
4340 * defs.h (XCALLOC): Remove.
4341 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
4342 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
4343 * dwarf2loc.c (allocate_piece_closure): Likewise.
4344 * elfread.c (elf_symfile_segments): Likewise.
4345 (elf_symfile_segments): Likewise.
4346 * gdbtypes.c (copy_type_recursive): Likewise.
4347 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
4348 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
4349 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
4351 * mt-tdep.c (mt_gdbarch_init): Likewise.
4352 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
4354 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
4355 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
4356 * registry.c (registry_alloc_data): Likewise.
4357 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
4358 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
4359 * serial.c (serial_fdopen_ops): Likewise.
4360 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
4362 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
4363 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
4366 2014-01-13 Tom Tromey <tromey@redhat.com>
4368 * defs.h (XMALLOC): Remove.
4369 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
4370 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
4371 * cli-out.c (struct ui_out *): Likewise.
4372 * cli/cli-dump.c (add_dump_command): Likewise.
4373 (add_dump_command): Likewise.
4374 * complaints.c (get_complaints): Likewise.
4375 (find_complaint): Likewise.
4376 * dwarf2-frame.c (execute_cfa_program): Likewise.
4377 * dwarf2read.c (abbrev_table_read_table): Likewise.
4378 * gdbarch.sh: Likewise.
4379 * gdbarch.c: Rebuild.
4380 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
4381 * interps.c (interp_new): Likewise.
4382 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
4383 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
4384 * mi/mi-console.c (mi_console_file_new): Likewise.
4385 * mi/mi-interp.c (mi_interpreter_init): Likewise.
4386 * mi/mi-out.c (mi_out_new): Likewise.
4387 * mi/mi-parse.c (mi_parse): Likewise.
4388 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
4389 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
4390 * observer.c (xalloc_observer_list_node): Likewise.
4391 * regcache.c (regcache_xmalloc_1): Likewise.
4392 * reggroups.c (reggroup_new): Likewise.
4393 (_initialize_reggroup): Likewise.
4394 * registry.c (register_data_with_cleanup): Likewise.
4395 * remote.c (remote_notif_stop_alloc_reply): Likewise.
4396 * ser-base.c (serial_ttystate): Likewise.
4397 * ser-mingw.c (make_pipe_state): Likewise.
4398 * ser-pipe.c (pipe_open): Likewise.
4399 * serial.c (serial_open): Likewise.
4400 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
4401 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
4402 (tui_alloc_win_info): Likewise.
4403 (tui_add_content_elements): Likewise.
4404 * tui/tui-file.c (tui_file_new): Likewise.
4405 * tui/tui-out.c (tui_out_new): Likewise.
4406 * ui-file.c (mem_file_new): Likewise.
4407 * ui-out.c (push_level): Likewise.
4408 (make_cleanup_ui_out_end): Likewise.
4409 (append_header_to_list): Likewise.
4410 (ui_out_new): Likewise.
4411 * user-regs.c (user_reg_add_builtin): Likewise.
4413 2014-01-13 Tom Tromey <tromey@redhat.com>
4415 * defs.h (XZALLOC): Remove.
4416 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
4417 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
4418 (get_ada_tasks_inferior_data): Likewise.
4419 * auto-load.c (get_auto_load_pspace_data): Likewise.
4420 * auxv.c (get_auxv_inferior_data): Likewise.
4421 * bfd-target.c (target_bfd_reopen): Likewise.
4422 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
4423 (deprecated_insert_raw_breakpoint): Likewise.
4424 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
4425 * corelow.c (core_open): Likewise.
4426 * darwin-nat.c (darwin_check_new_threads): Likewise.
4427 (darwin_attach_pid): Likewise.
4428 * dummy-frame.c (dummy_frame_push): Likewise.
4429 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
4430 * dwarf2loc.c (allocate_piece_closure): Likewise.
4431 * elfread.c (elf_symfile_segments): Likewise.
4432 * eval.c (ptrmath_type_p): Likewise.
4433 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
4434 * gdbtypes.c (alloc_type_arch): Likewise.
4435 (alloc_type_instance): Likewise.
4436 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
4437 * inf-child.c (inf_child_can_use_agent): Likewise.
4438 * inflow.c (get_inflow_inferior_data): Likewise.
4439 * infrun.c (save_infcall_suspend_state): Likewise.
4440 * jit.c (jit_reader_load): Likewise.
4441 (get_jit_objfile_data): Likewise.
4442 (get_jit_program_space_data): Likewise.
4443 (jit_object_open_impl): Likewise.
4444 (jit_symtab_open_impl): Likewise.
4445 (jit_block_open_impl): Likewise.
4446 (jit_frame_sniffer): Likewise.
4447 * linux-fork.c (add_fork): Likewise.
4448 * maint.c (make_command_stats_cleanup): Likewise.
4449 * objfiles.c (get_objfile_pspace_data): Likewise.
4450 * opencl-lang.c (struct lval_closure): Likewise.
4451 * osdata.c (osdata_start_osdata): Likewise.
4452 * progspace.c (new_address_space): Likewise.
4453 (add_program_space): Likewise.
4454 * remote-sim.c (get_sim_inferior_data): Likewise.
4455 * sh-tdep.c (sh_gdbarch_init): Likewise.
4456 * skip.c (Ignore): Likewise.
4457 (skip_delete_command): Likewise.
4458 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4459 (library_list_start_library): Likewise.
4460 (solib_aix_current_sos): Likewise.
4461 * solib-darwin.c (get_darwin_info): Likewise.
4462 (darwin_current_sos): Likewise.
4463 * solib-dsbt.c (get_dsbt_info): Likewise.
4464 * solib-ia64-hpux.c (new_so_list): Likewise.
4465 (ia64_hpux_get_solib_linkage_addr): Likewise.
4466 * solib-spu.c (append_ocl_sos): Likewise.
4467 (spu_current_sos): Likewise.
4468 * solib-svr4.c (get_svr4_info): Likewise.
4469 (svr4_keep_data_in_core): Likewise.
4470 (library_list_start_library): Likewise.
4471 (svr4_default_sos): Likewise.
4472 (svr4_read_so_list): Likewise.
4473 * solib-target.c (library_list_start_library): Likewise.
4474 (solib_target_current_sos): Likewise.
4475 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4476 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4477 * symfile.c (default_symfile_segments): Likewise.
4478 * target-descriptions.c (tdesc_data_init): Likewise.
4479 (tdesc_create_reg): Likewise.
4480 (struct tdesc_type *): Likewise.
4481 (tdesc_create_vector): Likewise.
4482 (tdesc_set_struct_size): Likewise.
4483 (struct tdesc_type *): Likewise.
4484 (tdesc_free_feature): Likewise.
4485 (tdesc_create_feature): Likewise.
4486 * windows-nat.c (windows_add_thread): Likewise.
4487 (windows_make_so): Likewise.
4488 * xml-support.c (gdb_xml_body_text): Likewise.
4489 (gdb_xml_create_parser_and_cleanup): Likewise.
4490 (xml_process_xincludes): Likewise.
4491 * xml-syscall.c (allocate_syscalls_info): Likewise.
4492 (syscall_create_syscall_desc): Likewise.
4494 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4496 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4497 function, with code from i386_stap_parse_special_token.
4498 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4499 (i386_stap_parse_special_token): Move code to the two functions
4502 2014-01-09 Pedro Alves <palves@redhat.com>
4503 Hui Zhu <hui@codesourcery.com>
4506 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4507 bp_err_string. Don't mark the location shlib_disabled if the
4508 error thrown wasn't a generic or memory error. Catch errors
4509 thrown while inserting breakpoints in overlayed code. Output
4510 error message of software breakpoints.
4511 * remote.c (remote_insert_breakpoint): If this breakpoint has
4512 target-side commands but this stub doesn't support Z0 packets,
4513 throw NOT_SUPPORTED_ERROR error.
4514 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4515 * target.h (target_insert_breakpoint): Extend comment.
4516 (target_insert_hw_breakpoint): Add comment.
4518 2014-01-08 Pedro Alves <palves@redhat.com>
4520 * remote.c (remote_add_thread): Add threads silently if starting
4522 (remote_notice_new_inferior): If in all-stop, and starting up,
4523 don't call notice_new_inferior.
4524 (get_current_thread): New function, factored out from ...
4525 (add_current_inferior_and_thread): ... this. Adjust.
4526 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4527 found any thread, then select the remote's current thread as GDB's
4530 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4532 * NEWS: Create a new section for the next release branch.
4533 Rename the section of the current branch, now that it has
4536 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4538 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4539 * version.in: Bump version to 7.7.50.DATE-cvs.
4541 2014-01-08 Yao Qi <yao@codesourcery.com>
4543 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4544 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4545 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4547 2014-01-08 Yao Qi <yao@codesourcery.com>
4549 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4550 return value of bfd_get_filename to symbol_file_add_from_bfd.
4552 2014-01-08 Pierre Muller <muller@sourceware.org>
4555 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4556 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4557 to prim_record_mininal_symbol_and_info.
4558 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4559 in call to prim_record_minimal_symbol_and_info.
4560 (read_pe_exported_syms): Set index field of section_data.
4562 2014-01-07 Andrew Pinski <apinski@cavium.com>
4564 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4565 * features/aarch64.c: Regenerate.
4567 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4569 * target.c (return_null): Define.
4570 (update_current_target): Use it instead of return_zero for
4571 functions that return a pointer.
4573 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4575 * source.c (add_path): Fix check for duplicated paths in the previously
4578 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4580 * ada-lang.c: Remove duplicated include statements.
4581 * alphabsd-nat.c: Ditto.
4582 * amd64-darwin-tdep.c: Ditto.
4583 * amd64fbsd-nat.c: Ditto.
4584 * auto-load.c: Ditto.
4586 * breakpoint.c: Ditto.
4588 * fork-child.c: Ditto.
4589 * gdb_usleep.c: Ditto.
4590 * i386-darwin-tdep.c: Ditto.
4591 * i386fbsd-nat.c: Ditto.
4593 * inferior.c: Ditto.
4595 * linux-nat.c: Ditto.
4596 * linux-tdep.c: Ditto.
4597 * m68kbsd-nat.c: Ditto.
4598 * m68klinux-nat.c: Ditto.
4599 * microblaze-tdep.c: Ditto.
4600 * mips-linux-tdep.c: Ditto.
4601 * mn10300-tdep.c: Ditto.
4602 * nto-tdep.c: Ditto.
4603 * opencl-lang.c: Ditto.
4605 * printcmd.c: Ditto.
4606 * regcache.c: Ditto.
4607 * remote-m32r-sdi.c: Ditto.
4611 * tilegx-linux-nat.c: Ditto.
4612 * tilegx-tdep.c: Ditto.
4613 * tracepoint.c: Ditto.
4615 * vaxbsd-nat.c: Ditto.
4616 * windows-nat.c: Ditto.
4617 * xtensa-tdep.c: Ditto.
4619 2014-01-07 Yao Qi <yao@codesourcery.com>
4621 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4623 2014-01-07 Yao Qi <yao@codesourcery.com>
4624 Joel Brobecker <brobecker@adacore.com>
4626 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4627 (pdc_write_regs): Likewise.
4628 (fetch_regs_kernel_thread): Likewise.
4629 (store_regs_kernel_thread): Likewise.
4631 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4633 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4634 tagged type objects to their actual type.
4636 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4638 * ada-valprint.c (print_field_values): Add "language" parameter.
4639 Update calls to print_field_values and print_variant_part.
4640 Pass new parameter "language" in call to val_print instead
4641 of "current_language". Replace call to ada_val_print by call
4643 (print_variant_part): Add "language" parameter.
4644 (ada_val_print_struct_union): Update call to print_field_values.
4646 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4648 * ada-valprint.c (ui_memcpy): Delete.
4649 (ada_print_floating): Update documentation. Add empty line
4650 between between function documentation and implementation.
4651 Delete variable "buffer". Use ui_file_xstrdup in place of
4652 ui_file_put. Minor adjustments following this change.
4654 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4656 * ada-valprint.c (ada_val_print_string): New function,
4657 extracted from ada_val_print_array.
4658 (ada_val_print_array): Replace extracted code by call
4659 to ada_val_print_string followed by a return. Move
4660 "else" branch to the function's top block.
4662 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4664 * ada-valprint.c (ada_val_print_array): Move implementation
4665 down. Rename parameter "offset" and "val" into "offset_aligned"
4666 and "original_value" respectively. Add parameter "offset".
4668 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4670 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4671 re-organizing the code. Change the "???" message printed
4672 when target type is a TYPE_CODE_UNDEF into
4673 "<ref to undefined type>".
4675 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4677 * ada-valprint.c (print_record): Delete, implementation inlined...
4678 (ada_val_print_struct_union): ... here. Remove call to
4679 ada_check_typedef in inlined implementation.
4681 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4683 * ada-valprint.c (ada_val_print_gnat_array): New function,
4684 extracted from ada_val_print_1;
4685 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4686 (ada_val_print_flt, ada_val_print_struct_union)
4687 (ada_val_print_ref): Likewise.
4688 (ada_val_print_1): Delete variables i and elttype.
4689 Replace extracted-out code by call to corresponding
4692 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4694 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4696 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4698 * ada-valprint.c (ada_val_print_1): Replace calls to
4699 ada_val_print_1 by calls to val_print.
4701 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4703 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4704 Update calls to self accordingly. Replace calls to c_val_print
4705 by calls to val_print.
4707 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4709 * ada-valprint.c (print_record): Delete declaration.
4710 (adjust_type_signedness, ada_val_print_1): Likewise.
4711 (ada_val_print): Move function implementation down.
4712 (print_variant_part, print_field_values, print_record):
4713 Move function implementation up.
4715 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4717 * python/py-type.c (typy_get_name): New function.
4718 (type_object_getset): Add entry for attribute "name".
4719 * NEWS: Add entry mentioning this new attribute.
4721 2014-01-07 Yao Qi <yao@codesourcery.com>
4723 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
4726 2014-01-07 Yao Qi <yao@codesourcery.com>
4728 * gnu-nat.c (info_port_rights): Add qualifier const to
4731 2014-01-07 Yao Qi <yao@codesourcery.com>
4733 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
4735 2014-01-07 Yao Qi <yao@codesourcery.com>
4737 * gnu-nat.c (make_inf) Update declaration.
4738 (make_inf): Make it static.
4739 (inf_set_traced): Likewise.
4740 (inf_port_to_thread, inf_task_died_status): Likewise.
4742 2014-01-07 Yao Qi <yao@codesourcery.com>
4744 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
4746 2014-01-07 Yao Qi <yao@codesourcery.com>
4748 * gnu-nat.c (_initialize_gnu_nat): Declare.
4750 2014-01-07 Yao Qi <yao@codesourcery.com>
4752 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
4754 (struct gdbarch_info) <byte_order>: Change type to
4756 <byte_order_for_code>: Likewise.
4757 * gdbarch.c, gdbarch.h: Regenerated.
4759 2014-01-06 Sasha Smundak <asmundak@google.com>
4761 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
4763 2014-01-06 Tom Tromey <tromey@redhat.com>
4765 * doublest.c (convert_doublest_to_floatformat): Use const, not
4767 * somread.c (som_symtab_read): Likewise.
4769 2014-01-07 Hui Zhu <hui@codesourcery.com>
4771 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
4772 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
4773 (gdb_bfd_fopen): Ditto.
4774 (gdb_bfd_openr): Ditto.
4775 (gdb_bfd_openw): Ditto.
4776 (gdb_bfd_openr_iovec): Ditto.
4777 (gdb_bfd_fdopenr): Ditto.
4778 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
4779 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
4781 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
4783 * symfile-mem.c (symbol_file_add_from_memory): Removed
4784 gdb_bfd_stash_filename.
4786 2014-01-03 Doug Evans <dje@google.com>
4788 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
4791 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4793 Update year range in copyright notice of all files.
4795 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4797 * top.c (print_gdb_version): Set copyright year to 2014.
4799 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4801 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
4803 For older changes see ChangeLog-2013.
4809 version-control: never