1 2014-02-19 Tom Tromey <tromey@redhat.com>
3 * target-delegates.c: Rebuild.
4 * target.c (target_flash_done): Unconditionally delegate.
5 * target.h (struct target_ops) <to_flash_done>: Use
6 TARGET_DEFAULT_NORETURN.
8 2014-02-19 Tom Tromey <tromey@redhat.com>
10 * target-delegates.c: Rebuild.
11 * target.c (target_flash_erase): Unconditionally delegate.
12 * target.h (struct target_ops) <to_flash_erase>: Use
13 TARGET_DEFAULT_NORETURN.
15 2014-02-19 Tom Tromey <tromey@redhat.com>
17 * target-delegates.c: Rebuild.
18 * target.c (target_get_section_table): Unconditionally delegate.
19 * target.h (struct target_ops) <to_get_section_table>: Use
20 TARGET_DEFAULT_RETURN.
22 2014-02-19 Tom Tromey <tromey@redhat.com>
24 * target-delegates.c: Rebuild.
25 * target.c (target_pid_to_str): Unconditionally delegate.
26 (init_dummy_target): Don't initialize to_pid_to_str.
27 (default_pid_to_str): Rename from dummy_pid_to_str.
28 * target.h (struct target_ops) <to_pid_to_str>: Use
31 2014-02-19 Tom Tromey <tromey@redhat.com>
33 * target-delegates.c: Rebuild.
34 * target.c (target_find_new_threads): Unconditionally delegate.
35 * target.h (struct target_ops) <to_find_new_threads>: Use
36 TARGET_DEFAULT_RETURN.
38 2014-02-19 Tom Tromey <tromey@redhat.com>
40 * target-delegates.c: Rebuild.
41 * target.c (target_program_signals): Unconditionally delegate.
42 * target.h (struct target_ops) <to_program_signals>: Use
43 TARGET_DEFAULT_IGNORE.
45 2014-02-19 Tom Tromey <tromey@redhat.com>
47 * target-delegates.c: Rebuild.
48 * target.c (target_pass_signals): Unconditionally delegate.
49 * target.h (struct target_ops) <to_pass_signals>: Use
50 TARGET_DEFAULT_IGNORE.
52 2014-02-19 Tom Tromey <tromey@redhat.com>
54 * target-delegates.c: Rebuild.
55 * target.c (default_mourn_inferior): New function.
56 (target_mourn_inferior): Unconditionally delegate.
57 * target.h (struct target_ops) <to_mourn_inferior>: Use
60 2014-02-19 Tom Tromey <tromey@redhat.com>
62 * target-delegates.c: Rebuild.
63 * target.c (default_follow_fork): New function.
64 (target_follow_fork): Unconditionally delegate.
65 * target.h (struct target_ops) <to_follow_fork>: Use
68 2014-02-19 Tom Tromey <tromey@redhat.com>
70 * target-delegates.c: Rebuild.
71 * target.c (target_kill): Unconditionally delegate.
72 * target.h (struct target_ops) <to_kill>: Use
73 TARGET_DEFAULT_NORETURN.
75 2014-02-19 Tom Tromey <tromey@redhat.com>
77 * target-delegates.c: Rebuild.
78 * target.c (target_masked_watch_num_registers): Unconditionally
80 * target.h (struct target_ops) <to_masked_watch_num_registers>:
81 Use TARGET_DEFAULT_RETURN.
83 2014-02-19 Tom Tromey <tromey@redhat.com>
85 * target-delegates.c: Rebuild.
86 * target.c (target_remove_mask_watchpoint): Unconditionally
88 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
89 TARGET_DEFAULT_RETURN.
91 2014-02-19 Tom Tromey <tromey@redhat.com>
93 * target-delegates.c: Rebuild.
94 * target.c (target_insert_mask_watchpoint): Unconditionally
96 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
97 TARGET_DEFAULT_RETURN.
99 2014-02-19 Tom Tromey <tromey@redhat.com>
101 * target-delegates.c: Rebuild.
102 * target.c (target_ranged_break_num_registers): Unconditionally
104 * target.h (struct target_ops) <to_ranged_break_num_registers>:
105 Use TARGET_DEFAULT_RETURN.
107 2014-02-19 Tom Tromey <tromey@redhat.com>
109 * target-delegates.c: Rebuild.
110 * target.c (target_fetch_registers): Unconditionally delegate.
111 * target.h (struct target_ops) <to_fetch_registers>: Use
112 TARGET_DEFAULT_NORETURN.
114 2014-02-19 Tom Tromey <tromey@redhat.com>
116 * target-delegates.c: Rebuild.
117 * target.c (update_current_target): Don't inherit or default
119 * target.h (struct target_ops) <to_stop>: Use
120 TARGET_DEFAULT_IGNORE.
122 2014-02-19 Tom Tromey <tromey@redhat.com>
124 * target-delegates.c: Rebuild.
125 * target.c (update_current_target): Don't inherit or default
126 to_can_run_breakpoint_commands.
127 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
128 Use TARGET_DEFAULT_RETURN.
130 2014-02-19 Tom Tromey <tromey@redhat.com>
132 * target-delegates.c: Rebuild.
133 * target.c (update_current_target): Don't inherit or default
134 to_supports_evaluation_of_breakpoint_conditions.
135 * target.h (struct target_ops)
136 <to_supports_evaluation_of_breakpoint_conditions>: Use
137 TARGET_DEFAULT_RETURN.
139 2014-02-19 Tom Tromey <tromey@redhat.com>
141 * target-delegates.c: Rebuild.
142 * target.c (update_current_target): Don't inherit or default
143 to_augmented_libraries_svr4_read.
144 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
145 Use TARGET_DEFAULT_RETURN.
147 2014-02-19 Tom Tromey <tromey@redhat.com>
149 * target-delegates.c: Rebuild.
150 * target.c (update_current_target): Don't inherit or default
152 * target.h (struct target_ops) <to_can_use_agent>: Use
153 TARGET_DEFAULT_RETURN.
155 2014-02-19 Tom Tromey <tromey@redhat.com>
157 * target-delegates.c: Rebuild.
158 * target.c (update_current_target): Don't inherit or default
160 * target.h (struct target_ops) <to_use_agent>: Use
161 TARGET_DEFAULT_NORETURN.
163 2014-02-19 Tom Tromey <tromey@redhat.com>
165 * target-delegates.c: Rebuild.
166 * target.c (update_current_target): Don't inherit or default
168 (return_null): Remove.
169 * target.h (struct target_ops) <to_traceframe_info>: Use
170 TARGET_DEFAULT_RETURN.
172 2014-02-19 Tom Tromey <tromey@redhat.com>
174 * target-delegates.c: Rebuild.
175 * target.c (update_current_target): Don't inherit or default
176 to_static_tracepoint_markers_by_strid.
177 * target.h (struct target_ops)
178 <to_static_tracepoint_markers_by_strid>: Use
179 TARGET_DEFAULT_NORETURN.
181 2014-02-19 Tom Tromey <tromey@redhat.com>
183 * target-delegates.c: Rebuild.
184 * target.c (update_current_target): Don't inherit or default
185 to_static_tracepoint_marker_at.
186 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
187 Use TARGET_DEFAULT_RETURN.
189 2014-02-19 Tom Tromey <tromey@redhat.com>
191 * target-delegates.c: Rebuild.
192 * target.c (update_current_target): Don't inherit or default
194 * target.h (struct target_ops) <to_set_permissions>: Use
195 TARGET_DEFAULT_IGNORE.
197 2014-02-19 Tom Tromey <tromey@redhat.com>
199 * target-delegates.c: Rebuild.
200 * target.c (update_current_target): Don't inherit or default
202 * target.h (struct target_ops) <to_get_tib_address>: Use
203 TARGET_DEFAULT_NORETURN.
205 2014-02-19 Tom Tromey <tromey@redhat.com>
207 * target-delegates.c: Rebuild.
208 * target.c (update_current_target): Don't inherit or default
210 * target.h (struct target_ops) <to_set_trace_notes>: Use
211 TARGET_DEFAULT_RETURN.
213 2014-02-19 Tom Tromey <tromey@redhat.com>
215 * target-delegates.c: Rebuild.
216 * target.c (update_current_target): Don't initialize
217 to_set_trace_buffer_size.
218 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
219 TARGET_DEFAULT_IGNORE.
221 2014-02-19 Tom Tromey <tromey@redhat.com>
223 * target-delegates.c: Rebuild.
224 * target.c (update_current_target): Don't inherit or default
225 to_set_circular_trace_buffer.
226 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
227 TARGET_DEFAULT_IGNORE.
229 2014-02-19 Tom Tromey <tromey@redhat.com>
231 * target-delegates.c: Rebuild.
232 * target.c (update_current_target): Don't inherit or default
233 to_set_disconnected_tracing.
234 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
235 TARGET_DEFAULT_IGNORE.
237 2014-02-19 Tom Tromey <tromey@redhat.com>
239 * target-delegates.c: Rebuild.
240 * target.c (update_current_target): Don't inherit or default
241 to_get_min_fast_tracepoint_insn_len.
242 (return_minus_one): Remove.
243 * target.h (struct target_ops)
244 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
246 2014-02-19 Tom Tromey <tromey@redhat.com>
248 * target-delegates.c: Rebuild.
249 * target.c (update_current_target): Don't inherit or default
250 to_get_raw_trace_data.
251 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
252 TARGET_DEFAULT_NORETURN.
254 2014-02-19 Tom Tromey <tromey@redhat.com>
256 * target-delegates.c: Rebuild.
257 * target.c (update_current_target): Don't inherit or default
258 to_upload_trace_state_variables.
259 * target.h (struct target_ops) <to_upload_trace_state_variables>:
260 Use TARGET_DEFAULT_RETURN.
262 2014-02-19 Tom Tromey <tromey@redhat.com>
264 * target-delegates.c: Rebuild.
265 * target.c (update_current_target): Don't inherit or default
266 to_upload_tracepoints.
267 * target.h (struct target_ops) <to_upload_tracepoints>: Use
268 TARGET_DEFAULT_RETURN.
270 2014-02-19 Tom Tromey <tromey@redhat.com>
272 * target-delegates.c: Rebuild.
273 * target.c (update_current_target): Don't inherit or default
275 * target.h (struct target_ops) <to_save_trace_data>: Use
276 TARGET_DEFAULT_NORETURN.
278 2014-02-19 Tom Tromey <tromey@redhat.com>
280 * target-delegates.c: Rebuild.
281 * target.c (update_current_target): Don't inherit or default
282 to_get_trace_state_variable_value.
283 * target.h (struct target_ops)
284 <to_get_trace_state_variable_value>: 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): Use TARGET_DEFAULT_RETURN.
293 2014-02-19 Tom Tromey <tromey@redhat.com>
295 * target-delegates.c: Rebuild.
296 * target.c (update_current_target): Don't inherit or default
298 * target.h (struct target_ops) <to_trace_stop>: Use
299 TARGET_DEFAULT_NORETURN.
301 2014-02-19 Tom Tromey <tromey@redhat.com>
303 * target-delegates.c: Rebuild.
304 * target.c (update_current_target): Don't inherit or default
305 to_get_tracepoint_status.
306 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
307 TARGET_DEFAULT_NORETURN.
309 2014-02-19 Tom Tromey <tromey@redhat.com>
311 * target-delegates.c: Rebuild.
312 * target.c (update_current_target): Don't inherit or default
314 * target.h (struct target_ops) <to_get_trace_status>: Use
315 TARGET_DEFAULT_RETURN.
317 2014-02-19 Tom Tromey <tromey@redhat.com>
319 * target-delegates.c: Rebuild.
320 * target.c (update_current_target): Don't inherit or default
322 * target.h (struct target_ops) <to_trace_start>: Use
323 TARGET_DEFAULT_NORETURN.
325 2014-02-19 Tom Tromey <tromey@redhat.com>
327 * target-delegates.c: Rebuild.
328 * target.c (update_current_target): Don't inherit or default
329 to_trace_set_readonly_regions.
330 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
331 Use TARGET_DEFAULT_NORETURN.
333 2014-02-19 Tom Tromey <tromey@redhat.com>
335 * target-delegates.c: Rebuild.
336 * target.c (update_current_target): Don't inherit or default
337 to_disable_tracepoint.
338 * target.h (struct target_ops) <to_disable_tracepoint>: Use
339 TARGET_DEFAULT_NORETURN.
341 2014-02-19 Tom Tromey <tromey@redhat.com>
343 * target-delegates.c: Rebuild.
344 * target.c (update_current_target): Don't inherit or default
345 to_enable_tracepoint.
346 * target.h (struct target_ops) <to_enable_tracepoint>: Use
347 TARGET_DEFAULT_NORETURN.
349 2014-02-19 Tom Tromey <tromey@redhat.com>
351 * target-delegates.c: Rebuild.
352 * target.c (update_current_target): Don't inherit or default
353 to_download_trace_state_variable.
354 * target.h (struct target_ops) <to_download_trace_state_variable>:
355 Use TARGET_DEFAULT_NORETURN.
357 2014-02-19 Tom Tromey <tromey@redhat.com>
359 * target-delegates.c: Rebuild.
360 * target.c (update_current_target): Don't inherit or default
361 to_can_download_tracepoint.
362 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
363 TARGET_DEFAULT_RETURN.
365 2014-02-19 Tom Tromey <tromey@redhat.com>
367 * target-delegates.c: Rebuild.
368 * target.c (update_current_target): Don't inherit or default
369 to_download_tracepoint.
370 * target.h (struct target_ops) <to_download_tracepoint>: Use
371 TARGET_DEFAULT_NORETURN.
373 2014-02-19 Tom Tromey <tromey@redhat.com>
375 * target-delegates.c: Rebuild.
376 * target.c (update_current_target): Don't inherit or default
378 * target.h (struct target_ops) <to_trace_init>: Use
379 TARGET_DEFAULT_RETURN.
381 2014-02-19 Tom Tromey <tromey@redhat.com>
383 * target-delegates.c: Rebuild.
384 * target.c (update_current_target): Don't inherit or default
385 to_supports_string_tracing.
386 * target.h (struct target_ops) <to_supports_string_tracing>: Use
387 TARGET_DEFAULT_RETURN.
389 2014-02-19 Tom Tromey <tromey@redhat.com>
391 * target-delegates.c: Rebuild.
392 * target.c (update_current_target): Don't inherit or default
393 to_supports_enable_disable_tracepoint.
394 * target.h (struct target_ops)
395 <to_supports_enable_disable_tracepoint>: Use
396 TARGET_DEFAULT_RETURN.
398 2014-02-19 Tom Tromey <tromey@redhat.com>
400 * target-delegates.c: Rebuild.
401 * target.c (update_current_target): Don't inherit or default
402 to_supports_multi_process.
403 * target.h (struct target_ops) <to_supports_multi_process>: Use
404 TARGET_DEFAULT_RETURN.
406 2014-02-19 Tom Tromey <tromey@redhat.com>
408 * target-delegates.c: Rebuild.
409 * target.c (update_current_target): Don't inherit or default
410 to_get_ada_task_ptid.
411 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
414 2014-02-19 Tom Tromey <tromey@redhat.com>
416 * target-delegates.c: Rebuild.
417 * target.c (update_current_target): Don't inherit or default
418 to_thread_architecture.
419 * target.h (struct target_ops) <to_thread_architecture>: Use
422 2014-02-19 Tom Tromey <tromey@redhat.com>
424 * target-delegates.c: Rebuild.
425 * target.c (update_current_target): Don't inherit or default
426 to_execution_direction.
427 * target.h (struct target_ops) <to_execution_direction>: Use
430 2014-02-19 Tom Tromey <tromey@redhat.com>
432 * target-delegates.c: Rebuild.
433 * target.c (update_current_target): Don't inherit or default
434 to_can_execute_reverse.
435 * target.h (struct target_ops) <to_can_execute_reverse>: Use
436 TARGET_DEFAULT_RETURN.
437 (target_can_execute_reverse): Unconditionally delegate.
439 2014-02-19 Tom Tromey <tromey@redhat.com>
441 * target-delegates.c: Rebuild.
442 * target.c (update_current_target): Don't inherit or default
444 (dummy_goto_bookmark): Remove.
445 (init_dummy_target): Don't inherit or default to_goto_bookmark.
446 * target.h (struct target_ops) <to_goto_bookmark>: Use
447 TARGET_DEFAULT_NORETURN.
449 2014-02-19 Tom Tromey <tromey@redhat.com>
451 * target-delegates.c: Rebuild.
452 * target.c (update_current_target): Don't inherit or default
454 (dummy_get_bookmark): Remove.
455 (init_dummy_target): Don't inherit or default to_get_bookmark.
456 * target.h (struct target_ops) <to_get_bookmark>: Use
457 TARGET_DEFAULT_NORETURN
459 2014-02-19 Tom Tromey <tromey@redhat.com>
461 * target-delegates.c: Rebuild.
462 * target.c (update_current_target): Don't inherit or default
463 to_make_corefile_notes.
464 (init_dummy_target): Don't initialize to_make_corefile_notes.
465 * target.h (struct target_ops) <to_make_corefile_notes>: Use
468 2014-02-19 Tom Tromey <tromey@redhat.com>
470 * target-delegates.c: Rebuild.
471 * target.c (update_current_target): Don't inherit or default
472 to_find_memory_regions.
473 (init_dummy_target): Don't initialize to_find_memory_regions.
474 * target.h (struct target_ops) <to_find_memory_regions>: Use
477 2014-02-19 Tom Tromey <tromey@redhat.com>
479 * target-delegates.c: Rebuild.
480 * target.c (update_current_target): Don't inherit or default
482 * target.h (struct target_ops) <to_log_command>: Use
483 TARGET_DEFAULT_IGNORE.
484 (target_log_command): Unconditionally delegate.
486 2014-02-19 Tom Tromey <tromey@redhat.com>
488 * target-delegates.c: Rebuild.
489 * target.c (update_current_target): Don't inherit or default
491 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
492 TARGET_DEFAULT_RETURN.
494 2014-02-19 Tom Tromey <tromey@redhat.com>
496 * target-delegates.c: Rebuild.
497 * target.c (update_current_target): Don't inherit or default
499 (target_thread_name): Unconditionally delegate.
500 * target.h (struct target_ops) <to_thread_name>: Use
501 TARGET_DEFAULT_RETURN.
503 2014-02-19 Tom Tromey <tromey@redhat.com>
505 * target-delegates.c: Rebuild.
506 * target.c (update_current_target): Don't inherit or default
507 to_extra_thread_info.
508 * target.h (struct target_ops) <to_extra_thread_info>: Use
509 TARGET_DEFAULT_RETURN.
511 2014-02-19 Tom Tromey <tromey@redhat.com>
513 * target-delegates.c: Rebuild.
514 * target.c (update_current_target): Don't inherit or default
516 * target.h (struct target_ops) <to_has_exited>: Use
517 TARGET_DEFAULT_RETURN..
519 2014-02-19 Tom Tromey <tromey@redhat.com>
521 * target-delegates.c: Rebuild.
522 * target.c (update_current_target): Don't inherit or default
523 to_set_syscall_catchpoint.
524 (return_one): Remove.
525 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
526 TARGET_DEFAULT_RETURN.
528 2014-02-19 Tom Tromey <tromey@redhat.com>
530 * target-delegates.c: Rebuild.
531 * target.c (update_current_target): Don't inherit or default
532 to_insert_exec_catchpoint.
533 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
534 TARGET_DEFAULT_RETURN.
536 2014-01-08 Tom Tromey <tromey@redhat.com>
538 * target-delegates.c: Rebuild.
539 * target.c (update_current_target): Don't inherit or default
540 to_insert_exec_catchpoint.
541 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
542 TARGET_DEFAULT_RETURN.
544 2014-02-19 Tom Tromey <tromey@redhat.com>
546 * target-delegates.c: Rebuild.
547 * target.c (update_current_target): Don't inherit or default
548 to_remove_vfork_catchpoint.
549 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
550 TARGET_DEFAULT_RETURN.
552 2014-02-19 Tom Tromey <tromey@redhat.com>
554 * target-delegates.c: Rebuild.
555 * target.c (update_current_target): Don't inherit or default
556 to_insert_vfork_catchpoint.
557 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
558 TARGET_DEFAULT_RETURN.
560 2014-02-19 Tom Tromey <tromey@redhat.com>
562 * target-delegates.c: Rebuild.
563 * target.c (update_current_target): Don't inherit or default
564 to_remove_fork_catchpoint.
565 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
566 TARGET_DEFAULT_RETURN.
568 2014-02-19 Tom Tromey <tromey@redhat.com>
570 * target-delegates.c: Rebuild.
571 * target.c (update_current_target): Don't inherit or default
572 to_insert_fork_catchpoint.
573 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
574 TARGET_DEFAULT_RETURN.
576 2014-02-19 Tom Tromey <tromey@redhat.com>
578 * target-delegates.c: Rebuild.
579 * target.c (update_current_target): Don't inherit or default
580 to_post_startup_inferior.
581 * target.h (struct target_ops) <to_post_startup_inferior>: Use
582 TARGET_DEFAULT_IGNORE.
584 2014-02-19 Tom Tromey <tromey@redhat.com>
586 * target-delegates.c: Rebuild.
587 * target.c (update_current_target): Don't inherit or default
589 * target.h (struct target_ops) <to_load>: Use
590 TARGET_DEFAULT_NORETURN.
592 2014-02-19 Tom Tromey <tromey@redhat.com>
594 * target-delegates.c: Rebuild.
595 * target.c (update_current_target): Don't inherit or default
597 * target.h (struct target_ops) <to_terminal_info>: Use
600 2014-02-19 Tom Tromey <tromey@redhat.com>
602 * target-delegates.c: Rebuild.
603 * target.c (update_current_target): Don't inherit or default
604 to_terminal_save_ours.
605 * target.h (struct target_ops) <to_terminal_save_ours>: Use
606 TARGET_DEFAULT_IGNORE.
608 2014-02-19 Tom Tromey <tromey@redhat.com>
610 * target-delegates.c: Rebuild.
611 * target.c (update_current_target): Don't inherit or default
613 * target.h (struct target_ops) <to_terminal_ours>: Use
614 TARGET_DEFAULT_IGNORE.
616 2014-02-19 Tom Tromey <tromey@redhat.com>
618 * target-delegates.c: Rebuild.
619 * target.c (update_current_target): Don't inherit or default
620 to_terminal_ours_for_output.
621 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
622 TARGET_DEFAULT_IGNORE.
624 2014-02-19 Tom Tromey <tromey@redhat.com>
626 * target-delegates.c: Rebuild.
627 * target.c (update_current_target): Don't inherit or default
628 to_terminal_inferior.
629 * target.h (struct target_ops) <to_terminal_inferior>: Use
630 TARGET_DEFAULT_IGNORE.
632 2014-02-19 Tom Tromey <tromey@redhat.com>
634 * target-delegates.c: Rebuild.
635 * target.c (update_current_target): Don't inherit or default
637 * target.h (struct target_ops) <to_terminal_init>: Use
638 TARGET_DEFAULT_IGNORE.
640 2014-02-19 Tom Tromey <tromey@redhat.com>
642 * target-delegates.c: Rebuild.
643 * target.c (update_current_target): Don't inherit or default
644 to_can_accel_watchpoint_condition.
645 * target.h (struct target_ops)
646 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
648 2014-02-19 Tom Tromey <tromey@redhat.com>
650 * target-delegates.c: Rebuild.
651 * target.c (update_current_target): Don't inherit or default
652 to_region_ok_for_hw_watchpoint.
653 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
654 Use TARGET_DEFAULT_FUNC.
656 2014-02-19 Tom Tromey <tromey@redhat.com>
658 * target-delegates.c: Rebuild.
659 * target.c (update_current_target): Don't inherit or default
660 to_watchpoint_addr_within_range.
661 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
662 Use TARGET_DEFAULT_FUNC.
664 2014-02-19 Tom Tromey <tromey@redhat.com>
666 * target-delegates.c: Rebuild.
667 * target.c (update_current_target): Don't inherit or default
668 to_remove_watchpoint.
669 * target.h (struct target_ops) <to_remove_watchpoint>: Use
670 TARGET_DEFAULT_NORETURN.
672 2014-02-19 Tom Tromey <tromey@redhat.com>
674 * target-delegates.c: Rebuild.
675 * target.c (update_current_target): Don't inherit or default
676 to_insert_watchpoint.
677 * target.h (struct target_ops) <to_insert_watchpoint>: Use
678 TARGET_DEFAULT_RETURN.
680 2014-02-19 Tom Tromey <tromey@redhat.com>
682 * target-delegates.c: Rebuild.
683 * target.c (update_current_target): Don't inherit or default
684 to_remove_hw_breakpoint.
685 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
686 TARGET_DEFAULT_RETURN.
688 2014-02-19 Tom Tromey <tromey@redhat.com>
690 * target-delegates.c: Rebuild.
691 * target.c (update_current_target): Don't inherit or default
692 to_insert_hw_breakpoint.
693 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
694 TARGET_DEFAULT_RETURN.
696 2014-02-19 Tom Tromey <tromey@redhat.com>
698 * target-delegates.c: Rebuild.
699 * target.c (update_current_target): Don't inherit or default
700 to_can_use_hw_breakpoint.
701 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
702 TARGET_DEFAULT_RETURN.
704 2014-02-19 Tom Tromey <tromey@redhat.com>
706 * target-delegates.c: Rebuild.
707 * target.c (update_current_target): Don't inherit or default
709 * target.h (struct target_ops) <to_files_info>: Use
710 TARGET_DEFAULT_IGNORE.
712 2014-02-19 Tom Tromey <tromey@redhat.com>
714 * target-delegates.c: Rebuild.
715 * target.c (update_current_target): Don't inherit or default
717 * target.h (struct target_ops) <to_store>: Use
718 TARGET_DEFAULT_NORETURN.
720 2014-02-19 Tom Tromey <tromey@redhat.com>
722 * target-delegates.c: Rebuild.
723 * target.c (update_current_target): Don't inherit or default
725 * target.h (struct target_ops) <to_post_attach>: Use
726 TARGET_DEFAULT_IGNORE.
728 2014-02-19 Tom Tromey <tromey@redhat.com>
730 * target-delegates.c: Rebuild.
731 * target.c (update_current_target): Don't inherit or default
733 (default_rcmd): New function.
734 (do_monitor_command): Unconditionally delegate.
735 * target.h (struct target_ops) <to_rmcd>: Use
738 2014-02-19 Tom Tromey <tromey@redhat.com>
740 * target-delegates.c: Rebuild.
741 * target.c (init_dummy_target): Don't initialize to_attach.
742 (target_attach): Unconditionally delegate.
743 * target.h (struct target_ops) <to_attach>: Use
746 2014-02-19 Tom Tromey <tromey@redhat.com>
748 * target-delegates.c: Rebuild.
749 * target.c (target_detach): Unconditionally delegate.
750 (init_dummy_target): Don't initialize to_detach.
751 * target.h (struct target_ops) <to_detach>: Use
752 TARGET_DEFAULT_IGNORE.
754 2014-02-19 Tom Tromey <tromey@redhat.com>
756 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
758 (target_augmented_libraries_svr4_read): Add argument.
759 * target.c (update_current_target): Update.
760 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
763 2014-02-19 Tom Tromey <tromey@redhat.com>
765 * target.h (struct target_ops) <to_call_history_range>: Add
767 * target.c (target_call_history_range): Add argument.
768 * record-btrace.c (record_btrace_call_history_range): Add 'self'
770 (record_btrace_call_history_from): Update.
772 2014-02-19 Tom Tromey <tromey@redhat.com>
774 * target.h (struct target_ops) <to_call_history_from>: Add
776 * target.c (target_call_history_from): Add argument.
777 * record-btrace.c (record_btrace_call_history_from): Add 'self'
780 2014-02-19 Tom Tromey <tromey@redhat.com>
782 * target.h (struct target_ops) <to_call_history>: Add argument.
783 * target.c (target_call_history): Add argument.
784 * record-btrace.c (record_btrace_call_history): Add 'self'
787 2014-02-19 Tom Tromey <tromey@redhat.com>
789 * target.h (struct target_ops) <to_insn_history_range>: Add
791 * target.c (target_insn_history_range): Add argument.
792 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
794 (record_btrace_insn_history_from): Update.
796 2014-02-19 Tom Tromey <tromey@redhat.com>
798 * target.h (struct target_ops) <to_insn_history_from>: Add
800 * target.c (target_insn_history_from): Add argument.
801 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
804 2014-02-19 Tom Tromey <tromey@redhat.com>
806 * target.h (struct target_ops) <to_insn_history>: Add argument.
807 * target.c (target_insn_history): Add argument.
808 * record-btrace.c (record_btrace_insn_history): Add 'self'
811 2014-02-19 Tom Tromey <tromey@redhat.com>
813 * target.h (struct target_ops) <to_goto_record>: Add argument.
814 * target.c (target_goto_record): Add argument.
815 * record-full.c (record_full_goto): Add 'self' argument.
816 * record-btrace.c (record_btrace_goto): Add 'self' argument.
818 2014-02-19 Tom Tromey <tromey@redhat.com>
820 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
821 * target.c (target_goto_record_end): Add argument.
822 * record-full.c (record_full_goto_end): Add 'self' argument.
823 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
825 2014-02-19 Tom Tromey <tromey@redhat.com>
827 * target.h (struct target_ops) <to_goto_record_begin>: Add
829 * target.c (target_goto_record_begin): Add argument.
830 * record-full.c (record_full_goto_begin): Add 'self' argument.
831 * record-btrace.c (record_btrace_goto_begin): Add 'self'
834 2014-02-19 Tom Tromey <tromey@redhat.com>
836 * target.h (struct target_ops) <to_record_is_replaying>: Add
838 * target.c (target_record_is_replaying): Add argument.
839 * record-full.c (record_full_is_replaying): Add 'self' argument.
840 * record-btrace.c (record_btrace_is_replaying): Add 'self'
842 (record_btrace_xfer_partial, record_btrace_store_registers)
843 (record_btrace_prepare_to_store, record_btrace_resume)
844 (record_btrace_wait, record_btrace_decr_pc_after_break)
845 (record_btrace_find_new_threads, record_btrace_thread_alive):
848 2014-02-19 Tom Tromey <tromey@redhat.com>
850 * target.h (struct target_ops) <to_delete_record>: Add argument.
851 * target.c (target_delete_record): Add argument.
852 * record-full.c (record_full_delete): Add 'self' argument.
854 2014-02-19 Tom Tromey <tromey@redhat.com>
856 * target.h (struct target_ops) <to_save_record>: Add argument.
857 * target.c (target_save_record): Add argument.
858 * record-full.c (record_full_save): Add 'self' argument.
859 (record_full_save): Add 'self' argument.
861 2014-02-19 Tom Tromey <tromey@redhat.com>
863 * target.h (struct target_ops) <to_info_record>: Add argument.
864 * target.c (target_info_record): Add argument.
865 * record.c (info_record_command): Add argument.
866 * record-full.c (record_full_info): Add 'self' argument.
867 * record-btrace.c (record_btrace_info): Add 'self' argument.
869 2014-02-19 Tom Tromey <tromey@redhat.com>
871 * target.h (struct target_ops) <to_stop_recording>: Add argument.
872 * target.c (target_stop_recording): Add argument.
873 * record.c (record_stop): Add argument.
874 * record-btrace.c (record_btrace_stop_recording): Add 'self'
877 2014-02-19 Tom Tromey <tromey@redhat.com>
879 * target.h (struct target_ops) <to_read_btrace>: Add argument.
880 * target.c (struct target_ops) <to_read_btrace>: Add argument.
881 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
883 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
884 (_initialize_amd64_linux_nat): Use it.
885 * i386-linux-nat.c (i386_linux_read_btrace): New function.
886 (_initialize_i386_linux_nat): Use it.
888 2014-02-19 Tom Tromey <tromey@redhat.com>
890 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
891 * target.c (target_teardown_btrace): Add argument.
892 * remote.c (remote_teardown_btrace): Add 'self' argument.
893 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
895 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
898 2014-02-19 Tom Tromey <tromey@redhat.com>
900 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
901 * target.c (target_disable_btrace): Add argument.
902 * remote.c (remote_disable_btrace): Add 'self' argument.
903 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
905 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
908 2014-02-19 Tom Tromey <tromey@redhat.com>
910 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
911 * target.c (target_enable_btrace): Add argument.
912 * remote.c (remote_enable_btrace): Add 'self' argument.
913 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
915 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
918 2014-02-19 Tom Tromey <tromey@redhat.com>
920 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
921 (target_can_use_agent): Add argument.
922 * target.c (update_current_target): Update.
923 * remote.c (remote_can_use_agent): Add 'self' argument.
924 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
926 2014-02-19 Tom Tromey <tromey@redhat.com>
928 * target.h (struct target_ops) <to_use_agent>: Add argument.
929 (target_use_agent): Add argument.
930 * target.c (update_current_target): Update.
931 * remote.c (remote_use_agent): Add 'self' argument.
932 * inf-child.c (inf_child_use_agent): Add 'self' argument.
934 2014-02-19 Tom Tromey <tromey@redhat.com>
936 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
937 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
938 (target_traceframe_info): Add argument.
939 * target.c (update_current_target): Update.
940 * remote.c (remote_traceframe_info): Add 'self' argument.
941 * ctf.c (ctf_traceframe_info): Add 'self' argument.
943 2014-02-19 Tom Tromey <tromey@redhat.com>
945 * target.h (target_static_tracepoint_markers_by_strid): Add
947 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
949 * target.c (update_current_target): Update.
950 * remote.c (struct target_ops)
951 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
952 * linux-nat.c (struct target_ops)
953 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
955 2014-02-19 Tom Tromey <tromey@redhat.com>
957 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
959 (target_static_tracepoint_marker_at): Add argument.
960 * target.c (update_current_target): Update.
961 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
964 2014-02-19 Tom Tromey <tromey@redhat.com>
966 * target.h (struct target_ops) <to_set_permissions>: Add argument.
967 (target_set_permissions): Add argument.
968 * target.c (update_current_target): Update.
969 * remote.c (remote_set_permissions): Add 'self' argument.
970 (remote_start_remote): Update.
972 2014-02-19 Tom Tromey <tromey@redhat.com>
974 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
975 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
976 (target_get_tib_address): Add argument.
977 * target.c (update_current_target): Update.
978 * remote.c (remote_get_tib_address): Add 'self' argument.
980 2014-02-19 Tom Tromey <tromey@redhat.com>
982 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
983 (target_set_trace_notes): Add argument.
984 * target.c (update_current_target): Update.
985 * remote.c (remote_set_trace_notes): Add 'self' argument.
987 2014-02-19 Tom Tromey <tromey@redhat.com>
989 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
991 (target_set_trace_buffer_size): Add argument.
992 * target.c (update_current_target): Update.
993 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
995 2014-02-19 Tom Tromey <tromey@redhat.com>
997 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
999 (target_set_circular_trace_buffer): Add argument.
1000 * target.c (update_current_target): Update.
1001 * remote.c (remote_set_circular_trace_buffer): Add 'self'
1004 2014-02-19 Tom Tromey <tromey@redhat.com>
1006 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
1008 (target_set_disconnected_tracing): Add argument.
1009 * target.c (update_current_target): Update.
1010 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
1012 2014-02-19 Tom Tromey <tromey@redhat.com>
1014 * target.h (struct target_ops)
1015 <to_get_min_fast_tracepoint_insn_len>: Add argument.
1016 (target_get_min_fast_tracepoint_insn_len): Add argument.
1017 * target.c (update_current_target): Update.
1018 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
1021 2014-02-19 Tom Tromey <tromey@redhat.com>
1023 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
1025 (target_get_raw_trace_data): Add argument.
1026 * target.c (update_current_target): Update.
1027 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
1029 2014-02-19 Tom Tromey <tromey@redhat.com>
1031 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1033 (target_upload_trace_state_variables): Add argument.
1034 * target.c (update_current_target): Update.
1035 * remote.c (remote_upload_trace_state_variables): Add 'self'
1037 (remote_start_remote): Update.
1039 2014-02-19 Tom Tromey <tromey@redhat.com>
1041 * target.h (struct target_ops) <to_upload_tracepoints>: Add
1043 (target_upload_tracepoints): Add argument.
1044 * target.c (update_current_target): Update.
1045 * remote.c (remote_upload_tracepoints): Add 'self' argument.
1046 (remote_start_remote): Update.
1048 2014-02-19 Tom Tromey <tromey@redhat.com>
1050 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
1051 (target_save_trace_data): Add argument.
1052 * target.c (update_current_target): Update.
1053 * remote.c (remote_save_trace_data): Add 'self' argument.
1055 2014-02-19 Tom Tromey <tromey@redhat.com>
1057 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
1059 * target.h (struct target_ops)
1060 <to_get_trace_state_variable_value>: Add argument.
1061 (target_get_trace_state_variable_value): Add argument.
1062 * target.c (update_current_target): Update.
1063 * remote.c (remote_get_trace_state_variable_value): Add 'self'
1065 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
1067 2014-02-19 Tom Tromey <tromey@redhat.com>
1069 * tracepoint.c (tfile_trace_find): Add 'self' argument.
1070 * target.h (struct target_ops) <to_trace_find>: Add argument.
1071 (target_trace_find): Add argument.
1072 * target.c (update_current_target): Update.
1073 * remote.c (remote_trace_find): Add 'self' argument.
1074 * ctf.c (ctf_trace_find): Add 'self' argument.
1076 2014-02-19 Tom Tromey <tromey@redhat.com>
1078 * target.h (struct target_ops) <to_trace_stop>: Add argument.
1079 (target_trace_stop): Add argument.
1080 * target.c (update_current_target): Update.
1081 * remote.c (remote_trace_stop): Add 'self' argument.
1083 2014-02-19 Tom Tromey <tromey@redhat.com>
1085 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
1086 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
1088 (target_get_tracepoint_status): Add argument.
1089 * target.c (update_current_target): Update.
1090 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
1092 2014-02-19 Tom Tromey <tromey@redhat.com>
1094 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
1095 * target.h (struct target_ops) <to_get_trace_status>: Add
1097 (target_get_trace_status): Add argument.
1098 * target.c (update_current_target): Update.
1099 * remote.c (remote_get_trace_status): Add 'self' argument.
1100 (remote_start_remote, remote_can_download_tracepoint): Update.
1101 * ctf.c (ctf_get_trace_status): Add 'self' argument.
1103 2014-02-19 Tom Tromey <tromey@redhat.com>
1105 * target.h (struct target_ops) <to_trace_start>: Add argument.
1106 (target_trace_start): Add argument.
1107 * target.c (update_current_target): Update.
1108 * remote.c (remote_trace_start): Add 'self' argument.
1110 2014-02-19 Tom Tromey <tromey@redhat.com>
1112 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1114 (target_trace_set_readonly_regions): Add argument.
1115 * target.c (update_current_target): Update.
1116 * remote.c (remote_trace_set_readonly_regions): Add 'self'
1119 2014-02-19 Tom Tromey <tromey@redhat.com>
1121 * target.h (struct target_ops) <to_disable_tracepoint>: Add
1123 (target_disable_tracepoint): Add argument.
1124 * target.c (update_current_target): Update.
1125 * remote.c (remote_disable_tracepoint): Add 'self' argument.
1127 2014-02-19 Tom Tromey <tromey@redhat.com>
1129 * target.h (struct target_ops) <to_enable_tracepoint>: Add
1131 (target_enable_tracepoint): Add argument.
1132 * target.c (update_current_target): Update.
1133 * remote.c (remote_enable_tracepoint): Add 'self' argument.
1135 2014-02-19 Tom Tromey <tromey@redhat.com>
1137 * target.h (struct target_ops) <to_download_trace_state_variable>:
1139 (target_download_trace_state_variable): Add argument.
1140 * target.c (update_current_target): Update.
1141 * remote.c (remote_download_trace_state_variable): Add 'self'
1144 2014-02-19 Tom Tromey <tromey@redhat.com>
1146 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
1148 (target_can_download_tracepoint): Add argument.
1149 * target.c (update_current_target): Update.
1150 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
1152 2014-02-19 Tom Tromey <tromey@redhat.com>
1154 * target.h (struct target_ops) <to_download_tracepoint>: Add
1156 (target_download_tracepoint): Add argument.
1157 * target.c (update_current_target): Update.
1158 * remote.c (remote_download_tracepoint): Add 'self' argument.
1160 2014-02-19 Tom Tromey <tromey@redhat.com>
1162 * target.h (struct target_ops) <to_trace_init>: Add argument.
1163 (target_trace_init): Add argument.
1164 * target.c (update_current_target): Update.
1165 * remote.c (remote_trace_init): Add 'self' argument.
1167 2014-02-19 Tom Tromey <tromey@redhat.com>
1169 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1170 * target.c (target_fileio_readlink): Add argument.
1171 * remote.c (remote_hostio_readlink): Add 'self' argument.
1172 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1174 2014-02-19 Tom Tromey <tromey@redhat.com>
1176 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1177 * target.c (target_fileio_unlink): Add argument.
1178 * remote.c (remote_hostio_unlink): Add 'self' argument.
1179 (remote_file_delete): Update.
1180 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1182 2014-02-19 Tom Tromey <tromey@redhat.com>
1184 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1185 * target.c (target_fileio_close): Add argument.
1186 * remote.c (remote_hostio_close): Add 'self' argument.
1187 (remote_hostio_close_cleanup): Update.
1188 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1190 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1192 2014-02-19 Tom Tromey <tromey@redhat.com>
1194 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1195 * target.c (target_fileio_pread): Add argument.
1196 * remote.c (remote_hostio_pread): Add 'self' argument.
1197 (remote_bfd_iovec_pread, remote_file_get): Update.
1198 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1200 2014-02-19 Tom Tromey <tromey@redhat.com>
1202 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1203 * target.c (target_fileio_pwrite): Add argument.
1204 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1205 (remote_file_put): Update.
1206 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1208 2014-02-19 Tom Tromey <tromey@redhat.com>
1210 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1211 * target.c (target_fileio_open): Add argument.
1212 * remote.c (remote_hostio_open): Add 'self' argument.
1213 (remote_bfd_iovec_open): Add 'self' argument.
1214 (remote_file_put): Add 'self' argument.
1215 (remote_file_get): Add 'self' argument.
1216 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1218 2014-02-19 Tom Tromey <tromey@redhat.com>
1220 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1222 (target_can_run_breakpoint_commands): Add argument.
1223 * target.c (update_current_target): Update.
1224 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1226 (remote_insert_breakpoint): Add 'self' argument.
1227 (remote_insert_hw_breakpoint): Add 'self' argument.
1228 (remote_can_run_breakpoint_commands): Add 'self' argument.
1230 2014-02-19 Tom Tromey <tromey@redhat.com>
1232 * target.h (struct target_ops)
1233 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1234 (target_supports_evaluation_of_breakpoint_conditions): Add
1236 * target.c (update_current_target): Update.
1237 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1239 (remote_insert_breakpoint): Add 'self' argument.
1240 (remote_insert_hw_breakpoint): Add 'self' argument.
1241 (remote_supports_cond_breakpoints): Add 'self' argument.
1243 2014-02-19 Tom Tromey <tromey@redhat.com>
1245 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1247 (target_supports_string_tracing): Add argument.
1248 * target.c (update_current_target): Update.
1249 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1251 2014-02-19 Tom Tromey <tromey@redhat.com>
1253 * target.h (struct target_ops)
1254 <to_supports_disable_randomization>: Add argument.
1255 * target.c (find_default_supports_disable_randomization): Add
1257 (target_supports_disable_randomization): Add argument.
1258 (find_default_supports_disable_randomization): Add 'self'
1260 * remote.c (extended_remote_supports_disable_randomization): Add
1262 (remote_supports_disable_randomization): Add 'self' argument.
1263 (extended_remote_create_inferior): Update.
1264 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1267 2014-02-19 Tom Tromey <tromey@redhat.com>
1269 * target.h (struct target_ops)
1270 <to_supports_enable_disable_tracepoint>: Add argument.
1271 (target_supports_enable_disable_tracepoint): Add argument.
1272 * target.c (update_current_target): Update.
1273 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1276 2014-02-19 Tom Tromey <tromey@redhat.com>
1278 * target.h (struct target_ops) <to_supports_multi_process>: Add
1280 (target_supports_multi_process): Add argument.
1281 * target.c (update_current_target): Update.
1282 * remote.c (remote_supports_multi_process): Add 'self' argument.
1283 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1285 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1288 2014-02-19 Tom Tromey <tromey@redhat.com>
1290 * target.h (struct target_ops) <to_execution_direction>: Add
1292 (target_execution_direction): Add argument.
1293 * target.c (default_execution_direction): Add 'self' argument.
1294 * record-full.c (record_full_execution_direction): Add 'self'
1297 2014-02-19 Tom Tromey <tromey@redhat.com>
1299 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1301 (target_can_execute_reverse): Add argument.
1302 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1303 * record-full.c (record_full_can_execute_reverse): Add 'self'
1305 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1308 2014-02-19 Tom Tromey <tromey@redhat.com>
1310 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1311 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1313 (target_get_ada_task_ptid): Add argument.
1314 * target.c (update_current_target): Update.
1315 (default_get_ada_task_ptid): Add 'self' argument.
1316 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1317 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1318 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1320 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1322 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1324 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1326 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1327 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1330 2014-02-19 Tom Tromey <tromey@redhat.com>
1332 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1333 (target_goto_bookmark): Add argument.
1334 * target.c (dummy_goto_bookmark): Add 'self' argument.
1335 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1337 2014-02-19 Tom Tromey <tromey@redhat.com>
1339 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1340 (target_get_bookmark): Add argument.
1341 * target.c (dummy_get_bookmark): Add 'self' argument.
1342 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1344 2014-02-19 Tom Tromey <tromey@redhat.com>
1346 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1348 (target_make_corefile_notes): Add argument.
1349 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1350 * procfs.c (procfs_make_note_section): Add 'self' argument.
1351 (procfs_make_note_section): Add 'self' argument.
1352 (procfs_make_note_section): Add 'self' argument.
1353 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1355 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1356 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1357 * exec.c (exec_make_note_section): Add 'self' argument.
1358 (exec_make_note_section): Add 'self' argument.
1360 2014-02-19 Tom Tromey <tromey@redhat.com>
1362 * target.h (struct target_ops) <to_find_memory_regions>: Add
1364 (target_find_memory_regions): Add argument.
1365 * target.c (dummy_find_memory_regions): Add 'self' argument.
1366 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1367 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1368 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1369 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1370 * exec. (exec_do_find_memory_regions): New global.
1371 (exec_set_find_memory_regions): Rewrite.
1372 (exec_find_memory_regions): New function.
1373 (init_exec_ops): Use exec_find_memory_regions.
1375 2014-02-19 Tom Tromey <tromey@redhat.com>
1377 * target.h (struct target_ops) <to_supports_non_stop>: Add
1379 * target.c (find_default_supports_non_stop): Add argument.
1380 (target_supports_non_stop): Add argument.
1381 (find_default_supports_non_stop): Add 'self' argument.
1382 * remote.c (remote_supports_non_stop): Add 'self' argument.
1383 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1385 2014-02-19 Tom Tromey <tromey@redhat.com>
1387 * target.h (struct target_ops) <to_log_command>: Add argument.
1388 (target_log_command): Add argument.
1389 * serial.h (serial_log_command): Add 'self' argument.
1390 * serial.c (serial_log_command): Add 'self' argument.
1392 2014-02-19 Tom Tromey <tromey@redhat.com>
1394 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1395 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1397 (target_pid_to_exec_file): Add argument.
1398 * target.c (debug_to_pid_to_exec_file): Add argument.
1399 (update_current_target): Update.
1400 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1401 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1402 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1403 (linux_handle_extended_wait): Update.
1404 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1405 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1406 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1407 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1409 2014-02-19 Tom Tromey <tromey@redhat.com>
1411 * target.h (struct target_ops) <to_rcmd>: Add argument.
1412 (target_rcmd): Add argument.
1413 * target.c (debug_to_rcmd): Add argument.
1414 (update_current_target, do_monitor_command): Update.
1415 * remote.c (remote_rcmd): Add 'self' argument.
1416 * monitor.c (monitor_rcmd): Add 'self' argument.
1418 2014-02-19 Tom Tromey <tromey@redhat.com>
1420 * windows-nat.c (windows_stop): Add 'self' argument.
1421 * target.h (struct target_ops) <to_stop>: Add argument.
1422 * target.c (target_stop): Add argument.
1423 (debug_to_stop): Add argument.
1424 (update_current_target): Update.
1425 * remote.c (remote_stop): Add 'self' argument.
1426 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1427 (gdbsim_cntrl_c): Update.
1428 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1429 * procfs.c (procfs_stop): Add 'self' argument.
1430 * nto-procfs.c (procfs_stop): Add 'self' argument.
1431 * monitor.c (monitor_stop): Add 'self' argument.
1432 (monitor_open): Update.
1433 * linux-nat.c (linux_nat_stop): Add argument.
1434 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1435 * gnu-nat.c (gnu_stop): Add 'self' argument.
1436 * darwin-nat.c (darwin_stop): Add 'self' argument.
1438 2014-02-19 Tom Tromey <tromey@redhat.com>
1440 * target.h (struct target_ops) <to_thread_name>: Add argument.
1441 * target.c (target_thread_name): Add argument.
1442 (update_current_target): Update.
1443 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
1445 2014-02-19 Tom Tromey <tromey@redhat.com>
1447 * target.h (struct target_ops) <to_extra_thread_info>: Add
1449 (target_extra_thread_info): Add argument.
1450 * target.c (update_current_target): Update.
1451 * remote.c (remote_threads_extra_info): Add 'self' argument.
1452 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
1454 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
1455 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
1456 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
1458 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
1460 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
1462 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
1465 2014-02-19 Tom Tromey <tromey@redhat.com>
1467 * target.h (struct target_ops) <to_program_signals>: Add argument.
1468 * target.c (target_program_signals): Add argument.
1469 * remote.c (remote_program_signals): Add 'self' argument.
1471 2014-02-19 Tom Tromey <tromey@redhat.com>
1473 * target.h (struct target_ops) <to_pass_signals>: Add argument.
1474 * target.c (target_pass_signals): Add argument.
1475 * remote.c (remote_pass_signals): Add 'self' argument.
1476 (remote_start_remote): Update.
1477 * procfs.c (procfs_pass_signals): Add 'self' argument.
1478 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
1479 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
1480 (linux_nat_create_inferior, linux_nat_attach): Update.
1482 2014-02-19 Tom Tromey <tromey@redhat.com>
1484 * windows-nat.c (windows_can_run): Add 'self' argument.
1485 * target.h (struct target_ops) <to_can_run>: Add argument.
1486 (target_can_run): Add argument.
1487 * target.c (debug_to_can_run): Add argument.
1488 (update_current_target): Update.
1489 * nto-procfs.c (procfs_can_run): Add 'self' argument.
1490 * inf-child.c (inf_child_can_run): Add 'self' argument.
1491 * go32-nat.c (go32_can_run): Add 'self' argument.
1493 2014-02-19 Tom Tromey <tromey@redhat.com>
1495 * target.h (struct target_ops) <to_has_exited>: Add argument.
1496 (target_has_exited): Add argument.
1497 * target.c (debug_to_has_exited): Add argument.
1498 (update_current_target): Update.
1500 2014-02-19 Tom Tromey <tromey@redhat.com>
1502 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
1504 (target_set_syscall_catchpoint): Add argument.
1505 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
1507 * target.c (update_current_target): Update.
1509 2014-02-19 Tom Tromey <tromey@redhat.com>
1511 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
1513 (target_remove_exec_catchpoint): Add argument.
1514 * target.c (debug_to_remove_exec_catchpoint): Add argument.
1515 (update_current_target): Update.
1516 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
1519 2014-02-19 Tom Tromey <tromey@redhat.com>
1521 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
1523 (target_insert_exec_catchpoint): Add argument.
1524 * target.c (debug_to_insert_exec_catchpoint): Add argument.
1525 (update_current_target): Update.
1526 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
1529 2014-02-19 Tom Tromey <tromey@redhat.com>
1531 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
1533 (target_remove_vfork_catchpoint): Add argument.
1534 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
1535 (update_current_target): Update.
1536 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
1539 2014-02-19 Tom Tromey <tromey@redhat.com>
1541 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
1543 (target_insert_vfork_catchpoint): Add argument.
1544 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
1545 (update_current_target): Update.
1546 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
1549 2014-02-19 Tom Tromey <tromey@redhat.com>
1551 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
1553 (target_remove_fork_catchpoint): Add argument.
1554 * target.c (debug_to_remove_fork_catchpoint): Add argument.
1555 (update_current_target): Update.
1556 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
1559 2014-02-19 Tom Tromey <tromey@redhat.com>
1561 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
1563 (target_insert_fork_catchpoint): Add argument.
1564 * target.c (debug_to_insert_fork_catchpoint): Add argument.
1565 (update_current_target): Update.
1566 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
1569 2014-02-19 Tom Tromey <tromey@redhat.com>
1571 * target.h (struct target_ops) <to_post_startup_inferior>: Add
1573 (target_post_startup_inferior): Add argument.
1574 * target.c (debug_to_post_startup_inferior): Add argument.
1575 (update_current_target): Update.
1576 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
1578 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
1580 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
1582 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
1584 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
1586 (super_post_startup_inferior): Likewise.
1587 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
1589 (super_post_startup_inferior): Likewise.
1590 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
1591 Add 'self' argument.
1592 (super_post_startup_inferior): Likewise.
1594 2014-02-19 Tom Tromey <tromey@redhat.com>
1596 * target.h (struct target_ops) <to_load>: Add argument.
1597 * target.c (target_load): Add argument.
1598 (debug_to_load): Add argument.
1599 (update_current_target): Update.
1600 * remote.c (remote_load): Add 'self' argument.
1601 * remote-sim.c (gdbsim_load): Add 'self' argument.
1602 * remote-mips.c (mips_load): Add 'self' argument.
1603 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
1604 * monitor.c (monitor_load): Add 'self' argument.
1605 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
1607 2014-02-19 Tom Tromey <tromey@redhat.com>
1609 * target.h (struct target_ops) <to_terminal_info>: Add argument.
1610 (target_terminal_info): Add argument.
1611 * target.c (debug_to_terminal_info): Add argument.
1612 (default_terminal_info): Likewise.
1613 * inflow.c (child_terminal_info): Add 'self' argument.
1614 * inferior.h (child_terminal_info): Add 'self' argument.
1615 * go32-nat.c (go32_terminal_info): Add 'self' argument.
1617 2014-02-19 Tom Tromey <tromey@redhat.com>
1619 * target.h (struct target_ops) <to_terminal_save_ours>: Add
1621 (target_terminal_save_ours): Add argument.
1622 * target.c (debug_to_terminal_save_ours): Add argument.
1623 (update_current_target): Update.
1624 * inflow.c (terminal_save_ours): Add 'self' argument.
1625 * inferior.h (terminal_save_ours): Add 'self' argument.
1627 2014-02-19 Tom Tromey <tromey@redhat.com>
1629 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
1630 (target_terminal_ours): Add argument.
1631 * target.c (debug_to_terminal_ours): Add argument.
1632 (update_current_target): Update.
1633 * remote.c (remote_terminal_ours): Add 'self' argument.
1634 (remote_close): Update.
1635 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
1636 * inflow.c (terminal_ours): Add 'self' argument.
1637 * inferior.h (terminal_ours): Add 'self' argument.
1638 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1640 2014-02-19 Pedro Alves <palves@redhat.com>
1641 Tom Tromey <tromey@redhat.com>
1643 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
1645 (target_terminal_ours_for_output): Add argument.
1646 * target.c (debug_to_terminal_ours_for_output): Add argument.
1647 (update_current_target): Update.
1648 * inflow.c (terminal_ours_for_output): Add 'self' argument.
1649 * inferior.h (terminal_ours_for_output): Add 'self' argument.
1650 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1652 2014-02-19 Tom Tromey <tromey@redhat.com>
1654 * target.h (struct target_ops) <to_terminal_inferior>: Add
1656 * target.c (target_terminal_inferior): Add argument.
1657 (update_current_target): Update.
1658 * remote.c (remote_terminal_inferior): Add 'self' argument.
1659 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
1660 * inflow.c (terminal_inferior): Add 'self' argument.
1661 * inferior.h (terminal_inferior): Add 'self' argument.
1662 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
1663 (go32_terminal_inferior): Add 'self' argument.
1665 2014-02-19 Tom Tromey <tromey@redhat.com>
1667 * target.h (struct target_ops) <to_terminal_init>: Add argument.
1668 (target_terminal_init): Add argument.
1669 * target.c (debug_to_terminal_init): Add argument.
1670 (update_current_target): Update.
1671 * inflow.c (terminal_init_inferior): Add 'self' argument.
1672 * inferior.h (terminal_init_inferior): Add 'self' argument.
1673 * go32-nat.c (go32_terminal_init): Add 'self' argument.
1674 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
1676 2014-02-19 Tom Tromey <tromey@redhat.com>
1678 * target.h (struct target_ops)
1679 <to_can_accel_watchpoint_condition>: Add argument.
1680 (target_can_accel_watchpoint_condition): Add argument.
1681 * target.c (debug_to_can_accel_watchpoint_condition): Add
1683 (update_current_target): Update.
1684 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
1687 2014-02-19 Tom Tromey <tromey@redhat.com>
1689 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1691 (target_region_ok_for_hw_watchpoint): Add argument.
1692 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
1693 (default_region_ok_for_hw_watchpoint): Add argument.
1694 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
1695 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
1697 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
1699 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
1701 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
1703 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
1705 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
1707 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
1708 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
1710 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
1711 Add 'self' argument.
1713 2014-02-19 Tom Tromey <tromey@redhat.com>
1715 * target.h (struct target_ops) <to_insert_watchpoint>: Add
1717 (target_insert_watchpoint): Add argument.
1718 * target.c (debug_to_insert_watchpoint): Add argument.
1719 (update_current_target): Update.
1720 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
1721 * remote.c (remote_insert_watchpoint): Add 'self' argument.
1722 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
1723 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
1724 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
1725 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
1727 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
1728 (procfs_insert_hw_watchpoint): Add 'self' argument.
1729 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
1731 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
1733 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
1735 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
1736 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
1738 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
1741 2014-02-19 Tom Tromey <tromey@redhat.com>
1743 * target.h (struct target_ops) <to_remove_watchpoint>: Add
1745 (target_remove_watchpoint): Add argument.
1746 * target.c (debug_to_remove_watchpoint): Add argument.
1747 (update_current_target): Update.
1748 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
1749 * remote.c (remote_remove_watchpoint): Add 'self' argument.
1750 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
1751 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
1752 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
1753 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
1755 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
1756 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
1758 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
1760 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
1762 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
1763 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
1765 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
1768 2014-02-19 Tom Tromey <tromey@redhat.com>
1770 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
1772 (target_remove_hw_breakpoint): Add argument.
1773 * target.c (debug_to_remove_hw_breakpoint): Add argument.
1774 (update_current_target): Update.
1775 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
1776 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
1778 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
1779 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
1781 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
1784 2014-02-19 Tom Tromey <tromey@redhat.com>
1786 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
1788 (target_insert_hw_breakpoint): Add argument.
1789 * target.c (debug_to_insert_hw_breakpoint): Add argument.
1790 (update_current_target): Update.
1791 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
1792 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
1794 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
1795 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
1796 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
1798 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
1801 2014-02-19 Tom Tromey <tromey@redhat.com>
1803 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
1805 (target_can_use_hardware_watchpoint): Add argument.
1806 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
1807 (update_current_target): Update.
1808 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
1810 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
1812 * remote.c (remote_check_watch_resources): Add 'self' argument.
1813 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
1814 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
1816 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
1817 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
1819 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
1821 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
1823 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
1825 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
1827 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
1829 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
1830 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
1832 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
1835 2014-02-19 Tom Tromey <tromey@redhat.com>
1837 * target.h (struct target_ops) <to_post_attach>: Add argument.
1838 (target_post_attach): Add argument.
1839 * target.c (debug_to_post_attach): Add argument.
1840 (update_current_target): Update.
1841 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
1842 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
1843 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
1844 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
1845 * inf-child.c (inf_child_post_attach): Add 'self' argument.
1847 2014-02-19 Tom Tromey <tromey@redhat.com>
1849 * windows-nat.c (windows_close): Add 'self' argument.
1850 * tracepoint.c (tfile_close): Add 'self' argument.
1851 * target.h (struct target_ops) <to_close>: Add argument.
1852 * target.c (target_close): Add argument.
1853 (update_current_target): Update.
1854 * remote.c (remote_close): Add 'self' argument.
1855 * remote-sim.c (gdbsim_close): Add 'self' argument.
1856 * remote-mips.c (mips_close): Add 'self' argument.
1857 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
1858 * record-full.c (record_full_close): Add 'self' argument.
1859 * record-btrace.c (record_btrace_close): Add 'self' argument.
1860 * monitor.h (monitor_close): Add 'self' argument.
1861 * monitor.c (monitor_close): Add 'self' argument.
1862 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
1863 * linux-nat.c (linux_nat_close): Add argument.
1864 * go32-nat.c (go32_close): Add 'self' argument.
1865 * exec.c (exec_close_1): Add 'self' argument.
1866 * ctf.c (ctf_close): Add 'self' argument.
1867 * corelow.c (core_close): Add 'self' argument.
1868 (core_close_cleanup): Update.
1869 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
1870 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
1872 2014-02-19 Tom Tromey <tromey@redhat.com>
1874 * remote.c (remote_load): New function.
1875 (init_remote_ops): Use it.
1877 2014-02-19 Tom Tromey <tromey@redhat.com>
1879 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
1881 * common/linux-btrace.h (linux_supports_btrace): Update.
1882 * remote.c (remote_supports_btrace): Add "self" argument.
1883 * target-delegates.c: Rebuild.
1884 * target.c (target_supports_btrace): Remove.
1885 * target.h (struct target_ops) <to_supports_btrace>: Add
1886 target_ops argument.
1887 (target_supports_btrace): New define.
1889 2014-02-19 Tom Tromey <tromey@redhat.com>
1891 * record-full.c (record_full_beneath_to_resume_ops)
1892 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
1893 (record_full_beneath_to_wait)
1894 (record_full_beneath_to_store_registers_ops)
1895 (record_full_beneath_to_store_registers)
1896 (record_full_beneath_to_xfer_partial_ops)
1897 (record_full_beneath_to_xfer_partial)
1898 (record_full_beneath_to_insert_breakpoint_ops)
1899 (record_full_beneath_to_insert_breakpoint)
1900 (record_full_beneath_to_remove_breakpoint_ops)
1901 (record_full_beneath_to_remove_breakpoint)
1902 (record_full_beneath_to_stopped_by_watchpoint)
1903 (record_full_beneath_to_stopped_data_address)
1904 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
1905 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
1906 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
1907 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
1908 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
1909 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
1910 (tmp_to_stopped_data_address, tmp_to_async): Remove.
1911 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
1912 (record_full_resume, record_full_wait_1)
1913 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
1914 (record_full_store_registers, record_full_xfer_partial)
1915 (record_full_insert_breakpoint, record_full_remove_breakpoint)
1916 (record_full_async, record_full_core_xfer_partial): Use target
1918 * target-delegates.c: Rebuild.
1919 * target.c (current_xfer_partial): Remove.
1920 (update_current_target): Do not INHERIT or de_fault
1921 to_insert_breakpoint, to_remove_breakpoint,
1922 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
1923 to_is_async_p, to_async. Do not set to_xfer_partial field.
1924 (default_xfer_partial): Simplify.
1925 (current_xfer_partial): Remove.
1926 (target_wait, target_resume): Simplify.
1927 (find_default_can_async_p, find_default_is_async_p): Update.
1928 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
1929 to_xfer_partial, to_stopped_by_watchpoint,
1930 to_stopped_data_address.
1931 (target_store_registers): Simplify.
1932 (forward_target_remove_breakpoint)
1933 (forward_target_insert_breakpoint): Remove.
1934 (target_remove_breakpoint, target_insert_breakpoint)
1935 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
1936 * target.h (struct target_ops) <to_resume, to_wait,
1937 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
1938 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
1939 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
1941 (forward_target_remove_breakpoint)
1942 (forward_target_insert_breakpoint): Remove.
1943 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
1945 (record_btrace_insert_breakpoint): Delegate directly.
1947 2014-02-19 Tom Tromey <tromey@redhat.com>
1950 * target-delegates.c: New file.
1951 * target.c: Include target-delegates.c.
1952 (init_dummy_target): Call install_dummy_methods.
1953 (complete_target_initialization): Call install_delegators.
1954 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
1955 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
1956 * make-target-delegates: New file.
1958 2014-02-19 Tom Tromey <tromey@redhat.com>
1960 * record.c (find_record_target): Use find_target_at.
1961 * target.c (find_target_at): New function.
1962 * target.h (find_target_at): Declare.
1964 2014-02-19 Tom Tromey <tromey@redhat.com>
1966 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
1968 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
1970 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
1971 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
1973 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
1975 * linux-nat.c (save_sigtrap): Update.
1976 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
1977 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
1978 (linux_nat_close): Update.
1979 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
1981 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
1983 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
1984 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
1985 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
1986 (tmp_to_async): Add 'ops' argument.
1987 (record_full_stopped_by_watchpoint, record_full_async)
1988 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
1990 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
1991 (m32r_stopped_by_watchpoint): Add 'ops' argument.
1992 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
1993 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
1994 (remote_is_async_p, remote_async): Add 'ops' argument.
1995 (remote_stopped_data_address): Update.
1996 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
1997 * target.c (update_current_target)
1998 (find_default_can_async_p, find_default_is_async_p): Update.
1999 (init_dummy_target): Update.
2000 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
2001 * target.h (struct target_ops) <to_stopped_by_watchpoint,
2002 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
2003 (target_can_async_p, target_is_async_p, target_async)
2004 (target_stopped_by_watchpoint): Update.
2006 2014-02-19 Yao Qi <yao@codesourcery.com>
2009 * gdbarch.sh: Remove startup_gdbarch.
2010 * gdbarch.c: Regenerated.
2011 * gdbarch.h: Likewise.
2013 2014-02-17 Kevin Buettner <kevinb@redhat.com>
2015 * rl78-tdep.c (rl78_g10_register_name): New function.
2016 (rl78_return_value): Add g10 support.
2017 (rl78_gdbarch_init): Register rl78_g10_register_name for the
2020 2014-02-17 Doug Evans <xdje42@gmail.com>
2022 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
2023 (SUBDIR_GUILE_SRCS): Ditto.
2024 (scm-gsmob.o): Ditto.
2026 2014-02-17 Yao Qi <yao@codesourcery.com>
2028 * gnu-nat.c (ILL_RPC): Declare defined function.
2030 2014-02-17 Yao Qi <yao@codesourcery.com>
2032 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
2033 mach_msg_type_number_t.
2034 (gnu_write_inferior): Likewise.
2036 2014-02-17 Yao Qi <yao@codesourcery.com>
2038 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
2040 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
2041 (inf_validate_procs, inf_signal): Likewise.
2042 (S_exception_raise_request): Likewise.
2043 (do_mach_notify_dead_name): Likewise.
2044 (steal_exc_port): Likewise.
2045 (gnu_read_inferior): Change 'copy_count''s type to
2046 mach_msg_type_number_t.
2047 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
2050 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
2052 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
2053 flag. Adjust all users; in particular...
2054 (gnu_wait): ..., don't decrement its value in here...
2055 (gnu_create_inferior): ..., and instead set the flag in here,
2056 around the startup_inferior call, and call that one with
2057 START_INFERIOR_TRAPS_EXPECTED.
2059 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
2060 (ILL_RPC): ... new macro.
2061 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
2062 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
2063 (do_mach_notify_send_once, S_proc_setmsgport_reply)
2064 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
2065 functions with ILL_RPC macro.
2066 (S_proc_pid2task_reply, S_proc_task2pid_reply)
2067 (S_proc_task2proc_reply, S_proc_proc2task_reply)
2068 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
2069 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
2070 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
2071 (S_proc_getlogin_reply, S_proc_getsid_reply)
2072 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
2073 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
2074 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
2075 (S_proc_getnports_reply, S_proc_is_important_reply)
2076 (S_proc_get_code_reply): New stub functions, generated with
2079 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
2080 collected the type check structures.
2082 * reply_mig_hack.awk: Don't expect to see the auto keyword.
2084 2014-02-14 Doug Evans <dje@google.com>
2086 * target.c (target_write_partial): Fix result type.
2088 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2090 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
2091 the proper offsets to access fpregset_t.
2093 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
2095 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
2096 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
2097 * h8300-tdep.c (setmachinelist): Remove global.
2098 * hppa-tdep.c (hppa_sigtramp): Remove global.
2099 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
2100 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
2101 * ravenscar-thread.c (update_target_observer): Remove global.
2102 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
2104 2014-02-12 Tom Tromey <tromey@redhat.com>
2106 * common/rsp-low.c: Update comments.
2107 * common/rsp-low.h: Update comments.
2109 2014-02-12 Tom Tromey <tromey@redhat.com>
2111 * common/rsp-low.c (convert_ascii_to_int): Remove.
2112 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
2114 2014-02-12 Tom Tromey <tromey@redhat.com>
2116 * common/rsp-low.h (unhexify): Don't declare.
2117 * common/rsp-low.c (unhexify): Remove.
2119 2014-02-12 Tom Tromey <tromey@redhat.com>
2121 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
2122 * common/rsp-low.c (convert_int_to_ascii): Remove.
2124 2014-02-12 Tom Tromey <tromey@redhat.com>
2126 * common/rsp-low.h (hexify): Don't declare.
2127 * common/rsp-low.c (hexify): Remove.
2129 2014-02-12 Tom Tromey <tromey@redhat.com>
2131 * common/rsp-low.c (hexify): Never take strlen of argument.
2133 2014-02-12 Tom Tromey <tromey@redhat.com>
2135 * common/rsp-low.c (bin2hex): Never take strlen of argument.
2136 * remote.c (extended_remote_run, remote_rcmd)
2137 (remote_download_trace_state_variable, remote_save_trace_data)
2138 (remote_set_trace_notes): Update.
2139 * tracepoint.c (encode_source_string, tfile_write_status)
2140 (tfile_write_uploaded_tsv): Update.
2142 2014-02-12 Tom Tromey <tromey@redhat.com>
2144 * tracepoint.c: Include rsp-low.h.
2145 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
2146 * remote.c: Include rsp-low.h.
2147 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
2148 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
2149 (remote_unescape_input): Move to common/rsp-low.c.
2150 * common/rsp-low.h: New file.
2151 * common/rsp-low.c: New file.
2152 * Makefile.in (SFILES): Add common/rsp-low.c.
2153 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
2154 (COMMON_OBS): Add rsp-low.o.
2155 (rsp-low.o): New target.
2157 2014-02-12 Tom Tromey <tromey@redhat.com>
2159 * utils.h: Include print-utils.h.
2160 (host_address_to_string, plongest, pulongest, phex, phex_nz)
2161 (int_string, core_addr_to_string, core_addr_to_string_nz)
2162 (hex_string, hex_string_custom): Don't declare.
2163 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2164 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2165 (hex_string_custom, int_string, core_addr_to_string)
2166 (core_addr_to_string_nz, host_address_to_string): Move to
2167 common/print-utils.c.
2168 * common/print-utils.h: New file.
2169 * common/print-utils.c: New file
2170 * Makefile.in (SFILES): Add common/print-utils.c.
2171 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2172 (COMMON_OBS): Add print-utils.o.
2173 (print-utils.o): New target.
2175 2014-02-12 Tom Tromey <tromey@redhat.com>
2177 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2179 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2181 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2183 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2185 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2186 if a PT_IO ptrace request returns sucessfully but indicates that 0
2187 bytes were transferred.
2189 2014-02-12 Pedro Alves <palves@redhat.com>
2190 Kevin Buettner <kevinb@redhat.com>
2192 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2193 TYPE_INSTANCE_FLAG_CODE_SPACE.
2195 2014-02-12 Pedro Alves <palves@redhat.com>
2197 * h8300-tdep.c (pseudo_from_raw_register)
2198 (raw_from_pseudo_register): New functions.
2199 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2202 2014-02-12 Pedro Alves <palves@redhat.com>
2204 * h8300-tdep.c (h8300_register_sim_regno): New function.
2205 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2206 gdbarch_register_sim_regno hook.
2208 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2210 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2212 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2214 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2216 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2218 * obsd-tdep.h (obsd_init_abi): New prototype.
2219 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2220 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2221 (obsd_init_abi): New functions.
2222 * i386obsd-tdep.c: Include "obsd-tdep.h".
2223 (i386obsd_init_abi): Call obsd_init_abi.
2224 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2225 (amd64obsd_init_abi): Call obsd_init_abi.
2226 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2227 obsd-tdep.c to gdb_target_obs.
2229 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2231 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2232 double float arguments to 16-byte in the argument slots.
2234 2014-02-11 Doug Evans <xdje42@gmail.com>
2236 * configure.ac: Don't crash if pkg-config is not found and guile
2237 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2239 * configure: Regenerate.
2241 2014-02-11 Yao Qi <yao@codesourcery.com>
2243 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2244 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2245 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2246 * gnu-nat.c (gnu_xfer_memory): Likewise.
2247 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2248 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2249 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2250 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2252 2014-02-11 Yao Qi <yao@codesourcery.com>
2254 * target.h (enum target_xfer_error): Rename to ...
2255 (enum target_xfer_status): ... it. New. All users updated.
2256 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2258 (TARGET_XFER_STATUS_ERROR_P): New macro.
2259 (target_xfer_error_to_string): Remove declaration.
2260 (target_xfer_status_to_string): Declare.
2261 (target_xfer_partial_ftype): Adjust it.
2262 (struct target_ops) <to_xfer_partial>: Return
2263 target_xfer_status. Add argument xfered_len. Update
2265 * target.c (target_xfer_error_to_string): Rename to ...
2266 (target_xfer_status_to_string): ... it. New. All callers
2268 (target_read_live_memory): Likewise. Call target_xfer_partial
2269 instead of target_read.
2270 (memory_xfer_live_readonly_partial): Return
2271 target_xfer_status. Add argument xfered_len.
2272 (raw_memory_xfer_partial): Likewise.
2273 (memory_xfer_partial_1): Likewise.
2274 (memory_xfer_partial): Likewise.
2275 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2276 properly. Update debug message.
2277 (default_xfer_partial, current_xfer_partial): Likewise.
2278 (target_write_partial): Likewise.
2279 (target_read_partial): Likewise. All callers updated.
2280 (read_whatever_is_readable): Likewise.
2281 (target_write_with_progress): Likewise.
2282 (target_read_alloc_1): Likewise.
2284 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2285 * auxv.c (procfs_xfer_auxv): Likewise.
2286 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2287 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2288 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2289 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2290 * corefile.c (read_memory): Adjust.
2291 * corelow.c (core_xfer_partial): Likewise.
2292 * ctf.c (ctf_xfer_partial): Likewise.
2293 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2295 (darwin_xfer_partial): Likewise.
2296 * exec.c (section_table_xfer_memory_partial): Likewise. All
2298 (exec_xfer_partial): Likewise.
2299 * exec.h (section_table_xfer_memory_partial): Update
2301 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2303 (gnu_xfer_partial): Likewise.
2304 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2305 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2306 (ia64_hpux_xfer_solib_got): Likewise.
2307 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2308 type of 'partial_len' to ULONGEST.
2309 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2310 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2311 (linux_nat_xfer_partial): Likewise.
2312 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2313 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2314 * monitor.c (monitor_xfer_memory): Likewise.
2315 (monitor_xfer_partial): Likewise.
2316 * procfs.c (procfs_xfer_partial): Likewise.
2317 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2318 * record-full.c (record_full_xfer_partial): Likewise.
2319 (record_full_core_xfer_partial): Likewise.
2320 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2321 (gdbsim_xfer_partial): Likewise.
2322 * remote.c (remote_write_bytes_aux): Likewise. All callers
2324 (remote_write_bytes, remote_read_bytes): Likewise. All
2326 (remote_flash_erase): Likewise. All callers updated.
2327 (remote_write_qxfer): Likewise. All callers updated.
2328 (remote_read_qxfer): Likewise. All callers updated.
2329 (remote_xfer_partial): Likewise.
2330 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2331 (rs6000_xfer_shared_libraries): Likewise.
2332 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2333 (sol_thread_xfer_partial): Likewise.
2334 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2335 (sparc_xfer_partial): Likewise.
2336 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2338 (spu_xfer_partial): Likewise.
2339 * spu-multiarch.c (spu_xfer_partial): Likewise.
2340 * tracepoint.c (tfile_xfer_partial): Likewise.
2341 * windows-nat.c (windows_xfer_memory): Likewise.
2342 (windows_xfer_shared_libraries): Likewise.
2343 (windows_xfer_partial): Likewise.
2344 * valprint.c: Replace 'target_xfer_error' with
2345 'target_xfer_status' in comments.
2347 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2349 Checked in by Joel Brobecker <brobecker@adacore.com>.
2350 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2352 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2354 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2355 function parameters.
2357 2014-02-10 Will Newton <will.newton@linaro.org>
2359 * elfread.c (elf_rel_plt_read): Look for a .got section if
2360 looking up .got.plt fails.
2361 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2362 on address passed to elf_gnu_ifunc_record_cache.
2363 (elf_gnu_ifunc_resolve_addr): Likewise.
2364 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2366 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2368 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2369 (X_RETTURN): New macro.
2370 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2372 * sparc64-tdep.c (sparc64_init_abi): Hook
2373 sparc_in_function_epilogue_p.
2375 2014-02-10 Gary Benson <gbenson@redhat.com>
2377 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2378 Rename name_matcher to symbol_matcher.
2380 2014-02-10 Gary Benson <gbenson@redhat.com>
2382 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2383 Use expand_symtabs_file_matcher_ftype and
2384 expand_symtabs_symbol_matcher_ftype.
2386 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2388 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2389 (struct ada_symbol_cache): New.
2390 (ada_free_symbol_cache): Forward declare.
2391 (struct ada_pspace_data): New.
2392 (ada_pspace_data_handle): New static global.
2393 (get_ada_pspace_data, ada_pspace_data_cleanup)
2394 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2395 (cache_space, cache): Delete, now folded inside struct
2397 (ada_get_symbol_cache): New function.
2398 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2400 (_initialize_ada_language): Remove initialization of cache_space.
2401 Move call to observer_attach_inferior_exit up, grouping it
2402 with the other observer registrations inside this function.
2403 Rename command to be more general. Add call to
2404 register_program_space_data_with_cleanup.
2406 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2408 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2409 ada_new_objfile_observer.
2410 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2411 (_initialize_tasks): Update uses of ada_new_objfile_observer
2412 and ada_tasks_normal_stop_observer.
2414 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2416 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2417 returned by the 'Length attribute to integer.
2419 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2421 * ada-lang.c (_initialize_ada_language): Initialize
2422 cache_space obstack.
2424 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2426 * ada-lang.c (HASH_SIZE): New macro.
2427 (struct cache_entry): New type.
2428 (cache_space, cache): New static globals.
2429 (ada_clear_symbol_cache, find_entry): New functions.
2430 (lookup_cached_symbol, cache_symbol): Implement.
2431 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2432 (_initialize_ada_language): Attach ada_new_objfile_observer
2433 and ada_free_objfile_observer.
2435 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2437 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
2438 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
2439 struct block * parameter.
2440 (ada_lookup_symbol_list_worker): Constify local variable "block".
2441 Remove cast which is no longer necessary.
2443 2014-02-10 Doug Evans <xdje42@gmail.com>
2445 Add Guile as an extension language.
2446 * NEWS: Mention Guile scripting.
2447 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
2448 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
2449 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
2450 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
2451 (CLIBS): Add GUILE_LIBS.
2452 (install-guile): New rule.
2453 (guile.o): New rule.
2454 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
2455 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
2456 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
2457 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
2458 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
2459 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
2460 (scm-type.o, scm-utils.o, scm-value.o): New rules.
2461 * configure.ac: New option --with-guile.
2462 * configure: Regenerate.
2463 * config.in: Regenerate.
2464 * auto-load.c: Remove #include "python/python.h". Add #include
2465 "gdb/section-scripts.h".
2466 (source_section_scripts): Handle Guile scripts.
2467 (_initialize_auto_load): Add name of Guile objfile script to
2468 scripts-directory help text.
2469 * breakpoint.c (condition_command): Tweak comment to include Scheme.
2470 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
2471 (struct breakpoint): New member scm_bp_object.
2472 * defs.h (enum command_control_type): New value guile_control.
2473 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
2475 (show_user): Update comment.
2476 (_initialize_cli_cmds): Update help text for "show user". Update help
2477 text for max-user-call-depth.
2478 * cli/cli-script.c: Remove #include "python/python.h". Add #include
2480 (multi_line_command_p): Add guile_control.
2481 (print_command_lines): Handle guile_control.
2482 (execute_control_command, recurse_read_control_structure): Ditto.
2483 (process_next_line): Recognize "guile" commands.
2484 * disasm.c (gdb_disassemble_info): Make non-static.
2485 * disasm.h: #include "dis-asm.h".
2486 (struct gdbarch): Add forward decl.
2487 (gdb_disassemble_info): Declare.
2488 * extension.c: #include "guile/guile.h".
2489 (extension_languages): Add guile.
2490 (get_ext_lang_defn): Handle EXT_LANG_GDB.
2491 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
2492 * gdbtypes.c (get_unsigned_type_max): New function.
2493 (get_signed_type_minmax): New function.
2494 * gdbtypes.h (get_unsigned_type_max): Declare.
2495 (get_signed_type_minmax): Declare.
2496 * guile/README: New file.
2497 * guile/guile-internal.h: New file.
2498 * guile/guile.c: New file.
2499 * guile/guile.h: New file.
2500 * guile/scm-arch.c: New file.
2501 * guile/scm-auto-load.c: New file.
2502 * guile/scm-block.c: New file.
2503 * guile/scm-breakpoint.c: New file.
2504 * guile/scm-disasm.c: New file.
2505 * guile/scm-exception.c: New file.
2506 * guile/scm-frame.c: New file.
2507 * guile/scm-gsmob.c: New file.
2508 * guile/scm-iterator.c: New file.
2509 * guile/scm-lazy-string.c: New file.
2510 * guile/scm-math.c: New file.
2511 * guile/scm-objfile.c: New file.
2512 * guile/scm-ports.c: New file.
2513 * guile/scm-pretty-print.c: New file.
2514 * guile/scm-safe-call.c: New file.
2515 * guile/scm-string.c: New file.
2516 * guile/scm-symbol.c: New file.
2517 * guile/scm-symtab.c: New file.
2518 * guile/scm-type.c: New file.
2519 * guile/scm-utils.c: New file.
2520 * guile/scm-value.c: New file.
2521 * guile/lib/gdb.scm: New file.
2522 * guile/lib/gdb/boot.scm: New file.
2523 * guile/lib/gdb/experimental.scm: New file.
2524 * guile/lib/gdb/init.scm: New file.
2525 * guile/lib/gdb/iterator.scm: New file.
2526 * guile/lib/gdb/printing.scm: New file.
2527 * guile/lib/gdb/types.scm: New file.
2528 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
2529 (VPATH): Add $(GUILE_SRCDIR).
2530 (GUILE_DIR): New variable.
2531 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
2532 (all): Add stamp-guile dependency.
2533 (stamp-guile): New rule.
2534 (clean-guile, install-guile, uninstall-guile): New rules.
2535 (install-only): Add install-guile dependency.
2536 (uninstall): Add uninstall-guile dependency.
2537 (clean): Add clean-guile dependency.
2539 2014-02-09 Doug Evans <xdje42@gmail.com>
2541 Revert this patch (which I approved, mea culpa).
2543 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2545 * Makefile.in (all-lib): Remove.
2546 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2548 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2550 Fix Python stack corruption.
2551 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
2554 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2556 * Makefile.in (all-lib): Remove.
2557 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2559 2014-02-07 Doug Evans <dje@google.com>
2561 * extension-priv.h (extension_language_script_ops): Add comment.
2562 (extension_language_ops): Add comment.
2563 (active_ext_lang_state): Fix typo in comment.
2565 2014-02-07 Pedro Alves <palves@redhat.com>
2567 * infrun.c (handle_signal_stop) <signal arrives while stepping
2568 over a breakpoint>: Switch back to the stepping thread.
2570 2014-02-07 Yao Qi <yao@codesourcery.com>
2572 * target.c (target_xfer_partial): Return zero if LEN is zero.
2574 2014-02-07 Yao Qi <yao@codesourcery.com>
2576 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
2577 (ld_so_xfer_auxv): Likewise.
2578 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2579 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2580 * corelow.c (core_xfer_partial): Likewise.
2581 * ctf.c (ctf_xfer_partial): Likewise.
2582 * darwin-nat.c (darwin_read_dyld_info): Likewise.
2583 (darwin_xfer_partial): Likewise.
2584 * exec.c (exec_xfer_partial): Likewise.
2585 * gnu-nat.c (gnu_xfer_partial): Likewise.
2586 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
2587 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2588 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2589 * linux-nat.c (linux_xfer_siginfo): Likewise.
2590 (linux_proc_xfer_spu): Likewise.
2591 * procfs.c (procfs_xfer_partial): Likewise.
2592 * record-full.c (record_full_xfer_partial): Likewise.
2593 (record_full_core_xfer_partial): Likewise.
2594 * remote-sim.c (gdbsim_xfer_partial): Likewise.
2595 * remote.c (remote_write_qxfer): Likewise.
2596 (remote_write_qxfer, remote_read_qxfer): Likewise.
2597 (remote_xfer_partial): Likewise.
2598 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2599 (rs6000_xfer_shared_libraries): Likewise.
2600 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2601 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2602 (spu_xfer_partial): Likewise.
2603 * target.c (memory_xfer_partial_1): Likewise.
2604 * tracepoint.c (tfile_xfer_partial): Likewise.
2605 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
2606 (windows_xfer_partial): Likewise.
2608 2014-02-07 Yao Qi <yao@codesourcery.com>
2610 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
2612 (core_xfer_shared_libraries_aix): Likewise.
2613 * gdbarch.c, gdbarch.h: Regenerated.
2614 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
2615 ULONGEST. Change 'len_avail' type to ULONGEST.
2616 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
2617 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
2619 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
2621 2014-02-07 Yao Qi <yao@codesourcery.com>
2623 * corefile.c (memory_error): Get 'exception' from ERR and pass
2624 'exception' to throw_error.
2626 2014-02-06 Doug Evans <xdje42@gmail.com>
2628 * configure.ac (libpython checking): Remove all but python.o from
2629 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
2630 * configure: Regenerate.
2632 * Makefile.in (SFILES): Add extension.c.
2633 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
2634 (COMMON_OBS): Add extension.o.
2635 * extension.h: New file.
2636 * extension-priv.h: New file.
2637 * extension.c: New file.
2639 * python/python-internal.h: #include "extension.h".
2640 (gdbpy_auto_load_enabled): Declare.
2641 (gdbpy_apply_val_pretty_printer): Declare.
2642 (gdbpy_apply_frame_filter): Declare.
2643 (gdbpy_preserve_values): Declare.
2644 (gdbpy_breakpoint_cond_says_stop): Declare.
2645 (gdbpy_breakpoint_has_cond): Declare.
2646 (void source_python_script_for_objfile): Delete.
2647 * python/python.c: #include "extension-priv.h".
2648 Delete inclusion of "observer.h".
2649 (extension_language_python): Moved here and renamed from
2650 script_language_python in py-auto-load.c.
2651 Redefined to be of type extension_language_defn.
2652 (python_extension_script_ops): New global.
2653 (python_extension_ops): New global.
2654 (struct python_env): New member previous_active.
2655 (restore_python_env): Call restore_active_ext_lang.
2656 (ensure_python_env): Call set_active_ext_lang.
2657 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
2659 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
2661 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
2663 (gdbpy_eval_from_control_command): Renamed from
2664 eval_python_from_control_command, made static. New arg extlang.
2665 (gdbpy_source_script) Renamed from source_python_script, made static.
2667 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
2668 result to int. New arg extlang.
2669 (gdbpy_source_objfile_script): Renamed from
2670 source_python_script_for_objfile, made static. New arg extlang.
2671 (gdbpy_start_type_printers): Renamed from start_type_printers, made
2672 static. New args extlang, extlang_printers. Change result type to
2674 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
2675 static. New arg extlang. Rename arg printers to extlang_printers
2676 and change type to ext_lang_type_printers *.
2677 (gdbpy_free_type_printers): Renamed from free_type_printers, made
2678 static. Replace argument arg with extlang, extlang_printers.
2679 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
2680 (!HAVE_PYTHON, source_python_script): Delete.
2681 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
2682 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
2683 (!HAVE_PYTHON, start_type_printers): Delete.
2684 (!HAVE_PYTHON, apply_type_printers): Delete.
2685 (!HAVE_PYTHON, free_type_printers): Delete.
2686 (_initialize_python): Delete call to observer_attach_before_prompt.
2687 (finalize_python): Set/restore active extension language.
2688 (gdbpy_finish_initialization) Renamed from
2689 finish_python_initialization, made static. New arg extlang.
2690 (gdbpy_initialized): New function.
2691 * python/python.h: #include "extension.h". Delete #include
2692 "value.h", "mi/mi-cmds.h".
2693 (extension_language_python): Declare.
2694 (GDBPY_AUTO_FILE_NAME): Delete.
2695 (enum py_bt_status): Moved to extension.h and renamed to
2697 (enum frame_filter_flags): Moved to extension.h.
2698 (enum py_frame_args): Moved to extension.h and renamed to
2699 ext_lang_frame_args.
2700 (finish_python_initialization): Delete.
2701 (eval_python_from_control_command): Delete.
2702 (source_python_script): Delete.
2703 (apply_val_pretty_printer): Delete.
2704 (apply_frame_filter): Delete.
2705 (preserve_python_values): Delete.
2706 (gdbpy_script_language_defn): Delete.
2707 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
2708 (start_type_printers, apply_type_printers, free_type_printers): Delete.
2710 * auto-load.c: #include "extension.h".
2711 (GDB_AUTO_FILE_NAME): Delete.
2712 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
2713 (script_language_gdb): Delete, moved to extension.c and renamed to
2714 extension_language_gdb.
2715 (source_gdb_script_for_objfile): Delete.
2716 (auto_load_pspace_info): New member unsupported_script_warning_printed.
2717 (loaded_script): Change type of language member to
2718 struct extension_language_defn *.
2719 (init_loaded_scripts_info): Initialize
2720 unsupported_script_warning_printed.
2721 (maybe_add_script): Make static. Change type of language arg to
2722 struct extension_language_defn *.
2723 (clear_section_scripts): Reset unsupported_script_warning_printed.
2724 (auto_load_objfile_script_1): Rewrite to use extension language API.
2725 (auto_load_objfile_script): Make public. Remove support-compiled-in
2726 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
2727 (source_section_scripts): Rewrite to use extension language API.
2728 (load_auto_scripts_for_objfile): Rewrite to use
2729 auto_load_scripts_for_objfile.
2730 (collect_matching_scripts_data): Change type of language member to
2731 struct extension_language_defn *.
2732 (auto_load_info_scripts): Change type of language arg to
2733 struct extension_language_defn *.
2734 (unsupported_script_warning_print): New function.
2735 (script_not_found_warning_print): Make static.
2736 (_initialize_auto_load): Rewrite construction of scripts-directory
2738 * auto-load.h (struct objfile): Add forward decl.
2739 (struct script_language): Delete.
2740 (struct auto_load_pspace_info): Add forward decl.
2741 (struct extension_language_defn): Add forward decl.
2742 (maybe_add_script): Delete.
2743 (auto_load_objfile_script): Declare.
2744 (script_not_found_warning_print): Delete.
2745 (auto_load_info_scripts): Update prototype.
2746 (auto_load_gdb_scripts_enabled): Declare.
2747 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
2748 auto_load_python_scripts_enabled and made public.
2749 (script_language_python): Delete, moved to python.c.
2750 (gdbpy_script_language_defn): Delete.
2751 (info_auto_load_python_scripts): Update to use
2752 extension_language_python.
2754 * breakpoint.c (condition_command): Replace call to
2755 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
2756 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
2757 with call to breakpoint_ext_lang_cond_says_stop.
2758 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
2759 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
2760 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
2761 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
2763 (local_setattro): Print name of extension language with existing
2766 * valprint.c (val_print, value_print): Update to call
2767 apply_ext_lang_val_pretty_printer.
2768 * cp-valprint.c (cp_print_value): Update call to
2769 apply_ext_lang_val_pretty_printer.
2770 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
2771 (gdbpy_apply_val_pretty_printer): Renamed from
2772 apply_val_pretty_printer. New arg extlang.
2773 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
2775 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
2776 extension language API.
2777 * cli/cli-script.c (execute_control_command): Update to call
2778 eval_ext_lang_from_control_command.
2780 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
2781 enum ext_lang_bt_status values. Update call to
2782 apply_ext_lang_frame_filter.
2783 (mi_cmd_stack_list_locals): Ditto.
2784 (mi_cmd_stack_list_args): Ditto.
2785 (mi_cmd_stack_list_variables): Ditto.
2786 * mi/mi-main.c: Delete #include "python/python-internal.h".
2787 Add #include "extension.h".
2788 (mi_cmd_list_features): Replace reference to python internal variable
2789 gdb_python_initialized with call to ext_lang_initialized_p.
2791 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
2792 Update to use enum ext_lang_frame_args. Update to call
2793 apply_ext_lang_frame_filter.
2794 * python/py-framefilter.c (extract_sym): Update to use enum
2796 (extract_value, py_print_type, py_print_value): Ditto.
2797 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
2798 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
2799 (py_print_frame): Ditto.
2800 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
2801 New arg extlang. Update to use enum ext_lang_bt_status.
2803 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
2804 finish_python_initialization. Replace with call to
2805 finish_ext_lang_initialization.
2807 * typeprint.c (do_free_global_table): Update to call
2808 free_ext_lang_type_printers.
2809 (create_global_typedef_table): Update to call
2810 start_ext_lang_type_printers.
2811 (find_global_typedef): Update to call apply_ext_lang_type_printers.
2812 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
2813 (type_print_options): Change type of global_printers from "void *"
2814 to "struct ext_lang_type_printers *".
2816 * value.c (preserve_values): Update to call preserve_ext_lang_values.
2817 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
2818 (gdbpy_preserve_values): Renamed from preserve_python_values.
2820 (!HAVE_PYTHON, preserve_python_values): Delete.
2822 * utils.c (quit_flag): Delete, moved to extension.c.
2823 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
2826 * eval.c: Delete #include "python/python.h".
2827 * main.c: Delete #include "python/python.h".
2829 * defs.h: Update comment.
2831 2014-02-06 Joel Brobecker <brobecker@adacore.com>
2835 2014-02-05 Mark Kettenis <kettenis@gnu.org>
2837 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
2840 2014-02-05 Yao Qi <yao@codesourcery.com>
2842 * remote.c (remote_pass_signals): Remove local 'buf' and use
2844 (remote_program_signals): Likewise.
2846 2014-02-05 Yao Qi <yao@codesourcery.com>
2848 * ctf.c: Include "inferior.h" and "gdbthread.h".
2849 (CTF_PID): A new macro.
2850 (ctf_open): Call inferior_appeared and add_thread_silent.
2851 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
2852 (ctf_thread_alive): New function.
2853 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
2855 2014-02-05 Yao Qi <yao@codesourcery.com>
2859 2013-05-24 Yao Qi <yao@codesourcery.com>
2861 * tracepoint.c (TFILE_PID): Remove.
2862 (tfile_open): Don't add thread and inferior.
2863 (tfile_close): Don't set 'inferior_ptid'. Don't call
2864 exit_inferior_silent.
2865 (tfile_thread_alive): Remove.
2866 (init_tfile_ops): Don't set field 'to_thread_alive' of
2869 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
2871 * remote.c (remote_start_remote): Call remote_check_symbols even
2872 if only symbol-file (not file) has been given.
2874 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2876 * gdbarch.sh (skip_entrypoint): New callback.
2877 * gdbarch.c, gdbarch.h: Regenerate.
2878 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
2879 * infrun.c (fill_in_stop_func): Likewise.
2880 * ppc-linux-tdep.c: Include "elf/ppc64.h".
2881 (ppc_elfv2_elf_make_msymbol_special): New function.
2882 (ppc_elfv2_skip_entrypoint): Likewise.
2883 (ppc_linux_init_abi): Install them for ELFv2.
2885 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2887 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
2888 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
2889 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
2890 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
2891 structures returned in GPRs.
2893 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2895 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
2896 offset to the stack parameter list for the ELFv2 ABI.
2898 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2900 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
2901 set_gdbarch_convert_from_func_ptr_addr and
2902 set_gdbarch_elf_make_msymbol_special for ELFv1.
2903 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
2904 function descriptors on ELFv1.
2905 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
2906 set up r12 at function entry.
2908 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2910 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
2911 (struct gdbarch_tdep): New member elf_abi.
2913 * rs6000-tdep.c: Include "elf/ppc64.h".
2914 (rs6000_gdbarch_init): Detect ELF ABI version.
2916 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2918 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
2919 within a register pair holding a DFP 128-bit value on little-endian.
2920 (ppc64_sysv_abi_return_value_base): Likewise.
2921 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
2922 (dfp_pseudo_register_write): Likewise.
2924 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2926 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
2927 offset on little-endian when passing _Decimal32.
2928 (ppc64_sysv_abi_return_value_base): Likewise for return values.
2930 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2932 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
2933 of the overlapped FP register within the VSX register on little-
2935 (efpr_pseudo_register_write): Likewise.
2937 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2939 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
2940 offset on little-endian when passing small structures.
2942 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2944 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
2945 (struct ppc64_sysv_argpos): New data structure.
2946 (ppc64_sysv_abi_push_float): Remove.
2947 (ppc64_sysv_abi_push_val): New function.
2948 (ppc64_sysv_abi_push_integer): Likewise.
2949 (ppc64_sysv_abi_push_freg): Likewise.
2950 (ppc64_sysv_abi_push_vreg): Likewise.
2951 (ppc64_sysv_abi_push_param): Likewise.
2952 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
2953 (ppc64_sysv_abi_return_value_base): New function.
2954 (ppc64_sysv_abi_return_value): Refactor to use it.
2956 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2958 * NEWS: Document new target powerpc64le-*-linux*.
2960 2014-02-04 Mark Kettenis <kettenis@gnu.org>
2962 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
2963 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
2965 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
2966 register set used in ELF core dumps. Add floating-point register set.
2968 2014-02-03 Kevin Buettner <kevinb@redhat.com>
2970 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
2971 dwarf2_to_gdb[] table using symbolic constants. Adjust
2972 penultimate entry from number representing the PC register
2973 to symbolic constant representing the MDR register. Add
2974 constant for the PC register to the end of the table.
2976 2014-02-03 Mark Kettenis <kettenis@gnu.org>
2978 * bsd-kvm.c: Include <sys/param.h>
2980 2014-02-03 Mark Kettenis <kettenis@gnu.org>
2982 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
2984 2014-01-31 Joel Brobecker <brobecker@adacore.com>
2986 * ada-lang.h (clear_ada_sym_cache): Delete.
2988 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
2990 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
2992 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2994 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
2995 the sigreturn register save area only if the syscall is
2998 2014-01-29 Joel Brobecker <brobecker@adacore.com>
3000 * valops.c (value_slice): Minor reformatting.
3002 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
3004 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
3006 2014-01-28 Joel Brobecker <brobecker@adacore.com>
3008 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
3010 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
3011 (ada_ignore_descriptive_types_p): New static global.
3012 (find_parallel_type_by_descriptive_type): Return immediately
3013 if ada_ignore_descriptive_types_p is set.
3014 (_initialize_ada_language): Register new commands "maintenance
3015 set ada", "maintenance show ada", "maintenance set ada
3016 ignore-descriptive-types" and "maintenance show ada
3017 ignore-descriptive-types".
3018 * NEWS: Add entry for new "maint ada set/show
3019 ignore-descriptive-types" commands.
3021 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
3023 * record-btrace.c (record_btrace_close): Call btrace_teardown
3026 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3028 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
3031 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3033 * ada-typeprint (type_is_full_subrange_of_target_type):
3035 (print_range): Add parameter bounds_prefered_p. If not set,
3036 try printing range types using the name of their base type.
3037 (print_range_type): Add parameter bounds_prefered_p.
3038 Use it in call to print_range.
3039 (print_array_type, ada_print_type): Update calls to print_range
3040 and print_range_type.
3042 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3044 * ada-typeprint.c (print_array_type, print_choices, print_range)
3045 (print_range_bound, print_dynamic_range_bound, print_range_type):
3048 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3050 * ada-typeprint.c (print_range): Add missing empty line
3051 after local declaration.
3053 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3055 * ada-valprint.c (print_optional_low_bound): Get index_type's
3056 target type for as long as it is a TYPE_CODE_RANGE.
3058 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3060 * procfs.c (procfs_make_note_section): Remove assertion and
3063 2014-01-24 Yao Qi <yao@codesourcery.com>
3065 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
3066 * corelow.c (get_core_siginfo): Likewise.
3068 2014-01-24 Yao Qi <yao@codesourcery.com>
3070 * remote.c (remote_write_bytes_aux): Change type of 'len' to
3071 ULONGEST. Don't check 'len' is negative.
3072 (remote_write_bytes): Change type of 'len' to ULONGEST.
3074 2014-01-23 Tom Tromey <tromey@redhat.com>
3077 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
3078 Handle exception from frame.block.
3079 (FrameVars.fetch_frame_locals): Likewise.
3081 2014-01-23 Tom Tromey <tromey@redhat.com>
3084 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
3085 on a NULL pointer. Move "goto error" to correct place.
3087 2014-01-23 Tom Tromey <tromey@redhat.com>
3090 * python/py-framefilter.c (apply_frame_filter): Call
3091 ensure_python_env after computing gdbarch.
3093 2014-01-23 Yao Qi <yao@codesourcery.com>
3095 * target.c (raw_memory_xfer_partial): Change argument type
3096 from void * to gdb_byte *.
3097 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
3099 2014-01-22 Doug Evans <dje@google.com>
3101 New gdbserver option --debug-format=timestamp.
3104 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3106 * syscalls/s390x-linux.xml: New file.
3107 * syscalls/s390-linux.xml: New file.
3108 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
3109 (XML_SYSCALL_FILENAME_S390X): Likewise.
3110 (op_svc): New enum value for SVC opcode.
3111 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
3112 (s390_linux_get_syscall_number): New function.
3113 (s390_gdbarch_init): Register '*get_syscall_number' and the
3114 syscall xml file name.
3115 * data-directory/Makefile.in (SYSCALLS_FILES): Add
3116 "s390-linux.xml" and "s390x-linux.xml".
3117 * NEWS: Announce new feature.
3119 2014-01-22 Baruch Siach <baruch@tkos.co.il>
3121 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
3123 2014-01-22 Pedro Alves <palves@redhat.com>
3125 * xtensa-config.c: Include defs.h.
3127 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3129 * common/common-utils.h: Add "ARI:" comment beside __func__
3132 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3134 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
3135 documentation a bit.
3137 2014-01-21 Roland McGrath <mcgrathr@google.com>
3139 * configure.ac: Call AM_PROG_INSTALL_STRIP.
3140 * configure: Regenerate.
3141 * aclocal.m4: Regenerate.
3142 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
3143 New substituted variables.
3144 (install-strip): New target.
3145 (INSTALL_SCRIPT): New substituted variable.
3146 (FLAGS_TO_PASS): Add it.
3147 (install-only): Use $(INSTALL_SCRIPT) rather than
3148 $(INSTALL_PROGRAM) for gcore.
3150 2014-01-20 Tom Tromey <tromey@redhat.com>
3152 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
3155 2014-01-20 Tom Tromey <tromey@redhat.com>
3157 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
3158 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
3159 (deprecated_cmd_warning, complete_on_cmdlist): Update.
3160 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
3161 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3162 (struct cmd_list_element) <flags>: Remove.
3163 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3164 doc_allocated>: New fields.
3165 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3167 * maint.c (maintenance_do_deprecate): Update.
3168 * top.c (execute_command): Update.
3170 2014-01-20 Baruch Siach <baruch@tkos.co.il>
3172 * xtensa-linux-nat.c: Include asm/ptrace.h.
3174 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3176 * Makefile.in (SFILES): Add d-support.c.
3177 (COMMON_OBS): Add d-support.o.
3178 * d-lang.h (d_parse_symbol): Add comment, now defined in
3180 * d-lang.c (parse_call_convention)
3181 (parse_attributes, parse_function_types)
3182 (parse_function_args, parse_type, parse_identifier)
3183 (call_convention_p, d_parse_symbol): Move functions to ...
3184 * d-support.c: ... New file.
3186 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3188 * d-lang.h (d_parse_symbol): Add declaration.
3189 * d-lang.c (extract_identifiers)
3190 (extract_type_info): Remove functions.
3191 (parse_call_convention, parse_attributes)
3192 (parse_function_types, parse_function_args)
3193 (parse_type, parse_identifier, call_convention_p)
3194 (d_parse_symbol): New functions.
3195 (d_demangle): Use d_parse_symbol to demangle D symbols.
3197 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3199 * d-lang.h (struct builtin_d_type): New data type.
3200 (builtin_d_type): Add declaration.
3201 * d-lang.c (d_language_arch_info, build_d_types)
3202 (builtin_d_type): New functions.
3203 (enum d_primitive_types): New data type.
3204 (d_language_defn): Change c_language_arch_info to
3205 d_language_arch_info.
3206 (d_type_data): New static variable.
3207 (_initialize_d_language): Initialize d_type_data.
3209 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3211 * d-lang.h (d_main_name): Add declaration.
3212 * d-lang.c (d_main_name): New function.
3213 * symtab.c (find_main_name): Add call to d_main_name.
3215 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3217 * d-lang.c (d_language_defn): Change macro_expansion_c to
3220 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3222 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3224 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3226 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3227 gdb_exception" declaration.
3228 * remote.c (getpkt_or_notif_sane): Likewise.
3230 2014-01-17 Doug Evans <dje@google.com>
3232 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3233 function, contents of dirnames_to_char_ptr_vec_append moved here.
3234 (delim_string_to_char_ptr_vec): New function.
3235 (dirnames_to_char_ptr_vec_append): Rewrite.
3236 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3238 2014-01-17 Doug Evans <dje@google.com>
3240 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3242 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3243 #include "common-utils.h".
3244 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3245 * common/vec.h (VEC_ASSERT_PASS): Update.
3246 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3247 (MACH_CHECK_ERROR): Update.
3249 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3251 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3253 * gdbarch.h: Regenerate.
3255 2014-01-16 Tom Tromey <tromey@redhat.com>
3257 * value.c (struct value) <regnum>: Move earlier.
3259 2014-01-16 Tom Tromey <tromey@redhat.com>
3261 * remote.c (extended_remote_create_inferior): Rename from
3262 extended_remote_create_inferior_1. Add "ops" argument. Remove
3265 2014-01-16 Pedro Alves <palves@redhat.com>
3267 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3268 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3271 2014-01-16 Doug Evans <dje@google.com>
3273 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3275 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3277 * btrace.h (btrace_thread_flag): New.
3278 (struct btrace_thread_info) <flags>: New.
3279 * record-btrace.c (record_btrace_resume_thread)
3280 (record_btrace_find_thread_to_move, btrace_step_no_history)
3281 (btrace_step_stopped, record_btrace_start_replaying)
3282 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3283 (record_btrace_find_resume_thread): New.
3284 (record_btrace_resume, record_btrace_wait): Extend.
3285 (record_btrace_can_execute_reverse): New.
3286 (record_btrace_open): Fail in non-stop mode.
3287 (record_btrace_set_replay): Split into this, ...
3288 (record_btrace_stop_replaying): ... this, ...
3289 (record_btrace_clear_histories): ... and this.
3290 (init_record_btrace_ops): Init to_can_execute_reverse.
3291 * NEWS: Announce it.
3293 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3295 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3296 (forward_target_decr_pc_after_break)
3297 (target_decr_pc_after_break): New.
3298 * target.c (forward_target_decr_pc_after_break)
3299 (target_decr_pc_after_break): New.
3300 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3301 instead of gdbarch_decr_pc_after_break.
3302 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3303 instead of gdbarch_decr_pc_after_break.
3304 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3305 instead of gdbarch_decr_pc_after_break.
3306 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3307 instead of gdbarch_decr_pc_after_break.
3308 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3309 instead of gdbarch_decr_pc_after_break.
3310 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3311 instead of gdbarch_decr_pc_after_break.
3313 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3315 * btrace.c: Include regcache.h.
3316 (btrace_add_pc): New.
3317 (btrace_enable): Call btrace_add_pc.
3318 (btrace_is_empty): New.
3319 * btrace.h (btrace_is_empty): New.
3320 * record-btrace.c (require_btrace, record_btrace_info): Call
3323 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3325 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3326 Support delta reads.
3327 (linux_disable_btrace): Change return type.
3328 * common/linux-btrace.h (linux_read_btrace): Change parameters
3329 and return type to allow error reporting. Update users.
3330 (linux_disable_btrace): Change return type. Update users.
3331 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3333 (btrace_error): New.
3334 (btrace_block) <begin>: Comment on BEGIN == 0.
3335 * btrace.c (btrace_compute_ftrace): Start from the end of
3337 (btrace_stitch_trace, btrace_clear_history): New.
3338 (btrace_fetch): Read delta trace, return if replaying.
3339 (btrace_clear): Move clear history code to btrace_clear_history.
3340 (parse_xml_btrace): Throw an error if parsing failed.
3341 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3342 and return type to allow error reporting.
3343 (target_read_btrace): Change parameters and return type to allow
3345 * target.c (target_read_btrace): Update.
3346 * remote.c (remote_read_btrace): Support delta reads. Pass
3348 * NEWS: Announce it.
3350 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3352 * record.h (record_btrace_frame_unwind)
3353 (record_btrace_tailcall_frame_unwind): New declarations.
3354 * dwarf2-frame: Include record.h
3355 (dwarf2_frame_cfa): Throw an error for btrace frames.
3356 * record-btrace.c: Include hashtab.h.
3357 (btrace_get_bfun_name): New.
3358 (btrace_call_history): Call btrace_get_bfun_name.
3359 (struct btrace_frame_cache): New.
3361 (bfcache_hash, bfcache_eq, bfcache_new): New.
3362 (btrace_get_frame_function): New.
3363 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3364 (record_btrace_frame_this_id): Compute own id.
3365 (record_btrace_frame_prev_register): Provide PC, throw_error
3366 for all other registers.
3367 (record_btrace_frame_sniffer): Detect btrace frames.
3368 (record_btrace_tailcall_frame_sniffer): New.
3369 (record_btrace_frame_dealloc_cache): New.
3370 (record_btrace_frame_unwind): Add new functions.
3371 (record_btrace_tailcall_frame_unwind): New.
3372 (_initialize_record_btrace): Allocate cache.
3373 * btrace.c (btrace_clear): Call reinit_frame_cache.
3374 * NEWS: Announce it.
3376 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3378 * record-btrace.c (record_btrace_set_replay)
3379 (record_btrace_goto_begin, record_btrace_goto_end)
3380 (record_btrace_goto): New.
3381 (init_record_btrace_ops): Initialize them.
3382 * NEWS: Announce it.
3384 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3386 * record-btrace.c (record_btrace_find_new_threads)
3387 (record_btrace_thread_alive): New.
3388 (init_record_btrace_ops): Initialize to_find_new_threads and
3391 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3393 * record-btrace.c (record_btrace_resume): New.
3394 (record_btrace_wait): New.
3395 (init_record_btrace_ops): Initialize to_wait and to_resume.
3397 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3399 * record-btrace.c (record_btrace_xfer_partial)
3400 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3401 (record_btrace_allow_memory_access): New.
3402 (init_record_btrace_ops): Initialize new methods.
3403 * target.c (raw_memory_xfer_partial): Bail out if target reports
3404 that this memory is not available.
3406 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3408 * target.h (target_ops) <to_insert_breakpoint>
3409 <to_remove_breakpoint>: Add target_ops parameter.
3410 (forward_target_insert_breakpoint): New.
3411 (forward_target_remove_breakpoint): New.
3412 (memory_remove_breakpoint, memory_insert_breakpoint):
3413 Add target_ops parameter.
3414 * target.c (target_insert_breakpoint): Split into this and ...
3415 (forward_target_insert_breakpoint): ... this.
3416 (target_remove_breakpoint): Split into this and ...
3417 (forward_target_remove_breakpoint): ... this.
3418 (debug_to_insert_breakpoint): Add target_ops parameter.
3419 Call forward_target_insert_breakpoint.
3420 (debug_to_remove_breakpoint): Add target_ops parameter.
3421 Call forward_target_remove_breakpoint.
3422 (update_current_target): Do not inherit or default to_insert_breakpoint
3423 and to_remove_breakpoint.
3424 * corelow.c (ignore): Add target_ops parameter.
3425 * exec.c (ignore): Add target_ops parameter.
3426 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3427 Add target_ops parameter.
3428 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3429 Add target_ops parameter.
3430 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3431 Add target_ops parameter.
3432 * record-full.c (record_full_beneath_to_insert_breakpoint)
3433 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3434 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3435 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
3436 (record_full_core_remove_breakpoint): Add target_ops parameter.
3438 (record_full_beneath_to_insert_breakpoint_ops)
3439 (record_full_beneath_to_remove_breakpoint_ops)
3440 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
3441 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
3442 tmp_to_remove_breakpoint_ops,
3443 record_full_beneath_to_insert_breakpoint_ops, and
3444 record_full_beneath_to_remove_breakpoint_ops.
3445 * remote-m32r-sdi.c (m32r_insert_breakpoint)
3446 (m32r_remove_breakpoint): Add target_ops parameter.
3447 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
3448 Add target_ops parameter.
3449 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
3450 Add target_ops parameter.
3452 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3453 Markus Metzger <markus.t.metzger@intel.com>
3455 * record-btrace.c: Include frame-unwind.h.
3456 (record_btrace_frame_unwind_stop_reason)
3457 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
3458 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
3460 (init_record_btrace_ops): Install it.
3462 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3464 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
3467 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3469 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
3472 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3474 * frame-unwind.c: Include target.h.
3475 (frame_unwind_try_unwinder): New function with code from ...
3476 (frame_unwind_find_by_frame): ... here. New variable
3477 unwinder_from_target, call also target_get_unwinder)
3478 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
3479 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
3480 * target.h (struct target_ops): New fields to_get_unwinder and
3481 to_get_tailcall_unwinder.
3482 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
3484 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3486 * record-btrace.c (record_btrace_fetch_registers)
3487 (record_btrace_store_registers)
3488 (record_btrace_to_prepare_to_store): New.
3489 (init_record_btrace_ops): Add the above.
3491 2014-01-16 Tom Tromey <tromey@redhat.com>
3493 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
3494 * target.h (struct target_ops) <to_prepare_to_store>: Add
3496 (target_prepare_to_store): Add argument.
3497 * target.c (debug_to_prepare_to_store): Add argument.
3498 (update_current_target): Update.
3499 * remote.c (remote_prepare_to_store): Add 'self' argument.
3500 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
3501 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
3502 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
3503 * record-full.c (record_full_core_prepare_to_store): Add 'self'
3505 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
3506 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
3507 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
3508 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
3509 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
3511 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3513 * btrace.h (replay) <replay>: New.
3514 (btrace_is_replaying): New.
3515 * btrace.c (btrace_clear): Free replay iterator.
3516 (btrace_is_replaying): New.
3517 * record-btrace.c (record_btrace_is_replaying): New.
3518 (record_btrace_info): Print insn number if replaying.
3519 (record_btrace_insn_history): Start at replay position.
3520 (record_btrace_call_history): Start at replay position.
3521 (init_record_btrace_ops): Init to_record_is_replaying.
3523 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3525 * record-btrace.c (record_btrace_insn_history_range): Include
3527 (record_btrace_insn_history_from): Adjust range.
3528 (record_btrace_call_history_range): Include
3530 (record_btrace_call_history_from): Adjust range.
3531 * NEWS: Announce changes.
3533 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3535 * record.h (enum record_print_flag)
3536 <record_print_indent_calls>: New.
3537 * record.c (get_call_history_modifiers): Recognize /c modifier.
3538 (_initialize_record): Document /c modifier.
3539 * record-btrace.c (btrace_call_history): Add btinfo parameter.
3540 Reorder fields. Optionally indent the function name. Update
3542 * NEWS: Announce changes.
3544 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3546 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
3548 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3550 * btrace.c (ftrace_new_function): Start counting at one.
3551 * record-btrace.c (record_btrace_info): Adjust number of calls
3553 * NEWS: Announce it.
3555 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3557 * record-btrace.c (btrace_call_history_insn_range): Print
3558 insn range as [begin, end].
3560 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3562 * btrace.h (struct btrace_func_link): New.
3563 (enum btrace_function_flag): New.
3564 (struct btrace_inst): Rename to ...
3565 (struct btrace_insn): ...this. Update all users.
3566 (struct btrace_func) <ibegin, iend>: Remove.
3567 (struct btrace_func_link): New.
3568 (struct btrace_func): Rename to ...
3569 (struct btrace_function): ...this. Update all users.
3570 (struct btrace_function) <segment, flow, up, insn, insn_offset)
3571 (number, level, flags>: New.
3572 (struct btrace_insn_iterator): Rename to ...
3573 (struct btrace_insn_history): ...this.
3575 (struct btrace_insn_iterator, btrace_call_iterator): New.
3576 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
3577 (struct btrace_target_info) <begin, end, level>
3578 <insn_history, call_history>: New.
3579 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3580 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3581 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3582 (btrace_call_number, btrace_call_begin, btrace_call_end)
3583 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3584 (btrace_find_function_by_number, btrace_set_insn_history)
3585 (btrace_set_call_history): New.
3586 * btrace.c (btrace_init_insn_iterator)
3587 (btrace_init_func_iterator, compute_itrace): Remove.
3588 (ftrace_print_function_name, ftrace_print_filename)
3589 (ftrace_skip_file): Change
3591 (ftrace_init_func): Remove.
3592 (ftrace_debug): Use new btrace_function fields.
3593 (ftrace_function_switched): Also consider gaining and
3594 losing symbol information).
3595 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
3596 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
3597 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
3599 (ftrace_new_function): Move. Remove debug print.
3600 (ftrace_update_lines, ftrace_update_insns): New.
3601 (ftrace_update_function): Check for call, ret, and jump.
3602 (compute_ftrace): Renamed to ...
3603 (btrace_compute_ftrace): ...this. Rewritten to compute call
3605 (btrace_fetch, btrace_clear): Updated.
3606 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3607 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3608 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3609 (btrace_call_number, btrace_call_begin, btrace_call_end)
3610 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3611 (btrace_find_function_by_number, btrace_set_insn_history)
3612 (btrace_set_call_history): New.
3613 * record-btrace.c (require_btrace): Use new btrace thread
3615 (record_btrace_info, btrace_insn_history)
3616 (record_btrace_insn_history, record_btrace_insn_history_range):
3617 Use new btrace thread info fields and new iterator.
3618 (btrace_func_history_src_line): Rename to ...
3619 (btrace_call_history_src_line): ...this. Use new btrace
3621 (btrace_func_history): Rename to ...
3622 (btrace_call_history): ...this. Use new btrace thread info
3623 fields and new iterator.
3624 (record_btrace_call_history, record_btrace_call_history_range):
3625 Use new btrace thread info fields and new iterator.
3627 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3629 * frame.h (frame_id_build_unavailable_stack_special): New.
3630 * frame.c (frame_id_build_unavailable_stack_special): New.
3632 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3634 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
3635 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
3636 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
3638 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
3639 (i386_insn_is_jump, i386_jmp_p): New.
3640 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
3641 insn_is_jump to gdbarch.
3642 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
3643 * gdbarch.h: Regenerated.
3644 * gdbarch.c: Regenerated.
3645 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
3646 (default_insn_is_jump): New.
3647 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
3648 (default_insn_is_jump): New.
3650 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3652 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
3654 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
3655 (btrace_read_type) <btrace_read_new>: Change to ...
3656 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
3658 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3660 * common/linux-btrace.c (linux_read_btrace): Free trace from
3663 2014-01-15 Doug Evans <dje@google.com>
3665 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
3668 2014-01-15 Tom Tromey <tromey@redhat.com>
3670 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
3671 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
3672 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
3673 (set_objfile_main_name): New function.
3674 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
3675 language_of_main>: New fields.
3676 (set_objfile_main_name): Declare.
3677 * symtab.c (find_main_name): Loop over objfiles to find the main
3679 (set_main_name): Now static.
3680 (get_main_info): Add comment.
3681 * symtab.h (set_main_name): Don't declare.
3683 2014-01-15 Tom Tromey <tromey@redhat.com>
3685 * symtab.c (main_progspace_key): New global.
3686 (struct main_info): New.
3687 (name_of_main, language_of_main): Remove.
3688 (get_main_info, main_info_cleanup): New function.
3689 (set_main_name, main_name, main_language): Use get_main_info.
3690 (_initialize_symtab): Initialize main_progspace_key.
3692 2014-01-15 Tom Tromey <tromey@redhat.com>
3694 * dbxread.c (process_one_symbol): Update.
3695 * dwarf2read.c (read_partial_die): Update.
3696 * symfile.c (set_initial_language): Call main_language.
3697 * symtab.c (language_of_main): Now static.
3698 (set_main_name): Add 'lang' parameter.
3699 (find_main_name): Update.
3700 (main_language): New function.
3701 (symtab_observer_executable_changed): Update.
3702 * symtab.h (set_main_name): Update.
3703 (language_of_main): Remove.
3704 (main_language): Declare.
3706 2014-01-15 Tom Tromey <tromey@redhat.com>
3708 * symfile.c (init_entry_point_info): Use new "initialized" field.
3710 * objfiles.h (struct entry_point) <initialized>: New field.
3711 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
3712 (struct objfile) <ei>: ...here. Remove.
3713 * objfiles.c (entry_point_address_query): Update.
3715 2014-01-15 Tom Tromey <tromey@redhat.com>
3717 * objfiles.c (entry_point_address_query): Relocate entry point
3719 (objfile_relocate1): Do not relocate entry point address.
3720 * objfiles.h (struct entry_info) <entry_point>: Update comment.
3721 <the_bfd_section_index>: New field.
3722 * symfile.c (init_entry_point_info): Find the entry point's
3725 2014-01-15 Tom Tromey <tromey@redhat.com>
3727 * solib-frv.c (enable_break): Use entry_point_address_query.
3729 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3731 * NEWS: Add note on improved process record-replay on
3732 arm*-linux* targets.
3734 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3736 * arm-tdep.c (enum arm_record_result): New enum.
3737 (arm_record_unsupported_insn): New function.
3738 (arm_record_coproc_data_proc): Removed.
3739 (thumb2_record_ld_st_multiple): New function.
3740 (thumb2_record_ld_st_dual_ex_tbb): New function.
3741 (thumb2_record_data_proc_sreg_mimm): New function.
3742 (thumb2_record_ps_dest_generic): New function.
3743 (thumb2_record_branch_misc_cntrl): New function.
3744 (thumb2_record_str_single_data): New function.
3745 (thumb2_record_ld_mem_hints): New function.
3746 (thumb2_record_ld_word): New function.
3747 (thumb2_record_lmul_lmla_div): New function.
3748 (thumb2_record_decode_insn_handler): New function.
3749 (decode_insn): Add thumb32 instruction handlers.
3751 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3753 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
3754 (struct arm_linux_record_tdep): Declare.
3755 (arm_canonicalize_syscall): New function.
3756 (arm_all_but_pc_registers_record): New function.
3757 (arm_linux_syscall_record): New function.
3758 (arm_linux_init_abi): Add syscall recording constructs.
3759 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
3760 decoding. (arm_record_coproc_data_proc): Update arm syscall
3762 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
3763 <arm_syscall_record>: New field.
3764 * configure.tgt (arm*-*-linux*): Add linux-record.o to
3767 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3769 * arm-tdep.c (thumb_record_misc): Update to use sp as base
3770 register for push instruction recording.
3772 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3774 * arm-tdep.c (thumb_record_misc): Update to correct logical
3775 error while recording ldm, ldmia and pop instructions.
3777 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3779 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
3781 2014-01-15 Pedro Alves <palves@redhat.com>
3783 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
3784 (go32_resume, go32_fetch_registers, store_register)
3785 (go32_store_registers, go32_prepare_to_store)
3786 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
3787 (go32_create_inferior, go32_can_run, go32_terminal_init)
3788 (go32_terminal_inferior, go32_terminal_ours): Delete forward
3791 2014-01-15 Tom Tromey <tromey@redhat.com>
3793 * target.h (async_callback_ftype): New typedef.
3794 (struct target_ops) <to_async>: Use it.
3796 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3798 * python/py-value.c (get_field_type): Remove unnecessary curly
3799 braces for single-statement if block.
3801 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3803 * python/py-type.c (convert_field): Add missing empty line
3806 2014-01-14 Doug Evans <dje@google.com>
3808 * symfile.h (expand_symtabs_matching): Renamed from
3809 expand_partial_symbol_names. Update prototype.
3810 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3811 * symfile.c (expand_symtabs_matching): Renamed from
3812 expand_partial_symbol_names. New args file_matcher, kind.
3813 Rename arg fun to symbol_matcher.
3814 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3815 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
3816 ada_expand_partial_symbol_name.
3817 (ada_make_symbol_completion_list): Update to call
3818 expand_symtabs_matching.
3819 (ada_add_global_exceptions): Call expand_symtabs_matching.
3820 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
3821 call map_symbol_filenames.
3822 * symtab.c (sources_info): Update to call map_symbol_filenames.
3823 (search_symbols): Call expand_symtabs_matching.
3824 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
3825 (default_make_symbol_completion_list_break_on): Update to call
3826 expand_symtabs_matching.
3827 (make_source_files_completion_list): Update to call
3828 map_symbol_filenames.
3830 2014-01-14 Doug Evans <dje@google.com>
3832 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
3833 (expand_symtabs_symbol_matcher_ftype): New typedef.
3834 (quick_symbol_functions.expand_symtabs_matching): Update to use.
3835 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3836 * symfile.c (expand_partial_symbol_names): Update to use
3837 expand_symtabs_symbol_matcher_ftype.
3838 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
3839 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3840 Arg name_matcher renamed to symbol_matcher.
3841 * psymtab.c (recursively_search_psymtabs): Update to use
3842 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
3844 (expand_symtabs_matching_via_partial): Update to use
3845 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3846 Arg name_matcher renamed to symbol_matcher.
3848 2014-01-14 Doug Evans <dje@google.com>
3850 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
3851 (map_partial_symbol_filenames): Ditto.
3852 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
3853 (map_partial_symbol_filenames): Ditto.
3854 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
3855 (map_partial_symbol_filenames): Ditto.
3856 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
3857 (map_partial_symbol_filenames): Ditto.
3858 * symtab.c: Delete #include "psymtab.h".
3860 2014-01-14 Pedro Alves <palves@redhat.com>
3861 Tom Tromey <tromey@redhat.com>
3863 * infrun.c (use_displaced_stepping): Use find_record_target
3864 instead of RECORD_IS_USED.
3865 (adjust_pc_after_break): Use record_full_is_used instead of
3867 * record-btrace.c (record_btrace_open): Call record_preopen
3868 instead of checking RECORD_IS_USED.
3869 * record-full.c (record_full_shortname)
3870 (record_full_core_shortname): New globals.
3871 (record_full_is_used): New function.
3872 (find_full_open): Call record_preopen instead of checking
3874 (init_record_full_ops): Set the target's shortname to
3875 record_full_shortname.
3876 (init_record_full_core_ops): Set the target's shortname to
3877 record_full_core_shortname.
3878 * record-full.h (record_full_is_used): Declare.
3879 * record.c (find_record_target): Make extern.
3880 (record_preopen): New function.
3881 * record.h (RECORD_IS_USED): Delete macro.
3882 (find_record_target, record_preopen): Declare functions.
3884 2014-01-14 Yao Qi <yao@codesourcery.com>
3886 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
3887 'len''s type to ULONGEST.
3888 (core_xfer_shared_libraries_aix): Likewise.
3889 * gdbarch.c, gdbarch.h: Regenerated.
3890 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
3891 Change type of 'len' to ULONGEST.
3892 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3893 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
3895 2014-01-14 Yao Qi <yao@codesourcery.com>
3897 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
3898 type of 'len' to ULONGEST.
3899 (linux_xfer_osdata_processgroups): Likewise.
3900 (linux_xfer_osdata_threads): Likewise.
3901 (linux_xfer_osdata_fds): Likewise.
3902 (linux_xfer_osdata_isockets): Likewise.
3903 (linux_xfer_osdata_shm): Likewise.
3904 (linux_xfer_osdata_sem): Likewise.
3905 (linux_xfer_osdata_msg): Likewise.
3906 (linux_common_xfer_osdata): Likewise.
3907 (struct osdata_type) <getter>: Likewise.
3908 * common/linux-osdata.h (linux_common_xfer_osdata): Update
3911 2014-01-14 Yao Qi <yao@codesourcery.com>
3913 * target.h (target_xfer_partial_ftype): Update.
3914 (struct target_ops) <to_xfer_partial>: Change 'len' type to
3916 * aix-thread.c (aix_thread_xfer_partial): Change type of
3917 argument 'len' to ULONGEST.
3918 * auxv.c (procfs_xfer_auxv): Likewise.
3919 (ld_so_xfer_auxv): Likewise.
3920 (memory_xfer_auxv): Likewise.
3921 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3922 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3923 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
3924 * corelow.c (core_xfer_partial): Likewise.
3925 * ctf.c (ctf_xfer_partial): Likewise.
3926 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
3928 (darwin_read_dyld_info): Likewise.
3929 (darwin_xfer_partial): Likewise.
3930 * exec.c (section_table_xfer_memory_partial): Likewise.
3931 (exec_xfer_partial): Likewise.
3932 * exec.h (section_table_xfer_memory_partial): Update
3934 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
3935 instead of plongest.
3936 (gnu_xfer_partial): Likewise.
3937 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
3938 (ia64_hpux_xfer_solib_got): Likewise.
3939 (ia64_hpux_xfer_partial): Likewise.
3940 * ia64-linux-nat.c (ia64_linux_xfer_partial):
3941 * inf-ptrace.c (inf_ptrace_xfer_partial):
3942 * inf-ttrace.c (inf_ttrace_xfer_partial):
3943 * linux-nat.c (linux_xfer_siginfo): Likewise.
3944 (linux_nat_xfer_partial): Likewise.
3945 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
3946 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
3947 * monitor.c (monitor_xfer_memory): Likewise.
3948 (monitor_xfer_partial): Likewise.
3949 * procfs.c (procfs_xfer_partial): Likewise.
3950 * record-full.c (record_full_xfer_partial): Likewise.
3951 (record_full_core_xfer_partial): Likewise.
3952 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
3953 instead of plongest.
3954 (gdbsim_xfer_partial): Likewise.
3955 * remote.c (remote_xfer_partial): Likewise.
3956 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3957 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3959 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3960 (rs6000_xfer_shared_libraries): Likewise.
3961 * sol-thread.c (sol_thread_xfer_partial): Likewise.
3962 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3963 (sparc_xfer_partial): Likewise.
3964 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3965 (spu_xfer_partial): Likewise.
3966 * spu-multiarch.c (spu_xfer_partial): Likewise.
3967 * target.c (target_read_live_memory): Likewise.
3968 (memory_xfer_live_readonly_partial): Likewise.
3969 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
3970 (target_xfer_partial, default_xfer_partial): Likewise.
3971 (current_xfer_partial): Likewise.
3972 * tracepoint.c (tfile_xfer_partial): Likewise.
3973 * windows-nat.c (windows_xfer_memory): Likewise. Call
3974 pulongest instead of plongest.
3975 (windows_xfer_partial): Likewise.
3976 (windows_xfer_shared_libraries): Likewise.
3978 2014-01-14 Yao Qi <yao@codesourcery.com>
3980 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
3981 target_xfer_partial_ftype.
3983 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3987 * valops.c (value_struct_elt_bitpos): New function
3988 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
3989 object to 'None' if the field name is an empty string ("").
3990 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
3991 attribute to look for a field when 'name' is 'None'.
3992 (get_field_type): New function
3994 2014-01-13 Doug Evans <dje@google.com>
3997 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
3998 (try_open_dwop_file): Ditto.
3999 * gdb_bfd.c: #include "vec.h".
4000 (bfdp): New typedef.
4001 (struct gdb_bfd_data): New member included_bfds.
4002 (gdb_bfd_unref): Unref all included bfds.
4003 (gdb_bfd_record_inclusion): New function.
4004 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
4006 2014-01-13 Tom Tromey <tromey@redhat.com>
4008 * gdbcore.h (deprecated_core_resize_section_table): Remove.
4010 2014-01-13 Tom Tromey <tromey@redhat.com>
4012 * defs.h (use_windows): Remove.
4013 * gdb.c (main): Update.
4014 * main.c (captured_main, gdb_main): Update.
4015 * main.h (struct captured_main_args) <use_windows>: Remove.
4016 * top.c (use_windows): Remove.
4018 2014-01-13 Tom Tromey <tromey@redhat.com>
4020 * defs.h (deprecated_flush_hook): Remove.
4022 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4025 * linux-thread-db.c (try_thread_db_load): Add parameter
4026 check_auto_load_safe. Move here the file_is_auto_load_safe call.
4027 (try_thread_db_load_from_pdir_1): Move it there from here.
4028 (try_thread_db_load_from_sdir): Update caller.
4029 (try_thread_db_load_from_dir): Move it there from here.
4031 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
4033 * regformats/regdat.sh: Always rewrite the register file.
4035 2014-01-13 Pedro Alves <palves@redhat.com>
4037 * Makefile.in (CHECK_HEADERS): New variable.
4038 (check-headers:): New rule.
4040 2014-01-13 Tom Tromey <tromey@redhat.com>
4042 * cli/cli-setshow.c (do_set_command): Update.
4043 * defs.h (deprecated_set_hook): Remove.
4044 * top.c (deprecated_set_hook): Remove.
4046 2014-01-13 Pedro Alves <palves@redhat.com>
4048 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
4049 the tracepoint if the PC is a pseudo-register.
4051 2014-01-13 Tom Tromey <tromey@redhat.com>
4053 * defs.h (XCALLOC): Remove.
4054 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
4055 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
4056 * dwarf2loc.c (allocate_piece_closure): Likewise.
4057 * elfread.c (elf_symfile_segments): Likewise.
4058 (elf_symfile_segments): Likewise.
4059 * gdbtypes.c (copy_type_recursive): Likewise.
4060 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
4061 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
4062 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
4064 * mt-tdep.c (mt_gdbarch_init): Likewise.
4065 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
4067 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
4068 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
4069 * registry.c (registry_alloc_data): Likewise.
4070 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
4071 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
4072 * serial.c (serial_fdopen_ops): Likewise.
4073 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
4075 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
4076 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
4079 2014-01-13 Tom Tromey <tromey@redhat.com>
4081 * defs.h (XMALLOC): Remove.
4082 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
4083 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
4084 * cli-out.c (struct ui_out *): Likewise.
4085 * cli/cli-dump.c (add_dump_command): Likewise.
4086 (add_dump_command): Likewise.
4087 * complaints.c (get_complaints): Likewise.
4088 (find_complaint): Likewise.
4089 * dwarf2-frame.c (execute_cfa_program): Likewise.
4090 * dwarf2read.c (abbrev_table_read_table): Likewise.
4091 * gdbarch.sh: Likewise.
4092 * gdbarch.c: Rebuild.
4093 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
4094 * interps.c (interp_new): Likewise.
4095 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
4096 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
4097 * mi/mi-console.c (mi_console_file_new): Likewise.
4098 * mi/mi-interp.c (mi_interpreter_init): Likewise.
4099 * mi/mi-out.c (mi_out_new): Likewise.
4100 * mi/mi-parse.c (mi_parse): Likewise.
4101 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
4102 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
4103 * observer.c (xalloc_observer_list_node): Likewise.
4104 * regcache.c (regcache_xmalloc_1): Likewise.
4105 * reggroups.c (reggroup_new): Likewise.
4106 (_initialize_reggroup): Likewise.
4107 * registry.c (register_data_with_cleanup): Likewise.
4108 * remote.c (remote_notif_stop_alloc_reply): Likewise.
4109 * ser-base.c (serial_ttystate): Likewise.
4110 * ser-mingw.c (make_pipe_state): Likewise.
4111 * ser-pipe.c (pipe_open): Likewise.
4112 * serial.c (serial_open): Likewise.
4113 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
4114 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
4115 (tui_alloc_win_info): Likewise.
4116 (tui_add_content_elements): Likewise.
4117 * tui/tui-file.c (tui_file_new): Likewise.
4118 * tui/tui-out.c (tui_out_new): Likewise.
4119 * ui-file.c (mem_file_new): Likewise.
4120 * ui-out.c (push_level): Likewise.
4121 (make_cleanup_ui_out_end): Likewise.
4122 (append_header_to_list): Likewise.
4123 (ui_out_new): Likewise.
4124 * user-regs.c (user_reg_add_builtin): Likewise.
4126 2014-01-13 Tom Tromey <tromey@redhat.com>
4128 * defs.h (XZALLOC): Remove.
4129 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
4130 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
4131 (get_ada_tasks_inferior_data): Likewise.
4132 * auto-load.c (get_auto_load_pspace_data): Likewise.
4133 * auxv.c (get_auxv_inferior_data): Likewise.
4134 * bfd-target.c (target_bfd_reopen): Likewise.
4135 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
4136 (deprecated_insert_raw_breakpoint): Likewise.
4137 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
4138 * corelow.c (core_open): Likewise.
4139 * darwin-nat.c (darwin_check_new_threads): Likewise.
4140 (darwin_attach_pid): Likewise.
4141 * dummy-frame.c (dummy_frame_push): Likewise.
4142 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
4143 * dwarf2loc.c (allocate_piece_closure): Likewise.
4144 * elfread.c (elf_symfile_segments): Likewise.
4145 * eval.c (ptrmath_type_p): Likewise.
4146 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
4147 * gdbtypes.c (alloc_type_arch): Likewise.
4148 (alloc_type_instance): Likewise.
4149 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
4150 * inf-child.c (inf_child_can_use_agent): Likewise.
4151 * inflow.c (get_inflow_inferior_data): Likewise.
4152 * infrun.c (save_infcall_suspend_state): Likewise.
4153 * jit.c (jit_reader_load): Likewise.
4154 (get_jit_objfile_data): Likewise.
4155 (get_jit_program_space_data): Likewise.
4156 (jit_object_open_impl): Likewise.
4157 (jit_symtab_open_impl): Likewise.
4158 (jit_block_open_impl): Likewise.
4159 (jit_frame_sniffer): Likewise.
4160 * linux-fork.c (add_fork): Likewise.
4161 * maint.c (make_command_stats_cleanup): Likewise.
4162 * objfiles.c (get_objfile_pspace_data): Likewise.
4163 * opencl-lang.c (struct lval_closure): Likewise.
4164 * osdata.c (osdata_start_osdata): Likewise.
4165 * progspace.c (new_address_space): Likewise.
4166 (add_program_space): Likewise.
4167 * remote-sim.c (get_sim_inferior_data): Likewise.
4168 * sh-tdep.c (sh_gdbarch_init): Likewise.
4169 * skip.c (Ignore): Likewise.
4170 (skip_delete_command): Likewise.
4171 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4172 (library_list_start_library): Likewise.
4173 (solib_aix_current_sos): Likewise.
4174 * solib-darwin.c (get_darwin_info): Likewise.
4175 (darwin_current_sos): Likewise.
4176 * solib-dsbt.c (get_dsbt_info): Likewise.
4177 * solib-ia64-hpux.c (new_so_list): Likewise.
4178 (ia64_hpux_get_solib_linkage_addr): Likewise.
4179 * solib-spu.c (append_ocl_sos): Likewise.
4180 (spu_current_sos): Likewise.
4181 * solib-svr4.c (get_svr4_info): Likewise.
4182 (svr4_keep_data_in_core): Likewise.
4183 (library_list_start_library): Likewise.
4184 (svr4_default_sos): Likewise.
4185 (svr4_read_so_list): Likewise.
4186 * solib-target.c (library_list_start_library): Likewise.
4187 (solib_target_current_sos): Likewise.
4188 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4189 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4190 * symfile.c (default_symfile_segments): Likewise.
4191 * target-descriptions.c (tdesc_data_init): Likewise.
4192 (tdesc_create_reg): Likewise.
4193 (struct tdesc_type *): Likewise.
4194 (tdesc_create_vector): Likewise.
4195 (tdesc_set_struct_size): Likewise.
4196 (struct tdesc_type *): Likewise.
4197 (tdesc_free_feature): Likewise.
4198 (tdesc_create_feature): Likewise.
4199 * windows-nat.c (windows_add_thread): Likewise.
4200 (windows_make_so): Likewise.
4201 * xml-support.c (gdb_xml_body_text): Likewise.
4202 (gdb_xml_create_parser_and_cleanup): Likewise.
4203 (xml_process_xincludes): Likewise.
4204 * xml-syscall.c (allocate_syscalls_info): Likewise.
4205 (syscall_create_syscall_desc): Likewise.
4207 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4209 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4210 function, with code from i386_stap_parse_special_token.
4211 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4212 (i386_stap_parse_special_token): Move code to the two functions
4215 2014-01-09 Pedro Alves <palves@redhat.com>
4216 Hui Zhu <hui@codesourcery.com>
4219 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4220 bp_err_string. Don't mark the location shlib_disabled if the
4221 error thrown wasn't a generic or memory error. Catch errors
4222 thrown while inserting breakpoints in overlayed code. Output
4223 error message of software breakpoints.
4224 * remote.c (remote_insert_breakpoint): If this breakpoint has
4225 target-side commands but this stub doesn't support Z0 packets,
4226 throw NOT_SUPPORTED_ERROR error.
4227 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4228 * target.h (target_insert_breakpoint): Extend comment.
4229 (target_insert_hw_breakpoint): Add comment.
4231 2014-01-08 Pedro Alves <palves@redhat.com>
4233 * remote.c (remote_add_thread): Add threads silently if starting
4235 (remote_notice_new_inferior): If in all-stop, and starting up,
4236 don't call notice_new_inferior.
4237 (get_current_thread): New function, factored out from ...
4238 (add_current_inferior_and_thread): ... this. Adjust.
4239 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4240 found any thread, then select the remote's current thread as GDB's
4243 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4245 * NEWS: Create a new section for the next release branch.
4246 Rename the section of the current branch, now that it has
4249 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4251 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4252 * version.in: Bump version to 7.7.50.DATE-cvs.
4254 2014-01-08 Yao Qi <yao@codesourcery.com>
4256 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4257 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4258 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4260 2014-01-08 Yao Qi <yao@codesourcery.com>
4262 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4263 return value of bfd_get_filename to symbol_file_add_from_bfd.
4265 2014-01-08 Pierre Muller <muller@sourceware.org>
4268 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4269 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4270 to prim_record_mininal_symbol_and_info.
4271 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4272 in call to prim_record_minimal_symbol_and_info.
4273 (read_pe_exported_syms): Set index field of section_data.
4275 2014-01-07 Andrew Pinski <apinski@cavium.com>
4277 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4278 * features/aarch64.c: Regenerate.
4280 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4282 * target.c (return_null): Define.
4283 (update_current_target): Use it instead of return_zero for
4284 functions that return a pointer.
4286 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4288 * source.c (add_path): Fix check for duplicated paths in the previously
4291 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4293 * ada-lang.c: Remove duplicated include statements.
4294 * alphabsd-nat.c: Ditto.
4295 * amd64-darwin-tdep.c: Ditto.
4296 * amd64fbsd-nat.c: Ditto.
4297 * auto-load.c: Ditto.
4299 * breakpoint.c: Ditto.
4301 * fork-child.c: Ditto.
4302 * gdb_usleep.c: Ditto.
4303 * i386-darwin-tdep.c: Ditto.
4304 * i386fbsd-nat.c: Ditto.
4306 * inferior.c: Ditto.
4308 * linux-nat.c: Ditto.
4309 * linux-tdep.c: Ditto.
4310 * m68kbsd-nat.c: Ditto.
4311 * m68klinux-nat.c: Ditto.
4312 * microblaze-tdep.c: Ditto.
4313 * mips-linux-tdep.c: Ditto.
4314 * mn10300-tdep.c: Ditto.
4315 * nto-tdep.c: Ditto.
4316 * opencl-lang.c: Ditto.
4318 * printcmd.c: Ditto.
4319 * regcache.c: Ditto.
4320 * remote-m32r-sdi.c: Ditto.
4324 * tilegx-linux-nat.c: Ditto.
4325 * tilegx-tdep.c: Ditto.
4326 * tracepoint.c: Ditto.
4328 * vaxbsd-nat.c: Ditto.
4329 * windows-nat.c: Ditto.
4330 * xtensa-tdep.c: Ditto.
4332 2014-01-07 Yao Qi <yao@codesourcery.com>
4334 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4336 2014-01-07 Yao Qi <yao@codesourcery.com>
4337 Joel Brobecker <brobecker@adacore.com>
4339 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4340 (pdc_write_regs): Likewise.
4341 (fetch_regs_kernel_thread): Likewise.
4342 (store_regs_kernel_thread): Likewise.
4344 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4346 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4347 tagged type objects to their actual type.
4349 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4351 * ada-valprint.c (print_field_values): Add "language" parameter.
4352 Update calls to print_field_values and print_variant_part.
4353 Pass new parameter "language" in call to val_print instead
4354 of "current_language". Replace call to ada_val_print by call
4356 (print_variant_part): Add "language" parameter.
4357 (ada_val_print_struct_union): Update call to print_field_values.
4359 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4361 * ada-valprint.c (ui_memcpy): Delete.
4362 (ada_print_floating): Update documentation. Add empty line
4363 between between function documentation and implementation.
4364 Delete variable "buffer". Use ui_file_xstrdup in place of
4365 ui_file_put. Minor adjustments following this change.
4367 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4369 * ada-valprint.c (ada_val_print_string): New function,
4370 extracted from ada_val_print_array.
4371 (ada_val_print_array): Replace extracted code by call
4372 to ada_val_print_string followed by a return. Move
4373 "else" branch to the function's top block.
4375 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4377 * ada-valprint.c (ada_val_print_array): Move implementation
4378 down. Rename parameter "offset" and "val" into "offset_aligned"
4379 and "original_value" respectively. Add parameter "offset".
4381 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4383 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4384 re-organizing the code. Change the "???" message printed
4385 when target type is a TYPE_CODE_UNDEF into
4386 "<ref to undefined type>".
4388 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4390 * ada-valprint.c (print_record): Delete, implementation inlined...
4391 (ada_val_print_struct_union): ... here. Remove call to
4392 ada_check_typedef in inlined implementation.
4394 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4396 * ada-valprint.c (ada_val_print_gnat_array): New function,
4397 extracted from ada_val_print_1;
4398 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4399 (ada_val_print_flt, ada_val_print_struct_union)
4400 (ada_val_print_ref): Likewise.
4401 (ada_val_print_1): Delete variables i and elttype.
4402 Replace extracted-out code by call to corresponding
4405 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4407 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4409 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4411 * ada-valprint.c (ada_val_print_1): Replace calls to
4412 ada_val_print_1 by calls to val_print.
4414 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4416 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4417 Update calls to self accordingly. Replace calls to c_val_print
4418 by calls to val_print.
4420 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4422 * ada-valprint.c (print_record): Delete declaration.
4423 (adjust_type_signedness, ada_val_print_1): Likewise.
4424 (ada_val_print): Move function implementation down.
4425 (print_variant_part, print_field_values, print_record):
4426 Move function implementation up.
4428 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4430 * python/py-type.c (typy_get_name): New function.
4431 (type_object_getset): Add entry for attribute "name".
4432 * NEWS: Add entry mentioning this new attribute.
4434 2014-01-07 Yao Qi <yao@codesourcery.com>
4436 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
4439 2014-01-07 Yao Qi <yao@codesourcery.com>
4441 * gnu-nat.c (info_port_rights): Add qualifier const to
4444 2014-01-07 Yao Qi <yao@codesourcery.com>
4446 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
4448 2014-01-07 Yao Qi <yao@codesourcery.com>
4450 * gnu-nat.c (make_inf) Update declaration.
4451 (make_inf): Make it static.
4452 (inf_set_traced): Likewise.
4453 (inf_port_to_thread, inf_task_died_status): Likewise.
4455 2014-01-07 Yao Qi <yao@codesourcery.com>
4457 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
4459 2014-01-07 Yao Qi <yao@codesourcery.com>
4461 * gnu-nat.c (_initialize_gnu_nat): Declare.
4463 2014-01-07 Yao Qi <yao@codesourcery.com>
4465 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
4467 (struct gdbarch_info) <byte_order>: Change type to
4469 <byte_order_for_code>: Likewise.
4470 * gdbarch.c, gdbarch.h: Regenerated.
4472 2014-01-06 Sasha Smundak <asmundak@google.com>
4474 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
4476 2014-01-06 Tom Tromey <tromey@redhat.com>
4478 * doublest.c (convert_doublest_to_floatformat): Use const, not
4480 * somread.c (som_symtab_read): Likewise.
4482 2014-01-07 Hui Zhu <hui@codesourcery.com>
4484 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
4485 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
4486 (gdb_bfd_fopen): Ditto.
4487 (gdb_bfd_openr): Ditto.
4488 (gdb_bfd_openw): Ditto.
4489 (gdb_bfd_openr_iovec): Ditto.
4490 (gdb_bfd_fdopenr): Ditto.
4491 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
4492 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
4494 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
4496 * symfile-mem.c (symbol_file_add_from_memory): Removed
4497 gdb_bfd_stash_filename.
4499 2014-01-03 Doug Evans <dje@google.com>
4501 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
4504 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4506 Update year range in copyright notice of all files.
4508 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4510 * top.c (print_gdb_version): Set copyright year to 2014.
4512 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4514 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
4516 For older changes see ChangeLog-2013.
4522 version-control: never