1 2014-02-19 Tom Tromey <tromey@redhat.com>
3 * target-delegates.c: Rebuild.
4 * target.c (target_insn_history_from): Unconditionally delegate.
5 * target.h (struct target_ops) <to_insn_history_from>: Use
6 TARGET_DEFAULT_NORETURN.
8 2014-02-19 Tom Tromey <tromey@redhat.com>
10 * target-delegates.c: Rebuild.
11 * target.c (target_insn_history_range): Unconditionally delegate.
12 * target.h (struct target_ops) <to_insn_history_range>: Use
13 TARGET_DEFAULT_NORETURN.
15 2014-02-19 Tom Tromey <tromey@redhat.com>
17 * target-delegates.c: Rebuild.
18 * target.c (target_call_history): Unconditionally delegate.
19 * target.h (struct target_ops) <to_call_history>: Use
20 TARGET_DEFAULT_NORETURN.
22 2014-02-19 Tom Tromey <tromey@redhat.com>
24 * target-delegates.c: Rebuild.
25 * target.c (target_call_history_from): Unconditionally delegate.
26 * target.h (struct target_ops) <to_call_history_from>: Use
27 TARGET_DEFAULT_NORETURN.
29 2014-02-19 Tom Tromey <tromey@redhat.com>
31 * target-delegates.c: Rebuild.
32 * target.c (target_call_history_range): Unconditionally delegate.
33 * target.h (struct target_ops) <to_call_history_range>: Use
34 TARGET_DEFAULT_NORETURN.
36 2014-02-19 Tom Tromey <tromey@redhat.com>
38 * target-delegates.c: Rebuild.
39 * target.c (target_verify_memory): Unconditionally delegate.
40 * target.h (struct target_ops) <to_verify_memory>: Use
41 TARGET_DEFAULT_NORETURN.
43 2014-02-19 Tom Tromey <tromey@redhat.com>
45 * target-delegates.c: Rebuild.
46 * target.c (target_core_of_thread): Unconditionally delegate.
47 * target.h (struct target_ops) <to_core_of_thread>: Use
48 TARGET_DEFAULT_RETURN.
50 2014-02-19 Tom Tromey <tromey@redhat.com>
52 * target-delegates.c: Rebuild.
53 * target.c (target_flash_done): Unconditionally delegate.
54 * target.h (struct target_ops) <to_flash_done>: Use
55 TARGET_DEFAULT_NORETURN.
57 2014-02-19 Tom Tromey <tromey@redhat.com>
59 * target-delegates.c: Rebuild.
60 * target.c (target_flash_erase): Unconditionally delegate.
61 * target.h (struct target_ops) <to_flash_erase>: Use
62 TARGET_DEFAULT_NORETURN.
64 2014-02-19 Tom Tromey <tromey@redhat.com>
66 * target-delegates.c: Rebuild.
67 * target.c (target_get_section_table): Unconditionally delegate.
68 * target.h (struct target_ops) <to_get_section_table>: Use
69 TARGET_DEFAULT_RETURN.
71 2014-02-19 Tom Tromey <tromey@redhat.com>
73 * target-delegates.c: Rebuild.
74 * target.c (target_pid_to_str): Unconditionally delegate.
75 (init_dummy_target): Don't initialize to_pid_to_str.
76 (default_pid_to_str): Rename from dummy_pid_to_str.
77 * target.h (struct target_ops) <to_pid_to_str>: Use
80 2014-02-19 Tom Tromey <tromey@redhat.com>
82 * target-delegates.c: Rebuild.
83 * target.c (target_find_new_threads): Unconditionally delegate.
84 * target.h (struct target_ops) <to_find_new_threads>: Use
85 TARGET_DEFAULT_RETURN.
87 2014-02-19 Tom Tromey <tromey@redhat.com>
89 * target-delegates.c: Rebuild.
90 * target.c (target_program_signals): Unconditionally delegate.
91 * target.h (struct target_ops) <to_program_signals>: Use
92 TARGET_DEFAULT_IGNORE.
94 2014-02-19 Tom Tromey <tromey@redhat.com>
96 * target-delegates.c: Rebuild.
97 * target.c (target_pass_signals): Unconditionally delegate.
98 * target.h (struct target_ops) <to_pass_signals>: Use
99 TARGET_DEFAULT_IGNORE.
101 2014-02-19 Tom Tromey <tromey@redhat.com>
103 * target-delegates.c: Rebuild.
104 * target.c (default_mourn_inferior): New function.
105 (target_mourn_inferior): Unconditionally delegate.
106 * target.h (struct target_ops) <to_mourn_inferior>: Use
109 2014-02-19 Tom Tromey <tromey@redhat.com>
111 * target-delegates.c: Rebuild.
112 * target.c (default_follow_fork): New function.
113 (target_follow_fork): Unconditionally delegate.
114 * target.h (struct target_ops) <to_follow_fork>: Use
117 2014-02-19 Tom Tromey <tromey@redhat.com>
119 * target-delegates.c: Rebuild.
120 * target.c (target_kill): Unconditionally delegate.
121 * target.h (struct target_ops) <to_kill>: Use
122 TARGET_DEFAULT_NORETURN.
124 2014-02-19 Tom Tromey <tromey@redhat.com>
126 * target-delegates.c: Rebuild.
127 * target.c (target_masked_watch_num_registers): Unconditionally
129 * target.h (struct target_ops) <to_masked_watch_num_registers>:
130 Use TARGET_DEFAULT_RETURN.
132 2014-02-19 Tom Tromey <tromey@redhat.com>
134 * target-delegates.c: Rebuild.
135 * target.c (target_remove_mask_watchpoint): Unconditionally
137 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
138 TARGET_DEFAULT_RETURN.
140 2014-02-19 Tom Tromey <tromey@redhat.com>
142 * target-delegates.c: Rebuild.
143 * target.c (target_insert_mask_watchpoint): Unconditionally
145 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
146 TARGET_DEFAULT_RETURN.
148 2014-02-19 Tom Tromey <tromey@redhat.com>
150 * target-delegates.c: Rebuild.
151 * target.c (target_ranged_break_num_registers): Unconditionally
153 * target.h (struct target_ops) <to_ranged_break_num_registers>:
154 Use TARGET_DEFAULT_RETURN.
156 2014-02-19 Tom Tromey <tromey@redhat.com>
158 * target-delegates.c: Rebuild.
159 * target.c (target_fetch_registers): Unconditionally delegate.
160 * target.h (struct target_ops) <to_fetch_registers>: 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 * target.h (struct target_ops) <to_stop>: Use
169 TARGET_DEFAULT_IGNORE.
171 2014-02-19 Tom Tromey <tromey@redhat.com>
173 * target-delegates.c: Rebuild.
174 * target.c (update_current_target): Don't inherit or default
175 to_can_run_breakpoint_commands.
176 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
177 Use TARGET_DEFAULT_RETURN.
179 2014-02-19 Tom Tromey <tromey@redhat.com>
181 * target-delegates.c: Rebuild.
182 * target.c (update_current_target): Don't inherit or default
183 to_supports_evaluation_of_breakpoint_conditions.
184 * target.h (struct target_ops)
185 <to_supports_evaluation_of_breakpoint_conditions>: Use
186 TARGET_DEFAULT_RETURN.
188 2014-02-19 Tom Tromey <tromey@redhat.com>
190 * target-delegates.c: Rebuild.
191 * target.c (update_current_target): Don't inherit or default
192 to_augmented_libraries_svr4_read.
193 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
194 Use TARGET_DEFAULT_RETURN.
196 2014-02-19 Tom Tromey <tromey@redhat.com>
198 * target-delegates.c: Rebuild.
199 * target.c (update_current_target): Don't inherit or default
201 * target.h (struct target_ops) <to_can_use_agent>: Use
202 TARGET_DEFAULT_RETURN.
204 2014-02-19 Tom Tromey <tromey@redhat.com>
206 * target-delegates.c: Rebuild.
207 * target.c (update_current_target): Don't inherit or default
209 * target.h (struct target_ops) <to_use_agent>: Use
210 TARGET_DEFAULT_NORETURN.
212 2014-02-19 Tom Tromey <tromey@redhat.com>
214 * target-delegates.c: Rebuild.
215 * target.c (update_current_target): Don't inherit or default
217 (return_null): Remove.
218 * target.h (struct target_ops) <to_traceframe_info>: Use
219 TARGET_DEFAULT_RETURN.
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_static_tracepoint_markers_by_strid.
226 * target.h (struct target_ops)
227 <to_static_tracepoint_markers_by_strid>: Use
228 TARGET_DEFAULT_NORETURN.
230 2014-02-19 Tom Tromey <tromey@redhat.com>
232 * target-delegates.c: Rebuild.
233 * target.c (update_current_target): Don't inherit or default
234 to_static_tracepoint_marker_at.
235 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
236 Use TARGET_DEFAULT_RETURN.
238 2014-02-19 Tom Tromey <tromey@redhat.com>
240 * target-delegates.c: Rebuild.
241 * target.c (update_current_target): Don't inherit or default
243 * target.h (struct target_ops) <to_set_permissions>: Use
244 TARGET_DEFAULT_IGNORE.
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
251 * target.h (struct target_ops) <to_get_tib_address>: 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
259 * target.h (struct target_ops) <to_set_trace_notes>: Use
260 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 initialize
266 to_set_trace_buffer_size.
267 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
268 TARGET_DEFAULT_IGNORE.
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
274 to_set_circular_trace_buffer.
275 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
276 TARGET_DEFAULT_IGNORE.
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_set_disconnected_tracing.
283 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
284 TARGET_DEFAULT_IGNORE.
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
290 to_get_min_fast_tracepoint_insn_len.
291 (return_minus_one): Remove.
292 * target.h (struct target_ops)
293 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
295 2014-02-19 Tom Tromey <tromey@redhat.com>
297 * target-delegates.c: Rebuild.
298 * target.c (update_current_target): Don't inherit or default
299 to_get_raw_trace_data.
300 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
301 TARGET_DEFAULT_NORETURN.
303 2014-02-19 Tom Tromey <tromey@redhat.com>
305 * target-delegates.c: Rebuild.
306 * target.c (update_current_target): Don't inherit or default
307 to_upload_trace_state_variables.
308 * target.h (struct target_ops) <to_upload_trace_state_variables>:
309 Use TARGET_DEFAULT_RETURN.
311 2014-02-19 Tom Tromey <tromey@redhat.com>
313 * target-delegates.c: Rebuild.
314 * target.c (update_current_target): Don't inherit or default
315 to_upload_tracepoints.
316 * target.h (struct target_ops) <to_upload_tracepoints>: Use
317 TARGET_DEFAULT_RETURN.
319 2014-02-19 Tom Tromey <tromey@redhat.com>
321 * target-delegates.c: Rebuild.
322 * target.c (update_current_target): Don't inherit or default
324 * target.h (struct target_ops) <to_save_trace_data>: Use
325 TARGET_DEFAULT_NORETURN.
327 2014-02-19 Tom Tromey <tromey@redhat.com>
329 * target-delegates.c: Rebuild.
330 * target.c (update_current_target): Don't inherit or default
331 to_get_trace_state_variable_value.
332 * target.h (struct target_ops)
333 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
335 2014-02-19 Tom Tromey <tromey@redhat.com>
337 * target-delegates.c: Rebuild.
338 * target.c (update_current_target): Don't inherit or default
340 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
342 2014-02-19 Tom Tromey <tromey@redhat.com>
344 * target-delegates.c: Rebuild.
345 * target.c (update_current_target): Don't inherit or default
347 * target.h (struct target_ops) <to_trace_stop>: Use
348 TARGET_DEFAULT_NORETURN.
350 2014-02-19 Tom Tromey <tromey@redhat.com>
352 * target-delegates.c: Rebuild.
353 * target.c (update_current_target): Don't inherit or default
354 to_get_tracepoint_status.
355 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
356 TARGET_DEFAULT_NORETURN.
358 2014-02-19 Tom Tromey <tromey@redhat.com>
360 * target-delegates.c: Rebuild.
361 * target.c (update_current_target): Don't inherit or default
363 * target.h (struct target_ops) <to_get_trace_status>: Use
364 TARGET_DEFAULT_RETURN.
366 2014-02-19 Tom Tromey <tromey@redhat.com>
368 * target-delegates.c: Rebuild.
369 * target.c (update_current_target): Don't inherit or default
371 * target.h (struct target_ops) <to_trace_start>: Use
372 TARGET_DEFAULT_NORETURN.
374 2014-02-19 Tom Tromey <tromey@redhat.com>
376 * target-delegates.c: Rebuild.
377 * target.c (update_current_target): Don't inherit or default
378 to_trace_set_readonly_regions.
379 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
380 Use TARGET_DEFAULT_NORETURN.
382 2014-02-19 Tom Tromey <tromey@redhat.com>
384 * target-delegates.c: Rebuild.
385 * target.c (update_current_target): Don't inherit or default
386 to_disable_tracepoint.
387 * target.h (struct target_ops) <to_disable_tracepoint>: Use
388 TARGET_DEFAULT_NORETURN.
390 2014-02-19 Tom Tromey <tromey@redhat.com>
392 * target-delegates.c: Rebuild.
393 * target.c (update_current_target): Don't inherit or default
394 to_enable_tracepoint.
395 * target.h (struct target_ops) <to_enable_tracepoint>: Use
396 TARGET_DEFAULT_NORETURN.
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_download_trace_state_variable.
403 * target.h (struct target_ops) <to_download_trace_state_variable>:
404 Use TARGET_DEFAULT_NORETURN.
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_can_download_tracepoint.
411 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
412 TARGET_DEFAULT_RETURN.
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_download_tracepoint.
419 * target.h (struct target_ops) <to_download_tracepoint>: Use
420 TARGET_DEFAULT_NORETURN.
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
427 * target.h (struct target_ops) <to_trace_init>: Use
428 TARGET_DEFAULT_RETURN.
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_supports_string_tracing.
435 * target.h (struct target_ops) <to_supports_string_tracing>: Use
436 TARGET_DEFAULT_RETURN.
438 2014-02-19 Tom Tromey <tromey@redhat.com>
440 * target-delegates.c: Rebuild.
441 * target.c (update_current_target): Don't inherit or default
442 to_supports_enable_disable_tracepoint.
443 * target.h (struct target_ops)
444 <to_supports_enable_disable_tracepoint>: Use
445 TARGET_DEFAULT_RETURN.
447 2014-02-19 Tom Tromey <tromey@redhat.com>
449 * target-delegates.c: Rebuild.
450 * target.c (update_current_target): Don't inherit or default
451 to_supports_multi_process.
452 * target.h (struct target_ops) <to_supports_multi_process>: Use
453 TARGET_DEFAULT_RETURN.
455 2014-02-19 Tom Tromey <tromey@redhat.com>
457 * target-delegates.c: Rebuild.
458 * target.c (update_current_target): Don't inherit or default
459 to_get_ada_task_ptid.
460 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
463 2014-02-19 Tom Tromey <tromey@redhat.com>
465 * target-delegates.c: Rebuild.
466 * target.c (update_current_target): Don't inherit or default
467 to_thread_architecture.
468 * target.h (struct target_ops) <to_thread_architecture>: Use
471 2014-02-19 Tom Tromey <tromey@redhat.com>
473 * target-delegates.c: Rebuild.
474 * target.c (update_current_target): Don't inherit or default
475 to_execution_direction.
476 * target.h (struct target_ops) <to_execution_direction>: Use
479 2014-02-19 Tom Tromey <tromey@redhat.com>
481 * target-delegates.c: Rebuild.
482 * target.c (update_current_target): Don't inherit or default
483 to_can_execute_reverse.
484 * target.h (struct target_ops) <to_can_execute_reverse>: Use
485 TARGET_DEFAULT_RETURN.
486 (target_can_execute_reverse): Unconditionally delegate.
488 2014-02-19 Tom Tromey <tromey@redhat.com>
490 * target-delegates.c: Rebuild.
491 * target.c (update_current_target): Don't inherit or default
493 (dummy_goto_bookmark): Remove.
494 (init_dummy_target): Don't inherit or default to_goto_bookmark.
495 * target.h (struct target_ops) <to_goto_bookmark>: Use
496 TARGET_DEFAULT_NORETURN.
498 2014-02-19 Tom Tromey <tromey@redhat.com>
500 * target-delegates.c: Rebuild.
501 * target.c (update_current_target): Don't inherit or default
503 (dummy_get_bookmark): Remove.
504 (init_dummy_target): Don't inherit or default to_get_bookmark.
505 * target.h (struct target_ops) <to_get_bookmark>: Use
506 TARGET_DEFAULT_NORETURN
508 2014-02-19 Tom Tromey <tromey@redhat.com>
510 * target-delegates.c: Rebuild.
511 * target.c (update_current_target): Don't inherit or default
512 to_make_corefile_notes.
513 (init_dummy_target): Don't initialize to_make_corefile_notes.
514 * target.h (struct target_ops) <to_make_corefile_notes>: Use
517 2014-02-19 Tom Tromey <tromey@redhat.com>
519 * target-delegates.c: Rebuild.
520 * target.c (update_current_target): Don't inherit or default
521 to_find_memory_regions.
522 (init_dummy_target): Don't initialize to_find_memory_regions.
523 * target.h (struct target_ops) <to_find_memory_regions>: Use
526 2014-02-19 Tom Tromey <tromey@redhat.com>
528 * target-delegates.c: Rebuild.
529 * target.c (update_current_target): Don't inherit or default
531 * target.h (struct target_ops) <to_log_command>: Use
532 TARGET_DEFAULT_IGNORE.
533 (target_log_command): Unconditionally delegate.
535 2014-02-19 Tom Tromey <tromey@redhat.com>
537 * target-delegates.c: Rebuild.
538 * target.c (update_current_target): Don't inherit or default
540 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
541 TARGET_DEFAULT_RETURN.
543 2014-02-19 Tom Tromey <tromey@redhat.com>
545 * target-delegates.c: Rebuild.
546 * target.c (update_current_target): Don't inherit or default
548 (target_thread_name): Unconditionally delegate.
549 * target.h (struct target_ops) <to_thread_name>: 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_extra_thread_info.
557 * target.h (struct target_ops) <to_extra_thread_info>: 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
565 * target.h (struct target_ops) <to_has_exited>: 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_set_syscall_catchpoint.
573 (return_one): Remove.
574 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
575 TARGET_DEFAULT_RETURN.
577 2014-02-19 Tom Tromey <tromey@redhat.com>
579 * target-delegates.c: Rebuild.
580 * target.c (update_current_target): Don't inherit or default
581 to_insert_exec_catchpoint.
582 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
583 TARGET_DEFAULT_RETURN.
585 2014-01-08 Tom Tromey <tromey@redhat.com>
587 * target-delegates.c: Rebuild.
588 * target.c (update_current_target): Don't inherit or default
589 to_insert_exec_catchpoint.
590 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
591 TARGET_DEFAULT_RETURN.
593 2014-02-19 Tom Tromey <tromey@redhat.com>
595 * target-delegates.c: Rebuild.
596 * target.c (update_current_target): Don't inherit or default
597 to_remove_vfork_catchpoint.
598 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
599 TARGET_DEFAULT_RETURN.
601 2014-02-19 Tom Tromey <tromey@redhat.com>
603 * target-delegates.c: Rebuild.
604 * target.c (update_current_target): Don't inherit or default
605 to_insert_vfork_catchpoint.
606 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
607 TARGET_DEFAULT_RETURN.
609 2014-02-19 Tom Tromey <tromey@redhat.com>
611 * target-delegates.c: Rebuild.
612 * target.c (update_current_target): Don't inherit or default
613 to_remove_fork_catchpoint.
614 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
615 TARGET_DEFAULT_RETURN.
617 2014-02-19 Tom Tromey <tromey@redhat.com>
619 * target-delegates.c: Rebuild.
620 * target.c (update_current_target): Don't inherit or default
621 to_insert_fork_catchpoint.
622 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
623 TARGET_DEFAULT_RETURN.
625 2014-02-19 Tom Tromey <tromey@redhat.com>
627 * target-delegates.c: Rebuild.
628 * target.c (update_current_target): Don't inherit or default
629 to_post_startup_inferior.
630 * target.h (struct target_ops) <to_post_startup_inferior>: Use
631 TARGET_DEFAULT_IGNORE.
633 2014-02-19 Tom Tromey <tromey@redhat.com>
635 * target-delegates.c: Rebuild.
636 * target.c (update_current_target): Don't inherit or default
638 * target.h (struct target_ops) <to_load>: Use
639 TARGET_DEFAULT_NORETURN.
641 2014-02-19 Tom Tromey <tromey@redhat.com>
643 * target-delegates.c: Rebuild.
644 * target.c (update_current_target): Don't inherit or default
646 * target.h (struct target_ops) <to_terminal_info>: Use
649 2014-02-19 Tom Tromey <tromey@redhat.com>
651 * target-delegates.c: Rebuild.
652 * target.c (update_current_target): Don't inherit or default
653 to_terminal_save_ours.
654 * target.h (struct target_ops) <to_terminal_save_ours>: Use
655 TARGET_DEFAULT_IGNORE.
657 2014-02-19 Tom Tromey <tromey@redhat.com>
659 * target-delegates.c: Rebuild.
660 * target.c (update_current_target): Don't inherit or default
662 * target.h (struct target_ops) <to_terminal_ours>: Use
663 TARGET_DEFAULT_IGNORE.
665 2014-02-19 Tom Tromey <tromey@redhat.com>
667 * target-delegates.c: Rebuild.
668 * target.c (update_current_target): Don't inherit or default
669 to_terminal_ours_for_output.
670 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
671 TARGET_DEFAULT_IGNORE.
673 2014-02-19 Tom Tromey <tromey@redhat.com>
675 * target-delegates.c: Rebuild.
676 * target.c (update_current_target): Don't inherit or default
677 to_terminal_inferior.
678 * target.h (struct target_ops) <to_terminal_inferior>: Use
679 TARGET_DEFAULT_IGNORE.
681 2014-02-19 Tom Tromey <tromey@redhat.com>
683 * target-delegates.c: Rebuild.
684 * target.c (update_current_target): Don't inherit or default
686 * target.h (struct target_ops) <to_terminal_init>: Use
687 TARGET_DEFAULT_IGNORE.
689 2014-02-19 Tom Tromey <tromey@redhat.com>
691 * target-delegates.c: Rebuild.
692 * target.c (update_current_target): Don't inherit or default
693 to_can_accel_watchpoint_condition.
694 * target.h (struct target_ops)
695 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
697 2014-02-19 Tom Tromey <tromey@redhat.com>
699 * target-delegates.c: Rebuild.
700 * target.c (update_current_target): Don't inherit or default
701 to_region_ok_for_hw_watchpoint.
702 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
703 Use TARGET_DEFAULT_FUNC.
705 2014-02-19 Tom Tromey <tromey@redhat.com>
707 * target-delegates.c: Rebuild.
708 * target.c (update_current_target): Don't inherit or default
709 to_watchpoint_addr_within_range.
710 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
711 Use TARGET_DEFAULT_FUNC.
713 2014-02-19 Tom Tromey <tromey@redhat.com>
715 * target-delegates.c: Rebuild.
716 * target.c (update_current_target): Don't inherit or default
717 to_remove_watchpoint.
718 * target.h (struct target_ops) <to_remove_watchpoint>: Use
719 TARGET_DEFAULT_NORETURN.
721 2014-02-19 Tom Tromey <tromey@redhat.com>
723 * target-delegates.c: Rebuild.
724 * target.c (update_current_target): Don't inherit or default
725 to_insert_watchpoint.
726 * target.h (struct target_ops) <to_insert_watchpoint>: Use
727 TARGET_DEFAULT_RETURN.
729 2014-02-19 Tom Tromey <tromey@redhat.com>
731 * target-delegates.c: Rebuild.
732 * target.c (update_current_target): Don't inherit or default
733 to_remove_hw_breakpoint.
734 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
735 TARGET_DEFAULT_RETURN.
737 2014-02-19 Tom Tromey <tromey@redhat.com>
739 * target-delegates.c: Rebuild.
740 * target.c (update_current_target): Don't inherit or default
741 to_insert_hw_breakpoint.
742 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
743 TARGET_DEFAULT_RETURN.
745 2014-02-19 Tom Tromey <tromey@redhat.com>
747 * target-delegates.c: Rebuild.
748 * target.c (update_current_target): Don't inherit or default
749 to_can_use_hw_breakpoint.
750 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
751 TARGET_DEFAULT_RETURN.
753 2014-02-19 Tom Tromey <tromey@redhat.com>
755 * target-delegates.c: Rebuild.
756 * target.c (update_current_target): Don't inherit or default
758 * target.h (struct target_ops) <to_files_info>: Use
759 TARGET_DEFAULT_IGNORE.
761 2014-02-19 Tom Tromey <tromey@redhat.com>
763 * target-delegates.c: Rebuild.
764 * target.c (update_current_target): Don't inherit or default
766 * target.h (struct target_ops) <to_store>: Use
767 TARGET_DEFAULT_NORETURN.
769 2014-02-19 Tom Tromey <tromey@redhat.com>
771 * target-delegates.c: Rebuild.
772 * target.c (update_current_target): Don't inherit or default
774 * target.h (struct target_ops) <to_post_attach>: Use
775 TARGET_DEFAULT_IGNORE.
777 2014-02-19 Tom Tromey <tromey@redhat.com>
779 * target-delegates.c: Rebuild.
780 * target.c (update_current_target): Don't inherit or default
782 (default_rcmd): New function.
783 (do_monitor_command): Unconditionally delegate.
784 * target.h (struct target_ops) <to_rmcd>: Use
787 2014-02-19 Tom Tromey <tromey@redhat.com>
789 * target-delegates.c: Rebuild.
790 * target.c (init_dummy_target): Don't initialize to_attach.
791 (target_attach): Unconditionally delegate.
792 * target.h (struct target_ops) <to_attach>: Use
795 2014-02-19 Tom Tromey <tromey@redhat.com>
797 * target-delegates.c: Rebuild.
798 * target.c (target_detach): Unconditionally delegate.
799 (init_dummy_target): Don't initialize to_detach.
800 * target.h (struct target_ops) <to_detach>: Use
801 TARGET_DEFAULT_IGNORE.
803 2014-02-19 Tom Tromey <tromey@redhat.com>
805 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
807 (target_augmented_libraries_svr4_read): Add argument.
808 * target.c (update_current_target): Update.
809 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
812 2014-02-19 Tom Tromey <tromey@redhat.com>
814 * target.h (struct target_ops) <to_call_history_range>: Add
816 * target.c (target_call_history_range): Add argument.
817 * record-btrace.c (record_btrace_call_history_range): Add 'self'
819 (record_btrace_call_history_from): Update.
821 2014-02-19 Tom Tromey <tromey@redhat.com>
823 * target.h (struct target_ops) <to_call_history_from>: Add
825 * target.c (target_call_history_from): Add argument.
826 * record-btrace.c (record_btrace_call_history_from): Add 'self'
829 2014-02-19 Tom Tromey <tromey@redhat.com>
831 * target.h (struct target_ops) <to_call_history>: Add argument.
832 * target.c (target_call_history): Add argument.
833 * record-btrace.c (record_btrace_call_history): Add 'self'
836 2014-02-19 Tom Tromey <tromey@redhat.com>
838 * target.h (struct target_ops) <to_insn_history_range>: Add
840 * target.c (target_insn_history_range): Add argument.
841 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
843 (record_btrace_insn_history_from): Update.
845 2014-02-19 Tom Tromey <tromey@redhat.com>
847 * target.h (struct target_ops) <to_insn_history_from>: Add
849 * target.c (target_insn_history_from): Add argument.
850 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
853 2014-02-19 Tom Tromey <tromey@redhat.com>
855 * target.h (struct target_ops) <to_insn_history>: Add argument.
856 * target.c (target_insn_history): Add argument.
857 * record-btrace.c (record_btrace_insn_history): Add 'self'
860 2014-02-19 Tom Tromey <tromey@redhat.com>
862 * target.h (struct target_ops) <to_goto_record>: Add argument.
863 * target.c (target_goto_record): Add argument.
864 * record-full.c (record_full_goto): Add 'self' argument.
865 * record-btrace.c (record_btrace_goto): Add 'self' argument.
867 2014-02-19 Tom Tromey <tromey@redhat.com>
869 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
870 * target.c (target_goto_record_end): Add argument.
871 * record-full.c (record_full_goto_end): Add 'self' argument.
872 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
874 2014-02-19 Tom Tromey <tromey@redhat.com>
876 * target.h (struct target_ops) <to_goto_record_begin>: Add
878 * target.c (target_goto_record_begin): Add argument.
879 * record-full.c (record_full_goto_begin): Add 'self' argument.
880 * record-btrace.c (record_btrace_goto_begin): Add 'self'
883 2014-02-19 Tom Tromey <tromey@redhat.com>
885 * target.h (struct target_ops) <to_record_is_replaying>: Add
887 * target.c (target_record_is_replaying): Add argument.
888 * record-full.c (record_full_is_replaying): Add 'self' argument.
889 * record-btrace.c (record_btrace_is_replaying): Add 'self'
891 (record_btrace_xfer_partial, record_btrace_store_registers)
892 (record_btrace_prepare_to_store, record_btrace_resume)
893 (record_btrace_wait, record_btrace_decr_pc_after_break)
894 (record_btrace_find_new_threads, record_btrace_thread_alive):
897 2014-02-19 Tom Tromey <tromey@redhat.com>
899 * target.h (struct target_ops) <to_delete_record>: Add argument.
900 * target.c (target_delete_record): Add argument.
901 * record-full.c (record_full_delete): Add 'self' argument.
903 2014-02-19 Tom Tromey <tromey@redhat.com>
905 * target.h (struct target_ops) <to_save_record>: Add argument.
906 * target.c (target_save_record): Add argument.
907 * record-full.c (record_full_save): Add 'self' argument.
908 (record_full_save): Add 'self' argument.
910 2014-02-19 Tom Tromey <tromey@redhat.com>
912 * target.h (struct target_ops) <to_info_record>: Add argument.
913 * target.c (target_info_record): Add argument.
914 * record.c (info_record_command): Add argument.
915 * record-full.c (record_full_info): Add 'self' argument.
916 * record-btrace.c (record_btrace_info): Add 'self' argument.
918 2014-02-19 Tom Tromey <tromey@redhat.com>
920 * target.h (struct target_ops) <to_stop_recording>: Add argument.
921 * target.c (target_stop_recording): Add argument.
922 * record.c (record_stop): Add argument.
923 * record-btrace.c (record_btrace_stop_recording): Add 'self'
926 2014-02-19 Tom Tromey <tromey@redhat.com>
928 * target.h (struct target_ops) <to_read_btrace>: Add argument.
929 * target.c (struct target_ops) <to_read_btrace>: Add argument.
930 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
932 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
933 (_initialize_amd64_linux_nat): Use it.
934 * i386-linux-nat.c (i386_linux_read_btrace): New function.
935 (_initialize_i386_linux_nat): Use it.
937 2014-02-19 Tom Tromey <tromey@redhat.com>
939 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
940 * target.c (target_teardown_btrace): Add argument.
941 * remote.c (remote_teardown_btrace): Add 'self' argument.
942 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
944 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
947 2014-02-19 Tom Tromey <tromey@redhat.com>
949 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
950 * target.c (target_disable_btrace): Add argument.
951 * remote.c (remote_disable_btrace): Add 'self' argument.
952 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
954 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
957 2014-02-19 Tom Tromey <tromey@redhat.com>
959 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
960 * target.c (target_enable_btrace): Add argument.
961 * remote.c (remote_enable_btrace): Add 'self' argument.
962 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
964 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
967 2014-02-19 Tom Tromey <tromey@redhat.com>
969 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
970 (target_can_use_agent): Add argument.
971 * target.c (update_current_target): Update.
972 * remote.c (remote_can_use_agent): Add 'self' argument.
973 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
975 2014-02-19 Tom Tromey <tromey@redhat.com>
977 * target.h (struct target_ops) <to_use_agent>: Add argument.
978 (target_use_agent): Add argument.
979 * target.c (update_current_target): Update.
980 * remote.c (remote_use_agent): Add 'self' argument.
981 * inf-child.c (inf_child_use_agent): Add 'self' argument.
983 2014-02-19 Tom Tromey <tromey@redhat.com>
985 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
986 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
987 (target_traceframe_info): Add argument.
988 * target.c (update_current_target): Update.
989 * remote.c (remote_traceframe_info): Add 'self' argument.
990 * ctf.c (ctf_traceframe_info): Add 'self' argument.
992 2014-02-19 Tom Tromey <tromey@redhat.com>
994 * target.h (target_static_tracepoint_markers_by_strid): Add
996 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
998 * target.c (update_current_target): Update.
999 * remote.c (struct target_ops)
1000 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1001 * linux-nat.c (struct target_ops)
1002 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1004 2014-02-19 Tom Tromey <tromey@redhat.com>
1006 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1008 (target_static_tracepoint_marker_at): Add argument.
1009 * target.c (update_current_target): Update.
1010 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
1013 2014-02-19 Tom Tromey <tromey@redhat.com>
1015 * target.h (struct target_ops) <to_set_permissions>: Add argument.
1016 (target_set_permissions): Add argument.
1017 * target.c (update_current_target): Update.
1018 * remote.c (remote_set_permissions): Add 'self' argument.
1019 (remote_start_remote): Update.
1021 2014-02-19 Tom Tromey <tromey@redhat.com>
1023 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
1024 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
1025 (target_get_tib_address): Add argument.
1026 * target.c (update_current_target): Update.
1027 * remote.c (remote_get_tib_address): Add 'self' argument.
1029 2014-02-19 Tom Tromey <tromey@redhat.com>
1031 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
1032 (target_set_trace_notes): Add argument.
1033 * target.c (update_current_target): Update.
1034 * remote.c (remote_set_trace_notes): Add 'self' argument.
1036 2014-02-19 Tom Tromey <tromey@redhat.com>
1038 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
1040 (target_set_trace_buffer_size): Add argument.
1041 * target.c (update_current_target): Update.
1042 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
1044 2014-02-19 Tom Tromey <tromey@redhat.com>
1046 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
1048 (target_set_circular_trace_buffer): Add argument.
1049 * target.c (update_current_target): Update.
1050 * remote.c (remote_set_circular_trace_buffer): Add 'self'
1053 2014-02-19 Tom Tromey <tromey@redhat.com>
1055 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
1057 (target_set_disconnected_tracing): Add argument.
1058 * target.c (update_current_target): Update.
1059 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
1061 2014-02-19 Tom Tromey <tromey@redhat.com>
1063 * target.h (struct target_ops)
1064 <to_get_min_fast_tracepoint_insn_len>: Add argument.
1065 (target_get_min_fast_tracepoint_insn_len): Add argument.
1066 * target.c (update_current_target): Update.
1067 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
1070 2014-02-19 Tom Tromey <tromey@redhat.com>
1072 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
1074 (target_get_raw_trace_data): Add argument.
1075 * target.c (update_current_target): Update.
1076 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
1078 2014-02-19 Tom Tromey <tromey@redhat.com>
1080 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1082 (target_upload_trace_state_variables): Add argument.
1083 * target.c (update_current_target): Update.
1084 * remote.c (remote_upload_trace_state_variables): Add 'self'
1086 (remote_start_remote): Update.
1088 2014-02-19 Tom Tromey <tromey@redhat.com>
1090 * target.h (struct target_ops) <to_upload_tracepoints>: Add
1092 (target_upload_tracepoints): Add argument.
1093 * target.c (update_current_target): Update.
1094 * remote.c (remote_upload_tracepoints): Add 'self' argument.
1095 (remote_start_remote): Update.
1097 2014-02-19 Tom Tromey <tromey@redhat.com>
1099 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
1100 (target_save_trace_data): Add argument.
1101 * target.c (update_current_target): Update.
1102 * remote.c (remote_save_trace_data): Add 'self' argument.
1104 2014-02-19 Tom Tromey <tromey@redhat.com>
1106 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
1108 * target.h (struct target_ops)
1109 <to_get_trace_state_variable_value>: Add argument.
1110 (target_get_trace_state_variable_value): Add argument.
1111 * target.c (update_current_target): Update.
1112 * remote.c (remote_get_trace_state_variable_value): Add 'self'
1114 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
1116 2014-02-19 Tom Tromey <tromey@redhat.com>
1118 * tracepoint.c (tfile_trace_find): Add 'self' argument.
1119 * target.h (struct target_ops) <to_trace_find>: Add argument.
1120 (target_trace_find): Add argument.
1121 * target.c (update_current_target): Update.
1122 * remote.c (remote_trace_find): Add 'self' argument.
1123 * ctf.c (ctf_trace_find): Add 'self' argument.
1125 2014-02-19 Tom Tromey <tromey@redhat.com>
1127 * target.h (struct target_ops) <to_trace_stop>: Add argument.
1128 (target_trace_stop): Add argument.
1129 * target.c (update_current_target): Update.
1130 * remote.c (remote_trace_stop): Add 'self' argument.
1132 2014-02-19 Tom Tromey <tromey@redhat.com>
1134 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
1135 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
1137 (target_get_tracepoint_status): Add argument.
1138 * target.c (update_current_target): Update.
1139 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
1141 2014-02-19 Tom Tromey <tromey@redhat.com>
1143 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
1144 * target.h (struct target_ops) <to_get_trace_status>: Add
1146 (target_get_trace_status): Add argument.
1147 * target.c (update_current_target): Update.
1148 * remote.c (remote_get_trace_status): Add 'self' argument.
1149 (remote_start_remote, remote_can_download_tracepoint): Update.
1150 * ctf.c (ctf_get_trace_status): Add 'self' argument.
1152 2014-02-19 Tom Tromey <tromey@redhat.com>
1154 * target.h (struct target_ops) <to_trace_start>: Add argument.
1155 (target_trace_start): Add argument.
1156 * target.c (update_current_target): Update.
1157 * remote.c (remote_trace_start): Add 'self' argument.
1159 2014-02-19 Tom Tromey <tromey@redhat.com>
1161 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1163 (target_trace_set_readonly_regions): Add argument.
1164 * target.c (update_current_target): Update.
1165 * remote.c (remote_trace_set_readonly_regions): Add 'self'
1168 2014-02-19 Tom Tromey <tromey@redhat.com>
1170 * target.h (struct target_ops) <to_disable_tracepoint>: Add
1172 (target_disable_tracepoint): Add argument.
1173 * target.c (update_current_target): Update.
1174 * remote.c (remote_disable_tracepoint): Add 'self' argument.
1176 2014-02-19 Tom Tromey <tromey@redhat.com>
1178 * target.h (struct target_ops) <to_enable_tracepoint>: Add
1180 (target_enable_tracepoint): Add argument.
1181 * target.c (update_current_target): Update.
1182 * remote.c (remote_enable_tracepoint): Add 'self' argument.
1184 2014-02-19 Tom Tromey <tromey@redhat.com>
1186 * target.h (struct target_ops) <to_download_trace_state_variable>:
1188 (target_download_trace_state_variable): Add argument.
1189 * target.c (update_current_target): Update.
1190 * remote.c (remote_download_trace_state_variable): Add 'self'
1193 2014-02-19 Tom Tromey <tromey@redhat.com>
1195 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
1197 (target_can_download_tracepoint): Add argument.
1198 * target.c (update_current_target): Update.
1199 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
1201 2014-02-19 Tom Tromey <tromey@redhat.com>
1203 * target.h (struct target_ops) <to_download_tracepoint>: Add
1205 (target_download_tracepoint): Add argument.
1206 * target.c (update_current_target): Update.
1207 * remote.c (remote_download_tracepoint): Add 'self' argument.
1209 2014-02-19 Tom Tromey <tromey@redhat.com>
1211 * target.h (struct target_ops) <to_trace_init>: Add argument.
1212 (target_trace_init): Add argument.
1213 * target.c (update_current_target): Update.
1214 * remote.c (remote_trace_init): Add 'self' argument.
1216 2014-02-19 Tom Tromey <tromey@redhat.com>
1218 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1219 * target.c (target_fileio_readlink): Add argument.
1220 * remote.c (remote_hostio_readlink): Add 'self' argument.
1221 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1223 2014-02-19 Tom Tromey <tromey@redhat.com>
1225 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1226 * target.c (target_fileio_unlink): Add argument.
1227 * remote.c (remote_hostio_unlink): Add 'self' argument.
1228 (remote_file_delete): Update.
1229 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1231 2014-02-19 Tom Tromey <tromey@redhat.com>
1233 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1234 * target.c (target_fileio_close): Add argument.
1235 * remote.c (remote_hostio_close): Add 'self' argument.
1236 (remote_hostio_close_cleanup): Update.
1237 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1239 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1241 2014-02-19 Tom Tromey <tromey@redhat.com>
1243 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1244 * target.c (target_fileio_pread): Add argument.
1245 * remote.c (remote_hostio_pread): Add 'self' argument.
1246 (remote_bfd_iovec_pread, remote_file_get): Update.
1247 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1249 2014-02-19 Tom Tromey <tromey@redhat.com>
1251 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1252 * target.c (target_fileio_pwrite): Add argument.
1253 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1254 (remote_file_put): Update.
1255 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1257 2014-02-19 Tom Tromey <tromey@redhat.com>
1259 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1260 * target.c (target_fileio_open): Add argument.
1261 * remote.c (remote_hostio_open): Add 'self' argument.
1262 (remote_bfd_iovec_open): Add 'self' argument.
1263 (remote_file_put): Add 'self' argument.
1264 (remote_file_get): Add 'self' argument.
1265 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1267 2014-02-19 Tom Tromey <tromey@redhat.com>
1269 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1271 (target_can_run_breakpoint_commands): Add argument.
1272 * target.c (update_current_target): Update.
1273 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1275 (remote_insert_breakpoint): Add 'self' argument.
1276 (remote_insert_hw_breakpoint): Add 'self' argument.
1277 (remote_can_run_breakpoint_commands): Add 'self' argument.
1279 2014-02-19 Tom Tromey <tromey@redhat.com>
1281 * target.h (struct target_ops)
1282 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1283 (target_supports_evaluation_of_breakpoint_conditions): Add
1285 * target.c (update_current_target): Update.
1286 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1288 (remote_insert_breakpoint): Add 'self' argument.
1289 (remote_insert_hw_breakpoint): Add 'self' argument.
1290 (remote_supports_cond_breakpoints): Add 'self' argument.
1292 2014-02-19 Tom Tromey <tromey@redhat.com>
1294 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1296 (target_supports_string_tracing): Add argument.
1297 * target.c (update_current_target): Update.
1298 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1300 2014-02-19 Tom Tromey <tromey@redhat.com>
1302 * target.h (struct target_ops)
1303 <to_supports_disable_randomization>: Add argument.
1304 * target.c (find_default_supports_disable_randomization): Add
1306 (target_supports_disable_randomization): Add argument.
1307 (find_default_supports_disable_randomization): Add 'self'
1309 * remote.c (extended_remote_supports_disable_randomization): Add
1311 (remote_supports_disable_randomization): Add 'self' argument.
1312 (extended_remote_create_inferior): Update.
1313 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1316 2014-02-19 Tom Tromey <tromey@redhat.com>
1318 * target.h (struct target_ops)
1319 <to_supports_enable_disable_tracepoint>: Add argument.
1320 (target_supports_enable_disable_tracepoint): Add argument.
1321 * target.c (update_current_target): Update.
1322 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1325 2014-02-19 Tom Tromey <tromey@redhat.com>
1327 * target.h (struct target_ops) <to_supports_multi_process>: Add
1329 (target_supports_multi_process): Add argument.
1330 * target.c (update_current_target): Update.
1331 * remote.c (remote_supports_multi_process): Add 'self' argument.
1332 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1334 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1337 2014-02-19 Tom Tromey <tromey@redhat.com>
1339 * target.h (struct target_ops) <to_execution_direction>: Add
1341 (target_execution_direction): Add argument.
1342 * target.c (default_execution_direction): Add 'self' argument.
1343 * record-full.c (record_full_execution_direction): Add 'self'
1346 2014-02-19 Tom Tromey <tromey@redhat.com>
1348 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1350 (target_can_execute_reverse): Add argument.
1351 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1352 * record-full.c (record_full_can_execute_reverse): Add 'self'
1354 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1357 2014-02-19 Tom Tromey <tromey@redhat.com>
1359 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1360 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1362 (target_get_ada_task_ptid): Add argument.
1363 * target.c (update_current_target): Update.
1364 (default_get_ada_task_ptid): Add 'self' argument.
1365 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1366 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1367 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1369 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1371 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1373 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1375 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1376 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1379 2014-02-19 Tom Tromey <tromey@redhat.com>
1381 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1382 (target_goto_bookmark): Add argument.
1383 * target.c (dummy_goto_bookmark): Add 'self' argument.
1384 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1386 2014-02-19 Tom Tromey <tromey@redhat.com>
1388 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1389 (target_get_bookmark): Add argument.
1390 * target.c (dummy_get_bookmark): Add 'self' argument.
1391 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1393 2014-02-19 Tom Tromey <tromey@redhat.com>
1395 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1397 (target_make_corefile_notes): Add argument.
1398 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1399 * procfs.c (procfs_make_note_section): Add 'self' argument.
1400 (procfs_make_note_section): Add 'self' argument.
1401 (procfs_make_note_section): Add 'self' argument.
1402 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1404 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1405 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1406 * exec.c (exec_make_note_section): Add 'self' argument.
1407 (exec_make_note_section): Add 'self' argument.
1409 2014-02-19 Tom Tromey <tromey@redhat.com>
1411 * target.h (struct target_ops) <to_find_memory_regions>: Add
1413 (target_find_memory_regions): Add argument.
1414 * target.c (dummy_find_memory_regions): Add 'self' argument.
1415 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1416 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1417 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1418 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1419 * exec. (exec_do_find_memory_regions): New global.
1420 (exec_set_find_memory_regions): Rewrite.
1421 (exec_find_memory_regions): New function.
1422 (init_exec_ops): Use exec_find_memory_regions.
1424 2014-02-19 Tom Tromey <tromey@redhat.com>
1426 * target.h (struct target_ops) <to_supports_non_stop>: Add
1428 * target.c (find_default_supports_non_stop): Add argument.
1429 (target_supports_non_stop): Add argument.
1430 (find_default_supports_non_stop): Add 'self' argument.
1431 * remote.c (remote_supports_non_stop): Add 'self' argument.
1432 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1434 2014-02-19 Tom Tromey <tromey@redhat.com>
1436 * target.h (struct target_ops) <to_log_command>: Add argument.
1437 (target_log_command): Add argument.
1438 * serial.h (serial_log_command): Add 'self' argument.
1439 * serial.c (serial_log_command): Add 'self' argument.
1441 2014-02-19 Tom Tromey <tromey@redhat.com>
1443 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1444 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1446 (target_pid_to_exec_file): Add argument.
1447 * target.c (debug_to_pid_to_exec_file): Add argument.
1448 (update_current_target): Update.
1449 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1450 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1451 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1452 (linux_handle_extended_wait): Update.
1453 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1454 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1455 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1456 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1458 2014-02-19 Tom Tromey <tromey@redhat.com>
1460 * target.h (struct target_ops) <to_rcmd>: Add argument.
1461 (target_rcmd): Add argument.
1462 * target.c (debug_to_rcmd): Add argument.
1463 (update_current_target, do_monitor_command): Update.
1464 * remote.c (remote_rcmd): Add 'self' argument.
1465 * monitor.c (monitor_rcmd): Add 'self' argument.
1467 2014-02-19 Tom Tromey <tromey@redhat.com>
1469 * windows-nat.c (windows_stop): Add 'self' argument.
1470 * target.h (struct target_ops) <to_stop>: Add argument.
1471 * target.c (target_stop): Add argument.
1472 (debug_to_stop): Add argument.
1473 (update_current_target): Update.
1474 * remote.c (remote_stop): Add 'self' argument.
1475 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1476 (gdbsim_cntrl_c): Update.
1477 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1478 * procfs.c (procfs_stop): Add 'self' argument.
1479 * nto-procfs.c (procfs_stop): Add 'self' argument.
1480 * monitor.c (monitor_stop): Add 'self' argument.
1481 (monitor_open): Update.
1482 * linux-nat.c (linux_nat_stop): Add argument.
1483 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1484 * gnu-nat.c (gnu_stop): Add 'self' argument.
1485 * darwin-nat.c (darwin_stop): Add 'self' argument.
1487 2014-02-19 Tom Tromey <tromey@redhat.com>
1489 * target.h (struct target_ops) <to_thread_name>: Add argument.
1490 * target.c (target_thread_name): Add argument.
1491 (update_current_target): Update.
1492 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
1494 2014-02-19 Tom Tromey <tromey@redhat.com>
1496 * target.h (struct target_ops) <to_extra_thread_info>: Add
1498 (target_extra_thread_info): Add argument.
1499 * target.c (update_current_target): Update.
1500 * remote.c (remote_threads_extra_info): Add 'self' argument.
1501 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
1503 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
1504 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
1505 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
1507 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
1509 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
1511 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
1514 2014-02-19 Tom Tromey <tromey@redhat.com>
1516 * target.h (struct target_ops) <to_program_signals>: Add argument.
1517 * target.c (target_program_signals): Add argument.
1518 * remote.c (remote_program_signals): Add 'self' argument.
1520 2014-02-19 Tom Tromey <tromey@redhat.com>
1522 * target.h (struct target_ops) <to_pass_signals>: Add argument.
1523 * target.c (target_pass_signals): Add argument.
1524 * remote.c (remote_pass_signals): Add 'self' argument.
1525 (remote_start_remote): Update.
1526 * procfs.c (procfs_pass_signals): Add 'self' argument.
1527 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
1528 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
1529 (linux_nat_create_inferior, linux_nat_attach): Update.
1531 2014-02-19 Tom Tromey <tromey@redhat.com>
1533 * windows-nat.c (windows_can_run): Add 'self' argument.
1534 * target.h (struct target_ops) <to_can_run>: Add argument.
1535 (target_can_run): Add argument.
1536 * target.c (debug_to_can_run): Add argument.
1537 (update_current_target): Update.
1538 * nto-procfs.c (procfs_can_run): Add 'self' argument.
1539 * inf-child.c (inf_child_can_run): Add 'self' argument.
1540 * go32-nat.c (go32_can_run): Add 'self' argument.
1542 2014-02-19 Tom Tromey <tromey@redhat.com>
1544 * target.h (struct target_ops) <to_has_exited>: Add argument.
1545 (target_has_exited): Add argument.
1546 * target.c (debug_to_has_exited): Add argument.
1547 (update_current_target): Update.
1549 2014-02-19 Tom Tromey <tromey@redhat.com>
1551 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
1553 (target_set_syscall_catchpoint): Add argument.
1554 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
1556 * target.c (update_current_target): Update.
1558 2014-02-19 Tom Tromey <tromey@redhat.com>
1560 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
1562 (target_remove_exec_catchpoint): Add argument.
1563 * target.c (debug_to_remove_exec_catchpoint): Add argument.
1564 (update_current_target): Update.
1565 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
1568 2014-02-19 Tom Tromey <tromey@redhat.com>
1570 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
1572 (target_insert_exec_catchpoint): Add argument.
1573 * target.c (debug_to_insert_exec_catchpoint): Add argument.
1574 (update_current_target): Update.
1575 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
1578 2014-02-19 Tom Tromey <tromey@redhat.com>
1580 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
1582 (target_remove_vfork_catchpoint): Add argument.
1583 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
1584 (update_current_target): Update.
1585 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
1588 2014-02-19 Tom Tromey <tromey@redhat.com>
1590 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
1592 (target_insert_vfork_catchpoint): Add argument.
1593 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
1594 (update_current_target): Update.
1595 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
1598 2014-02-19 Tom Tromey <tromey@redhat.com>
1600 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
1602 (target_remove_fork_catchpoint): Add argument.
1603 * target.c (debug_to_remove_fork_catchpoint): Add argument.
1604 (update_current_target): Update.
1605 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
1608 2014-02-19 Tom Tromey <tromey@redhat.com>
1610 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
1612 (target_insert_fork_catchpoint): Add argument.
1613 * target.c (debug_to_insert_fork_catchpoint): Add argument.
1614 (update_current_target): Update.
1615 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
1618 2014-02-19 Tom Tromey <tromey@redhat.com>
1620 * target.h (struct target_ops) <to_post_startup_inferior>: Add
1622 (target_post_startup_inferior): Add argument.
1623 * target.c (debug_to_post_startup_inferior): Add argument.
1624 (update_current_target): Update.
1625 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
1627 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
1629 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
1631 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
1633 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
1635 (super_post_startup_inferior): Likewise.
1636 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
1638 (super_post_startup_inferior): Likewise.
1639 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
1640 Add 'self' argument.
1641 (super_post_startup_inferior): Likewise.
1643 2014-02-19 Tom Tromey <tromey@redhat.com>
1645 * target.h (struct target_ops) <to_load>: Add argument.
1646 * target.c (target_load): Add argument.
1647 (debug_to_load): Add argument.
1648 (update_current_target): Update.
1649 * remote.c (remote_load): Add 'self' argument.
1650 * remote-sim.c (gdbsim_load): Add 'self' argument.
1651 * remote-mips.c (mips_load): Add 'self' argument.
1652 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
1653 * monitor.c (monitor_load): Add 'self' argument.
1654 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
1656 2014-02-19 Tom Tromey <tromey@redhat.com>
1658 * target.h (struct target_ops) <to_terminal_info>: Add argument.
1659 (target_terminal_info): Add argument.
1660 * target.c (debug_to_terminal_info): Add argument.
1661 (default_terminal_info): Likewise.
1662 * inflow.c (child_terminal_info): Add 'self' argument.
1663 * inferior.h (child_terminal_info): Add 'self' argument.
1664 * go32-nat.c (go32_terminal_info): Add 'self' argument.
1666 2014-02-19 Tom Tromey <tromey@redhat.com>
1668 * target.h (struct target_ops) <to_terminal_save_ours>: Add
1670 (target_terminal_save_ours): Add argument.
1671 * target.c (debug_to_terminal_save_ours): Add argument.
1672 (update_current_target): Update.
1673 * inflow.c (terminal_save_ours): Add 'self' argument.
1674 * inferior.h (terminal_save_ours): Add 'self' argument.
1676 2014-02-19 Tom Tromey <tromey@redhat.com>
1678 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
1679 (target_terminal_ours): Add argument.
1680 * target.c (debug_to_terminal_ours): Add argument.
1681 (update_current_target): Update.
1682 * remote.c (remote_terminal_ours): Add 'self' argument.
1683 (remote_close): Update.
1684 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
1685 * inflow.c (terminal_ours): Add 'self' argument.
1686 * inferior.h (terminal_ours): Add 'self' argument.
1687 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1689 2014-02-19 Pedro Alves <palves@redhat.com>
1690 Tom Tromey <tromey@redhat.com>
1692 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
1694 (target_terminal_ours_for_output): Add argument.
1695 * target.c (debug_to_terminal_ours_for_output): Add argument.
1696 (update_current_target): Update.
1697 * inflow.c (terminal_ours_for_output): Add 'self' argument.
1698 * inferior.h (terminal_ours_for_output): Add 'self' argument.
1699 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1701 2014-02-19 Tom Tromey <tromey@redhat.com>
1703 * target.h (struct target_ops) <to_terminal_inferior>: Add
1705 * target.c (target_terminal_inferior): Add argument.
1706 (update_current_target): Update.
1707 * remote.c (remote_terminal_inferior): Add 'self' argument.
1708 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
1709 * inflow.c (terminal_inferior): Add 'self' argument.
1710 * inferior.h (terminal_inferior): Add 'self' argument.
1711 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
1712 (go32_terminal_inferior): Add 'self' argument.
1714 2014-02-19 Tom Tromey <tromey@redhat.com>
1716 * target.h (struct target_ops) <to_terminal_init>: Add argument.
1717 (target_terminal_init): Add argument.
1718 * target.c (debug_to_terminal_init): Add argument.
1719 (update_current_target): Update.
1720 * inflow.c (terminal_init_inferior): Add 'self' argument.
1721 * inferior.h (terminal_init_inferior): Add 'self' argument.
1722 * go32-nat.c (go32_terminal_init): Add 'self' argument.
1723 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
1725 2014-02-19 Tom Tromey <tromey@redhat.com>
1727 * target.h (struct target_ops)
1728 <to_can_accel_watchpoint_condition>: Add argument.
1729 (target_can_accel_watchpoint_condition): Add argument.
1730 * target.c (debug_to_can_accel_watchpoint_condition): Add
1732 (update_current_target): Update.
1733 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
1736 2014-02-19 Tom Tromey <tromey@redhat.com>
1738 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1740 (target_region_ok_for_hw_watchpoint): Add argument.
1741 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
1742 (default_region_ok_for_hw_watchpoint): Add argument.
1743 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
1744 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
1746 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
1748 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
1750 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
1752 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
1754 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
1756 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
1757 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
1759 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
1760 Add 'self' argument.
1762 2014-02-19 Tom Tromey <tromey@redhat.com>
1764 * target.h (struct target_ops) <to_insert_watchpoint>: Add
1766 (target_insert_watchpoint): Add argument.
1767 * target.c (debug_to_insert_watchpoint): Add argument.
1768 (update_current_target): Update.
1769 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
1770 * remote.c (remote_insert_watchpoint): Add 'self' argument.
1771 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
1772 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
1773 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
1774 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
1776 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
1777 (procfs_insert_hw_watchpoint): Add 'self' argument.
1778 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
1780 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
1782 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
1784 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
1785 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
1787 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
1790 2014-02-19 Tom Tromey <tromey@redhat.com>
1792 * target.h (struct target_ops) <to_remove_watchpoint>: Add
1794 (target_remove_watchpoint): Add argument.
1795 * target.c (debug_to_remove_watchpoint): Add argument.
1796 (update_current_target): Update.
1797 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
1798 * remote.c (remote_remove_watchpoint): Add 'self' argument.
1799 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
1800 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
1801 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
1802 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
1804 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
1805 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
1807 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
1809 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
1811 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
1812 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
1814 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
1817 2014-02-19 Tom Tromey <tromey@redhat.com>
1819 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
1821 (target_remove_hw_breakpoint): Add argument.
1822 * target.c (debug_to_remove_hw_breakpoint): Add argument.
1823 (update_current_target): Update.
1824 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
1825 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
1827 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
1828 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
1830 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
1833 2014-02-19 Tom Tromey <tromey@redhat.com>
1835 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
1837 (target_insert_hw_breakpoint): Add argument.
1838 * target.c (debug_to_insert_hw_breakpoint): Add argument.
1839 (update_current_target): Update.
1840 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
1841 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
1843 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
1844 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
1845 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
1847 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
1850 2014-02-19 Tom Tromey <tromey@redhat.com>
1852 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
1854 (target_can_use_hardware_watchpoint): Add argument.
1855 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
1856 (update_current_target): Update.
1857 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
1859 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
1861 * remote.c (remote_check_watch_resources): Add 'self' argument.
1862 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
1863 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
1865 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
1866 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
1868 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
1870 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
1872 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
1874 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
1876 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
1878 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
1879 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
1881 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
1884 2014-02-19 Tom Tromey <tromey@redhat.com>
1886 * target.h (struct target_ops) <to_post_attach>: Add argument.
1887 (target_post_attach): Add argument.
1888 * target.c (debug_to_post_attach): Add argument.
1889 (update_current_target): Update.
1890 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
1891 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
1892 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
1893 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
1894 * inf-child.c (inf_child_post_attach): Add 'self' argument.
1896 2014-02-19 Tom Tromey <tromey@redhat.com>
1898 * windows-nat.c (windows_close): Add 'self' argument.
1899 * tracepoint.c (tfile_close): Add 'self' argument.
1900 * target.h (struct target_ops) <to_close>: Add argument.
1901 * target.c (target_close): Add argument.
1902 (update_current_target): Update.
1903 * remote.c (remote_close): Add 'self' argument.
1904 * remote-sim.c (gdbsim_close): Add 'self' argument.
1905 * remote-mips.c (mips_close): Add 'self' argument.
1906 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
1907 * record-full.c (record_full_close): Add 'self' argument.
1908 * record-btrace.c (record_btrace_close): Add 'self' argument.
1909 * monitor.h (monitor_close): Add 'self' argument.
1910 * monitor.c (monitor_close): Add 'self' argument.
1911 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
1912 * linux-nat.c (linux_nat_close): Add argument.
1913 * go32-nat.c (go32_close): Add 'self' argument.
1914 * exec.c (exec_close_1): Add 'self' argument.
1915 * ctf.c (ctf_close): Add 'self' argument.
1916 * corelow.c (core_close): Add 'self' argument.
1917 (core_close_cleanup): Update.
1918 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
1919 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
1921 2014-02-19 Tom Tromey <tromey@redhat.com>
1923 * remote.c (remote_load): New function.
1924 (init_remote_ops): Use it.
1926 2014-02-19 Tom Tromey <tromey@redhat.com>
1928 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
1930 * common/linux-btrace.h (linux_supports_btrace): Update.
1931 * remote.c (remote_supports_btrace): Add "self" argument.
1932 * target-delegates.c: Rebuild.
1933 * target.c (target_supports_btrace): Remove.
1934 * target.h (struct target_ops) <to_supports_btrace>: Add
1935 target_ops argument.
1936 (target_supports_btrace): New define.
1938 2014-02-19 Tom Tromey <tromey@redhat.com>
1940 * record-full.c (record_full_beneath_to_resume_ops)
1941 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
1942 (record_full_beneath_to_wait)
1943 (record_full_beneath_to_store_registers_ops)
1944 (record_full_beneath_to_store_registers)
1945 (record_full_beneath_to_xfer_partial_ops)
1946 (record_full_beneath_to_xfer_partial)
1947 (record_full_beneath_to_insert_breakpoint_ops)
1948 (record_full_beneath_to_insert_breakpoint)
1949 (record_full_beneath_to_remove_breakpoint_ops)
1950 (record_full_beneath_to_remove_breakpoint)
1951 (record_full_beneath_to_stopped_by_watchpoint)
1952 (record_full_beneath_to_stopped_data_address)
1953 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
1954 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
1955 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
1956 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
1957 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
1958 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
1959 (tmp_to_stopped_data_address, tmp_to_async): Remove.
1960 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
1961 (record_full_resume, record_full_wait_1)
1962 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
1963 (record_full_store_registers, record_full_xfer_partial)
1964 (record_full_insert_breakpoint, record_full_remove_breakpoint)
1965 (record_full_async, record_full_core_xfer_partial): Use target
1967 * target-delegates.c: Rebuild.
1968 * target.c (current_xfer_partial): Remove.
1969 (update_current_target): Do not INHERIT or de_fault
1970 to_insert_breakpoint, to_remove_breakpoint,
1971 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
1972 to_is_async_p, to_async. Do not set to_xfer_partial field.
1973 (default_xfer_partial): Simplify.
1974 (current_xfer_partial): Remove.
1975 (target_wait, target_resume): Simplify.
1976 (find_default_can_async_p, find_default_is_async_p): Update.
1977 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
1978 to_xfer_partial, to_stopped_by_watchpoint,
1979 to_stopped_data_address.
1980 (target_store_registers): Simplify.
1981 (forward_target_remove_breakpoint)
1982 (forward_target_insert_breakpoint): Remove.
1983 (target_remove_breakpoint, target_insert_breakpoint)
1984 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
1985 * target.h (struct target_ops) <to_resume, to_wait,
1986 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
1987 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
1988 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
1990 (forward_target_remove_breakpoint)
1991 (forward_target_insert_breakpoint): Remove.
1992 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
1994 (record_btrace_insert_breakpoint): Delegate directly.
1996 2014-02-19 Tom Tromey <tromey@redhat.com>
1999 * target-delegates.c: New file.
2000 * target.c: Include target-delegates.c.
2001 (init_dummy_target): Call install_dummy_methods.
2002 (complete_target_initialization): Call install_delegators.
2003 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
2004 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
2005 * make-target-delegates: New file.
2007 2014-02-19 Tom Tromey <tromey@redhat.com>
2009 * record.c (find_record_target): Use find_target_at.
2010 * target.c (find_target_at): New function.
2011 * target.h (find_target_at): Declare.
2013 2014-02-19 Tom Tromey <tromey@redhat.com>
2015 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
2017 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
2019 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
2020 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
2022 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
2024 * linux-nat.c (save_sigtrap): Update.
2025 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
2026 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
2027 (linux_nat_close): Update.
2028 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
2030 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
2032 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
2033 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
2034 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
2035 (tmp_to_async): Add 'ops' argument.
2036 (record_full_stopped_by_watchpoint, record_full_async)
2037 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
2039 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
2040 (m32r_stopped_by_watchpoint): Add 'ops' argument.
2041 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
2042 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
2043 (remote_is_async_p, remote_async): Add 'ops' argument.
2044 (remote_stopped_data_address): Update.
2045 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
2046 * target.c (update_current_target)
2047 (find_default_can_async_p, find_default_is_async_p): Update.
2048 (init_dummy_target): Update.
2049 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
2050 * target.h (struct target_ops) <to_stopped_by_watchpoint,
2051 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
2052 (target_can_async_p, target_is_async_p, target_async)
2053 (target_stopped_by_watchpoint): Update.
2055 2014-02-19 Yao Qi <yao@codesourcery.com>
2058 * gdbarch.sh: Remove startup_gdbarch.
2059 * gdbarch.c: Regenerated.
2060 * gdbarch.h: Likewise.
2062 2014-02-17 Kevin Buettner <kevinb@redhat.com>
2064 * rl78-tdep.c (rl78_g10_register_name): New function.
2065 (rl78_return_value): Add g10 support.
2066 (rl78_gdbarch_init): Register rl78_g10_register_name for the
2069 2014-02-17 Doug Evans <xdje42@gmail.com>
2071 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
2072 (SUBDIR_GUILE_SRCS): Ditto.
2073 (scm-gsmob.o): Ditto.
2075 2014-02-17 Yao Qi <yao@codesourcery.com>
2077 * gnu-nat.c (ILL_RPC): Declare defined function.
2079 2014-02-17 Yao Qi <yao@codesourcery.com>
2081 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
2082 mach_msg_type_number_t.
2083 (gnu_write_inferior): Likewise.
2085 2014-02-17 Yao Qi <yao@codesourcery.com>
2087 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
2089 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
2090 (inf_validate_procs, inf_signal): Likewise.
2091 (S_exception_raise_request): Likewise.
2092 (do_mach_notify_dead_name): Likewise.
2093 (steal_exc_port): Likewise.
2094 (gnu_read_inferior): Change 'copy_count''s type to
2095 mach_msg_type_number_t.
2096 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
2099 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
2101 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
2102 flag. Adjust all users; in particular...
2103 (gnu_wait): ..., don't decrement its value in here...
2104 (gnu_create_inferior): ..., and instead set the flag in here,
2105 around the startup_inferior call, and call that one with
2106 START_INFERIOR_TRAPS_EXPECTED.
2108 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
2109 (ILL_RPC): ... new macro.
2110 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
2111 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
2112 (do_mach_notify_send_once, S_proc_setmsgport_reply)
2113 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
2114 functions with ILL_RPC macro.
2115 (S_proc_pid2task_reply, S_proc_task2pid_reply)
2116 (S_proc_task2proc_reply, S_proc_proc2task_reply)
2117 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
2118 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
2119 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
2120 (S_proc_getlogin_reply, S_proc_getsid_reply)
2121 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
2122 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
2123 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
2124 (S_proc_getnports_reply, S_proc_is_important_reply)
2125 (S_proc_get_code_reply): New stub functions, generated with
2128 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
2129 collected the type check structures.
2131 * reply_mig_hack.awk: Don't expect to see the auto keyword.
2133 2014-02-14 Doug Evans <dje@google.com>
2135 * target.c (target_write_partial): Fix result type.
2137 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2139 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
2140 the proper offsets to access fpregset_t.
2142 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
2144 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
2145 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
2146 * h8300-tdep.c (setmachinelist): Remove global.
2147 * hppa-tdep.c (hppa_sigtramp): Remove global.
2148 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
2149 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
2150 * ravenscar-thread.c (update_target_observer): Remove global.
2151 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
2153 2014-02-12 Tom Tromey <tromey@redhat.com>
2155 * common/rsp-low.c: Update comments.
2156 * common/rsp-low.h: Update comments.
2158 2014-02-12 Tom Tromey <tromey@redhat.com>
2160 * common/rsp-low.c (convert_ascii_to_int): Remove.
2161 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
2163 2014-02-12 Tom Tromey <tromey@redhat.com>
2165 * common/rsp-low.h (unhexify): Don't declare.
2166 * common/rsp-low.c (unhexify): Remove.
2168 2014-02-12 Tom Tromey <tromey@redhat.com>
2170 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
2171 * common/rsp-low.c (convert_int_to_ascii): Remove.
2173 2014-02-12 Tom Tromey <tromey@redhat.com>
2175 * common/rsp-low.h (hexify): Don't declare.
2176 * common/rsp-low.c (hexify): Remove.
2178 2014-02-12 Tom Tromey <tromey@redhat.com>
2180 * common/rsp-low.c (hexify): Never take strlen of argument.
2182 2014-02-12 Tom Tromey <tromey@redhat.com>
2184 * common/rsp-low.c (bin2hex): Never take strlen of argument.
2185 * remote.c (extended_remote_run, remote_rcmd)
2186 (remote_download_trace_state_variable, remote_save_trace_data)
2187 (remote_set_trace_notes): Update.
2188 * tracepoint.c (encode_source_string, tfile_write_status)
2189 (tfile_write_uploaded_tsv): Update.
2191 2014-02-12 Tom Tromey <tromey@redhat.com>
2193 * tracepoint.c: Include rsp-low.h.
2194 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
2195 * remote.c: Include rsp-low.h.
2196 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
2197 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
2198 (remote_unescape_input): Move to common/rsp-low.c.
2199 * common/rsp-low.h: New file.
2200 * common/rsp-low.c: New file.
2201 * Makefile.in (SFILES): Add common/rsp-low.c.
2202 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
2203 (COMMON_OBS): Add rsp-low.o.
2204 (rsp-low.o): New target.
2206 2014-02-12 Tom Tromey <tromey@redhat.com>
2208 * utils.h: Include print-utils.h.
2209 (host_address_to_string, plongest, pulongest, phex, phex_nz)
2210 (int_string, core_addr_to_string, core_addr_to_string_nz)
2211 (hex_string, hex_string_custom): Don't declare.
2212 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2213 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2214 (hex_string_custom, int_string, core_addr_to_string)
2215 (core_addr_to_string_nz, host_address_to_string): Move to
2216 common/print-utils.c.
2217 * common/print-utils.h: New file.
2218 * common/print-utils.c: New file
2219 * Makefile.in (SFILES): Add common/print-utils.c.
2220 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2221 (COMMON_OBS): Add print-utils.o.
2222 (print-utils.o): New target.
2224 2014-02-12 Tom Tromey <tromey@redhat.com>
2226 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2228 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2230 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2232 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2234 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2235 if a PT_IO ptrace request returns sucessfully but indicates that 0
2236 bytes were transferred.
2238 2014-02-12 Pedro Alves <palves@redhat.com>
2239 Kevin Buettner <kevinb@redhat.com>
2241 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2242 TYPE_INSTANCE_FLAG_CODE_SPACE.
2244 2014-02-12 Pedro Alves <palves@redhat.com>
2246 * h8300-tdep.c (pseudo_from_raw_register)
2247 (raw_from_pseudo_register): New functions.
2248 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2251 2014-02-12 Pedro Alves <palves@redhat.com>
2253 * h8300-tdep.c (h8300_register_sim_regno): New function.
2254 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2255 gdbarch_register_sim_regno hook.
2257 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2259 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2261 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2263 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2265 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2267 * obsd-tdep.h (obsd_init_abi): New prototype.
2268 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2269 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2270 (obsd_init_abi): New functions.
2271 * i386obsd-tdep.c: Include "obsd-tdep.h".
2272 (i386obsd_init_abi): Call obsd_init_abi.
2273 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2274 (amd64obsd_init_abi): Call obsd_init_abi.
2275 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2276 obsd-tdep.c to gdb_target_obs.
2278 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2280 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2281 double float arguments to 16-byte in the argument slots.
2283 2014-02-11 Doug Evans <xdje42@gmail.com>
2285 * configure.ac: Don't crash if pkg-config is not found and guile
2286 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2288 * configure: Regenerate.
2290 2014-02-11 Yao Qi <yao@codesourcery.com>
2292 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2293 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2294 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2295 * gnu-nat.c (gnu_xfer_memory): Likewise.
2296 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2297 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2298 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2299 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2301 2014-02-11 Yao Qi <yao@codesourcery.com>
2303 * target.h (enum target_xfer_error): Rename to ...
2304 (enum target_xfer_status): ... it. New. All users updated.
2305 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2307 (TARGET_XFER_STATUS_ERROR_P): New macro.
2308 (target_xfer_error_to_string): Remove declaration.
2309 (target_xfer_status_to_string): Declare.
2310 (target_xfer_partial_ftype): Adjust it.
2311 (struct target_ops) <to_xfer_partial>: Return
2312 target_xfer_status. Add argument xfered_len. Update
2314 * target.c (target_xfer_error_to_string): Rename to ...
2315 (target_xfer_status_to_string): ... it. New. All callers
2317 (target_read_live_memory): Likewise. Call target_xfer_partial
2318 instead of target_read.
2319 (memory_xfer_live_readonly_partial): Return
2320 target_xfer_status. Add argument xfered_len.
2321 (raw_memory_xfer_partial): Likewise.
2322 (memory_xfer_partial_1): Likewise.
2323 (memory_xfer_partial): Likewise.
2324 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2325 properly. Update debug message.
2326 (default_xfer_partial, current_xfer_partial): Likewise.
2327 (target_write_partial): Likewise.
2328 (target_read_partial): Likewise. All callers updated.
2329 (read_whatever_is_readable): Likewise.
2330 (target_write_with_progress): Likewise.
2331 (target_read_alloc_1): Likewise.
2333 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2334 * auxv.c (procfs_xfer_auxv): Likewise.
2335 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2336 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2337 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2338 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2339 * corefile.c (read_memory): Adjust.
2340 * corelow.c (core_xfer_partial): Likewise.
2341 * ctf.c (ctf_xfer_partial): Likewise.
2342 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2344 (darwin_xfer_partial): Likewise.
2345 * exec.c (section_table_xfer_memory_partial): Likewise. All
2347 (exec_xfer_partial): Likewise.
2348 * exec.h (section_table_xfer_memory_partial): Update
2350 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2352 (gnu_xfer_partial): Likewise.
2353 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2354 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2355 (ia64_hpux_xfer_solib_got): Likewise.
2356 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2357 type of 'partial_len' to ULONGEST.
2358 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2359 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2360 (linux_nat_xfer_partial): Likewise.
2361 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2362 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2363 * monitor.c (monitor_xfer_memory): Likewise.
2364 (monitor_xfer_partial): Likewise.
2365 * procfs.c (procfs_xfer_partial): Likewise.
2366 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2367 * record-full.c (record_full_xfer_partial): Likewise.
2368 (record_full_core_xfer_partial): Likewise.
2369 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2370 (gdbsim_xfer_partial): Likewise.
2371 * remote.c (remote_write_bytes_aux): Likewise. All callers
2373 (remote_write_bytes, remote_read_bytes): Likewise. All
2375 (remote_flash_erase): Likewise. All callers updated.
2376 (remote_write_qxfer): Likewise. All callers updated.
2377 (remote_read_qxfer): Likewise. All callers updated.
2378 (remote_xfer_partial): Likewise.
2379 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2380 (rs6000_xfer_shared_libraries): Likewise.
2381 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2382 (sol_thread_xfer_partial): Likewise.
2383 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2384 (sparc_xfer_partial): Likewise.
2385 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2387 (spu_xfer_partial): Likewise.
2388 * spu-multiarch.c (spu_xfer_partial): Likewise.
2389 * tracepoint.c (tfile_xfer_partial): Likewise.
2390 * windows-nat.c (windows_xfer_memory): Likewise.
2391 (windows_xfer_shared_libraries): Likewise.
2392 (windows_xfer_partial): Likewise.
2393 * valprint.c: Replace 'target_xfer_error' with
2394 'target_xfer_status' in comments.
2396 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2398 Checked in by Joel Brobecker <brobecker@adacore.com>.
2399 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2401 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2403 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2404 function parameters.
2406 2014-02-10 Will Newton <will.newton@linaro.org>
2408 * elfread.c (elf_rel_plt_read): Look for a .got section if
2409 looking up .got.plt fails.
2410 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2411 on address passed to elf_gnu_ifunc_record_cache.
2412 (elf_gnu_ifunc_resolve_addr): Likewise.
2413 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2415 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2417 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2418 (X_RETTURN): New macro.
2419 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2421 * sparc64-tdep.c (sparc64_init_abi): Hook
2422 sparc_in_function_epilogue_p.
2424 2014-02-10 Gary Benson <gbenson@redhat.com>
2426 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2427 Rename name_matcher to symbol_matcher.
2429 2014-02-10 Gary Benson <gbenson@redhat.com>
2431 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2432 Use expand_symtabs_file_matcher_ftype and
2433 expand_symtabs_symbol_matcher_ftype.
2435 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2437 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2438 (struct ada_symbol_cache): New.
2439 (ada_free_symbol_cache): Forward declare.
2440 (struct ada_pspace_data): New.
2441 (ada_pspace_data_handle): New static global.
2442 (get_ada_pspace_data, ada_pspace_data_cleanup)
2443 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2444 (cache_space, cache): Delete, now folded inside struct
2446 (ada_get_symbol_cache): New function.
2447 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2449 (_initialize_ada_language): Remove initialization of cache_space.
2450 Move call to observer_attach_inferior_exit up, grouping it
2451 with the other observer registrations inside this function.
2452 Rename command to be more general. Add call to
2453 register_program_space_data_with_cleanup.
2455 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2457 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2458 ada_new_objfile_observer.
2459 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2460 (_initialize_tasks): Update uses of ada_new_objfile_observer
2461 and ada_tasks_normal_stop_observer.
2463 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2465 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2466 returned by the 'Length attribute to integer.
2468 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2470 * ada-lang.c (_initialize_ada_language): Initialize
2471 cache_space obstack.
2473 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2475 * ada-lang.c (HASH_SIZE): New macro.
2476 (struct cache_entry): New type.
2477 (cache_space, cache): New static globals.
2478 (ada_clear_symbol_cache, find_entry): New functions.
2479 (lookup_cached_symbol, cache_symbol): Implement.
2480 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2481 (_initialize_ada_language): Attach ada_new_objfile_observer
2482 and ada_free_objfile_observer.
2484 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2486 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
2487 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
2488 struct block * parameter.
2489 (ada_lookup_symbol_list_worker): Constify local variable "block".
2490 Remove cast which is no longer necessary.
2492 2014-02-10 Doug Evans <xdje42@gmail.com>
2494 Add Guile as an extension language.
2495 * NEWS: Mention Guile scripting.
2496 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
2497 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
2498 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
2499 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
2500 (CLIBS): Add GUILE_LIBS.
2501 (install-guile): New rule.
2502 (guile.o): New rule.
2503 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
2504 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
2505 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
2506 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
2507 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
2508 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
2509 (scm-type.o, scm-utils.o, scm-value.o): New rules.
2510 * configure.ac: New option --with-guile.
2511 * configure: Regenerate.
2512 * config.in: Regenerate.
2513 * auto-load.c: Remove #include "python/python.h". Add #include
2514 "gdb/section-scripts.h".
2515 (source_section_scripts): Handle Guile scripts.
2516 (_initialize_auto_load): Add name of Guile objfile script to
2517 scripts-directory help text.
2518 * breakpoint.c (condition_command): Tweak comment to include Scheme.
2519 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
2520 (struct breakpoint): New member scm_bp_object.
2521 * defs.h (enum command_control_type): New value guile_control.
2522 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
2524 (show_user): Update comment.
2525 (_initialize_cli_cmds): Update help text for "show user". Update help
2526 text for max-user-call-depth.
2527 * cli/cli-script.c: Remove #include "python/python.h". Add #include
2529 (multi_line_command_p): Add guile_control.
2530 (print_command_lines): Handle guile_control.
2531 (execute_control_command, recurse_read_control_structure): Ditto.
2532 (process_next_line): Recognize "guile" commands.
2533 * disasm.c (gdb_disassemble_info): Make non-static.
2534 * disasm.h: #include "dis-asm.h".
2535 (struct gdbarch): Add forward decl.
2536 (gdb_disassemble_info): Declare.
2537 * extension.c: #include "guile/guile.h".
2538 (extension_languages): Add guile.
2539 (get_ext_lang_defn): Handle EXT_LANG_GDB.
2540 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
2541 * gdbtypes.c (get_unsigned_type_max): New function.
2542 (get_signed_type_minmax): New function.
2543 * gdbtypes.h (get_unsigned_type_max): Declare.
2544 (get_signed_type_minmax): Declare.
2545 * guile/README: New file.
2546 * guile/guile-internal.h: New file.
2547 * guile/guile.c: New file.
2548 * guile/guile.h: New file.
2549 * guile/scm-arch.c: New file.
2550 * guile/scm-auto-load.c: New file.
2551 * guile/scm-block.c: New file.
2552 * guile/scm-breakpoint.c: New file.
2553 * guile/scm-disasm.c: New file.
2554 * guile/scm-exception.c: New file.
2555 * guile/scm-frame.c: New file.
2556 * guile/scm-gsmob.c: New file.
2557 * guile/scm-iterator.c: New file.
2558 * guile/scm-lazy-string.c: New file.
2559 * guile/scm-math.c: New file.
2560 * guile/scm-objfile.c: New file.
2561 * guile/scm-ports.c: New file.
2562 * guile/scm-pretty-print.c: New file.
2563 * guile/scm-safe-call.c: New file.
2564 * guile/scm-string.c: New file.
2565 * guile/scm-symbol.c: New file.
2566 * guile/scm-symtab.c: New file.
2567 * guile/scm-type.c: New file.
2568 * guile/scm-utils.c: New file.
2569 * guile/scm-value.c: New file.
2570 * guile/lib/gdb.scm: New file.
2571 * guile/lib/gdb/boot.scm: New file.
2572 * guile/lib/gdb/experimental.scm: New file.
2573 * guile/lib/gdb/init.scm: New file.
2574 * guile/lib/gdb/iterator.scm: New file.
2575 * guile/lib/gdb/printing.scm: New file.
2576 * guile/lib/gdb/types.scm: New file.
2577 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
2578 (VPATH): Add $(GUILE_SRCDIR).
2579 (GUILE_DIR): New variable.
2580 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
2581 (all): Add stamp-guile dependency.
2582 (stamp-guile): New rule.
2583 (clean-guile, install-guile, uninstall-guile): New rules.
2584 (install-only): Add install-guile dependency.
2585 (uninstall): Add uninstall-guile dependency.
2586 (clean): Add clean-guile dependency.
2588 2014-02-09 Doug Evans <xdje42@gmail.com>
2590 Revert this patch (which I approved, mea culpa).
2592 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2594 * Makefile.in (all-lib): Remove.
2595 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2597 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2599 Fix Python stack corruption.
2600 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
2603 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2605 * Makefile.in (all-lib): Remove.
2606 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2608 2014-02-07 Doug Evans <dje@google.com>
2610 * extension-priv.h (extension_language_script_ops): Add comment.
2611 (extension_language_ops): Add comment.
2612 (active_ext_lang_state): Fix typo in comment.
2614 2014-02-07 Pedro Alves <palves@redhat.com>
2616 * infrun.c (handle_signal_stop) <signal arrives while stepping
2617 over a breakpoint>: Switch back to the stepping thread.
2619 2014-02-07 Yao Qi <yao@codesourcery.com>
2621 * target.c (target_xfer_partial): Return zero if LEN is zero.
2623 2014-02-07 Yao Qi <yao@codesourcery.com>
2625 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
2626 (ld_so_xfer_auxv): Likewise.
2627 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2628 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2629 * corelow.c (core_xfer_partial): Likewise.
2630 * ctf.c (ctf_xfer_partial): Likewise.
2631 * darwin-nat.c (darwin_read_dyld_info): Likewise.
2632 (darwin_xfer_partial): Likewise.
2633 * exec.c (exec_xfer_partial): Likewise.
2634 * gnu-nat.c (gnu_xfer_partial): Likewise.
2635 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
2636 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2637 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2638 * linux-nat.c (linux_xfer_siginfo): Likewise.
2639 (linux_proc_xfer_spu): Likewise.
2640 * procfs.c (procfs_xfer_partial): Likewise.
2641 * record-full.c (record_full_xfer_partial): Likewise.
2642 (record_full_core_xfer_partial): Likewise.
2643 * remote-sim.c (gdbsim_xfer_partial): Likewise.
2644 * remote.c (remote_write_qxfer): Likewise.
2645 (remote_write_qxfer, remote_read_qxfer): Likewise.
2646 (remote_xfer_partial): Likewise.
2647 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2648 (rs6000_xfer_shared_libraries): Likewise.
2649 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2650 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2651 (spu_xfer_partial): Likewise.
2652 * target.c (memory_xfer_partial_1): Likewise.
2653 * tracepoint.c (tfile_xfer_partial): Likewise.
2654 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
2655 (windows_xfer_partial): Likewise.
2657 2014-02-07 Yao Qi <yao@codesourcery.com>
2659 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
2661 (core_xfer_shared_libraries_aix): Likewise.
2662 * gdbarch.c, gdbarch.h: Regenerated.
2663 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
2664 ULONGEST. Change 'len_avail' type to ULONGEST.
2665 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
2666 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
2668 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
2670 2014-02-07 Yao Qi <yao@codesourcery.com>
2672 * corefile.c (memory_error): Get 'exception' from ERR and pass
2673 'exception' to throw_error.
2675 2014-02-06 Doug Evans <xdje42@gmail.com>
2677 * configure.ac (libpython checking): Remove all but python.o from
2678 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
2679 * configure: Regenerate.
2681 * Makefile.in (SFILES): Add extension.c.
2682 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
2683 (COMMON_OBS): Add extension.o.
2684 * extension.h: New file.
2685 * extension-priv.h: New file.
2686 * extension.c: New file.
2688 * python/python-internal.h: #include "extension.h".
2689 (gdbpy_auto_load_enabled): Declare.
2690 (gdbpy_apply_val_pretty_printer): Declare.
2691 (gdbpy_apply_frame_filter): Declare.
2692 (gdbpy_preserve_values): Declare.
2693 (gdbpy_breakpoint_cond_says_stop): Declare.
2694 (gdbpy_breakpoint_has_cond): Declare.
2695 (void source_python_script_for_objfile): Delete.
2696 * python/python.c: #include "extension-priv.h".
2697 Delete inclusion of "observer.h".
2698 (extension_language_python): Moved here and renamed from
2699 script_language_python in py-auto-load.c.
2700 Redefined to be of type extension_language_defn.
2701 (python_extension_script_ops): New global.
2702 (python_extension_ops): New global.
2703 (struct python_env): New member previous_active.
2704 (restore_python_env): Call restore_active_ext_lang.
2705 (ensure_python_env): Call set_active_ext_lang.
2706 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
2708 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
2710 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
2712 (gdbpy_eval_from_control_command): Renamed from
2713 eval_python_from_control_command, made static. New arg extlang.
2714 (gdbpy_source_script) Renamed from source_python_script, made static.
2716 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
2717 result to int. New arg extlang.
2718 (gdbpy_source_objfile_script): Renamed from
2719 source_python_script_for_objfile, made static. New arg extlang.
2720 (gdbpy_start_type_printers): Renamed from start_type_printers, made
2721 static. New args extlang, extlang_printers. Change result type to
2723 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
2724 static. New arg extlang. Rename arg printers to extlang_printers
2725 and change type to ext_lang_type_printers *.
2726 (gdbpy_free_type_printers): Renamed from free_type_printers, made
2727 static. Replace argument arg with extlang, extlang_printers.
2728 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
2729 (!HAVE_PYTHON, source_python_script): Delete.
2730 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
2731 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
2732 (!HAVE_PYTHON, start_type_printers): Delete.
2733 (!HAVE_PYTHON, apply_type_printers): Delete.
2734 (!HAVE_PYTHON, free_type_printers): Delete.
2735 (_initialize_python): Delete call to observer_attach_before_prompt.
2736 (finalize_python): Set/restore active extension language.
2737 (gdbpy_finish_initialization) Renamed from
2738 finish_python_initialization, made static. New arg extlang.
2739 (gdbpy_initialized): New function.
2740 * python/python.h: #include "extension.h". Delete #include
2741 "value.h", "mi/mi-cmds.h".
2742 (extension_language_python): Declare.
2743 (GDBPY_AUTO_FILE_NAME): Delete.
2744 (enum py_bt_status): Moved to extension.h and renamed to
2746 (enum frame_filter_flags): Moved to extension.h.
2747 (enum py_frame_args): Moved to extension.h and renamed to
2748 ext_lang_frame_args.
2749 (finish_python_initialization): Delete.
2750 (eval_python_from_control_command): Delete.
2751 (source_python_script): Delete.
2752 (apply_val_pretty_printer): Delete.
2753 (apply_frame_filter): Delete.
2754 (preserve_python_values): Delete.
2755 (gdbpy_script_language_defn): Delete.
2756 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
2757 (start_type_printers, apply_type_printers, free_type_printers): Delete.
2759 * auto-load.c: #include "extension.h".
2760 (GDB_AUTO_FILE_NAME): Delete.
2761 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
2762 (script_language_gdb): Delete, moved to extension.c and renamed to
2763 extension_language_gdb.
2764 (source_gdb_script_for_objfile): Delete.
2765 (auto_load_pspace_info): New member unsupported_script_warning_printed.
2766 (loaded_script): Change type of language member to
2767 struct extension_language_defn *.
2768 (init_loaded_scripts_info): Initialize
2769 unsupported_script_warning_printed.
2770 (maybe_add_script): Make static. Change type of language arg to
2771 struct extension_language_defn *.
2772 (clear_section_scripts): Reset unsupported_script_warning_printed.
2773 (auto_load_objfile_script_1): Rewrite to use extension language API.
2774 (auto_load_objfile_script): Make public. Remove support-compiled-in
2775 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
2776 (source_section_scripts): Rewrite to use extension language API.
2777 (load_auto_scripts_for_objfile): Rewrite to use
2778 auto_load_scripts_for_objfile.
2779 (collect_matching_scripts_data): Change type of language member to
2780 struct extension_language_defn *.
2781 (auto_load_info_scripts): Change type of language arg to
2782 struct extension_language_defn *.
2783 (unsupported_script_warning_print): New function.
2784 (script_not_found_warning_print): Make static.
2785 (_initialize_auto_load): Rewrite construction of scripts-directory
2787 * auto-load.h (struct objfile): Add forward decl.
2788 (struct script_language): Delete.
2789 (struct auto_load_pspace_info): Add forward decl.
2790 (struct extension_language_defn): Add forward decl.
2791 (maybe_add_script): Delete.
2792 (auto_load_objfile_script): Declare.
2793 (script_not_found_warning_print): Delete.
2794 (auto_load_info_scripts): Update prototype.
2795 (auto_load_gdb_scripts_enabled): Declare.
2796 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
2797 auto_load_python_scripts_enabled and made public.
2798 (script_language_python): Delete, moved to python.c.
2799 (gdbpy_script_language_defn): Delete.
2800 (info_auto_load_python_scripts): Update to use
2801 extension_language_python.
2803 * breakpoint.c (condition_command): Replace call to
2804 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
2805 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
2806 with call to breakpoint_ext_lang_cond_says_stop.
2807 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
2808 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
2809 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
2810 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
2812 (local_setattro): Print name of extension language with existing
2815 * valprint.c (val_print, value_print): Update to call
2816 apply_ext_lang_val_pretty_printer.
2817 * cp-valprint.c (cp_print_value): Update call to
2818 apply_ext_lang_val_pretty_printer.
2819 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
2820 (gdbpy_apply_val_pretty_printer): Renamed from
2821 apply_val_pretty_printer. New arg extlang.
2822 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
2824 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
2825 extension language API.
2826 * cli/cli-script.c (execute_control_command): Update to call
2827 eval_ext_lang_from_control_command.
2829 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
2830 enum ext_lang_bt_status values. Update call to
2831 apply_ext_lang_frame_filter.
2832 (mi_cmd_stack_list_locals): Ditto.
2833 (mi_cmd_stack_list_args): Ditto.
2834 (mi_cmd_stack_list_variables): Ditto.
2835 * mi/mi-main.c: Delete #include "python/python-internal.h".
2836 Add #include "extension.h".
2837 (mi_cmd_list_features): Replace reference to python internal variable
2838 gdb_python_initialized with call to ext_lang_initialized_p.
2840 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
2841 Update to use enum ext_lang_frame_args. Update to call
2842 apply_ext_lang_frame_filter.
2843 * python/py-framefilter.c (extract_sym): Update to use enum
2845 (extract_value, py_print_type, py_print_value): Ditto.
2846 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
2847 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
2848 (py_print_frame): Ditto.
2849 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
2850 New arg extlang. Update to use enum ext_lang_bt_status.
2852 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
2853 finish_python_initialization. Replace with call to
2854 finish_ext_lang_initialization.
2856 * typeprint.c (do_free_global_table): Update to call
2857 free_ext_lang_type_printers.
2858 (create_global_typedef_table): Update to call
2859 start_ext_lang_type_printers.
2860 (find_global_typedef): Update to call apply_ext_lang_type_printers.
2861 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
2862 (type_print_options): Change type of global_printers from "void *"
2863 to "struct ext_lang_type_printers *".
2865 * value.c (preserve_values): Update to call preserve_ext_lang_values.
2866 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
2867 (gdbpy_preserve_values): Renamed from preserve_python_values.
2869 (!HAVE_PYTHON, preserve_python_values): Delete.
2871 * utils.c (quit_flag): Delete, moved to extension.c.
2872 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
2875 * eval.c: Delete #include "python/python.h".
2876 * main.c: Delete #include "python/python.h".
2878 * defs.h: Update comment.
2880 2014-02-06 Joel Brobecker <brobecker@adacore.com>
2884 2014-02-05 Mark Kettenis <kettenis@gnu.org>
2886 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
2889 2014-02-05 Yao Qi <yao@codesourcery.com>
2891 * remote.c (remote_pass_signals): Remove local 'buf' and use
2893 (remote_program_signals): Likewise.
2895 2014-02-05 Yao Qi <yao@codesourcery.com>
2897 * ctf.c: Include "inferior.h" and "gdbthread.h".
2898 (CTF_PID): A new macro.
2899 (ctf_open): Call inferior_appeared and add_thread_silent.
2900 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
2901 (ctf_thread_alive): New function.
2902 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
2904 2014-02-05 Yao Qi <yao@codesourcery.com>
2908 2013-05-24 Yao Qi <yao@codesourcery.com>
2910 * tracepoint.c (TFILE_PID): Remove.
2911 (tfile_open): Don't add thread and inferior.
2912 (tfile_close): Don't set 'inferior_ptid'. Don't call
2913 exit_inferior_silent.
2914 (tfile_thread_alive): Remove.
2915 (init_tfile_ops): Don't set field 'to_thread_alive' of
2918 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
2920 * remote.c (remote_start_remote): Call remote_check_symbols even
2921 if only symbol-file (not file) has been given.
2923 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2925 * gdbarch.sh (skip_entrypoint): New callback.
2926 * gdbarch.c, gdbarch.h: Regenerate.
2927 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
2928 * infrun.c (fill_in_stop_func): Likewise.
2929 * ppc-linux-tdep.c: Include "elf/ppc64.h".
2930 (ppc_elfv2_elf_make_msymbol_special): New function.
2931 (ppc_elfv2_skip_entrypoint): Likewise.
2932 (ppc_linux_init_abi): Install them for ELFv2.
2934 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2936 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
2937 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
2938 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
2939 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
2940 structures returned in GPRs.
2942 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2944 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
2945 offset to the stack parameter list for the ELFv2 ABI.
2947 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2949 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
2950 set_gdbarch_convert_from_func_ptr_addr and
2951 set_gdbarch_elf_make_msymbol_special for ELFv1.
2952 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
2953 function descriptors on ELFv1.
2954 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
2955 set up r12 at function entry.
2957 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2959 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
2960 (struct gdbarch_tdep): New member elf_abi.
2962 * rs6000-tdep.c: Include "elf/ppc64.h".
2963 (rs6000_gdbarch_init): Detect ELF ABI version.
2965 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2967 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
2968 within a register pair holding a DFP 128-bit value on little-endian.
2969 (ppc64_sysv_abi_return_value_base): Likewise.
2970 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
2971 (dfp_pseudo_register_write): Likewise.
2973 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2975 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
2976 offset on little-endian when passing _Decimal32.
2977 (ppc64_sysv_abi_return_value_base): Likewise for return values.
2979 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2981 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
2982 of the overlapped FP register within the VSX register on little-
2984 (efpr_pseudo_register_write): Likewise.
2986 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2988 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
2989 offset on little-endian when passing small structures.
2991 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2993 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
2994 (struct ppc64_sysv_argpos): New data structure.
2995 (ppc64_sysv_abi_push_float): Remove.
2996 (ppc64_sysv_abi_push_val): New function.
2997 (ppc64_sysv_abi_push_integer): Likewise.
2998 (ppc64_sysv_abi_push_freg): Likewise.
2999 (ppc64_sysv_abi_push_vreg): Likewise.
3000 (ppc64_sysv_abi_push_param): Likewise.
3001 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
3002 (ppc64_sysv_abi_return_value_base): New function.
3003 (ppc64_sysv_abi_return_value): Refactor to use it.
3005 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3007 * NEWS: Document new target powerpc64le-*-linux*.
3009 2014-02-04 Mark Kettenis <kettenis@gnu.org>
3011 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
3012 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
3014 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
3015 register set used in ELF core dumps. Add floating-point register set.
3017 2014-02-03 Kevin Buettner <kevinb@redhat.com>
3019 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
3020 dwarf2_to_gdb[] table using symbolic constants. Adjust
3021 penultimate entry from number representing the PC register
3022 to symbolic constant representing the MDR register. Add
3023 constant for the PC register to the end of the table.
3025 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3027 * bsd-kvm.c: Include <sys/param.h>
3029 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3031 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
3033 2014-01-31 Joel Brobecker <brobecker@adacore.com>
3035 * ada-lang.h (clear_ada_sym_cache): Delete.
3037 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
3039 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
3041 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3043 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
3044 the sigreturn register save area only if the syscall is
3047 2014-01-29 Joel Brobecker <brobecker@adacore.com>
3049 * valops.c (value_slice): Minor reformatting.
3051 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
3053 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
3055 2014-01-28 Joel Brobecker <brobecker@adacore.com>
3057 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
3059 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
3060 (ada_ignore_descriptive_types_p): New static global.
3061 (find_parallel_type_by_descriptive_type): Return immediately
3062 if ada_ignore_descriptive_types_p is set.
3063 (_initialize_ada_language): Register new commands "maintenance
3064 set ada", "maintenance show ada", "maintenance set ada
3065 ignore-descriptive-types" and "maintenance show ada
3066 ignore-descriptive-types".
3067 * NEWS: Add entry for new "maint ada set/show
3068 ignore-descriptive-types" commands.
3070 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
3072 * record-btrace.c (record_btrace_close): Call btrace_teardown
3075 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3077 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
3080 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3082 * ada-typeprint (type_is_full_subrange_of_target_type):
3084 (print_range): Add parameter bounds_prefered_p. If not set,
3085 try printing range types using the name of their base type.
3086 (print_range_type): Add parameter bounds_prefered_p.
3087 Use it in call to print_range.
3088 (print_array_type, ada_print_type): Update calls to print_range
3089 and print_range_type.
3091 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3093 * ada-typeprint.c (print_array_type, print_choices, print_range)
3094 (print_range_bound, print_dynamic_range_bound, print_range_type):
3097 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3099 * ada-typeprint.c (print_range): Add missing empty line
3100 after local declaration.
3102 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3104 * ada-valprint.c (print_optional_low_bound): Get index_type's
3105 target type for as long as it is a TYPE_CODE_RANGE.
3107 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3109 * procfs.c (procfs_make_note_section): Remove assertion and
3112 2014-01-24 Yao Qi <yao@codesourcery.com>
3114 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
3115 * corelow.c (get_core_siginfo): Likewise.
3117 2014-01-24 Yao Qi <yao@codesourcery.com>
3119 * remote.c (remote_write_bytes_aux): Change type of 'len' to
3120 ULONGEST. Don't check 'len' is negative.
3121 (remote_write_bytes): Change type of 'len' to ULONGEST.
3123 2014-01-23 Tom Tromey <tromey@redhat.com>
3126 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
3127 Handle exception from frame.block.
3128 (FrameVars.fetch_frame_locals): Likewise.
3130 2014-01-23 Tom Tromey <tromey@redhat.com>
3133 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
3134 on a NULL pointer. Move "goto error" to correct place.
3136 2014-01-23 Tom Tromey <tromey@redhat.com>
3139 * python/py-framefilter.c (apply_frame_filter): Call
3140 ensure_python_env after computing gdbarch.
3142 2014-01-23 Yao Qi <yao@codesourcery.com>
3144 * target.c (raw_memory_xfer_partial): Change argument type
3145 from void * to gdb_byte *.
3146 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
3148 2014-01-22 Doug Evans <dje@google.com>
3150 New gdbserver option --debug-format=timestamp.
3153 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3155 * syscalls/s390x-linux.xml: New file.
3156 * syscalls/s390-linux.xml: New file.
3157 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
3158 (XML_SYSCALL_FILENAME_S390X): Likewise.
3159 (op_svc): New enum value for SVC opcode.
3160 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
3161 (s390_linux_get_syscall_number): New function.
3162 (s390_gdbarch_init): Register '*get_syscall_number' and the
3163 syscall xml file name.
3164 * data-directory/Makefile.in (SYSCALLS_FILES): Add
3165 "s390-linux.xml" and "s390x-linux.xml".
3166 * NEWS: Announce new feature.
3168 2014-01-22 Baruch Siach <baruch@tkos.co.il>
3170 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
3172 2014-01-22 Pedro Alves <palves@redhat.com>
3174 * xtensa-config.c: Include defs.h.
3176 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3178 * common/common-utils.h: Add "ARI:" comment beside __func__
3181 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3183 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
3184 documentation a bit.
3186 2014-01-21 Roland McGrath <mcgrathr@google.com>
3188 * configure.ac: Call AM_PROG_INSTALL_STRIP.
3189 * configure: Regenerate.
3190 * aclocal.m4: Regenerate.
3191 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
3192 New substituted variables.
3193 (install-strip): New target.
3194 (INSTALL_SCRIPT): New substituted variable.
3195 (FLAGS_TO_PASS): Add it.
3196 (install-only): Use $(INSTALL_SCRIPT) rather than
3197 $(INSTALL_PROGRAM) for gcore.
3199 2014-01-20 Tom Tromey <tromey@redhat.com>
3201 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
3204 2014-01-20 Tom Tromey <tromey@redhat.com>
3206 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
3207 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
3208 (deprecated_cmd_warning, complete_on_cmdlist): Update.
3209 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
3210 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3211 (struct cmd_list_element) <flags>: Remove.
3212 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3213 doc_allocated>: New fields.
3214 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3216 * maint.c (maintenance_do_deprecate): Update.
3217 * top.c (execute_command): Update.
3219 2014-01-20 Baruch Siach <baruch@tkos.co.il>
3221 * xtensa-linux-nat.c: Include asm/ptrace.h.
3223 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3225 * Makefile.in (SFILES): Add d-support.c.
3226 (COMMON_OBS): Add d-support.o.
3227 * d-lang.h (d_parse_symbol): Add comment, now defined in
3229 * d-lang.c (parse_call_convention)
3230 (parse_attributes, parse_function_types)
3231 (parse_function_args, parse_type, parse_identifier)
3232 (call_convention_p, d_parse_symbol): Move functions to ...
3233 * d-support.c: ... New file.
3235 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3237 * d-lang.h (d_parse_symbol): Add declaration.
3238 * d-lang.c (extract_identifiers)
3239 (extract_type_info): Remove functions.
3240 (parse_call_convention, parse_attributes)
3241 (parse_function_types, parse_function_args)
3242 (parse_type, parse_identifier, call_convention_p)
3243 (d_parse_symbol): New functions.
3244 (d_demangle): Use d_parse_symbol to demangle D symbols.
3246 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3248 * d-lang.h (struct builtin_d_type): New data type.
3249 (builtin_d_type): Add declaration.
3250 * d-lang.c (d_language_arch_info, build_d_types)
3251 (builtin_d_type): New functions.
3252 (enum d_primitive_types): New data type.
3253 (d_language_defn): Change c_language_arch_info to
3254 d_language_arch_info.
3255 (d_type_data): New static variable.
3256 (_initialize_d_language): Initialize d_type_data.
3258 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3260 * d-lang.h (d_main_name): Add declaration.
3261 * d-lang.c (d_main_name): New function.
3262 * symtab.c (find_main_name): Add call to d_main_name.
3264 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3266 * d-lang.c (d_language_defn): Change macro_expansion_c to
3269 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3271 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3273 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3275 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3276 gdb_exception" declaration.
3277 * remote.c (getpkt_or_notif_sane): Likewise.
3279 2014-01-17 Doug Evans <dje@google.com>
3281 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3282 function, contents of dirnames_to_char_ptr_vec_append moved here.
3283 (delim_string_to_char_ptr_vec): New function.
3284 (dirnames_to_char_ptr_vec_append): Rewrite.
3285 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3287 2014-01-17 Doug Evans <dje@google.com>
3289 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3291 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3292 #include "common-utils.h".
3293 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3294 * common/vec.h (VEC_ASSERT_PASS): Update.
3295 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3296 (MACH_CHECK_ERROR): Update.
3298 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3300 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3302 * gdbarch.h: Regenerate.
3304 2014-01-16 Tom Tromey <tromey@redhat.com>
3306 * value.c (struct value) <regnum>: Move earlier.
3308 2014-01-16 Tom Tromey <tromey@redhat.com>
3310 * remote.c (extended_remote_create_inferior): Rename from
3311 extended_remote_create_inferior_1. Add "ops" argument. Remove
3314 2014-01-16 Pedro Alves <palves@redhat.com>
3316 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3317 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3320 2014-01-16 Doug Evans <dje@google.com>
3322 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3324 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3326 * btrace.h (btrace_thread_flag): New.
3327 (struct btrace_thread_info) <flags>: New.
3328 * record-btrace.c (record_btrace_resume_thread)
3329 (record_btrace_find_thread_to_move, btrace_step_no_history)
3330 (btrace_step_stopped, record_btrace_start_replaying)
3331 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3332 (record_btrace_find_resume_thread): New.
3333 (record_btrace_resume, record_btrace_wait): Extend.
3334 (record_btrace_can_execute_reverse): New.
3335 (record_btrace_open): Fail in non-stop mode.
3336 (record_btrace_set_replay): Split into this, ...
3337 (record_btrace_stop_replaying): ... this, ...
3338 (record_btrace_clear_histories): ... and this.
3339 (init_record_btrace_ops): Init to_can_execute_reverse.
3340 * NEWS: Announce it.
3342 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3344 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3345 (forward_target_decr_pc_after_break)
3346 (target_decr_pc_after_break): New.
3347 * target.c (forward_target_decr_pc_after_break)
3348 (target_decr_pc_after_break): New.
3349 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3350 instead of gdbarch_decr_pc_after_break.
3351 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3352 instead of gdbarch_decr_pc_after_break.
3353 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3354 instead of gdbarch_decr_pc_after_break.
3355 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3356 instead of gdbarch_decr_pc_after_break.
3357 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3358 instead of gdbarch_decr_pc_after_break.
3359 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3360 instead of gdbarch_decr_pc_after_break.
3362 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3364 * btrace.c: Include regcache.h.
3365 (btrace_add_pc): New.
3366 (btrace_enable): Call btrace_add_pc.
3367 (btrace_is_empty): New.
3368 * btrace.h (btrace_is_empty): New.
3369 * record-btrace.c (require_btrace, record_btrace_info): Call
3372 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3374 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3375 Support delta reads.
3376 (linux_disable_btrace): Change return type.
3377 * common/linux-btrace.h (linux_read_btrace): Change parameters
3378 and return type to allow error reporting. Update users.
3379 (linux_disable_btrace): Change return type. Update users.
3380 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3382 (btrace_error): New.
3383 (btrace_block) <begin>: Comment on BEGIN == 0.
3384 * btrace.c (btrace_compute_ftrace): Start from the end of
3386 (btrace_stitch_trace, btrace_clear_history): New.
3387 (btrace_fetch): Read delta trace, return if replaying.
3388 (btrace_clear): Move clear history code to btrace_clear_history.
3389 (parse_xml_btrace): Throw an error if parsing failed.
3390 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3391 and return type to allow error reporting.
3392 (target_read_btrace): Change parameters and return type to allow
3394 * target.c (target_read_btrace): Update.
3395 * remote.c (remote_read_btrace): Support delta reads. Pass
3397 * NEWS: Announce it.
3399 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3401 * record.h (record_btrace_frame_unwind)
3402 (record_btrace_tailcall_frame_unwind): New declarations.
3403 * dwarf2-frame: Include record.h
3404 (dwarf2_frame_cfa): Throw an error for btrace frames.
3405 * record-btrace.c: Include hashtab.h.
3406 (btrace_get_bfun_name): New.
3407 (btrace_call_history): Call btrace_get_bfun_name.
3408 (struct btrace_frame_cache): New.
3410 (bfcache_hash, bfcache_eq, bfcache_new): New.
3411 (btrace_get_frame_function): New.
3412 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3413 (record_btrace_frame_this_id): Compute own id.
3414 (record_btrace_frame_prev_register): Provide PC, throw_error
3415 for all other registers.
3416 (record_btrace_frame_sniffer): Detect btrace frames.
3417 (record_btrace_tailcall_frame_sniffer): New.
3418 (record_btrace_frame_dealloc_cache): New.
3419 (record_btrace_frame_unwind): Add new functions.
3420 (record_btrace_tailcall_frame_unwind): New.
3421 (_initialize_record_btrace): Allocate cache.
3422 * btrace.c (btrace_clear): Call reinit_frame_cache.
3423 * NEWS: Announce it.
3425 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3427 * record-btrace.c (record_btrace_set_replay)
3428 (record_btrace_goto_begin, record_btrace_goto_end)
3429 (record_btrace_goto): New.
3430 (init_record_btrace_ops): Initialize them.
3431 * NEWS: Announce it.
3433 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3435 * record-btrace.c (record_btrace_find_new_threads)
3436 (record_btrace_thread_alive): New.
3437 (init_record_btrace_ops): Initialize to_find_new_threads and
3440 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3442 * record-btrace.c (record_btrace_resume): New.
3443 (record_btrace_wait): New.
3444 (init_record_btrace_ops): Initialize to_wait and to_resume.
3446 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3448 * record-btrace.c (record_btrace_xfer_partial)
3449 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3450 (record_btrace_allow_memory_access): New.
3451 (init_record_btrace_ops): Initialize new methods.
3452 * target.c (raw_memory_xfer_partial): Bail out if target reports
3453 that this memory is not available.
3455 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3457 * target.h (target_ops) <to_insert_breakpoint>
3458 <to_remove_breakpoint>: Add target_ops parameter.
3459 (forward_target_insert_breakpoint): New.
3460 (forward_target_remove_breakpoint): New.
3461 (memory_remove_breakpoint, memory_insert_breakpoint):
3462 Add target_ops parameter.
3463 * target.c (target_insert_breakpoint): Split into this and ...
3464 (forward_target_insert_breakpoint): ... this.
3465 (target_remove_breakpoint): Split into this and ...
3466 (forward_target_remove_breakpoint): ... this.
3467 (debug_to_insert_breakpoint): Add target_ops parameter.
3468 Call forward_target_insert_breakpoint.
3469 (debug_to_remove_breakpoint): Add target_ops parameter.
3470 Call forward_target_remove_breakpoint.
3471 (update_current_target): Do not inherit or default to_insert_breakpoint
3472 and to_remove_breakpoint.
3473 * corelow.c (ignore): Add target_ops parameter.
3474 * exec.c (ignore): Add target_ops parameter.
3475 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3476 Add target_ops parameter.
3477 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3478 Add target_ops parameter.
3479 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3480 Add target_ops parameter.
3481 * record-full.c (record_full_beneath_to_insert_breakpoint)
3482 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3483 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3484 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
3485 (record_full_core_remove_breakpoint): Add target_ops parameter.
3487 (record_full_beneath_to_insert_breakpoint_ops)
3488 (record_full_beneath_to_remove_breakpoint_ops)
3489 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
3490 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
3491 tmp_to_remove_breakpoint_ops,
3492 record_full_beneath_to_insert_breakpoint_ops, and
3493 record_full_beneath_to_remove_breakpoint_ops.
3494 * remote-m32r-sdi.c (m32r_insert_breakpoint)
3495 (m32r_remove_breakpoint): Add target_ops parameter.
3496 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
3497 Add target_ops parameter.
3498 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
3499 Add target_ops parameter.
3501 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3502 Markus Metzger <markus.t.metzger@intel.com>
3504 * record-btrace.c: Include frame-unwind.h.
3505 (record_btrace_frame_unwind_stop_reason)
3506 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
3507 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
3509 (init_record_btrace_ops): Install it.
3511 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3513 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
3516 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3518 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
3521 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3523 * frame-unwind.c: Include target.h.
3524 (frame_unwind_try_unwinder): New function with code from ...
3525 (frame_unwind_find_by_frame): ... here. New variable
3526 unwinder_from_target, call also target_get_unwinder)
3527 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
3528 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
3529 * target.h (struct target_ops): New fields to_get_unwinder and
3530 to_get_tailcall_unwinder.
3531 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
3533 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3535 * record-btrace.c (record_btrace_fetch_registers)
3536 (record_btrace_store_registers)
3537 (record_btrace_to_prepare_to_store): New.
3538 (init_record_btrace_ops): Add the above.
3540 2014-01-16 Tom Tromey <tromey@redhat.com>
3542 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
3543 * target.h (struct target_ops) <to_prepare_to_store>: Add
3545 (target_prepare_to_store): Add argument.
3546 * target.c (debug_to_prepare_to_store): Add argument.
3547 (update_current_target): Update.
3548 * remote.c (remote_prepare_to_store): Add 'self' argument.
3549 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
3550 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
3551 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
3552 * record-full.c (record_full_core_prepare_to_store): Add 'self'
3554 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
3555 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
3556 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
3557 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
3558 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
3560 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3562 * btrace.h (replay) <replay>: New.
3563 (btrace_is_replaying): New.
3564 * btrace.c (btrace_clear): Free replay iterator.
3565 (btrace_is_replaying): New.
3566 * record-btrace.c (record_btrace_is_replaying): New.
3567 (record_btrace_info): Print insn number if replaying.
3568 (record_btrace_insn_history): Start at replay position.
3569 (record_btrace_call_history): Start at replay position.
3570 (init_record_btrace_ops): Init to_record_is_replaying.
3572 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3574 * record-btrace.c (record_btrace_insn_history_range): Include
3576 (record_btrace_insn_history_from): Adjust range.
3577 (record_btrace_call_history_range): Include
3579 (record_btrace_call_history_from): Adjust range.
3580 * NEWS: Announce changes.
3582 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3584 * record.h (enum record_print_flag)
3585 <record_print_indent_calls>: New.
3586 * record.c (get_call_history_modifiers): Recognize /c modifier.
3587 (_initialize_record): Document /c modifier.
3588 * record-btrace.c (btrace_call_history): Add btinfo parameter.
3589 Reorder fields. Optionally indent the function name. Update
3591 * NEWS: Announce changes.
3593 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3595 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
3597 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3599 * btrace.c (ftrace_new_function): Start counting at one.
3600 * record-btrace.c (record_btrace_info): Adjust number of calls
3602 * NEWS: Announce it.
3604 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3606 * record-btrace.c (btrace_call_history_insn_range): Print
3607 insn range as [begin, end].
3609 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3611 * btrace.h (struct btrace_func_link): New.
3612 (enum btrace_function_flag): New.
3613 (struct btrace_inst): Rename to ...
3614 (struct btrace_insn): ...this. Update all users.
3615 (struct btrace_func) <ibegin, iend>: Remove.
3616 (struct btrace_func_link): New.
3617 (struct btrace_func): Rename to ...
3618 (struct btrace_function): ...this. Update all users.
3619 (struct btrace_function) <segment, flow, up, insn, insn_offset)
3620 (number, level, flags>: New.
3621 (struct btrace_insn_iterator): Rename to ...
3622 (struct btrace_insn_history): ...this.
3624 (struct btrace_insn_iterator, btrace_call_iterator): New.
3625 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
3626 (struct btrace_target_info) <begin, end, level>
3627 <insn_history, call_history>: New.
3628 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3629 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3630 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3631 (btrace_call_number, btrace_call_begin, btrace_call_end)
3632 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3633 (btrace_find_function_by_number, btrace_set_insn_history)
3634 (btrace_set_call_history): New.
3635 * btrace.c (btrace_init_insn_iterator)
3636 (btrace_init_func_iterator, compute_itrace): Remove.
3637 (ftrace_print_function_name, ftrace_print_filename)
3638 (ftrace_skip_file): Change
3640 (ftrace_init_func): Remove.
3641 (ftrace_debug): Use new btrace_function fields.
3642 (ftrace_function_switched): Also consider gaining and
3643 losing symbol information).
3644 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
3645 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
3646 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
3648 (ftrace_new_function): Move. Remove debug print.
3649 (ftrace_update_lines, ftrace_update_insns): New.
3650 (ftrace_update_function): Check for call, ret, and jump.
3651 (compute_ftrace): Renamed to ...
3652 (btrace_compute_ftrace): ...this. Rewritten to compute call
3654 (btrace_fetch, btrace_clear): Updated.
3655 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3656 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3657 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3658 (btrace_call_number, btrace_call_begin, btrace_call_end)
3659 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3660 (btrace_find_function_by_number, btrace_set_insn_history)
3661 (btrace_set_call_history): New.
3662 * record-btrace.c (require_btrace): Use new btrace thread
3664 (record_btrace_info, btrace_insn_history)
3665 (record_btrace_insn_history, record_btrace_insn_history_range):
3666 Use new btrace thread info fields and new iterator.
3667 (btrace_func_history_src_line): Rename to ...
3668 (btrace_call_history_src_line): ...this. Use new btrace
3670 (btrace_func_history): Rename to ...
3671 (btrace_call_history): ...this. Use new btrace thread info
3672 fields and new iterator.
3673 (record_btrace_call_history, record_btrace_call_history_range):
3674 Use new btrace thread info fields and new iterator.
3676 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3678 * frame.h (frame_id_build_unavailable_stack_special): New.
3679 * frame.c (frame_id_build_unavailable_stack_special): New.
3681 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3683 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
3684 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
3685 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
3687 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
3688 (i386_insn_is_jump, i386_jmp_p): New.
3689 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
3690 insn_is_jump to gdbarch.
3691 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
3692 * gdbarch.h: Regenerated.
3693 * gdbarch.c: Regenerated.
3694 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
3695 (default_insn_is_jump): New.
3696 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
3697 (default_insn_is_jump): New.
3699 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3701 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
3703 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
3704 (btrace_read_type) <btrace_read_new>: Change to ...
3705 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
3707 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3709 * common/linux-btrace.c (linux_read_btrace): Free trace from
3712 2014-01-15 Doug Evans <dje@google.com>
3714 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
3717 2014-01-15 Tom Tromey <tromey@redhat.com>
3719 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
3720 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
3721 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
3722 (set_objfile_main_name): New function.
3723 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
3724 language_of_main>: New fields.
3725 (set_objfile_main_name): Declare.
3726 * symtab.c (find_main_name): Loop over objfiles to find the main
3728 (set_main_name): Now static.
3729 (get_main_info): Add comment.
3730 * symtab.h (set_main_name): Don't declare.
3732 2014-01-15 Tom Tromey <tromey@redhat.com>
3734 * symtab.c (main_progspace_key): New global.
3735 (struct main_info): New.
3736 (name_of_main, language_of_main): Remove.
3737 (get_main_info, main_info_cleanup): New function.
3738 (set_main_name, main_name, main_language): Use get_main_info.
3739 (_initialize_symtab): Initialize main_progspace_key.
3741 2014-01-15 Tom Tromey <tromey@redhat.com>
3743 * dbxread.c (process_one_symbol): Update.
3744 * dwarf2read.c (read_partial_die): Update.
3745 * symfile.c (set_initial_language): Call main_language.
3746 * symtab.c (language_of_main): Now static.
3747 (set_main_name): Add 'lang' parameter.
3748 (find_main_name): Update.
3749 (main_language): New function.
3750 (symtab_observer_executable_changed): Update.
3751 * symtab.h (set_main_name): Update.
3752 (language_of_main): Remove.
3753 (main_language): Declare.
3755 2014-01-15 Tom Tromey <tromey@redhat.com>
3757 * symfile.c (init_entry_point_info): Use new "initialized" field.
3759 * objfiles.h (struct entry_point) <initialized>: New field.
3760 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
3761 (struct objfile) <ei>: ...here. Remove.
3762 * objfiles.c (entry_point_address_query): Update.
3764 2014-01-15 Tom Tromey <tromey@redhat.com>
3766 * objfiles.c (entry_point_address_query): Relocate entry point
3768 (objfile_relocate1): Do not relocate entry point address.
3769 * objfiles.h (struct entry_info) <entry_point>: Update comment.
3770 <the_bfd_section_index>: New field.
3771 * symfile.c (init_entry_point_info): Find the entry point's
3774 2014-01-15 Tom Tromey <tromey@redhat.com>
3776 * solib-frv.c (enable_break): Use entry_point_address_query.
3778 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3780 * NEWS: Add note on improved process record-replay on
3781 arm*-linux* targets.
3783 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3785 * arm-tdep.c (enum arm_record_result): New enum.
3786 (arm_record_unsupported_insn): New function.
3787 (arm_record_coproc_data_proc): Removed.
3788 (thumb2_record_ld_st_multiple): New function.
3789 (thumb2_record_ld_st_dual_ex_tbb): New function.
3790 (thumb2_record_data_proc_sreg_mimm): New function.
3791 (thumb2_record_ps_dest_generic): New function.
3792 (thumb2_record_branch_misc_cntrl): New function.
3793 (thumb2_record_str_single_data): New function.
3794 (thumb2_record_ld_mem_hints): New function.
3795 (thumb2_record_ld_word): New function.
3796 (thumb2_record_lmul_lmla_div): New function.
3797 (thumb2_record_decode_insn_handler): New function.
3798 (decode_insn): Add thumb32 instruction handlers.
3800 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3802 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
3803 (struct arm_linux_record_tdep): Declare.
3804 (arm_canonicalize_syscall): New function.
3805 (arm_all_but_pc_registers_record): New function.
3806 (arm_linux_syscall_record): New function.
3807 (arm_linux_init_abi): Add syscall recording constructs.
3808 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
3809 decoding. (arm_record_coproc_data_proc): Update arm syscall
3811 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
3812 <arm_syscall_record>: New field.
3813 * configure.tgt (arm*-*-linux*): Add linux-record.o to
3816 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3818 * arm-tdep.c (thumb_record_misc): Update to use sp as base
3819 register for push instruction recording.
3821 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3823 * arm-tdep.c (thumb_record_misc): Update to correct logical
3824 error while recording ldm, ldmia and pop instructions.
3826 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3828 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
3830 2014-01-15 Pedro Alves <palves@redhat.com>
3832 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
3833 (go32_resume, go32_fetch_registers, store_register)
3834 (go32_store_registers, go32_prepare_to_store)
3835 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
3836 (go32_create_inferior, go32_can_run, go32_terminal_init)
3837 (go32_terminal_inferior, go32_terminal_ours): Delete forward
3840 2014-01-15 Tom Tromey <tromey@redhat.com>
3842 * target.h (async_callback_ftype): New typedef.
3843 (struct target_ops) <to_async>: Use it.
3845 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3847 * python/py-value.c (get_field_type): Remove unnecessary curly
3848 braces for single-statement if block.
3850 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3852 * python/py-type.c (convert_field): Add missing empty line
3855 2014-01-14 Doug Evans <dje@google.com>
3857 * symfile.h (expand_symtabs_matching): Renamed from
3858 expand_partial_symbol_names. Update prototype.
3859 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3860 * symfile.c (expand_symtabs_matching): Renamed from
3861 expand_partial_symbol_names. New args file_matcher, kind.
3862 Rename arg fun to symbol_matcher.
3863 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3864 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
3865 ada_expand_partial_symbol_name.
3866 (ada_make_symbol_completion_list): Update to call
3867 expand_symtabs_matching.
3868 (ada_add_global_exceptions): Call expand_symtabs_matching.
3869 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
3870 call map_symbol_filenames.
3871 * symtab.c (sources_info): Update to call map_symbol_filenames.
3872 (search_symbols): Call expand_symtabs_matching.
3873 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
3874 (default_make_symbol_completion_list_break_on): Update to call
3875 expand_symtabs_matching.
3876 (make_source_files_completion_list): Update to call
3877 map_symbol_filenames.
3879 2014-01-14 Doug Evans <dje@google.com>
3881 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
3882 (expand_symtabs_symbol_matcher_ftype): New typedef.
3883 (quick_symbol_functions.expand_symtabs_matching): Update to use.
3884 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3885 * symfile.c (expand_partial_symbol_names): Update to use
3886 expand_symtabs_symbol_matcher_ftype.
3887 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
3888 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3889 Arg name_matcher renamed to symbol_matcher.
3890 * psymtab.c (recursively_search_psymtabs): Update to use
3891 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
3893 (expand_symtabs_matching_via_partial): Update to use
3894 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3895 Arg name_matcher renamed to symbol_matcher.
3897 2014-01-14 Doug Evans <dje@google.com>
3899 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
3900 (map_partial_symbol_filenames): Ditto.
3901 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
3902 (map_partial_symbol_filenames): Ditto.
3903 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
3904 (map_partial_symbol_filenames): Ditto.
3905 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
3906 (map_partial_symbol_filenames): Ditto.
3907 * symtab.c: Delete #include "psymtab.h".
3909 2014-01-14 Pedro Alves <palves@redhat.com>
3910 Tom Tromey <tromey@redhat.com>
3912 * infrun.c (use_displaced_stepping): Use find_record_target
3913 instead of RECORD_IS_USED.
3914 (adjust_pc_after_break): Use record_full_is_used instead of
3916 * record-btrace.c (record_btrace_open): Call record_preopen
3917 instead of checking RECORD_IS_USED.
3918 * record-full.c (record_full_shortname)
3919 (record_full_core_shortname): New globals.
3920 (record_full_is_used): New function.
3921 (find_full_open): Call record_preopen instead of checking
3923 (init_record_full_ops): Set the target's shortname to
3924 record_full_shortname.
3925 (init_record_full_core_ops): Set the target's shortname to
3926 record_full_core_shortname.
3927 * record-full.h (record_full_is_used): Declare.
3928 * record.c (find_record_target): Make extern.
3929 (record_preopen): New function.
3930 * record.h (RECORD_IS_USED): Delete macro.
3931 (find_record_target, record_preopen): Declare functions.
3933 2014-01-14 Yao Qi <yao@codesourcery.com>
3935 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
3936 'len''s type to ULONGEST.
3937 (core_xfer_shared_libraries_aix): Likewise.
3938 * gdbarch.c, gdbarch.h: Regenerated.
3939 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
3940 Change type of 'len' to ULONGEST.
3941 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3942 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
3944 2014-01-14 Yao Qi <yao@codesourcery.com>
3946 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
3947 type of 'len' to ULONGEST.
3948 (linux_xfer_osdata_processgroups): Likewise.
3949 (linux_xfer_osdata_threads): Likewise.
3950 (linux_xfer_osdata_fds): Likewise.
3951 (linux_xfer_osdata_isockets): Likewise.
3952 (linux_xfer_osdata_shm): Likewise.
3953 (linux_xfer_osdata_sem): Likewise.
3954 (linux_xfer_osdata_msg): Likewise.
3955 (linux_common_xfer_osdata): Likewise.
3956 (struct osdata_type) <getter>: Likewise.
3957 * common/linux-osdata.h (linux_common_xfer_osdata): Update
3960 2014-01-14 Yao Qi <yao@codesourcery.com>
3962 * target.h (target_xfer_partial_ftype): Update.
3963 (struct target_ops) <to_xfer_partial>: Change 'len' type to
3965 * aix-thread.c (aix_thread_xfer_partial): Change type of
3966 argument 'len' to ULONGEST.
3967 * auxv.c (procfs_xfer_auxv): Likewise.
3968 (ld_so_xfer_auxv): Likewise.
3969 (memory_xfer_auxv): Likewise.
3970 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3971 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3972 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
3973 * corelow.c (core_xfer_partial): Likewise.
3974 * ctf.c (ctf_xfer_partial): Likewise.
3975 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
3977 (darwin_read_dyld_info): Likewise.
3978 (darwin_xfer_partial): Likewise.
3979 * exec.c (section_table_xfer_memory_partial): Likewise.
3980 (exec_xfer_partial): Likewise.
3981 * exec.h (section_table_xfer_memory_partial): Update
3983 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
3984 instead of plongest.
3985 (gnu_xfer_partial): Likewise.
3986 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
3987 (ia64_hpux_xfer_solib_got): Likewise.
3988 (ia64_hpux_xfer_partial): Likewise.
3989 * ia64-linux-nat.c (ia64_linux_xfer_partial):
3990 * inf-ptrace.c (inf_ptrace_xfer_partial):
3991 * inf-ttrace.c (inf_ttrace_xfer_partial):
3992 * linux-nat.c (linux_xfer_siginfo): Likewise.
3993 (linux_nat_xfer_partial): Likewise.
3994 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
3995 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
3996 * monitor.c (monitor_xfer_memory): Likewise.
3997 (monitor_xfer_partial): Likewise.
3998 * procfs.c (procfs_xfer_partial): Likewise.
3999 * record-full.c (record_full_xfer_partial): Likewise.
4000 (record_full_core_xfer_partial): Likewise.
4001 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
4002 instead of plongest.
4003 (gdbsim_xfer_partial): Likewise.
4004 * remote.c (remote_xfer_partial): Likewise.
4005 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4006 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4008 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4009 (rs6000_xfer_shared_libraries): Likewise.
4010 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4011 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4012 (sparc_xfer_partial): Likewise.
4013 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4014 (spu_xfer_partial): Likewise.
4015 * spu-multiarch.c (spu_xfer_partial): Likewise.
4016 * target.c (target_read_live_memory): Likewise.
4017 (memory_xfer_live_readonly_partial): Likewise.
4018 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
4019 (target_xfer_partial, default_xfer_partial): Likewise.
4020 (current_xfer_partial): Likewise.
4021 * tracepoint.c (tfile_xfer_partial): Likewise.
4022 * windows-nat.c (windows_xfer_memory): Likewise. Call
4023 pulongest instead of plongest.
4024 (windows_xfer_partial): Likewise.
4025 (windows_xfer_shared_libraries): Likewise.
4027 2014-01-14 Yao Qi <yao@codesourcery.com>
4029 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
4030 target_xfer_partial_ftype.
4032 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4036 * valops.c (value_struct_elt_bitpos): New function
4037 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
4038 object to 'None' if the field name is an empty string ("").
4039 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
4040 attribute to look for a field when 'name' is 'None'.
4041 (get_field_type): New function
4043 2014-01-13 Doug Evans <dje@google.com>
4046 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
4047 (try_open_dwop_file): Ditto.
4048 * gdb_bfd.c: #include "vec.h".
4049 (bfdp): New typedef.
4050 (struct gdb_bfd_data): New member included_bfds.
4051 (gdb_bfd_unref): Unref all included bfds.
4052 (gdb_bfd_record_inclusion): New function.
4053 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
4055 2014-01-13 Tom Tromey <tromey@redhat.com>
4057 * gdbcore.h (deprecated_core_resize_section_table): Remove.
4059 2014-01-13 Tom Tromey <tromey@redhat.com>
4061 * defs.h (use_windows): Remove.
4062 * gdb.c (main): Update.
4063 * main.c (captured_main, gdb_main): Update.
4064 * main.h (struct captured_main_args) <use_windows>: Remove.
4065 * top.c (use_windows): Remove.
4067 2014-01-13 Tom Tromey <tromey@redhat.com>
4069 * defs.h (deprecated_flush_hook): Remove.
4071 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4074 * linux-thread-db.c (try_thread_db_load): Add parameter
4075 check_auto_load_safe. Move here the file_is_auto_load_safe call.
4076 (try_thread_db_load_from_pdir_1): Move it there from here.
4077 (try_thread_db_load_from_sdir): Update caller.
4078 (try_thread_db_load_from_dir): Move it there from here.
4080 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
4082 * regformats/regdat.sh: Always rewrite the register file.
4084 2014-01-13 Pedro Alves <palves@redhat.com>
4086 * Makefile.in (CHECK_HEADERS): New variable.
4087 (check-headers:): New rule.
4089 2014-01-13 Tom Tromey <tromey@redhat.com>
4091 * cli/cli-setshow.c (do_set_command): Update.
4092 * defs.h (deprecated_set_hook): Remove.
4093 * top.c (deprecated_set_hook): Remove.
4095 2014-01-13 Pedro Alves <palves@redhat.com>
4097 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
4098 the tracepoint if the PC is a pseudo-register.
4100 2014-01-13 Tom Tromey <tromey@redhat.com>
4102 * defs.h (XCALLOC): Remove.
4103 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
4104 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
4105 * dwarf2loc.c (allocate_piece_closure): Likewise.
4106 * elfread.c (elf_symfile_segments): Likewise.
4107 (elf_symfile_segments): Likewise.
4108 * gdbtypes.c (copy_type_recursive): Likewise.
4109 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
4110 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
4111 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
4113 * mt-tdep.c (mt_gdbarch_init): Likewise.
4114 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
4116 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
4117 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
4118 * registry.c (registry_alloc_data): Likewise.
4119 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
4120 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
4121 * serial.c (serial_fdopen_ops): Likewise.
4122 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
4124 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
4125 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
4128 2014-01-13 Tom Tromey <tromey@redhat.com>
4130 * defs.h (XMALLOC): Remove.
4131 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
4132 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
4133 * cli-out.c (struct ui_out *): Likewise.
4134 * cli/cli-dump.c (add_dump_command): Likewise.
4135 (add_dump_command): Likewise.
4136 * complaints.c (get_complaints): Likewise.
4137 (find_complaint): Likewise.
4138 * dwarf2-frame.c (execute_cfa_program): Likewise.
4139 * dwarf2read.c (abbrev_table_read_table): Likewise.
4140 * gdbarch.sh: Likewise.
4141 * gdbarch.c: Rebuild.
4142 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
4143 * interps.c (interp_new): Likewise.
4144 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
4145 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
4146 * mi/mi-console.c (mi_console_file_new): Likewise.
4147 * mi/mi-interp.c (mi_interpreter_init): Likewise.
4148 * mi/mi-out.c (mi_out_new): Likewise.
4149 * mi/mi-parse.c (mi_parse): Likewise.
4150 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
4151 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
4152 * observer.c (xalloc_observer_list_node): Likewise.
4153 * regcache.c (regcache_xmalloc_1): Likewise.
4154 * reggroups.c (reggroup_new): Likewise.
4155 (_initialize_reggroup): Likewise.
4156 * registry.c (register_data_with_cleanup): Likewise.
4157 * remote.c (remote_notif_stop_alloc_reply): Likewise.
4158 * ser-base.c (serial_ttystate): Likewise.
4159 * ser-mingw.c (make_pipe_state): Likewise.
4160 * ser-pipe.c (pipe_open): Likewise.
4161 * serial.c (serial_open): Likewise.
4162 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
4163 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
4164 (tui_alloc_win_info): Likewise.
4165 (tui_add_content_elements): Likewise.
4166 * tui/tui-file.c (tui_file_new): Likewise.
4167 * tui/tui-out.c (tui_out_new): Likewise.
4168 * ui-file.c (mem_file_new): Likewise.
4169 * ui-out.c (push_level): Likewise.
4170 (make_cleanup_ui_out_end): Likewise.
4171 (append_header_to_list): Likewise.
4172 (ui_out_new): Likewise.
4173 * user-regs.c (user_reg_add_builtin): Likewise.
4175 2014-01-13 Tom Tromey <tromey@redhat.com>
4177 * defs.h (XZALLOC): Remove.
4178 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
4179 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
4180 (get_ada_tasks_inferior_data): Likewise.
4181 * auto-load.c (get_auto_load_pspace_data): Likewise.
4182 * auxv.c (get_auxv_inferior_data): Likewise.
4183 * bfd-target.c (target_bfd_reopen): Likewise.
4184 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
4185 (deprecated_insert_raw_breakpoint): Likewise.
4186 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
4187 * corelow.c (core_open): Likewise.
4188 * darwin-nat.c (darwin_check_new_threads): Likewise.
4189 (darwin_attach_pid): Likewise.
4190 * dummy-frame.c (dummy_frame_push): Likewise.
4191 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
4192 * dwarf2loc.c (allocate_piece_closure): Likewise.
4193 * elfread.c (elf_symfile_segments): Likewise.
4194 * eval.c (ptrmath_type_p): Likewise.
4195 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
4196 * gdbtypes.c (alloc_type_arch): Likewise.
4197 (alloc_type_instance): Likewise.
4198 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
4199 * inf-child.c (inf_child_can_use_agent): Likewise.
4200 * inflow.c (get_inflow_inferior_data): Likewise.
4201 * infrun.c (save_infcall_suspend_state): Likewise.
4202 * jit.c (jit_reader_load): Likewise.
4203 (get_jit_objfile_data): Likewise.
4204 (get_jit_program_space_data): Likewise.
4205 (jit_object_open_impl): Likewise.
4206 (jit_symtab_open_impl): Likewise.
4207 (jit_block_open_impl): Likewise.
4208 (jit_frame_sniffer): Likewise.
4209 * linux-fork.c (add_fork): Likewise.
4210 * maint.c (make_command_stats_cleanup): Likewise.
4211 * objfiles.c (get_objfile_pspace_data): Likewise.
4212 * opencl-lang.c (struct lval_closure): Likewise.
4213 * osdata.c (osdata_start_osdata): Likewise.
4214 * progspace.c (new_address_space): Likewise.
4215 (add_program_space): Likewise.
4216 * remote-sim.c (get_sim_inferior_data): Likewise.
4217 * sh-tdep.c (sh_gdbarch_init): Likewise.
4218 * skip.c (Ignore): Likewise.
4219 (skip_delete_command): Likewise.
4220 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4221 (library_list_start_library): Likewise.
4222 (solib_aix_current_sos): Likewise.
4223 * solib-darwin.c (get_darwin_info): Likewise.
4224 (darwin_current_sos): Likewise.
4225 * solib-dsbt.c (get_dsbt_info): Likewise.
4226 * solib-ia64-hpux.c (new_so_list): Likewise.
4227 (ia64_hpux_get_solib_linkage_addr): Likewise.
4228 * solib-spu.c (append_ocl_sos): Likewise.
4229 (spu_current_sos): Likewise.
4230 * solib-svr4.c (get_svr4_info): Likewise.
4231 (svr4_keep_data_in_core): Likewise.
4232 (library_list_start_library): Likewise.
4233 (svr4_default_sos): Likewise.
4234 (svr4_read_so_list): Likewise.
4235 * solib-target.c (library_list_start_library): Likewise.
4236 (solib_target_current_sos): Likewise.
4237 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4238 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4239 * symfile.c (default_symfile_segments): Likewise.
4240 * target-descriptions.c (tdesc_data_init): Likewise.
4241 (tdesc_create_reg): Likewise.
4242 (struct tdesc_type *): Likewise.
4243 (tdesc_create_vector): Likewise.
4244 (tdesc_set_struct_size): Likewise.
4245 (struct tdesc_type *): Likewise.
4246 (tdesc_free_feature): Likewise.
4247 (tdesc_create_feature): Likewise.
4248 * windows-nat.c (windows_add_thread): Likewise.
4249 (windows_make_so): Likewise.
4250 * xml-support.c (gdb_xml_body_text): Likewise.
4251 (gdb_xml_create_parser_and_cleanup): Likewise.
4252 (xml_process_xincludes): Likewise.
4253 * xml-syscall.c (allocate_syscalls_info): Likewise.
4254 (syscall_create_syscall_desc): Likewise.
4256 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4258 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4259 function, with code from i386_stap_parse_special_token.
4260 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4261 (i386_stap_parse_special_token): Move code to the two functions
4264 2014-01-09 Pedro Alves <palves@redhat.com>
4265 Hui Zhu <hui@codesourcery.com>
4268 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4269 bp_err_string. Don't mark the location shlib_disabled if the
4270 error thrown wasn't a generic or memory error. Catch errors
4271 thrown while inserting breakpoints in overlayed code. Output
4272 error message of software breakpoints.
4273 * remote.c (remote_insert_breakpoint): If this breakpoint has
4274 target-side commands but this stub doesn't support Z0 packets,
4275 throw NOT_SUPPORTED_ERROR error.
4276 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4277 * target.h (target_insert_breakpoint): Extend comment.
4278 (target_insert_hw_breakpoint): Add comment.
4280 2014-01-08 Pedro Alves <palves@redhat.com>
4282 * remote.c (remote_add_thread): Add threads silently if starting
4284 (remote_notice_new_inferior): If in all-stop, and starting up,
4285 don't call notice_new_inferior.
4286 (get_current_thread): New function, factored out from ...
4287 (add_current_inferior_and_thread): ... this. Adjust.
4288 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4289 found any thread, then select the remote's current thread as GDB's
4292 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4294 * NEWS: Create a new section for the next release branch.
4295 Rename the section of the current branch, now that it has
4298 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4300 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4301 * version.in: Bump version to 7.7.50.DATE-cvs.
4303 2014-01-08 Yao Qi <yao@codesourcery.com>
4305 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4306 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4307 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4309 2014-01-08 Yao Qi <yao@codesourcery.com>
4311 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4312 return value of bfd_get_filename to symbol_file_add_from_bfd.
4314 2014-01-08 Pierre Muller <muller@sourceware.org>
4317 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4318 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4319 to prim_record_mininal_symbol_and_info.
4320 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4321 in call to prim_record_minimal_symbol_and_info.
4322 (read_pe_exported_syms): Set index field of section_data.
4324 2014-01-07 Andrew Pinski <apinski@cavium.com>
4326 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4327 * features/aarch64.c: Regenerate.
4329 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4331 * target.c (return_null): Define.
4332 (update_current_target): Use it instead of return_zero for
4333 functions that return a pointer.
4335 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4337 * source.c (add_path): Fix check for duplicated paths in the previously
4340 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4342 * ada-lang.c: Remove duplicated include statements.
4343 * alphabsd-nat.c: Ditto.
4344 * amd64-darwin-tdep.c: Ditto.
4345 * amd64fbsd-nat.c: Ditto.
4346 * auto-load.c: Ditto.
4348 * breakpoint.c: Ditto.
4350 * fork-child.c: Ditto.
4351 * gdb_usleep.c: Ditto.
4352 * i386-darwin-tdep.c: Ditto.
4353 * i386fbsd-nat.c: Ditto.
4355 * inferior.c: Ditto.
4357 * linux-nat.c: Ditto.
4358 * linux-tdep.c: Ditto.
4359 * m68kbsd-nat.c: Ditto.
4360 * m68klinux-nat.c: Ditto.
4361 * microblaze-tdep.c: Ditto.
4362 * mips-linux-tdep.c: Ditto.
4363 * mn10300-tdep.c: Ditto.
4364 * nto-tdep.c: Ditto.
4365 * opencl-lang.c: Ditto.
4367 * printcmd.c: Ditto.
4368 * regcache.c: Ditto.
4369 * remote-m32r-sdi.c: Ditto.
4373 * tilegx-linux-nat.c: Ditto.
4374 * tilegx-tdep.c: Ditto.
4375 * tracepoint.c: Ditto.
4377 * vaxbsd-nat.c: Ditto.
4378 * windows-nat.c: Ditto.
4379 * xtensa-tdep.c: Ditto.
4381 2014-01-07 Yao Qi <yao@codesourcery.com>
4383 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4385 2014-01-07 Yao Qi <yao@codesourcery.com>
4386 Joel Brobecker <brobecker@adacore.com>
4388 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4389 (pdc_write_regs): Likewise.
4390 (fetch_regs_kernel_thread): Likewise.
4391 (store_regs_kernel_thread): Likewise.
4393 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4395 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4396 tagged type objects to their actual type.
4398 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4400 * ada-valprint.c (print_field_values): Add "language" parameter.
4401 Update calls to print_field_values and print_variant_part.
4402 Pass new parameter "language" in call to val_print instead
4403 of "current_language". Replace call to ada_val_print by call
4405 (print_variant_part): Add "language" parameter.
4406 (ada_val_print_struct_union): Update call to print_field_values.
4408 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4410 * ada-valprint.c (ui_memcpy): Delete.
4411 (ada_print_floating): Update documentation. Add empty line
4412 between between function documentation and implementation.
4413 Delete variable "buffer". Use ui_file_xstrdup in place of
4414 ui_file_put. Minor adjustments following this change.
4416 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4418 * ada-valprint.c (ada_val_print_string): New function,
4419 extracted from ada_val_print_array.
4420 (ada_val_print_array): Replace extracted code by call
4421 to ada_val_print_string followed by a return. Move
4422 "else" branch to the function's top block.
4424 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4426 * ada-valprint.c (ada_val_print_array): Move implementation
4427 down. Rename parameter "offset" and "val" into "offset_aligned"
4428 and "original_value" respectively. Add parameter "offset".
4430 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4432 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4433 re-organizing the code. Change the "???" message printed
4434 when target type is a TYPE_CODE_UNDEF into
4435 "<ref to undefined type>".
4437 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4439 * ada-valprint.c (print_record): Delete, implementation inlined...
4440 (ada_val_print_struct_union): ... here. Remove call to
4441 ada_check_typedef in inlined implementation.
4443 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4445 * ada-valprint.c (ada_val_print_gnat_array): New function,
4446 extracted from ada_val_print_1;
4447 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4448 (ada_val_print_flt, ada_val_print_struct_union)
4449 (ada_val_print_ref): Likewise.
4450 (ada_val_print_1): Delete variables i and elttype.
4451 Replace extracted-out code by call to corresponding
4454 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4456 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4458 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4460 * ada-valprint.c (ada_val_print_1): Replace calls to
4461 ada_val_print_1 by calls to val_print.
4463 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4465 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4466 Update calls to self accordingly. Replace calls to c_val_print
4467 by calls to val_print.
4469 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4471 * ada-valprint.c (print_record): Delete declaration.
4472 (adjust_type_signedness, ada_val_print_1): Likewise.
4473 (ada_val_print): Move function implementation down.
4474 (print_variant_part, print_field_values, print_record):
4475 Move function implementation up.
4477 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4479 * python/py-type.c (typy_get_name): New function.
4480 (type_object_getset): Add entry for attribute "name".
4481 * NEWS: Add entry mentioning this new attribute.
4483 2014-01-07 Yao Qi <yao@codesourcery.com>
4485 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
4488 2014-01-07 Yao Qi <yao@codesourcery.com>
4490 * gnu-nat.c (info_port_rights): Add qualifier const to
4493 2014-01-07 Yao Qi <yao@codesourcery.com>
4495 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
4497 2014-01-07 Yao Qi <yao@codesourcery.com>
4499 * gnu-nat.c (make_inf) Update declaration.
4500 (make_inf): Make it static.
4501 (inf_set_traced): Likewise.
4502 (inf_port_to_thread, inf_task_died_status): Likewise.
4504 2014-01-07 Yao Qi <yao@codesourcery.com>
4506 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
4508 2014-01-07 Yao Qi <yao@codesourcery.com>
4510 * gnu-nat.c (_initialize_gnu_nat): Declare.
4512 2014-01-07 Yao Qi <yao@codesourcery.com>
4514 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
4516 (struct gdbarch_info) <byte_order>: Change type to
4518 <byte_order_for_code>: Likewise.
4519 * gdbarch.c, gdbarch.h: Regenerated.
4521 2014-01-06 Sasha Smundak <asmundak@google.com>
4523 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
4525 2014-01-06 Tom Tromey <tromey@redhat.com>
4527 * doublest.c (convert_doublest_to_floatformat): Use const, not
4529 * somread.c (som_symtab_read): Likewise.
4531 2014-01-07 Hui Zhu <hui@codesourcery.com>
4533 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
4534 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
4535 (gdb_bfd_fopen): Ditto.
4536 (gdb_bfd_openr): Ditto.
4537 (gdb_bfd_openw): Ditto.
4538 (gdb_bfd_openr_iovec): Ditto.
4539 (gdb_bfd_fdopenr): Ditto.
4540 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
4541 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
4543 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
4545 * symfile-mem.c (symbol_file_add_from_memory): Removed
4546 gdb_bfd_stash_filename.
4548 2014-01-03 Doug Evans <dje@google.com>
4550 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
4553 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4555 Update year range in copyright notice of all files.
4557 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4559 * top.c (print_gdb_version): Set copyright year to 2014.
4561 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4563 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
4565 For older changes see ChangeLog-2013.
4571 version-control: never