1 2014-02-19 Tom Tromey <tromey@redhat.com>
3 * target-delegates.c: Rebuild.
4 * target.c (target_insert_mask_watchpoint): Unconditionally
6 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
9 2014-02-19 Tom Tromey <tromey@redhat.com>
11 * target-delegates.c: Rebuild.
12 * target.c (target_ranged_break_num_registers): Unconditionally
14 * target.h (struct target_ops) <to_ranged_break_num_registers>:
15 Use TARGET_DEFAULT_RETURN.
17 2014-02-19 Tom Tromey <tromey@redhat.com>
19 * target-delegates.c: Rebuild.
20 * target.c (target_fetch_registers): Unconditionally delegate.
21 * target.h (struct target_ops) <to_fetch_registers>: Use
22 TARGET_DEFAULT_NORETURN.
24 2014-02-19 Tom Tromey <tromey@redhat.com>
26 * target-delegates.c: Rebuild.
27 * target.c (update_current_target): Don't inherit or default
29 * target.h (struct target_ops) <to_stop>: Use
30 TARGET_DEFAULT_IGNORE.
32 2014-02-19 Tom Tromey <tromey@redhat.com>
34 * target-delegates.c: Rebuild.
35 * target.c (update_current_target): Don't inherit or default
36 to_can_run_breakpoint_commands.
37 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
38 Use TARGET_DEFAULT_RETURN.
40 2014-02-19 Tom Tromey <tromey@redhat.com>
42 * target-delegates.c: Rebuild.
43 * target.c (update_current_target): Don't inherit or default
44 to_supports_evaluation_of_breakpoint_conditions.
45 * target.h (struct target_ops)
46 <to_supports_evaluation_of_breakpoint_conditions>: Use
47 TARGET_DEFAULT_RETURN.
49 2014-02-19 Tom Tromey <tromey@redhat.com>
51 * target-delegates.c: Rebuild.
52 * target.c (update_current_target): Don't inherit or default
53 to_augmented_libraries_svr4_read.
54 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
55 Use TARGET_DEFAULT_RETURN.
57 2014-02-19 Tom Tromey <tromey@redhat.com>
59 * target-delegates.c: Rebuild.
60 * target.c (update_current_target): Don't inherit or default
62 * target.h (struct target_ops) <to_can_use_agent>: Use
63 TARGET_DEFAULT_RETURN.
65 2014-02-19 Tom Tromey <tromey@redhat.com>
67 * target-delegates.c: Rebuild.
68 * target.c (update_current_target): Don't inherit or default
70 * target.h (struct target_ops) <to_use_agent>: Use
71 TARGET_DEFAULT_NORETURN.
73 2014-02-19 Tom Tromey <tromey@redhat.com>
75 * target-delegates.c: Rebuild.
76 * target.c (update_current_target): Don't inherit or default
78 (return_null): Remove.
79 * target.h (struct target_ops) <to_traceframe_info>: Use
80 TARGET_DEFAULT_RETURN.
82 2014-02-19 Tom Tromey <tromey@redhat.com>
84 * target-delegates.c: Rebuild.
85 * target.c (update_current_target): Don't inherit or default
86 to_static_tracepoint_markers_by_strid.
87 * target.h (struct target_ops)
88 <to_static_tracepoint_markers_by_strid>: Use
89 TARGET_DEFAULT_NORETURN.
91 2014-02-19 Tom Tromey <tromey@redhat.com>
93 * target-delegates.c: Rebuild.
94 * target.c (update_current_target): Don't inherit or default
95 to_static_tracepoint_marker_at.
96 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
97 Use TARGET_DEFAULT_RETURN.
99 2014-02-19 Tom Tromey <tromey@redhat.com>
101 * target-delegates.c: Rebuild.
102 * target.c (update_current_target): Don't inherit or default
104 * target.h (struct target_ops) <to_set_permissions>: Use
105 TARGET_DEFAULT_IGNORE.
107 2014-02-19 Tom Tromey <tromey@redhat.com>
109 * target-delegates.c: Rebuild.
110 * target.c (update_current_target): Don't inherit or default
112 * target.h (struct target_ops) <to_get_tib_address>: Use
113 TARGET_DEFAULT_NORETURN.
115 2014-02-19 Tom Tromey <tromey@redhat.com>
117 * target-delegates.c: Rebuild.
118 * target.c (update_current_target): Don't inherit or default
120 * target.h (struct target_ops) <to_set_trace_notes>: Use
121 TARGET_DEFAULT_RETURN.
123 2014-02-19 Tom Tromey <tromey@redhat.com>
125 * target-delegates.c: Rebuild.
126 * target.c (update_current_target): Don't initialize
127 to_set_trace_buffer_size.
128 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
129 TARGET_DEFAULT_IGNORE.
131 2014-02-19 Tom Tromey <tromey@redhat.com>
133 * target-delegates.c: Rebuild.
134 * target.c (update_current_target): Don't inherit or default
135 to_set_circular_trace_buffer.
136 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
137 TARGET_DEFAULT_IGNORE.
139 2014-02-19 Tom Tromey <tromey@redhat.com>
141 * target-delegates.c: Rebuild.
142 * target.c (update_current_target): Don't inherit or default
143 to_set_disconnected_tracing.
144 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
145 TARGET_DEFAULT_IGNORE.
147 2014-02-19 Tom Tromey <tromey@redhat.com>
149 * target-delegates.c: Rebuild.
150 * target.c (update_current_target): Don't inherit or default
151 to_get_min_fast_tracepoint_insn_len.
152 (return_minus_one): Remove.
153 * target.h (struct target_ops)
154 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
156 2014-02-19 Tom Tromey <tromey@redhat.com>
158 * target-delegates.c: Rebuild.
159 * target.c (update_current_target): Don't inherit or default
160 to_get_raw_trace_data.
161 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
162 TARGET_DEFAULT_NORETURN.
164 2014-02-19 Tom Tromey <tromey@redhat.com>
166 * target-delegates.c: Rebuild.
167 * target.c (update_current_target): Don't inherit or default
168 to_upload_trace_state_variables.
169 * target.h (struct target_ops) <to_upload_trace_state_variables>:
170 Use TARGET_DEFAULT_RETURN.
172 2014-02-19 Tom Tromey <tromey@redhat.com>
174 * target-delegates.c: Rebuild.
175 * target.c (update_current_target): Don't inherit or default
176 to_upload_tracepoints.
177 * target.h (struct target_ops) <to_upload_tracepoints>: Use
178 TARGET_DEFAULT_RETURN.
180 2014-02-19 Tom Tromey <tromey@redhat.com>
182 * target-delegates.c: Rebuild.
183 * target.c (update_current_target): Don't inherit or default
185 * target.h (struct target_ops) <to_save_trace_data>: Use
186 TARGET_DEFAULT_NORETURN.
188 2014-02-19 Tom Tromey <tromey@redhat.com>
190 * target-delegates.c: Rebuild.
191 * target.c (update_current_target): Don't inherit or default
192 to_get_trace_state_variable_value.
193 * target.h (struct target_ops)
194 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
196 2014-02-19 Tom Tromey <tromey@redhat.com>
198 * target-delegates.c: Rebuild.
199 * target.c (update_current_target): Don't inherit or default
201 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
203 2014-02-19 Tom Tromey <tromey@redhat.com>
205 * target-delegates.c: Rebuild.
206 * target.c (update_current_target): Don't inherit or default
208 * target.h (struct target_ops) <to_trace_stop>: Use
209 TARGET_DEFAULT_NORETURN.
211 2014-02-19 Tom Tromey <tromey@redhat.com>
213 * target-delegates.c: Rebuild.
214 * target.c (update_current_target): Don't inherit or default
215 to_get_tracepoint_status.
216 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
217 TARGET_DEFAULT_NORETURN.
219 2014-02-19 Tom Tromey <tromey@redhat.com>
221 * target-delegates.c: Rebuild.
222 * target.c (update_current_target): Don't inherit or default
224 * target.h (struct target_ops) <to_get_trace_status>: Use
225 TARGET_DEFAULT_RETURN.
227 2014-02-19 Tom Tromey <tromey@redhat.com>
229 * target-delegates.c: Rebuild.
230 * target.c (update_current_target): Don't inherit or default
232 * target.h (struct target_ops) <to_trace_start>: Use
233 TARGET_DEFAULT_NORETURN.
235 2014-02-19 Tom Tromey <tromey@redhat.com>
237 * target-delegates.c: Rebuild.
238 * target.c (update_current_target): Don't inherit or default
239 to_trace_set_readonly_regions.
240 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
241 Use TARGET_DEFAULT_NORETURN.
243 2014-02-19 Tom Tromey <tromey@redhat.com>
245 * target-delegates.c: Rebuild.
246 * target.c (update_current_target): Don't inherit or default
247 to_disable_tracepoint.
248 * target.h (struct target_ops) <to_disable_tracepoint>: Use
249 TARGET_DEFAULT_NORETURN.
251 2014-02-19 Tom Tromey <tromey@redhat.com>
253 * target-delegates.c: Rebuild.
254 * target.c (update_current_target): Don't inherit or default
255 to_enable_tracepoint.
256 * target.h (struct target_ops) <to_enable_tracepoint>: Use
257 TARGET_DEFAULT_NORETURN.
259 2014-02-19 Tom Tromey <tromey@redhat.com>
261 * target-delegates.c: Rebuild.
262 * target.c (update_current_target): Don't inherit or default
263 to_download_trace_state_variable.
264 * target.h (struct target_ops) <to_download_trace_state_variable>:
265 Use TARGET_DEFAULT_NORETURN.
267 2014-02-19 Tom Tromey <tromey@redhat.com>
269 * target-delegates.c: Rebuild.
270 * target.c (update_current_target): Don't inherit or default
271 to_can_download_tracepoint.
272 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
273 TARGET_DEFAULT_RETURN.
275 2014-02-19 Tom Tromey <tromey@redhat.com>
277 * target-delegates.c: Rebuild.
278 * target.c (update_current_target): Don't inherit or default
279 to_download_tracepoint.
280 * target.h (struct target_ops) <to_download_tracepoint>: Use
281 TARGET_DEFAULT_NORETURN.
283 2014-02-19 Tom Tromey <tromey@redhat.com>
285 * target-delegates.c: Rebuild.
286 * target.c (update_current_target): Don't inherit or default
288 * target.h (struct target_ops) <to_trace_init>: Use
289 TARGET_DEFAULT_RETURN.
291 2014-02-19 Tom Tromey <tromey@redhat.com>
293 * target-delegates.c: Rebuild.
294 * target.c (update_current_target): Don't inherit or default
295 to_supports_string_tracing.
296 * target.h (struct target_ops) <to_supports_string_tracing>: Use
297 TARGET_DEFAULT_RETURN.
299 2014-02-19 Tom Tromey <tromey@redhat.com>
301 * target-delegates.c: Rebuild.
302 * target.c (update_current_target): Don't inherit or default
303 to_supports_enable_disable_tracepoint.
304 * target.h (struct target_ops)
305 <to_supports_enable_disable_tracepoint>: Use
306 TARGET_DEFAULT_RETURN.
308 2014-02-19 Tom Tromey <tromey@redhat.com>
310 * target-delegates.c: Rebuild.
311 * target.c (update_current_target): Don't inherit or default
312 to_supports_multi_process.
313 * target.h (struct target_ops) <to_supports_multi_process>: Use
314 TARGET_DEFAULT_RETURN.
316 2014-02-19 Tom Tromey <tromey@redhat.com>
318 * target-delegates.c: Rebuild.
319 * target.c (update_current_target): Don't inherit or default
320 to_get_ada_task_ptid.
321 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
324 2014-02-19 Tom Tromey <tromey@redhat.com>
326 * target-delegates.c: Rebuild.
327 * target.c (update_current_target): Don't inherit or default
328 to_thread_architecture.
329 * target.h (struct target_ops) <to_thread_architecture>: Use
332 2014-02-19 Tom Tromey <tromey@redhat.com>
334 * target-delegates.c: Rebuild.
335 * target.c (update_current_target): Don't inherit or default
336 to_execution_direction.
337 * target.h (struct target_ops) <to_execution_direction>: Use
340 2014-02-19 Tom Tromey <tromey@redhat.com>
342 * target-delegates.c: Rebuild.
343 * target.c (update_current_target): Don't inherit or default
344 to_can_execute_reverse.
345 * target.h (struct target_ops) <to_can_execute_reverse>: Use
346 TARGET_DEFAULT_RETURN.
347 (target_can_execute_reverse): Unconditionally delegate.
349 2014-02-19 Tom Tromey <tromey@redhat.com>
351 * target-delegates.c: Rebuild.
352 * target.c (update_current_target): Don't inherit or default
354 (dummy_goto_bookmark): Remove.
355 (init_dummy_target): Don't inherit or default to_goto_bookmark.
356 * target.h (struct target_ops) <to_goto_bookmark>: Use
357 TARGET_DEFAULT_NORETURN.
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
364 (dummy_get_bookmark): Remove.
365 (init_dummy_target): Don't inherit or default to_get_bookmark.
366 * target.h (struct target_ops) <to_get_bookmark>: Use
367 TARGET_DEFAULT_NORETURN
369 2014-02-19 Tom Tromey <tromey@redhat.com>
371 * target-delegates.c: Rebuild.
372 * target.c (update_current_target): Don't inherit or default
373 to_make_corefile_notes.
374 (init_dummy_target): Don't initialize to_make_corefile_notes.
375 * target.h (struct target_ops) <to_make_corefile_notes>: Use
378 2014-02-19 Tom Tromey <tromey@redhat.com>
380 * target-delegates.c: Rebuild.
381 * target.c (update_current_target): Don't inherit or default
382 to_find_memory_regions.
383 (init_dummy_target): Don't initialize to_find_memory_regions.
384 * target.h (struct target_ops) <to_find_memory_regions>: Use
387 2014-02-19 Tom Tromey <tromey@redhat.com>
389 * target-delegates.c: Rebuild.
390 * target.c (update_current_target): Don't inherit or default
392 * target.h (struct target_ops) <to_log_command>: Use
393 TARGET_DEFAULT_IGNORE.
394 (target_log_command): Unconditionally delegate.
396 2014-02-19 Tom Tromey <tromey@redhat.com>
398 * target-delegates.c: Rebuild.
399 * target.c (update_current_target): Don't inherit or default
401 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
402 TARGET_DEFAULT_RETURN.
404 2014-02-19 Tom Tromey <tromey@redhat.com>
406 * target-delegates.c: Rebuild.
407 * target.c (update_current_target): Don't inherit or default
409 (target_thread_name): Unconditionally delegate.
410 * target.h (struct target_ops) <to_thread_name>: Use
411 TARGET_DEFAULT_RETURN.
413 2014-02-19 Tom Tromey <tromey@redhat.com>
415 * target-delegates.c: Rebuild.
416 * target.c (update_current_target): Don't inherit or default
417 to_extra_thread_info.
418 * target.h (struct target_ops) <to_extra_thread_info>: Use
419 TARGET_DEFAULT_RETURN.
421 2014-02-19 Tom Tromey <tromey@redhat.com>
423 * target-delegates.c: Rebuild.
424 * target.c (update_current_target): Don't inherit or default
426 * target.h (struct target_ops) <to_has_exited>: Use
427 TARGET_DEFAULT_RETURN..
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_set_syscall_catchpoint.
434 (return_one): Remove.
435 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
436 TARGET_DEFAULT_RETURN.
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_insert_exec_catchpoint.
443 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
444 TARGET_DEFAULT_RETURN.
446 2014-01-08 Tom Tromey <tromey@redhat.com>
448 * target-delegates.c: Rebuild.
449 * target.c (update_current_target): Don't inherit or default
450 to_insert_exec_catchpoint.
451 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
452 TARGET_DEFAULT_RETURN.
454 2014-02-19 Tom Tromey <tromey@redhat.com>
456 * target-delegates.c: Rebuild.
457 * target.c (update_current_target): Don't inherit or default
458 to_remove_vfork_catchpoint.
459 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
460 TARGET_DEFAULT_RETURN.
462 2014-02-19 Tom Tromey <tromey@redhat.com>
464 * target-delegates.c: Rebuild.
465 * target.c (update_current_target): Don't inherit or default
466 to_insert_vfork_catchpoint.
467 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
468 TARGET_DEFAULT_RETURN.
470 2014-02-19 Tom Tromey <tromey@redhat.com>
472 * target-delegates.c: Rebuild.
473 * target.c (update_current_target): Don't inherit or default
474 to_remove_fork_catchpoint.
475 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
476 TARGET_DEFAULT_RETURN.
478 2014-02-19 Tom Tromey <tromey@redhat.com>
480 * target-delegates.c: Rebuild.
481 * target.c (update_current_target): Don't inherit or default
482 to_insert_fork_catchpoint.
483 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
484 TARGET_DEFAULT_RETURN.
486 2014-02-19 Tom Tromey <tromey@redhat.com>
488 * target-delegates.c: Rebuild.
489 * target.c (update_current_target): Don't inherit or default
490 to_post_startup_inferior.
491 * target.h (struct target_ops) <to_post_startup_inferior>: Use
492 TARGET_DEFAULT_IGNORE.
494 2014-02-19 Tom Tromey <tromey@redhat.com>
496 * target-delegates.c: Rebuild.
497 * target.c (update_current_target): Don't inherit or default
499 * target.h (struct target_ops) <to_load>: Use
500 TARGET_DEFAULT_NORETURN.
502 2014-02-19 Tom Tromey <tromey@redhat.com>
504 * target-delegates.c: Rebuild.
505 * target.c (update_current_target): Don't inherit or default
507 * target.h (struct target_ops) <to_terminal_info>: Use
510 2014-02-19 Tom Tromey <tromey@redhat.com>
512 * target-delegates.c: Rebuild.
513 * target.c (update_current_target): Don't inherit or default
514 to_terminal_save_ours.
515 * target.h (struct target_ops) <to_terminal_save_ours>: Use
516 TARGET_DEFAULT_IGNORE.
518 2014-02-19 Tom Tromey <tromey@redhat.com>
520 * target-delegates.c: Rebuild.
521 * target.c (update_current_target): Don't inherit or default
523 * target.h (struct target_ops) <to_terminal_ours>: Use
524 TARGET_DEFAULT_IGNORE.
526 2014-02-19 Tom Tromey <tromey@redhat.com>
528 * target-delegates.c: Rebuild.
529 * target.c (update_current_target): Don't inherit or default
530 to_terminal_ours_for_output.
531 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
532 TARGET_DEFAULT_IGNORE.
534 2014-02-19 Tom Tromey <tromey@redhat.com>
536 * target-delegates.c: Rebuild.
537 * target.c (update_current_target): Don't inherit or default
538 to_terminal_inferior.
539 * target.h (struct target_ops) <to_terminal_inferior>: Use
540 TARGET_DEFAULT_IGNORE.
542 2014-02-19 Tom Tromey <tromey@redhat.com>
544 * target-delegates.c: Rebuild.
545 * target.c (update_current_target): Don't inherit or default
547 * target.h (struct target_ops) <to_terminal_init>: Use
548 TARGET_DEFAULT_IGNORE.
550 2014-02-19 Tom Tromey <tromey@redhat.com>
552 * target-delegates.c: Rebuild.
553 * target.c (update_current_target): Don't inherit or default
554 to_can_accel_watchpoint_condition.
555 * target.h (struct target_ops)
556 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
558 2014-02-19 Tom Tromey <tromey@redhat.com>
560 * target-delegates.c: Rebuild.
561 * target.c (update_current_target): Don't inherit or default
562 to_region_ok_for_hw_watchpoint.
563 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
564 Use TARGET_DEFAULT_FUNC.
566 2014-02-19 Tom Tromey <tromey@redhat.com>
568 * target-delegates.c: Rebuild.
569 * target.c (update_current_target): Don't inherit or default
570 to_watchpoint_addr_within_range.
571 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
572 Use TARGET_DEFAULT_FUNC.
574 2014-02-19 Tom Tromey <tromey@redhat.com>
576 * target-delegates.c: Rebuild.
577 * target.c (update_current_target): Don't inherit or default
578 to_remove_watchpoint.
579 * target.h (struct target_ops) <to_remove_watchpoint>: Use
580 TARGET_DEFAULT_NORETURN.
582 2014-02-19 Tom Tromey <tromey@redhat.com>
584 * target-delegates.c: Rebuild.
585 * target.c (update_current_target): Don't inherit or default
586 to_insert_watchpoint.
587 * target.h (struct target_ops) <to_insert_watchpoint>: Use
588 TARGET_DEFAULT_RETURN.
590 2014-02-19 Tom Tromey <tromey@redhat.com>
592 * target-delegates.c: Rebuild.
593 * target.c (update_current_target): Don't inherit or default
594 to_remove_hw_breakpoint.
595 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
596 TARGET_DEFAULT_RETURN.
598 2014-02-19 Tom Tromey <tromey@redhat.com>
600 * target-delegates.c: Rebuild.
601 * target.c (update_current_target): Don't inherit or default
602 to_insert_hw_breakpoint.
603 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
604 TARGET_DEFAULT_RETURN.
606 2014-02-19 Tom Tromey <tromey@redhat.com>
608 * target-delegates.c: Rebuild.
609 * target.c (update_current_target): Don't inherit or default
610 to_can_use_hw_breakpoint.
611 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
612 TARGET_DEFAULT_RETURN.
614 2014-02-19 Tom Tromey <tromey@redhat.com>
616 * target-delegates.c: Rebuild.
617 * target.c (update_current_target): Don't inherit or default
619 * target.h (struct target_ops) <to_files_info>: Use
620 TARGET_DEFAULT_IGNORE.
622 2014-02-19 Tom Tromey <tromey@redhat.com>
624 * target-delegates.c: Rebuild.
625 * target.c (update_current_target): Don't inherit or default
627 * target.h (struct target_ops) <to_store>: Use
628 TARGET_DEFAULT_NORETURN.
630 2014-02-19 Tom Tromey <tromey@redhat.com>
632 * target-delegates.c: Rebuild.
633 * target.c (update_current_target): Don't inherit or default
635 * target.h (struct target_ops) <to_post_attach>: Use
636 TARGET_DEFAULT_IGNORE.
638 2014-02-19 Tom Tromey <tromey@redhat.com>
640 * target-delegates.c: Rebuild.
641 * target.c (update_current_target): Don't inherit or default
643 (default_rcmd): New function.
644 (do_monitor_command): Unconditionally delegate.
645 * target.h (struct target_ops) <to_rmcd>: Use
648 2014-02-19 Tom Tromey <tromey@redhat.com>
650 * target-delegates.c: Rebuild.
651 * target.c (init_dummy_target): Don't initialize to_attach.
652 (target_attach): Unconditionally delegate.
653 * target.h (struct target_ops) <to_attach>: Use
656 2014-02-19 Tom Tromey <tromey@redhat.com>
658 * target-delegates.c: Rebuild.
659 * target.c (target_detach): Unconditionally delegate.
660 (init_dummy_target): Don't initialize to_detach.
661 * target.h (struct target_ops) <to_detach>: Use
662 TARGET_DEFAULT_IGNORE.
664 2014-02-19 Tom Tromey <tromey@redhat.com>
666 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
668 (target_augmented_libraries_svr4_read): Add argument.
669 * target.c (update_current_target): Update.
670 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
673 2014-02-19 Tom Tromey <tromey@redhat.com>
675 * target.h (struct target_ops) <to_call_history_range>: Add
677 * target.c (target_call_history_range): Add argument.
678 * record-btrace.c (record_btrace_call_history_range): Add 'self'
680 (record_btrace_call_history_from): Update.
682 2014-02-19 Tom Tromey <tromey@redhat.com>
684 * target.h (struct target_ops) <to_call_history_from>: Add
686 * target.c (target_call_history_from): Add argument.
687 * record-btrace.c (record_btrace_call_history_from): Add 'self'
690 2014-02-19 Tom Tromey <tromey@redhat.com>
692 * target.h (struct target_ops) <to_call_history>: Add argument.
693 * target.c (target_call_history): Add argument.
694 * record-btrace.c (record_btrace_call_history): Add 'self'
697 2014-02-19 Tom Tromey <tromey@redhat.com>
699 * target.h (struct target_ops) <to_insn_history_range>: Add
701 * target.c (target_insn_history_range): Add argument.
702 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
704 (record_btrace_insn_history_from): Update.
706 2014-02-19 Tom Tromey <tromey@redhat.com>
708 * target.h (struct target_ops) <to_insn_history_from>: Add
710 * target.c (target_insn_history_from): Add argument.
711 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
714 2014-02-19 Tom Tromey <tromey@redhat.com>
716 * target.h (struct target_ops) <to_insn_history>: Add argument.
717 * target.c (target_insn_history): Add argument.
718 * record-btrace.c (record_btrace_insn_history): Add 'self'
721 2014-02-19 Tom Tromey <tromey@redhat.com>
723 * target.h (struct target_ops) <to_goto_record>: Add argument.
724 * target.c (target_goto_record): Add argument.
725 * record-full.c (record_full_goto): Add 'self' argument.
726 * record-btrace.c (record_btrace_goto): Add 'self' argument.
728 2014-02-19 Tom Tromey <tromey@redhat.com>
730 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
731 * target.c (target_goto_record_end): Add argument.
732 * record-full.c (record_full_goto_end): Add 'self' argument.
733 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
735 2014-02-19 Tom Tromey <tromey@redhat.com>
737 * target.h (struct target_ops) <to_goto_record_begin>: Add
739 * target.c (target_goto_record_begin): Add argument.
740 * record-full.c (record_full_goto_begin): Add 'self' argument.
741 * record-btrace.c (record_btrace_goto_begin): Add 'self'
744 2014-02-19 Tom Tromey <tromey@redhat.com>
746 * target.h (struct target_ops) <to_record_is_replaying>: Add
748 * target.c (target_record_is_replaying): Add argument.
749 * record-full.c (record_full_is_replaying): Add 'self' argument.
750 * record-btrace.c (record_btrace_is_replaying): Add 'self'
752 (record_btrace_xfer_partial, record_btrace_store_registers)
753 (record_btrace_prepare_to_store, record_btrace_resume)
754 (record_btrace_wait, record_btrace_decr_pc_after_break)
755 (record_btrace_find_new_threads, record_btrace_thread_alive):
758 2014-02-19 Tom Tromey <tromey@redhat.com>
760 * target.h (struct target_ops) <to_delete_record>: Add argument.
761 * target.c (target_delete_record): Add argument.
762 * record-full.c (record_full_delete): Add 'self' argument.
764 2014-02-19 Tom Tromey <tromey@redhat.com>
766 * target.h (struct target_ops) <to_save_record>: Add argument.
767 * target.c (target_save_record): Add argument.
768 * record-full.c (record_full_save): Add 'self' argument.
769 (record_full_save): Add 'self' argument.
771 2014-02-19 Tom Tromey <tromey@redhat.com>
773 * target.h (struct target_ops) <to_info_record>: Add argument.
774 * target.c (target_info_record): Add argument.
775 * record.c (info_record_command): Add argument.
776 * record-full.c (record_full_info): Add 'self' argument.
777 * record-btrace.c (record_btrace_info): Add 'self' argument.
779 2014-02-19 Tom Tromey <tromey@redhat.com>
781 * target.h (struct target_ops) <to_stop_recording>: Add argument.
782 * target.c (target_stop_recording): Add argument.
783 * record.c (record_stop): Add argument.
784 * record-btrace.c (record_btrace_stop_recording): Add 'self'
787 2014-02-19 Tom Tromey <tromey@redhat.com>
789 * target.h (struct target_ops) <to_read_btrace>: Add argument.
790 * target.c (struct target_ops) <to_read_btrace>: Add argument.
791 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
793 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
794 (_initialize_amd64_linux_nat): Use it.
795 * i386-linux-nat.c (i386_linux_read_btrace): New function.
796 (_initialize_i386_linux_nat): Use it.
798 2014-02-19 Tom Tromey <tromey@redhat.com>
800 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
801 * target.c (target_teardown_btrace): Add argument.
802 * remote.c (remote_teardown_btrace): Add 'self' argument.
803 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
805 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
808 2014-02-19 Tom Tromey <tromey@redhat.com>
810 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
811 * target.c (target_disable_btrace): Add argument.
812 * remote.c (remote_disable_btrace): Add 'self' argument.
813 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
815 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
818 2014-02-19 Tom Tromey <tromey@redhat.com>
820 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
821 * target.c (target_enable_btrace): Add argument.
822 * remote.c (remote_enable_btrace): Add 'self' argument.
823 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
825 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
828 2014-02-19 Tom Tromey <tromey@redhat.com>
830 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
831 (target_can_use_agent): Add argument.
832 * target.c (update_current_target): Update.
833 * remote.c (remote_can_use_agent): Add 'self' argument.
834 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
836 2014-02-19 Tom Tromey <tromey@redhat.com>
838 * target.h (struct target_ops) <to_use_agent>: Add argument.
839 (target_use_agent): Add argument.
840 * target.c (update_current_target): Update.
841 * remote.c (remote_use_agent): Add 'self' argument.
842 * inf-child.c (inf_child_use_agent): Add 'self' argument.
844 2014-02-19 Tom Tromey <tromey@redhat.com>
846 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
847 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
848 (target_traceframe_info): Add argument.
849 * target.c (update_current_target): Update.
850 * remote.c (remote_traceframe_info): Add 'self' argument.
851 * ctf.c (ctf_traceframe_info): Add 'self' argument.
853 2014-02-19 Tom Tromey <tromey@redhat.com>
855 * target.h (target_static_tracepoint_markers_by_strid): Add
857 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
859 * target.c (update_current_target): Update.
860 * remote.c (struct target_ops)
861 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
862 * linux-nat.c (struct target_ops)
863 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
865 2014-02-19 Tom Tromey <tromey@redhat.com>
867 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
869 (target_static_tracepoint_marker_at): Add argument.
870 * target.c (update_current_target): Update.
871 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
874 2014-02-19 Tom Tromey <tromey@redhat.com>
876 * target.h (struct target_ops) <to_set_permissions>: Add argument.
877 (target_set_permissions): Add argument.
878 * target.c (update_current_target): Update.
879 * remote.c (remote_set_permissions): Add 'self' argument.
880 (remote_start_remote): Update.
882 2014-02-19 Tom Tromey <tromey@redhat.com>
884 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
885 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
886 (target_get_tib_address): Add argument.
887 * target.c (update_current_target): Update.
888 * remote.c (remote_get_tib_address): Add 'self' argument.
890 2014-02-19 Tom Tromey <tromey@redhat.com>
892 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
893 (target_set_trace_notes): Add argument.
894 * target.c (update_current_target): Update.
895 * remote.c (remote_set_trace_notes): Add 'self' argument.
897 2014-02-19 Tom Tromey <tromey@redhat.com>
899 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
901 (target_set_trace_buffer_size): Add argument.
902 * target.c (update_current_target): Update.
903 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
905 2014-02-19 Tom Tromey <tromey@redhat.com>
907 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
909 (target_set_circular_trace_buffer): Add argument.
910 * target.c (update_current_target): Update.
911 * remote.c (remote_set_circular_trace_buffer): Add 'self'
914 2014-02-19 Tom Tromey <tromey@redhat.com>
916 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
918 (target_set_disconnected_tracing): Add argument.
919 * target.c (update_current_target): Update.
920 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
922 2014-02-19 Tom Tromey <tromey@redhat.com>
924 * target.h (struct target_ops)
925 <to_get_min_fast_tracepoint_insn_len>: Add argument.
926 (target_get_min_fast_tracepoint_insn_len): Add argument.
927 * target.c (update_current_target): Update.
928 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
931 2014-02-19 Tom Tromey <tromey@redhat.com>
933 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
935 (target_get_raw_trace_data): Add argument.
936 * target.c (update_current_target): Update.
937 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
939 2014-02-19 Tom Tromey <tromey@redhat.com>
941 * target.h (struct target_ops) <to_upload_trace_state_variables>:
943 (target_upload_trace_state_variables): Add argument.
944 * target.c (update_current_target): Update.
945 * remote.c (remote_upload_trace_state_variables): Add 'self'
947 (remote_start_remote): Update.
949 2014-02-19 Tom Tromey <tromey@redhat.com>
951 * target.h (struct target_ops) <to_upload_tracepoints>: Add
953 (target_upload_tracepoints): Add argument.
954 * target.c (update_current_target): Update.
955 * remote.c (remote_upload_tracepoints): Add 'self' argument.
956 (remote_start_remote): Update.
958 2014-02-19 Tom Tromey <tromey@redhat.com>
960 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
961 (target_save_trace_data): Add argument.
962 * target.c (update_current_target): Update.
963 * remote.c (remote_save_trace_data): Add 'self' argument.
965 2014-02-19 Tom Tromey <tromey@redhat.com>
967 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
969 * target.h (struct target_ops)
970 <to_get_trace_state_variable_value>: Add argument.
971 (target_get_trace_state_variable_value): Add argument.
972 * target.c (update_current_target): Update.
973 * remote.c (remote_get_trace_state_variable_value): Add 'self'
975 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
977 2014-02-19 Tom Tromey <tromey@redhat.com>
979 * tracepoint.c (tfile_trace_find): Add 'self' argument.
980 * target.h (struct target_ops) <to_trace_find>: Add argument.
981 (target_trace_find): Add argument.
982 * target.c (update_current_target): Update.
983 * remote.c (remote_trace_find): Add 'self' argument.
984 * ctf.c (ctf_trace_find): Add 'self' argument.
986 2014-02-19 Tom Tromey <tromey@redhat.com>
988 * target.h (struct target_ops) <to_trace_stop>: Add argument.
989 (target_trace_stop): Add argument.
990 * target.c (update_current_target): Update.
991 * remote.c (remote_trace_stop): Add 'self' argument.
993 2014-02-19 Tom Tromey <tromey@redhat.com>
995 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
996 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
998 (target_get_tracepoint_status): Add argument.
999 * target.c (update_current_target): Update.
1000 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
1002 2014-02-19 Tom Tromey <tromey@redhat.com>
1004 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
1005 * target.h (struct target_ops) <to_get_trace_status>: Add
1007 (target_get_trace_status): Add argument.
1008 * target.c (update_current_target): Update.
1009 * remote.c (remote_get_trace_status): Add 'self' argument.
1010 (remote_start_remote, remote_can_download_tracepoint): Update.
1011 * ctf.c (ctf_get_trace_status): Add 'self' argument.
1013 2014-02-19 Tom Tromey <tromey@redhat.com>
1015 * target.h (struct target_ops) <to_trace_start>: Add argument.
1016 (target_trace_start): Add argument.
1017 * target.c (update_current_target): Update.
1018 * remote.c (remote_trace_start): Add 'self' argument.
1020 2014-02-19 Tom Tromey <tromey@redhat.com>
1022 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1024 (target_trace_set_readonly_regions): Add argument.
1025 * target.c (update_current_target): Update.
1026 * remote.c (remote_trace_set_readonly_regions): Add 'self'
1029 2014-02-19 Tom Tromey <tromey@redhat.com>
1031 * target.h (struct target_ops) <to_disable_tracepoint>: Add
1033 (target_disable_tracepoint): Add argument.
1034 * target.c (update_current_target): Update.
1035 * remote.c (remote_disable_tracepoint): Add 'self' argument.
1037 2014-02-19 Tom Tromey <tromey@redhat.com>
1039 * target.h (struct target_ops) <to_enable_tracepoint>: Add
1041 (target_enable_tracepoint): Add argument.
1042 * target.c (update_current_target): Update.
1043 * remote.c (remote_enable_tracepoint): Add 'self' argument.
1045 2014-02-19 Tom Tromey <tromey@redhat.com>
1047 * target.h (struct target_ops) <to_download_trace_state_variable>:
1049 (target_download_trace_state_variable): Add argument.
1050 * target.c (update_current_target): Update.
1051 * remote.c (remote_download_trace_state_variable): Add 'self'
1054 2014-02-19 Tom Tromey <tromey@redhat.com>
1056 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
1058 (target_can_download_tracepoint): Add argument.
1059 * target.c (update_current_target): Update.
1060 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
1062 2014-02-19 Tom Tromey <tromey@redhat.com>
1064 * target.h (struct target_ops) <to_download_tracepoint>: Add
1066 (target_download_tracepoint): Add argument.
1067 * target.c (update_current_target): Update.
1068 * remote.c (remote_download_tracepoint): Add 'self' argument.
1070 2014-02-19 Tom Tromey <tromey@redhat.com>
1072 * target.h (struct target_ops) <to_trace_init>: Add argument.
1073 (target_trace_init): Add argument.
1074 * target.c (update_current_target): Update.
1075 * remote.c (remote_trace_init): Add 'self' argument.
1077 2014-02-19 Tom Tromey <tromey@redhat.com>
1079 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1080 * target.c (target_fileio_readlink): Add argument.
1081 * remote.c (remote_hostio_readlink): Add 'self' argument.
1082 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1084 2014-02-19 Tom Tromey <tromey@redhat.com>
1086 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1087 * target.c (target_fileio_unlink): Add argument.
1088 * remote.c (remote_hostio_unlink): Add 'self' argument.
1089 (remote_file_delete): Update.
1090 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1092 2014-02-19 Tom Tromey <tromey@redhat.com>
1094 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1095 * target.c (target_fileio_close): Add argument.
1096 * remote.c (remote_hostio_close): Add 'self' argument.
1097 (remote_hostio_close_cleanup): Update.
1098 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1100 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1102 2014-02-19 Tom Tromey <tromey@redhat.com>
1104 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1105 * target.c (target_fileio_pread): Add argument.
1106 * remote.c (remote_hostio_pread): Add 'self' argument.
1107 (remote_bfd_iovec_pread, remote_file_get): Update.
1108 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1110 2014-02-19 Tom Tromey <tromey@redhat.com>
1112 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1113 * target.c (target_fileio_pwrite): Add argument.
1114 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1115 (remote_file_put): Update.
1116 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1118 2014-02-19 Tom Tromey <tromey@redhat.com>
1120 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1121 * target.c (target_fileio_open): Add argument.
1122 * remote.c (remote_hostio_open): Add 'self' argument.
1123 (remote_bfd_iovec_open): Add 'self' argument.
1124 (remote_file_put): Add 'self' argument.
1125 (remote_file_get): Add 'self' argument.
1126 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1128 2014-02-19 Tom Tromey <tromey@redhat.com>
1130 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1132 (target_can_run_breakpoint_commands): Add argument.
1133 * target.c (update_current_target): Update.
1134 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1136 (remote_insert_breakpoint): Add 'self' argument.
1137 (remote_insert_hw_breakpoint): Add 'self' argument.
1138 (remote_can_run_breakpoint_commands): Add 'self' argument.
1140 2014-02-19 Tom Tromey <tromey@redhat.com>
1142 * target.h (struct target_ops)
1143 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1144 (target_supports_evaluation_of_breakpoint_conditions): Add
1146 * target.c (update_current_target): Update.
1147 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1149 (remote_insert_breakpoint): Add 'self' argument.
1150 (remote_insert_hw_breakpoint): Add 'self' argument.
1151 (remote_supports_cond_breakpoints): Add 'self' argument.
1153 2014-02-19 Tom Tromey <tromey@redhat.com>
1155 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1157 (target_supports_string_tracing): Add argument.
1158 * target.c (update_current_target): Update.
1159 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1161 2014-02-19 Tom Tromey <tromey@redhat.com>
1163 * target.h (struct target_ops)
1164 <to_supports_disable_randomization>: Add argument.
1165 * target.c (find_default_supports_disable_randomization): Add
1167 (target_supports_disable_randomization): Add argument.
1168 (find_default_supports_disable_randomization): Add 'self'
1170 * remote.c (extended_remote_supports_disable_randomization): Add
1172 (remote_supports_disable_randomization): Add 'self' argument.
1173 (extended_remote_create_inferior): Update.
1174 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1177 2014-02-19 Tom Tromey <tromey@redhat.com>
1179 * target.h (struct target_ops)
1180 <to_supports_enable_disable_tracepoint>: Add argument.
1181 (target_supports_enable_disable_tracepoint): Add argument.
1182 * target.c (update_current_target): Update.
1183 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1186 2014-02-19 Tom Tromey <tromey@redhat.com>
1188 * target.h (struct target_ops) <to_supports_multi_process>: Add
1190 (target_supports_multi_process): Add argument.
1191 * target.c (update_current_target): Update.
1192 * remote.c (remote_supports_multi_process): Add 'self' argument.
1193 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1195 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1198 2014-02-19 Tom Tromey <tromey@redhat.com>
1200 * target.h (struct target_ops) <to_execution_direction>: Add
1202 (target_execution_direction): Add argument.
1203 * target.c (default_execution_direction): Add 'self' argument.
1204 * record-full.c (record_full_execution_direction): Add 'self'
1207 2014-02-19 Tom Tromey <tromey@redhat.com>
1209 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1211 (target_can_execute_reverse): Add argument.
1212 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1213 * record-full.c (record_full_can_execute_reverse): Add 'self'
1215 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1218 2014-02-19 Tom Tromey <tromey@redhat.com>
1220 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1221 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1223 (target_get_ada_task_ptid): Add argument.
1224 * target.c (update_current_target): Update.
1225 (default_get_ada_task_ptid): Add 'self' argument.
1226 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1227 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1228 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1230 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1232 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1234 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1236 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1237 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1240 2014-02-19 Tom Tromey <tromey@redhat.com>
1242 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1243 (target_goto_bookmark): Add argument.
1244 * target.c (dummy_goto_bookmark): Add 'self' argument.
1245 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1247 2014-02-19 Tom Tromey <tromey@redhat.com>
1249 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1250 (target_get_bookmark): Add argument.
1251 * target.c (dummy_get_bookmark): Add 'self' argument.
1252 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1254 2014-02-19 Tom Tromey <tromey@redhat.com>
1256 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1258 (target_make_corefile_notes): Add argument.
1259 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1260 * procfs.c (procfs_make_note_section): Add 'self' argument.
1261 (procfs_make_note_section): Add 'self' argument.
1262 (procfs_make_note_section): Add 'self' argument.
1263 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1265 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1266 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1267 * exec.c (exec_make_note_section): Add 'self' argument.
1268 (exec_make_note_section): Add 'self' argument.
1270 2014-02-19 Tom Tromey <tromey@redhat.com>
1272 * target.h (struct target_ops) <to_find_memory_regions>: Add
1274 (target_find_memory_regions): Add argument.
1275 * target.c (dummy_find_memory_regions): Add 'self' argument.
1276 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1277 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1278 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1279 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1280 * exec. (exec_do_find_memory_regions): New global.
1281 (exec_set_find_memory_regions): Rewrite.
1282 (exec_find_memory_regions): New function.
1283 (init_exec_ops): Use exec_find_memory_regions.
1285 2014-02-19 Tom Tromey <tromey@redhat.com>
1287 * target.h (struct target_ops) <to_supports_non_stop>: Add
1289 * target.c (find_default_supports_non_stop): Add argument.
1290 (target_supports_non_stop): Add argument.
1291 (find_default_supports_non_stop): Add 'self' argument.
1292 * remote.c (remote_supports_non_stop): Add 'self' argument.
1293 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1295 2014-02-19 Tom Tromey <tromey@redhat.com>
1297 * target.h (struct target_ops) <to_log_command>: Add argument.
1298 (target_log_command): Add argument.
1299 * serial.h (serial_log_command): Add 'self' argument.
1300 * serial.c (serial_log_command): Add 'self' argument.
1302 2014-02-19 Tom Tromey <tromey@redhat.com>
1304 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1305 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1307 (target_pid_to_exec_file): Add argument.
1308 * target.c (debug_to_pid_to_exec_file): Add argument.
1309 (update_current_target): Update.
1310 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1311 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1312 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1313 (linux_handle_extended_wait): Update.
1314 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1315 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1316 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1317 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1319 2014-02-19 Tom Tromey <tromey@redhat.com>
1321 * target.h (struct target_ops) <to_rcmd>: Add argument.
1322 (target_rcmd): Add argument.
1323 * target.c (debug_to_rcmd): Add argument.
1324 (update_current_target, do_monitor_command): Update.
1325 * remote.c (remote_rcmd): Add 'self' argument.
1326 * monitor.c (monitor_rcmd): Add 'self' argument.
1328 2014-02-19 Tom Tromey <tromey@redhat.com>
1330 * windows-nat.c (windows_stop): Add 'self' argument.
1331 * target.h (struct target_ops) <to_stop>: Add argument.
1332 * target.c (target_stop): Add argument.
1333 (debug_to_stop): Add argument.
1334 (update_current_target): Update.
1335 * remote.c (remote_stop): Add 'self' argument.
1336 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1337 (gdbsim_cntrl_c): Update.
1338 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1339 * procfs.c (procfs_stop): Add 'self' argument.
1340 * nto-procfs.c (procfs_stop): Add 'self' argument.
1341 * monitor.c (monitor_stop): Add 'self' argument.
1342 (monitor_open): Update.
1343 * linux-nat.c (linux_nat_stop): Add argument.
1344 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1345 * gnu-nat.c (gnu_stop): Add 'self' argument.
1346 * darwin-nat.c (darwin_stop): Add 'self' argument.
1348 2014-02-19 Tom Tromey <tromey@redhat.com>
1350 * target.h (struct target_ops) <to_thread_name>: Add argument.
1351 * target.c (target_thread_name): Add argument.
1352 (update_current_target): Update.
1353 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
1355 2014-02-19 Tom Tromey <tromey@redhat.com>
1357 * target.h (struct target_ops) <to_extra_thread_info>: Add
1359 (target_extra_thread_info): Add argument.
1360 * target.c (update_current_target): Update.
1361 * remote.c (remote_threads_extra_info): Add 'self' argument.
1362 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
1364 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
1365 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
1366 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
1368 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
1370 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
1372 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
1375 2014-02-19 Tom Tromey <tromey@redhat.com>
1377 * target.h (struct target_ops) <to_program_signals>: Add argument.
1378 * target.c (target_program_signals): Add argument.
1379 * remote.c (remote_program_signals): Add 'self' argument.
1381 2014-02-19 Tom Tromey <tromey@redhat.com>
1383 * target.h (struct target_ops) <to_pass_signals>: Add argument.
1384 * target.c (target_pass_signals): Add argument.
1385 * remote.c (remote_pass_signals): Add 'self' argument.
1386 (remote_start_remote): Update.
1387 * procfs.c (procfs_pass_signals): Add 'self' argument.
1388 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
1389 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
1390 (linux_nat_create_inferior, linux_nat_attach): Update.
1392 2014-02-19 Tom Tromey <tromey@redhat.com>
1394 * windows-nat.c (windows_can_run): Add 'self' argument.
1395 * target.h (struct target_ops) <to_can_run>: Add argument.
1396 (target_can_run): Add argument.
1397 * target.c (debug_to_can_run): Add argument.
1398 (update_current_target): Update.
1399 * nto-procfs.c (procfs_can_run): Add 'self' argument.
1400 * inf-child.c (inf_child_can_run): Add 'self' argument.
1401 * go32-nat.c (go32_can_run): Add 'self' argument.
1403 2014-02-19 Tom Tromey <tromey@redhat.com>
1405 * target.h (struct target_ops) <to_has_exited>: Add argument.
1406 (target_has_exited): Add argument.
1407 * target.c (debug_to_has_exited): Add argument.
1408 (update_current_target): Update.
1410 2014-02-19 Tom Tromey <tromey@redhat.com>
1412 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
1414 (target_set_syscall_catchpoint): Add argument.
1415 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
1417 * target.c (update_current_target): Update.
1419 2014-02-19 Tom Tromey <tromey@redhat.com>
1421 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
1423 (target_remove_exec_catchpoint): Add argument.
1424 * target.c (debug_to_remove_exec_catchpoint): Add argument.
1425 (update_current_target): Update.
1426 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
1429 2014-02-19 Tom Tromey <tromey@redhat.com>
1431 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
1433 (target_insert_exec_catchpoint): Add argument.
1434 * target.c (debug_to_insert_exec_catchpoint): Add argument.
1435 (update_current_target): Update.
1436 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
1439 2014-02-19 Tom Tromey <tromey@redhat.com>
1441 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
1443 (target_remove_vfork_catchpoint): Add argument.
1444 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
1445 (update_current_target): Update.
1446 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
1449 2014-02-19 Tom Tromey <tromey@redhat.com>
1451 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
1453 (target_insert_vfork_catchpoint): Add argument.
1454 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
1455 (update_current_target): Update.
1456 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
1459 2014-02-19 Tom Tromey <tromey@redhat.com>
1461 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
1463 (target_remove_fork_catchpoint): Add argument.
1464 * target.c (debug_to_remove_fork_catchpoint): Add argument.
1465 (update_current_target): Update.
1466 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
1469 2014-02-19 Tom Tromey <tromey@redhat.com>
1471 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
1473 (target_insert_fork_catchpoint): Add argument.
1474 * target.c (debug_to_insert_fork_catchpoint): Add argument.
1475 (update_current_target): Update.
1476 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
1479 2014-02-19 Tom Tromey <tromey@redhat.com>
1481 * target.h (struct target_ops) <to_post_startup_inferior>: Add
1483 (target_post_startup_inferior): Add argument.
1484 * target.c (debug_to_post_startup_inferior): Add argument.
1485 (update_current_target): Update.
1486 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
1488 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
1490 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
1492 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
1494 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
1496 (super_post_startup_inferior): Likewise.
1497 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
1499 (super_post_startup_inferior): Likewise.
1500 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
1501 Add 'self' argument.
1502 (super_post_startup_inferior): Likewise.
1504 2014-02-19 Tom Tromey <tromey@redhat.com>
1506 * target.h (struct target_ops) <to_load>: Add argument.
1507 * target.c (target_load): Add argument.
1508 (debug_to_load): Add argument.
1509 (update_current_target): Update.
1510 * remote.c (remote_load): Add 'self' argument.
1511 * remote-sim.c (gdbsim_load): Add 'self' argument.
1512 * remote-mips.c (mips_load): Add 'self' argument.
1513 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
1514 * monitor.c (monitor_load): Add 'self' argument.
1515 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
1517 2014-02-19 Tom Tromey <tromey@redhat.com>
1519 * target.h (struct target_ops) <to_terminal_info>: Add argument.
1520 (target_terminal_info): Add argument.
1521 * target.c (debug_to_terminal_info): Add argument.
1522 (default_terminal_info): Likewise.
1523 * inflow.c (child_terminal_info): Add 'self' argument.
1524 * inferior.h (child_terminal_info): Add 'self' argument.
1525 * go32-nat.c (go32_terminal_info): Add 'self' argument.
1527 2014-02-19 Tom Tromey <tromey@redhat.com>
1529 * target.h (struct target_ops) <to_terminal_save_ours>: Add
1531 (target_terminal_save_ours): Add argument.
1532 * target.c (debug_to_terminal_save_ours): Add argument.
1533 (update_current_target): Update.
1534 * inflow.c (terminal_save_ours): Add 'self' argument.
1535 * inferior.h (terminal_save_ours): Add 'self' argument.
1537 2014-02-19 Tom Tromey <tromey@redhat.com>
1539 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
1540 (target_terminal_ours): Add argument.
1541 * target.c (debug_to_terminal_ours): Add argument.
1542 (update_current_target): Update.
1543 * remote.c (remote_terminal_ours): Add 'self' argument.
1544 (remote_close): Update.
1545 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
1546 * inflow.c (terminal_ours): Add 'self' argument.
1547 * inferior.h (terminal_ours): Add 'self' argument.
1548 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1550 2014-02-19 Pedro Alves <palves@redhat.com>
1551 Tom Tromey <tromey@redhat.com>
1553 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
1555 (target_terminal_ours_for_output): Add argument.
1556 * target.c (debug_to_terminal_ours_for_output): Add argument.
1557 (update_current_target): Update.
1558 * inflow.c (terminal_ours_for_output): Add 'self' argument.
1559 * inferior.h (terminal_ours_for_output): Add 'self' argument.
1560 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1562 2014-02-19 Tom Tromey <tromey@redhat.com>
1564 * target.h (struct target_ops) <to_terminal_inferior>: Add
1566 * target.c (target_terminal_inferior): Add argument.
1567 (update_current_target): Update.
1568 * remote.c (remote_terminal_inferior): Add 'self' argument.
1569 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
1570 * inflow.c (terminal_inferior): Add 'self' argument.
1571 * inferior.h (terminal_inferior): Add 'self' argument.
1572 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
1573 (go32_terminal_inferior): Add 'self' argument.
1575 2014-02-19 Tom Tromey <tromey@redhat.com>
1577 * target.h (struct target_ops) <to_terminal_init>: Add argument.
1578 (target_terminal_init): Add argument.
1579 * target.c (debug_to_terminal_init): Add argument.
1580 (update_current_target): Update.
1581 * inflow.c (terminal_init_inferior): Add 'self' argument.
1582 * inferior.h (terminal_init_inferior): Add 'self' argument.
1583 * go32-nat.c (go32_terminal_init): Add 'self' argument.
1584 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
1586 2014-02-19 Tom Tromey <tromey@redhat.com>
1588 * target.h (struct target_ops)
1589 <to_can_accel_watchpoint_condition>: Add argument.
1590 (target_can_accel_watchpoint_condition): Add argument.
1591 * target.c (debug_to_can_accel_watchpoint_condition): Add
1593 (update_current_target): Update.
1594 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
1597 2014-02-19 Tom Tromey <tromey@redhat.com>
1599 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1601 (target_region_ok_for_hw_watchpoint): Add argument.
1602 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
1603 (default_region_ok_for_hw_watchpoint): Add argument.
1604 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
1605 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
1607 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
1609 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
1611 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
1613 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
1615 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
1617 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
1618 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
1620 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
1621 Add 'self' argument.
1623 2014-02-19 Tom Tromey <tromey@redhat.com>
1625 * target.h (struct target_ops) <to_insert_watchpoint>: Add
1627 (target_insert_watchpoint): Add argument.
1628 * target.c (debug_to_insert_watchpoint): Add argument.
1629 (update_current_target): Update.
1630 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
1631 * remote.c (remote_insert_watchpoint): Add 'self' argument.
1632 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
1633 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
1634 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
1635 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
1637 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
1638 (procfs_insert_hw_watchpoint): Add 'self' argument.
1639 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
1641 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
1643 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
1645 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
1646 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
1648 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
1651 2014-02-19 Tom Tromey <tromey@redhat.com>
1653 * target.h (struct target_ops) <to_remove_watchpoint>: Add
1655 (target_remove_watchpoint): Add argument.
1656 * target.c (debug_to_remove_watchpoint): Add argument.
1657 (update_current_target): Update.
1658 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
1659 * remote.c (remote_remove_watchpoint): Add 'self' argument.
1660 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
1661 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
1662 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
1663 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
1665 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
1666 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
1668 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
1670 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
1672 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
1673 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
1675 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
1678 2014-02-19 Tom Tromey <tromey@redhat.com>
1680 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
1682 (target_remove_hw_breakpoint): Add argument.
1683 * target.c (debug_to_remove_hw_breakpoint): Add argument.
1684 (update_current_target): Update.
1685 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
1686 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
1688 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
1689 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
1691 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
1694 2014-02-19 Tom Tromey <tromey@redhat.com>
1696 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
1698 (target_insert_hw_breakpoint): Add argument.
1699 * target.c (debug_to_insert_hw_breakpoint): Add argument.
1700 (update_current_target): Update.
1701 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
1702 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
1704 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
1705 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
1706 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
1708 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
1711 2014-02-19 Tom Tromey <tromey@redhat.com>
1713 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
1715 (target_can_use_hardware_watchpoint): Add argument.
1716 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
1717 (update_current_target): Update.
1718 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
1720 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
1722 * remote.c (remote_check_watch_resources): Add 'self' argument.
1723 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
1724 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
1726 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
1727 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
1729 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
1731 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
1733 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
1735 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
1737 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
1739 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
1740 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
1742 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
1745 2014-02-19 Tom Tromey <tromey@redhat.com>
1747 * target.h (struct target_ops) <to_post_attach>: Add argument.
1748 (target_post_attach): Add argument.
1749 * target.c (debug_to_post_attach): Add argument.
1750 (update_current_target): Update.
1751 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
1752 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
1753 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
1754 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
1755 * inf-child.c (inf_child_post_attach): Add 'self' argument.
1757 2014-02-19 Tom Tromey <tromey@redhat.com>
1759 * windows-nat.c (windows_close): Add 'self' argument.
1760 * tracepoint.c (tfile_close): Add 'self' argument.
1761 * target.h (struct target_ops) <to_close>: Add argument.
1762 * target.c (target_close): Add argument.
1763 (update_current_target): Update.
1764 * remote.c (remote_close): Add 'self' argument.
1765 * remote-sim.c (gdbsim_close): Add 'self' argument.
1766 * remote-mips.c (mips_close): Add 'self' argument.
1767 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
1768 * record-full.c (record_full_close): Add 'self' argument.
1769 * record-btrace.c (record_btrace_close): Add 'self' argument.
1770 * monitor.h (monitor_close): Add 'self' argument.
1771 * monitor.c (monitor_close): Add 'self' argument.
1772 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
1773 * linux-nat.c (linux_nat_close): Add argument.
1774 * go32-nat.c (go32_close): Add 'self' argument.
1775 * exec.c (exec_close_1): Add 'self' argument.
1776 * ctf.c (ctf_close): Add 'self' argument.
1777 * corelow.c (core_close): Add 'self' argument.
1778 (core_close_cleanup): Update.
1779 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
1780 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
1782 2014-02-19 Tom Tromey <tromey@redhat.com>
1784 * remote.c (remote_load): New function.
1785 (init_remote_ops): Use it.
1787 2014-02-19 Tom Tromey <tromey@redhat.com>
1789 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
1791 * common/linux-btrace.h (linux_supports_btrace): Update.
1792 * remote.c (remote_supports_btrace): Add "self" argument.
1793 * target-delegates.c: Rebuild.
1794 * target.c (target_supports_btrace): Remove.
1795 * target.h (struct target_ops) <to_supports_btrace>: Add
1796 target_ops argument.
1797 (target_supports_btrace): New define.
1799 2014-02-19 Tom Tromey <tromey@redhat.com>
1801 * record-full.c (record_full_beneath_to_resume_ops)
1802 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
1803 (record_full_beneath_to_wait)
1804 (record_full_beneath_to_store_registers_ops)
1805 (record_full_beneath_to_store_registers)
1806 (record_full_beneath_to_xfer_partial_ops)
1807 (record_full_beneath_to_xfer_partial)
1808 (record_full_beneath_to_insert_breakpoint_ops)
1809 (record_full_beneath_to_insert_breakpoint)
1810 (record_full_beneath_to_remove_breakpoint_ops)
1811 (record_full_beneath_to_remove_breakpoint)
1812 (record_full_beneath_to_stopped_by_watchpoint)
1813 (record_full_beneath_to_stopped_data_address)
1814 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
1815 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
1816 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
1817 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
1818 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
1819 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
1820 (tmp_to_stopped_data_address, tmp_to_async): Remove.
1821 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
1822 (record_full_resume, record_full_wait_1)
1823 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
1824 (record_full_store_registers, record_full_xfer_partial)
1825 (record_full_insert_breakpoint, record_full_remove_breakpoint)
1826 (record_full_async, record_full_core_xfer_partial): Use target
1828 * target-delegates.c: Rebuild.
1829 * target.c (current_xfer_partial): Remove.
1830 (update_current_target): Do not INHERIT or de_fault
1831 to_insert_breakpoint, to_remove_breakpoint,
1832 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
1833 to_is_async_p, to_async. Do not set to_xfer_partial field.
1834 (default_xfer_partial): Simplify.
1835 (current_xfer_partial): Remove.
1836 (target_wait, target_resume): Simplify.
1837 (find_default_can_async_p, find_default_is_async_p): Update.
1838 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
1839 to_xfer_partial, to_stopped_by_watchpoint,
1840 to_stopped_data_address.
1841 (target_store_registers): Simplify.
1842 (forward_target_remove_breakpoint)
1843 (forward_target_insert_breakpoint): Remove.
1844 (target_remove_breakpoint, target_insert_breakpoint)
1845 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
1846 * target.h (struct target_ops) <to_resume, to_wait,
1847 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
1848 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
1849 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
1851 (forward_target_remove_breakpoint)
1852 (forward_target_insert_breakpoint): Remove.
1853 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
1855 (record_btrace_insert_breakpoint): Delegate directly.
1857 2014-02-19 Tom Tromey <tromey@redhat.com>
1860 * target-delegates.c: New file.
1861 * target.c: Include target-delegates.c.
1862 (init_dummy_target): Call install_dummy_methods.
1863 (complete_target_initialization): Call install_delegators.
1864 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
1865 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
1866 * make-target-delegates: New file.
1868 2014-02-19 Tom Tromey <tromey@redhat.com>
1870 * record.c (find_record_target): Use find_target_at.
1871 * target.c (find_target_at): New function.
1872 * target.h (find_target_at): Declare.
1874 2014-02-19 Tom Tromey <tromey@redhat.com>
1876 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
1878 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
1880 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
1881 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
1883 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
1885 * linux-nat.c (save_sigtrap): Update.
1886 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
1887 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
1888 (linux_nat_close): Update.
1889 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
1891 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
1893 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
1894 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
1895 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
1896 (tmp_to_async): Add 'ops' argument.
1897 (record_full_stopped_by_watchpoint, record_full_async)
1898 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
1900 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
1901 (m32r_stopped_by_watchpoint): Add 'ops' argument.
1902 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
1903 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
1904 (remote_is_async_p, remote_async): Add 'ops' argument.
1905 (remote_stopped_data_address): Update.
1906 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
1907 * target.c (update_current_target)
1908 (find_default_can_async_p, find_default_is_async_p): Update.
1909 (init_dummy_target): Update.
1910 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
1911 * target.h (struct target_ops) <to_stopped_by_watchpoint,
1912 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
1913 (target_can_async_p, target_is_async_p, target_async)
1914 (target_stopped_by_watchpoint): Update.
1916 2014-02-19 Yao Qi <yao@codesourcery.com>
1919 * gdbarch.sh: Remove startup_gdbarch.
1920 * gdbarch.c: Regenerated.
1921 * gdbarch.h: Likewise.
1923 2014-02-17 Kevin Buettner <kevinb@redhat.com>
1925 * rl78-tdep.c (rl78_g10_register_name): New function.
1926 (rl78_return_value): Add g10 support.
1927 (rl78_gdbarch_init): Register rl78_g10_register_name for the
1930 2014-02-17 Doug Evans <xdje42@gmail.com>
1932 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
1933 (SUBDIR_GUILE_SRCS): Ditto.
1934 (scm-gsmob.o): Ditto.
1936 2014-02-17 Yao Qi <yao@codesourcery.com>
1938 * gnu-nat.c (ILL_RPC): Declare defined function.
1940 2014-02-17 Yao Qi <yao@codesourcery.com>
1942 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
1943 mach_msg_type_number_t.
1944 (gnu_write_inferior): Likewise.
1946 2014-02-17 Yao Qi <yao@codesourcery.com>
1948 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
1950 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
1951 (inf_validate_procs, inf_signal): Likewise.
1952 (S_exception_raise_request): Likewise.
1953 (do_mach_notify_dead_name): Likewise.
1954 (steal_exc_port): Likewise.
1955 (gnu_read_inferior): Change 'copy_count''s type to
1956 mach_msg_type_number_t.
1957 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
1960 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
1962 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
1963 flag. Adjust all users; in particular...
1964 (gnu_wait): ..., don't decrement its value in here...
1965 (gnu_create_inferior): ..., and instead set the flag in here,
1966 around the startup_inferior call, and call that one with
1967 START_INFERIOR_TRAPS_EXPECTED.
1969 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
1970 (ILL_RPC): ... new macro.
1971 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
1972 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
1973 (do_mach_notify_send_once, S_proc_setmsgport_reply)
1974 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
1975 functions with ILL_RPC macro.
1976 (S_proc_pid2task_reply, S_proc_task2pid_reply)
1977 (S_proc_task2proc_reply, S_proc_proc2task_reply)
1978 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
1979 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
1980 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
1981 (S_proc_getlogin_reply, S_proc_getsid_reply)
1982 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
1983 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
1984 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
1985 (S_proc_getnports_reply, S_proc_is_important_reply)
1986 (S_proc_get_code_reply): New stub functions, generated with
1989 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
1990 collected the type check structures.
1992 * reply_mig_hack.awk: Don't expect to see the auto keyword.
1994 2014-02-14 Doug Evans <dje@google.com>
1996 * target.c (target_write_partial): Fix result type.
1998 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2000 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
2001 the proper offsets to access fpregset_t.
2003 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
2005 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
2006 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
2007 * h8300-tdep.c (setmachinelist): Remove global.
2008 * hppa-tdep.c (hppa_sigtramp): Remove global.
2009 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
2010 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
2011 * ravenscar-thread.c (update_target_observer): Remove global.
2012 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
2014 2014-02-12 Tom Tromey <tromey@redhat.com>
2016 * common/rsp-low.c: Update comments.
2017 * common/rsp-low.h: Update comments.
2019 2014-02-12 Tom Tromey <tromey@redhat.com>
2021 * common/rsp-low.c (convert_ascii_to_int): Remove.
2022 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
2024 2014-02-12 Tom Tromey <tromey@redhat.com>
2026 * common/rsp-low.h (unhexify): Don't declare.
2027 * common/rsp-low.c (unhexify): Remove.
2029 2014-02-12 Tom Tromey <tromey@redhat.com>
2031 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
2032 * common/rsp-low.c (convert_int_to_ascii): Remove.
2034 2014-02-12 Tom Tromey <tromey@redhat.com>
2036 * common/rsp-low.h (hexify): Don't declare.
2037 * common/rsp-low.c (hexify): Remove.
2039 2014-02-12 Tom Tromey <tromey@redhat.com>
2041 * common/rsp-low.c (hexify): Never take strlen of argument.
2043 2014-02-12 Tom Tromey <tromey@redhat.com>
2045 * common/rsp-low.c (bin2hex): Never take strlen of argument.
2046 * remote.c (extended_remote_run, remote_rcmd)
2047 (remote_download_trace_state_variable, remote_save_trace_data)
2048 (remote_set_trace_notes): Update.
2049 * tracepoint.c (encode_source_string, tfile_write_status)
2050 (tfile_write_uploaded_tsv): Update.
2052 2014-02-12 Tom Tromey <tromey@redhat.com>
2054 * tracepoint.c: Include rsp-low.h.
2055 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
2056 * remote.c: Include rsp-low.h.
2057 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
2058 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
2059 (remote_unescape_input): Move to common/rsp-low.c.
2060 * common/rsp-low.h: New file.
2061 * common/rsp-low.c: New file.
2062 * Makefile.in (SFILES): Add common/rsp-low.c.
2063 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
2064 (COMMON_OBS): Add rsp-low.o.
2065 (rsp-low.o): New target.
2067 2014-02-12 Tom Tromey <tromey@redhat.com>
2069 * utils.h: Include print-utils.h.
2070 (host_address_to_string, plongest, pulongest, phex, phex_nz)
2071 (int_string, core_addr_to_string, core_addr_to_string_nz)
2072 (hex_string, hex_string_custom): Don't declare.
2073 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2074 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2075 (hex_string_custom, int_string, core_addr_to_string)
2076 (core_addr_to_string_nz, host_address_to_string): Move to
2077 common/print-utils.c.
2078 * common/print-utils.h: New file.
2079 * common/print-utils.c: New file
2080 * Makefile.in (SFILES): Add common/print-utils.c.
2081 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2082 (COMMON_OBS): Add print-utils.o.
2083 (print-utils.o): New target.
2085 2014-02-12 Tom Tromey <tromey@redhat.com>
2087 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2089 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2091 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2093 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2095 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2096 if a PT_IO ptrace request returns sucessfully but indicates that 0
2097 bytes were transferred.
2099 2014-02-12 Pedro Alves <palves@redhat.com>
2100 Kevin Buettner <kevinb@redhat.com>
2102 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2103 TYPE_INSTANCE_FLAG_CODE_SPACE.
2105 2014-02-12 Pedro Alves <palves@redhat.com>
2107 * h8300-tdep.c (pseudo_from_raw_register)
2108 (raw_from_pseudo_register): New functions.
2109 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2112 2014-02-12 Pedro Alves <palves@redhat.com>
2114 * h8300-tdep.c (h8300_register_sim_regno): New function.
2115 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2116 gdbarch_register_sim_regno hook.
2118 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2120 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2122 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2124 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2126 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2128 * obsd-tdep.h (obsd_init_abi): New prototype.
2129 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2130 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2131 (obsd_init_abi): New functions.
2132 * i386obsd-tdep.c: Include "obsd-tdep.h".
2133 (i386obsd_init_abi): Call obsd_init_abi.
2134 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2135 (amd64obsd_init_abi): Call obsd_init_abi.
2136 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2137 obsd-tdep.c to gdb_target_obs.
2139 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2141 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2142 double float arguments to 16-byte in the argument slots.
2144 2014-02-11 Doug Evans <xdje42@gmail.com>
2146 * configure.ac: Don't crash if pkg-config is not found and guile
2147 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2149 * configure: Regenerate.
2151 2014-02-11 Yao Qi <yao@codesourcery.com>
2153 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2154 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2155 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2156 * gnu-nat.c (gnu_xfer_memory): Likewise.
2157 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2158 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2159 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2160 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2162 2014-02-11 Yao Qi <yao@codesourcery.com>
2164 * target.h (enum target_xfer_error): Rename to ...
2165 (enum target_xfer_status): ... it. New. All users updated.
2166 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2168 (TARGET_XFER_STATUS_ERROR_P): New macro.
2169 (target_xfer_error_to_string): Remove declaration.
2170 (target_xfer_status_to_string): Declare.
2171 (target_xfer_partial_ftype): Adjust it.
2172 (struct target_ops) <to_xfer_partial>: Return
2173 target_xfer_status. Add argument xfered_len. Update
2175 * target.c (target_xfer_error_to_string): Rename to ...
2176 (target_xfer_status_to_string): ... it. New. All callers
2178 (target_read_live_memory): Likewise. Call target_xfer_partial
2179 instead of target_read.
2180 (memory_xfer_live_readonly_partial): Return
2181 target_xfer_status. Add argument xfered_len.
2182 (raw_memory_xfer_partial): Likewise.
2183 (memory_xfer_partial_1): Likewise.
2184 (memory_xfer_partial): Likewise.
2185 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2186 properly. Update debug message.
2187 (default_xfer_partial, current_xfer_partial): Likewise.
2188 (target_write_partial): Likewise.
2189 (target_read_partial): Likewise. All callers updated.
2190 (read_whatever_is_readable): Likewise.
2191 (target_write_with_progress): Likewise.
2192 (target_read_alloc_1): Likewise.
2194 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2195 * auxv.c (procfs_xfer_auxv): Likewise.
2196 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2197 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2198 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2199 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2200 * corefile.c (read_memory): Adjust.
2201 * corelow.c (core_xfer_partial): Likewise.
2202 * ctf.c (ctf_xfer_partial): Likewise.
2203 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2205 (darwin_xfer_partial): Likewise.
2206 * exec.c (section_table_xfer_memory_partial): Likewise. All
2208 (exec_xfer_partial): Likewise.
2209 * exec.h (section_table_xfer_memory_partial): Update
2211 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2213 (gnu_xfer_partial): Likewise.
2214 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2215 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2216 (ia64_hpux_xfer_solib_got): Likewise.
2217 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2218 type of 'partial_len' to ULONGEST.
2219 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2220 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2221 (linux_nat_xfer_partial): Likewise.
2222 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2223 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2224 * monitor.c (monitor_xfer_memory): Likewise.
2225 (monitor_xfer_partial): Likewise.
2226 * procfs.c (procfs_xfer_partial): Likewise.
2227 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2228 * record-full.c (record_full_xfer_partial): Likewise.
2229 (record_full_core_xfer_partial): Likewise.
2230 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2231 (gdbsim_xfer_partial): Likewise.
2232 * remote.c (remote_write_bytes_aux): Likewise. All callers
2234 (remote_write_bytes, remote_read_bytes): Likewise. All
2236 (remote_flash_erase): Likewise. All callers updated.
2237 (remote_write_qxfer): Likewise. All callers updated.
2238 (remote_read_qxfer): Likewise. All callers updated.
2239 (remote_xfer_partial): Likewise.
2240 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2241 (rs6000_xfer_shared_libraries): Likewise.
2242 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2243 (sol_thread_xfer_partial): Likewise.
2244 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2245 (sparc_xfer_partial): Likewise.
2246 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2248 (spu_xfer_partial): Likewise.
2249 * spu-multiarch.c (spu_xfer_partial): Likewise.
2250 * tracepoint.c (tfile_xfer_partial): Likewise.
2251 * windows-nat.c (windows_xfer_memory): Likewise.
2252 (windows_xfer_shared_libraries): Likewise.
2253 (windows_xfer_partial): Likewise.
2254 * valprint.c: Replace 'target_xfer_error' with
2255 'target_xfer_status' in comments.
2257 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2259 Checked in by Joel Brobecker <brobecker@adacore.com>.
2260 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2262 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2264 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2265 function parameters.
2267 2014-02-10 Will Newton <will.newton@linaro.org>
2269 * elfread.c (elf_rel_plt_read): Look for a .got section if
2270 looking up .got.plt fails.
2271 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2272 on address passed to elf_gnu_ifunc_record_cache.
2273 (elf_gnu_ifunc_resolve_addr): Likewise.
2274 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2276 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2278 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2279 (X_RETTURN): New macro.
2280 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2282 * sparc64-tdep.c (sparc64_init_abi): Hook
2283 sparc_in_function_epilogue_p.
2285 2014-02-10 Gary Benson <gbenson@redhat.com>
2287 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2288 Rename name_matcher to symbol_matcher.
2290 2014-02-10 Gary Benson <gbenson@redhat.com>
2292 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2293 Use expand_symtabs_file_matcher_ftype and
2294 expand_symtabs_symbol_matcher_ftype.
2296 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2298 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2299 (struct ada_symbol_cache): New.
2300 (ada_free_symbol_cache): Forward declare.
2301 (struct ada_pspace_data): New.
2302 (ada_pspace_data_handle): New static global.
2303 (get_ada_pspace_data, ada_pspace_data_cleanup)
2304 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2305 (cache_space, cache): Delete, now folded inside struct
2307 (ada_get_symbol_cache): New function.
2308 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2310 (_initialize_ada_language): Remove initialization of cache_space.
2311 Move call to observer_attach_inferior_exit up, grouping it
2312 with the other observer registrations inside this function.
2313 Rename command to be more general. Add call to
2314 register_program_space_data_with_cleanup.
2316 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2318 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2319 ada_new_objfile_observer.
2320 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2321 (_initialize_tasks): Update uses of ada_new_objfile_observer
2322 and ada_tasks_normal_stop_observer.
2324 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2326 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2327 returned by the 'Length attribute to integer.
2329 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2331 * ada-lang.c (_initialize_ada_language): Initialize
2332 cache_space obstack.
2334 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2336 * ada-lang.c (HASH_SIZE): New macro.
2337 (struct cache_entry): New type.
2338 (cache_space, cache): New static globals.
2339 (ada_clear_symbol_cache, find_entry): New functions.
2340 (lookup_cached_symbol, cache_symbol): Implement.
2341 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2342 (_initialize_ada_language): Attach ada_new_objfile_observer
2343 and ada_free_objfile_observer.
2345 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2347 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
2348 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
2349 struct block * parameter.
2350 (ada_lookup_symbol_list_worker): Constify local variable "block".
2351 Remove cast which is no longer necessary.
2353 2014-02-10 Doug Evans <xdje42@gmail.com>
2355 Add Guile as an extension language.
2356 * NEWS: Mention Guile scripting.
2357 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
2358 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
2359 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
2360 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
2361 (CLIBS): Add GUILE_LIBS.
2362 (install-guile): New rule.
2363 (guile.o): New rule.
2364 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
2365 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
2366 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
2367 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
2368 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
2369 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
2370 (scm-type.o, scm-utils.o, scm-value.o): New rules.
2371 * configure.ac: New option --with-guile.
2372 * configure: Regenerate.
2373 * config.in: Regenerate.
2374 * auto-load.c: Remove #include "python/python.h". Add #include
2375 "gdb/section-scripts.h".
2376 (source_section_scripts): Handle Guile scripts.
2377 (_initialize_auto_load): Add name of Guile objfile script to
2378 scripts-directory help text.
2379 * breakpoint.c (condition_command): Tweak comment to include Scheme.
2380 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
2381 (struct breakpoint): New member scm_bp_object.
2382 * defs.h (enum command_control_type): New value guile_control.
2383 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
2385 (show_user): Update comment.
2386 (_initialize_cli_cmds): Update help text for "show user". Update help
2387 text for max-user-call-depth.
2388 * cli/cli-script.c: Remove #include "python/python.h". Add #include
2390 (multi_line_command_p): Add guile_control.
2391 (print_command_lines): Handle guile_control.
2392 (execute_control_command, recurse_read_control_structure): Ditto.
2393 (process_next_line): Recognize "guile" commands.
2394 * disasm.c (gdb_disassemble_info): Make non-static.
2395 * disasm.h: #include "dis-asm.h".
2396 (struct gdbarch): Add forward decl.
2397 (gdb_disassemble_info): Declare.
2398 * extension.c: #include "guile/guile.h".
2399 (extension_languages): Add guile.
2400 (get_ext_lang_defn): Handle EXT_LANG_GDB.
2401 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
2402 * gdbtypes.c (get_unsigned_type_max): New function.
2403 (get_signed_type_minmax): New function.
2404 * gdbtypes.h (get_unsigned_type_max): Declare.
2405 (get_signed_type_minmax): Declare.
2406 * guile/README: New file.
2407 * guile/guile-internal.h: New file.
2408 * guile/guile.c: New file.
2409 * guile/guile.h: New file.
2410 * guile/scm-arch.c: New file.
2411 * guile/scm-auto-load.c: New file.
2412 * guile/scm-block.c: New file.
2413 * guile/scm-breakpoint.c: New file.
2414 * guile/scm-disasm.c: New file.
2415 * guile/scm-exception.c: New file.
2416 * guile/scm-frame.c: New file.
2417 * guile/scm-gsmob.c: New file.
2418 * guile/scm-iterator.c: New file.
2419 * guile/scm-lazy-string.c: New file.
2420 * guile/scm-math.c: New file.
2421 * guile/scm-objfile.c: New file.
2422 * guile/scm-ports.c: New file.
2423 * guile/scm-pretty-print.c: New file.
2424 * guile/scm-safe-call.c: New file.
2425 * guile/scm-string.c: New file.
2426 * guile/scm-symbol.c: New file.
2427 * guile/scm-symtab.c: New file.
2428 * guile/scm-type.c: New file.
2429 * guile/scm-utils.c: New file.
2430 * guile/scm-value.c: New file.
2431 * guile/lib/gdb.scm: New file.
2432 * guile/lib/gdb/boot.scm: New file.
2433 * guile/lib/gdb/experimental.scm: New file.
2434 * guile/lib/gdb/init.scm: New file.
2435 * guile/lib/gdb/iterator.scm: New file.
2436 * guile/lib/gdb/printing.scm: New file.
2437 * guile/lib/gdb/types.scm: New file.
2438 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
2439 (VPATH): Add $(GUILE_SRCDIR).
2440 (GUILE_DIR): New variable.
2441 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
2442 (all): Add stamp-guile dependency.
2443 (stamp-guile): New rule.
2444 (clean-guile, install-guile, uninstall-guile): New rules.
2445 (install-only): Add install-guile dependency.
2446 (uninstall): Add uninstall-guile dependency.
2447 (clean): Add clean-guile dependency.
2449 2014-02-09 Doug Evans <xdje42@gmail.com>
2451 Revert this patch (which I approved, mea culpa).
2453 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2455 * Makefile.in (all-lib): Remove.
2456 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2458 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2460 Fix Python stack corruption.
2461 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
2464 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2466 * Makefile.in (all-lib): Remove.
2467 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2469 2014-02-07 Doug Evans <dje@google.com>
2471 * extension-priv.h (extension_language_script_ops): Add comment.
2472 (extension_language_ops): Add comment.
2473 (active_ext_lang_state): Fix typo in comment.
2475 2014-02-07 Pedro Alves <palves@redhat.com>
2477 * infrun.c (handle_signal_stop) <signal arrives while stepping
2478 over a breakpoint>: Switch back to the stepping thread.
2480 2014-02-07 Yao Qi <yao@codesourcery.com>
2482 * target.c (target_xfer_partial): Return zero if LEN is zero.
2484 2014-02-07 Yao Qi <yao@codesourcery.com>
2486 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
2487 (ld_so_xfer_auxv): Likewise.
2488 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2489 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2490 * corelow.c (core_xfer_partial): Likewise.
2491 * ctf.c (ctf_xfer_partial): Likewise.
2492 * darwin-nat.c (darwin_read_dyld_info): Likewise.
2493 (darwin_xfer_partial): Likewise.
2494 * exec.c (exec_xfer_partial): Likewise.
2495 * gnu-nat.c (gnu_xfer_partial): Likewise.
2496 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
2497 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2498 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2499 * linux-nat.c (linux_xfer_siginfo): Likewise.
2500 (linux_proc_xfer_spu): Likewise.
2501 * procfs.c (procfs_xfer_partial): Likewise.
2502 * record-full.c (record_full_xfer_partial): Likewise.
2503 (record_full_core_xfer_partial): Likewise.
2504 * remote-sim.c (gdbsim_xfer_partial): Likewise.
2505 * remote.c (remote_write_qxfer): Likewise.
2506 (remote_write_qxfer, remote_read_qxfer): Likewise.
2507 (remote_xfer_partial): Likewise.
2508 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2509 (rs6000_xfer_shared_libraries): Likewise.
2510 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2511 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2512 (spu_xfer_partial): Likewise.
2513 * target.c (memory_xfer_partial_1): Likewise.
2514 * tracepoint.c (tfile_xfer_partial): Likewise.
2515 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
2516 (windows_xfer_partial): Likewise.
2518 2014-02-07 Yao Qi <yao@codesourcery.com>
2520 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
2522 (core_xfer_shared_libraries_aix): Likewise.
2523 * gdbarch.c, gdbarch.h: Regenerated.
2524 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
2525 ULONGEST. Change 'len_avail' type to ULONGEST.
2526 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
2527 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
2529 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
2531 2014-02-07 Yao Qi <yao@codesourcery.com>
2533 * corefile.c (memory_error): Get 'exception' from ERR and pass
2534 'exception' to throw_error.
2536 2014-02-06 Doug Evans <xdje42@gmail.com>
2538 * configure.ac (libpython checking): Remove all but python.o from
2539 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
2540 * configure: Regenerate.
2542 * Makefile.in (SFILES): Add extension.c.
2543 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
2544 (COMMON_OBS): Add extension.o.
2545 * extension.h: New file.
2546 * extension-priv.h: New file.
2547 * extension.c: New file.
2549 * python/python-internal.h: #include "extension.h".
2550 (gdbpy_auto_load_enabled): Declare.
2551 (gdbpy_apply_val_pretty_printer): Declare.
2552 (gdbpy_apply_frame_filter): Declare.
2553 (gdbpy_preserve_values): Declare.
2554 (gdbpy_breakpoint_cond_says_stop): Declare.
2555 (gdbpy_breakpoint_has_cond): Declare.
2556 (void source_python_script_for_objfile): Delete.
2557 * python/python.c: #include "extension-priv.h".
2558 Delete inclusion of "observer.h".
2559 (extension_language_python): Moved here and renamed from
2560 script_language_python in py-auto-load.c.
2561 Redefined to be of type extension_language_defn.
2562 (python_extension_script_ops): New global.
2563 (python_extension_ops): New global.
2564 (struct python_env): New member previous_active.
2565 (restore_python_env): Call restore_active_ext_lang.
2566 (ensure_python_env): Call set_active_ext_lang.
2567 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
2569 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
2571 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
2573 (gdbpy_eval_from_control_command): Renamed from
2574 eval_python_from_control_command, made static. New arg extlang.
2575 (gdbpy_source_script) Renamed from source_python_script, made static.
2577 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
2578 result to int. New arg extlang.
2579 (gdbpy_source_objfile_script): Renamed from
2580 source_python_script_for_objfile, made static. New arg extlang.
2581 (gdbpy_start_type_printers): Renamed from start_type_printers, made
2582 static. New args extlang, extlang_printers. Change result type to
2584 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
2585 static. New arg extlang. Rename arg printers to extlang_printers
2586 and change type to ext_lang_type_printers *.
2587 (gdbpy_free_type_printers): Renamed from free_type_printers, made
2588 static. Replace argument arg with extlang, extlang_printers.
2589 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
2590 (!HAVE_PYTHON, source_python_script): Delete.
2591 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
2592 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
2593 (!HAVE_PYTHON, start_type_printers): Delete.
2594 (!HAVE_PYTHON, apply_type_printers): Delete.
2595 (!HAVE_PYTHON, free_type_printers): Delete.
2596 (_initialize_python): Delete call to observer_attach_before_prompt.
2597 (finalize_python): Set/restore active extension language.
2598 (gdbpy_finish_initialization) Renamed from
2599 finish_python_initialization, made static. New arg extlang.
2600 (gdbpy_initialized): New function.
2601 * python/python.h: #include "extension.h". Delete #include
2602 "value.h", "mi/mi-cmds.h".
2603 (extension_language_python): Declare.
2604 (GDBPY_AUTO_FILE_NAME): Delete.
2605 (enum py_bt_status): Moved to extension.h and renamed to
2607 (enum frame_filter_flags): Moved to extension.h.
2608 (enum py_frame_args): Moved to extension.h and renamed to
2609 ext_lang_frame_args.
2610 (finish_python_initialization): Delete.
2611 (eval_python_from_control_command): Delete.
2612 (source_python_script): Delete.
2613 (apply_val_pretty_printer): Delete.
2614 (apply_frame_filter): Delete.
2615 (preserve_python_values): Delete.
2616 (gdbpy_script_language_defn): Delete.
2617 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
2618 (start_type_printers, apply_type_printers, free_type_printers): Delete.
2620 * auto-load.c: #include "extension.h".
2621 (GDB_AUTO_FILE_NAME): Delete.
2622 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
2623 (script_language_gdb): Delete, moved to extension.c and renamed to
2624 extension_language_gdb.
2625 (source_gdb_script_for_objfile): Delete.
2626 (auto_load_pspace_info): New member unsupported_script_warning_printed.
2627 (loaded_script): Change type of language member to
2628 struct extension_language_defn *.
2629 (init_loaded_scripts_info): Initialize
2630 unsupported_script_warning_printed.
2631 (maybe_add_script): Make static. Change type of language arg to
2632 struct extension_language_defn *.
2633 (clear_section_scripts): Reset unsupported_script_warning_printed.
2634 (auto_load_objfile_script_1): Rewrite to use extension language API.
2635 (auto_load_objfile_script): Make public. Remove support-compiled-in
2636 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
2637 (source_section_scripts): Rewrite to use extension language API.
2638 (load_auto_scripts_for_objfile): Rewrite to use
2639 auto_load_scripts_for_objfile.
2640 (collect_matching_scripts_data): Change type of language member to
2641 struct extension_language_defn *.
2642 (auto_load_info_scripts): Change type of language arg to
2643 struct extension_language_defn *.
2644 (unsupported_script_warning_print): New function.
2645 (script_not_found_warning_print): Make static.
2646 (_initialize_auto_load): Rewrite construction of scripts-directory
2648 * auto-load.h (struct objfile): Add forward decl.
2649 (struct script_language): Delete.
2650 (struct auto_load_pspace_info): Add forward decl.
2651 (struct extension_language_defn): Add forward decl.
2652 (maybe_add_script): Delete.
2653 (auto_load_objfile_script): Declare.
2654 (script_not_found_warning_print): Delete.
2655 (auto_load_info_scripts): Update prototype.
2656 (auto_load_gdb_scripts_enabled): Declare.
2657 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
2658 auto_load_python_scripts_enabled and made public.
2659 (script_language_python): Delete, moved to python.c.
2660 (gdbpy_script_language_defn): Delete.
2661 (info_auto_load_python_scripts): Update to use
2662 extension_language_python.
2664 * breakpoint.c (condition_command): Replace call to
2665 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
2666 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
2667 with call to breakpoint_ext_lang_cond_says_stop.
2668 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
2669 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
2670 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
2671 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
2673 (local_setattro): Print name of extension language with existing
2676 * valprint.c (val_print, value_print): Update to call
2677 apply_ext_lang_val_pretty_printer.
2678 * cp-valprint.c (cp_print_value): Update call to
2679 apply_ext_lang_val_pretty_printer.
2680 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
2681 (gdbpy_apply_val_pretty_printer): Renamed from
2682 apply_val_pretty_printer. New arg extlang.
2683 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
2685 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
2686 extension language API.
2687 * cli/cli-script.c (execute_control_command): Update to call
2688 eval_ext_lang_from_control_command.
2690 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
2691 enum ext_lang_bt_status values. Update call to
2692 apply_ext_lang_frame_filter.
2693 (mi_cmd_stack_list_locals): Ditto.
2694 (mi_cmd_stack_list_args): Ditto.
2695 (mi_cmd_stack_list_variables): Ditto.
2696 * mi/mi-main.c: Delete #include "python/python-internal.h".
2697 Add #include "extension.h".
2698 (mi_cmd_list_features): Replace reference to python internal variable
2699 gdb_python_initialized with call to ext_lang_initialized_p.
2701 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
2702 Update to use enum ext_lang_frame_args. Update to call
2703 apply_ext_lang_frame_filter.
2704 * python/py-framefilter.c (extract_sym): Update to use enum
2706 (extract_value, py_print_type, py_print_value): Ditto.
2707 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
2708 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
2709 (py_print_frame): Ditto.
2710 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
2711 New arg extlang. Update to use enum ext_lang_bt_status.
2713 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
2714 finish_python_initialization. Replace with call to
2715 finish_ext_lang_initialization.
2717 * typeprint.c (do_free_global_table): Update to call
2718 free_ext_lang_type_printers.
2719 (create_global_typedef_table): Update to call
2720 start_ext_lang_type_printers.
2721 (find_global_typedef): Update to call apply_ext_lang_type_printers.
2722 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
2723 (type_print_options): Change type of global_printers from "void *"
2724 to "struct ext_lang_type_printers *".
2726 * value.c (preserve_values): Update to call preserve_ext_lang_values.
2727 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
2728 (gdbpy_preserve_values): Renamed from preserve_python_values.
2730 (!HAVE_PYTHON, preserve_python_values): Delete.
2732 * utils.c (quit_flag): Delete, moved to extension.c.
2733 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
2736 * eval.c: Delete #include "python/python.h".
2737 * main.c: Delete #include "python/python.h".
2739 * defs.h: Update comment.
2741 2014-02-06 Joel Brobecker <brobecker@adacore.com>
2745 2014-02-05 Mark Kettenis <kettenis@gnu.org>
2747 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
2750 2014-02-05 Yao Qi <yao@codesourcery.com>
2752 * remote.c (remote_pass_signals): Remove local 'buf' and use
2754 (remote_program_signals): Likewise.
2756 2014-02-05 Yao Qi <yao@codesourcery.com>
2758 * ctf.c: Include "inferior.h" and "gdbthread.h".
2759 (CTF_PID): A new macro.
2760 (ctf_open): Call inferior_appeared and add_thread_silent.
2761 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
2762 (ctf_thread_alive): New function.
2763 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
2765 2014-02-05 Yao Qi <yao@codesourcery.com>
2769 2013-05-24 Yao Qi <yao@codesourcery.com>
2771 * tracepoint.c (TFILE_PID): Remove.
2772 (tfile_open): Don't add thread and inferior.
2773 (tfile_close): Don't set 'inferior_ptid'. Don't call
2774 exit_inferior_silent.
2775 (tfile_thread_alive): Remove.
2776 (init_tfile_ops): Don't set field 'to_thread_alive' of
2779 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
2781 * remote.c (remote_start_remote): Call remote_check_symbols even
2782 if only symbol-file (not file) has been given.
2784 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2786 * gdbarch.sh (skip_entrypoint): New callback.
2787 * gdbarch.c, gdbarch.h: Regenerate.
2788 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
2789 * infrun.c (fill_in_stop_func): Likewise.
2790 * ppc-linux-tdep.c: Include "elf/ppc64.h".
2791 (ppc_elfv2_elf_make_msymbol_special): New function.
2792 (ppc_elfv2_skip_entrypoint): Likewise.
2793 (ppc_linux_init_abi): Install them for ELFv2.
2795 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2797 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
2798 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
2799 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
2800 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
2801 structures returned in GPRs.
2803 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2805 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
2806 offset to the stack parameter list for the ELFv2 ABI.
2808 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2810 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
2811 set_gdbarch_convert_from_func_ptr_addr and
2812 set_gdbarch_elf_make_msymbol_special for ELFv1.
2813 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
2814 function descriptors on ELFv1.
2815 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
2816 set up r12 at function entry.
2818 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2820 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
2821 (struct gdbarch_tdep): New member elf_abi.
2823 * rs6000-tdep.c: Include "elf/ppc64.h".
2824 (rs6000_gdbarch_init): Detect ELF ABI version.
2826 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2828 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
2829 within a register pair holding a DFP 128-bit value on little-endian.
2830 (ppc64_sysv_abi_return_value_base): Likewise.
2831 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
2832 (dfp_pseudo_register_write): Likewise.
2834 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2836 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
2837 offset on little-endian when passing _Decimal32.
2838 (ppc64_sysv_abi_return_value_base): Likewise for return values.
2840 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2842 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
2843 of the overlapped FP register within the VSX register on little-
2845 (efpr_pseudo_register_write): Likewise.
2847 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2849 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
2850 offset on little-endian when passing small structures.
2852 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2854 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
2855 (struct ppc64_sysv_argpos): New data structure.
2856 (ppc64_sysv_abi_push_float): Remove.
2857 (ppc64_sysv_abi_push_val): New function.
2858 (ppc64_sysv_abi_push_integer): Likewise.
2859 (ppc64_sysv_abi_push_freg): Likewise.
2860 (ppc64_sysv_abi_push_vreg): Likewise.
2861 (ppc64_sysv_abi_push_param): Likewise.
2862 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
2863 (ppc64_sysv_abi_return_value_base): New function.
2864 (ppc64_sysv_abi_return_value): Refactor to use it.
2866 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2868 * NEWS: Document new target powerpc64le-*-linux*.
2870 2014-02-04 Mark Kettenis <kettenis@gnu.org>
2872 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
2873 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
2875 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
2876 register set used in ELF core dumps. Add floating-point register set.
2878 2014-02-03 Kevin Buettner <kevinb@redhat.com>
2880 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
2881 dwarf2_to_gdb[] table using symbolic constants. Adjust
2882 penultimate entry from number representing the PC register
2883 to symbolic constant representing the MDR register. Add
2884 constant for the PC register to the end of the table.
2886 2014-02-03 Mark Kettenis <kettenis@gnu.org>
2888 * bsd-kvm.c: Include <sys/param.h>
2890 2014-02-03 Mark Kettenis <kettenis@gnu.org>
2892 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
2894 2014-01-31 Joel Brobecker <brobecker@adacore.com>
2896 * ada-lang.h (clear_ada_sym_cache): Delete.
2898 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
2900 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
2902 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2904 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
2905 the sigreturn register save area only if the syscall is
2908 2014-01-29 Joel Brobecker <brobecker@adacore.com>
2910 * valops.c (value_slice): Minor reformatting.
2912 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
2914 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
2916 2014-01-28 Joel Brobecker <brobecker@adacore.com>
2918 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
2920 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
2921 (ada_ignore_descriptive_types_p): New static global.
2922 (find_parallel_type_by_descriptive_type): Return immediately
2923 if ada_ignore_descriptive_types_p is set.
2924 (_initialize_ada_language): Register new commands "maintenance
2925 set ada", "maintenance show ada", "maintenance set ada
2926 ignore-descriptive-types" and "maintenance show ada
2927 ignore-descriptive-types".
2928 * NEWS: Add entry for new "maint ada set/show
2929 ignore-descriptive-types" commands.
2931 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
2933 * record-btrace.c (record_btrace_close): Call btrace_teardown
2936 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2938 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
2941 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2943 * ada-typeprint (type_is_full_subrange_of_target_type):
2945 (print_range): Add parameter bounds_prefered_p. If not set,
2946 try printing range types using the name of their base type.
2947 (print_range_type): Add parameter bounds_prefered_p.
2948 Use it in call to print_range.
2949 (print_array_type, ada_print_type): Update calls to print_range
2950 and print_range_type.
2952 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2954 * ada-typeprint.c (print_array_type, print_choices, print_range)
2955 (print_range_bound, print_dynamic_range_bound, print_range_type):
2958 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2960 * ada-typeprint.c (print_range): Add missing empty line
2961 after local declaration.
2963 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2965 * ada-valprint.c (print_optional_low_bound): Get index_type's
2966 target type for as long as it is a TYPE_CODE_RANGE.
2968 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2970 * procfs.c (procfs_make_note_section): Remove assertion and
2973 2014-01-24 Yao Qi <yao@codesourcery.com>
2975 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
2976 * corelow.c (get_core_siginfo): Likewise.
2978 2014-01-24 Yao Qi <yao@codesourcery.com>
2980 * remote.c (remote_write_bytes_aux): Change type of 'len' to
2981 ULONGEST. Don't check 'len' is negative.
2982 (remote_write_bytes): Change type of 'len' to ULONGEST.
2984 2014-01-23 Tom Tromey <tromey@redhat.com>
2987 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
2988 Handle exception from frame.block.
2989 (FrameVars.fetch_frame_locals): Likewise.
2991 2014-01-23 Tom Tromey <tromey@redhat.com>
2994 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
2995 on a NULL pointer. Move "goto error" to correct place.
2997 2014-01-23 Tom Tromey <tromey@redhat.com>
3000 * python/py-framefilter.c (apply_frame_filter): Call
3001 ensure_python_env after computing gdbarch.
3003 2014-01-23 Yao Qi <yao@codesourcery.com>
3005 * target.c (raw_memory_xfer_partial): Change argument type
3006 from void * to gdb_byte *.
3007 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
3009 2014-01-22 Doug Evans <dje@google.com>
3011 New gdbserver option --debug-format=timestamp.
3014 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3016 * syscalls/s390x-linux.xml: New file.
3017 * syscalls/s390-linux.xml: New file.
3018 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
3019 (XML_SYSCALL_FILENAME_S390X): Likewise.
3020 (op_svc): New enum value for SVC opcode.
3021 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
3022 (s390_linux_get_syscall_number): New function.
3023 (s390_gdbarch_init): Register '*get_syscall_number' and the
3024 syscall xml file name.
3025 * data-directory/Makefile.in (SYSCALLS_FILES): Add
3026 "s390-linux.xml" and "s390x-linux.xml".
3027 * NEWS: Announce new feature.
3029 2014-01-22 Baruch Siach <baruch@tkos.co.il>
3031 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
3033 2014-01-22 Pedro Alves <palves@redhat.com>
3035 * xtensa-config.c: Include defs.h.
3037 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3039 * common/common-utils.h: Add "ARI:" comment beside __func__
3042 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3044 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
3045 documentation a bit.
3047 2014-01-21 Roland McGrath <mcgrathr@google.com>
3049 * configure.ac: Call AM_PROG_INSTALL_STRIP.
3050 * configure: Regenerate.
3051 * aclocal.m4: Regenerate.
3052 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
3053 New substituted variables.
3054 (install-strip): New target.
3055 (INSTALL_SCRIPT): New substituted variable.
3056 (FLAGS_TO_PASS): Add it.
3057 (install-only): Use $(INSTALL_SCRIPT) rather than
3058 $(INSTALL_PROGRAM) for gcore.
3060 2014-01-20 Tom Tromey <tromey@redhat.com>
3062 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
3065 2014-01-20 Tom Tromey <tromey@redhat.com>
3067 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
3068 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
3069 (deprecated_cmd_warning, complete_on_cmdlist): Update.
3070 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
3071 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3072 (struct cmd_list_element) <flags>: Remove.
3073 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3074 doc_allocated>: New fields.
3075 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3077 * maint.c (maintenance_do_deprecate): Update.
3078 * top.c (execute_command): Update.
3080 2014-01-20 Baruch Siach <baruch@tkos.co.il>
3082 * xtensa-linux-nat.c: Include asm/ptrace.h.
3084 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3086 * Makefile.in (SFILES): Add d-support.c.
3087 (COMMON_OBS): Add d-support.o.
3088 * d-lang.h (d_parse_symbol): Add comment, now defined in
3090 * d-lang.c (parse_call_convention)
3091 (parse_attributes, parse_function_types)
3092 (parse_function_args, parse_type, parse_identifier)
3093 (call_convention_p, d_parse_symbol): Move functions to ...
3094 * d-support.c: ... New file.
3096 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3098 * d-lang.h (d_parse_symbol): Add declaration.
3099 * d-lang.c (extract_identifiers)
3100 (extract_type_info): Remove functions.
3101 (parse_call_convention, parse_attributes)
3102 (parse_function_types, parse_function_args)
3103 (parse_type, parse_identifier, call_convention_p)
3104 (d_parse_symbol): New functions.
3105 (d_demangle): Use d_parse_symbol to demangle D symbols.
3107 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3109 * d-lang.h (struct builtin_d_type): New data type.
3110 (builtin_d_type): Add declaration.
3111 * d-lang.c (d_language_arch_info, build_d_types)
3112 (builtin_d_type): New functions.
3113 (enum d_primitive_types): New data type.
3114 (d_language_defn): Change c_language_arch_info to
3115 d_language_arch_info.
3116 (d_type_data): New static variable.
3117 (_initialize_d_language): Initialize d_type_data.
3119 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3121 * d-lang.h (d_main_name): Add declaration.
3122 * d-lang.c (d_main_name): New function.
3123 * symtab.c (find_main_name): Add call to d_main_name.
3125 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3127 * d-lang.c (d_language_defn): Change macro_expansion_c to
3130 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3132 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3134 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3136 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3137 gdb_exception" declaration.
3138 * remote.c (getpkt_or_notif_sane): Likewise.
3140 2014-01-17 Doug Evans <dje@google.com>
3142 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3143 function, contents of dirnames_to_char_ptr_vec_append moved here.
3144 (delim_string_to_char_ptr_vec): New function.
3145 (dirnames_to_char_ptr_vec_append): Rewrite.
3146 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3148 2014-01-17 Doug Evans <dje@google.com>
3150 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3152 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3153 #include "common-utils.h".
3154 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3155 * common/vec.h (VEC_ASSERT_PASS): Update.
3156 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3157 (MACH_CHECK_ERROR): Update.
3159 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3161 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3163 * gdbarch.h: Regenerate.
3165 2014-01-16 Tom Tromey <tromey@redhat.com>
3167 * value.c (struct value) <regnum>: Move earlier.
3169 2014-01-16 Tom Tromey <tromey@redhat.com>
3171 * remote.c (extended_remote_create_inferior): Rename from
3172 extended_remote_create_inferior_1. Add "ops" argument. Remove
3175 2014-01-16 Pedro Alves <palves@redhat.com>
3177 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3178 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3181 2014-01-16 Doug Evans <dje@google.com>
3183 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3185 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3187 * btrace.h (btrace_thread_flag): New.
3188 (struct btrace_thread_info) <flags>: New.
3189 * record-btrace.c (record_btrace_resume_thread)
3190 (record_btrace_find_thread_to_move, btrace_step_no_history)
3191 (btrace_step_stopped, record_btrace_start_replaying)
3192 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3193 (record_btrace_find_resume_thread): New.
3194 (record_btrace_resume, record_btrace_wait): Extend.
3195 (record_btrace_can_execute_reverse): New.
3196 (record_btrace_open): Fail in non-stop mode.
3197 (record_btrace_set_replay): Split into this, ...
3198 (record_btrace_stop_replaying): ... this, ...
3199 (record_btrace_clear_histories): ... and this.
3200 (init_record_btrace_ops): Init to_can_execute_reverse.
3201 * NEWS: Announce it.
3203 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3205 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3206 (forward_target_decr_pc_after_break)
3207 (target_decr_pc_after_break): New.
3208 * target.c (forward_target_decr_pc_after_break)
3209 (target_decr_pc_after_break): New.
3210 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3211 instead of gdbarch_decr_pc_after_break.
3212 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3213 instead of gdbarch_decr_pc_after_break.
3214 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3215 instead of gdbarch_decr_pc_after_break.
3216 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3217 instead of gdbarch_decr_pc_after_break.
3218 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3219 instead of gdbarch_decr_pc_after_break.
3220 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3221 instead of gdbarch_decr_pc_after_break.
3223 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3225 * btrace.c: Include regcache.h.
3226 (btrace_add_pc): New.
3227 (btrace_enable): Call btrace_add_pc.
3228 (btrace_is_empty): New.
3229 * btrace.h (btrace_is_empty): New.
3230 * record-btrace.c (require_btrace, record_btrace_info): Call
3233 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3235 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3236 Support delta reads.
3237 (linux_disable_btrace): Change return type.
3238 * common/linux-btrace.h (linux_read_btrace): Change parameters
3239 and return type to allow error reporting. Update users.
3240 (linux_disable_btrace): Change return type. Update users.
3241 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3243 (btrace_error): New.
3244 (btrace_block) <begin>: Comment on BEGIN == 0.
3245 * btrace.c (btrace_compute_ftrace): Start from the end of
3247 (btrace_stitch_trace, btrace_clear_history): New.
3248 (btrace_fetch): Read delta trace, return if replaying.
3249 (btrace_clear): Move clear history code to btrace_clear_history.
3250 (parse_xml_btrace): Throw an error if parsing failed.
3251 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3252 and return type to allow error reporting.
3253 (target_read_btrace): Change parameters and return type to allow
3255 * target.c (target_read_btrace): Update.
3256 * remote.c (remote_read_btrace): Support delta reads. Pass
3258 * NEWS: Announce it.
3260 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3262 * record.h (record_btrace_frame_unwind)
3263 (record_btrace_tailcall_frame_unwind): New declarations.
3264 * dwarf2-frame: Include record.h
3265 (dwarf2_frame_cfa): Throw an error for btrace frames.
3266 * record-btrace.c: Include hashtab.h.
3267 (btrace_get_bfun_name): New.
3268 (btrace_call_history): Call btrace_get_bfun_name.
3269 (struct btrace_frame_cache): New.
3271 (bfcache_hash, bfcache_eq, bfcache_new): New.
3272 (btrace_get_frame_function): New.
3273 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3274 (record_btrace_frame_this_id): Compute own id.
3275 (record_btrace_frame_prev_register): Provide PC, throw_error
3276 for all other registers.
3277 (record_btrace_frame_sniffer): Detect btrace frames.
3278 (record_btrace_tailcall_frame_sniffer): New.
3279 (record_btrace_frame_dealloc_cache): New.
3280 (record_btrace_frame_unwind): Add new functions.
3281 (record_btrace_tailcall_frame_unwind): New.
3282 (_initialize_record_btrace): Allocate cache.
3283 * btrace.c (btrace_clear): Call reinit_frame_cache.
3284 * NEWS: Announce it.
3286 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3288 * record-btrace.c (record_btrace_set_replay)
3289 (record_btrace_goto_begin, record_btrace_goto_end)
3290 (record_btrace_goto): New.
3291 (init_record_btrace_ops): Initialize them.
3292 * NEWS: Announce it.
3294 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3296 * record-btrace.c (record_btrace_find_new_threads)
3297 (record_btrace_thread_alive): New.
3298 (init_record_btrace_ops): Initialize to_find_new_threads and
3301 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3303 * record-btrace.c (record_btrace_resume): New.
3304 (record_btrace_wait): New.
3305 (init_record_btrace_ops): Initialize to_wait and to_resume.
3307 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3309 * record-btrace.c (record_btrace_xfer_partial)
3310 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3311 (record_btrace_allow_memory_access): New.
3312 (init_record_btrace_ops): Initialize new methods.
3313 * target.c (raw_memory_xfer_partial): Bail out if target reports
3314 that this memory is not available.
3316 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3318 * target.h (target_ops) <to_insert_breakpoint>
3319 <to_remove_breakpoint>: Add target_ops parameter.
3320 (forward_target_insert_breakpoint): New.
3321 (forward_target_remove_breakpoint): New.
3322 (memory_remove_breakpoint, memory_insert_breakpoint):
3323 Add target_ops parameter.
3324 * target.c (target_insert_breakpoint): Split into this and ...
3325 (forward_target_insert_breakpoint): ... this.
3326 (target_remove_breakpoint): Split into this and ...
3327 (forward_target_remove_breakpoint): ... this.
3328 (debug_to_insert_breakpoint): Add target_ops parameter.
3329 Call forward_target_insert_breakpoint.
3330 (debug_to_remove_breakpoint): Add target_ops parameter.
3331 Call forward_target_remove_breakpoint.
3332 (update_current_target): Do not inherit or default to_insert_breakpoint
3333 and to_remove_breakpoint.
3334 * corelow.c (ignore): Add target_ops parameter.
3335 * exec.c (ignore): Add target_ops parameter.
3336 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3337 Add target_ops parameter.
3338 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3339 Add target_ops parameter.
3340 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3341 Add target_ops parameter.
3342 * record-full.c (record_full_beneath_to_insert_breakpoint)
3343 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3344 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3345 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
3346 (record_full_core_remove_breakpoint): Add target_ops parameter.
3348 (record_full_beneath_to_insert_breakpoint_ops)
3349 (record_full_beneath_to_remove_breakpoint_ops)
3350 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
3351 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
3352 tmp_to_remove_breakpoint_ops,
3353 record_full_beneath_to_insert_breakpoint_ops, and
3354 record_full_beneath_to_remove_breakpoint_ops.
3355 * remote-m32r-sdi.c (m32r_insert_breakpoint)
3356 (m32r_remove_breakpoint): Add target_ops parameter.
3357 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
3358 Add target_ops parameter.
3359 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
3360 Add target_ops parameter.
3362 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3363 Markus Metzger <markus.t.metzger@intel.com>
3365 * record-btrace.c: Include frame-unwind.h.
3366 (record_btrace_frame_unwind_stop_reason)
3367 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
3368 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
3370 (init_record_btrace_ops): Install it.
3372 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3374 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
3377 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3379 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
3382 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3384 * frame-unwind.c: Include target.h.
3385 (frame_unwind_try_unwinder): New function with code from ...
3386 (frame_unwind_find_by_frame): ... here. New variable
3387 unwinder_from_target, call also target_get_unwinder)
3388 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
3389 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
3390 * target.h (struct target_ops): New fields to_get_unwinder and
3391 to_get_tailcall_unwinder.
3392 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
3394 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3396 * record-btrace.c (record_btrace_fetch_registers)
3397 (record_btrace_store_registers)
3398 (record_btrace_to_prepare_to_store): New.
3399 (init_record_btrace_ops): Add the above.
3401 2014-01-16 Tom Tromey <tromey@redhat.com>
3403 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
3404 * target.h (struct target_ops) <to_prepare_to_store>: Add
3406 (target_prepare_to_store): Add argument.
3407 * target.c (debug_to_prepare_to_store): Add argument.
3408 (update_current_target): Update.
3409 * remote.c (remote_prepare_to_store): Add 'self' argument.
3410 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
3411 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
3412 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
3413 * record-full.c (record_full_core_prepare_to_store): Add 'self'
3415 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
3416 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
3417 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
3418 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
3419 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
3421 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3423 * btrace.h (replay) <replay>: New.
3424 (btrace_is_replaying): New.
3425 * btrace.c (btrace_clear): Free replay iterator.
3426 (btrace_is_replaying): New.
3427 * record-btrace.c (record_btrace_is_replaying): New.
3428 (record_btrace_info): Print insn number if replaying.
3429 (record_btrace_insn_history): Start at replay position.
3430 (record_btrace_call_history): Start at replay position.
3431 (init_record_btrace_ops): Init to_record_is_replaying.
3433 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3435 * record-btrace.c (record_btrace_insn_history_range): Include
3437 (record_btrace_insn_history_from): Adjust range.
3438 (record_btrace_call_history_range): Include
3440 (record_btrace_call_history_from): Adjust range.
3441 * NEWS: Announce changes.
3443 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3445 * record.h (enum record_print_flag)
3446 <record_print_indent_calls>: New.
3447 * record.c (get_call_history_modifiers): Recognize /c modifier.
3448 (_initialize_record): Document /c modifier.
3449 * record-btrace.c (btrace_call_history): Add btinfo parameter.
3450 Reorder fields. Optionally indent the function name. Update
3452 * NEWS: Announce changes.
3454 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3456 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
3458 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3460 * btrace.c (ftrace_new_function): Start counting at one.
3461 * record-btrace.c (record_btrace_info): Adjust number of calls
3463 * NEWS: Announce it.
3465 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3467 * record-btrace.c (btrace_call_history_insn_range): Print
3468 insn range as [begin, end].
3470 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3472 * btrace.h (struct btrace_func_link): New.
3473 (enum btrace_function_flag): New.
3474 (struct btrace_inst): Rename to ...
3475 (struct btrace_insn): ...this. Update all users.
3476 (struct btrace_func) <ibegin, iend>: Remove.
3477 (struct btrace_func_link): New.
3478 (struct btrace_func): Rename to ...
3479 (struct btrace_function): ...this. Update all users.
3480 (struct btrace_function) <segment, flow, up, insn, insn_offset)
3481 (number, level, flags>: New.
3482 (struct btrace_insn_iterator): Rename to ...
3483 (struct btrace_insn_history): ...this.
3485 (struct btrace_insn_iterator, btrace_call_iterator): New.
3486 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
3487 (struct btrace_target_info) <begin, end, level>
3488 <insn_history, call_history>: New.
3489 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3490 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3491 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3492 (btrace_call_number, btrace_call_begin, btrace_call_end)
3493 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3494 (btrace_find_function_by_number, btrace_set_insn_history)
3495 (btrace_set_call_history): New.
3496 * btrace.c (btrace_init_insn_iterator)
3497 (btrace_init_func_iterator, compute_itrace): Remove.
3498 (ftrace_print_function_name, ftrace_print_filename)
3499 (ftrace_skip_file): Change
3501 (ftrace_init_func): Remove.
3502 (ftrace_debug): Use new btrace_function fields.
3503 (ftrace_function_switched): Also consider gaining and
3504 losing symbol information).
3505 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
3506 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
3507 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
3509 (ftrace_new_function): Move. Remove debug print.
3510 (ftrace_update_lines, ftrace_update_insns): New.
3511 (ftrace_update_function): Check for call, ret, and jump.
3512 (compute_ftrace): Renamed to ...
3513 (btrace_compute_ftrace): ...this. Rewritten to compute call
3515 (btrace_fetch, btrace_clear): Updated.
3516 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3517 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3518 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3519 (btrace_call_number, btrace_call_begin, btrace_call_end)
3520 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3521 (btrace_find_function_by_number, btrace_set_insn_history)
3522 (btrace_set_call_history): New.
3523 * record-btrace.c (require_btrace): Use new btrace thread
3525 (record_btrace_info, btrace_insn_history)
3526 (record_btrace_insn_history, record_btrace_insn_history_range):
3527 Use new btrace thread info fields and new iterator.
3528 (btrace_func_history_src_line): Rename to ...
3529 (btrace_call_history_src_line): ...this. Use new btrace
3531 (btrace_func_history): Rename to ...
3532 (btrace_call_history): ...this. Use new btrace thread info
3533 fields and new iterator.
3534 (record_btrace_call_history, record_btrace_call_history_range):
3535 Use new btrace thread info fields and new iterator.
3537 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3539 * frame.h (frame_id_build_unavailable_stack_special): New.
3540 * frame.c (frame_id_build_unavailable_stack_special): New.
3542 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3544 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
3545 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
3546 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
3548 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
3549 (i386_insn_is_jump, i386_jmp_p): New.
3550 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
3551 insn_is_jump to gdbarch.
3552 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
3553 * gdbarch.h: Regenerated.
3554 * gdbarch.c: Regenerated.
3555 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
3556 (default_insn_is_jump): New.
3557 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
3558 (default_insn_is_jump): New.
3560 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3562 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
3564 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
3565 (btrace_read_type) <btrace_read_new>: Change to ...
3566 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
3568 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3570 * common/linux-btrace.c (linux_read_btrace): Free trace from
3573 2014-01-15 Doug Evans <dje@google.com>
3575 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
3578 2014-01-15 Tom Tromey <tromey@redhat.com>
3580 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
3581 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
3582 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
3583 (set_objfile_main_name): New function.
3584 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
3585 language_of_main>: New fields.
3586 (set_objfile_main_name): Declare.
3587 * symtab.c (find_main_name): Loop over objfiles to find the main
3589 (set_main_name): Now static.
3590 (get_main_info): Add comment.
3591 * symtab.h (set_main_name): Don't declare.
3593 2014-01-15 Tom Tromey <tromey@redhat.com>
3595 * symtab.c (main_progspace_key): New global.
3596 (struct main_info): New.
3597 (name_of_main, language_of_main): Remove.
3598 (get_main_info, main_info_cleanup): New function.
3599 (set_main_name, main_name, main_language): Use get_main_info.
3600 (_initialize_symtab): Initialize main_progspace_key.
3602 2014-01-15 Tom Tromey <tromey@redhat.com>
3604 * dbxread.c (process_one_symbol): Update.
3605 * dwarf2read.c (read_partial_die): Update.
3606 * symfile.c (set_initial_language): Call main_language.
3607 * symtab.c (language_of_main): Now static.
3608 (set_main_name): Add 'lang' parameter.
3609 (find_main_name): Update.
3610 (main_language): New function.
3611 (symtab_observer_executable_changed): Update.
3612 * symtab.h (set_main_name): Update.
3613 (language_of_main): Remove.
3614 (main_language): Declare.
3616 2014-01-15 Tom Tromey <tromey@redhat.com>
3618 * symfile.c (init_entry_point_info): Use new "initialized" field.
3620 * objfiles.h (struct entry_point) <initialized>: New field.
3621 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
3622 (struct objfile) <ei>: ...here. Remove.
3623 * objfiles.c (entry_point_address_query): Update.
3625 2014-01-15 Tom Tromey <tromey@redhat.com>
3627 * objfiles.c (entry_point_address_query): Relocate entry point
3629 (objfile_relocate1): Do not relocate entry point address.
3630 * objfiles.h (struct entry_info) <entry_point>: Update comment.
3631 <the_bfd_section_index>: New field.
3632 * symfile.c (init_entry_point_info): Find the entry point's
3635 2014-01-15 Tom Tromey <tromey@redhat.com>
3637 * solib-frv.c (enable_break): Use entry_point_address_query.
3639 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3641 * NEWS: Add note on improved process record-replay on
3642 arm*-linux* targets.
3644 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3646 * arm-tdep.c (enum arm_record_result): New enum.
3647 (arm_record_unsupported_insn): New function.
3648 (arm_record_coproc_data_proc): Removed.
3649 (thumb2_record_ld_st_multiple): New function.
3650 (thumb2_record_ld_st_dual_ex_tbb): New function.
3651 (thumb2_record_data_proc_sreg_mimm): New function.
3652 (thumb2_record_ps_dest_generic): New function.
3653 (thumb2_record_branch_misc_cntrl): New function.
3654 (thumb2_record_str_single_data): New function.
3655 (thumb2_record_ld_mem_hints): New function.
3656 (thumb2_record_ld_word): New function.
3657 (thumb2_record_lmul_lmla_div): New function.
3658 (thumb2_record_decode_insn_handler): New function.
3659 (decode_insn): Add thumb32 instruction handlers.
3661 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3663 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
3664 (struct arm_linux_record_tdep): Declare.
3665 (arm_canonicalize_syscall): New function.
3666 (arm_all_but_pc_registers_record): New function.
3667 (arm_linux_syscall_record): New function.
3668 (arm_linux_init_abi): Add syscall recording constructs.
3669 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
3670 decoding. (arm_record_coproc_data_proc): Update arm syscall
3672 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
3673 <arm_syscall_record>: New field.
3674 * configure.tgt (arm*-*-linux*): Add linux-record.o to
3677 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3679 * arm-tdep.c (thumb_record_misc): Update to use sp as base
3680 register for push instruction recording.
3682 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3684 * arm-tdep.c (thumb_record_misc): Update to correct logical
3685 error while recording ldm, ldmia and pop instructions.
3687 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3689 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
3691 2014-01-15 Pedro Alves <palves@redhat.com>
3693 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
3694 (go32_resume, go32_fetch_registers, store_register)
3695 (go32_store_registers, go32_prepare_to_store)
3696 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
3697 (go32_create_inferior, go32_can_run, go32_terminal_init)
3698 (go32_terminal_inferior, go32_terminal_ours): Delete forward
3701 2014-01-15 Tom Tromey <tromey@redhat.com>
3703 * target.h (async_callback_ftype): New typedef.
3704 (struct target_ops) <to_async>: Use it.
3706 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3708 * python/py-value.c (get_field_type): Remove unnecessary curly
3709 braces for single-statement if block.
3711 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3713 * python/py-type.c (convert_field): Add missing empty line
3716 2014-01-14 Doug Evans <dje@google.com>
3718 * symfile.h (expand_symtabs_matching): Renamed from
3719 expand_partial_symbol_names. Update prototype.
3720 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3721 * symfile.c (expand_symtabs_matching): Renamed from
3722 expand_partial_symbol_names. New args file_matcher, kind.
3723 Rename arg fun to symbol_matcher.
3724 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3725 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
3726 ada_expand_partial_symbol_name.
3727 (ada_make_symbol_completion_list): Update to call
3728 expand_symtabs_matching.
3729 (ada_add_global_exceptions): Call expand_symtabs_matching.
3730 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
3731 call map_symbol_filenames.
3732 * symtab.c (sources_info): Update to call map_symbol_filenames.
3733 (search_symbols): Call expand_symtabs_matching.
3734 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
3735 (default_make_symbol_completion_list_break_on): Update to call
3736 expand_symtabs_matching.
3737 (make_source_files_completion_list): Update to call
3738 map_symbol_filenames.
3740 2014-01-14 Doug Evans <dje@google.com>
3742 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
3743 (expand_symtabs_symbol_matcher_ftype): New typedef.
3744 (quick_symbol_functions.expand_symtabs_matching): Update to use.
3745 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3746 * symfile.c (expand_partial_symbol_names): Update to use
3747 expand_symtabs_symbol_matcher_ftype.
3748 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
3749 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3750 Arg name_matcher renamed to symbol_matcher.
3751 * psymtab.c (recursively_search_psymtabs): Update to use
3752 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
3754 (expand_symtabs_matching_via_partial): Update to use
3755 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3756 Arg name_matcher renamed to symbol_matcher.
3758 2014-01-14 Doug Evans <dje@google.com>
3760 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
3761 (map_partial_symbol_filenames): Ditto.
3762 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
3763 (map_partial_symbol_filenames): Ditto.
3764 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
3765 (map_partial_symbol_filenames): Ditto.
3766 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
3767 (map_partial_symbol_filenames): Ditto.
3768 * symtab.c: Delete #include "psymtab.h".
3770 2014-01-14 Pedro Alves <palves@redhat.com>
3771 Tom Tromey <tromey@redhat.com>
3773 * infrun.c (use_displaced_stepping): Use find_record_target
3774 instead of RECORD_IS_USED.
3775 (adjust_pc_after_break): Use record_full_is_used instead of
3777 * record-btrace.c (record_btrace_open): Call record_preopen
3778 instead of checking RECORD_IS_USED.
3779 * record-full.c (record_full_shortname)
3780 (record_full_core_shortname): New globals.
3781 (record_full_is_used): New function.
3782 (find_full_open): Call record_preopen instead of checking
3784 (init_record_full_ops): Set the target's shortname to
3785 record_full_shortname.
3786 (init_record_full_core_ops): Set the target's shortname to
3787 record_full_core_shortname.
3788 * record-full.h (record_full_is_used): Declare.
3789 * record.c (find_record_target): Make extern.
3790 (record_preopen): New function.
3791 * record.h (RECORD_IS_USED): Delete macro.
3792 (find_record_target, record_preopen): Declare functions.
3794 2014-01-14 Yao Qi <yao@codesourcery.com>
3796 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
3797 'len''s type to ULONGEST.
3798 (core_xfer_shared_libraries_aix): Likewise.
3799 * gdbarch.c, gdbarch.h: Regenerated.
3800 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
3801 Change type of 'len' to ULONGEST.
3802 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3803 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
3805 2014-01-14 Yao Qi <yao@codesourcery.com>
3807 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
3808 type of 'len' to ULONGEST.
3809 (linux_xfer_osdata_processgroups): Likewise.
3810 (linux_xfer_osdata_threads): Likewise.
3811 (linux_xfer_osdata_fds): Likewise.
3812 (linux_xfer_osdata_isockets): Likewise.
3813 (linux_xfer_osdata_shm): Likewise.
3814 (linux_xfer_osdata_sem): Likewise.
3815 (linux_xfer_osdata_msg): Likewise.
3816 (linux_common_xfer_osdata): Likewise.
3817 (struct osdata_type) <getter>: Likewise.
3818 * common/linux-osdata.h (linux_common_xfer_osdata): Update
3821 2014-01-14 Yao Qi <yao@codesourcery.com>
3823 * target.h (target_xfer_partial_ftype): Update.
3824 (struct target_ops) <to_xfer_partial>: Change 'len' type to
3826 * aix-thread.c (aix_thread_xfer_partial): Change type of
3827 argument 'len' to ULONGEST.
3828 * auxv.c (procfs_xfer_auxv): Likewise.
3829 (ld_so_xfer_auxv): Likewise.
3830 (memory_xfer_auxv): Likewise.
3831 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3832 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3833 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
3834 * corelow.c (core_xfer_partial): Likewise.
3835 * ctf.c (ctf_xfer_partial): Likewise.
3836 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
3838 (darwin_read_dyld_info): Likewise.
3839 (darwin_xfer_partial): Likewise.
3840 * exec.c (section_table_xfer_memory_partial): Likewise.
3841 (exec_xfer_partial): Likewise.
3842 * exec.h (section_table_xfer_memory_partial): Update
3844 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
3845 instead of plongest.
3846 (gnu_xfer_partial): Likewise.
3847 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
3848 (ia64_hpux_xfer_solib_got): Likewise.
3849 (ia64_hpux_xfer_partial): Likewise.
3850 * ia64-linux-nat.c (ia64_linux_xfer_partial):
3851 * inf-ptrace.c (inf_ptrace_xfer_partial):
3852 * inf-ttrace.c (inf_ttrace_xfer_partial):
3853 * linux-nat.c (linux_xfer_siginfo): Likewise.
3854 (linux_nat_xfer_partial): Likewise.
3855 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
3856 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
3857 * monitor.c (monitor_xfer_memory): Likewise.
3858 (monitor_xfer_partial): Likewise.
3859 * procfs.c (procfs_xfer_partial): Likewise.
3860 * record-full.c (record_full_xfer_partial): Likewise.
3861 (record_full_core_xfer_partial): Likewise.
3862 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
3863 instead of plongest.
3864 (gdbsim_xfer_partial): Likewise.
3865 * remote.c (remote_xfer_partial): Likewise.
3866 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3867 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3869 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3870 (rs6000_xfer_shared_libraries): Likewise.
3871 * sol-thread.c (sol_thread_xfer_partial): Likewise.
3872 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3873 (sparc_xfer_partial): Likewise.
3874 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3875 (spu_xfer_partial): Likewise.
3876 * spu-multiarch.c (spu_xfer_partial): Likewise.
3877 * target.c (target_read_live_memory): Likewise.
3878 (memory_xfer_live_readonly_partial): Likewise.
3879 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
3880 (target_xfer_partial, default_xfer_partial): Likewise.
3881 (current_xfer_partial): Likewise.
3882 * tracepoint.c (tfile_xfer_partial): Likewise.
3883 * windows-nat.c (windows_xfer_memory): Likewise. Call
3884 pulongest instead of plongest.
3885 (windows_xfer_partial): Likewise.
3886 (windows_xfer_shared_libraries): Likewise.
3888 2014-01-14 Yao Qi <yao@codesourcery.com>
3890 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
3891 target_xfer_partial_ftype.
3893 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3897 * valops.c (value_struct_elt_bitpos): New function
3898 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
3899 object to 'None' if the field name is an empty string ("").
3900 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
3901 attribute to look for a field when 'name' is 'None'.
3902 (get_field_type): New function
3904 2014-01-13 Doug Evans <dje@google.com>
3907 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
3908 (try_open_dwop_file): Ditto.
3909 * gdb_bfd.c: #include "vec.h".
3910 (bfdp): New typedef.
3911 (struct gdb_bfd_data): New member included_bfds.
3912 (gdb_bfd_unref): Unref all included bfds.
3913 (gdb_bfd_record_inclusion): New function.
3914 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
3916 2014-01-13 Tom Tromey <tromey@redhat.com>
3918 * gdbcore.h (deprecated_core_resize_section_table): Remove.
3920 2014-01-13 Tom Tromey <tromey@redhat.com>
3922 * defs.h (use_windows): Remove.
3923 * gdb.c (main): Update.
3924 * main.c (captured_main, gdb_main): Update.
3925 * main.h (struct captured_main_args) <use_windows>: Remove.
3926 * top.c (use_windows): Remove.
3928 2014-01-13 Tom Tromey <tromey@redhat.com>
3930 * defs.h (deprecated_flush_hook): Remove.
3932 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3935 * linux-thread-db.c (try_thread_db_load): Add parameter
3936 check_auto_load_safe. Move here the file_is_auto_load_safe call.
3937 (try_thread_db_load_from_pdir_1): Move it there from here.
3938 (try_thread_db_load_from_sdir): Update caller.
3939 (try_thread_db_load_from_dir): Move it there from here.
3941 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
3943 * regformats/regdat.sh: Always rewrite the register file.
3945 2014-01-13 Pedro Alves <palves@redhat.com>
3947 * Makefile.in (CHECK_HEADERS): New variable.
3948 (check-headers:): New rule.
3950 2014-01-13 Tom Tromey <tromey@redhat.com>
3952 * cli/cli-setshow.c (do_set_command): Update.
3953 * defs.h (deprecated_set_hook): Remove.
3954 * top.c (deprecated_set_hook): Remove.
3956 2014-01-13 Pedro Alves <palves@redhat.com>
3958 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
3959 the tracepoint if the PC is a pseudo-register.
3961 2014-01-13 Tom Tromey <tromey@redhat.com>
3963 * defs.h (XCALLOC): Remove.
3964 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
3965 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
3966 * dwarf2loc.c (allocate_piece_closure): Likewise.
3967 * elfread.c (elf_symfile_segments): Likewise.
3968 (elf_symfile_segments): Likewise.
3969 * gdbtypes.c (copy_type_recursive): Likewise.
3970 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
3971 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
3972 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
3974 * mt-tdep.c (mt_gdbarch_init): Likewise.
3975 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
3977 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
3978 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
3979 * registry.c (registry_alloc_data): Likewise.
3980 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
3981 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
3982 * serial.c (serial_fdopen_ops): Likewise.
3983 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
3985 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
3986 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
3989 2014-01-13 Tom Tromey <tromey@redhat.com>
3991 * defs.h (XMALLOC): Remove.
3992 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
3993 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
3994 * cli-out.c (struct ui_out *): Likewise.
3995 * cli/cli-dump.c (add_dump_command): Likewise.
3996 (add_dump_command): Likewise.
3997 * complaints.c (get_complaints): Likewise.
3998 (find_complaint): Likewise.
3999 * dwarf2-frame.c (execute_cfa_program): Likewise.
4000 * dwarf2read.c (abbrev_table_read_table): Likewise.
4001 * gdbarch.sh: Likewise.
4002 * gdbarch.c: Rebuild.
4003 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
4004 * interps.c (interp_new): Likewise.
4005 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
4006 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
4007 * mi/mi-console.c (mi_console_file_new): Likewise.
4008 * mi/mi-interp.c (mi_interpreter_init): Likewise.
4009 * mi/mi-out.c (mi_out_new): Likewise.
4010 * mi/mi-parse.c (mi_parse): Likewise.
4011 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
4012 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
4013 * observer.c (xalloc_observer_list_node): Likewise.
4014 * regcache.c (regcache_xmalloc_1): Likewise.
4015 * reggroups.c (reggroup_new): Likewise.
4016 (_initialize_reggroup): Likewise.
4017 * registry.c (register_data_with_cleanup): Likewise.
4018 * remote.c (remote_notif_stop_alloc_reply): Likewise.
4019 * ser-base.c (serial_ttystate): Likewise.
4020 * ser-mingw.c (make_pipe_state): Likewise.
4021 * ser-pipe.c (pipe_open): Likewise.
4022 * serial.c (serial_open): Likewise.
4023 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
4024 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
4025 (tui_alloc_win_info): Likewise.
4026 (tui_add_content_elements): Likewise.
4027 * tui/tui-file.c (tui_file_new): Likewise.
4028 * tui/tui-out.c (tui_out_new): Likewise.
4029 * ui-file.c (mem_file_new): Likewise.
4030 * ui-out.c (push_level): Likewise.
4031 (make_cleanup_ui_out_end): Likewise.
4032 (append_header_to_list): Likewise.
4033 (ui_out_new): Likewise.
4034 * user-regs.c (user_reg_add_builtin): Likewise.
4036 2014-01-13 Tom Tromey <tromey@redhat.com>
4038 * defs.h (XZALLOC): Remove.
4039 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
4040 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
4041 (get_ada_tasks_inferior_data): Likewise.
4042 * auto-load.c (get_auto_load_pspace_data): Likewise.
4043 * auxv.c (get_auxv_inferior_data): Likewise.
4044 * bfd-target.c (target_bfd_reopen): Likewise.
4045 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
4046 (deprecated_insert_raw_breakpoint): Likewise.
4047 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
4048 * corelow.c (core_open): Likewise.
4049 * darwin-nat.c (darwin_check_new_threads): Likewise.
4050 (darwin_attach_pid): Likewise.
4051 * dummy-frame.c (dummy_frame_push): Likewise.
4052 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
4053 * dwarf2loc.c (allocate_piece_closure): Likewise.
4054 * elfread.c (elf_symfile_segments): Likewise.
4055 * eval.c (ptrmath_type_p): Likewise.
4056 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
4057 * gdbtypes.c (alloc_type_arch): Likewise.
4058 (alloc_type_instance): Likewise.
4059 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
4060 * inf-child.c (inf_child_can_use_agent): Likewise.
4061 * inflow.c (get_inflow_inferior_data): Likewise.
4062 * infrun.c (save_infcall_suspend_state): Likewise.
4063 * jit.c (jit_reader_load): Likewise.
4064 (get_jit_objfile_data): Likewise.
4065 (get_jit_program_space_data): Likewise.
4066 (jit_object_open_impl): Likewise.
4067 (jit_symtab_open_impl): Likewise.
4068 (jit_block_open_impl): Likewise.
4069 (jit_frame_sniffer): Likewise.
4070 * linux-fork.c (add_fork): Likewise.
4071 * maint.c (make_command_stats_cleanup): Likewise.
4072 * objfiles.c (get_objfile_pspace_data): Likewise.
4073 * opencl-lang.c (struct lval_closure): Likewise.
4074 * osdata.c (osdata_start_osdata): Likewise.
4075 * progspace.c (new_address_space): Likewise.
4076 (add_program_space): Likewise.
4077 * remote-sim.c (get_sim_inferior_data): Likewise.
4078 * sh-tdep.c (sh_gdbarch_init): Likewise.
4079 * skip.c (Ignore): Likewise.
4080 (skip_delete_command): Likewise.
4081 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4082 (library_list_start_library): Likewise.
4083 (solib_aix_current_sos): Likewise.
4084 * solib-darwin.c (get_darwin_info): Likewise.
4085 (darwin_current_sos): Likewise.
4086 * solib-dsbt.c (get_dsbt_info): Likewise.
4087 * solib-ia64-hpux.c (new_so_list): Likewise.
4088 (ia64_hpux_get_solib_linkage_addr): Likewise.
4089 * solib-spu.c (append_ocl_sos): Likewise.
4090 (spu_current_sos): Likewise.
4091 * solib-svr4.c (get_svr4_info): Likewise.
4092 (svr4_keep_data_in_core): Likewise.
4093 (library_list_start_library): Likewise.
4094 (svr4_default_sos): Likewise.
4095 (svr4_read_so_list): Likewise.
4096 * solib-target.c (library_list_start_library): Likewise.
4097 (solib_target_current_sos): Likewise.
4098 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4099 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4100 * symfile.c (default_symfile_segments): Likewise.
4101 * target-descriptions.c (tdesc_data_init): Likewise.
4102 (tdesc_create_reg): Likewise.
4103 (struct tdesc_type *): Likewise.
4104 (tdesc_create_vector): Likewise.
4105 (tdesc_set_struct_size): Likewise.
4106 (struct tdesc_type *): Likewise.
4107 (tdesc_free_feature): Likewise.
4108 (tdesc_create_feature): Likewise.
4109 * windows-nat.c (windows_add_thread): Likewise.
4110 (windows_make_so): Likewise.
4111 * xml-support.c (gdb_xml_body_text): Likewise.
4112 (gdb_xml_create_parser_and_cleanup): Likewise.
4113 (xml_process_xincludes): Likewise.
4114 * xml-syscall.c (allocate_syscalls_info): Likewise.
4115 (syscall_create_syscall_desc): Likewise.
4117 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4119 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4120 function, with code from i386_stap_parse_special_token.
4121 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4122 (i386_stap_parse_special_token): Move code to the two functions
4125 2014-01-09 Pedro Alves <palves@redhat.com>
4126 Hui Zhu <hui@codesourcery.com>
4129 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4130 bp_err_string. Don't mark the location shlib_disabled if the
4131 error thrown wasn't a generic or memory error. Catch errors
4132 thrown while inserting breakpoints in overlayed code. Output
4133 error message of software breakpoints.
4134 * remote.c (remote_insert_breakpoint): If this breakpoint has
4135 target-side commands but this stub doesn't support Z0 packets,
4136 throw NOT_SUPPORTED_ERROR error.
4137 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4138 * target.h (target_insert_breakpoint): Extend comment.
4139 (target_insert_hw_breakpoint): Add comment.
4141 2014-01-08 Pedro Alves <palves@redhat.com>
4143 * remote.c (remote_add_thread): Add threads silently if starting
4145 (remote_notice_new_inferior): If in all-stop, and starting up,
4146 don't call notice_new_inferior.
4147 (get_current_thread): New function, factored out from ...
4148 (add_current_inferior_and_thread): ... this. Adjust.
4149 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4150 found any thread, then select the remote's current thread as GDB's
4153 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4155 * NEWS: Create a new section for the next release branch.
4156 Rename the section of the current branch, now that it has
4159 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4161 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4162 * version.in: Bump version to 7.7.50.DATE-cvs.
4164 2014-01-08 Yao Qi <yao@codesourcery.com>
4166 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4167 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4168 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4170 2014-01-08 Yao Qi <yao@codesourcery.com>
4172 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4173 return value of bfd_get_filename to symbol_file_add_from_bfd.
4175 2014-01-08 Pierre Muller <muller@sourceware.org>
4178 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4179 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4180 to prim_record_mininal_symbol_and_info.
4181 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4182 in call to prim_record_minimal_symbol_and_info.
4183 (read_pe_exported_syms): Set index field of section_data.
4185 2014-01-07 Andrew Pinski <apinski@cavium.com>
4187 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4188 * features/aarch64.c: Regenerate.
4190 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4192 * target.c (return_null): Define.
4193 (update_current_target): Use it instead of return_zero for
4194 functions that return a pointer.
4196 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4198 * source.c (add_path): Fix check for duplicated paths in the previously
4201 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4203 * ada-lang.c: Remove duplicated include statements.
4204 * alphabsd-nat.c: Ditto.
4205 * amd64-darwin-tdep.c: Ditto.
4206 * amd64fbsd-nat.c: Ditto.
4207 * auto-load.c: Ditto.
4209 * breakpoint.c: Ditto.
4211 * fork-child.c: Ditto.
4212 * gdb_usleep.c: Ditto.
4213 * i386-darwin-tdep.c: Ditto.
4214 * i386fbsd-nat.c: Ditto.
4216 * inferior.c: Ditto.
4218 * linux-nat.c: Ditto.
4219 * linux-tdep.c: Ditto.
4220 * m68kbsd-nat.c: Ditto.
4221 * m68klinux-nat.c: Ditto.
4222 * microblaze-tdep.c: Ditto.
4223 * mips-linux-tdep.c: Ditto.
4224 * mn10300-tdep.c: Ditto.
4225 * nto-tdep.c: Ditto.
4226 * opencl-lang.c: Ditto.
4228 * printcmd.c: Ditto.
4229 * regcache.c: Ditto.
4230 * remote-m32r-sdi.c: Ditto.
4234 * tilegx-linux-nat.c: Ditto.
4235 * tilegx-tdep.c: Ditto.
4236 * tracepoint.c: Ditto.
4238 * vaxbsd-nat.c: Ditto.
4239 * windows-nat.c: Ditto.
4240 * xtensa-tdep.c: Ditto.
4242 2014-01-07 Yao Qi <yao@codesourcery.com>
4244 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4246 2014-01-07 Yao Qi <yao@codesourcery.com>
4247 Joel Brobecker <brobecker@adacore.com>
4249 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4250 (pdc_write_regs): Likewise.
4251 (fetch_regs_kernel_thread): Likewise.
4252 (store_regs_kernel_thread): Likewise.
4254 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4256 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4257 tagged type objects to their actual type.
4259 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4261 * ada-valprint.c (print_field_values): Add "language" parameter.
4262 Update calls to print_field_values and print_variant_part.
4263 Pass new parameter "language" in call to val_print instead
4264 of "current_language". Replace call to ada_val_print by call
4266 (print_variant_part): Add "language" parameter.
4267 (ada_val_print_struct_union): Update call to print_field_values.
4269 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4271 * ada-valprint.c (ui_memcpy): Delete.
4272 (ada_print_floating): Update documentation. Add empty line
4273 between between function documentation and implementation.
4274 Delete variable "buffer". Use ui_file_xstrdup in place of
4275 ui_file_put. Minor adjustments following this change.
4277 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4279 * ada-valprint.c (ada_val_print_string): New function,
4280 extracted from ada_val_print_array.
4281 (ada_val_print_array): Replace extracted code by call
4282 to ada_val_print_string followed by a return. Move
4283 "else" branch to the function's top block.
4285 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4287 * ada-valprint.c (ada_val_print_array): Move implementation
4288 down. Rename parameter "offset" and "val" into "offset_aligned"
4289 and "original_value" respectively. Add parameter "offset".
4291 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4293 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4294 re-organizing the code. Change the "???" message printed
4295 when target type is a TYPE_CODE_UNDEF into
4296 "<ref to undefined type>".
4298 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4300 * ada-valprint.c (print_record): Delete, implementation inlined...
4301 (ada_val_print_struct_union): ... here. Remove call to
4302 ada_check_typedef in inlined implementation.
4304 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4306 * ada-valprint.c (ada_val_print_gnat_array): New function,
4307 extracted from ada_val_print_1;
4308 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4309 (ada_val_print_flt, ada_val_print_struct_union)
4310 (ada_val_print_ref): Likewise.
4311 (ada_val_print_1): Delete variables i and elttype.
4312 Replace extracted-out code by call to corresponding
4315 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4317 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4319 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4321 * ada-valprint.c (ada_val_print_1): Replace calls to
4322 ada_val_print_1 by calls to val_print.
4324 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4326 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4327 Update calls to self accordingly. Replace calls to c_val_print
4328 by calls to val_print.
4330 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4332 * ada-valprint.c (print_record): Delete declaration.
4333 (adjust_type_signedness, ada_val_print_1): Likewise.
4334 (ada_val_print): Move function implementation down.
4335 (print_variant_part, print_field_values, print_record):
4336 Move function implementation up.
4338 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4340 * python/py-type.c (typy_get_name): New function.
4341 (type_object_getset): Add entry for attribute "name".
4342 * NEWS: Add entry mentioning this new attribute.
4344 2014-01-07 Yao Qi <yao@codesourcery.com>
4346 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
4349 2014-01-07 Yao Qi <yao@codesourcery.com>
4351 * gnu-nat.c (info_port_rights): Add qualifier const to
4354 2014-01-07 Yao Qi <yao@codesourcery.com>
4356 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
4358 2014-01-07 Yao Qi <yao@codesourcery.com>
4360 * gnu-nat.c (make_inf) Update declaration.
4361 (make_inf): Make it static.
4362 (inf_set_traced): Likewise.
4363 (inf_port_to_thread, inf_task_died_status): Likewise.
4365 2014-01-07 Yao Qi <yao@codesourcery.com>
4367 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
4369 2014-01-07 Yao Qi <yao@codesourcery.com>
4371 * gnu-nat.c (_initialize_gnu_nat): Declare.
4373 2014-01-07 Yao Qi <yao@codesourcery.com>
4375 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
4377 (struct gdbarch_info) <byte_order>: Change type to
4379 <byte_order_for_code>: Likewise.
4380 * gdbarch.c, gdbarch.h: Regenerated.
4382 2014-01-06 Sasha Smundak <asmundak@google.com>
4384 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
4386 2014-01-06 Tom Tromey <tromey@redhat.com>
4388 * doublest.c (convert_doublest_to_floatformat): Use const, not
4390 * somread.c (som_symtab_read): Likewise.
4392 2014-01-07 Hui Zhu <hui@codesourcery.com>
4394 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
4395 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
4396 (gdb_bfd_fopen): Ditto.
4397 (gdb_bfd_openr): Ditto.
4398 (gdb_bfd_openw): Ditto.
4399 (gdb_bfd_openr_iovec): Ditto.
4400 (gdb_bfd_fdopenr): Ditto.
4401 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
4402 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
4404 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
4406 * symfile-mem.c (symbol_file_add_from_memory): Removed
4407 gdb_bfd_stash_filename.
4409 2014-01-03 Doug Evans <dje@google.com>
4411 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
4414 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4416 Update year range in copyright notice of all files.
4418 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4420 * top.c (print_gdb_version): Set copyright year to 2014.
4422 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4424 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
4426 For older changes see ChangeLog-2013.
4432 version-control: never