1 2014-02-19 Tom Tromey <tromey@redhat.com>
3 * target-delegates.c: Rebuild.
4 * target.c (update_current_target): Don't inherit or default
5 to_can_run_breakpoint_commands.
6 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
7 Use TARGET_DEFAULT_RETURN.
9 2014-02-19 Tom Tromey <tromey@redhat.com>
11 * target-delegates.c: Rebuild.
12 * target.c (update_current_target): Don't inherit or default
13 to_supports_evaluation_of_breakpoint_conditions.
14 * target.h (struct target_ops)
15 <to_supports_evaluation_of_breakpoint_conditions>: Use
16 TARGET_DEFAULT_RETURN.
18 2014-02-19 Tom Tromey <tromey@redhat.com>
20 * target-delegates.c: Rebuild.
21 * target.c (update_current_target): Don't inherit or default
22 to_augmented_libraries_svr4_read.
23 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
24 Use TARGET_DEFAULT_RETURN.
26 2014-02-19 Tom Tromey <tromey@redhat.com>
28 * target-delegates.c: Rebuild.
29 * target.c (update_current_target): Don't inherit or default
31 * target.h (struct target_ops) <to_can_use_agent>: Use
32 TARGET_DEFAULT_RETURN.
34 2014-02-19 Tom Tromey <tromey@redhat.com>
36 * target-delegates.c: Rebuild.
37 * target.c (update_current_target): Don't inherit or default
39 * target.h (struct target_ops) <to_use_agent>: Use
40 TARGET_DEFAULT_NORETURN.
42 2014-02-19 Tom Tromey <tromey@redhat.com>
44 * target-delegates.c: Rebuild.
45 * target.c (update_current_target): Don't inherit or default
47 (return_null): Remove.
48 * target.h (struct target_ops) <to_traceframe_info>: Use
49 TARGET_DEFAULT_RETURN.
51 2014-02-19 Tom Tromey <tromey@redhat.com>
53 * target-delegates.c: Rebuild.
54 * target.c (update_current_target): Don't inherit or default
55 to_static_tracepoint_markers_by_strid.
56 * target.h (struct target_ops)
57 <to_static_tracepoint_markers_by_strid>: Use
58 TARGET_DEFAULT_NORETURN.
60 2014-02-19 Tom Tromey <tromey@redhat.com>
62 * target-delegates.c: Rebuild.
63 * target.c (update_current_target): Don't inherit or default
64 to_static_tracepoint_marker_at.
65 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
66 Use TARGET_DEFAULT_RETURN.
68 2014-02-19 Tom Tromey <tromey@redhat.com>
70 * target-delegates.c: Rebuild.
71 * target.c (update_current_target): Don't inherit or default
73 * target.h (struct target_ops) <to_set_permissions>: Use
74 TARGET_DEFAULT_IGNORE.
76 2014-02-19 Tom Tromey <tromey@redhat.com>
78 * target-delegates.c: Rebuild.
79 * target.c (update_current_target): Don't inherit or default
81 * target.h (struct target_ops) <to_get_tib_address>: Use
82 TARGET_DEFAULT_NORETURN.
84 2014-02-19 Tom Tromey <tromey@redhat.com>
86 * target-delegates.c: Rebuild.
87 * target.c (update_current_target): Don't inherit or default
89 * target.h (struct target_ops) <to_set_trace_notes>: Use
90 TARGET_DEFAULT_RETURN.
92 2014-02-19 Tom Tromey <tromey@redhat.com>
94 * target-delegates.c: Rebuild.
95 * target.c (update_current_target): Don't initialize
96 to_set_trace_buffer_size.
97 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
98 TARGET_DEFAULT_IGNORE.
100 2014-02-19 Tom Tromey <tromey@redhat.com>
102 * target-delegates.c: Rebuild.
103 * target.c (update_current_target): Don't inherit or default
104 to_set_circular_trace_buffer.
105 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
106 TARGET_DEFAULT_IGNORE.
108 2014-02-19 Tom Tromey <tromey@redhat.com>
110 * target-delegates.c: Rebuild.
111 * target.c (update_current_target): Don't inherit or default
112 to_set_disconnected_tracing.
113 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
114 TARGET_DEFAULT_IGNORE.
116 2014-02-19 Tom Tromey <tromey@redhat.com>
118 * target-delegates.c: Rebuild.
119 * target.c (update_current_target): Don't inherit or default
120 to_get_min_fast_tracepoint_insn_len.
121 (return_minus_one): Remove.
122 * target.h (struct target_ops)
123 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
125 2014-02-19 Tom Tromey <tromey@redhat.com>
127 * target-delegates.c: Rebuild.
128 * target.c (update_current_target): Don't inherit or default
129 to_get_raw_trace_data.
130 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
131 TARGET_DEFAULT_NORETURN.
133 2014-02-19 Tom Tromey <tromey@redhat.com>
135 * target-delegates.c: Rebuild.
136 * target.c (update_current_target): Don't inherit or default
137 to_upload_trace_state_variables.
138 * target.h (struct target_ops) <to_upload_trace_state_variables>:
139 Use TARGET_DEFAULT_RETURN.
141 2014-02-19 Tom Tromey <tromey@redhat.com>
143 * target-delegates.c: Rebuild.
144 * target.c (update_current_target): Don't inherit or default
145 to_upload_tracepoints.
146 * target.h (struct target_ops) <to_upload_tracepoints>: Use
147 TARGET_DEFAULT_RETURN.
149 2014-02-19 Tom Tromey <tromey@redhat.com>
151 * target-delegates.c: Rebuild.
152 * target.c (update_current_target): Don't inherit or default
154 * target.h (struct target_ops) <to_save_trace_data>: Use
155 TARGET_DEFAULT_NORETURN.
157 2014-02-19 Tom Tromey <tromey@redhat.com>
159 * target-delegates.c: Rebuild.
160 * target.c (update_current_target): Don't inherit or default
161 to_get_trace_state_variable_value.
162 * target.h (struct target_ops)
163 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
165 2014-02-19 Tom Tromey <tromey@redhat.com>
167 * target-delegates.c: Rebuild.
168 * target.c (update_current_target): Don't inherit or default
170 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
172 2014-02-19 Tom Tromey <tromey@redhat.com>
174 * target-delegates.c: Rebuild.
175 * target.c (update_current_target): Don't inherit or default
177 * target.h (struct target_ops) <to_trace_stop>: Use
178 TARGET_DEFAULT_NORETURN.
180 2014-02-19 Tom Tromey <tromey@redhat.com>
182 * target-delegates.c: Rebuild.
183 * target.c (update_current_target): Don't inherit or default
184 to_get_tracepoint_status.
185 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
186 TARGET_DEFAULT_NORETURN.
188 2014-02-19 Tom Tromey <tromey@redhat.com>
190 * target-delegates.c: Rebuild.
191 * target.c (update_current_target): Don't inherit or default
193 * target.h (struct target_ops) <to_get_trace_status>: Use
194 TARGET_DEFAULT_RETURN.
196 2014-02-19 Tom Tromey <tromey@redhat.com>
198 * target-delegates.c: Rebuild.
199 * target.c (update_current_target): Don't inherit or default
201 * target.h (struct target_ops) <to_trace_start>: Use
202 TARGET_DEFAULT_NORETURN.
204 2014-02-19 Tom Tromey <tromey@redhat.com>
206 * target-delegates.c: Rebuild.
207 * target.c (update_current_target): Don't inherit or default
208 to_trace_set_readonly_regions.
209 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
210 Use TARGET_DEFAULT_NORETURN.
212 2014-02-19 Tom Tromey <tromey@redhat.com>
214 * target-delegates.c: Rebuild.
215 * target.c (update_current_target): Don't inherit or default
216 to_disable_tracepoint.
217 * target.h (struct target_ops) <to_disable_tracepoint>: Use
218 TARGET_DEFAULT_NORETURN.
220 2014-02-19 Tom Tromey <tromey@redhat.com>
222 * target-delegates.c: Rebuild.
223 * target.c (update_current_target): Don't inherit or default
224 to_enable_tracepoint.
225 * target.h (struct target_ops) <to_enable_tracepoint>: Use
226 TARGET_DEFAULT_NORETURN.
228 2014-02-19 Tom Tromey <tromey@redhat.com>
230 * target-delegates.c: Rebuild.
231 * target.c (update_current_target): Don't inherit or default
232 to_download_trace_state_variable.
233 * target.h (struct target_ops) <to_download_trace_state_variable>:
234 Use TARGET_DEFAULT_NORETURN.
236 2014-02-19 Tom Tromey <tromey@redhat.com>
238 * target-delegates.c: Rebuild.
239 * target.c (update_current_target): Don't inherit or default
240 to_can_download_tracepoint.
241 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
242 TARGET_DEFAULT_RETURN.
244 2014-02-19 Tom Tromey <tromey@redhat.com>
246 * target-delegates.c: Rebuild.
247 * target.c (update_current_target): Don't inherit or default
248 to_download_tracepoint.
249 * target.h (struct target_ops) <to_download_tracepoint>: Use
250 TARGET_DEFAULT_NORETURN.
252 2014-02-19 Tom Tromey <tromey@redhat.com>
254 * target-delegates.c: Rebuild.
255 * target.c (update_current_target): Don't inherit or default
257 * target.h (struct target_ops) <to_trace_init>: Use
258 TARGET_DEFAULT_RETURN.
260 2014-02-19 Tom Tromey <tromey@redhat.com>
262 * target-delegates.c: Rebuild.
263 * target.c (update_current_target): Don't inherit or default
264 to_supports_string_tracing.
265 * target.h (struct target_ops) <to_supports_string_tracing>: Use
266 TARGET_DEFAULT_RETURN.
268 2014-02-19 Tom Tromey <tromey@redhat.com>
270 * target-delegates.c: Rebuild.
271 * target.c (update_current_target): Don't inherit or default
272 to_supports_enable_disable_tracepoint.
273 * target.h (struct target_ops)
274 <to_supports_enable_disable_tracepoint>: Use
275 TARGET_DEFAULT_RETURN.
277 2014-02-19 Tom Tromey <tromey@redhat.com>
279 * target-delegates.c: Rebuild.
280 * target.c (update_current_target): Don't inherit or default
281 to_supports_multi_process.
282 * target.h (struct target_ops) <to_supports_multi_process>: Use
283 TARGET_DEFAULT_RETURN.
285 2014-02-19 Tom Tromey <tromey@redhat.com>
287 * target-delegates.c: Rebuild.
288 * target.c (update_current_target): Don't inherit or default
289 to_get_ada_task_ptid.
290 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
293 2014-02-19 Tom Tromey <tromey@redhat.com>
295 * target-delegates.c: Rebuild.
296 * target.c (update_current_target): Don't inherit or default
297 to_thread_architecture.
298 * target.h (struct target_ops) <to_thread_architecture>: Use
301 2014-02-19 Tom Tromey <tromey@redhat.com>
303 * target-delegates.c: Rebuild.
304 * target.c (update_current_target): Don't inherit or default
305 to_execution_direction.
306 * target.h (struct target_ops) <to_execution_direction>: Use
309 2014-02-19 Tom Tromey <tromey@redhat.com>
311 * target-delegates.c: Rebuild.
312 * target.c (update_current_target): Don't inherit or default
313 to_can_execute_reverse.
314 * target.h (struct target_ops) <to_can_execute_reverse>: Use
315 TARGET_DEFAULT_RETURN.
316 (target_can_execute_reverse): Unconditionally delegate.
318 2014-02-19 Tom Tromey <tromey@redhat.com>
320 * target-delegates.c: Rebuild.
321 * target.c (update_current_target): Don't inherit or default
323 (dummy_goto_bookmark): Remove.
324 (init_dummy_target): Don't inherit or default to_goto_bookmark.
325 * target.h (struct target_ops) <to_goto_bookmark>: Use
326 TARGET_DEFAULT_NORETURN.
328 2014-02-19 Tom Tromey <tromey@redhat.com>
330 * target-delegates.c: Rebuild.
331 * target.c (update_current_target): Don't inherit or default
333 (dummy_get_bookmark): Remove.
334 (init_dummy_target): Don't inherit or default to_get_bookmark.
335 * target.h (struct target_ops) <to_get_bookmark>: Use
336 TARGET_DEFAULT_NORETURN
338 2014-02-19 Tom Tromey <tromey@redhat.com>
340 * target-delegates.c: Rebuild.
341 * target.c (update_current_target): Don't inherit or default
342 to_make_corefile_notes.
343 (init_dummy_target): Don't initialize to_make_corefile_notes.
344 * target.h (struct target_ops) <to_make_corefile_notes>: Use
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
351 to_find_memory_regions.
352 (init_dummy_target): Don't initialize to_find_memory_regions.
353 * target.h (struct target_ops) <to_find_memory_regions>: Use
356 2014-02-19 Tom Tromey <tromey@redhat.com>
358 * target-delegates.c: Rebuild.
359 * target.c (update_current_target): Don't inherit or default
361 * target.h (struct target_ops) <to_log_command>: Use
362 TARGET_DEFAULT_IGNORE.
363 (target_log_command): Unconditionally delegate.
365 2014-02-19 Tom Tromey <tromey@redhat.com>
367 * target-delegates.c: Rebuild.
368 * target.c (update_current_target): Don't inherit or default
370 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
371 TARGET_DEFAULT_RETURN.
373 2014-02-19 Tom Tromey <tromey@redhat.com>
375 * target-delegates.c: Rebuild.
376 * target.c (update_current_target): Don't inherit or default
378 (target_thread_name): Unconditionally delegate.
379 * target.h (struct target_ops) <to_thread_name>: Use
380 TARGET_DEFAULT_RETURN.
382 2014-02-19 Tom Tromey <tromey@redhat.com>
384 * target-delegates.c: Rebuild.
385 * target.c (update_current_target): Don't inherit or default
386 to_extra_thread_info.
387 * target.h (struct target_ops) <to_extra_thread_info>: Use
388 TARGET_DEFAULT_RETURN.
390 2014-02-19 Tom Tromey <tromey@redhat.com>
392 * target-delegates.c: Rebuild.
393 * target.c (update_current_target): Don't inherit or default
395 * target.h (struct target_ops) <to_has_exited>: Use
396 TARGET_DEFAULT_RETURN..
398 2014-02-19 Tom Tromey <tromey@redhat.com>
400 * target-delegates.c: Rebuild.
401 * target.c (update_current_target): Don't inherit or default
402 to_set_syscall_catchpoint.
403 (return_one): Remove.
404 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
405 TARGET_DEFAULT_RETURN.
407 2014-02-19 Tom Tromey <tromey@redhat.com>
409 * target-delegates.c: Rebuild.
410 * target.c (update_current_target): Don't inherit or default
411 to_insert_exec_catchpoint.
412 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
413 TARGET_DEFAULT_RETURN.
415 2014-01-08 Tom Tromey <tromey@redhat.com>
417 * target-delegates.c: Rebuild.
418 * target.c (update_current_target): Don't inherit or default
419 to_insert_exec_catchpoint.
420 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
421 TARGET_DEFAULT_RETURN.
423 2014-02-19 Tom Tromey <tromey@redhat.com>
425 * target-delegates.c: Rebuild.
426 * target.c (update_current_target): Don't inherit or default
427 to_remove_vfork_catchpoint.
428 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
429 TARGET_DEFAULT_RETURN.
431 2014-02-19 Tom Tromey <tromey@redhat.com>
433 * target-delegates.c: Rebuild.
434 * target.c (update_current_target): Don't inherit or default
435 to_insert_vfork_catchpoint.
436 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
437 TARGET_DEFAULT_RETURN.
439 2014-02-19 Tom Tromey <tromey@redhat.com>
441 * target-delegates.c: Rebuild.
442 * target.c (update_current_target): Don't inherit or default
443 to_remove_fork_catchpoint.
444 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
445 TARGET_DEFAULT_RETURN.
447 2014-02-19 Tom Tromey <tromey@redhat.com>
449 * target-delegates.c: Rebuild.
450 * target.c (update_current_target): Don't inherit or default
451 to_insert_fork_catchpoint.
452 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
453 TARGET_DEFAULT_RETURN.
455 2014-02-19 Tom Tromey <tromey@redhat.com>
457 * target-delegates.c: Rebuild.
458 * target.c (update_current_target): Don't inherit or default
459 to_post_startup_inferior.
460 * target.h (struct target_ops) <to_post_startup_inferior>: Use
461 TARGET_DEFAULT_IGNORE.
463 2014-02-19 Tom Tromey <tromey@redhat.com>
465 * target-delegates.c: Rebuild.
466 * target.c (update_current_target): Don't inherit or default
468 * target.h (struct target_ops) <to_load>: Use
469 TARGET_DEFAULT_NORETURN.
471 2014-02-19 Tom Tromey <tromey@redhat.com>
473 * target-delegates.c: Rebuild.
474 * target.c (update_current_target): Don't inherit or default
476 * target.h (struct target_ops) <to_terminal_info>: Use
479 2014-02-19 Tom Tromey <tromey@redhat.com>
481 * target-delegates.c: Rebuild.
482 * target.c (update_current_target): Don't inherit or default
483 to_terminal_save_ours.
484 * target.h (struct target_ops) <to_terminal_save_ours>: Use
485 TARGET_DEFAULT_IGNORE.
487 2014-02-19 Tom Tromey <tromey@redhat.com>
489 * target-delegates.c: Rebuild.
490 * target.c (update_current_target): Don't inherit or default
492 * target.h (struct target_ops) <to_terminal_ours>: Use
493 TARGET_DEFAULT_IGNORE.
495 2014-02-19 Tom Tromey <tromey@redhat.com>
497 * target-delegates.c: Rebuild.
498 * target.c (update_current_target): Don't inherit or default
499 to_terminal_ours_for_output.
500 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
501 TARGET_DEFAULT_IGNORE.
503 2014-02-19 Tom Tromey <tromey@redhat.com>
505 * target-delegates.c: Rebuild.
506 * target.c (update_current_target): Don't inherit or default
507 to_terminal_inferior.
508 * target.h (struct target_ops) <to_terminal_inferior>: Use
509 TARGET_DEFAULT_IGNORE.
511 2014-02-19 Tom Tromey <tromey@redhat.com>
513 * target-delegates.c: Rebuild.
514 * target.c (update_current_target): Don't inherit or default
516 * target.h (struct target_ops) <to_terminal_init>: Use
517 TARGET_DEFAULT_IGNORE.
519 2014-02-19 Tom Tromey <tromey@redhat.com>
521 * target-delegates.c: Rebuild.
522 * target.c (update_current_target): Don't inherit or default
523 to_can_accel_watchpoint_condition.
524 * target.h (struct target_ops)
525 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
527 2014-02-19 Tom Tromey <tromey@redhat.com>
529 * target-delegates.c: Rebuild.
530 * target.c (update_current_target): Don't inherit or default
531 to_region_ok_for_hw_watchpoint.
532 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
533 Use TARGET_DEFAULT_FUNC.
535 2014-02-19 Tom Tromey <tromey@redhat.com>
537 * target-delegates.c: Rebuild.
538 * target.c (update_current_target): Don't inherit or default
539 to_watchpoint_addr_within_range.
540 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
541 Use TARGET_DEFAULT_FUNC.
543 2014-02-19 Tom Tromey <tromey@redhat.com>
545 * target-delegates.c: Rebuild.
546 * target.c (update_current_target): Don't inherit or default
547 to_remove_watchpoint.
548 * target.h (struct target_ops) <to_remove_watchpoint>: Use
549 TARGET_DEFAULT_NORETURN.
551 2014-02-19 Tom Tromey <tromey@redhat.com>
553 * target-delegates.c: Rebuild.
554 * target.c (update_current_target): Don't inherit or default
555 to_insert_watchpoint.
556 * target.h (struct target_ops) <to_insert_watchpoint>: Use
557 TARGET_DEFAULT_RETURN.
559 2014-02-19 Tom Tromey <tromey@redhat.com>
561 * target-delegates.c: Rebuild.
562 * target.c (update_current_target): Don't inherit or default
563 to_remove_hw_breakpoint.
564 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
565 TARGET_DEFAULT_RETURN.
567 2014-02-19 Tom Tromey <tromey@redhat.com>
569 * target-delegates.c: Rebuild.
570 * target.c (update_current_target): Don't inherit or default
571 to_insert_hw_breakpoint.
572 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
573 TARGET_DEFAULT_RETURN.
575 2014-02-19 Tom Tromey <tromey@redhat.com>
577 * target-delegates.c: Rebuild.
578 * target.c (update_current_target): Don't inherit or default
579 to_can_use_hw_breakpoint.
580 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
581 TARGET_DEFAULT_RETURN.
583 2014-02-19 Tom Tromey <tromey@redhat.com>
585 * target-delegates.c: Rebuild.
586 * target.c (update_current_target): Don't inherit or default
588 * target.h (struct target_ops) <to_files_info>: Use
589 TARGET_DEFAULT_IGNORE.
591 2014-02-19 Tom Tromey <tromey@redhat.com>
593 * target-delegates.c: Rebuild.
594 * target.c (update_current_target): Don't inherit or default
596 * target.h (struct target_ops) <to_store>: Use
597 TARGET_DEFAULT_NORETURN.
599 2014-02-19 Tom Tromey <tromey@redhat.com>
601 * target-delegates.c: Rebuild.
602 * target.c (update_current_target): Don't inherit or default
604 * target.h (struct target_ops) <to_post_attach>: Use
605 TARGET_DEFAULT_IGNORE.
607 2014-02-19 Tom Tromey <tromey@redhat.com>
609 * target-delegates.c: Rebuild.
610 * target.c (update_current_target): Don't inherit or default
612 (default_rcmd): New function.
613 (do_monitor_command): Unconditionally delegate.
614 * target.h (struct target_ops) <to_rmcd>: Use
617 2014-02-19 Tom Tromey <tromey@redhat.com>
619 * target-delegates.c: Rebuild.
620 * target.c (init_dummy_target): Don't initialize to_attach.
621 (target_attach): Unconditionally delegate.
622 * target.h (struct target_ops) <to_attach>: Use
625 2014-02-19 Tom Tromey <tromey@redhat.com>
627 * target-delegates.c: Rebuild.
628 * target.c (target_detach): Unconditionally delegate.
629 (init_dummy_target): Don't initialize to_detach.
630 * target.h (struct target_ops) <to_detach>: Use
631 TARGET_DEFAULT_IGNORE.
633 2014-02-19 Tom Tromey <tromey@redhat.com>
635 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
637 (target_augmented_libraries_svr4_read): Add argument.
638 * target.c (update_current_target): Update.
639 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
642 2014-02-19 Tom Tromey <tromey@redhat.com>
644 * target.h (struct target_ops) <to_call_history_range>: Add
646 * target.c (target_call_history_range): Add argument.
647 * record-btrace.c (record_btrace_call_history_range): Add 'self'
649 (record_btrace_call_history_from): Update.
651 2014-02-19 Tom Tromey <tromey@redhat.com>
653 * target.h (struct target_ops) <to_call_history_from>: Add
655 * target.c (target_call_history_from): Add argument.
656 * record-btrace.c (record_btrace_call_history_from): Add 'self'
659 2014-02-19 Tom Tromey <tromey@redhat.com>
661 * target.h (struct target_ops) <to_call_history>: Add argument.
662 * target.c (target_call_history): Add argument.
663 * record-btrace.c (record_btrace_call_history): Add 'self'
666 2014-02-19 Tom Tromey <tromey@redhat.com>
668 * target.h (struct target_ops) <to_insn_history_range>: Add
670 * target.c (target_insn_history_range): Add argument.
671 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
673 (record_btrace_insn_history_from): Update.
675 2014-02-19 Tom Tromey <tromey@redhat.com>
677 * target.h (struct target_ops) <to_insn_history_from>: Add
679 * target.c (target_insn_history_from): Add argument.
680 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
683 2014-02-19 Tom Tromey <tromey@redhat.com>
685 * target.h (struct target_ops) <to_insn_history>: Add argument.
686 * target.c (target_insn_history): Add argument.
687 * record-btrace.c (record_btrace_insn_history): Add 'self'
690 2014-02-19 Tom Tromey <tromey@redhat.com>
692 * target.h (struct target_ops) <to_goto_record>: Add argument.
693 * target.c (target_goto_record): Add argument.
694 * record-full.c (record_full_goto): Add 'self' argument.
695 * record-btrace.c (record_btrace_goto): Add 'self' argument.
697 2014-02-19 Tom Tromey <tromey@redhat.com>
699 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
700 * target.c (target_goto_record_end): Add argument.
701 * record-full.c (record_full_goto_end): Add 'self' argument.
702 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
704 2014-02-19 Tom Tromey <tromey@redhat.com>
706 * target.h (struct target_ops) <to_goto_record_begin>: Add
708 * target.c (target_goto_record_begin): Add argument.
709 * record-full.c (record_full_goto_begin): Add 'self' argument.
710 * record-btrace.c (record_btrace_goto_begin): Add 'self'
713 2014-02-19 Tom Tromey <tromey@redhat.com>
715 * target.h (struct target_ops) <to_record_is_replaying>: Add
717 * target.c (target_record_is_replaying): Add argument.
718 * record-full.c (record_full_is_replaying): Add 'self' argument.
719 * record-btrace.c (record_btrace_is_replaying): Add 'self'
721 (record_btrace_xfer_partial, record_btrace_store_registers)
722 (record_btrace_prepare_to_store, record_btrace_resume)
723 (record_btrace_wait, record_btrace_decr_pc_after_break)
724 (record_btrace_find_new_threads, record_btrace_thread_alive):
727 2014-02-19 Tom Tromey <tromey@redhat.com>
729 * target.h (struct target_ops) <to_delete_record>: Add argument.
730 * target.c (target_delete_record): Add argument.
731 * record-full.c (record_full_delete): Add 'self' argument.
733 2014-02-19 Tom Tromey <tromey@redhat.com>
735 * target.h (struct target_ops) <to_save_record>: Add argument.
736 * target.c (target_save_record): Add argument.
737 * record-full.c (record_full_save): Add 'self' argument.
738 (record_full_save): Add 'self' argument.
740 2014-02-19 Tom Tromey <tromey@redhat.com>
742 * target.h (struct target_ops) <to_info_record>: Add argument.
743 * target.c (target_info_record): Add argument.
744 * record.c (info_record_command): Add argument.
745 * record-full.c (record_full_info): Add 'self' argument.
746 * record-btrace.c (record_btrace_info): Add 'self' argument.
748 2014-02-19 Tom Tromey <tromey@redhat.com>
750 * target.h (struct target_ops) <to_stop_recording>: Add argument.
751 * target.c (target_stop_recording): Add argument.
752 * record.c (record_stop): Add argument.
753 * record-btrace.c (record_btrace_stop_recording): Add 'self'
756 2014-02-19 Tom Tromey <tromey@redhat.com>
758 * target.h (struct target_ops) <to_read_btrace>: Add argument.
759 * target.c (struct target_ops) <to_read_btrace>: Add argument.
760 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
762 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
763 (_initialize_amd64_linux_nat): Use it.
764 * i386-linux-nat.c (i386_linux_read_btrace): New function.
765 (_initialize_i386_linux_nat): Use it.
767 2014-02-19 Tom Tromey <tromey@redhat.com>
769 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
770 * target.c (target_teardown_btrace): Add argument.
771 * remote.c (remote_teardown_btrace): Add 'self' argument.
772 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
774 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
777 2014-02-19 Tom Tromey <tromey@redhat.com>
779 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
780 * target.c (target_disable_btrace): Add argument.
781 * remote.c (remote_disable_btrace): Add 'self' argument.
782 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
784 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
787 2014-02-19 Tom Tromey <tromey@redhat.com>
789 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
790 * target.c (target_enable_btrace): Add argument.
791 * remote.c (remote_enable_btrace): Add 'self' argument.
792 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
794 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
797 2014-02-19 Tom Tromey <tromey@redhat.com>
799 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
800 (target_can_use_agent): Add argument.
801 * target.c (update_current_target): Update.
802 * remote.c (remote_can_use_agent): Add 'self' argument.
803 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
805 2014-02-19 Tom Tromey <tromey@redhat.com>
807 * target.h (struct target_ops) <to_use_agent>: Add argument.
808 (target_use_agent): Add argument.
809 * target.c (update_current_target): Update.
810 * remote.c (remote_use_agent): Add 'self' argument.
811 * inf-child.c (inf_child_use_agent): Add 'self' argument.
813 2014-02-19 Tom Tromey <tromey@redhat.com>
815 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
816 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
817 (target_traceframe_info): Add argument.
818 * target.c (update_current_target): Update.
819 * remote.c (remote_traceframe_info): Add 'self' argument.
820 * ctf.c (ctf_traceframe_info): Add 'self' argument.
822 2014-02-19 Tom Tromey <tromey@redhat.com>
824 * target.h (target_static_tracepoint_markers_by_strid): Add
826 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
828 * target.c (update_current_target): Update.
829 * remote.c (struct target_ops)
830 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
831 * linux-nat.c (struct target_ops)
832 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
834 2014-02-19 Tom Tromey <tromey@redhat.com>
836 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
838 (target_static_tracepoint_marker_at): Add argument.
839 * target.c (update_current_target): Update.
840 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
843 2014-02-19 Tom Tromey <tromey@redhat.com>
845 * target.h (struct target_ops) <to_set_permissions>: Add argument.
846 (target_set_permissions): Add argument.
847 * target.c (update_current_target): Update.
848 * remote.c (remote_set_permissions): Add 'self' argument.
849 (remote_start_remote): Update.
851 2014-02-19 Tom Tromey <tromey@redhat.com>
853 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
854 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
855 (target_get_tib_address): Add argument.
856 * target.c (update_current_target): Update.
857 * remote.c (remote_get_tib_address): Add 'self' argument.
859 2014-02-19 Tom Tromey <tromey@redhat.com>
861 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
862 (target_set_trace_notes): Add argument.
863 * target.c (update_current_target): Update.
864 * remote.c (remote_set_trace_notes): Add 'self' argument.
866 2014-02-19 Tom Tromey <tromey@redhat.com>
868 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
870 (target_set_trace_buffer_size): Add argument.
871 * target.c (update_current_target): Update.
872 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
874 2014-02-19 Tom Tromey <tromey@redhat.com>
876 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
878 (target_set_circular_trace_buffer): Add argument.
879 * target.c (update_current_target): Update.
880 * remote.c (remote_set_circular_trace_buffer): Add 'self'
883 2014-02-19 Tom Tromey <tromey@redhat.com>
885 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
887 (target_set_disconnected_tracing): Add argument.
888 * target.c (update_current_target): Update.
889 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
891 2014-02-19 Tom Tromey <tromey@redhat.com>
893 * target.h (struct target_ops)
894 <to_get_min_fast_tracepoint_insn_len>: Add argument.
895 (target_get_min_fast_tracepoint_insn_len): Add argument.
896 * target.c (update_current_target): Update.
897 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
900 2014-02-19 Tom Tromey <tromey@redhat.com>
902 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
904 (target_get_raw_trace_data): Add argument.
905 * target.c (update_current_target): Update.
906 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
908 2014-02-19 Tom Tromey <tromey@redhat.com>
910 * target.h (struct target_ops) <to_upload_trace_state_variables>:
912 (target_upload_trace_state_variables): Add argument.
913 * target.c (update_current_target): Update.
914 * remote.c (remote_upload_trace_state_variables): Add 'self'
916 (remote_start_remote): Update.
918 2014-02-19 Tom Tromey <tromey@redhat.com>
920 * target.h (struct target_ops) <to_upload_tracepoints>: Add
922 (target_upload_tracepoints): Add argument.
923 * target.c (update_current_target): Update.
924 * remote.c (remote_upload_tracepoints): Add 'self' argument.
925 (remote_start_remote): Update.
927 2014-02-19 Tom Tromey <tromey@redhat.com>
929 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
930 (target_save_trace_data): Add argument.
931 * target.c (update_current_target): Update.
932 * remote.c (remote_save_trace_data): Add 'self' argument.
934 2014-02-19 Tom Tromey <tromey@redhat.com>
936 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
938 * target.h (struct target_ops)
939 <to_get_trace_state_variable_value>: Add argument.
940 (target_get_trace_state_variable_value): Add argument.
941 * target.c (update_current_target): Update.
942 * remote.c (remote_get_trace_state_variable_value): Add 'self'
944 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
946 2014-02-19 Tom Tromey <tromey@redhat.com>
948 * tracepoint.c (tfile_trace_find): Add 'self' argument.
949 * target.h (struct target_ops) <to_trace_find>: Add argument.
950 (target_trace_find): Add argument.
951 * target.c (update_current_target): Update.
952 * remote.c (remote_trace_find): Add 'self' argument.
953 * ctf.c (ctf_trace_find): Add 'self' argument.
955 2014-02-19 Tom Tromey <tromey@redhat.com>
957 * target.h (struct target_ops) <to_trace_stop>: Add argument.
958 (target_trace_stop): Add argument.
959 * target.c (update_current_target): Update.
960 * remote.c (remote_trace_stop): Add 'self' argument.
962 2014-02-19 Tom Tromey <tromey@redhat.com>
964 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
965 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
967 (target_get_tracepoint_status): Add argument.
968 * target.c (update_current_target): Update.
969 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
971 2014-02-19 Tom Tromey <tromey@redhat.com>
973 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
974 * target.h (struct target_ops) <to_get_trace_status>: Add
976 (target_get_trace_status): Add argument.
977 * target.c (update_current_target): Update.
978 * remote.c (remote_get_trace_status): Add 'self' argument.
979 (remote_start_remote, remote_can_download_tracepoint): Update.
980 * ctf.c (ctf_get_trace_status): Add 'self' argument.
982 2014-02-19 Tom Tromey <tromey@redhat.com>
984 * target.h (struct target_ops) <to_trace_start>: Add argument.
985 (target_trace_start): Add argument.
986 * target.c (update_current_target): Update.
987 * remote.c (remote_trace_start): Add 'self' argument.
989 2014-02-19 Tom Tromey <tromey@redhat.com>
991 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
993 (target_trace_set_readonly_regions): Add argument.
994 * target.c (update_current_target): Update.
995 * remote.c (remote_trace_set_readonly_regions): Add 'self'
998 2014-02-19 Tom Tromey <tromey@redhat.com>
1000 * target.h (struct target_ops) <to_disable_tracepoint>: Add
1002 (target_disable_tracepoint): Add argument.
1003 * target.c (update_current_target): Update.
1004 * remote.c (remote_disable_tracepoint): Add 'self' argument.
1006 2014-02-19 Tom Tromey <tromey@redhat.com>
1008 * target.h (struct target_ops) <to_enable_tracepoint>: Add
1010 (target_enable_tracepoint): Add argument.
1011 * target.c (update_current_target): Update.
1012 * remote.c (remote_enable_tracepoint): Add 'self' argument.
1014 2014-02-19 Tom Tromey <tromey@redhat.com>
1016 * target.h (struct target_ops) <to_download_trace_state_variable>:
1018 (target_download_trace_state_variable): Add argument.
1019 * target.c (update_current_target): Update.
1020 * remote.c (remote_download_trace_state_variable): Add 'self'
1023 2014-02-19 Tom Tromey <tromey@redhat.com>
1025 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
1027 (target_can_download_tracepoint): Add argument.
1028 * target.c (update_current_target): Update.
1029 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
1031 2014-02-19 Tom Tromey <tromey@redhat.com>
1033 * target.h (struct target_ops) <to_download_tracepoint>: Add
1035 (target_download_tracepoint): Add argument.
1036 * target.c (update_current_target): Update.
1037 * remote.c (remote_download_tracepoint): Add 'self' argument.
1039 2014-02-19 Tom Tromey <tromey@redhat.com>
1041 * target.h (struct target_ops) <to_trace_init>: Add argument.
1042 (target_trace_init): Add argument.
1043 * target.c (update_current_target): Update.
1044 * remote.c (remote_trace_init): Add 'self' argument.
1046 2014-02-19 Tom Tromey <tromey@redhat.com>
1048 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1049 * target.c (target_fileio_readlink): Add argument.
1050 * remote.c (remote_hostio_readlink): Add 'self' argument.
1051 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1053 2014-02-19 Tom Tromey <tromey@redhat.com>
1055 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1056 * target.c (target_fileio_unlink): Add argument.
1057 * remote.c (remote_hostio_unlink): Add 'self' argument.
1058 (remote_file_delete): Update.
1059 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1061 2014-02-19 Tom Tromey <tromey@redhat.com>
1063 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1064 * target.c (target_fileio_close): Add argument.
1065 * remote.c (remote_hostio_close): Add 'self' argument.
1066 (remote_hostio_close_cleanup): Update.
1067 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1069 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1071 2014-02-19 Tom Tromey <tromey@redhat.com>
1073 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1074 * target.c (target_fileio_pread): Add argument.
1075 * remote.c (remote_hostio_pread): Add 'self' argument.
1076 (remote_bfd_iovec_pread, remote_file_get): Update.
1077 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1079 2014-02-19 Tom Tromey <tromey@redhat.com>
1081 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1082 * target.c (target_fileio_pwrite): Add argument.
1083 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1084 (remote_file_put): Update.
1085 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1087 2014-02-19 Tom Tromey <tromey@redhat.com>
1089 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1090 * target.c (target_fileio_open): Add argument.
1091 * remote.c (remote_hostio_open): Add 'self' argument.
1092 (remote_bfd_iovec_open): Add 'self' argument.
1093 (remote_file_put): Add 'self' argument.
1094 (remote_file_get): Add 'self' argument.
1095 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1097 2014-02-19 Tom Tromey <tromey@redhat.com>
1099 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1101 (target_can_run_breakpoint_commands): Add argument.
1102 * target.c (update_current_target): Update.
1103 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1105 (remote_insert_breakpoint): Add 'self' argument.
1106 (remote_insert_hw_breakpoint): Add 'self' argument.
1107 (remote_can_run_breakpoint_commands): Add 'self' argument.
1109 2014-02-19 Tom Tromey <tromey@redhat.com>
1111 * target.h (struct target_ops)
1112 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1113 (target_supports_evaluation_of_breakpoint_conditions): Add
1115 * target.c (update_current_target): Update.
1116 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1118 (remote_insert_breakpoint): Add 'self' argument.
1119 (remote_insert_hw_breakpoint): Add 'self' argument.
1120 (remote_supports_cond_breakpoints): Add 'self' argument.
1122 2014-02-19 Tom Tromey <tromey@redhat.com>
1124 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1126 (target_supports_string_tracing): Add argument.
1127 * target.c (update_current_target): Update.
1128 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1130 2014-02-19 Tom Tromey <tromey@redhat.com>
1132 * target.h (struct target_ops)
1133 <to_supports_disable_randomization>: Add argument.
1134 * target.c (find_default_supports_disable_randomization): Add
1136 (target_supports_disable_randomization): Add argument.
1137 (find_default_supports_disable_randomization): Add 'self'
1139 * remote.c (extended_remote_supports_disable_randomization): Add
1141 (remote_supports_disable_randomization): Add 'self' argument.
1142 (extended_remote_create_inferior): Update.
1143 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1146 2014-02-19 Tom Tromey <tromey@redhat.com>
1148 * target.h (struct target_ops)
1149 <to_supports_enable_disable_tracepoint>: Add argument.
1150 (target_supports_enable_disable_tracepoint): Add argument.
1151 * target.c (update_current_target): Update.
1152 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1155 2014-02-19 Tom Tromey <tromey@redhat.com>
1157 * target.h (struct target_ops) <to_supports_multi_process>: Add
1159 (target_supports_multi_process): Add argument.
1160 * target.c (update_current_target): Update.
1161 * remote.c (remote_supports_multi_process): Add 'self' argument.
1162 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1164 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1167 2014-02-19 Tom Tromey <tromey@redhat.com>
1169 * target.h (struct target_ops) <to_execution_direction>: Add
1171 (target_execution_direction): Add argument.
1172 * target.c (default_execution_direction): Add 'self' argument.
1173 * record-full.c (record_full_execution_direction): Add 'self'
1176 2014-02-19 Tom Tromey <tromey@redhat.com>
1178 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1180 (target_can_execute_reverse): Add argument.
1181 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1182 * record-full.c (record_full_can_execute_reverse): Add 'self'
1184 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1187 2014-02-19 Tom Tromey <tromey@redhat.com>
1189 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1190 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1192 (target_get_ada_task_ptid): Add argument.
1193 * target.c (update_current_target): Update.
1194 (default_get_ada_task_ptid): Add 'self' argument.
1195 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1196 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1197 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1199 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1201 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1203 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1205 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1206 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1209 2014-02-19 Tom Tromey <tromey@redhat.com>
1211 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1212 (target_goto_bookmark): Add argument.
1213 * target.c (dummy_goto_bookmark): Add 'self' argument.
1214 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1216 2014-02-19 Tom Tromey <tromey@redhat.com>
1218 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1219 (target_get_bookmark): Add argument.
1220 * target.c (dummy_get_bookmark): Add 'self' argument.
1221 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1223 2014-02-19 Tom Tromey <tromey@redhat.com>
1225 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1227 (target_make_corefile_notes): Add argument.
1228 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1229 * procfs.c (procfs_make_note_section): Add 'self' argument.
1230 (procfs_make_note_section): Add 'self' argument.
1231 (procfs_make_note_section): Add 'self' argument.
1232 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1234 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1235 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1236 * exec.c (exec_make_note_section): Add 'self' argument.
1237 (exec_make_note_section): Add 'self' argument.
1239 2014-02-19 Tom Tromey <tromey@redhat.com>
1241 * target.h (struct target_ops) <to_find_memory_regions>: Add
1243 (target_find_memory_regions): Add argument.
1244 * target.c (dummy_find_memory_regions): Add 'self' argument.
1245 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1246 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1247 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1248 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1249 * exec. (exec_do_find_memory_regions): New global.
1250 (exec_set_find_memory_regions): Rewrite.
1251 (exec_find_memory_regions): New function.
1252 (init_exec_ops): Use exec_find_memory_regions.
1254 2014-02-19 Tom Tromey <tromey@redhat.com>
1256 * target.h (struct target_ops) <to_supports_non_stop>: Add
1258 * target.c (find_default_supports_non_stop): Add argument.
1259 (target_supports_non_stop): Add argument.
1260 (find_default_supports_non_stop): Add 'self' argument.
1261 * remote.c (remote_supports_non_stop): Add 'self' argument.
1262 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1264 2014-02-19 Tom Tromey <tromey@redhat.com>
1266 * target.h (struct target_ops) <to_log_command>: Add argument.
1267 (target_log_command): Add argument.
1268 * serial.h (serial_log_command): Add 'self' argument.
1269 * serial.c (serial_log_command): Add 'self' argument.
1271 2014-02-19 Tom Tromey <tromey@redhat.com>
1273 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1274 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1276 (target_pid_to_exec_file): Add argument.
1277 * target.c (debug_to_pid_to_exec_file): Add argument.
1278 (update_current_target): Update.
1279 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1280 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1281 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1282 (linux_handle_extended_wait): Update.
1283 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1284 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1285 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1286 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1288 2014-02-19 Tom Tromey <tromey@redhat.com>
1290 * target.h (struct target_ops) <to_rcmd>: Add argument.
1291 (target_rcmd): Add argument.
1292 * target.c (debug_to_rcmd): Add argument.
1293 (update_current_target, do_monitor_command): Update.
1294 * remote.c (remote_rcmd): Add 'self' argument.
1295 * monitor.c (monitor_rcmd): Add 'self' argument.
1297 2014-02-19 Tom Tromey <tromey@redhat.com>
1299 * windows-nat.c (windows_stop): Add 'self' argument.
1300 * target.h (struct target_ops) <to_stop>: Add argument.
1301 * target.c (target_stop): Add argument.
1302 (debug_to_stop): Add argument.
1303 (update_current_target): Update.
1304 * remote.c (remote_stop): Add 'self' argument.
1305 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1306 (gdbsim_cntrl_c): Update.
1307 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1308 * procfs.c (procfs_stop): Add 'self' argument.
1309 * nto-procfs.c (procfs_stop): Add 'self' argument.
1310 * monitor.c (monitor_stop): Add 'self' argument.
1311 (monitor_open): Update.
1312 * linux-nat.c (linux_nat_stop): Add argument.
1313 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1314 * gnu-nat.c (gnu_stop): Add 'self' argument.
1315 * darwin-nat.c (darwin_stop): Add 'self' argument.
1317 2014-02-19 Tom Tromey <tromey@redhat.com>
1319 * target.h (struct target_ops) <to_thread_name>: Add argument.
1320 * target.c (target_thread_name): Add argument.
1321 (update_current_target): Update.
1322 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
1324 2014-02-19 Tom Tromey <tromey@redhat.com>
1326 * target.h (struct target_ops) <to_extra_thread_info>: Add
1328 (target_extra_thread_info): Add argument.
1329 * target.c (update_current_target): Update.
1330 * remote.c (remote_threads_extra_info): Add 'self' argument.
1331 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
1333 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
1334 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
1335 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
1337 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
1339 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
1341 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
1344 2014-02-19 Tom Tromey <tromey@redhat.com>
1346 * target.h (struct target_ops) <to_program_signals>: Add argument.
1347 * target.c (target_program_signals): Add argument.
1348 * remote.c (remote_program_signals): Add 'self' argument.
1350 2014-02-19 Tom Tromey <tromey@redhat.com>
1352 * target.h (struct target_ops) <to_pass_signals>: Add argument.
1353 * target.c (target_pass_signals): Add argument.
1354 * remote.c (remote_pass_signals): Add 'self' argument.
1355 (remote_start_remote): Update.
1356 * procfs.c (procfs_pass_signals): Add 'self' argument.
1357 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
1358 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
1359 (linux_nat_create_inferior, linux_nat_attach): Update.
1361 2014-02-19 Tom Tromey <tromey@redhat.com>
1363 * windows-nat.c (windows_can_run): Add 'self' argument.
1364 * target.h (struct target_ops) <to_can_run>: Add argument.
1365 (target_can_run): Add argument.
1366 * target.c (debug_to_can_run): Add argument.
1367 (update_current_target): Update.
1368 * nto-procfs.c (procfs_can_run): Add 'self' argument.
1369 * inf-child.c (inf_child_can_run): Add 'self' argument.
1370 * go32-nat.c (go32_can_run): Add 'self' argument.
1372 2014-02-19 Tom Tromey <tromey@redhat.com>
1374 * target.h (struct target_ops) <to_has_exited>: Add argument.
1375 (target_has_exited): Add argument.
1376 * target.c (debug_to_has_exited): Add argument.
1377 (update_current_target): Update.
1379 2014-02-19 Tom Tromey <tromey@redhat.com>
1381 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
1383 (target_set_syscall_catchpoint): Add argument.
1384 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
1386 * target.c (update_current_target): Update.
1388 2014-02-19 Tom Tromey <tromey@redhat.com>
1390 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
1392 (target_remove_exec_catchpoint): Add argument.
1393 * target.c (debug_to_remove_exec_catchpoint): Add argument.
1394 (update_current_target): Update.
1395 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
1398 2014-02-19 Tom Tromey <tromey@redhat.com>
1400 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
1402 (target_insert_exec_catchpoint): Add argument.
1403 * target.c (debug_to_insert_exec_catchpoint): Add argument.
1404 (update_current_target): Update.
1405 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
1408 2014-02-19 Tom Tromey <tromey@redhat.com>
1410 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
1412 (target_remove_vfork_catchpoint): Add argument.
1413 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
1414 (update_current_target): Update.
1415 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
1418 2014-02-19 Tom Tromey <tromey@redhat.com>
1420 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
1422 (target_insert_vfork_catchpoint): Add argument.
1423 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
1424 (update_current_target): Update.
1425 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
1428 2014-02-19 Tom Tromey <tromey@redhat.com>
1430 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
1432 (target_remove_fork_catchpoint): Add argument.
1433 * target.c (debug_to_remove_fork_catchpoint): Add argument.
1434 (update_current_target): Update.
1435 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
1438 2014-02-19 Tom Tromey <tromey@redhat.com>
1440 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
1442 (target_insert_fork_catchpoint): Add argument.
1443 * target.c (debug_to_insert_fork_catchpoint): Add argument.
1444 (update_current_target): Update.
1445 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
1448 2014-02-19 Tom Tromey <tromey@redhat.com>
1450 * target.h (struct target_ops) <to_post_startup_inferior>: Add
1452 (target_post_startup_inferior): Add argument.
1453 * target.c (debug_to_post_startup_inferior): Add argument.
1454 (update_current_target): Update.
1455 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
1457 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
1459 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
1461 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
1463 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
1465 (super_post_startup_inferior): Likewise.
1466 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
1468 (super_post_startup_inferior): Likewise.
1469 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
1470 Add 'self' argument.
1471 (super_post_startup_inferior): Likewise.
1473 2014-02-19 Tom Tromey <tromey@redhat.com>
1475 * target.h (struct target_ops) <to_load>: Add argument.
1476 * target.c (target_load): Add argument.
1477 (debug_to_load): Add argument.
1478 (update_current_target): Update.
1479 * remote.c (remote_load): Add 'self' argument.
1480 * remote-sim.c (gdbsim_load): Add 'self' argument.
1481 * remote-mips.c (mips_load): Add 'self' argument.
1482 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
1483 * monitor.c (monitor_load): Add 'self' argument.
1484 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
1486 2014-02-19 Tom Tromey <tromey@redhat.com>
1488 * target.h (struct target_ops) <to_terminal_info>: Add argument.
1489 (target_terminal_info): Add argument.
1490 * target.c (debug_to_terminal_info): Add argument.
1491 (default_terminal_info): Likewise.
1492 * inflow.c (child_terminal_info): Add 'self' argument.
1493 * inferior.h (child_terminal_info): Add 'self' argument.
1494 * go32-nat.c (go32_terminal_info): Add 'self' argument.
1496 2014-02-19 Tom Tromey <tromey@redhat.com>
1498 * target.h (struct target_ops) <to_terminal_save_ours>: Add
1500 (target_terminal_save_ours): Add argument.
1501 * target.c (debug_to_terminal_save_ours): Add argument.
1502 (update_current_target): Update.
1503 * inflow.c (terminal_save_ours): Add 'self' argument.
1504 * inferior.h (terminal_save_ours): Add 'self' argument.
1506 2014-02-19 Tom Tromey <tromey@redhat.com>
1508 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
1509 (target_terminal_ours): Add argument.
1510 * target.c (debug_to_terminal_ours): Add argument.
1511 (update_current_target): Update.
1512 * remote.c (remote_terminal_ours): Add 'self' argument.
1513 (remote_close): Update.
1514 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
1515 * inflow.c (terminal_ours): Add 'self' argument.
1516 * inferior.h (terminal_ours): Add 'self' argument.
1517 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1519 2014-02-19 Pedro Alves <palves@redhat.com>
1520 Tom Tromey <tromey@redhat.com>
1522 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
1524 (target_terminal_ours_for_output): Add argument.
1525 * target.c (debug_to_terminal_ours_for_output): Add argument.
1526 (update_current_target): Update.
1527 * inflow.c (terminal_ours_for_output): Add 'self' argument.
1528 * inferior.h (terminal_ours_for_output): Add 'self' argument.
1529 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1531 2014-02-19 Tom Tromey <tromey@redhat.com>
1533 * target.h (struct target_ops) <to_terminal_inferior>: Add
1535 * target.c (target_terminal_inferior): Add argument.
1536 (update_current_target): Update.
1537 * remote.c (remote_terminal_inferior): Add 'self' argument.
1538 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
1539 * inflow.c (terminal_inferior): Add 'self' argument.
1540 * inferior.h (terminal_inferior): Add 'self' argument.
1541 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
1542 (go32_terminal_inferior): Add 'self' argument.
1544 2014-02-19 Tom Tromey <tromey@redhat.com>
1546 * target.h (struct target_ops) <to_terminal_init>: Add argument.
1547 (target_terminal_init): Add argument.
1548 * target.c (debug_to_terminal_init): Add argument.
1549 (update_current_target): Update.
1550 * inflow.c (terminal_init_inferior): Add 'self' argument.
1551 * inferior.h (terminal_init_inferior): Add 'self' argument.
1552 * go32-nat.c (go32_terminal_init): Add 'self' argument.
1553 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
1555 2014-02-19 Tom Tromey <tromey@redhat.com>
1557 * target.h (struct target_ops)
1558 <to_can_accel_watchpoint_condition>: Add argument.
1559 (target_can_accel_watchpoint_condition): Add argument.
1560 * target.c (debug_to_can_accel_watchpoint_condition): Add
1562 (update_current_target): Update.
1563 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
1566 2014-02-19 Tom Tromey <tromey@redhat.com>
1568 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1570 (target_region_ok_for_hw_watchpoint): Add argument.
1571 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
1572 (default_region_ok_for_hw_watchpoint): Add argument.
1573 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
1574 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
1576 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
1578 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
1580 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
1582 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
1584 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
1586 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
1587 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
1589 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
1590 Add 'self' argument.
1592 2014-02-19 Tom Tromey <tromey@redhat.com>
1594 * target.h (struct target_ops) <to_insert_watchpoint>: Add
1596 (target_insert_watchpoint): Add argument.
1597 * target.c (debug_to_insert_watchpoint): Add argument.
1598 (update_current_target): Update.
1599 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
1600 * remote.c (remote_insert_watchpoint): Add 'self' argument.
1601 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
1602 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
1603 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
1604 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
1606 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
1607 (procfs_insert_hw_watchpoint): Add 'self' argument.
1608 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
1610 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
1612 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
1614 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
1615 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
1617 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
1620 2014-02-19 Tom Tromey <tromey@redhat.com>
1622 * target.h (struct target_ops) <to_remove_watchpoint>: Add
1624 (target_remove_watchpoint): Add argument.
1625 * target.c (debug_to_remove_watchpoint): Add argument.
1626 (update_current_target): Update.
1627 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
1628 * remote.c (remote_remove_watchpoint): Add 'self' argument.
1629 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
1630 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
1631 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
1632 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
1634 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
1635 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
1637 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
1639 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
1641 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
1642 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
1644 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
1647 2014-02-19 Tom Tromey <tromey@redhat.com>
1649 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
1651 (target_remove_hw_breakpoint): Add argument.
1652 * target.c (debug_to_remove_hw_breakpoint): Add argument.
1653 (update_current_target): Update.
1654 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
1655 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
1657 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
1658 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
1660 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
1663 2014-02-19 Tom Tromey <tromey@redhat.com>
1665 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
1667 (target_insert_hw_breakpoint): Add argument.
1668 * target.c (debug_to_insert_hw_breakpoint): Add argument.
1669 (update_current_target): Update.
1670 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
1671 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
1673 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
1674 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
1675 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
1677 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
1680 2014-02-19 Tom Tromey <tromey@redhat.com>
1682 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
1684 (target_can_use_hardware_watchpoint): Add argument.
1685 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
1686 (update_current_target): Update.
1687 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
1689 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
1691 * remote.c (remote_check_watch_resources): Add 'self' argument.
1692 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
1693 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
1695 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
1696 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
1698 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
1700 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
1702 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
1704 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
1706 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
1708 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
1709 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
1711 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
1714 2014-02-19 Tom Tromey <tromey@redhat.com>
1716 * target.h (struct target_ops) <to_post_attach>: Add argument.
1717 (target_post_attach): Add argument.
1718 * target.c (debug_to_post_attach): Add argument.
1719 (update_current_target): Update.
1720 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
1721 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
1722 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
1723 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
1724 * inf-child.c (inf_child_post_attach): Add 'self' argument.
1726 2014-02-19 Tom Tromey <tromey@redhat.com>
1728 * windows-nat.c (windows_close): Add 'self' argument.
1729 * tracepoint.c (tfile_close): Add 'self' argument.
1730 * target.h (struct target_ops) <to_close>: Add argument.
1731 * target.c (target_close): Add argument.
1732 (update_current_target): Update.
1733 * remote.c (remote_close): Add 'self' argument.
1734 * remote-sim.c (gdbsim_close): Add 'self' argument.
1735 * remote-mips.c (mips_close): Add 'self' argument.
1736 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
1737 * record-full.c (record_full_close): Add 'self' argument.
1738 * record-btrace.c (record_btrace_close): Add 'self' argument.
1739 * monitor.h (monitor_close): Add 'self' argument.
1740 * monitor.c (monitor_close): Add 'self' argument.
1741 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
1742 * linux-nat.c (linux_nat_close): Add argument.
1743 * go32-nat.c (go32_close): Add 'self' argument.
1744 * exec.c (exec_close_1): Add 'self' argument.
1745 * ctf.c (ctf_close): Add 'self' argument.
1746 * corelow.c (core_close): Add 'self' argument.
1747 (core_close_cleanup): Update.
1748 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
1749 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
1751 2014-02-19 Tom Tromey <tromey@redhat.com>
1753 * remote.c (remote_load): New function.
1754 (init_remote_ops): Use it.
1756 2014-02-19 Tom Tromey <tromey@redhat.com>
1758 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
1760 * common/linux-btrace.h (linux_supports_btrace): Update.
1761 * remote.c (remote_supports_btrace): Add "self" argument.
1762 * target-delegates.c: Rebuild.
1763 * target.c (target_supports_btrace): Remove.
1764 * target.h (struct target_ops) <to_supports_btrace>: Add
1765 target_ops argument.
1766 (target_supports_btrace): New define.
1768 2014-02-19 Tom Tromey <tromey@redhat.com>
1770 * record-full.c (record_full_beneath_to_resume_ops)
1771 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
1772 (record_full_beneath_to_wait)
1773 (record_full_beneath_to_store_registers_ops)
1774 (record_full_beneath_to_store_registers)
1775 (record_full_beneath_to_xfer_partial_ops)
1776 (record_full_beneath_to_xfer_partial)
1777 (record_full_beneath_to_insert_breakpoint_ops)
1778 (record_full_beneath_to_insert_breakpoint)
1779 (record_full_beneath_to_remove_breakpoint_ops)
1780 (record_full_beneath_to_remove_breakpoint)
1781 (record_full_beneath_to_stopped_by_watchpoint)
1782 (record_full_beneath_to_stopped_data_address)
1783 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
1784 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
1785 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
1786 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
1787 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
1788 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
1789 (tmp_to_stopped_data_address, tmp_to_async): Remove.
1790 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
1791 (record_full_resume, record_full_wait_1)
1792 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
1793 (record_full_store_registers, record_full_xfer_partial)
1794 (record_full_insert_breakpoint, record_full_remove_breakpoint)
1795 (record_full_async, record_full_core_xfer_partial): Use target
1797 * target-delegates.c: Rebuild.
1798 * target.c (current_xfer_partial): Remove.
1799 (update_current_target): Do not INHERIT or de_fault
1800 to_insert_breakpoint, to_remove_breakpoint,
1801 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
1802 to_is_async_p, to_async. Do not set to_xfer_partial field.
1803 (default_xfer_partial): Simplify.
1804 (current_xfer_partial): Remove.
1805 (target_wait, target_resume): Simplify.
1806 (find_default_can_async_p, find_default_is_async_p): Update.
1807 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
1808 to_xfer_partial, to_stopped_by_watchpoint,
1809 to_stopped_data_address.
1810 (target_store_registers): Simplify.
1811 (forward_target_remove_breakpoint)
1812 (forward_target_insert_breakpoint): Remove.
1813 (target_remove_breakpoint, target_insert_breakpoint)
1814 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
1815 * target.h (struct target_ops) <to_resume, to_wait,
1816 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
1817 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
1818 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
1820 (forward_target_remove_breakpoint)
1821 (forward_target_insert_breakpoint): Remove.
1822 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
1824 (record_btrace_insert_breakpoint): Delegate directly.
1826 2014-02-19 Tom Tromey <tromey@redhat.com>
1829 * target-delegates.c: New file.
1830 * target.c: Include target-delegates.c.
1831 (init_dummy_target): Call install_dummy_methods.
1832 (complete_target_initialization): Call install_delegators.
1833 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
1834 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
1835 * make-target-delegates: New file.
1837 2014-02-19 Tom Tromey <tromey@redhat.com>
1839 * record.c (find_record_target): Use find_target_at.
1840 * target.c (find_target_at): New function.
1841 * target.h (find_target_at): Declare.
1843 2014-02-19 Tom Tromey <tromey@redhat.com>
1845 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
1847 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
1849 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
1850 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
1852 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
1854 * linux-nat.c (save_sigtrap): Update.
1855 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
1856 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
1857 (linux_nat_close): Update.
1858 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
1860 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
1862 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
1863 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
1864 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
1865 (tmp_to_async): Add 'ops' argument.
1866 (record_full_stopped_by_watchpoint, record_full_async)
1867 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
1869 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
1870 (m32r_stopped_by_watchpoint): Add 'ops' argument.
1871 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
1872 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
1873 (remote_is_async_p, remote_async): Add 'ops' argument.
1874 (remote_stopped_data_address): Update.
1875 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
1876 * target.c (update_current_target)
1877 (find_default_can_async_p, find_default_is_async_p): Update.
1878 (init_dummy_target): Update.
1879 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
1880 * target.h (struct target_ops) <to_stopped_by_watchpoint,
1881 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
1882 (target_can_async_p, target_is_async_p, target_async)
1883 (target_stopped_by_watchpoint): Update.
1885 2014-02-19 Yao Qi <yao@codesourcery.com>
1888 * gdbarch.sh: Remove startup_gdbarch.
1889 * gdbarch.c: Regenerated.
1890 * gdbarch.h: Likewise.
1892 2014-02-17 Kevin Buettner <kevinb@redhat.com>
1894 * rl78-tdep.c (rl78_g10_register_name): New function.
1895 (rl78_return_value): Add g10 support.
1896 (rl78_gdbarch_init): Register rl78_g10_register_name for the
1899 2014-02-17 Doug Evans <xdje42@gmail.com>
1901 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
1902 (SUBDIR_GUILE_SRCS): Ditto.
1903 (scm-gsmob.o): Ditto.
1905 2014-02-17 Yao Qi <yao@codesourcery.com>
1907 * gnu-nat.c (ILL_RPC): Declare defined function.
1909 2014-02-17 Yao Qi <yao@codesourcery.com>
1911 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
1912 mach_msg_type_number_t.
1913 (gnu_write_inferior): Likewise.
1915 2014-02-17 Yao Qi <yao@codesourcery.com>
1917 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
1919 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
1920 (inf_validate_procs, inf_signal): Likewise.
1921 (S_exception_raise_request): Likewise.
1922 (do_mach_notify_dead_name): Likewise.
1923 (steal_exc_port): Likewise.
1924 (gnu_read_inferior): Change 'copy_count''s type to
1925 mach_msg_type_number_t.
1926 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
1929 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
1931 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
1932 flag. Adjust all users; in particular...
1933 (gnu_wait): ..., don't decrement its value in here...
1934 (gnu_create_inferior): ..., and instead set the flag in here,
1935 around the startup_inferior call, and call that one with
1936 START_INFERIOR_TRAPS_EXPECTED.
1938 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
1939 (ILL_RPC): ... new macro.
1940 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
1941 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
1942 (do_mach_notify_send_once, S_proc_setmsgport_reply)
1943 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
1944 functions with ILL_RPC macro.
1945 (S_proc_pid2task_reply, S_proc_task2pid_reply)
1946 (S_proc_task2proc_reply, S_proc_proc2task_reply)
1947 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
1948 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
1949 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
1950 (S_proc_getlogin_reply, S_proc_getsid_reply)
1951 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
1952 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
1953 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
1954 (S_proc_getnports_reply, S_proc_is_important_reply)
1955 (S_proc_get_code_reply): New stub functions, generated with
1958 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
1959 collected the type check structures.
1961 * reply_mig_hack.awk: Don't expect to see the auto keyword.
1963 2014-02-14 Doug Evans <dje@google.com>
1965 * target.c (target_write_partial): Fix result type.
1967 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
1969 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
1970 the proper offsets to access fpregset_t.
1972 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
1974 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
1975 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
1976 * h8300-tdep.c (setmachinelist): Remove global.
1977 * hppa-tdep.c (hppa_sigtramp): Remove global.
1978 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
1979 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
1980 * ravenscar-thread.c (update_target_observer): Remove global.
1981 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
1983 2014-02-12 Tom Tromey <tromey@redhat.com>
1985 * common/rsp-low.c: Update comments.
1986 * common/rsp-low.h: Update comments.
1988 2014-02-12 Tom Tromey <tromey@redhat.com>
1990 * common/rsp-low.c (convert_ascii_to_int): Remove.
1991 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
1993 2014-02-12 Tom Tromey <tromey@redhat.com>
1995 * common/rsp-low.h (unhexify): Don't declare.
1996 * common/rsp-low.c (unhexify): Remove.
1998 2014-02-12 Tom Tromey <tromey@redhat.com>
2000 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
2001 * common/rsp-low.c (convert_int_to_ascii): Remove.
2003 2014-02-12 Tom Tromey <tromey@redhat.com>
2005 * common/rsp-low.h (hexify): Don't declare.
2006 * common/rsp-low.c (hexify): Remove.
2008 2014-02-12 Tom Tromey <tromey@redhat.com>
2010 * common/rsp-low.c (hexify): Never take strlen of argument.
2012 2014-02-12 Tom Tromey <tromey@redhat.com>
2014 * common/rsp-low.c (bin2hex): Never take strlen of argument.
2015 * remote.c (extended_remote_run, remote_rcmd)
2016 (remote_download_trace_state_variable, remote_save_trace_data)
2017 (remote_set_trace_notes): Update.
2018 * tracepoint.c (encode_source_string, tfile_write_status)
2019 (tfile_write_uploaded_tsv): Update.
2021 2014-02-12 Tom Tromey <tromey@redhat.com>
2023 * tracepoint.c: Include rsp-low.h.
2024 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
2025 * remote.c: Include rsp-low.h.
2026 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
2027 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
2028 (remote_unescape_input): Move to common/rsp-low.c.
2029 * common/rsp-low.h: New file.
2030 * common/rsp-low.c: New file.
2031 * Makefile.in (SFILES): Add common/rsp-low.c.
2032 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
2033 (COMMON_OBS): Add rsp-low.o.
2034 (rsp-low.o): New target.
2036 2014-02-12 Tom Tromey <tromey@redhat.com>
2038 * utils.h: Include print-utils.h.
2039 (host_address_to_string, plongest, pulongest, phex, phex_nz)
2040 (int_string, core_addr_to_string, core_addr_to_string_nz)
2041 (hex_string, hex_string_custom): Don't declare.
2042 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2043 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2044 (hex_string_custom, int_string, core_addr_to_string)
2045 (core_addr_to_string_nz, host_address_to_string): Move to
2046 common/print-utils.c.
2047 * common/print-utils.h: New file.
2048 * common/print-utils.c: New file
2049 * Makefile.in (SFILES): Add common/print-utils.c.
2050 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2051 (COMMON_OBS): Add print-utils.o.
2052 (print-utils.o): New target.
2054 2014-02-12 Tom Tromey <tromey@redhat.com>
2056 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2058 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2060 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2062 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2064 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2065 if a PT_IO ptrace request returns sucessfully but indicates that 0
2066 bytes were transferred.
2068 2014-02-12 Pedro Alves <palves@redhat.com>
2069 Kevin Buettner <kevinb@redhat.com>
2071 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2072 TYPE_INSTANCE_FLAG_CODE_SPACE.
2074 2014-02-12 Pedro Alves <palves@redhat.com>
2076 * h8300-tdep.c (pseudo_from_raw_register)
2077 (raw_from_pseudo_register): New functions.
2078 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2081 2014-02-12 Pedro Alves <palves@redhat.com>
2083 * h8300-tdep.c (h8300_register_sim_regno): New function.
2084 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2085 gdbarch_register_sim_regno hook.
2087 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2089 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2091 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2093 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2095 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2097 * obsd-tdep.h (obsd_init_abi): New prototype.
2098 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2099 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2100 (obsd_init_abi): New functions.
2101 * i386obsd-tdep.c: Include "obsd-tdep.h".
2102 (i386obsd_init_abi): Call obsd_init_abi.
2103 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2104 (amd64obsd_init_abi): Call obsd_init_abi.
2105 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2106 obsd-tdep.c to gdb_target_obs.
2108 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2110 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2111 double float arguments to 16-byte in the argument slots.
2113 2014-02-11 Doug Evans <xdje42@gmail.com>
2115 * configure.ac: Don't crash if pkg-config is not found and guile
2116 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2118 * configure: Regenerate.
2120 2014-02-11 Yao Qi <yao@codesourcery.com>
2122 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2123 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2124 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2125 * gnu-nat.c (gnu_xfer_memory): Likewise.
2126 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2127 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2128 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2129 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2131 2014-02-11 Yao Qi <yao@codesourcery.com>
2133 * target.h (enum target_xfer_error): Rename to ...
2134 (enum target_xfer_status): ... it. New. All users updated.
2135 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2137 (TARGET_XFER_STATUS_ERROR_P): New macro.
2138 (target_xfer_error_to_string): Remove declaration.
2139 (target_xfer_status_to_string): Declare.
2140 (target_xfer_partial_ftype): Adjust it.
2141 (struct target_ops) <to_xfer_partial>: Return
2142 target_xfer_status. Add argument xfered_len. Update
2144 * target.c (target_xfer_error_to_string): Rename to ...
2145 (target_xfer_status_to_string): ... it. New. All callers
2147 (target_read_live_memory): Likewise. Call target_xfer_partial
2148 instead of target_read.
2149 (memory_xfer_live_readonly_partial): Return
2150 target_xfer_status. Add argument xfered_len.
2151 (raw_memory_xfer_partial): Likewise.
2152 (memory_xfer_partial_1): Likewise.
2153 (memory_xfer_partial): Likewise.
2154 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2155 properly. Update debug message.
2156 (default_xfer_partial, current_xfer_partial): Likewise.
2157 (target_write_partial): Likewise.
2158 (target_read_partial): Likewise. All callers updated.
2159 (read_whatever_is_readable): Likewise.
2160 (target_write_with_progress): Likewise.
2161 (target_read_alloc_1): Likewise.
2163 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2164 * auxv.c (procfs_xfer_auxv): Likewise.
2165 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2166 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2167 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2168 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2169 * corefile.c (read_memory): Adjust.
2170 * corelow.c (core_xfer_partial): Likewise.
2171 * ctf.c (ctf_xfer_partial): Likewise.
2172 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2174 (darwin_xfer_partial): Likewise.
2175 * exec.c (section_table_xfer_memory_partial): Likewise. All
2177 (exec_xfer_partial): Likewise.
2178 * exec.h (section_table_xfer_memory_partial): Update
2180 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2182 (gnu_xfer_partial): Likewise.
2183 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2184 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2185 (ia64_hpux_xfer_solib_got): Likewise.
2186 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2187 type of 'partial_len' to ULONGEST.
2188 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2189 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2190 (linux_nat_xfer_partial): Likewise.
2191 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2192 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2193 * monitor.c (monitor_xfer_memory): Likewise.
2194 (monitor_xfer_partial): Likewise.
2195 * procfs.c (procfs_xfer_partial): Likewise.
2196 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2197 * record-full.c (record_full_xfer_partial): Likewise.
2198 (record_full_core_xfer_partial): Likewise.
2199 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2200 (gdbsim_xfer_partial): Likewise.
2201 * remote.c (remote_write_bytes_aux): Likewise. All callers
2203 (remote_write_bytes, remote_read_bytes): Likewise. All
2205 (remote_flash_erase): Likewise. All callers updated.
2206 (remote_write_qxfer): Likewise. All callers updated.
2207 (remote_read_qxfer): Likewise. All callers updated.
2208 (remote_xfer_partial): Likewise.
2209 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2210 (rs6000_xfer_shared_libraries): Likewise.
2211 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2212 (sol_thread_xfer_partial): Likewise.
2213 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2214 (sparc_xfer_partial): Likewise.
2215 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2217 (spu_xfer_partial): Likewise.
2218 * spu-multiarch.c (spu_xfer_partial): Likewise.
2219 * tracepoint.c (tfile_xfer_partial): Likewise.
2220 * windows-nat.c (windows_xfer_memory): Likewise.
2221 (windows_xfer_shared_libraries): Likewise.
2222 (windows_xfer_partial): Likewise.
2223 * valprint.c: Replace 'target_xfer_error' with
2224 'target_xfer_status' in comments.
2226 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2228 Checked in by Joel Brobecker <brobecker@adacore.com>.
2229 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2231 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2233 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2234 function parameters.
2236 2014-02-10 Will Newton <will.newton@linaro.org>
2238 * elfread.c (elf_rel_plt_read): Look for a .got section if
2239 looking up .got.plt fails.
2240 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2241 on address passed to elf_gnu_ifunc_record_cache.
2242 (elf_gnu_ifunc_resolve_addr): Likewise.
2243 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2245 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2247 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2248 (X_RETTURN): New macro.
2249 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2251 * sparc64-tdep.c (sparc64_init_abi): Hook
2252 sparc_in_function_epilogue_p.
2254 2014-02-10 Gary Benson <gbenson@redhat.com>
2256 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2257 Rename name_matcher to symbol_matcher.
2259 2014-02-10 Gary Benson <gbenson@redhat.com>
2261 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2262 Use expand_symtabs_file_matcher_ftype and
2263 expand_symtabs_symbol_matcher_ftype.
2265 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2267 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2268 (struct ada_symbol_cache): New.
2269 (ada_free_symbol_cache): Forward declare.
2270 (struct ada_pspace_data): New.
2271 (ada_pspace_data_handle): New static global.
2272 (get_ada_pspace_data, ada_pspace_data_cleanup)
2273 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2274 (cache_space, cache): Delete, now folded inside struct
2276 (ada_get_symbol_cache): New function.
2277 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2279 (_initialize_ada_language): Remove initialization of cache_space.
2280 Move call to observer_attach_inferior_exit up, grouping it
2281 with the other observer registrations inside this function.
2282 Rename command to be more general. Add call to
2283 register_program_space_data_with_cleanup.
2285 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2287 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2288 ada_new_objfile_observer.
2289 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2290 (_initialize_tasks): Update uses of ada_new_objfile_observer
2291 and ada_tasks_normal_stop_observer.
2293 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2295 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2296 returned by the 'Length attribute to integer.
2298 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2300 * ada-lang.c (_initialize_ada_language): Initialize
2301 cache_space obstack.
2303 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2305 * ada-lang.c (HASH_SIZE): New macro.
2306 (struct cache_entry): New type.
2307 (cache_space, cache): New static globals.
2308 (ada_clear_symbol_cache, find_entry): New functions.
2309 (lookup_cached_symbol, cache_symbol): Implement.
2310 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2311 (_initialize_ada_language): Attach ada_new_objfile_observer
2312 and ada_free_objfile_observer.
2314 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2316 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
2317 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
2318 struct block * parameter.
2319 (ada_lookup_symbol_list_worker): Constify local variable "block".
2320 Remove cast which is no longer necessary.
2322 2014-02-10 Doug Evans <xdje42@gmail.com>
2324 Add Guile as an extension language.
2325 * NEWS: Mention Guile scripting.
2326 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
2327 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
2328 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
2329 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
2330 (CLIBS): Add GUILE_LIBS.
2331 (install-guile): New rule.
2332 (guile.o): New rule.
2333 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
2334 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
2335 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
2336 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
2337 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
2338 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
2339 (scm-type.o, scm-utils.o, scm-value.o): New rules.
2340 * configure.ac: New option --with-guile.
2341 * configure: Regenerate.
2342 * config.in: Regenerate.
2343 * auto-load.c: Remove #include "python/python.h". Add #include
2344 "gdb/section-scripts.h".
2345 (source_section_scripts): Handle Guile scripts.
2346 (_initialize_auto_load): Add name of Guile objfile script to
2347 scripts-directory help text.
2348 * breakpoint.c (condition_command): Tweak comment to include Scheme.
2349 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
2350 (struct breakpoint): New member scm_bp_object.
2351 * defs.h (enum command_control_type): New value guile_control.
2352 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
2354 (show_user): Update comment.
2355 (_initialize_cli_cmds): Update help text for "show user". Update help
2356 text for max-user-call-depth.
2357 * cli/cli-script.c: Remove #include "python/python.h". Add #include
2359 (multi_line_command_p): Add guile_control.
2360 (print_command_lines): Handle guile_control.
2361 (execute_control_command, recurse_read_control_structure): Ditto.
2362 (process_next_line): Recognize "guile" commands.
2363 * disasm.c (gdb_disassemble_info): Make non-static.
2364 * disasm.h: #include "dis-asm.h".
2365 (struct gdbarch): Add forward decl.
2366 (gdb_disassemble_info): Declare.
2367 * extension.c: #include "guile/guile.h".
2368 (extension_languages): Add guile.
2369 (get_ext_lang_defn): Handle EXT_LANG_GDB.
2370 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
2371 * gdbtypes.c (get_unsigned_type_max): New function.
2372 (get_signed_type_minmax): New function.
2373 * gdbtypes.h (get_unsigned_type_max): Declare.
2374 (get_signed_type_minmax): Declare.
2375 * guile/README: New file.
2376 * guile/guile-internal.h: New file.
2377 * guile/guile.c: New file.
2378 * guile/guile.h: New file.
2379 * guile/scm-arch.c: New file.
2380 * guile/scm-auto-load.c: New file.
2381 * guile/scm-block.c: New file.
2382 * guile/scm-breakpoint.c: New file.
2383 * guile/scm-disasm.c: New file.
2384 * guile/scm-exception.c: New file.
2385 * guile/scm-frame.c: New file.
2386 * guile/scm-gsmob.c: New file.
2387 * guile/scm-iterator.c: New file.
2388 * guile/scm-lazy-string.c: New file.
2389 * guile/scm-math.c: New file.
2390 * guile/scm-objfile.c: New file.
2391 * guile/scm-ports.c: New file.
2392 * guile/scm-pretty-print.c: New file.
2393 * guile/scm-safe-call.c: New file.
2394 * guile/scm-string.c: New file.
2395 * guile/scm-symbol.c: New file.
2396 * guile/scm-symtab.c: New file.
2397 * guile/scm-type.c: New file.
2398 * guile/scm-utils.c: New file.
2399 * guile/scm-value.c: New file.
2400 * guile/lib/gdb.scm: New file.
2401 * guile/lib/gdb/boot.scm: New file.
2402 * guile/lib/gdb/experimental.scm: New file.
2403 * guile/lib/gdb/init.scm: New file.
2404 * guile/lib/gdb/iterator.scm: New file.
2405 * guile/lib/gdb/printing.scm: New file.
2406 * guile/lib/gdb/types.scm: New file.
2407 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
2408 (VPATH): Add $(GUILE_SRCDIR).
2409 (GUILE_DIR): New variable.
2410 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
2411 (all): Add stamp-guile dependency.
2412 (stamp-guile): New rule.
2413 (clean-guile, install-guile, uninstall-guile): New rules.
2414 (install-only): Add install-guile dependency.
2415 (uninstall): Add uninstall-guile dependency.
2416 (clean): Add clean-guile dependency.
2418 2014-02-09 Doug Evans <xdje42@gmail.com>
2420 Revert this patch (which I approved, mea culpa).
2422 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2424 * Makefile.in (all-lib): Remove.
2425 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2427 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2429 Fix Python stack corruption.
2430 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
2433 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2435 * Makefile.in (all-lib): Remove.
2436 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2438 2014-02-07 Doug Evans <dje@google.com>
2440 * extension-priv.h (extension_language_script_ops): Add comment.
2441 (extension_language_ops): Add comment.
2442 (active_ext_lang_state): Fix typo in comment.
2444 2014-02-07 Pedro Alves <palves@redhat.com>
2446 * infrun.c (handle_signal_stop) <signal arrives while stepping
2447 over a breakpoint>: Switch back to the stepping thread.
2449 2014-02-07 Yao Qi <yao@codesourcery.com>
2451 * target.c (target_xfer_partial): Return zero if LEN is zero.
2453 2014-02-07 Yao Qi <yao@codesourcery.com>
2455 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
2456 (ld_so_xfer_auxv): Likewise.
2457 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2458 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2459 * corelow.c (core_xfer_partial): Likewise.
2460 * ctf.c (ctf_xfer_partial): Likewise.
2461 * darwin-nat.c (darwin_read_dyld_info): Likewise.
2462 (darwin_xfer_partial): Likewise.
2463 * exec.c (exec_xfer_partial): Likewise.
2464 * gnu-nat.c (gnu_xfer_partial): Likewise.
2465 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
2466 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2467 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2468 * linux-nat.c (linux_xfer_siginfo): Likewise.
2469 (linux_proc_xfer_spu): Likewise.
2470 * procfs.c (procfs_xfer_partial): Likewise.
2471 * record-full.c (record_full_xfer_partial): Likewise.
2472 (record_full_core_xfer_partial): Likewise.
2473 * remote-sim.c (gdbsim_xfer_partial): Likewise.
2474 * remote.c (remote_write_qxfer): Likewise.
2475 (remote_write_qxfer, remote_read_qxfer): Likewise.
2476 (remote_xfer_partial): Likewise.
2477 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2478 (rs6000_xfer_shared_libraries): Likewise.
2479 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2480 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2481 (spu_xfer_partial): Likewise.
2482 * target.c (memory_xfer_partial_1): Likewise.
2483 * tracepoint.c (tfile_xfer_partial): Likewise.
2484 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
2485 (windows_xfer_partial): Likewise.
2487 2014-02-07 Yao Qi <yao@codesourcery.com>
2489 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
2491 (core_xfer_shared_libraries_aix): Likewise.
2492 * gdbarch.c, gdbarch.h: Regenerated.
2493 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
2494 ULONGEST. Change 'len_avail' type to ULONGEST.
2495 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
2496 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
2498 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
2500 2014-02-07 Yao Qi <yao@codesourcery.com>
2502 * corefile.c (memory_error): Get 'exception' from ERR and pass
2503 'exception' to throw_error.
2505 2014-02-06 Doug Evans <xdje42@gmail.com>
2507 * configure.ac (libpython checking): Remove all but python.o from
2508 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
2509 * configure: Regenerate.
2511 * Makefile.in (SFILES): Add extension.c.
2512 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
2513 (COMMON_OBS): Add extension.o.
2514 * extension.h: New file.
2515 * extension-priv.h: New file.
2516 * extension.c: New file.
2518 * python/python-internal.h: #include "extension.h".
2519 (gdbpy_auto_load_enabled): Declare.
2520 (gdbpy_apply_val_pretty_printer): Declare.
2521 (gdbpy_apply_frame_filter): Declare.
2522 (gdbpy_preserve_values): Declare.
2523 (gdbpy_breakpoint_cond_says_stop): Declare.
2524 (gdbpy_breakpoint_has_cond): Declare.
2525 (void source_python_script_for_objfile): Delete.
2526 * python/python.c: #include "extension-priv.h".
2527 Delete inclusion of "observer.h".
2528 (extension_language_python): Moved here and renamed from
2529 script_language_python in py-auto-load.c.
2530 Redefined to be of type extension_language_defn.
2531 (python_extension_script_ops): New global.
2532 (python_extension_ops): New global.
2533 (struct python_env): New member previous_active.
2534 (restore_python_env): Call restore_active_ext_lang.
2535 (ensure_python_env): Call set_active_ext_lang.
2536 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
2538 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
2540 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
2542 (gdbpy_eval_from_control_command): Renamed from
2543 eval_python_from_control_command, made static. New arg extlang.
2544 (gdbpy_source_script) Renamed from source_python_script, made static.
2546 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
2547 result to int. New arg extlang.
2548 (gdbpy_source_objfile_script): Renamed from
2549 source_python_script_for_objfile, made static. New arg extlang.
2550 (gdbpy_start_type_printers): Renamed from start_type_printers, made
2551 static. New args extlang, extlang_printers. Change result type to
2553 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
2554 static. New arg extlang. Rename arg printers to extlang_printers
2555 and change type to ext_lang_type_printers *.
2556 (gdbpy_free_type_printers): Renamed from free_type_printers, made
2557 static. Replace argument arg with extlang, extlang_printers.
2558 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
2559 (!HAVE_PYTHON, source_python_script): Delete.
2560 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
2561 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
2562 (!HAVE_PYTHON, start_type_printers): Delete.
2563 (!HAVE_PYTHON, apply_type_printers): Delete.
2564 (!HAVE_PYTHON, free_type_printers): Delete.
2565 (_initialize_python): Delete call to observer_attach_before_prompt.
2566 (finalize_python): Set/restore active extension language.
2567 (gdbpy_finish_initialization) Renamed from
2568 finish_python_initialization, made static. New arg extlang.
2569 (gdbpy_initialized): New function.
2570 * python/python.h: #include "extension.h". Delete #include
2571 "value.h", "mi/mi-cmds.h".
2572 (extension_language_python): Declare.
2573 (GDBPY_AUTO_FILE_NAME): Delete.
2574 (enum py_bt_status): Moved to extension.h and renamed to
2576 (enum frame_filter_flags): Moved to extension.h.
2577 (enum py_frame_args): Moved to extension.h and renamed to
2578 ext_lang_frame_args.
2579 (finish_python_initialization): Delete.
2580 (eval_python_from_control_command): Delete.
2581 (source_python_script): Delete.
2582 (apply_val_pretty_printer): Delete.
2583 (apply_frame_filter): Delete.
2584 (preserve_python_values): Delete.
2585 (gdbpy_script_language_defn): Delete.
2586 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
2587 (start_type_printers, apply_type_printers, free_type_printers): Delete.
2589 * auto-load.c: #include "extension.h".
2590 (GDB_AUTO_FILE_NAME): Delete.
2591 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
2592 (script_language_gdb): Delete, moved to extension.c and renamed to
2593 extension_language_gdb.
2594 (source_gdb_script_for_objfile): Delete.
2595 (auto_load_pspace_info): New member unsupported_script_warning_printed.
2596 (loaded_script): Change type of language member to
2597 struct extension_language_defn *.
2598 (init_loaded_scripts_info): Initialize
2599 unsupported_script_warning_printed.
2600 (maybe_add_script): Make static. Change type of language arg to
2601 struct extension_language_defn *.
2602 (clear_section_scripts): Reset unsupported_script_warning_printed.
2603 (auto_load_objfile_script_1): Rewrite to use extension language API.
2604 (auto_load_objfile_script): Make public. Remove support-compiled-in
2605 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
2606 (source_section_scripts): Rewrite to use extension language API.
2607 (load_auto_scripts_for_objfile): Rewrite to use
2608 auto_load_scripts_for_objfile.
2609 (collect_matching_scripts_data): Change type of language member to
2610 struct extension_language_defn *.
2611 (auto_load_info_scripts): Change type of language arg to
2612 struct extension_language_defn *.
2613 (unsupported_script_warning_print): New function.
2614 (script_not_found_warning_print): Make static.
2615 (_initialize_auto_load): Rewrite construction of scripts-directory
2617 * auto-load.h (struct objfile): Add forward decl.
2618 (struct script_language): Delete.
2619 (struct auto_load_pspace_info): Add forward decl.
2620 (struct extension_language_defn): Add forward decl.
2621 (maybe_add_script): Delete.
2622 (auto_load_objfile_script): Declare.
2623 (script_not_found_warning_print): Delete.
2624 (auto_load_info_scripts): Update prototype.
2625 (auto_load_gdb_scripts_enabled): Declare.
2626 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
2627 auto_load_python_scripts_enabled and made public.
2628 (script_language_python): Delete, moved to python.c.
2629 (gdbpy_script_language_defn): Delete.
2630 (info_auto_load_python_scripts): Update to use
2631 extension_language_python.
2633 * breakpoint.c (condition_command): Replace call to
2634 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
2635 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
2636 with call to breakpoint_ext_lang_cond_says_stop.
2637 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
2638 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
2639 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
2640 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
2642 (local_setattro): Print name of extension language with existing
2645 * valprint.c (val_print, value_print): Update to call
2646 apply_ext_lang_val_pretty_printer.
2647 * cp-valprint.c (cp_print_value): Update call to
2648 apply_ext_lang_val_pretty_printer.
2649 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
2650 (gdbpy_apply_val_pretty_printer): Renamed from
2651 apply_val_pretty_printer. New arg extlang.
2652 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
2654 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
2655 extension language API.
2656 * cli/cli-script.c (execute_control_command): Update to call
2657 eval_ext_lang_from_control_command.
2659 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
2660 enum ext_lang_bt_status values. Update call to
2661 apply_ext_lang_frame_filter.
2662 (mi_cmd_stack_list_locals): Ditto.
2663 (mi_cmd_stack_list_args): Ditto.
2664 (mi_cmd_stack_list_variables): Ditto.
2665 * mi/mi-main.c: Delete #include "python/python-internal.h".
2666 Add #include "extension.h".
2667 (mi_cmd_list_features): Replace reference to python internal variable
2668 gdb_python_initialized with call to ext_lang_initialized_p.
2670 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
2671 Update to use enum ext_lang_frame_args. Update to call
2672 apply_ext_lang_frame_filter.
2673 * python/py-framefilter.c (extract_sym): Update to use enum
2675 (extract_value, py_print_type, py_print_value): Ditto.
2676 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
2677 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
2678 (py_print_frame): Ditto.
2679 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
2680 New arg extlang. Update to use enum ext_lang_bt_status.
2682 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
2683 finish_python_initialization. Replace with call to
2684 finish_ext_lang_initialization.
2686 * typeprint.c (do_free_global_table): Update to call
2687 free_ext_lang_type_printers.
2688 (create_global_typedef_table): Update to call
2689 start_ext_lang_type_printers.
2690 (find_global_typedef): Update to call apply_ext_lang_type_printers.
2691 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
2692 (type_print_options): Change type of global_printers from "void *"
2693 to "struct ext_lang_type_printers *".
2695 * value.c (preserve_values): Update to call preserve_ext_lang_values.
2696 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
2697 (gdbpy_preserve_values): Renamed from preserve_python_values.
2699 (!HAVE_PYTHON, preserve_python_values): Delete.
2701 * utils.c (quit_flag): Delete, moved to extension.c.
2702 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
2705 * eval.c: Delete #include "python/python.h".
2706 * main.c: Delete #include "python/python.h".
2708 * defs.h: Update comment.
2710 2014-02-06 Joel Brobecker <brobecker@adacore.com>
2714 2014-02-05 Mark Kettenis <kettenis@gnu.org>
2716 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
2719 2014-02-05 Yao Qi <yao@codesourcery.com>
2721 * remote.c (remote_pass_signals): Remove local 'buf' and use
2723 (remote_program_signals): Likewise.
2725 2014-02-05 Yao Qi <yao@codesourcery.com>
2727 * ctf.c: Include "inferior.h" and "gdbthread.h".
2728 (CTF_PID): A new macro.
2729 (ctf_open): Call inferior_appeared and add_thread_silent.
2730 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
2731 (ctf_thread_alive): New function.
2732 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
2734 2014-02-05 Yao Qi <yao@codesourcery.com>
2738 2013-05-24 Yao Qi <yao@codesourcery.com>
2740 * tracepoint.c (TFILE_PID): Remove.
2741 (tfile_open): Don't add thread and inferior.
2742 (tfile_close): Don't set 'inferior_ptid'. Don't call
2743 exit_inferior_silent.
2744 (tfile_thread_alive): Remove.
2745 (init_tfile_ops): Don't set field 'to_thread_alive' of
2748 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
2750 * remote.c (remote_start_remote): Call remote_check_symbols even
2751 if only symbol-file (not file) has been given.
2753 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2755 * gdbarch.sh (skip_entrypoint): New callback.
2756 * gdbarch.c, gdbarch.h: Regenerate.
2757 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
2758 * infrun.c (fill_in_stop_func): Likewise.
2759 * ppc-linux-tdep.c: Include "elf/ppc64.h".
2760 (ppc_elfv2_elf_make_msymbol_special): New function.
2761 (ppc_elfv2_skip_entrypoint): Likewise.
2762 (ppc_linux_init_abi): Install them for ELFv2.
2764 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2766 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
2767 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
2768 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
2769 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
2770 structures returned in GPRs.
2772 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2774 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
2775 offset to the stack parameter list for the ELFv2 ABI.
2777 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2779 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
2780 set_gdbarch_convert_from_func_ptr_addr and
2781 set_gdbarch_elf_make_msymbol_special for ELFv1.
2782 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
2783 function descriptors on ELFv1.
2784 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
2785 set up r12 at function entry.
2787 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2789 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
2790 (struct gdbarch_tdep): New member elf_abi.
2792 * rs6000-tdep.c: Include "elf/ppc64.h".
2793 (rs6000_gdbarch_init): Detect ELF ABI version.
2795 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2797 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
2798 within a register pair holding a DFP 128-bit value on little-endian.
2799 (ppc64_sysv_abi_return_value_base): Likewise.
2800 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
2801 (dfp_pseudo_register_write): Likewise.
2803 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2805 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
2806 offset on little-endian when passing _Decimal32.
2807 (ppc64_sysv_abi_return_value_base): Likewise for return values.
2809 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2811 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
2812 of the overlapped FP register within the VSX register on little-
2814 (efpr_pseudo_register_write): Likewise.
2816 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2818 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
2819 offset on little-endian when passing small structures.
2821 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2823 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
2824 (struct ppc64_sysv_argpos): New data structure.
2825 (ppc64_sysv_abi_push_float): Remove.
2826 (ppc64_sysv_abi_push_val): New function.
2827 (ppc64_sysv_abi_push_integer): Likewise.
2828 (ppc64_sysv_abi_push_freg): Likewise.
2829 (ppc64_sysv_abi_push_vreg): Likewise.
2830 (ppc64_sysv_abi_push_param): Likewise.
2831 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
2832 (ppc64_sysv_abi_return_value_base): New function.
2833 (ppc64_sysv_abi_return_value): Refactor to use it.
2835 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2837 * NEWS: Document new target powerpc64le-*-linux*.
2839 2014-02-04 Mark Kettenis <kettenis@gnu.org>
2841 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
2842 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
2844 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
2845 register set used in ELF core dumps. Add floating-point register set.
2847 2014-02-03 Kevin Buettner <kevinb@redhat.com>
2849 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
2850 dwarf2_to_gdb[] table using symbolic constants. Adjust
2851 penultimate entry from number representing the PC register
2852 to symbolic constant representing the MDR register. Add
2853 constant for the PC register to the end of the table.
2855 2014-02-03 Mark Kettenis <kettenis@gnu.org>
2857 * bsd-kvm.c: Include <sys/param.h>
2859 2014-02-03 Mark Kettenis <kettenis@gnu.org>
2861 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
2863 2014-01-31 Joel Brobecker <brobecker@adacore.com>
2865 * ada-lang.h (clear_ada_sym_cache): Delete.
2867 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
2869 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
2871 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2873 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
2874 the sigreturn register save area only if the syscall is
2877 2014-01-29 Joel Brobecker <brobecker@adacore.com>
2879 * valops.c (value_slice): Minor reformatting.
2881 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
2883 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
2885 2014-01-28 Joel Brobecker <brobecker@adacore.com>
2887 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
2889 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
2890 (ada_ignore_descriptive_types_p): New static global.
2891 (find_parallel_type_by_descriptive_type): Return immediately
2892 if ada_ignore_descriptive_types_p is set.
2893 (_initialize_ada_language): Register new commands "maintenance
2894 set ada", "maintenance show ada", "maintenance set ada
2895 ignore-descriptive-types" and "maintenance show ada
2896 ignore-descriptive-types".
2897 * NEWS: Add entry for new "maint ada set/show
2898 ignore-descriptive-types" commands.
2900 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
2902 * record-btrace.c (record_btrace_close): Call btrace_teardown
2905 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2907 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
2910 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2912 * ada-typeprint (type_is_full_subrange_of_target_type):
2914 (print_range): Add parameter bounds_prefered_p. If not set,
2915 try printing range types using the name of their base type.
2916 (print_range_type): Add parameter bounds_prefered_p.
2917 Use it in call to print_range.
2918 (print_array_type, ada_print_type): Update calls to print_range
2919 and print_range_type.
2921 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2923 * ada-typeprint.c (print_array_type, print_choices, print_range)
2924 (print_range_bound, print_dynamic_range_bound, print_range_type):
2927 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2929 * ada-typeprint.c (print_range): Add missing empty line
2930 after local declaration.
2932 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2934 * ada-valprint.c (print_optional_low_bound): Get index_type's
2935 target type for as long as it is a TYPE_CODE_RANGE.
2937 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2939 * procfs.c (procfs_make_note_section): Remove assertion and
2942 2014-01-24 Yao Qi <yao@codesourcery.com>
2944 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
2945 * corelow.c (get_core_siginfo): Likewise.
2947 2014-01-24 Yao Qi <yao@codesourcery.com>
2949 * remote.c (remote_write_bytes_aux): Change type of 'len' to
2950 ULONGEST. Don't check 'len' is negative.
2951 (remote_write_bytes): Change type of 'len' to ULONGEST.
2953 2014-01-23 Tom Tromey <tromey@redhat.com>
2956 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
2957 Handle exception from frame.block.
2958 (FrameVars.fetch_frame_locals): Likewise.
2960 2014-01-23 Tom Tromey <tromey@redhat.com>
2963 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
2964 on a NULL pointer. Move "goto error" to correct place.
2966 2014-01-23 Tom Tromey <tromey@redhat.com>
2969 * python/py-framefilter.c (apply_frame_filter): Call
2970 ensure_python_env after computing gdbarch.
2972 2014-01-23 Yao Qi <yao@codesourcery.com>
2974 * target.c (raw_memory_xfer_partial): Change argument type
2975 from void * to gdb_byte *.
2976 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
2978 2014-01-22 Doug Evans <dje@google.com>
2980 New gdbserver option --debug-format=timestamp.
2983 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2985 * syscalls/s390x-linux.xml: New file.
2986 * syscalls/s390-linux.xml: New file.
2987 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
2988 (XML_SYSCALL_FILENAME_S390X): Likewise.
2989 (op_svc): New enum value for SVC opcode.
2990 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
2991 (s390_linux_get_syscall_number): New function.
2992 (s390_gdbarch_init): Register '*get_syscall_number' and the
2993 syscall xml file name.
2994 * data-directory/Makefile.in (SYSCALLS_FILES): Add
2995 "s390-linux.xml" and "s390x-linux.xml".
2996 * NEWS: Announce new feature.
2998 2014-01-22 Baruch Siach <baruch@tkos.co.il>
3000 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
3002 2014-01-22 Pedro Alves <palves@redhat.com>
3004 * xtensa-config.c: Include defs.h.
3006 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3008 * common/common-utils.h: Add "ARI:" comment beside __func__
3011 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3013 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
3014 documentation a bit.
3016 2014-01-21 Roland McGrath <mcgrathr@google.com>
3018 * configure.ac: Call AM_PROG_INSTALL_STRIP.
3019 * configure: Regenerate.
3020 * aclocal.m4: Regenerate.
3021 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
3022 New substituted variables.
3023 (install-strip): New target.
3024 (INSTALL_SCRIPT): New substituted variable.
3025 (FLAGS_TO_PASS): Add it.
3026 (install-only): Use $(INSTALL_SCRIPT) rather than
3027 $(INSTALL_PROGRAM) for gcore.
3029 2014-01-20 Tom Tromey <tromey@redhat.com>
3031 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
3034 2014-01-20 Tom Tromey <tromey@redhat.com>
3036 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
3037 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
3038 (deprecated_cmd_warning, complete_on_cmdlist): Update.
3039 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
3040 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3041 (struct cmd_list_element) <flags>: Remove.
3042 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3043 doc_allocated>: New fields.
3044 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3046 * maint.c (maintenance_do_deprecate): Update.
3047 * top.c (execute_command): Update.
3049 2014-01-20 Baruch Siach <baruch@tkos.co.il>
3051 * xtensa-linux-nat.c: Include asm/ptrace.h.
3053 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3055 * Makefile.in (SFILES): Add d-support.c.
3056 (COMMON_OBS): Add d-support.o.
3057 * d-lang.h (d_parse_symbol): Add comment, now defined in
3059 * d-lang.c (parse_call_convention)
3060 (parse_attributes, parse_function_types)
3061 (parse_function_args, parse_type, parse_identifier)
3062 (call_convention_p, d_parse_symbol): Move functions to ...
3063 * d-support.c: ... New file.
3065 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3067 * d-lang.h (d_parse_symbol): Add declaration.
3068 * d-lang.c (extract_identifiers)
3069 (extract_type_info): Remove functions.
3070 (parse_call_convention, parse_attributes)
3071 (parse_function_types, parse_function_args)
3072 (parse_type, parse_identifier, call_convention_p)
3073 (d_parse_symbol): New functions.
3074 (d_demangle): Use d_parse_symbol to demangle D symbols.
3076 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3078 * d-lang.h (struct builtin_d_type): New data type.
3079 (builtin_d_type): Add declaration.
3080 * d-lang.c (d_language_arch_info, build_d_types)
3081 (builtin_d_type): New functions.
3082 (enum d_primitive_types): New data type.
3083 (d_language_defn): Change c_language_arch_info to
3084 d_language_arch_info.
3085 (d_type_data): New static variable.
3086 (_initialize_d_language): Initialize d_type_data.
3088 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3090 * d-lang.h (d_main_name): Add declaration.
3091 * d-lang.c (d_main_name): New function.
3092 * symtab.c (find_main_name): Add call to d_main_name.
3094 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3096 * d-lang.c (d_language_defn): Change macro_expansion_c to
3099 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3101 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3103 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3105 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3106 gdb_exception" declaration.
3107 * remote.c (getpkt_or_notif_sane): Likewise.
3109 2014-01-17 Doug Evans <dje@google.com>
3111 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3112 function, contents of dirnames_to_char_ptr_vec_append moved here.
3113 (delim_string_to_char_ptr_vec): New function.
3114 (dirnames_to_char_ptr_vec_append): Rewrite.
3115 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3117 2014-01-17 Doug Evans <dje@google.com>
3119 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3121 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3122 #include "common-utils.h".
3123 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3124 * common/vec.h (VEC_ASSERT_PASS): Update.
3125 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3126 (MACH_CHECK_ERROR): Update.
3128 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3130 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3132 * gdbarch.h: Regenerate.
3134 2014-01-16 Tom Tromey <tromey@redhat.com>
3136 * value.c (struct value) <regnum>: Move earlier.
3138 2014-01-16 Tom Tromey <tromey@redhat.com>
3140 * remote.c (extended_remote_create_inferior): Rename from
3141 extended_remote_create_inferior_1. Add "ops" argument. Remove
3144 2014-01-16 Pedro Alves <palves@redhat.com>
3146 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3147 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3150 2014-01-16 Doug Evans <dje@google.com>
3152 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3154 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3156 * btrace.h (btrace_thread_flag): New.
3157 (struct btrace_thread_info) <flags>: New.
3158 * record-btrace.c (record_btrace_resume_thread)
3159 (record_btrace_find_thread_to_move, btrace_step_no_history)
3160 (btrace_step_stopped, record_btrace_start_replaying)
3161 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3162 (record_btrace_find_resume_thread): New.
3163 (record_btrace_resume, record_btrace_wait): Extend.
3164 (record_btrace_can_execute_reverse): New.
3165 (record_btrace_open): Fail in non-stop mode.
3166 (record_btrace_set_replay): Split into this, ...
3167 (record_btrace_stop_replaying): ... this, ...
3168 (record_btrace_clear_histories): ... and this.
3169 (init_record_btrace_ops): Init to_can_execute_reverse.
3170 * NEWS: Announce it.
3172 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3174 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3175 (forward_target_decr_pc_after_break)
3176 (target_decr_pc_after_break): New.
3177 * target.c (forward_target_decr_pc_after_break)
3178 (target_decr_pc_after_break): New.
3179 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3180 instead of gdbarch_decr_pc_after_break.
3181 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3182 instead of gdbarch_decr_pc_after_break.
3183 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3184 instead of gdbarch_decr_pc_after_break.
3185 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3186 instead of gdbarch_decr_pc_after_break.
3187 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3188 instead of gdbarch_decr_pc_after_break.
3189 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3190 instead of gdbarch_decr_pc_after_break.
3192 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3194 * btrace.c: Include regcache.h.
3195 (btrace_add_pc): New.
3196 (btrace_enable): Call btrace_add_pc.
3197 (btrace_is_empty): New.
3198 * btrace.h (btrace_is_empty): New.
3199 * record-btrace.c (require_btrace, record_btrace_info): Call
3202 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3204 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3205 Support delta reads.
3206 (linux_disable_btrace): Change return type.
3207 * common/linux-btrace.h (linux_read_btrace): Change parameters
3208 and return type to allow error reporting. Update users.
3209 (linux_disable_btrace): Change return type. Update users.
3210 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3212 (btrace_error): New.
3213 (btrace_block) <begin>: Comment on BEGIN == 0.
3214 * btrace.c (btrace_compute_ftrace): Start from the end of
3216 (btrace_stitch_trace, btrace_clear_history): New.
3217 (btrace_fetch): Read delta trace, return if replaying.
3218 (btrace_clear): Move clear history code to btrace_clear_history.
3219 (parse_xml_btrace): Throw an error if parsing failed.
3220 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3221 and return type to allow error reporting.
3222 (target_read_btrace): Change parameters and return type to allow
3224 * target.c (target_read_btrace): Update.
3225 * remote.c (remote_read_btrace): Support delta reads. Pass
3227 * NEWS: Announce it.
3229 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3231 * record.h (record_btrace_frame_unwind)
3232 (record_btrace_tailcall_frame_unwind): New declarations.
3233 * dwarf2-frame: Include record.h
3234 (dwarf2_frame_cfa): Throw an error for btrace frames.
3235 * record-btrace.c: Include hashtab.h.
3236 (btrace_get_bfun_name): New.
3237 (btrace_call_history): Call btrace_get_bfun_name.
3238 (struct btrace_frame_cache): New.
3240 (bfcache_hash, bfcache_eq, bfcache_new): New.
3241 (btrace_get_frame_function): New.
3242 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3243 (record_btrace_frame_this_id): Compute own id.
3244 (record_btrace_frame_prev_register): Provide PC, throw_error
3245 for all other registers.
3246 (record_btrace_frame_sniffer): Detect btrace frames.
3247 (record_btrace_tailcall_frame_sniffer): New.
3248 (record_btrace_frame_dealloc_cache): New.
3249 (record_btrace_frame_unwind): Add new functions.
3250 (record_btrace_tailcall_frame_unwind): New.
3251 (_initialize_record_btrace): Allocate cache.
3252 * btrace.c (btrace_clear): Call reinit_frame_cache.
3253 * NEWS: Announce it.
3255 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3257 * record-btrace.c (record_btrace_set_replay)
3258 (record_btrace_goto_begin, record_btrace_goto_end)
3259 (record_btrace_goto): New.
3260 (init_record_btrace_ops): Initialize them.
3261 * NEWS: Announce it.
3263 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3265 * record-btrace.c (record_btrace_find_new_threads)
3266 (record_btrace_thread_alive): New.
3267 (init_record_btrace_ops): Initialize to_find_new_threads and
3270 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3272 * record-btrace.c (record_btrace_resume): New.
3273 (record_btrace_wait): New.
3274 (init_record_btrace_ops): Initialize to_wait and to_resume.
3276 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3278 * record-btrace.c (record_btrace_xfer_partial)
3279 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3280 (record_btrace_allow_memory_access): New.
3281 (init_record_btrace_ops): Initialize new methods.
3282 * target.c (raw_memory_xfer_partial): Bail out if target reports
3283 that this memory is not available.
3285 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3287 * target.h (target_ops) <to_insert_breakpoint>
3288 <to_remove_breakpoint>: Add target_ops parameter.
3289 (forward_target_insert_breakpoint): New.
3290 (forward_target_remove_breakpoint): New.
3291 (memory_remove_breakpoint, memory_insert_breakpoint):
3292 Add target_ops parameter.
3293 * target.c (target_insert_breakpoint): Split into this and ...
3294 (forward_target_insert_breakpoint): ... this.
3295 (target_remove_breakpoint): Split into this and ...
3296 (forward_target_remove_breakpoint): ... this.
3297 (debug_to_insert_breakpoint): Add target_ops parameter.
3298 Call forward_target_insert_breakpoint.
3299 (debug_to_remove_breakpoint): Add target_ops parameter.
3300 Call forward_target_remove_breakpoint.
3301 (update_current_target): Do not inherit or default to_insert_breakpoint
3302 and to_remove_breakpoint.
3303 * corelow.c (ignore): Add target_ops parameter.
3304 * exec.c (ignore): Add target_ops parameter.
3305 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3306 Add target_ops parameter.
3307 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3308 Add target_ops parameter.
3309 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3310 Add target_ops parameter.
3311 * record-full.c (record_full_beneath_to_insert_breakpoint)
3312 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3313 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3314 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
3315 (record_full_core_remove_breakpoint): Add target_ops parameter.
3317 (record_full_beneath_to_insert_breakpoint_ops)
3318 (record_full_beneath_to_remove_breakpoint_ops)
3319 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
3320 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
3321 tmp_to_remove_breakpoint_ops,
3322 record_full_beneath_to_insert_breakpoint_ops, and
3323 record_full_beneath_to_remove_breakpoint_ops.
3324 * remote-m32r-sdi.c (m32r_insert_breakpoint)
3325 (m32r_remove_breakpoint): Add target_ops parameter.
3326 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
3327 Add target_ops parameter.
3328 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
3329 Add target_ops parameter.
3331 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3332 Markus Metzger <markus.t.metzger@intel.com>
3334 * record-btrace.c: Include frame-unwind.h.
3335 (record_btrace_frame_unwind_stop_reason)
3336 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
3337 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
3339 (init_record_btrace_ops): Install it.
3341 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3343 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
3346 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3348 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
3351 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3353 * frame-unwind.c: Include target.h.
3354 (frame_unwind_try_unwinder): New function with code from ...
3355 (frame_unwind_find_by_frame): ... here. New variable
3356 unwinder_from_target, call also target_get_unwinder)
3357 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
3358 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
3359 * target.h (struct target_ops): New fields to_get_unwinder and
3360 to_get_tailcall_unwinder.
3361 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
3363 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3365 * record-btrace.c (record_btrace_fetch_registers)
3366 (record_btrace_store_registers)
3367 (record_btrace_to_prepare_to_store): New.
3368 (init_record_btrace_ops): Add the above.
3370 2014-01-16 Tom Tromey <tromey@redhat.com>
3372 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
3373 * target.h (struct target_ops) <to_prepare_to_store>: Add
3375 (target_prepare_to_store): Add argument.
3376 * target.c (debug_to_prepare_to_store): Add argument.
3377 (update_current_target): Update.
3378 * remote.c (remote_prepare_to_store): Add 'self' argument.
3379 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
3380 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
3381 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
3382 * record-full.c (record_full_core_prepare_to_store): Add 'self'
3384 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
3385 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
3386 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
3387 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
3388 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
3390 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3392 * btrace.h (replay) <replay>: New.
3393 (btrace_is_replaying): New.
3394 * btrace.c (btrace_clear): Free replay iterator.
3395 (btrace_is_replaying): New.
3396 * record-btrace.c (record_btrace_is_replaying): New.
3397 (record_btrace_info): Print insn number if replaying.
3398 (record_btrace_insn_history): Start at replay position.
3399 (record_btrace_call_history): Start at replay position.
3400 (init_record_btrace_ops): Init to_record_is_replaying.
3402 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3404 * record-btrace.c (record_btrace_insn_history_range): Include
3406 (record_btrace_insn_history_from): Adjust range.
3407 (record_btrace_call_history_range): Include
3409 (record_btrace_call_history_from): Adjust range.
3410 * NEWS: Announce changes.
3412 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3414 * record.h (enum record_print_flag)
3415 <record_print_indent_calls>: New.
3416 * record.c (get_call_history_modifiers): Recognize /c modifier.
3417 (_initialize_record): Document /c modifier.
3418 * record-btrace.c (btrace_call_history): Add btinfo parameter.
3419 Reorder fields. Optionally indent the function name. Update
3421 * NEWS: Announce changes.
3423 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3425 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
3427 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3429 * btrace.c (ftrace_new_function): Start counting at one.
3430 * record-btrace.c (record_btrace_info): Adjust number of calls
3432 * NEWS: Announce it.
3434 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3436 * record-btrace.c (btrace_call_history_insn_range): Print
3437 insn range as [begin, end].
3439 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3441 * btrace.h (struct btrace_func_link): New.
3442 (enum btrace_function_flag): New.
3443 (struct btrace_inst): Rename to ...
3444 (struct btrace_insn): ...this. Update all users.
3445 (struct btrace_func) <ibegin, iend>: Remove.
3446 (struct btrace_func_link): New.
3447 (struct btrace_func): Rename to ...
3448 (struct btrace_function): ...this. Update all users.
3449 (struct btrace_function) <segment, flow, up, insn, insn_offset)
3450 (number, level, flags>: New.
3451 (struct btrace_insn_iterator): Rename to ...
3452 (struct btrace_insn_history): ...this.
3454 (struct btrace_insn_iterator, btrace_call_iterator): New.
3455 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
3456 (struct btrace_target_info) <begin, end, level>
3457 <insn_history, call_history>: New.
3458 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3459 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3460 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3461 (btrace_call_number, btrace_call_begin, btrace_call_end)
3462 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3463 (btrace_find_function_by_number, btrace_set_insn_history)
3464 (btrace_set_call_history): New.
3465 * btrace.c (btrace_init_insn_iterator)
3466 (btrace_init_func_iterator, compute_itrace): Remove.
3467 (ftrace_print_function_name, ftrace_print_filename)
3468 (ftrace_skip_file): Change
3470 (ftrace_init_func): Remove.
3471 (ftrace_debug): Use new btrace_function fields.
3472 (ftrace_function_switched): Also consider gaining and
3473 losing symbol information).
3474 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
3475 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
3476 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
3478 (ftrace_new_function): Move. Remove debug print.
3479 (ftrace_update_lines, ftrace_update_insns): New.
3480 (ftrace_update_function): Check for call, ret, and jump.
3481 (compute_ftrace): Renamed to ...
3482 (btrace_compute_ftrace): ...this. Rewritten to compute call
3484 (btrace_fetch, btrace_clear): Updated.
3485 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3486 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3487 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3488 (btrace_call_number, btrace_call_begin, btrace_call_end)
3489 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3490 (btrace_find_function_by_number, btrace_set_insn_history)
3491 (btrace_set_call_history): New.
3492 * record-btrace.c (require_btrace): Use new btrace thread
3494 (record_btrace_info, btrace_insn_history)
3495 (record_btrace_insn_history, record_btrace_insn_history_range):
3496 Use new btrace thread info fields and new iterator.
3497 (btrace_func_history_src_line): Rename to ...
3498 (btrace_call_history_src_line): ...this. Use new btrace
3500 (btrace_func_history): Rename to ...
3501 (btrace_call_history): ...this. Use new btrace thread info
3502 fields and new iterator.
3503 (record_btrace_call_history, record_btrace_call_history_range):
3504 Use new btrace thread info fields and new iterator.
3506 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3508 * frame.h (frame_id_build_unavailable_stack_special): New.
3509 * frame.c (frame_id_build_unavailable_stack_special): New.
3511 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3513 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
3514 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
3515 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
3517 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
3518 (i386_insn_is_jump, i386_jmp_p): New.
3519 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
3520 insn_is_jump to gdbarch.
3521 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
3522 * gdbarch.h: Regenerated.
3523 * gdbarch.c: Regenerated.
3524 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
3525 (default_insn_is_jump): New.
3526 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
3527 (default_insn_is_jump): New.
3529 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3531 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
3533 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
3534 (btrace_read_type) <btrace_read_new>: Change to ...
3535 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
3537 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3539 * common/linux-btrace.c (linux_read_btrace): Free trace from
3542 2014-01-15 Doug Evans <dje@google.com>
3544 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
3547 2014-01-15 Tom Tromey <tromey@redhat.com>
3549 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
3550 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
3551 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
3552 (set_objfile_main_name): New function.
3553 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
3554 language_of_main>: New fields.
3555 (set_objfile_main_name): Declare.
3556 * symtab.c (find_main_name): Loop over objfiles to find the main
3558 (set_main_name): Now static.
3559 (get_main_info): Add comment.
3560 * symtab.h (set_main_name): Don't declare.
3562 2014-01-15 Tom Tromey <tromey@redhat.com>
3564 * symtab.c (main_progspace_key): New global.
3565 (struct main_info): New.
3566 (name_of_main, language_of_main): Remove.
3567 (get_main_info, main_info_cleanup): New function.
3568 (set_main_name, main_name, main_language): Use get_main_info.
3569 (_initialize_symtab): Initialize main_progspace_key.
3571 2014-01-15 Tom Tromey <tromey@redhat.com>
3573 * dbxread.c (process_one_symbol): Update.
3574 * dwarf2read.c (read_partial_die): Update.
3575 * symfile.c (set_initial_language): Call main_language.
3576 * symtab.c (language_of_main): Now static.
3577 (set_main_name): Add 'lang' parameter.
3578 (find_main_name): Update.
3579 (main_language): New function.
3580 (symtab_observer_executable_changed): Update.
3581 * symtab.h (set_main_name): Update.
3582 (language_of_main): Remove.
3583 (main_language): Declare.
3585 2014-01-15 Tom Tromey <tromey@redhat.com>
3587 * symfile.c (init_entry_point_info): Use new "initialized" field.
3589 * objfiles.h (struct entry_point) <initialized>: New field.
3590 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
3591 (struct objfile) <ei>: ...here. Remove.
3592 * objfiles.c (entry_point_address_query): Update.
3594 2014-01-15 Tom Tromey <tromey@redhat.com>
3596 * objfiles.c (entry_point_address_query): Relocate entry point
3598 (objfile_relocate1): Do not relocate entry point address.
3599 * objfiles.h (struct entry_info) <entry_point>: Update comment.
3600 <the_bfd_section_index>: New field.
3601 * symfile.c (init_entry_point_info): Find the entry point's
3604 2014-01-15 Tom Tromey <tromey@redhat.com>
3606 * solib-frv.c (enable_break): Use entry_point_address_query.
3608 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3610 * NEWS: Add note on improved process record-replay on
3611 arm*-linux* targets.
3613 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3615 * arm-tdep.c (enum arm_record_result): New enum.
3616 (arm_record_unsupported_insn): New function.
3617 (arm_record_coproc_data_proc): Removed.
3618 (thumb2_record_ld_st_multiple): New function.
3619 (thumb2_record_ld_st_dual_ex_tbb): New function.
3620 (thumb2_record_data_proc_sreg_mimm): New function.
3621 (thumb2_record_ps_dest_generic): New function.
3622 (thumb2_record_branch_misc_cntrl): New function.
3623 (thumb2_record_str_single_data): New function.
3624 (thumb2_record_ld_mem_hints): New function.
3625 (thumb2_record_ld_word): New function.
3626 (thumb2_record_lmul_lmla_div): New function.
3627 (thumb2_record_decode_insn_handler): New function.
3628 (decode_insn): Add thumb32 instruction handlers.
3630 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3632 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
3633 (struct arm_linux_record_tdep): Declare.
3634 (arm_canonicalize_syscall): New function.
3635 (arm_all_but_pc_registers_record): New function.
3636 (arm_linux_syscall_record): New function.
3637 (arm_linux_init_abi): Add syscall recording constructs.
3638 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
3639 decoding. (arm_record_coproc_data_proc): Update arm syscall
3641 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
3642 <arm_syscall_record>: New field.
3643 * configure.tgt (arm*-*-linux*): Add linux-record.o to
3646 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3648 * arm-tdep.c (thumb_record_misc): Update to use sp as base
3649 register for push instruction recording.
3651 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3653 * arm-tdep.c (thumb_record_misc): Update to correct logical
3654 error while recording ldm, ldmia and pop instructions.
3656 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3658 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
3660 2014-01-15 Pedro Alves <palves@redhat.com>
3662 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
3663 (go32_resume, go32_fetch_registers, store_register)
3664 (go32_store_registers, go32_prepare_to_store)
3665 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
3666 (go32_create_inferior, go32_can_run, go32_terminal_init)
3667 (go32_terminal_inferior, go32_terminal_ours): Delete forward
3670 2014-01-15 Tom Tromey <tromey@redhat.com>
3672 * target.h (async_callback_ftype): New typedef.
3673 (struct target_ops) <to_async>: Use it.
3675 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3677 * python/py-value.c (get_field_type): Remove unnecessary curly
3678 braces for single-statement if block.
3680 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3682 * python/py-type.c (convert_field): Add missing empty line
3685 2014-01-14 Doug Evans <dje@google.com>
3687 * symfile.h (expand_symtabs_matching): Renamed from
3688 expand_partial_symbol_names. Update prototype.
3689 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3690 * symfile.c (expand_symtabs_matching): Renamed from
3691 expand_partial_symbol_names. New args file_matcher, kind.
3692 Rename arg fun to symbol_matcher.
3693 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3694 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
3695 ada_expand_partial_symbol_name.
3696 (ada_make_symbol_completion_list): Update to call
3697 expand_symtabs_matching.
3698 (ada_add_global_exceptions): Call expand_symtabs_matching.
3699 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
3700 call map_symbol_filenames.
3701 * symtab.c (sources_info): Update to call map_symbol_filenames.
3702 (search_symbols): Call expand_symtabs_matching.
3703 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
3704 (default_make_symbol_completion_list_break_on): Update to call
3705 expand_symtabs_matching.
3706 (make_source_files_completion_list): Update to call
3707 map_symbol_filenames.
3709 2014-01-14 Doug Evans <dje@google.com>
3711 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
3712 (expand_symtabs_symbol_matcher_ftype): New typedef.
3713 (quick_symbol_functions.expand_symtabs_matching): Update to use.
3714 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3715 * symfile.c (expand_partial_symbol_names): Update to use
3716 expand_symtabs_symbol_matcher_ftype.
3717 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
3718 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3719 Arg name_matcher renamed to symbol_matcher.
3720 * psymtab.c (recursively_search_psymtabs): Update to use
3721 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
3723 (expand_symtabs_matching_via_partial): Update to use
3724 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3725 Arg name_matcher renamed to symbol_matcher.
3727 2014-01-14 Doug Evans <dje@google.com>
3729 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
3730 (map_partial_symbol_filenames): Ditto.
3731 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
3732 (map_partial_symbol_filenames): Ditto.
3733 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
3734 (map_partial_symbol_filenames): Ditto.
3735 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
3736 (map_partial_symbol_filenames): Ditto.
3737 * symtab.c: Delete #include "psymtab.h".
3739 2014-01-14 Pedro Alves <palves@redhat.com>
3740 Tom Tromey <tromey@redhat.com>
3742 * infrun.c (use_displaced_stepping): Use find_record_target
3743 instead of RECORD_IS_USED.
3744 (adjust_pc_after_break): Use record_full_is_used instead of
3746 * record-btrace.c (record_btrace_open): Call record_preopen
3747 instead of checking RECORD_IS_USED.
3748 * record-full.c (record_full_shortname)
3749 (record_full_core_shortname): New globals.
3750 (record_full_is_used): New function.
3751 (find_full_open): Call record_preopen instead of checking
3753 (init_record_full_ops): Set the target's shortname to
3754 record_full_shortname.
3755 (init_record_full_core_ops): Set the target's shortname to
3756 record_full_core_shortname.
3757 * record-full.h (record_full_is_used): Declare.
3758 * record.c (find_record_target): Make extern.
3759 (record_preopen): New function.
3760 * record.h (RECORD_IS_USED): Delete macro.
3761 (find_record_target, record_preopen): Declare functions.
3763 2014-01-14 Yao Qi <yao@codesourcery.com>
3765 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
3766 'len''s type to ULONGEST.
3767 (core_xfer_shared_libraries_aix): Likewise.
3768 * gdbarch.c, gdbarch.h: Regenerated.
3769 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
3770 Change type of 'len' to ULONGEST.
3771 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3772 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
3774 2014-01-14 Yao Qi <yao@codesourcery.com>
3776 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
3777 type of 'len' to ULONGEST.
3778 (linux_xfer_osdata_processgroups): Likewise.
3779 (linux_xfer_osdata_threads): Likewise.
3780 (linux_xfer_osdata_fds): Likewise.
3781 (linux_xfer_osdata_isockets): Likewise.
3782 (linux_xfer_osdata_shm): Likewise.
3783 (linux_xfer_osdata_sem): Likewise.
3784 (linux_xfer_osdata_msg): Likewise.
3785 (linux_common_xfer_osdata): Likewise.
3786 (struct osdata_type) <getter>: Likewise.
3787 * common/linux-osdata.h (linux_common_xfer_osdata): Update
3790 2014-01-14 Yao Qi <yao@codesourcery.com>
3792 * target.h (target_xfer_partial_ftype): Update.
3793 (struct target_ops) <to_xfer_partial>: Change 'len' type to
3795 * aix-thread.c (aix_thread_xfer_partial): Change type of
3796 argument 'len' to ULONGEST.
3797 * auxv.c (procfs_xfer_auxv): Likewise.
3798 (ld_so_xfer_auxv): Likewise.
3799 (memory_xfer_auxv): Likewise.
3800 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3801 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3802 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
3803 * corelow.c (core_xfer_partial): Likewise.
3804 * ctf.c (ctf_xfer_partial): Likewise.
3805 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
3807 (darwin_read_dyld_info): Likewise.
3808 (darwin_xfer_partial): Likewise.
3809 * exec.c (section_table_xfer_memory_partial): Likewise.
3810 (exec_xfer_partial): Likewise.
3811 * exec.h (section_table_xfer_memory_partial): Update
3813 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
3814 instead of plongest.
3815 (gnu_xfer_partial): Likewise.
3816 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
3817 (ia64_hpux_xfer_solib_got): Likewise.
3818 (ia64_hpux_xfer_partial): Likewise.
3819 * ia64-linux-nat.c (ia64_linux_xfer_partial):
3820 * inf-ptrace.c (inf_ptrace_xfer_partial):
3821 * inf-ttrace.c (inf_ttrace_xfer_partial):
3822 * linux-nat.c (linux_xfer_siginfo): Likewise.
3823 (linux_nat_xfer_partial): Likewise.
3824 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
3825 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
3826 * monitor.c (monitor_xfer_memory): Likewise.
3827 (monitor_xfer_partial): Likewise.
3828 * procfs.c (procfs_xfer_partial): Likewise.
3829 * record-full.c (record_full_xfer_partial): Likewise.
3830 (record_full_core_xfer_partial): Likewise.
3831 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
3832 instead of plongest.
3833 (gdbsim_xfer_partial): Likewise.
3834 * remote.c (remote_xfer_partial): Likewise.
3835 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3836 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3838 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3839 (rs6000_xfer_shared_libraries): Likewise.
3840 * sol-thread.c (sol_thread_xfer_partial): Likewise.
3841 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3842 (sparc_xfer_partial): Likewise.
3843 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3844 (spu_xfer_partial): Likewise.
3845 * spu-multiarch.c (spu_xfer_partial): Likewise.
3846 * target.c (target_read_live_memory): Likewise.
3847 (memory_xfer_live_readonly_partial): Likewise.
3848 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
3849 (target_xfer_partial, default_xfer_partial): Likewise.
3850 (current_xfer_partial): Likewise.
3851 * tracepoint.c (tfile_xfer_partial): Likewise.
3852 * windows-nat.c (windows_xfer_memory): Likewise. Call
3853 pulongest instead of plongest.
3854 (windows_xfer_partial): Likewise.
3855 (windows_xfer_shared_libraries): Likewise.
3857 2014-01-14 Yao Qi <yao@codesourcery.com>
3859 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
3860 target_xfer_partial_ftype.
3862 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3866 * valops.c (value_struct_elt_bitpos): New function
3867 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
3868 object to 'None' if the field name is an empty string ("").
3869 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
3870 attribute to look for a field when 'name' is 'None'.
3871 (get_field_type): New function
3873 2014-01-13 Doug Evans <dje@google.com>
3876 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
3877 (try_open_dwop_file): Ditto.
3878 * gdb_bfd.c: #include "vec.h".
3879 (bfdp): New typedef.
3880 (struct gdb_bfd_data): New member included_bfds.
3881 (gdb_bfd_unref): Unref all included bfds.
3882 (gdb_bfd_record_inclusion): New function.
3883 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
3885 2014-01-13 Tom Tromey <tromey@redhat.com>
3887 * gdbcore.h (deprecated_core_resize_section_table): Remove.
3889 2014-01-13 Tom Tromey <tromey@redhat.com>
3891 * defs.h (use_windows): Remove.
3892 * gdb.c (main): Update.
3893 * main.c (captured_main, gdb_main): Update.
3894 * main.h (struct captured_main_args) <use_windows>: Remove.
3895 * top.c (use_windows): Remove.
3897 2014-01-13 Tom Tromey <tromey@redhat.com>
3899 * defs.h (deprecated_flush_hook): Remove.
3901 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3904 * linux-thread-db.c (try_thread_db_load): Add parameter
3905 check_auto_load_safe. Move here the file_is_auto_load_safe call.
3906 (try_thread_db_load_from_pdir_1): Move it there from here.
3907 (try_thread_db_load_from_sdir): Update caller.
3908 (try_thread_db_load_from_dir): Move it there from here.
3910 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
3912 * regformats/regdat.sh: Always rewrite the register file.
3914 2014-01-13 Pedro Alves <palves@redhat.com>
3916 * Makefile.in (CHECK_HEADERS): New variable.
3917 (check-headers:): New rule.
3919 2014-01-13 Tom Tromey <tromey@redhat.com>
3921 * cli/cli-setshow.c (do_set_command): Update.
3922 * defs.h (deprecated_set_hook): Remove.
3923 * top.c (deprecated_set_hook): Remove.
3925 2014-01-13 Pedro Alves <palves@redhat.com>
3927 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
3928 the tracepoint if the PC is a pseudo-register.
3930 2014-01-13 Tom Tromey <tromey@redhat.com>
3932 * defs.h (XCALLOC): Remove.
3933 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
3934 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
3935 * dwarf2loc.c (allocate_piece_closure): Likewise.
3936 * elfread.c (elf_symfile_segments): Likewise.
3937 (elf_symfile_segments): Likewise.
3938 * gdbtypes.c (copy_type_recursive): Likewise.
3939 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
3940 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
3941 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
3943 * mt-tdep.c (mt_gdbarch_init): Likewise.
3944 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
3946 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
3947 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
3948 * registry.c (registry_alloc_data): Likewise.
3949 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
3950 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
3951 * serial.c (serial_fdopen_ops): Likewise.
3952 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
3954 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
3955 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
3958 2014-01-13 Tom Tromey <tromey@redhat.com>
3960 * defs.h (XMALLOC): Remove.
3961 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
3962 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
3963 * cli-out.c (struct ui_out *): Likewise.
3964 * cli/cli-dump.c (add_dump_command): Likewise.
3965 (add_dump_command): Likewise.
3966 * complaints.c (get_complaints): Likewise.
3967 (find_complaint): Likewise.
3968 * dwarf2-frame.c (execute_cfa_program): Likewise.
3969 * dwarf2read.c (abbrev_table_read_table): Likewise.
3970 * gdbarch.sh: Likewise.
3971 * gdbarch.c: Rebuild.
3972 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
3973 * interps.c (interp_new): Likewise.
3974 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
3975 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
3976 * mi/mi-console.c (mi_console_file_new): Likewise.
3977 * mi/mi-interp.c (mi_interpreter_init): Likewise.
3978 * mi/mi-out.c (mi_out_new): Likewise.
3979 * mi/mi-parse.c (mi_parse): Likewise.
3980 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
3981 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
3982 * observer.c (xalloc_observer_list_node): Likewise.
3983 * regcache.c (regcache_xmalloc_1): Likewise.
3984 * reggroups.c (reggroup_new): Likewise.
3985 (_initialize_reggroup): Likewise.
3986 * registry.c (register_data_with_cleanup): Likewise.
3987 * remote.c (remote_notif_stop_alloc_reply): Likewise.
3988 * ser-base.c (serial_ttystate): Likewise.
3989 * ser-mingw.c (make_pipe_state): Likewise.
3990 * ser-pipe.c (pipe_open): Likewise.
3991 * serial.c (serial_open): Likewise.
3992 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
3993 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
3994 (tui_alloc_win_info): Likewise.
3995 (tui_add_content_elements): Likewise.
3996 * tui/tui-file.c (tui_file_new): Likewise.
3997 * tui/tui-out.c (tui_out_new): Likewise.
3998 * ui-file.c (mem_file_new): Likewise.
3999 * ui-out.c (push_level): Likewise.
4000 (make_cleanup_ui_out_end): Likewise.
4001 (append_header_to_list): Likewise.
4002 (ui_out_new): Likewise.
4003 * user-regs.c (user_reg_add_builtin): Likewise.
4005 2014-01-13 Tom Tromey <tromey@redhat.com>
4007 * defs.h (XZALLOC): Remove.
4008 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
4009 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
4010 (get_ada_tasks_inferior_data): Likewise.
4011 * auto-load.c (get_auto_load_pspace_data): Likewise.
4012 * auxv.c (get_auxv_inferior_data): Likewise.
4013 * bfd-target.c (target_bfd_reopen): Likewise.
4014 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
4015 (deprecated_insert_raw_breakpoint): Likewise.
4016 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
4017 * corelow.c (core_open): Likewise.
4018 * darwin-nat.c (darwin_check_new_threads): Likewise.
4019 (darwin_attach_pid): Likewise.
4020 * dummy-frame.c (dummy_frame_push): Likewise.
4021 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
4022 * dwarf2loc.c (allocate_piece_closure): Likewise.
4023 * elfread.c (elf_symfile_segments): Likewise.
4024 * eval.c (ptrmath_type_p): Likewise.
4025 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
4026 * gdbtypes.c (alloc_type_arch): Likewise.
4027 (alloc_type_instance): Likewise.
4028 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
4029 * inf-child.c (inf_child_can_use_agent): Likewise.
4030 * inflow.c (get_inflow_inferior_data): Likewise.
4031 * infrun.c (save_infcall_suspend_state): Likewise.
4032 * jit.c (jit_reader_load): Likewise.
4033 (get_jit_objfile_data): Likewise.
4034 (get_jit_program_space_data): Likewise.
4035 (jit_object_open_impl): Likewise.
4036 (jit_symtab_open_impl): Likewise.
4037 (jit_block_open_impl): Likewise.
4038 (jit_frame_sniffer): Likewise.
4039 * linux-fork.c (add_fork): Likewise.
4040 * maint.c (make_command_stats_cleanup): Likewise.
4041 * objfiles.c (get_objfile_pspace_data): Likewise.
4042 * opencl-lang.c (struct lval_closure): Likewise.
4043 * osdata.c (osdata_start_osdata): Likewise.
4044 * progspace.c (new_address_space): Likewise.
4045 (add_program_space): Likewise.
4046 * remote-sim.c (get_sim_inferior_data): Likewise.
4047 * sh-tdep.c (sh_gdbarch_init): Likewise.
4048 * skip.c (Ignore): Likewise.
4049 (skip_delete_command): Likewise.
4050 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4051 (library_list_start_library): Likewise.
4052 (solib_aix_current_sos): Likewise.
4053 * solib-darwin.c (get_darwin_info): Likewise.
4054 (darwin_current_sos): Likewise.
4055 * solib-dsbt.c (get_dsbt_info): Likewise.
4056 * solib-ia64-hpux.c (new_so_list): Likewise.
4057 (ia64_hpux_get_solib_linkage_addr): Likewise.
4058 * solib-spu.c (append_ocl_sos): Likewise.
4059 (spu_current_sos): Likewise.
4060 * solib-svr4.c (get_svr4_info): Likewise.
4061 (svr4_keep_data_in_core): Likewise.
4062 (library_list_start_library): Likewise.
4063 (svr4_default_sos): Likewise.
4064 (svr4_read_so_list): Likewise.
4065 * solib-target.c (library_list_start_library): Likewise.
4066 (solib_target_current_sos): Likewise.
4067 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4068 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4069 * symfile.c (default_symfile_segments): Likewise.
4070 * target-descriptions.c (tdesc_data_init): Likewise.
4071 (tdesc_create_reg): Likewise.
4072 (struct tdesc_type *): Likewise.
4073 (tdesc_create_vector): Likewise.
4074 (tdesc_set_struct_size): Likewise.
4075 (struct tdesc_type *): Likewise.
4076 (tdesc_free_feature): Likewise.
4077 (tdesc_create_feature): Likewise.
4078 * windows-nat.c (windows_add_thread): Likewise.
4079 (windows_make_so): Likewise.
4080 * xml-support.c (gdb_xml_body_text): Likewise.
4081 (gdb_xml_create_parser_and_cleanup): Likewise.
4082 (xml_process_xincludes): Likewise.
4083 * xml-syscall.c (allocate_syscalls_info): Likewise.
4084 (syscall_create_syscall_desc): Likewise.
4086 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4088 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4089 function, with code from i386_stap_parse_special_token.
4090 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4091 (i386_stap_parse_special_token): Move code to the two functions
4094 2014-01-09 Pedro Alves <palves@redhat.com>
4095 Hui Zhu <hui@codesourcery.com>
4098 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4099 bp_err_string. Don't mark the location shlib_disabled if the
4100 error thrown wasn't a generic or memory error. Catch errors
4101 thrown while inserting breakpoints in overlayed code. Output
4102 error message of software breakpoints.
4103 * remote.c (remote_insert_breakpoint): If this breakpoint has
4104 target-side commands but this stub doesn't support Z0 packets,
4105 throw NOT_SUPPORTED_ERROR error.
4106 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4107 * target.h (target_insert_breakpoint): Extend comment.
4108 (target_insert_hw_breakpoint): Add comment.
4110 2014-01-08 Pedro Alves <palves@redhat.com>
4112 * remote.c (remote_add_thread): Add threads silently if starting
4114 (remote_notice_new_inferior): If in all-stop, and starting up,
4115 don't call notice_new_inferior.
4116 (get_current_thread): New function, factored out from ...
4117 (add_current_inferior_and_thread): ... this. Adjust.
4118 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4119 found any thread, then select the remote's current thread as GDB's
4122 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4124 * NEWS: Create a new section for the next release branch.
4125 Rename the section of the current branch, now that it has
4128 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4130 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4131 * version.in: Bump version to 7.7.50.DATE-cvs.
4133 2014-01-08 Yao Qi <yao@codesourcery.com>
4135 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4136 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4137 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4139 2014-01-08 Yao Qi <yao@codesourcery.com>
4141 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4142 return value of bfd_get_filename to symbol_file_add_from_bfd.
4144 2014-01-08 Pierre Muller <muller@sourceware.org>
4147 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4148 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4149 to prim_record_mininal_symbol_and_info.
4150 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4151 in call to prim_record_minimal_symbol_and_info.
4152 (read_pe_exported_syms): Set index field of section_data.
4154 2014-01-07 Andrew Pinski <apinski@cavium.com>
4156 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4157 * features/aarch64.c: Regenerate.
4159 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4161 * target.c (return_null): Define.
4162 (update_current_target): Use it instead of return_zero for
4163 functions that return a pointer.
4165 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4167 * source.c (add_path): Fix check for duplicated paths in the previously
4170 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4172 * ada-lang.c: Remove duplicated include statements.
4173 * alphabsd-nat.c: Ditto.
4174 * amd64-darwin-tdep.c: Ditto.
4175 * amd64fbsd-nat.c: Ditto.
4176 * auto-load.c: Ditto.
4178 * breakpoint.c: Ditto.
4180 * fork-child.c: Ditto.
4181 * gdb_usleep.c: Ditto.
4182 * i386-darwin-tdep.c: Ditto.
4183 * i386fbsd-nat.c: Ditto.
4185 * inferior.c: Ditto.
4187 * linux-nat.c: Ditto.
4188 * linux-tdep.c: Ditto.
4189 * m68kbsd-nat.c: Ditto.
4190 * m68klinux-nat.c: Ditto.
4191 * microblaze-tdep.c: Ditto.
4192 * mips-linux-tdep.c: Ditto.
4193 * mn10300-tdep.c: Ditto.
4194 * nto-tdep.c: Ditto.
4195 * opencl-lang.c: Ditto.
4197 * printcmd.c: Ditto.
4198 * regcache.c: Ditto.
4199 * remote-m32r-sdi.c: Ditto.
4203 * tilegx-linux-nat.c: Ditto.
4204 * tilegx-tdep.c: Ditto.
4205 * tracepoint.c: Ditto.
4207 * vaxbsd-nat.c: Ditto.
4208 * windows-nat.c: Ditto.
4209 * xtensa-tdep.c: Ditto.
4211 2014-01-07 Yao Qi <yao@codesourcery.com>
4213 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4215 2014-01-07 Yao Qi <yao@codesourcery.com>
4216 Joel Brobecker <brobecker@adacore.com>
4218 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4219 (pdc_write_regs): Likewise.
4220 (fetch_regs_kernel_thread): Likewise.
4221 (store_regs_kernel_thread): Likewise.
4223 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4225 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4226 tagged type objects to their actual type.
4228 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4230 * ada-valprint.c (print_field_values): Add "language" parameter.
4231 Update calls to print_field_values and print_variant_part.
4232 Pass new parameter "language" in call to val_print instead
4233 of "current_language". Replace call to ada_val_print by call
4235 (print_variant_part): Add "language" parameter.
4236 (ada_val_print_struct_union): Update call to print_field_values.
4238 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4240 * ada-valprint.c (ui_memcpy): Delete.
4241 (ada_print_floating): Update documentation. Add empty line
4242 between between function documentation and implementation.
4243 Delete variable "buffer". Use ui_file_xstrdup in place of
4244 ui_file_put. Minor adjustments following this change.
4246 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4248 * ada-valprint.c (ada_val_print_string): New function,
4249 extracted from ada_val_print_array.
4250 (ada_val_print_array): Replace extracted code by call
4251 to ada_val_print_string followed by a return. Move
4252 "else" branch to the function's top block.
4254 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4256 * ada-valprint.c (ada_val_print_array): Move implementation
4257 down. Rename parameter "offset" and "val" into "offset_aligned"
4258 and "original_value" respectively. Add parameter "offset".
4260 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4262 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4263 re-organizing the code. Change the "???" message printed
4264 when target type is a TYPE_CODE_UNDEF into
4265 "<ref to undefined type>".
4267 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4269 * ada-valprint.c (print_record): Delete, implementation inlined...
4270 (ada_val_print_struct_union): ... here. Remove call to
4271 ada_check_typedef in inlined implementation.
4273 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4275 * ada-valprint.c (ada_val_print_gnat_array): New function,
4276 extracted from ada_val_print_1;
4277 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4278 (ada_val_print_flt, ada_val_print_struct_union)
4279 (ada_val_print_ref): Likewise.
4280 (ada_val_print_1): Delete variables i and elttype.
4281 Replace extracted-out code by call to corresponding
4284 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4286 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4288 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4290 * ada-valprint.c (ada_val_print_1): Replace calls to
4291 ada_val_print_1 by calls to val_print.
4293 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4295 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4296 Update calls to self accordingly. Replace calls to c_val_print
4297 by calls to val_print.
4299 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4301 * ada-valprint.c (print_record): Delete declaration.
4302 (adjust_type_signedness, ada_val_print_1): Likewise.
4303 (ada_val_print): Move function implementation down.
4304 (print_variant_part, print_field_values, print_record):
4305 Move function implementation up.
4307 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4309 * python/py-type.c (typy_get_name): New function.
4310 (type_object_getset): Add entry for attribute "name".
4311 * NEWS: Add entry mentioning this new attribute.
4313 2014-01-07 Yao Qi <yao@codesourcery.com>
4315 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
4318 2014-01-07 Yao Qi <yao@codesourcery.com>
4320 * gnu-nat.c (info_port_rights): Add qualifier const to
4323 2014-01-07 Yao Qi <yao@codesourcery.com>
4325 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
4327 2014-01-07 Yao Qi <yao@codesourcery.com>
4329 * gnu-nat.c (make_inf) Update declaration.
4330 (make_inf): Make it static.
4331 (inf_set_traced): Likewise.
4332 (inf_port_to_thread, inf_task_died_status): Likewise.
4334 2014-01-07 Yao Qi <yao@codesourcery.com>
4336 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
4338 2014-01-07 Yao Qi <yao@codesourcery.com>
4340 * gnu-nat.c (_initialize_gnu_nat): Declare.
4342 2014-01-07 Yao Qi <yao@codesourcery.com>
4344 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
4346 (struct gdbarch_info) <byte_order>: Change type to
4348 <byte_order_for_code>: Likewise.
4349 * gdbarch.c, gdbarch.h: Regenerated.
4351 2014-01-06 Sasha Smundak <asmundak@google.com>
4353 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
4355 2014-01-06 Tom Tromey <tromey@redhat.com>
4357 * doublest.c (convert_doublest_to_floatformat): Use const, not
4359 * somread.c (som_symtab_read): Likewise.
4361 2014-01-07 Hui Zhu <hui@codesourcery.com>
4363 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
4364 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
4365 (gdb_bfd_fopen): Ditto.
4366 (gdb_bfd_openr): Ditto.
4367 (gdb_bfd_openw): Ditto.
4368 (gdb_bfd_openr_iovec): Ditto.
4369 (gdb_bfd_fdopenr): Ditto.
4370 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
4371 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
4373 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
4375 * symfile-mem.c (symbol_file_add_from_memory): Removed
4376 gdb_bfd_stash_filename.
4378 2014-01-03 Doug Evans <dje@google.com>
4380 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
4383 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4385 Update year range in copyright notice of all files.
4387 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4389 * top.c (print_gdb_version): Set copyright year to 2014.
4391 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4393 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
4395 For older changes see ChangeLog-2013.
4401 version-control: never