1 2014-02-19 Tom Tromey <tromey@redhat.com>
3 * target-delegates.c: Rebuild.
4 * target.c (target_kill): Unconditionally delegate.
5 * target.h (struct target_ops) <to_kill>: Use
6 TARGET_DEFAULT_NORETURN.
8 2014-02-19 Tom Tromey <tromey@redhat.com>
10 * target-delegates.c: Rebuild.
11 * target.c (target_masked_watch_num_registers): Unconditionally
13 * target.h (struct target_ops) <to_masked_watch_num_registers>:
14 Use TARGET_DEFAULT_RETURN.
16 2014-02-19 Tom Tromey <tromey@redhat.com>
18 * target-delegates.c: Rebuild.
19 * target.c (target_remove_mask_watchpoint): Unconditionally
21 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
22 TARGET_DEFAULT_RETURN.
24 2014-02-19 Tom Tromey <tromey@redhat.com>
26 * target-delegates.c: Rebuild.
27 * target.c (target_insert_mask_watchpoint): Unconditionally
29 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
30 TARGET_DEFAULT_RETURN.
32 2014-02-19 Tom Tromey <tromey@redhat.com>
34 * target-delegates.c: Rebuild.
35 * target.c (target_ranged_break_num_registers): Unconditionally
37 * target.h (struct target_ops) <to_ranged_break_num_registers>:
38 Use TARGET_DEFAULT_RETURN.
40 2014-02-19 Tom Tromey <tromey@redhat.com>
42 * target-delegates.c: Rebuild.
43 * target.c (target_fetch_registers): Unconditionally delegate.
44 * target.h (struct target_ops) <to_fetch_registers>: Use
45 TARGET_DEFAULT_NORETURN.
47 2014-02-19 Tom Tromey <tromey@redhat.com>
49 * target-delegates.c: Rebuild.
50 * target.c (update_current_target): Don't inherit or default
52 * target.h (struct target_ops) <to_stop>: Use
53 TARGET_DEFAULT_IGNORE.
55 2014-02-19 Tom Tromey <tromey@redhat.com>
57 * target-delegates.c: Rebuild.
58 * target.c (update_current_target): Don't inherit or default
59 to_can_run_breakpoint_commands.
60 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
61 Use TARGET_DEFAULT_RETURN.
63 2014-02-19 Tom Tromey <tromey@redhat.com>
65 * target-delegates.c: Rebuild.
66 * target.c (update_current_target): Don't inherit or default
67 to_supports_evaluation_of_breakpoint_conditions.
68 * target.h (struct target_ops)
69 <to_supports_evaluation_of_breakpoint_conditions>: Use
70 TARGET_DEFAULT_RETURN.
72 2014-02-19 Tom Tromey <tromey@redhat.com>
74 * target-delegates.c: Rebuild.
75 * target.c (update_current_target): Don't inherit or default
76 to_augmented_libraries_svr4_read.
77 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
78 Use TARGET_DEFAULT_RETURN.
80 2014-02-19 Tom Tromey <tromey@redhat.com>
82 * target-delegates.c: Rebuild.
83 * target.c (update_current_target): Don't inherit or default
85 * target.h (struct target_ops) <to_can_use_agent>: Use
86 TARGET_DEFAULT_RETURN.
88 2014-02-19 Tom Tromey <tromey@redhat.com>
90 * target-delegates.c: Rebuild.
91 * target.c (update_current_target): Don't inherit or default
93 * target.h (struct target_ops) <to_use_agent>: Use
94 TARGET_DEFAULT_NORETURN.
96 2014-02-19 Tom Tromey <tromey@redhat.com>
98 * target-delegates.c: Rebuild.
99 * target.c (update_current_target): Don't inherit or default
101 (return_null): Remove.
102 * target.h (struct target_ops) <to_traceframe_info>: Use
103 TARGET_DEFAULT_RETURN.
105 2014-02-19 Tom Tromey <tromey@redhat.com>
107 * target-delegates.c: Rebuild.
108 * target.c (update_current_target): Don't inherit or default
109 to_static_tracepoint_markers_by_strid.
110 * target.h (struct target_ops)
111 <to_static_tracepoint_markers_by_strid>: Use
112 TARGET_DEFAULT_NORETURN.
114 2014-02-19 Tom Tromey <tromey@redhat.com>
116 * target-delegates.c: Rebuild.
117 * target.c (update_current_target): Don't inherit or default
118 to_static_tracepoint_marker_at.
119 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
120 Use TARGET_DEFAULT_RETURN.
122 2014-02-19 Tom Tromey <tromey@redhat.com>
124 * target-delegates.c: Rebuild.
125 * target.c (update_current_target): Don't inherit or default
127 * target.h (struct target_ops) <to_set_permissions>: Use
128 TARGET_DEFAULT_IGNORE.
130 2014-02-19 Tom Tromey <tromey@redhat.com>
132 * target-delegates.c: Rebuild.
133 * target.c (update_current_target): Don't inherit or default
135 * target.h (struct target_ops) <to_get_tib_address>: Use
136 TARGET_DEFAULT_NORETURN.
138 2014-02-19 Tom Tromey <tromey@redhat.com>
140 * target-delegates.c: Rebuild.
141 * target.c (update_current_target): Don't inherit or default
143 * target.h (struct target_ops) <to_set_trace_notes>: Use
144 TARGET_DEFAULT_RETURN.
146 2014-02-19 Tom Tromey <tromey@redhat.com>
148 * target-delegates.c: Rebuild.
149 * target.c (update_current_target): Don't initialize
150 to_set_trace_buffer_size.
151 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
152 TARGET_DEFAULT_IGNORE.
154 2014-02-19 Tom Tromey <tromey@redhat.com>
156 * target-delegates.c: Rebuild.
157 * target.c (update_current_target): Don't inherit or default
158 to_set_circular_trace_buffer.
159 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
160 TARGET_DEFAULT_IGNORE.
162 2014-02-19 Tom Tromey <tromey@redhat.com>
164 * target-delegates.c: Rebuild.
165 * target.c (update_current_target): Don't inherit or default
166 to_set_disconnected_tracing.
167 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
168 TARGET_DEFAULT_IGNORE.
170 2014-02-19 Tom Tromey <tromey@redhat.com>
172 * target-delegates.c: Rebuild.
173 * target.c (update_current_target): Don't inherit or default
174 to_get_min_fast_tracepoint_insn_len.
175 (return_minus_one): Remove.
176 * target.h (struct target_ops)
177 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
179 2014-02-19 Tom Tromey <tromey@redhat.com>
181 * target-delegates.c: Rebuild.
182 * target.c (update_current_target): Don't inherit or default
183 to_get_raw_trace_data.
184 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
185 TARGET_DEFAULT_NORETURN.
187 2014-02-19 Tom Tromey <tromey@redhat.com>
189 * target-delegates.c: Rebuild.
190 * target.c (update_current_target): Don't inherit or default
191 to_upload_trace_state_variables.
192 * target.h (struct target_ops) <to_upload_trace_state_variables>:
193 Use TARGET_DEFAULT_RETURN.
195 2014-02-19 Tom Tromey <tromey@redhat.com>
197 * target-delegates.c: Rebuild.
198 * target.c (update_current_target): Don't inherit or default
199 to_upload_tracepoints.
200 * target.h (struct target_ops) <to_upload_tracepoints>: Use
201 TARGET_DEFAULT_RETURN.
203 2014-02-19 Tom Tromey <tromey@redhat.com>
205 * target-delegates.c: Rebuild.
206 * target.c (update_current_target): Don't inherit or default
208 * target.h (struct target_ops) <to_save_trace_data>: Use
209 TARGET_DEFAULT_NORETURN.
211 2014-02-19 Tom Tromey <tromey@redhat.com>
213 * target-delegates.c: Rebuild.
214 * target.c (update_current_target): Don't inherit or default
215 to_get_trace_state_variable_value.
216 * target.h (struct target_ops)
217 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
219 2014-02-19 Tom Tromey <tromey@redhat.com>
221 * target-delegates.c: Rebuild.
222 * target.c (update_current_target): Don't inherit or default
224 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
226 2014-02-19 Tom Tromey <tromey@redhat.com>
228 * target-delegates.c: Rebuild.
229 * target.c (update_current_target): Don't inherit or default
231 * target.h (struct target_ops) <to_trace_stop>: Use
232 TARGET_DEFAULT_NORETURN.
234 2014-02-19 Tom Tromey <tromey@redhat.com>
236 * target-delegates.c: Rebuild.
237 * target.c (update_current_target): Don't inherit or default
238 to_get_tracepoint_status.
239 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
240 TARGET_DEFAULT_NORETURN.
242 2014-02-19 Tom Tromey <tromey@redhat.com>
244 * target-delegates.c: Rebuild.
245 * target.c (update_current_target): Don't inherit or default
247 * target.h (struct target_ops) <to_get_trace_status>: Use
248 TARGET_DEFAULT_RETURN.
250 2014-02-19 Tom Tromey <tromey@redhat.com>
252 * target-delegates.c: Rebuild.
253 * target.c (update_current_target): Don't inherit or default
255 * target.h (struct target_ops) <to_trace_start>: Use
256 TARGET_DEFAULT_NORETURN.
258 2014-02-19 Tom Tromey <tromey@redhat.com>
260 * target-delegates.c: Rebuild.
261 * target.c (update_current_target): Don't inherit or default
262 to_trace_set_readonly_regions.
263 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
264 Use TARGET_DEFAULT_NORETURN.
266 2014-02-19 Tom Tromey <tromey@redhat.com>
268 * target-delegates.c: Rebuild.
269 * target.c (update_current_target): Don't inherit or default
270 to_disable_tracepoint.
271 * target.h (struct target_ops) <to_disable_tracepoint>: Use
272 TARGET_DEFAULT_NORETURN.
274 2014-02-19 Tom Tromey <tromey@redhat.com>
276 * target-delegates.c: Rebuild.
277 * target.c (update_current_target): Don't inherit or default
278 to_enable_tracepoint.
279 * target.h (struct target_ops) <to_enable_tracepoint>: Use
280 TARGET_DEFAULT_NORETURN.
282 2014-02-19 Tom Tromey <tromey@redhat.com>
284 * target-delegates.c: Rebuild.
285 * target.c (update_current_target): Don't inherit or default
286 to_download_trace_state_variable.
287 * target.h (struct target_ops) <to_download_trace_state_variable>:
288 Use TARGET_DEFAULT_NORETURN.
290 2014-02-19 Tom Tromey <tromey@redhat.com>
292 * target-delegates.c: Rebuild.
293 * target.c (update_current_target): Don't inherit or default
294 to_can_download_tracepoint.
295 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
296 TARGET_DEFAULT_RETURN.
298 2014-02-19 Tom Tromey <tromey@redhat.com>
300 * target-delegates.c: Rebuild.
301 * target.c (update_current_target): Don't inherit or default
302 to_download_tracepoint.
303 * target.h (struct target_ops) <to_download_tracepoint>: Use
304 TARGET_DEFAULT_NORETURN.
306 2014-02-19 Tom Tromey <tromey@redhat.com>
308 * target-delegates.c: Rebuild.
309 * target.c (update_current_target): Don't inherit or default
311 * target.h (struct target_ops) <to_trace_init>: Use
312 TARGET_DEFAULT_RETURN.
314 2014-02-19 Tom Tromey <tromey@redhat.com>
316 * target-delegates.c: Rebuild.
317 * target.c (update_current_target): Don't inherit or default
318 to_supports_string_tracing.
319 * target.h (struct target_ops) <to_supports_string_tracing>: Use
320 TARGET_DEFAULT_RETURN.
322 2014-02-19 Tom Tromey <tromey@redhat.com>
324 * target-delegates.c: Rebuild.
325 * target.c (update_current_target): Don't inherit or default
326 to_supports_enable_disable_tracepoint.
327 * target.h (struct target_ops)
328 <to_supports_enable_disable_tracepoint>: Use
329 TARGET_DEFAULT_RETURN.
331 2014-02-19 Tom Tromey <tromey@redhat.com>
333 * target-delegates.c: Rebuild.
334 * target.c (update_current_target): Don't inherit or default
335 to_supports_multi_process.
336 * target.h (struct target_ops) <to_supports_multi_process>: Use
337 TARGET_DEFAULT_RETURN.
339 2014-02-19 Tom Tromey <tromey@redhat.com>
341 * target-delegates.c: Rebuild.
342 * target.c (update_current_target): Don't inherit or default
343 to_get_ada_task_ptid.
344 * target.h (struct target_ops) <to_get_ada_task_ptid>: 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_thread_architecture.
352 * target.h (struct target_ops) <to_thread_architecture>: Use
355 2014-02-19 Tom Tromey <tromey@redhat.com>
357 * target-delegates.c: Rebuild.
358 * target.c (update_current_target): Don't inherit or default
359 to_execution_direction.
360 * target.h (struct target_ops) <to_execution_direction>: Use
363 2014-02-19 Tom Tromey <tromey@redhat.com>
365 * target-delegates.c: Rebuild.
366 * target.c (update_current_target): Don't inherit or default
367 to_can_execute_reverse.
368 * target.h (struct target_ops) <to_can_execute_reverse>: Use
369 TARGET_DEFAULT_RETURN.
370 (target_can_execute_reverse): Unconditionally delegate.
372 2014-02-19 Tom Tromey <tromey@redhat.com>
374 * target-delegates.c: Rebuild.
375 * target.c (update_current_target): Don't inherit or default
377 (dummy_goto_bookmark): Remove.
378 (init_dummy_target): Don't inherit or default to_goto_bookmark.
379 * target.h (struct target_ops) <to_goto_bookmark>: Use
380 TARGET_DEFAULT_NORETURN.
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
387 (dummy_get_bookmark): Remove.
388 (init_dummy_target): Don't inherit or default to_get_bookmark.
389 * target.h (struct target_ops) <to_get_bookmark>: Use
390 TARGET_DEFAULT_NORETURN
392 2014-02-19 Tom Tromey <tromey@redhat.com>
394 * target-delegates.c: Rebuild.
395 * target.c (update_current_target): Don't inherit or default
396 to_make_corefile_notes.
397 (init_dummy_target): Don't initialize to_make_corefile_notes.
398 * target.h (struct target_ops) <to_make_corefile_notes>: Use
401 2014-02-19 Tom Tromey <tromey@redhat.com>
403 * target-delegates.c: Rebuild.
404 * target.c (update_current_target): Don't inherit or default
405 to_find_memory_regions.
406 (init_dummy_target): Don't initialize to_find_memory_regions.
407 * target.h (struct target_ops) <to_find_memory_regions>: Use
410 2014-02-19 Tom Tromey <tromey@redhat.com>
412 * target-delegates.c: Rebuild.
413 * target.c (update_current_target): Don't inherit or default
415 * target.h (struct target_ops) <to_log_command>: Use
416 TARGET_DEFAULT_IGNORE.
417 (target_log_command): Unconditionally delegate.
419 2014-02-19 Tom Tromey <tromey@redhat.com>
421 * target-delegates.c: Rebuild.
422 * target.c (update_current_target): Don't inherit or default
424 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
425 TARGET_DEFAULT_RETURN.
427 2014-02-19 Tom Tromey <tromey@redhat.com>
429 * target-delegates.c: Rebuild.
430 * target.c (update_current_target): Don't inherit or default
432 (target_thread_name): Unconditionally delegate.
433 * target.h (struct target_ops) <to_thread_name>: Use
434 TARGET_DEFAULT_RETURN.
436 2014-02-19 Tom Tromey <tromey@redhat.com>
438 * target-delegates.c: Rebuild.
439 * target.c (update_current_target): Don't inherit or default
440 to_extra_thread_info.
441 * target.h (struct target_ops) <to_extra_thread_info>: Use
442 TARGET_DEFAULT_RETURN.
444 2014-02-19 Tom Tromey <tromey@redhat.com>
446 * target-delegates.c: Rebuild.
447 * target.c (update_current_target): Don't inherit or default
449 * target.h (struct target_ops) <to_has_exited>: Use
450 TARGET_DEFAULT_RETURN..
452 2014-02-19 Tom Tromey <tromey@redhat.com>
454 * target-delegates.c: Rebuild.
455 * target.c (update_current_target): Don't inherit or default
456 to_set_syscall_catchpoint.
457 (return_one): Remove.
458 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
459 TARGET_DEFAULT_RETURN.
461 2014-02-19 Tom Tromey <tromey@redhat.com>
463 * target-delegates.c: Rebuild.
464 * target.c (update_current_target): Don't inherit or default
465 to_insert_exec_catchpoint.
466 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
467 TARGET_DEFAULT_RETURN.
469 2014-01-08 Tom Tromey <tromey@redhat.com>
471 * target-delegates.c: Rebuild.
472 * target.c (update_current_target): Don't inherit or default
473 to_insert_exec_catchpoint.
474 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
475 TARGET_DEFAULT_RETURN.
477 2014-02-19 Tom Tromey <tromey@redhat.com>
479 * target-delegates.c: Rebuild.
480 * target.c (update_current_target): Don't inherit or default
481 to_remove_vfork_catchpoint.
482 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
483 TARGET_DEFAULT_RETURN.
485 2014-02-19 Tom Tromey <tromey@redhat.com>
487 * target-delegates.c: Rebuild.
488 * target.c (update_current_target): Don't inherit or default
489 to_insert_vfork_catchpoint.
490 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
491 TARGET_DEFAULT_RETURN.
493 2014-02-19 Tom Tromey <tromey@redhat.com>
495 * target-delegates.c: Rebuild.
496 * target.c (update_current_target): Don't inherit or default
497 to_remove_fork_catchpoint.
498 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
499 TARGET_DEFAULT_RETURN.
501 2014-02-19 Tom Tromey <tromey@redhat.com>
503 * target-delegates.c: Rebuild.
504 * target.c (update_current_target): Don't inherit or default
505 to_insert_fork_catchpoint.
506 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
507 TARGET_DEFAULT_RETURN.
509 2014-02-19 Tom Tromey <tromey@redhat.com>
511 * target-delegates.c: Rebuild.
512 * target.c (update_current_target): Don't inherit or default
513 to_post_startup_inferior.
514 * target.h (struct target_ops) <to_post_startup_inferior>: Use
515 TARGET_DEFAULT_IGNORE.
517 2014-02-19 Tom Tromey <tromey@redhat.com>
519 * target-delegates.c: Rebuild.
520 * target.c (update_current_target): Don't inherit or default
522 * target.h (struct target_ops) <to_load>: Use
523 TARGET_DEFAULT_NORETURN.
525 2014-02-19 Tom Tromey <tromey@redhat.com>
527 * target-delegates.c: Rebuild.
528 * target.c (update_current_target): Don't inherit or default
530 * target.h (struct target_ops) <to_terminal_info>: Use
533 2014-02-19 Tom Tromey <tromey@redhat.com>
535 * target-delegates.c: Rebuild.
536 * target.c (update_current_target): Don't inherit or default
537 to_terminal_save_ours.
538 * target.h (struct target_ops) <to_terminal_save_ours>: Use
539 TARGET_DEFAULT_IGNORE.
541 2014-02-19 Tom Tromey <tromey@redhat.com>
543 * target-delegates.c: Rebuild.
544 * target.c (update_current_target): Don't inherit or default
546 * target.h (struct target_ops) <to_terminal_ours>: Use
547 TARGET_DEFAULT_IGNORE.
549 2014-02-19 Tom Tromey <tromey@redhat.com>
551 * target-delegates.c: Rebuild.
552 * target.c (update_current_target): Don't inherit or default
553 to_terminal_ours_for_output.
554 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
555 TARGET_DEFAULT_IGNORE.
557 2014-02-19 Tom Tromey <tromey@redhat.com>
559 * target-delegates.c: Rebuild.
560 * target.c (update_current_target): Don't inherit or default
561 to_terminal_inferior.
562 * target.h (struct target_ops) <to_terminal_inferior>: Use
563 TARGET_DEFAULT_IGNORE.
565 2014-02-19 Tom Tromey <tromey@redhat.com>
567 * target-delegates.c: Rebuild.
568 * target.c (update_current_target): Don't inherit or default
570 * target.h (struct target_ops) <to_terminal_init>: Use
571 TARGET_DEFAULT_IGNORE.
573 2014-02-19 Tom Tromey <tromey@redhat.com>
575 * target-delegates.c: Rebuild.
576 * target.c (update_current_target): Don't inherit or default
577 to_can_accel_watchpoint_condition.
578 * target.h (struct target_ops)
579 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
581 2014-02-19 Tom Tromey <tromey@redhat.com>
583 * target-delegates.c: Rebuild.
584 * target.c (update_current_target): Don't inherit or default
585 to_region_ok_for_hw_watchpoint.
586 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
587 Use TARGET_DEFAULT_FUNC.
589 2014-02-19 Tom Tromey <tromey@redhat.com>
591 * target-delegates.c: Rebuild.
592 * target.c (update_current_target): Don't inherit or default
593 to_watchpoint_addr_within_range.
594 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
595 Use TARGET_DEFAULT_FUNC.
597 2014-02-19 Tom Tromey <tromey@redhat.com>
599 * target-delegates.c: Rebuild.
600 * target.c (update_current_target): Don't inherit or default
601 to_remove_watchpoint.
602 * target.h (struct target_ops) <to_remove_watchpoint>: Use
603 TARGET_DEFAULT_NORETURN.
605 2014-02-19 Tom Tromey <tromey@redhat.com>
607 * target-delegates.c: Rebuild.
608 * target.c (update_current_target): Don't inherit or default
609 to_insert_watchpoint.
610 * target.h (struct target_ops) <to_insert_watchpoint>: Use
611 TARGET_DEFAULT_RETURN.
613 2014-02-19 Tom Tromey <tromey@redhat.com>
615 * target-delegates.c: Rebuild.
616 * target.c (update_current_target): Don't inherit or default
617 to_remove_hw_breakpoint.
618 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
619 TARGET_DEFAULT_RETURN.
621 2014-02-19 Tom Tromey <tromey@redhat.com>
623 * target-delegates.c: Rebuild.
624 * target.c (update_current_target): Don't inherit or default
625 to_insert_hw_breakpoint.
626 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
627 TARGET_DEFAULT_RETURN.
629 2014-02-19 Tom Tromey <tromey@redhat.com>
631 * target-delegates.c: Rebuild.
632 * target.c (update_current_target): Don't inherit or default
633 to_can_use_hw_breakpoint.
634 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
635 TARGET_DEFAULT_RETURN.
637 2014-02-19 Tom Tromey <tromey@redhat.com>
639 * target-delegates.c: Rebuild.
640 * target.c (update_current_target): Don't inherit or default
642 * target.h (struct target_ops) <to_files_info>: Use
643 TARGET_DEFAULT_IGNORE.
645 2014-02-19 Tom Tromey <tromey@redhat.com>
647 * target-delegates.c: Rebuild.
648 * target.c (update_current_target): Don't inherit or default
650 * target.h (struct target_ops) <to_store>: Use
651 TARGET_DEFAULT_NORETURN.
653 2014-02-19 Tom Tromey <tromey@redhat.com>
655 * target-delegates.c: Rebuild.
656 * target.c (update_current_target): Don't inherit or default
658 * target.h (struct target_ops) <to_post_attach>: Use
659 TARGET_DEFAULT_IGNORE.
661 2014-02-19 Tom Tromey <tromey@redhat.com>
663 * target-delegates.c: Rebuild.
664 * target.c (update_current_target): Don't inherit or default
666 (default_rcmd): New function.
667 (do_monitor_command): Unconditionally delegate.
668 * target.h (struct target_ops) <to_rmcd>: Use
671 2014-02-19 Tom Tromey <tromey@redhat.com>
673 * target-delegates.c: Rebuild.
674 * target.c (init_dummy_target): Don't initialize to_attach.
675 (target_attach): Unconditionally delegate.
676 * target.h (struct target_ops) <to_attach>: Use
679 2014-02-19 Tom Tromey <tromey@redhat.com>
681 * target-delegates.c: Rebuild.
682 * target.c (target_detach): Unconditionally delegate.
683 (init_dummy_target): Don't initialize to_detach.
684 * target.h (struct target_ops) <to_detach>: Use
685 TARGET_DEFAULT_IGNORE.
687 2014-02-19 Tom Tromey <tromey@redhat.com>
689 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
691 (target_augmented_libraries_svr4_read): Add argument.
692 * target.c (update_current_target): Update.
693 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
696 2014-02-19 Tom Tromey <tromey@redhat.com>
698 * target.h (struct target_ops) <to_call_history_range>: Add
700 * target.c (target_call_history_range): Add argument.
701 * record-btrace.c (record_btrace_call_history_range): Add 'self'
703 (record_btrace_call_history_from): Update.
705 2014-02-19 Tom Tromey <tromey@redhat.com>
707 * target.h (struct target_ops) <to_call_history_from>: Add
709 * target.c (target_call_history_from): Add argument.
710 * record-btrace.c (record_btrace_call_history_from): Add 'self'
713 2014-02-19 Tom Tromey <tromey@redhat.com>
715 * target.h (struct target_ops) <to_call_history>: Add argument.
716 * target.c (target_call_history): Add argument.
717 * record-btrace.c (record_btrace_call_history): Add 'self'
720 2014-02-19 Tom Tromey <tromey@redhat.com>
722 * target.h (struct target_ops) <to_insn_history_range>: Add
724 * target.c (target_insn_history_range): Add argument.
725 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
727 (record_btrace_insn_history_from): Update.
729 2014-02-19 Tom Tromey <tromey@redhat.com>
731 * target.h (struct target_ops) <to_insn_history_from>: Add
733 * target.c (target_insn_history_from): Add argument.
734 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
737 2014-02-19 Tom Tromey <tromey@redhat.com>
739 * target.h (struct target_ops) <to_insn_history>: Add argument.
740 * target.c (target_insn_history): Add argument.
741 * record-btrace.c (record_btrace_insn_history): Add 'self'
744 2014-02-19 Tom Tromey <tromey@redhat.com>
746 * target.h (struct target_ops) <to_goto_record>: Add argument.
747 * target.c (target_goto_record): Add argument.
748 * record-full.c (record_full_goto): Add 'self' argument.
749 * record-btrace.c (record_btrace_goto): Add 'self' argument.
751 2014-02-19 Tom Tromey <tromey@redhat.com>
753 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
754 * target.c (target_goto_record_end): Add argument.
755 * record-full.c (record_full_goto_end): Add 'self' argument.
756 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
758 2014-02-19 Tom Tromey <tromey@redhat.com>
760 * target.h (struct target_ops) <to_goto_record_begin>: Add
762 * target.c (target_goto_record_begin): Add argument.
763 * record-full.c (record_full_goto_begin): Add 'self' argument.
764 * record-btrace.c (record_btrace_goto_begin): Add 'self'
767 2014-02-19 Tom Tromey <tromey@redhat.com>
769 * target.h (struct target_ops) <to_record_is_replaying>: Add
771 * target.c (target_record_is_replaying): Add argument.
772 * record-full.c (record_full_is_replaying): Add 'self' argument.
773 * record-btrace.c (record_btrace_is_replaying): Add 'self'
775 (record_btrace_xfer_partial, record_btrace_store_registers)
776 (record_btrace_prepare_to_store, record_btrace_resume)
777 (record_btrace_wait, record_btrace_decr_pc_after_break)
778 (record_btrace_find_new_threads, record_btrace_thread_alive):
781 2014-02-19 Tom Tromey <tromey@redhat.com>
783 * target.h (struct target_ops) <to_delete_record>: Add argument.
784 * target.c (target_delete_record): Add argument.
785 * record-full.c (record_full_delete): Add 'self' argument.
787 2014-02-19 Tom Tromey <tromey@redhat.com>
789 * target.h (struct target_ops) <to_save_record>: Add argument.
790 * target.c (target_save_record): Add argument.
791 * record-full.c (record_full_save): Add 'self' argument.
792 (record_full_save): Add 'self' argument.
794 2014-02-19 Tom Tromey <tromey@redhat.com>
796 * target.h (struct target_ops) <to_info_record>: Add argument.
797 * target.c (target_info_record): Add argument.
798 * record.c (info_record_command): Add argument.
799 * record-full.c (record_full_info): Add 'self' argument.
800 * record-btrace.c (record_btrace_info): Add 'self' argument.
802 2014-02-19 Tom Tromey <tromey@redhat.com>
804 * target.h (struct target_ops) <to_stop_recording>: Add argument.
805 * target.c (target_stop_recording): Add argument.
806 * record.c (record_stop): Add argument.
807 * record-btrace.c (record_btrace_stop_recording): Add 'self'
810 2014-02-19 Tom Tromey <tromey@redhat.com>
812 * target.h (struct target_ops) <to_read_btrace>: Add argument.
813 * target.c (struct target_ops) <to_read_btrace>: Add argument.
814 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
816 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
817 (_initialize_amd64_linux_nat): Use it.
818 * i386-linux-nat.c (i386_linux_read_btrace): New function.
819 (_initialize_i386_linux_nat): Use it.
821 2014-02-19 Tom Tromey <tromey@redhat.com>
823 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
824 * target.c (target_teardown_btrace): Add argument.
825 * remote.c (remote_teardown_btrace): Add 'self' argument.
826 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
828 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
831 2014-02-19 Tom Tromey <tromey@redhat.com>
833 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
834 * target.c (target_disable_btrace): Add argument.
835 * remote.c (remote_disable_btrace): Add 'self' argument.
836 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
838 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
841 2014-02-19 Tom Tromey <tromey@redhat.com>
843 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
844 * target.c (target_enable_btrace): Add argument.
845 * remote.c (remote_enable_btrace): Add 'self' argument.
846 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
848 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
851 2014-02-19 Tom Tromey <tromey@redhat.com>
853 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
854 (target_can_use_agent): Add argument.
855 * target.c (update_current_target): Update.
856 * remote.c (remote_can_use_agent): Add 'self' argument.
857 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
859 2014-02-19 Tom Tromey <tromey@redhat.com>
861 * target.h (struct target_ops) <to_use_agent>: Add argument.
862 (target_use_agent): Add argument.
863 * target.c (update_current_target): Update.
864 * remote.c (remote_use_agent): Add 'self' argument.
865 * inf-child.c (inf_child_use_agent): Add 'self' argument.
867 2014-02-19 Tom Tromey <tromey@redhat.com>
869 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
870 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
871 (target_traceframe_info): Add argument.
872 * target.c (update_current_target): Update.
873 * remote.c (remote_traceframe_info): Add 'self' argument.
874 * ctf.c (ctf_traceframe_info): Add 'self' argument.
876 2014-02-19 Tom Tromey <tromey@redhat.com>
878 * target.h (target_static_tracepoint_markers_by_strid): Add
880 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
882 * target.c (update_current_target): Update.
883 * remote.c (struct target_ops)
884 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
885 * linux-nat.c (struct target_ops)
886 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
888 2014-02-19 Tom Tromey <tromey@redhat.com>
890 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
892 (target_static_tracepoint_marker_at): Add argument.
893 * target.c (update_current_target): Update.
894 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
897 2014-02-19 Tom Tromey <tromey@redhat.com>
899 * target.h (struct target_ops) <to_set_permissions>: Add argument.
900 (target_set_permissions): Add argument.
901 * target.c (update_current_target): Update.
902 * remote.c (remote_set_permissions): Add 'self' argument.
903 (remote_start_remote): Update.
905 2014-02-19 Tom Tromey <tromey@redhat.com>
907 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
908 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
909 (target_get_tib_address): Add argument.
910 * target.c (update_current_target): Update.
911 * remote.c (remote_get_tib_address): Add 'self' argument.
913 2014-02-19 Tom Tromey <tromey@redhat.com>
915 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
916 (target_set_trace_notes): Add argument.
917 * target.c (update_current_target): Update.
918 * remote.c (remote_set_trace_notes): Add 'self' argument.
920 2014-02-19 Tom Tromey <tromey@redhat.com>
922 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
924 (target_set_trace_buffer_size): Add argument.
925 * target.c (update_current_target): Update.
926 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
928 2014-02-19 Tom Tromey <tromey@redhat.com>
930 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
932 (target_set_circular_trace_buffer): Add argument.
933 * target.c (update_current_target): Update.
934 * remote.c (remote_set_circular_trace_buffer): Add 'self'
937 2014-02-19 Tom Tromey <tromey@redhat.com>
939 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
941 (target_set_disconnected_tracing): Add argument.
942 * target.c (update_current_target): Update.
943 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
945 2014-02-19 Tom Tromey <tromey@redhat.com>
947 * target.h (struct target_ops)
948 <to_get_min_fast_tracepoint_insn_len>: Add argument.
949 (target_get_min_fast_tracepoint_insn_len): Add argument.
950 * target.c (update_current_target): Update.
951 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
954 2014-02-19 Tom Tromey <tromey@redhat.com>
956 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
958 (target_get_raw_trace_data): Add argument.
959 * target.c (update_current_target): Update.
960 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
962 2014-02-19 Tom Tromey <tromey@redhat.com>
964 * target.h (struct target_ops) <to_upload_trace_state_variables>:
966 (target_upload_trace_state_variables): Add argument.
967 * target.c (update_current_target): Update.
968 * remote.c (remote_upload_trace_state_variables): Add 'self'
970 (remote_start_remote): Update.
972 2014-02-19 Tom Tromey <tromey@redhat.com>
974 * target.h (struct target_ops) <to_upload_tracepoints>: Add
976 (target_upload_tracepoints): Add argument.
977 * target.c (update_current_target): Update.
978 * remote.c (remote_upload_tracepoints): Add 'self' argument.
979 (remote_start_remote): Update.
981 2014-02-19 Tom Tromey <tromey@redhat.com>
983 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
984 (target_save_trace_data): Add argument.
985 * target.c (update_current_target): Update.
986 * remote.c (remote_save_trace_data): Add 'self' argument.
988 2014-02-19 Tom Tromey <tromey@redhat.com>
990 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
992 * target.h (struct target_ops)
993 <to_get_trace_state_variable_value>: Add argument.
994 (target_get_trace_state_variable_value): Add argument.
995 * target.c (update_current_target): Update.
996 * remote.c (remote_get_trace_state_variable_value): Add 'self'
998 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
1000 2014-02-19 Tom Tromey <tromey@redhat.com>
1002 * tracepoint.c (tfile_trace_find): Add 'self' argument.
1003 * target.h (struct target_ops) <to_trace_find>: Add argument.
1004 (target_trace_find): Add argument.
1005 * target.c (update_current_target): Update.
1006 * remote.c (remote_trace_find): Add 'self' argument.
1007 * ctf.c (ctf_trace_find): Add 'self' argument.
1009 2014-02-19 Tom Tromey <tromey@redhat.com>
1011 * target.h (struct target_ops) <to_trace_stop>: Add argument.
1012 (target_trace_stop): Add argument.
1013 * target.c (update_current_target): Update.
1014 * remote.c (remote_trace_stop): Add 'self' argument.
1016 2014-02-19 Tom Tromey <tromey@redhat.com>
1018 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
1019 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
1021 (target_get_tracepoint_status): Add argument.
1022 * target.c (update_current_target): Update.
1023 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
1025 2014-02-19 Tom Tromey <tromey@redhat.com>
1027 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
1028 * target.h (struct target_ops) <to_get_trace_status>: Add
1030 (target_get_trace_status): Add argument.
1031 * target.c (update_current_target): Update.
1032 * remote.c (remote_get_trace_status): Add 'self' argument.
1033 (remote_start_remote, remote_can_download_tracepoint): Update.
1034 * ctf.c (ctf_get_trace_status): Add 'self' argument.
1036 2014-02-19 Tom Tromey <tromey@redhat.com>
1038 * target.h (struct target_ops) <to_trace_start>: Add argument.
1039 (target_trace_start): Add argument.
1040 * target.c (update_current_target): Update.
1041 * remote.c (remote_trace_start): Add 'self' argument.
1043 2014-02-19 Tom Tromey <tromey@redhat.com>
1045 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1047 (target_trace_set_readonly_regions): Add argument.
1048 * target.c (update_current_target): Update.
1049 * remote.c (remote_trace_set_readonly_regions): Add 'self'
1052 2014-02-19 Tom Tromey <tromey@redhat.com>
1054 * target.h (struct target_ops) <to_disable_tracepoint>: Add
1056 (target_disable_tracepoint): Add argument.
1057 * target.c (update_current_target): Update.
1058 * remote.c (remote_disable_tracepoint): Add 'self' argument.
1060 2014-02-19 Tom Tromey <tromey@redhat.com>
1062 * target.h (struct target_ops) <to_enable_tracepoint>: Add
1064 (target_enable_tracepoint): Add argument.
1065 * target.c (update_current_target): Update.
1066 * remote.c (remote_enable_tracepoint): Add 'self' argument.
1068 2014-02-19 Tom Tromey <tromey@redhat.com>
1070 * target.h (struct target_ops) <to_download_trace_state_variable>:
1072 (target_download_trace_state_variable): Add argument.
1073 * target.c (update_current_target): Update.
1074 * remote.c (remote_download_trace_state_variable): Add 'self'
1077 2014-02-19 Tom Tromey <tromey@redhat.com>
1079 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
1081 (target_can_download_tracepoint): Add argument.
1082 * target.c (update_current_target): Update.
1083 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
1085 2014-02-19 Tom Tromey <tromey@redhat.com>
1087 * target.h (struct target_ops) <to_download_tracepoint>: Add
1089 (target_download_tracepoint): Add argument.
1090 * target.c (update_current_target): Update.
1091 * remote.c (remote_download_tracepoint): Add 'self' argument.
1093 2014-02-19 Tom Tromey <tromey@redhat.com>
1095 * target.h (struct target_ops) <to_trace_init>: Add argument.
1096 (target_trace_init): Add argument.
1097 * target.c (update_current_target): Update.
1098 * remote.c (remote_trace_init): Add 'self' argument.
1100 2014-02-19 Tom Tromey <tromey@redhat.com>
1102 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1103 * target.c (target_fileio_readlink): Add argument.
1104 * remote.c (remote_hostio_readlink): Add 'self' argument.
1105 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1107 2014-02-19 Tom Tromey <tromey@redhat.com>
1109 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1110 * target.c (target_fileio_unlink): Add argument.
1111 * remote.c (remote_hostio_unlink): Add 'self' argument.
1112 (remote_file_delete): Update.
1113 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1115 2014-02-19 Tom Tromey <tromey@redhat.com>
1117 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1118 * target.c (target_fileio_close): Add argument.
1119 * remote.c (remote_hostio_close): Add 'self' argument.
1120 (remote_hostio_close_cleanup): Update.
1121 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1123 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1125 2014-02-19 Tom Tromey <tromey@redhat.com>
1127 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1128 * target.c (target_fileio_pread): Add argument.
1129 * remote.c (remote_hostio_pread): Add 'self' argument.
1130 (remote_bfd_iovec_pread, remote_file_get): Update.
1131 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1133 2014-02-19 Tom Tromey <tromey@redhat.com>
1135 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1136 * target.c (target_fileio_pwrite): Add argument.
1137 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1138 (remote_file_put): Update.
1139 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1141 2014-02-19 Tom Tromey <tromey@redhat.com>
1143 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1144 * target.c (target_fileio_open): Add argument.
1145 * remote.c (remote_hostio_open): Add 'self' argument.
1146 (remote_bfd_iovec_open): Add 'self' argument.
1147 (remote_file_put): Add 'self' argument.
1148 (remote_file_get): Add 'self' argument.
1149 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1151 2014-02-19 Tom Tromey <tromey@redhat.com>
1153 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1155 (target_can_run_breakpoint_commands): Add argument.
1156 * target.c (update_current_target): Update.
1157 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1159 (remote_insert_breakpoint): Add 'self' argument.
1160 (remote_insert_hw_breakpoint): Add 'self' argument.
1161 (remote_can_run_breakpoint_commands): Add 'self' argument.
1163 2014-02-19 Tom Tromey <tromey@redhat.com>
1165 * target.h (struct target_ops)
1166 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1167 (target_supports_evaluation_of_breakpoint_conditions): Add
1169 * target.c (update_current_target): Update.
1170 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1172 (remote_insert_breakpoint): Add 'self' argument.
1173 (remote_insert_hw_breakpoint): Add 'self' argument.
1174 (remote_supports_cond_breakpoints): Add 'self' argument.
1176 2014-02-19 Tom Tromey <tromey@redhat.com>
1178 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1180 (target_supports_string_tracing): Add argument.
1181 * target.c (update_current_target): Update.
1182 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1184 2014-02-19 Tom Tromey <tromey@redhat.com>
1186 * target.h (struct target_ops)
1187 <to_supports_disable_randomization>: Add argument.
1188 * target.c (find_default_supports_disable_randomization): Add
1190 (target_supports_disable_randomization): Add argument.
1191 (find_default_supports_disable_randomization): Add 'self'
1193 * remote.c (extended_remote_supports_disable_randomization): Add
1195 (remote_supports_disable_randomization): Add 'self' argument.
1196 (extended_remote_create_inferior): Update.
1197 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1200 2014-02-19 Tom Tromey <tromey@redhat.com>
1202 * target.h (struct target_ops)
1203 <to_supports_enable_disable_tracepoint>: Add argument.
1204 (target_supports_enable_disable_tracepoint): Add argument.
1205 * target.c (update_current_target): Update.
1206 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1209 2014-02-19 Tom Tromey <tromey@redhat.com>
1211 * target.h (struct target_ops) <to_supports_multi_process>: Add
1213 (target_supports_multi_process): Add argument.
1214 * target.c (update_current_target): Update.
1215 * remote.c (remote_supports_multi_process): Add 'self' argument.
1216 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1218 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1221 2014-02-19 Tom Tromey <tromey@redhat.com>
1223 * target.h (struct target_ops) <to_execution_direction>: Add
1225 (target_execution_direction): Add argument.
1226 * target.c (default_execution_direction): Add 'self' argument.
1227 * record-full.c (record_full_execution_direction): Add 'self'
1230 2014-02-19 Tom Tromey <tromey@redhat.com>
1232 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1234 (target_can_execute_reverse): Add argument.
1235 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1236 * record-full.c (record_full_can_execute_reverse): Add 'self'
1238 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1241 2014-02-19 Tom Tromey <tromey@redhat.com>
1243 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1244 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1246 (target_get_ada_task_ptid): Add argument.
1247 * target.c (update_current_target): Update.
1248 (default_get_ada_task_ptid): Add 'self' argument.
1249 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1250 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1251 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1253 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1255 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1257 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1259 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1260 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1263 2014-02-19 Tom Tromey <tromey@redhat.com>
1265 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1266 (target_goto_bookmark): Add argument.
1267 * target.c (dummy_goto_bookmark): Add 'self' argument.
1268 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1270 2014-02-19 Tom Tromey <tromey@redhat.com>
1272 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1273 (target_get_bookmark): Add argument.
1274 * target.c (dummy_get_bookmark): Add 'self' argument.
1275 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1277 2014-02-19 Tom Tromey <tromey@redhat.com>
1279 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1281 (target_make_corefile_notes): Add argument.
1282 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1283 * procfs.c (procfs_make_note_section): Add 'self' argument.
1284 (procfs_make_note_section): Add 'self' argument.
1285 (procfs_make_note_section): Add 'self' argument.
1286 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1288 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1289 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1290 * exec.c (exec_make_note_section): Add 'self' argument.
1291 (exec_make_note_section): Add 'self' argument.
1293 2014-02-19 Tom Tromey <tromey@redhat.com>
1295 * target.h (struct target_ops) <to_find_memory_regions>: Add
1297 (target_find_memory_regions): Add argument.
1298 * target.c (dummy_find_memory_regions): Add 'self' argument.
1299 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1300 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1301 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1302 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1303 * exec. (exec_do_find_memory_regions): New global.
1304 (exec_set_find_memory_regions): Rewrite.
1305 (exec_find_memory_regions): New function.
1306 (init_exec_ops): Use exec_find_memory_regions.
1308 2014-02-19 Tom Tromey <tromey@redhat.com>
1310 * target.h (struct target_ops) <to_supports_non_stop>: Add
1312 * target.c (find_default_supports_non_stop): Add argument.
1313 (target_supports_non_stop): Add argument.
1314 (find_default_supports_non_stop): Add 'self' argument.
1315 * remote.c (remote_supports_non_stop): Add 'self' argument.
1316 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1318 2014-02-19 Tom Tromey <tromey@redhat.com>
1320 * target.h (struct target_ops) <to_log_command>: Add argument.
1321 (target_log_command): Add argument.
1322 * serial.h (serial_log_command): Add 'self' argument.
1323 * serial.c (serial_log_command): Add 'self' argument.
1325 2014-02-19 Tom Tromey <tromey@redhat.com>
1327 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1328 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1330 (target_pid_to_exec_file): Add argument.
1331 * target.c (debug_to_pid_to_exec_file): Add argument.
1332 (update_current_target): Update.
1333 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1334 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1335 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1336 (linux_handle_extended_wait): Update.
1337 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1338 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1339 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1340 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1342 2014-02-19 Tom Tromey <tromey@redhat.com>
1344 * target.h (struct target_ops) <to_rcmd>: Add argument.
1345 (target_rcmd): Add argument.
1346 * target.c (debug_to_rcmd): Add argument.
1347 (update_current_target, do_monitor_command): Update.
1348 * remote.c (remote_rcmd): Add 'self' argument.
1349 * monitor.c (monitor_rcmd): Add 'self' argument.
1351 2014-02-19 Tom Tromey <tromey@redhat.com>
1353 * windows-nat.c (windows_stop): Add 'self' argument.
1354 * target.h (struct target_ops) <to_stop>: Add argument.
1355 * target.c (target_stop): Add argument.
1356 (debug_to_stop): Add argument.
1357 (update_current_target): Update.
1358 * remote.c (remote_stop): Add 'self' argument.
1359 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1360 (gdbsim_cntrl_c): Update.
1361 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1362 * procfs.c (procfs_stop): Add 'self' argument.
1363 * nto-procfs.c (procfs_stop): Add 'self' argument.
1364 * monitor.c (monitor_stop): Add 'self' argument.
1365 (monitor_open): Update.
1366 * linux-nat.c (linux_nat_stop): Add argument.
1367 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1368 * gnu-nat.c (gnu_stop): Add 'self' argument.
1369 * darwin-nat.c (darwin_stop): Add 'self' argument.
1371 2014-02-19 Tom Tromey <tromey@redhat.com>
1373 * target.h (struct target_ops) <to_thread_name>: Add argument.
1374 * target.c (target_thread_name): Add argument.
1375 (update_current_target): Update.
1376 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
1378 2014-02-19 Tom Tromey <tromey@redhat.com>
1380 * target.h (struct target_ops) <to_extra_thread_info>: Add
1382 (target_extra_thread_info): Add argument.
1383 * target.c (update_current_target): Update.
1384 * remote.c (remote_threads_extra_info): Add 'self' argument.
1385 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
1387 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
1388 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
1389 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
1391 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
1393 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
1395 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
1398 2014-02-19 Tom Tromey <tromey@redhat.com>
1400 * target.h (struct target_ops) <to_program_signals>: Add argument.
1401 * target.c (target_program_signals): Add argument.
1402 * remote.c (remote_program_signals): Add 'self' argument.
1404 2014-02-19 Tom Tromey <tromey@redhat.com>
1406 * target.h (struct target_ops) <to_pass_signals>: Add argument.
1407 * target.c (target_pass_signals): Add argument.
1408 * remote.c (remote_pass_signals): Add 'self' argument.
1409 (remote_start_remote): Update.
1410 * procfs.c (procfs_pass_signals): Add 'self' argument.
1411 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
1412 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
1413 (linux_nat_create_inferior, linux_nat_attach): Update.
1415 2014-02-19 Tom Tromey <tromey@redhat.com>
1417 * windows-nat.c (windows_can_run): Add 'self' argument.
1418 * target.h (struct target_ops) <to_can_run>: Add argument.
1419 (target_can_run): Add argument.
1420 * target.c (debug_to_can_run): Add argument.
1421 (update_current_target): Update.
1422 * nto-procfs.c (procfs_can_run): Add 'self' argument.
1423 * inf-child.c (inf_child_can_run): Add 'self' argument.
1424 * go32-nat.c (go32_can_run): Add 'self' argument.
1426 2014-02-19 Tom Tromey <tromey@redhat.com>
1428 * target.h (struct target_ops) <to_has_exited>: Add argument.
1429 (target_has_exited): Add argument.
1430 * target.c (debug_to_has_exited): Add argument.
1431 (update_current_target): Update.
1433 2014-02-19 Tom Tromey <tromey@redhat.com>
1435 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
1437 (target_set_syscall_catchpoint): Add argument.
1438 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
1440 * target.c (update_current_target): Update.
1442 2014-02-19 Tom Tromey <tromey@redhat.com>
1444 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
1446 (target_remove_exec_catchpoint): Add argument.
1447 * target.c (debug_to_remove_exec_catchpoint): Add argument.
1448 (update_current_target): Update.
1449 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
1452 2014-02-19 Tom Tromey <tromey@redhat.com>
1454 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
1456 (target_insert_exec_catchpoint): Add argument.
1457 * target.c (debug_to_insert_exec_catchpoint): Add argument.
1458 (update_current_target): Update.
1459 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
1462 2014-02-19 Tom Tromey <tromey@redhat.com>
1464 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
1466 (target_remove_vfork_catchpoint): Add argument.
1467 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
1468 (update_current_target): Update.
1469 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
1472 2014-02-19 Tom Tromey <tromey@redhat.com>
1474 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
1476 (target_insert_vfork_catchpoint): Add argument.
1477 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
1478 (update_current_target): Update.
1479 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
1482 2014-02-19 Tom Tromey <tromey@redhat.com>
1484 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
1486 (target_remove_fork_catchpoint): Add argument.
1487 * target.c (debug_to_remove_fork_catchpoint): Add argument.
1488 (update_current_target): Update.
1489 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
1492 2014-02-19 Tom Tromey <tromey@redhat.com>
1494 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
1496 (target_insert_fork_catchpoint): Add argument.
1497 * target.c (debug_to_insert_fork_catchpoint): Add argument.
1498 (update_current_target): Update.
1499 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
1502 2014-02-19 Tom Tromey <tromey@redhat.com>
1504 * target.h (struct target_ops) <to_post_startup_inferior>: Add
1506 (target_post_startup_inferior): Add argument.
1507 * target.c (debug_to_post_startup_inferior): Add argument.
1508 (update_current_target): Update.
1509 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
1511 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
1513 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
1515 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
1517 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
1519 (super_post_startup_inferior): Likewise.
1520 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
1522 (super_post_startup_inferior): Likewise.
1523 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
1524 Add 'self' argument.
1525 (super_post_startup_inferior): Likewise.
1527 2014-02-19 Tom Tromey <tromey@redhat.com>
1529 * target.h (struct target_ops) <to_load>: Add argument.
1530 * target.c (target_load): Add argument.
1531 (debug_to_load): Add argument.
1532 (update_current_target): Update.
1533 * remote.c (remote_load): Add 'self' argument.
1534 * remote-sim.c (gdbsim_load): Add 'self' argument.
1535 * remote-mips.c (mips_load): Add 'self' argument.
1536 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
1537 * monitor.c (monitor_load): Add 'self' argument.
1538 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
1540 2014-02-19 Tom Tromey <tromey@redhat.com>
1542 * target.h (struct target_ops) <to_terminal_info>: Add argument.
1543 (target_terminal_info): Add argument.
1544 * target.c (debug_to_terminal_info): Add argument.
1545 (default_terminal_info): Likewise.
1546 * inflow.c (child_terminal_info): Add 'self' argument.
1547 * inferior.h (child_terminal_info): Add 'self' argument.
1548 * go32-nat.c (go32_terminal_info): Add 'self' argument.
1550 2014-02-19 Tom Tromey <tromey@redhat.com>
1552 * target.h (struct target_ops) <to_terminal_save_ours>: Add
1554 (target_terminal_save_ours): Add argument.
1555 * target.c (debug_to_terminal_save_ours): Add argument.
1556 (update_current_target): Update.
1557 * inflow.c (terminal_save_ours): Add 'self' argument.
1558 * inferior.h (terminal_save_ours): Add 'self' argument.
1560 2014-02-19 Tom Tromey <tromey@redhat.com>
1562 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
1563 (target_terminal_ours): Add argument.
1564 * target.c (debug_to_terminal_ours): Add argument.
1565 (update_current_target): Update.
1566 * remote.c (remote_terminal_ours): Add 'self' argument.
1567 (remote_close): Update.
1568 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
1569 * inflow.c (terminal_ours): Add 'self' argument.
1570 * inferior.h (terminal_ours): Add 'self' argument.
1571 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1573 2014-02-19 Pedro Alves <palves@redhat.com>
1574 Tom Tromey <tromey@redhat.com>
1576 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
1578 (target_terminal_ours_for_output): Add argument.
1579 * target.c (debug_to_terminal_ours_for_output): Add argument.
1580 (update_current_target): Update.
1581 * inflow.c (terminal_ours_for_output): Add 'self' argument.
1582 * inferior.h (terminal_ours_for_output): Add 'self' argument.
1583 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1585 2014-02-19 Tom Tromey <tromey@redhat.com>
1587 * target.h (struct target_ops) <to_terminal_inferior>: Add
1589 * target.c (target_terminal_inferior): Add argument.
1590 (update_current_target): Update.
1591 * remote.c (remote_terminal_inferior): Add 'self' argument.
1592 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
1593 * inflow.c (terminal_inferior): Add 'self' argument.
1594 * inferior.h (terminal_inferior): Add 'self' argument.
1595 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
1596 (go32_terminal_inferior): Add 'self' argument.
1598 2014-02-19 Tom Tromey <tromey@redhat.com>
1600 * target.h (struct target_ops) <to_terminal_init>: Add argument.
1601 (target_terminal_init): Add argument.
1602 * target.c (debug_to_terminal_init): Add argument.
1603 (update_current_target): Update.
1604 * inflow.c (terminal_init_inferior): Add 'self' argument.
1605 * inferior.h (terminal_init_inferior): Add 'self' argument.
1606 * go32-nat.c (go32_terminal_init): Add 'self' argument.
1607 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
1609 2014-02-19 Tom Tromey <tromey@redhat.com>
1611 * target.h (struct target_ops)
1612 <to_can_accel_watchpoint_condition>: Add argument.
1613 (target_can_accel_watchpoint_condition): Add argument.
1614 * target.c (debug_to_can_accel_watchpoint_condition): Add
1616 (update_current_target): Update.
1617 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
1620 2014-02-19 Tom Tromey <tromey@redhat.com>
1622 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1624 (target_region_ok_for_hw_watchpoint): Add argument.
1625 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
1626 (default_region_ok_for_hw_watchpoint): Add argument.
1627 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
1628 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
1630 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
1632 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
1634 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
1636 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
1638 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
1640 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
1641 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
1643 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
1644 Add 'self' argument.
1646 2014-02-19 Tom Tromey <tromey@redhat.com>
1648 * target.h (struct target_ops) <to_insert_watchpoint>: Add
1650 (target_insert_watchpoint): Add argument.
1651 * target.c (debug_to_insert_watchpoint): Add argument.
1652 (update_current_target): Update.
1653 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
1654 * remote.c (remote_insert_watchpoint): Add 'self' argument.
1655 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
1656 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
1657 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
1658 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
1660 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
1661 (procfs_insert_hw_watchpoint): Add 'self' argument.
1662 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
1664 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
1666 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
1668 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
1669 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
1671 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
1674 2014-02-19 Tom Tromey <tromey@redhat.com>
1676 * target.h (struct target_ops) <to_remove_watchpoint>: Add
1678 (target_remove_watchpoint): Add argument.
1679 * target.c (debug_to_remove_watchpoint): Add argument.
1680 (update_current_target): Update.
1681 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
1682 * remote.c (remote_remove_watchpoint): Add 'self' argument.
1683 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
1684 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
1685 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
1686 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
1688 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
1689 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
1691 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
1693 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
1695 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
1696 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
1698 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
1701 2014-02-19 Tom Tromey <tromey@redhat.com>
1703 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
1705 (target_remove_hw_breakpoint): Add argument.
1706 * target.c (debug_to_remove_hw_breakpoint): Add argument.
1707 (update_current_target): Update.
1708 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
1709 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
1711 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
1712 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
1714 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
1717 2014-02-19 Tom Tromey <tromey@redhat.com>
1719 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
1721 (target_insert_hw_breakpoint): Add argument.
1722 * target.c (debug_to_insert_hw_breakpoint): Add argument.
1723 (update_current_target): Update.
1724 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
1725 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
1727 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
1728 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
1729 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
1731 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
1734 2014-02-19 Tom Tromey <tromey@redhat.com>
1736 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
1738 (target_can_use_hardware_watchpoint): Add argument.
1739 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
1740 (update_current_target): Update.
1741 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
1743 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
1745 * remote.c (remote_check_watch_resources): Add 'self' argument.
1746 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
1747 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
1749 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
1750 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
1752 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
1754 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
1756 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
1758 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
1760 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
1762 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
1763 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
1765 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
1768 2014-02-19 Tom Tromey <tromey@redhat.com>
1770 * target.h (struct target_ops) <to_post_attach>: Add argument.
1771 (target_post_attach): Add argument.
1772 * target.c (debug_to_post_attach): Add argument.
1773 (update_current_target): Update.
1774 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
1775 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
1776 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
1777 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
1778 * inf-child.c (inf_child_post_attach): Add 'self' argument.
1780 2014-02-19 Tom Tromey <tromey@redhat.com>
1782 * windows-nat.c (windows_close): Add 'self' argument.
1783 * tracepoint.c (tfile_close): Add 'self' argument.
1784 * target.h (struct target_ops) <to_close>: Add argument.
1785 * target.c (target_close): Add argument.
1786 (update_current_target): Update.
1787 * remote.c (remote_close): Add 'self' argument.
1788 * remote-sim.c (gdbsim_close): Add 'self' argument.
1789 * remote-mips.c (mips_close): Add 'self' argument.
1790 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
1791 * record-full.c (record_full_close): Add 'self' argument.
1792 * record-btrace.c (record_btrace_close): Add 'self' argument.
1793 * monitor.h (monitor_close): Add 'self' argument.
1794 * monitor.c (monitor_close): Add 'self' argument.
1795 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
1796 * linux-nat.c (linux_nat_close): Add argument.
1797 * go32-nat.c (go32_close): Add 'self' argument.
1798 * exec.c (exec_close_1): Add 'self' argument.
1799 * ctf.c (ctf_close): Add 'self' argument.
1800 * corelow.c (core_close): Add 'self' argument.
1801 (core_close_cleanup): Update.
1802 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
1803 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
1805 2014-02-19 Tom Tromey <tromey@redhat.com>
1807 * remote.c (remote_load): New function.
1808 (init_remote_ops): Use it.
1810 2014-02-19 Tom Tromey <tromey@redhat.com>
1812 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
1814 * common/linux-btrace.h (linux_supports_btrace): Update.
1815 * remote.c (remote_supports_btrace): Add "self" argument.
1816 * target-delegates.c: Rebuild.
1817 * target.c (target_supports_btrace): Remove.
1818 * target.h (struct target_ops) <to_supports_btrace>: Add
1819 target_ops argument.
1820 (target_supports_btrace): New define.
1822 2014-02-19 Tom Tromey <tromey@redhat.com>
1824 * record-full.c (record_full_beneath_to_resume_ops)
1825 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
1826 (record_full_beneath_to_wait)
1827 (record_full_beneath_to_store_registers_ops)
1828 (record_full_beneath_to_store_registers)
1829 (record_full_beneath_to_xfer_partial_ops)
1830 (record_full_beneath_to_xfer_partial)
1831 (record_full_beneath_to_insert_breakpoint_ops)
1832 (record_full_beneath_to_insert_breakpoint)
1833 (record_full_beneath_to_remove_breakpoint_ops)
1834 (record_full_beneath_to_remove_breakpoint)
1835 (record_full_beneath_to_stopped_by_watchpoint)
1836 (record_full_beneath_to_stopped_data_address)
1837 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
1838 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
1839 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
1840 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
1841 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
1842 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
1843 (tmp_to_stopped_data_address, tmp_to_async): Remove.
1844 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
1845 (record_full_resume, record_full_wait_1)
1846 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
1847 (record_full_store_registers, record_full_xfer_partial)
1848 (record_full_insert_breakpoint, record_full_remove_breakpoint)
1849 (record_full_async, record_full_core_xfer_partial): Use target
1851 * target-delegates.c: Rebuild.
1852 * target.c (current_xfer_partial): Remove.
1853 (update_current_target): Do not INHERIT or de_fault
1854 to_insert_breakpoint, to_remove_breakpoint,
1855 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
1856 to_is_async_p, to_async. Do not set to_xfer_partial field.
1857 (default_xfer_partial): Simplify.
1858 (current_xfer_partial): Remove.
1859 (target_wait, target_resume): Simplify.
1860 (find_default_can_async_p, find_default_is_async_p): Update.
1861 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
1862 to_xfer_partial, to_stopped_by_watchpoint,
1863 to_stopped_data_address.
1864 (target_store_registers): Simplify.
1865 (forward_target_remove_breakpoint)
1866 (forward_target_insert_breakpoint): Remove.
1867 (target_remove_breakpoint, target_insert_breakpoint)
1868 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
1869 * target.h (struct target_ops) <to_resume, to_wait,
1870 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
1871 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
1872 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
1874 (forward_target_remove_breakpoint)
1875 (forward_target_insert_breakpoint): Remove.
1876 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
1878 (record_btrace_insert_breakpoint): Delegate directly.
1880 2014-02-19 Tom Tromey <tromey@redhat.com>
1883 * target-delegates.c: New file.
1884 * target.c: Include target-delegates.c.
1885 (init_dummy_target): Call install_dummy_methods.
1886 (complete_target_initialization): Call install_delegators.
1887 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
1888 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
1889 * make-target-delegates: New file.
1891 2014-02-19 Tom Tromey <tromey@redhat.com>
1893 * record.c (find_record_target): Use find_target_at.
1894 * target.c (find_target_at): New function.
1895 * target.h (find_target_at): Declare.
1897 2014-02-19 Tom Tromey <tromey@redhat.com>
1899 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
1901 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
1903 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
1904 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
1906 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
1908 * linux-nat.c (save_sigtrap): Update.
1909 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
1910 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
1911 (linux_nat_close): Update.
1912 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
1914 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
1916 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
1917 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
1918 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
1919 (tmp_to_async): Add 'ops' argument.
1920 (record_full_stopped_by_watchpoint, record_full_async)
1921 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
1923 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
1924 (m32r_stopped_by_watchpoint): Add 'ops' argument.
1925 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
1926 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
1927 (remote_is_async_p, remote_async): Add 'ops' argument.
1928 (remote_stopped_data_address): Update.
1929 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
1930 * target.c (update_current_target)
1931 (find_default_can_async_p, find_default_is_async_p): Update.
1932 (init_dummy_target): Update.
1933 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
1934 * target.h (struct target_ops) <to_stopped_by_watchpoint,
1935 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
1936 (target_can_async_p, target_is_async_p, target_async)
1937 (target_stopped_by_watchpoint): Update.
1939 2014-02-19 Yao Qi <yao@codesourcery.com>
1942 * gdbarch.sh: Remove startup_gdbarch.
1943 * gdbarch.c: Regenerated.
1944 * gdbarch.h: Likewise.
1946 2014-02-17 Kevin Buettner <kevinb@redhat.com>
1948 * rl78-tdep.c (rl78_g10_register_name): New function.
1949 (rl78_return_value): Add g10 support.
1950 (rl78_gdbarch_init): Register rl78_g10_register_name for the
1953 2014-02-17 Doug Evans <xdje42@gmail.com>
1955 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
1956 (SUBDIR_GUILE_SRCS): Ditto.
1957 (scm-gsmob.o): Ditto.
1959 2014-02-17 Yao Qi <yao@codesourcery.com>
1961 * gnu-nat.c (ILL_RPC): Declare defined function.
1963 2014-02-17 Yao Qi <yao@codesourcery.com>
1965 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
1966 mach_msg_type_number_t.
1967 (gnu_write_inferior): Likewise.
1969 2014-02-17 Yao Qi <yao@codesourcery.com>
1971 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
1973 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
1974 (inf_validate_procs, inf_signal): Likewise.
1975 (S_exception_raise_request): Likewise.
1976 (do_mach_notify_dead_name): Likewise.
1977 (steal_exc_port): Likewise.
1978 (gnu_read_inferior): Change 'copy_count''s type to
1979 mach_msg_type_number_t.
1980 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
1983 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
1985 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
1986 flag. Adjust all users; in particular...
1987 (gnu_wait): ..., don't decrement its value in here...
1988 (gnu_create_inferior): ..., and instead set the flag in here,
1989 around the startup_inferior call, and call that one with
1990 START_INFERIOR_TRAPS_EXPECTED.
1992 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
1993 (ILL_RPC): ... new macro.
1994 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
1995 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
1996 (do_mach_notify_send_once, S_proc_setmsgport_reply)
1997 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
1998 functions with ILL_RPC macro.
1999 (S_proc_pid2task_reply, S_proc_task2pid_reply)
2000 (S_proc_task2proc_reply, S_proc_proc2task_reply)
2001 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
2002 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
2003 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
2004 (S_proc_getlogin_reply, S_proc_getsid_reply)
2005 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
2006 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
2007 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
2008 (S_proc_getnports_reply, S_proc_is_important_reply)
2009 (S_proc_get_code_reply): New stub functions, generated with
2012 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
2013 collected the type check structures.
2015 * reply_mig_hack.awk: Don't expect to see the auto keyword.
2017 2014-02-14 Doug Evans <dje@google.com>
2019 * target.c (target_write_partial): Fix result type.
2021 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2023 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
2024 the proper offsets to access fpregset_t.
2026 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
2028 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
2029 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
2030 * h8300-tdep.c (setmachinelist): Remove global.
2031 * hppa-tdep.c (hppa_sigtramp): Remove global.
2032 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
2033 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
2034 * ravenscar-thread.c (update_target_observer): Remove global.
2035 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
2037 2014-02-12 Tom Tromey <tromey@redhat.com>
2039 * common/rsp-low.c: Update comments.
2040 * common/rsp-low.h: Update comments.
2042 2014-02-12 Tom Tromey <tromey@redhat.com>
2044 * common/rsp-low.c (convert_ascii_to_int): Remove.
2045 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
2047 2014-02-12 Tom Tromey <tromey@redhat.com>
2049 * common/rsp-low.h (unhexify): Don't declare.
2050 * common/rsp-low.c (unhexify): Remove.
2052 2014-02-12 Tom Tromey <tromey@redhat.com>
2054 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
2055 * common/rsp-low.c (convert_int_to_ascii): Remove.
2057 2014-02-12 Tom Tromey <tromey@redhat.com>
2059 * common/rsp-low.h (hexify): Don't declare.
2060 * common/rsp-low.c (hexify): Remove.
2062 2014-02-12 Tom Tromey <tromey@redhat.com>
2064 * common/rsp-low.c (hexify): Never take strlen of argument.
2066 2014-02-12 Tom Tromey <tromey@redhat.com>
2068 * common/rsp-low.c (bin2hex): Never take strlen of argument.
2069 * remote.c (extended_remote_run, remote_rcmd)
2070 (remote_download_trace_state_variable, remote_save_trace_data)
2071 (remote_set_trace_notes): Update.
2072 * tracepoint.c (encode_source_string, tfile_write_status)
2073 (tfile_write_uploaded_tsv): Update.
2075 2014-02-12 Tom Tromey <tromey@redhat.com>
2077 * tracepoint.c: Include rsp-low.h.
2078 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
2079 * remote.c: Include rsp-low.h.
2080 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
2081 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
2082 (remote_unescape_input): Move to common/rsp-low.c.
2083 * common/rsp-low.h: New file.
2084 * common/rsp-low.c: New file.
2085 * Makefile.in (SFILES): Add common/rsp-low.c.
2086 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
2087 (COMMON_OBS): Add rsp-low.o.
2088 (rsp-low.o): New target.
2090 2014-02-12 Tom Tromey <tromey@redhat.com>
2092 * utils.h: Include print-utils.h.
2093 (host_address_to_string, plongest, pulongest, phex, phex_nz)
2094 (int_string, core_addr_to_string, core_addr_to_string_nz)
2095 (hex_string, hex_string_custom): Don't declare.
2096 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2097 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2098 (hex_string_custom, int_string, core_addr_to_string)
2099 (core_addr_to_string_nz, host_address_to_string): Move to
2100 common/print-utils.c.
2101 * common/print-utils.h: New file.
2102 * common/print-utils.c: New file
2103 * Makefile.in (SFILES): Add common/print-utils.c.
2104 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2105 (COMMON_OBS): Add print-utils.o.
2106 (print-utils.o): New target.
2108 2014-02-12 Tom Tromey <tromey@redhat.com>
2110 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2112 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2114 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2116 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2118 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2119 if a PT_IO ptrace request returns sucessfully but indicates that 0
2120 bytes were transferred.
2122 2014-02-12 Pedro Alves <palves@redhat.com>
2123 Kevin Buettner <kevinb@redhat.com>
2125 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2126 TYPE_INSTANCE_FLAG_CODE_SPACE.
2128 2014-02-12 Pedro Alves <palves@redhat.com>
2130 * h8300-tdep.c (pseudo_from_raw_register)
2131 (raw_from_pseudo_register): New functions.
2132 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2135 2014-02-12 Pedro Alves <palves@redhat.com>
2137 * h8300-tdep.c (h8300_register_sim_regno): New function.
2138 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2139 gdbarch_register_sim_regno hook.
2141 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2143 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2145 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2147 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2149 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2151 * obsd-tdep.h (obsd_init_abi): New prototype.
2152 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2153 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2154 (obsd_init_abi): New functions.
2155 * i386obsd-tdep.c: Include "obsd-tdep.h".
2156 (i386obsd_init_abi): Call obsd_init_abi.
2157 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2158 (amd64obsd_init_abi): Call obsd_init_abi.
2159 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2160 obsd-tdep.c to gdb_target_obs.
2162 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2164 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2165 double float arguments to 16-byte in the argument slots.
2167 2014-02-11 Doug Evans <xdje42@gmail.com>
2169 * configure.ac: Don't crash if pkg-config is not found and guile
2170 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2172 * configure: Regenerate.
2174 2014-02-11 Yao Qi <yao@codesourcery.com>
2176 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2177 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2178 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2179 * gnu-nat.c (gnu_xfer_memory): Likewise.
2180 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2181 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2182 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2183 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2185 2014-02-11 Yao Qi <yao@codesourcery.com>
2187 * target.h (enum target_xfer_error): Rename to ...
2188 (enum target_xfer_status): ... it. New. All users updated.
2189 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2191 (TARGET_XFER_STATUS_ERROR_P): New macro.
2192 (target_xfer_error_to_string): Remove declaration.
2193 (target_xfer_status_to_string): Declare.
2194 (target_xfer_partial_ftype): Adjust it.
2195 (struct target_ops) <to_xfer_partial>: Return
2196 target_xfer_status. Add argument xfered_len. Update
2198 * target.c (target_xfer_error_to_string): Rename to ...
2199 (target_xfer_status_to_string): ... it. New. All callers
2201 (target_read_live_memory): Likewise. Call target_xfer_partial
2202 instead of target_read.
2203 (memory_xfer_live_readonly_partial): Return
2204 target_xfer_status. Add argument xfered_len.
2205 (raw_memory_xfer_partial): Likewise.
2206 (memory_xfer_partial_1): Likewise.
2207 (memory_xfer_partial): Likewise.
2208 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2209 properly. Update debug message.
2210 (default_xfer_partial, current_xfer_partial): Likewise.
2211 (target_write_partial): Likewise.
2212 (target_read_partial): Likewise. All callers updated.
2213 (read_whatever_is_readable): Likewise.
2214 (target_write_with_progress): Likewise.
2215 (target_read_alloc_1): Likewise.
2217 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2218 * auxv.c (procfs_xfer_auxv): Likewise.
2219 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2220 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2221 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2222 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2223 * corefile.c (read_memory): Adjust.
2224 * corelow.c (core_xfer_partial): Likewise.
2225 * ctf.c (ctf_xfer_partial): Likewise.
2226 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2228 (darwin_xfer_partial): Likewise.
2229 * exec.c (section_table_xfer_memory_partial): Likewise. All
2231 (exec_xfer_partial): Likewise.
2232 * exec.h (section_table_xfer_memory_partial): Update
2234 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2236 (gnu_xfer_partial): Likewise.
2237 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2238 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2239 (ia64_hpux_xfer_solib_got): Likewise.
2240 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2241 type of 'partial_len' to ULONGEST.
2242 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2243 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2244 (linux_nat_xfer_partial): Likewise.
2245 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2246 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2247 * monitor.c (monitor_xfer_memory): Likewise.
2248 (monitor_xfer_partial): Likewise.
2249 * procfs.c (procfs_xfer_partial): Likewise.
2250 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2251 * record-full.c (record_full_xfer_partial): Likewise.
2252 (record_full_core_xfer_partial): Likewise.
2253 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2254 (gdbsim_xfer_partial): Likewise.
2255 * remote.c (remote_write_bytes_aux): Likewise. All callers
2257 (remote_write_bytes, remote_read_bytes): Likewise. All
2259 (remote_flash_erase): Likewise. All callers updated.
2260 (remote_write_qxfer): Likewise. All callers updated.
2261 (remote_read_qxfer): Likewise. All callers updated.
2262 (remote_xfer_partial): Likewise.
2263 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2264 (rs6000_xfer_shared_libraries): Likewise.
2265 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2266 (sol_thread_xfer_partial): Likewise.
2267 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2268 (sparc_xfer_partial): Likewise.
2269 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2271 (spu_xfer_partial): Likewise.
2272 * spu-multiarch.c (spu_xfer_partial): Likewise.
2273 * tracepoint.c (tfile_xfer_partial): Likewise.
2274 * windows-nat.c (windows_xfer_memory): Likewise.
2275 (windows_xfer_shared_libraries): Likewise.
2276 (windows_xfer_partial): Likewise.
2277 * valprint.c: Replace 'target_xfer_error' with
2278 'target_xfer_status' in comments.
2280 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2282 Checked in by Joel Brobecker <brobecker@adacore.com>.
2283 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2285 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2287 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2288 function parameters.
2290 2014-02-10 Will Newton <will.newton@linaro.org>
2292 * elfread.c (elf_rel_plt_read): Look for a .got section if
2293 looking up .got.plt fails.
2294 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2295 on address passed to elf_gnu_ifunc_record_cache.
2296 (elf_gnu_ifunc_resolve_addr): Likewise.
2297 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2299 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2301 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2302 (X_RETTURN): New macro.
2303 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2305 * sparc64-tdep.c (sparc64_init_abi): Hook
2306 sparc_in_function_epilogue_p.
2308 2014-02-10 Gary Benson <gbenson@redhat.com>
2310 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2311 Rename name_matcher to symbol_matcher.
2313 2014-02-10 Gary Benson <gbenson@redhat.com>
2315 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2316 Use expand_symtabs_file_matcher_ftype and
2317 expand_symtabs_symbol_matcher_ftype.
2319 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2321 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2322 (struct ada_symbol_cache): New.
2323 (ada_free_symbol_cache): Forward declare.
2324 (struct ada_pspace_data): New.
2325 (ada_pspace_data_handle): New static global.
2326 (get_ada_pspace_data, ada_pspace_data_cleanup)
2327 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2328 (cache_space, cache): Delete, now folded inside struct
2330 (ada_get_symbol_cache): New function.
2331 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2333 (_initialize_ada_language): Remove initialization of cache_space.
2334 Move call to observer_attach_inferior_exit up, grouping it
2335 with the other observer registrations inside this function.
2336 Rename command to be more general. Add call to
2337 register_program_space_data_with_cleanup.
2339 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2341 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2342 ada_new_objfile_observer.
2343 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2344 (_initialize_tasks): Update uses of ada_new_objfile_observer
2345 and ada_tasks_normal_stop_observer.
2347 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2349 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2350 returned by the 'Length attribute to integer.
2352 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2354 * ada-lang.c (_initialize_ada_language): Initialize
2355 cache_space obstack.
2357 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2359 * ada-lang.c (HASH_SIZE): New macro.
2360 (struct cache_entry): New type.
2361 (cache_space, cache): New static globals.
2362 (ada_clear_symbol_cache, find_entry): New functions.
2363 (lookup_cached_symbol, cache_symbol): Implement.
2364 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2365 (_initialize_ada_language): Attach ada_new_objfile_observer
2366 and ada_free_objfile_observer.
2368 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2370 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
2371 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
2372 struct block * parameter.
2373 (ada_lookup_symbol_list_worker): Constify local variable "block".
2374 Remove cast which is no longer necessary.
2376 2014-02-10 Doug Evans <xdje42@gmail.com>
2378 Add Guile as an extension language.
2379 * NEWS: Mention Guile scripting.
2380 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
2381 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
2382 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
2383 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
2384 (CLIBS): Add GUILE_LIBS.
2385 (install-guile): New rule.
2386 (guile.o): New rule.
2387 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
2388 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
2389 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
2390 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
2391 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
2392 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
2393 (scm-type.o, scm-utils.o, scm-value.o): New rules.
2394 * configure.ac: New option --with-guile.
2395 * configure: Regenerate.
2396 * config.in: Regenerate.
2397 * auto-load.c: Remove #include "python/python.h". Add #include
2398 "gdb/section-scripts.h".
2399 (source_section_scripts): Handle Guile scripts.
2400 (_initialize_auto_load): Add name of Guile objfile script to
2401 scripts-directory help text.
2402 * breakpoint.c (condition_command): Tweak comment to include Scheme.
2403 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
2404 (struct breakpoint): New member scm_bp_object.
2405 * defs.h (enum command_control_type): New value guile_control.
2406 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
2408 (show_user): Update comment.
2409 (_initialize_cli_cmds): Update help text for "show user". Update help
2410 text for max-user-call-depth.
2411 * cli/cli-script.c: Remove #include "python/python.h". Add #include
2413 (multi_line_command_p): Add guile_control.
2414 (print_command_lines): Handle guile_control.
2415 (execute_control_command, recurse_read_control_structure): Ditto.
2416 (process_next_line): Recognize "guile" commands.
2417 * disasm.c (gdb_disassemble_info): Make non-static.
2418 * disasm.h: #include "dis-asm.h".
2419 (struct gdbarch): Add forward decl.
2420 (gdb_disassemble_info): Declare.
2421 * extension.c: #include "guile/guile.h".
2422 (extension_languages): Add guile.
2423 (get_ext_lang_defn): Handle EXT_LANG_GDB.
2424 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
2425 * gdbtypes.c (get_unsigned_type_max): New function.
2426 (get_signed_type_minmax): New function.
2427 * gdbtypes.h (get_unsigned_type_max): Declare.
2428 (get_signed_type_minmax): Declare.
2429 * guile/README: New file.
2430 * guile/guile-internal.h: New file.
2431 * guile/guile.c: New file.
2432 * guile/guile.h: New file.
2433 * guile/scm-arch.c: New file.
2434 * guile/scm-auto-load.c: New file.
2435 * guile/scm-block.c: New file.
2436 * guile/scm-breakpoint.c: New file.
2437 * guile/scm-disasm.c: New file.
2438 * guile/scm-exception.c: New file.
2439 * guile/scm-frame.c: New file.
2440 * guile/scm-gsmob.c: New file.
2441 * guile/scm-iterator.c: New file.
2442 * guile/scm-lazy-string.c: New file.
2443 * guile/scm-math.c: New file.
2444 * guile/scm-objfile.c: New file.
2445 * guile/scm-ports.c: New file.
2446 * guile/scm-pretty-print.c: New file.
2447 * guile/scm-safe-call.c: New file.
2448 * guile/scm-string.c: New file.
2449 * guile/scm-symbol.c: New file.
2450 * guile/scm-symtab.c: New file.
2451 * guile/scm-type.c: New file.
2452 * guile/scm-utils.c: New file.
2453 * guile/scm-value.c: New file.
2454 * guile/lib/gdb.scm: New file.
2455 * guile/lib/gdb/boot.scm: New file.
2456 * guile/lib/gdb/experimental.scm: New file.
2457 * guile/lib/gdb/init.scm: New file.
2458 * guile/lib/gdb/iterator.scm: New file.
2459 * guile/lib/gdb/printing.scm: New file.
2460 * guile/lib/gdb/types.scm: New file.
2461 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
2462 (VPATH): Add $(GUILE_SRCDIR).
2463 (GUILE_DIR): New variable.
2464 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
2465 (all): Add stamp-guile dependency.
2466 (stamp-guile): New rule.
2467 (clean-guile, install-guile, uninstall-guile): New rules.
2468 (install-only): Add install-guile dependency.
2469 (uninstall): Add uninstall-guile dependency.
2470 (clean): Add clean-guile dependency.
2472 2014-02-09 Doug Evans <xdje42@gmail.com>
2474 Revert this patch (which I approved, mea culpa).
2476 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2478 * Makefile.in (all-lib): Remove.
2479 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2481 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2483 Fix Python stack corruption.
2484 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
2487 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2489 * Makefile.in (all-lib): Remove.
2490 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2492 2014-02-07 Doug Evans <dje@google.com>
2494 * extension-priv.h (extension_language_script_ops): Add comment.
2495 (extension_language_ops): Add comment.
2496 (active_ext_lang_state): Fix typo in comment.
2498 2014-02-07 Pedro Alves <palves@redhat.com>
2500 * infrun.c (handle_signal_stop) <signal arrives while stepping
2501 over a breakpoint>: Switch back to the stepping thread.
2503 2014-02-07 Yao Qi <yao@codesourcery.com>
2505 * target.c (target_xfer_partial): Return zero if LEN is zero.
2507 2014-02-07 Yao Qi <yao@codesourcery.com>
2509 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
2510 (ld_so_xfer_auxv): Likewise.
2511 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2512 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2513 * corelow.c (core_xfer_partial): Likewise.
2514 * ctf.c (ctf_xfer_partial): Likewise.
2515 * darwin-nat.c (darwin_read_dyld_info): Likewise.
2516 (darwin_xfer_partial): Likewise.
2517 * exec.c (exec_xfer_partial): Likewise.
2518 * gnu-nat.c (gnu_xfer_partial): Likewise.
2519 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
2520 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2521 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2522 * linux-nat.c (linux_xfer_siginfo): Likewise.
2523 (linux_proc_xfer_spu): Likewise.
2524 * procfs.c (procfs_xfer_partial): Likewise.
2525 * record-full.c (record_full_xfer_partial): Likewise.
2526 (record_full_core_xfer_partial): Likewise.
2527 * remote-sim.c (gdbsim_xfer_partial): Likewise.
2528 * remote.c (remote_write_qxfer): Likewise.
2529 (remote_write_qxfer, remote_read_qxfer): Likewise.
2530 (remote_xfer_partial): Likewise.
2531 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2532 (rs6000_xfer_shared_libraries): Likewise.
2533 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2534 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2535 (spu_xfer_partial): Likewise.
2536 * target.c (memory_xfer_partial_1): Likewise.
2537 * tracepoint.c (tfile_xfer_partial): Likewise.
2538 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
2539 (windows_xfer_partial): Likewise.
2541 2014-02-07 Yao Qi <yao@codesourcery.com>
2543 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
2545 (core_xfer_shared_libraries_aix): Likewise.
2546 * gdbarch.c, gdbarch.h: Regenerated.
2547 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
2548 ULONGEST. Change 'len_avail' type to ULONGEST.
2549 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
2550 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
2552 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
2554 2014-02-07 Yao Qi <yao@codesourcery.com>
2556 * corefile.c (memory_error): Get 'exception' from ERR and pass
2557 'exception' to throw_error.
2559 2014-02-06 Doug Evans <xdje42@gmail.com>
2561 * configure.ac (libpython checking): Remove all but python.o from
2562 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
2563 * configure: Regenerate.
2565 * Makefile.in (SFILES): Add extension.c.
2566 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
2567 (COMMON_OBS): Add extension.o.
2568 * extension.h: New file.
2569 * extension-priv.h: New file.
2570 * extension.c: New file.
2572 * python/python-internal.h: #include "extension.h".
2573 (gdbpy_auto_load_enabled): Declare.
2574 (gdbpy_apply_val_pretty_printer): Declare.
2575 (gdbpy_apply_frame_filter): Declare.
2576 (gdbpy_preserve_values): Declare.
2577 (gdbpy_breakpoint_cond_says_stop): Declare.
2578 (gdbpy_breakpoint_has_cond): Declare.
2579 (void source_python_script_for_objfile): Delete.
2580 * python/python.c: #include "extension-priv.h".
2581 Delete inclusion of "observer.h".
2582 (extension_language_python): Moved here and renamed from
2583 script_language_python in py-auto-load.c.
2584 Redefined to be of type extension_language_defn.
2585 (python_extension_script_ops): New global.
2586 (python_extension_ops): New global.
2587 (struct python_env): New member previous_active.
2588 (restore_python_env): Call restore_active_ext_lang.
2589 (ensure_python_env): Call set_active_ext_lang.
2590 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
2592 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
2594 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
2596 (gdbpy_eval_from_control_command): Renamed from
2597 eval_python_from_control_command, made static. New arg extlang.
2598 (gdbpy_source_script) Renamed from source_python_script, made static.
2600 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
2601 result to int. New arg extlang.
2602 (gdbpy_source_objfile_script): Renamed from
2603 source_python_script_for_objfile, made static. New arg extlang.
2604 (gdbpy_start_type_printers): Renamed from start_type_printers, made
2605 static. New args extlang, extlang_printers. Change result type to
2607 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
2608 static. New arg extlang. Rename arg printers to extlang_printers
2609 and change type to ext_lang_type_printers *.
2610 (gdbpy_free_type_printers): Renamed from free_type_printers, made
2611 static. Replace argument arg with extlang, extlang_printers.
2612 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
2613 (!HAVE_PYTHON, source_python_script): Delete.
2614 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
2615 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
2616 (!HAVE_PYTHON, start_type_printers): Delete.
2617 (!HAVE_PYTHON, apply_type_printers): Delete.
2618 (!HAVE_PYTHON, free_type_printers): Delete.
2619 (_initialize_python): Delete call to observer_attach_before_prompt.
2620 (finalize_python): Set/restore active extension language.
2621 (gdbpy_finish_initialization) Renamed from
2622 finish_python_initialization, made static. New arg extlang.
2623 (gdbpy_initialized): New function.
2624 * python/python.h: #include "extension.h". Delete #include
2625 "value.h", "mi/mi-cmds.h".
2626 (extension_language_python): Declare.
2627 (GDBPY_AUTO_FILE_NAME): Delete.
2628 (enum py_bt_status): Moved to extension.h and renamed to
2630 (enum frame_filter_flags): Moved to extension.h.
2631 (enum py_frame_args): Moved to extension.h and renamed to
2632 ext_lang_frame_args.
2633 (finish_python_initialization): Delete.
2634 (eval_python_from_control_command): Delete.
2635 (source_python_script): Delete.
2636 (apply_val_pretty_printer): Delete.
2637 (apply_frame_filter): Delete.
2638 (preserve_python_values): Delete.
2639 (gdbpy_script_language_defn): Delete.
2640 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
2641 (start_type_printers, apply_type_printers, free_type_printers): Delete.
2643 * auto-load.c: #include "extension.h".
2644 (GDB_AUTO_FILE_NAME): Delete.
2645 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
2646 (script_language_gdb): Delete, moved to extension.c and renamed to
2647 extension_language_gdb.
2648 (source_gdb_script_for_objfile): Delete.
2649 (auto_load_pspace_info): New member unsupported_script_warning_printed.
2650 (loaded_script): Change type of language member to
2651 struct extension_language_defn *.
2652 (init_loaded_scripts_info): Initialize
2653 unsupported_script_warning_printed.
2654 (maybe_add_script): Make static. Change type of language arg to
2655 struct extension_language_defn *.
2656 (clear_section_scripts): Reset unsupported_script_warning_printed.
2657 (auto_load_objfile_script_1): Rewrite to use extension language API.
2658 (auto_load_objfile_script): Make public. Remove support-compiled-in
2659 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
2660 (source_section_scripts): Rewrite to use extension language API.
2661 (load_auto_scripts_for_objfile): Rewrite to use
2662 auto_load_scripts_for_objfile.
2663 (collect_matching_scripts_data): Change type of language member to
2664 struct extension_language_defn *.
2665 (auto_load_info_scripts): Change type of language arg to
2666 struct extension_language_defn *.
2667 (unsupported_script_warning_print): New function.
2668 (script_not_found_warning_print): Make static.
2669 (_initialize_auto_load): Rewrite construction of scripts-directory
2671 * auto-load.h (struct objfile): Add forward decl.
2672 (struct script_language): Delete.
2673 (struct auto_load_pspace_info): Add forward decl.
2674 (struct extension_language_defn): Add forward decl.
2675 (maybe_add_script): Delete.
2676 (auto_load_objfile_script): Declare.
2677 (script_not_found_warning_print): Delete.
2678 (auto_load_info_scripts): Update prototype.
2679 (auto_load_gdb_scripts_enabled): Declare.
2680 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
2681 auto_load_python_scripts_enabled and made public.
2682 (script_language_python): Delete, moved to python.c.
2683 (gdbpy_script_language_defn): Delete.
2684 (info_auto_load_python_scripts): Update to use
2685 extension_language_python.
2687 * breakpoint.c (condition_command): Replace call to
2688 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
2689 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
2690 with call to breakpoint_ext_lang_cond_says_stop.
2691 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
2692 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
2693 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
2694 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
2696 (local_setattro): Print name of extension language with existing
2699 * valprint.c (val_print, value_print): Update to call
2700 apply_ext_lang_val_pretty_printer.
2701 * cp-valprint.c (cp_print_value): Update call to
2702 apply_ext_lang_val_pretty_printer.
2703 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
2704 (gdbpy_apply_val_pretty_printer): Renamed from
2705 apply_val_pretty_printer. New arg extlang.
2706 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
2708 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
2709 extension language API.
2710 * cli/cli-script.c (execute_control_command): Update to call
2711 eval_ext_lang_from_control_command.
2713 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
2714 enum ext_lang_bt_status values. Update call to
2715 apply_ext_lang_frame_filter.
2716 (mi_cmd_stack_list_locals): Ditto.
2717 (mi_cmd_stack_list_args): Ditto.
2718 (mi_cmd_stack_list_variables): Ditto.
2719 * mi/mi-main.c: Delete #include "python/python-internal.h".
2720 Add #include "extension.h".
2721 (mi_cmd_list_features): Replace reference to python internal variable
2722 gdb_python_initialized with call to ext_lang_initialized_p.
2724 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
2725 Update to use enum ext_lang_frame_args. Update to call
2726 apply_ext_lang_frame_filter.
2727 * python/py-framefilter.c (extract_sym): Update to use enum
2729 (extract_value, py_print_type, py_print_value): Ditto.
2730 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
2731 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
2732 (py_print_frame): Ditto.
2733 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
2734 New arg extlang. Update to use enum ext_lang_bt_status.
2736 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
2737 finish_python_initialization. Replace with call to
2738 finish_ext_lang_initialization.
2740 * typeprint.c (do_free_global_table): Update to call
2741 free_ext_lang_type_printers.
2742 (create_global_typedef_table): Update to call
2743 start_ext_lang_type_printers.
2744 (find_global_typedef): Update to call apply_ext_lang_type_printers.
2745 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
2746 (type_print_options): Change type of global_printers from "void *"
2747 to "struct ext_lang_type_printers *".
2749 * value.c (preserve_values): Update to call preserve_ext_lang_values.
2750 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
2751 (gdbpy_preserve_values): Renamed from preserve_python_values.
2753 (!HAVE_PYTHON, preserve_python_values): Delete.
2755 * utils.c (quit_flag): Delete, moved to extension.c.
2756 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
2759 * eval.c: Delete #include "python/python.h".
2760 * main.c: Delete #include "python/python.h".
2762 * defs.h: Update comment.
2764 2014-02-06 Joel Brobecker <brobecker@adacore.com>
2768 2014-02-05 Mark Kettenis <kettenis@gnu.org>
2770 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
2773 2014-02-05 Yao Qi <yao@codesourcery.com>
2775 * remote.c (remote_pass_signals): Remove local 'buf' and use
2777 (remote_program_signals): Likewise.
2779 2014-02-05 Yao Qi <yao@codesourcery.com>
2781 * ctf.c: Include "inferior.h" and "gdbthread.h".
2782 (CTF_PID): A new macro.
2783 (ctf_open): Call inferior_appeared and add_thread_silent.
2784 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
2785 (ctf_thread_alive): New function.
2786 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
2788 2014-02-05 Yao Qi <yao@codesourcery.com>
2792 2013-05-24 Yao Qi <yao@codesourcery.com>
2794 * tracepoint.c (TFILE_PID): Remove.
2795 (tfile_open): Don't add thread and inferior.
2796 (tfile_close): Don't set 'inferior_ptid'. Don't call
2797 exit_inferior_silent.
2798 (tfile_thread_alive): Remove.
2799 (init_tfile_ops): Don't set field 'to_thread_alive' of
2802 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
2804 * remote.c (remote_start_remote): Call remote_check_symbols even
2805 if only symbol-file (not file) has been given.
2807 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2809 * gdbarch.sh (skip_entrypoint): New callback.
2810 * gdbarch.c, gdbarch.h: Regenerate.
2811 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
2812 * infrun.c (fill_in_stop_func): Likewise.
2813 * ppc-linux-tdep.c: Include "elf/ppc64.h".
2814 (ppc_elfv2_elf_make_msymbol_special): New function.
2815 (ppc_elfv2_skip_entrypoint): Likewise.
2816 (ppc_linux_init_abi): Install them for ELFv2.
2818 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2820 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
2821 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
2822 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
2823 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
2824 structures returned in GPRs.
2826 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2828 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
2829 offset to the stack parameter list for the ELFv2 ABI.
2831 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2833 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
2834 set_gdbarch_convert_from_func_ptr_addr and
2835 set_gdbarch_elf_make_msymbol_special for ELFv1.
2836 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
2837 function descriptors on ELFv1.
2838 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
2839 set up r12 at function entry.
2841 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2843 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
2844 (struct gdbarch_tdep): New member elf_abi.
2846 * rs6000-tdep.c: Include "elf/ppc64.h".
2847 (rs6000_gdbarch_init): Detect ELF ABI version.
2849 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2851 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
2852 within a register pair holding a DFP 128-bit value on little-endian.
2853 (ppc64_sysv_abi_return_value_base): Likewise.
2854 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
2855 (dfp_pseudo_register_write): Likewise.
2857 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2859 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
2860 offset on little-endian when passing _Decimal32.
2861 (ppc64_sysv_abi_return_value_base): Likewise for return values.
2863 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2865 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
2866 of the overlapped FP register within the VSX register on little-
2868 (efpr_pseudo_register_write): Likewise.
2870 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2872 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
2873 offset on little-endian when passing small structures.
2875 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2877 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
2878 (struct ppc64_sysv_argpos): New data structure.
2879 (ppc64_sysv_abi_push_float): Remove.
2880 (ppc64_sysv_abi_push_val): New function.
2881 (ppc64_sysv_abi_push_integer): Likewise.
2882 (ppc64_sysv_abi_push_freg): Likewise.
2883 (ppc64_sysv_abi_push_vreg): Likewise.
2884 (ppc64_sysv_abi_push_param): Likewise.
2885 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
2886 (ppc64_sysv_abi_return_value_base): New function.
2887 (ppc64_sysv_abi_return_value): Refactor to use it.
2889 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2891 * NEWS: Document new target powerpc64le-*-linux*.
2893 2014-02-04 Mark Kettenis <kettenis@gnu.org>
2895 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
2896 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
2898 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
2899 register set used in ELF core dumps. Add floating-point register set.
2901 2014-02-03 Kevin Buettner <kevinb@redhat.com>
2903 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
2904 dwarf2_to_gdb[] table using symbolic constants. Adjust
2905 penultimate entry from number representing the PC register
2906 to symbolic constant representing the MDR register. Add
2907 constant for the PC register to the end of the table.
2909 2014-02-03 Mark Kettenis <kettenis@gnu.org>
2911 * bsd-kvm.c: Include <sys/param.h>
2913 2014-02-03 Mark Kettenis <kettenis@gnu.org>
2915 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
2917 2014-01-31 Joel Brobecker <brobecker@adacore.com>
2919 * ada-lang.h (clear_ada_sym_cache): Delete.
2921 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
2923 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
2925 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2927 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
2928 the sigreturn register save area only if the syscall is
2931 2014-01-29 Joel Brobecker <brobecker@adacore.com>
2933 * valops.c (value_slice): Minor reformatting.
2935 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
2937 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
2939 2014-01-28 Joel Brobecker <brobecker@adacore.com>
2941 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
2943 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
2944 (ada_ignore_descriptive_types_p): New static global.
2945 (find_parallel_type_by_descriptive_type): Return immediately
2946 if ada_ignore_descriptive_types_p is set.
2947 (_initialize_ada_language): Register new commands "maintenance
2948 set ada", "maintenance show ada", "maintenance set ada
2949 ignore-descriptive-types" and "maintenance show ada
2950 ignore-descriptive-types".
2951 * NEWS: Add entry for new "maint ada set/show
2952 ignore-descriptive-types" commands.
2954 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
2956 * record-btrace.c (record_btrace_close): Call btrace_teardown
2959 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2961 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
2964 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2966 * ada-typeprint (type_is_full_subrange_of_target_type):
2968 (print_range): Add parameter bounds_prefered_p. If not set,
2969 try printing range types using the name of their base type.
2970 (print_range_type): Add parameter bounds_prefered_p.
2971 Use it in call to print_range.
2972 (print_array_type, ada_print_type): Update calls to print_range
2973 and print_range_type.
2975 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2977 * ada-typeprint.c (print_array_type, print_choices, print_range)
2978 (print_range_bound, print_dynamic_range_bound, print_range_type):
2981 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2983 * ada-typeprint.c (print_range): Add missing empty line
2984 after local declaration.
2986 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2988 * ada-valprint.c (print_optional_low_bound): Get index_type's
2989 target type for as long as it is a TYPE_CODE_RANGE.
2991 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2993 * procfs.c (procfs_make_note_section): Remove assertion and
2996 2014-01-24 Yao Qi <yao@codesourcery.com>
2998 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
2999 * corelow.c (get_core_siginfo): Likewise.
3001 2014-01-24 Yao Qi <yao@codesourcery.com>
3003 * remote.c (remote_write_bytes_aux): Change type of 'len' to
3004 ULONGEST. Don't check 'len' is negative.
3005 (remote_write_bytes): Change type of 'len' to ULONGEST.
3007 2014-01-23 Tom Tromey <tromey@redhat.com>
3010 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
3011 Handle exception from frame.block.
3012 (FrameVars.fetch_frame_locals): Likewise.
3014 2014-01-23 Tom Tromey <tromey@redhat.com>
3017 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
3018 on a NULL pointer. Move "goto error" to correct place.
3020 2014-01-23 Tom Tromey <tromey@redhat.com>
3023 * python/py-framefilter.c (apply_frame_filter): Call
3024 ensure_python_env after computing gdbarch.
3026 2014-01-23 Yao Qi <yao@codesourcery.com>
3028 * target.c (raw_memory_xfer_partial): Change argument type
3029 from void * to gdb_byte *.
3030 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
3032 2014-01-22 Doug Evans <dje@google.com>
3034 New gdbserver option --debug-format=timestamp.
3037 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3039 * syscalls/s390x-linux.xml: New file.
3040 * syscalls/s390-linux.xml: New file.
3041 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
3042 (XML_SYSCALL_FILENAME_S390X): Likewise.
3043 (op_svc): New enum value for SVC opcode.
3044 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
3045 (s390_linux_get_syscall_number): New function.
3046 (s390_gdbarch_init): Register '*get_syscall_number' and the
3047 syscall xml file name.
3048 * data-directory/Makefile.in (SYSCALLS_FILES): Add
3049 "s390-linux.xml" and "s390x-linux.xml".
3050 * NEWS: Announce new feature.
3052 2014-01-22 Baruch Siach <baruch@tkos.co.il>
3054 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
3056 2014-01-22 Pedro Alves <palves@redhat.com>
3058 * xtensa-config.c: Include defs.h.
3060 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3062 * common/common-utils.h: Add "ARI:" comment beside __func__
3065 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3067 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
3068 documentation a bit.
3070 2014-01-21 Roland McGrath <mcgrathr@google.com>
3072 * configure.ac: Call AM_PROG_INSTALL_STRIP.
3073 * configure: Regenerate.
3074 * aclocal.m4: Regenerate.
3075 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
3076 New substituted variables.
3077 (install-strip): New target.
3078 (INSTALL_SCRIPT): New substituted variable.
3079 (FLAGS_TO_PASS): Add it.
3080 (install-only): Use $(INSTALL_SCRIPT) rather than
3081 $(INSTALL_PROGRAM) for gcore.
3083 2014-01-20 Tom Tromey <tromey@redhat.com>
3085 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
3088 2014-01-20 Tom Tromey <tromey@redhat.com>
3090 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
3091 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
3092 (deprecated_cmd_warning, complete_on_cmdlist): Update.
3093 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
3094 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3095 (struct cmd_list_element) <flags>: Remove.
3096 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3097 doc_allocated>: New fields.
3098 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3100 * maint.c (maintenance_do_deprecate): Update.
3101 * top.c (execute_command): Update.
3103 2014-01-20 Baruch Siach <baruch@tkos.co.il>
3105 * xtensa-linux-nat.c: Include asm/ptrace.h.
3107 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3109 * Makefile.in (SFILES): Add d-support.c.
3110 (COMMON_OBS): Add d-support.o.
3111 * d-lang.h (d_parse_symbol): Add comment, now defined in
3113 * d-lang.c (parse_call_convention)
3114 (parse_attributes, parse_function_types)
3115 (parse_function_args, parse_type, parse_identifier)
3116 (call_convention_p, d_parse_symbol): Move functions to ...
3117 * d-support.c: ... New file.
3119 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3121 * d-lang.h (d_parse_symbol): Add declaration.
3122 * d-lang.c (extract_identifiers)
3123 (extract_type_info): Remove functions.
3124 (parse_call_convention, parse_attributes)
3125 (parse_function_types, parse_function_args)
3126 (parse_type, parse_identifier, call_convention_p)
3127 (d_parse_symbol): New functions.
3128 (d_demangle): Use d_parse_symbol to demangle D symbols.
3130 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3132 * d-lang.h (struct builtin_d_type): New data type.
3133 (builtin_d_type): Add declaration.
3134 * d-lang.c (d_language_arch_info, build_d_types)
3135 (builtin_d_type): New functions.
3136 (enum d_primitive_types): New data type.
3137 (d_language_defn): Change c_language_arch_info to
3138 d_language_arch_info.
3139 (d_type_data): New static variable.
3140 (_initialize_d_language): Initialize d_type_data.
3142 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3144 * d-lang.h (d_main_name): Add declaration.
3145 * d-lang.c (d_main_name): New function.
3146 * symtab.c (find_main_name): Add call to d_main_name.
3148 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3150 * d-lang.c (d_language_defn): Change macro_expansion_c to
3153 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3155 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3157 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3159 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3160 gdb_exception" declaration.
3161 * remote.c (getpkt_or_notif_sane): Likewise.
3163 2014-01-17 Doug Evans <dje@google.com>
3165 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3166 function, contents of dirnames_to_char_ptr_vec_append moved here.
3167 (delim_string_to_char_ptr_vec): New function.
3168 (dirnames_to_char_ptr_vec_append): Rewrite.
3169 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3171 2014-01-17 Doug Evans <dje@google.com>
3173 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3175 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3176 #include "common-utils.h".
3177 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3178 * common/vec.h (VEC_ASSERT_PASS): Update.
3179 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3180 (MACH_CHECK_ERROR): Update.
3182 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3184 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3186 * gdbarch.h: Regenerate.
3188 2014-01-16 Tom Tromey <tromey@redhat.com>
3190 * value.c (struct value) <regnum>: Move earlier.
3192 2014-01-16 Tom Tromey <tromey@redhat.com>
3194 * remote.c (extended_remote_create_inferior): Rename from
3195 extended_remote_create_inferior_1. Add "ops" argument. Remove
3198 2014-01-16 Pedro Alves <palves@redhat.com>
3200 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3201 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3204 2014-01-16 Doug Evans <dje@google.com>
3206 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3208 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3210 * btrace.h (btrace_thread_flag): New.
3211 (struct btrace_thread_info) <flags>: New.
3212 * record-btrace.c (record_btrace_resume_thread)
3213 (record_btrace_find_thread_to_move, btrace_step_no_history)
3214 (btrace_step_stopped, record_btrace_start_replaying)
3215 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3216 (record_btrace_find_resume_thread): New.
3217 (record_btrace_resume, record_btrace_wait): Extend.
3218 (record_btrace_can_execute_reverse): New.
3219 (record_btrace_open): Fail in non-stop mode.
3220 (record_btrace_set_replay): Split into this, ...
3221 (record_btrace_stop_replaying): ... this, ...
3222 (record_btrace_clear_histories): ... and this.
3223 (init_record_btrace_ops): Init to_can_execute_reverse.
3224 * NEWS: Announce it.
3226 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3228 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3229 (forward_target_decr_pc_after_break)
3230 (target_decr_pc_after_break): New.
3231 * target.c (forward_target_decr_pc_after_break)
3232 (target_decr_pc_after_break): New.
3233 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3234 instead of gdbarch_decr_pc_after_break.
3235 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3236 instead of gdbarch_decr_pc_after_break.
3237 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3238 instead of gdbarch_decr_pc_after_break.
3239 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3240 instead of gdbarch_decr_pc_after_break.
3241 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3242 instead of gdbarch_decr_pc_after_break.
3243 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3244 instead of gdbarch_decr_pc_after_break.
3246 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3248 * btrace.c: Include regcache.h.
3249 (btrace_add_pc): New.
3250 (btrace_enable): Call btrace_add_pc.
3251 (btrace_is_empty): New.
3252 * btrace.h (btrace_is_empty): New.
3253 * record-btrace.c (require_btrace, record_btrace_info): Call
3256 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3258 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3259 Support delta reads.
3260 (linux_disable_btrace): Change return type.
3261 * common/linux-btrace.h (linux_read_btrace): Change parameters
3262 and return type to allow error reporting. Update users.
3263 (linux_disable_btrace): Change return type. Update users.
3264 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3266 (btrace_error): New.
3267 (btrace_block) <begin>: Comment on BEGIN == 0.
3268 * btrace.c (btrace_compute_ftrace): Start from the end of
3270 (btrace_stitch_trace, btrace_clear_history): New.
3271 (btrace_fetch): Read delta trace, return if replaying.
3272 (btrace_clear): Move clear history code to btrace_clear_history.
3273 (parse_xml_btrace): Throw an error if parsing failed.
3274 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3275 and return type to allow error reporting.
3276 (target_read_btrace): Change parameters and return type to allow
3278 * target.c (target_read_btrace): Update.
3279 * remote.c (remote_read_btrace): Support delta reads. Pass
3281 * NEWS: Announce it.
3283 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3285 * record.h (record_btrace_frame_unwind)
3286 (record_btrace_tailcall_frame_unwind): New declarations.
3287 * dwarf2-frame: Include record.h
3288 (dwarf2_frame_cfa): Throw an error for btrace frames.
3289 * record-btrace.c: Include hashtab.h.
3290 (btrace_get_bfun_name): New.
3291 (btrace_call_history): Call btrace_get_bfun_name.
3292 (struct btrace_frame_cache): New.
3294 (bfcache_hash, bfcache_eq, bfcache_new): New.
3295 (btrace_get_frame_function): New.
3296 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3297 (record_btrace_frame_this_id): Compute own id.
3298 (record_btrace_frame_prev_register): Provide PC, throw_error
3299 for all other registers.
3300 (record_btrace_frame_sniffer): Detect btrace frames.
3301 (record_btrace_tailcall_frame_sniffer): New.
3302 (record_btrace_frame_dealloc_cache): New.
3303 (record_btrace_frame_unwind): Add new functions.
3304 (record_btrace_tailcall_frame_unwind): New.
3305 (_initialize_record_btrace): Allocate cache.
3306 * btrace.c (btrace_clear): Call reinit_frame_cache.
3307 * NEWS: Announce it.
3309 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3311 * record-btrace.c (record_btrace_set_replay)
3312 (record_btrace_goto_begin, record_btrace_goto_end)
3313 (record_btrace_goto): New.
3314 (init_record_btrace_ops): Initialize them.
3315 * NEWS: Announce it.
3317 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3319 * record-btrace.c (record_btrace_find_new_threads)
3320 (record_btrace_thread_alive): New.
3321 (init_record_btrace_ops): Initialize to_find_new_threads and
3324 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3326 * record-btrace.c (record_btrace_resume): New.
3327 (record_btrace_wait): New.
3328 (init_record_btrace_ops): Initialize to_wait and to_resume.
3330 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3332 * record-btrace.c (record_btrace_xfer_partial)
3333 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3334 (record_btrace_allow_memory_access): New.
3335 (init_record_btrace_ops): Initialize new methods.
3336 * target.c (raw_memory_xfer_partial): Bail out if target reports
3337 that this memory is not available.
3339 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3341 * target.h (target_ops) <to_insert_breakpoint>
3342 <to_remove_breakpoint>: Add target_ops parameter.
3343 (forward_target_insert_breakpoint): New.
3344 (forward_target_remove_breakpoint): New.
3345 (memory_remove_breakpoint, memory_insert_breakpoint):
3346 Add target_ops parameter.
3347 * target.c (target_insert_breakpoint): Split into this and ...
3348 (forward_target_insert_breakpoint): ... this.
3349 (target_remove_breakpoint): Split into this and ...
3350 (forward_target_remove_breakpoint): ... this.
3351 (debug_to_insert_breakpoint): Add target_ops parameter.
3352 Call forward_target_insert_breakpoint.
3353 (debug_to_remove_breakpoint): Add target_ops parameter.
3354 Call forward_target_remove_breakpoint.
3355 (update_current_target): Do not inherit or default to_insert_breakpoint
3356 and to_remove_breakpoint.
3357 * corelow.c (ignore): Add target_ops parameter.
3358 * exec.c (ignore): Add target_ops parameter.
3359 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3360 Add target_ops parameter.
3361 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3362 Add target_ops parameter.
3363 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3364 Add target_ops parameter.
3365 * record-full.c (record_full_beneath_to_insert_breakpoint)
3366 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3367 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3368 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
3369 (record_full_core_remove_breakpoint): Add target_ops parameter.
3371 (record_full_beneath_to_insert_breakpoint_ops)
3372 (record_full_beneath_to_remove_breakpoint_ops)
3373 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
3374 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
3375 tmp_to_remove_breakpoint_ops,
3376 record_full_beneath_to_insert_breakpoint_ops, and
3377 record_full_beneath_to_remove_breakpoint_ops.
3378 * remote-m32r-sdi.c (m32r_insert_breakpoint)
3379 (m32r_remove_breakpoint): Add target_ops parameter.
3380 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
3381 Add target_ops parameter.
3382 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
3383 Add target_ops parameter.
3385 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3386 Markus Metzger <markus.t.metzger@intel.com>
3388 * record-btrace.c: Include frame-unwind.h.
3389 (record_btrace_frame_unwind_stop_reason)
3390 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
3391 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
3393 (init_record_btrace_ops): Install it.
3395 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3397 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
3400 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3402 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
3405 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3407 * frame-unwind.c: Include target.h.
3408 (frame_unwind_try_unwinder): New function with code from ...
3409 (frame_unwind_find_by_frame): ... here. New variable
3410 unwinder_from_target, call also target_get_unwinder)
3411 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
3412 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
3413 * target.h (struct target_ops): New fields to_get_unwinder and
3414 to_get_tailcall_unwinder.
3415 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
3417 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3419 * record-btrace.c (record_btrace_fetch_registers)
3420 (record_btrace_store_registers)
3421 (record_btrace_to_prepare_to_store): New.
3422 (init_record_btrace_ops): Add the above.
3424 2014-01-16 Tom Tromey <tromey@redhat.com>
3426 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
3427 * target.h (struct target_ops) <to_prepare_to_store>: Add
3429 (target_prepare_to_store): Add argument.
3430 * target.c (debug_to_prepare_to_store): Add argument.
3431 (update_current_target): Update.
3432 * remote.c (remote_prepare_to_store): Add 'self' argument.
3433 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
3434 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
3435 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
3436 * record-full.c (record_full_core_prepare_to_store): Add 'self'
3438 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
3439 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
3440 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
3441 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
3442 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
3444 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3446 * btrace.h (replay) <replay>: New.
3447 (btrace_is_replaying): New.
3448 * btrace.c (btrace_clear): Free replay iterator.
3449 (btrace_is_replaying): New.
3450 * record-btrace.c (record_btrace_is_replaying): New.
3451 (record_btrace_info): Print insn number if replaying.
3452 (record_btrace_insn_history): Start at replay position.
3453 (record_btrace_call_history): Start at replay position.
3454 (init_record_btrace_ops): Init to_record_is_replaying.
3456 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3458 * record-btrace.c (record_btrace_insn_history_range): Include
3460 (record_btrace_insn_history_from): Adjust range.
3461 (record_btrace_call_history_range): Include
3463 (record_btrace_call_history_from): Adjust range.
3464 * NEWS: Announce changes.
3466 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3468 * record.h (enum record_print_flag)
3469 <record_print_indent_calls>: New.
3470 * record.c (get_call_history_modifiers): Recognize /c modifier.
3471 (_initialize_record): Document /c modifier.
3472 * record-btrace.c (btrace_call_history): Add btinfo parameter.
3473 Reorder fields. Optionally indent the function name. Update
3475 * NEWS: Announce changes.
3477 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3479 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
3481 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3483 * btrace.c (ftrace_new_function): Start counting at one.
3484 * record-btrace.c (record_btrace_info): Adjust number of calls
3486 * NEWS: Announce it.
3488 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3490 * record-btrace.c (btrace_call_history_insn_range): Print
3491 insn range as [begin, end].
3493 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3495 * btrace.h (struct btrace_func_link): New.
3496 (enum btrace_function_flag): New.
3497 (struct btrace_inst): Rename to ...
3498 (struct btrace_insn): ...this. Update all users.
3499 (struct btrace_func) <ibegin, iend>: Remove.
3500 (struct btrace_func_link): New.
3501 (struct btrace_func): Rename to ...
3502 (struct btrace_function): ...this. Update all users.
3503 (struct btrace_function) <segment, flow, up, insn, insn_offset)
3504 (number, level, flags>: New.
3505 (struct btrace_insn_iterator): Rename to ...
3506 (struct btrace_insn_history): ...this.
3508 (struct btrace_insn_iterator, btrace_call_iterator): New.
3509 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
3510 (struct btrace_target_info) <begin, end, level>
3511 <insn_history, call_history>: New.
3512 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3513 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3514 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3515 (btrace_call_number, btrace_call_begin, btrace_call_end)
3516 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3517 (btrace_find_function_by_number, btrace_set_insn_history)
3518 (btrace_set_call_history): New.
3519 * btrace.c (btrace_init_insn_iterator)
3520 (btrace_init_func_iterator, compute_itrace): Remove.
3521 (ftrace_print_function_name, ftrace_print_filename)
3522 (ftrace_skip_file): Change
3524 (ftrace_init_func): Remove.
3525 (ftrace_debug): Use new btrace_function fields.
3526 (ftrace_function_switched): Also consider gaining and
3527 losing symbol information).
3528 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
3529 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
3530 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
3532 (ftrace_new_function): Move. Remove debug print.
3533 (ftrace_update_lines, ftrace_update_insns): New.
3534 (ftrace_update_function): Check for call, ret, and jump.
3535 (compute_ftrace): Renamed to ...
3536 (btrace_compute_ftrace): ...this. Rewritten to compute call
3538 (btrace_fetch, btrace_clear): Updated.
3539 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3540 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3541 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3542 (btrace_call_number, btrace_call_begin, btrace_call_end)
3543 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3544 (btrace_find_function_by_number, btrace_set_insn_history)
3545 (btrace_set_call_history): New.
3546 * record-btrace.c (require_btrace): Use new btrace thread
3548 (record_btrace_info, btrace_insn_history)
3549 (record_btrace_insn_history, record_btrace_insn_history_range):
3550 Use new btrace thread info fields and new iterator.
3551 (btrace_func_history_src_line): Rename to ...
3552 (btrace_call_history_src_line): ...this. Use new btrace
3554 (btrace_func_history): Rename to ...
3555 (btrace_call_history): ...this. Use new btrace thread info
3556 fields and new iterator.
3557 (record_btrace_call_history, record_btrace_call_history_range):
3558 Use new btrace thread info fields and new iterator.
3560 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3562 * frame.h (frame_id_build_unavailable_stack_special): New.
3563 * frame.c (frame_id_build_unavailable_stack_special): New.
3565 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3567 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
3568 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
3569 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
3571 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
3572 (i386_insn_is_jump, i386_jmp_p): New.
3573 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
3574 insn_is_jump to gdbarch.
3575 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
3576 * gdbarch.h: Regenerated.
3577 * gdbarch.c: Regenerated.
3578 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
3579 (default_insn_is_jump): New.
3580 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
3581 (default_insn_is_jump): New.
3583 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3585 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
3587 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
3588 (btrace_read_type) <btrace_read_new>: Change to ...
3589 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
3591 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3593 * common/linux-btrace.c (linux_read_btrace): Free trace from
3596 2014-01-15 Doug Evans <dje@google.com>
3598 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
3601 2014-01-15 Tom Tromey <tromey@redhat.com>
3603 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
3604 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
3605 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
3606 (set_objfile_main_name): New function.
3607 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
3608 language_of_main>: New fields.
3609 (set_objfile_main_name): Declare.
3610 * symtab.c (find_main_name): Loop over objfiles to find the main
3612 (set_main_name): Now static.
3613 (get_main_info): Add comment.
3614 * symtab.h (set_main_name): Don't declare.
3616 2014-01-15 Tom Tromey <tromey@redhat.com>
3618 * symtab.c (main_progspace_key): New global.
3619 (struct main_info): New.
3620 (name_of_main, language_of_main): Remove.
3621 (get_main_info, main_info_cleanup): New function.
3622 (set_main_name, main_name, main_language): Use get_main_info.
3623 (_initialize_symtab): Initialize main_progspace_key.
3625 2014-01-15 Tom Tromey <tromey@redhat.com>
3627 * dbxread.c (process_one_symbol): Update.
3628 * dwarf2read.c (read_partial_die): Update.
3629 * symfile.c (set_initial_language): Call main_language.
3630 * symtab.c (language_of_main): Now static.
3631 (set_main_name): Add 'lang' parameter.
3632 (find_main_name): Update.
3633 (main_language): New function.
3634 (symtab_observer_executable_changed): Update.
3635 * symtab.h (set_main_name): Update.
3636 (language_of_main): Remove.
3637 (main_language): Declare.
3639 2014-01-15 Tom Tromey <tromey@redhat.com>
3641 * symfile.c (init_entry_point_info): Use new "initialized" field.
3643 * objfiles.h (struct entry_point) <initialized>: New field.
3644 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
3645 (struct objfile) <ei>: ...here. Remove.
3646 * objfiles.c (entry_point_address_query): Update.
3648 2014-01-15 Tom Tromey <tromey@redhat.com>
3650 * objfiles.c (entry_point_address_query): Relocate entry point
3652 (objfile_relocate1): Do not relocate entry point address.
3653 * objfiles.h (struct entry_info) <entry_point>: Update comment.
3654 <the_bfd_section_index>: New field.
3655 * symfile.c (init_entry_point_info): Find the entry point's
3658 2014-01-15 Tom Tromey <tromey@redhat.com>
3660 * solib-frv.c (enable_break): Use entry_point_address_query.
3662 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3664 * NEWS: Add note on improved process record-replay on
3665 arm*-linux* targets.
3667 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3669 * arm-tdep.c (enum arm_record_result): New enum.
3670 (arm_record_unsupported_insn): New function.
3671 (arm_record_coproc_data_proc): Removed.
3672 (thumb2_record_ld_st_multiple): New function.
3673 (thumb2_record_ld_st_dual_ex_tbb): New function.
3674 (thumb2_record_data_proc_sreg_mimm): New function.
3675 (thumb2_record_ps_dest_generic): New function.
3676 (thumb2_record_branch_misc_cntrl): New function.
3677 (thumb2_record_str_single_data): New function.
3678 (thumb2_record_ld_mem_hints): New function.
3679 (thumb2_record_ld_word): New function.
3680 (thumb2_record_lmul_lmla_div): New function.
3681 (thumb2_record_decode_insn_handler): New function.
3682 (decode_insn): Add thumb32 instruction handlers.
3684 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3686 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
3687 (struct arm_linux_record_tdep): Declare.
3688 (arm_canonicalize_syscall): New function.
3689 (arm_all_but_pc_registers_record): New function.
3690 (arm_linux_syscall_record): New function.
3691 (arm_linux_init_abi): Add syscall recording constructs.
3692 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
3693 decoding. (arm_record_coproc_data_proc): Update arm syscall
3695 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
3696 <arm_syscall_record>: New field.
3697 * configure.tgt (arm*-*-linux*): Add linux-record.o to
3700 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3702 * arm-tdep.c (thumb_record_misc): Update to use sp as base
3703 register for push instruction recording.
3705 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3707 * arm-tdep.c (thumb_record_misc): Update to correct logical
3708 error while recording ldm, ldmia and pop instructions.
3710 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3712 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
3714 2014-01-15 Pedro Alves <palves@redhat.com>
3716 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
3717 (go32_resume, go32_fetch_registers, store_register)
3718 (go32_store_registers, go32_prepare_to_store)
3719 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
3720 (go32_create_inferior, go32_can_run, go32_terminal_init)
3721 (go32_terminal_inferior, go32_terminal_ours): Delete forward
3724 2014-01-15 Tom Tromey <tromey@redhat.com>
3726 * target.h (async_callback_ftype): New typedef.
3727 (struct target_ops) <to_async>: Use it.
3729 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3731 * python/py-value.c (get_field_type): Remove unnecessary curly
3732 braces for single-statement if block.
3734 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3736 * python/py-type.c (convert_field): Add missing empty line
3739 2014-01-14 Doug Evans <dje@google.com>
3741 * symfile.h (expand_symtabs_matching): Renamed from
3742 expand_partial_symbol_names. Update prototype.
3743 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3744 * symfile.c (expand_symtabs_matching): Renamed from
3745 expand_partial_symbol_names. New args file_matcher, kind.
3746 Rename arg fun to symbol_matcher.
3747 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3748 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
3749 ada_expand_partial_symbol_name.
3750 (ada_make_symbol_completion_list): Update to call
3751 expand_symtabs_matching.
3752 (ada_add_global_exceptions): Call expand_symtabs_matching.
3753 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
3754 call map_symbol_filenames.
3755 * symtab.c (sources_info): Update to call map_symbol_filenames.
3756 (search_symbols): Call expand_symtabs_matching.
3757 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
3758 (default_make_symbol_completion_list_break_on): Update to call
3759 expand_symtabs_matching.
3760 (make_source_files_completion_list): Update to call
3761 map_symbol_filenames.
3763 2014-01-14 Doug Evans <dje@google.com>
3765 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
3766 (expand_symtabs_symbol_matcher_ftype): New typedef.
3767 (quick_symbol_functions.expand_symtabs_matching): Update to use.
3768 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3769 * symfile.c (expand_partial_symbol_names): Update to use
3770 expand_symtabs_symbol_matcher_ftype.
3771 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
3772 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3773 Arg name_matcher renamed to symbol_matcher.
3774 * psymtab.c (recursively_search_psymtabs): Update to use
3775 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
3777 (expand_symtabs_matching_via_partial): Update to use
3778 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3779 Arg name_matcher renamed to symbol_matcher.
3781 2014-01-14 Doug Evans <dje@google.com>
3783 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
3784 (map_partial_symbol_filenames): Ditto.
3785 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
3786 (map_partial_symbol_filenames): Ditto.
3787 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
3788 (map_partial_symbol_filenames): Ditto.
3789 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
3790 (map_partial_symbol_filenames): Ditto.
3791 * symtab.c: Delete #include "psymtab.h".
3793 2014-01-14 Pedro Alves <palves@redhat.com>
3794 Tom Tromey <tromey@redhat.com>
3796 * infrun.c (use_displaced_stepping): Use find_record_target
3797 instead of RECORD_IS_USED.
3798 (adjust_pc_after_break): Use record_full_is_used instead of
3800 * record-btrace.c (record_btrace_open): Call record_preopen
3801 instead of checking RECORD_IS_USED.
3802 * record-full.c (record_full_shortname)
3803 (record_full_core_shortname): New globals.
3804 (record_full_is_used): New function.
3805 (find_full_open): Call record_preopen instead of checking
3807 (init_record_full_ops): Set the target's shortname to
3808 record_full_shortname.
3809 (init_record_full_core_ops): Set the target's shortname to
3810 record_full_core_shortname.
3811 * record-full.h (record_full_is_used): Declare.
3812 * record.c (find_record_target): Make extern.
3813 (record_preopen): New function.
3814 * record.h (RECORD_IS_USED): Delete macro.
3815 (find_record_target, record_preopen): Declare functions.
3817 2014-01-14 Yao Qi <yao@codesourcery.com>
3819 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
3820 'len''s type to ULONGEST.
3821 (core_xfer_shared_libraries_aix): Likewise.
3822 * gdbarch.c, gdbarch.h: Regenerated.
3823 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
3824 Change type of 'len' to ULONGEST.
3825 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3826 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
3828 2014-01-14 Yao Qi <yao@codesourcery.com>
3830 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
3831 type of 'len' to ULONGEST.
3832 (linux_xfer_osdata_processgroups): Likewise.
3833 (linux_xfer_osdata_threads): Likewise.
3834 (linux_xfer_osdata_fds): Likewise.
3835 (linux_xfer_osdata_isockets): Likewise.
3836 (linux_xfer_osdata_shm): Likewise.
3837 (linux_xfer_osdata_sem): Likewise.
3838 (linux_xfer_osdata_msg): Likewise.
3839 (linux_common_xfer_osdata): Likewise.
3840 (struct osdata_type) <getter>: Likewise.
3841 * common/linux-osdata.h (linux_common_xfer_osdata): Update
3844 2014-01-14 Yao Qi <yao@codesourcery.com>
3846 * target.h (target_xfer_partial_ftype): Update.
3847 (struct target_ops) <to_xfer_partial>: Change 'len' type to
3849 * aix-thread.c (aix_thread_xfer_partial): Change type of
3850 argument 'len' to ULONGEST.
3851 * auxv.c (procfs_xfer_auxv): Likewise.
3852 (ld_so_xfer_auxv): Likewise.
3853 (memory_xfer_auxv): Likewise.
3854 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3855 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3856 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
3857 * corelow.c (core_xfer_partial): Likewise.
3858 * ctf.c (ctf_xfer_partial): Likewise.
3859 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
3861 (darwin_read_dyld_info): Likewise.
3862 (darwin_xfer_partial): Likewise.
3863 * exec.c (section_table_xfer_memory_partial): Likewise.
3864 (exec_xfer_partial): Likewise.
3865 * exec.h (section_table_xfer_memory_partial): Update
3867 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
3868 instead of plongest.
3869 (gnu_xfer_partial): Likewise.
3870 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
3871 (ia64_hpux_xfer_solib_got): Likewise.
3872 (ia64_hpux_xfer_partial): Likewise.
3873 * ia64-linux-nat.c (ia64_linux_xfer_partial):
3874 * inf-ptrace.c (inf_ptrace_xfer_partial):
3875 * inf-ttrace.c (inf_ttrace_xfer_partial):
3876 * linux-nat.c (linux_xfer_siginfo): Likewise.
3877 (linux_nat_xfer_partial): Likewise.
3878 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
3879 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
3880 * monitor.c (monitor_xfer_memory): Likewise.
3881 (monitor_xfer_partial): Likewise.
3882 * procfs.c (procfs_xfer_partial): Likewise.
3883 * record-full.c (record_full_xfer_partial): Likewise.
3884 (record_full_core_xfer_partial): Likewise.
3885 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
3886 instead of plongest.
3887 (gdbsim_xfer_partial): Likewise.
3888 * remote.c (remote_xfer_partial): Likewise.
3889 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3890 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3892 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3893 (rs6000_xfer_shared_libraries): Likewise.
3894 * sol-thread.c (sol_thread_xfer_partial): Likewise.
3895 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3896 (sparc_xfer_partial): Likewise.
3897 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3898 (spu_xfer_partial): Likewise.
3899 * spu-multiarch.c (spu_xfer_partial): Likewise.
3900 * target.c (target_read_live_memory): Likewise.
3901 (memory_xfer_live_readonly_partial): Likewise.
3902 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
3903 (target_xfer_partial, default_xfer_partial): Likewise.
3904 (current_xfer_partial): Likewise.
3905 * tracepoint.c (tfile_xfer_partial): Likewise.
3906 * windows-nat.c (windows_xfer_memory): Likewise. Call
3907 pulongest instead of plongest.
3908 (windows_xfer_partial): Likewise.
3909 (windows_xfer_shared_libraries): Likewise.
3911 2014-01-14 Yao Qi <yao@codesourcery.com>
3913 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
3914 target_xfer_partial_ftype.
3916 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3920 * valops.c (value_struct_elt_bitpos): New function
3921 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
3922 object to 'None' if the field name is an empty string ("").
3923 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
3924 attribute to look for a field when 'name' is 'None'.
3925 (get_field_type): New function
3927 2014-01-13 Doug Evans <dje@google.com>
3930 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
3931 (try_open_dwop_file): Ditto.
3932 * gdb_bfd.c: #include "vec.h".
3933 (bfdp): New typedef.
3934 (struct gdb_bfd_data): New member included_bfds.
3935 (gdb_bfd_unref): Unref all included bfds.
3936 (gdb_bfd_record_inclusion): New function.
3937 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
3939 2014-01-13 Tom Tromey <tromey@redhat.com>
3941 * gdbcore.h (deprecated_core_resize_section_table): Remove.
3943 2014-01-13 Tom Tromey <tromey@redhat.com>
3945 * defs.h (use_windows): Remove.
3946 * gdb.c (main): Update.
3947 * main.c (captured_main, gdb_main): Update.
3948 * main.h (struct captured_main_args) <use_windows>: Remove.
3949 * top.c (use_windows): Remove.
3951 2014-01-13 Tom Tromey <tromey@redhat.com>
3953 * defs.h (deprecated_flush_hook): Remove.
3955 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3958 * linux-thread-db.c (try_thread_db_load): Add parameter
3959 check_auto_load_safe. Move here the file_is_auto_load_safe call.
3960 (try_thread_db_load_from_pdir_1): Move it there from here.
3961 (try_thread_db_load_from_sdir): Update caller.
3962 (try_thread_db_load_from_dir): Move it there from here.
3964 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
3966 * regformats/regdat.sh: Always rewrite the register file.
3968 2014-01-13 Pedro Alves <palves@redhat.com>
3970 * Makefile.in (CHECK_HEADERS): New variable.
3971 (check-headers:): New rule.
3973 2014-01-13 Tom Tromey <tromey@redhat.com>
3975 * cli/cli-setshow.c (do_set_command): Update.
3976 * defs.h (deprecated_set_hook): Remove.
3977 * top.c (deprecated_set_hook): Remove.
3979 2014-01-13 Pedro Alves <palves@redhat.com>
3981 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
3982 the tracepoint if the PC is a pseudo-register.
3984 2014-01-13 Tom Tromey <tromey@redhat.com>
3986 * defs.h (XCALLOC): Remove.
3987 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
3988 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
3989 * dwarf2loc.c (allocate_piece_closure): Likewise.
3990 * elfread.c (elf_symfile_segments): Likewise.
3991 (elf_symfile_segments): Likewise.
3992 * gdbtypes.c (copy_type_recursive): Likewise.
3993 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
3994 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
3995 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
3997 * mt-tdep.c (mt_gdbarch_init): Likewise.
3998 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
4000 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
4001 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
4002 * registry.c (registry_alloc_data): Likewise.
4003 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
4004 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
4005 * serial.c (serial_fdopen_ops): Likewise.
4006 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
4008 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
4009 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
4012 2014-01-13 Tom Tromey <tromey@redhat.com>
4014 * defs.h (XMALLOC): Remove.
4015 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
4016 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
4017 * cli-out.c (struct ui_out *): Likewise.
4018 * cli/cli-dump.c (add_dump_command): Likewise.
4019 (add_dump_command): Likewise.
4020 * complaints.c (get_complaints): Likewise.
4021 (find_complaint): Likewise.
4022 * dwarf2-frame.c (execute_cfa_program): Likewise.
4023 * dwarf2read.c (abbrev_table_read_table): Likewise.
4024 * gdbarch.sh: Likewise.
4025 * gdbarch.c: Rebuild.
4026 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
4027 * interps.c (interp_new): Likewise.
4028 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
4029 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
4030 * mi/mi-console.c (mi_console_file_new): Likewise.
4031 * mi/mi-interp.c (mi_interpreter_init): Likewise.
4032 * mi/mi-out.c (mi_out_new): Likewise.
4033 * mi/mi-parse.c (mi_parse): Likewise.
4034 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
4035 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
4036 * observer.c (xalloc_observer_list_node): Likewise.
4037 * regcache.c (regcache_xmalloc_1): Likewise.
4038 * reggroups.c (reggroup_new): Likewise.
4039 (_initialize_reggroup): Likewise.
4040 * registry.c (register_data_with_cleanup): Likewise.
4041 * remote.c (remote_notif_stop_alloc_reply): Likewise.
4042 * ser-base.c (serial_ttystate): Likewise.
4043 * ser-mingw.c (make_pipe_state): Likewise.
4044 * ser-pipe.c (pipe_open): Likewise.
4045 * serial.c (serial_open): Likewise.
4046 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
4047 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
4048 (tui_alloc_win_info): Likewise.
4049 (tui_add_content_elements): Likewise.
4050 * tui/tui-file.c (tui_file_new): Likewise.
4051 * tui/tui-out.c (tui_out_new): Likewise.
4052 * ui-file.c (mem_file_new): Likewise.
4053 * ui-out.c (push_level): Likewise.
4054 (make_cleanup_ui_out_end): Likewise.
4055 (append_header_to_list): Likewise.
4056 (ui_out_new): Likewise.
4057 * user-regs.c (user_reg_add_builtin): Likewise.
4059 2014-01-13 Tom Tromey <tromey@redhat.com>
4061 * defs.h (XZALLOC): Remove.
4062 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
4063 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
4064 (get_ada_tasks_inferior_data): Likewise.
4065 * auto-load.c (get_auto_load_pspace_data): Likewise.
4066 * auxv.c (get_auxv_inferior_data): Likewise.
4067 * bfd-target.c (target_bfd_reopen): Likewise.
4068 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
4069 (deprecated_insert_raw_breakpoint): Likewise.
4070 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
4071 * corelow.c (core_open): Likewise.
4072 * darwin-nat.c (darwin_check_new_threads): Likewise.
4073 (darwin_attach_pid): Likewise.
4074 * dummy-frame.c (dummy_frame_push): Likewise.
4075 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
4076 * dwarf2loc.c (allocate_piece_closure): Likewise.
4077 * elfread.c (elf_symfile_segments): Likewise.
4078 * eval.c (ptrmath_type_p): Likewise.
4079 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
4080 * gdbtypes.c (alloc_type_arch): Likewise.
4081 (alloc_type_instance): Likewise.
4082 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
4083 * inf-child.c (inf_child_can_use_agent): Likewise.
4084 * inflow.c (get_inflow_inferior_data): Likewise.
4085 * infrun.c (save_infcall_suspend_state): Likewise.
4086 * jit.c (jit_reader_load): Likewise.
4087 (get_jit_objfile_data): Likewise.
4088 (get_jit_program_space_data): Likewise.
4089 (jit_object_open_impl): Likewise.
4090 (jit_symtab_open_impl): Likewise.
4091 (jit_block_open_impl): Likewise.
4092 (jit_frame_sniffer): Likewise.
4093 * linux-fork.c (add_fork): Likewise.
4094 * maint.c (make_command_stats_cleanup): Likewise.
4095 * objfiles.c (get_objfile_pspace_data): Likewise.
4096 * opencl-lang.c (struct lval_closure): Likewise.
4097 * osdata.c (osdata_start_osdata): Likewise.
4098 * progspace.c (new_address_space): Likewise.
4099 (add_program_space): Likewise.
4100 * remote-sim.c (get_sim_inferior_data): Likewise.
4101 * sh-tdep.c (sh_gdbarch_init): Likewise.
4102 * skip.c (Ignore): Likewise.
4103 (skip_delete_command): Likewise.
4104 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4105 (library_list_start_library): Likewise.
4106 (solib_aix_current_sos): Likewise.
4107 * solib-darwin.c (get_darwin_info): Likewise.
4108 (darwin_current_sos): Likewise.
4109 * solib-dsbt.c (get_dsbt_info): Likewise.
4110 * solib-ia64-hpux.c (new_so_list): Likewise.
4111 (ia64_hpux_get_solib_linkage_addr): Likewise.
4112 * solib-spu.c (append_ocl_sos): Likewise.
4113 (spu_current_sos): Likewise.
4114 * solib-svr4.c (get_svr4_info): Likewise.
4115 (svr4_keep_data_in_core): Likewise.
4116 (library_list_start_library): Likewise.
4117 (svr4_default_sos): Likewise.
4118 (svr4_read_so_list): Likewise.
4119 * solib-target.c (library_list_start_library): Likewise.
4120 (solib_target_current_sos): Likewise.
4121 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4122 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4123 * symfile.c (default_symfile_segments): Likewise.
4124 * target-descriptions.c (tdesc_data_init): Likewise.
4125 (tdesc_create_reg): Likewise.
4126 (struct tdesc_type *): Likewise.
4127 (tdesc_create_vector): Likewise.
4128 (tdesc_set_struct_size): Likewise.
4129 (struct tdesc_type *): Likewise.
4130 (tdesc_free_feature): Likewise.
4131 (tdesc_create_feature): Likewise.
4132 * windows-nat.c (windows_add_thread): Likewise.
4133 (windows_make_so): Likewise.
4134 * xml-support.c (gdb_xml_body_text): Likewise.
4135 (gdb_xml_create_parser_and_cleanup): Likewise.
4136 (xml_process_xincludes): Likewise.
4137 * xml-syscall.c (allocate_syscalls_info): Likewise.
4138 (syscall_create_syscall_desc): Likewise.
4140 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4142 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4143 function, with code from i386_stap_parse_special_token.
4144 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4145 (i386_stap_parse_special_token): Move code to the two functions
4148 2014-01-09 Pedro Alves <palves@redhat.com>
4149 Hui Zhu <hui@codesourcery.com>
4152 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4153 bp_err_string. Don't mark the location shlib_disabled if the
4154 error thrown wasn't a generic or memory error. Catch errors
4155 thrown while inserting breakpoints in overlayed code. Output
4156 error message of software breakpoints.
4157 * remote.c (remote_insert_breakpoint): If this breakpoint has
4158 target-side commands but this stub doesn't support Z0 packets,
4159 throw NOT_SUPPORTED_ERROR error.
4160 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4161 * target.h (target_insert_breakpoint): Extend comment.
4162 (target_insert_hw_breakpoint): Add comment.
4164 2014-01-08 Pedro Alves <palves@redhat.com>
4166 * remote.c (remote_add_thread): Add threads silently if starting
4168 (remote_notice_new_inferior): If in all-stop, and starting up,
4169 don't call notice_new_inferior.
4170 (get_current_thread): New function, factored out from ...
4171 (add_current_inferior_and_thread): ... this. Adjust.
4172 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4173 found any thread, then select the remote's current thread as GDB's
4176 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4178 * NEWS: Create a new section for the next release branch.
4179 Rename the section of the current branch, now that it has
4182 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4184 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4185 * version.in: Bump version to 7.7.50.DATE-cvs.
4187 2014-01-08 Yao Qi <yao@codesourcery.com>
4189 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4190 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4191 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4193 2014-01-08 Yao Qi <yao@codesourcery.com>
4195 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4196 return value of bfd_get_filename to symbol_file_add_from_bfd.
4198 2014-01-08 Pierre Muller <muller@sourceware.org>
4201 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4202 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4203 to prim_record_mininal_symbol_and_info.
4204 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4205 in call to prim_record_minimal_symbol_and_info.
4206 (read_pe_exported_syms): Set index field of section_data.
4208 2014-01-07 Andrew Pinski <apinski@cavium.com>
4210 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4211 * features/aarch64.c: Regenerate.
4213 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4215 * target.c (return_null): Define.
4216 (update_current_target): Use it instead of return_zero for
4217 functions that return a pointer.
4219 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4221 * source.c (add_path): Fix check for duplicated paths in the previously
4224 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4226 * ada-lang.c: Remove duplicated include statements.
4227 * alphabsd-nat.c: Ditto.
4228 * amd64-darwin-tdep.c: Ditto.
4229 * amd64fbsd-nat.c: Ditto.
4230 * auto-load.c: Ditto.
4232 * breakpoint.c: Ditto.
4234 * fork-child.c: Ditto.
4235 * gdb_usleep.c: Ditto.
4236 * i386-darwin-tdep.c: Ditto.
4237 * i386fbsd-nat.c: Ditto.
4239 * inferior.c: Ditto.
4241 * linux-nat.c: Ditto.
4242 * linux-tdep.c: Ditto.
4243 * m68kbsd-nat.c: Ditto.
4244 * m68klinux-nat.c: Ditto.
4245 * microblaze-tdep.c: Ditto.
4246 * mips-linux-tdep.c: Ditto.
4247 * mn10300-tdep.c: Ditto.
4248 * nto-tdep.c: Ditto.
4249 * opencl-lang.c: Ditto.
4251 * printcmd.c: Ditto.
4252 * regcache.c: Ditto.
4253 * remote-m32r-sdi.c: Ditto.
4257 * tilegx-linux-nat.c: Ditto.
4258 * tilegx-tdep.c: Ditto.
4259 * tracepoint.c: Ditto.
4261 * vaxbsd-nat.c: Ditto.
4262 * windows-nat.c: Ditto.
4263 * xtensa-tdep.c: Ditto.
4265 2014-01-07 Yao Qi <yao@codesourcery.com>
4267 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4269 2014-01-07 Yao Qi <yao@codesourcery.com>
4270 Joel Brobecker <brobecker@adacore.com>
4272 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4273 (pdc_write_regs): Likewise.
4274 (fetch_regs_kernel_thread): Likewise.
4275 (store_regs_kernel_thread): Likewise.
4277 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4279 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4280 tagged type objects to their actual type.
4282 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4284 * ada-valprint.c (print_field_values): Add "language" parameter.
4285 Update calls to print_field_values and print_variant_part.
4286 Pass new parameter "language" in call to val_print instead
4287 of "current_language". Replace call to ada_val_print by call
4289 (print_variant_part): Add "language" parameter.
4290 (ada_val_print_struct_union): Update call to print_field_values.
4292 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4294 * ada-valprint.c (ui_memcpy): Delete.
4295 (ada_print_floating): Update documentation. Add empty line
4296 between between function documentation and implementation.
4297 Delete variable "buffer". Use ui_file_xstrdup in place of
4298 ui_file_put. Minor adjustments following this change.
4300 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4302 * ada-valprint.c (ada_val_print_string): New function,
4303 extracted from ada_val_print_array.
4304 (ada_val_print_array): Replace extracted code by call
4305 to ada_val_print_string followed by a return. Move
4306 "else" branch to the function's top block.
4308 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4310 * ada-valprint.c (ada_val_print_array): Move implementation
4311 down. Rename parameter "offset" and "val" into "offset_aligned"
4312 and "original_value" respectively. Add parameter "offset".
4314 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4316 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4317 re-organizing the code. Change the "???" message printed
4318 when target type is a TYPE_CODE_UNDEF into
4319 "<ref to undefined type>".
4321 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4323 * ada-valprint.c (print_record): Delete, implementation inlined...
4324 (ada_val_print_struct_union): ... here. Remove call to
4325 ada_check_typedef in inlined implementation.
4327 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4329 * ada-valprint.c (ada_val_print_gnat_array): New function,
4330 extracted from ada_val_print_1;
4331 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4332 (ada_val_print_flt, ada_val_print_struct_union)
4333 (ada_val_print_ref): Likewise.
4334 (ada_val_print_1): Delete variables i and elttype.
4335 Replace extracted-out code by call to corresponding
4338 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4340 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4342 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4344 * ada-valprint.c (ada_val_print_1): Replace calls to
4345 ada_val_print_1 by calls to val_print.
4347 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4349 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4350 Update calls to self accordingly. Replace calls to c_val_print
4351 by calls to val_print.
4353 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4355 * ada-valprint.c (print_record): Delete declaration.
4356 (adjust_type_signedness, ada_val_print_1): Likewise.
4357 (ada_val_print): Move function implementation down.
4358 (print_variant_part, print_field_values, print_record):
4359 Move function implementation up.
4361 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4363 * python/py-type.c (typy_get_name): New function.
4364 (type_object_getset): Add entry for attribute "name".
4365 * NEWS: Add entry mentioning this new attribute.
4367 2014-01-07 Yao Qi <yao@codesourcery.com>
4369 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
4372 2014-01-07 Yao Qi <yao@codesourcery.com>
4374 * gnu-nat.c (info_port_rights): Add qualifier const to
4377 2014-01-07 Yao Qi <yao@codesourcery.com>
4379 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
4381 2014-01-07 Yao Qi <yao@codesourcery.com>
4383 * gnu-nat.c (make_inf) Update declaration.
4384 (make_inf): Make it static.
4385 (inf_set_traced): Likewise.
4386 (inf_port_to_thread, inf_task_died_status): Likewise.
4388 2014-01-07 Yao Qi <yao@codesourcery.com>
4390 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
4392 2014-01-07 Yao Qi <yao@codesourcery.com>
4394 * gnu-nat.c (_initialize_gnu_nat): Declare.
4396 2014-01-07 Yao Qi <yao@codesourcery.com>
4398 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
4400 (struct gdbarch_info) <byte_order>: Change type to
4402 <byte_order_for_code>: Likewise.
4403 * gdbarch.c, gdbarch.h: Regenerated.
4405 2014-01-06 Sasha Smundak <asmundak@google.com>
4407 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
4409 2014-01-06 Tom Tromey <tromey@redhat.com>
4411 * doublest.c (convert_doublest_to_floatformat): Use const, not
4413 * somread.c (som_symtab_read): Likewise.
4415 2014-01-07 Hui Zhu <hui@codesourcery.com>
4417 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
4418 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
4419 (gdb_bfd_fopen): Ditto.
4420 (gdb_bfd_openr): Ditto.
4421 (gdb_bfd_openw): Ditto.
4422 (gdb_bfd_openr_iovec): Ditto.
4423 (gdb_bfd_fdopenr): Ditto.
4424 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
4425 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
4427 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
4429 * symfile-mem.c (symbol_file_add_from_memory): Removed
4430 gdb_bfd_stash_filename.
4432 2014-01-03 Doug Evans <dje@google.com>
4434 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
4437 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4439 Update year range in copyright notice of all files.
4441 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4443 * top.c (print_gdb_version): Set copyright year to 2014.
4445 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4447 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
4449 For older changes see ChangeLog-2013.
4455 version-control: never