1 2014-02-19 Tom Tromey <tromey@redhat.com>
3 * target-delegates.c: Rebuild.
4 * target.c (target_flash_erase): Unconditionally delegate.
5 * target.h (struct target_ops) <to_flash_erase>: Use
6 TARGET_DEFAULT_NORETURN.
8 2014-02-19 Tom Tromey <tromey@redhat.com>
10 * target-delegates.c: Rebuild.
11 * target.c (target_get_section_table): Unconditionally delegate.
12 * target.h (struct target_ops) <to_get_section_table>: Use
13 TARGET_DEFAULT_RETURN.
15 2014-02-19 Tom Tromey <tromey@redhat.com>
17 * target-delegates.c: Rebuild.
18 * target.c (target_pid_to_str): Unconditionally delegate.
19 (init_dummy_target): Don't initialize to_pid_to_str.
20 (default_pid_to_str): Rename from dummy_pid_to_str.
21 * target.h (struct target_ops) <to_pid_to_str>: Use
24 2014-02-19 Tom Tromey <tromey@redhat.com>
26 * target-delegates.c: Rebuild.
27 * target.c (target_find_new_threads): Unconditionally delegate.
28 * target.h (struct target_ops) <to_find_new_threads>: Use
29 TARGET_DEFAULT_RETURN.
31 2014-02-19 Tom Tromey <tromey@redhat.com>
33 * target-delegates.c: Rebuild.
34 * target.c (target_program_signals): Unconditionally delegate.
35 * target.h (struct target_ops) <to_program_signals>: Use
36 TARGET_DEFAULT_IGNORE.
38 2014-02-19 Tom Tromey <tromey@redhat.com>
40 * target-delegates.c: Rebuild.
41 * target.c (target_pass_signals): Unconditionally delegate.
42 * target.h (struct target_ops) <to_pass_signals>: Use
43 TARGET_DEFAULT_IGNORE.
45 2014-02-19 Tom Tromey <tromey@redhat.com>
47 * target-delegates.c: Rebuild.
48 * target.c (default_mourn_inferior): New function.
49 (target_mourn_inferior): Unconditionally delegate.
50 * target.h (struct target_ops) <to_mourn_inferior>: Use
53 2014-02-19 Tom Tromey <tromey@redhat.com>
55 * target-delegates.c: Rebuild.
56 * target.c (default_follow_fork): New function.
57 (target_follow_fork): Unconditionally delegate.
58 * target.h (struct target_ops) <to_follow_fork>: Use
61 2014-02-19 Tom Tromey <tromey@redhat.com>
63 * target-delegates.c: Rebuild.
64 * target.c (target_kill): Unconditionally delegate.
65 * target.h (struct target_ops) <to_kill>: Use
66 TARGET_DEFAULT_NORETURN.
68 2014-02-19 Tom Tromey <tromey@redhat.com>
70 * target-delegates.c: Rebuild.
71 * target.c (target_masked_watch_num_registers): Unconditionally
73 * target.h (struct target_ops) <to_masked_watch_num_registers>:
74 Use TARGET_DEFAULT_RETURN.
76 2014-02-19 Tom Tromey <tromey@redhat.com>
78 * target-delegates.c: Rebuild.
79 * target.c (target_remove_mask_watchpoint): Unconditionally
81 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
82 TARGET_DEFAULT_RETURN.
84 2014-02-19 Tom Tromey <tromey@redhat.com>
86 * target-delegates.c: Rebuild.
87 * target.c (target_insert_mask_watchpoint): Unconditionally
89 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
90 TARGET_DEFAULT_RETURN.
92 2014-02-19 Tom Tromey <tromey@redhat.com>
94 * target-delegates.c: Rebuild.
95 * target.c (target_ranged_break_num_registers): Unconditionally
97 * target.h (struct target_ops) <to_ranged_break_num_registers>:
98 Use TARGET_DEFAULT_RETURN.
100 2014-02-19 Tom Tromey <tromey@redhat.com>
102 * target-delegates.c: Rebuild.
103 * target.c (target_fetch_registers): Unconditionally delegate.
104 * target.h (struct target_ops) <to_fetch_registers>: Use
105 TARGET_DEFAULT_NORETURN.
107 2014-02-19 Tom Tromey <tromey@redhat.com>
109 * target-delegates.c: Rebuild.
110 * target.c (update_current_target): Don't inherit or default
112 * target.h (struct target_ops) <to_stop>: Use
113 TARGET_DEFAULT_IGNORE.
115 2014-02-19 Tom Tromey <tromey@redhat.com>
117 * target-delegates.c: Rebuild.
118 * target.c (update_current_target): Don't inherit or default
119 to_can_run_breakpoint_commands.
120 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
121 Use TARGET_DEFAULT_RETURN.
123 2014-02-19 Tom Tromey <tromey@redhat.com>
125 * target-delegates.c: Rebuild.
126 * target.c (update_current_target): Don't inherit or default
127 to_supports_evaluation_of_breakpoint_conditions.
128 * target.h (struct target_ops)
129 <to_supports_evaluation_of_breakpoint_conditions>: Use
130 TARGET_DEFAULT_RETURN.
132 2014-02-19 Tom Tromey <tromey@redhat.com>
134 * target-delegates.c: Rebuild.
135 * target.c (update_current_target): Don't inherit or default
136 to_augmented_libraries_svr4_read.
137 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
138 Use TARGET_DEFAULT_RETURN.
140 2014-02-19 Tom Tromey <tromey@redhat.com>
142 * target-delegates.c: Rebuild.
143 * target.c (update_current_target): Don't inherit or default
145 * target.h (struct target_ops) <to_can_use_agent>: Use
146 TARGET_DEFAULT_RETURN.
148 2014-02-19 Tom Tromey <tromey@redhat.com>
150 * target-delegates.c: Rebuild.
151 * target.c (update_current_target): Don't inherit or default
153 * target.h (struct target_ops) <to_use_agent>: Use
154 TARGET_DEFAULT_NORETURN.
156 2014-02-19 Tom Tromey <tromey@redhat.com>
158 * target-delegates.c: Rebuild.
159 * target.c (update_current_target): Don't inherit or default
161 (return_null): Remove.
162 * target.h (struct target_ops) <to_traceframe_info>: Use
163 TARGET_DEFAULT_RETURN.
165 2014-02-19 Tom Tromey <tromey@redhat.com>
167 * target-delegates.c: Rebuild.
168 * target.c (update_current_target): Don't inherit or default
169 to_static_tracepoint_markers_by_strid.
170 * target.h (struct target_ops)
171 <to_static_tracepoint_markers_by_strid>: Use
172 TARGET_DEFAULT_NORETURN.
174 2014-02-19 Tom Tromey <tromey@redhat.com>
176 * target-delegates.c: Rebuild.
177 * target.c (update_current_target): Don't inherit or default
178 to_static_tracepoint_marker_at.
179 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
180 Use TARGET_DEFAULT_RETURN.
182 2014-02-19 Tom Tromey <tromey@redhat.com>
184 * target-delegates.c: Rebuild.
185 * target.c (update_current_target): Don't inherit or default
187 * target.h (struct target_ops) <to_set_permissions>: Use
188 TARGET_DEFAULT_IGNORE.
190 2014-02-19 Tom Tromey <tromey@redhat.com>
192 * target-delegates.c: Rebuild.
193 * target.c (update_current_target): Don't inherit or default
195 * target.h (struct target_ops) <to_get_tib_address>: Use
196 TARGET_DEFAULT_NORETURN.
198 2014-02-19 Tom Tromey <tromey@redhat.com>
200 * target-delegates.c: Rebuild.
201 * target.c (update_current_target): Don't inherit or default
203 * target.h (struct target_ops) <to_set_trace_notes>: Use
204 TARGET_DEFAULT_RETURN.
206 2014-02-19 Tom Tromey <tromey@redhat.com>
208 * target-delegates.c: Rebuild.
209 * target.c (update_current_target): Don't initialize
210 to_set_trace_buffer_size.
211 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
212 TARGET_DEFAULT_IGNORE.
214 2014-02-19 Tom Tromey <tromey@redhat.com>
216 * target-delegates.c: Rebuild.
217 * target.c (update_current_target): Don't inherit or default
218 to_set_circular_trace_buffer.
219 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
220 TARGET_DEFAULT_IGNORE.
222 2014-02-19 Tom Tromey <tromey@redhat.com>
224 * target-delegates.c: Rebuild.
225 * target.c (update_current_target): Don't inherit or default
226 to_set_disconnected_tracing.
227 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
228 TARGET_DEFAULT_IGNORE.
230 2014-02-19 Tom Tromey <tromey@redhat.com>
232 * target-delegates.c: Rebuild.
233 * target.c (update_current_target): Don't inherit or default
234 to_get_min_fast_tracepoint_insn_len.
235 (return_minus_one): Remove.
236 * target.h (struct target_ops)
237 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
239 2014-02-19 Tom Tromey <tromey@redhat.com>
241 * target-delegates.c: Rebuild.
242 * target.c (update_current_target): Don't inherit or default
243 to_get_raw_trace_data.
244 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
245 TARGET_DEFAULT_NORETURN.
247 2014-02-19 Tom Tromey <tromey@redhat.com>
249 * target-delegates.c: Rebuild.
250 * target.c (update_current_target): Don't inherit or default
251 to_upload_trace_state_variables.
252 * target.h (struct target_ops) <to_upload_trace_state_variables>:
253 Use TARGET_DEFAULT_RETURN.
255 2014-02-19 Tom Tromey <tromey@redhat.com>
257 * target-delegates.c: Rebuild.
258 * target.c (update_current_target): Don't inherit or default
259 to_upload_tracepoints.
260 * target.h (struct target_ops) <to_upload_tracepoints>: Use
261 TARGET_DEFAULT_RETURN.
263 2014-02-19 Tom Tromey <tromey@redhat.com>
265 * target-delegates.c: Rebuild.
266 * target.c (update_current_target): Don't inherit or default
268 * target.h (struct target_ops) <to_save_trace_data>: Use
269 TARGET_DEFAULT_NORETURN.
271 2014-02-19 Tom Tromey <tromey@redhat.com>
273 * target-delegates.c: Rebuild.
274 * target.c (update_current_target): Don't inherit or default
275 to_get_trace_state_variable_value.
276 * target.h (struct target_ops)
277 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
279 2014-02-19 Tom Tromey <tromey@redhat.com>
281 * target-delegates.c: Rebuild.
282 * target.c (update_current_target): Don't inherit or default
284 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
286 2014-02-19 Tom Tromey <tromey@redhat.com>
288 * target-delegates.c: Rebuild.
289 * target.c (update_current_target): Don't inherit or default
291 * target.h (struct target_ops) <to_trace_stop>: Use
292 TARGET_DEFAULT_NORETURN.
294 2014-02-19 Tom Tromey <tromey@redhat.com>
296 * target-delegates.c: Rebuild.
297 * target.c (update_current_target): Don't inherit or default
298 to_get_tracepoint_status.
299 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
300 TARGET_DEFAULT_NORETURN.
302 2014-02-19 Tom Tromey <tromey@redhat.com>
304 * target-delegates.c: Rebuild.
305 * target.c (update_current_target): Don't inherit or default
307 * target.h (struct target_ops) <to_get_trace_status>: Use
308 TARGET_DEFAULT_RETURN.
310 2014-02-19 Tom Tromey <tromey@redhat.com>
312 * target-delegates.c: Rebuild.
313 * target.c (update_current_target): Don't inherit or default
315 * target.h (struct target_ops) <to_trace_start>: Use
316 TARGET_DEFAULT_NORETURN.
318 2014-02-19 Tom Tromey <tromey@redhat.com>
320 * target-delegates.c: Rebuild.
321 * target.c (update_current_target): Don't inherit or default
322 to_trace_set_readonly_regions.
323 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
324 Use TARGET_DEFAULT_NORETURN.
326 2014-02-19 Tom Tromey <tromey@redhat.com>
328 * target-delegates.c: Rebuild.
329 * target.c (update_current_target): Don't inherit or default
330 to_disable_tracepoint.
331 * target.h (struct target_ops) <to_disable_tracepoint>: Use
332 TARGET_DEFAULT_NORETURN.
334 2014-02-19 Tom Tromey <tromey@redhat.com>
336 * target-delegates.c: Rebuild.
337 * target.c (update_current_target): Don't inherit or default
338 to_enable_tracepoint.
339 * target.h (struct target_ops) <to_enable_tracepoint>: Use
340 TARGET_DEFAULT_NORETURN.
342 2014-02-19 Tom Tromey <tromey@redhat.com>
344 * target-delegates.c: Rebuild.
345 * target.c (update_current_target): Don't inherit or default
346 to_download_trace_state_variable.
347 * target.h (struct target_ops) <to_download_trace_state_variable>:
348 Use TARGET_DEFAULT_NORETURN.
350 2014-02-19 Tom Tromey <tromey@redhat.com>
352 * target-delegates.c: Rebuild.
353 * target.c (update_current_target): Don't inherit or default
354 to_can_download_tracepoint.
355 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
356 TARGET_DEFAULT_RETURN.
358 2014-02-19 Tom Tromey <tromey@redhat.com>
360 * target-delegates.c: Rebuild.
361 * target.c (update_current_target): Don't inherit or default
362 to_download_tracepoint.
363 * target.h (struct target_ops) <to_download_tracepoint>: Use
364 TARGET_DEFAULT_NORETURN.
366 2014-02-19 Tom Tromey <tromey@redhat.com>
368 * target-delegates.c: Rebuild.
369 * target.c (update_current_target): Don't inherit or default
371 * target.h (struct target_ops) <to_trace_init>: Use
372 TARGET_DEFAULT_RETURN.
374 2014-02-19 Tom Tromey <tromey@redhat.com>
376 * target-delegates.c: Rebuild.
377 * target.c (update_current_target): Don't inherit or default
378 to_supports_string_tracing.
379 * target.h (struct target_ops) <to_supports_string_tracing>: Use
380 TARGET_DEFAULT_RETURN.
382 2014-02-19 Tom Tromey <tromey@redhat.com>
384 * target-delegates.c: Rebuild.
385 * target.c (update_current_target): Don't inherit or default
386 to_supports_enable_disable_tracepoint.
387 * target.h (struct target_ops)
388 <to_supports_enable_disable_tracepoint>: Use
389 TARGET_DEFAULT_RETURN.
391 2014-02-19 Tom Tromey <tromey@redhat.com>
393 * target-delegates.c: Rebuild.
394 * target.c (update_current_target): Don't inherit or default
395 to_supports_multi_process.
396 * target.h (struct target_ops) <to_supports_multi_process>: Use
397 TARGET_DEFAULT_RETURN.
399 2014-02-19 Tom Tromey <tromey@redhat.com>
401 * target-delegates.c: Rebuild.
402 * target.c (update_current_target): Don't inherit or default
403 to_get_ada_task_ptid.
404 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
407 2014-02-19 Tom Tromey <tromey@redhat.com>
409 * target-delegates.c: Rebuild.
410 * target.c (update_current_target): Don't inherit or default
411 to_thread_architecture.
412 * target.h (struct target_ops) <to_thread_architecture>: Use
415 2014-02-19 Tom Tromey <tromey@redhat.com>
417 * target-delegates.c: Rebuild.
418 * target.c (update_current_target): Don't inherit or default
419 to_execution_direction.
420 * target.h (struct target_ops) <to_execution_direction>: Use
423 2014-02-19 Tom Tromey <tromey@redhat.com>
425 * target-delegates.c: Rebuild.
426 * target.c (update_current_target): Don't inherit or default
427 to_can_execute_reverse.
428 * target.h (struct target_ops) <to_can_execute_reverse>: Use
429 TARGET_DEFAULT_RETURN.
430 (target_can_execute_reverse): Unconditionally delegate.
432 2014-02-19 Tom Tromey <tromey@redhat.com>
434 * target-delegates.c: Rebuild.
435 * target.c (update_current_target): Don't inherit or default
437 (dummy_goto_bookmark): Remove.
438 (init_dummy_target): Don't inherit or default to_goto_bookmark.
439 * target.h (struct target_ops) <to_goto_bookmark>: Use
440 TARGET_DEFAULT_NORETURN.
442 2014-02-19 Tom Tromey <tromey@redhat.com>
444 * target-delegates.c: Rebuild.
445 * target.c (update_current_target): Don't inherit or default
447 (dummy_get_bookmark): Remove.
448 (init_dummy_target): Don't inherit or default to_get_bookmark.
449 * target.h (struct target_ops) <to_get_bookmark>: Use
450 TARGET_DEFAULT_NORETURN
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_make_corefile_notes.
457 (init_dummy_target): Don't initialize to_make_corefile_notes.
458 * target.h (struct target_ops) <to_make_corefile_notes>: Use
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_find_memory_regions.
466 (init_dummy_target): Don't initialize to_find_memory_regions.
467 * target.h (struct target_ops) <to_find_memory_regions>: Use
470 2014-02-19 Tom Tromey <tromey@redhat.com>
472 * target-delegates.c: Rebuild.
473 * target.c (update_current_target): Don't inherit or default
475 * target.h (struct target_ops) <to_log_command>: Use
476 TARGET_DEFAULT_IGNORE.
477 (target_log_command): Unconditionally delegate.
479 2014-02-19 Tom Tromey <tromey@redhat.com>
481 * target-delegates.c: Rebuild.
482 * target.c (update_current_target): Don't inherit or default
484 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
485 TARGET_DEFAULT_RETURN.
487 2014-02-19 Tom Tromey <tromey@redhat.com>
489 * target-delegates.c: Rebuild.
490 * target.c (update_current_target): Don't inherit or default
492 (target_thread_name): Unconditionally delegate.
493 * target.h (struct target_ops) <to_thread_name>: Use
494 TARGET_DEFAULT_RETURN.
496 2014-02-19 Tom Tromey <tromey@redhat.com>
498 * target-delegates.c: Rebuild.
499 * target.c (update_current_target): Don't inherit or default
500 to_extra_thread_info.
501 * target.h (struct target_ops) <to_extra_thread_info>: Use
502 TARGET_DEFAULT_RETURN.
504 2014-02-19 Tom Tromey <tromey@redhat.com>
506 * target-delegates.c: Rebuild.
507 * target.c (update_current_target): Don't inherit or default
509 * target.h (struct target_ops) <to_has_exited>: Use
510 TARGET_DEFAULT_RETURN..
512 2014-02-19 Tom Tromey <tromey@redhat.com>
514 * target-delegates.c: Rebuild.
515 * target.c (update_current_target): Don't inherit or default
516 to_set_syscall_catchpoint.
517 (return_one): Remove.
518 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
519 TARGET_DEFAULT_RETURN.
521 2014-02-19 Tom Tromey <tromey@redhat.com>
523 * target-delegates.c: Rebuild.
524 * target.c (update_current_target): Don't inherit or default
525 to_insert_exec_catchpoint.
526 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
527 TARGET_DEFAULT_RETURN.
529 2014-01-08 Tom Tromey <tromey@redhat.com>
531 * target-delegates.c: Rebuild.
532 * target.c (update_current_target): Don't inherit or default
533 to_insert_exec_catchpoint.
534 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
535 TARGET_DEFAULT_RETURN.
537 2014-02-19 Tom Tromey <tromey@redhat.com>
539 * target-delegates.c: Rebuild.
540 * target.c (update_current_target): Don't inherit or default
541 to_remove_vfork_catchpoint.
542 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
543 TARGET_DEFAULT_RETURN.
545 2014-02-19 Tom Tromey <tromey@redhat.com>
547 * target-delegates.c: Rebuild.
548 * target.c (update_current_target): Don't inherit or default
549 to_insert_vfork_catchpoint.
550 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
551 TARGET_DEFAULT_RETURN.
553 2014-02-19 Tom Tromey <tromey@redhat.com>
555 * target-delegates.c: Rebuild.
556 * target.c (update_current_target): Don't inherit or default
557 to_remove_fork_catchpoint.
558 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
559 TARGET_DEFAULT_RETURN.
561 2014-02-19 Tom Tromey <tromey@redhat.com>
563 * target-delegates.c: Rebuild.
564 * target.c (update_current_target): Don't inherit or default
565 to_insert_fork_catchpoint.
566 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
567 TARGET_DEFAULT_RETURN.
569 2014-02-19 Tom Tromey <tromey@redhat.com>
571 * target-delegates.c: Rebuild.
572 * target.c (update_current_target): Don't inherit or default
573 to_post_startup_inferior.
574 * target.h (struct target_ops) <to_post_startup_inferior>: Use
575 TARGET_DEFAULT_IGNORE.
577 2014-02-19 Tom Tromey <tromey@redhat.com>
579 * target-delegates.c: Rebuild.
580 * target.c (update_current_target): Don't inherit or default
582 * target.h (struct target_ops) <to_load>: Use
583 TARGET_DEFAULT_NORETURN.
585 2014-02-19 Tom Tromey <tromey@redhat.com>
587 * target-delegates.c: Rebuild.
588 * target.c (update_current_target): Don't inherit or default
590 * target.h (struct target_ops) <to_terminal_info>: Use
593 2014-02-19 Tom Tromey <tromey@redhat.com>
595 * target-delegates.c: Rebuild.
596 * target.c (update_current_target): Don't inherit or default
597 to_terminal_save_ours.
598 * target.h (struct target_ops) <to_terminal_save_ours>: Use
599 TARGET_DEFAULT_IGNORE.
601 2014-02-19 Tom Tromey <tromey@redhat.com>
603 * target-delegates.c: Rebuild.
604 * target.c (update_current_target): Don't inherit or default
606 * target.h (struct target_ops) <to_terminal_ours>: Use
607 TARGET_DEFAULT_IGNORE.
609 2014-02-19 Tom Tromey <tromey@redhat.com>
611 * target-delegates.c: Rebuild.
612 * target.c (update_current_target): Don't inherit or default
613 to_terminal_ours_for_output.
614 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
615 TARGET_DEFAULT_IGNORE.
617 2014-02-19 Tom Tromey <tromey@redhat.com>
619 * target-delegates.c: Rebuild.
620 * target.c (update_current_target): Don't inherit or default
621 to_terminal_inferior.
622 * target.h (struct target_ops) <to_terminal_inferior>: Use
623 TARGET_DEFAULT_IGNORE.
625 2014-02-19 Tom Tromey <tromey@redhat.com>
627 * target-delegates.c: Rebuild.
628 * target.c (update_current_target): Don't inherit or default
630 * target.h (struct target_ops) <to_terminal_init>: Use
631 TARGET_DEFAULT_IGNORE.
633 2014-02-19 Tom Tromey <tromey@redhat.com>
635 * target-delegates.c: Rebuild.
636 * target.c (update_current_target): Don't inherit or default
637 to_can_accel_watchpoint_condition.
638 * target.h (struct target_ops)
639 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
641 2014-02-19 Tom Tromey <tromey@redhat.com>
643 * target-delegates.c: Rebuild.
644 * target.c (update_current_target): Don't inherit or default
645 to_region_ok_for_hw_watchpoint.
646 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
647 Use TARGET_DEFAULT_FUNC.
649 2014-02-19 Tom Tromey <tromey@redhat.com>
651 * target-delegates.c: Rebuild.
652 * target.c (update_current_target): Don't inherit or default
653 to_watchpoint_addr_within_range.
654 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
655 Use TARGET_DEFAULT_FUNC.
657 2014-02-19 Tom Tromey <tromey@redhat.com>
659 * target-delegates.c: Rebuild.
660 * target.c (update_current_target): Don't inherit or default
661 to_remove_watchpoint.
662 * target.h (struct target_ops) <to_remove_watchpoint>: Use
663 TARGET_DEFAULT_NORETURN.
665 2014-02-19 Tom Tromey <tromey@redhat.com>
667 * target-delegates.c: Rebuild.
668 * target.c (update_current_target): Don't inherit or default
669 to_insert_watchpoint.
670 * target.h (struct target_ops) <to_insert_watchpoint>: Use
671 TARGET_DEFAULT_RETURN.
673 2014-02-19 Tom Tromey <tromey@redhat.com>
675 * target-delegates.c: Rebuild.
676 * target.c (update_current_target): Don't inherit or default
677 to_remove_hw_breakpoint.
678 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
679 TARGET_DEFAULT_RETURN.
681 2014-02-19 Tom Tromey <tromey@redhat.com>
683 * target-delegates.c: Rebuild.
684 * target.c (update_current_target): Don't inherit or default
685 to_insert_hw_breakpoint.
686 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
687 TARGET_DEFAULT_RETURN.
689 2014-02-19 Tom Tromey <tromey@redhat.com>
691 * target-delegates.c: Rebuild.
692 * target.c (update_current_target): Don't inherit or default
693 to_can_use_hw_breakpoint.
694 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
695 TARGET_DEFAULT_RETURN.
697 2014-02-19 Tom Tromey <tromey@redhat.com>
699 * target-delegates.c: Rebuild.
700 * target.c (update_current_target): Don't inherit or default
702 * target.h (struct target_ops) <to_files_info>: Use
703 TARGET_DEFAULT_IGNORE.
705 2014-02-19 Tom Tromey <tromey@redhat.com>
707 * target-delegates.c: Rebuild.
708 * target.c (update_current_target): Don't inherit or default
710 * target.h (struct target_ops) <to_store>: Use
711 TARGET_DEFAULT_NORETURN.
713 2014-02-19 Tom Tromey <tromey@redhat.com>
715 * target-delegates.c: Rebuild.
716 * target.c (update_current_target): Don't inherit or default
718 * target.h (struct target_ops) <to_post_attach>: Use
719 TARGET_DEFAULT_IGNORE.
721 2014-02-19 Tom Tromey <tromey@redhat.com>
723 * target-delegates.c: Rebuild.
724 * target.c (update_current_target): Don't inherit or default
726 (default_rcmd): New function.
727 (do_monitor_command): Unconditionally delegate.
728 * target.h (struct target_ops) <to_rmcd>: Use
731 2014-02-19 Tom Tromey <tromey@redhat.com>
733 * target-delegates.c: Rebuild.
734 * target.c (init_dummy_target): Don't initialize to_attach.
735 (target_attach): Unconditionally delegate.
736 * target.h (struct target_ops) <to_attach>: Use
739 2014-02-19 Tom Tromey <tromey@redhat.com>
741 * target-delegates.c: Rebuild.
742 * target.c (target_detach): Unconditionally delegate.
743 (init_dummy_target): Don't initialize to_detach.
744 * target.h (struct target_ops) <to_detach>: Use
745 TARGET_DEFAULT_IGNORE.
747 2014-02-19 Tom Tromey <tromey@redhat.com>
749 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
751 (target_augmented_libraries_svr4_read): Add argument.
752 * target.c (update_current_target): Update.
753 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
756 2014-02-19 Tom Tromey <tromey@redhat.com>
758 * target.h (struct target_ops) <to_call_history_range>: Add
760 * target.c (target_call_history_range): Add argument.
761 * record-btrace.c (record_btrace_call_history_range): Add 'self'
763 (record_btrace_call_history_from): Update.
765 2014-02-19 Tom Tromey <tromey@redhat.com>
767 * target.h (struct target_ops) <to_call_history_from>: Add
769 * target.c (target_call_history_from): Add argument.
770 * record-btrace.c (record_btrace_call_history_from): Add 'self'
773 2014-02-19 Tom Tromey <tromey@redhat.com>
775 * target.h (struct target_ops) <to_call_history>: Add argument.
776 * target.c (target_call_history): Add argument.
777 * record-btrace.c (record_btrace_call_history): Add 'self'
780 2014-02-19 Tom Tromey <tromey@redhat.com>
782 * target.h (struct target_ops) <to_insn_history_range>: Add
784 * target.c (target_insn_history_range): Add argument.
785 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
787 (record_btrace_insn_history_from): Update.
789 2014-02-19 Tom Tromey <tromey@redhat.com>
791 * target.h (struct target_ops) <to_insn_history_from>: Add
793 * target.c (target_insn_history_from): Add argument.
794 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
797 2014-02-19 Tom Tromey <tromey@redhat.com>
799 * target.h (struct target_ops) <to_insn_history>: Add argument.
800 * target.c (target_insn_history): Add argument.
801 * record-btrace.c (record_btrace_insn_history): Add 'self'
804 2014-02-19 Tom Tromey <tromey@redhat.com>
806 * target.h (struct target_ops) <to_goto_record>: Add argument.
807 * target.c (target_goto_record): Add argument.
808 * record-full.c (record_full_goto): Add 'self' argument.
809 * record-btrace.c (record_btrace_goto): Add 'self' argument.
811 2014-02-19 Tom Tromey <tromey@redhat.com>
813 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
814 * target.c (target_goto_record_end): Add argument.
815 * record-full.c (record_full_goto_end): Add 'self' argument.
816 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
818 2014-02-19 Tom Tromey <tromey@redhat.com>
820 * target.h (struct target_ops) <to_goto_record_begin>: Add
822 * target.c (target_goto_record_begin): Add argument.
823 * record-full.c (record_full_goto_begin): Add 'self' argument.
824 * record-btrace.c (record_btrace_goto_begin): Add 'self'
827 2014-02-19 Tom Tromey <tromey@redhat.com>
829 * target.h (struct target_ops) <to_record_is_replaying>: Add
831 * target.c (target_record_is_replaying): Add argument.
832 * record-full.c (record_full_is_replaying): Add 'self' argument.
833 * record-btrace.c (record_btrace_is_replaying): Add 'self'
835 (record_btrace_xfer_partial, record_btrace_store_registers)
836 (record_btrace_prepare_to_store, record_btrace_resume)
837 (record_btrace_wait, record_btrace_decr_pc_after_break)
838 (record_btrace_find_new_threads, record_btrace_thread_alive):
841 2014-02-19 Tom Tromey <tromey@redhat.com>
843 * target.h (struct target_ops) <to_delete_record>: Add argument.
844 * target.c (target_delete_record): Add argument.
845 * record-full.c (record_full_delete): Add 'self' argument.
847 2014-02-19 Tom Tromey <tromey@redhat.com>
849 * target.h (struct target_ops) <to_save_record>: Add argument.
850 * target.c (target_save_record): Add argument.
851 * record-full.c (record_full_save): Add 'self' argument.
852 (record_full_save): Add 'self' argument.
854 2014-02-19 Tom Tromey <tromey@redhat.com>
856 * target.h (struct target_ops) <to_info_record>: Add argument.
857 * target.c (target_info_record): Add argument.
858 * record.c (info_record_command): Add argument.
859 * record-full.c (record_full_info): Add 'self' argument.
860 * record-btrace.c (record_btrace_info): Add 'self' argument.
862 2014-02-19 Tom Tromey <tromey@redhat.com>
864 * target.h (struct target_ops) <to_stop_recording>: Add argument.
865 * target.c (target_stop_recording): Add argument.
866 * record.c (record_stop): Add argument.
867 * record-btrace.c (record_btrace_stop_recording): Add 'self'
870 2014-02-19 Tom Tromey <tromey@redhat.com>
872 * target.h (struct target_ops) <to_read_btrace>: Add argument.
873 * target.c (struct target_ops) <to_read_btrace>: Add argument.
874 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
876 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
877 (_initialize_amd64_linux_nat): Use it.
878 * i386-linux-nat.c (i386_linux_read_btrace): New function.
879 (_initialize_i386_linux_nat): Use it.
881 2014-02-19 Tom Tromey <tromey@redhat.com>
883 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
884 * target.c (target_teardown_btrace): Add argument.
885 * remote.c (remote_teardown_btrace): Add 'self' argument.
886 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
888 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
891 2014-02-19 Tom Tromey <tromey@redhat.com>
893 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
894 * target.c (target_disable_btrace): Add argument.
895 * remote.c (remote_disable_btrace): Add 'self' argument.
896 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
898 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
901 2014-02-19 Tom Tromey <tromey@redhat.com>
903 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
904 * target.c (target_enable_btrace): Add argument.
905 * remote.c (remote_enable_btrace): Add 'self' argument.
906 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
908 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
911 2014-02-19 Tom Tromey <tromey@redhat.com>
913 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
914 (target_can_use_agent): Add argument.
915 * target.c (update_current_target): Update.
916 * remote.c (remote_can_use_agent): Add 'self' argument.
917 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
919 2014-02-19 Tom Tromey <tromey@redhat.com>
921 * target.h (struct target_ops) <to_use_agent>: Add argument.
922 (target_use_agent): Add argument.
923 * target.c (update_current_target): Update.
924 * remote.c (remote_use_agent): Add 'self' argument.
925 * inf-child.c (inf_child_use_agent): Add 'self' argument.
927 2014-02-19 Tom Tromey <tromey@redhat.com>
929 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
930 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
931 (target_traceframe_info): Add argument.
932 * target.c (update_current_target): Update.
933 * remote.c (remote_traceframe_info): Add 'self' argument.
934 * ctf.c (ctf_traceframe_info): Add 'self' argument.
936 2014-02-19 Tom Tromey <tromey@redhat.com>
938 * target.h (target_static_tracepoint_markers_by_strid): Add
940 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
942 * target.c (update_current_target): Update.
943 * remote.c (struct target_ops)
944 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
945 * linux-nat.c (struct target_ops)
946 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
948 2014-02-19 Tom Tromey <tromey@redhat.com>
950 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
952 (target_static_tracepoint_marker_at): Add argument.
953 * target.c (update_current_target): Update.
954 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
957 2014-02-19 Tom Tromey <tromey@redhat.com>
959 * target.h (struct target_ops) <to_set_permissions>: Add argument.
960 (target_set_permissions): Add argument.
961 * target.c (update_current_target): Update.
962 * remote.c (remote_set_permissions): Add 'self' argument.
963 (remote_start_remote): Update.
965 2014-02-19 Tom Tromey <tromey@redhat.com>
967 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
968 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
969 (target_get_tib_address): Add argument.
970 * target.c (update_current_target): Update.
971 * remote.c (remote_get_tib_address): Add 'self' argument.
973 2014-02-19 Tom Tromey <tromey@redhat.com>
975 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
976 (target_set_trace_notes): Add argument.
977 * target.c (update_current_target): Update.
978 * remote.c (remote_set_trace_notes): Add 'self' argument.
980 2014-02-19 Tom Tromey <tromey@redhat.com>
982 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
984 (target_set_trace_buffer_size): Add argument.
985 * target.c (update_current_target): Update.
986 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
988 2014-02-19 Tom Tromey <tromey@redhat.com>
990 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
992 (target_set_circular_trace_buffer): Add argument.
993 * target.c (update_current_target): Update.
994 * remote.c (remote_set_circular_trace_buffer): Add 'self'
997 2014-02-19 Tom Tromey <tromey@redhat.com>
999 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
1001 (target_set_disconnected_tracing): Add argument.
1002 * target.c (update_current_target): Update.
1003 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
1005 2014-02-19 Tom Tromey <tromey@redhat.com>
1007 * target.h (struct target_ops)
1008 <to_get_min_fast_tracepoint_insn_len>: Add argument.
1009 (target_get_min_fast_tracepoint_insn_len): Add argument.
1010 * target.c (update_current_target): Update.
1011 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
1014 2014-02-19 Tom Tromey <tromey@redhat.com>
1016 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
1018 (target_get_raw_trace_data): Add argument.
1019 * target.c (update_current_target): Update.
1020 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
1022 2014-02-19 Tom Tromey <tromey@redhat.com>
1024 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1026 (target_upload_trace_state_variables): Add argument.
1027 * target.c (update_current_target): Update.
1028 * remote.c (remote_upload_trace_state_variables): Add 'self'
1030 (remote_start_remote): Update.
1032 2014-02-19 Tom Tromey <tromey@redhat.com>
1034 * target.h (struct target_ops) <to_upload_tracepoints>: Add
1036 (target_upload_tracepoints): Add argument.
1037 * target.c (update_current_target): Update.
1038 * remote.c (remote_upload_tracepoints): Add 'self' argument.
1039 (remote_start_remote): Update.
1041 2014-02-19 Tom Tromey <tromey@redhat.com>
1043 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
1044 (target_save_trace_data): Add argument.
1045 * target.c (update_current_target): Update.
1046 * remote.c (remote_save_trace_data): Add 'self' argument.
1048 2014-02-19 Tom Tromey <tromey@redhat.com>
1050 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
1052 * target.h (struct target_ops)
1053 <to_get_trace_state_variable_value>: Add argument.
1054 (target_get_trace_state_variable_value): Add argument.
1055 * target.c (update_current_target): Update.
1056 * remote.c (remote_get_trace_state_variable_value): Add 'self'
1058 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
1060 2014-02-19 Tom Tromey <tromey@redhat.com>
1062 * tracepoint.c (tfile_trace_find): Add 'self' argument.
1063 * target.h (struct target_ops) <to_trace_find>: Add argument.
1064 (target_trace_find): Add argument.
1065 * target.c (update_current_target): Update.
1066 * remote.c (remote_trace_find): Add 'self' argument.
1067 * ctf.c (ctf_trace_find): Add 'self' argument.
1069 2014-02-19 Tom Tromey <tromey@redhat.com>
1071 * target.h (struct target_ops) <to_trace_stop>: Add argument.
1072 (target_trace_stop): Add argument.
1073 * target.c (update_current_target): Update.
1074 * remote.c (remote_trace_stop): Add 'self' argument.
1076 2014-02-19 Tom Tromey <tromey@redhat.com>
1078 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
1079 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
1081 (target_get_tracepoint_status): Add argument.
1082 * target.c (update_current_target): Update.
1083 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
1085 2014-02-19 Tom Tromey <tromey@redhat.com>
1087 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
1088 * target.h (struct target_ops) <to_get_trace_status>: Add
1090 (target_get_trace_status): Add argument.
1091 * target.c (update_current_target): Update.
1092 * remote.c (remote_get_trace_status): Add 'self' argument.
1093 (remote_start_remote, remote_can_download_tracepoint): Update.
1094 * ctf.c (ctf_get_trace_status): Add 'self' argument.
1096 2014-02-19 Tom Tromey <tromey@redhat.com>
1098 * target.h (struct target_ops) <to_trace_start>: Add argument.
1099 (target_trace_start): Add argument.
1100 * target.c (update_current_target): Update.
1101 * remote.c (remote_trace_start): Add 'self' argument.
1103 2014-02-19 Tom Tromey <tromey@redhat.com>
1105 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1107 (target_trace_set_readonly_regions): Add argument.
1108 * target.c (update_current_target): Update.
1109 * remote.c (remote_trace_set_readonly_regions): Add 'self'
1112 2014-02-19 Tom Tromey <tromey@redhat.com>
1114 * target.h (struct target_ops) <to_disable_tracepoint>: Add
1116 (target_disable_tracepoint): Add argument.
1117 * target.c (update_current_target): Update.
1118 * remote.c (remote_disable_tracepoint): Add 'self' argument.
1120 2014-02-19 Tom Tromey <tromey@redhat.com>
1122 * target.h (struct target_ops) <to_enable_tracepoint>: Add
1124 (target_enable_tracepoint): Add argument.
1125 * target.c (update_current_target): Update.
1126 * remote.c (remote_enable_tracepoint): Add 'self' argument.
1128 2014-02-19 Tom Tromey <tromey@redhat.com>
1130 * target.h (struct target_ops) <to_download_trace_state_variable>:
1132 (target_download_trace_state_variable): Add argument.
1133 * target.c (update_current_target): Update.
1134 * remote.c (remote_download_trace_state_variable): Add 'self'
1137 2014-02-19 Tom Tromey <tromey@redhat.com>
1139 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
1141 (target_can_download_tracepoint): Add argument.
1142 * target.c (update_current_target): Update.
1143 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
1145 2014-02-19 Tom Tromey <tromey@redhat.com>
1147 * target.h (struct target_ops) <to_download_tracepoint>: Add
1149 (target_download_tracepoint): Add argument.
1150 * target.c (update_current_target): Update.
1151 * remote.c (remote_download_tracepoint): Add 'self' argument.
1153 2014-02-19 Tom Tromey <tromey@redhat.com>
1155 * target.h (struct target_ops) <to_trace_init>: Add argument.
1156 (target_trace_init): Add argument.
1157 * target.c (update_current_target): Update.
1158 * remote.c (remote_trace_init): Add 'self' argument.
1160 2014-02-19 Tom Tromey <tromey@redhat.com>
1162 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1163 * target.c (target_fileio_readlink): Add argument.
1164 * remote.c (remote_hostio_readlink): Add 'self' argument.
1165 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1167 2014-02-19 Tom Tromey <tromey@redhat.com>
1169 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1170 * target.c (target_fileio_unlink): Add argument.
1171 * remote.c (remote_hostio_unlink): Add 'self' argument.
1172 (remote_file_delete): Update.
1173 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1175 2014-02-19 Tom Tromey <tromey@redhat.com>
1177 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1178 * target.c (target_fileio_close): Add argument.
1179 * remote.c (remote_hostio_close): Add 'self' argument.
1180 (remote_hostio_close_cleanup): Update.
1181 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1183 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1185 2014-02-19 Tom Tromey <tromey@redhat.com>
1187 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1188 * target.c (target_fileio_pread): Add argument.
1189 * remote.c (remote_hostio_pread): Add 'self' argument.
1190 (remote_bfd_iovec_pread, remote_file_get): Update.
1191 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1193 2014-02-19 Tom Tromey <tromey@redhat.com>
1195 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1196 * target.c (target_fileio_pwrite): Add argument.
1197 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1198 (remote_file_put): Update.
1199 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1201 2014-02-19 Tom Tromey <tromey@redhat.com>
1203 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1204 * target.c (target_fileio_open): Add argument.
1205 * remote.c (remote_hostio_open): Add 'self' argument.
1206 (remote_bfd_iovec_open): Add 'self' argument.
1207 (remote_file_put): Add 'self' argument.
1208 (remote_file_get): Add 'self' argument.
1209 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1211 2014-02-19 Tom Tromey <tromey@redhat.com>
1213 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1215 (target_can_run_breakpoint_commands): Add argument.
1216 * target.c (update_current_target): Update.
1217 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1219 (remote_insert_breakpoint): Add 'self' argument.
1220 (remote_insert_hw_breakpoint): Add 'self' argument.
1221 (remote_can_run_breakpoint_commands): Add 'self' argument.
1223 2014-02-19 Tom Tromey <tromey@redhat.com>
1225 * target.h (struct target_ops)
1226 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1227 (target_supports_evaluation_of_breakpoint_conditions): Add
1229 * target.c (update_current_target): Update.
1230 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1232 (remote_insert_breakpoint): Add 'self' argument.
1233 (remote_insert_hw_breakpoint): Add 'self' argument.
1234 (remote_supports_cond_breakpoints): Add 'self' argument.
1236 2014-02-19 Tom Tromey <tromey@redhat.com>
1238 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1240 (target_supports_string_tracing): Add argument.
1241 * target.c (update_current_target): Update.
1242 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1244 2014-02-19 Tom Tromey <tromey@redhat.com>
1246 * target.h (struct target_ops)
1247 <to_supports_disable_randomization>: Add argument.
1248 * target.c (find_default_supports_disable_randomization): Add
1250 (target_supports_disable_randomization): Add argument.
1251 (find_default_supports_disable_randomization): Add 'self'
1253 * remote.c (extended_remote_supports_disable_randomization): Add
1255 (remote_supports_disable_randomization): Add 'self' argument.
1256 (extended_remote_create_inferior): Update.
1257 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1260 2014-02-19 Tom Tromey <tromey@redhat.com>
1262 * target.h (struct target_ops)
1263 <to_supports_enable_disable_tracepoint>: Add argument.
1264 (target_supports_enable_disable_tracepoint): Add argument.
1265 * target.c (update_current_target): Update.
1266 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1269 2014-02-19 Tom Tromey <tromey@redhat.com>
1271 * target.h (struct target_ops) <to_supports_multi_process>: Add
1273 (target_supports_multi_process): Add argument.
1274 * target.c (update_current_target): Update.
1275 * remote.c (remote_supports_multi_process): Add 'self' argument.
1276 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1278 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1281 2014-02-19 Tom Tromey <tromey@redhat.com>
1283 * target.h (struct target_ops) <to_execution_direction>: Add
1285 (target_execution_direction): Add argument.
1286 * target.c (default_execution_direction): Add 'self' argument.
1287 * record-full.c (record_full_execution_direction): Add 'self'
1290 2014-02-19 Tom Tromey <tromey@redhat.com>
1292 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1294 (target_can_execute_reverse): Add argument.
1295 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1296 * record-full.c (record_full_can_execute_reverse): Add 'self'
1298 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1301 2014-02-19 Tom Tromey <tromey@redhat.com>
1303 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1304 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1306 (target_get_ada_task_ptid): Add argument.
1307 * target.c (update_current_target): Update.
1308 (default_get_ada_task_ptid): Add 'self' argument.
1309 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1310 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1311 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1313 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1315 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1317 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1319 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1320 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1323 2014-02-19 Tom Tromey <tromey@redhat.com>
1325 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1326 (target_goto_bookmark): Add argument.
1327 * target.c (dummy_goto_bookmark): Add 'self' argument.
1328 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1330 2014-02-19 Tom Tromey <tromey@redhat.com>
1332 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1333 (target_get_bookmark): Add argument.
1334 * target.c (dummy_get_bookmark): Add 'self' argument.
1335 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1337 2014-02-19 Tom Tromey <tromey@redhat.com>
1339 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1341 (target_make_corefile_notes): Add argument.
1342 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1343 * procfs.c (procfs_make_note_section): Add 'self' argument.
1344 (procfs_make_note_section): Add 'self' argument.
1345 (procfs_make_note_section): Add 'self' argument.
1346 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1348 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1349 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1350 * exec.c (exec_make_note_section): Add 'self' argument.
1351 (exec_make_note_section): Add 'self' argument.
1353 2014-02-19 Tom Tromey <tromey@redhat.com>
1355 * target.h (struct target_ops) <to_find_memory_regions>: Add
1357 (target_find_memory_regions): Add argument.
1358 * target.c (dummy_find_memory_regions): Add 'self' argument.
1359 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1360 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1361 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1362 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1363 * exec. (exec_do_find_memory_regions): New global.
1364 (exec_set_find_memory_regions): Rewrite.
1365 (exec_find_memory_regions): New function.
1366 (init_exec_ops): Use exec_find_memory_regions.
1368 2014-02-19 Tom Tromey <tromey@redhat.com>
1370 * target.h (struct target_ops) <to_supports_non_stop>: Add
1372 * target.c (find_default_supports_non_stop): Add argument.
1373 (target_supports_non_stop): Add argument.
1374 (find_default_supports_non_stop): Add 'self' argument.
1375 * remote.c (remote_supports_non_stop): Add 'self' argument.
1376 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1378 2014-02-19 Tom Tromey <tromey@redhat.com>
1380 * target.h (struct target_ops) <to_log_command>: Add argument.
1381 (target_log_command): Add argument.
1382 * serial.h (serial_log_command): Add 'self' argument.
1383 * serial.c (serial_log_command): Add 'self' argument.
1385 2014-02-19 Tom Tromey <tromey@redhat.com>
1387 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1388 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1390 (target_pid_to_exec_file): Add argument.
1391 * target.c (debug_to_pid_to_exec_file): Add argument.
1392 (update_current_target): Update.
1393 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1394 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1395 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1396 (linux_handle_extended_wait): Update.
1397 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1398 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1399 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1400 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1402 2014-02-19 Tom Tromey <tromey@redhat.com>
1404 * target.h (struct target_ops) <to_rcmd>: Add argument.
1405 (target_rcmd): Add argument.
1406 * target.c (debug_to_rcmd): Add argument.
1407 (update_current_target, do_monitor_command): Update.
1408 * remote.c (remote_rcmd): Add 'self' argument.
1409 * monitor.c (monitor_rcmd): Add 'self' argument.
1411 2014-02-19 Tom Tromey <tromey@redhat.com>
1413 * windows-nat.c (windows_stop): Add 'self' argument.
1414 * target.h (struct target_ops) <to_stop>: Add argument.
1415 * target.c (target_stop): Add argument.
1416 (debug_to_stop): Add argument.
1417 (update_current_target): Update.
1418 * remote.c (remote_stop): Add 'self' argument.
1419 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1420 (gdbsim_cntrl_c): Update.
1421 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1422 * procfs.c (procfs_stop): Add 'self' argument.
1423 * nto-procfs.c (procfs_stop): Add 'self' argument.
1424 * monitor.c (monitor_stop): Add 'self' argument.
1425 (monitor_open): Update.
1426 * linux-nat.c (linux_nat_stop): Add argument.
1427 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1428 * gnu-nat.c (gnu_stop): Add 'self' argument.
1429 * darwin-nat.c (darwin_stop): Add 'self' argument.
1431 2014-02-19 Tom Tromey <tromey@redhat.com>
1433 * target.h (struct target_ops) <to_thread_name>: Add argument.
1434 * target.c (target_thread_name): Add argument.
1435 (update_current_target): Update.
1436 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
1438 2014-02-19 Tom Tromey <tromey@redhat.com>
1440 * target.h (struct target_ops) <to_extra_thread_info>: Add
1442 (target_extra_thread_info): Add argument.
1443 * target.c (update_current_target): Update.
1444 * remote.c (remote_threads_extra_info): Add 'self' argument.
1445 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
1447 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
1448 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
1449 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
1451 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
1453 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
1455 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
1458 2014-02-19 Tom Tromey <tromey@redhat.com>
1460 * target.h (struct target_ops) <to_program_signals>: Add argument.
1461 * target.c (target_program_signals): Add argument.
1462 * remote.c (remote_program_signals): Add 'self' argument.
1464 2014-02-19 Tom Tromey <tromey@redhat.com>
1466 * target.h (struct target_ops) <to_pass_signals>: Add argument.
1467 * target.c (target_pass_signals): Add argument.
1468 * remote.c (remote_pass_signals): Add 'self' argument.
1469 (remote_start_remote): Update.
1470 * procfs.c (procfs_pass_signals): Add 'self' argument.
1471 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
1472 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
1473 (linux_nat_create_inferior, linux_nat_attach): Update.
1475 2014-02-19 Tom Tromey <tromey@redhat.com>
1477 * windows-nat.c (windows_can_run): Add 'self' argument.
1478 * target.h (struct target_ops) <to_can_run>: Add argument.
1479 (target_can_run): Add argument.
1480 * target.c (debug_to_can_run): Add argument.
1481 (update_current_target): Update.
1482 * nto-procfs.c (procfs_can_run): Add 'self' argument.
1483 * inf-child.c (inf_child_can_run): Add 'self' argument.
1484 * go32-nat.c (go32_can_run): Add 'self' argument.
1486 2014-02-19 Tom Tromey <tromey@redhat.com>
1488 * target.h (struct target_ops) <to_has_exited>: Add argument.
1489 (target_has_exited): Add argument.
1490 * target.c (debug_to_has_exited): Add argument.
1491 (update_current_target): Update.
1493 2014-02-19 Tom Tromey <tromey@redhat.com>
1495 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
1497 (target_set_syscall_catchpoint): Add argument.
1498 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
1500 * target.c (update_current_target): Update.
1502 2014-02-19 Tom Tromey <tromey@redhat.com>
1504 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
1506 (target_remove_exec_catchpoint): Add argument.
1507 * target.c (debug_to_remove_exec_catchpoint): Add argument.
1508 (update_current_target): Update.
1509 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
1512 2014-02-19 Tom Tromey <tromey@redhat.com>
1514 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
1516 (target_insert_exec_catchpoint): Add argument.
1517 * target.c (debug_to_insert_exec_catchpoint): Add argument.
1518 (update_current_target): Update.
1519 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
1522 2014-02-19 Tom Tromey <tromey@redhat.com>
1524 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
1526 (target_remove_vfork_catchpoint): Add argument.
1527 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
1528 (update_current_target): Update.
1529 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
1532 2014-02-19 Tom Tromey <tromey@redhat.com>
1534 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
1536 (target_insert_vfork_catchpoint): Add argument.
1537 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
1538 (update_current_target): Update.
1539 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
1542 2014-02-19 Tom Tromey <tromey@redhat.com>
1544 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
1546 (target_remove_fork_catchpoint): Add argument.
1547 * target.c (debug_to_remove_fork_catchpoint): Add argument.
1548 (update_current_target): Update.
1549 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
1552 2014-02-19 Tom Tromey <tromey@redhat.com>
1554 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
1556 (target_insert_fork_catchpoint): Add argument.
1557 * target.c (debug_to_insert_fork_catchpoint): Add argument.
1558 (update_current_target): Update.
1559 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
1562 2014-02-19 Tom Tromey <tromey@redhat.com>
1564 * target.h (struct target_ops) <to_post_startup_inferior>: Add
1566 (target_post_startup_inferior): Add argument.
1567 * target.c (debug_to_post_startup_inferior): Add argument.
1568 (update_current_target): Update.
1569 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
1571 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
1573 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
1575 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
1577 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
1579 (super_post_startup_inferior): Likewise.
1580 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
1582 (super_post_startup_inferior): Likewise.
1583 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
1584 Add 'self' argument.
1585 (super_post_startup_inferior): Likewise.
1587 2014-02-19 Tom Tromey <tromey@redhat.com>
1589 * target.h (struct target_ops) <to_load>: Add argument.
1590 * target.c (target_load): Add argument.
1591 (debug_to_load): Add argument.
1592 (update_current_target): Update.
1593 * remote.c (remote_load): Add 'self' argument.
1594 * remote-sim.c (gdbsim_load): Add 'self' argument.
1595 * remote-mips.c (mips_load): Add 'self' argument.
1596 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
1597 * monitor.c (monitor_load): Add 'self' argument.
1598 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
1600 2014-02-19 Tom Tromey <tromey@redhat.com>
1602 * target.h (struct target_ops) <to_terminal_info>: Add argument.
1603 (target_terminal_info): Add argument.
1604 * target.c (debug_to_terminal_info): Add argument.
1605 (default_terminal_info): Likewise.
1606 * inflow.c (child_terminal_info): Add 'self' argument.
1607 * inferior.h (child_terminal_info): Add 'self' argument.
1608 * go32-nat.c (go32_terminal_info): Add 'self' argument.
1610 2014-02-19 Tom Tromey <tromey@redhat.com>
1612 * target.h (struct target_ops) <to_terminal_save_ours>: Add
1614 (target_terminal_save_ours): Add argument.
1615 * target.c (debug_to_terminal_save_ours): Add argument.
1616 (update_current_target): Update.
1617 * inflow.c (terminal_save_ours): Add 'self' argument.
1618 * inferior.h (terminal_save_ours): Add 'self' argument.
1620 2014-02-19 Tom Tromey <tromey@redhat.com>
1622 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
1623 (target_terminal_ours): Add argument.
1624 * target.c (debug_to_terminal_ours): Add argument.
1625 (update_current_target): Update.
1626 * remote.c (remote_terminal_ours): Add 'self' argument.
1627 (remote_close): Update.
1628 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
1629 * inflow.c (terminal_ours): Add 'self' argument.
1630 * inferior.h (terminal_ours): Add 'self' argument.
1631 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1633 2014-02-19 Pedro Alves <palves@redhat.com>
1634 Tom Tromey <tromey@redhat.com>
1636 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
1638 (target_terminal_ours_for_output): Add argument.
1639 * target.c (debug_to_terminal_ours_for_output): Add argument.
1640 (update_current_target): Update.
1641 * inflow.c (terminal_ours_for_output): Add 'self' argument.
1642 * inferior.h (terminal_ours_for_output): Add 'self' argument.
1643 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1645 2014-02-19 Tom Tromey <tromey@redhat.com>
1647 * target.h (struct target_ops) <to_terminal_inferior>: Add
1649 * target.c (target_terminal_inferior): Add argument.
1650 (update_current_target): Update.
1651 * remote.c (remote_terminal_inferior): Add 'self' argument.
1652 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
1653 * inflow.c (terminal_inferior): Add 'self' argument.
1654 * inferior.h (terminal_inferior): Add 'self' argument.
1655 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
1656 (go32_terminal_inferior): Add 'self' argument.
1658 2014-02-19 Tom Tromey <tromey@redhat.com>
1660 * target.h (struct target_ops) <to_terminal_init>: Add argument.
1661 (target_terminal_init): Add argument.
1662 * target.c (debug_to_terminal_init): Add argument.
1663 (update_current_target): Update.
1664 * inflow.c (terminal_init_inferior): Add 'self' argument.
1665 * inferior.h (terminal_init_inferior): Add 'self' argument.
1666 * go32-nat.c (go32_terminal_init): Add 'self' argument.
1667 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
1669 2014-02-19 Tom Tromey <tromey@redhat.com>
1671 * target.h (struct target_ops)
1672 <to_can_accel_watchpoint_condition>: Add argument.
1673 (target_can_accel_watchpoint_condition): Add argument.
1674 * target.c (debug_to_can_accel_watchpoint_condition): Add
1676 (update_current_target): Update.
1677 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
1680 2014-02-19 Tom Tromey <tromey@redhat.com>
1682 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1684 (target_region_ok_for_hw_watchpoint): Add argument.
1685 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
1686 (default_region_ok_for_hw_watchpoint): Add argument.
1687 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
1688 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
1690 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
1692 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
1694 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
1696 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
1698 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
1700 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
1701 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
1703 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
1704 Add 'self' argument.
1706 2014-02-19 Tom Tromey <tromey@redhat.com>
1708 * target.h (struct target_ops) <to_insert_watchpoint>: Add
1710 (target_insert_watchpoint): Add argument.
1711 * target.c (debug_to_insert_watchpoint): Add argument.
1712 (update_current_target): Update.
1713 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
1714 * remote.c (remote_insert_watchpoint): Add 'self' argument.
1715 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
1716 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
1717 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
1718 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
1720 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
1721 (procfs_insert_hw_watchpoint): Add 'self' argument.
1722 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
1724 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
1726 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
1728 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
1729 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
1731 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
1734 2014-02-19 Tom Tromey <tromey@redhat.com>
1736 * target.h (struct target_ops) <to_remove_watchpoint>: Add
1738 (target_remove_watchpoint): Add argument.
1739 * target.c (debug_to_remove_watchpoint): Add argument.
1740 (update_current_target): Update.
1741 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
1742 * remote.c (remote_remove_watchpoint): Add 'self' argument.
1743 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
1744 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
1745 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
1746 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
1748 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
1749 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
1751 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
1753 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
1755 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
1756 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
1758 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
1761 2014-02-19 Tom Tromey <tromey@redhat.com>
1763 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
1765 (target_remove_hw_breakpoint): Add argument.
1766 * target.c (debug_to_remove_hw_breakpoint): Add argument.
1767 (update_current_target): Update.
1768 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
1769 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
1771 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
1772 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
1774 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
1777 2014-02-19 Tom Tromey <tromey@redhat.com>
1779 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
1781 (target_insert_hw_breakpoint): Add argument.
1782 * target.c (debug_to_insert_hw_breakpoint): Add argument.
1783 (update_current_target): Update.
1784 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
1785 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
1787 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
1788 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
1789 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
1791 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
1794 2014-02-19 Tom Tromey <tromey@redhat.com>
1796 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
1798 (target_can_use_hardware_watchpoint): Add argument.
1799 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
1800 (update_current_target): Update.
1801 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
1803 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
1805 * remote.c (remote_check_watch_resources): Add 'self' argument.
1806 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
1807 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
1809 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
1810 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
1812 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
1814 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
1816 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
1818 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
1820 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
1822 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
1823 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
1825 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
1828 2014-02-19 Tom Tromey <tromey@redhat.com>
1830 * target.h (struct target_ops) <to_post_attach>: Add argument.
1831 (target_post_attach): Add argument.
1832 * target.c (debug_to_post_attach): Add argument.
1833 (update_current_target): Update.
1834 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
1835 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
1836 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
1837 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
1838 * inf-child.c (inf_child_post_attach): Add 'self' argument.
1840 2014-02-19 Tom Tromey <tromey@redhat.com>
1842 * windows-nat.c (windows_close): Add 'self' argument.
1843 * tracepoint.c (tfile_close): Add 'self' argument.
1844 * target.h (struct target_ops) <to_close>: Add argument.
1845 * target.c (target_close): Add argument.
1846 (update_current_target): Update.
1847 * remote.c (remote_close): Add 'self' argument.
1848 * remote-sim.c (gdbsim_close): Add 'self' argument.
1849 * remote-mips.c (mips_close): Add 'self' argument.
1850 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
1851 * record-full.c (record_full_close): Add 'self' argument.
1852 * record-btrace.c (record_btrace_close): Add 'self' argument.
1853 * monitor.h (monitor_close): Add 'self' argument.
1854 * monitor.c (monitor_close): Add 'self' argument.
1855 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
1856 * linux-nat.c (linux_nat_close): Add argument.
1857 * go32-nat.c (go32_close): Add 'self' argument.
1858 * exec.c (exec_close_1): Add 'self' argument.
1859 * ctf.c (ctf_close): Add 'self' argument.
1860 * corelow.c (core_close): Add 'self' argument.
1861 (core_close_cleanup): Update.
1862 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
1863 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
1865 2014-02-19 Tom Tromey <tromey@redhat.com>
1867 * remote.c (remote_load): New function.
1868 (init_remote_ops): Use it.
1870 2014-02-19 Tom Tromey <tromey@redhat.com>
1872 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
1874 * common/linux-btrace.h (linux_supports_btrace): Update.
1875 * remote.c (remote_supports_btrace): Add "self" argument.
1876 * target-delegates.c: Rebuild.
1877 * target.c (target_supports_btrace): Remove.
1878 * target.h (struct target_ops) <to_supports_btrace>: Add
1879 target_ops argument.
1880 (target_supports_btrace): New define.
1882 2014-02-19 Tom Tromey <tromey@redhat.com>
1884 * record-full.c (record_full_beneath_to_resume_ops)
1885 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
1886 (record_full_beneath_to_wait)
1887 (record_full_beneath_to_store_registers_ops)
1888 (record_full_beneath_to_store_registers)
1889 (record_full_beneath_to_xfer_partial_ops)
1890 (record_full_beneath_to_xfer_partial)
1891 (record_full_beneath_to_insert_breakpoint_ops)
1892 (record_full_beneath_to_insert_breakpoint)
1893 (record_full_beneath_to_remove_breakpoint_ops)
1894 (record_full_beneath_to_remove_breakpoint)
1895 (record_full_beneath_to_stopped_by_watchpoint)
1896 (record_full_beneath_to_stopped_data_address)
1897 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
1898 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
1899 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
1900 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
1901 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
1902 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
1903 (tmp_to_stopped_data_address, tmp_to_async): Remove.
1904 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
1905 (record_full_resume, record_full_wait_1)
1906 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
1907 (record_full_store_registers, record_full_xfer_partial)
1908 (record_full_insert_breakpoint, record_full_remove_breakpoint)
1909 (record_full_async, record_full_core_xfer_partial): Use target
1911 * target-delegates.c: Rebuild.
1912 * target.c (current_xfer_partial): Remove.
1913 (update_current_target): Do not INHERIT or de_fault
1914 to_insert_breakpoint, to_remove_breakpoint,
1915 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
1916 to_is_async_p, to_async. Do not set to_xfer_partial field.
1917 (default_xfer_partial): Simplify.
1918 (current_xfer_partial): Remove.
1919 (target_wait, target_resume): Simplify.
1920 (find_default_can_async_p, find_default_is_async_p): Update.
1921 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
1922 to_xfer_partial, to_stopped_by_watchpoint,
1923 to_stopped_data_address.
1924 (target_store_registers): Simplify.
1925 (forward_target_remove_breakpoint)
1926 (forward_target_insert_breakpoint): Remove.
1927 (target_remove_breakpoint, target_insert_breakpoint)
1928 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
1929 * target.h (struct target_ops) <to_resume, to_wait,
1930 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
1931 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
1932 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
1934 (forward_target_remove_breakpoint)
1935 (forward_target_insert_breakpoint): Remove.
1936 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
1938 (record_btrace_insert_breakpoint): Delegate directly.
1940 2014-02-19 Tom Tromey <tromey@redhat.com>
1943 * target-delegates.c: New file.
1944 * target.c: Include target-delegates.c.
1945 (init_dummy_target): Call install_dummy_methods.
1946 (complete_target_initialization): Call install_delegators.
1947 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
1948 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
1949 * make-target-delegates: New file.
1951 2014-02-19 Tom Tromey <tromey@redhat.com>
1953 * record.c (find_record_target): Use find_target_at.
1954 * target.c (find_target_at): New function.
1955 * target.h (find_target_at): Declare.
1957 2014-02-19 Tom Tromey <tromey@redhat.com>
1959 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
1961 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
1963 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
1964 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
1966 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
1968 * linux-nat.c (save_sigtrap): Update.
1969 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
1970 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
1971 (linux_nat_close): Update.
1972 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
1974 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
1976 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
1977 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
1978 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
1979 (tmp_to_async): Add 'ops' argument.
1980 (record_full_stopped_by_watchpoint, record_full_async)
1981 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
1983 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
1984 (m32r_stopped_by_watchpoint): Add 'ops' argument.
1985 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
1986 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
1987 (remote_is_async_p, remote_async): Add 'ops' argument.
1988 (remote_stopped_data_address): Update.
1989 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
1990 * target.c (update_current_target)
1991 (find_default_can_async_p, find_default_is_async_p): Update.
1992 (init_dummy_target): Update.
1993 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
1994 * target.h (struct target_ops) <to_stopped_by_watchpoint,
1995 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
1996 (target_can_async_p, target_is_async_p, target_async)
1997 (target_stopped_by_watchpoint): Update.
1999 2014-02-19 Yao Qi <yao@codesourcery.com>
2002 * gdbarch.sh: Remove startup_gdbarch.
2003 * gdbarch.c: Regenerated.
2004 * gdbarch.h: Likewise.
2006 2014-02-17 Kevin Buettner <kevinb@redhat.com>
2008 * rl78-tdep.c (rl78_g10_register_name): New function.
2009 (rl78_return_value): Add g10 support.
2010 (rl78_gdbarch_init): Register rl78_g10_register_name for the
2013 2014-02-17 Doug Evans <xdje42@gmail.com>
2015 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
2016 (SUBDIR_GUILE_SRCS): Ditto.
2017 (scm-gsmob.o): Ditto.
2019 2014-02-17 Yao Qi <yao@codesourcery.com>
2021 * gnu-nat.c (ILL_RPC): Declare defined function.
2023 2014-02-17 Yao Qi <yao@codesourcery.com>
2025 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
2026 mach_msg_type_number_t.
2027 (gnu_write_inferior): Likewise.
2029 2014-02-17 Yao Qi <yao@codesourcery.com>
2031 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
2033 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
2034 (inf_validate_procs, inf_signal): Likewise.
2035 (S_exception_raise_request): Likewise.
2036 (do_mach_notify_dead_name): Likewise.
2037 (steal_exc_port): Likewise.
2038 (gnu_read_inferior): Change 'copy_count''s type to
2039 mach_msg_type_number_t.
2040 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
2043 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
2045 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
2046 flag. Adjust all users; in particular...
2047 (gnu_wait): ..., don't decrement its value in here...
2048 (gnu_create_inferior): ..., and instead set the flag in here,
2049 around the startup_inferior call, and call that one with
2050 START_INFERIOR_TRAPS_EXPECTED.
2052 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
2053 (ILL_RPC): ... new macro.
2054 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
2055 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
2056 (do_mach_notify_send_once, S_proc_setmsgport_reply)
2057 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
2058 functions with ILL_RPC macro.
2059 (S_proc_pid2task_reply, S_proc_task2pid_reply)
2060 (S_proc_task2proc_reply, S_proc_proc2task_reply)
2061 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
2062 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
2063 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
2064 (S_proc_getlogin_reply, S_proc_getsid_reply)
2065 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
2066 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
2067 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
2068 (S_proc_getnports_reply, S_proc_is_important_reply)
2069 (S_proc_get_code_reply): New stub functions, generated with
2072 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
2073 collected the type check structures.
2075 * reply_mig_hack.awk: Don't expect to see the auto keyword.
2077 2014-02-14 Doug Evans <dje@google.com>
2079 * target.c (target_write_partial): Fix result type.
2081 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2083 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
2084 the proper offsets to access fpregset_t.
2086 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
2088 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
2089 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
2090 * h8300-tdep.c (setmachinelist): Remove global.
2091 * hppa-tdep.c (hppa_sigtramp): Remove global.
2092 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
2093 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
2094 * ravenscar-thread.c (update_target_observer): Remove global.
2095 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
2097 2014-02-12 Tom Tromey <tromey@redhat.com>
2099 * common/rsp-low.c: Update comments.
2100 * common/rsp-low.h: Update comments.
2102 2014-02-12 Tom Tromey <tromey@redhat.com>
2104 * common/rsp-low.c (convert_ascii_to_int): Remove.
2105 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
2107 2014-02-12 Tom Tromey <tromey@redhat.com>
2109 * common/rsp-low.h (unhexify): Don't declare.
2110 * common/rsp-low.c (unhexify): Remove.
2112 2014-02-12 Tom Tromey <tromey@redhat.com>
2114 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
2115 * common/rsp-low.c (convert_int_to_ascii): Remove.
2117 2014-02-12 Tom Tromey <tromey@redhat.com>
2119 * common/rsp-low.h (hexify): Don't declare.
2120 * common/rsp-low.c (hexify): Remove.
2122 2014-02-12 Tom Tromey <tromey@redhat.com>
2124 * common/rsp-low.c (hexify): Never take strlen of argument.
2126 2014-02-12 Tom Tromey <tromey@redhat.com>
2128 * common/rsp-low.c (bin2hex): Never take strlen of argument.
2129 * remote.c (extended_remote_run, remote_rcmd)
2130 (remote_download_trace_state_variable, remote_save_trace_data)
2131 (remote_set_trace_notes): Update.
2132 * tracepoint.c (encode_source_string, tfile_write_status)
2133 (tfile_write_uploaded_tsv): Update.
2135 2014-02-12 Tom Tromey <tromey@redhat.com>
2137 * tracepoint.c: Include rsp-low.h.
2138 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
2139 * remote.c: Include rsp-low.h.
2140 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
2141 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
2142 (remote_unescape_input): Move to common/rsp-low.c.
2143 * common/rsp-low.h: New file.
2144 * common/rsp-low.c: New file.
2145 * Makefile.in (SFILES): Add common/rsp-low.c.
2146 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
2147 (COMMON_OBS): Add rsp-low.o.
2148 (rsp-low.o): New target.
2150 2014-02-12 Tom Tromey <tromey@redhat.com>
2152 * utils.h: Include print-utils.h.
2153 (host_address_to_string, plongest, pulongest, phex, phex_nz)
2154 (int_string, core_addr_to_string, core_addr_to_string_nz)
2155 (hex_string, hex_string_custom): Don't declare.
2156 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2157 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2158 (hex_string_custom, int_string, core_addr_to_string)
2159 (core_addr_to_string_nz, host_address_to_string): Move to
2160 common/print-utils.c.
2161 * common/print-utils.h: New file.
2162 * common/print-utils.c: New file
2163 * Makefile.in (SFILES): Add common/print-utils.c.
2164 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2165 (COMMON_OBS): Add print-utils.o.
2166 (print-utils.o): New target.
2168 2014-02-12 Tom Tromey <tromey@redhat.com>
2170 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2172 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2174 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2176 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2178 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2179 if a PT_IO ptrace request returns sucessfully but indicates that 0
2180 bytes were transferred.
2182 2014-02-12 Pedro Alves <palves@redhat.com>
2183 Kevin Buettner <kevinb@redhat.com>
2185 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2186 TYPE_INSTANCE_FLAG_CODE_SPACE.
2188 2014-02-12 Pedro Alves <palves@redhat.com>
2190 * h8300-tdep.c (pseudo_from_raw_register)
2191 (raw_from_pseudo_register): New functions.
2192 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2195 2014-02-12 Pedro Alves <palves@redhat.com>
2197 * h8300-tdep.c (h8300_register_sim_regno): New function.
2198 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2199 gdbarch_register_sim_regno hook.
2201 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2203 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2205 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2207 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2209 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2211 * obsd-tdep.h (obsd_init_abi): New prototype.
2212 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2213 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2214 (obsd_init_abi): New functions.
2215 * i386obsd-tdep.c: Include "obsd-tdep.h".
2216 (i386obsd_init_abi): Call obsd_init_abi.
2217 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2218 (amd64obsd_init_abi): Call obsd_init_abi.
2219 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2220 obsd-tdep.c to gdb_target_obs.
2222 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2224 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2225 double float arguments to 16-byte in the argument slots.
2227 2014-02-11 Doug Evans <xdje42@gmail.com>
2229 * configure.ac: Don't crash if pkg-config is not found and guile
2230 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2232 * configure: Regenerate.
2234 2014-02-11 Yao Qi <yao@codesourcery.com>
2236 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2237 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2238 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2239 * gnu-nat.c (gnu_xfer_memory): Likewise.
2240 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2241 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2242 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2243 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2245 2014-02-11 Yao Qi <yao@codesourcery.com>
2247 * target.h (enum target_xfer_error): Rename to ...
2248 (enum target_xfer_status): ... it. New. All users updated.
2249 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2251 (TARGET_XFER_STATUS_ERROR_P): New macro.
2252 (target_xfer_error_to_string): Remove declaration.
2253 (target_xfer_status_to_string): Declare.
2254 (target_xfer_partial_ftype): Adjust it.
2255 (struct target_ops) <to_xfer_partial>: Return
2256 target_xfer_status. Add argument xfered_len. Update
2258 * target.c (target_xfer_error_to_string): Rename to ...
2259 (target_xfer_status_to_string): ... it. New. All callers
2261 (target_read_live_memory): Likewise. Call target_xfer_partial
2262 instead of target_read.
2263 (memory_xfer_live_readonly_partial): Return
2264 target_xfer_status. Add argument xfered_len.
2265 (raw_memory_xfer_partial): Likewise.
2266 (memory_xfer_partial_1): Likewise.
2267 (memory_xfer_partial): Likewise.
2268 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2269 properly. Update debug message.
2270 (default_xfer_partial, current_xfer_partial): Likewise.
2271 (target_write_partial): Likewise.
2272 (target_read_partial): Likewise. All callers updated.
2273 (read_whatever_is_readable): Likewise.
2274 (target_write_with_progress): Likewise.
2275 (target_read_alloc_1): Likewise.
2277 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2278 * auxv.c (procfs_xfer_auxv): Likewise.
2279 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2280 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2281 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2282 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2283 * corefile.c (read_memory): Adjust.
2284 * corelow.c (core_xfer_partial): Likewise.
2285 * ctf.c (ctf_xfer_partial): Likewise.
2286 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2288 (darwin_xfer_partial): Likewise.
2289 * exec.c (section_table_xfer_memory_partial): Likewise. All
2291 (exec_xfer_partial): Likewise.
2292 * exec.h (section_table_xfer_memory_partial): Update
2294 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2296 (gnu_xfer_partial): Likewise.
2297 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2298 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2299 (ia64_hpux_xfer_solib_got): Likewise.
2300 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2301 type of 'partial_len' to ULONGEST.
2302 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2303 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2304 (linux_nat_xfer_partial): Likewise.
2305 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2306 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2307 * monitor.c (monitor_xfer_memory): Likewise.
2308 (monitor_xfer_partial): Likewise.
2309 * procfs.c (procfs_xfer_partial): Likewise.
2310 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2311 * record-full.c (record_full_xfer_partial): Likewise.
2312 (record_full_core_xfer_partial): Likewise.
2313 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2314 (gdbsim_xfer_partial): Likewise.
2315 * remote.c (remote_write_bytes_aux): Likewise. All callers
2317 (remote_write_bytes, remote_read_bytes): Likewise. All
2319 (remote_flash_erase): Likewise. All callers updated.
2320 (remote_write_qxfer): Likewise. All callers updated.
2321 (remote_read_qxfer): Likewise. All callers updated.
2322 (remote_xfer_partial): Likewise.
2323 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2324 (rs6000_xfer_shared_libraries): Likewise.
2325 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2326 (sol_thread_xfer_partial): Likewise.
2327 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2328 (sparc_xfer_partial): Likewise.
2329 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2331 (spu_xfer_partial): Likewise.
2332 * spu-multiarch.c (spu_xfer_partial): Likewise.
2333 * tracepoint.c (tfile_xfer_partial): Likewise.
2334 * windows-nat.c (windows_xfer_memory): Likewise.
2335 (windows_xfer_shared_libraries): Likewise.
2336 (windows_xfer_partial): Likewise.
2337 * valprint.c: Replace 'target_xfer_error' with
2338 'target_xfer_status' in comments.
2340 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2342 Checked in by Joel Brobecker <brobecker@adacore.com>.
2343 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2345 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2347 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2348 function parameters.
2350 2014-02-10 Will Newton <will.newton@linaro.org>
2352 * elfread.c (elf_rel_plt_read): Look for a .got section if
2353 looking up .got.plt fails.
2354 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2355 on address passed to elf_gnu_ifunc_record_cache.
2356 (elf_gnu_ifunc_resolve_addr): Likewise.
2357 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2359 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2361 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2362 (X_RETTURN): New macro.
2363 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2365 * sparc64-tdep.c (sparc64_init_abi): Hook
2366 sparc_in_function_epilogue_p.
2368 2014-02-10 Gary Benson <gbenson@redhat.com>
2370 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2371 Rename name_matcher to symbol_matcher.
2373 2014-02-10 Gary Benson <gbenson@redhat.com>
2375 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2376 Use expand_symtabs_file_matcher_ftype and
2377 expand_symtabs_symbol_matcher_ftype.
2379 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2381 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2382 (struct ada_symbol_cache): New.
2383 (ada_free_symbol_cache): Forward declare.
2384 (struct ada_pspace_data): New.
2385 (ada_pspace_data_handle): New static global.
2386 (get_ada_pspace_data, ada_pspace_data_cleanup)
2387 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2388 (cache_space, cache): Delete, now folded inside struct
2390 (ada_get_symbol_cache): New function.
2391 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2393 (_initialize_ada_language): Remove initialization of cache_space.
2394 Move call to observer_attach_inferior_exit up, grouping it
2395 with the other observer registrations inside this function.
2396 Rename command to be more general. Add call to
2397 register_program_space_data_with_cleanup.
2399 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2401 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2402 ada_new_objfile_observer.
2403 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2404 (_initialize_tasks): Update uses of ada_new_objfile_observer
2405 and ada_tasks_normal_stop_observer.
2407 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2409 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2410 returned by the 'Length attribute to integer.
2412 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2414 * ada-lang.c (_initialize_ada_language): Initialize
2415 cache_space obstack.
2417 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2419 * ada-lang.c (HASH_SIZE): New macro.
2420 (struct cache_entry): New type.
2421 (cache_space, cache): New static globals.
2422 (ada_clear_symbol_cache, find_entry): New functions.
2423 (lookup_cached_symbol, cache_symbol): Implement.
2424 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2425 (_initialize_ada_language): Attach ada_new_objfile_observer
2426 and ada_free_objfile_observer.
2428 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2430 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
2431 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
2432 struct block * parameter.
2433 (ada_lookup_symbol_list_worker): Constify local variable "block".
2434 Remove cast which is no longer necessary.
2436 2014-02-10 Doug Evans <xdje42@gmail.com>
2438 Add Guile as an extension language.
2439 * NEWS: Mention Guile scripting.
2440 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
2441 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
2442 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
2443 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
2444 (CLIBS): Add GUILE_LIBS.
2445 (install-guile): New rule.
2446 (guile.o): New rule.
2447 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
2448 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
2449 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
2450 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
2451 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
2452 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
2453 (scm-type.o, scm-utils.o, scm-value.o): New rules.
2454 * configure.ac: New option --with-guile.
2455 * configure: Regenerate.
2456 * config.in: Regenerate.
2457 * auto-load.c: Remove #include "python/python.h". Add #include
2458 "gdb/section-scripts.h".
2459 (source_section_scripts): Handle Guile scripts.
2460 (_initialize_auto_load): Add name of Guile objfile script to
2461 scripts-directory help text.
2462 * breakpoint.c (condition_command): Tweak comment to include Scheme.
2463 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
2464 (struct breakpoint): New member scm_bp_object.
2465 * defs.h (enum command_control_type): New value guile_control.
2466 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
2468 (show_user): Update comment.
2469 (_initialize_cli_cmds): Update help text for "show user". Update help
2470 text for max-user-call-depth.
2471 * cli/cli-script.c: Remove #include "python/python.h". Add #include
2473 (multi_line_command_p): Add guile_control.
2474 (print_command_lines): Handle guile_control.
2475 (execute_control_command, recurse_read_control_structure): Ditto.
2476 (process_next_line): Recognize "guile" commands.
2477 * disasm.c (gdb_disassemble_info): Make non-static.
2478 * disasm.h: #include "dis-asm.h".
2479 (struct gdbarch): Add forward decl.
2480 (gdb_disassemble_info): Declare.
2481 * extension.c: #include "guile/guile.h".
2482 (extension_languages): Add guile.
2483 (get_ext_lang_defn): Handle EXT_LANG_GDB.
2484 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
2485 * gdbtypes.c (get_unsigned_type_max): New function.
2486 (get_signed_type_minmax): New function.
2487 * gdbtypes.h (get_unsigned_type_max): Declare.
2488 (get_signed_type_minmax): Declare.
2489 * guile/README: New file.
2490 * guile/guile-internal.h: New file.
2491 * guile/guile.c: New file.
2492 * guile/guile.h: New file.
2493 * guile/scm-arch.c: New file.
2494 * guile/scm-auto-load.c: New file.
2495 * guile/scm-block.c: New file.
2496 * guile/scm-breakpoint.c: New file.
2497 * guile/scm-disasm.c: New file.
2498 * guile/scm-exception.c: New file.
2499 * guile/scm-frame.c: New file.
2500 * guile/scm-gsmob.c: New file.
2501 * guile/scm-iterator.c: New file.
2502 * guile/scm-lazy-string.c: New file.
2503 * guile/scm-math.c: New file.
2504 * guile/scm-objfile.c: New file.
2505 * guile/scm-ports.c: New file.
2506 * guile/scm-pretty-print.c: New file.
2507 * guile/scm-safe-call.c: New file.
2508 * guile/scm-string.c: New file.
2509 * guile/scm-symbol.c: New file.
2510 * guile/scm-symtab.c: New file.
2511 * guile/scm-type.c: New file.
2512 * guile/scm-utils.c: New file.
2513 * guile/scm-value.c: New file.
2514 * guile/lib/gdb.scm: New file.
2515 * guile/lib/gdb/boot.scm: New file.
2516 * guile/lib/gdb/experimental.scm: New file.
2517 * guile/lib/gdb/init.scm: New file.
2518 * guile/lib/gdb/iterator.scm: New file.
2519 * guile/lib/gdb/printing.scm: New file.
2520 * guile/lib/gdb/types.scm: New file.
2521 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
2522 (VPATH): Add $(GUILE_SRCDIR).
2523 (GUILE_DIR): New variable.
2524 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
2525 (all): Add stamp-guile dependency.
2526 (stamp-guile): New rule.
2527 (clean-guile, install-guile, uninstall-guile): New rules.
2528 (install-only): Add install-guile dependency.
2529 (uninstall): Add uninstall-guile dependency.
2530 (clean): Add clean-guile dependency.
2532 2014-02-09 Doug Evans <xdje42@gmail.com>
2534 Revert this patch (which I approved, mea culpa).
2536 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2538 * Makefile.in (all-lib): Remove.
2539 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2541 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2543 Fix Python stack corruption.
2544 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
2547 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2549 * Makefile.in (all-lib): Remove.
2550 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2552 2014-02-07 Doug Evans <dje@google.com>
2554 * extension-priv.h (extension_language_script_ops): Add comment.
2555 (extension_language_ops): Add comment.
2556 (active_ext_lang_state): Fix typo in comment.
2558 2014-02-07 Pedro Alves <palves@redhat.com>
2560 * infrun.c (handle_signal_stop) <signal arrives while stepping
2561 over a breakpoint>: Switch back to the stepping thread.
2563 2014-02-07 Yao Qi <yao@codesourcery.com>
2565 * target.c (target_xfer_partial): Return zero if LEN is zero.
2567 2014-02-07 Yao Qi <yao@codesourcery.com>
2569 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
2570 (ld_so_xfer_auxv): Likewise.
2571 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2572 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2573 * corelow.c (core_xfer_partial): Likewise.
2574 * ctf.c (ctf_xfer_partial): Likewise.
2575 * darwin-nat.c (darwin_read_dyld_info): Likewise.
2576 (darwin_xfer_partial): Likewise.
2577 * exec.c (exec_xfer_partial): Likewise.
2578 * gnu-nat.c (gnu_xfer_partial): Likewise.
2579 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
2580 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2581 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2582 * linux-nat.c (linux_xfer_siginfo): Likewise.
2583 (linux_proc_xfer_spu): Likewise.
2584 * procfs.c (procfs_xfer_partial): Likewise.
2585 * record-full.c (record_full_xfer_partial): Likewise.
2586 (record_full_core_xfer_partial): Likewise.
2587 * remote-sim.c (gdbsim_xfer_partial): Likewise.
2588 * remote.c (remote_write_qxfer): Likewise.
2589 (remote_write_qxfer, remote_read_qxfer): Likewise.
2590 (remote_xfer_partial): Likewise.
2591 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2592 (rs6000_xfer_shared_libraries): Likewise.
2593 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2594 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2595 (spu_xfer_partial): Likewise.
2596 * target.c (memory_xfer_partial_1): Likewise.
2597 * tracepoint.c (tfile_xfer_partial): Likewise.
2598 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
2599 (windows_xfer_partial): Likewise.
2601 2014-02-07 Yao Qi <yao@codesourcery.com>
2603 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
2605 (core_xfer_shared_libraries_aix): Likewise.
2606 * gdbarch.c, gdbarch.h: Regenerated.
2607 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
2608 ULONGEST. Change 'len_avail' type to ULONGEST.
2609 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
2610 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
2612 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
2614 2014-02-07 Yao Qi <yao@codesourcery.com>
2616 * corefile.c (memory_error): Get 'exception' from ERR and pass
2617 'exception' to throw_error.
2619 2014-02-06 Doug Evans <xdje42@gmail.com>
2621 * configure.ac (libpython checking): Remove all but python.o from
2622 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
2623 * configure: Regenerate.
2625 * Makefile.in (SFILES): Add extension.c.
2626 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
2627 (COMMON_OBS): Add extension.o.
2628 * extension.h: New file.
2629 * extension-priv.h: New file.
2630 * extension.c: New file.
2632 * python/python-internal.h: #include "extension.h".
2633 (gdbpy_auto_load_enabled): Declare.
2634 (gdbpy_apply_val_pretty_printer): Declare.
2635 (gdbpy_apply_frame_filter): Declare.
2636 (gdbpy_preserve_values): Declare.
2637 (gdbpy_breakpoint_cond_says_stop): Declare.
2638 (gdbpy_breakpoint_has_cond): Declare.
2639 (void source_python_script_for_objfile): Delete.
2640 * python/python.c: #include "extension-priv.h".
2641 Delete inclusion of "observer.h".
2642 (extension_language_python): Moved here and renamed from
2643 script_language_python in py-auto-load.c.
2644 Redefined to be of type extension_language_defn.
2645 (python_extension_script_ops): New global.
2646 (python_extension_ops): New global.
2647 (struct python_env): New member previous_active.
2648 (restore_python_env): Call restore_active_ext_lang.
2649 (ensure_python_env): Call set_active_ext_lang.
2650 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
2652 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
2654 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
2656 (gdbpy_eval_from_control_command): Renamed from
2657 eval_python_from_control_command, made static. New arg extlang.
2658 (gdbpy_source_script) Renamed from source_python_script, made static.
2660 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
2661 result to int. New arg extlang.
2662 (gdbpy_source_objfile_script): Renamed from
2663 source_python_script_for_objfile, made static. New arg extlang.
2664 (gdbpy_start_type_printers): Renamed from start_type_printers, made
2665 static. New args extlang, extlang_printers. Change result type to
2667 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
2668 static. New arg extlang. Rename arg printers to extlang_printers
2669 and change type to ext_lang_type_printers *.
2670 (gdbpy_free_type_printers): Renamed from free_type_printers, made
2671 static. Replace argument arg with extlang, extlang_printers.
2672 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
2673 (!HAVE_PYTHON, source_python_script): Delete.
2674 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
2675 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
2676 (!HAVE_PYTHON, start_type_printers): Delete.
2677 (!HAVE_PYTHON, apply_type_printers): Delete.
2678 (!HAVE_PYTHON, free_type_printers): Delete.
2679 (_initialize_python): Delete call to observer_attach_before_prompt.
2680 (finalize_python): Set/restore active extension language.
2681 (gdbpy_finish_initialization) Renamed from
2682 finish_python_initialization, made static. New arg extlang.
2683 (gdbpy_initialized): New function.
2684 * python/python.h: #include "extension.h". Delete #include
2685 "value.h", "mi/mi-cmds.h".
2686 (extension_language_python): Declare.
2687 (GDBPY_AUTO_FILE_NAME): Delete.
2688 (enum py_bt_status): Moved to extension.h and renamed to
2690 (enum frame_filter_flags): Moved to extension.h.
2691 (enum py_frame_args): Moved to extension.h and renamed to
2692 ext_lang_frame_args.
2693 (finish_python_initialization): Delete.
2694 (eval_python_from_control_command): Delete.
2695 (source_python_script): Delete.
2696 (apply_val_pretty_printer): Delete.
2697 (apply_frame_filter): Delete.
2698 (preserve_python_values): Delete.
2699 (gdbpy_script_language_defn): Delete.
2700 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
2701 (start_type_printers, apply_type_printers, free_type_printers): Delete.
2703 * auto-load.c: #include "extension.h".
2704 (GDB_AUTO_FILE_NAME): Delete.
2705 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
2706 (script_language_gdb): Delete, moved to extension.c and renamed to
2707 extension_language_gdb.
2708 (source_gdb_script_for_objfile): Delete.
2709 (auto_load_pspace_info): New member unsupported_script_warning_printed.
2710 (loaded_script): Change type of language member to
2711 struct extension_language_defn *.
2712 (init_loaded_scripts_info): Initialize
2713 unsupported_script_warning_printed.
2714 (maybe_add_script): Make static. Change type of language arg to
2715 struct extension_language_defn *.
2716 (clear_section_scripts): Reset unsupported_script_warning_printed.
2717 (auto_load_objfile_script_1): Rewrite to use extension language API.
2718 (auto_load_objfile_script): Make public. Remove support-compiled-in
2719 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
2720 (source_section_scripts): Rewrite to use extension language API.
2721 (load_auto_scripts_for_objfile): Rewrite to use
2722 auto_load_scripts_for_objfile.
2723 (collect_matching_scripts_data): Change type of language member to
2724 struct extension_language_defn *.
2725 (auto_load_info_scripts): Change type of language arg to
2726 struct extension_language_defn *.
2727 (unsupported_script_warning_print): New function.
2728 (script_not_found_warning_print): Make static.
2729 (_initialize_auto_load): Rewrite construction of scripts-directory
2731 * auto-load.h (struct objfile): Add forward decl.
2732 (struct script_language): Delete.
2733 (struct auto_load_pspace_info): Add forward decl.
2734 (struct extension_language_defn): Add forward decl.
2735 (maybe_add_script): Delete.
2736 (auto_load_objfile_script): Declare.
2737 (script_not_found_warning_print): Delete.
2738 (auto_load_info_scripts): Update prototype.
2739 (auto_load_gdb_scripts_enabled): Declare.
2740 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
2741 auto_load_python_scripts_enabled and made public.
2742 (script_language_python): Delete, moved to python.c.
2743 (gdbpy_script_language_defn): Delete.
2744 (info_auto_load_python_scripts): Update to use
2745 extension_language_python.
2747 * breakpoint.c (condition_command): Replace call to
2748 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
2749 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
2750 with call to breakpoint_ext_lang_cond_says_stop.
2751 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
2752 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
2753 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
2754 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
2756 (local_setattro): Print name of extension language with existing
2759 * valprint.c (val_print, value_print): Update to call
2760 apply_ext_lang_val_pretty_printer.
2761 * cp-valprint.c (cp_print_value): Update call to
2762 apply_ext_lang_val_pretty_printer.
2763 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
2764 (gdbpy_apply_val_pretty_printer): Renamed from
2765 apply_val_pretty_printer. New arg extlang.
2766 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
2768 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
2769 extension language API.
2770 * cli/cli-script.c (execute_control_command): Update to call
2771 eval_ext_lang_from_control_command.
2773 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
2774 enum ext_lang_bt_status values. Update call to
2775 apply_ext_lang_frame_filter.
2776 (mi_cmd_stack_list_locals): Ditto.
2777 (mi_cmd_stack_list_args): Ditto.
2778 (mi_cmd_stack_list_variables): Ditto.
2779 * mi/mi-main.c: Delete #include "python/python-internal.h".
2780 Add #include "extension.h".
2781 (mi_cmd_list_features): Replace reference to python internal variable
2782 gdb_python_initialized with call to ext_lang_initialized_p.
2784 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
2785 Update to use enum ext_lang_frame_args. Update to call
2786 apply_ext_lang_frame_filter.
2787 * python/py-framefilter.c (extract_sym): Update to use enum
2789 (extract_value, py_print_type, py_print_value): Ditto.
2790 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
2791 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
2792 (py_print_frame): Ditto.
2793 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
2794 New arg extlang. Update to use enum ext_lang_bt_status.
2796 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
2797 finish_python_initialization. Replace with call to
2798 finish_ext_lang_initialization.
2800 * typeprint.c (do_free_global_table): Update to call
2801 free_ext_lang_type_printers.
2802 (create_global_typedef_table): Update to call
2803 start_ext_lang_type_printers.
2804 (find_global_typedef): Update to call apply_ext_lang_type_printers.
2805 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
2806 (type_print_options): Change type of global_printers from "void *"
2807 to "struct ext_lang_type_printers *".
2809 * value.c (preserve_values): Update to call preserve_ext_lang_values.
2810 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
2811 (gdbpy_preserve_values): Renamed from preserve_python_values.
2813 (!HAVE_PYTHON, preserve_python_values): Delete.
2815 * utils.c (quit_flag): Delete, moved to extension.c.
2816 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
2819 * eval.c: Delete #include "python/python.h".
2820 * main.c: Delete #include "python/python.h".
2822 * defs.h: Update comment.
2824 2014-02-06 Joel Brobecker <brobecker@adacore.com>
2828 2014-02-05 Mark Kettenis <kettenis@gnu.org>
2830 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
2833 2014-02-05 Yao Qi <yao@codesourcery.com>
2835 * remote.c (remote_pass_signals): Remove local 'buf' and use
2837 (remote_program_signals): Likewise.
2839 2014-02-05 Yao Qi <yao@codesourcery.com>
2841 * ctf.c: Include "inferior.h" and "gdbthread.h".
2842 (CTF_PID): A new macro.
2843 (ctf_open): Call inferior_appeared and add_thread_silent.
2844 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
2845 (ctf_thread_alive): New function.
2846 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
2848 2014-02-05 Yao Qi <yao@codesourcery.com>
2852 2013-05-24 Yao Qi <yao@codesourcery.com>
2854 * tracepoint.c (TFILE_PID): Remove.
2855 (tfile_open): Don't add thread and inferior.
2856 (tfile_close): Don't set 'inferior_ptid'. Don't call
2857 exit_inferior_silent.
2858 (tfile_thread_alive): Remove.
2859 (init_tfile_ops): Don't set field 'to_thread_alive' of
2862 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
2864 * remote.c (remote_start_remote): Call remote_check_symbols even
2865 if only symbol-file (not file) has been given.
2867 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2869 * gdbarch.sh (skip_entrypoint): New callback.
2870 * gdbarch.c, gdbarch.h: Regenerate.
2871 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
2872 * infrun.c (fill_in_stop_func): Likewise.
2873 * ppc-linux-tdep.c: Include "elf/ppc64.h".
2874 (ppc_elfv2_elf_make_msymbol_special): New function.
2875 (ppc_elfv2_skip_entrypoint): Likewise.
2876 (ppc_linux_init_abi): Install them for ELFv2.
2878 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2880 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
2881 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
2882 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
2883 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
2884 structures returned in GPRs.
2886 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2888 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
2889 offset to the stack parameter list for the ELFv2 ABI.
2891 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2893 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
2894 set_gdbarch_convert_from_func_ptr_addr and
2895 set_gdbarch_elf_make_msymbol_special for ELFv1.
2896 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
2897 function descriptors on ELFv1.
2898 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
2899 set up r12 at function entry.
2901 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2903 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
2904 (struct gdbarch_tdep): New member elf_abi.
2906 * rs6000-tdep.c: Include "elf/ppc64.h".
2907 (rs6000_gdbarch_init): Detect ELF ABI version.
2909 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2911 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
2912 within a register pair holding a DFP 128-bit value on little-endian.
2913 (ppc64_sysv_abi_return_value_base): Likewise.
2914 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
2915 (dfp_pseudo_register_write): Likewise.
2917 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2919 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
2920 offset on little-endian when passing _Decimal32.
2921 (ppc64_sysv_abi_return_value_base): Likewise for return values.
2923 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2925 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
2926 of the overlapped FP register within the VSX register on little-
2928 (efpr_pseudo_register_write): Likewise.
2930 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2932 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
2933 offset on little-endian when passing small structures.
2935 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2937 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
2938 (struct ppc64_sysv_argpos): New data structure.
2939 (ppc64_sysv_abi_push_float): Remove.
2940 (ppc64_sysv_abi_push_val): New function.
2941 (ppc64_sysv_abi_push_integer): Likewise.
2942 (ppc64_sysv_abi_push_freg): Likewise.
2943 (ppc64_sysv_abi_push_vreg): Likewise.
2944 (ppc64_sysv_abi_push_param): Likewise.
2945 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
2946 (ppc64_sysv_abi_return_value_base): New function.
2947 (ppc64_sysv_abi_return_value): Refactor to use it.
2949 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2951 * NEWS: Document new target powerpc64le-*-linux*.
2953 2014-02-04 Mark Kettenis <kettenis@gnu.org>
2955 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
2956 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
2958 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
2959 register set used in ELF core dumps. Add floating-point register set.
2961 2014-02-03 Kevin Buettner <kevinb@redhat.com>
2963 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
2964 dwarf2_to_gdb[] table using symbolic constants. Adjust
2965 penultimate entry from number representing the PC register
2966 to symbolic constant representing the MDR register. Add
2967 constant for the PC register to the end of the table.
2969 2014-02-03 Mark Kettenis <kettenis@gnu.org>
2971 * bsd-kvm.c: Include <sys/param.h>
2973 2014-02-03 Mark Kettenis <kettenis@gnu.org>
2975 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
2977 2014-01-31 Joel Brobecker <brobecker@adacore.com>
2979 * ada-lang.h (clear_ada_sym_cache): Delete.
2981 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
2983 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
2985 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2987 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
2988 the sigreturn register save area only if the syscall is
2991 2014-01-29 Joel Brobecker <brobecker@adacore.com>
2993 * valops.c (value_slice): Minor reformatting.
2995 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
2997 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
2999 2014-01-28 Joel Brobecker <brobecker@adacore.com>
3001 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
3003 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
3004 (ada_ignore_descriptive_types_p): New static global.
3005 (find_parallel_type_by_descriptive_type): Return immediately
3006 if ada_ignore_descriptive_types_p is set.
3007 (_initialize_ada_language): Register new commands "maintenance
3008 set ada", "maintenance show ada", "maintenance set ada
3009 ignore-descriptive-types" and "maintenance show ada
3010 ignore-descriptive-types".
3011 * NEWS: Add entry for new "maint ada set/show
3012 ignore-descriptive-types" commands.
3014 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
3016 * record-btrace.c (record_btrace_close): Call btrace_teardown
3019 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3021 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
3024 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3026 * ada-typeprint (type_is_full_subrange_of_target_type):
3028 (print_range): Add parameter bounds_prefered_p. If not set,
3029 try printing range types using the name of their base type.
3030 (print_range_type): Add parameter bounds_prefered_p.
3031 Use it in call to print_range.
3032 (print_array_type, ada_print_type): Update calls to print_range
3033 and print_range_type.
3035 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3037 * ada-typeprint.c (print_array_type, print_choices, print_range)
3038 (print_range_bound, print_dynamic_range_bound, print_range_type):
3041 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3043 * ada-typeprint.c (print_range): Add missing empty line
3044 after local declaration.
3046 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3048 * ada-valprint.c (print_optional_low_bound): Get index_type's
3049 target type for as long as it is a TYPE_CODE_RANGE.
3051 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3053 * procfs.c (procfs_make_note_section): Remove assertion and
3056 2014-01-24 Yao Qi <yao@codesourcery.com>
3058 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
3059 * corelow.c (get_core_siginfo): Likewise.
3061 2014-01-24 Yao Qi <yao@codesourcery.com>
3063 * remote.c (remote_write_bytes_aux): Change type of 'len' to
3064 ULONGEST. Don't check 'len' is negative.
3065 (remote_write_bytes): Change type of 'len' to ULONGEST.
3067 2014-01-23 Tom Tromey <tromey@redhat.com>
3070 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
3071 Handle exception from frame.block.
3072 (FrameVars.fetch_frame_locals): Likewise.
3074 2014-01-23 Tom Tromey <tromey@redhat.com>
3077 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
3078 on a NULL pointer. Move "goto error" to correct place.
3080 2014-01-23 Tom Tromey <tromey@redhat.com>
3083 * python/py-framefilter.c (apply_frame_filter): Call
3084 ensure_python_env after computing gdbarch.
3086 2014-01-23 Yao Qi <yao@codesourcery.com>
3088 * target.c (raw_memory_xfer_partial): Change argument type
3089 from void * to gdb_byte *.
3090 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
3092 2014-01-22 Doug Evans <dje@google.com>
3094 New gdbserver option --debug-format=timestamp.
3097 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3099 * syscalls/s390x-linux.xml: New file.
3100 * syscalls/s390-linux.xml: New file.
3101 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
3102 (XML_SYSCALL_FILENAME_S390X): Likewise.
3103 (op_svc): New enum value for SVC opcode.
3104 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
3105 (s390_linux_get_syscall_number): New function.
3106 (s390_gdbarch_init): Register '*get_syscall_number' and the
3107 syscall xml file name.
3108 * data-directory/Makefile.in (SYSCALLS_FILES): Add
3109 "s390-linux.xml" and "s390x-linux.xml".
3110 * NEWS: Announce new feature.
3112 2014-01-22 Baruch Siach <baruch@tkos.co.il>
3114 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
3116 2014-01-22 Pedro Alves <palves@redhat.com>
3118 * xtensa-config.c: Include defs.h.
3120 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3122 * common/common-utils.h: Add "ARI:" comment beside __func__
3125 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3127 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
3128 documentation a bit.
3130 2014-01-21 Roland McGrath <mcgrathr@google.com>
3132 * configure.ac: Call AM_PROG_INSTALL_STRIP.
3133 * configure: Regenerate.
3134 * aclocal.m4: Regenerate.
3135 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
3136 New substituted variables.
3137 (install-strip): New target.
3138 (INSTALL_SCRIPT): New substituted variable.
3139 (FLAGS_TO_PASS): Add it.
3140 (install-only): Use $(INSTALL_SCRIPT) rather than
3141 $(INSTALL_PROGRAM) for gcore.
3143 2014-01-20 Tom Tromey <tromey@redhat.com>
3145 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
3148 2014-01-20 Tom Tromey <tromey@redhat.com>
3150 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
3151 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
3152 (deprecated_cmd_warning, complete_on_cmdlist): Update.
3153 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
3154 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3155 (struct cmd_list_element) <flags>: Remove.
3156 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3157 doc_allocated>: New fields.
3158 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3160 * maint.c (maintenance_do_deprecate): Update.
3161 * top.c (execute_command): Update.
3163 2014-01-20 Baruch Siach <baruch@tkos.co.il>
3165 * xtensa-linux-nat.c: Include asm/ptrace.h.
3167 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3169 * Makefile.in (SFILES): Add d-support.c.
3170 (COMMON_OBS): Add d-support.o.
3171 * d-lang.h (d_parse_symbol): Add comment, now defined in
3173 * d-lang.c (parse_call_convention)
3174 (parse_attributes, parse_function_types)
3175 (parse_function_args, parse_type, parse_identifier)
3176 (call_convention_p, d_parse_symbol): Move functions to ...
3177 * d-support.c: ... New file.
3179 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3181 * d-lang.h (d_parse_symbol): Add declaration.
3182 * d-lang.c (extract_identifiers)
3183 (extract_type_info): Remove functions.
3184 (parse_call_convention, parse_attributes)
3185 (parse_function_types, parse_function_args)
3186 (parse_type, parse_identifier, call_convention_p)
3187 (d_parse_symbol): New functions.
3188 (d_demangle): Use d_parse_symbol to demangle D symbols.
3190 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3192 * d-lang.h (struct builtin_d_type): New data type.
3193 (builtin_d_type): Add declaration.
3194 * d-lang.c (d_language_arch_info, build_d_types)
3195 (builtin_d_type): New functions.
3196 (enum d_primitive_types): New data type.
3197 (d_language_defn): Change c_language_arch_info to
3198 d_language_arch_info.
3199 (d_type_data): New static variable.
3200 (_initialize_d_language): Initialize d_type_data.
3202 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3204 * d-lang.h (d_main_name): Add declaration.
3205 * d-lang.c (d_main_name): New function.
3206 * symtab.c (find_main_name): Add call to d_main_name.
3208 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3210 * d-lang.c (d_language_defn): Change macro_expansion_c to
3213 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3215 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3217 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3219 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3220 gdb_exception" declaration.
3221 * remote.c (getpkt_or_notif_sane): Likewise.
3223 2014-01-17 Doug Evans <dje@google.com>
3225 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3226 function, contents of dirnames_to_char_ptr_vec_append moved here.
3227 (delim_string_to_char_ptr_vec): New function.
3228 (dirnames_to_char_ptr_vec_append): Rewrite.
3229 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3231 2014-01-17 Doug Evans <dje@google.com>
3233 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3235 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3236 #include "common-utils.h".
3237 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3238 * common/vec.h (VEC_ASSERT_PASS): Update.
3239 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3240 (MACH_CHECK_ERROR): Update.
3242 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3244 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3246 * gdbarch.h: Regenerate.
3248 2014-01-16 Tom Tromey <tromey@redhat.com>
3250 * value.c (struct value) <regnum>: Move earlier.
3252 2014-01-16 Tom Tromey <tromey@redhat.com>
3254 * remote.c (extended_remote_create_inferior): Rename from
3255 extended_remote_create_inferior_1. Add "ops" argument. Remove
3258 2014-01-16 Pedro Alves <palves@redhat.com>
3260 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3261 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3264 2014-01-16 Doug Evans <dje@google.com>
3266 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3268 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3270 * btrace.h (btrace_thread_flag): New.
3271 (struct btrace_thread_info) <flags>: New.
3272 * record-btrace.c (record_btrace_resume_thread)
3273 (record_btrace_find_thread_to_move, btrace_step_no_history)
3274 (btrace_step_stopped, record_btrace_start_replaying)
3275 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3276 (record_btrace_find_resume_thread): New.
3277 (record_btrace_resume, record_btrace_wait): Extend.
3278 (record_btrace_can_execute_reverse): New.
3279 (record_btrace_open): Fail in non-stop mode.
3280 (record_btrace_set_replay): Split into this, ...
3281 (record_btrace_stop_replaying): ... this, ...
3282 (record_btrace_clear_histories): ... and this.
3283 (init_record_btrace_ops): Init to_can_execute_reverse.
3284 * NEWS: Announce it.
3286 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3288 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3289 (forward_target_decr_pc_after_break)
3290 (target_decr_pc_after_break): New.
3291 * target.c (forward_target_decr_pc_after_break)
3292 (target_decr_pc_after_break): New.
3293 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3294 instead of gdbarch_decr_pc_after_break.
3295 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3296 instead of gdbarch_decr_pc_after_break.
3297 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3298 instead of gdbarch_decr_pc_after_break.
3299 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3300 instead of gdbarch_decr_pc_after_break.
3301 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3302 instead of gdbarch_decr_pc_after_break.
3303 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3304 instead of gdbarch_decr_pc_after_break.
3306 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3308 * btrace.c: Include regcache.h.
3309 (btrace_add_pc): New.
3310 (btrace_enable): Call btrace_add_pc.
3311 (btrace_is_empty): New.
3312 * btrace.h (btrace_is_empty): New.
3313 * record-btrace.c (require_btrace, record_btrace_info): Call
3316 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3318 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3319 Support delta reads.
3320 (linux_disable_btrace): Change return type.
3321 * common/linux-btrace.h (linux_read_btrace): Change parameters
3322 and return type to allow error reporting. Update users.
3323 (linux_disable_btrace): Change return type. Update users.
3324 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3326 (btrace_error): New.
3327 (btrace_block) <begin>: Comment on BEGIN == 0.
3328 * btrace.c (btrace_compute_ftrace): Start from the end of
3330 (btrace_stitch_trace, btrace_clear_history): New.
3331 (btrace_fetch): Read delta trace, return if replaying.
3332 (btrace_clear): Move clear history code to btrace_clear_history.
3333 (parse_xml_btrace): Throw an error if parsing failed.
3334 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3335 and return type to allow error reporting.
3336 (target_read_btrace): Change parameters and return type to allow
3338 * target.c (target_read_btrace): Update.
3339 * remote.c (remote_read_btrace): Support delta reads. Pass
3341 * NEWS: Announce it.
3343 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3345 * record.h (record_btrace_frame_unwind)
3346 (record_btrace_tailcall_frame_unwind): New declarations.
3347 * dwarf2-frame: Include record.h
3348 (dwarf2_frame_cfa): Throw an error for btrace frames.
3349 * record-btrace.c: Include hashtab.h.
3350 (btrace_get_bfun_name): New.
3351 (btrace_call_history): Call btrace_get_bfun_name.
3352 (struct btrace_frame_cache): New.
3354 (bfcache_hash, bfcache_eq, bfcache_new): New.
3355 (btrace_get_frame_function): New.
3356 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3357 (record_btrace_frame_this_id): Compute own id.
3358 (record_btrace_frame_prev_register): Provide PC, throw_error
3359 for all other registers.
3360 (record_btrace_frame_sniffer): Detect btrace frames.
3361 (record_btrace_tailcall_frame_sniffer): New.
3362 (record_btrace_frame_dealloc_cache): New.
3363 (record_btrace_frame_unwind): Add new functions.
3364 (record_btrace_tailcall_frame_unwind): New.
3365 (_initialize_record_btrace): Allocate cache.
3366 * btrace.c (btrace_clear): Call reinit_frame_cache.
3367 * NEWS: Announce it.
3369 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3371 * record-btrace.c (record_btrace_set_replay)
3372 (record_btrace_goto_begin, record_btrace_goto_end)
3373 (record_btrace_goto): New.
3374 (init_record_btrace_ops): Initialize them.
3375 * NEWS: Announce it.
3377 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3379 * record-btrace.c (record_btrace_find_new_threads)
3380 (record_btrace_thread_alive): New.
3381 (init_record_btrace_ops): Initialize to_find_new_threads and
3384 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3386 * record-btrace.c (record_btrace_resume): New.
3387 (record_btrace_wait): New.
3388 (init_record_btrace_ops): Initialize to_wait and to_resume.
3390 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3392 * record-btrace.c (record_btrace_xfer_partial)
3393 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3394 (record_btrace_allow_memory_access): New.
3395 (init_record_btrace_ops): Initialize new methods.
3396 * target.c (raw_memory_xfer_partial): Bail out if target reports
3397 that this memory is not available.
3399 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3401 * target.h (target_ops) <to_insert_breakpoint>
3402 <to_remove_breakpoint>: Add target_ops parameter.
3403 (forward_target_insert_breakpoint): New.
3404 (forward_target_remove_breakpoint): New.
3405 (memory_remove_breakpoint, memory_insert_breakpoint):
3406 Add target_ops parameter.
3407 * target.c (target_insert_breakpoint): Split into this and ...
3408 (forward_target_insert_breakpoint): ... this.
3409 (target_remove_breakpoint): Split into this and ...
3410 (forward_target_remove_breakpoint): ... this.
3411 (debug_to_insert_breakpoint): Add target_ops parameter.
3412 Call forward_target_insert_breakpoint.
3413 (debug_to_remove_breakpoint): Add target_ops parameter.
3414 Call forward_target_remove_breakpoint.
3415 (update_current_target): Do not inherit or default to_insert_breakpoint
3416 and to_remove_breakpoint.
3417 * corelow.c (ignore): Add target_ops parameter.
3418 * exec.c (ignore): Add target_ops parameter.
3419 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3420 Add target_ops parameter.
3421 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3422 Add target_ops parameter.
3423 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3424 Add target_ops parameter.
3425 * record-full.c (record_full_beneath_to_insert_breakpoint)
3426 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3427 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3428 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
3429 (record_full_core_remove_breakpoint): Add target_ops parameter.
3431 (record_full_beneath_to_insert_breakpoint_ops)
3432 (record_full_beneath_to_remove_breakpoint_ops)
3433 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
3434 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
3435 tmp_to_remove_breakpoint_ops,
3436 record_full_beneath_to_insert_breakpoint_ops, and
3437 record_full_beneath_to_remove_breakpoint_ops.
3438 * remote-m32r-sdi.c (m32r_insert_breakpoint)
3439 (m32r_remove_breakpoint): Add target_ops parameter.
3440 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
3441 Add target_ops parameter.
3442 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
3443 Add target_ops parameter.
3445 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3446 Markus Metzger <markus.t.metzger@intel.com>
3448 * record-btrace.c: Include frame-unwind.h.
3449 (record_btrace_frame_unwind_stop_reason)
3450 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
3451 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
3453 (init_record_btrace_ops): Install it.
3455 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3457 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
3460 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3462 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
3465 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3467 * frame-unwind.c: Include target.h.
3468 (frame_unwind_try_unwinder): New function with code from ...
3469 (frame_unwind_find_by_frame): ... here. New variable
3470 unwinder_from_target, call also target_get_unwinder)
3471 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
3472 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
3473 * target.h (struct target_ops): New fields to_get_unwinder and
3474 to_get_tailcall_unwinder.
3475 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
3477 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3479 * record-btrace.c (record_btrace_fetch_registers)
3480 (record_btrace_store_registers)
3481 (record_btrace_to_prepare_to_store): New.
3482 (init_record_btrace_ops): Add the above.
3484 2014-01-16 Tom Tromey <tromey@redhat.com>
3486 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
3487 * target.h (struct target_ops) <to_prepare_to_store>: Add
3489 (target_prepare_to_store): Add argument.
3490 * target.c (debug_to_prepare_to_store): Add argument.
3491 (update_current_target): Update.
3492 * remote.c (remote_prepare_to_store): Add 'self' argument.
3493 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
3494 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
3495 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
3496 * record-full.c (record_full_core_prepare_to_store): Add 'self'
3498 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
3499 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
3500 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
3501 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
3502 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
3504 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3506 * btrace.h (replay) <replay>: New.
3507 (btrace_is_replaying): New.
3508 * btrace.c (btrace_clear): Free replay iterator.
3509 (btrace_is_replaying): New.
3510 * record-btrace.c (record_btrace_is_replaying): New.
3511 (record_btrace_info): Print insn number if replaying.
3512 (record_btrace_insn_history): Start at replay position.
3513 (record_btrace_call_history): Start at replay position.
3514 (init_record_btrace_ops): Init to_record_is_replaying.
3516 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3518 * record-btrace.c (record_btrace_insn_history_range): Include
3520 (record_btrace_insn_history_from): Adjust range.
3521 (record_btrace_call_history_range): Include
3523 (record_btrace_call_history_from): Adjust range.
3524 * NEWS: Announce changes.
3526 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3528 * record.h (enum record_print_flag)
3529 <record_print_indent_calls>: New.
3530 * record.c (get_call_history_modifiers): Recognize /c modifier.
3531 (_initialize_record): Document /c modifier.
3532 * record-btrace.c (btrace_call_history): Add btinfo parameter.
3533 Reorder fields. Optionally indent the function name. Update
3535 * NEWS: Announce changes.
3537 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3539 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
3541 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3543 * btrace.c (ftrace_new_function): Start counting at one.
3544 * record-btrace.c (record_btrace_info): Adjust number of calls
3546 * NEWS: Announce it.
3548 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3550 * record-btrace.c (btrace_call_history_insn_range): Print
3551 insn range as [begin, end].
3553 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3555 * btrace.h (struct btrace_func_link): New.
3556 (enum btrace_function_flag): New.
3557 (struct btrace_inst): Rename to ...
3558 (struct btrace_insn): ...this. Update all users.
3559 (struct btrace_func) <ibegin, iend>: Remove.
3560 (struct btrace_func_link): New.
3561 (struct btrace_func): Rename to ...
3562 (struct btrace_function): ...this. Update all users.
3563 (struct btrace_function) <segment, flow, up, insn, insn_offset)
3564 (number, level, flags>: New.
3565 (struct btrace_insn_iterator): Rename to ...
3566 (struct btrace_insn_history): ...this.
3568 (struct btrace_insn_iterator, btrace_call_iterator): New.
3569 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
3570 (struct btrace_target_info) <begin, end, level>
3571 <insn_history, call_history>: New.
3572 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3573 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3574 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3575 (btrace_call_number, btrace_call_begin, btrace_call_end)
3576 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3577 (btrace_find_function_by_number, btrace_set_insn_history)
3578 (btrace_set_call_history): New.
3579 * btrace.c (btrace_init_insn_iterator)
3580 (btrace_init_func_iterator, compute_itrace): Remove.
3581 (ftrace_print_function_name, ftrace_print_filename)
3582 (ftrace_skip_file): Change
3584 (ftrace_init_func): Remove.
3585 (ftrace_debug): Use new btrace_function fields.
3586 (ftrace_function_switched): Also consider gaining and
3587 losing symbol information).
3588 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
3589 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
3590 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
3592 (ftrace_new_function): Move. Remove debug print.
3593 (ftrace_update_lines, ftrace_update_insns): New.
3594 (ftrace_update_function): Check for call, ret, and jump.
3595 (compute_ftrace): Renamed to ...
3596 (btrace_compute_ftrace): ...this. Rewritten to compute call
3598 (btrace_fetch, btrace_clear): Updated.
3599 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3600 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3601 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3602 (btrace_call_number, btrace_call_begin, btrace_call_end)
3603 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3604 (btrace_find_function_by_number, btrace_set_insn_history)
3605 (btrace_set_call_history): New.
3606 * record-btrace.c (require_btrace): Use new btrace thread
3608 (record_btrace_info, btrace_insn_history)
3609 (record_btrace_insn_history, record_btrace_insn_history_range):
3610 Use new btrace thread info fields and new iterator.
3611 (btrace_func_history_src_line): Rename to ...
3612 (btrace_call_history_src_line): ...this. Use new btrace
3614 (btrace_func_history): Rename to ...
3615 (btrace_call_history): ...this. Use new btrace thread info
3616 fields and new iterator.
3617 (record_btrace_call_history, record_btrace_call_history_range):
3618 Use new btrace thread info fields and new iterator.
3620 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3622 * frame.h (frame_id_build_unavailable_stack_special): New.
3623 * frame.c (frame_id_build_unavailable_stack_special): New.
3625 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3627 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
3628 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
3629 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
3631 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
3632 (i386_insn_is_jump, i386_jmp_p): New.
3633 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
3634 insn_is_jump to gdbarch.
3635 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
3636 * gdbarch.h: Regenerated.
3637 * gdbarch.c: Regenerated.
3638 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
3639 (default_insn_is_jump): New.
3640 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
3641 (default_insn_is_jump): New.
3643 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3645 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
3647 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
3648 (btrace_read_type) <btrace_read_new>: Change to ...
3649 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
3651 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3653 * common/linux-btrace.c (linux_read_btrace): Free trace from
3656 2014-01-15 Doug Evans <dje@google.com>
3658 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
3661 2014-01-15 Tom Tromey <tromey@redhat.com>
3663 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
3664 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
3665 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
3666 (set_objfile_main_name): New function.
3667 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
3668 language_of_main>: New fields.
3669 (set_objfile_main_name): Declare.
3670 * symtab.c (find_main_name): Loop over objfiles to find the main
3672 (set_main_name): Now static.
3673 (get_main_info): Add comment.
3674 * symtab.h (set_main_name): Don't declare.
3676 2014-01-15 Tom Tromey <tromey@redhat.com>
3678 * symtab.c (main_progspace_key): New global.
3679 (struct main_info): New.
3680 (name_of_main, language_of_main): Remove.
3681 (get_main_info, main_info_cleanup): New function.
3682 (set_main_name, main_name, main_language): Use get_main_info.
3683 (_initialize_symtab): Initialize main_progspace_key.
3685 2014-01-15 Tom Tromey <tromey@redhat.com>
3687 * dbxread.c (process_one_symbol): Update.
3688 * dwarf2read.c (read_partial_die): Update.
3689 * symfile.c (set_initial_language): Call main_language.
3690 * symtab.c (language_of_main): Now static.
3691 (set_main_name): Add 'lang' parameter.
3692 (find_main_name): Update.
3693 (main_language): New function.
3694 (symtab_observer_executable_changed): Update.
3695 * symtab.h (set_main_name): Update.
3696 (language_of_main): Remove.
3697 (main_language): Declare.
3699 2014-01-15 Tom Tromey <tromey@redhat.com>
3701 * symfile.c (init_entry_point_info): Use new "initialized" field.
3703 * objfiles.h (struct entry_point) <initialized>: New field.
3704 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
3705 (struct objfile) <ei>: ...here. Remove.
3706 * objfiles.c (entry_point_address_query): Update.
3708 2014-01-15 Tom Tromey <tromey@redhat.com>
3710 * objfiles.c (entry_point_address_query): Relocate entry point
3712 (objfile_relocate1): Do not relocate entry point address.
3713 * objfiles.h (struct entry_info) <entry_point>: Update comment.
3714 <the_bfd_section_index>: New field.
3715 * symfile.c (init_entry_point_info): Find the entry point's
3718 2014-01-15 Tom Tromey <tromey@redhat.com>
3720 * solib-frv.c (enable_break): Use entry_point_address_query.
3722 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3724 * NEWS: Add note on improved process record-replay on
3725 arm*-linux* targets.
3727 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3729 * arm-tdep.c (enum arm_record_result): New enum.
3730 (arm_record_unsupported_insn): New function.
3731 (arm_record_coproc_data_proc): Removed.
3732 (thumb2_record_ld_st_multiple): New function.
3733 (thumb2_record_ld_st_dual_ex_tbb): New function.
3734 (thumb2_record_data_proc_sreg_mimm): New function.
3735 (thumb2_record_ps_dest_generic): New function.
3736 (thumb2_record_branch_misc_cntrl): New function.
3737 (thumb2_record_str_single_data): New function.
3738 (thumb2_record_ld_mem_hints): New function.
3739 (thumb2_record_ld_word): New function.
3740 (thumb2_record_lmul_lmla_div): New function.
3741 (thumb2_record_decode_insn_handler): New function.
3742 (decode_insn): Add thumb32 instruction handlers.
3744 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3746 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
3747 (struct arm_linux_record_tdep): Declare.
3748 (arm_canonicalize_syscall): New function.
3749 (arm_all_but_pc_registers_record): New function.
3750 (arm_linux_syscall_record): New function.
3751 (arm_linux_init_abi): Add syscall recording constructs.
3752 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
3753 decoding. (arm_record_coproc_data_proc): Update arm syscall
3755 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
3756 <arm_syscall_record>: New field.
3757 * configure.tgt (arm*-*-linux*): Add linux-record.o to
3760 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3762 * arm-tdep.c (thumb_record_misc): Update to use sp as base
3763 register for push instruction recording.
3765 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3767 * arm-tdep.c (thumb_record_misc): Update to correct logical
3768 error while recording ldm, ldmia and pop instructions.
3770 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3772 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
3774 2014-01-15 Pedro Alves <palves@redhat.com>
3776 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
3777 (go32_resume, go32_fetch_registers, store_register)
3778 (go32_store_registers, go32_prepare_to_store)
3779 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
3780 (go32_create_inferior, go32_can_run, go32_terminal_init)
3781 (go32_terminal_inferior, go32_terminal_ours): Delete forward
3784 2014-01-15 Tom Tromey <tromey@redhat.com>
3786 * target.h (async_callback_ftype): New typedef.
3787 (struct target_ops) <to_async>: Use it.
3789 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3791 * python/py-value.c (get_field_type): Remove unnecessary curly
3792 braces for single-statement if block.
3794 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3796 * python/py-type.c (convert_field): Add missing empty line
3799 2014-01-14 Doug Evans <dje@google.com>
3801 * symfile.h (expand_symtabs_matching): Renamed from
3802 expand_partial_symbol_names. Update prototype.
3803 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3804 * symfile.c (expand_symtabs_matching): Renamed from
3805 expand_partial_symbol_names. New args file_matcher, kind.
3806 Rename arg fun to symbol_matcher.
3807 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3808 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
3809 ada_expand_partial_symbol_name.
3810 (ada_make_symbol_completion_list): Update to call
3811 expand_symtabs_matching.
3812 (ada_add_global_exceptions): Call expand_symtabs_matching.
3813 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
3814 call map_symbol_filenames.
3815 * symtab.c (sources_info): Update to call map_symbol_filenames.
3816 (search_symbols): Call expand_symtabs_matching.
3817 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
3818 (default_make_symbol_completion_list_break_on): Update to call
3819 expand_symtabs_matching.
3820 (make_source_files_completion_list): Update to call
3821 map_symbol_filenames.
3823 2014-01-14 Doug Evans <dje@google.com>
3825 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
3826 (expand_symtabs_symbol_matcher_ftype): New typedef.
3827 (quick_symbol_functions.expand_symtabs_matching): Update to use.
3828 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3829 * symfile.c (expand_partial_symbol_names): Update to use
3830 expand_symtabs_symbol_matcher_ftype.
3831 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
3832 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3833 Arg name_matcher renamed to symbol_matcher.
3834 * psymtab.c (recursively_search_psymtabs): Update to use
3835 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
3837 (expand_symtabs_matching_via_partial): Update to use
3838 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3839 Arg name_matcher renamed to symbol_matcher.
3841 2014-01-14 Doug Evans <dje@google.com>
3843 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
3844 (map_partial_symbol_filenames): Ditto.
3845 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
3846 (map_partial_symbol_filenames): Ditto.
3847 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
3848 (map_partial_symbol_filenames): Ditto.
3849 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
3850 (map_partial_symbol_filenames): Ditto.
3851 * symtab.c: Delete #include "psymtab.h".
3853 2014-01-14 Pedro Alves <palves@redhat.com>
3854 Tom Tromey <tromey@redhat.com>
3856 * infrun.c (use_displaced_stepping): Use find_record_target
3857 instead of RECORD_IS_USED.
3858 (adjust_pc_after_break): Use record_full_is_used instead of
3860 * record-btrace.c (record_btrace_open): Call record_preopen
3861 instead of checking RECORD_IS_USED.
3862 * record-full.c (record_full_shortname)
3863 (record_full_core_shortname): New globals.
3864 (record_full_is_used): New function.
3865 (find_full_open): Call record_preopen instead of checking
3867 (init_record_full_ops): Set the target's shortname to
3868 record_full_shortname.
3869 (init_record_full_core_ops): Set the target's shortname to
3870 record_full_core_shortname.
3871 * record-full.h (record_full_is_used): Declare.
3872 * record.c (find_record_target): Make extern.
3873 (record_preopen): New function.
3874 * record.h (RECORD_IS_USED): Delete macro.
3875 (find_record_target, record_preopen): Declare functions.
3877 2014-01-14 Yao Qi <yao@codesourcery.com>
3879 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
3880 'len''s type to ULONGEST.
3881 (core_xfer_shared_libraries_aix): Likewise.
3882 * gdbarch.c, gdbarch.h: Regenerated.
3883 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
3884 Change type of 'len' to ULONGEST.
3885 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3886 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
3888 2014-01-14 Yao Qi <yao@codesourcery.com>
3890 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
3891 type of 'len' to ULONGEST.
3892 (linux_xfer_osdata_processgroups): Likewise.
3893 (linux_xfer_osdata_threads): Likewise.
3894 (linux_xfer_osdata_fds): Likewise.
3895 (linux_xfer_osdata_isockets): Likewise.
3896 (linux_xfer_osdata_shm): Likewise.
3897 (linux_xfer_osdata_sem): Likewise.
3898 (linux_xfer_osdata_msg): Likewise.
3899 (linux_common_xfer_osdata): Likewise.
3900 (struct osdata_type) <getter>: Likewise.
3901 * common/linux-osdata.h (linux_common_xfer_osdata): Update
3904 2014-01-14 Yao Qi <yao@codesourcery.com>
3906 * target.h (target_xfer_partial_ftype): Update.
3907 (struct target_ops) <to_xfer_partial>: Change 'len' type to
3909 * aix-thread.c (aix_thread_xfer_partial): Change type of
3910 argument 'len' to ULONGEST.
3911 * auxv.c (procfs_xfer_auxv): Likewise.
3912 (ld_so_xfer_auxv): Likewise.
3913 (memory_xfer_auxv): Likewise.
3914 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3915 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3916 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
3917 * corelow.c (core_xfer_partial): Likewise.
3918 * ctf.c (ctf_xfer_partial): Likewise.
3919 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
3921 (darwin_read_dyld_info): Likewise.
3922 (darwin_xfer_partial): Likewise.
3923 * exec.c (section_table_xfer_memory_partial): Likewise.
3924 (exec_xfer_partial): Likewise.
3925 * exec.h (section_table_xfer_memory_partial): Update
3927 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
3928 instead of plongest.
3929 (gnu_xfer_partial): Likewise.
3930 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
3931 (ia64_hpux_xfer_solib_got): Likewise.
3932 (ia64_hpux_xfer_partial): Likewise.
3933 * ia64-linux-nat.c (ia64_linux_xfer_partial):
3934 * inf-ptrace.c (inf_ptrace_xfer_partial):
3935 * inf-ttrace.c (inf_ttrace_xfer_partial):
3936 * linux-nat.c (linux_xfer_siginfo): Likewise.
3937 (linux_nat_xfer_partial): Likewise.
3938 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
3939 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
3940 * monitor.c (monitor_xfer_memory): Likewise.
3941 (monitor_xfer_partial): Likewise.
3942 * procfs.c (procfs_xfer_partial): Likewise.
3943 * record-full.c (record_full_xfer_partial): Likewise.
3944 (record_full_core_xfer_partial): Likewise.
3945 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
3946 instead of plongest.
3947 (gdbsim_xfer_partial): Likewise.
3948 * remote.c (remote_xfer_partial): Likewise.
3949 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3950 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3952 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3953 (rs6000_xfer_shared_libraries): Likewise.
3954 * sol-thread.c (sol_thread_xfer_partial): Likewise.
3955 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3956 (sparc_xfer_partial): Likewise.
3957 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3958 (spu_xfer_partial): Likewise.
3959 * spu-multiarch.c (spu_xfer_partial): Likewise.
3960 * target.c (target_read_live_memory): Likewise.
3961 (memory_xfer_live_readonly_partial): Likewise.
3962 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
3963 (target_xfer_partial, default_xfer_partial): Likewise.
3964 (current_xfer_partial): Likewise.
3965 * tracepoint.c (tfile_xfer_partial): Likewise.
3966 * windows-nat.c (windows_xfer_memory): Likewise. Call
3967 pulongest instead of plongest.
3968 (windows_xfer_partial): Likewise.
3969 (windows_xfer_shared_libraries): Likewise.
3971 2014-01-14 Yao Qi <yao@codesourcery.com>
3973 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
3974 target_xfer_partial_ftype.
3976 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3980 * valops.c (value_struct_elt_bitpos): New function
3981 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
3982 object to 'None' if the field name is an empty string ("").
3983 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
3984 attribute to look for a field when 'name' is 'None'.
3985 (get_field_type): New function
3987 2014-01-13 Doug Evans <dje@google.com>
3990 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
3991 (try_open_dwop_file): Ditto.
3992 * gdb_bfd.c: #include "vec.h".
3993 (bfdp): New typedef.
3994 (struct gdb_bfd_data): New member included_bfds.
3995 (gdb_bfd_unref): Unref all included bfds.
3996 (gdb_bfd_record_inclusion): New function.
3997 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
3999 2014-01-13 Tom Tromey <tromey@redhat.com>
4001 * gdbcore.h (deprecated_core_resize_section_table): Remove.
4003 2014-01-13 Tom Tromey <tromey@redhat.com>
4005 * defs.h (use_windows): Remove.
4006 * gdb.c (main): Update.
4007 * main.c (captured_main, gdb_main): Update.
4008 * main.h (struct captured_main_args) <use_windows>: Remove.
4009 * top.c (use_windows): Remove.
4011 2014-01-13 Tom Tromey <tromey@redhat.com>
4013 * defs.h (deprecated_flush_hook): Remove.
4015 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4018 * linux-thread-db.c (try_thread_db_load): Add parameter
4019 check_auto_load_safe. Move here the file_is_auto_load_safe call.
4020 (try_thread_db_load_from_pdir_1): Move it there from here.
4021 (try_thread_db_load_from_sdir): Update caller.
4022 (try_thread_db_load_from_dir): Move it there from here.
4024 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
4026 * regformats/regdat.sh: Always rewrite the register file.
4028 2014-01-13 Pedro Alves <palves@redhat.com>
4030 * Makefile.in (CHECK_HEADERS): New variable.
4031 (check-headers:): New rule.
4033 2014-01-13 Tom Tromey <tromey@redhat.com>
4035 * cli/cli-setshow.c (do_set_command): Update.
4036 * defs.h (deprecated_set_hook): Remove.
4037 * top.c (deprecated_set_hook): Remove.
4039 2014-01-13 Pedro Alves <palves@redhat.com>
4041 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
4042 the tracepoint if the PC is a pseudo-register.
4044 2014-01-13 Tom Tromey <tromey@redhat.com>
4046 * defs.h (XCALLOC): Remove.
4047 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
4048 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
4049 * dwarf2loc.c (allocate_piece_closure): Likewise.
4050 * elfread.c (elf_symfile_segments): Likewise.
4051 (elf_symfile_segments): Likewise.
4052 * gdbtypes.c (copy_type_recursive): Likewise.
4053 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
4054 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
4055 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
4057 * mt-tdep.c (mt_gdbarch_init): Likewise.
4058 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
4060 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
4061 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
4062 * registry.c (registry_alloc_data): Likewise.
4063 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
4064 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
4065 * serial.c (serial_fdopen_ops): Likewise.
4066 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
4068 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
4069 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
4072 2014-01-13 Tom Tromey <tromey@redhat.com>
4074 * defs.h (XMALLOC): Remove.
4075 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
4076 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
4077 * cli-out.c (struct ui_out *): Likewise.
4078 * cli/cli-dump.c (add_dump_command): Likewise.
4079 (add_dump_command): Likewise.
4080 * complaints.c (get_complaints): Likewise.
4081 (find_complaint): Likewise.
4082 * dwarf2-frame.c (execute_cfa_program): Likewise.
4083 * dwarf2read.c (abbrev_table_read_table): Likewise.
4084 * gdbarch.sh: Likewise.
4085 * gdbarch.c: Rebuild.
4086 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
4087 * interps.c (interp_new): Likewise.
4088 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
4089 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
4090 * mi/mi-console.c (mi_console_file_new): Likewise.
4091 * mi/mi-interp.c (mi_interpreter_init): Likewise.
4092 * mi/mi-out.c (mi_out_new): Likewise.
4093 * mi/mi-parse.c (mi_parse): Likewise.
4094 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
4095 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
4096 * observer.c (xalloc_observer_list_node): Likewise.
4097 * regcache.c (regcache_xmalloc_1): Likewise.
4098 * reggroups.c (reggroup_new): Likewise.
4099 (_initialize_reggroup): Likewise.
4100 * registry.c (register_data_with_cleanup): Likewise.
4101 * remote.c (remote_notif_stop_alloc_reply): Likewise.
4102 * ser-base.c (serial_ttystate): Likewise.
4103 * ser-mingw.c (make_pipe_state): Likewise.
4104 * ser-pipe.c (pipe_open): Likewise.
4105 * serial.c (serial_open): Likewise.
4106 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
4107 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
4108 (tui_alloc_win_info): Likewise.
4109 (tui_add_content_elements): Likewise.
4110 * tui/tui-file.c (tui_file_new): Likewise.
4111 * tui/tui-out.c (tui_out_new): Likewise.
4112 * ui-file.c (mem_file_new): Likewise.
4113 * ui-out.c (push_level): Likewise.
4114 (make_cleanup_ui_out_end): Likewise.
4115 (append_header_to_list): Likewise.
4116 (ui_out_new): Likewise.
4117 * user-regs.c (user_reg_add_builtin): Likewise.
4119 2014-01-13 Tom Tromey <tromey@redhat.com>
4121 * defs.h (XZALLOC): Remove.
4122 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
4123 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
4124 (get_ada_tasks_inferior_data): Likewise.
4125 * auto-load.c (get_auto_load_pspace_data): Likewise.
4126 * auxv.c (get_auxv_inferior_data): Likewise.
4127 * bfd-target.c (target_bfd_reopen): Likewise.
4128 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
4129 (deprecated_insert_raw_breakpoint): Likewise.
4130 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
4131 * corelow.c (core_open): Likewise.
4132 * darwin-nat.c (darwin_check_new_threads): Likewise.
4133 (darwin_attach_pid): Likewise.
4134 * dummy-frame.c (dummy_frame_push): Likewise.
4135 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
4136 * dwarf2loc.c (allocate_piece_closure): Likewise.
4137 * elfread.c (elf_symfile_segments): Likewise.
4138 * eval.c (ptrmath_type_p): Likewise.
4139 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
4140 * gdbtypes.c (alloc_type_arch): Likewise.
4141 (alloc_type_instance): Likewise.
4142 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
4143 * inf-child.c (inf_child_can_use_agent): Likewise.
4144 * inflow.c (get_inflow_inferior_data): Likewise.
4145 * infrun.c (save_infcall_suspend_state): Likewise.
4146 * jit.c (jit_reader_load): Likewise.
4147 (get_jit_objfile_data): Likewise.
4148 (get_jit_program_space_data): Likewise.
4149 (jit_object_open_impl): Likewise.
4150 (jit_symtab_open_impl): Likewise.
4151 (jit_block_open_impl): Likewise.
4152 (jit_frame_sniffer): Likewise.
4153 * linux-fork.c (add_fork): Likewise.
4154 * maint.c (make_command_stats_cleanup): Likewise.
4155 * objfiles.c (get_objfile_pspace_data): Likewise.
4156 * opencl-lang.c (struct lval_closure): Likewise.
4157 * osdata.c (osdata_start_osdata): Likewise.
4158 * progspace.c (new_address_space): Likewise.
4159 (add_program_space): Likewise.
4160 * remote-sim.c (get_sim_inferior_data): Likewise.
4161 * sh-tdep.c (sh_gdbarch_init): Likewise.
4162 * skip.c (Ignore): Likewise.
4163 (skip_delete_command): Likewise.
4164 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4165 (library_list_start_library): Likewise.
4166 (solib_aix_current_sos): Likewise.
4167 * solib-darwin.c (get_darwin_info): Likewise.
4168 (darwin_current_sos): Likewise.
4169 * solib-dsbt.c (get_dsbt_info): Likewise.
4170 * solib-ia64-hpux.c (new_so_list): Likewise.
4171 (ia64_hpux_get_solib_linkage_addr): Likewise.
4172 * solib-spu.c (append_ocl_sos): Likewise.
4173 (spu_current_sos): Likewise.
4174 * solib-svr4.c (get_svr4_info): Likewise.
4175 (svr4_keep_data_in_core): Likewise.
4176 (library_list_start_library): Likewise.
4177 (svr4_default_sos): Likewise.
4178 (svr4_read_so_list): Likewise.
4179 * solib-target.c (library_list_start_library): Likewise.
4180 (solib_target_current_sos): Likewise.
4181 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4182 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4183 * symfile.c (default_symfile_segments): Likewise.
4184 * target-descriptions.c (tdesc_data_init): Likewise.
4185 (tdesc_create_reg): Likewise.
4186 (struct tdesc_type *): Likewise.
4187 (tdesc_create_vector): Likewise.
4188 (tdesc_set_struct_size): Likewise.
4189 (struct tdesc_type *): Likewise.
4190 (tdesc_free_feature): Likewise.
4191 (tdesc_create_feature): Likewise.
4192 * windows-nat.c (windows_add_thread): Likewise.
4193 (windows_make_so): Likewise.
4194 * xml-support.c (gdb_xml_body_text): Likewise.
4195 (gdb_xml_create_parser_and_cleanup): Likewise.
4196 (xml_process_xincludes): Likewise.
4197 * xml-syscall.c (allocate_syscalls_info): Likewise.
4198 (syscall_create_syscall_desc): Likewise.
4200 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4202 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4203 function, with code from i386_stap_parse_special_token.
4204 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4205 (i386_stap_parse_special_token): Move code to the two functions
4208 2014-01-09 Pedro Alves <palves@redhat.com>
4209 Hui Zhu <hui@codesourcery.com>
4212 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4213 bp_err_string. Don't mark the location shlib_disabled if the
4214 error thrown wasn't a generic or memory error. Catch errors
4215 thrown while inserting breakpoints in overlayed code. Output
4216 error message of software breakpoints.
4217 * remote.c (remote_insert_breakpoint): If this breakpoint has
4218 target-side commands but this stub doesn't support Z0 packets,
4219 throw NOT_SUPPORTED_ERROR error.
4220 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4221 * target.h (target_insert_breakpoint): Extend comment.
4222 (target_insert_hw_breakpoint): Add comment.
4224 2014-01-08 Pedro Alves <palves@redhat.com>
4226 * remote.c (remote_add_thread): Add threads silently if starting
4228 (remote_notice_new_inferior): If in all-stop, and starting up,
4229 don't call notice_new_inferior.
4230 (get_current_thread): New function, factored out from ...
4231 (add_current_inferior_and_thread): ... this. Adjust.
4232 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4233 found any thread, then select the remote's current thread as GDB's
4236 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4238 * NEWS: Create a new section for the next release branch.
4239 Rename the section of the current branch, now that it has
4242 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4244 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4245 * version.in: Bump version to 7.7.50.DATE-cvs.
4247 2014-01-08 Yao Qi <yao@codesourcery.com>
4249 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4250 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4251 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4253 2014-01-08 Yao Qi <yao@codesourcery.com>
4255 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4256 return value of bfd_get_filename to symbol_file_add_from_bfd.
4258 2014-01-08 Pierre Muller <muller@sourceware.org>
4261 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4262 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4263 to prim_record_mininal_symbol_and_info.
4264 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4265 in call to prim_record_minimal_symbol_and_info.
4266 (read_pe_exported_syms): Set index field of section_data.
4268 2014-01-07 Andrew Pinski <apinski@cavium.com>
4270 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4271 * features/aarch64.c: Regenerate.
4273 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4275 * target.c (return_null): Define.
4276 (update_current_target): Use it instead of return_zero for
4277 functions that return a pointer.
4279 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4281 * source.c (add_path): Fix check for duplicated paths in the previously
4284 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4286 * ada-lang.c: Remove duplicated include statements.
4287 * alphabsd-nat.c: Ditto.
4288 * amd64-darwin-tdep.c: Ditto.
4289 * amd64fbsd-nat.c: Ditto.
4290 * auto-load.c: Ditto.
4292 * breakpoint.c: Ditto.
4294 * fork-child.c: Ditto.
4295 * gdb_usleep.c: Ditto.
4296 * i386-darwin-tdep.c: Ditto.
4297 * i386fbsd-nat.c: Ditto.
4299 * inferior.c: Ditto.
4301 * linux-nat.c: Ditto.
4302 * linux-tdep.c: Ditto.
4303 * m68kbsd-nat.c: Ditto.
4304 * m68klinux-nat.c: Ditto.
4305 * microblaze-tdep.c: Ditto.
4306 * mips-linux-tdep.c: Ditto.
4307 * mn10300-tdep.c: Ditto.
4308 * nto-tdep.c: Ditto.
4309 * opencl-lang.c: Ditto.
4311 * printcmd.c: Ditto.
4312 * regcache.c: Ditto.
4313 * remote-m32r-sdi.c: Ditto.
4317 * tilegx-linux-nat.c: Ditto.
4318 * tilegx-tdep.c: Ditto.
4319 * tracepoint.c: Ditto.
4321 * vaxbsd-nat.c: Ditto.
4322 * windows-nat.c: Ditto.
4323 * xtensa-tdep.c: Ditto.
4325 2014-01-07 Yao Qi <yao@codesourcery.com>
4327 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4329 2014-01-07 Yao Qi <yao@codesourcery.com>
4330 Joel Brobecker <brobecker@adacore.com>
4332 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4333 (pdc_write_regs): Likewise.
4334 (fetch_regs_kernel_thread): Likewise.
4335 (store_regs_kernel_thread): Likewise.
4337 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4339 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4340 tagged type objects to their actual type.
4342 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4344 * ada-valprint.c (print_field_values): Add "language" parameter.
4345 Update calls to print_field_values and print_variant_part.
4346 Pass new parameter "language" in call to val_print instead
4347 of "current_language". Replace call to ada_val_print by call
4349 (print_variant_part): Add "language" parameter.
4350 (ada_val_print_struct_union): Update call to print_field_values.
4352 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4354 * ada-valprint.c (ui_memcpy): Delete.
4355 (ada_print_floating): Update documentation. Add empty line
4356 between between function documentation and implementation.
4357 Delete variable "buffer". Use ui_file_xstrdup in place of
4358 ui_file_put. Minor adjustments following this change.
4360 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4362 * ada-valprint.c (ada_val_print_string): New function,
4363 extracted from ada_val_print_array.
4364 (ada_val_print_array): Replace extracted code by call
4365 to ada_val_print_string followed by a return. Move
4366 "else" branch to the function's top block.
4368 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4370 * ada-valprint.c (ada_val_print_array): Move implementation
4371 down. Rename parameter "offset" and "val" into "offset_aligned"
4372 and "original_value" respectively. Add parameter "offset".
4374 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4376 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4377 re-organizing the code. Change the "???" message printed
4378 when target type is a TYPE_CODE_UNDEF into
4379 "<ref to undefined type>".
4381 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4383 * ada-valprint.c (print_record): Delete, implementation inlined...
4384 (ada_val_print_struct_union): ... here. Remove call to
4385 ada_check_typedef in inlined implementation.
4387 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4389 * ada-valprint.c (ada_val_print_gnat_array): New function,
4390 extracted from ada_val_print_1;
4391 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4392 (ada_val_print_flt, ada_val_print_struct_union)
4393 (ada_val_print_ref): Likewise.
4394 (ada_val_print_1): Delete variables i and elttype.
4395 Replace extracted-out code by call to corresponding
4398 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4400 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4402 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4404 * ada-valprint.c (ada_val_print_1): Replace calls to
4405 ada_val_print_1 by calls to val_print.
4407 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4409 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4410 Update calls to self accordingly. Replace calls to c_val_print
4411 by calls to val_print.
4413 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4415 * ada-valprint.c (print_record): Delete declaration.
4416 (adjust_type_signedness, ada_val_print_1): Likewise.
4417 (ada_val_print): Move function implementation down.
4418 (print_variant_part, print_field_values, print_record):
4419 Move function implementation up.
4421 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4423 * python/py-type.c (typy_get_name): New function.
4424 (type_object_getset): Add entry for attribute "name".
4425 * NEWS: Add entry mentioning this new attribute.
4427 2014-01-07 Yao Qi <yao@codesourcery.com>
4429 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
4432 2014-01-07 Yao Qi <yao@codesourcery.com>
4434 * gnu-nat.c (info_port_rights): Add qualifier const to
4437 2014-01-07 Yao Qi <yao@codesourcery.com>
4439 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
4441 2014-01-07 Yao Qi <yao@codesourcery.com>
4443 * gnu-nat.c (make_inf) Update declaration.
4444 (make_inf): Make it static.
4445 (inf_set_traced): Likewise.
4446 (inf_port_to_thread, inf_task_died_status): Likewise.
4448 2014-01-07 Yao Qi <yao@codesourcery.com>
4450 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
4452 2014-01-07 Yao Qi <yao@codesourcery.com>
4454 * gnu-nat.c (_initialize_gnu_nat): Declare.
4456 2014-01-07 Yao Qi <yao@codesourcery.com>
4458 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
4460 (struct gdbarch_info) <byte_order>: Change type to
4462 <byte_order_for_code>: Likewise.
4463 * gdbarch.c, gdbarch.h: Regenerated.
4465 2014-01-06 Sasha Smundak <asmundak@google.com>
4467 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
4469 2014-01-06 Tom Tromey <tromey@redhat.com>
4471 * doublest.c (convert_doublest_to_floatformat): Use const, not
4473 * somread.c (som_symtab_read): Likewise.
4475 2014-01-07 Hui Zhu <hui@codesourcery.com>
4477 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
4478 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
4479 (gdb_bfd_fopen): Ditto.
4480 (gdb_bfd_openr): Ditto.
4481 (gdb_bfd_openw): Ditto.
4482 (gdb_bfd_openr_iovec): Ditto.
4483 (gdb_bfd_fdopenr): Ditto.
4484 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
4485 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
4487 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
4489 * symfile-mem.c (symbol_file_add_from_memory): Removed
4490 gdb_bfd_stash_filename.
4492 2014-01-03 Doug Evans <dje@google.com>
4494 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
4497 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4499 Update year range in copyright notice of all files.
4501 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4503 * top.c (print_gdb_version): Set copyright year to 2014.
4505 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4507 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
4509 For older changes see ChangeLog-2013.
4515 version-control: never