1 2014-02-19 Tom Tromey <tromey@redhat.com>
3 * target-delegates.c: Rebuild.
4 * target.c (target_find_new_threads): Unconditionally delegate.
5 * target.h (struct target_ops) <to_find_new_threads>: Use
8 2014-02-19 Tom Tromey <tromey@redhat.com>
10 * target-delegates.c: Rebuild.
11 * target.c (target_program_signals): Unconditionally delegate.
12 * target.h (struct target_ops) <to_program_signals>: Use
13 TARGET_DEFAULT_IGNORE.
15 2014-02-19 Tom Tromey <tromey@redhat.com>
17 * target-delegates.c: Rebuild.
18 * target.c (target_pass_signals): Unconditionally delegate.
19 * target.h (struct target_ops) <to_pass_signals>: Use
20 TARGET_DEFAULT_IGNORE.
22 2014-02-19 Tom Tromey <tromey@redhat.com>
24 * target-delegates.c: Rebuild.
25 * target.c (default_mourn_inferior): New function.
26 (target_mourn_inferior): Unconditionally delegate.
27 * target.h (struct target_ops) <to_mourn_inferior>: Use
30 2014-02-19 Tom Tromey <tromey@redhat.com>
32 * target-delegates.c: Rebuild.
33 * target.c (default_follow_fork): New function.
34 (target_follow_fork): Unconditionally delegate.
35 * target.h (struct target_ops) <to_follow_fork>: Use
38 2014-02-19 Tom Tromey <tromey@redhat.com>
40 * target-delegates.c: Rebuild.
41 * target.c (target_kill): Unconditionally delegate.
42 * target.h (struct target_ops) <to_kill>: Use
43 TARGET_DEFAULT_NORETURN.
45 2014-02-19 Tom Tromey <tromey@redhat.com>
47 * target-delegates.c: Rebuild.
48 * target.c (target_masked_watch_num_registers): Unconditionally
50 * target.h (struct target_ops) <to_masked_watch_num_registers>:
51 Use TARGET_DEFAULT_RETURN.
53 2014-02-19 Tom Tromey <tromey@redhat.com>
55 * target-delegates.c: Rebuild.
56 * target.c (target_remove_mask_watchpoint): Unconditionally
58 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
59 TARGET_DEFAULT_RETURN.
61 2014-02-19 Tom Tromey <tromey@redhat.com>
63 * target-delegates.c: Rebuild.
64 * target.c (target_insert_mask_watchpoint): Unconditionally
66 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
67 TARGET_DEFAULT_RETURN.
69 2014-02-19 Tom Tromey <tromey@redhat.com>
71 * target-delegates.c: Rebuild.
72 * target.c (target_ranged_break_num_registers): Unconditionally
74 * target.h (struct target_ops) <to_ranged_break_num_registers>:
75 Use TARGET_DEFAULT_RETURN.
77 2014-02-19 Tom Tromey <tromey@redhat.com>
79 * target-delegates.c: Rebuild.
80 * target.c (target_fetch_registers): Unconditionally delegate.
81 * target.h (struct target_ops) <to_fetch_registers>: Use
82 TARGET_DEFAULT_NORETURN.
84 2014-02-19 Tom Tromey <tromey@redhat.com>
86 * target-delegates.c: Rebuild.
87 * target.c (update_current_target): Don't inherit or default
89 * target.h (struct target_ops) <to_stop>: Use
90 TARGET_DEFAULT_IGNORE.
92 2014-02-19 Tom Tromey <tromey@redhat.com>
94 * target-delegates.c: Rebuild.
95 * target.c (update_current_target): Don't inherit or default
96 to_can_run_breakpoint_commands.
97 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
98 Use TARGET_DEFAULT_RETURN.
100 2014-02-19 Tom Tromey <tromey@redhat.com>
102 * target-delegates.c: Rebuild.
103 * target.c (update_current_target): Don't inherit or default
104 to_supports_evaluation_of_breakpoint_conditions.
105 * target.h (struct target_ops)
106 <to_supports_evaluation_of_breakpoint_conditions>: Use
107 TARGET_DEFAULT_RETURN.
109 2014-02-19 Tom Tromey <tromey@redhat.com>
111 * target-delegates.c: Rebuild.
112 * target.c (update_current_target): Don't inherit or default
113 to_augmented_libraries_svr4_read.
114 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
115 Use TARGET_DEFAULT_RETURN.
117 2014-02-19 Tom Tromey <tromey@redhat.com>
119 * target-delegates.c: Rebuild.
120 * target.c (update_current_target): Don't inherit or default
122 * target.h (struct target_ops) <to_can_use_agent>: Use
123 TARGET_DEFAULT_RETURN.
125 2014-02-19 Tom Tromey <tromey@redhat.com>
127 * target-delegates.c: Rebuild.
128 * target.c (update_current_target): Don't inherit or default
130 * target.h (struct target_ops) <to_use_agent>: Use
131 TARGET_DEFAULT_NORETURN.
133 2014-02-19 Tom Tromey <tromey@redhat.com>
135 * target-delegates.c: Rebuild.
136 * target.c (update_current_target): Don't inherit or default
138 (return_null): Remove.
139 * target.h (struct target_ops) <to_traceframe_info>: Use
140 TARGET_DEFAULT_RETURN.
142 2014-02-19 Tom Tromey <tromey@redhat.com>
144 * target-delegates.c: Rebuild.
145 * target.c (update_current_target): Don't inherit or default
146 to_static_tracepoint_markers_by_strid.
147 * target.h (struct target_ops)
148 <to_static_tracepoint_markers_by_strid>: Use
149 TARGET_DEFAULT_NORETURN.
151 2014-02-19 Tom Tromey <tromey@redhat.com>
153 * target-delegates.c: Rebuild.
154 * target.c (update_current_target): Don't inherit or default
155 to_static_tracepoint_marker_at.
156 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
157 Use TARGET_DEFAULT_RETURN.
159 2014-02-19 Tom Tromey <tromey@redhat.com>
161 * target-delegates.c: Rebuild.
162 * target.c (update_current_target): Don't inherit or default
164 * target.h (struct target_ops) <to_set_permissions>: Use
165 TARGET_DEFAULT_IGNORE.
167 2014-02-19 Tom Tromey <tromey@redhat.com>
169 * target-delegates.c: Rebuild.
170 * target.c (update_current_target): Don't inherit or default
172 * target.h (struct target_ops) <to_get_tib_address>: Use
173 TARGET_DEFAULT_NORETURN.
175 2014-02-19 Tom Tromey <tromey@redhat.com>
177 * target-delegates.c: Rebuild.
178 * target.c (update_current_target): Don't inherit or default
180 * target.h (struct target_ops) <to_set_trace_notes>: Use
181 TARGET_DEFAULT_RETURN.
183 2014-02-19 Tom Tromey <tromey@redhat.com>
185 * target-delegates.c: Rebuild.
186 * target.c (update_current_target): Don't initialize
187 to_set_trace_buffer_size.
188 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
189 TARGET_DEFAULT_IGNORE.
191 2014-02-19 Tom Tromey <tromey@redhat.com>
193 * target-delegates.c: Rebuild.
194 * target.c (update_current_target): Don't inherit or default
195 to_set_circular_trace_buffer.
196 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
197 TARGET_DEFAULT_IGNORE.
199 2014-02-19 Tom Tromey <tromey@redhat.com>
201 * target-delegates.c: Rebuild.
202 * target.c (update_current_target): Don't inherit or default
203 to_set_disconnected_tracing.
204 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
205 TARGET_DEFAULT_IGNORE.
207 2014-02-19 Tom Tromey <tromey@redhat.com>
209 * target-delegates.c: Rebuild.
210 * target.c (update_current_target): Don't inherit or default
211 to_get_min_fast_tracepoint_insn_len.
212 (return_minus_one): Remove.
213 * target.h (struct target_ops)
214 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
216 2014-02-19 Tom Tromey <tromey@redhat.com>
218 * target-delegates.c: Rebuild.
219 * target.c (update_current_target): Don't inherit or default
220 to_get_raw_trace_data.
221 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
222 TARGET_DEFAULT_NORETURN.
224 2014-02-19 Tom Tromey <tromey@redhat.com>
226 * target-delegates.c: Rebuild.
227 * target.c (update_current_target): Don't inherit or default
228 to_upload_trace_state_variables.
229 * target.h (struct target_ops) <to_upload_trace_state_variables>:
230 Use TARGET_DEFAULT_RETURN.
232 2014-02-19 Tom Tromey <tromey@redhat.com>
234 * target-delegates.c: Rebuild.
235 * target.c (update_current_target): Don't inherit or default
236 to_upload_tracepoints.
237 * target.h (struct target_ops) <to_upload_tracepoints>: Use
238 TARGET_DEFAULT_RETURN.
240 2014-02-19 Tom Tromey <tromey@redhat.com>
242 * target-delegates.c: Rebuild.
243 * target.c (update_current_target): Don't inherit or default
245 * target.h (struct target_ops) <to_save_trace_data>: Use
246 TARGET_DEFAULT_NORETURN.
248 2014-02-19 Tom Tromey <tromey@redhat.com>
250 * target-delegates.c: Rebuild.
251 * target.c (update_current_target): Don't inherit or default
252 to_get_trace_state_variable_value.
253 * target.h (struct target_ops)
254 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
256 2014-02-19 Tom Tromey <tromey@redhat.com>
258 * target-delegates.c: Rebuild.
259 * target.c (update_current_target): Don't inherit or default
261 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
263 2014-02-19 Tom Tromey <tromey@redhat.com>
265 * target-delegates.c: Rebuild.
266 * target.c (update_current_target): Don't inherit or default
268 * target.h (struct target_ops) <to_trace_stop>: Use
269 TARGET_DEFAULT_NORETURN.
271 2014-02-19 Tom Tromey <tromey@redhat.com>
273 * target-delegates.c: Rebuild.
274 * target.c (update_current_target): Don't inherit or default
275 to_get_tracepoint_status.
276 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
277 TARGET_DEFAULT_NORETURN.
279 2014-02-19 Tom Tromey <tromey@redhat.com>
281 * target-delegates.c: Rebuild.
282 * target.c (update_current_target): Don't inherit or default
284 * target.h (struct target_ops) <to_get_trace_status>: Use
285 TARGET_DEFAULT_RETURN.
287 2014-02-19 Tom Tromey <tromey@redhat.com>
289 * target-delegates.c: Rebuild.
290 * target.c (update_current_target): Don't inherit or default
292 * target.h (struct target_ops) <to_trace_start>: Use
293 TARGET_DEFAULT_NORETURN.
295 2014-02-19 Tom Tromey <tromey@redhat.com>
297 * target-delegates.c: Rebuild.
298 * target.c (update_current_target): Don't inherit or default
299 to_trace_set_readonly_regions.
300 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
301 Use TARGET_DEFAULT_NORETURN.
303 2014-02-19 Tom Tromey <tromey@redhat.com>
305 * target-delegates.c: Rebuild.
306 * target.c (update_current_target): Don't inherit or default
307 to_disable_tracepoint.
308 * target.h (struct target_ops) <to_disable_tracepoint>: Use
309 TARGET_DEFAULT_NORETURN.
311 2014-02-19 Tom Tromey <tromey@redhat.com>
313 * target-delegates.c: Rebuild.
314 * target.c (update_current_target): Don't inherit or default
315 to_enable_tracepoint.
316 * target.h (struct target_ops) <to_enable_tracepoint>: Use
317 TARGET_DEFAULT_NORETURN.
319 2014-02-19 Tom Tromey <tromey@redhat.com>
321 * target-delegates.c: Rebuild.
322 * target.c (update_current_target): Don't inherit or default
323 to_download_trace_state_variable.
324 * target.h (struct target_ops) <to_download_trace_state_variable>:
325 Use TARGET_DEFAULT_NORETURN.
327 2014-02-19 Tom Tromey <tromey@redhat.com>
329 * target-delegates.c: Rebuild.
330 * target.c (update_current_target): Don't inherit or default
331 to_can_download_tracepoint.
332 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
333 TARGET_DEFAULT_RETURN.
335 2014-02-19 Tom Tromey <tromey@redhat.com>
337 * target-delegates.c: Rebuild.
338 * target.c (update_current_target): Don't inherit or default
339 to_download_tracepoint.
340 * target.h (struct target_ops) <to_download_tracepoint>: Use
341 TARGET_DEFAULT_NORETURN.
343 2014-02-19 Tom Tromey <tromey@redhat.com>
345 * target-delegates.c: Rebuild.
346 * target.c (update_current_target): Don't inherit or default
348 * target.h (struct target_ops) <to_trace_init>: Use
349 TARGET_DEFAULT_RETURN.
351 2014-02-19 Tom Tromey <tromey@redhat.com>
353 * target-delegates.c: Rebuild.
354 * target.c (update_current_target): Don't inherit or default
355 to_supports_string_tracing.
356 * target.h (struct target_ops) <to_supports_string_tracing>: Use
357 TARGET_DEFAULT_RETURN.
359 2014-02-19 Tom Tromey <tromey@redhat.com>
361 * target-delegates.c: Rebuild.
362 * target.c (update_current_target): Don't inherit or default
363 to_supports_enable_disable_tracepoint.
364 * target.h (struct target_ops)
365 <to_supports_enable_disable_tracepoint>: Use
366 TARGET_DEFAULT_RETURN.
368 2014-02-19 Tom Tromey <tromey@redhat.com>
370 * target-delegates.c: Rebuild.
371 * target.c (update_current_target): Don't inherit or default
372 to_supports_multi_process.
373 * target.h (struct target_ops) <to_supports_multi_process>: Use
374 TARGET_DEFAULT_RETURN.
376 2014-02-19 Tom Tromey <tromey@redhat.com>
378 * target-delegates.c: Rebuild.
379 * target.c (update_current_target): Don't inherit or default
380 to_get_ada_task_ptid.
381 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
384 2014-02-19 Tom Tromey <tromey@redhat.com>
386 * target-delegates.c: Rebuild.
387 * target.c (update_current_target): Don't inherit or default
388 to_thread_architecture.
389 * target.h (struct target_ops) <to_thread_architecture>: Use
392 2014-02-19 Tom Tromey <tromey@redhat.com>
394 * target-delegates.c: Rebuild.
395 * target.c (update_current_target): Don't inherit or default
396 to_execution_direction.
397 * target.h (struct target_ops) <to_execution_direction>: Use
400 2014-02-19 Tom Tromey <tromey@redhat.com>
402 * target-delegates.c: Rebuild.
403 * target.c (update_current_target): Don't inherit or default
404 to_can_execute_reverse.
405 * target.h (struct target_ops) <to_can_execute_reverse>: Use
406 TARGET_DEFAULT_RETURN.
407 (target_can_execute_reverse): Unconditionally delegate.
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
414 (dummy_goto_bookmark): Remove.
415 (init_dummy_target): Don't inherit or default to_goto_bookmark.
416 * target.h (struct target_ops) <to_goto_bookmark>: Use
417 TARGET_DEFAULT_NORETURN.
419 2014-02-19 Tom Tromey <tromey@redhat.com>
421 * target-delegates.c: Rebuild.
422 * target.c (update_current_target): Don't inherit or default
424 (dummy_get_bookmark): Remove.
425 (init_dummy_target): Don't inherit or default to_get_bookmark.
426 * target.h (struct target_ops) <to_get_bookmark>: Use
427 TARGET_DEFAULT_NORETURN
429 2014-02-19 Tom Tromey <tromey@redhat.com>
431 * target-delegates.c: Rebuild.
432 * target.c (update_current_target): Don't inherit or default
433 to_make_corefile_notes.
434 (init_dummy_target): Don't initialize to_make_corefile_notes.
435 * target.h (struct target_ops) <to_make_corefile_notes>: Use
438 2014-02-19 Tom Tromey <tromey@redhat.com>
440 * target-delegates.c: Rebuild.
441 * target.c (update_current_target): Don't inherit or default
442 to_find_memory_regions.
443 (init_dummy_target): Don't initialize to_find_memory_regions.
444 * target.h (struct target_ops) <to_find_memory_regions>: Use
447 2014-02-19 Tom Tromey <tromey@redhat.com>
449 * target-delegates.c: Rebuild.
450 * target.c (update_current_target): Don't inherit or default
452 * target.h (struct target_ops) <to_log_command>: Use
453 TARGET_DEFAULT_IGNORE.
454 (target_log_command): Unconditionally delegate.
456 2014-02-19 Tom Tromey <tromey@redhat.com>
458 * target-delegates.c: Rebuild.
459 * target.c (update_current_target): Don't inherit or default
461 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
462 TARGET_DEFAULT_RETURN.
464 2014-02-19 Tom Tromey <tromey@redhat.com>
466 * target-delegates.c: Rebuild.
467 * target.c (update_current_target): Don't inherit or default
469 (target_thread_name): Unconditionally delegate.
470 * target.h (struct target_ops) <to_thread_name>: Use
471 TARGET_DEFAULT_RETURN.
473 2014-02-19 Tom Tromey <tromey@redhat.com>
475 * target-delegates.c: Rebuild.
476 * target.c (update_current_target): Don't inherit or default
477 to_extra_thread_info.
478 * target.h (struct target_ops) <to_extra_thread_info>: Use
479 TARGET_DEFAULT_RETURN.
481 2014-02-19 Tom Tromey <tromey@redhat.com>
483 * target-delegates.c: Rebuild.
484 * target.c (update_current_target): Don't inherit or default
486 * target.h (struct target_ops) <to_has_exited>: Use
487 TARGET_DEFAULT_RETURN..
489 2014-02-19 Tom Tromey <tromey@redhat.com>
491 * target-delegates.c: Rebuild.
492 * target.c (update_current_target): Don't inherit or default
493 to_set_syscall_catchpoint.
494 (return_one): Remove.
495 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
496 TARGET_DEFAULT_RETURN.
498 2014-02-19 Tom Tromey <tromey@redhat.com>
500 * target-delegates.c: Rebuild.
501 * target.c (update_current_target): Don't inherit or default
502 to_insert_exec_catchpoint.
503 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
504 TARGET_DEFAULT_RETURN.
506 2014-01-08 Tom Tromey <tromey@redhat.com>
508 * target-delegates.c: Rebuild.
509 * target.c (update_current_target): Don't inherit or default
510 to_insert_exec_catchpoint.
511 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
512 TARGET_DEFAULT_RETURN.
514 2014-02-19 Tom Tromey <tromey@redhat.com>
516 * target-delegates.c: Rebuild.
517 * target.c (update_current_target): Don't inherit or default
518 to_remove_vfork_catchpoint.
519 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
520 TARGET_DEFAULT_RETURN.
522 2014-02-19 Tom Tromey <tromey@redhat.com>
524 * target-delegates.c: Rebuild.
525 * target.c (update_current_target): Don't inherit or default
526 to_insert_vfork_catchpoint.
527 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
528 TARGET_DEFAULT_RETURN.
530 2014-02-19 Tom Tromey <tromey@redhat.com>
532 * target-delegates.c: Rebuild.
533 * target.c (update_current_target): Don't inherit or default
534 to_remove_fork_catchpoint.
535 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
536 TARGET_DEFAULT_RETURN.
538 2014-02-19 Tom Tromey <tromey@redhat.com>
540 * target-delegates.c: Rebuild.
541 * target.c (update_current_target): Don't inherit or default
542 to_insert_fork_catchpoint.
543 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
544 TARGET_DEFAULT_RETURN.
546 2014-02-19 Tom Tromey <tromey@redhat.com>
548 * target-delegates.c: Rebuild.
549 * target.c (update_current_target): Don't inherit or default
550 to_post_startup_inferior.
551 * target.h (struct target_ops) <to_post_startup_inferior>: Use
552 TARGET_DEFAULT_IGNORE.
554 2014-02-19 Tom Tromey <tromey@redhat.com>
556 * target-delegates.c: Rebuild.
557 * target.c (update_current_target): Don't inherit or default
559 * target.h (struct target_ops) <to_load>: Use
560 TARGET_DEFAULT_NORETURN.
562 2014-02-19 Tom Tromey <tromey@redhat.com>
564 * target-delegates.c: Rebuild.
565 * target.c (update_current_target): Don't inherit or default
567 * target.h (struct target_ops) <to_terminal_info>: Use
570 2014-02-19 Tom Tromey <tromey@redhat.com>
572 * target-delegates.c: Rebuild.
573 * target.c (update_current_target): Don't inherit or default
574 to_terminal_save_ours.
575 * target.h (struct target_ops) <to_terminal_save_ours>: Use
576 TARGET_DEFAULT_IGNORE.
578 2014-02-19 Tom Tromey <tromey@redhat.com>
580 * target-delegates.c: Rebuild.
581 * target.c (update_current_target): Don't inherit or default
583 * target.h (struct target_ops) <to_terminal_ours>: Use
584 TARGET_DEFAULT_IGNORE.
586 2014-02-19 Tom Tromey <tromey@redhat.com>
588 * target-delegates.c: Rebuild.
589 * target.c (update_current_target): Don't inherit or default
590 to_terminal_ours_for_output.
591 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
592 TARGET_DEFAULT_IGNORE.
594 2014-02-19 Tom Tromey <tromey@redhat.com>
596 * target-delegates.c: Rebuild.
597 * target.c (update_current_target): Don't inherit or default
598 to_terminal_inferior.
599 * target.h (struct target_ops) <to_terminal_inferior>: Use
600 TARGET_DEFAULT_IGNORE.
602 2014-02-19 Tom Tromey <tromey@redhat.com>
604 * target-delegates.c: Rebuild.
605 * target.c (update_current_target): Don't inherit or default
607 * target.h (struct target_ops) <to_terminal_init>: Use
608 TARGET_DEFAULT_IGNORE.
610 2014-02-19 Tom Tromey <tromey@redhat.com>
612 * target-delegates.c: Rebuild.
613 * target.c (update_current_target): Don't inherit or default
614 to_can_accel_watchpoint_condition.
615 * target.h (struct target_ops)
616 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
618 2014-02-19 Tom Tromey <tromey@redhat.com>
620 * target-delegates.c: Rebuild.
621 * target.c (update_current_target): Don't inherit or default
622 to_region_ok_for_hw_watchpoint.
623 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
624 Use TARGET_DEFAULT_FUNC.
626 2014-02-19 Tom Tromey <tromey@redhat.com>
628 * target-delegates.c: Rebuild.
629 * target.c (update_current_target): Don't inherit or default
630 to_watchpoint_addr_within_range.
631 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
632 Use TARGET_DEFAULT_FUNC.
634 2014-02-19 Tom Tromey <tromey@redhat.com>
636 * target-delegates.c: Rebuild.
637 * target.c (update_current_target): Don't inherit or default
638 to_remove_watchpoint.
639 * target.h (struct target_ops) <to_remove_watchpoint>: Use
640 TARGET_DEFAULT_NORETURN.
642 2014-02-19 Tom Tromey <tromey@redhat.com>
644 * target-delegates.c: Rebuild.
645 * target.c (update_current_target): Don't inherit or default
646 to_insert_watchpoint.
647 * target.h (struct target_ops) <to_insert_watchpoint>: Use
648 TARGET_DEFAULT_RETURN.
650 2014-02-19 Tom Tromey <tromey@redhat.com>
652 * target-delegates.c: Rebuild.
653 * target.c (update_current_target): Don't inherit or default
654 to_remove_hw_breakpoint.
655 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
656 TARGET_DEFAULT_RETURN.
658 2014-02-19 Tom Tromey <tromey@redhat.com>
660 * target-delegates.c: Rebuild.
661 * target.c (update_current_target): Don't inherit or default
662 to_insert_hw_breakpoint.
663 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
664 TARGET_DEFAULT_RETURN.
666 2014-02-19 Tom Tromey <tromey@redhat.com>
668 * target-delegates.c: Rebuild.
669 * target.c (update_current_target): Don't inherit or default
670 to_can_use_hw_breakpoint.
671 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
672 TARGET_DEFAULT_RETURN.
674 2014-02-19 Tom Tromey <tromey@redhat.com>
676 * target-delegates.c: Rebuild.
677 * target.c (update_current_target): Don't inherit or default
679 * target.h (struct target_ops) <to_files_info>: Use
680 TARGET_DEFAULT_IGNORE.
682 2014-02-19 Tom Tromey <tromey@redhat.com>
684 * target-delegates.c: Rebuild.
685 * target.c (update_current_target): Don't inherit or default
687 * target.h (struct target_ops) <to_store>: Use
688 TARGET_DEFAULT_NORETURN.
690 2014-02-19 Tom Tromey <tromey@redhat.com>
692 * target-delegates.c: Rebuild.
693 * target.c (update_current_target): Don't inherit or default
695 * target.h (struct target_ops) <to_post_attach>: Use
696 TARGET_DEFAULT_IGNORE.
698 2014-02-19 Tom Tromey <tromey@redhat.com>
700 * target-delegates.c: Rebuild.
701 * target.c (update_current_target): Don't inherit or default
703 (default_rcmd): New function.
704 (do_monitor_command): Unconditionally delegate.
705 * target.h (struct target_ops) <to_rmcd>: Use
708 2014-02-19 Tom Tromey <tromey@redhat.com>
710 * target-delegates.c: Rebuild.
711 * target.c (init_dummy_target): Don't initialize to_attach.
712 (target_attach): Unconditionally delegate.
713 * target.h (struct target_ops) <to_attach>: Use
716 2014-02-19 Tom Tromey <tromey@redhat.com>
718 * target-delegates.c: Rebuild.
719 * target.c (target_detach): Unconditionally delegate.
720 (init_dummy_target): Don't initialize to_detach.
721 * target.h (struct target_ops) <to_detach>: Use
722 TARGET_DEFAULT_IGNORE.
724 2014-02-19 Tom Tromey <tromey@redhat.com>
726 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
728 (target_augmented_libraries_svr4_read): Add argument.
729 * target.c (update_current_target): Update.
730 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
733 2014-02-19 Tom Tromey <tromey@redhat.com>
735 * target.h (struct target_ops) <to_call_history_range>: Add
737 * target.c (target_call_history_range): Add argument.
738 * record-btrace.c (record_btrace_call_history_range): Add 'self'
740 (record_btrace_call_history_from): Update.
742 2014-02-19 Tom Tromey <tromey@redhat.com>
744 * target.h (struct target_ops) <to_call_history_from>: Add
746 * target.c (target_call_history_from): Add argument.
747 * record-btrace.c (record_btrace_call_history_from): Add 'self'
750 2014-02-19 Tom Tromey <tromey@redhat.com>
752 * target.h (struct target_ops) <to_call_history>: Add argument.
753 * target.c (target_call_history): Add argument.
754 * record-btrace.c (record_btrace_call_history): Add 'self'
757 2014-02-19 Tom Tromey <tromey@redhat.com>
759 * target.h (struct target_ops) <to_insn_history_range>: Add
761 * target.c (target_insn_history_range): Add argument.
762 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
764 (record_btrace_insn_history_from): Update.
766 2014-02-19 Tom Tromey <tromey@redhat.com>
768 * target.h (struct target_ops) <to_insn_history_from>: Add
770 * target.c (target_insn_history_from): Add argument.
771 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
774 2014-02-19 Tom Tromey <tromey@redhat.com>
776 * target.h (struct target_ops) <to_insn_history>: Add argument.
777 * target.c (target_insn_history): Add argument.
778 * record-btrace.c (record_btrace_insn_history): Add 'self'
781 2014-02-19 Tom Tromey <tromey@redhat.com>
783 * target.h (struct target_ops) <to_goto_record>: Add argument.
784 * target.c (target_goto_record): Add argument.
785 * record-full.c (record_full_goto): Add 'self' argument.
786 * record-btrace.c (record_btrace_goto): Add 'self' argument.
788 2014-02-19 Tom Tromey <tromey@redhat.com>
790 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
791 * target.c (target_goto_record_end): Add argument.
792 * record-full.c (record_full_goto_end): Add 'self' argument.
793 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
795 2014-02-19 Tom Tromey <tromey@redhat.com>
797 * target.h (struct target_ops) <to_goto_record_begin>: Add
799 * target.c (target_goto_record_begin): Add argument.
800 * record-full.c (record_full_goto_begin): Add 'self' argument.
801 * record-btrace.c (record_btrace_goto_begin): Add 'self'
804 2014-02-19 Tom Tromey <tromey@redhat.com>
806 * target.h (struct target_ops) <to_record_is_replaying>: Add
808 * target.c (target_record_is_replaying): Add argument.
809 * record-full.c (record_full_is_replaying): Add 'self' argument.
810 * record-btrace.c (record_btrace_is_replaying): Add 'self'
812 (record_btrace_xfer_partial, record_btrace_store_registers)
813 (record_btrace_prepare_to_store, record_btrace_resume)
814 (record_btrace_wait, record_btrace_decr_pc_after_break)
815 (record_btrace_find_new_threads, record_btrace_thread_alive):
818 2014-02-19 Tom Tromey <tromey@redhat.com>
820 * target.h (struct target_ops) <to_delete_record>: Add argument.
821 * target.c (target_delete_record): Add argument.
822 * record-full.c (record_full_delete): Add 'self' argument.
824 2014-02-19 Tom Tromey <tromey@redhat.com>
826 * target.h (struct target_ops) <to_save_record>: Add argument.
827 * target.c (target_save_record): Add argument.
828 * record-full.c (record_full_save): Add 'self' argument.
829 (record_full_save): Add 'self' argument.
831 2014-02-19 Tom Tromey <tromey@redhat.com>
833 * target.h (struct target_ops) <to_info_record>: Add argument.
834 * target.c (target_info_record): Add argument.
835 * record.c (info_record_command): Add argument.
836 * record-full.c (record_full_info): Add 'self' argument.
837 * record-btrace.c (record_btrace_info): Add 'self' argument.
839 2014-02-19 Tom Tromey <tromey@redhat.com>
841 * target.h (struct target_ops) <to_stop_recording>: Add argument.
842 * target.c (target_stop_recording): Add argument.
843 * record.c (record_stop): Add argument.
844 * record-btrace.c (record_btrace_stop_recording): Add 'self'
847 2014-02-19 Tom Tromey <tromey@redhat.com>
849 * target.h (struct target_ops) <to_read_btrace>: Add argument.
850 * target.c (struct target_ops) <to_read_btrace>: Add argument.
851 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
853 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
854 (_initialize_amd64_linux_nat): Use it.
855 * i386-linux-nat.c (i386_linux_read_btrace): New function.
856 (_initialize_i386_linux_nat): Use it.
858 2014-02-19 Tom Tromey <tromey@redhat.com>
860 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
861 * target.c (target_teardown_btrace): Add argument.
862 * remote.c (remote_teardown_btrace): Add 'self' argument.
863 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
865 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
868 2014-02-19 Tom Tromey <tromey@redhat.com>
870 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
871 * target.c (target_disable_btrace): Add argument.
872 * remote.c (remote_disable_btrace): Add 'self' argument.
873 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
875 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
878 2014-02-19 Tom Tromey <tromey@redhat.com>
880 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
881 * target.c (target_enable_btrace): Add argument.
882 * remote.c (remote_enable_btrace): Add 'self' argument.
883 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
885 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
888 2014-02-19 Tom Tromey <tromey@redhat.com>
890 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
891 (target_can_use_agent): Add argument.
892 * target.c (update_current_target): Update.
893 * remote.c (remote_can_use_agent): Add 'self' argument.
894 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
896 2014-02-19 Tom Tromey <tromey@redhat.com>
898 * target.h (struct target_ops) <to_use_agent>: Add argument.
899 (target_use_agent): Add argument.
900 * target.c (update_current_target): Update.
901 * remote.c (remote_use_agent): Add 'self' argument.
902 * inf-child.c (inf_child_use_agent): Add 'self' argument.
904 2014-02-19 Tom Tromey <tromey@redhat.com>
906 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
907 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
908 (target_traceframe_info): Add argument.
909 * target.c (update_current_target): Update.
910 * remote.c (remote_traceframe_info): Add 'self' argument.
911 * ctf.c (ctf_traceframe_info): Add 'self' argument.
913 2014-02-19 Tom Tromey <tromey@redhat.com>
915 * target.h (target_static_tracepoint_markers_by_strid): Add
917 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
919 * target.c (update_current_target): Update.
920 * remote.c (struct target_ops)
921 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
922 * linux-nat.c (struct target_ops)
923 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
925 2014-02-19 Tom Tromey <tromey@redhat.com>
927 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
929 (target_static_tracepoint_marker_at): Add argument.
930 * target.c (update_current_target): Update.
931 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
934 2014-02-19 Tom Tromey <tromey@redhat.com>
936 * target.h (struct target_ops) <to_set_permissions>: Add argument.
937 (target_set_permissions): Add argument.
938 * target.c (update_current_target): Update.
939 * remote.c (remote_set_permissions): Add 'self' argument.
940 (remote_start_remote): Update.
942 2014-02-19 Tom Tromey <tromey@redhat.com>
944 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
945 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
946 (target_get_tib_address): Add argument.
947 * target.c (update_current_target): Update.
948 * remote.c (remote_get_tib_address): Add 'self' argument.
950 2014-02-19 Tom Tromey <tromey@redhat.com>
952 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
953 (target_set_trace_notes): Add argument.
954 * target.c (update_current_target): Update.
955 * remote.c (remote_set_trace_notes): Add 'self' argument.
957 2014-02-19 Tom Tromey <tromey@redhat.com>
959 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
961 (target_set_trace_buffer_size): Add argument.
962 * target.c (update_current_target): Update.
963 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
965 2014-02-19 Tom Tromey <tromey@redhat.com>
967 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
969 (target_set_circular_trace_buffer): Add argument.
970 * target.c (update_current_target): Update.
971 * remote.c (remote_set_circular_trace_buffer): Add 'self'
974 2014-02-19 Tom Tromey <tromey@redhat.com>
976 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
978 (target_set_disconnected_tracing): Add argument.
979 * target.c (update_current_target): Update.
980 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
982 2014-02-19 Tom Tromey <tromey@redhat.com>
984 * target.h (struct target_ops)
985 <to_get_min_fast_tracepoint_insn_len>: Add argument.
986 (target_get_min_fast_tracepoint_insn_len): Add argument.
987 * target.c (update_current_target): Update.
988 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
991 2014-02-19 Tom Tromey <tromey@redhat.com>
993 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
995 (target_get_raw_trace_data): Add argument.
996 * target.c (update_current_target): Update.
997 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
999 2014-02-19 Tom Tromey <tromey@redhat.com>
1001 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1003 (target_upload_trace_state_variables): Add argument.
1004 * target.c (update_current_target): Update.
1005 * remote.c (remote_upload_trace_state_variables): Add 'self'
1007 (remote_start_remote): Update.
1009 2014-02-19 Tom Tromey <tromey@redhat.com>
1011 * target.h (struct target_ops) <to_upload_tracepoints>: Add
1013 (target_upload_tracepoints): Add argument.
1014 * target.c (update_current_target): Update.
1015 * remote.c (remote_upload_tracepoints): Add 'self' argument.
1016 (remote_start_remote): Update.
1018 2014-02-19 Tom Tromey <tromey@redhat.com>
1020 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
1021 (target_save_trace_data): Add argument.
1022 * target.c (update_current_target): Update.
1023 * remote.c (remote_save_trace_data): Add 'self' argument.
1025 2014-02-19 Tom Tromey <tromey@redhat.com>
1027 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
1029 * target.h (struct target_ops)
1030 <to_get_trace_state_variable_value>: Add argument.
1031 (target_get_trace_state_variable_value): Add argument.
1032 * target.c (update_current_target): Update.
1033 * remote.c (remote_get_trace_state_variable_value): Add 'self'
1035 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
1037 2014-02-19 Tom Tromey <tromey@redhat.com>
1039 * tracepoint.c (tfile_trace_find): Add 'self' argument.
1040 * target.h (struct target_ops) <to_trace_find>: Add argument.
1041 (target_trace_find): Add argument.
1042 * target.c (update_current_target): Update.
1043 * remote.c (remote_trace_find): Add 'self' argument.
1044 * ctf.c (ctf_trace_find): Add 'self' argument.
1046 2014-02-19 Tom Tromey <tromey@redhat.com>
1048 * target.h (struct target_ops) <to_trace_stop>: Add argument.
1049 (target_trace_stop): Add argument.
1050 * target.c (update_current_target): Update.
1051 * remote.c (remote_trace_stop): Add 'self' argument.
1053 2014-02-19 Tom Tromey <tromey@redhat.com>
1055 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
1056 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
1058 (target_get_tracepoint_status): Add argument.
1059 * target.c (update_current_target): Update.
1060 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
1062 2014-02-19 Tom Tromey <tromey@redhat.com>
1064 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
1065 * target.h (struct target_ops) <to_get_trace_status>: Add
1067 (target_get_trace_status): Add argument.
1068 * target.c (update_current_target): Update.
1069 * remote.c (remote_get_trace_status): Add 'self' argument.
1070 (remote_start_remote, remote_can_download_tracepoint): Update.
1071 * ctf.c (ctf_get_trace_status): Add 'self' argument.
1073 2014-02-19 Tom Tromey <tromey@redhat.com>
1075 * target.h (struct target_ops) <to_trace_start>: Add argument.
1076 (target_trace_start): Add argument.
1077 * target.c (update_current_target): Update.
1078 * remote.c (remote_trace_start): Add 'self' argument.
1080 2014-02-19 Tom Tromey <tromey@redhat.com>
1082 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1084 (target_trace_set_readonly_regions): Add argument.
1085 * target.c (update_current_target): Update.
1086 * remote.c (remote_trace_set_readonly_regions): Add 'self'
1089 2014-02-19 Tom Tromey <tromey@redhat.com>
1091 * target.h (struct target_ops) <to_disable_tracepoint>: Add
1093 (target_disable_tracepoint): Add argument.
1094 * target.c (update_current_target): Update.
1095 * remote.c (remote_disable_tracepoint): Add 'self' argument.
1097 2014-02-19 Tom Tromey <tromey@redhat.com>
1099 * target.h (struct target_ops) <to_enable_tracepoint>: Add
1101 (target_enable_tracepoint): Add argument.
1102 * target.c (update_current_target): Update.
1103 * remote.c (remote_enable_tracepoint): Add 'self' argument.
1105 2014-02-19 Tom Tromey <tromey@redhat.com>
1107 * target.h (struct target_ops) <to_download_trace_state_variable>:
1109 (target_download_trace_state_variable): Add argument.
1110 * target.c (update_current_target): Update.
1111 * remote.c (remote_download_trace_state_variable): Add 'self'
1114 2014-02-19 Tom Tromey <tromey@redhat.com>
1116 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
1118 (target_can_download_tracepoint): Add argument.
1119 * target.c (update_current_target): Update.
1120 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
1122 2014-02-19 Tom Tromey <tromey@redhat.com>
1124 * target.h (struct target_ops) <to_download_tracepoint>: Add
1126 (target_download_tracepoint): Add argument.
1127 * target.c (update_current_target): Update.
1128 * remote.c (remote_download_tracepoint): Add 'self' argument.
1130 2014-02-19 Tom Tromey <tromey@redhat.com>
1132 * target.h (struct target_ops) <to_trace_init>: Add argument.
1133 (target_trace_init): Add argument.
1134 * target.c (update_current_target): Update.
1135 * remote.c (remote_trace_init): Add 'self' argument.
1137 2014-02-19 Tom Tromey <tromey@redhat.com>
1139 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1140 * target.c (target_fileio_readlink): Add argument.
1141 * remote.c (remote_hostio_readlink): Add 'self' argument.
1142 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1144 2014-02-19 Tom Tromey <tromey@redhat.com>
1146 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1147 * target.c (target_fileio_unlink): Add argument.
1148 * remote.c (remote_hostio_unlink): Add 'self' argument.
1149 (remote_file_delete): Update.
1150 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1152 2014-02-19 Tom Tromey <tromey@redhat.com>
1154 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1155 * target.c (target_fileio_close): Add argument.
1156 * remote.c (remote_hostio_close): Add 'self' argument.
1157 (remote_hostio_close_cleanup): Update.
1158 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1160 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1162 2014-02-19 Tom Tromey <tromey@redhat.com>
1164 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1165 * target.c (target_fileio_pread): Add argument.
1166 * remote.c (remote_hostio_pread): Add 'self' argument.
1167 (remote_bfd_iovec_pread, remote_file_get): Update.
1168 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1170 2014-02-19 Tom Tromey <tromey@redhat.com>
1172 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1173 * target.c (target_fileio_pwrite): Add argument.
1174 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1175 (remote_file_put): Update.
1176 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1178 2014-02-19 Tom Tromey <tromey@redhat.com>
1180 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1181 * target.c (target_fileio_open): Add argument.
1182 * remote.c (remote_hostio_open): Add 'self' argument.
1183 (remote_bfd_iovec_open): Add 'self' argument.
1184 (remote_file_put): Add 'self' argument.
1185 (remote_file_get): Add 'self' argument.
1186 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1188 2014-02-19 Tom Tromey <tromey@redhat.com>
1190 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1192 (target_can_run_breakpoint_commands): Add argument.
1193 * target.c (update_current_target): Update.
1194 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1196 (remote_insert_breakpoint): Add 'self' argument.
1197 (remote_insert_hw_breakpoint): Add 'self' argument.
1198 (remote_can_run_breakpoint_commands): Add 'self' argument.
1200 2014-02-19 Tom Tromey <tromey@redhat.com>
1202 * target.h (struct target_ops)
1203 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1204 (target_supports_evaluation_of_breakpoint_conditions): Add
1206 * target.c (update_current_target): Update.
1207 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1209 (remote_insert_breakpoint): Add 'self' argument.
1210 (remote_insert_hw_breakpoint): Add 'self' argument.
1211 (remote_supports_cond_breakpoints): Add 'self' argument.
1213 2014-02-19 Tom Tromey <tromey@redhat.com>
1215 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1217 (target_supports_string_tracing): Add argument.
1218 * target.c (update_current_target): Update.
1219 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1221 2014-02-19 Tom Tromey <tromey@redhat.com>
1223 * target.h (struct target_ops)
1224 <to_supports_disable_randomization>: Add argument.
1225 * target.c (find_default_supports_disable_randomization): Add
1227 (target_supports_disable_randomization): Add argument.
1228 (find_default_supports_disable_randomization): Add 'self'
1230 * remote.c (extended_remote_supports_disable_randomization): Add
1232 (remote_supports_disable_randomization): Add 'self' argument.
1233 (extended_remote_create_inferior): Update.
1234 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1237 2014-02-19 Tom Tromey <tromey@redhat.com>
1239 * target.h (struct target_ops)
1240 <to_supports_enable_disable_tracepoint>: Add argument.
1241 (target_supports_enable_disable_tracepoint): Add argument.
1242 * target.c (update_current_target): Update.
1243 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1246 2014-02-19 Tom Tromey <tromey@redhat.com>
1248 * target.h (struct target_ops) <to_supports_multi_process>: Add
1250 (target_supports_multi_process): Add argument.
1251 * target.c (update_current_target): Update.
1252 * remote.c (remote_supports_multi_process): Add 'self' argument.
1253 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1255 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1258 2014-02-19 Tom Tromey <tromey@redhat.com>
1260 * target.h (struct target_ops) <to_execution_direction>: Add
1262 (target_execution_direction): Add argument.
1263 * target.c (default_execution_direction): Add 'self' argument.
1264 * record-full.c (record_full_execution_direction): Add 'self'
1267 2014-02-19 Tom Tromey <tromey@redhat.com>
1269 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1271 (target_can_execute_reverse): Add argument.
1272 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1273 * record-full.c (record_full_can_execute_reverse): Add 'self'
1275 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1278 2014-02-19 Tom Tromey <tromey@redhat.com>
1280 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1281 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1283 (target_get_ada_task_ptid): Add argument.
1284 * target.c (update_current_target): Update.
1285 (default_get_ada_task_ptid): Add 'self' argument.
1286 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1287 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1288 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1290 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1292 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1294 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1296 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1297 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1300 2014-02-19 Tom Tromey <tromey@redhat.com>
1302 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1303 (target_goto_bookmark): Add argument.
1304 * target.c (dummy_goto_bookmark): Add 'self' argument.
1305 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1307 2014-02-19 Tom Tromey <tromey@redhat.com>
1309 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1310 (target_get_bookmark): Add argument.
1311 * target.c (dummy_get_bookmark): Add 'self' argument.
1312 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1314 2014-02-19 Tom Tromey <tromey@redhat.com>
1316 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1318 (target_make_corefile_notes): Add argument.
1319 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1320 * procfs.c (procfs_make_note_section): Add 'self' argument.
1321 (procfs_make_note_section): Add 'self' argument.
1322 (procfs_make_note_section): Add 'self' argument.
1323 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1325 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1326 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1327 * exec.c (exec_make_note_section): Add 'self' argument.
1328 (exec_make_note_section): Add 'self' argument.
1330 2014-02-19 Tom Tromey <tromey@redhat.com>
1332 * target.h (struct target_ops) <to_find_memory_regions>: Add
1334 (target_find_memory_regions): Add argument.
1335 * target.c (dummy_find_memory_regions): Add 'self' argument.
1336 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1337 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1338 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1339 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1340 * exec. (exec_do_find_memory_regions): New global.
1341 (exec_set_find_memory_regions): Rewrite.
1342 (exec_find_memory_regions): New function.
1343 (init_exec_ops): Use exec_find_memory_regions.
1345 2014-02-19 Tom Tromey <tromey@redhat.com>
1347 * target.h (struct target_ops) <to_supports_non_stop>: Add
1349 * target.c (find_default_supports_non_stop): Add argument.
1350 (target_supports_non_stop): Add argument.
1351 (find_default_supports_non_stop): Add 'self' argument.
1352 * remote.c (remote_supports_non_stop): Add 'self' argument.
1353 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1355 2014-02-19 Tom Tromey <tromey@redhat.com>
1357 * target.h (struct target_ops) <to_log_command>: Add argument.
1358 (target_log_command): Add argument.
1359 * serial.h (serial_log_command): Add 'self' argument.
1360 * serial.c (serial_log_command): Add 'self' argument.
1362 2014-02-19 Tom Tromey <tromey@redhat.com>
1364 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1365 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1367 (target_pid_to_exec_file): Add argument.
1368 * target.c (debug_to_pid_to_exec_file): Add argument.
1369 (update_current_target): Update.
1370 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1371 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1372 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1373 (linux_handle_extended_wait): Update.
1374 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1375 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1376 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1377 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1379 2014-02-19 Tom Tromey <tromey@redhat.com>
1381 * target.h (struct target_ops) <to_rcmd>: Add argument.
1382 (target_rcmd): Add argument.
1383 * target.c (debug_to_rcmd): Add argument.
1384 (update_current_target, do_monitor_command): Update.
1385 * remote.c (remote_rcmd): Add 'self' argument.
1386 * monitor.c (monitor_rcmd): Add 'self' argument.
1388 2014-02-19 Tom Tromey <tromey@redhat.com>
1390 * windows-nat.c (windows_stop): Add 'self' argument.
1391 * target.h (struct target_ops) <to_stop>: Add argument.
1392 * target.c (target_stop): Add argument.
1393 (debug_to_stop): Add argument.
1394 (update_current_target): Update.
1395 * remote.c (remote_stop): Add 'self' argument.
1396 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1397 (gdbsim_cntrl_c): Update.
1398 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1399 * procfs.c (procfs_stop): Add 'self' argument.
1400 * nto-procfs.c (procfs_stop): Add 'self' argument.
1401 * monitor.c (monitor_stop): Add 'self' argument.
1402 (monitor_open): Update.
1403 * linux-nat.c (linux_nat_stop): Add argument.
1404 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1405 * gnu-nat.c (gnu_stop): Add 'self' argument.
1406 * darwin-nat.c (darwin_stop): Add 'self' argument.
1408 2014-02-19 Tom Tromey <tromey@redhat.com>
1410 * target.h (struct target_ops) <to_thread_name>: Add argument.
1411 * target.c (target_thread_name): Add argument.
1412 (update_current_target): Update.
1413 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
1415 2014-02-19 Tom Tromey <tromey@redhat.com>
1417 * target.h (struct target_ops) <to_extra_thread_info>: Add
1419 (target_extra_thread_info): Add argument.
1420 * target.c (update_current_target): Update.
1421 * remote.c (remote_threads_extra_info): Add 'self' argument.
1422 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
1424 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
1425 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
1426 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
1428 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
1430 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
1432 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
1435 2014-02-19 Tom Tromey <tromey@redhat.com>
1437 * target.h (struct target_ops) <to_program_signals>: Add argument.
1438 * target.c (target_program_signals): Add argument.
1439 * remote.c (remote_program_signals): Add 'self' argument.
1441 2014-02-19 Tom Tromey <tromey@redhat.com>
1443 * target.h (struct target_ops) <to_pass_signals>: Add argument.
1444 * target.c (target_pass_signals): Add argument.
1445 * remote.c (remote_pass_signals): Add 'self' argument.
1446 (remote_start_remote): Update.
1447 * procfs.c (procfs_pass_signals): Add 'self' argument.
1448 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
1449 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
1450 (linux_nat_create_inferior, linux_nat_attach): Update.
1452 2014-02-19 Tom Tromey <tromey@redhat.com>
1454 * windows-nat.c (windows_can_run): Add 'self' argument.
1455 * target.h (struct target_ops) <to_can_run>: Add argument.
1456 (target_can_run): Add argument.
1457 * target.c (debug_to_can_run): Add argument.
1458 (update_current_target): Update.
1459 * nto-procfs.c (procfs_can_run): Add 'self' argument.
1460 * inf-child.c (inf_child_can_run): Add 'self' argument.
1461 * go32-nat.c (go32_can_run): Add 'self' argument.
1463 2014-02-19 Tom Tromey <tromey@redhat.com>
1465 * target.h (struct target_ops) <to_has_exited>: Add argument.
1466 (target_has_exited): Add argument.
1467 * target.c (debug_to_has_exited): Add argument.
1468 (update_current_target): Update.
1470 2014-02-19 Tom Tromey <tromey@redhat.com>
1472 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
1474 (target_set_syscall_catchpoint): Add argument.
1475 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
1477 * target.c (update_current_target): Update.
1479 2014-02-19 Tom Tromey <tromey@redhat.com>
1481 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
1483 (target_remove_exec_catchpoint): Add argument.
1484 * target.c (debug_to_remove_exec_catchpoint): Add argument.
1485 (update_current_target): Update.
1486 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
1489 2014-02-19 Tom Tromey <tromey@redhat.com>
1491 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
1493 (target_insert_exec_catchpoint): Add argument.
1494 * target.c (debug_to_insert_exec_catchpoint): Add argument.
1495 (update_current_target): Update.
1496 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
1499 2014-02-19 Tom Tromey <tromey@redhat.com>
1501 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
1503 (target_remove_vfork_catchpoint): Add argument.
1504 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
1505 (update_current_target): Update.
1506 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
1509 2014-02-19 Tom Tromey <tromey@redhat.com>
1511 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
1513 (target_insert_vfork_catchpoint): Add argument.
1514 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
1515 (update_current_target): Update.
1516 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
1519 2014-02-19 Tom Tromey <tromey@redhat.com>
1521 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
1523 (target_remove_fork_catchpoint): Add argument.
1524 * target.c (debug_to_remove_fork_catchpoint): Add argument.
1525 (update_current_target): Update.
1526 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
1529 2014-02-19 Tom Tromey <tromey@redhat.com>
1531 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
1533 (target_insert_fork_catchpoint): Add argument.
1534 * target.c (debug_to_insert_fork_catchpoint): Add argument.
1535 (update_current_target): Update.
1536 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
1539 2014-02-19 Tom Tromey <tromey@redhat.com>
1541 * target.h (struct target_ops) <to_post_startup_inferior>: Add
1543 (target_post_startup_inferior): Add argument.
1544 * target.c (debug_to_post_startup_inferior): Add argument.
1545 (update_current_target): Update.
1546 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
1548 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
1550 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
1552 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
1554 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
1556 (super_post_startup_inferior): Likewise.
1557 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
1559 (super_post_startup_inferior): Likewise.
1560 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
1561 Add 'self' argument.
1562 (super_post_startup_inferior): Likewise.
1564 2014-02-19 Tom Tromey <tromey@redhat.com>
1566 * target.h (struct target_ops) <to_load>: Add argument.
1567 * target.c (target_load): Add argument.
1568 (debug_to_load): Add argument.
1569 (update_current_target): Update.
1570 * remote.c (remote_load): Add 'self' argument.
1571 * remote-sim.c (gdbsim_load): Add 'self' argument.
1572 * remote-mips.c (mips_load): Add 'self' argument.
1573 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
1574 * monitor.c (monitor_load): Add 'self' argument.
1575 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
1577 2014-02-19 Tom Tromey <tromey@redhat.com>
1579 * target.h (struct target_ops) <to_terminal_info>: Add argument.
1580 (target_terminal_info): Add argument.
1581 * target.c (debug_to_terminal_info): Add argument.
1582 (default_terminal_info): Likewise.
1583 * inflow.c (child_terminal_info): Add 'self' argument.
1584 * inferior.h (child_terminal_info): Add 'self' argument.
1585 * go32-nat.c (go32_terminal_info): Add 'self' argument.
1587 2014-02-19 Tom Tromey <tromey@redhat.com>
1589 * target.h (struct target_ops) <to_terminal_save_ours>: Add
1591 (target_terminal_save_ours): Add argument.
1592 * target.c (debug_to_terminal_save_ours): Add argument.
1593 (update_current_target): Update.
1594 * inflow.c (terminal_save_ours): Add 'self' argument.
1595 * inferior.h (terminal_save_ours): Add 'self' argument.
1597 2014-02-19 Tom Tromey <tromey@redhat.com>
1599 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
1600 (target_terminal_ours): Add argument.
1601 * target.c (debug_to_terminal_ours): Add argument.
1602 (update_current_target): Update.
1603 * remote.c (remote_terminal_ours): Add 'self' argument.
1604 (remote_close): Update.
1605 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
1606 * inflow.c (terminal_ours): Add 'self' argument.
1607 * inferior.h (terminal_ours): Add 'self' argument.
1608 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1610 2014-02-19 Pedro Alves <palves@redhat.com>
1611 Tom Tromey <tromey@redhat.com>
1613 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
1615 (target_terminal_ours_for_output): Add argument.
1616 * target.c (debug_to_terminal_ours_for_output): Add argument.
1617 (update_current_target): Update.
1618 * inflow.c (terminal_ours_for_output): Add 'self' argument.
1619 * inferior.h (terminal_ours_for_output): Add 'self' argument.
1620 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1622 2014-02-19 Tom Tromey <tromey@redhat.com>
1624 * target.h (struct target_ops) <to_terminal_inferior>: Add
1626 * target.c (target_terminal_inferior): Add argument.
1627 (update_current_target): Update.
1628 * remote.c (remote_terminal_inferior): Add 'self' argument.
1629 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
1630 * inflow.c (terminal_inferior): Add 'self' argument.
1631 * inferior.h (terminal_inferior): Add 'self' argument.
1632 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
1633 (go32_terminal_inferior): Add 'self' argument.
1635 2014-02-19 Tom Tromey <tromey@redhat.com>
1637 * target.h (struct target_ops) <to_terminal_init>: Add argument.
1638 (target_terminal_init): Add argument.
1639 * target.c (debug_to_terminal_init): Add argument.
1640 (update_current_target): Update.
1641 * inflow.c (terminal_init_inferior): Add 'self' argument.
1642 * inferior.h (terminal_init_inferior): Add 'self' argument.
1643 * go32-nat.c (go32_terminal_init): Add 'self' argument.
1644 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
1646 2014-02-19 Tom Tromey <tromey@redhat.com>
1648 * target.h (struct target_ops)
1649 <to_can_accel_watchpoint_condition>: Add argument.
1650 (target_can_accel_watchpoint_condition): Add argument.
1651 * target.c (debug_to_can_accel_watchpoint_condition): Add
1653 (update_current_target): Update.
1654 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
1657 2014-02-19 Tom Tromey <tromey@redhat.com>
1659 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1661 (target_region_ok_for_hw_watchpoint): Add argument.
1662 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
1663 (default_region_ok_for_hw_watchpoint): Add argument.
1664 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
1665 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
1667 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
1669 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
1671 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
1673 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
1675 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
1677 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
1678 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
1680 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
1681 Add 'self' argument.
1683 2014-02-19 Tom Tromey <tromey@redhat.com>
1685 * target.h (struct target_ops) <to_insert_watchpoint>: Add
1687 (target_insert_watchpoint): Add argument.
1688 * target.c (debug_to_insert_watchpoint): Add argument.
1689 (update_current_target): Update.
1690 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
1691 * remote.c (remote_insert_watchpoint): Add 'self' argument.
1692 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
1693 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
1694 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
1695 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
1697 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
1698 (procfs_insert_hw_watchpoint): Add 'self' argument.
1699 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
1701 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
1703 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
1705 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
1706 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
1708 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
1711 2014-02-19 Tom Tromey <tromey@redhat.com>
1713 * target.h (struct target_ops) <to_remove_watchpoint>: Add
1715 (target_remove_watchpoint): Add argument.
1716 * target.c (debug_to_remove_watchpoint): Add argument.
1717 (update_current_target): Update.
1718 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
1719 * remote.c (remote_remove_watchpoint): Add 'self' argument.
1720 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
1721 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
1722 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
1723 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
1725 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
1726 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
1728 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
1730 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
1732 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
1733 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
1735 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
1738 2014-02-19 Tom Tromey <tromey@redhat.com>
1740 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
1742 (target_remove_hw_breakpoint): Add argument.
1743 * target.c (debug_to_remove_hw_breakpoint): Add argument.
1744 (update_current_target): Update.
1745 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
1746 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
1748 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
1749 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
1751 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
1754 2014-02-19 Tom Tromey <tromey@redhat.com>
1756 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
1758 (target_insert_hw_breakpoint): Add argument.
1759 * target.c (debug_to_insert_hw_breakpoint): Add argument.
1760 (update_current_target): Update.
1761 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
1762 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
1764 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
1765 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
1766 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
1768 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
1771 2014-02-19 Tom Tromey <tromey@redhat.com>
1773 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
1775 (target_can_use_hardware_watchpoint): Add argument.
1776 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
1777 (update_current_target): Update.
1778 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
1780 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
1782 * remote.c (remote_check_watch_resources): Add 'self' argument.
1783 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
1784 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
1786 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
1787 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
1789 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
1791 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
1793 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
1795 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
1797 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
1799 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
1800 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
1802 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
1805 2014-02-19 Tom Tromey <tromey@redhat.com>
1807 * target.h (struct target_ops) <to_post_attach>: Add argument.
1808 (target_post_attach): Add argument.
1809 * target.c (debug_to_post_attach): Add argument.
1810 (update_current_target): Update.
1811 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
1812 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
1813 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
1814 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
1815 * inf-child.c (inf_child_post_attach): Add 'self' argument.
1817 2014-02-19 Tom Tromey <tromey@redhat.com>
1819 * windows-nat.c (windows_close): Add 'self' argument.
1820 * tracepoint.c (tfile_close): Add 'self' argument.
1821 * target.h (struct target_ops) <to_close>: Add argument.
1822 * target.c (target_close): Add argument.
1823 (update_current_target): Update.
1824 * remote.c (remote_close): Add 'self' argument.
1825 * remote-sim.c (gdbsim_close): Add 'self' argument.
1826 * remote-mips.c (mips_close): Add 'self' argument.
1827 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
1828 * record-full.c (record_full_close): Add 'self' argument.
1829 * record-btrace.c (record_btrace_close): Add 'self' argument.
1830 * monitor.h (monitor_close): Add 'self' argument.
1831 * monitor.c (monitor_close): Add 'self' argument.
1832 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
1833 * linux-nat.c (linux_nat_close): Add argument.
1834 * go32-nat.c (go32_close): Add 'self' argument.
1835 * exec.c (exec_close_1): Add 'self' argument.
1836 * ctf.c (ctf_close): Add 'self' argument.
1837 * corelow.c (core_close): Add 'self' argument.
1838 (core_close_cleanup): Update.
1839 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
1840 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
1842 2014-02-19 Tom Tromey <tromey@redhat.com>
1844 * remote.c (remote_load): New function.
1845 (init_remote_ops): Use it.
1847 2014-02-19 Tom Tromey <tromey@redhat.com>
1849 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
1851 * common/linux-btrace.h (linux_supports_btrace): Update.
1852 * remote.c (remote_supports_btrace): Add "self" argument.
1853 * target-delegates.c: Rebuild.
1854 * target.c (target_supports_btrace): Remove.
1855 * target.h (struct target_ops) <to_supports_btrace>: Add
1856 target_ops argument.
1857 (target_supports_btrace): New define.
1859 2014-02-19 Tom Tromey <tromey@redhat.com>
1861 * record-full.c (record_full_beneath_to_resume_ops)
1862 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
1863 (record_full_beneath_to_wait)
1864 (record_full_beneath_to_store_registers_ops)
1865 (record_full_beneath_to_store_registers)
1866 (record_full_beneath_to_xfer_partial_ops)
1867 (record_full_beneath_to_xfer_partial)
1868 (record_full_beneath_to_insert_breakpoint_ops)
1869 (record_full_beneath_to_insert_breakpoint)
1870 (record_full_beneath_to_remove_breakpoint_ops)
1871 (record_full_beneath_to_remove_breakpoint)
1872 (record_full_beneath_to_stopped_by_watchpoint)
1873 (record_full_beneath_to_stopped_data_address)
1874 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
1875 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
1876 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
1877 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
1878 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
1879 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
1880 (tmp_to_stopped_data_address, tmp_to_async): Remove.
1881 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
1882 (record_full_resume, record_full_wait_1)
1883 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
1884 (record_full_store_registers, record_full_xfer_partial)
1885 (record_full_insert_breakpoint, record_full_remove_breakpoint)
1886 (record_full_async, record_full_core_xfer_partial): Use target
1888 * target-delegates.c: Rebuild.
1889 * target.c (current_xfer_partial): Remove.
1890 (update_current_target): Do not INHERIT or de_fault
1891 to_insert_breakpoint, to_remove_breakpoint,
1892 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
1893 to_is_async_p, to_async. Do not set to_xfer_partial field.
1894 (default_xfer_partial): Simplify.
1895 (current_xfer_partial): Remove.
1896 (target_wait, target_resume): Simplify.
1897 (find_default_can_async_p, find_default_is_async_p): Update.
1898 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
1899 to_xfer_partial, to_stopped_by_watchpoint,
1900 to_stopped_data_address.
1901 (target_store_registers): Simplify.
1902 (forward_target_remove_breakpoint)
1903 (forward_target_insert_breakpoint): Remove.
1904 (target_remove_breakpoint, target_insert_breakpoint)
1905 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
1906 * target.h (struct target_ops) <to_resume, to_wait,
1907 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
1908 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
1909 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
1911 (forward_target_remove_breakpoint)
1912 (forward_target_insert_breakpoint): Remove.
1913 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
1915 (record_btrace_insert_breakpoint): Delegate directly.
1917 2014-02-19 Tom Tromey <tromey@redhat.com>
1920 * target-delegates.c: New file.
1921 * target.c: Include target-delegates.c.
1922 (init_dummy_target): Call install_dummy_methods.
1923 (complete_target_initialization): Call install_delegators.
1924 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
1925 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
1926 * make-target-delegates: New file.
1928 2014-02-19 Tom Tromey <tromey@redhat.com>
1930 * record.c (find_record_target): Use find_target_at.
1931 * target.c (find_target_at): New function.
1932 * target.h (find_target_at): Declare.
1934 2014-02-19 Tom Tromey <tromey@redhat.com>
1936 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
1938 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
1940 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
1941 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
1943 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
1945 * linux-nat.c (save_sigtrap): Update.
1946 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
1947 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
1948 (linux_nat_close): Update.
1949 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
1951 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
1953 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
1954 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
1955 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
1956 (tmp_to_async): Add 'ops' argument.
1957 (record_full_stopped_by_watchpoint, record_full_async)
1958 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
1960 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
1961 (m32r_stopped_by_watchpoint): Add 'ops' argument.
1962 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
1963 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
1964 (remote_is_async_p, remote_async): Add 'ops' argument.
1965 (remote_stopped_data_address): Update.
1966 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
1967 * target.c (update_current_target)
1968 (find_default_can_async_p, find_default_is_async_p): Update.
1969 (init_dummy_target): Update.
1970 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
1971 * target.h (struct target_ops) <to_stopped_by_watchpoint,
1972 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
1973 (target_can_async_p, target_is_async_p, target_async)
1974 (target_stopped_by_watchpoint): Update.
1976 2014-02-19 Yao Qi <yao@codesourcery.com>
1979 * gdbarch.sh: Remove startup_gdbarch.
1980 * gdbarch.c: Regenerated.
1981 * gdbarch.h: Likewise.
1983 2014-02-17 Kevin Buettner <kevinb@redhat.com>
1985 * rl78-tdep.c (rl78_g10_register_name): New function.
1986 (rl78_return_value): Add g10 support.
1987 (rl78_gdbarch_init): Register rl78_g10_register_name for the
1990 2014-02-17 Doug Evans <xdje42@gmail.com>
1992 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
1993 (SUBDIR_GUILE_SRCS): Ditto.
1994 (scm-gsmob.o): Ditto.
1996 2014-02-17 Yao Qi <yao@codesourcery.com>
1998 * gnu-nat.c (ILL_RPC): Declare defined function.
2000 2014-02-17 Yao Qi <yao@codesourcery.com>
2002 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
2003 mach_msg_type_number_t.
2004 (gnu_write_inferior): Likewise.
2006 2014-02-17 Yao Qi <yao@codesourcery.com>
2008 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
2010 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
2011 (inf_validate_procs, inf_signal): Likewise.
2012 (S_exception_raise_request): Likewise.
2013 (do_mach_notify_dead_name): Likewise.
2014 (steal_exc_port): Likewise.
2015 (gnu_read_inferior): Change 'copy_count''s type to
2016 mach_msg_type_number_t.
2017 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
2020 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
2022 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
2023 flag. Adjust all users; in particular...
2024 (gnu_wait): ..., don't decrement its value in here...
2025 (gnu_create_inferior): ..., and instead set the flag in here,
2026 around the startup_inferior call, and call that one with
2027 START_INFERIOR_TRAPS_EXPECTED.
2029 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
2030 (ILL_RPC): ... new macro.
2031 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
2032 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
2033 (do_mach_notify_send_once, S_proc_setmsgport_reply)
2034 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
2035 functions with ILL_RPC macro.
2036 (S_proc_pid2task_reply, S_proc_task2pid_reply)
2037 (S_proc_task2proc_reply, S_proc_proc2task_reply)
2038 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
2039 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
2040 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
2041 (S_proc_getlogin_reply, S_proc_getsid_reply)
2042 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
2043 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
2044 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
2045 (S_proc_getnports_reply, S_proc_is_important_reply)
2046 (S_proc_get_code_reply): New stub functions, generated with
2049 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
2050 collected the type check structures.
2052 * reply_mig_hack.awk: Don't expect to see the auto keyword.
2054 2014-02-14 Doug Evans <dje@google.com>
2056 * target.c (target_write_partial): Fix result type.
2058 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2060 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
2061 the proper offsets to access fpregset_t.
2063 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
2065 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
2066 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
2067 * h8300-tdep.c (setmachinelist): Remove global.
2068 * hppa-tdep.c (hppa_sigtramp): Remove global.
2069 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
2070 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
2071 * ravenscar-thread.c (update_target_observer): Remove global.
2072 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
2074 2014-02-12 Tom Tromey <tromey@redhat.com>
2076 * common/rsp-low.c: Update comments.
2077 * common/rsp-low.h: Update comments.
2079 2014-02-12 Tom Tromey <tromey@redhat.com>
2081 * common/rsp-low.c (convert_ascii_to_int): Remove.
2082 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
2084 2014-02-12 Tom Tromey <tromey@redhat.com>
2086 * common/rsp-low.h (unhexify): Don't declare.
2087 * common/rsp-low.c (unhexify): Remove.
2089 2014-02-12 Tom Tromey <tromey@redhat.com>
2091 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
2092 * common/rsp-low.c (convert_int_to_ascii): Remove.
2094 2014-02-12 Tom Tromey <tromey@redhat.com>
2096 * common/rsp-low.h (hexify): Don't declare.
2097 * common/rsp-low.c (hexify): Remove.
2099 2014-02-12 Tom Tromey <tromey@redhat.com>
2101 * common/rsp-low.c (hexify): Never take strlen of argument.
2103 2014-02-12 Tom Tromey <tromey@redhat.com>
2105 * common/rsp-low.c (bin2hex): Never take strlen of argument.
2106 * remote.c (extended_remote_run, remote_rcmd)
2107 (remote_download_trace_state_variable, remote_save_trace_data)
2108 (remote_set_trace_notes): Update.
2109 * tracepoint.c (encode_source_string, tfile_write_status)
2110 (tfile_write_uploaded_tsv): Update.
2112 2014-02-12 Tom Tromey <tromey@redhat.com>
2114 * tracepoint.c: Include rsp-low.h.
2115 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
2116 * remote.c: Include rsp-low.h.
2117 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
2118 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
2119 (remote_unescape_input): Move to common/rsp-low.c.
2120 * common/rsp-low.h: New file.
2121 * common/rsp-low.c: New file.
2122 * Makefile.in (SFILES): Add common/rsp-low.c.
2123 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
2124 (COMMON_OBS): Add rsp-low.o.
2125 (rsp-low.o): New target.
2127 2014-02-12 Tom Tromey <tromey@redhat.com>
2129 * utils.h: Include print-utils.h.
2130 (host_address_to_string, plongest, pulongest, phex, phex_nz)
2131 (int_string, core_addr_to_string, core_addr_to_string_nz)
2132 (hex_string, hex_string_custom): Don't declare.
2133 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2134 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2135 (hex_string_custom, int_string, core_addr_to_string)
2136 (core_addr_to_string_nz, host_address_to_string): Move to
2137 common/print-utils.c.
2138 * common/print-utils.h: New file.
2139 * common/print-utils.c: New file
2140 * Makefile.in (SFILES): Add common/print-utils.c.
2141 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2142 (COMMON_OBS): Add print-utils.o.
2143 (print-utils.o): New target.
2145 2014-02-12 Tom Tromey <tromey@redhat.com>
2147 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2149 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2151 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2153 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2155 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2156 if a PT_IO ptrace request returns sucessfully but indicates that 0
2157 bytes were transferred.
2159 2014-02-12 Pedro Alves <palves@redhat.com>
2160 Kevin Buettner <kevinb@redhat.com>
2162 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2163 TYPE_INSTANCE_FLAG_CODE_SPACE.
2165 2014-02-12 Pedro Alves <palves@redhat.com>
2167 * h8300-tdep.c (pseudo_from_raw_register)
2168 (raw_from_pseudo_register): New functions.
2169 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2172 2014-02-12 Pedro Alves <palves@redhat.com>
2174 * h8300-tdep.c (h8300_register_sim_regno): New function.
2175 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2176 gdbarch_register_sim_regno hook.
2178 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2180 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2182 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2184 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2186 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2188 * obsd-tdep.h (obsd_init_abi): New prototype.
2189 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2190 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2191 (obsd_init_abi): New functions.
2192 * i386obsd-tdep.c: Include "obsd-tdep.h".
2193 (i386obsd_init_abi): Call obsd_init_abi.
2194 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2195 (amd64obsd_init_abi): Call obsd_init_abi.
2196 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2197 obsd-tdep.c to gdb_target_obs.
2199 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2201 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2202 double float arguments to 16-byte in the argument slots.
2204 2014-02-11 Doug Evans <xdje42@gmail.com>
2206 * configure.ac: Don't crash if pkg-config is not found and guile
2207 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2209 * configure: Regenerate.
2211 2014-02-11 Yao Qi <yao@codesourcery.com>
2213 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2214 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2215 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2216 * gnu-nat.c (gnu_xfer_memory): Likewise.
2217 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2218 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2219 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2220 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2222 2014-02-11 Yao Qi <yao@codesourcery.com>
2224 * target.h (enum target_xfer_error): Rename to ...
2225 (enum target_xfer_status): ... it. New. All users updated.
2226 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2228 (TARGET_XFER_STATUS_ERROR_P): New macro.
2229 (target_xfer_error_to_string): Remove declaration.
2230 (target_xfer_status_to_string): Declare.
2231 (target_xfer_partial_ftype): Adjust it.
2232 (struct target_ops) <to_xfer_partial>: Return
2233 target_xfer_status. Add argument xfered_len. Update
2235 * target.c (target_xfer_error_to_string): Rename to ...
2236 (target_xfer_status_to_string): ... it. New. All callers
2238 (target_read_live_memory): Likewise. Call target_xfer_partial
2239 instead of target_read.
2240 (memory_xfer_live_readonly_partial): Return
2241 target_xfer_status. Add argument xfered_len.
2242 (raw_memory_xfer_partial): Likewise.
2243 (memory_xfer_partial_1): Likewise.
2244 (memory_xfer_partial): Likewise.
2245 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2246 properly. Update debug message.
2247 (default_xfer_partial, current_xfer_partial): Likewise.
2248 (target_write_partial): Likewise.
2249 (target_read_partial): Likewise. All callers updated.
2250 (read_whatever_is_readable): Likewise.
2251 (target_write_with_progress): Likewise.
2252 (target_read_alloc_1): Likewise.
2254 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2255 * auxv.c (procfs_xfer_auxv): Likewise.
2256 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2257 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2258 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2259 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2260 * corefile.c (read_memory): Adjust.
2261 * corelow.c (core_xfer_partial): Likewise.
2262 * ctf.c (ctf_xfer_partial): Likewise.
2263 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2265 (darwin_xfer_partial): Likewise.
2266 * exec.c (section_table_xfer_memory_partial): Likewise. All
2268 (exec_xfer_partial): Likewise.
2269 * exec.h (section_table_xfer_memory_partial): Update
2271 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2273 (gnu_xfer_partial): Likewise.
2274 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2275 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2276 (ia64_hpux_xfer_solib_got): Likewise.
2277 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2278 type of 'partial_len' to ULONGEST.
2279 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2280 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2281 (linux_nat_xfer_partial): Likewise.
2282 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2283 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2284 * monitor.c (monitor_xfer_memory): Likewise.
2285 (monitor_xfer_partial): Likewise.
2286 * procfs.c (procfs_xfer_partial): Likewise.
2287 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2288 * record-full.c (record_full_xfer_partial): Likewise.
2289 (record_full_core_xfer_partial): Likewise.
2290 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2291 (gdbsim_xfer_partial): Likewise.
2292 * remote.c (remote_write_bytes_aux): Likewise. All callers
2294 (remote_write_bytes, remote_read_bytes): Likewise. All
2296 (remote_flash_erase): Likewise. All callers updated.
2297 (remote_write_qxfer): Likewise. All callers updated.
2298 (remote_read_qxfer): Likewise. All callers updated.
2299 (remote_xfer_partial): Likewise.
2300 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2301 (rs6000_xfer_shared_libraries): Likewise.
2302 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2303 (sol_thread_xfer_partial): Likewise.
2304 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2305 (sparc_xfer_partial): Likewise.
2306 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2308 (spu_xfer_partial): Likewise.
2309 * spu-multiarch.c (spu_xfer_partial): Likewise.
2310 * tracepoint.c (tfile_xfer_partial): Likewise.
2311 * windows-nat.c (windows_xfer_memory): Likewise.
2312 (windows_xfer_shared_libraries): Likewise.
2313 (windows_xfer_partial): Likewise.
2314 * valprint.c: Replace 'target_xfer_error' with
2315 'target_xfer_status' in comments.
2317 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2319 Checked in by Joel Brobecker <brobecker@adacore.com>.
2320 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2322 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2324 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2325 function parameters.
2327 2014-02-10 Will Newton <will.newton@linaro.org>
2329 * elfread.c (elf_rel_plt_read): Look for a .got section if
2330 looking up .got.plt fails.
2331 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2332 on address passed to elf_gnu_ifunc_record_cache.
2333 (elf_gnu_ifunc_resolve_addr): Likewise.
2334 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2336 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2338 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2339 (X_RETTURN): New macro.
2340 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2342 * sparc64-tdep.c (sparc64_init_abi): Hook
2343 sparc_in_function_epilogue_p.
2345 2014-02-10 Gary Benson <gbenson@redhat.com>
2347 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2348 Rename name_matcher to symbol_matcher.
2350 2014-02-10 Gary Benson <gbenson@redhat.com>
2352 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2353 Use expand_symtabs_file_matcher_ftype and
2354 expand_symtabs_symbol_matcher_ftype.
2356 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2358 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2359 (struct ada_symbol_cache): New.
2360 (ada_free_symbol_cache): Forward declare.
2361 (struct ada_pspace_data): New.
2362 (ada_pspace_data_handle): New static global.
2363 (get_ada_pspace_data, ada_pspace_data_cleanup)
2364 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2365 (cache_space, cache): Delete, now folded inside struct
2367 (ada_get_symbol_cache): New function.
2368 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2370 (_initialize_ada_language): Remove initialization of cache_space.
2371 Move call to observer_attach_inferior_exit up, grouping it
2372 with the other observer registrations inside this function.
2373 Rename command to be more general. Add call to
2374 register_program_space_data_with_cleanup.
2376 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2378 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2379 ada_new_objfile_observer.
2380 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2381 (_initialize_tasks): Update uses of ada_new_objfile_observer
2382 and ada_tasks_normal_stop_observer.
2384 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2386 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2387 returned by the 'Length attribute to integer.
2389 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2391 * ada-lang.c (_initialize_ada_language): Initialize
2392 cache_space obstack.
2394 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2396 * ada-lang.c (HASH_SIZE): New macro.
2397 (struct cache_entry): New type.
2398 (cache_space, cache): New static globals.
2399 (ada_clear_symbol_cache, find_entry): New functions.
2400 (lookup_cached_symbol, cache_symbol): Implement.
2401 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2402 (_initialize_ada_language): Attach ada_new_objfile_observer
2403 and ada_free_objfile_observer.
2405 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2407 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
2408 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
2409 struct block * parameter.
2410 (ada_lookup_symbol_list_worker): Constify local variable "block".
2411 Remove cast which is no longer necessary.
2413 2014-02-10 Doug Evans <xdje42@gmail.com>
2415 Add Guile as an extension language.
2416 * NEWS: Mention Guile scripting.
2417 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
2418 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
2419 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
2420 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
2421 (CLIBS): Add GUILE_LIBS.
2422 (install-guile): New rule.
2423 (guile.o): New rule.
2424 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
2425 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
2426 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
2427 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
2428 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
2429 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
2430 (scm-type.o, scm-utils.o, scm-value.o): New rules.
2431 * configure.ac: New option --with-guile.
2432 * configure: Regenerate.
2433 * config.in: Regenerate.
2434 * auto-load.c: Remove #include "python/python.h". Add #include
2435 "gdb/section-scripts.h".
2436 (source_section_scripts): Handle Guile scripts.
2437 (_initialize_auto_load): Add name of Guile objfile script to
2438 scripts-directory help text.
2439 * breakpoint.c (condition_command): Tweak comment to include Scheme.
2440 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
2441 (struct breakpoint): New member scm_bp_object.
2442 * defs.h (enum command_control_type): New value guile_control.
2443 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
2445 (show_user): Update comment.
2446 (_initialize_cli_cmds): Update help text for "show user". Update help
2447 text for max-user-call-depth.
2448 * cli/cli-script.c: Remove #include "python/python.h". Add #include
2450 (multi_line_command_p): Add guile_control.
2451 (print_command_lines): Handle guile_control.
2452 (execute_control_command, recurse_read_control_structure): Ditto.
2453 (process_next_line): Recognize "guile" commands.
2454 * disasm.c (gdb_disassemble_info): Make non-static.
2455 * disasm.h: #include "dis-asm.h".
2456 (struct gdbarch): Add forward decl.
2457 (gdb_disassemble_info): Declare.
2458 * extension.c: #include "guile/guile.h".
2459 (extension_languages): Add guile.
2460 (get_ext_lang_defn): Handle EXT_LANG_GDB.
2461 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
2462 * gdbtypes.c (get_unsigned_type_max): New function.
2463 (get_signed_type_minmax): New function.
2464 * gdbtypes.h (get_unsigned_type_max): Declare.
2465 (get_signed_type_minmax): Declare.
2466 * guile/README: New file.
2467 * guile/guile-internal.h: New file.
2468 * guile/guile.c: New file.
2469 * guile/guile.h: New file.
2470 * guile/scm-arch.c: New file.
2471 * guile/scm-auto-load.c: New file.
2472 * guile/scm-block.c: New file.
2473 * guile/scm-breakpoint.c: New file.
2474 * guile/scm-disasm.c: New file.
2475 * guile/scm-exception.c: New file.
2476 * guile/scm-frame.c: New file.
2477 * guile/scm-gsmob.c: New file.
2478 * guile/scm-iterator.c: New file.
2479 * guile/scm-lazy-string.c: New file.
2480 * guile/scm-math.c: New file.
2481 * guile/scm-objfile.c: New file.
2482 * guile/scm-ports.c: New file.
2483 * guile/scm-pretty-print.c: New file.
2484 * guile/scm-safe-call.c: New file.
2485 * guile/scm-string.c: New file.
2486 * guile/scm-symbol.c: New file.
2487 * guile/scm-symtab.c: New file.
2488 * guile/scm-type.c: New file.
2489 * guile/scm-utils.c: New file.
2490 * guile/scm-value.c: New file.
2491 * guile/lib/gdb.scm: New file.
2492 * guile/lib/gdb/boot.scm: New file.
2493 * guile/lib/gdb/experimental.scm: New file.
2494 * guile/lib/gdb/init.scm: New file.
2495 * guile/lib/gdb/iterator.scm: New file.
2496 * guile/lib/gdb/printing.scm: New file.
2497 * guile/lib/gdb/types.scm: New file.
2498 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
2499 (VPATH): Add $(GUILE_SRCDIR).
2500 (GUILE_DIR): New variable.
2501 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
2502 (all): Add stamp-guile dependency.
2503 (stamp-guile): New rule.
2504 (clean-guile, install-guile, uninstall-guile): New rules.
2505 (install-only): Add install-guile dependency.
2506 (uninstall): Add uninstall-guile dependency.
2507 (clean): Add clean-guile dependency.
2509 2014-02-09 Doug Evans <xdje42@gmail.com>
2511 Revert this patch (which I approved, mea culpa).
2513 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2515 * Makefile.in (all-lib): Remove.
2516 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2518 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2520 Fix Python stack corruption.
2521 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
2524 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2526 * Makefile.in (all-lib): Remove.
2527 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2529 2014-02-07 Doug Evans <dje@google.com>
2531 * extension-priv.h (extension_language_script_ops): Add comment.
2532 (extension_language_ops): Add comment.
2533 (active_ext_lang_state): Fix typo in comment.
2535 2014-02-07 Pedro Alves <palves@redhat.com>
2537 * infrun.c (handle_signal_stop) <signal arrives while stepping
2538 over a breakpoint>: Switch back to the stepping thread.
2540 2014-02-07 Yao Qi <yao@codesourcery.com>
2542 * target.c (target_xfer_partial): Return zero if LEN is zero.
2544 2014-02-07 Yao Qi <yao@codesourcery.com>
2546 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
2547 (ld_so_xfer_auxv): Likewise.
2548 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2549 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2550 * corelow.c (core_xfer_partial): Likewise.
2551 * ctf.c (ctf_xfer_partial): Likewise.
2552 * darwin-nat.c (darwin_read_dyld_info): Likewise.
2553 (darwin_xfer_partial): Likewise.
2554 * exec.c (exec_xfer_partial): Likewise.
2555 * gnu-nat.c (gnu_xfer_partial): Likewise.
2556 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
2557 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2558 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2559 * linux-nat.c (linux_xfer_siginfo): Likewise.
2560 (linux_proc_xfer_spu): Likewise.
2561 * procfs.c (procfs_xfer_partial): Likewise.
2562 * record-full.c (record_full_xfer_partial): Likewise.
2563 (record_full_core_xfer_partial): Likewise.
2564 * remote-sim.c (gdbsim_xfer_partial): Likewise.
2565 * remote.c (remote_write_qxfer): Likewise.
2566 (remote_write_qxfer, remote_read_qxfer): Likewise.
2567 (remote_xfer_partial): Likewise.
2568 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2569 (rs6000_xfer_shared_libraries): Likewise.
2570 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2571 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2572 (spu_xfer_partial): Likewise.
2573 * target.c (memory_xfer_partial_1): Likewise.
2574 * tracepoint.c (tfile_xfer_partial): Likewise.
2575 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
2576 (windows_xfer_partial): Likewise.
2578 2014-02-07 Yao Qi <yao@codesourcery.com>
2580 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
2582 (core_xfer_shared_libraries_aix): Likewise.
2583 * gdbarch.c, gdbarch.h: Regenerated.
2584 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
2585 ULONGEST. Change 'len_avail' type to ULONGEST.
2586 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
2587 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
2589 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
2591 2014-02-07 Yao Qi <yao@codesourcery.com>
2593 * corefile.c (memory_error): Get 'exception' from ERR and pass
2594 'exception' to throw_error.
2596 2014-02-06 Doug Evans <xdje42@gmail.com>
2598 * configure.ac (libpython checking): Remove all but python.o from
2599 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
2600 * configure: Regenerate.
2602 * Makefile.in (SFILES): Add extension.c.
2603 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
2604 (COMMON_OBS): Add extension.o.
2605 * extension.h: New file.
2606 * extension-priv.h: New file.
2607 * extension.c: New file.
2609 * python/python-internal.h: #include "extension.h".
2610 (gdbpy_auto_load_enabled): Declare.
2611 (gdbpy_apply_val_pretty_printer): Declare.
2612 (gdbpy_apply_frame_filter): Declare.
2613 (gdbpy_preserve_values): Declare.
2614 (gdbpy_breakpoint_cond_says_stop): Declare.
2615 (gdbpy_breakpoint_has_cond): Declare.
2616 (void source_python_script_for_objfile): Delete.
2617 * python/python.c: #include "extension-priv.h".
2618 Delete inclusion of "observer.h".
2619 (extension_language_python): Moved here and renamed from
2620 script_language_python in py-auto-load.c.
2621 Redefined to be of type extension_language_defn.
2622 (python_extension_script_ops): New global.
2623 (python_extension_ops): New global.
2624 (struct python_env): New member previous_active.
2625 (restore_python_env): Call restore_active_ext_lang.
2626 (ensure_python_env): Call set_active_ext_lang.
2627 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
2629 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
2631 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
2633 (gdbpy_eval_from_control_command): Renamed from
2634 eval_python_from_control_command, made static. New arg extlang.
2635 (gdbpy_source_script) Renamed from source_python_script, made static.
2637 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
2638 result to int. New arg extlang.
2639 (gdbpy_source_objfile_script): Renamed from
2640 source_python_script_for_objfile, made static. New arg extlang.
2641 (gdbpy_start_type_printers): Renamed from start_type_printers, made
2642 static. New args extlang, extlang_printers. Change result type to
2644 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
2645 static. New arg extlang. Rename arg printers to extlang_printers
2646 and change type to ext_lang_type_printers *.
2647 (gdbpy_free_type_printers): Renamed from free_type_printers, made
2648 static. Replace argument arg with extlang, extlang_printers.
2649 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
2650 (!HAVE_PYTHON, source_python_script): Delete.
2651 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
2652 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
2653 (!HAVE_PYTHON, start_type_printers): Delete.
2654 (!HAVE_PYTHON, apply_type_printers): Delete.
2655 (!HAVE_PYTHON, free_type_printers): Delete.
2656 (_initialize_python): Delete call to observer_attach_before_prompt.
2657 (finalize_python): Set/restore active extension language.
2658 (gdbpy_finish_initialization) Renamed from
2659 finish_python_initialization, made static. New arg extlang.
2660 (gdbpy_initialized): New function.
2661 * python/python.h: #include "extension.h". Delete #include
2662 "value.h", "mi/mi-cmds.h".
2663 (extension_language_python): Declare.
2664 (GDBPY_AUTO_FILE_NAME): Delete.
2665 (enum py_bt_status): Moved to extension.h and renamed to
2667 (enum frame_filter_flags): Moved to extension.h.
2668 (enum py_frame_args): Moved to extension.h and renamed to
2669 ext_lang_frame_args.
2670 (finish_python_initialization): Delete.
2671 (eval_python_from_control_command): Delete.
2672 (source_python_script): Delete.
2673 (apply_val_pretty_printer): Delete.
2674 (apply_frame_filter): Delete.
2675 (preserve_python_values): Delete.
2676 (gdbpy_script_language_defn): Delete.
2677 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
2678 (start_type_printers, apply_type_printers, free_type_printers): Delete.
2680 * auto-load.c: #include "extension.h".
2681 (GDB_AUTO_FILE_NAME): Delete.
2682 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
2683 (script_language_gdb): Delete, moved to extension.c and renamed to
2684 extension_language_gdb.
2685 (source_gdb_script_for_objfile): Delete.
2686 (auto_load_pspace_info): New member unsupported_script_warning_printed.
2687 (loaded_script): Change type of language member to
2688 struct extension_language_defn *.
2689 (init_loaded_scripts_info): Initialize
2690 unsupported_script_warning_printed.
2691 (maybe_add_script): Make static. Change type of language arg to
2692 struct extension_language_defn *.
2693 (clear_section_scripts): Reset unsupported_script_warning_printed.
2694 (auto_load_objfile_script_1): Rewrite to use extension language API.
2695 (auto_load_objfile_script): Make public. Remove support-compiled-in
2696 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
2697 (source_section_scripts): Rewrite to use extension language API.
2698 (load_auto_scripts_for_objfile): Rewrite to use
2699 auto_load_scripts_for_objfile.
2700 (collect_matching_scripts_data): Change type of language member to
2701 struct extension_language_defn *.
2702 (auto_load_info_scripts): Change type of language arg to
2703 struct extension_language_defn *.
2704 (unsupported_script_warning_print): New function.
2705 (script_not_found_warning_print): Make static.
2706 (_initialize_auto_load): Rewrite construction of scripts-directory
2708 * auto-load.h (struct objfile): Add forward decl.
2709 (struct script_language): Delete.
2710 (struct auto_load_pspace_info): Add forward decl.
2711 (struct extension_language_defn): Add forward decl.
2712 (maybe_add_script): Delete.
2713 (auto_load_objfile_script): Declare.
2714 (script_not_found_warning_print): Delete.
2715 (auto_load_info_scripts): Update prototype.
2716 (auto_load_gdb_scripts_enabled): Declare.
2717 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
2718 auto_load_python_scripts_enabled and made public.
2719 (script_language_python): Delete, moved to python.c.
2720 (gdbpy_script_language_defn): Delete.
2721 (info_auto_load_python_scripts): Update to use
2722 extension_language_python.
2724 * breakpoint.c (condition_command): Replace call to
2725 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
2726 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
2727 with call to breakpoint_ext_lang_cond_says_stop.
2728 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
2729 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
2730 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
2731 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
2733 (local_setattro): Print name of extension language with existing
2736 * valprint.c (val_print, value_print): Update to call
2737 apply_ext_lang_val_pretty_printer.
2738 * cp-valprint.c (cp_print_value): Update call to
2739 apply_ext_lang_val_pretty_printer.
2740 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
2741 (gdbpy_apply_val_pretty_printer): Renamed from
2742 apply_val_pretty_printer. New arg extlang.
2743 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
2745 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
2746 extension language API.
2747 * cli/cli-script.c (execute_control_command): Update to call
2748 eval_ext_lang_from_control_command.
2750 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
2751 enum ext_lang_bt_status values. Update call to
2752 apply_ext_lang_frame_filter.
2753 (mi_cmd_stack_list_locals): Ditto.
2754 (mi_cmd_stack_list_args): Ditto.
2755 (mi_cmd_stack_list_variables): Ditto.
2756 * mi/mi-main.c: Delete #include "python/python-internal.h".
2757 Add #include "extension.h".
2758 (mi_cmd_list_features): Replace reference to python internal variable
2759 gdb_python_initialized with call to ext_lang_initialized_p.
2761 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
2762 Update to use enum ext_lang_frame_args. Update to call
2763 apply_ext_lang_frame_filter.
2764 * python/py-framefilter.c (extract_sym): Update to use enum
2766 (extract_value, py_print_type, py_print_value): Ditto.
2767 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
2768 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
2769 (py_print_frame): Ditto.
2770 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
2771 New arg extlang. Update to use enum ext_lang_bt_status.
2773 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
2774 finish_python_initialization. Replace with call to
2775 finish_ext_lang_initialization.
2777 * typeprint.c (do_free_global_table): Update to call
2778 free_ext_lang_type_printers.
2779 (create_global_typedef_table): Update to call
2780 start_ext_lang_type_printers.
2781 (find_global_typedef): Update to call apply_ext_lang_type_printers.
2782 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
2783 (type_print_options): Change type of global_printers from "void *"
2784 to "struct ext_lang_type_printers *".
2786 * value.c (preserve_values): Update to call preserve_ext_lang_values.
2787 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
2788 (gdbpy_preserve_values): Renamed from preserve_python_values.
2790 (!HAVE_PYTHON, preserve_python_values): Delete.
2792 * utils.c (quit_flag): Delete, moved to extension.c.
2793 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
2796 * eval.c: Delete #include "python/python.h".
2797 * main.c: Delete #include "python/python.h".
2799 * defs.h: Update comment.
2801 2014-02-06 Joel Brobecker <brobecker@adacore.com>
2805 2014-02-05 Mark Kettenis <kettenis@gnu.org>
2807 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
2810 2014-02-05 Yao Qi <yao@codesourcery.com>
2812 * remote.c (remote_pass_signals): Remove local 'buf' and use
2814 (remote_program_signals): Likewise.
2816 2014-02-05 Yao Qi <yao@codesourcery.com>
2818 * ctf.c: Include "inferior.h" and "gdbthread.h".
2819 (CTF_PID): A new macro.
2820 (ctf_open): Call inferior_appeared and add_thread_silent.
2821 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
2822 (ctf_thread_alive): New function.
2823 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
2825 2014-02-05 Yao Qi <yao@codesourcery.com>
2829 2013-05-24 Yao Qi <yao@codesourcery.com>
2831 * tracepoint.c (TFILE_PID): Remove.
2832 (tfile_open): Don't add thread and inferior.
2833 (tfile_close): Don't set 'inferior_ptid'. Don't call
2834 exit_inferior_silent.
2835 (tfile_thread_alive): Remove.
2836 (init_tfile_ops): Don't set field 'to_thread_alive' of
2839 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
2841 * remote.c (remote_start_remote): Call remote_check_symbols even
2842 if only symbol-file (not file) has been given.
2844 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2846 * gdbarch.sh (skip_entrypoint): New callback.
2847 * gdbarch.c, gdbarch.h: Regenerate.
2848 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
2849 * infrun.c (fill_in_stop_func): Likewise.
2850 * ppc-linux-tdep.c: Include "elf/ppc64.h".
2851 (ppc_elfv2_elf_make_msymbol_special): New function.
2852 (ppc_elfv2_skip_entrypoint): Likewise.
2853 (ppc_linux_init_abi): Install them for ELFv2.
2855 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2857 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
2858 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
2859 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
2860 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
2861 structures returned in GPRs.
2863 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2865 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
2866 offset to the stack parameter list for the ELFv2 ABI.
2868 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2870 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
2871 set_gdbarch_convert_from_func_ptr_addr and
2872 set_gdbarch_elf_make_msymbol_special for ELFv1.
2873 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
2874 function descriptors on ELFv1.
2875 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
2876 set up r12 at function entry.
2878 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2880 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
2881 (struct gdbarch_tdep): New member elf_abi.
2883 * rs6000-tdep.c: Include "elf/ppc64.h".
2884 (rs6000_gdbarch_init): Detect ELF ABI version.
2886 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2888 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
2889 within a register pair holding a DFP 128-bit value on little-endian.
2890 (ppc64_sysv_abi_return_value_base): Likewise.
2891 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
2892 (dfp_pseudo_register_write): Likewise.
2894 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2896 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
2897 offset on little-endian when passing _Decimal32.
2898 (ppc64_sysv_abi_return_value_base): Likewise for return values.
2900 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2902 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
2903 of the overlapped FP register within the VSX register on little-
2905 (efpr_pseudo_register_write): Likewise.
2907 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2909 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
2910 offset on little-endian when passing small structures.
2912 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2914 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
2915 (struct ppc64_sysv_argpos): New data structure.
2916 (ppc64_sysv_abi_push_float): Remove.
2917 (ppc64_sysv_abi_push_val): New function.
2918 (ppc64_sysv_abi_push_integer): Likewise.
2919 (ppc64_sysv_abi_push_freg): Likewise.
2920 (ppc64_sysv_abi_push_vreg): Likewise.
2921 (ppc64_sysv_abi_push_param): Likewise.
2922 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
2923 (ppc64_sysv_abi_return_value_base): New function.
2924 (ppc64_sysv_abi_return_value): Refactor to use it.
2926 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2928 * NEWS: Document new target powerpc64le-*-linux*.
2930 2014-02-04 Mark Kettenis <kettenis@gnu.org>
2932 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
2933 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
2935 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
2936 register set used in ELF core dumps. Add floating-point register set.
2938 2014-02-03 Kevin Buettner <kevinb@redhat.com>
2940 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
2941 dwarf2_to_gdb[] table using symbolic constants. Adjust
2942 penultimate entry from number representing the PC register
2943 to symbolic constant representing the MDR register. Add
2944 constant for the PC register to the end of the table.
2946 2014-02-03 Mark Kettenis <kettenis@gnu.org>
2948 * bsd-kvm.c: Include <sys/param.h>
2950 2014-02-03 Mark Kettenis <kettenis@gnu.org>
2952 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
2954 2014-01-31 Joel Brobecker <brobecker@adacore.com>
2956 * ada-lang.h (clear_ada_sym_cache): Delete.
2958 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
2960 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
2962 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2964 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
2965 the sigreturn register save area only if the syscall is
2968 2014-01-29 Joel Brobecker <brobecker@adacore.com>
2970 * valops.c (value_slice): Minor reformatting.
2972 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
2974 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
2976 2014-01-28 Joel Brobecker <brobecker@adacore.com>
2978 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
2980 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
2981 (ada_ignore_descriptive_types_p): New static global.
2982 (find_parallel_type_by_descriptive_type): Return immediately
2983 if ada_ignore_descriptive_types_p is set.
2984 (_initialize_ada_language): Register new commands "maintenance
2985 set ada", "maintenance show ada", "maintenance set ada
2986 ignore-descriptive-types" and "maintenance show ada
2987 ignore-descriptive-types".
2988 * NEWS: Add entry for new "maint ada set/show
2989 ignore-descriptive-types" commands.
2991 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
2993 * record-btrace.c (record_btrace_close): Call btrace_teardown
2996 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2998 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
3001 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3003 * ada-typeprint (type_is_full_subrange_of_target_type):
3005 (print_range): Add parameter bounds_prefered_p. If not set,
3006 try printing range types using the name of their base type.
3007 (print_range_type): Add parameter bounds_prefered_p.
3008 Use it in call to print_range.
3009 (print_array_type, ada_print_type): Update calls to print_range
3010 and print_range_type.
3012 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3014 * ada-typeprint.c (print_array_type, print_choices, print_range)
3015 (print_range_bound, print_dynamic_range_bound, print_range_type):
3018 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3020 * ada-typeprint.c (print_range): Add missing empty line
3021 after local declaration.
3023 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3025 * ada-valprint.c (print_optional_low_bound): Get index_type's
3026 target type for as long as it is a TYPE_CODE_RANGE.
3028 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3030 * procfs.c (procfs_make_note_section): Remove assertion and
3033 2014-01-24 Yao Qi <yao@codesourcery.com>
3035 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
3036 * corelow.c (get_core_siginfo): Likewise.
3038 2014-01-24 Yao Qi <yao@codesourcery.com>
3040 * remote.c (remote_write_bytes_aux): Change type of 'len' to
3041 ULONGEST. Don't check 'len' is negative.
3042 (remote_write_bytes): Change type of 'len' to ULONGEST.
3044 2014-01-23 Tom Tromey <tromey@redhat.com>
3047 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
3048 Handle exception from frame.block.
3049 (FrameVars.fetch_frame_locals): Likewise.
3051 2014-01-23 Tom Tromey <tromey@redhat.com>
3054 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
3055 on a NULL pointer. Move "goto error" to correct place.
3057 2014-01-23 Tom Tromey <tromey@redhat.com>
3060 * python/py-framefilter.c (apply_frame_filter): Call
3061 ensure_python_env after computing gdbarch.
3063 2014-01-23 Yao Qi <yao@codesourcery.com>
3065 * target.c (raw_memory_xfer_partial): Change argument type
3066 from void * to gdb_byte *.
3067 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
3069 2014-01-22 Doug Evans <dje@google.com>
3071 New gdbserver option --debug-format=timestamp.
3074 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3076 * syscalls/s390x-linux.xml: New file.
3077 * syscalls/s390-linux.xml: New file.
3078 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
3079 (XML_SYSCALL_FILENAME_S390X): Likewise.
3080 (op_svc): New enum value for SVC opcode.
3081 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
3082 (s390_linux_get_syscall_number): New function.
3083 (s390_gdbarch_init): Register '*get_syscall_number' and the
3084 syscall xml file name.
3085 * data-directory/Makefile.in (SYSCALLS_FILES): Add
3086 "s390-linux.xml" and "s390x-linux.xml".
3087 * NEWS: Announce new feature.
3089 2014-01-22 Baruch Siach <baruch@tkos.co.il>
3091 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
3093 2014-01-22 Pedro Alves <palves@redhat.com>
3095 * xtensa-config.c: Include defs.h.
3097 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3099 * common/common-utils.h: Add "ARI:" comment beside __func__
3102 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3104 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
3105 documentation a bit.
3107 2014-01-21 Roland McGrath <mcgrathr@google.com>
3109 * configure.ac: Call AM_PROG_INSTALL_STRIP.
3110 * configure: Regenerate.
3111 * aclocal.m4: Regenerate.
3112 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
3113 New substituted variables.
3114 (install-strip): New target.
3115 (INSTALL_SCRIPT): New substituted variable.
3116 (FLAGS_TO_PASS): Add it.
3117 (install-only): Use $(INSTALL_SCRIPT) rather than
3118 $(INSTALL_PROGRAM) for gcore.
3120 2014-01-20 Tom Tromey <tromey@redhat.com>
3122 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
3125 2014-01-20 Tom Tromey <tromey@redhat.com>
3127 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
3128 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
3129 (deprecated_cmd_warning, complete_on_cmdlist): Update.
3130 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
3131 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3132 (struct cmd_list_element) <flags>: Remove.
3133 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3134 doc_allocated>: New fields.
3135 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3137 * maint.c (maintenance_do_deprecate): Update.
3138 * top.c (execute_command): Update.
3140 2014-01-20 Baruch Siach <baruch@tkos.co.il>
3142 * xtensa-linux-nat.c: Include asm/ptrace.h.
3144 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3146 * Makefile.in (SFILES): Add d-support.c.
3147 (COMMON_OBS): Add d-support.o.
3148 * d-lang.h (d_parse_symbol): Add comment, now defined in
3150 * d-lang.c (parse_call_convention)
3151 (parse_attributes, parse_function_types)
3152 (parse_function_args, parse_type, parse_identifier)
3153 (call_convention_p, d_parse_symbol): Move functions to ...
3154 * d-support.c: ... New file.
3156 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3158 * d-lang.h (d_parse_symbol): Add declaration.
3159 * d-lang.c (extract_identifiers)
3160 (extract_type_info): Remove functions.
3161 (parse_call_convention, parse_attributes)
3162 (parse_function_types, parse_function_args)
3163 (parse_type, parse_identifier, call_convention_p)
3164 (d_parse_symbol): New functions.
3165 (d_demangle): Use d_parse_symbol to demangle D symbols.
3167 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3169 * d-lang.h (struct builtin_d_type): New data type.
3170 (builtin_d_type): Add declaration.
3171 * d-lang.c (d_language_arch_info, build_d_types)
3172 (builtin_d_type): New functions.
3173 (enum d_primitive_types): New data type.
3174 (d_language_defn): Change c_language_arch_info to
3175 d_language_arch_info.
3176 (d_type_data): New static variable.
3177 (_initialize_d_language): Initialize d_type_data.
3179 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3181 * d-lang.h (d_main_name): Add declaration.
3182 * d-lang.c (d_main_name): New function.
3183 * symtab.c (find_main_name): Add call to d_main_name.
3185 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3187 * d-lang.c (d_language_defn): Change macro_expansion_c to
3190 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3192 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3194 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3196 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3197 gdb_exception" declaration.
3198 * remote.c (getpkt_or_notif_sane): Likewise.
3200 2014-01-17 Doug Evans <dje@google.com>
3202 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3203 function, contents of dirnames_to_char_ptr_vec_append moved here.
3204 (delim_string_to_char_ptr_vec): New function.
3205 (dirnames_to_char_ptr_vec_append): Rewrite.
3206 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3208 2014-01-17 Doug Evans <dje@google.com>
3210 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3212 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3213 #include "common-utils.h".
3214 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3215 * common/vec.h (VEC_ASSERT_PASS): Update.
3216 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3217 (MACH_CHECK_ERROR): Update.
3219 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3221 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3223 * gdbarch.h: Regenerate.
3225 2014-01-16 Tom Tromey <tromey@redhat.com>
3227 * value.c (struct value) <regnum>: Move earlier.
3229 2014-01-16 Tom Tromey <tromey@redhat.com>
3231 * remote.c (extended_remote_create_inferior): Rename from
3232 extended_remote_create_inferior_1. Add "ops" argument. Remove
3235 2014-01-16 Pedro Alves <palves@redhat.com>
3237 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3238 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3241 2014-01-16 Doug Evans <dje@google.com>
3243 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3245 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3247 * btrace.h (btrace_thread_flag): New.
3248 (struct btrace_thread_info) <flags>: New.
3249 * record-btrace.c (record_btrace_resume_thread)
3250 (record_btrace_find_thread_to_move, btrace_step_no_history)
3251 (btrace_step_stopped, record_btrace_start_replaying)
3252 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3253 (record_btrace_find_resume_thread): New.
3254 (record_btrace_resume, record_btrace_wait): Extend.
3255 (record_btrace_can_execute_reverse): New.
3256 (record_btrace_open): Fail in non-stop mode.
3257 (record_btrace_set_replay): Split into this, ...
3258 (record_btrace_stop_replaying): ... this, ...
3259 (record_btrace_clear_histories): ... and this.
3260 (init_record_btrace_ops): Init to_can_execute_reverse.
3261 * NEWS: Announce it.
3263 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3265 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3266 (forward_target_decr_pc_after_break)
3267 (target_decr_pc_after_break): New.
3268 * target.c (forward_target_decr_pc_after_break)
3269 (target_decr_pc_after_break): New.
3270 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3271 instead of gdbarch_decr_pc_after_break.
3272 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3273 instead of gdbarch_decr_pc_after_break.
3274 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3275 instead of gdbarch_decr_pc_after_break.
3276 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3277 instead of gdbarch_decr_pc_after_break.
3278 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3279 instead of gdbarch_decr_pc_after_break.
3280 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3281 instead of gdbarch_decr_pc_after_break.
3283 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3285 * btrace.c: Include regcache.h.
3286 (btrace_add_pc): New.
3287 (btrace_enable): Call btrace_add_pc.
3288 (btrace_is_empty): New.
3289 * btrace.h (btrace_is_empty): New.
3290 * record-btrace.c (require_btrace, record_btrace_info): Call
3293 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3295 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3296 Support delta reads.
3297 (linux_disable_btrace): Change return type.
3298 * common/linux-btrace.h (linux_read_btrace): Change parameters
3299 and return type to allow error reporting. Update users.
3300 (linux_disable_btrace): Change return type. Update users.
3301 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3303 (btrace_error): New.
3304 (btrace_block) <begin>: Comment on BEGIN == 0.
3305 * btrace.c (btrace_compute_ftrace): Start from the end of
3307 (btrace_stitch_trace, btrace_clear_history): New.
3308 (btrace_fetch): Read delta trace, return if replaying.
3309 (btrace_clear): Move clear history code to btrace_clear_history.
3310 (parse_xml_btrace): Throw an error if parsing failed.
3311 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3312 and return type to allow error reporting.
3313 (target_read_btrace): Change parameters and return type to allow
3315 * target.c (target_read_btrace): Update.
3316 * remote.c (remote_read_btrace): Support delta reads. Pass
3318 * NEWS: Announce it.
3320 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3322 * record.h (record_btrace_frame_unwind)
3323 (record_btrace_tailcall_frame_unwind): New declarations.
3324 * dwarf2-frame: Include record.h
3325 (dwarf2_frame_cfa): Throw an error for btrace frames.
3326 * record-btrace.c: Include hashtab.h.
3327 (btrace_get_bfun_name): New.
3328 (btrace_call_history): Call btrace_get_bfun_name.
3329 (struct btrace_frame_cache): New.
3331 (bfcache_hash, bfcache_eq, bfcache_new): New.
3332 (btrace_get_frame_function): New.
3333 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3334 (record_btrace_frame_this_id): Compute own id.
3335 (record_btrace_frame_prev_register): Provide PC, throw_error
3336 for all other registers.
3337 (record_btrace_frame_sniffer): Detect btrace frames.
3338 (record_btrace_tailcall_frame_sniffer): New.
3339 (record_btrace_frame_dealloc_cache): New.
3340 (record_btrace_frame_unwind): Add new functions.
3341 (record_btrace_tailcall_frame_unwind): New.
3342 (_initialize_record_btrace): Allocate cache.
3343 * btrace.c (btrace_clear): Call reinit_frame_cache.
3344 * NEWS: Announce it.
3346 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3348 * record-btrace.c (record_btrace_set_replay)
3349 (record_btrace_goto_begin, record_btrace_goto_end)
3350 (record_btrace_goto): New.
3351 (init_record_btrace_ops): Initialize them.
3352 * NEWS: Announce it.
3354 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3356 * record-btrace.c (record_btrace_find_new_threads)
3357 (record_btrace_thread_alive): New.
3358 (init_record_btrace_ops): Initialize to_find_new_threads and
3361 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3363 * record-btrace.c (record_btrace_resume): New.
3364 (record_btrace_wait): New.
3365 (init_record_btrace_ops): Initialize to_wait and to_resume.
3367 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3369 * record-btrace.c (record_btrace_xfer_partial)
3370 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3371 (record_btrace_allow_memory_access): New.
3372 (init_record_btrace_ops): Initialize new methods.
3373 * target.c (raw_memory_xfer_partial): Bail out if target reports
3374 that this memory is not available.
3376 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3378 * target.h (target_ops) <to_insert_breakpoint>
3379 <to_remove_breakpoint>: Add target_ops parameter.
3380 (forward_target_insert_breakpoint): New.
3381 (forward_target_remove_breakpoint): New.
3382 (memory_remove_breakpoint, memory_insert_breakpoint):
3383 Add target_ops parameter.
3384 * target.c (target_insert_breakpoint): Split into this and ...
3385 (forward_target_insert_breakpoint): ... this.
3386 (target_remove_breakpoint): Split into this and ...
3387 (forward_target_remove_breakpoint): ... this.
3388 (debug_to_insert_breakpoint): Add target_ops parameter.
3389 Call forward_target_insert_breakpoint.
3390 (debug_to_remove_breakpoint): Add target_ops parameter.
3391 Call forward_target_remove_breakpoint.
3392 (update_current_target): Do not inherit or default to_insert_breakpoint
3393 and to_remove_breakpoint.
3394 * corelow.c (ignore): Add target_ops parameter.
3395 * exec.c (ignore): Add target_ops parameter.
3396 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3397 Add target_ops parameter.
3398 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3399 Add target_ops parameter.
3400 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3401 Add target_ops parameter.
3402 * record-full.c (record_full_beneath_to_insert_breakpoint)
3403 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3404 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3405 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
3406 (record_full_core_remove_breakpoint): Add target_ops parameter.
3408 (record_full_beneath_to_insert_breakpoint_ops)
3409 (record_full_beneath_to_remove_breakpoint_ops)
3410 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
3411 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
3412 tmp_to_remove_breakpoint_ops,
3413 record_full_beneath_to_insert_breakpoint_ops, and
3414 record_full_beneath_to_remove_breakpoint_ops.
3415 * remote-m32r-sdi.c (m32r_insert_breakpoint)
3416 (m32r_remove_breakpoint): Add target_ops parameter.
3417 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
3418 Add target_ops parameter.
3419 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
3420 Add target_ops parameter.
3422 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3423 Markus Metzger <markus.t.metzger@intel.com>
3425 * record-btrace.c: Include frame-unwind.h.
3426 (record_btrace_frame_unwind_stop_reason)
3427 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
3428 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
3430 (init_record_btrace_ops): Install it.
3432 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3434 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
3437 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3439 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
3442 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3444 * frame-unwind.c: Include target.h.
3445 (frame_unwind_try_unwinder): New function with code from ...
3446 (frame_unwind_find_by_frame): ... here. New variable
3447 unwinder_from_target, call also target_get_unwinder)
3448 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
3449 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
3450 * target.h (struct target_ops): New fields to_get_unwinder and
3451 to_get_tailcall_unwinder.
3452 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
3454 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3456 * record-btrace.c (record_btrace_fetch_registers)
3457 (record_btrace_store_registers)
3458 (record_btrace_to_prepare_to_store): New.
3459 (init_record_btrace_ops): Add the above.
3461 2014-01-16 Tom Tromey <tromey@redhat.com>
3463 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
3464 * target.h (struct target_ops) <to_prepare_to_store>: Add
3466 (target_prepare_to_store): Add argument.
3467 * target.c (debug_to_prepare_to_store): Add argument.
3468 (update_current_target): Update.
3469 * remote.c (remote_prepare_to_store): Add 'self' argument.
3470 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
3471 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
3472 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
3473 * record-full.c (record_full_core_prepare_to_store): Add 'self'
3475 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
3476 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
3477 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
3478 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
3479 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
3481 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3483 * btrace.h (replay) <replay>: New.
3484 (btrace_is_replaying): New.
3485 * btrace.c (btrace_clear): Free replay iterator.
3486 (btrace_is_replaying): New.
3487 * record-btrace.c (record_btrace_is_replaying): New.
3488 (record_btrace_info): Print insn number if replaying.
3489 (record_btrace_insn_history): Start at replay position.
3490 (record_btrace_call_history): Start at replay position.
3491 (init_record_btrace_ops): Init to_record_is_replaying.
3493 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3495 * record-btrace.c (record_btrace_insn_history_range): Include
3497 (record_btrace_insn_history_from): Adjust range.
3498 (record_btrace_call_history_range): Include
3500 (record_btrace_call_history_from): Adjust range.
3501 * NEWS: Announce changes.
3503 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3505 * record.h (enum record_print_flag)
3506 <record_print_indent_calls>: New.
3507 * record.c (get_call_history_modifiers): Recognize /c modifier.
3508 (_initialize_record): Document /c modifier.
3509 * record-btrace.c (btrace_call_history): Add btinfo parameter.
3510 Reorder fields. Optionally indent the function name. Update
3512 * NEWS: Announce changes.
3514 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3516 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
3518 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3520 * btrace.c (ftrace_new_function): Start counting at one.
3521 * record-btrace.c (record_btrace_info): Adjust number of calls
3523 * NEWS: Announce it.
3525 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3527 * record-btrace.c (btrace_call_history_insn_range): Print
3528 insn range as [begin, end].
3530 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3532 * btrace.h (struct btrace_func_link): New.
3533 (enum btrace_function_flag): New.
3534 (struct btrace_inst): Rename to ...
3535 (struct btrace_insn): ...this. Update all users.
3536 (struct btrace_func) <ibegin, iend>: Remove.
3537 (struct btrace_func_link): New.
3538 (struct btrace_func): Rename to ...
3539 (struct btrace_function): ...this. Update all users.
3540 (struct btrace_function) <segment, flow, up, insn, insn_offset)
3541 (number, level, flags>: New.
3542 (struct btrace_insn_iterator): Rename to ...
3543 (struct btrace_insn_history): ...this.
3545 (struct btrace_insn_iterator, btrace_call_iterator): New.
3546 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
3547 (struct btrace_target_info) <begin, end, level>
3548 <insn_history, call_history>: New.
3549 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3550 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3551 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3552 (btrace_call_number, btrace_call_begin, btrace_call_end)
3553 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3554 (btrace_find_function_by_number, btrace_set_insn_history)
3555 (btrace_set_call_history): New.
3556 * btrace.c (btrace_init_insn_iterator)
3557 (btrace_init_func_iterator, compute_itrace): Remove.
3558 (ftrace_print_function_name, ftrace_print_filename)
3559 (ftrace_skip_file): Change
3561 (ftrace_init_func): Remove.
3562 (ftrace_debug): Use new btrace_function fields.
3563 (ftrace_function_switched): Also consider gaining and
3564 losing symbol information).
3565 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
3566 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
3567 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
3569 (ftrace_new_function): Move. Remove debug print.
3570 (ftrace_update_lines, ftrace_update_insns): New.
3571 (ftrace_update_function): Check for call, ret, and jump.
3572 (compute_ftrace): Renamed to ...
3573 (btrace_compute_ftrace): ...this. Rewritten to compute call
3575 (btrace_fetch, btrace_clear): Updated.
3576 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3577 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3578 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3579 (btrace_call_number, btrace_call_begin, btrace_call_end)
3580 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3581 (btrace_find_function_by_number, btrace_set_insn_history)
3582 (btrace_set_call_history): New.
3583 * record-btrace.c (require_btrace): Use new btrace thread
3585 (record_btrace_info, btrace_insn_history)
3586 (record_btrace_insn_history, record_btrace_insn_history_range):
3587 Use new btrace thread info fields and new iterator.
3588 (btrace_func_history_src_line): Rename to ...
3589 (btrace_call_history_src_line): ...this. Use new btrace
3591 (btrace_func_history): Rename to ...
3592 (btrace_call_history): ...this. Use new btrace thread info
3593 fields and new iterator.
3594 (record_btrace_call_history, record_btrace_call_history_range):
3595 Use new btrace thread info fields and new iterator.
3597 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3599 * frame.h (frame_id_build_unavailable_stack_special): New.
3600 * frame.c (frame_id_build_unavailable_stack_special): New.
3602 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3604 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
3605 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
3606 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
3608 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
3609 (i386_insn_is_jump, i386_jmp_p): New.
3610 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
3611 insn_is_jump to gdbarch.
3612 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
3613 * gdbarch.h: Regenerated.
3614 * gdbarch.c: Regenerated.
3615 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
3616 (default_insn_is_jump): New.
3617 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
3618 (default_insn_is_jump): New.
3620 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3622 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
3624 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
3625 (btrace_read_type) <btrace_read_new>: Change to ...
3626 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
3628 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3630 * common/linux-btrace.c (linux_read_btrace): Free trace from
3633 2014-01-15 Doug Evans <dje@google.com>
3635 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
3638 2014-01-15 Tom Tromey <tromey@redhat.com>
3640 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
3641 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
3642 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
3643 (set_objfile_main_name): New function.
3644 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
3645 language_of_main>: New fields.
3646 (set_objfile_main_name): Declare.
3647 * symtab.c (find_main_name): Loop over objfiles to find the main
3649 (set_main_name): Now static.
3650 (get_main_info): Add comment.
3651 * symtab.h (set_main_name): Don't declare.
3653 2014-01-15 Tom Tromey <tromey@redhat.com>
3655 * symtab.c (main_progspace_key): New global.
3656 (struct main_info): New.
3657 (name_of_main, language_of_main): Remove.
3658 (get_main_info, main_info_cleanup): New function.
3659 (set_main_name, main_name, main_language): Use get_main_info.
3660 (_initialize_symtab): Initialize main_progspace_key.
3662 2014-01-15 Tom Tromey <tromey@redhat.com>
3664 * dbxread.c (process_one_symbol): Update.
3665 * dwarf2read.c (read_partial_die): Update.
3666 * symfile.c (set_initial_language): Call main_language.
3667 * symtab.c (language_of_main): Now static.
3668 (set_main_name): Add 'lang' parameter.
3669 (find_main_name): Update.
3670 (main_language): New function.
3671 (symtab_observer_executable_changed): Update.
3672 * symtab.h (set_main_name): Update.
3673 (language_of_main): Remove.
3674 (main_language): Declare.
3676 2014-01-15 Tom Tromey <tromey@redhat.com>
3678 * symfile.c (init_entry_point_info): Use new "initialized" field.
3680 * objfiles.h (struct entry_point) <initialized>: New field.
3681 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
3682 (struct objfile) <ei>: ...here. Remove.
3683 * objfiles.c (entry_point_address_query): Update.
3685 2014-01-15 Tom Tromey <tromey@redhat.com>
3687 * objfiles.c (entry_point_address_query): Relocate entry point
3689 (objfile_relocate1): Do not relocate entry point address.
3690 * objfiles.h (struct entry_info) <entry_point>: Update comment.
3691 <the_bfd_section_index>: New field.
3692 * symfile.c (init_entry_point_info): Find the entry point's
3695 2014-01-15 Tom Tromey <tromey@redhat.com>
3697 * solib-frv.c (enable_break): Use entry_point_address_query.
3699 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3701 * NEWS: Add note on improved process record-replay on
3702 arm*-linux* targets.
3704 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3706 * arm-tdep.c (enum arm_record_result): New enum.
3707 (arm_record_unsupported_insn): New function.
3708 (arm_record_coproc_data_proc): Removed.
3709 (thumb2_record_ld_st_multiple): New function.
3710 (thumb2_record_ld_st_dual_ex_tbb): New function.
3711 (thumb2_record_data_proc_sreg_mimm): New function.
3712 (thumb2_record_ps_dest_generic): New function.
3713 (thumb2_record_branch_misc_cntrl): New function.
3714 (thumb2_record_str_single_data): New function.
3715 (thumb2_record_ld_mem_hints): New function.
3716 (thumb2_record_ld_word): New function.
3717 (thumb2_record_lmul_lmla_div): New function.
3718 (thumb2_record_decode_insn_handler): New function.
3719 (decode_insn): Add thumb32 instruction handlers.
3721 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3723 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
3724 (struct arm_linux_record_tdep): Declare.
3725 (arm_canonicalize_syscall): New function.
3726 (arm_all_but_pc_registers_record): New function.
3727 (arm_linux_syscall_record): New function.
3728 (arm_linux_init_abi): Add syscall recording constructs.
3729 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
3730 decoding. (arm_record_coproc_data_proc): Update arm syscall
3732 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
3733 <arm_syscall_record>: New field.
3734 * configure.tgt (arm*-*-linux*): Add linux-record.o to
3737 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3739 * arm-tdep.c (thumb_record_misc): Update to use sp as base
3740 register for push instruction recording.
3742 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3744 * arm-tdep.c (thumb_record_misc): Update to correct logical
3745 error while recording ldm, ldmia and pop instructions.
3747 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3749 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
3751 2014-01-15 Pedro Alves <palves@redhat.com>
3753 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
3754 (go32_resume, go32_fetch_registers, store_register)
3755 (go32_store_registers, go32_prepare_to_store)
3756 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
3757 (go32_create_inferior, go32_can_run, go32_terminal_init)
3758 (go32_terminal_inferior, go32_terminal_ours): Delete forward
3761 2014-01-15 Tom Tromey <tromey@redhat.com>
3763 * target.h (async_callback_ftype): New typedef.
3764 (struct target_ops) <to_async>: Use it.
3766 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3768 * python/py-value.c (get_field_type): Remove unnecessary curly
3769 braces for single-statement if block.
3771 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3773 * python/py-type.c (convert_field): Add missing empty line
3776 2014-01-14 Doug Evans <dje@google.com>
3778 * symfile.h (expand_symtabs_matching): Renamed from
3779 expand_partial_symbol_names. Update prototype.
3780 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3781 * symfile.c (expand_symtabs_matching): Renamed from
3782 expand_partial_symbol_names. New args file_matcher, kind.
3783 Rename arg fun to symbol_matcher.
3784 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3785 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
3786 ada_expand_partial_symbol_name.
3787 (ada_make_symbol_completion_list): Update to call
3788 expand_symtabs_matching.
3789 (ada_add_global_exceptions): Call expand_symtabs_matching.
3790 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
3791 call map_symbol_filenames.
3792 * symtab.c (sources_info): Update to call map_symbol_filenames.
3793 (search_symbols): Call expand_symtabs_matching.
3794 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
3795 (default_make_symbol_completion_list_break_on): Update to call
3796 expand_symtabs_matching.
3797 (make_source_files_completion_list): Update to call
3798 map_symbol_filenames.
3800 2014-01-14 Doug Evans <dje@google.com>
3802 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
3803 (expand_symtabs_symbol_matcher_ftype): New typedef.
3804 (quick_symbol_functions.expand_symtabs_matching): Update to use.
3805 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3806 * symfile.c (expand_partial_symbol_names): Update to use
3807 expand_symtabs_symbol_matcher_ftype.
3808 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
3809 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3810 Arg name_matcher renamed to symbol_matcher.
3811 * psymtab.c (recursively_search_psymtabs): Update to use
3812 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
3814 (expand_symtabs_matching_via_partial): Update to use
3815 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3816 Arg name_matcher renamed to symbol_matcher.
3818 2014-01-14 Doug Evans <dje@google.com>
3820 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
3821 (map_partial_symbol_filenames): Ditto.
3822 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
3823 (map_partial_symbol_filenames): Ditto.
3824 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
3825 (map_partial_symbol_filenames): Ditto.
3826 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
3827 (map_partial_symbol_filenames): Ditto.
3828 * symtab.c: Delete #include "psymtab.h".
3830 2014-01-14 Pedro Alves <palves@redhat.com>
3831 Tom Tromey <tromey@redhat.com>
3833 * infrun.c (use_displaced_stepping): Use find_record_target
3834 instead of RECORD_IS_USED.
3835 (adjust_pc_after_break): Use record_full_is_used instead of
3837 * record-btrace.c (record_btrace_open): Call record_preopen
3838 instead of checking RECORD_IS_USED.
3839 * record-full.c (record_full_shortname)
3840 (record_full_core_shortname): New globals.
3841 (record_full_is_used): New function.
3842 (find_full_open): Call record_preopen instead of checking
3844 (init_record_full_ops): Set the target's shortname to
3845 record_full_shortname.
3846 (init_record_full_core_ops): Set the target's shortname to
3847 record_full_core_shortname.
3848 * record-full.h (record_full_is_used): Declare.
3849 * record.c (find_record_target): Make extern.
3850 (record_preopen): New function.
3851 * record.h (RECORD_IS_USED): Delete macro.
3852 (find_record_target, record_preopen): Declare functions.
3854 2014-01-14 Yao Qi <yao@codesourcery.com>
3856 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
3857 'len''s type to ULONGEST.
3858 (core_xfer_shared_libraries_aix): Likewise.
3859 * gdbarch.c, gdbarch.h: Regenerated.
3860 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
3861 Change type of 'len' to ULONGEST.
3862 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3863 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
3865 2014-01-14 Yao Qi <yao@codesourcery.com>
3867 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
3868 type of 'len' to ULONGEST.
3869 (linux_xfer_osdata_processgroups): Likewise.
3870 (linux_xfer_osdata_threads): Likewise.
3871 (linux_xfer_osdata_fds): Likewise.
3872 (linux_xfer_osdata_isockets): Likewise.
3873 (linux_xfer_osdata_shm): Likewise.
3874 (linux_xfer_osdata_sem): Likewise.
3875 (linux_xfer_osdata_msg): Likewise.
3876 (linux_common_xfer_osdata): Likewise.
3877 (struct osdata_type) <getter>: Likewise.
3878 * common/linux-osdata.h (linux_common_xfer_osdata): Update
3881 2014-01-14 Yao Qi <yao@codesourcery.com>
3883 * target.h (target_xfer_partial_ftype): Update.
3884 (struct target_ops) <to_xfer_partial>: Change 'len' type to
3886 * aix-thread.c (aix_thread_xfer_partial): Change type of
3887 argument 'len' to ULONGEST.
3888 * auxv.c (procfs_xfer_auxv): Likewise.
3889 (ld_so_xfer_auxv): Likewise.
3890 (memory_xfer_auxv): Likewise.
3891 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3892 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3893 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
3894 * corelow.c (core_xfer_partial): Likewise.
3895 * ctf.c (ctf_xfer_partial): Likewise.
3896 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
3898 (darwin_read_dyld_info): Likewise.
3899 (darwin_xfer_partial): Likewise.
3900 * exec.c (section_table_xfer_memory_partial): Likewise.
3901 (exec_xfer_partial): Likewise.
3902 * exec.h (section_table_xfer_memory_partial): Update
3904 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
3905 instead of plongest.
3906 (gnu_xfer_partial): Likewise.
3907 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
3908 (ia64_hpux_xfer_solib_got): Likewise.
3909 (ia64_hpux_xfer_partial): Likewise.
3910 * ia64-linux-nat.c (ia64_linux_xfer_partial):
3911 * inf-ptrace.c (inf_ptrace_xfer_partial):
3912 * inf-ttrace.c (inf_ttrace_xfer_partial):
3913 * linux-nat.c (linux_xfer_siginfo): Likewise.
3914 (linux_nat_xfer_partial): Likewise.
3915 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
3916 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
3917 * monitor.c (monitor_xfer_memory): Likewise.
3918 (monitor_xfer_partial): Likewise.
3919 * procfs.c (procfs_xfer_partial): Likewise.
3920 * record-full.c (record_full_xfer_partial): Likewise.
3921 (record_full_core_xfer_partial): Likewise.
3922 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
3923 instead of plongest.
3924 (gdbsim_xfer_partial): Likewise.
3925 * remote.c (remote_xfer_partial): Likewise.
3926 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3927 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3929 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3930 (rs6000_xfer_shared_libraries): Likewise.
3931 * sol-thread.c (sol_thread_xfer_partial): Likewise.
3932 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3933 (sparc_xfer_partial): Likewise.
3934 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3935 (spu_xfer_partial): Likewise.
3936 * spu-multiarch.c (spu_xfer_partial): Likewise.
3937 * target.c (target_read_live_memory): Likewise.
3938 (memory_xfer_live_readonly_partial): Likewise.
3939 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
3940 (target_xfer_partial, default_xfer_partial): Likewise.
3941 (current_xfer_partial): Likewise.
3942 * tracepoint.c (tfile_xfer_partial): Likewise.
3943 * windows-nat.c (windows_xfer_memory): Likewise. Call
3944 pulongest instead of plongest.
3945 (windows_xfer_partial): Likewise.
3946 (windows_xfer_shared_libraries): Likewise.
3948 2014-01-14 Yao Qi <yao@codesourcery.com>
3950 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
3951 target_xfer_partial_ftype.
3953 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3957 * valops.c (value_struct_elt_bitpos): New function
3958 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
3959 object to 'None' if the field name is an empty string ("").
3960 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
3961 attribute to look for a field when 'name' is 'None'.
3962 (get_field_type): New function
3964 2014-01-13 Doug Evans <dje@google.com>
3967 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
3968 (try_open_dwop_file): Ditto.
3969 * gdb_bfd.c: #include "vec.h".
3970 (bfdp): New typedef.
3971 (struct gdb_bfd_data): New member included_bfds.
3972 (gdb_bfd_unref): Unref all included bfds.
3973 (gdb_bfd_record_inclusion): New function.
3974 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
3976 2014-01-13 Tom Tromey <tromey@redhat.com>
3978 * gdbcore.h (deprecated_core_resize_section_table): Remove.
3980 2014-01-13 Tom Tromey <tromey@redhat.com>
3982 * defs.h (use_windows): Remove.
3983 * gdb.c (main): Update.
3984 * main.c (captured_main, gdb_main): Update.
3985 * main.h (struct captured_main_args) <use_windows>: Remove.
3986 * top.c (use_windows): Remove.
3988 2014-01-13 Tom Tromey <tromey@redhat.com>
3990 * defs.h (deprecated_flush_hook): Remove.
3992 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3995 * linux-thread-db.c (try_thread_db_load): Add parameter
3996 check_auto_load_safe. Move here the file_is_auto_load_safe call.
3997 (try_thread_db_load_from_pdir_1): Move it there from here.
3998 (try_thread_db_load_from_sdir): Update caller.
3999 (try_thread_db_load_from_dir): Move it there from here.
4001 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
4003 * regformats/regdat.sh: Always rewrite the register file.
4005 2014-01-13 Pedro Alves <palves@redhat.com>
4007 * Makefile.in (CHECK_HEADERS): New variable.
4008 (check-headers:): New rule.
4010 2014-01-13 Tom Tromey <tromey@redhat.com>
4012 * cli/cli-setshow.c (do_set_command): Update.
4013 * defs.h (deprecated_set_hook): Remove.
4014 * top.c (deprecated_set_hook): Remove.
4016 2014-01-13 Pedro Alves <palves@redhat.com>
4018 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
4019 the tracepoint if the PC is a pseudo-register.
4021 2014-01-13 Tom Tromey <tromey@redhat.com>
4023 * defs.h (XCALLOC): Remove.
4024 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
4025 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
4026 * dwarf2loc.c (allocate_piece_closure): Likewise.
4027 * elfread.c (elf_symfile_segments): Likewise.
4028 (elf_symfile_segments): Likewise.
4029 * gdbtypes.c (copy_type_recursive): Likewise.
4030 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
4031 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
4032 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
4034 * mt-tdep.c (mt_gdbarch_init): Likewise.
4035 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
4037 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
4038 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
4039 * registry.c (registry_alloc_data): Likewise.
4040 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
4041 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
4042 * serial.c (serial_fdopen_ops): Likewise.
4043 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
4045 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
4046 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
4049 2014-01-13 Tom Tromey <tromey@redhat.com>
4051 * defs.h (XMALLOC): Remove.
4052 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
4053 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
4054 * cli-out.c (struct ui_out *): Likewise.
4055 * cli/cli-dump.c (add_dump_command): Likewise.
4056 (add_dump_command): Likewise.
4057 * complaints.c (get_complaints): Likewise.
4058 (find_complaint): Likewise.
4059 * dwarf2-frame.c (execute_cfa_program): Likewise.
4060 * dwarf2read.c (abbrev_table_read_table): Likewise.
4061 * gdbarch.sh: Likewise.
4062 * gdbarch.c: Rebuild.
4063 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
4064 * interps.c (interp_new): Likewise.
4065 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
4066 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
4067 * mi/mi-console.c (mi_console_file_new): Likewise.
4068 * mi/mi-interp.c (mi_interpreter_init): Likewise.
4069 * mi/mi-out.c (mi_out_new): Likewise.
4070 * mi/mi-parse.c (mi_parse): Likewise.
4071 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
4072 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
4073 * observer.c (xalloc_observer_list_node): Likewise.
4074 * regcache.c (regcache_xmalloc_1): Likewise.
4075 * reggroups.c (reggroup_new): Likewise.
4076 (_initialize_reggroup): Likewise.
4077 * registry.c (register_data_with_cleanup): Likewise.
4078 * remote.c (remote_notif_stop_alloc_reply): Likewise.
4079 * ser-base.c (serial_ttystate): Likewise.
4080 * ser-mingw.c (make_pipe_state): Likewise.
4081 * ser-pipe.c (pipe_open): Likewise.
4082 * serial.c (serial_open): Likewise.
4083 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
4084 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
4085 (tui_alloc_win_info): Likewise.
4086 (tui_add_content_elements): Likewise.
4087 * tui/tui-file.c (tui_file_new): Likewise.
4088 * tui/tui-out.c (tui_out_new): Likewise.
4089 * ui-file.c (mem_file_new): Likewise.
4090 * ui-out.c (push_level): Likewise.
4091 (make_cleanup_ui_out_end): Likewise.
4092 (append_header_to_list): Likewise.
4093 (ui_out_new): Likewise.
4094 * user-regs.c (user_reg_add_builtin): Likewise.
4096 2014-01-13 Tom Tromey <tromey@redhat.com>
4098 * defs.h (XZALLOC): Remove.
4099 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
4100 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
4101 (get_ada_tasks_inferior_data): Likewise.
4102 * auto-load.c (get_auto_load_pspace_data): Likewise.
4103 * auxv.c (get_auxv_inferior_data): Likewise.
4104 * bfd-target.c (target_bfd_reopen): Likewise.
4105 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
4106 (deprecated_insert_raw_breakpoint): Likewise.
4107 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
4108 * corelow.c (core_open): Likewise.
4109 * darwin-nat.c (darwin_check_new_threads): Likewise.
4110 (darwin_attach_pid): Likewise.
4111 * dummy-frame.c (dummy_frame_push): Likewise.
4112 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
4113 * dwarf2loc.c (allocate_piece_closure): Likewise.
4114 * elfread.c (elf_symfile_segments): Likewise.
4115 * eval.c (ptrmath_type_p): Likewise.
4116 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
4117 * gdbtypes.c (alloc_type_arch): Likewise.
4118 (alloc_type_instance): Likewise.
4119 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
4120 * inf-child.c (inf_child_can_use_agent): Likewise.
4121 * inflow.c (get_inflow_inferior_data): Likewise.
4122 * infrun.c (save_infcall_suspend_state): Likewise.
4123 * jit.c (jit_reader_load): Likewise.
4124 (get_jit_objfile_data): Likewise.
4125 (get_jit_program_space_data): Likewise.
4126 (jit_object_open_impl): Likewise.
4127 (jit_symtab_open_impl): Likewise.
4128 (jit_block_open_impl): Likewise.
4129 (jit_frame_sniffer): Likewise.
4130 * linux-fork.c (add_fork): Likewise.
4131 * maint.c (make_command_stats_cleanup): Likewise.
4132 * objfiles.c (get_objfile_pspace_data): Likewise.
4133 * opencl-lang.c (struct lval_closure): Likewise.
4134 * osdata.c (osdata_start_osdata): Likewise.
4135 * progspace.c (new_address_space): Likewise.
4136 (add_program_space): Likewise.
4137 * remote-sim.c (get_sim_inferior_data): Likewise.
4138 * sh-tdep.c (sh_gdbarch_init): Likewise.
4139 * skip.c (Ignore): Likewise.
4140 (skip_delete_command): Likewise.
4141 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4142 (library_list_start_library): Likewise.
4143 (solib_aix_current_sos): Likewise.
4144 * solib-darwin.c (get_darwin_info): Likewise.
4145 (darwin_current_sos): Likewise.
4146 * solib-dsbt.c (get_dsbt_info): Likewise.
4147 * solib-ia64-hpux.c (new_so_list): Likewise.
4148 (ia64_hpux_get_solib_linkage_addr): Likewise.
4149 * solib-spu.c (append_ocl_sos): Likewise.
4150 (spu_current_sos): Likewise.
4151 * solib-svr4.c (get_svr4_info): Likewise.
4152 (svr4_keep_data_in_core): Likewise.
4153 (library_list_start_library): Likewise.
4154 (svr4_default_sos): Likewise.
4155 (svr4_read_so_list): Likewise.
4156 * solib-target.c (library_list_start_library): Likewise.
4157 (solib_target_current_sos): Likewise.
4158 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4159 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4160 * symfile.c (default_symfile_segments): Likewise.
4161 * target-descriptions.c (tdesc_data_init): Likewise.
4162 (tdesc_create_reg): Likewise.
4163 (struct tdesc_type *): Likewise.
4164 (tdesc_create_vector): Likewise.
4165 (tdesc_set_struct_size): Likewise.
4166 (struct tdesc_type *): Likewise.
4167 (tdesc_free_feature): Likewise.
4168 (tdesc_create_feature): Likewise.
4169 * windows-nat.c (windows_add_thread): Likewise.
4170 (windows_make_so): Likewise.
4171 * xml-support.c (gdb_xml_body_text): Likewise.
4172 (gdb_xml_create_parser_and_cleanup): Likewise.
4173 (xml_process_xincludes): Likewise.
4174 * xml-syscall.c (allocate_syscalls_info): Likewise.
4175 (syscall_create_syscall_desc): Likewise.
4177 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4179 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4180 function, with code from i386_stap_parse_special_token.
4181 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4182 (i386_stap_parse_special_token): Move code to the two functions
4185 2014-01-09 Pedro Alves <palves@redhat.com>
4186 Hui Zhu <hui@codesourcery.com>
4189 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4190 bp_err_string. Don't mark the location shlib_disabled if the
4191 error thrown wasn't a generic or memory error. Catch errors
4192 thrown while inserting breakpoints in overlayed code. Output
4193 error message of software breakpoints.
4194 * remote.c (remote_insert_breakpoint): If this breakpoint has
4195 target-side commands but this stub doesn't support Z0 packets,
4196 throw NOT_SUPPORTED_ERROR error.
4197 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4198 * target.h (target_insert_breakpoint): Extend comment.
4199 (target_insert_hw_breakpoint): Add comment.
4201 2014-01-08 Pedro Alves <palves@redhat.com>
4203 * remote.c (remote_add_thread): Add threads silently if starting
4205 (remote_notice_new_inferior): If in all-stop, and starting up,
4206 don't call notice_new_inferior.
4207 (get_current_thread): New function, factored out from ...
4208 (add_current_inferior_and_thread): ... this. Adjust.
4209 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4210 found any thread, then select the remote's current thread as GDB's
4213 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4215 * NEWS: Create a new section for the next release branch.
4216 Rename the section of the current branch, now that it has
4219 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4221 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4222 * version.in: Bump version to 7.7.50.DATE-cvs.
4224 2014-01-08 Yao Qi <yao@codesourcery.com>
4226 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4227 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4228 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4230 2014-01-08 Yao Qi <yao@codesourcery.com>
4232 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4233 return value of bfd_get_filename to symbol_file_add_from_bfd.
4235 2014-01-08 Pierre Muller <muller@sourceware.org>
4238 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4239 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4240 to prim_record_mininal_symbol_and_info.
4241 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4242 in call to prim_record_minimal_symbol_and_info.
4243 (read_pe_exported_syms): Set index field of section_data.
4245 2014-01-07 Andrew Pinski <apinski@cavium.com>
4247 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4248 * features/aarch64.c: Regenerate.
4250 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4252 * target.c (return_null): Define.
4253 (update_current_target): Use it instead of return_zero for
4254 functions that return a pointer.
4256 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4258 * source.c (add_path): Fix check for duplicated paths in the previously
4261 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4263 * ada-lang.c: Remove duplicated include statements.
4264 * alphabsd-nat.c: Ditto.
4265 * amd64-darwin-tdep.c: Ditto.
4266 * amd64fbsd-nat.c: Ditto.
4267 * auto-load.c: Ditto.
4269 * breakpoint.c: Ditto.
4271 * fork-child.c: Ditto.
4272 * gdb_usleep.c: Ditto.
4273 * i386-darwin-tdep.c: Ditto.
4274 * i386fbsd-nat.c: Ditto.
4276 * inferior.c: Ditto.
4278 * linux-nat.c: Ditto.
4279 * linux-tdep.c: Ditto.
4280 * m68kbsd-nat.c: Ditto.
4281 * m68klinux-nat.c: Ditto.
4282 * microblaze-tdep.c: Ditto.
4283 * mips-linux-tdep.c: Ditto.
4284 * mn10300-tdep.c: Ditto.
4285 * nto-tdep.c: Ditto.
4286 * opencl-lang.c: Ditto.
4288 * printcmd.c: Ditto.
4289 * regcache.c: Ditto.
4290 * remote-m32r-sdi.c: Ditto.
4294 * tilegx-linux-nat.c: Ditto.
4295 * tilegx-tdep.c: Ditto.
4296 * tracepoint.c: Ditto.
4298 * vaxbsd-nat.c: Ditto.
4299 * windows-nat.c: Ditto.
4300 * xtensa-tdep.c: Ditto.
4302 2014-01-07 Yao Qi <yao@codesourcery.com>
4304 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4306 2014-01-07 Yao Qi <yao@codesourcery.com>
4307 Joel Brobecker <brobecker@adacore.com>
4309 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4310 (pdc_write_regs): Likewise.
4311 (fetch_regs_kernel_thread): Likewise.
4312 (store_regs_kernel_thread): Likewise.
4314 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4316 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4317 tagged type objects to their actual type.
4319 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4321 * ada-valprint.c (print_field_values): Add "language" parameter.
4322 Update calls to print_field_values and print_variant_part.
4323 Pass new parameter "language" in call to val_print instead
4324 of "current_language". Replace call to ada_val_print by call
4326 (print_variant_part): Add "language" parameter.
4327 (ada_val_print_struct_union): Update call to print_field_values.
4329 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4331 * ada-valprint.c (ui_memcpy): Delete.
4332 (ada_print_floating): Update documentation. Add empty line
4333 between between function documentation and implementation.
4334 Delete variable "buffer". Use ui_file_xstrdup in place of
4335 ui_file_put. Minor adjustments following this change.
4337 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4339 * ada-valprint.c (ada_val_print_string): New function,
4340 extracted from ada_val_print_array.
4341 (ada_val_print_array): Replace extracted code by call
4342 to ada_val_print_string followed by a return. Move
4343 "else" branch to the function's top block.
4345 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4347 * ada-valprint.c (ada_val_print_array): Move implementation
4348 down. Rename parameter "offset" and "val" into "offset_aligned"
4349 and "original_value" respectively. Add parameter "offset".
4351 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4353 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4354 re-organizing the code. Change the "???" message printed
4355 when target type is a TYPE_CODE_UNDEF into
4356 "<ref to undefined type>".
4358 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4360 * ada-valprint.c (print_record): Delete, implementation inlined...
4361 (ada_val_print_struct_union): ... here. Remove call to
4362 ada_check_typedef in inlined implementation.
4364 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4366 * ada-valprint.c (ada_val_print_gnat_array): New function,
4367 extracted from ada_val_print_1;
4368 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4369 (ada_val_print_flt, ada_val_print_struct_union)
4370 (ada_val_print_ref): Likewise.
4371 (ada_val_print_1): Delete variables i and elttype.
4372 Replace extracted-out code by call to corresponding
4375 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4377 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4379 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4381 * ada-valprint.c (ada_val_print_1): Replace calls to
4382 ada_val_print_1 by calls to val_print.
4384 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4386 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4387 Update calls to self accordingly. Replace calls to c_val_print
4388 by calls to val_print.
4390 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4392 * ada-valprint.c (print_record): Delete declaration.
4393 (adjust_type_signedness, ada_val_print_1): Likewise.
4394 (ada_val_print): Move function implementation down.
4395 (print_variant_part, print_field_values, print_record):
4396 Move function implementation up.
4398 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4400 * python/py-type.c (typy_get_name): New function.
4401 (type_object_getset): Add entry for attribute "name".
4402 * NEWS: Add entry mentioning this new attribute.
4404 2014-01-07 Yao Qi <yao@codesourcery.com>
4406 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
4409 2014-01-07 Yao Qi <yao@codesourcery.com>
4411 * gnu-nat.c (info_port_rights): Add qualifier const to
4414 2014-01-07 Yao Qi <yao@codesourcery.com>
4416 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
4418 2014-01-07 Yao Qi <yao@codesourcery.com>
4420 * gnu-nat.c (make_inf) Update declaration.
4421 (make_inf): Make it static.
4422 (inf_set_traced): Likewise.
4423 (inf_port_to_thread, inf_task_died_status): Likewise.
4425 2014-01-07 Yao Qi <yao@codesourcery.com>
4427 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
4429 2014-01-07 Yao Qi <yao@codesourcery.com>
4431 * gnu-nat.c (_initialize_gnu_nat): Declare.
4433 2014-01-07 Yao Qi <yao@codesourcery.com>
4435 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
4437 (struct gdbarch_info) <byte_order>: Change type to
4439 <byte_order_for_code>: Likewise.
4440 * gdbarch.c, gdbarch.h: Regenerated.
4442 2014-01-06 Sasha Smundak <asmundak@google.com>
4444 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
4446 2014-01-06 Tom Tromey <tromey@redhat.com>
4448 * doublest.c (convert_doublest_to_floatformat): Use const, not
4450 * somread.c (som_symtab_read): Likewise.
4452 2014-01-07 Hui Zhu <hui@codesourcery.com>
4454 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
4455 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
4456 (gdb_bfd_fopen): Ditto.
4457 (gdb_bfd_openr): Ditto.
4458 (gdb_bfd_openw): Ditto.
4459 (gdb_bfd_openr_iovec): Ditto.
4460 (gdb_bfd_fdopenr): Ditto.
4461 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
4462 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
4464 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
4466 * symfile-mem.c (symbol_file_add_from_memory): Removed
4467 gdb_bfd_stash_filename.
4469 2014-01-03 Doug Evans <dje@google.com>
4471 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
4474 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4476 Update year range in copyright notice of all files.
4478 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4480 * top.c (print_gdb_version): Set copyright year to 2014.
4482 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4484 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
4486 For older changes see ChangeLog-2013.
4492 version-control: never