1 2014-02-19 Tom Tromey <tromey@redhat.com>
3 * target.c (update_current_target): Update comments. Do not
6 2014-02-19 Tom Tromey <tromey@redhat.com>
8 * arm-linux-nat.c (arm_linux_read_description): Delegate when
10 * corelow.c (core_read_description): Delegate when needed.
11 * remote.c (remote_read_description): Delegate when needed.
12 * target-delegates.c: Rebuild.
13 * target.c (target_read_description): Rewrite.
14 * target.h (struct target_ops) <to_read_description>: Update
15 comment. Use TARGET_DEFAULT_RETURN.
17 2014-02-19 Tom Tromey <tromey@redhat.com>
19 * target-delegates.c: Rebuild.
20 * target.c (update_current_target): Don't inherit or default
22 (find_default_run_target): Check against delegate_can_run.
23 * target.h (struct target_ops) <to_can_run>: Use
24 TARGET_DEFAULT_RETURN.
26 2014-02-19 Tom Tromey <tromey@redhat.com>
28 * target-delegates.c: Rebuild.
29 * target.c (target_disconnect): Unconditionally delegate.
30 * target.h (struct target_ops) <to_disconnect>: Use
31 TARGET_DEFAULT_NORETURN.
33 2014-02-19 Tom Tromey <tromey@redhat.com>
35 * record.c (record_stop): Unconditionally delegate.
36 * target-delegates.c: Rebuild.
37 * target.c (target_stop_recording): Unconditionally delegate.
38 * target.h (struct target_ops) <to_stop_recording>: Use
39 TARGET_DEFAULT_IGNORE.
41 2014-02-19 Tom Tromey <tromey@redhat.com>
43 * target-delegates.c: Rebuild.
44 * target.c (target_enable_btrace): Unconditionally delegate.
45 * target.h (struct target_ops) <to_enable_btrace>: Use
46 TARGET_DEFAULT_NORETURN.
48 2014-02-19 Tom Tromey <tromey@redhat.com>
50 * target-delegates.c: Rebuild.
51 * target.c (target_read_btrace): Unconditionally delegate.
52 * target.h (struct target_ops) <to_read_btrace>: Use
53 TARGET_DEFAULT_NORETURN.
55 2014-02-19 Tom Tromey <tromey@redhat.com>
57 * target-delegates.c: Rebuild.
58 * target.c (target_teardown_btrace): Unconditionally delegate.
59 * target.h (struct target_ops) <to_teardown_btrace>: Use
60 TARGET_DEFAULT_NORETURN.
62 2014-02-19 Tom Tromey <tromey@redhat.com>
64 * target-delegates.c: Rebuild.
65 * target.c (target_disable_btrace): Unconditionally delegate.
66 * target.h (struct target_ops) <to_disable_btrace>: Use
67 TARGET_DEFAULT_NORETURN.
69 2014-02-19 Tom Tromey <tromey@redhat.com>
71 * target-delegates.c: Rebuild.
72 * target.c (default_search_memory): New function.
73 (simple_search_memory): Update comment.
74 (target_search_memory): Unconditionally delegate.
75 * target.h (struct target_ops) <to_search_memory>: Use
78 2014-02-19 Tom Tromey <tromey@redhat.com>
80 * auxv.c (default_auxv_parse): No longer static.
81 (target_auxv_parse): Unconditionally delegate.
82 * auxv.h (default_auxv_parse): Declare.
83 * target-delegates.c: Rebuild.
84 * target.c: Include auxv.h.
85 * target.h (struct target_ops) <to_auxv_parse>: Use
88 2014-02-19 Tom Tromey <tromey@redhat.com>
90 * target-delegates.c: Rebuild.
91 * target.c (target_memory_map): Unconditionally delegate.
92 * target.h (struct target_ops) <to_memory_map>: Use
93 TARGET_DEFAULT_RETURN.
95 2014-02-19 Tom Tromey <tromey@redhat.com>
97 * target-delegates.c: Rebuild.
98 * target.c (target_thread_alive): Unconditionally delegate.
99 * target.h (struct target_ops) <to_thread_alive>: Use
100 TARGET_DEFAULT_RETURN.
102 2014-02-19 Tom Tromey <tromey@redhat.com>
104 * target-delegates.c: Rebuild.
105 * target.c (target_save_record): Unconditionally delegate.
106 * target.h (struct target_ops) <to_save_record>: Use
107 TARGET_DEFAULT_NORETURN.
109 2014-02-19 Tom Tromey <tromey@redhat.com>
111 * target-delegates.c: Rebuild.
112 * target.c (target_delete_record): Unconditionally delegate.
113 * target.h (struct target_ops) <to_delete_record>: Use
114 TARGET_DEFAULT_NORETURN.
116 2014-02-19 Tom Tromey <tromey@redhat.com>
118 * target-delegates.c: Rebuild.
119 * target.c (target_record_is_replaying): Unconditionally
121 * target.h (struct target_ops) <to_record_is_replaying>: Use
122 TARGET_DEFAULT_RETURN.
124 2014-02-19 Tom Tromey <tromey@redhat.com>
126 * target-delegates.c: Rebuild.
127 * target.c (target_goto_record_begin): Unconditionally delegate.
128 * target.h (struct target_ops) <to_goto_record_begin>: Use
129 TARGET_DEFAULT_NORETURN.
131 2014-02-19 Tom Tromey <tromey@redhat.com>
133 * target-delegates.c: Rebuild.
134 * target.c (target_goto_record_end): Unconditionally delegate.
135 * target.h (struct target_ops) <to_goto_record_end>: Use
136 TARGET_DEFAULT_NORETURN.
138 2014-02-19 Tom Tromey <tromey@redhat.com>
140 * target-delegates.c: Rebuild.
141 * target.c (target_goto_record): Unconditionally delegate.
142 * target.h (struct target_ops) <to_goto_record>: Use
143 TARGET_DEFAULT_NORETURN.
145 2014-02-19 Tom Tromey <tromey@redhat.com>
147 * target-delegates.c: Rebuild.
148 * target.c (target_insn_history): Unconditionally delegate.
149 * target.h (struct target_ops) <to_insn_history>: Use
150 TARGET_DEFAULT_NORETURN.
152 2014-02-19 Tom Tromey <tromey@redhat.com>
154 * target-delegates.c: Rebuild.
155 * target.c (target_insn_history_from): Unconditionally delegate.
156 * target.h (struct target_ops) <to_insn_history_from>: Use
157 TARGET_DEFAULT_NORETURN.
159 2014-02-19 Tom Tromey <tromey@redhat.com>
161 * target-delegates.c: Rebuild.
162 * target.c (target_insn_history_range): Unconditionally delegate.
163 * target.h (struct target_ops) <to_insn_history_range>: Use
164 TARGET_DEFAULT_NORETURN.
166 2014-02-19 Tom Tromey <tromey@redhat.com>
168 * target-delegates.c: Rebuild.
169 * target.c (target_call_history): Unconditionally delegate.
170 * target.h (struct target_ops) <to_call_history>: Use
171 TARGET_DEFAULT_NORETURN.
173 2014-02-19 Tom Tromey <tromey@redhat.com>
175 * target-delegates.c: Rebuild.
176 * target.c (target_call_history_from): Unconditionally delegate.
177 * target.h (struct target_ops) <to_call_history_from>: Use
178 TARGET_DEFAULT_NORETURN.
180 2014-02-19 Tom Tromey <tromey@redhat.com>
182 * target-delegates.c: Rebuild.
183 * target.c (target_call_history_range): Unconditionally delegate.
184 * target.h (struct target_ops) <to_call_history_range>: Use
185 TARGET_DEFAULT_NORETURN.
187 2014-02-19 Tom Tromey <tromey@redhat.com>
189 * target-delegates.c: Rebuild.
190 * target.c (target_verify_memory): Unconditionally delegate.
191 * target.h (struct target_ops) <to_verify_memory>: Use
192 TARGET_DEFAULT_NORETURN.
194 2014-02-19 Tom Tromey <tromey@redhat.com>
196 * target-delegates.c: Rebuild.
197 * target.c (target_core_of_thread): Unconditionally delegate.
198 * target.h (struct target_ops) <to_core_of_thread>: Use
199 TARGET_DEFAULT_RETURN.
201 2014-02-19 Tom Tromey <tromey@redhat.com>
203 * target-delegates.c: Rebuild.
204 * target.c (target_flash_done): Unconditionally delegate.
205 * target.h (struct target_ops) <to_flash_done>: Use
206 TARGET_DEFAULT_NORETURN.
208 2014-02-19 Tom Tromey <tromey@redhat.com>
210 * target-delegates.c: Rebuild.
211 * target.c (target_flash_erase): Unconditionally delegate.
212 * target.h (struct target_ops) <to_flash_erase>: Use
213 TARGET_DEFAULT_NORETURN.
215 2014-02-19 Tom Tromey <tromey@redhat.com>
217 * target-delegates.c: Rebuild.
218 * target.c (target_get_section_table): Unconditionally delegate.
219 * target.h (struct target_ops) <to_get_section_table>: Use
220 TARGET_DEFAULT_RETURN.
222 2014-02-19 Tom Tromey <tromey@redhat.com>
224 * target-delegates.c: Rebuild.
225 * target.c (target_pid_to_str): Unconditionally delegate.
226 (init_dummy_target): Don't initialize to_pid_to_str.
227 (default_pid_to_str): Rename from dummy_pid_to_str.
228 * target.h (struct target_ops) <to_pid_to_str>: Use
231 2014-02-19 Tom Tromey <tromey@redhat.com>
233 * target-delegates.c: Rebuild.
234 * target.c (target_find_new_threads): Unconditionally delegate.
235 * target.h (struct target_ops) <to_find_new_threads>: Use
236 TARGET_DEFAULT_RETURN.
238 2014-02-19 Tom Tromey <tromey@redhat.com>
240 * target-delegates.c: Rebuild.
241 * target.c (target_program_signals): Unconditionally delegate.
242 * target.h (struct target_ops) <to_program_signals>: Use
243 TARGET_DEFAULT_IGNORE.
245 2014-02-19 Tom Tromey <tromey@redhat.com>
247 * target-delegates.c: Rebuild.
248 * target.c (target_pass_signals): Unconditionally delegate.
249 * target.h (struct target_ops) <to_pass_signals>: Use
250 TARGET_DEFAULT_IGNORE.
252 2014-02-19 Tom Tromey <tromey@redhat.com>
254 * target-delegates.c: Rebuild.
255 * target.c (default_mourn_inferior): New function.
256 (target_mourn_inferior): Unconditionally delegate.
257 * target.h (struct target_ops) <to_mourn_inferior>: Use
260 2014-02-19 Tom Tromey <tromey@redhat.com>
262 * target-delegates.c: Rebuild.
263 * target.c (default_follow_fork): New function.
264 (target_follow_fork): Unconditionally delegate.
265 * target.h (struct target_ops) <to_follow_fork>: Use
268 2014-02-19 Tom Tromey <tromey@redhat.com>
270 * target-delegates.c: Rebuild.
271 * target.c (target_kill): Unconditionally delegate.
272 * target.h (struct target_ops) <to_kill>: Use
273 TARGET_DEFAULT_NORETURN.
275 2014-02-19 Tom Tromey <tromey@redhat.com>
277 * target-delegates.c: Rebuild.
278 * target.c (target_masked_watch_num_registers): Unconditionally
280 * target.h (struct target_ops) <to_masked_watch_num_registers>:
281 Use TARGET_DEFAULT_RETURN.
283 2014-02-19 Tom Tromey <tromey@redhat.com>
285 * target-delegates.c: Rebuild.
286 * target.c (target_remove_mask_watchpoint): Unconditionally
288 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
289 TARGET_DEFAULT_RETURN.
291 2014-02-19 Tom Tromey <tromey@redhat.com>
293 * target-delegates.c: Rebuild.
294 * target.c (target_insert_mask_watchpoint): Unconditionally
296 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
297 TARGET_DEFAULT_RETURN.
299 2014-02-19 Tom Tromey <tromey@redhat.com>
301 * target-delegates.c: Rebuild.
302 * target.c (target_ranged_break_num_registers): Unconditionally
304 * target.h (struct target_ops) <to_ranged_break_num_registers>:
305 Use TARGET_DEFAULT_RETURN.
307 2014-02-19 Tom Tromey <tromey@redhat.com>
309 * target-delegates.c: Rebuild.
310 * target.c (target_fetch_registers): Unconditionally delegate.
311 * target.h (struct target_ops) <to_fetch_registers>: Use
312 TARGET_DEFAULT_NORETURN.
314 2014-02-19 Tom Tromey <tromey@redhat.com>
316 * target-delegates.c: Rebuild.
317 * target.c (update_current_target): Don't inherit or default
319 * target.h (struct target_ops) <to_stop>: Use
320 TARGET_DEFAULT_IGNORE.
322 2014-02-19 Tom Tromey <tromey@redhat.com>
324 * target-delegates.c: Rebuild.
325 * target.c (update_current_target): Don't inherit or default
326 to_can_run_breakpoint_commands.
327 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
328 Use TARGET_DEFAULT_RETURN.
330 2014-02-19 Tom Tromey <tromey@redhat.com>
332 * target-delegates.c: Rebuild.
333 * target.c (update_current_target): Don't inherit or default
334 to_supports_evaluation_of_breakpoint_conditions.
335 * target.h (struct target_ops)
336 <to_supports_evaluation_of_breakpoint_conditions>: Use
337 TARGET_DEFAULT_RETURN.
339 2014-02-19 Tom Tromey <tromey@redhat.com>
341 * target-delegates.c: Rebuild.
342 * target.c (update_current_target): Don't inherit or default
343 to_augmented_libraries_svr4_read.
344 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
345 Use TARGET_DEFAULT_RETURN.
347 2014-02-19 Tom Tromey <tromey@redhat.com>
349 * target-delegates.c: Rebuild.
350 * target.c (update_current_target): Don't inherit or default
352 * target.h (struct target_ops) <to_can_use_agent>: Use
353 TARGET_DEFAULT_RETURN.
355 2014-02-19 Tom Tromey <tromey@redhat.com>
357 * target-delegates.c: Rebuild.
358 * target.c (update_current_target): Don't inherit or default
360 * target.h (struct target_ops) <to_use_agent>: Use
361 TARGET_DEFAULT_NORETURN.
363 2014-02-19 Tom Tromey <tromey@redhat.com>
365 * target-delegates.c: Rebuild.
366 * target.c (update_current_target): Don't inherit or default
368 (return_null): Remove.
369 * target.h (struct target_ops) <to_traceframe_info>: Use
370 TARGET_DEFAULT_RETURN.
372 2014-02-19 Tom Tromey <tromey@redhat.com>
374 * target-delegates.c: Rebuild.
375 * target.c (update_current_target): Don't inherit or default
376 to_static_tracepoint_markers_by_strid.
377 * target.h (struct target_ops)
378 <to_static_tracepoint_markers_by_strid>: Use
379 TARGET_DEFAULT_NORETURN.
381 2014-02-19 Tom Tromey <tromey@redhat.com>
383 * target-delegates.c: Rebuild.
384 * target.c (update_current_target): Don't inherit or default
385 to_static_tracepoint_marker_at.
386 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
387 Use TARGET_DEFAULT_RETURN.
389 2014-02-19 Tom Tromey <tromey@redhat.com>
391 * target-delegates.c: Rebuild.
392 * target.c (update_current_target): Don't inherit or default
394 * target.h (struct target_ops) <to_set_permissions>: Use
395 TARGET_DEFAULT_IGNORE.
397 2014-02-19 Tom Tromey <tromey@redhat.com>
399 * target-delegates.c: Rebuild.
400 * target.c (update_current_target): Don't inherit or default
402 * target.h (struct target_ops) <to_get_tib_address>: Use
403 TARGET_DEFAULT_NORETURN.
405 2014-02-19 Tom Tromey <tromey@redhat.com>
407 * target-delegates.c: Rebuild.
408 * target.c (update_current_target): Don't inherit or default
410 * target.h (struct target_ops) <to_set_trace_notes>: Use
411 TARGET_DEFAULT_RETURN.
413 2014-02-19 Tom Tromey <tromey@redhat.com>
415 * target-delegates.c: Rebuild.
416 * target.c (update_current_target): Don't initialize
417 to_set_trace_buffer_size.
418 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
419 TARGET_DEFAULT_IGNORE.
421 2014-02-19 Tom Tromey <tromey@redhat.com>
423 * target-delegates.c: Rebuild.
424 * target.c (update_current_target): Don't inherit or default
425 to_set_circular_trace_buffer.
426 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
427 TARGET_DEFAULT_IGNORE.
429 2014-02-19 Tom Tromey <tromey@redhat.com>
431 * target-delegates.c: Rebuild.
432 * target.c (update_current_target): Don't inherit or default
433 to_set_disconnected_tracing.
434 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
435 TARGET_DEFAULT_IGNORE.
437 2014-02-19 Tom Tromey <tromey@redhat.com>
439 * target-delegates.c: Rebuild.
440 * target.c (update_current_target): Don't inherit or default
441 to_get_min_fast_tracepoint_insn_len.
442 (return_minus_one): Remove.
443 * target.h (struct target_ops)
444 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
446 2014-02-19 Tom Tromey <tromey@redhat.com>
448 * target-delegates.c: Rebuild.
449 * target.c (update_current_target): Don't inherit or default
450 to_get_raw_trace_data.
451 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
452 TARGET_DEFAULT_NORETURN.
454 2014-02-19 Tom Tromey <tromey@redhat.com>
456 * target-delegates.c: Rebuild.
457 * target.c (update_current_target): Don't inherit or default
458 to_upload_trace_state_variables.
459 * target.h (struct target_ops) <to_upload_trace_state_variables>:
460 Use TARGET_DEFAULT_RETURN.
462 2014-02-19 Tom Tromey <tromey@redhat.com>
464 * target-delegates.c: Rebuild.
465 * target.c (update_current_target): Don't inherit or default
466 to_upload_tracepoints.
467 * target.h (struct target_ops) <to_upload_tracepoints>: Use
468 TARGET_DEFAULT_RETURN.
470 2014-02-19 Tom Tromey <tromey@redhat.com>
472 * target-delegates.c: Rebuild.
473 * target.c (update_current_target): Don't inherit or default
475 * target.h (struct target_ops) <to_save_trace_data>: Use
476 TARGET_DEFAULT_NORETURN.
478 2014-02-19 Tom Tromey <tromey@redhat.com>
480 * target-delegates.c: Rebuild.
481 * target.c (update_current_target): Don't inherit or default
482 to_get_trace_state_variable_value.
483 * target.h (struct target_ops)
484 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
486 2014-02-19 Tom Tromey <tromey@redhat.com>
488 * target-delegates.c: Rebuild.
489 * target.c (update_current_target): Don't inherit or default
491 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
493 2014-02-19 Tom Tromey <tromey@redhat.com>
495 * target-delegates.c: Rebuild.
496 * target.c (update_current_target): Don't inherit or default
498 * target.h (struct target_ops) <to_trace_stop>: Use
499 TARGET_DEFAULT_NORETURN.
501 2014-02-19 Tom Tromey <tromey@redhat.com>
503 * target-delegates.c: Rebuild.
504 * target.c (update_current_target): Don't inherit or default
505 to_get_tracepoint_status.
506 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
507 TARGET_DEFAULT_NORETURN.
509 2014-02-19 Tom Tromey <tromey@redhat.com>
511 * target-delegates.c: Rebuild.
512 * target.c (update_current_target): Don't inherit or default
514 * target.h (struct target_ops) <to_get_trace_status>: Use
515 TARGET_DEFAULT_RETURN.
517 2014-02-19 Tom Tromey <tromey@redhat.com>
519 * target-delegates.c: Rebuild.
520 * target.c (update_current_target): Don't inherit or default
522 * target.h (struct target_ops) <to_trace_start>: Use
523 TARGET_DEFAULT_NORETURN.
525 2014-02-19 Tom Tromey <tromey@redhat.com>
527 * target-delegates.c: Rebuild.
528 * target.c (update_current_target): Don't inherit or default
529 to_trace_set_readonly_regions.
530 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
531 Use TARGET_DEFAULT_NORETURN.
533 2014-02-19 Tom Tromey <tromey@redhat.com>
535 * target-delegates.c: Rebuild.
536 * target.c (update_current_target): Don't inherit or default
537 to_disable_tracepoint.
538 * target.h (struct target_ops) <to_disable_tracepoint>: Use
539 TARGET_DEFAULT_NORETURN.
541 2014-02-19 Tom Tromey <tromey@redhat.com>
543 * target-delegates.c: Rebuild.
544 * target.c (update_current_target): Don't inherit or default
545 to_enable_tracepoint.
546 * target.h (struct target_ops) <to_enable_tracepoint>: Use
547 TARGET_DEFAULT_NORETURN.
549 2014-02-19 Tom Tromey <tromey@redhat.com>
551 * target-delegates.c: Rebuild.
552 * target.c (update_current_target): Don't inherit or default
553 to_download_trace_state_variable.
554 * target.h (struct target_ops) <to_download_trace_state_variable>:
555 Use TARGET_DEFAULT_NORETURN.
557 2014-02-19 Tom Tromey <tromey@redhat.com>
559 * target-delegates.c: Rebuild.
560 * target.c (update_current_target): Don't inherit or default
561 to_can_download_tracepoint.
562 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
563 TARGET_DEFAULT_RETURN.
565 2014-02-19 Tom Tromey <tromey@redhat.com>
567 * target-delegates.c: Rebuild.
568 * target.c (update_current_target): Don't inherit or default
569 to_download_tracepoint.
570 * target.h (struct target_ops) <to_download_tracepoint>: Use
571 TARGET_DEFAULT_NORETURN.
573 2014-02-19 Tom Tromey <tromey@redhat.com>
575 * target-delegates.c: Rebuild.
576 * target.c (update_current_target): Don't inherit or default
578 * target.h (struct target_ops) <to_trace_init>: Use
579 TARGET_DEFAULT_RETURN.
581 2014-02-19 Tom Tromey <tromey@redhat.com>
583 * target-delegates.c: Rebuild.
584 * target.c (update_current_target): Don't inherit or default
585 to_supports_string_tracing.
586 * target.h (struct target_ops) <to_supports_string_tracing>: Use
587 TARGET_DEFAULT_RETURN.
589 2014-02-19 Tom Tromey <tromey@redhat.com>
591 * target-delegates.c: Rebuild.
592 * target.c (update_current_target): Don't inherit or default
593 to_supports_enable_disable_tracepoint.
594 * target.h (struct target_ops)
595 <to_supports_enable_disable_tracepoint>: Use
596 TARGET_DEFAULT_RETURN.
598 2014-02-19 Tom Tromey <tromey@redhat.com>
600 * target-delegates.c: Rebuild.
601 * target.c (update_current_target): Don't inherit or default
602 to_supports_multi_process.
603 * target.h (struct target_ops) <to_supports_multi_process>: Use
604 TARGET_DEFAULT_RETURN.
606 2014-02-19 Tom Tromey <tromey@redhat.com>
608 * target-delegates.c: Rebuild.
609 * target.c (update_current_target): Don't inherit or default
610 to_get_ada_task_ptid.
611 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
614 2014-02-19 Tom Tromey <tromey@redhat.com>
616 * target-delegates.c: Rebuild.
617 * target.c (update_current_target): Don't inherit or default
618 to_thread_architecture.
619 * target.h (struct target_ops) <to_thread_architecture>: Use
622 2014-02-19 Tom Tromey <tromey@redhat.com>
624 * target-delegates.c: Rebuild.
625 * target.c (update_current_target): Don't inherit or default
626 to_execution_direction.
627 * target.h (struct target_ops) <to_execution_direction>: Use
630 2014-02-19 Tom Tromey <tromey@redhat.com>
632 * target-delegates.c: Rebuild.
633 * target.c (update_current_target): Don't inherit or default
634 to_can_execute_reverse.
635 * target.h (struct target_ops) <to_can_execute_reverse>: Use
636 TARGET_DEFAULT_RETURN.
637 (target_can_execute_reverse): Unconditionally delegate.
639 2014-02-19 Tom Tromey <tromey@redhat.com>
641 * target-delegates.c: Rebuild.
642 * target.c (update_current_target): Don't inherit or default
644 (dummy_goto_bookmark): Remove.
645 (init_dummy_target): Don't inherit or default to_goto_bookmark.
646 * target.h (struct target_ops) <to_goto_bookmark>: Use
647 TARGET_DEFAULT_NORETURN.
649 2014-02-19 Tom Tromey <tromey@redhat.com>
651 * target-delegates.c: Rebuild.
652 * target.c (update_current_target): Don't inherit or default
654 (dummy_get_bookmark): Remove.
655 (init_dummy_target): Don't inherit or default to_get_bookmark.
656 * target.h (struct target_ops) <to_get_bookmark>: Use
657 TARGET_DEFAULT_NORETURN
659 2014-02-19 Tom Tromey <tromey@redhat.com>
661 * target-delegates.c: Rebuild.
662 * target.c (update_current_target): Don't inherit or default
663 to_make_corefile_notes.
664 (init_dummy_target): Don't initialize to_make_corefile_notes.
665 * target.h (struct target_ops) <to_make_corefile_notes>: Use
668 2014-02-19 Tom Tromey <tromey@redhat.com>
670 * target-delegates.c: Rebuild.
671 * target.c (update_current_target): Don't inherit or default
672 to_find_memory_regions.
673 (init_dummy_target): Don't initialize to_find_memory_regions.
674 * target.h (struct target_ops) <to_find_memory_regions>: Use
677 2014-02-19 Tom Tromey <tromey@redhat.com>
679 * target-delegates.c: Rebuild.
680 * target.c (update_current_target): Don't inherit or default
682 * target.h (struct target_ops) <to_log_command>: Use
683 TARGET_DEFAULT_IGNORE.
684 (target_log_command): Unconditionally delegate.
686 2014-02-19 Tom Tromey <tromey@redhat.com>
688 * target-delegates.c: Rebuild.
689 * target.c (update_current_target): Don't inherit or default
691 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
692 TARGET_DEFAULT_RETURN.
694 2014-02-19 Tom Tromey <tromey@redhat.com>
696 * target-delegates.c: Rebuild.
697 * target.c (update_current_target): Don't inherit or default
699 (target_thread_name): Unconditionally delegate.
700 * target.h (struct target_ops) <to_thread_name>: Use
701 TARGET_DEFAULT_RETURN.
703 2014-02-19 Tom Tromey <tromey@redhat.com>
705 * target-delegates.c: Rebuild.
706 * target.c (update_current_target): Don't inherit or default
707 to_extra_thread_info.
708 * target.h (struct target_ops) <to_extra_thread_info>: Use
709 TARGET_DEFAULT_RETURN.
711 2014-02-19 Tom Tromey <tromey@redhat.com>
713 * target-delegates.c: Rebuild.
714 * target.c (update_current_target): Don't inherit or default
716 * target.h (struct target_ops) <to_has_exited>: Use
717 TARGET_DEFAULT_RETURN..
719 2014-02-19 Tom Tromey <tromey@redhat.com>
721 * target-delegates.c: Rebuild.
722 * target.c (update_current_target): Don't inherit or default
723 to_set_syscall_catchpoint.
724 (return_one): Remove.
725 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
726 TARGET_DEFAULT_RETURN.
728 2014-02-19 Tom Tromey <tromey@redhat.com>
730 * target-delegates.c: Rebuild.
731 * target.c (update_current_target): Don't inherit or default
732 to_insert_exec_catchpoint.
733 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
734 TARGET_DEFAULT_RETURN.
736 2014-01-08 Tom Tromey <tromey@redhat.com>
738 * target-delegates.c: Rebuild.
739 * target.c (update_current_target): Don't inherit or default
740 to_insert_exec_catchpoint.
741 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
742 TARGET_DEFAULT_RETURN.
744 2014-02-19 Tom Tromey <tromey@redhat.com>
746 * target-delegates.c: Rebuild.
747 * target.c (update_current_target): Don't inherit or default
748 to_remove_vfork_catchpoint.
749 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
750 TARGET_DEFAULT_RETURN.
752 2014-02-19 Tom Tromey <tromey@redhat.com>
754 * target-delegates.c: Rebuild.
755 * target.c (update_current_target): Don't inherit or default
756 to_insert_vfork_catchpoint.
757 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
758 TARGET_DEFAULT_RETURN.
760 2014-02-19 Tom Tromey <tromey@redhat.com>
762 * target-delegates.c: Rebuild.
763 * target.c (update_current_target): Don't inherit or default
764 to_remove_fork_catchpoint.
765 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
766 TARGET_DEFAULT_RETURN.
768 2014-02-19 Tom Tromey <tromey@redhat.com>
770 * target-delegates.c: Rebuild.
771 * target.c (update_current_target): Don't inherit or default
772 to_insert_fork_catchpoint.
773 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
774 TARGET_DEFAULT_RETURN.
776 2014-02-19 Tom Tromey <tromey@redhat.com>
778 * target-delegates.c: Rebuild.
779 * target.c (update_current_target): Don't inherit or default
780 to_post_startup_inferior.
781 * target.h (struct target_ops) <to_post_startup_inferior>: Use
782 TARGET_DEFAULT_IGNORE.
784 2014-02-19 Tom Tromey <tromey@redhat.com>
786 * target-delegates.c: Rebuild.
787 * target.c (update_current_target): Don't inherit or default
789 * target.h (struct target_ops) <to_load>: Use
790 TARGET_DEFAULT_NORETURN.
792 2014-02-19 Tom Tromey <tromey@redhat.com>
794 * target-delegates.c: Rebuild.
795 * target.c (update_current_target): Don't inherit or default
797 * target.h (struct target_ops) <to_terminal_info>: Use
800 2014-02-19 Tom Tromey <tromey@redhat.com>
802 * target-delegates.c: Rebuild.
803 * target.c (update_current_target): Don't inherit or default
804 to_terminal_save_ours.
805 * target.h (struct target_ops) <to_terminal_save_ours>: Use
806 TARGET_DEFAULT_IGNORE.
808 2014-02-19 Tom Tromey <tromey@redhat.com>
810 * target-delegates.c: Rebuild.
811 * target.c (update_current_target): Don't inherit or default
813 * target.h (struct target_ops) <to_terminal_ours>: Use
814 TARGET_DEFAULT_IGNORE.
816 2014-02-19 Tom Tromey <tromey@redhat.com>
818 * target-delegates.c: Rebuild.
819 * target.c (update_current_target): Don't inherit or default
820 to_terminal_ours_for_output.
821 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
822 TARGET_DEFAULT_IGNORE.
824 2014-02-19 Tom Tromey <tromey@redhat.com>
826 * target-delegates.c: Rebuild.
827 * target.c (update_current_target): Don't inherit or default
828 to_terminal_inferior.
829 * target.h (struct target_ops) <to_terminal_inferior>: Use
830 TARGET_DEFAULT_IGNORE.
832 2014-02-19 Tom Tromey <tromey@redhat.com>
834 * target-delegates.c: Rebuild.
835 * target.c (update_current_target): Don't inherit or default
837 * target.h (struct target_ops) <to_terminal_init>: Use
838 TARGET_DEFAULT_IGNORE.
840 2014-02-19 Tom Tromey <tromey@redhat.com>
842 * target-delegates.c: Rebuild.
843 * target.c (update_current_target): Don't inherit or default
844 to_can_accel_watchpoint_condition.
845 * target.h (struct target_ops)
846 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
848 2014-02-19 Tom Tromey <tromey@redhat.com>
850 * target-delegates.c: Rebuild.
851 * target.c (update_current_target): Don't inherit or default
852 to_region_ok_for_hw_watchpoint.
853 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
854 Use TARGET_DEFAULT_FUNC.
856 2014-02-19 Tom Tromey <tromey@redhat.com>
858 * target-delegates.c: Rebuild.
859 * target.c (update_current_target): Don't inherit or default
860 to_watchpoint_addr_within_range.
861 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
862 Use TARGET_DEFAULT_FUNC.
864 2014-02-19 Tom Tromey <tromey@redhat.com>
866 * target-delegates.c: Rebuild.
867 * target.c (update_current_target): Don't inherit or default
868 to_remove_watchpoint.
869 * target.h (struct target_ops) <to_remove_watchpoint>: Use
870 TARGET_DEFAULT_NORETURN.
872 2014-02-19 Tom Tromey <tromey@redhat.com>
874 * target-delegates.c: Rebuild.
875 * target.c (update_current_target): Don't inherit or default
876 to_insert_watchpoint.
877 * target.h (struct target_ops) <to_insert_watchpoint>: Use
878 TARGET_DEFAULT_RETURN.
880 2014-02-19 Tom Tromey <tromey@redhat.com>
882 * target-delegates.c: Rebuild.
883 * target.c (update_current_target): Don't inherit or default
884 to_remove_hw_breakpoint.
885 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
886 TARGET_DEFAULT_RETURN.
888 2014-02-19 Tom Tromey <tromey@redhat.com>
890 * target-delegates.c: Rebuild.
891 * target.c (update_current_target): Don't inherit or default
892 to_insert_hw_breakpoint.
893 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
894 TARGET_DEFAULT_RETURN.
896 2014-02-19 Tom Tromey <tromey@redhat.com>
898 * target-delegates.c: Rebuild.
899 * target.c (update_current_target): Don't inherit or default
900 to_can_use_hw_breakpoint.
901 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
902 TARGET_DEFAULT_RETURN.
904 2014-02-19 Tom Tromey <tromey@redhat.com>
906 * target-delegates.c: Rebuild.
907 * target.c (update_current_target): Don't inherit or default
909 * target.h (struct target_ops) <to_files_info>: Use
910 TARGET_DEFAULT_IGNORE.
912 2014-02-19 Tom Tromey <tromey@redhat.com>
914 * target-delegates.c: Rebuild.
915 * target.c (update_current_target): Don't inherit or default
917 * target.h (struct target_ops) <to_store>: Use
918 TARGET_DEFAULT_NORETURN.
920 2014-02-19 Tom Tromey <tromey@redhat.com>
922 * target-delegates.c: Rebuild.
923 * target.c (update_current_target): Don't inherit or default
925 * target.h (struct target_ops) <to_post_attach>: Use
926 TARGET_DEFAULT_IGNORE.
928 2014-02-19 Tom Tromey <tromey@redhat.com>
930 * target-delegates.c: Rebuild.
931 * target.c (update_current_target): Don't inherit or default
933 (default_rcmd): New function.
934 (do_monitor_command): Unconditionally delegate.
935 * target.h (struct target_ops) <to_rmcd>: Use
938 2014-02-19 Tom Tromey <tromey@redhat.com>
940 * target-delegates.c: Rebuild.
941 * target.c (init_dummy_target): Don't initialize to_attach.
942 (target_attach): Unconditionally delegate.
943 * target.h (struct target_ops) <to_attach>: Use
946 2014-02-19 Tom Tromey <tromey@redhat.com>
948 * target-delegates.c: Rebuild.
949 * target.c (target_detach): Unconditionally delegate.
950 (init_dummy_target): Don't initialize to_detach.
951 * target.h (struct target_ops) <to_detach>: Use
952 TARGET_DEFAULT_IGNORE.
954 2014-02-19 Tom Tromey <tromey@redhat.com>
956 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
958 (target_augmented_libraries_svr4_read): Add argument.
959 * target.c (update_current_target): Update.
960 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
963 2014-02-19 Tom Tromey <tromey@redhat.com>
965 * target.h (struct target_ops) <to_call_history_range>: Add
967 * target.c (target_call_history_range): Add argument.
968 * record-btrace.c (record_btrace_call_history_range): Add 'self'
970 (record_btrace_call_history_from): Update.
972 2014-02-19 Tom Tromey <tromey@redhat.com>
974 * target.h (struct target_ops) <to_call_history_from>: Add
976 * target.c (target_call_history_from): Add argument.
977 * record-btrace.c (record_btrace_call_history_from): Add 'self'
980 2014-02-19 Tom Tromey <tromey@redhat.com>
982 * target.h (struct target_ops) <to_call_history>: Add argument.
983 * target.c (target_call_history): Add argument.
984 * record-btrace.c (record_btrace_call_history): Add 'self'
987 2014-02-19 Tom Tromey <tromey@redhat.com>
989 * target.h (struct target_ops) <to_insn_history_range>: Add
991 * target.c (target_insn_history_range): Add argument.
992 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
994 (record_btrace_insn_history_from): Update.
996 2014-02-19 Tom Tromey <tromey@redhat.com>
998 * target.h (struct target_ops) <to_insn_history_from>: Add
1000 * target.c (target_insn_history_from): Add argument.
1001 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
1004 2014-02-19 Tom Tromey <tromey@redhat.com>
1006 * target.h (struct target_ops) <to_insn_history>: Add argument.
1007 * target.c (target_insn_history): Add argument.
1008 * record-btrace.c (record_btrace_insn_history): Add 'self'
1011 2014-02-19 Tom Tromey <tromey@redhat.com>
1013 * target.h (struct target_ops) <to_goto_record>: Add argument.
1014 * target.c (target_goto_record): Add argument.
1015 * record-full.c (record_full_goto): Add 'self' argument.
1016 * record-btrace.c (record_btrace_goto): Add 'self' argument.
1018 2014-02-19 Tom Tromey <tromey@redhat.com>
1020 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
1021 * target.c (target_goto_record_end): Add argument.
1022 * record-full.c (record_full_goto_end): Add 'self' argument.
1023 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
1025 2014-02-19 Tom Tromey <tromey@redhat.com>
1027 * target.h (struct target_ops) <to_goto_record_begin>: Add
1029 * target.c (target_goto_record_begin): Add argument.
1030 * record-full.c (record_full_goto_begin): Add 'self' argument.
1031 * record-btrace.c (record_btrace_goto_begin): Add 'self'
1034 2014-02-19 Tom Tromey <tromey@redhat.com>
1036 * target.h (struct target_ops) <to_record_is_replaying>: Add
1038 * target.c (target_record_is_replaying): Add argument.
1039 * record-full.c (record_full_is_replaying): Add 'self' argument.
1040 * record-btrace.c (record_btrace_is_replaying): Add 'self'
1042 (record_btrace_xfer_partial, record_btrace_store_registers)
1043 (record_btrace_prepare_to_store, record_btrace_resume)
1044 (record_btrace_wait, record_btrace_decr_pc_after_break)
1045 (record_btrace_find_new_threads, record_btrace_thread_alive):
1048 2014-02-19 Tom Tromey <tromey@redhat.com>
1050 * target.h (struct target_ops) <to_delete_record>: Add argument.
1051 * target.c (target_delete_record): Add argument.
1052 * record-full.c (record_full_delete): Add 'self' argument.
1054 2014-02-19 Tom Tromey <tromey@redhat.com>
1056 * target.h (struct target_ops) <to_save_record>: Add argument.
1057 * target.c (target_save_record): Add argument.
1058 * record-full.c (record_full_save): Add 'self' argument.
1059 (record_full_save): Add 'self' argument.
1061 2014-02-19 Tom Tromey <tromey@redhat.com>
1063 * target.h (struct target_ops) <to_info_record>: Add argument.
1064 * target.c (target_info_record): Add argument.
1065 * record.c (info_record_command): Add argument.
1066 * record-full.c (record_full_info): Add 'self' argument.
1067 * record-btrace.c (record_btrace_info): Add 'self' argument.
1069 2014-02-19 Tom Tromey <tromey@redhat.com>
1071 * target.h (struct target_ops) <to_stop_recording>: Add argument.
1072 * target.c (target_stop_recording): Add argument.
1073 * record.c (record_stop): Add argument.
1074 * record-btrace.c (record_btrace_stop_recording): Add 'self'
1077 2014-02-19 Tom Tromey <tromey@redhat.com>
1079 * target.h (struct target_ops) <to_read_btrace>: Add argument.
1080 * target.c (struct target_ops) <to_read_btrace>: Add argument.
1081 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
1083 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
1084 (_initialize_amd64_linux_nat): Use it.
1085 * i386-linux-nat.c (i386_linux_read_btrace): New function.
1086 (_initialize_i386_linux_nat): Use it.
1088 2014-02-19 Tom Tromey <tromey@redhat.com>
1090 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
1091 * target.c (target_teardown_btrace): Add argument.
1092 * remote.c (remote_teardown_btrace): Add 'self' argument.
1093 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
1095 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
1098 2014-02-19 Tom Tromey <tromey@redhat.com>
1100 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
1101 * target.c (target_disable_btrace): Add argument.
1102 * remote.c (remote_disable_btrace): Add 'self' argument.
1103 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
1105 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
1108 2014-02-19 Tom Tromey <tromey@redhat.com>
1110 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
1111 * target.c (target_enable_btrace): Add argument.
1112 * remote.c (remote_enable_btrace): Add 'self' argument.
1113 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
1115 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
1118 2014-02-19 Tom Tromey <tromey@redhat.com>
1120 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
1121 (target_can_use_agent): Add argument.
1122 * target.c (update_current_target): Update.
1123 * remote.c (remote_can_use_agent): Add 'self' argument.
1124 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
1126 2014-02-19 Tom Tromey <tromey@redhat.com>
1128 * target.h (struct target_ops) <to_use_agent>: Add argument.
1129 (target_use_agent): Add argument.
1130 * target.c (update_current_target): Update.
1131 * remote.c (remote_use_agent): Add 'self' argument.
1132 * inf-child.c (inf_child_use_agent): Add 'self' argument.
1134 2014-02-19 Tom Tromey <tromey@redhat.com>
1136 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
1137 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
1138 (target_traceframe_info): Add argument.
1139 * target.c (update_current_target): Update.
1140 * remote.c (remote_traceframe_info): Add 'self' argument.
1141 * ctf.c (ctf_traceframe_info): Add 'self' argument.
1143 2014-02-19 Tom Tromey <tromey@redhat.com>
1145 * target.h (target_static_tracepoint_markers_by_strid): Add
1147 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
1149 * target.c (update_current_target): Update.
1150 * remote.c (struct target_ops)
1151 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1152 * linux-nat.c (struct target_ops)
1153 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1155 2014-02-19 Tom Tromey <tromey@redhat.com>
1157 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1159 (target_static_tracepoint_marker_at): Add argument.
1160 * target.c (update_current_target): Update.
1161 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
1164 2014-02-19 Tom Tromey <tromey@redhat.com>
1166 * target.h (struct target_ops) <to_set_permissions>: Add argument.
1167 (target_set_permissions): Add argument.
1168 * target.c (update_current_target): Update.
1169 * remote.c (remote_set_permissions): Add 'self' argument.
1170 (remote_start_remote): Update.
1172 2014-02-19 Tom Tromey <tromey@redhat.com>
1174 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
1175 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
1176 (target_get_tib_address): Add argument.
1177 * target.c (update_current_target): Update.
1178 * remote.c (remote_get_tib_address): Add 'self' argument.
1180 2014-02-19 Tom Tromey <tromey@redhat.com>
1182 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
1183 (target_set_trace_notes): Add argument.
1184 * target.c (update_current_target): Update.
1185 * remote.c (remote_set_trace_notes): Add 'self' argument.
1187 2014-02-19 Tom Tromey <tromey@redhat.com>
1189 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
1191 (target_set_trace_buffer_size): Add argument.
1192 * target.c (update_current_target): Update.
1193 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
1195 2014-02-19 Tom Tromey <tromey@redhat.com>
1197 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
1199 (target_set_circular_trace_buffer): Add argument.
1200 * target.c (update_current_target): Update.
1201 * remote.c (remote_set_circular_trace_buffer): Add 'self'
1204 2014-02-19 Tom Tromey <tromey@redhat.com>
1206 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
1208 (target_set_disconnected_tracing): Add argument.
1209 * target.c (update_current_target): Update.
1210 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
1212 2014-02-19 Tom Tromey <tromey@redhat.com>
1214 * target.h (struct target_ops)
1215 <to_get_min_fast_tracepoint_insn_len>: Add argument.
1216 (target_get_min_fast_tracepoint_insn_len): Add argument.
1217 * target.c (update_current_target): Update.
1218 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
1221 2014-02-19 Tom Tromey <tromey@redhat.com>
1223 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
1225 (target_get_raw_trace_data): Add argument.
1226 * target.c (update_current_target): Update.
1227 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
1229 2014-02-19 Tom Tromey <tromey@redhat.com>
1231 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1233 (target_upload_trace_state_variables): Add argument.
1234 * target.c (update_current_target): Update.
1235 * remote.c (remote_upload_trace_state_variables): Add 'self'
1237 (remote_start_remote): Update.
1239 2014-02-19 Tom Tromey <tromey@redhat.com>
1241 * target.h (struct target_ops) <to_upload_tracepoints>: Add
1243 (target_upload_tracepoints): Add argument.
1244 * target.c (update_current_target): Update.
1245 * remote.c (remote_upload_tracepoints): Add 'self' argument.
1246 (remote_start_remote): Update.
1248 2014-02-19 Tom Tromey <tromey@redhat.com>
1250 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
1251 (target_save_trace_data): Add argument.
1252 * target.c (update_current_target): Update.
1253 * remote.c (remote_save_trace_data): Add 'self' argument.
1255 2014-02-19 Tom Tromey <tromey@redhat.com>
1257 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
1259 * target.h (struct target_ops)
1260 <to_get_trace_state_variable_value>: Add argument.
1261 (target_get_trace_state_variable_value): Add argument.
1262 * target.c (update_current_target): Update.
1263 * remote.c (remote_get_trace_state_variable_value): Add 'self'
1265 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
1267 2014-02-19 Tom Tromey <tromey@redhat.com>
1269 * tracepoint.c (tfile_trace_find): Add 'self' argument.
1270 * target.h (struct target_ops) <to_trace_find>: Add argument.
1271 (target_trace_find): Add argument.
1272 * target.c (update_current_target): Update.
1273 * remote.c (remote_trace_find): Add 'self' argument.
1274 * ctf.c (ctf_trace_find): Add 'self' argument.
1276 2014-02-19 Tom Tromey <tromey@redhat.com>
1278 * target.h (struct target_ops) <to_trace_stop>: Add argument.
1279 (target_trace_stop): Add argument.
1280 * target.c (update_current_target): Update.
1281 * remote.c (remote_trace_stop): Add 'self' argument.
1283 2014-02-19 Tom Tromey <tromey@redhat.com>
1285 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
1286 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
1288 (target_get_tracepoint_status): Add argument.
1289 * target.c (update_current_target): Update.
1290 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
1292 2014-02-19 Tom Tromey <tromey@redhat.com>
1294 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
1295 * target.h (struct target_ops) <to_get_trace_status>: Add
1297 (target_get_trace_status): Add argument.
1298 * target.c (update_current_target): Update.
1299 * remote.c (remote_get_trace_status): Add 'self' argument.
1300 (remote_start_remote, remote_can_download_tracepoint): Update.
1301 * ctf.c (ctf_get_trace_status): Add 'self' argument.
1303 2014-02-19 Tom Tromey <tromey@redhat.com>
1305 * target.h (struct target_ops) <to_trace_start>: Add argument.
1306 (target_trace_start): Add argument.
1307 * target.c (update_current_target): Update.
1308 * remote.c (remote_trace_start): Add 'self' argument.
1310 2014-02-19 Tom Tromey <tromey@redhat.com>
1312 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1314 (target_trace_set_readonly_regions): Add argument.
1315 * target.c (update_current_target): Update.
1316 * remote.c (remote_trace_set_readonly_regions): Add 'self'
1319 2014-02-19 Tom Tromey <tromey@redhat.com>
1321 * target.h (struct target_ops) <to_disable_tracepoint>: Add
1323 (target_disable_tracepoint): Add argument.
1324 * target.c (update_current_target): Update.
1325 * remote.c (remote_disable_tracepoint): Add 'self' argument.
1327 2014-02-19 Tom Tromey <tromey@redhat.com>
1329 * target.h (struct target_ops) <to_enable_tracepoint>: Add
1331 (target_enable_tracepoint): Add argument.
1332 * target.c (update_current_target): Update.
1333 * remote.c (remote_enable_tracepoint): Add 'self' argument.
1335 2014-02-19 Tom Tromey <tromey@redhat.com>
1337 * target.h (struct target_ops) <to_download_trace_state_variable>:
1339 (target_download_trace_state_variable): Add argument.
1340 * target.c (update_current_target): Update.
1341 * remote.c (remote_download_trace_state_variable): Add 'self'
1344 2014-02-19 Tom Tromey <tromey@redhat.com>
1346 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
1348 (target_can_download_tracepoint): Add argument.
1349 * target.c (update_current_target): Update.
1350 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
1352 2014-02-19 Tom Tromey <tromey@redhat.com>
1354 * target.h (struct target_ops) <to_download_tracepoint>: Add
1356 (target_download_tracepoint): Add argument.
1357 * target.c (update_current_target): Update.
1358 * remote.c (remote_download_tracepoint): Add 'self' argument.
1360 2014-02-19 Tom Tromey <tromey@redhat.com>
1362 * target.h (struct target_ops) <to_trace_init>: Add argument.
1363 (target_trace_init): Add argument.
1364 * target.c (update_current_target): Update.
1365 * remote.c (remote_trace_init): Add 'self' argument.
1367 2014-02-19 Tom Tromey <tromey@redhat.com>
1369 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1370 * target.c (target_fileio_readlink): Add argument.
1371 * remote.c (remote_hostio_readlink): Add 'self' argument.
1372 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1374 2014-02-19 Tom Tromey <tromey@redhat.com>
1376 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1377 * target.c (target_fileio_unlink): Add argument.
1378 * remote.c (remote_hostio_unlink): Add 'self' argument.
1379 (remote_file_delete): Update.
1380 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1382 2014-02-19 Tom Tromey <tromey@redhat.com>
1384 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1385 * target.c (target_fileio_close): Add argument.
1386 * remote.c (remote_hostio_close): Add 'self' argument.
1387 (remote_hostio_close_cleanup): Update.
1388 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1390 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1392 2014-02-19 Tom Tromey <tromey@redhat.com>
1394 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1395 * target.c (target_fileio_pread): Add argument.
1396 * remote.c (remote_hostio_pread): Add 'self' argument.
1397 (remote_bfd_iovec_pread, remote_file_get): Update.
1398 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1400 2014-02-19 Tom Tromey <tromey@redhat.com>
1402 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1403 * target.c (target_fileio_pwrite): Add argument.
1404 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1405 (remote_file_put): Update.
1406 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1408 2014-02-19 Tom Tromey <tromey@redhat.com>
1410 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1411 * target.c (target_fileio_open): Add argument.
1412 * remote.c (remote_hostio_open): Add 'self' argument.
1413 (remote_bfd_iovec_open): Add 'self' argument.
1414 (remote_file_put): Add 'self' argument.
1415 (remote_file_get): Add 'self' argument.
1416 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1418 2014-02-19 Tom Tromey <tromey@redhat.com>
1420 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1422 (target_can_run_breakpoint_commands): Add argument.
1423 * target.c (update_current_target): Update.
1424 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1426 (remote_insert_breakpoint): Add 'self' argument.
1427 (remote_insert_hw_breakpoint): Add 'self' argument.
1428 (remote_can_run_breakpoint_commands): Add 'self' argument.
1430 2014-02-19 Tom Tromey <tromey@redhat.com>
1432 * target.h (struct target_ops)
1433 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1434 (target_supports_evaluation_of_breakpoint_conditions): Add
1436 * target.c (update_current_target): Update.
1437 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1439 (remote_insert_breakpoint): Add 'self' argument.
1440 (remote_insert_hw_breakpoint): Add 'self' argument.
1441 (remote_supports_cond_breakpoints): Add 'self' argument.
1443 2014-02-19 Tom Tromey <tromey@redhat.com>
1445 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1447 (target_supports_string_tracing): Add argument.
1448 * target.c (update_current_target): Update.
1449 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1451 2014-02-19 Tom Tromey <tromey@redhat.com>
1453 * target.h (struct target_ops)
1454 <to_supports_disable_randomization>: Add argument.
1455 * target.c (find_default_supports_disable_randomization): Add
1457 (target_supports_disable_randomization): Add argument.
1458 (find_default_supports_disable_randomization): Add 'self'
1460 * remote.c (extended_remote_supports_disable_randomization): Add
1462 (remote_supports_disable_randomization): Add 'self' argument.
1463 (extended_remote_create_inferior): Update.
1464 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1467 2014-02-19 Tom Tromey <tromey@redhat.com>
1469 * target.h (struct target_ops)
1470 <to_supports_enable_disable_tracepoint>: Add argument.
1471 (target_supports_enable_disable_tracepoint): Add argument.
1472 * target.c (update_current_target): Update.
1473 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1476 2014-02-19 Tom Tromey <tromey@redhat.com>
1478 * target.h (struct target_ops) <to_supports_multi_process>: Add
1480 (target_supports_multi_process): Add argument.
1481 * target.c (update_current_target): Update.
1482 * remote.c (remote_supports_multi_process): Add 'self' argument.
1483 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1485 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1488 2014-02-19 Tom Tromey <tromey@redhat.com>
1490 * target.h (struct target_ops) <to_execution_direction>: Add
1492 (target_execution_direction): Add argument.
1493 * target.c (default_execution_direction): Add 'self' argument.
1494 * record-full.c (record_full_execution_direction): Add 'self'
1497 2014-02-19 Tom Tromey <tromey@redhat.com>
1499 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1501 (target_can_execute_reverse): Add argument.
1502 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1503 * record-full.c (record_full_can_execute_reverse): Add 'self'
1505 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1508 2014-02-19 Tom Tromey <tromey@redhat.com>
1510 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1511 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1513 (target_get_ada_task_ptid): Add argument.
1514 * target.c (update_current_target): Update.
1515 (default_get_ada_task_ptid): Add 'self' argument.
1516 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1517 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1518 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1520 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1522 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1524 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1526 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1527 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1530 2014-02-19 Tom Tromey <tromey@redhat.com>
1532 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1533 (target_goto_bookmark): Add argument.
1534 * target.c (dummy_goto_bookmark): Add 'self' argument.
1535 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1537 2014-02-19 Tom Tromey <tromey@redhat.com>
1539 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1540 (target_get_bookmark): Add argument.
1541 * target.c (dummy_get_bookmark): Add 'self' argument.
1542 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1544 2014-02-19 Tom Tromey <tromey@redhat.com>
1546 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1548 (target_make_corefile_notes): Add argument.
1549 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1550 * procfs.c (procfs_make_note_section): Add 'self' argument.
1551 (procfs_make_note_section): Add 'self' argument.
1552 (procfs_make_note_section): Add 'self' argument.
1553 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1555 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1556 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1557 * exec.c (exec_make_note_section): Add 'self' argument.
1558 (exec_make_note_section): Add 'self' argument.
1560 2014-02-19 Tom Tromey <tromey@redhat.com>
1562 * target.h (struct target_ops) <to_find_memory_regions>: Add
1564 (target_find_memory_regions): Add argument.
1565 * target.c (dummy_find_memory_regions): Add 'self' argument.
1566 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1567 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1568 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1569 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1570 * exec. (exec_do_find_memory_regions): New global.
1571 (exec_set_find_memory_regions): Rewrite.
1572 (exec_find_memory_regions): New function.
1573 (init_exec_ops): Use exec_find_memory_regions.
1575 2014-02-19 Tom Tromey <tromey@redhat.com>
1577 * target.h (struct target_ops) <to_supports_non_stop>: Add
1579 * target.c (find_default_supports_non_stop): Add argument.
1580 (target_supports_non_stop): Add argument.
1581 (find_default_supports_non_stop): Add 'self' argument.
1582 * remote.c (remote_supports_non_stop): Add 'self' argument.
1583 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1585 2014-02-19 Tom Tromey <tromey@redhat.com>
1587 * target.h (struct target_ops) <to_log_command>: Add argument.
1588 (target_log_command): Add argument.
1589 * serial.h (serial_log_command): Add 'self' argument.
1590 * serial.c (serial_log_command): Add 'self' argument.
1592 2014-02-19 Tom Tromey <tromey@redhat.com>
1594 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1595 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1597 (target_pid_to_exec_file): Add argument.
1598 * target.c (debug_to_pid_to_exec_file): Add argument.
1599 (update_current_target): Update.
1600 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1601 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1602 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1603 (linux_handle_extended_wait): Update.
1604 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1605 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1606 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1607 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1609 2014-02-19 Tom Tromey <tromey@redhat.com>
1611 * target.h (struct target_ops) <to_rcmd>: Add argument.
1612 (target_rcmd): Add argument.
1613 * target.c (debug_to_rcmd): Add argument.
1614 (update_current_target, do_monitor_command): Update.
1615 * remote.c (remote_rcmd): Add 'self' argument.
1616 * monitor.c (monitor_rcmd): Add 'self' argument.
1618 2014-02-19 Tom Tromey <tromey@redhat.com>
1620 * windows-nat.c (windows_stop): Add 'self' argument.
1621 * target.h (struct target_ops) <to_stop>: Add argument.
1622 * target.c (target_stop): Add argument.
1623 (debug_to_stop): Add argument.
1624 (update_current_target): Update.
1625 * remote.c (remote_stop): Add 'self' argument.
1626 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1627 (gdbsim_cntrl_c): Update.
1628 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1629 * procfs.c (procfs_stop): Add 'self' argument.
1630 * nto-procfs.c (procfs_stop): Add 'self' argument.
1631 * monitor.c (monitor_stop): Add 'self' argument.
1632 (monitor_open): Update.
1633 * linux-nat.c (linux_nat_stop): Add argument.
1634 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1635 * gnu-nat.c (gnu_stop): Add 'self' argument.
1636 * darwin-nat.c (darwin_stop): Add 'self' argument.
1638 2014-02-19 Tom Tromey <tromey@redhat.com>
1640 * target.h (struct target_ops) <to_thread_name>: Add argument.
1641 * target.c (target_thread_name): Add argument.
1642 (update_current_target): Update.
1643 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
1645 2014-02-19 Tom Tromey <tromey@redhat.com>
1647 * target.h (struct target_ops) <to_extra_thread_info>: Add
1649 (target_extra_thread_info): Add argument.
1650 * target.c (update_current_target): Update.
1651 * remote.c (remote_threads_extra_info): Add 'self' argument.
1652 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
1654 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
1655 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
1656 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
1658 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
1660 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
1662 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
1665 2014-02-19 Tom Tromey <tromey@redhat.com>
1667 * target.h (struct target_ops) <to_program_signals>: Add argument.
1668 * target.c (target_program_signals): Add argument.
1669 * remote.c (remote_program_signals): Add 'self' argument.
1671 2014-02-19 Tom Tromey <tromey@redhat.com>
1673 * target.h (struct target_ops) <to_pass_signals>: Add argument.
1674 * target.c (target_pass_signals): Add argument.
1675 * remote.c (remote_pass_signals): Add 'self' argument.
1676 (remote_start_remote): Update.
1677 * procfs.c (procfs_pass_signals): Add 'self' argument.
1678 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
1679 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
1680 (linux_nat_create_inferior, linux_nat_attach): Update.
1682 2014-02-19 Tom Tromey <tromey@redhat.com>
1684 * windows-nat.c (windows_can_run): Add 'self' argument.
1685 * target.h (struct target_ops) <to_can_run>: Add argument.
1686 (target_can_run): Add argument.
1687 * target.c (debug_to_can_run): Add argument.
1688 (update_current_target): Update.
1689 * nto-procfs.c (procfs_can_run): Add 'self' argument.
1690 * inf-child.c (inf_child_can_run): Add 'self' argument.
1691 * go32-nat.c (go32_can_run): Add 'self' argument.
1693 2014-02-19 Tom Tromey <tromey@redhat.com>
1695 * target.h (struct target_ops) <to_has_exited>: Add argument.
1696 (target_has_exited): Add argument.
1697 * target.c (debug_to_has_exited): Add argument.
1698 (update_current_target): Update.
1700 2014-02-19 Tom Tromey <tromey@redhat.com>
1702 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
1704 (target_set_syscall_catchpoint): Add argument.
1705 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
1707 * target.c (update_current_target): Update.
1709 2014-02-19 Tom Tromey <tromey@redhat.com>
1711 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
1713 (target_remove_exec_catchpoint): Add argument.
1714 * target.c (debug_to_remove_exec_catchpoint): Add argument.
1715 (update_current_target): Update.
1716 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
1719 2014-02-19 Tom Tromey <tromey@redhat.com>
1721 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
1723 (target_insert_exec_catchpoint): Add argument.
1724 * target.c (debug_to_insert_exec_catchpoint): Add argument.
1725 (update_current_target): Update.
1726 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
1729 2014-02-19 Tom Tromey <tromey@redhat.com>
1731 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
1733 (target_remove_vfork_catchpoint): Add argument.
1734 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
1735 (update_current_target): Update.
1736 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
1739 2014-02-19 Tom Tromey <tromey@redhat.com>
1741 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
1743 (target_insert_vfork_catchpoint): Add argument.
1744 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
1745 (update_current_target): Update.
1746 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
1749 2014-02-19 Tom Tromey <tromey@redhat.com>
1751 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
1753 (target_remove_fork_catchpoint): Add argument.
1754 * target.c (debug_to_remove_fork_catchpoint): Add argument.
1755 (update_current_target): Update.
1756 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
1759 2014-02-19 Tom Tromey <tromey@redhat.com>
1761 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
1763 (target_insert_fork_catchpoint): Add argument.
1764 * target.c (debug_to_insert_fork_catchpoint): Add argument.
1765 (update_current_target): Update.
1766 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
1769 2014-02-19 Tom Tromey <tromey@redhat.com>
1771 * target.h (struct target_ops) <to_post_startup_inferior>: Add
1773 (target_post_startup_inferior): Add argument.
1774 * target.c (debug_to_post_startup_inferior): Add argument.
1775 (update_current_target): Update.
1776 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
1778 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
1780 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
1782 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
1784 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
1786 (super_post_startup_inferior): Likewise.
1787 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
1789 (super_post_startup_inferior): Likewise.
1790 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
1791 Add 'self' argument.
1792 (super_post_startup_inferior): Likewise.
1794 2014-02-19 Tom Tromey <tromey@redhat.com>
1796 * target.h (struct target_ops) <to_load>: Add argument.
1797 * target.c (target_load): Add argument.
1798 (debug_to_load): Add argument.
1799 (update_current_target): Update.
1800 * remote.c (remote_load): Add 'self' argument.
1801 * remote-sim.c (gdbsim_load): Add 'self' argument.
1802 * remote-mips.c (mips_load): Add 'self' argument.
1803 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
1804 * monitor.c (monitor_load): Add 'self' argument.
1805 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
1807 2014-02-19 Tom Tromey <tromey@redhat.com>
1809 * target.h (struct target_ops) <to_terminal_info>: Add argument.
1810 (target_terminal_info): Add argument.
1811 * target.c (debug_to_terminal_info): Add argument.
1812 (default_terminal_info): Likewise.
1813 * inflow.c (child_terminal_info): Add 'self' argument.
1814 * inferior.h (child_terminal_info): Add 'self' argument.
1815 * go32-nat.c (go32_terminal_info): Add 'self' argument.
1817 2014-02-19 Tom Tromey <tromey@redhat.com>
1819 * target.h (struct target_ops) <to_terminal_save_ours>: Add
1821 (target_terminal_save_ours): Add argument.
1822 * target.c (debug_to_terminal_save_ours): Add argument.
1823 (update_current_target): Update.
1824 * inflow.c (terminal_save_ours): Add 'self' argument.
1825 * inferior.h (terminal_save_ours): Add 'self' argument.
1827 2014-02-19 Tom Tromey <tromey@redhat.com>
1829 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
1830 (target_terminal_ours): Add argument.
1831 * target.c (debug_to_terminal_ours): Add argument.
1832 (update_current_target): Update.
1833 * remote.c (remote_terminal_ours): Add 'self' argument.
1834 (remote_close): Update.
1835 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
1836 * inflow.c (terminal_ours): Add 'self' argument.
1837 * inferior.h (terminal_ours): Add 'self' argument.
1838 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1840 2014-02-19 Pedro Alves <palves@redhat.com>
1841 Tom Tromey <tromey@redhat.com>
1843 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
1845 (target_terminal_ours_for_output): Add argument.
1846 * target.c (debug_to_terminal_ours_for_output): Add argument.
1847 (update_current_target): Update.
1848 * inflow.c (terminal_ours_for_output): Add 'self' argument.
1849 * inferior.h (terminal_ours_for_output): Add 'self' argument.
1850 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1852 2014-02-19 Tom Tromey <tromey@redhat.com>
1854 * target.h (struct target_ops) <to_terminal_inferior>: Add
1856 * target.c (target_terminal_inferior): Add argument.
1857 (update_current_target): Update.
1858 * remote.c (remote_terminal_inferior): Add 'self' argument.
1859 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
1860 * inflow.c (terminal_inferior): Add 'self' argument.
1861 * inferior.h (terminal_inferior): Add 'self' argument.
1862 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
1863 (go32_terminal_inferior): Add 'self' argument.
1865 2014-02-19 Tom Tromey <tromey@redhat.com>
1867 * target.h (struct target_ops) <to_terminal_init>: Add argument.
1868 (target_terminal_init): Add argument.
1869 * target.c (debug_to_terminal_init): Add argument.
1870 (update_current_target): Update.
1871 * inflow.c (terminal_init_inferior): Add 'self' argument.
1872 * inferior.h (terminal_init_inferior): Add 'self' argument.
1873 * go32-nat.c (go32_terminal_init): Add 'self' argument.
1874 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
1876 2014-02-19 Tom Tromey <tromey@redhat.com>
1878 * target.h (struct target_ops)
1879 <to_can_accel_watchpoint_condition>: Add argument.
1880 (target_can_accel_watchpoint_condition): Add argument.
1881 * target.c (debug_to_can_accel_watchpoint_condition): Add
1883 (update_current_target): Update.
1884 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
1887 2014-02-19 Tom Tromey <tromey@redhat.com>
1889 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1891 (target_region_ok_for_hw_watchpoint): Add argument.
1892 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
1893 (default_region_ok_for_hw_watchpoint): Add argument.
1894 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
1895 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
1897 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
1899 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
1901 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
1903 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
1905 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
1907 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
1908 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
1910 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
1911 Add 'self' argument.
1913 2014-02-19 Tom Tromey <tromey@redhat.com>
1915 * target.h (struct target_ops) <to_insert_watchpoint>: Add
1917 (target_insert_watchpoint): Add argument.
1918 * target.c (debug_to_insert_watchpoint): Add argument.
1919 (update_current_target): Update.
1920 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
1921 * remote.c (remote_insert_watchpoint): Add 'self' argument.
1922 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
1923 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
1924 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
1925 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
1927 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
1928 (procfs_insert_hw_watchpoint): Add 'self' argument.
1929 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
1931 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
1933 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
1935 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
1936 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
1938 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
1941 2014-02-19 Tom Tromey <tromey@redhat.com>
1943 * target.h (struct target_ops) <to_remove_watchpoint>: Add
1945 (target_remove_watchpoint): Add argument.
1946 * target.c (debug_to_remove_watchpoint): Add argument.
1947 (update_current_target): Update.
1948 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
1949 * remote.c (remote_remove_watchpoint): Add 'self' argument.
1950 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
1951 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
1952 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
1953 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
1955 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
1956 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
1958 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
1960 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
1962 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
1963 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
1965 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
1968 2014-02-19 Tom Tromey <tromey@redhat.com>
1970 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
1972 (target_remove_hw_breakpoint): Add argument.
1973 * target.c (debug_to_remove_hw_breakpoint): Add argument.
1974 (update_current_target): Update.
1975 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
1976 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
1978 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
1979 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
1981 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
1984 2014-02-19 Tom Tromey <tromey@redhat.com>
1986 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
1988 (target_insert_hw_breakpoint): Add argument.
1989 * target.c (debug_to_insert_hw_breakpoint): Add argument.
1990 (update_current_target): Update.
1991 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
1992 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
1994 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
1995 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
1996 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
1998 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
2001 2014-02-19 Tom Tromey <tromey@redhat.com>
2003 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
2005 (target_can_use_hardware_watchpoint): Add argument.
2006 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
2007 (update_current_target): Update.
2008 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
2010 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
2012 * remote.c (remote_check_watch_resources): Add 'self' argument.
2013 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
2014 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
2016 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
2017 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
2019 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
2021 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
2023 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
2025 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
2027 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
2029 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
2030 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
2032 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
2035 2014-02-19 Tom Tromey <tromey@redhat.com>
2037 * target.h (struct target_ops) <to_post_attach>: Add argument.
2038 (target_post_attach): Add argument.
2039 * target.c (debug_to_post_attach): Add argument.
2040 (update_current_target): Update.
2041 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
2042 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
2043 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
2044 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
2045 * inf-child.c (inf_child_post_attach): Add 'self' argument.
2047 2014-02-19 Tom Tromey <tromey@redhat.com>
2049 * windows-nat.c (windows_close): Add 'self' argument.
2050 * tracepoint.c (tfile_close): Add 'self' argument.
2051 * target.h (struct target_ops) <to_close>: Add argument.
2052 * target.c (target_close): Add argument.
2053 (update_current_target): Update.
2054 * remote.c (remote_close): Add 'self' argument.
2055 * remote-sim.c (gdbsim_close): Add 'self' argument.
2056 * remote-mips.c (mips_close): Add 'self' argument.
2057 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
2058 * record-full.c (record_full_close): Add 'self' argument.
2059 * record-btrace.c (record_btrace_close): Add 'self' argument.
2060 * monitor.h (monitor_close): Add 'self' argument.
2061 * monitor.c (monitor_close): Add 'self' argument.
2062 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
2063 * linux-nat.c (linux_nat_close): Add argument.
2064 * go32-nat.c (go32_close): Add 'self' argument.
2065 * exec.c (exec_close_1): Add 'self' argument.
2066 * ctf.c (ctf_close): Add 'self' argument.
2067 * corelow.c (core_close): Add 'self' argument.
2068 (core_close_cleanup): Update.
2069 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
2070 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
2072 2014-02-19 Tom Tromey <tromey@redhat.com>
2074 * remote.c (remote_load): New function.
2075 (init_remote_ops): Use it.
2077 2014-02-19 Tom Tromey <tromey@redhat.com>
2079 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
2081 * common/linux-btrace.h (linux_supports_btrace): Update.
2082 * remote.c (remote_supports_btrace): Add "self" argument.
2083 * target-delegates.c: Rebuild.
2084 * target.c (target_supports_btrace): Remove.
2085 * target.h (struct target_ops) <to_supports_btrace>: Add
2086 target_ops argument.
2087 (target_supports_btrace): New define.
2089 2014-02-19 Tom Tromey <tromey@redhat.com>
2091 * record-full.c (record_full_beneath_to_resume_ops)
2092 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
2093 (record_full_beneath_to_wait)
2094 (record_full_beneath_to_store_registers_ops)
2095 (record_full_beneath_to_store_registers)
2096 (record_full_beneath_to_xfer_partial_ops)
2097 (record_full_beneath_to_xfer_partial)
2098 (record_full_beneath_to_insert_breakpoint_ops)
2099 (record_full_beneath_to_insert_breakpoint)
2100 (record_full_beneath_to_remove_breakpoint_ops)
2101 (record_full_beneath_to_remove_breakpoint)
2102 (record_full_beneath_to_stopped_by_watchpoint)
2103 (record_full_beneath_to_stopped_data_address)
2104 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
2105 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
2106 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
2107 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
2108 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
2109 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
2110 (tmp_to_stopped_data_address, tmp_to_async): Remove.
2111 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
2112 (record_full_resume, record_full_wait_1)
2113 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
2114 (record_full_store_registers, record_full_xfer_partial)
2115 (record_full_insert_breakpoint, record_full_remove_breakpoint)
2116 (record_full_async, record_full_core_xfer_partial): Use target
2118 * target-delegates.c: Rebuild.
2119 * target.c (current_xfer_partial): Remove.
2120 (update_current_target): Do not INHERIT or de_fault
2121 to_insert_breakpoint, to_remove_breakpoint,
2122 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
2123 to_is_async_p, to_async. Do not set to_xfer_partial field.
2124 (default_xfer_partial): Simplify.
2125 (current_xfer_partial): Remove.
2126 (target_wait, target_resume): Simplify.
2127 (find_default_can_async_p, find_default_is_async_p): Update.
2128 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
2129 to_xfer_partial, to_stopped_by_watchpoint,
2130 to_stopped_data_address.
2131 (target_store_registers): Simplify.
2132 (forward_target_remove_breakpoint)
2133 (forward_target_insert_breakpoint): Remove.
2134 (target_remove_breakpoint, target_insert_breakpoint)
2135 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
2136 * target.h (struct target_ops) <to_resume, to_wait,
2137 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
2138 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
2139 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
2141 (forward_target_remove_breakpoint)
2142 (forward_target_insert_breakpoint): Remove.
2143 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
2145 (record_btrace_insert_breakpoint): Delegate directly.
2147 2014-02-19 Tom Tromey <tromey@redhat.com>
2150 * target-delegates.c: New file.
2151 * target.c: Include target-delegates.c.
2152 (init_dummy_target): Call install_dummy_methods.
2153 (complete_target_initialization): Call install_delegators.
2154 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
2155 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
2156 * make-target-delegates: New file.
2158 2014-02-19 Tom Tromey <tromey@redhat.com>
2160 * record.c (find_record_target): Use find_target_at.
2161 * target.c (find_target_at): New function.
2162 * target.h (find_target_at): Declare.
2164 2014-02-19 Tom Tromey <tromey@redhat.com>
2166 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
2168 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
2170 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
2171 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
2173 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
2175 * linux-nat.c (save_sigtrap): Update.
2176 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
2177 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
2178 (linux_nat_close): Update.
2179 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
2181 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
2183 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
2184 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
2185 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
2186 (tmp_to_async): Add 'ops' argument.
2187 (record_full_stopped_by_watchpoint, record_full_async)
2188 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
2190 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
2191 (m32r_stopped_by_watchpoint): Add 'ops' argument.
2192 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
2193 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
2194 (remote_is_async_p, remote_async): Add 'ops' argument.
2195 (remote_stopped_data_address): Update.
2196 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
2197 * target.c (update_current_target)
2198 (find_default_can_async_p, find_default_is_async_p): Update.
2199 (init_dummy_target): Update.
2200 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
2201 * target.h (struct target_ops) <to_stopped_by_watchpoint,
2202 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
2203 (target_can_async_p, target_is_async_p, target_async)
2204 (target_stopped_by_watchpoint): Update.
2206 2014-02-19 Yao Qi <yao@codesourcery.com>
2209 * gdbarch.sh: Remove startup_gdbarch.
2210 * gdbarch.c: Regenerated.
2211 * gdbarch.h: Likewise.
2213 2014-02-17 Kevin Buettner <kevinb@redhat.com>
2215 * rl78-tdep.c (rl78_g10_register_name): New function.
2216 (rl78_return_value): Add g10 support.
2217 (rl78_gdbarch_init): Register rl78_g10_register_name for the
2220 2014-02-17 Doug Evans <xdje42@gmail.com>
2222 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
2223 (SUBDIR_GUILE_SRCS): Ditto.
2224 (scm-gsmob.o): Ditto.
2226 2014-02-17 Yao Qi <yao@codesourcery.com>
2228 * gnu-nat.c (ILL_RPC): Declare defined function.
2230 2014-02-17 Yao Qi <yao@codesourcery.com>
2232 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
2233 mach_msg_type_number_t.
2234 (gnu_write_inferior): Likewise.
2236 2014-02-17 Yao Qi <yao@codesourcery.com>
2238 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
2240 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
2241 (inf_validate_procs, inf_signal): Likewise.
2242 (S_exception_raise_request): Likewise.
2243 (do_mach_notify_dead_name): Likewise.
2244 (steal_exc_port): Likewise.
2245 (gnu_read_inferior): Change 'copy_count''s type to
2246 mach_msg_type_number_t.
2247 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
2250 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
2252 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
2253 flag. Adjust all users; in particular...
2254 (gnu_wait): ..., don't decrement its value in here...
2255 (gnu_create_inferior): ..., and instead set the flag in here,
2256 around the startup_inferior call, and call that one with
2257 START_INFERIOR_TRAPS_EXPECTED.
2259 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
2260 (ILL_RPC): ... new macro.
2261 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
2262 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
2263 (do_mach_notify_send_once, S_proc_setmsgport_reply)
2264 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
2265 functions with ILL_RPC macro.
2266 (S_proc_pid2task_reply, S_proc_task2pid_reply)
2267 (S_proc_task2proc_reply, S_proc_proc2task_reply)
2268 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
2269 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
2270 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
2271 (S_proc_getlogin_reply, S_proc_getsid_reply)
2272 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
2273 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
2274 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
2275 (S_proc_getnports_reply, S_proc_is_important_reply)
2276 (S_proc_get_code_reply): New stub functions, generated with
2279 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
2280 collected the type check structures.
2282 * reply_mig_hack.awk: Don't expect to see the auto keyword.
2284 2014-02-14 Doug Evans <dje@google.com>
2286 * target.c (target_write_partial): Fix result type.
2288 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2290 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
2291 the proper offsets to access fpregset_t.
2293 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
2295 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
2296 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
2297 * h8300-tdep.c (setmachinelist): Remove global.
2298 * hppa-tdep.c (hppa_sigtramp): Remove global.
2299 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
2300 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
2301 * ravenscar-thread.c (update_target_observer): Remove global.
2302 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
2304 2014-02-12 Tom Tromey <tromey@redhat.com>
2306 * common/rsp-low.c: Update comments.
2307 * common/rsp-low.h: Update comments.
2309 2014-02-12 Tom Tromey <tromey@redhat.com>
2311 * common/rsp-low.c (convert_ascii_to_int): Remove.
2312 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
2314 2014-02-12 Tom Tromey <tromey@redhat.com>
2316 * common/rsp-low.h (unhexify): Don't declare.
2317 * common/rsp-low.c (unhexify): Remove.
2319 2014-02-12 Tom Tromey <tromey@redhat.com>
2321 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
2322 * common/rsp-low.c (convert_int_to_ascii): Remove.
2324 2014-02-12 Tom Tromey <tromey@redhat.com>
2326 * common/rsp-low.h (hexify): Don't declare.
2327 * common/rsp-low.c (hexify): Remove.
2329 2014-02-12 Tom Tromey <tromey@redhat.com>
2331 * common/rsp-low.c (hexify): Never take strlen of argument.
2333 2014-02-12 Tom Tromey <tromey@redhat.com>
2335 * common/rsp-low.c (bin2hex): Never take strlen of argument.
2336 * remote.c (extended_remote_run, remote_rcmd)
2337 (remote_download_trace_state_variable, remote_save_trace_data)
2338 (remote_set_trace_notes): Update.
2339 * tracepoint.c (encode_source_string, tfile_write_status)
2340 (tfile_write_uploaded_tsv): Update.
2342 2014-02-12 Tom Tromey <tromey@redhat.com>
2344 * tracepoint.c: Include rsp-low.h.
2345 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
2346 * remote.c: Include rsp-low.h.
2347 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
2348 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
2349 (remote_unescape_input): Move to common/rsp-low.c.
2350 * common/rsp-low.h: New file.
2351 * common/rsp-low.c: New file.
2352 * Makefile.in (SFILES): Add common/rsp-low.c.
2353 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
2354 (COMMON_OBS): Add rsp-low.o.
2355 (rsp-low.o): New target.
2357 2014-02-12 Tom Tromey <tromey@redhat.com>
2359 * utils.h: Include print-utils.h.
2360 (host_address_to_string, plongest, pulongest, phex, phex_nz)
2361 (int_string, core_addr_to_string, core_addr_to_string_nz)
2362 (hex_string, hex_string_custom): Don't declare.
2363 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2364 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2365 (hex_string_custom, int_string, core_addr_to_string)
2366 (core_addr_to_string_nz, host_address_to_string): Move to
2367 common/print-utils.c.
2368 * common/print-utils.h: New file.
2369 * common/print-utils.c: New file
2370 * Makefile.in (SFILES): Add common/print-utils.c.
2371 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2372 (COMMON_OBS): Add print-utils.o.
2373 (print-utils.o): New target.
2375 2014-02-12 Tom Tromey <tromey@redhat.com>
2377 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2379 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2381 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2383 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2385 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2386 if a PT_IO ptrace request returns sucessfully but indicates that 0
2387 bytes were transferred.
2389 2014-02-12 Pedro Alves <palves@redhat.com>
2390 Kevin Buettner <kevinb@redhat.com>
2392 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2393 TYPE_INSTANCE_FLAG_CODE_SPACE.
2395 2014-02-12 Pedro Alves <palves@redhat.com>
2397 * h8300-tdep.c (pseudo_from_raw_register)
2398 (raw_from_pseudo_register): New functions.
2399 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2402 2014-02-12 Pedro Alves <palves@redhat.com>
2404 * h8300-tdep.c (h8300_register_sim_regno): New function.
2405 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2406 gdbarch_register_sim_regno hook.
2408 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2410 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2412 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2414 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2416 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2418 * obsd-tdep.h (obsd_init_abi): New prototype.
2419 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2420 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2421 (obsd_init_abi): New functions.
2422 * i386obsd-tdep.c: Include "obsd-tdep.h".
2423 (i386obsd_init_abi): Call obsd_init_abi.
2424 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2425 (amd64obsd_init_abi): Call obsd_init_abi.
2426 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2427 obsd-tdep.c to gdb_target_obs.
2429 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2431 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2432 double float arguments to 16-byte in the argument slots.
2434 2014-02-11 Doug Evans <xdje42@gmail.com>
2436 * configure.ac: Don't crash if pkg-config is not found and guile
2437 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2439 * configure: Regenerate.
2441 2014-02-11 Yao Qi <yao@codesourcery.com>
2443 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2444 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2445 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2446 * gnu-nat.c (gnu_xfer_memory): Likewise.
2447 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2448 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2449 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2450 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2452 2014-02-11 Yao Qi <yao@codesourcery.com>
2454 * target.h (enum target_xfer_error): Rename to ...
2455 (enum target_xfer_status): ... it. New. All users updated.
2456 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2458 (TARGET_XFER_STATUS_ERROR_P): New macro.
2459 (target_xfer_error_to_string): Remove declaration.
2460 (target_xfer_status_to_string): Declare.
2461 (target_xfer_partial_ftype): Adjust it.
2462 (struct target_ops) <to_xfer_partial>: Return
2463 target_xfer_status. Add argument xfered_len. Update
2465 * target.c (target_xfer_error_to_string): Rename to ...
2466 (target_xfer_status_to_string): ... it. New. All callers
2468 (target_read_live_memory): Likewise. Call target_xfer_partial
2469 instead of target_read.
2470 (memory_xfer_live_readonly_partial): Return
2471 target_xfer_status. Add argument xfered_len.
2472 (raw_memory_xfer_partial): Likewise.
2473 (memory_xfer_partial_1): Likewise.
2474 (memory_xfer_partial): Likewise.
2475 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2476 properly. Update debug message.
2477 (default_xfer_partial, current_xfer_partial): Likewise.
2478 (target_write_partial): Likewise.
2479 (target_read_partial): Likewise. All callers updated.
2480 (read_whatever_is_readable): Likewise.
2481 (target_write_with_progress): Likewise.
2482 (target_read_alloc_1): Likewise.
2484 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2485 * auxv.c (procfs_xfer_auxv): Likewise.
2486 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2487 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2488 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2489 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2490 * corefile.c (read_memory): Adjust.
2491 * corelow.c (core_xfer_partial): Likewise.
2492 * ctf.c (ctf_xfer_partial): Likewise.
2493 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2495 (darwin_xfer_partial): Likewise.
2496 * exec.c (section_table_xfer_memory_partial): Likewise. All
2498 (exec_xfer_partial): Likewise.
2499 * exec.h (section_table_xfer_memory_partial): Update
2501 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2503 (gnu_xfer_partial): Likewise.
2504 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2505 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2506 (ia64_hpux_xfer_solib_got): Likewise.
2507 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2508 type of 'partial_len' to ULONGEST.
2509 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2510 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2511 (linux_nat_xfer_partial): Likewise.
2512 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2513 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2514 * monitor.c (monitor_xfer_memory): Likewise.
2515 (monitor_xfer_partial): Likewise.
2516 * procfs.c (procfs_xfer_partial): Likewise.
2517 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2518 * record-full.c (record_full_xfer_partial): Likewise.
2519 (record_full_core_xfer_partial): Likewise.
2520 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2521 (gdbsim_xfer_partial): Likewise.
2522 * remote.c (remote_write_bytes_aux): Likewise. All callers
2524 (remote_write_bytes, remote_read_bytes): Likewise. All
2526 (remote_flash_erase): Likewise. All callers updated.
2527 (remote_write_qxfer): Likewise. All callers updated.
2528 (remote_read_qxfer): Likewise. All callers updated.
2529 (remote_xfer_partial): Likewise.
2530 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2531 (rs6000_xfer_shared_libraries): Likewise.
2532 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2533 (sol_thread_xfer_partial): Likewise.
2534 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2535 (sparc_xfer_partial): Likewise.
2536 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2538 (spu_xfer_partial): Likewise.
2539 * spu-multiarch.c (spu_xfer_partial): Likewise.
2540 * tracepoint.c (tfile_xfer_partial): Likewise.
2541 * windows-nat.c (windows_xfer_memory): Likewise.
2542 (windows_xfer_shared_libraries): Likewise.
2543 (windows_xfer_partial): Likewise.
2544 * valprint.c: Replace 'target_xfer_error' with
2545 'target_xfer_status' in comments.
2547 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2549 Checked in by Joel Brobecker <brobecker@adacore.com>.
2550 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2552 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2554 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2555 function parameters.
2557 2014-02-10 Will Newton <will.newton@linaro.org>
2559 * elfread.c (elf_rel_plt_read): Look for a .got section if
2560 looking up .got.plt fails.
2561 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2562 on address passed to elf_gnu_ifunc_record_cache.
2563 (elf_gnu_ifunc_resolve_addr): Likewise.
2564 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2566 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2568 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2569 (X_RETTURN): New macro.
2570 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2572 * sparc64-tdep.c (sparc64_init_abi): Hook
2573 sparc_in_function_epilogue_p.
2575 2014-02-10 Gary Benson <gbenson@redhat.com>
2577 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2578 Rename name_matcher to symbol_matcher.
2580 2014-02-10 Gary Benson <gbenson@redhat.com>
2582 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2583 Use expand_symtabs_file_matcher_ftype and
2584 expand_symtabs_symbol_matcher_ftype.
2586 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2588 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2589 (struct ada_symbol_cache): New.
2590 (ada_free_symbol_cache): Forward declare.
2591 (struct ada_pspace_data): New.
2592 (ada_pspace_data_handle): New static global.
2593 (get_ada_pspace_data, ada_pspace_data_cleanup)
2594 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2595 (cache_space, cache): Delete, now folded inside struct
2597 (ada_get_symbol_cache): New function.
2598 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2600 (_initialize_ada_language): Remove initialization of cache_space.
2601 Move call to observer_attach_inferior_exit up, grouping it
2602 with the other observer registrations inside this function.
2603 Rename command to be more general. Add call to
2604 register_program_space_data_with_cleanup.
2606 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2608 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2609 ada_new_objfile_observer.
2610 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2611 (_initialize_tasks): Update uses of ada_new_objfile_observer
2612 and ada_tasks_normal_stop_observer.
2614 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2616 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2617 returned by the 'Length attribute to integer.
2619 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2621 * ada-lang.c (_initialize_ada_language): Initialize
2622 cache_space obstack.
2624 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2626 * ada-lang.c (HASH_SIZE): New macro.
2627 (struct cache_entry): New type.
2628 (cache_space, cache): New static globals.
2629 (ada_clear_symbol_cache, find_entry): New functions.
2630 (lookup_cached_symbol, cache_symbol): Implement.
2631 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2632 (_initialize_ada_language): Attach ada_new_objfile_observer
2633 and ada_free_objfile_observer.
2635 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2637 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
2638 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
2639 struct block * parameter.
2640 (ada_lookup_symbol_list_worker): Constify local variable "block".
2641 Remove cast which is no longer necessary.
2643 2014-02-10 Doug Evans <xdje42@gmail.com>
2645 Add Guile as an extension language.
2646 * NEWS: Mention Guile scripting.
2647 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
2648 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
2649 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
2650 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
2651 (CLIBS): Add GUILE_LIBS.
2652 (install-guile): New rule.
2653 (guile.o): New rule.
2654 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
2655 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
2656 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
2657 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
2658 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
2659 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
2660 (scm-type.o, scm-utils.o, scm-value.o): New rules.
2661 * configure.ac: New option --with-guile.
2662 * configure: Regenerate.
2663 * config.in: Regenerate.
2664 * auto-load.c: Remove #include "python/python.h". Add #include
2665 "gdb/section-scripts.h".
2666 (source_section_scripts): Handle Guile scripts.
2667 (_initialize_auto_load): Add name of Guile objfile script to
2668 scripts-directory help text.
2669 * breakpoint.c (condition_command): Tweak comment to include Scheme.
2670 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
2671 (struct breakpoint): New member scm_bp_object.
2672 * defs.h (enum command_control_type): New value guile_control.
2673 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
2675 (show_user): Update comment.
2676 (_initialize_cli_cmds): Update help text for "show user". Update help
2677 text for max-user-call-depth.
2678 * cli/cli-script.c: Remove #include "python/python.h". Add #include
2680 (multi_line_command_p): Add guile_control.
2681 (print_command_lines): Handle guile_control.
2682 (execute_control_command, recurse_read_control_structure): Ditto.
2683 (process_next_line): Recognize "guile" commands.
2684 * disasm.c (gdb_disassemble_info): Make non-static.
2685 * disasm.h: #include "dis-asm.h".
2686 (struct gdbarch): Add forward decl.
2687 (gdb_disassemble_info): Declare.
2688 * extension.c: #include "guile/guile.h".
2689 (extension_languages): Add guile.
2690 (get_ext_lang_defn): Handle EXT_LANG_GDB.
2691 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
2692 * gdbtypes.c (get_unsigned_type_max): New function.
2693 (get_signed_type_minmax): New function.
2694 * gdbtypes.h (get_unsigned_type_max): Declare.
2695 (get_signed_type_minmax): Declare.
2696 * guile/README: New file.
2697 * guile/guile-internal.h: New file.
2698 * guile/guile.c: New file.
2699 * guile/guile.h: New file.
2700 * guile/scm-arch.c: New file.
2701 * guile/scm-auto-load.c: New file.
2702 * guile/scm-block.c: New file.
2703 * guile/scm-breakpoint.c: New file.
2704 * guile/scm-disasm.c: New file.
2705 * guile/scm-exception.c: New file.
2706 * guile/scm-frame.c: New file.
2707 * guile/scm-gsmob.c: New file.
2708 * guile/scm-iterator.c: New file.
2709 * guile/scm-lazy-string.c: New file.
2710 * guile/scm-math.c: New file.
2711 * guile/scm-objfile.c: New file.
2712 * guile/scm-ports.c: New file.
2713 * guile/scm-pretty-print.c: New file.
2714 * guile/scm-safe-call.c: New file.
2715 * guile/scm-string.c: New file.
2716 * guile/scm-symbol.c: New file.
2717 * guile/scm-symtab.c: New file.
2718 * guile/scm-type.c: New file.
2719 * guile/scm-utils.c: New file.
2720 * guile/scm-value.c: New file.
2721 * guile/lib/gdb.scm: New file.
2722 * guile/lib/gdb/boot.scm: New file.
2723 * guile/lib/gdb/experimental.scm: New file.
2724 * guile/lib/gdb/init.scm: New file.
2725 * guile/lib/gdb/iterator.scm: New file.
2726 * guile/lib/gdb/printing.scm: New file.
2727 * guile/lib/gdb/types.scm: New file.
2728 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
2729 (VPATH): Add $(GUILE_SRCDIR).
2730 (GUILE_DIR): New variable.
2731 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
2732 (all): Add stamp-guile dependency.
2733 (stamp-guile): New rule.
2734 (clean-guile, install-guile, uninstall-guile): New rules.
2735 (install-only): Add install-guile dependency.
2736 (uninstall): Add uninstall-guile dependency.
2737 (clean): Add clean-guile dependency.
2739 2014-02-09 Doug Evans <xdje42@gmail.com>
2741 Revert this patch (which I approved, mea culpa).
2743 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2745 * Makefile.in (all-lib): Remove.
2746 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2748 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2750 Fix Python stack corruption.
2751 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
2754 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2756 * Makefile.in (all-lib): Remove.
2757 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2759 2014-02-07 Doug Evans <dje@google.com>
2761 * extension-priv.h (extension_language_script_ops): Add comment.
2762 (extension_language_ops): Add comment.
2763 (active_ext_lang_state): Fix typo in comment.
2765 2014-02-07 Pedro Alves <palves@redhat.com>
2767 * infrun.c (handle_signal_stop) <signal arrives while stepping
2768 over a breakpoint>: Switch back to the stepping thread.
2770 2014-02-07 Yao Qi <yao@codesourcery.com>
2772 * target.c (target_xfer_partial): Return zero if LEN is zero.
2774 2014-02-07 Yao Qi <yao@codesourcery.com>
2776 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
2777 (ld_so_xfer_auxv): Likewise.
2778 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2779 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2780 * corelow.c (core_xfer_partial): Likewise.
2781 * ctf.c (ctf_xfer_partial): Likewise.
2782 * darwin-nat.c (darwin_read_dyld_info): Likewise.
2783 (darwin_xfer_partial): Likewise.
2784 * exec.c (exec_xfer_partial): Likewise.
2785 * gnu-nat.c (gnu_xfer_partial): Likewise.
2786 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
2787 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2788 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2789 * linux-nat.c (linux_xfer_siginfo): Likewise.
2790 (linux_proc_xfer_spu): Likewise.
2791 * procfs.c (procfs_xfer_partial): Likewise.
2792 * record-full.c (record_full_xfer_partial): Likewise.
2793 (record_full_core_xfer_partial): Likewise.
2794 * remote-sim.c (gdbsim_xfer_partial): Likewise.
2795 * remote.c (remote_write_qxfer): Likewise.
2796 (remote_write_qxfer, remote_read_qxfer): Likewise.
2797 (remote_xfer_partial): Likewise.
2798 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2799 (rs6000_xfer_shared_libraries): Likewise.
2800 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2801 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2802 (spu_xfer_partial): Likewise.
2803 * target.c (memory_xfer_partial_1): Likewise.
2804 * tracepoint.c (tfile_xfer_partial): Likewise.
2805 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
2806 (windows_xfer_partial): Likewise.
2808 2014-02-07 Yao Qi <yao@codesourcery.com>
2810 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
2812 (core_xfer_shared_libraries_aix): Likewise.
2813 * gdbarch.c, gdbarch.h: Regenerated.
2814 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
2815 ULONGEST. Change 'len_avail' type to ULONGEST.
2816 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
2817 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
2819 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
2821 2014-02-07 Yao Qi <yao@codesourcery.com>
2823 * corefile.c (memory_error): Get 'exception' from ERR and pass
2824 'exception' to throw_error.
2826 2014-02-06 Doug Evans <xdje42@gmail.com>
2828 * configure.ac (libpython checking): Remove all but python.o from
2829 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
2830 * configure: Regenerate.
2832 * Makefile.in (SFILES): Add extension.c.
2833 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
2834 (COMMON_OBS): Add extension.o.
2835 * extension.h: New file.
2836 * extension-priv.h: New file.
2837 * extension.c: New file.
2839 * python/python-internal.h: #include "extension.h".
2840 (gdbpy_auto_load_enabled): Declare.
2841 (gdbpy_apply_val_pretty_printer): Declare.
2842 (gdbpy_apply_frame_filter): Declare.
2843 (gdbpy_preserve_values): Declare.
2844 (gdbpy_breakpoint_cond_says_stop): Declare.
2845 (gdbpy_breakpoint_has_cond): Declare.
2846 (void source_python_script_for_objfile): Delete.
2847 * python/python.c: #include "extension-priv.h".
2848 Delete inclusion of "observer.h".
2849 (extension_language_python): Moved here and renamed from
2850 script_language_python in py-auto-load.c.
2851 Redefined to be of type extension_language_defn.
2852 (python_extension_script_ops): New global.
2853 (python_extension_ops): New global.
2854 (struct python_env): New member previous_active.
2855 (restore_python_env): Call restore_active_ext_lang.
2856 (ensure_python_env): Call set_active_ext_lang.
2857 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
2859 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
2861 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
2863 (gdbpy_eval_from_control_command): Renamed from
2864 eval_python_from_control_command, made static. New arg extlang.
2865 (gdbpy_source_script) Renamed from source_python_script, made static.
2867 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
2868 result to int. New arg extlang.
2869 (gdbpy_source_objfile_script): Renamed from
2870 source_python_script_for_objfile, made static. New arg extlang.
2871 (gdbpy_start_type_printers): Renamed from start_type_printers, made
2872 static. New args extlang, extlang_printers. Change result type to
2874 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
2875 static. New arg extlang. Rename arg printers to extlang_printers
2876 and change type to ext_lang_type_printers *.
2877 (gdbpy_free_type_printers): Renamed from free_type_printers, made
2878 static. Replace argument arg with extlang, extlang_printers.
2879 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
2880 (!HAVE_PYTHON, source_python_script): Delete.
2881 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
2882 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
2883 (!HAVE_PYTHON, start_type_printers): Delete.
2884 (!HAVE_PYTHON, apply_type_printers): Delete.
2885 (!HAVE_PYTHON, free_type_printers): Delete.
2886 (_initialize_python): Delete call to observer_attach_before_prompt.
2887 (finalize_python): Set/restore active extension language.
2888 (gdbpy_finish_initialization) Renamed from
2889 finish_python_initialization, made static. New arg extlang.
2890 (gdbpy_initialized): New function.
2891 * python/python.h: #include "extension.h". Delete #include
2892 "value.h", "mi/mi-cmds.h".
2893 (extension_language_python): Declare.
2894 (GDBPY_AUTO_FILE_NAME): Delete.
2895 (enum py_bt_status): Moved to extension.h and renamed to
2897 (enum frame_filter_flags): Moved to extension.h.
2898 (enum py_frame_args): Moved to extension.h and renamed to
2899 ext_lang_frame_args.
2900 (finish_python_initialization): Delete.
2901 (eval_python_from_control_command): Delete.
2902 (source_python_script): Delete.
2903 (apply_val_pretty_printer): Delete.
2904 (apply_frame_filter): Delete.
2905 (preserve_python_values): Delete.
2906 (gdbpy_script_language_defn): Delete.
2907 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
2908 (start_type_printers, apply_type_printers, free_type_printers): Delete.
2910 * auto-load.c: #include "extension.h".
2911 (GDB_AUTO_FILE_NAME): Delete.
2912 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
2913 (script_language_gdb): Delete, moved to extension.c and renamed to
2914 extension_language_gdb.
2915 (source_gdb_script_for_objfile): Delete.
2916 (auto_load_pspace_info): New member unsupported_script_warning_printed.
2917 (loaded_script): Change type of language member to
2918 struct extension_language_defn *.
2919 (init_loaded_scripts_info): Initialize
2920 unsupported_script_warning_printed.
2921 (maybe_add_script): Make static. Change type of language arg to
2922 struct extension_language_defn *.
2923 (clear_section_scripts): Reset unsupported_script_warning_printed.
2924 (auto_load_objfile_script_1): Rewrite to use extension language API.
2925 (auto_load_objfile_script): Make public. Remove support-compiled-in
2926 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
2927 (source_section_scripts): Rewrite to use extension language API.
2928 (load_auto_scripts_for_objfile): Rewrite to use
2929 auto_load_scripts_for_objfile.
2930 (collect_matching_scripts_data): Change type of language member to
2931 struct extension_language_defn *.
2932 (auto_load_info_scripts): Change type of language arg to
2933 struct extension_language_defn *.
2934 (unsupported_script_warning_print): New function.
2935 (script_not_found_warning_print): Make static.
2936 (_initialize_auto_load): Rewrite construction of scripts-directory
2938 * auto-load.h (struct objfile): Add forward decl.
2939 (struct script_language): Delete.
2940 (struct auto_load_pspace_info): Add forward decl.
2941 (struct extension_language_defn): Add forward decl.
2942 (maybe_add_script): Delete.
2943 (auto_load_objfile_script): Declare.
2944 (script_not_found_warning_print): Delete.
2945 (auto_load_info_scripts): Update prototype.
2946 (auto_load_gdb_scripts_enabled): Declare.
2947 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
2948 auto_load_python_scripts_enabled and made public.
2949 (script_language_python): Delete, moved to python.c.
2950 (gdbpy_script_language_defn): Delete.
2951 (info_auto_load_python_scripts): Update to use
2952 extension_language_python.
2954 * breakpoint.c (condition_command): Replace call to
2955 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
2956 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
2957 with call to breakpoint_ext_lang_cond_says_stop.
2958 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
2959 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
2960 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
2961 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
2963 (local_setattro): Print name of extension language with existing
2966 * valprint.c (val_print, value_print): Update to call
2967 apply_ext_lang_val_pretty_printer.
2968 * cp-valprint.c (cp_print_value): Update call to
2969 apply_ext_lang_val_pretty_printer.
2970 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
2971 (gdbpy_apply_val_pretty_printer): Renamed from
2972 apply_val_pretty_printer. New arg extlang.
2973 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
2975 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
2976 extension language API.
2977 * cli/cli-script.c (execute_control_command): Update to call
2978 eval_ext_lang_from_control_command.
2980 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
2981 enum ext_lang_bt_status values. Update call to
2982 apply_ext_lang_frame_filter.
2983 (mi_cmd_stack_list_locals): Ditto.
2984 (mi_cmd_stack_list_args): Ditto.
2985 (mi_cmd_stack_list_variables): Ditto.
2986 * mi/mi-main.c: Delete #include "python/python-internal.h".
2987 Add #include "extension.h".
2988 (mi_cmd_list_features): Replace reference to python internal variable
2989 gdb_python_initialized with call to ext_lang_initialized_p.
2991 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
2992 Update to use enum ext_lang_frame_args. Update to call
2993 apply_ext_lang_frame_filter.
2994 * python/py-framefilter.c (extract_sym): Update to use enum
2996 (extract_value, py_print_type, py_print_value): Ditto.
2997 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
2998 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
2999 (py_print_frame): Ditto.
3000 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
3001 New arg extlang. Update to use enum ext_lang_bt_status.
3003 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
3004 finish_python_initialization. Replace with call to
3005 finish_ext_lang_initialization.
3007 * typeprint.c (do_free_global_table): Update to call
3008 free_ext_lang_type_printers.
3009 (create_global_typedef_table): Update to call
3010 start_ext_lang_type_printers.
3011 (find_global_typedef): Update to call apply_ext_lang_type_printers.
3012 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
3013 (type_print_options): Change type of global_printers from "void *"
3014 to "struct ext_lang_type_printers *".
3016 * value.c (preserve_values): Update to call preserve_ext_lang_values.
3017 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
3018 (gdbpy_preserve_values): Renamed from preserve_python_values.
3020 (!HAVE_PYTHON, preserve_python_values): Delete.
3022 * utils.c (quit_flag): Delete, moved to extension.c.
3023 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
3026 * eval.c: Delete #include "python/python.h".
3027 * main.c: Delete #include "python/python.h".
3029 * defs.h: Update comment.
3031 2014-02-06 Joel Brobecker <brobecker@adacore.com>
3035 2014-02-05 Mark Kettenis <kettenis@gnu.org>
3037 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
3040 2014-02-05 Yao Qi <yao@codesourcery.com>
3042 * remote.c (remote_pass_signals): Remove local 'buf' and use
3044 (remote_program_signals): Likewise.
3046 2014-02-05 Yao Qi <yao@codesourcery.com>
3048 * ctf.c: Include "inferior.h" and "gdbthread.h".
3049 (CTF_PID): A new macro.
3050 (ctf_open): Call inferior_appeared and add_thread_silent.
3051 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
3052 (ctf_thread_alive): New function.
3053 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
3055 2014-02-05 Yao Qi <yao@codesourcery.com>
3059 2013-05-24 Yao Qi <yao@codesourcery.com>
3061 * tracepoint.c (TFILE_PID): Remove.
3062 (tfile_open): Don't add thread and inferior.
3063 (tfile_close): Don't set 'inferior_ptid'. Don't call
3064 exit_inferior_silent.
3065 (tfile_thread_alive): Remove.
3066 (init_tfile_ops): Don't set field 'to_thread_alive' of
3069 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
3071 * remote.c (remote_start_remote): Call remote_check_symbols even
3072 if only symbol-file (not file) has been given.
3074 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3076 * gdbarch.sh (skip_entrypoint): New callback.
3077 * gdbarch.c, gdbarch.h: Regenerate.
3078 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
3079 * infrun.c (fill_in_stop_func): Likewise.
3080 * ppc-linux-tdep.c: Include "elf/ppc64.h".
3081 (ppc_elfv2_elf_make_msymbol_special): New function.
3082 (ppc_elfv2_skip_entrypoint): Likewise.
3083 (ppc_linux_init_abi): Install them for ELFv2.
3085 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3087 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
3088 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
3089 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
3090 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
3091 structures returned in GPRs.
3093 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3095 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
3096 offset to the stack parameter list for the ELFv2 ABI.
3098 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3100 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
3101 set_gdbarch_convert_from_func_ptr_addr and
3102 set_gdbarch_elf_make_msymbol_special for ELFv1.
3103 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
3104 function descriptors on ELFv1.
3105 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
3106 set up r12 at function entry.
3108 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3110 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
3111 (struct gdbarch_tdep): New member elf_abi.
3113 * rs6000-tdep.c: Include "elf/ppc64.h".
3114 (rs6000_gdbarch_init): Detect ELF ABI version.
3116 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3118 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
3119 within a register pair holding a DFP 128-bit value on little-endian.
3120 (ppc64_sysv_abi_return_value_base): Likewise.
3121 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
3122 (dfp_pseudo_register_write): Likewise.
3124 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3126 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
3127 offset on little-endian when passing _Decimal32.
3128 (ppc64_sysv_abi_return_value_base): Likewise for return values.
3130 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3132 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
3133 of the overlapped FP register within the VSX register on little-
3135 (efpr_pseudo_register_write): Likewise.
3137 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3139 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
3140 offset on little-endian when passing small structures.
3142 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3144 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
3145 (struct ppc64_sysv_argpos): New data structure.
3146 (ppc64_sysv_abi_push_float): Remove.
3147 (ppc64_sysv_abi_push_val): New function.
3148 (ppc64_sysv_abi_push_integer): Likewise.
3149 (ppc64_sysv_abi_push_freg): Likewise.
3150 (ppc64_sysv_abi_push_vreg): Likewise.
3151 (ppc64_sysv_abi_push_param): Likewise.
3152 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
3153 (ppc64_sysv_abi_return_value_base): New function.
3154 (ppc64_sysv_abi_return_value): Refactor to use it.
3156 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3158 * NEWS: Document new target powerpc64le-*-linux*.
3160 2014-02-04 Mark Kettenis <kettenis@gnu.org>
3162 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
3163 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
3165 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
3166 register set used in ELF core dumps. Add floating-point register set.
3168 2014-02-03 Kevin Buettner <kevinb@redhat.com>
3170 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
3171 dwarf2_to_gdb[] table using symbolic constants. Adjust
3172 penultimate entry from number representing the PC register
3173 to symbolic constant representing the MDR register. Add
3174 constant for the PC register to the end of the table.
3176 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3178 * bsd-kvm.c: Include <sys/param.h>
3180 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3182 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
3184 2014-01-31 Joel Brobecker <brobecker@adacore.com>
3186 * ada-lang.h (clear_ada_sym_cache): Delete.
3188 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
3190 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
3192 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3194 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
3195 the sigreturn register save area only if the syscall is
3198 2014-01-29 Joel Brobecker <brobecker@adacore.com>
3200 * valops.c (value_slice): Minor reformatting.
3202 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
3204 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
3206 2014-01-28 Joel Brobecker <brobecker@adacore.com>
3208 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
3210 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
3211 (ada_ignore_descriptive_types_p): New static global.
3212 (find_parallel_type_by_descriptive_type): Return immediately
3213 if ada_ignore_descriptive_types_p is set.
3214 (_initialize_ada_language): Register new commands "maintenance
3215 set ada", "maintenance show ada", "maintenance set ada
3216 ignore-descriptive-types" and "maintenance show ada
3217 ignore-descriptive-types".
3218 * NEWS: Add entry for new "maint ada set/show
3219 ignore-descriptive-types" commands.
3221 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
3223 * record-btrace.c (record_btrace_close): Call btrace_teardown
3226 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3228 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
3231 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3233 * ada-typeprint (type_is_full_subrange_of_target_type):
3235 (print_range): Add parameter bounds_prefered_p. If not set,
3236 try printing range types using the name of their base type.
3237 (print_range_type): Add parameter bounds_prefered_p.
3238 Use it in call to print_range.
3239 (print_array_type, ada_print_type): Update calls to print_range
3240 and print_range_type.
3242 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3244 * ada-typeprint.c (print_array_type, print_choices, print_range)
3245 (print_range_bound, print_dynamic_range_bound, print_range_type):
3248 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3250 * ada-typeprint.c (print_range): Add missing empty line
3251 after local declaration.
3253 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3255 * ada-valprint.c (print_optional_low_bound): Get index_type's
3256 target type for as long as it is a TYPE_CODE_RANGE.
3258 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3260 * procfs.c (procfs_make_note_section): Remove assertion and
3263 2014-01-24 Yao Qi <yao@codesourcery.com>
3265 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
3266 * corelow.c (get_core_siginfo): Likewise.
3268 2014-01-24 Yao Qi <yao@codesourcery.com>
3270 * remote.c (remote_write_bytes_aux): Change type of 'len' to
3271 ULONGEST. Don't check 'len' is negative.
3272 (remote_write_bytes): Change type of 'len' to ULONGEST.
3274 2014-01-23 Tom Tromey <tromey@redhat.com>
3277 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
3278 Handle exception from frame.block.
3279 (FrameVars.fetch_frame_locals): Likewise.
3281 2014-01-23 Tom Tromey <tromey@redhat.com>
3284 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
3285 on a NULL pointer. Move "goto error" to correct place.
3287 2014-01-23 Tom Tromey <tromey@redhat.com>
3290 * python/py-framefilter.c (apply_frame_filter): Call
3291 ensure_python_env after computing gdbarch.
3293 2014-01-23 Yao Qi <yao@codesourcery.com>
3295 * target.c (raw_memory_xfer_partial): Change argument type
3296 from void * to gdb_byte *.
3297 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
3299 2014-01-22 Doug Evans <dje@google.com>
3301 New gdbserver option --debug-format=timestamp.
3304 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3306 * syscalls/s390x-linux.xml: New file.
3307 * syscalls/s390-linux.xml: New file.
3308 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
3309 (XML_SYSCALL_FILENAME_S390X): Likewise.
3310 (op_svc): New enum value for SVC opcode.
3311 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
3312 (s390_linux_get_syscall_number): New function.
3313 (s390_gdbarch_init): Register '*get_syscall_number' and the
3314 syscall xml file name.
3315 * data-directory/Makefile.in (SYSCALLS_FILES): Add
3316 "s390-linux.xml" and "s390x-linux.xml".
3317 * NEWS: Announce new feature.
3319 2014-01-22 Baruch Siach <baruch@tkos.co.il>
3321 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
3323 2014-01-22 Pedro Alves <palves@redhat.com>
3325 * xtensa-config.c: Include defs.h.
3327 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3329 * common/common-utils.h: Add "ARI:" comment beside __func__
3332 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3334 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
3335 documentation a bit.
3337 2014-01-21 Roland McGrath <mcgrathr@google.com>
3339 * configure.ac: Call AM_PROG_INSTALL_STRIP.
3340 * configure: Regenerate.
3341 * aclocal.m4: Regenerate.
3342 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
3343 New substituted variables.
3344 (install-strip): New target.
3345 (INSTALL_SCRIPT): New substituted variable.
3346 (FLAGS_TO_PASS): Add it.
3347 (install-only): Use $(INSTALL_SCRIPT) rather than
3348 $(INSTALL_PROGRAM) for gcore.
3350 2014-01-20 Tom Tromey <tromey@redhat.com>
3352 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
3355 2014-01-20 Tom Tromey <tromey@redhat.com>
3357 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
3358 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
3359 (deprecated_cmd_warning, complete_on_cmdlist): Update.
3360 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
3361 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3362 (struct cmd_list_element) <flags>: Remove.
3363 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3364 doc_allocated>: New fields.
3365 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3367 * maint.c (maintenance_do_deprecate): Update.
3368 * top.c (execute_command): Update.
3370 2014-01-20 Baruch Siach <baruch@tkos.co.il>
3372 * xtensa-linux-nat.c: Include asm/ptrace.h.
3374 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3376 * Makefile.in (SFILES): Add d-support.c.
3377 (COMMON_OBS): Add d-support.o.
3378 * d-lang.h (d_parse_symbol): Add comment, now defined in
3380 * d-lang.c (parse_call_convention)
3381 (parse_attributes, parse_function_types)
3382 (parse_function_args, parse_type, parse_identifier)
3383 (call_convention_p, d_parse_symbol): Move functions to ...
3384 * d-support.c: ... New file.
3386 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3388 * d-lang.h (d_parse_symbol): Add declaration.
3389 * d-lang.c (extract_identifiers)
3390 (extract_type_info): Remove functions.
3391 (parse_call_convention, parse_attributes)
3392 (parse_function_types, parse_function_args)
3393 (parse_type, parse_identifier, call_convention_p)
3394 (d_parse_symbol): New functions.
3395 (d_demangle): Use d_parse_symbol to demangle D symbols.
3397 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3399 * d-lang.h (struct builtin_d_type): New data type.
3400 (builtin_d_type): Add declaration.
3401 * d-lang.c (d_language_arch_info, build_d_types)
3402 (builtin_d_type): New functions.
3403 (enum d_primitive_types): New data type.
3404 (d_language_defn): Change c_language_arch_info to
3405 d_language_arch_info.
3406 (d_type_data): New static variable.
3407 (_initialize_d_language): Initialize d_type_data.
3409 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3411 * d-lang.h (d_main_name): Add declaration.
3412 * d-lang.c (d_main_name): New function.
3413 * symtab.c (find_main_name): Add call to d_main_name.
3415 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3417 * d-lang.c (d_language_defn): Change macro_expansion_c to
3420 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3422 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3424 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3426 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3427 gdb_exception" declaration.
3428 * remote.c (getpkt_or_notif_sane): Likewise.
3430 2014-01-17 Doug Evans <dje@google.com>
3432 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3433 function, contents of dirnames_to_char_ptr_vec_append moved here.
3434 (delim_string_to_char_ptr_vec): New function.
3435 (dirnames_to_char_ptr_vec_append): Rewrite.
3436 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3438 2014-01-17 Doug Evans <dje@google.com>
3440 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3442 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3443 #include "common-utils.h".
3444 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3445 * common/vec.h (VEC_ASSERT_PASS): Update.
3446 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3447 (MACH_CHECK_ERROR): Update.
3449 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3451 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3453 * gdbarch.h: Regenerate.
3455 2014-01-16 Tom Tromey <tromey@redhat.com>
3457 * value.c (struct value) <regnum>: Move earlier.
3459 2014-01-16 Tom Tromey <tromey@redhat.com>
3461 * remote.c (extended_remote_create_inferior): Rename from
3462 extended_remote_create_inferior_1. Add "ops" argument. Remove
3465 2014-01-16 Pedro Alves <palves@redhat.com>
3467 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3468 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3471 2014-01-16 Doug Evans <dje@google.com>
3473 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3475 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3477 * btrace.h (btrace_thread_flag): New.
3478 (struct btrace_thread_info) <flags>: New.
3479 * record-btrace.c (record_btrace_resume_thread)
3480 (record_btrace_find_thread_to_move, btrace_step_no_history)
3481 (btrace_step_stopped, record_btrace_start_replaying)
3482 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3483 (record_btrace_find_resume_thread): New.
3484 (record_btrace_resume, record_btrace_wait): Extend.
3485 (record_btrace_can_execute_reverse): New.
3486 (record_btrace_open): Fail in non-stop mode.
3487 (record_btrace_set_replay): Split into this, ...
3488 (record_btrace_stop_replaying): ... this, ...
3489 (record_btrace_clear_histories): ... and this.
3490 (init_record_btrace_ops): Init to_can_execute_reverse.
3491 * NEWS: Announce it.
3493 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3495 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3496 (forward_target_decr_pc_after_break)
3497 (target_decr_pc_after_break): New.
3498 * target.c (forward_target_decr_pc_after_break)
3499 (target_decr_pc_after_break): New.
3500 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3501 instead of gdbarch_decr_pc_after_break.
3502 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3503 instead of gdbarch_decr_pc_after_break.
3504 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3505 instead of gdbarch_decr_pc_after_break.
3506 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3507 instead of gdbarch_decr_pc_after_break.
3508 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3509 instead of gdbarch_decr_pc_after_break.
3510 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3511 instead of gdbarch_decr_pc_after_break.
3513 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3515 * btrace.c: Include regcache.h.
3516 (btrace_add_pc): New.
3517 (btrace_enable): Call btrace_add_pc.
3518 (btrace_is_empty): New.
3519 * btrace.h (btrace_is_empty): New.
3520 * record-btrace.c (require_btrace, record_btrace_info): Call
3523 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3525 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3526 Support delta reads.
3527 (linux_disable_btrace): Change return type.
3528 * common/linux-btrace.h (linux_read_btrace): Change parameters
3529 and return type to allow error reporting. Update users.
3530 (linux_disable_btrace): Change return type. Update users.
3531 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3533 (btrace_error): New.
3534 (btrace_block) <begin>: Comment on BEGIN == 0.
3535 * btrace.c (btrace_compute_ftrace): Start from the end of
3537 (btrace_stitch_trace, btrace_clear_history): New.
3538 (btrace_fetch): Read delta trace, return if replaying.
3539 (btrace_clear): Move clear history code to btrace_clear_history.
3540 (parse_xml_btrace): Throw an error if parsing failed.
3541 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3542 and return type to allow error reporting.
3543 (target_read_btrace): Change parameters and return type to allow
3545 * target.c (target_read_btrace): Update.
3546 * remote.c (remote_read_btrace): Support delta reads. Pass
3548 * NEWS: Announce it.
3550 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3552 * record.h (record_btrace_frame_unwind)
3553 (record_btrace_tailcall_frame_unwind): New declarations.
3554 * dwarf2-frame: Include record.h
3555 (dwarf2_frame_cfa): Throw an error for btrace frames.
3556 * record-btrace.c: Include hashtab.h.
3557 (btrace_get_bfun_name): New.
3558 (btrace_call_history): Call btrace_get_bfun_name.
3559 (struct btrace_frame_cache): New.
3561 (bfcache_hash, bfcache_eq, bfcache_new): New.
3562 (btrace_get_frame_function): New.
3563 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3564 (record_btrace_frame_this_id): Compute own id.
3565 (record_btrace_frame_prev_register): Provide PC, throw_error
3566 for all other registers.
3567 (record_btrace_frame_sniffer): Detect btrace frames.
3568 (record_btrace_tailcall_frame_sniffer): New.
3569 (record_btrace_frame_dealloc_cache): New.
3570 (record_btrace_frame_unwind): Add new functions.
3571 (record_btrace_tailcall_frame_unwind): New.
3572 (_initialize_record_btrace): Allocate cache.
3573 * btrace.c (btrace_clear): Call reinit_frame_cache.
3574 * NEWS: Announce it.
3576 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3578 * record-btrace.c (record_btrace_set_replay)
3579 (record_btrace_goto_begin, record_btrace_goto_end)
3580 (record_btrace_goto): New.
3581 (init_record_btrace_ops): Initialize them.
3582 * NEWS: Announce it.
3584 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3586 * record-btrace.c (record_btrace_find_new_threads)
3587 (record_btrace_thread_alive): New.
3588 (init_record_btrace_ops): Initialize to_find_new_threads and
3591 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3593 * record-btrace.c (record_btrace_resume): New.
3594 (record_btrace_wait): New.
3595 (init_record_btrace_ops): Initialize to_wait and to_resume.
3597 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3599 * record-btrace.c (record_btrace_xfer_partial)
3600 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3601 (record_btrace_allow_memory_access): New.
3602 (init_record_btrace_ops): Initialize new methods.
3603 * target.c (raw_memory_xfer_partial): Bail out if target reports
3604 that this memory is not available.
3606 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3608 * target.h (target_ops) <to_insert_breakpoint>
3609 <to_remove_breakpoint>: Add target_ops parameter.
3610 (forward_target_insert_breakpoint): New.
3611 (forward_target_remove_breakpoint): New.
3612 (memory_remove_breakpoint, memory_insert_breakpoint):
3613 Add target_ops parameter.
3614 * target.c (target_insert_breakpoint): Split into this and ...
3615 (forward_target_insert_breakpoint): ... this.
3616 (target_remove_breakpoint): Split into this and ...
3617 (forward_target_remove_breakpoint): ... this.
3618 (debug_to_insert_breakpoint): Add target_ops parameter.
3619 Call forward_target_insert_breakpoint.
3620 (debug_to_remove_breakpoint): Add target_ops parameter.
3621 Call forward_target_remove_breakpoint.
3622 (update_current_target): Do not inherit or default to_insert_breakpoint
3623 and to_remove_breakpoint.
3624 * corelow.c (ignore): Add target_ops parameter.
3625 * exec.c (ignore): Add target_ops parameter.
3626 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3627 Add target_ops parameter.
3628 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3629 Add target_ops parameter.
3630 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3631 Add target_ops parameter.
3632 * record-full.c (record_full_beneath_to_insert_breakpoint)
3633 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3634 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3635 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
3636 (record_full_core_remove_breakpoint): Add target_ops parameter.
3638 (record_full_beneath_to_insert_breakpoint_ops)
3639 (record_full_beneath_to_remove_breakpoint_ops)
3640 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
3641 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
3642 tmp_to_remove_breakpoint_ops,
3643 record_full_beneath_to_insert_breakpoint_ops, and
3644 record_full_beneath_to_remove_breakpoint_ops.
3645 * remote-m32r-sdi.c (m32r_insert_breakpoint)
3646 (m32r_remove_breakpoint): Add target_ops parameter.
3647 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
3648 Add target_ops parameter.
3649 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
3650 Add target_ops parameter.
3652 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3653 Markus Metzger <markus.t.metzger@intel.com>
3655 * record-btrace.c: Include frame-unwind.h.
3656 (record_btrace_frame_unwind_stop_reason)
3657 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
3658 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
3660 (init_record_btrace_ops): Install it.
3662 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3664 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
3667 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3669 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
3672 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3674 * frame-unwind.c: Include target.h.
3675 (frame_unwind_try_unwinder): New function with code from ...
3676 (frame_unwind_find_by_frame): ... here. New variable
3677 unwinder_from_target, call also target_get_unwinder)
3678 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
3679 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
3680 * target.h (struct target_ops): New fields to_get_unwinder and
3681 to_get_tailcall_unwinder.
3682 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
3684 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3686 * record-btrace.c (record_btrace_fetch_registers)
3687 (record_btrace_store_registers)
3688 (record_btrace_to_prepare_to_store): New.
3689 (init_record_btrace_ops): Add the above.
3691 2014-01-16 Tom Tromey <tromey@redhat.com>
3693 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
3694 * target.h (struct target_ops) <to_prepare_to_store>: Add
3696 (target_prepare_to_store): Add argument.
3697 * target.c (debug_to_prepare_to_store): Add argument.
3698 (update_current_target): Update.
3699 * remote.c (remote_prepare_to_store): Add 'self' argument.
3700 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
3701 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
3702 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
3703 * record-full.c (record_full_core_prepare_to_store): Add 'self'
3705 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
3706 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
3707 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
3708 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
3709 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
3711 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3713 * btrace.h (replay) <replay>: New.
3714 (btrace_is_replaying): New.
3715 * btrace.c (btrace_clear): Free replay iterator.
3716 (btrace_is_replaying): New.
3717 * record-btrace.c (record_btrace_is_replaying): New.
3718 (record_btrace_info): Print insn number if replaying.
3719 (record_btrace_insn_history): Start at replay position.
3720 (record_btrace_call_history): Start at replay position.
3721 (init_record_btrace_ops): Init to_record_is_replaying.
3723 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3725 * record-btrace.c (record_btrace_insn_history_range): Include
3727 (record_btrace_insn_history_from): Adjust range.
3728 (record_btrace_call_history_range): Include
3730 (record_btrace_call_history_from): Adjust range.
3731 * NEWS: Announce changes.
3733 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3735 * record.h (enum record_print_flag)
3736 <record_print_indent_calls>: New.
3737 * record.c (get_call_history_modifiers): Recognize /c modifier.
3738 (_initialize_record): Document /c modifier.
3739 * record-btrace.c (btrace_call_history): Add btinfo parameter.
3740 Reorder fields. Optionally indent the function name. Update
3742 * NEWS: Announce changes.
3744 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3746 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
3748 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3750 * btrace.c (ftrace_new_function): Start counting at one.
3751 * record-btrace.c (record_btrace_info): Adjust number of calls
3753 * NEWS: Announce it.
3755 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3757 * record-btrace.c (btrace_call_history_insn_range): Print
3758 insn range as [begin, end].
3760 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3762 * btrace.h (struct btrace_func_link): New.
3763 (enum btrace_function_flag): New.
3764 (struct btrace_inst): Rename to ...
3765 (struct btrace_insn): ...this. Update all users.
3766 (struct btrace_func) <ibegin, iend>: Remove.
3767 (struct btrace_func_link): New.
3768 (struct btrace_func): Rename to ...
3769 (struct btrace_function): ...this. Update all users.
3770 (struct btrace_function) <segment, flow, up, insn, insn_offset)
3771 (number, level, flags>: New.
3772 (struct btrace_insn_iterator): Rename to ...
3773 (struct btrace_insn_history): ...this.
3775 (struct btrace_insn_iterator, btrace_call_iterator): New.
3776 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
3777 (struct btrace_target_info) <begin, end, level>
3778 <insn_history, call_history>: New.
3779 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3780 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3781 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3782 (btrace_call_number, btrace_call_begin, btrace_call_end)
3783 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3784 (btrace_find_function_by_number, btrace_set_insn_history)
3785 (btrace_set_call_history): New.
3786 * btrace.c (btrace_init_insn_iterator)
3787 (btrace_init_func_iterator, compute_itrace): Remove.
3788 (ftrace_print_function_name, ftrace_print_filename)
3789 (ftrace_skip_file): Change
3791 (ftrace_init_func): Remove.
3792 (ftrace_debug): Use new btrace_function fields.
3793 (ftrace_function_switched): Also consider gaining and
3794 losing symbol information).
3795 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
3796 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
3797 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
3799 (ftrace_new_function): Move. Remove debug print.
3800 (ftrace_update_lines, ftrace_update_insns): New.
3801 (ftrace_update_function): Check for call, ret, and jump.
3802 (compute_ftrace): Renamed to ...
3803 (btrace_compute_ftrace): ...this. Rewritten to compute call
3805 (btrace_fetch, btrace_clear): Updated.
3806 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3807 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3808 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3809 (btrace_call_number, btrace_call_begin, btrace_call_end)
3810 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3811 (btrace_find_function_by_number, btrace_set_insn_history)
3812 (btrace_set_call_history): New.
3813 * record-btrace.c (require_btrace): Use new btrace thread
3815 (record_btrace_info, btrace_insn_history)
3816 (record_btrace_insn_history, record_btrace_insn_history_range):
3817 Use new btrace thread info fields and new iterator.
3818 (btrace_func_history_src_line): Rename to ...
3819 (btrace_call_history_src_line): ...this. Use new btrace
3821 (btrace_func_history): Rename to ...
3822 (btrace_call_history): ...this. Use new btrace thread info
3823 fields and new iterator.
3824 (record_btrace_call_history, record_btrace_call_history_range):
3825 Use new btrace thread info fields and new iterator.
3827 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3829 * frame.h (frame_id_build_unavailable_stack_special): New.
3830 * frame.c (frame_id_build_unavailable_stack_special): New.
3832 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3834 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
3835 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
3836 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
3838 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
3839 (i386_insn_is_jump, i386_jmp_p): New.
3840 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
3841 insn_is_jump to gdbarch.
3842 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
3843 * gdbarch.h: Regenerated.
3844 * gdbarch.c: Regenerated.
3845 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
3846 (default_insn_is_jump): New.
3847 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
3848 (default_insn_is_jump): New.
3850 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3852 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
3854 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
3855 (btrace_read_type) <btrace_read_new>: Change to ...
3856 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
3858 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3860 * common/linux-btrace.c (linux_read_btrace): Free trace from
3863 2014-01-15 Doug Evans <dje@google.com>
3865 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
3868 2014-01-15 Tom Tromey <tromey@redhat.com>
3870 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
3871 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
3872 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
3873 (set_objfile_main_name): New function.
3874 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
3875 language_of_main>: New fields.
3876 (set_objfile_main_name): Declare.
3877 * symtab.c (find_main_name): Loop over objfiles to find the main
3879 (set_main_name): Now static.
3880 (get_main_info): Add comment.
3881 * symtab.h (set_main_name): Don't declare.
3883 2014-01-15 Tom Tromey <tromey@redhat.com>
3885 * symtab.c (main_progspace_key): New global.
3886 (struct main_info): New.
3887 (name_of_main, language_of_main): Remove.
3888 (get_main_info, main_info_cleanup): New function.
3889 (set_main_name, main_name, main_language): Use get_main_info.
3890 (_initialize_symtab): Initialize main_progspace_key.
3892 2014-01-15 Tom Tromey <tromey@redhat.com>
3894 * dbxread.c (process_one_symbol): Update.
3895 * dwarf2read.c (read_partial_die): Update.
3896 * symfile.c (set_initial_language): Call main_language.
3897 * symtab.c (language_of_main): Now static.
3898 (set_main_name): Add 'lang' parameter.
3899 (find_main_name): Update.
3900 (main_language): New function.
3901 (symtab_observer_executable_changed): Update.
3902 * symtab.h (set_main_name): Update.
3903 (language_of_main): Remove.
3904 (main_language): Declare.
3906 2014-01-15 Tom Tromey <tromey@redhat.com>
3908 * symfile.c (init_entry_point_info): Use new "initialized" field.
3910 * objfiles.h (struct entry_point) <initialized>: New field.
3911 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
3912 (struct objfile) <ei>: ...here. Remove.
3913 * objfiles.c (entry_point_address_query): Update.
3915 2014-01-15 Tom Tromey <tromey@redhat.com>
3917 * objfiles.c (entry_point_address_query): Relocate entry point
3919 (objfile_relocate1): Do not relocate entry point address.
3920 * objfiles.h (struct entry_info) <entry_point>: Update comment.
3921 <the_bfd_section_index>: New field.
3922 * symfile.c (init_entry_point_info): Find the entry point's
3925 2014-01-15 Tom Tromey <tromey@redhat.com>
3927 * solib-frv.c (enable_break): Use entry_point_address_query.
3929 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3931 * NEWS: Add note on improved process record-replay on
3932 arm*-linux* targets.
3934 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3936 * arm-tdep.c (enum arm_record_result): New enum.
3937 (arm_record_unsupported_insn): New function.
3938 (arm_record_coproc_data_proc): Removed.
3939 (thumb2_record_ld_st_multiple): New function.
3940 (thumb2_record_ld_st_dual_ex_tbb): New function.
3941 (thumb2_record_data_proc_sreg_mimm): New function.
3942 (thumb2_record_ps_dest_generic): New function.
3943 (thumb2_record_branch_misc_cntrl): New function.
3944 (thumb2_record_str_single_data): New function.
3945 (thumb2_record_ld_mem_hints): New function.
3946 (thumb2_record_ld_word): New function.
3947 (thumb2_record_lmul_lmla_div): New function.
3948 (thumb2_record_decode_insn_handler): New function.
3949 (decode_insn): Add thumb32 instruction handlers.
3951 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3953 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
3954 (struct arm_linux_record_tdep): Declare.
3955 (arm_canonicalize_syscall): New function.
3956 (arm_all_but_pc_registers_record): New function.
3957 (arm_linux_syscall_record): New function.
3958 (arm_linux_init_abi): Add syscall recording constructs.
3959 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
3960 decoding. (arm_record_coproc_data_proc): Update arm syscall
3962 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
3963 <arm_syscall_record>: New field.
3964 * configure.tgt (arm*-*-linux*): Add linux-record.o to
3967 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3969 * arm-tdep.c (thumb_record_misc): Update to use sp as base
3970 register for push instruction recording.
3972 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3974 * arm-tdep.c (thumb_record_misc): Update to correct logical
3975 error while recording ldm, ldmia and pop instructions.
3977 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3979 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
3981 2014-01-15 Pedro Alves <palves@redhat.com>
3983 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
3984 (go32_resume, go32_fetch_registers, store_register)
3985 (go32_store_registers, go32_prepare_to_store)
3986 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
3987 (go32_create_inferior, go32_can_run, go32_terminal_init)
3988 (go32_terminal_inferior, go32_terminal_ours): Delete forward
3991 2014-01-15 Tom Tromey <tromey@redhat.com>
3993 * target.h (async_callback_ftype): New typedef.
3994 (struct target_ops) <to_async>: Use it.
3996 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3998 * python/py-value.c (get_field_type): Remove unnecessary curly
3999 braces for single-statement if block.
4001 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4003 * python/py-type.c (convert_field): Add missing empty line
4006 2014-01-14 Doug Evans <dje@google.com>
4008 * symfile.h (expand_symtabs_matching): Renamed from
4009 expand_partial_symbol_names. Update prototype.
4010 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4011 * symfile.c (expand_symtabs_matching): Renamed from
4012 expand_partial_symbol_names. New args file_matcher, kind.
4013 Rename arg fun to symbol_matcher.
4014 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4015 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
4016 ada_expand_partial_symbol_name.
4017 (ada_make_symbol_completion_list): Update to call
4018 expand_symtabs_matching.
4019 (ada_add_global_exceptions): Call expand_symtabs_matching.
4020 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
4021 call map_symbol_filenames.
4022 * symtab.c (sources_info): Update to call map_symbol_filenames.
4023 (search_symbols): Call expand_symtabs_matching.
4024 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
4025 (default_make_symbol_completion_list_break_on): Update to call
4026 expand_symtabs_matching.
4027 (make_source_files_completion_list): Update to call
4028 map_symbol_filenames.
4030 2014-01-14 Doug Evans <dje@google.com>
4032 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
4033 (expand_symtabs_symbol_matcher_ftype): New typedef.
4034 (quick_symbol_functions.expand_symtabs_matching): Update to use.
4035 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4036 * symfile.c (expand_partial_symbol_names): Update to use
4037 expand_symtabs_symbol_matcher_ftype.
4038 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
4039 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4040 Arg name_matcher renamed to symbol_matcher.
4041 * psymtab.c (recursively_search_psymtabs): Update to use
4042 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
4044 (expand_symtabs_matching_via_partial): Update to use
4045 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4046 Arg name_matcher renamed to symbol_matcher.
4048 2014-01-14 Doug Evans <dje@google.com>
4050 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
4051 (map_partial_symbol_filenames): Ditto.
4052 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
4053 (map_partial_symbol_filenames): Ditto.
4054 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
4055 (map_partial_symbol_filenames): Ditto.
4056 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
4057 (map_partial_symbol_filenames): Ditto.
4058 * symtab.c: Delete #include "psymtab.h".
4060 2014-01-14 Pedro Alves <palves@redhat.com>
4061 Tom Tromey <tromey@redhat.com>
4063 * infrun.c (use_displaced_stepping): Use find_record_target
4064 instead of RECORD_IS_USED.
4065 (adjust_pc_after_break): Use record_full_is_used instead of
4067 * record-btrace.c (record_btrace_open): Call record_preopen
4068 instead of checking RECORD_IS_USED.
4069 * record-full.c (record_full_shortname)
4070 (record_full_core_shortname): New globals.
4071 (record_full_is_used): New function.
4072 (find_full_open): Call record_preopen instead of checking
4074 (init_record_full_ops): Set the target's shortname to
4075 record_full_shortname.
4076 (init_record_full_core_ops): Set the target's shortname to
4077 record_full_core_shortname.
4078 * record-full.h (record_full_is_used): Declare.
4079 * record.c (find_record_target): Make extern.
4080 (record_preopen): New function.
4081 * record.h (RECORD_IS_USED): Delete macro.
4082 (find_record_target, record_preopen): Declare functions.
4084 2014-01-14 Yao Qi <yao@codesourcery.com>
4086 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
4087 'len''s type to ULONGEST.
4088 (core_xfer_shared_libraries_aix): Likewise.
4089 * gdbarch.c, gdbarch.h: Regenerated.
4090 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
4091 Change type of 'len' to ULONGEST.
4092 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4093 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
4095 2014-01-14 Yao Qi <yao@codesourcery.com>
4097 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
4098 type of 'len' to ULONGEST.
4099 (linux_xfer_osdata_processgroups): Likewise.
4100 (linux_xfer_osdata_threads): Likewise.
4101 (linux_xfer_osdata_fds): Likewise.
4102 (linux_xfer_osdata_isockets): Likewise.
4103 (linux_xfer_osdata_shm): Likewise.
4104 (linux_xfer_osdata_sem): Likewise.
4105 (linux_xfer_osdata_msg): Likewise.
4106 (linux_common_xfer_osdata): Likewise.
4107 (struct osdata_type) <getter>: Likewise.
4108 * common/linux-osdata.h (linux_common_xfer_osdata): Update
4111 2014-01-14 Yao Qi <yao@codesourcery.com>
4113 * target.h (target_xfer_partial_ftype): Update.
4114 (struct target_ops) <to_xfer_partial>: Change 'len' type to
4116 * aix-thread.c (aix_thread_xfer_partial): Change type of
4117 argument 'len' to ULONGEST.
4118 * auxv.c (procfs_xfer_auxv): Likewise.
4119 (ld_so_xfer_auxv): Likewise.
4120 (memory_xfer_auxv): Likewise.
4121 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4122 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4123 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4124 * corelow.c (core_xfer_partial): Likewise.
4125 * ctf.c (ctf_xfer_partial): Likewise.
4126 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
4128 (darwin_read_dyld_info): Likewise.
4129 (darwin_xfer_partial): Likewise.
4130 * exec.c (section_table_xfer_memory_partial): Likewise.
4131 (exec_xfer_partial): Likewise.
4132 * exec.h (section_table_xfer_memory_partial): Update
4134 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
4135 instead of plongest.
4136 (gnu_xfer_partial): Likewise.
4137 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
4138 (ia64_hpux_xfer_solib_got): Likewise.
4139 (ia64_hpux_xfer_partial): Likewise.
4140 * ia64-linux-nat.c (ia64_linux_xfer_partial):
4141 * inf-ptrace.c (inf_ptrace_xfer_partial):
4142 * inf-ttrace.c (inf_ttrace_xfer_partial):
4143 * linux-nat.c (linux_xfer_siginfo): Likewise.
4144 (linux_nat_xfer_partial): Likewise.
4145 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
4146 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
4147 * monitor.c (monitor_xfer_memory): Likewise.
4148 (monitor_xfer_partial): Likewise.
4149 * procfs.c (procfs_xfer_partial): Likewise.
4150 * record-full.c (record_full_xfer_partial): Likewise.
4151 (record_full_core_xfer_partial): Likewise.
4152 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
4153 instead of plongest.
4154 (gdbsim_xfer_partial): Likewise.
4155 * remote.c (remote_xfer_partial): Likewise.
4156 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4157 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4159 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4160 (rs6000_xfer_shared_libraries): Likewise.
4161 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4162 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4163 (sparc_xfer_partial): Likewise.
4164 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4165 (spu_xfer_partial): Likewise.
4166 * spu-multiarch.c (spu_xfer_partial): Likewise.
4167 * target.c (target_read_live_memory): Likewise.
4168 (memory_xfer_live_readonly_partial): Likewise.
4169 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
4170 (target_xfer_partial, default_xfer_partial): Likewise.
4171 (current_xfer_partial): Likewise.
4172 * tracepoint.c (tfile_xfer_partial): Likewise.
4173 * windows-nat.c (windows_xfer_memory): Likewise. Call
4174 pulongest instead of plongest.
4175 (windows_xfer_partial): Likewise.
4176 (windows_xfer_shared_libraries): Likewise.
4178 2014-01-14 Yao Qi <yao@codesourcery.com>
4180 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
4181 target_xfer_partial_ftype.
4183 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4187 * valops.c (value_struct_elt_bitpos): New function
4188 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
4189 object to 'None' if the field name is an empty string ("").
4190 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
4191 attribute to look for a field when 'name' is 'None'.
4192 (get_field_type): New function
4194 2014-01-13 Doug Evans <dje@google.com>
4197 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
4198 (try_open_dwop_file): Ditto.
4199 * gdb_bfd.c: #include "vec.h".
4200 (bfdp): New typedef.
4201 (struct gdb_bfd_data): New member included_bfds.
4202 (gdb_bfd_unref): Unref all included bfds.
4203 (gdb_bfd_record_inclusion): New function.
4204 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
4206 2014-01-13 Tom Tromey <tromey@redhat.com>
4208 * gdbcore.h (deprecated_core_resize_section_table): Remove.
4210 2014-01-13 Tom Tromey <tromey@redhat.com>
4212 * defs.h (use_windows): Remove.
4213 * gdb.c (main): Update.
4214 * main.c (captured_main, gdb_main): Update.
4215 * main.h (struct captured_main_args) <use_windows>: Remove.
4216 * top.c (use_windows): Remove.
4218 2014-01-13 Tom Tromey <tromey@redhat.com>
4220 * defs.h (deprecated_flush_hook): Remove.
4222 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4225 * linux-thread-db.c (try_thread_db_load): Add parameter
4226 check_auto_load_safe. Move here the file_is_auto_load_safe call.
4227 (try_thread_db_load_from_pdir_1): Move it there from here.
4228 (try_thread_db_load_from_sdir): Update caller.
4229 (try_thread_db_load_from_dir): Move it there from here.
4231 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
4233 * regformats/regdat.sh: Always rewrite the register file.
4235 2014-01-13 Pedro Alves <palves@redhat.com>
4237 * Makefile.in (CHECK_HEADERS): New variable.
4238 (check-headers:): New rule.
4240 2014-01-13 Tom Tromey <tromey@redhat.com>
4242 * cli/cli-setshow.c (do_set_command): Update.
4243 * defs.h (deprecated_set_hook): Remove.
4244 * top.c (deprecated_set_hook): Remove.
4246 2014-01-13 Pedro Alves <palves@redhat.com>
4248 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
4249 the tracepoint if the PC is a pseudo-register.
4251 2014-01-13 Tom Tromey <tromey@redhat.com>
4253 * defs.h (XCALLOC): Remove.
4254 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
4255 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
4256 * dwarf2loc.c (allocate_piece_closure): Likewise.
4257 * elfread.c (elf_symfile_segments): Likewise.
4258 (elf_symfile_segments): Likewise.
4259 * gdbtypes.c (copy_type_recursive): Likewise.
4260 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
4261 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
4262 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
4264 * mt-tdep.c (mt_gdbarch_init): Likewise.
4265 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
4267 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
4268 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
4269 * registry.c (registry_alloc_data): Likewise.
4270 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
4271 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
4272 * serial.c (serial_fdopen_ops): Likewise.
4273 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
4275 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
4276 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
4279 2014-01-13 Tom Tromey <tromey@redhat.com>
4281 * defs.h (XMALLOC): Remove.
4282 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
4283 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
4284 * cli-out.c (struct ui_out *): Likewise.
4285 * cli/cli-dump.c (add_dump_command): Likewise.
4286 (add_dump_command): Likewise.
4287 * complaints.c (get_complaints): Likewise.
4288 (find_complaint): Likewise.
4289 * dwarf2-frame.c (execute_cfa_program): Likewise.
4290 * dwarf2read.c (abbrev_table_read_table): Likewise.
4291 * gdbarch.sh: Likewise.
4292 * gdbarch.c: Rebuild.
4293 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
4294 * interps.c (interp_new): Likewise.
4295 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
4296 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
4297 * mi/mi-console.c (mi_console_file_new): Likewise.
4298 * mi/mi-interp.c (mi_interpreter_init): Likewise.
4299 * mi/mi-out.c (mi_out_new): Likewise.
4300 * mi/mi-parse.c (mi_parse): Likewise.
4301 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
4302 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
4303 * observer.c (xalloc_observer_list_node): Likewise.
4304 * regcache.c (regcache_xmalloc_1): Likewise.
4305 * reggroups.c (reggroup_new): Likewise.
4306 (_initialize_reggroup): Likewise.
4307 * registry.c (register_data_with_cleanup): Likewise.
4308 * remote.c (remote_notif_stop_alloc_reply): Likewise.
4309 * ser-base.c (serial_ttystate): Likewise.
4310 * ser-mingw.c (make_pipe_state): Likewise.
4311 * ser-pipe.c (pipe_open): Likewise.
4312 * serial.c (serial_open): Likewise.
4313 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
4314 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
4315 (tui_alloc_win_info): Likewise.
4316 (tui_add_content_elements): Likewise.
4317 * tui/tui-file.c (tui_file_new): Likewise.
4318 * tui/tui-out.c (tui_out_new): Likewise.
4319 * ui-file.c (mem_file_new): Likewise.
4320 * ui-out.c (push_level): Likewise.
4321 (make_cleanup_ui_out_end): Likewise.
4322 (append_header_to_list): Likewise.
4323 (ui_out_new): Likewise.
4324 * user-regs.c (user_reg_add_builtin): Likewise.
4326 2014-01-13 Tom Tromey <tromey@redhat.com>
4328 * defs.h (XZALLOC): Remove.
4329 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
4330 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
4331 (get_ada_tasks_inferior_data): Likewise.
4332 * auto-load.c (get_auto_load_pspace_data): Likewise.
4333 * auxv.c (get_auxv_inferior_data): Likewise.
4334 * bfd-target.c (target_bfd_reopen): Likewise.
4335 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
4336 (deprecated_insert_raw_breakpoint): Likewise.
4337 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
4338 * corelow.c (core_open): Likewise.
4339 * darwin-nat.c (darwin_check_new_threads): Likewise.
4340 (darwin_attach_pid): Likewise.
4341 * dummy-frame.c (dummy_frame_push): Likewise.
4342 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
4343 * dwarf2loc.c (allocate_piece_closure): Likewise.
4344 * elfread.c (elf_symfile_segments): Likewise.
4345 * eval.c (ptrmath_type_p): Likewise.
4346 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
4347 * gdbtypes.c (alloc_type_arch): Likewise.
4348 (alloc_type_instance): Likewise.
4349 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
4350 * inf-child.c (inf_child_can_use_agent): Likewise.
4351 * inflow.c (get_inflow_inferior_data): Likewise.
4352 * infrun.c (save_infcall_suspend_state): Likewise.
4353 * jit.c (jit_reader_load): Likewise.
4354 (get_jit_objfile_data): Likewise.
4355 (get_jit_program_space_data): Likewise.
4356 (jit_object_open_impl): Likewise.
4357 (jit_symtab_open_impl): Likewise.
4358 (jit_block_open_impl): Likewise.
4359 (jit_frame_sniffer): Likewise.
4360 * linux-fork.c (add_fork): Likewise.
4361 * maint.c (make_command_stats_cleanup): Likewise.
4362 * objfiles.c (get_objfile_pspace_data): Likewise.
4363 * opencl-lang.c (struct lval_closure): Likewise.
4364 * osdata.c (osdata_start_osdata): Likewise.
4365 * progspace.c (new_address_space): Likewise.
4366 (add_program_space): Likewise.
4367 * remote-sim.c (get_sim_inferior_data): Likewise.
4368 * sh-tdep.c (sh_gdbarch_init): Likewise.
4369 * skip.c (Ignore): Likewise.
4370 (skip_delete_command): Likewise.
4371 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4372 (library_list_start_library): Likewise.
4373 (solib_aix_current_sos): Likewise.
4374 * solib-darwin.c (get_darwin_info): Likewise.
4375 (darwin_current_sos): Likewise.
4376 * solib-dsbt.c (get_dsbt_info): Likewise.
4377 * solib-ia64-hpux.c (new_so_list): Likewise.
4378 (ia64_hpux_get_solib_linkage_addr): Likewise.
4379 * solib-spu.c (append_ocl_sos): Likewise.
4380 (spu_current_sos): Likewise.
4381 * solib-svr4.c (get_svr4_info): Likewise.
4382 (svr4_keep_data_in_core): Likewise.
4383 (library_list_start_library): Likewise.
4384 (svr4_default_sos): Likewise.
4385 (svr4_read_so_list): Likewise.
4386 * solib-target.c (library_list_start_library): Likewise.
4387 (solib_target_current_sos): Likewise.
4388 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4389 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4390 * symfile.c (default_symfile_segments): Likewise.
4391 * target-descriptions.c (tdesc_data_init): Likewise.
4392 (tdesc_create_reg): Likewise.
4393 (struct tdesc_type *): Likewise.
4394 (tdesc_create_vector): Likewise.
4395 (tdesc_set_struct_size): Likewise.
4396 (struct tdesc_type *): Likewise.
4397 (tdesc_free_feature): Likewise.
4398 (tdesc_create_feature): Likewise.
4399 * windows-nat.c (windows_add_thread): Likewise.
4400 (windows_make_so): Likewise.
4401 * xml-support.c (gdb_xml_body_text): Likewise.
4402 (gdb_xml_create_parser_and_cleanup): Likewise.
4403 (xml_process_xincludes): Likewise.
4404 * xml-syscall.c (allocate_syscalls_info): Likewise.
4405 (syscall_create_syscall_desc): Likewise.
4407 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4409 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4410 function, with code from i386_stap_parse_special_token.
4411 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4412 (i386_stap_parse_special_token): Move code to the two functions
4415 2014-01-09 Pedro Alves <palves@redhat.com>
4416 Hui Zhu <hui@codesourcery.com>
4419 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4420 bp_err_string. Don't mark the location shlib_disabled if the
4421 error thrown wasn't a generic or memory error. Catch errors
4422 thrown while inserting breakpoints in overlayed code. Output
4423 error message of software breakpoints.
4424 * remote.c (remote_insert_breakpoint): If this breakpoint has
4425 target-side commands but this stub doesn't support Z0 packets,
4426 throw NOT_SUPPORTED_ERROR error.
4427 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4428 * target.h (target_insert_breakpoint): Extend comment.
4429 (target_insert_hw_breakpoint): Add comment.
4431 2014-01-08 Pedro Alves <palves@redhat.com>
4433 * remote.c (remote_add_thread): Add threads silently if starting
4435 (remote_notice_new_inferior): If in all-stop, and starting up,
4436 don't call notice_new_inferior.
4437 (get_current_thread): New function, factored out from ...
4438 (add_current_inferior_and_thread): ... this. Adjust.
4439 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4440 found any thread, then select the remote's current thread as GDB's
4443 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4445 * NEWS: Create a new section for the next release branch.
4446 Rename the section of the current branch, now that it has
4449 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4451 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4452 * version.in: Bump version to 7.7.50.DATE-cvs.
4454 2014-01-08 Yao Qi <yao@codesourcery.com>
4456 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4457 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4458 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4460 2014-01-08 Yao Qi <yao@codesourcery.com>
4462 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4463 return value of bfd_get_filename to symbol_file_add_from_bfd.
4465 2014-01-08 Pierre Muller <muller@sourceware.org>
4468 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4469 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4470 to prim_record_mininal_symbol_and_info.
4471 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4472 in call to prim_record_minimal_symbol_and_info.
4473 (read_pe_exported_syms): Set index field of section_data.
4475 2014-01-07 Andrew Pinski <apinski@cavium.com>
4477 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4478 * features/aarch64.c: Regenerate.
4480 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4482 * target.c (return_null): Define.
4483 (update_current_target): Use it instead of return_zero for
4484 functions that return a pointer.
4486 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4488 * source.c (add_path): Fix check for duplicated paths in the previously
4491 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4493 * ada-lang.c: Remove duplicated include statements.
4494 * alphabsd-nat.c: Ditto.
4495 * amd64-darwin-tdep.c: Ditto.
4496 * amd64fbsd-nat.c: Ditto.
4497 * auto-load.c: Ditto.
4499 * breakpoint.c: Ditto.
4501 * fork-child.c: Ditto.
4502 * gdb_usleep.c: Ditto.
4503 * i386-darwin-tdep.c: Ditto.
4504 * i386fbsd-nat.c: Ditto.
4506 * inferior.c: Ditto.
4508 * linux-nat.c: Ditto.
4509 * linux-tdep.c: Ditto.
4510 * m68kbsd-nat.c: Ditto.
4511 * m68klinux-nat.c: Ditto.
4512 * microblaze-tdep.c: Ditto.
4513 * mips-linux-tdep.c: Ditto.
4514 * mn10300-tdep.c: Ditto.
4515 * nto-tdep.c: Ditto.
4516 * opencl-lang.c: Ditto.
4518 * printcmd.c: Ditto.
4519 * regcache.c: Ditto.
4520 * remote-m32r-sdi.c: Ditto.
4524 * tilegx-linux-nat.c: Ditto.
4525 * tilegx-tdep.c: Ditto.
4526 * tracepoint.c: Ditto.
4528 * vaxbsd-nat.c: Ditto.
4529 * windows-nat.c: Ditto.
4530 * xtensa-tdep.c: Ditto.
4532 2014-01-07 Yao Qi <yao@codesourcery.com>
4534 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4536 2014-01-07 Yao Qi <yao@codesourcery.com>
4537 Joel Brobecker <brobecker@adacore.com>
4539 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4540 (pdc_write_regs): Likewise.
4541 (fetch_regs_kernel_thread): Likewise.
4542 (store_regs_kernel_thread): Likewise.
4544 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4546 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4547 tagged type objects to their actual type.
4549 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4551 * ada-valprint.c (print_field_values): Add "language" parameter.
4552 Update calls to print_field_values and print_variant_part.
4553 Pass new parameter "language" in call to val_print instead
4554 of "current_language". Replace call to ada_val_print by call
4556 (print_variant_part): Add "language" parameter.
4557 (ada_val_print_struct_union): Update call to print_field_values.
4559 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4561 * ada-valprint.c (ui_memcpy): Delete.
4562 (ada_print_floating): Update documentation. Add empty line
4563 between between function documentation and implementation.
4564 Delete variable "buffer". Use ui_file_xstrdup in place of
4565 ui_file_put. Minor adjustments following this change.
4567 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4569 * ada-valprint.c (ada_val_print_string): New function,
4570 extracted from ada_val_print_array.
4571 (ada_val_print_array): Replace extracted code by call
4572 to ada_val_print_string followed by a return. Move
4573 "else" branch to the function's top block.
4575 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4577 * ada-valprint.c (ada_val_print_array): Move implementation
4578 down. Rename parameter "offset" and "val" into "offset_aligned"
4579 and "original_value" respectively. Add parameter "offset".
4581 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4583 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4584 re-organizing the code. Change the "???" message printed
4585 when target type is a TYPE_CODE_UNDEF into
4586 "<ref to undefined type>".
4588 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4590 * ada-valprint.c (print_record): Delete, implementation inlined...
4591 (ada_val_print_struct_union): ... here. Remove call to
4592 ada_check_typedef in inlined implementation.
4594 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4596 * ada-valprint.c (ada_val_print_gnat_array): New function,
4597 extracted from ada_val_print_1;
4598 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4599 (ada_val_print_flt, ada_val_print_struct_union)
4600 (ada_val_print_ref): Likewise.
4601 (ada_val_print_1): Delete variables i and elttype.
4602 Replace extracted-out code by call to corresponding
4605 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4607 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4609 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4611 * ada-valprint.c (ada_val_print_1): Replace calls to
4612 ada_val_print_1 by calls to val_print.
4614 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4616 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4617 Update calls to self accordingly. Replace calls to c_val_print
4618 by calls to val_print.
4620 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4622 * ada-valprint.c (print_record): Delete declaration.
4623 (adjust_type_signedness, ada_val_print_1): Likewise.
4624 (ada_val_print): Move function implementation down.
4625 (print_variant_part, print_field_values, print_record):
4626 Move function implementation up.
4628 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4630 * python/py-type.c (typy_get_name): New function.
4631 (type_object_getset): Add entry for attribute "name".
4632 * NEWS: Add entry mentioning this new attribute.
4634 2014-01-07 Yao Qi <yao@codesourcery.com>
4636 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
4639 2014-01-07 Yao Qi <yao@codesourcery.com>
4641 * gnu-nat.c (info_port_rights): Add qualifier const to
4644 2014-01-07 Yao Qi <yao@codesourcery.com>
4646 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
4648 2014-01-07 Yao Qi <yao@codesourcery.com>
4650 * gnu-nat.c (make_inf) Update declaration.
4651 (make_inf): Make it static.
4652 (inf_set_traced): Likewise.
4653 (inf_port_to_thread, inf_task_died_status): Likewise.
4655 2014-01-07 Yao Qi <yao@codesourcery.com>
4657 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
4659 2014-01-07 Yao Qi <yao@codesourcery.com>
4661 * gnu-nat.c (_initialize_gnu_nat): Declare.
4663 2014-01-07 Yao Qi <yao@codesourcery.com>
4665 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
4667 (struct gdbarch_info) <byte_order>: Change type to
4669 <byte_order_for_code>: Likewise.
4670 * gdbarch.c, gdbarch.h: Regenerated.
4672 2014-01-06 Sasha Smundak <asmundak@google.com>
4674 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
4676 2014-01-06 Tom Tromey <tromey@redhat.com>
4678 * doublest.c (convert_doublest_to_floatformat): Use const, not
4680 * somread.c (som_symtab_read): Likewise.
4682 2014-01-07 Hui Zhu <hui@codesourcery.com>
4684 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
4685 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
4686 (gdb_bfd_fopen): Ditto.
4687 (gdb_bfd_openr): Ditto.
4688 (gdb_bfd_openw): Ditto.
4689 (gdb_bfd_openr_iovec): Ditto.
4690 (gdb_bfd_fdopenr): Ditto.
4691 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
4692 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
4694 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
4696 * symfile-mem.c (symbol_file_add_from_memory): Removed
4697 gdb_bfd_stash_filename.
4699 2014-01-03 Doug Evans <dje@google.com>
4701 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
4704 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4706 Update year range in copyright notice of all files.
4708 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4710 * top.c (print_gdb_version): Set copyright year to 2014.
4712 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4714 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
4716 For older changes see ChangeLog-2013.
4722 version-control: never