1 2014-02-19 Tom Tromey <tromey@redhat.com>
3 * arm-linux-nat.c (arm_linux_read_description): Delegate when
5 * corelow.c (core_read_description): Delegate when needed.
6 * remote.c (remote_read_description): Delegate when needed.
7 * target-delegates.c: Rebuild.
8 * target.c (target_read_description): Rewrite.
9 * target.h (struct target_ops) <to_read_description>: Update
10 comment. Use TARGET_DEFAULT_RETURN.
12 2014-02-19 Tom Tromey <tromey@redhat.com>
14 * target-delegates.c: Rebuild.
15 * target.c (update_current_target): Don't inherit or default
17 (find_default_run_target): Check against delegate_can_run.
18 * target.h (struct target_ops) <to_can_run>: Use
19 TARGET_DEFAULT_RETURN.
21 2014-02-19 Tom Tromey <tromey@redhat.com>
23 * target-delegates.c: Rebuild.
24 * target.c (target_disconnect): Unconditionally delegate.
25 * target.h (struct target_ops) <to_disconnect>: Use
26 TARGET_DEFAULT_NORETURN.
28 2014-02-19 Tom Tromey <tromey@redhat.com>
30 * record.c (record_stop): Unconditionally delegate.
31 * target-delegates.c: Rebuild.
32 * target.c (target_stop_recording): Unconditionally delegate.
33 * target.h (struct target_ops) <to_stop_recording>: Use
34 TARGET_DEFAULT_IGNORE.
36 2014-02-19 Tom Tromey <tromey@redhat.com>
38 * target-delegates.c: Rebuild.
39 * target.c (target_enable_btrace): Unconditionally delegate.
40 * target.h (struct target_ops) <to_enable_btrace>: Use
41 TARGET_DEFAULT_NORETURN.
43 2014-02-19 Tom Tromey <tromey@redhat.com>
45 * target-delegates.c: Rebuild.
46 * target.c (target_read_btrace): Unconditionally delegate.
47 * target.h (struct target_ops) <to_read_btrace>: Use
48 TARGET_DEFAULT_NORETURN.
50 2014-02-19 Tom Tromey <tromey@redhat.com>
52 * target-delegates.c: Rebuild.
53 * target.c (target_teardown_btrace): Unconditionally delegate.
54 * target.h (struct target_ops) <to_teardown_btrace>: Use
55 TARGET_DEFAULT_NORETURN.
57 2014-02-19 Tom Tromey <tromey@redhat.com>
59 * target-delegates.c: Rebuild.
60 * target.c (target_disable_btrace): Unconditionally delegate.
61 * target.h (struct target_ops) <to_disable_btrace>: Use
62 TARGET_DEFAULT_NORETURN.
64 2014-02-19 Tom Tromey <tromey@redhat.com>
66 * target-delegates.c: Rebuild.
67 * target.c (default_search_memory): New function.
68 (simple_search_memory): Update comment.
69 (target_search_memory): Unconditionally delegate.
70 * target.h (struct target_ops) <to_search_memory>: Use
73 2014-02-19 Tom Tromey <tromey@redhat.com>
75 * auxv.c (default_auxv_parse): No longer static.
76 (target_auxv_parse): Unconditionally delegate.
77 * auxv.h (default_auxv_parse): Declare.
78 * target-delegates.c: Rebuild.
79 * target.c: Include auxv.h.
80 * target.h (struct target_ops) <to_auxv_parse>: Use
83 2014-02-19 Tom Tromey <tromey@redhat.com>
85 * target-delegates.c: Rebuild.
86 * target.c (target_memory_map): Unconditionally delegate.
87 * target.h (struct target_ops) <to_memory_map>: Use
88 TARGET_DEFAULT_RETURN.
90 2014-02-19 Tom Tromey <tromey@redhat.com>
92 * target-delegates.c: Rebuild.
93 * target.c (target_thread_alive): Unconditionally delegate.
94 * target.h (struct target_ops) <to_thread_alive>: Use
95 TARGET_DEFAULT_RETURN.
97 2014-02-19 Tom Tromey <tromey@redhat.com>
99 * target-delegates.c: Rebuild.
100 * target.c (target_save_record): Unconditionally delegate.
101 * target.h (struct target_ops) <to_save_record>: Use
102 TARGET_DEFAULT_NORETURN.
104 2014-02-19 Tom Tromey <tromey@redhat.com>
106 * target-delegates.c: Rebuild.
107 * target.c (target_delete_record): Unconditionally delegate.
108 * target.h (struct target_ops) <to_delete_record>: Use
109 TARGET_DEFAULT_NORETURN.
111 2014-02-19 Tom Tromey <tromey@redhat.com>
113 * target-delegates.c: Rebuild.
114 * target.c (target_record_is_replaying): Unconditionally
116 * target.h (struct target_ops) <to_record_is_replaying>: Use
117 TARGET_DEFAULT_RETURN.
119 2014-02-19 Tom Tromey <tromey@redhat.com>
121 * target-delegates.c: Rebuild.
122 * target.c (target_goto_record_begin): Unconditionally delegate.
123 * target.h (struct target_ops) <to_goto_record_begin>: Use
124 TARGET_DEFAULT_NORETURN.
126 2014-02-19 Tom Tromey <tromey@redhat.com>
128 * target-delegates.c: Rebuild.
129 * target.c (target_goto_record_end): Unconditionally delegate.
130 * target.h (struct target_ops) <to_goto_record_end>: Use
131 TARGET_DEFAULT_NORETURN.
133 2014-02-19 Tom Tromey <tromey@redhat.com>
135 * target-delegates.c: Rebuild.
136 * target.c (target_goto_record): Unconditionally delegate.
137 * target.h (struct target_ops) <to_goto_record>: Use
138 TARGET_DEFAULT_NORETURN.
140 2014-02-19 Tom Tromey <tromey@redhat.com>
142 * target-delegates.c: Rebuild.
143 * target.c (target_insn_history): Unconditionally delegate.
144 * target.h (struct target_ops) <to_insn_history>: Use
145 TARGET_DEFAULT_NORETURN.
147 2014-02-19 Tom Tromey <tromey@redhat.com>
149 * target-delegates.c: Rebuild.
150 * target.c (target_insn_history_from): Unconditionally delegate.
151 * target.h (struct target_ops) <to_insn_history_from>: Use
152 TARGET_DEFAULT_NORETURN.
154 2014-02-19 Tom Tromey <tromey@redhat.com>
156 * target-delegates.c: Rebuild.
157 * target.c (target_insn_history_range): Unconditionally delegate.
158 * target.h (struct target_ops) <to_insn_history_range>: Use
159 TARGET_DEFAULT_NORETURN.
161 2014-02-19 Tom Tromey <tromey@redhat.com>
163 * target-delegates.c: Rebuild.
164 * target.c (target_call_history): Unconditionally delegate.
165 * target.h (struct target_ops) <to_call_history>: Use
166 TARGET_DEFAULT_NORETURN.
168 2014-02-19 Tom Tromey <tromey@redhat.com>
170 * target-delegates.c: Rebuild.
171 * target.c (target_call_history_from): Unconditionally delegate.
172 * target.h (struct target_ops) <to_call_history_from>: Use
173 TARGET_DEFAULT_NORETURN.
175 2014-02-19 Tom Tromey <tromey@redhat.com>
177 * target-delegates.c: Rebuild.
178 * target.c (target_call_history_range): Unconditionally delegate.
179 * target.h (struct target_ops) <to_call_history_range>: Use
180 TARGET_DEFAULT_NORETURN.
182 2014-02-19 Tom Tromey <tromey@redhat.com>
184 * target-delegates.c: Rebuild.
185 * target.c (target_verify_memory): Unconditionally delegate.
186 * target.h (struct target_ops) <to_verify_memory>: Use
187 TARGET_DEFAULT_NORETURN.
189 2014-02-19 Tom Tromey <tromey@redhat.com>
191 * target-delegates.c: Rebuild.
192 * target.c (target_core_of_thread): Unconditionally delegate.
193 * target.h (struct target_ops) <to_core_of_thread>: Use
194 TARGET_DEFAULT_RETURN.
196 2014-02-19 Tom Tromey <tromey@redhat.com>
198 * target-delegates.c: Rebuild.
199 * target.c (target_flash_done): Unconditionally delegate.
200 * target.h (struct target_ops) <to_flash_done>: Use
201 TARGET_DEFAULT_NORETURN.
203 2014-02-19 Tom Tromey <tromey@redhat.com>
205 * target-delegates.c: Rebuild.
206 * target.c (target_flash_erase): Unconditionally delegate.
207 * target.h (struct target_ops) <to_flash_erase>: Use
208 TARGET_DEFAULT_NORETURN.
210 2014-02-19 Tom Tromey <tromey@redhat.com>
212 * target-delegates.c: Rebuild.
213 * target.c (target_get_section_table): Unconditionally delegate.
214 * target.h (struct target_ops) <to_get_section_table>: Use
215 TARGET_DEFAULT_RETURN.
217 2014-02-19 Tom Tromey <tromey@redhat.com>
219 * target-delegates.c: Rebuild.
220 * target.c (target_pid_to_str): Unconditionally delegate.
221 (init_dummy_target): Don't initialize to_pid_to_str.
222 (default_pid_to_str): Rename from dummy_pid_to_str.
223 * target.h (struct target_ops) <to_pid_to_str>: Use
226 2014-02-19 Tom Tromey <tromey@redhat.com>
228 * target-delegates.c: Rebuild.
229 * target.c (target_find_new_threads): Unconditionally delegate.
230 * target.h (struct target_ops) <to_find_new_threads>: Use
231 TARGET_DEFAULT_RETURN.
233 2014-02-19 Tom Tromey <tromey@redhat.com>
235 * target-delegates.c: Rebuild.
236 * target.c (target_program_signals): Unconditionally delegate.
237 * target.h (struct target_ops) <to_program_signals>: Use
238 TARGET_DEFAULT_IGNORE.
240 2014-02-19 Tom Tromey <tromey@redhat.com>
242 * target-delegates.c: Rebuild.
243 * target.c (target_pass_signals): Unconditionally delegate.
244 * target.h (struct target_ops) <to_pass_signals>: Use
245 TARGET_DEFAULT_IGNORE.
247 2014-02-19 Tom Tromey <tromey@redhat.com>
249 * target-delegates.c: Rebuild.
250 * target.c (default_mourn_inferior): New function.
251 (target_mourn_inferior): Unconditionally delegate.
252 * target.h (struct target_ops) <to_mourn_inferior>: Use
255 2014-02-19 Tom Tromey <tromey@redhat.com>
257 * target-delegates.c: Rebuild.
258 * target.c (default_follow_fork): New function.
259 (target_follow_fork): Unconditionally delegate.
260 * target.h (struct target_ops) <to_follow_fork>: Use
263 2014-02-19 Tom Tromey <tromey@redhat.com>
265 * target-delegates.c: Rebuild.
266 * target.c (target_kill): Unconditionally delegate.
267 * target.h (struct target_ops) <to_kill>: Use
268 TARGET_DEFAULT_NORETURN.
270 2014-02-19 Tom Tromey <tromey@redhat.com>
272 * target-delegates.c: Rebuild.
273 * target.c (target_masked_watch_num_registers): Unconditionally
275 * target.h (struct target_ops) <to_masked_watch_num_registers>:
276 Use TARGET_DEFAULT_RETURN.
278 2014-02-19 Tom Tromey <tromey@redhat.com>
280 * target-delegates.c: Rebuild.
281 * target.c (target_remove_mask_watchpoint): Unconditionally
283 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
284 TARGET_DEFAULT_RETURN.
286 2014-02-19 Tom Tromey <tromey@redhat.com>
288 * target-delegates.c: Rebuild.
289 * target.c (target_insert_mask_watchpoint): Unconditionally
291 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
292 TARGET_DEFAULT_RETURN.
294 2014-02-19 Tom Tromey <tromey@redhat.com>
296 * target-delegates.c: Rebuild.
297 * target.c (target_ranged_break_num_registers): Unconditionally
299 * target.h (struct target_ops) <to_ranged_break_num_registers>:
300 Use TARGET_DEFAULT_RETURN.
302 2014-02-19 Tom Tromey <tromey@redhat.com>
304 * target-delegates.c: Rebuild.
305 * target.c (target_fetch_registers): Unconditionally delegate.
306 * target.h (struct target_ops) <to_fetch_registers>: Use
307 TARGET_DEFAULT_NORETURN.
309 2014-02-19 Tom Tromey <tromey@redhat.com>
311 * target-delegates.c: Rebuild.
312 * target.c (update_current_target): Don't inherit or default
314 * target.h (struct target_ops) <to_stop>: Use
315 TARGET_DEFAULT_IGNORE.
317 2014-02-19 Tom Tromey <tromey@redhat.com>
319 * target-delegates.c: Rebuild.
320 * target.c (update_current_target): Don't inherit or default
321 to_can_run_breakpoint_commands.
322 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
323 Use TARGET_DEFAULT_RETURN.
325 2014-02-19 Tom Tromey <tromey@redhat.com>
327 * target-delegates.c: Rebuild.
328 * target.c (update_current_target): Don't inherit or default
329 to_supports_evaluation_of_breakpoint_conditions.
330 * target.h (struct target_ops)
331 <to_supports_evaluation_of_breakpoint_conditions>: Use
332 TARGET_DEFAULT_RETURN.
334 2014-02-19 Tom Tromey <tromey@redhat.com>
336 * target-delegates.c: Rebuild.
337 * target.c (update_current_target): Don't inherit or default
338 to_augmented_libraries_svr4_read.
339 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
340 Use TARGET_DEFAULT_RETURN.
342 2014-02-19 Tom Tromey <tromey@redhat.com>
344 * target-delegates.c: Rebuild.
345 * target.c (update_current_target): Don't inherit or default
347 * target.h (struct target_ops) <to_can_use_agent>: Use
348 TARGET_DEFAULT_RETURN.
350 2014-02-19 Tom Tromey <tromey@redhat.com>
352 * target-delegates.c: Rebuild.
353 * target.c (update_current_target): Don't inherit or default
355 * target.h (struct target_ops) <to_use_agent>: Use
356 TARGET_DEFAULT_NORETURN.
358 2014-02-19 Tom Tromey <tromey@redhat.com>
360 * target-delegates.c: Rebuild.
361 * target.c (update_current_target): Don't inherit or default
363 (return_null): Remove.
364 * target.h (struct target_ops) <to_traceframe_info>: Use
365 TARGET_DEFAULT_RETURN.
367 2014-02-19 Tom Tromey <tromey@redhat.com>
369 * target-delegates.c: Rebuild.
370 * target.c (update_current_target): Don't inherit or default
371 to_static_tracepoint_markers_by_strid.
372 * target.h (struct target_ops)
373 <to_static_tracepoint_markers_by_strid>: Use
374 TARGET_DEFAULT_NORETURN.
376 2014-02-19 Tom Tromey <tromey@redhat.com>
378 * target-delegates.c: Rebuild.
379 * target.c (update_current_target): Don't inherit or default
380 to_static_tracepoint_marker_at.
381 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
382 Use TARGET_DEFAULT_RETURN.
384 2014-02-19 Tom Tromey <tromey@redhat.com>
386 * target-delegates.c: Rebuild.
387 * target.c (update_current_target): Don't inherit or default
389 * target.h (struct target_ops) <to_set_permissions>: Use
390 TARGET_DEFAULT_IGNORE.
392 2014-02-19 Tom Tromey <tromey@redhat.com>
394 * target-delegates.c: Rebuild.
395 * target.c (update_current_target): Don't inherit or default
397 * target.h (struct target_ops) <to_get_tib_address>: Use
398 TARGET_DEFAULT_NORETURN.
400 2014-02-19 Tom Tromey <tromey@redhat.com>
402 * target-delegates.c: Rebuild.
403 * target.c (update_current_target): Don't inherit or default
405 * target.h (struct target_ops) <to_set_trace_notes>: Use
406 TARGET_DEFAULT_RETURN.
408 2014-02-19 Tom Tromey <tromey@redhat.com>
410 * target-delegates.c: Rebuild.
411 * target.c (update_current_target): Don't initialize
412 to_set_trace_buffer_size.
413 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
414 TARGET_DEFAULT_IGNORE.
416 2014-02-19 Tom Tromey <tromey@redhat.com>
418 * target-delegates.c: Rebuild.
419 * target.c (update_current_target): Don't inherit or default
420 to_set_circular_trace_buffer.
421 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
422 TARGET_DEFAULT_IGNORE.
424 2014-02-19 Tom Tromey <tromey@redhat.com>
426 * target-delegates.c: Rebuild.
427 * target.c (update_current_target): Don't inherit or default
428 to_set_disconnected_tracing.
429 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
430 TARGET_DEFAULT_IGNORE.
432 2014-02-19 Tom Tromey <tromey@redhat.com>
434 * target-delegates.c: Rebuild.
435 * target.c (update_current_target): Don't inherit or default
436 to_get_min_fast_tracepoint_insn_len.
437 (return_minus_one): Remove.
438 * target.h (struct target_ops)
439 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
441 2014-02-19 Tom Tromey <tromey@redhat.com>
443 * target-delegates.c: Rebuild.
444 * target.c (update_current_target): Don't inherit or default
445 to_get_raw_trace_data.
446 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
447 TARGET_DEFAULT_NORETURN.
449 2014-02-19 Tom Tromey <tromey@redhat.com>
451 * target-delegates.c: Rebuild.
452 * target.c (update_current_target): Don't inherit or default
453 to_upload_trace_state_variables.
454 * target.h (struct target_ops) <to_upload_trace_state_variables>:
455 Use TARGET_DEFAULT_RETURN.
457 2014-02-19 Tom Tromey <tromey@redhat.com>
459 * target-delegates.c: Rebuild.
460 * target.c (update_current_target): Don't inherit or default
461 to_upload_tracepoints.
462 * target.h (struct target_ops) <to_upload_tracepoints>: Use
463 TARGET_DEFAULT_RETURN.
465 2014-02-19 Tom Tromey <tromey@redhat.com>
467 * target-delegates.c: Rebuild.
468 * target.c (update_current_target): Don't inherit or default
470 * target.h (struct target_ops) <to_save_trace_data>: Use
471 TARGET_DEFAULT_NORETURN.
473 2014-02-19 Tom Tromey <tromey@redhat.com>
475 * target-delegates.c: Rebuild.
476 * target.c (update_current_target): Don't inherit or default
477 to_get_trace_state_variable_value.
478 * target.h (struct target_ops)
479 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
481 2014-02-19 Tom Tromey <tromey@redhat.com>
483 * target-delegates.c: Rebuild.
484 * target.c (update_current_target): Don't inherit or default
486 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
488 2014-02-19 Tom Tromey <tromey@redhat.com>
490 * target-delegates.c: Rebuild.
491 * target.c (update_current_target): Don't inherit or default
493 * target.h (struct target_ops) <to_trace_stop>: Use
494 TARGET_DEFAULT_NORETURN.
496 2014-02-19 Tom Tromey <tromey@redhat.com>
498 * target-delegates.c: Rebuild.
499 * target.c (update_current_target): Don't inherit or default
500 to_get_tracepoint_status.
501 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
502 TARGET_DEFAULT_NORETURN.
504 2014-02-19 Tom Tromey <tromey@redhat.com>
506 * target-delegates.c: Rebuild.
507 * target.c (update_current_target): Don't inherit or default
509 * target.h (struct target_ops) <to_get_trace_status>: Use
510 TARGET_DEFAULT_RETURN.
512 2014-02-19 Tom Tromey <tromey@redhat.com>
514 * target-delegates.c: Rebuild.
515 * target.c (update_current_target): Don't inherit or default
517 * target.h (struct target_ops) <to_trace_start>: Use
518 TARGET_DEFAULT_NORETURN.
520 2014-02-19 Tom Tromey <tromey@redhat.com>
522 * target-delegates.c: Rebuild.
523 * target.c (update_current_target): Don't inherit or default
524 to_trace_set_readonly_regions.
525 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
526 Use TARGET_DEFAULT_NORETURN.
528 2014-02-19 Tom Tromey <tromey@redhat.com>
530 * target-delegates.c: Rebuild.
531 * target.c (update_current_target): Don't inherit or default
532 to_disable_tracepoint.
533 * target.h (struct target_ops) <to_disable_tracepoint>: Use
534 TARGET_DEFAULT_NORETURN.
536 2014-02-19 Tom Tromey <tromey@redhat.com>
538 * target-delegates.c: Rebuild.
539 * target.c (update_current_target): Don't inherit or default
540 to_enable_tracepoint.
541 * target.h (struct target_ops) <to_enable_tracepoint>: Use
542 TARGET_DEFAULT_NORETURN.
544 2014-02-19 Tom Tromey <tromey@redhat.com>
546 * target-delegates.c: Rebuild.
547 * target.c (update_current_target): Don't inherit or default
548 to_download_trace_state_variable.
549 * target.h (struct target_ops) <to_download_trace_state_variable>:
550 Use TARGET_DEFAULT_NORETURN.
552 2014-02-19 Tom Tromey <tromey@redhat.com>
554 * target-delegates.c: Rebuild.
555 * target.c (update_current_target): Don't inherit or default
556 to_can_download_tracepoint.
557 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
558 TARGET_DEFAULT_RETURN.
560 2014-02-19 Tom Tromey <tromey@redhat.com>
562 * target-delegates.c: Rebuild.
563 * target.c (update_current_target): Don't inherit or default
564 to_download_tracepoint.
565 * target.h (struct target_ops) <to_download_tracepoint>: Use
566 TARGET_DEFAULT_NORETURN.
568 2014-02-19 Tom Tromey <tromey@redhat.com>
570 * target-delegates.c: Rebuild.
571 * target.c (update_current_target): Don't inherit or default
573 * target.h (struct target_ops) <to_trace_init>: Use
574 TARGET_DEFAULT_RETURN.
576 2014-02-19 Tom Tromey <tromey@redhat.com>
578 * target-delegates.c: Rebuild.
579 * target.c (update_current_target): Don't inherit or default
580 to_supports_string_tracing.
581 * target.h (struct target_ops) <to_supports_string_tracing>: Use
582 TARGET_DEFAULT_RETURN.
584 2014-02-19 Tom Tromey <tromey@redhat.com>
586 * target-delegates.c: Rebuild.
587 * target.c (update_current_target): Don't inherit or default
588 to_supports_enable_disable_tracepoint.
589 * target.h (struct target_ops)
590 <to_supports_enable_disable_tracepoint>: Use
591 TARGET_DEFAULT_RETURN.
593 2014-02-19 Tom Tromey <tromey@redhat.com>
595 * target-delegates.c: Rebuild.
596 * target.c (update_current_target): Don't inherit or default
597 to_supports_multi_process.
598 * target.h (struct target_ops) <to_supports_multi_process>: Use
599 TARGET_DEFAULT_RETURN.
601 2014-02-19 Tom Tromey <tromey@redhat.com>
603 * target-delegates.c: Rebuild.
604 * target.c (update_current_target): Don't inherit or default
605 to_get_ada_task_ptid.
606 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
609 2014-02-19 Tom Tromey <tromey@redhat.com>
611 * target-delegates.c: Rebuild.
612 * target.c (update_current_target): Don't inherit or default
613 to_thread_architecture.
614 * target.h (struct target_ops) <to_thread_architecture>: Use
617 2014-02-19 Tom Tromey <tromey@redhat.com>
619 * target-delegates.c: Rebuild.
620 * target.c (update_current_target): Don't inherit or default
621 to_execution_direction.
622 * target.h (struct target_ops) <to_execution_direction>: Use
625 2014-02-19 Tom Tromey <tromey@redhat.com>
627 * target-delegates.c: Rebuild.
628 * target.c (update_current_target): Don't inherit or default
629 to_can_execute_reverse.
630 * target.h (struct target_ops) <to_can_execute_reverse>: Use
631 TARGET_DEFAULT_RETURN.
632 (target_can_execute_reverse): Unconditionally delegate.
634 2014-02-19 Tom Tromey <tromey@redhat.com>
636 * target-delegates.c: Rebuild.
637 * target.c (update_current_target): Don't inherit or default
639 (dummy_goto_bookmark): Remove.
640 (init_dummy_target): Don't inherit or default to_goto_bookmark.
641 * target.h (struct target_ops) <to_goto_bookmark>: Use
642 TARGET_DEFAULT_NORETURN.
644 2014-02-19 Tom Tromey <tromey@redhat.com>
646 * target-delegates.c: Rebuild.
647 * target.c (update_current_target): Don't inherit or default
649 (dummy_get_bookmark): Remove.
650 (init_dummy_target): Don't inherit or default to_get_bookmark.
651 * target.h (struct target_ops) <to_get_bookmark>: Use
652 TARGET_DEFAULT_NORETURN
654 2014-02-19 Tom Tromey <tromey@redhat.com>
656 * target-delegates.c: Rebuild.
657 * target.c (update_current_target): Don't inherit or default
658 to_make_corefile_notes.
659 (init_dummy_target): Don't initialize to_make_corefile_notes.
660 * target.h (struct target_ops) <to_make_corefile_notes>: Use
663 2014-02-19 Tom Tromey <tromey@redhat.com>
665 * target-delegates.c: Rebuild.
666 * target.c (update_current_target): Don't inherit or default
667 to_find_memory_regions.
668 (init_dummy_target): Don't initialize to_find_memory_regions.
669 * target.h (struct target_ops) <to_find_memory_regions>: Use
672 2014-02-19 Tom Tromey <tromey@redhat.com>
674 * target-delegates.c: Rebuild.
675 * target.c (update_current_target): Don't inherit or default
677 * target.h (struct target_ops) <to_log_command>: Use
678 TARGET_DEFAULT_IGNORE.
679 (target_log_command): Unconditionally delegate.
681 2014-02-19 Tom Tromey <tromey@redhat.com>
683 * target-delegates.c: Rebuild.
684 * target.c (update_current_target): Don't inherit or default
686 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
687 TARGET_DEFAULT_RETURN.
689 2014-02-19 Tom Tromey <tromey@redhat.com>
691 * target-delegates.c: Rebuild.
692 * target.c (update_current_target): Don't inherit or default
694 (target_thread_name): Unconditionally delegate.
695 * target.h (struct target_ops) <to_thread_name>: Use
696 TARGET_DEFAULT_RETURN.
698 2014-02-19 Tom Tromey <tromey@redhat.com>
700 * target-delegates.c: Rebuild.
701 * target.c (update_current_target): Don't inherit or default
702 to_extra_thread_info.
703 * target.h (struct target_ops) <to_extra_thread_info>: Use
704 TARGET_DEFAULT_RETURN.
706 2014-02-19 Tom Tromey <tromey@redhat.com>
708 * target-delegates.c: Rebuild.
709 * target.c (update_current_target): Don't inherit or default
711 * target.h (struct target_ops) <to_has_exited>: Use
712 TARGET_DEFAULT_RETURN..
714 2014-02-19 Tom Tromey <tromey@redhat.com>
716 * target-delegates.c: Rebuild.
717 * target.c (update_current_target): Don't inherit or default
718 to_set_syscall_catchpoint.
719 (return_one): Remove.
720 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
721 TARGET_DEFAULT_RETURN.
723 2014-02-19 Tom Tromey <tromey@redhat.com>
725 * target-delegates.c: Rebuild.
726 * target.c (update_current_target): Don't inherit or default
727 to_insert_exec_catchpoint.
728 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
729 TARGET_DEFAULT_RETURN.
731 2014-01-08 Tom Tromey <tromey@redhat.com>
733 * target-delegates.c: Rebuild.
734 * target.c (update_current_target): Don't inherit or default
735 to_insert_exec_catchpoint.
736 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
737 TARGET_DEFAULT_RETURN.
739 2014-02-19 Tom Tromey <tromey@redhat.com>
741 * target-delegates.c: Rebuild.
742 * target.c (update_current_target): Don't inherit or default
743 to_remove_vfork_catchpoint.
744 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
745 TARGET_DEFAULT_RETURN.
747 2014-02-19 Tom Tromey <tromey@redhat.com>
749 * target-delegates.c: Rebuild.
750 * target.c (update_current_target): Don't inherit or default
751 to_insert_vfork_catchpoint.
752 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
753 TARGET_DEFAULT_RETURN.
755 2014-02-19 Tom Tromey <tromey@redhat.com>
757 * target-delegates.c: Rebuild.
758 * target.c (update_current_target): Don't inherit or default
759 to_remove_fork_catchpoint.
760 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
761 TARGET_DEFAULT_RETURN.
763 2014-02-19 Tom Tromey <tromey@redhat.com>
765 * target-delegates.c: Rebuild.
766 * target.c (update_current_target): Don't inherit or default
767 to_insert_fork_catchpoint.
768 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
769 TARGET_DEFAULT_RETURN.
771 2014-02-19 Tom Tromey <tromey@redhat.com>
773 * target-delegates.c: Rebuild.
774 * target.c (update_current_target): Don't inherit or default
775 to_post_startup_inferior.
776 * target.h (struct target_ops) <to_post_startup_inferior>: Use
777 TARGET_DEFAULT_IGNORE.
779 2014-02-19 Tom Tromey <tromey@redhat.com>
781 * target-delegates.c: Rebuild.
782 * target.c (update_current_target): Don't inherit or default
784 * target.h (struct target_ops) <to_load>: Use
785 TARGET_DEFAULT_NORETURN.
787 2014-02-19 Tom Tromey <tromey@redhat.com>
789 * target-delegates.c: Rebuild.
790 * target.c (update_current_target): Don't inherit or default
792 * target.h (struct target_ops) <to_terminal_info>: Use
795 2014-02-19 Tom Tromey <tromey@redhat.com>
797 * target-delegates.c: Rebuild.
798 * target.c (update_current_target): Don't inherit or default
799 to_terminal_save_ours.
800 * target.h (struct target_ops) <to_terminal_save_ours>: Use
801 TARGET_DEFAULT_IGNORE.
803 2014-02-19 Tom Tromey <tromey@redhat.com>
805 * target-delegates.c: Rebuild.
806 * target.c (update_current_target): Don't inherit or default
808 * target.h (struct target_ops) <to_terminal_ours>: Use
809 TARGET_DEFAULT_IGNORE.
811 2014-02-19 Tom Tromey <tromey@redhat.com>
813 * target-delegates.c: Rebuild.
814 * target.c (update_current_target): Don't inherit or default
815 to_terminal_ours_for_output.
816 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
817 TARGET_DEFAULT_IGNORE.
819 2014-02-19 Tom Tromey <tromey@redhat.com>
821 * target-delegates.c: Rebuild.
822 * target.c (update_current_target): Don't inherit or default
823 to_terminal_inferior.
824 * target.h (struct target_ops) <to_terminal_inferior>: Use
825 TARGET_DEFAULT_IGNORE.
827 2014-02-19 Tom Tromey <tromey@redhat.com>
829 * target-delegates.c: Rebuild.
830 * target.c (update_current_target): Don't inherit or default
832 * target.h (struct target_ops) <to_terminal_init>: Use
833 TARGET_DEFAULT_IGNORE.
835 2014-02-19 Tom Tromey <tromey@redhat.com>
837 * target-delegates.c: Rebuild.
838 * target.c (update_current_target): Don't inherit or default
839 to_can_accel_watchpoint_condition.
840 * target.h (struct target_ops)
841 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
843 2014-02-19 Tom Tromey <tromey@redhat.com>
845 * target-delegates.c: Rebuild.
846 * target.c (update_current_target): Don't inherit or default
847 to_region_ok_for_hw_watchpoint.
848 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
849 Use TARGET_DEFAULT_FUNC.
851 2014-02-19 Tom Tromey <tromey@redhat.com>
853 * target-delegates.c: Rebuild.
854 * target.c (update_current_target): Don't inherit or default
855 to_watchpoint_addr_within_range.
856 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
857 Use TARGET_DEFAULT_FUNC.
859 2014-02-19 Tom Tromey <tromey@redhat.com>
861 * target-delegates.c: Rebuild.
862 * target.c (update_current_target): Don't inherit or default
863 to_remove_watchpoint.
864 * target.h (struct target_ops) <to_remove_watchpoint>: Use
865 TARGET_DEFAULT_NORETURN.
867 2014-02-19 Tom Tromey <tromey@redhat.com>
869 * target-delegates.c: Rebuild.
870 * target.c (update_current_target): Don't inherit or default
871 to_insert_watchpoint.
872 * target.h (struct target_ops) <to_insert_watchpoint>: Use
873 TARGET_DEFAULT_RETURN.
875 2014-02-19 Tom Tromey <tromey@redhat.com>
877 * target-delegates.c: Rebuild.
878 * target.c (update_current_target): Don't inherit or default
879 to_remove_hw_breakpoint.
880 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
881 TARGET_DEFAULT_RETURN.
883 2014-02-19 Tom Tromey <tromey@redhat.com>
885 * target-delegates.c: Rebuild.
886 * target.c (update_current_target): Don't inherit or default
887 to_insert_hw_breakpoint.
888 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
889 TARGET_DEFAULT_RETURN.
891 2014-02-19 Tom Tromey <tromey@redhat.com>
893 * target-delegates.c: Rebuild.
894 * target.c (update_current_target): Don't inherit or default
895 to_can_use_hw_breakpoint.
896 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
897 TARGET_DEFAULT_RETURN.
899 2014-02-19 Tom Tromey <tromey@redhat.com>
901 * target-delegates.c: Rebuild.
902 * target.c (update_current_target): Don't inherit or default
904 * target.h (struct target_ops) <to_files_info>: Use
905 TARGET_DEFAULT_IGNORE.
907 2014-02-19 Tom Tromey <tromey@redhat.com>
909 * target-delegates.c: Rebuild.
910 * target.c (update_current_target): Don't inherit or default
912 * target.h (struct target_ops) <to_store>: Use
913 TARGET_DEFAULT_NORETURN.
915 2014-02-19 Tom Tromey <tromey@redhat.com>
917 * target-delegates.c: Rebuild.
918 * target.c (update_current_target): Don't inherit or default
920 * target.h (struct target_ops) <to_post_attach>: Use
921 TARGET_DEFAULT_IGNORE.
923 2014-02-19 Tom Tromey <tromey@redhat.com>
925 * target-delegates.c: Rebuild.
926 * target.c (update_current_target): Don't inherit or default
928 (default_rcmd): New function.
929 (do_monitor_command): Unconditionally delegate.
930 * target.h (struct target_ops) <to_rmcd>: Use
933 2014-02-19 Tom Tromey <tromey@redhat.com>
935 * target-delegates.c: Rebuild.
936 * target.c (init_dummy_target): Don't initialize to_attach.
937 (target_attach): Unconditionally delegate.
938 * target.h (struct target_ops) <to_attach>: Use
941 2014-02-19 Tom Tromey <tromey@redhat.com>
943 * target-delegates.c: Rebuild.
944 * target.c (target_detach): Unconditionally delegate.
945 (init_dummy_target): Don't initialize to_detach.
946 * target.h (struct target_ops) <to_detach>: Use
947 TARGET_DEFAULT_IGNORE.
949 2014-02-19 Tom Tromey <tromey@redhat.com>
951 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
953 (target_augmented_libraries_svr4_read): Add argument.
954 * target.c (update_current_target): Update.
955 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
958 2014-02-19 Tom Tromey <tromey@redhat.com>
960 * target.h (struct target_ops) <to_call_history_range>: Add
962 * target.c (target_call_history_range): Add argument.
963 * record-btrace.c (record_btrace_call_history_range): Add 'self'
965 (record_btrace_call_history_from): Update.
967 2014-02-19 Tom Tromey <tromey@redhat.com>
969 * target.h (struct target_ops) <to_call_history_from>: Add
971 * target.c (target_call_history_from): Add argument.
972 * record-btrace.c (record_btrace_call_history_from): Add 'self'
975 2014-02-19 Tom Tromey <tromey@redhat.com>
977 * target.h (struct target_ops) <to_call_history>: Add argument.
978 * target.c (target_call_history): Add argument.
979 * record-btrace.c (record_btrace_call_history): Add 'self'
982 2014-02-19 Tom Tromey <tromey@redhat.com>
984 * target.h (struct target_ops) <to_insn_history_range>: Add
986 * target.c (target_insn_history_range): Add argument.
987 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
989 (record_btrace_insn_history_from): Update.
991 2014-02-19 Tom Tromey <tromey@redhat.com>
993 * target.h (struct target_ops) <to_insn_history_from>: Add
995 * target.c (target_insn_history_from): Add argument.
996 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
999 2014-02-19 Tom Tromey <tromey@redhat.com>
1001 * target.h (struct target_ops) <to_insn_history>: Add argument.
1002 * target.c (target_insn_history): Add argument.
1003 * record-btrace.c (record_btrace_insn_history): Add 'self'
1006 2014-02-19 Tom Tromey <tromey@redhat.com>
1008 * target.h (struct target_ops) <to_goto_record>: Add argument.
1009 * target.c (target_goto_record): Add argument.
1010 * record-full.c (record_full_goto): Add 'self' argument.
1011 * record-btrace.c (record_btrace_goto): Add 'self' argument.
1013 2014-02-19 Tom Tromey <tromey@redhat.com>
1015 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
1016 * target.c (target_goto_record_end): Add argument.
1017 * record-full.c (record_full_goto_end): Add 'self' argument.
1018 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
1020 2014-02-19 Tom Tromey <tromey@redhat.com>
1022 * target.h (struct target_ops) <to_goto_record_begin>: Add
1024 * target.c (target_goto_record_begin): Add argument.
1025 * record-full.c (record_full_goto_begin): Add 'self' argument.
1026 * record-btrace.c (record_btrace_goto_begin): Add 'self'
1029 2014-02-19 Tom Tromey <tromey@redhat.com>
1031 * target.h (struct target_ops) <to_record_is_replaying>: Add
1033 * target.c (target_record_is_replaying): Add argument.
1034 * record-full.c (record_full_is_replaying): Add 'self' argument.
1035 * record-btrace.c (record_btrace_is_replaying): Add 'self'
1037 (record_btrace_xfer_partial, record_btrace_store_registers)
1038 (record_btrace_prepare_to_store, record_btrace_resume)
1039 (record_btrace_wait, record_btrace_decr_pc_after_break)
1040 (record_btrace_find_new_threads, record_btrace_thread_alive):
1043 2014-02-19 Tom Tromey <tromey@redhat.com>
1045 * target.h (struct target_ops) <to_delete_record>: Add argument.
1046 * target.c (target_delete_record): Add argument.
1047 * record-full.c (record_full_delete): Add 'self' argument.
1049 2014-02-19 Tom Tromey <tromey@redhat.com>
1051 * target.h (struct target_ops) <to_save_record>: Add argument.
1052 * target.c (target_save_record): Add argument.
1053 * record-full.c (record_full_save): Add 'self' argument.
1054 (record_full_save): Add 'self' argument.
1056 2014-02-19 Tom Tromey <tromey@redhat.com>
1058 * target.h (struct target_ops) <to_info_record>: Add argument.
1059 * target.c (target_info_record): Add argument.
1060 * record.c (info_record_command): Add argument.
1061 * record-full.c (record_full_info): Add 'self' argument.
1062 * record-btrace.c (record_btrace_info): Add 'self' argument.
1064 2014-02-19 Tom Tromey <tromey@redhat.com>
1066 * target.h (struct target_ops) <to_stop_recording>: Add argument.
1067 * target.c (target_stop_recording): Add argument.
1068 * record.c (record_stop): Add argument.
1069 * record-btrace.c (record_btrace_stop_recording): Add 'self'
1072 2014-02-19 Tom Tromey <tromey@redhat.com>
1074 * target.h (struct target_ops) <to_read_btrace>: Add argument.
1075 * target.c (struct target_ops) <to_read_btrace>: Add argument.
1076 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
1078 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
1079 (_initialize_amd64_linux_nat): Use it.
1080 * i386-linux-nat.c (i386_linux_read_btrace): New function.
1081 (_initialize_i386_linux_nat): Use it.
1083 2014-02-19 Tom Tromey <tromey@redhat.com>
1085 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
1086 * target.c (target_teardown_btrace): Add argument.
1087 * remote.c (remote_teardown_btrace): Add 'self' argument.
1088 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
1090 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
1093 2014-02-19 Tom Tromey <tromey@redhat.com>
1095 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
1096 * target.c (target_disable_btrace): Add argument.
1097 * remote.c (remote_disable_btrace): Add 'self' argument.
1098 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
1100 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
1103 2014-02-19 Tom Tromey <tromey@redhat.com>
1105 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
1106 * target.c (target_enable_btrace): Add argument.
1107 * remote.c (remote_enable_btrace): Add 'self' argument.
1108 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
1110 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
1113 2014-02-19 Tom Tromey <tromey@redhat.com>
1115 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
1116 (target_can_use_agent): Add argument.
1117 * target.c (update_current_target): Update.
1118 * remote.c (remote_can_use_agent): Add 'self' argument.
1119 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
1121 2014-02-19 Tom Tromey <tromey@redhat.com>
1123 * target.h (struct target_ops) <to_use_agent>: Add argument.
1124 (target_use_agent): Add argument.
1125 * target.c (update_current_target): Update.
1126 * remote.c (remote_use_agent): Add 'self' argument.
1127 * inf-child.c (inf_child_use_agent): Add 'self' argument.
1129 2014-02-19 Tom Tromey <tromey@redhat.com>
1131 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
1132 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
1133 (target_traceframe_info): Add argument.
1134 * target.c (update_current_target): Update.
1135 * remote.c (remote_traceframe_info): Add 'self' argument.
1136 * ctf.c (ctf_traceframe_info): Add 'self' argument.
1138 2014-02-19 Tom Tromey <tromey@redhat.com>
1140 * target.h (target_static_tracepoint_markers_by_strid): Add
1142 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
1144 * target.c (update_current_target): Update.
1145 * remote.c (struct target_ops)
1146 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1147 * linux-nat.c (struct target_ops)
1148 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1150 2014-02-19 Tom Tromey <tromey@redhat.com>
1152 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1154 (target_static_tracepoint_marker_at): Add argument.
1155 * target.c (update_current_target): Update.
1156 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
1159 2014-02-19 Tom Tromey <tromey@redhat.com>
1161 * target.h (struct target_ops) <to_set_permissions>: Add argument.
1162 (target_set_permissions): Add argument.
1163 * target.c (update_current_target): Update.
1164 * remote.c (remote_set_permissions): Add 'self' argument.
1165 (remote_start_remote): Update.
1167 2014-02-19 Tom Tromey <tromey@redhat.com>
1169 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
1170 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
1171 (target_get_tib_address): Add argument.
1172 * target.c (update_current_target): Update.
1173 * remote.c (remote_get_tib_address): Add 'self' argument.
1175 2014-02-19 Tom Tromey <tromey@redhat.com>
1177 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
1178 (target_set_trace_notes): Add argument.
1179 * target.c (update_current_target): Update.
1180 * remote.c (remote_set_trace_notes): Add 'self' argument.
1182 2014-02-19 Tom Tromey <tromey@redhat.com>
1184 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
1186 (target_set_trace_buffer_size): Add argument.
1187 * target.c (update_current_target): Update.
1188 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
1190 2014-02-19 Tom Tromey <tromey@redhat.com>
1192 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
1194 (target_set_circular_trace_buffer): Add argument.
1195 * target.c (update_current_target): Update.
1196 * remote.c (remote_set_circular_trace_buffer): Add 'self'
1199 2014-02-19 Tom Tromey <tromey@redhat.com>
1201 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
1203 (target_set_disconnected_tracing): Add argument.
1204 * target.c (update_current_target): Update.
1205 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
1207 2014-02-19 Tom Tromey <tromey@redhat.com>
1209 * target.h (struct target_ops)
1210 <to_get_min_fast_tracepoint_insn_len>: Add argument.
1211 (target_get_min_fast_tracepoint_insn_len): Add argument.
1212 * target.c (update_current_target): Update.
1213 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
1216 2014-02-19 Tom Tromey <tromey@redhat.com>
1218 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
1220 (target_get_raw_trace_data): Add argument.
1221 * target.c (update_current_target): Update.
1222 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
1224 2014-02-19 Tom Tromey <tromey@redhat.com>
1226 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1228 (target_upload_trace_state_variables): Add argument.
1229 * target.c (update_current_target): Update.
1230 * remote.c (remote_upload_trace_state_variables): Add 'self'
1232 (remote_start_remote): Update.
1234 2014-02-19 Tom Tromey <tromey@redhat.com>
1236 * target.h (struct target_ops) <to_upload_tracepoints>: Add
1238 (target_upload_tracepoints): Add argument.
1239 * target.c (update_current_target): Update.
1240 * remote.c (remote_upload_tracepoints): Add 'self' argument.
1241 (remote_start_remote): Update.
1243 2014-02-19 Tom Tromey <tromey@redhat.com>
1245 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
1246 (target_save_trace_data): Add argument.
1247 * target.c (update_current_target): Update.
1248 * remote.c (remote_save_trace_data): Add 'self' argument.
1250 2014-02-19 Tom Tromey <tromey@redhat.com>
1252 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
1254 * target.h (struct target_ops)
1255 <to_get_trace_state_variable_value>: Add argument.
1256 (target_get_trace_state_variable_value): Add argument.
1257 * target.c (update_current_target): Update.
1258 * remote.c (remote_get_trace_state_variable_value): Add 'self'
1260 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
1262 2014-02-19 Tom Tromey <tromey@redhat.com>
1264 * tracepoint.c (tfile_trace_find): Add 'self' argument.
1265 * target.h (struct target_ops) <to_trace_find>: Add argument.
1266 (target_trace_find): Add argument.
1267 * target.c (update_current_target): Update.
1268 * remote.c (remote_trace_find): Add 'self' argument.
1269 * ctf.c (ctf_trace_find): Add 'self' argument.
1271 2014-02-19 Tom Tromey <tromey@redhat.com>
1273 * target.h (struct target_ops) <to_trace_stop>: Add argument.
1274 (target_trace_stop): Add argument.
1275 * target.c (update_current_target): Update.
1276 * remote.c (remote_trace_stop): Add 'self' argument.
1278 2014-02-19 Tom Tromey <tromey@redhat.com>
1280 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
1281 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
1283 (target_get_tracepoint_status): Add argument.
1284 * target.c (update_current_target): Update.
1285 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
1287 2014-02-19 Tom Tromey <tromey@redhat.com>
1289 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
1290 * target.h (struct target_ops) <to_get_trace_status>: Add
1292 (target_get_trace_status): Add argument.
1293 * target.c (update_current_target): Update.
1294 * remote.c (remote_get_trace_status): Add 'self' argument.
1295 (remote_start_remote, remote_can_download_tracepoint): Update.
1296 * ctf.c (ctf_get_trace_status): Add 'self' argument.
1298 2014-02-19 Tom Tromey <tromey@redhat.com>
1300 * target.h (struct target_ops) <to_trace_start>: Add argument.
1301 (target_trace_start): Add argument.
1302 * target.c (update_current_target): Update.
1303 * remote.c (remote_trace_start): Add 'self' argument.
1305 2014-02-19 Tom Tromey <tromey@redhat.com>
1307 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1309 (target_trace_set_readonly_regions): Add argument.
1310 * target.c (update_current_target): Update.
1311 * remote.c (remote_trace_set_readonly_regions): Add 'self'
1314 2014-02-19 Tom Tromey <tromey@redhat.com>
1316 * target.h (struct target_ops) <to_disable_tracepoint>: Add
1318 (target_disable_tracepoint): Add argument.
1319 * target.c (update_current_target): Update.
1320 * remote.c (remote_disable_tracepoint): Add 'self' argument.
1322 2014-02-19 Tom Tromey <tromey@redhat.com>
1324 * target.h (struct target_ops) <to_enable_tracepoint>: Add
1326 (target_enable_tracepoint): Add argument.
1327 * target.c (update_current_target): Update.
1328 * remote.c (remote_enable_tracepoint): Add 'self' argument.
1330 2014-02-19 Tom Tromey <tromey@redhat.com>
1332 * target.h (struct target_ops) <to_download_trace_state_variable>:
1334 (target_download_trace_state_variable): Add argument.
1335 * target.c (update_current_target): Update.
1336 * remote.c (remote_download_trace_state_variable): Add 'self'
1339 2014-02-19 Tom Tromey <tromey@redhat.com>
1341 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
1343 (target_can_download_tracepoint): Add argument.
1344 * target.c (update_current_target): Update.
1345 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
1347 2014-02-19 Tom Tromey <tromey@redhat.com>
1349 * target.h (struct target_ops) <to_download_tracepoint>: Add
1351 (target_download_tracepoint): Add argument.
1352 * target.c (update_current_target): Update.
1353 * remote.c (remote_download_tracepoint): Add 'self' argument.
1355 2014-02-19 Tom Tromey <tromey@redhat.com>
1357 * target.h (struct target_ops) <to_trace_init>: Add argument.
1358 (target_trace_init): Add argument.
1359 * target.c (update_current_target): Update.
1360 * remote.c (remote_trace_init): Add 'self' argument.
1362 2014-02-19 Tom Tromey <tromey@redhat.com>
1364 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1365 * target.c (target_fileio_readlink): Add argument.
1366 * remote.c (remote_hostio_readlink): Add 'self' argument.
1367 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1369 2014-02-19 Tom Tromey <tromey@redhat.com>
1371 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1372 * target.c (target_fileio_unlink): Add argument.
1373 * remote.c (remote_hostio_unlink): Add 'self' argument.
1374 (remote_file_delete): Update.
1375 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1377 2014-02-19 Tom Tromey <tromey@redhat.com>
1379 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1380 * target.c (target_fileio_close): Add argument.
1381 * remote.c (remote_hostio_close): Add 'self' argument.
1382 (remote_hostio_close_cleanup): Update.
1383 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1385 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1387 2014-02-19 Tom Tromey <tromey@redhat.com>
1389 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1390 * target.c (target_fileio_pread): Add argument.
1391 * remote.c (remote_hostio_pread): Add 'self' argument.
1392 (remote_bfd_iovec_pread, remote_file_get): Update.
1393 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1395 2014-02-19 Tom Tromey <tromey@redhat.com>
1397 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1398 * target.c (target_fileio_pwrite): Add argument.
1399 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1400 (remote_file_put): Update.
1401 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1403 2014-02-19 Tom Tromey <tromey@redhat.com>
1405 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1406 * target.c (target_fileio_open): Add argument.
1407 * remote.c (remote_hostio_open): Add 'self' argument.
1408 (remote_bfd_iovec_open): Add 'self' argument.
1409 (remote_file_put): Add 'self' argument.
1410 (remote_file_get): Add 'self' argument.
1411 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1413 2014-02-19 Tom Tromey <tromey@redhat.com>
1415 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1417 (target_can_run_breakpoint_commands): Add argument.
1418 * target.c (update_current_target): Update.
1419 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1421 (remote_insert_breakpoint): Add 'self' argument.
1422 (remote_insert_hw_breakpoint): Add 'self' argument.
1423 (remote_can_run_breakpoint_commands): Add 'self' argument.
1425 2014-02-19 Tom Tromey <tromey@redhat.com>
1427 * target.h (struct target_ops)
1428 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1429 (target_supports_evaluation_of_breakpoint_conditions): Add
1431 * target.c (update_current_target): Update.
1432 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1434 (remote_insert_breakpoint): Add 'self' argument.
1435 (remote_insert_hw_breakpoint): Add 'self' argument.
1436 (remote_supports_cond_breakpoints): Add 'self' argument.
1438 2014-02-19 Tom Tromey <tromey@redhat.com>
1440 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1442 (target_supports_string_tracing): Add argument.
1443 * target.c (update_current_target): Update.
1444 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1446 2014-02-19 Tom Tromey <tromey@redhat.com>
1448 * target.h (struct target_ops)
1449 <to_supports_disable_randomization>: Add argument.
1450 * target.c (find_default_supports_disable_randomization): Add
1452 (target_supports_disable_randomization): Add argument.
1453 (find_default_supports_disable_randomization): Add 'self'
1455 * remote.c (extended_remote_supports_disable_randomization): Add
1457 (remote_supports_disable_randomization): Add 'self' argument.
1458 (extended_remote_create_inferior): Update.
1459 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1462 2014-02-19 Tom Tromey <tromey@redhat.com>
1464 * target.h (struct target_ops)
1465 <to_supports_enable_disable_tracepoint>: Add argument.
1466 (target_supports_enable_disable_tracepoint): Add argument.
1467 * target.c (update_current_target): Update.
1468 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1471 2014-02-19 Tom Tromey <tromey@redhat.com>
1473 * target.h (struct target_ops) <to_supports_multi_process>: Add
1475 (target_supports_multi_process): Add argument.
1476 * target.c (update_current_target): Update.
1477 * remote.c (remote_supports_multi_process): Add 'self' argument.
1478 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1480 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1483 2014-02-19 Tom Tromey <tromey@redhat.com>
1485 * target.h (struct target_ops) <to_execution_direction>: Add
1487 (target_execution_direction): Add argument.
1488 * target.c (default_execution_direction): Add 'self' argument.
1489 * record-full.c (record_full_execution_direction): Add 'self'
1492 2014-02-19 Tom Tromey <tromey@redhat.com>
1494 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1496 (target_can_execute_reverse): Add argument.
1497 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1498 * record-full.c (record_full_can_execute_reverse): Add 'self'
1500 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1503 2014-02-19 Tom Tromey <tromey@redhat.com>
1505 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1506 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1508 (target_get_ada_task_ptid): Add argument.
1509 * target.c (update_current_target): Update.
1510 (default_get_ada_task_ptid): Add 'self' argument.
1511 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1512 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1513 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1515 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1517 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1519 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1521 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1522 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1525 2014-02-19 Tom Tromey <tromey@redhat.com>
1527 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1528 (target_goto_bookmark): Add argument.
1529 * target.c (dummy_goto_bookmark): Add 'self' argument.
1530 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1532 2014-02-19 Tom Tromey <tromey@redhat.com>
1534 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1535 (target_get_bookmark): Add argument.
1536 * target.c (dummy_get_bookmark): Add 'self' argument.
1537 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1539 2014-02-19 Tom Tromey <tromey@redhat.com>
1541 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1543 (target_make_corefile_notes): Add argument.
1544 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1545 * procfs.c (procfs_make_note_section): Add 'self' argument.
1546 (procfs_make_note_section): Add 'self' argument.
1547 (procfs_make_note_section): Add 'self' argument.
1548 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1550 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1551 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1552 * exec.c (exec_make_note_section): Add 'self' argument.
1553 (exec_make_note_section): Add 'self' argument.
1555 2014-02-19 Tom Tromey <tromey@redhat.com>
1557 * target.h (struct target_ops) <to_find_memory_regions>: Add
1559 (target_find_memory_regions): Add argument.
1560 * target.c (dummy_find_memory_regions): Add 'self' argument.
1561 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1562 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1563 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1564 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1565 * exec. (exec_do_find_memory_regions): New global.
1566 (exec_set_find_memory_regions): Rewrite.
1567 (exec_find_memory_regions): New function.
1568 (init_exec_ops): Use exec_find_memory_regions.
1570 2014-02-19 Tom Tromey <tromey@redhat.com>
1572 * target.h (struct target_ops) <to_supports_non_stop>: Add
1574 * target.c (find_default_supports_non_stop): Add argument.
1575 (target_supports_non_stop): Add argument.
1576 (find_default_supports_non_stop): Add 'self' argument.
1577 * remote.c (remote_supports_non_stop): Add 'self' argument.
1578 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1580 2014-02-19 Tom Tromey <tromey@redhat.com>
1582 * target.h (struct target_ops) <to_log_command>: Add argument.
1583 (target_log_command): Add argument.
1584 * serial.h (serial_log_command): Add 'self' argument.
1585 * serial.c (serial_log_command): Add 'self' argument.
1587 2014-02-19 Tom Tromey <tromey@redhat.com>
1589 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1590 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1592 (target_pid_to_exec_file): Add argument.
1593 * target.c (debug_to_pid_to_exec_file): Add argument.
1594 (update_current_target): Update.
1595 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1596 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1597 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1598 (linux_handle_extended_wait): Update.
1599 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1600 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1601 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1602 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1604 2014-02-19 Tom Tromey <tromey@redhat.com>
1606 * target.h (struct target_ops) <to_rcmd>: Add argument.
1607 (target_rcmd): Add argument.
1608 * target.c (debug_to_rcmd): Add argument.
1609 (update_current_target, do_monitor_command): Update.
1610 * remote.c (remote_rcmd): Add 'self' argument.
1611 * monitor.c (monitor_rcmd): Add 'self' argument.
1613 2014-02-19 Tom Tromey <tromey@redhat.com>
1615 * windows-nat.c (windows_stop): Add 'self' argument.
1616 * target.h (struct target_ops) <to_stop>: Add argument.
1617 * target.c (target_stop): Add argument.
1618 (debug_to_stop): Add argument.
1619 (update_current_target): Update.
1620 * remote.c (remote_stop): Add 'self' argument.
1621 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1622 (gdbsim_cntrl_c): Update.
1623 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1624 * procfs.c (procfs_stop): Add 'self' argument.
1625 * nto-procfs.c (procfs_stop): Add 'self' argument.
1626 * monitor.c (monitor_stop): Add 'self' argument.
1627 (monitor_open): Update.
1628 * linux-nat.c (linux_nat_stop): Add argument.
1629 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1630 * gnu-nat.c (gnu_stop): Add 'self' argument.
1631 * darwin-nat.c (darwin_stop): Add 'self' argument.
1633 2014-02-19 Tom Tromey <tromey@redhat.com>
1635 * target.h (struct target_ops) <to_thread_name>: Add argument.
1636 * target.c (target_thread_name): Add argument.
1637 (update_current_target): Update.
1638 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
1640 2014-02-19 Tom Tromey <tromey@redhat.com>
1642 * target.h (struct target_ops) <to_extra_thread_info>: Add
1644 (target_extra_thread_info): Add argument.
1645 * target.c (update_current_target): Update.
1646 * remote.c (remote_threads_extra_info): Add 'self' argument.
1647 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
1649 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
1650 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
1651 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
1653 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
1655 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
1657 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
1660 2014-02-19 Tom Tromey <tromey@redhat.com>
1662 * target.h (struct target_ops) <to_program_signals>: Add argument.
1663 * target.c (target_program_signals): Add argument.
1664 * remote.c (remote_program_signals): Add 'self' argument.
1666 2014-02-19 Tom Tromey <tromey@redhat.com>
1668 * target.h (struct target_ops) <to_pass_signals>: Add argument.
1669 * target.c (target_pass_signals): Add argument.
1670 * remote.c (remote_pass_signals): Add 'self' argument.
1671 (remote_start_remote): Update.
1672 * procfs.c (procfs_pass_signals): Add 'self' argument.
1673 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
1674 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
1675 (linux_nat_create_inferior, linux_nat_attach): Update.
1677 2014-02-19 Tom Tromey <tromey@redhat.com>
1679 * windows-nat.c (windows_can_run): Add 'self' argument.
1680 * target.h (struct target_ops) <to_can_run>: Add argument.
1681 (target_can_run): Add argument.
1682 * target.c (debug_to_can_run): Add argument.
1683 (update_current_target): Update.
1684 * nto-procfs.c (procfs_can_run): Add 'self' argument.
1685 * inf-child.c (inf_child_can_run): Add 'self' argument.
1686 * go32-nat.c (go32_can_run): Add 'self' argument.
1688 2014-02-19 Tom Tromey <tromey@redhat.com>
1690 * target.h (struct target_ops) <to_has_exited>: Add argument.
1691 (target_has_exited): Add argument.
1692 * target.c (debug_to_has_exited): Add argument.
1693 (update_current_target): Update.
1695 2014-02-19 Tom Tromey <tromey@redhat.com>
1697 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
1699 (target_set_syscall_catchpoint): Add argument.
1700 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
1702 * target.c (update_current_target): Update.
1704 2014-02-19 Tom Tromey <tromey@redhat.com>
1706 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
1708 (target_remove_exec_catchpoint): Add argument.
1709 * target.c (debug_to_remove_exec_catchpoint): Add argument.
1710 (update_current_target): Update.
1711 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
1714 2014-02-19 Tom Tromey <tromey@redhat.com>
1716 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
1718 (target_insert_exec_catchpoint): Add argument.
1719 * target.c (debug_to_insert_exec_catchpoint): Add argument.
1720 (update_current_target): Update.
1721 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
1724 2014-02-19 Tom Tromey <tromey@redhat.com>
1726 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
1728 (target_remove_vfork_catchpoint): Add argument.
1729 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
1730 (update_current_target): Update.
1731 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
1734 2014-02-19 Tom Tromey <tromey@redhat.com>
1736 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
1738 (target_insert_vfork_catchpoint): Add argument.
1739 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
1740 (update_current_target): Update.
1741 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
1744 2014-02-19 Tom Tromey <tromey@redhat.com>
1746 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
1748 (target_remove_fork_catchpoint): Add argument.
1749 * target.c (debug_to_remove_fork_catchpoint): Add argument.
1750 (update_current_target): Update.
1751 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
1754 2014-02-19 Tom Tromey <tromey@redhat.com>
1756 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
1758 (target_insert_fork_catchpoint): Add argument.
1759 * target.c (debug_to_insert_fork_catchpoint): Add argument.
1760 (update_current_target): Update.
1761 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
1764 2014-02-19 Tom Tromey <tromey@redhat.com>
1766 * target.h (struct target_ops) <to_post_startup_inferior>: Add
1768 (target_post_startup_inferior): Add argument.
1769 * target.c (debug_to_post_startup_inferior): Add argument.
1770 (update_current_target): Update.
1771 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
1773 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
1775 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
1777 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
1779 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
1781 (super_post_startup_inferior): Likewise.
1782 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
1784 (super_post_startup_inferior): Likewise.
1785 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
1786 Add 'self' argument.
1787 (super_post_startup_inferior): Likewise.
1789 2014-02-19 Tom Tromey <tromey@redhat.com>
1791 * target.h (struct target_ops) <to_load>: Add argument.
1792 * target.c (target_load): Add argument.
1793 (debug_to_load): Add argument.
1794 (update_current_target): Update.
1795 * remote.c (remote_load): Add 'self' argument.
1796 * remote-sim.c (gdbsim_load): Add 'self' argument.
1797 * remote-mips.c (mips_load): Add 'self' argument.
1798 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
1799 * monitor.c (monitor_load): Add 'self' argument.
1800 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
1802 2014-02-19 Tom Tromey <tromey@redhat.com>
1804 * target.h (struct target_ops) <to_terminal_info>: Add argument.
1805 (target_terminal_info): Add argument.
1806 * target.c (debug_to_terminal_info): Add argument.
1807 (default_terminal_info): Likewise.
1808 * inflow.c (child_terminal_info): Add 'self' argument.
1809 * inferior.h (child_terminal_info): Add 'self' argument.
1810 * go32-nat.c (go32_terminal_info): Add 'self' argument.
1812 2014-02-19 Tom Tromey <tromey@redhat.com>
1814 * target.h (struct target_ops) <to_terminal_save_ours>: Add
1816 (target_terminal_save_ours): Add argument.
1817 * target.c (debug_to_terminal_save_ours): Add argument.
1818 (update_current_target): Update.
1819 * inflow.c (terminal_save_ours): Add 'self' argument.
1820 * inferior.h (terminal_save_ours): Add 'self' argument.
1822 2014-02-19 Tom Tromey <tromey@redhat.com>
1824 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
1825 (target_terminal_ours): Add argument.
1826 * target.c (debug_to_terminal_ours): Add argument.
1827 (update_current_target): Update.
1828 * remote.c (remote_terminal_ours): Add 'self' argument.
1829 (remote_close): Update.
1830 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
1831 * inflow.c (terminal_ours): Add 'self' argument.
1832 * inferior.h (terminal_ours): Add 'self' argument.
1833 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1835 2014-02-19 Pedro Alves <palves@redhat.com>
1836 Tom Tromey <tromey@redhat.com>
1838 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
1840 (target_terminal_ours_for_output): Add argument.
1841 * target.c (debug_to_terminal_ours_for_output): Add argument.
1842 (update_current_target): Update.
1843 * inflow.c (terminal_ours_for_output): Add 'self' argument.
1844 * inferior.h (terminal_ours_for_output): Add 'self' argument.
1845 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1847 2014-02-19 Tom Tromey <tromey@redhat.com>
1849 * target.h (struct target_ops) <to_terminal_inferior>: Add
1851 * target.c (target_terminal_inferior): Add argument.
1852 (update_current_target): Update.
1853 * remote.c (remote_terminal_inferior): Add 'self' argument.
1854 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
1855 * inflow.c (terminal_inferior): Add 'self' argument.
1856 * inferior.h (terminal_inferior): Add 'self' argument.
1857 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
1858 (go32_terminal_inferior): Add 'self' argument.
1860 2014-02-19 Tom Tromey <tromey@redhat.com>
1862 * target.h (struct target_ops) <to_terminal_init>: Add argument.
1863 (target_terminal_init): Add argument.
1864 * target.c (debug_to_terminal_init): Add argument.
1865 (update_current_target): Update.
1866 * inflow.c (terminal_init_inferior): Add 'self' argument.
1867 * inferior.h (terminal_init_inferior): Add 'self' argument.
1868 * go32-nat.c (go32_terminal_init): Add 'self' argument.
1869 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
1871 2014-02-19 Tom Tromey <tromey@redhat.com>
1873 * target.h (struct target_ops)
1874 <to_can_accel_watchpoint_condition>: Add argument.
1875 (target_can_accel_watchpoint_condition): Add argument.
1876 * target.c (debug_to_can_accel_watchpoint_condition): Add
1878 (update_current_target): Update.
1879 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
1882 2014-02-19 Tom Tromey <tromey@redhat.com>
1884 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1886 (target_region_ok_for_hw_watchpoint): Add argument.
1887 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
1888 (default_region_ok_for_hw_watchpoint): Add argument.
1889 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
1890 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
1892 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
1894 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
1896 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
1898 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
1900 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
1902 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
1903 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
1905 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
1906 Add 'self' argument.
1908 2014-02-19 Tom Tromey <tromey@redhat.com>
1910 * target.h (struct target_ops) <to_insert_watchpoint>: Add
1912 (target_insert_watchpoint): Add argument.
1913 * target.c (debug_to_insert_watchpoint): Add argument.
1914 (update_current_target): Update.
1915 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
1916 * remote.c (remote_insert_watchpoint): Add 'self' argument.
1917 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
1918 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
1919 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
1920 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
1922 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
1923 (procfs_insert_hw_watchpoint): Add 'self' argument.
1924 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
1926 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
1928 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
1930 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
1931 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
1933 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
1936 2014-02-19 Tom Tromey <tromey@redhat.com>
1938 * target.h (struct target_ops) <to_remove_watchpoint>: Add
1940 (target_remove_watchpoint): Add argument.
1941 * target.c (debug_to_remove_watchpoint): Add argument.
1942 (update_current_target): Update.
1943 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
1944 * remote.c (remote_remove_watchpoint): Add 'self' argument.
1945 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
1946 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
1947 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
1948 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
1950 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
1951 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
1953 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
1955 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
1957 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
1958 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
1960 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
1963 2014-02-19 Tom Tromey <tromey@redhat.com>
1965 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
1967 (target_remove_hw_breakpoint): Add argument.
1968 * target.c (debug_to_remove_hw_breakpoint): Add argument.
1969 (update_current_target): Update.
1970 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
1971 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
1973 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
1974 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
1976 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
1979 2014-02-19 Tom Tromey <tromey@redhat.com>
1981 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
1983 (target_insert_hw_breakpoint): Add argument.
1984 * target.c (debug_to_insert_hw_breakpoint): Add argument.
1985 (update_current_target): Update.
1986 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
1987 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
1989 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
1990 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
1991 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
1993 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
1996 2014-02-19 Tom Tromey <tromey@redhat.com>
1998 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
2000 (target_can_use_hardware_watchpoint): Add argument.
2001 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
2002 (update_current_target): Update.
2003 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
2005 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
2007 * remote.c (remote_check_watch_resources): Add 'self' argument.
2008 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
2009 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
2011 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
2012 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
2014 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
2016 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
2018 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
2020 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
2022 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
2024 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
2025 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
2027 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
2030 2014-02-19 Tom Tromey <tromey@redhat.com>
2032 * target.h (struct target_ops) <to_post_attach>: Add argument.
2033 (target_post_attach): Add argument.
2034 * target.c (debug_to_post_attach): Add argument.
2035 (update_current_target): Update.
2036 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
2037 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
2038 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
2039 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
2040 * inf-child.c (inf_child_post_attach): Add 'self' argument.
2042 2014-02-19 Tom Tromey <tromey@redhat.com>
2044 * windows-nat.c (windows_close): Add 'self' argument.
2045 * tracepoint.c (tfile_close): Add 'self' argument.
2046 * target.h (struct target_ops) <to_close>: Add argument.
2047 * target.c (target_close): Add argument.
2048 (update_current_target): Update.
2049 * remote.c (remote_close): Add 'self' argument.
2050 * remote-sim.c (gdbsim_close): Add 'self' argument.
2051 * remote-mips.c (mips_close): Add 'self' argument.
2052 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
2053 * record-full.c (record_full_close): Add 'self' argument.
2054 * record-btrace.c (record_btrace_close): Add 'self' argument.
2055 * monitor.h (monitor_close): Add 'self' argument.
2056 * monitor.c (monitor_close): Add 'self' argument.
2057 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
2058 * linux-nat.c (linux_nat_close): Add argument.
2059 * go32-nat.c (go32_close): Add 'self' argument.
2060 * exec.c (exec_close_1): Add 'self' argument.
2061 * ctf.c (ctf_close): Add 'self' argument.
2062 * corelow.c (core_close): Add 'self' argument.
2063 (core_close_cleanup): Update.
2064 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
2065 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
2067 2014-02-19 Tom Tromey <tromey@redhat.com>
2069 * remote.c (remote_load): New function.
2070 (init_remote_ops): Use it.
2072 2014-02-19 Tom Tromey <tromey@redhat.com>
2074 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
2076 * common/linux-btrace.h (linux_supports_btrace): Update.
2077 * remote.c (remote_supports_btrace): Add "self" argument.
2078 * target-delegates.c: Rebuild.
2079 * target.c (target_supports_btrace): Remove.
2080 * target.h (struct target_ops) <to_supports_btrace>: Add
2081 target_ops argument.
2082 (target_supports_btrace): New define.
2084 2014-02-19 Tom Tromey <tromey@redhat.com>
2086 * record-full.c (record_full_beneath_to_resume_ops)
2087 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
2088 (record_full_beneath_to_wait)
2089 (record_full_beneath_to_store_registers_ops)
2090 (record_full_beneath_to_store_registers)
2091 (record_full_beneath_to_xfer_partial_ops)
2092 (record_full_beneath_to_xfer_partial)
2093 (record_full_beneath_to_insert_breakpoint_ops)
2094 (record_full_beneath_to_insert_breakpoint)
2095 (record_full_beneath_to_remove_breakpoint_ops)
2096 (record_full_beneath_to_remove_breakpoint)
2097 (record_full_beneath_to_stopped_by_watchpoint)
2098 (record_full_beneath_to_stopped_data_address)
2099 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
2100 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
2101 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
2102 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
2103 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
2104 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
2105 (tmp_to_stopped_data_address, tmp_to_async): Remove.
2106 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
2107 (record_full_resume, record_full_wait_1)
2108 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
2109 (record_full_store_registers, record_full_xfer_partial)
2110 (record_full_insert_breakpoint, record_full_remove_breakpoint)
2111 (record_full_async, record_full_core_xfer_partial): Use target
2113 * target-delegates.c: Rebuild.
2114 * target.c (current_xfer_partial): Remove.
2115 (update_current_target): Do not INHERIT or de_fault
2116 to_insert_breakpoint, to_remove_breakpoint,
2117 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
2118 to_is_async_p, to_async. Do not set to_xfer_partial field.
2119 (default_xfer_partial): Simplify.
2120 (current_xfer_partial): Remove.
2121 (target_wait, target_resume): Simplify.
2122 (find_default_can_async_p, find_default_is_async_p): Update.
2123 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
2124 to_xfer_partial, to_stopped_by_watchpoint,
2125 to_stopped_data_address.
2126 (target_store_registers): Simplify.
2127 (forward_target_remove_breakpoint)
2128 (forward_target_insert_breakpoint): Remove.
2129 (target_remove_breakpoint, target_insert_breakpoint)
2130 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
2131 * target.h (struct target_ops) <to_resume, to_wait,
2132 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
2133 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
2134 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
2136 (forward_target_remove_breakpoint)
2137 (forward_target_insert_breakpoint): Remove.
2138 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
2140 (record_btrace_insert_breakpoint): Delegate directly.
2142 2014-02-19 Tom Tromey <tromey@redhat.com>
2145 * target-delegates.c: New file.
2146 * target.c: Include target-delegates.c.
2147 (init_dummy_target): Call install_dummy_methods.
2148 (complete_target_initialization): Call install_delegators.
2149 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
2150 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
2151 * make-target-delegates: New file.
2153 2014-02-19 Tom Tromey <tromey@redhat.com>
2155 * record.c (find_record_target): Use find_target_at.
2156 * target.c (find_target_at): New function.
2157 * target.h (find_target_at): Declare.
2159 2014-02-19 Tom Tromey <tromey@redhat.com>
2161 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
2163 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
2165 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
2166 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
2168 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
2170 * linux-nat.c (save_sigtrap): Update.
2171 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
2172 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
2173 (linux_nat_close): Update.
2174 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
2176 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
2178 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
2179 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
2180 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
2181 (tmp_to_async): Add 'ops' argument.
2182 (record_full_stopped_by_watchpoint, record_full_async)
2183 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
2185 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
2186 (m32r_stopped_by_watchpoint): Add 'ops' argument.
2187 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
2188 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
2189 (remote_is_async_p, remote_async): Add 'ops' argument.
2190 (remote_stopped_data_address): Update.
2191 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
2192 * target.c (update_current_target)
2193 (find_default_can_async_p, find_default_is_async_p): Update.
2194 (init_dummy_target): Update.
2195 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
2196 * target.h (struct target_ops) <to_stopped_by_watchpoint,
2197 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
2198 (target_can_async_p, target_is_async_p, target_async)
2199 (target_stopped_by_watchpoint): Update.
2201 2014-02-19 Yao Qi <yao@codesourcery.com>
2204 * gdbarch.sh: Remove startup_gdbarch.
2205 * gdbarch.c: Regenerated.
2206 * gdbarch.h: Likewise.
2208 2014-02-17 Kevin Buettner <kevinb@redhat.com>
2210 * rl78-tdep.c (rl78_g10_register_name): New function.
2211 (rl78_return_value): Add g10 support.
2212 (rl78_gdbarch_init): Register rl78_g10_register_name for the
2215 2014-02-17 Doug Evans <xdje42@gmail.com>
2217 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
2218 (SUBDIR_GUILE_SRCS): Ditto.
2219 (scm-gsmob.o): Ditto.
2221 2014-02-17 Yao Qi <yao@codesourcery.com>
2223 * gnu-nat.c (ILL_RPC): Declare defined function.
2225 2014-02-17 Yao Qi <yao@codesourcery.com>
2227 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
2228 mach_msg_type_number_t.
2229 (gnu_write_inferior): Likewise.
2231 2014-02-17 Yao Qi <yao@codesourcery.com>
2233 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
2235 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
2236 (inf_validate_procs, inf_signal): Likewise.
2237 (S_exception_raise_request): Likewise.
2238 (do_mach_notify_dead_name): Likewise.
2239 (steal_exc_port): Likewise.
2240 (gnu_read_inferior): Change 'copy_count''s type to
2241 mach_msg_type_number_t.
2242 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
2245 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
2247 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
2248 flag. Adjust all users; in particular...
2249 (gnu_wait): ..., don't decrement its value in here...
2250 (gnu_create_inferior): ..., and instead set the flag in here,
2251 around the startup_inferior call, and call that one with
2252 START_INFERIOR_TRAPS_EXPECTED.
2254 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
2255 (ILL_RPC): ... new macro.
2256 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
2257 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
2258 (do_mach_notify_send_once, S_proc_setmsgport_reply)
2259 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
2260 functions with ILL_RPC macro.
2261 (S_proc_pid2task_reply, S_proc_task2pid_reply)
2262 (S_proc_task2proc_reply, S_proc_proc2task_reply)
2263 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
2264 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
2265 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
2266 (S_proc_getlogin_reply, S_proc_getsid_reply)
2267 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
2268 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
2269 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
2270 (S_proc_getnports_reply, S_proc_is_important_reply)
2271 (S_proc_get_code_reply): New stub functions, generated with
2274 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
2275 collected the type check structures.
2277 * reply_mig_hack.awk: Don't expect to see the auto keyword.
2279 2014-02-14 Doug Evans <dje@google.com>
2281 * target.c (target_write_partial): Fix result type.
2283 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2285 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
2286 the proper offsets to access fpregset_t.
2288 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
2290 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
2291 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
2292 * h8300-tdep.c (setmachinelist): Remove global.
2293 * hppa-tdep.c (hppa_sigtramp): Remove global.
2294 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
2295 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
2296 * ravenscar-thread.c (update_target_observer): Remove global.
2297 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
2299 2014-02-12 Tom Tromey <tromey@redhat.com>
2301 * common/rsp-low.c: Update comments.
2302 * common/rsp-low.h: Update comments.
2304 2014-02-12 Tom Tromey <tromey@redhat.com>
2306 * common/rsp-low.c (convert_ascii_to_int): Remove.
2307 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
2309 2014-02-12 Tom Tromey <tromey@redhat.com>
2311 * common/rsp-low.h (unhexify): Don't declare.
2312 * common/rsp-low.c (unhexify): Remove.
2314 2014-02-12 Tom Tromey <tromey@redhat.com>
2316 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
2317 * common/rsp-low.c (convert_int_to_ascii): Remove.
2319 2014-02-12 Tom Tromey <tromey@redhat.com>
2321 * common/rsp-low.h (hexify): Don't declare.
2322 * common/rsp-low.c (hexify): Remove.
2324 2014-02-12 Tom Tromey <tromey@redhat.com>
2326 * common/rsp-low.c (hexify): Never take strlen of argument.
2328 2014-02-12 Tom Tromey <tromey@redhat.com>
2330 * common/rsp-low.c (bin2hex): Never take strlen of argument.
2331 * remote.c (extended_remote_run, remote_rcmd)
2332 (remote_download_trace_state_variable, remote_save_trace_data)
2333 (remote_set_trace_notes): Update.
2334 * tracepoint.c (encode_source_string, tfile_write_status)
2335 (tfile_write_uploaded_tsv): Update.
2337 2014-02-12 Tom Tromey <tromey@redhat.com>
2339 * tracepoint.c: Include rsp-low.h.
2340 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
2341 * remote.c: Include rsp-low.h.
2342 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
2343 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
2344 (remote_unescape_input): Move to common/rsp-low.c.
2345 * common/rsp-low.h: New file.
2346 * common/rsp-low.c: New file.
2347 * Makefile.in (SFILES): Add common/rsp-low.c.
2348 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
2349 (COMMON_OBS): Add rsp-low.o.
2350 (rsp-low.o): New target.
2352 2014-02-12 Tom Tromey <tromey@redhat.com>
2354 * utils.h: Include print-utils.h.
2355 (host_address_to_string, plongest, pulongest, phex, phex_nz)
2356 (int_string, core_addr_to_string, core_addr_to_string_nz)
2357 (hex_string, hex_string_custom): Don't declare.
2358 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2359 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2360 (hex_string_custom, int_string, core_addr_to_string)
2361 (core_addr_to_string_nz, host_address_to_string): Move to
2362 common/print-utils.c.
2363 * common/print-utils.h: New file.
2364 * common/print-utils.c: New file
2365 * Makefile.in (SFILES): Add common/print-utils.c.
2366 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2367 (COMMON_OBS): Add print-utils.o.
2368 (print-utils.o): New target.
2370 2014-02-12 Tom Tromey <tromey@redhat.com>
2372 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2374 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2376 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2378 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2380 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2381 if a PT_IO ptrace request returns sucessfully but indicates that 0
2382 bytes were transferred.
2384 2014-02-12 Pedro Alves <palves@redhat.com>
2385 Kevin Buettner <kevinb@redhat.com>
2387 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2388 TYPE_INSTANCE_FLAG_CODE_SPACE.
2390 2014-02-12 Pedro Alves <palves@redhat.com>
2392 * h8300-tdep.c (pseudo_from_raw_register)
2393 (raw_from_pseudo_register): New functions.
2394 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2397 2014-02-12 Pedro Alves <palves@redhat.com>
2399 * h8300-tdep.c (h8300_register_sim_regno): New function.
2400 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2401 gdbarch_register_sim_regno hook.
2403 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2405 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2407 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2409 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2411 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2413 * obsd-tdep.h (obsd_init_abi): New prototype.
2414 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2415 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2416 (obsd_init_abi): New functions.
2417 * i386obsd-tdep.c: Include "obsd-tdep.h".
2418 (i386obsd_init_abi): Call obsd_init_abi.
2419 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2420 (amd64obsd_init_abi): Call obsd_init_abi.
2421 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2422 obsd-tdep.c to gdb_target_obs.
2424 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2426 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2427 double float arguments to 16-byte in the argument slots.
2429 2014-02-11 Doug Evans <xdje42@gmail.com>
2431 * configure.ac: Don't crash if pkg-config is not found and guile
2432 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2434 * configure: Regenerate.
2436 2014-02-11 Yao Qi <yao@codesourcery.com>
2438 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2439 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2440 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2441 * gnu-nat.c (gnu_xfer_memory): Likewise.
2442 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2443 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2444 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2445 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2447 2014-02-11 Yao Qi <yao@codesourcery.com>
2449 * target.h (enum target_xfer_error): Rename to ...
2450 (enum target_xfer_status): ... it. New. All users updated.
2451 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2453 (TARGET_XFER_STATUS_ERROR_P): New macro.
2454 (target_xfer_error_to_string): Remove declaration.
2455 (target_xfer_status_to_string): Declare.
2456 (target_xfer_partial_ftype): Adjust it.
2457 (struct target_ops) <to_xfer_partial>: Return
2458 target_xfer_status. Add argument xfered_len. Update
2460 * target.c (target_xfer_error_to_string): Rename to ...
2461 (target_xfer_status_to_string): ... it. New. All callers
2463 (target_read_live_memory): Likewise. Call target_xfer_partial
2464 instead of target_read.
2465 (memory_xfer_live_readonly_partial): Return
2466 target_xfer_status. Add argument xfered_len.
2467 (raw_memory_xfer_partial): Likewise.
2468 (memory_xfer_partial_1): Likewise.
2469 (memory_xfer_partial): Likewise.
2470 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2471 properly. Update debug message.
2472 (default_xfer_partial, current_xfer_partial): Likewise.
2473 (target_write_partial): Likewise.
2474 (target_read_partial): Likewise. All callers updated.
2475 (read_whatever_is_readable): Likewise.
2476 (target_write_with_progress): Likewise.
2477 (target_read_alloc_1): Likewise.
2479 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2480 * auxv.c (procfs_xfer_auxv): Likewise.
2481 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2482 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2483 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2484 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2485 * corefile.c (read_memory): Adjust.
2486 * corelow.c (core_xfer_partial): Likewise.
2487 * ctf.c (ctf_xfer_partial): Likewise.
2488 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2490 (darwin_xfer_partial): Likewise.
2491 * exec.c (section_table_xfer_memory_partial): Likewise. All
2493 (exec_xfer_partial): Likewise.
2494 * exec.h (section_table_xfer_memory_partial): Update
2496 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2498 (gnu_xfer_partial): Likewise.
2499 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2500 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2501 (ia64_hpux_xfer_solib_got): Likewise.
2502 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2503 type of 'partial_len' to ULONGEST.
2504 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2505 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2506 (linux_nat_xfer_partial): Likewise.
2507 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2508 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2509 * monitor.c (monitor_xfer_memory): Likewise.
2510 (monitor_xfer_partial): Likewise.
2511 * procfs.c (procfs_xfer_partial): Likewise.
2512 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2513 * record-full.c (record_full_xfer_partial): Likewise.
2514 (record_full_core_xfer_partial): Likewise.
2515 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2516 (gdbsim_xfer_partial): Likewise.
2517 * remote.c (remote_write_bytes_aux): Likewise. All callers
2519 (remote_write_bytes, remote_read_bytes): Likewise. All
2521 (remote_flash_erase): Likewise. All callers updated.
2522 (remote_write_qxfer): Likewise. All callers updated.
2523 (remote_read_qxfer): Likewise. All callers updated.
2524 (remote_xfer_partial): Likewise.
2525 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2526 (rs6000_xfer_shared_libraries): Likewise.
2527 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2528 (sol_thread_xfer_partial): Likewise.
2529 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2530 (sparc_xfer_partial): Likewise.
2531 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2533 (spu_xfer_partial): Likewise.
2534 * spu-multiarch.c (spu_xfer_partial): Likewise.
2535 * tracepoint.c (tfile_xfer_partial): Likewise.
2536 * windows-nat.c (windows_xfer_memory): Likewise.
2537 (windows_xfer_shared_libraries): Likewise.
2538 (windows_xfer_partial): Likewise.
2539 * valprint.c: Replace 'target_xfer_error' with
2540 'target_xfer_status' in comments.
2542 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2544 Checked in by Joel Brobecker <brobecker@adacore.com>.
2545 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2547 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2549 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2550 function parameters.
2552 2014-02-10 Will Newton <will.newton@linaro.org>
2554 * elfread.c (elf_rel_plt_read): Look for a .got section if
2555 looking up .got.plt fails.
2556 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2557 on address passed to elf_gnu_ifunc_record_cache.
2558 (elf_gnu_ifunc_resolve_addr): Likewise.
2559 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2561 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2563 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2564 (X_RETTURN): New macro.
2565 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2567 * sparc64-tdep.c (sparc64_init_abi): Hook
2568 sparc_in_function_epilogue_p.
2570 2014-02-10 Gary Benson <gbenson@redhat.com>
2572 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2573 Rename name_matcher to symbol_matcher.
2575 2014-02-10 Gary Benson <gbenson@redhat.com>
2577 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2578 Use expand_symtabs_file_matcher_ftype and
2579 expand_symtabs_symbol_matcher_ftype.
2581 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2583 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2584 (struct ada_symbol_cache): New.
2585 (ada_free_symbol_cache): Forward declare.
2586 (struct ada_pspace_data): New.
2587 (ada_pspace_data_handle): New static global.
2588 (get_ada_pspace_data, ada_pspace_data_cleanup)
2589 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2590 (cache_space, cache): Delete, now folded inside struct
2592 (ada_get_symbol_cache): New function.
2593 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2595 (_initialize_ada_language): Remove initialization of cache_space.
2596 Move call to observer_attach_inferior_exit up, grouping it
2597 with the other observer registrations inside this function.
2598 Rename command to be more general. Add call to
2599 register_program_space_data_with_cleanup.
2601 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2603 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2604 ada_new_objfile_observer.
2605 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2606 (_initialize_tasks): Update uses of ada_new_objfile_observer
2607 and ada_tasks_normal_stop_observer.
2609 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2611 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2612 returned by the 'Length attribute to integer.
2614 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2616 * ada-lang.c (_initialize_ada_language): Initialize
2617 cache_space obstack.
2619 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2621 * ada-lang.c (HASH_SIZE): New macro.
2622 (struct cache_entry): New type.
2623 (cache_space, cache): New static globals.
2624 (ada_clear_symbol_cache, find_entry): New functions.
2625 (lookup_cached_symbol, cache_symbol): Implement.
2626 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2627 (_initialize_ada_language): Attach ada_new_objfile_observer
2628 and ada_free_objfile_observer.
2630 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2632 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
2633 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
2634 struct block * parameter.
2635 (ada_lookup_symbol_list_worker): Constify local variable "block".
2636 Remove cast which is no longer necessary.
2638 2014-02-10 Doug Evans <xdje42@gmail.com>
2640 Add Guile as an extension language.
2641 * NEWS: Mention Guile scripting.
2642 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
2643 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
2644 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
2645 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
2646 (CLIBS): Add GUILE_LIBS.
2647 (install-guile): New rule.
2648 (guile.o): New rule.
2649 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
2650 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
2651 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
2652 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
2653 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
2654 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
2655 (scm-type.o, scm-utils.o, scm-value.o): New rules.
2656 * configure.ac: New option --with-guile.
2657 * configure: Regenerate.
2658 * config.in: Regenerate.
2659 * auto-load.c: Remove #include "python/python.h". Add #include
2660 "gdb/section-scripts.h".
2661 (source_section_scripts): Handle Guile scripts.
2662 (_initialize_auto_load): Add name of Guile objfile script to
2663 scripts-directory help text.
2664 * breakpoint.c (condition_command): Tweak comment to include Scheme.
2665 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
2666 (struct breakpoint): New member scm_bp_object.
2667 * defs.h (enum command_control_type): New value guile_control.
2668 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
2670 (show_user): Update comment.
2671 (_initialize_cli_cmds): Update help text for "show user". Update help
2672 text for max-user-call-depth.
2673 * cli/cli-script.c: Remove #include "python/python.h". Add #include
2675 (multi_line_command_p): Add guile_control.
2676 (print_command_lines): Handle guile_control.
2677 (execute_control_command, recurse_read_control_structure): Ditto.
2678 (process_next_line): Recognize "guile" commands.
2679 * disasm.c (gdb_disassemble_info): Make non-static.
2680 * disasm.h: #include "dis-asm.h".
2681 (struct gdbarch): Add forward decl.
2682 (gdb_disassemble_info): Declare.
2683 * extension.c: #include "guile/guile.h".
2684 (extension_languages): Add guile.
2685 (get_ext_lang_defn): Handle EXT_LANG_GDB.
2686 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
2687 * gdbtypes.c (get_unsigned_type_max): New function.
2688 (get_signed_type_minmax): New function.
2689 * gdbtypes.h (get_unsigned_type_max): Declare.
2690 (get_signed_type_minmax): Declare.
2691 * guile/README: New file.
2692 * guile/guile-internal.h: New file.
2693 * guile/guile.c: New file.
2694 * guile/guile.h: New file.
2695 * guile/scm-arch.c: New file.
2696 * guile/scm-auto-load.c: New file.
2697 * guile/scm-block.c: New file.
2698 * guile/scm-breakpoint.c: New file.
2699 * guile/scm-disasm.c: New file.
2700 * guile/scm-exception.c: New file.
2701 * guile/scm-frame.c: New file.
2702 * guile/scm-gsmob.c: New file.
2703 * guile/scm-iterator.c: New file.
2704 * guile/scm-lazy-string.c: New file.
2705 * guile/scm-math.c: New file.
2706 * guile/scm-objfile.c: New file.
2707 * guile/scm-ports.c: New file.
2708 * guile/scm-pretty-print.c: New file.
2709 * guile/scm-safe-call.c: New file.
2710 * guile/scm-string.c: New file.
2711 * guile/scm-symbol.c: New file.
2712 * guile/scm-symtab.c: New file.
2713 * guile/scm-type.c: New file.
2714 * guile/scm-utils.c: New file.
2715 * guile/scm-value.c: New file.
2716 * guile/lib/gdb.scm: New file.
2717 * guile/lib/gdb/boot.scm: New file.
2718 * guile/lib/gdb/experimental.scm: New file.
2719 * guile/lib/gdb/init.scm: New file.
2720 * guile/lib/gdb/iterator.scm: New file.
2721 * guile/lib/gdb/printing.scm: New file.
2722 * guile/lib/gdb/types.scm: New file.
2723 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
2724 (VPATH): Add $(GUILE_SRCDIR).
2725 (GUILE_DIR): New variable.
2726 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
2727 (all): Add stamp-guile dependency.
2728 (stamp-guile): New rule.
2729 (clean-guile, install-guile, uninstall-guile): New rules.
2730 (install-only): Add install-guile dependency.
2731 (uninstall): Add uninstall-guile dependency.
2732 (clean): Add clean-guile dependency.
2734 2014-02-09 Doug Evans <xdje42@gmail.com>
2736 Revert this patch (which I approved, mea culpa).
2738 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2740 * Makefile.in (all-lib): Remove.
2741 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2743 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2745 Fix Python stack corruption.
2746 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
2749 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2751 * Makefile.in (all-lib): Remove.
2752 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2754 2014-02-07 Doug Evans <dje@google.com>
2756 * extension-priv.h (extension_language_script_ops): Add comment.
2757 (extension_language_ops): Add comment.
2758 (active_ext_lang_state): Fix typo in comment.
2760 2014-02-07 Pedro Alves <palves@redhat.com>
2762 * infrun.c (handle_signal_stop) <signal arrives while stepping
2763 over a breakpoint>: Switch back to the stepping thread.
2765 2014-02-07 Yao Qi <yao@codesourcery.com>
2767 * target.c (target_xfer_partial): Return zero if LEN is zero.
2769 2014-02-07 Yao Qi <yao@codesourcery.com>
2771 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
2772 (ld_so_xfer_auxv): Likewise.
2773 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2774 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2775 * corelow.c (core_xfer_partial): Likewise.
2776 * ctf.c (ctf_xfer_partial): Likewise.
2777 * darwin-nat.c (darwin_read_dyld_info): Likewise.
2778 (darwin_xfer_partial): Likewise.
2779 * exec.c (exec_xfer_partial): Likewise.
2780 * gnu-nat.c (gnu_xfer_partial): Likewise.
2781 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
2782 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2783 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2784 * linux-nat.c (linux_xfer_siginfo): Likewise.
2785 (linux_proc_xfer_spu): Likewise.
2786 * procfs.c (procfs_xfer_partial): Likewise.
2787 * record-full.c (record_full_xfer_partial): Likewise.
2788 (record_full_core_xfer_partial): Likewise.
2789 * remote-sim.c (gdbsim_xfer_partial): Likewise.
2790 * remote.c (remote_write_qxfer): Likewise.
2791 (remote_write_qxfer, remote_read_qxfer): Likewise.
2792 (remote_xfer_partial): Likewise.
2793 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2794 (rs6000_xfer_shared_libraries): Likewise.
2795 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2796 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2797 (spu_xfer_partial): Likewise.
2798 * target.c (memory_xfer_partial_1): Likewise.
2799 * tracepoint.c (tfile_xfer_partial): Likewise.
2800 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
2801 (windows_xfer_partial): Likewise.
2803 2014-02-07 Yao Qi <yao@codesourcery.com>
2805 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
2807 (core_xfer_shared_libraries_aix): Likewise.
2808 * gdbarch.c, gdbarch.h: Regenerated.
2809 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
2810 ULONGEST. Change 'len_avail' type to ULONGEST.
2811 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
2812 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
2814 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
2816 2014-02-07 Yao Qi <yao@codesourcery.com>
2818 * corefile.c (memory_error): Get 'exception' from ERR and pass
2819 'exception' to throw_error.
2821 2014-02-06 Doug Evans <xdje42@gmail.com>
2823 * configure.ac (libpython checking): Remove all but python.o from
2824 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
2825 * configure: Regenerate.
2827 * Makefile.in (SFILES): Add extension.c.
2828 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
2829 (COMMON_OBS): Add extension.o.
2830 * extension.h: New file.
2831 * extension-priv.h: New file.
2832 * extension.c: New file.
2834 * python/python-internal.h: #include "extension.h".
2835 (gdbpy_auto_load_enabled): Declare.
2836 (gdbpy_apply_val_pretty_printer): Declare.
2837 (gdbpy_apply_frame_filter): Declare.
2838 (gdbpy_preserve_values): Declare.
2839 (gdbpy_breakpoint_cond_says_stop): Declare.
2840 (gdbpy_breakpoint_has_cond): Declare.
2841 (void source_python_script_for_objfile): Delete.
2842 * python/python.c: #include "extension-priv.h".
2843 Delete inclusion of "observer.h".
2844 (extension_language_python): Moved here and renamed from
2845 script_language_python in py-auto-load.c.
2846 Redefined to be of type extension_language_defn.
2847 (python_extension_script_ops): New global.
2848 (python_extension_ops): New global.
2849 (struct python_env): New member previous_active.
2850 (restore_python_env): Call restore_active_ext_lang.
2851 (ensure_python_env): Call set_active_ext_lang.
2852 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
2854 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
2856 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
2858 (gdbpy_eval_from_control_command): Renamed from
2859 eval_python_from_control_command, made static. New arg extlang.
2860 (gdbpy_source_script) Renamed from source_python_script, made static.
2862 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
2863 result to int. New arg extlang.
2864 (gdbpy_source_objfile_script): Renamed from
2865 source_python_script_for_objfile, made static. New arg extlang.
2866 (gdbpy_start_type_printers): Renamed from start_type_printers, made
2867 static. New args extlang, extlang_printers. Change result type to
2869 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
2870 static. New arg extlang. Rename arg printers to extlang_printers
2871 and change type to ext_lang_type_printers *.
2872 (gdbpy_free_type_printers): Renamed from free_type_printers, made
2873 static. Replace argument arg with extlang, extlang_printers.
2874 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
2875 (!HAVE_PYTHON, source_python_script): Delete.
2876 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
2877 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
2878 (!HAVE_PYTHON, start_type_printers): Delete.
2879 (!HAVE_PYTHON, apply_type_printers): Delete.
2880 (!HAVE_PYTHON, free_type_printers): Delete.
2881 (_initialize_python): Delete call to observer_attach_before_prompt.
2882 (finalize_python): Set/restore active extension language.
2883 (gdbpy_finish_initialization) Renamed from
2884 finish_python_initialization, made static. New arg extlang.
2885 (gdbpy_initialized): New function.
2886 * python/python.h: #include "extension.h". Delete #include
2887 "value.h", "mi/mi-cmds.h".
2888 (extension_language_python): Declare.
2889 (GDBPY_AUTO_FILE_NAME): Delete.
2890 (enum py_bt_status): Moved to extension.h and renamed to
2892 (enum frame_filter_flags): Moved to extension.h.
2893 (enum py_frame_args): Moved to extension.h and renamed to
2894 ext_lang_frame_args.
2895 (finish_python_initialization): Delete.
2896 (eval_python_from_control_command): Delete.
2897 (source_python_script): Delete.
2898 (apply_val_pretty_printer): Delete.
2899 (apply_frame_filter): Delete.
2900 (preserve_python_values): Delete.
2901 (gdbpy_script_language_defn): Delete.
2902 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
2903 (start_type_printers, apply_type_printers, free_type_printers): Delete.
2905 * auto-load.c: #include "extension.h".
2906 (GDB_AUTO_FILE_NAME): Delete.
2907 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
2908 (script_language_gdb): Delete, moved to extension.c and renamed to
2909 extension_language_gdb.
2910 (source_gdb_script_for_objfile): Delete.
2911 (auto_load_pspace_info): New member unsupported_script_warning_printed.
2912 (loaded_script): Change type of language member to
2913 struct extension_language_defn *.
2914 (init_loaded_scripts_info): Initialize
2915 unsupported_script_warning_printed.
2916 (maybe_add_script): Make static. Change type of language arg to
2917 struct extension_language_defn *.
2918 (clear_section_scripts): Reset unsupported_script_warning_printed.
2919 (auto_load_objfile_script_1): Rewrite to use extension language API.
2920 (auto_load_objfile_script): Make public. Remove support-compiled-in
2921 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
2922 (source_section_scripts): Rewrite to use extension language API.
2923 (load_auto_scripts_for_objfile): Rewrite to use
2924 auto_load_scripts_for_objfile.
2925 (collect_matching_scripts_data): Change type of language member to
2926 struct extension_language_defn *.
2927 (auto_load_info_scripts): Change type of language arg to
2928 struct extension_language_defn *.
2929 (unsupported_script_warning_print): New function.
2930 (script_not_found_warning_print): Make static.
2931 (_initialize_auto_load): Rewrite construction of scripts-directory
2933 * auto-load.h (struct objfile): Add forward decl.
2934 (struct script_language): Delete.
2935 (struct auto_load_pspace_info): Add forward decl.
2936 (struct extension_language_defn): Add forward decl.
2937 (maybe_add_script): Delete.
2938 (auto_load_objfile_script): Declare.
2939 (script_not_found_warning_print): Delete.
2940 (auto_load_info_scripts): Update prototype.
2941 (auto_load_gdb_scripts_enabled): Declare.
2942 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
2943 auto_load_python_scripts_enabled and made public.
2944 (script_language_python): Delete, moved to python.c.
2945 (gdbpy_script_language_defn): Delete.
2946 (info_auto_load_python_scripts): Update to use
2947 extension_language_python.
2949 * breakpoint.c (condition_command): Replace call to
2950 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
2951 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
2952 with call to breakpoint_ext_lang_cond_says_stop.
2953 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
2954 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
2955 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
2956 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
2958 (local_setattro): Print name of extension language with existing
2961 * valprint.c (val_print, value_print): Update to call
2962 apply_ext_lang_val_pretty_printer.
2963 * cp-valprint.c (cp_print_value): Update call to
2964 apply_ext_lang_val_pretty_printer.
2965 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
2966 (gdbpy_apply_val_pretty_printer): Renamed from
2967 apply_val_pretty_printer. New arg extlang.
2968 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
2970 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
2971 extension language API.
2972 * cli/cli-script.c (execute_control_command): Update to call
2973 eval_ext_lang_from_control_command.
2975 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
2976 enum ext_lang_bt_status values. Update call to
2977 apply_ext_lang_frame_filter.
2978 (mi_cmd_stack_list_locals): Ditto.
2979 (mi_cmd_stack_list_args): Ditto.
2980 (mi_cmd_stack_list_variables): Ditto.
2981 * mi/mi-main.c: Delete #include "python/python-internal.h".
2982 Add #include "extension.h".
2983 (mi_cmd_list_features): Replace reference to python internal variable
2984 gdb_python_initialized with call to ext_lang_initialized_p.
2986 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
2987 Update to use enum ext_lang_frame_args. Update to call
2988 apply_ext_lang_frame_filter.
2989 * python/py-framefilter.c (extract_sym): Update to use enum
2991 (extract_value, py_print_type, py_print_value): Ditto.
2992 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
2993 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
2994 (py_print_frame): Ditto.
2995 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
2996 New arg extlang. Update to use enum ext_lang_bt_status.
2998 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
2999 finish_python_initialization. Replace with call to
3000 finish_ext_lang_initialization.
3002 * typeprint.c (do_free_global_table): Update to call
3003 free_ext_lang_type_printers.
3004 (create_global_typedef_table): Update to call
3005 start_ext_lang_type_printers.
3006 (find_global_typedef): Update to call apply_ext_lang_type_printers.
3007 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
3008 (type_print_options): Change type of global_printers from "void *"
3009 to "struct ext_lang_type_printers *".
3011 * value.c (preserve_values): Update to call preserve_ext_lang_values.
3012 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
3013 (gdbpy_preserve_values): Renamed from preserve_python_values.
3015 (!HAVE_PYTHON, preserve_python_values): Delete.
3017 * utils.c (quit_flag): Delete, moved to extension.c.
3018 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
3021 * eval.c: Delete #include "python/python.h".
3022 * main.c: Delete #include "python/python.h".
3024 * defs.h: Update comment.
3026 2014-02-06 Joel Brobecker <brobecker@adacore.com>
3030 2014-02-05 Mark Kettenis <kettenis@gnu.org>
3032 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
3035 2014-02-05 Yao Qi <yao@codesourcery.com>
3037 * remote.c (remote_pass_signals): Remove local 'buf' and use
3039 (remote_program_signals): Likewise.
3041 2014-02-05 Yao Qi <yao@codesourcery.com>
3043 * ctf.c: Include "inferior.h" and "gdbthread.h".
3044 (CTF_PID): A new macro.
3045 (ctf_open): Call inferior_appeared and add_thread_silent.
3046 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
3047 (ctf_thread_alive): New function.
3048 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
3050 2014-02-05 Yao Qi <yao@codesourcery.com>
3054 2013-05-24 Yao Qi <yao@codesourcery.com>
3056 * tracepoint.c (TFILE_PID): Remove.
3057 (tfile_open): Don't add thread and inferior.
3058 (tfile_close): Don't set 'inferior_ptid'. Don't call
3059 exit_inferior_silent.
3060 (tfile_thread_alive): Remove.
3061 (init_tfile_ops): Don't set field 'to_thread_alive' of
3064 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
3066 * remote.c (remote_start_remote): Call remote_check_symbols even
3067 if only symbol-file (not file) has been given.
3069 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3071 * gdbarch.sh (skip_entrypoint): New callback.
3072 * gdbarch.c, gdbarch.h: Regenerate.
3073 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
3074 * infrun.c (fill_in_stop_func): Likewise.
3075 * ppc-linux-tdep.c: Include "elf/ppc64.h".
3076 (ppc_elfv2_elf_make_msymbol_special): New function.
3077 (ppc_elfv2_skip_entrypoint): Likewise.
3078 (ppc_linux_init_abi): Install them for ELFv2.
3080 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3082 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
3083 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
3084 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
3085 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
3086 structures returned in GPRs.
3088 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3090 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
3091 offset to the stack parameter list for the ELFv2 ABI.
3093 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3095 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
3096 set_gdbarch_convert_from_func_ptr_addr and
3097 set_gdbarch_elf_make_msymbol_special for ELFv1.
3098 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
3099 function descriptors on ELFv1.
3100 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
3101 set up r12 at function entry.
3103 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3105 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
3106 (struct gdbarch_tdep): New member elf_abi.
3108 * rs6000-tdep.c: Include "elf/ppc64.h".
3109 (rs6000_gdbarch_init): Detect ELF ABI version.
3111 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3113 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
3114 within a register pair holding a DFP 128-bit value on little-endian.
3115 (ppc64_sysv_abi_return_value_base): Likewise.
3116 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
3117 (dfp_pseudo_register_write): Likewise.
3119 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3121 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
3122 offset on little-endian when passing _Decimal32.
3123 (ppc64_sysv_abi_return_value_base): Likewise for return values.
3125 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3127 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
3128 of the overlapped FP register within the VSX register on little-
3130 (efpr_pseudo_register_write): Likewise.
3132 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3134 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
3135 offset on little-endian when passing small structures.
3137 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3139 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
3140 (struct ppc64_sysv_argpos): New data structure.
3141 (ppc64_sysv_abi_push_float): Remove.
3142 (ppc64_sysv_abi_push_val): New function.
3143 (ppc64_sysv_abi_push_integer): Likewise.
3144 (ppc64_sysv_abi_push_freg): Likewise.
3145 (ppc64_sysv_abi_push_vreg): Likewise.
3146 (ppc64_sysv_abi_push_param): Likewise.
3147 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
3148 (ppc64_sysv_abi_return_value_base): New function.
3149 (ppc64_sysv_abi_return_value): Refactor to use it.
3151 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3153 * NEWS: Document new target powerpc64le-*-linux*.
3155 2014-02-04 Mark Kettenis <kettenis@gnu.org>
3157 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
3158 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
3160 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
3161 register set used in ELF core dumps. Add floating-point register set.
3163 2014-02-03 Kevin Buettner <kevinb@redhat.com>
3165 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
3166 dwarf2_to_gdb[] table using symbolic constants. Adjust
3167 penultimate entry from number representing the PC register
3168 to symbolic constant representing the MDR register. Add
3169 constant for the PC register to the end of the table.
3171 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3173 * bsd-kvm.c: Include <sys/param.h>
3175 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3177 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
3179 2014-01-31 Joel Brobecker <brobecker@adacore.com>
3181 * ada-lang.h (clear_ada_sym_cache): Delete.
3183 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
3185 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
3187 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3189 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
3190 the sigreturn register save area only if the syscall is
3193 2014-01-29 Joel Brobecker <brobecker@adacore.com>
3195 * valops.c (value_slice): Minor reformatting.
3197 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
3199 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
3201 2014-01-28 Joel Brobecker <brobecker@adacore.com>
3203 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
3205 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
3206 (ada_ignore_descriptive_types_p): New static global.
3207 (find_parallel_type_by_descriptive_type): Return immediately
3208 if ada_ignore_descriptive_types_p is set.
3209 (_initialize_ada_language): Register new commands "maintenance
3210 set ada", "maintenance show ada", "maintenance set ada
3211 ignore-descriptive-types" and "maintenance show ada
3212 ignore-descriptive-types".
3213 * NEWS: Add entry for new "maint ada set/show
3214 ignore-descriptive-types" commands.
3216 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
3218 * record-btrace.c (record_btrace_close): Call btrace_teardown
3221 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3223 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
3226 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3228 * ada-typeprint (type_is_full_subrange_of_target_type):
3230 (print_range): Add parameter bounds_prefered_p. If not set,
3231 try printing range types using the name of their base type.
3232 (print_range_type): Add parameter bounds_prefered_p.
3233 Use it in call to print_range.
3234 (print_array_type, ada_print_type): Update calls to print_range
3235 and print_range_type.
3237 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3239 * ada-typeprint.c (print_array_type, print_choices, print_range)
3240 (print_range_bound, print_dynamic_range_bound, print_range_type):
3243 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3245 * ada-typeprint.c (print_range): Add missing empty line
3246 after local declaration.
3248 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3250 * ada-valprint.c (print_optional_low_bound): Get index_type's
3251 target type for as long as it is a TYPE_CODE_RANGE.
3253 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3255 * procfs.c (procfs_make_note_section): Remove assertion and
3258 2014-01-24 Yao Qi <yao@codesourcery.com>
3260 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
3261 * corelow.c (get_core_siginfo): Likewise.
3263 2014-01-24 Yao Qi <yao@codesourcery.com>
3265 * remote.c (remote_write_bytes_aux): Change type of 'len' to
3266 ULONGEST. Don't check 'len' is negative.
3267 (remote_write_bytes): Change type of 'len' to ULONGEST.
3269 2014-01-23 Tom Tromey <tromey@redhat.com>
3272 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
3273 Handle exception from frame.block.
3274 (FrameVars.fetch_frame_locals): Likewise.
3276 2014-01-23 Tom Tromey <tromey@redhat.com>
3279 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
3280 on a NULL pointer. Move "goto error" to correct place.
3282 2014-01-23 Tom Tromey <tromey@redhat.com>
3285 * python/py-framefilter.c (apply_frame_filter): Call
3286 ensure_python_env after computing gdbarch.
3288 2014-01-23 Yao Qi <yao@codesourcery.com>
3290 * target.c (raw_memory_xfer_partial): Change argument type
3291 from void * to gdb_byte *.
3292 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
3294 2014-01-22 Doug Evans <dje@google.com>
3296 New gdbserver option --debug-format=timestamp.
3299 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3301 * syscalls/s390x-linux.xml: New file.
3302 * syscalls/s390-linux.xml: New file.
3303 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
3304 (XML_SYSCALL_FILENAME_S390X): Likewise.
3305 (op_svc): New enum value for SVC opcode.
3306 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
3307 (s390_linux_get_syscall_number): New function.
3308 (s390_gdbarch_init): Register '*get_syscall_number' and the
3309 syscall xml file name.
3310 * data-directory/Makefile.in (SYSCALLS_FILES): Add
3311 "s390-linux.xml" and "s390x-linux.xml".
3312 * NEWS: Announce new feature.
3314 2014-01-22 Baruch Siach <baruch@tkos.co.il>
3316 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
3318 2014-01-22 Pedro Alves <palves@redhat.com>
3320 * xtensa-config.c: Include defs.h.
3322 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3324 * common/common-utils.h: Add "ARI:" comment beside __func__
3327 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3329 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
3330 documentation a bit.
3332 2014-01-21 Roland McGrath <mcgrathr@google.com>
3334 * configure.ac: Call AM_PROG_INSTALL_STRIP.
3335 * configure: Regenerate.
3336 * aclocal.m4: Regenerate.
3337 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
3338 New substituted variables.
3339 (install-strip): New target.
3340 (INSTALL_SCRIPT): New substituted variable.
3341 (FLAGS_TO_PASS): Add it.
3342 (install-only): Use $(INSTALL_SCRIPT) rather than
3343 $(INSTALL_PROGRAM) for gcore.
3345 2014-01-20 Tom Tromey <tromey@redhat.com>
3347 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
3350 2014-01-20 Tom Tromey <tromey@redhat.com>
3352 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
3353 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
3354 (deprecated_cmd_warning, complete_on_cmdlist): Update.
3355 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
3356 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3357 (struct cmd_list_element) <flags>: Remove.
3358 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3359 doc_allocated>: New fields.
3360 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3362 * maint.c (maintenance_do_deprecate): Update.
3363 * top.c (execute_command): Update.
3365 2014-01-20 Baruch Siach <baruch@tkos.co.il>
3367 * xtensa-linux-nat.c: Include asm/ptrace.h.
3369 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3371 * Makefile.in (SFILES): Add d-support.c.
3372 (COMMON_OBS): Add d-support.o.
3373 * d-lang.h (d_parse_symbol): Add comment, now defined in
3375 * d-lang.c (parse_call_convention)
3376 (parse_attributes, parse_function_types)
3377 (parse_function_args, parse_type, parse_identifier)
3378 (call_convention_p, d_parse_symbol): Move functions to ...
3379 * d-support.c: ... New file.
3381 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3383 * d-lang.h (d_parse_symbol): Add declaration.
3384 * d-lang.c (extract_identifiers)
3385 (extract_type_info): Remove functions.
3386 (parse_call_convention, parse_attributes)
3387 (parse_function_types, parse_function_args)
3388 (parse_type, parse_identifier, call_convention_p)
3389 (d_parse_symbol): New functions.
3390 (d_demangle): Use d_parse_symbol to demangle D symbols.
3392 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3394 * d-lang.h (struct builtin_d_type): New data type.
3395 (builtin_d_type): Add declaration.
3396 * d-lang.c (d_language_arch_info, build_d_types)
3397 (builtin_d_type): New functions.
3398 (enum d_primitive_types): New data type.
3399 (d_language_defn): Change c_language_arch_info to
3400 d_language_arch_info.
3401 (d_type_data): New static variable.
3402 (_initialize_d_language): Initialize d_type_data.
3404 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3406 * d-lang.h (d_main_name): Add declaration.
3407 * d-lang.c (d_main_name): New function.
3408 * symtab.c (find_main_name): Add call to d_main_name.
3410 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3412 * d-lang.c (d_language_defn): Change macro_expansion_c to
3415 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3417 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3419 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3421 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3422 gdb_exception" declaration.
3423 * remote.c (getpkt_or_notif_sane): Likewise.
3425 2014-01-17 Doug Evans <dje@google.com>
3427 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3428 function, contents of dirnames_to_char_ptr_vec_append moved here.
3429 (delim_string_to_char_ptr_vec): New function.
3430 (dirnames_to_char_ptr_vec_append): Rewrite.
3431 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3433 2014-01-17 Doug Evans <dje@google.com>
3435 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3437 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3438 #include "common-utils.h".
3439 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3440 * common/vec.h (VEC_ASSERT_PASS): Update.
3441 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3442 (MACH_CHECK_ERROR): Update.
3444 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3446 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3448 * gdbarch.h: Regenerate.
3450 2014-01-16 Tom Tromey <tromey@redhat.com>
3452 * value.c (struct value) <regnum>: Move earlier.
3454 2014-01-16 Tom Tromey <tromey@redhat.com>
3456 * remote.c (extended_remote_create_inferior): Rename from
3457 extended_remote_create_inferior_1. Add "ops" argument. Remove
3460 2014-01-16 Pedro Alves <palves@redhat.com>
3462 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3463 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3466 2014-01-16 Doug Evans <dje@google.com>
3468 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3470 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3472 * btrace.h (btrace_thread_flag): New.
3473 (struct btrace_thread_info) <flags>: New.
3474 * record-btrace.c (record_btrace_resume_thread)
3475 (record_btrace_find_thread_to_move, btrace_step_no_history)
3476 (btrace_step_stopped, record_btrace_start_replaying)
3477 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3478 (record_btrace_find_resume_thread): New.
3479 (record_btrace_resume, record_btrace_wait): Extend.
3480 (record_btrace_can_execute_reverse): New.
3481 (record_btrace_open): Fail in non-stop mode.
3482 (record_btrace_set_replay): Split into this, ...
3483 (record_btrace_stop_replaying): ... this, ...
3484 (record_btrace_clear_histories): ... and this.
3485 (init_record_btrace_ops): Init to_can_execute_reverse.
3486 * NEWS: Announce it.
3488 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3490 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3491 (forward_target_decr_pc_after_break)
3492 (target_decr_pc_after_break): New.
3493 * target.c (forward_target_decr_pc_after_break)
3494 (target_decr_pc_after_break): New.
3495 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3496 instead of gdbarch_decr_pc_after_break.
3497 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3498 instead of gdbarch_decr_pc_after_break.
3499 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3500 instead of gdbarch_decr_pc_after_break.
3501 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3502 instead of gdbarch_decr_pc_after_break.
3503 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3504 instead of gdbarch_decr_pc_after_break.
3505 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3506 instead of gdbarch_decr_pc_after_break.
3508 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3510 * btrace.c: Include regcache.h.
3511 (btrace_add_pc): New.
3512 (btrace_enable): Call btrace_add_pc.
3513 (btrace_is_empty): New.
3514 * btrace.h (btrace_is_empty): New.
3515 * record-btrace.c (require_btrace, record_btrace_info): Call
3518 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3520 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3521 Support delta reads.
3522 (linux_disable_btrace): Change return type.
3523 * common/linux-btrace.h (linux_read_btrace): Change parameters
3524 and return type to allow error reporting. Update users.
3525 (linux_disable_btrace): Change return type. Update users.
3526 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3528 (btrace_error): New.
3529 (btrace_block) <begin>: Comment on BEGIN == 0.
3530 * btrace.c (btrace_compute_ftrace): Start from the end of
3532 (btrace_stitch_trace, btrace_clear_history): New.
3533 (btrace_fetch): Read delta trace, return if replaying.
3534 (btrace_clear): Move clear history code to btrace_clear_history.
3535 (parse_xml_btrace): Throw an error if parsing failed.
3536 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3537 and return type to allow error reporting.
3538 (target_read_btrace): Change parameters and return type to allow
3540 * target.c (target_read_btrace): Update.
3541 * remote.c (remote_read_btrace): Support delta reads. Pass
3543 * NEWS: Announce it.
3545 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3547 * record.h (record_btrace_frame_unwind)
3548 (record_btrace_tailcall_frame_unwind): New declarations.
3549 * dwarf2-frame: Include record.h
3550 (dwarf2_frame_cfa): Throw an error for btrace frames.
3551 * record-btrace.c: Include hashtab.h.
3552 (btrace_get_bfun_name): New.
3553 (btrace_call_history): Call btrace_get_bfun_name.
3554 (struct btrace_frame_cache): New.
3556 (bfcache_hash, bfcache_eq, bfcache_new): New.
3557 (btrace_get_frame_function): New.
3558 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3559 (record_btrace_frame_this_id): Compute own id.
3560 (record_btrace_frame_prev_register): Provide PC, throw_error
3561 for all other registers.
3562 (record_btrace_frame_sniffer): Detect btrace frames.
3563 (record_btrace_tailcall_frame_sniffer): New.
3564 (record_btrace_frame_dealloc_cache): New.
3565 (record_btrace_frame_unwind): Add new functions.
3566 (record_btrace_tailcall_frame_unwind): New.
3567 (_initialize_record_btrace): Allocate cache.
3568 * btrace.c (btrace_clear): Call reinit_frame_cache.
3569 * NEWS: Announce it.
3571 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3573 * record-btrace.c (record_btrace_set_replay)
3574 (record_btrace_goto_begin, record_btrace_goto_end)
3575 (record_btrace_goto): New.
3576 (init_record_btrace_ops): Initialize them.
3577 * NEWS: Announce it.
3579 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3581 * record-btrace.c (record_btrace_find_new_threads)
3582 (record_btrace_thread_alive): New.
3583 (init_record_btrace_ops): Initialize to_find_new_threads and
3586 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3588 * record-btrace.c (record_btrace_resume): New.
3589 (record_btrace_wait): New.
3590 (init_record_btrace_ops): Initialize to_wait and to_resume.
3592 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3594 * record-btrace.c (record_btrace_xfer_partial)
3595 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3596 (record_btrace_allow_memory_access): New.
3597 (init_record_btrace_ops): Initialize new methods.
3598 * target.c (raw_memory_xfer_partial): Bail out if target reports
3599 that this memory is not available.
3601 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3603 * target.h (target_ops) <to_insert_breakpoint>
3604 <to_remove_breakpoint>: Add target_ops parameter.
3605 (forward_target_insert_breakpoint): New.
3606 (forward_target_remove_breakpoint): New.
3607 (memory_remove_breakpoint, memory_insert_breakpoint):
3608 Add target_ops parameter.
3609 * target.c (target_insert_breakpoint): Split into this and ...
3610 (forward_target_insert_breakpoint): ... this.
3611 (target_remove_breakpoint): Split into this and ...
3612 (forward_target_remove_breakpoint): ... this.
3613 (debug_to_insert_breakpoint): Add target_ops parameter.
3614 Call forward_target_insert_breakpoint.
3615 (debug_to_remove_breakpoint): Add target_ops parameter.
3616 Call forward_target_remove_breakpoint.
3617 (update_current_target): Do not inherit or default to_insert_breakpoint
3618 and to_remove_breakpoint.
3619 * corelow.c (ignore): Add target_ops parameter.
3620 * exec.c (ignore): Add target_ops parameter.
3621 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3622 Add target_ops parameter.
3623 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3624 Add target_ops parameter.
3625 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3626 Add target_ops parameter.
3627 * record-full.c (record_full_beneath_to_insert_breakpoint)
3628 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3629 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3630 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
3631 (record_full_core_remove_breakpoint): Add target_ops parameter.
3633 (record_full_beneath_to_insert_breakpoint_ops)
3634 (record_full_beneath_to_remove_breakpoint_ops)
3635 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
3636 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
3637 tmp_to_remove_breakpoint_ops,
3638 record_full_beneath_to_insert_breakpoint_ops, and
3639 record_full_beneath_to_remove_breakpoint_ops.
3640 * remote-m32r-sdi.c (m32r_insert_breakpoint)
3641 (m32r_remove_breakpoint): Add target_ops parameter.
3642 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
3643 Add target_ops parameter.
3644 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
3645 Add target_ops parameter.
3647 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3648 Markus Metzger <markus.t.metzger@intel.com>
3650 * record-btrace.c: Include frame-unwind.h.
3651 (record_btrace_frame_unwind_stop_reason)
3652 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
3653 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
3655 (init_record_btrace_ops): Install it.
3657 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3659 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
3662 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3664 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
3667 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3669 * frame-unwind.c: Include target.h.
3670 (frame_unwind_try_unwinder): New function with code from ...
3671 (frame_unwind_find_by_frame): ... here. New variable
3672 unwinder_from_target, call also target_get_unwinder)
3673 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
3674 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
3675 * target.h (struct target_ops): New fields to_get_unwinder and
3676 to_get_tailcall_unwinder.
3677 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
3679 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3681 * record-btrace.c (record_btrace_fetch_registers)
3682 (record_btrace_store_registers)
3683 (record_btrace_to_prepare_to_store): New.
3684 (init_record_btrace_ops): Add the above.
3686 2014-01-16 Tom Tromey <tromey@redhat.com>
3688 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
3689 * target.h (struct target_ops) <to_prepare_to_store>: Add
3691 (target_prepare_to_store): Add argument.
3692 * target.c (debug_to_prepare_to_store): Add argument.
3693 (update_current_target): Update.
3694 * remote.c (remote_prepare_to_store): Add 'self' argument.
3695 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
3696 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
3697 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
3698 * record-full.c (record_full_core_prepare_to_store): Add 'self'
3700 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
3701 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
3702 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
3703 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
3704 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
3706 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3708 * btrace.h (replay) <replay>: New.
3709 (btrace_is_replaying): New.
3710 * btrace.c (btrace_clear): Free replay iterator.
3711 (btrace_is_replaying): New.
3712 * record-btrace.c (record_btrace_is_replaying): New.
3713 (record_btrace_info): Print insn number if replaying.
3714 (record_btrace_insn_history): Start at replay position.
3715 (record_btrace_call_history): Start at replay position.
3716 (init_record_btrace_ops): Init to_record_is_replaying.
3718 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3720 * record-btrace.c (record_btrace_insn_history_range): Include
3722 (record_btrace_insn_history_from): Adjust range.
3723 (record_btrace_call_history_range): Include
3725 (record_btrace_call_history_from): Adjust range.
3726 * NEWS: Announce changes.
3728 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3730 * record.h (enum record_print_flag)
3731 <record_print_indent_calls>: New.
3732 * record.c (get_call_history_modifiers): Recognize /c modifier.
3733 (_initialize_record): Document /c modifier.
3734 * record-btrace.c (btrace_call_history): Add btinfo parameter.
3735 Reorder fields. Optionally indent the function name. Update
3737 * NEWS: Announce changes.
3739 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3741 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
3743 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3745 * btrace.c (ftrace_new_function): Start counting at one.
3746 * record-btrace.c (record_btrace_info): Adjust number of calls
3748 * NEWS: Announce it.
3750 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3752 * record-btrace.c (btrace_call_history_insn_range): Print
3753 insn range as [begin, end].
3755 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3757 * btrace.h (struct btrace_func_link): New.
3758 (enum btrace_function_flag): New.
3759 (struct btrace_inst): Rename to ...
3760 (struct btrace_insn): ...this. Update all users.
3761 (struct btrace_func) <ibegin, iend>: Remove.
3762 (struct btrace_func_link): New.
3763 (struct btrace_func): Rename to ...
3764 (struct btrace_function): ...this. Update all users.
3765 (struct btrace_function) <segment, flow, up, insn, insn_offset)
3766 (number, level, flags>: New.
3767 (struct btrace_insn_iterator): Rename to ...
3768 (struct btrace_insn_history): ...this.
3770 (struct btrace_insn_iterator, btrace_call_iterator): New.
3771 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
3772 (struct btrace_target_info) <begin, end, level>
3773 <insn_history, call_history>: New.
3774 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3775 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3776 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3777 (btrace_call_number, btrace_call_begin, btrace_call_end)
3778 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3779 (btrace_find_function_by_number, btrace_set_insn_history)
3780 (btrace_set_call_history): New.
3781 * btrace.c (btrace_init_insn_iterator)
3782 (btrace_init_func_iterator, compute_itrace): Remove.
3783 (ftrace_print_function_name, ftrace_print_filename)
3784 (ftrace_skip_file): Change
3786 (ftrace_init_func): Remove.
3787 (ftrace_debug): Use new btrace_function fields.
3788 (ftrace_function_switched): Also consider gaining and
3789 losing symbol information).
3790 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
3791 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
3792 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
3794 (ftrace_new_function): Move. Remove debug print.
3795 (ftrace_update_lines, ftrace_update_insns): New.
3796 (ftrace_update_function): Check for call, ret, and jump.
3797 (compute_ftrace): Renamed to ...
3798 (btrace_compute_ftrace): ...this. Rewritten to compute call
3800 (btrace_fetch, btrace_clear): Updated.
3801 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3802 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3803 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3804 (btrace_call_number, btrace_call_begin, btrace_call_end)
3805 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3806 (btrace_find_function_by_number, btrace_set_insn_history)
3807 (btrace_set_call_history): New.
3808 * record-btrace.c (require_btrace): Use new btrace thread
3810 (record_btrace_info, btrace_insn_history)
3811 (record_btrace_insn_history, record_btrace_insn_history_range):
3812 Use new btrace thread info fields and new iterator.
3813 (btrace_func_history_src_line): Rename to ...
3814 (btrace_call_history_src_line): ...this. Use new btrace
3816 (btrace_func_history): Rename to ...
3817 (btrace_call_history): ...this. Use new btrace thread info
3818 fields and new iterator.
3819 (record_btrace_call_history, record_btrace_call_history_range):
3820 Use new btrace thread info fields and new iterator.
3822 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3824 * frame.h (frame_id_build_unavailable_stack_special): New.
3825 * frame.c (frame_id_build_unavailable_stack_special): New.
3827 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3829 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
3830 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
3831 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
3833 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
3834 (i386_insn_is_jump, i386_jmp_p): New.
3835 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
3836 insn_is_jump to gdbarch.
3837 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
3838 * gdbarch.h: Regenerated.
3839 * gdbarch.c: Regenerated.
3840 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
3841 (default_insn_is_jump): New.
3842 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
3843 (default_insn_is_jump): New.
3845 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3847 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
3849 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
3850 (btrace_read_type) <btrace_read_new>: Change to ...
3851 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
3853 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3855 * common/linux-btrace.c (linux_read_btrace): Free trace from
3858 2014-01-15 Doug Evans <dje@google.com>
3860 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
3863 2014-01-15 Tom Tromey <tromey@redhat.com>
3865 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
3866 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
3867 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
3868 (set_objfile_main_name): New function.
3869 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
3870 language_of_main>: New fields.
3871 (set_objfile_main_name): Declare.
3872 * symtab.c (find_main_name): Loop over objfiles to find the main
3874 (set_main_name): Now static.
3875 (get_main_info): Add comment.
3876 * symtab.h (set_main_name): Don't declare.
3878 2014-01-15 Tom Tromey <tromey@redhat.com>
3880 * symtab.c (main_progspace_key): New global.
3881 (struct main_info): New.
3882 (name_of_main, language_of_main): Remove.
3883 (get_main_info, main_info_cleanup): New function.
3884 (set_main_name, main_name, main_language): Use get_main_info.
3885 (_initialize_symtab): Initialize main_progspace_key.
3887 2014-01-15 Tom Tromey <tromey@redhat.com>
3889 * dbxread.c (process_one_symbol): Update.
3890 * dwarf2read.c (read_partial_die): Update.
3891 * symfile.c (set_initial_language): Call main_language.
3892 * symtab.c (language_of_main): Now static.
3893 (set_main_name): Add 'lang' parameter.
3894 (find_main_name): Update.
3895 (main_language): New function.
3896 (symtab_observer_executable_changed): Update.
3897 * symtab.h (set_main_name): Update.
3898 (language_of_main): Remove.
3899 (main_language): Declare.
3901 2014-01-15 Tom Tromey <tromey@redhat.com>
3903 * symfile.c (init_entry_point_info): Use new "initialized" field.
3905 * objfiles.h (struct entry_point) <initialized>: New field.
3906 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
3907 (struct objfile) <ei>: ...here. Remove.
3908 * objfiles.c (entry_point_address_query): Update.
3910 2014-01-15 Tom Tromey <tromey@redhat.com>
3912 * objfiles.c (entry_point_address_query): Relocate entry point
3914 (objfile_relocate1): Do not relocate entry point address.
3915 * objfiles.h (struct entry_info) <entry_point>: Update comment.
3916 <the_bfd_section_index>: New field.
3917 * symfile.c (init_entry_point_info): Find the entry point's
3920 2014-01-15 Tom Tromey <tromey@redhat.com>
3922 * solib-frv.c (enable_break): Use entry_point_address_query.
3924 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3926 * NEWS: Add note on improved process record-replay on
3927 arm*-linux* targets.
3929 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3931 * arm-tdep.c (enum arm_record_result): New enum.
3932 (arm_record_unsupported_insn): New function.
3933 (arm_record_coproc_data_proc): Removed.
3934 (thumb2_record_ld_st_multiple): New function.
3935 (thumb2_record_ld_st_dual_ex_tbb): New function.
3936 (thumb2_record_data_proc_sreg_mimm): New function.
3937 (thumb2_record_ps_dest_generic): New function.
3938 (thumb2_record_branch_misc_cntrl): New function.
3939 (thumb2_record_str_single_data): New function.
3940 (thumb2_record_ld_mem_hints): New function.
3941 (thumb2_record_ld_word): New function.
3942 (thumb2_record_lmul_lmla_div): New function.
3943 (thumb2_record_decode_insn_handler): New function.
3944 (decode_insn): Add thumb32 instruction handlers.
3946 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3948 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
3949 (struct arm_linux_record_tdep): Declare.
3950 (arm_canonicalize_syscall): New function.
3951 (arm_all_but_pc_registers_record): New function.
3952 (arm_linux_syscall_record): New function.
3953 (arm_linux_init_abi): Add syscall recording constructs.
3954 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
3955 decoding. (arm_record_coproc_data_proc): Update arm syscall
3957 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
3958 <arm_syscall_record>: New field.
3959 * configure.tgt (arm*-*-linux*): Add linux-record.o to
3962 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3964 * arm-tdep.c (thumb_record_misc): Update to use sp as base
3965 register for push instruction recording.
3967 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3969 * arm-tdep.c (thumb_record_misc): Update to correct logical
3970 error while recording ldm, ldmia and pop instructions.
3972 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3974 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
3976 2014-01-15 Pedro Alves <palves@redhat.com>
3978 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
3979 (go32_resume, go32_fetch_registers, store_register)
3980 (go32_store_registers, go32_prepare_to_store)
3981 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
3982 (go32_create_inferior, go32_can_run, go32_terminal_init)
3983 (go32_terminal_inferior, go32_terminal_ours): Delete forward
3986 2014-01-15 Tom Tromey <tromey@redhat.com>
3988 * target.h (async_callback_ftype): New typedef.
3989 (struct target_ops) <to_async>: Use it.
3991 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3993 * python/py-value.c (get_field_type): Remove unnecessary curly
3994 braces for single-statement if block.
3996 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3998 * python/py-type.c (convert_field): Add missing empty line
4001 2014-01-14 Doug Evans <dje@google.com>
4003 * symfile.h (expand_symtabs_matching): Renamed from
4004 expand_partial_symbol_names. Update prototype.
4005 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4006 * symfile.c (expand_symtabs_matching): Renamed from
4007 expand_partial_symbol_names. New args file_matcher, kind.
4008 Rename arg fun to symbol_matcher.
4009 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4010 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
4011 ada_expand_partial_symbol_name.
4012 (ada_make_symbol_completion_list): Update to call
4013 expand_symtabs_matching.
4014 (ada_add_global_exceptions): Call expand_symtabs_matching.
4015 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
4016 call map_symbol_filenames.
4017 * symtab.c (sources_info): Update to call map_symbol_filenames.
4018 (search_symbols): Call expand_symtabs_matching.
4019 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
4020 (default_make_symbol_completion_list_break_on): Update to call
4021 expand_symtabs_matching.
4022 (make_source_files_completion_list): Update to call
4023 map_symbol_filenames.
4025 2014-01-14 Doug Evans <dje@google.com>
4027 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
4028 (expand_symtabs_symbol_matcher_ftype): New typedef.
4029 (quick_symbol_functions.expand_symtabs_matching): Update to use.
4030 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4031 * symfile.c (expand_partial_symbol_names): Update to use
4032 expand_symtabs_symbol_matcher_ftype.
4033 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
4034 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4035 Arg name_matcher renamed to symbol_matcher.
4036 * psymtab.c (recursively_search_psymtabs): Update to use
4037 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
4039 (expand_symtabs_matching_via_partial): Update to use
4040 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4041 Arg name_matcher renamed to symbol_matcher.
4043 2014-01-14 Doug Evans <dje@google.com>
4045 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
4046 (map_partial_symbol_filenames): Ditto.
4047 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
4048 (map_partial_symbol_filenames): Ditto.
4049 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
4050 (map_partial_symbol_filenames): Ditto.
4051 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
4052 (map_partial_symbol_filenames): Ditto.
4053 * symtab.c: Delete #include "psymtab.h".
4055 2014-01-14 Pedro Alves <palves@redhat.com>
4056 Tom Tromey <tromey@redhat.com>
4058 * infrun.c (use_displaced_stepping): Use find_record_target
4059 instead of RECORD_IS_USED.
4060 (adjust_pc_after_break): Use record_full_is_used instead of
4062 * record-btrace.c (record_btrace_open): Call record_preopen
4063 instead of checking RECORD_IS_USED.
4064 * record-full.c (record_full_shortname)
4065 (record_full_core_shortname): New globals.
4066 (record_full_is_used): New function.
4067 (find_full_open): Call record_preopen instead of checking
4069 (init_record_full_ops): Set the target's shortname to
4070 record_full_shortname.
4071 (init_record_full_core_ops): Set the target's shortname to
4072 record_full_core_shortname.
4073 * record-full.h (record_full_is_used): Declare.
4074 * record.c (find_record_target): Make extern.
4075 (record_preopen): New function.
4076 * record.h (RECORD_IS_USED): Delete macro.
4077 (find_record_target, record_preopen): Declare functions.
4079 2014-01-14 Yao Qi <yao@codesourcery.com>
4081 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
4082 'len''s type to ULONGEST.
4083 (core_xfer_shared_libraries_aix): Likewise.
4084 * gdbarch.c, gdbarch.h: Regenerated.
4085 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
4086 Change type of 'len' to ULONGEST.
4087 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4088 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
4090 2014-01-14 Yao Qi <yao@codesourcery.com>
4092 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
4093 type of 'len' to ULONGEST.
4094 (linux_xfer_osdata_processgroups): Likewise.
4095 (linux_xfer_osdata_threads): Likewise.
4096 (linux_xfer_osdata_fds): Likewise.
4097 (linux_xfer_osdata_isockets): Likewise.
4098 (linux_xfer_osdata_shm): Likewise.
4099 (linux_xfer_osdata_sem): Likewise.
4100 (linux_xfer_osdata_msg): Likewise.
4101 (linux_common_xfer_osdata): Likewise.
4102 (struct osdata_type) <getter>: Likewise.
4103 * common/linux-osdata.h (linux_common_xfer_osdata): Update
4106 2014-01-14 Yao Qi <yao@codesourcery.com>
4108 * target.h (target_xfer_partial_ftype): Update.
4109 (struct target_ops) <to_xfer_partial>: Change 'len' type to
4111 * aix-thread.c (aix_thread_xfer_partial): Change type of
4112 argument 'len' to ULONGEST.
4113 * auxv.c (procfs_xfer_auxv): Likewise.
4114 (ld_so_xfer_auxv): Likewise.
4115 (memory_xfer_auxv): Likewise.
4116 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4117 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4118 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4119 * corelow.c (core_xfer_partial): Likewise.
4120 * ctf.c (ctf_xfer_partial): Likewise.
4121 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
4123 (darwin_read_dyld_info): Likewise.
4124 (darwin_xfer_partial): Likewise.
4125 * exec.c (section_table_xfer_memory_partial): Likewise.
4126 (exec_xfer_partial): Likewise.
4127 * exec.h (section_table_xfer_memory_partial): Update
4129 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
4130 instead of plongest.
4131 (gnu_xfer_partial): Likewise.
4132 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
4133 (ia64_hpux_xfer_solib_got): Likewise.
4134 (ia64_hpux_xfer_partial): Likewise.
4135 * ia64-linux-nat.c (ia64_linux_xfer_partial):
4136 * inf-ptrace.c (inf_ptrace_xfer_partial):
4137 * inf-ttrace.c (inf_ttrace_xfer_partial):
4138 * linux-nat.c (linux_xfer_siginfo): Likewise.
4139 (linux_nat_xfer_partial): Likewise.
4140 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
4141 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
4142 * monitor.c (monitor_xfer_memory): Likewise.
4143 (monitor_xfer_partial): Likewise.
4144 * procfs.c (procfs_xfer_partial): Likewise.
4145 * record-full.c (record_full_xfer_partial): Likewise.
4146 (record_full_core_xfer_partial): Likewise.
4147 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
4148 instead of plongest.
4149 (gdbsim_xfer_partial): Likewise.
4150 * remote.c (remote_xfer_partial): Likewise.
4151 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4152 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4154 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4155 (rs6000_xfer_shared_libraries): Likewise.
4156 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4157 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4158 (sparc_xfer_partial): Likewise.
4159 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4160 (spu_xfer_partial): Likewise.
4161 * spu-multiarch.c (spu_xfer_partial): Likewise.
4162 * target.c (target_read_live_memory): Likewise.
4163 (memory_xfer_live_readonly_partial): Likewise.
4164 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
4165 (target_xfer_partial, default_xfer_partial): Likewise.
4166 (current_xfer_partial): Likewise.
4167 * tracepoint.c (tfile_xfer_partial): Likewise.
4168 * windows-nat.c (windows_xfer_memory): Likewise. Call
4169 pulongest instead of plongest.
4170 (windows_xfer_partial): Likewise.
4171 (windows_xfer_shared_libraries): Likewise.
4173 2014-01-14 Yao Qi <yao@codesourcery.com>
4175 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
4176 target_xfer_partial_ftype.
4178 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4182 * valops.c (value_struct_elt_bitpos): New function
4183 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
4184 object to 'None' if the field name is an empty string ("").
4185 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
4186 attribute to look for a field when 'name' is 'None'.
4187 (get_field_type): New function
4189 2014-01-13 Doug Evans <dje@google.com>
4192 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
4193 (try_open_dwop_file): Ditto.
4194 * gdb_bfd.c: #include "vec.h".
4195 (bfdp): New typedef.
4196 (struct gdb_bfd_data): New member included_bfds.
4197 (gdb_bfd_unref): Unref all included bfds.
4198 (gdb_bfd_record_inclusion): New function.
4199 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
4201 2014-01-13 Tom Tromey <tromey@redhat.com>
4203 * gdbcore.h (deprecated_core_resize_section_table): Remove.
4205 2014-01-13 Tom Tromey <tromey@redhat.com>
4207 * defs.h (use_windows): Remove.
4208 * gdb.c (main): Update.
4209 * main.c (captured_main, gdb_main): Update.
4210 * main.h (struct captured_main_args) <use_windows>: Remove.
4211 * top.c (use_windows): Remove.
4213 2014-01-13 Tom Tromey <tromey@redhat.com>
4215 * defs.h (deprecated_flush_hook): Remove.
4217 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4220 * linux-thread-db.c (try_thread_db_load): Add parameter
4221 check_auto_load_safe. Move here the file_is_auto_load_safe call.
4222 (try_thread_db_load_from_pdir_1): Move it there from here.
4223 (try_thread_db_load_from_sdir): Update caller.
4224 (try_thread_db_load_from_dir): Move it there from here.
4226 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
4228 * regformats/regdat.sh: Always rewrite the register file.
4230 2014-01-13 Pedro Alves <palves@redhat.com>
4232 * Makefile.in (CHECK_HEADERS): New variable.
4233 (check-headers:): New rule.
4235 2014-01-13 Tom Tromey <tromey@redhat.com>
4237 * cli/cli-setshow.c (do_set_command): Update.
4238 * defs.h (deprecated_set_hook): Remove.
4239 * top.c (deprecated_set_hook): Remove.
4241 2014-01-13 Pedro Alves <palves@redhat.com>
4243 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
4244 the tracepoint if the PC is a pseudo-register.
4246 2014-01-13 Tom Tromey <tromey@redhat.com>
4248 * defs.h (XCALLOC): Remove.
4249 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
4250 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
4251 * dwarf2loc.c (allocate_piece_closure): Likewise.
4252 * elfread.c (elf_symfile_segments): Likewise.
4253 (elf_symfile_segments): Likewise.
4254 * gdbtypes.c (copy_type_recursive): Likewise.
4255 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
4256 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
4257 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
4259 * mt-tdep.c (mt_gdbarch_init): Likewise.
4260 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
4262 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
4263 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
4264 * registry.c (registry_alloc_data): Likewise.
4265 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
4266 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
4267 * serial.c (serial_fdopen_ops): Likewise.
4268 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
4270 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
4271 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
4274 2014-01-13 Tom Tromey <tromey@redhat.com>
4276 * defs.h (XMALLOC): Remove.
4277 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
4278 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
4279 * cli-out.c (struct ui_out *): Likewise.
4280 * cli/cli-dump.c (add_dump_command): Likewise.
4281 (add_dump_command): Likewise.
4282 * complaints.c (get_complaints): Likewise.
4283 (find_complaint): Likewise.
4284 * dwarf2-frame.c (execute_cfa_program): Likewise.
4285 * dwarf2read.c (abbrev_table_read_table): Likewise.
4286 * gdbarch.sh: Likewise.
4287 * gdbarch.c: Rebuild.
4288 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
4289 * interps.c (interp_new): Likewise.
4290 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
4291 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
4292 * mi/mi-console.c (mi_console_file_new): Likewise.
4293 * mi/mi-interp.c (mi_interpreter_init): Likewise.
4294 * mi/mi-out.c (mi_out_new): Likewise.
4295 * mi/mi-parse.c (mi_parse): Likewise.
4296 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
4297 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
4298 * observer.c (xalloc_observer_list_node): Likewise.
4299 * regcache.c (regcache_xmalloc_1): Likewise.
4300 * reggroups.c (reggroup_new): Likewise.
4301 (_initialize_reggroup): Likewise.
4302 * registry.c (register_data_with_cleanup): Likewise.
4303 * remote.c (remote_notif_stop_alloc_reply): Likewise.
4304 * ser-base.c (serial_ttystate): Likewise.
4305 * ser-mingw.c (make_pipe_state): Likewise.
4306 * ser-pipe.c (pipe_open): Likewise.
4307 * serial.c (serial_open): Likewise.
4308 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
4309 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
4310 (tui_alloc_win_info): Likewise.
4311 (tui_add_content_elements): Likewise.
4312 * tui/tui-file.c (tui_file_new): Likewise.
4313 * tui/tui-out.c (tui_out_new): Likewise.
4314 * ui-file.c (mem_file_new): Likewise.
4315 * ui-out.c (push_level): Likewise.
4316 (make_cleanup_ui_out_end): Likewise.
4317 (append_header_to_list): Likewise.
4318 (ui_out_new): Likewise.
4319 * user-regs.c (user_reg_add_builtin): Likewise.
4321 2014-01-13 Tom Tromey <tromey@redhat.com>
4323 * defs.h (XZALLOC): Remove.
4324 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
4325 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
4326 (get_ada_tasks_inferior_data): Likewise.
4327 * auto-load.c (get_auto_load_pspace_data): Likewise.
4328 * auxv.c (get_auxv_inferior_data): Likewise.
4329 * bfd-target.c (target_bfd_reopen): Likewise.
4330 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
4331 (deprecated_insert_raw_breakpoint): Likewise.
4332 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
4333 * corelow.c (core_open): Likewise.
4334 * darwin-nat.c (darwin_check_new_threads): Likewise.
4335 (darwin_attach_pid): Likewise.
4336 * dummy-frame.c (dummy_frame_push): Likewise.
4337 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
4338 * dwarf2loc.c (allocate_piece_closure): Likewise.
4339 * elfread.c (elf_symfile_segments): Likewise.
4340 * eval.c (ptrmath_type_p): Likewise.
4341 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
4342 * gdbtypes.c (alloc_type_arch): Likewise.
4343 (alloc_type_instance): Likewise.
4344 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
4345 * inf-child.c (inf_child_can_use_agent): Likewise.
4346 * inflow.c (get_inflow_inferior_data): Likewise.
4347 * infrun.c (save_infcall_suspend_state): Likewise.
4348 * jit.c (jit_reader_load): Likewise.
4349 (get_jit_objfile_data): Likewise.
4350 (get_jit_program_space_data): Likewise.
4351 (jit_object_open_impl): Likewise.
4352 (jit_symtab_open_impl): Likewise.
4353 (jit_block_open_impl): Likewise.
4354 (jit_frame_sniffer): Likewise.
4355 * linux-fork.c (add_fork): Likewise.
4356 * maint.c (make_command_stats_cleanup): Likewise.
4357 * objfiles.c (get_objfile_pspace_data): Likewise.
4358 * opencl-lang.c (struct lval_closure): Likewise.
4359 * osdata.c (osdata_start_osdata): Likewise.
4360 * progspace.c (new_address_space): Likewise.
4361 (add_program_space): Likewise.
4362 * remote-sim.c (get_sim_inferior_data): Likewise.
4363 * sh-tdep.c (sh_gdbarch_init): Likewise.
4364 * skip.c (Ignore): Likewise.
4365 (skip_delete_command): Likewise.
4366 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4367 (library_list_start_library): Likewise.
4368 (solib_aix_current_sos): Likewise.
4369 * solib-darwin.c (get_darwin_info): Likewise.
4370 (darwin_current_sos): Likewise.
4371 * solib-dsbt.c (get_dsbt_info): Likewise.
4372 * solib-ia64-hpux.c (new_so_list): Likewise.
4373 (ia64_hpux_get_solib_linkage_addr): Likewise.
4374 * solib-spu.c (append_ocl_sos): Likewise.
4375 (spu_current_sos): Likewise.
4376 * solib-svr4.c (get_svr4_info): Likewise.
4377 (svr4_keep_data_in_core): Likewise.
4378 (library_list_start_library): Likewise.
4379 (svr4_default_sos): Likewise.
4380 (svr4_read_so_list): Likewise.
4381 * solib-target.c (library_list_start_library): Likewise.
4382 (solib_target_current_sos): Likewise.
4383 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4384 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4385 * symfile.c (default_symfile_segments): Likewise.
4386 * target-descriptions.c (tdesc_data_init): Likewise.
4387 (tdesc_create_reg): Likewise.
4388 (struct tdesc_type *): Likewise.
4389 (tdesc_create_vector): Likewise.
4390 (tdesc_set_struct_size): Likewise.
4391 (struct tdesc_type *): Likewise.
4392 (tdesc_free_feature): Likewise.
4393 (tdesc_create_feature): Likewise.
4394 * windows-nat.c (windows_add_thread): Likewise.
4395 (windows_make_so): Likewise.
4396 * xml-support.c (gdb_xml_body_text): Likewise.
4397 (gdb_xml_create_parser_and_cleanup): Likewise.
4398 (xml_process_xincludes): Likewise.
4399 * xml-syscall.c (allocate_syscalls_info): Likewise.
4400 (syscall_create_syscall_desc): Likewise.
4402 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4404 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4405 function, with code from i386_stap_parse_special_token.
4406 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4407 (i386_stap_parse_special_token): Move code to the two functions
4410 2014-01-09 Pedro Alves <palves@redhat.com>
4411 Hui Zhu <hui@codesourcery.com>
4414 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4415 bp_err_string. Don't mark the location shlib_disabled if the
4416 error thrown wasn't a generic or memory error. Catch errors
4417 thrown while inserting breakpoints in overlayed code. Output
4418 error message of software breakpoints.
4419 * remote.c (remote_insert_breakpoint): If this breakpoint has
4420 target-side commands but this stub doesn't support Z0 packets,
4421 throw NOT_SUPPORTED_ERROR error.
4422 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4423 * target.h (target_insert_breakpoint): Extend comment.
4424 (target_insert_hw_breakpoint): Add comment.
4426 2014-01-08 Pedro Alves <palves@redhat.com>
4428 * remote.c (remote_add_thread): Add threads silently if starting
4430 (remote_notice_new_inferior): If in all-stop, and starting up,
4431 don't call notice_new_inferior.
4432 (get_current_thread): New function, factored out from ...
4433 (add_current_inferior_and_thread): ... this. Adjust.
4434 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4435 found any thread, then select the remote's current thread as GDB's
4438 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4440 * NEWS: Create a new section for the next release branch.
4441 Rename the section of the current branch, now that it has
4444 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4446 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4447 * version.in: Bump version to 7.7.50.DATE-cvs.
4449 2014-01-08 Yao Qi <yao@codesourcery.com>
4451 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4452 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4453 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4455 2014-01-08 Yao Qi <yao@codesourcery.com>
4457 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4458 return value of bfd_get_filename to symbol_file_add_from_bfd.
4460 2014-01-08 Pierre Muller <muller@sourceware.org>
4463 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4464 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4465 to prim_record_mininal_symbol_and_info.
4466 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4467 in call to prim_record_minimal_symbol_and_info.
4468 (read_pe_exported_syms): Set index field of section_data.
4470 2014-01-07 Andrew Pinski <apinski@cavium.com>
4472 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4473 * features/aarch64.c: Regenerate.
4475 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4477 * target.c (return_null): Define.
4478 (update_current_target): Use it instead of return_zero for
4479 functions that return a pointer.
4481 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4483 * source.c (add_path): Fix check for duplicated paths in the previously
4486 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4488 * ada-lang.c: Remove duplicated include statements.
4489 * alphabsd-nat.c: Ditto.
4490 * amd64-darwin-tdep.c: Ditto.
4491 * amd64fbsd-nat.c: Ditto.
4492 * auto-load.c: Ditto.
4494 * breakpoint.c: Ditto.
4496 * fork-child.c: Ditto.
4497 * gdb_usleep.c: Ditto.
4498 * i386-darwin-tdep.c: Ditto.
4499 * i386fbsd-nat.c: Ditto.
4501 * inferior.c: Ditto.
4503 * linux-nat.c: Ditto.
4504 * linux-tdep.c: Ditto.
4505 * m68kbsd-nat.c: Ditto.
4506 * m68klinux-nat.c: Ditto.
4507 * microblaze-tdep.c: Ditto.
4508 * mips-linux-tdep.c: Ditto.
4509 * mn10300-tdep.c: Ditto.
4510 * nto-tdep.c: Ditto.
4511 * opencl-lang.c: Ditto.
4513 * printcmd.c: Ditto.
4514 * regcache.c: Ditto.
4515 * remote-m32r-sdi.c: Ditto.
4519 * tilegx-linux-nat.c: Ditto.
4520 * tilegx-tdep.c: Ditto.
4521 * tracepoint.c: Ditto.
4523 * vaxbsd-nat.c: Ditto.
4524 * windows-nat.c: Ditto.
4525 * xtensa-tdep.c: Ditto.
4527 2014-01-07 Yao Qi <yao@codesourcery.com>
4529 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4531 2014-01-07 Yao Qi <yao@codesourcery.com>
4532 Joel Brobecker <brobecker@adacore.com>
4534 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4535 (pdc_write_regs): Likewise.
4536 (fetch_regs_kernel_thread): Likewise.
4537 (store_regs_kernel_thread): Likewise.
4539 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4541 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4542 tagged type objects to their actual type.
4544 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4546 * ada-valprint.c (print_field_values): Add "language" parameter.
4547 Update calls to print_field_values and print_variant_part.
4548 Pass new parameter "language" in call to val_print instead
4549 of "current_language". Replace call to ada_val_print by call
4551 (print_variant_part): Add "language" parameter.
4552 (ada_val_print_struct_union): Update call to print_field_values.
4554 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4556 * ada-valprint.c (ui_memcpy): Delete.
4557 (ada_print_floating): Update documentation. Add empty line
4558 between between function documentation and implementation.
4559 Delete variable "buffer". Use ui_file_xstrdup in place of
4560 ui_file_put. Minor adjustments following this change.
4562 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4564 * ada-valprint.c (ada_val_print_string): New function,
4565 extracted from ada_val_print_array.
4566 (ada_val_print_array): Replace extracted code by call
4567 to ada_val_print_string followed by a return. Move
4568 "else" branch to the function's top block.
4570 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4572 * ada-valprint.c (ada_val_print_array): Move implementation
4573 down. Rename parameter "offset" and "val" into "offset_aligned"
4574 and "original_value" respectively. Add parameter "offset".
4576 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4578 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4579 re-organizing the code. Change the "???" message printed
4580 when target type is a TYPE_CODE_UNDEF into
4581 "<ref to undefined type>".
4583 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4585 * ada-valprint.c (print_record): Delete, implementation inlined...
4586 (ada_val_print_struct_union): ... here. Remove call to
4587 ada_check_typedef in inlined implementation.
4589 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4591 * ada-valprint.c (ada_val_print_gnat_array): New function,
4592 extracted from ada_val_print_1;
4593 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4594 (ada_val_print_flt, ada_val_print_struct_union)
4595 (ada_val_print_ref): Likewise.
4596 (ada_val_print_1): Delete variables i and elttype.
4597 Replace extracted-out code by call to corresponding
4600 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4602 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4604 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4606 * ada-valprint.c (ada_val_print_1): Replace calls to
4607 ada_val_print_1 by calls to val_print.
4609 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4611 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4612 Update calls to self accordingly. Replace calls to c_val_print
4613 by calls to val_print.
4615 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4617 * ada-valprint.c (print_record): Delete declaration.
4618 (adjust_type_signedness, ada_val_print_1): Likewise.
4619 (ada_val_print): Move function implementation down.
4620 (print_variant_part, print_field_values, print_record):
4621 Move function implementation up.
4623 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4625 * python/py-type.c (typy_get_name): New function.
4626 (type_object_getset): Add entry for attribute "name".
4627 * NEWS: Add entry mentioning this new attribute.
4629 2014-01-07 Yao Qi <yao@codesourcery.com>
4631 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
4634 2014-01-07 Yao Qi <yao@codesourcery.com>
4636 * gnu-nat.c (info_port_rights): Add qualifier const to
4639 2014-01-07 Yao Qi <yao@codesourcery.com>
4641 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
4643 2014-01-07 Yao Qi <yao@codesourcery.com>
4645 * gnu-nat.c (make_inf) Update declaration.
4646 (make_inf): Make it static.
4647 (inf_set_traced): Likewise.
4648 (inf_port_to_thread, inf_task_died_status): Likewise.
4650 2014-01-07 Yao Qi <yao@codesourcery.com>
4652 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
4654 2014-01-07 Yao Qi <yao@codesourcery.com>
4656 * gnu-nat.c (_initialize_gnu_nat): Declare.
4658 2014-01-07 Yao Qi <yao@codesourcery.com>
4660 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
4662 (struct gdbarch_info) <byte_order>: Change type to
4664 <byte_order_for_code>: Likewise.
4665 * gdbarch.c, gdbarch.h: Regenerated.
4667 2014-01-06 Sasha Smundak <asmundak@google.com>
4669 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
4671 2014-01-06 Tom Tromey <tromey@redhat.com>
4673 * doublest.c (convert_doublest_to_floatformat): Use const, not
4675 * somread.c (som_symtab_read): Likewise.
4677 2014-01-07 Hui Zhu <hui@codesourcery.com>
4679 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
4680 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
4681 (gdb_bfd_fopen): Ditto.
4682 (gdb_bfd_openr): Ditto.
4683 (gdb_bfd_openw): Ditto.
4684 (gdb_bfd_openr_iovec): Ditto.
4685 (gdb_bfd_fdopenr): Ditto.
4686 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
4687 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
4689 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
4691 * symfile-mem.c (symbol_file_add_from_memory): Removed
4692 gdb_bfd_stash_filename.
4694 2014-01-03 Doug Evans <dje@google.com>
4696 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
4699 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4701 Update year range in copyright notice of all files.
4703 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4705 * top.c (print_gdb_version): Set copyright year to 2014.
4707 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4709 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
4711 For older changes see ChangeLog-2013.
4717 version-control: never