1 2014-02-19 Tom Tromey <tromey@redhat.com>
3 * target-delegates.c: Rebuild.
4 * target.c (target_save_record): Unconditionally delegate.
5 * target.h (struct target_ops) <to_save_record>: Use
6 TARGET_DEFAULT_NORETURN.
8 2014-02-19 Tom Tromey <tromey@redhat.com>
10 * target-delegates.c: Rebuild.
11 * target.c (target_delete_record): Unconditionally delegate.
12 * target.h (struct target_ops) <to_delete_record>: Use
13 TARGET_DEFAULT_NORETURN.
15 2014-02-19 Tom Tromey <tromey@redhat.com>
17 * target-delegates.c: Rebuild.
18 * target.c (target_record_is_replaying): Unconditionally
20 * target.h (struct target_ops) <to_record_is_replaying>: Use
21 TARGET_DEFAULT_RETURN.
23 2014-02-19 Tom Tromey <tromey@redhat.com>
25 * target-delegates.c: Rebuild.
26 * target.c (target_goto_record_begin): Unconditionally delegate.
27 * target.h (struct target_ops) <to_goto_record_begin>: Use
28 TARGET_DEFAULT_NORETURN.
30 2014-02-19 Tom Tromey <tromey@redhat.com>
32 * target-delegates.c: Rebuild.
33 * target.c (target_goto_record_end): Unconditionally delegate.
34 * target.h (struct target_ops) <to_goto_record_end>: Use
35 TARGET_DEFAULT_NORETURN.
37 2014-02-19 Tom Tromey <tromey@redhat.com>
39 * target-delegates.c: Rebuild.
40 * target.c (target_goto_record): Unconditionally delegate.
41 * target.h (struct target_ops) <to_goto_record>: Use
42 TARGET_DEFAULT_NORETURN.
44 2014-02-19 Tom Tromey <tromey@redhat.com>
46 * target-delegates.c: Rebuild.
47 * target.c (target_insn_history): Unconditionally delegate.
48 * target.h (struct target_ops) <to_insn_history>: Use
49 TARGET_DEFAULT_NORETURN.
51 2014-02-19 Tom Tromey <tromey@redhat.com>
53 * target-delegates.c: Rebuild.
54 * target.c (target_insn_history_from): Unconditionally delegate.
55 * target.h (struct target_ops) <to_insn_history_from>: Use
56 TARGET_DEFAULT_NORETURN.
58 2014-02-19 Tom Tromey <tromey@redhat.com>
60 * target-delegates.c: Rebuild.
61 * target.c (target_insn_history_range): Unconditionally delegate.
62 * target.h (struct target_ops) <to_insn_history_range>: Use
63 TARGET_DEFAULT_NORETURN.
65 2014-02-19 Tom Tromey <tromey@redhat.com>
67 * target-delegates.c: Rebuild.
68 * target.c (target_call_history): Unconditionally delegate.
69 * target.h (struct target_ops) <to_call_history>: Use
70 TARGET_DEFAULT_NORETURN.
72 2014-02-19 Tom Tromey <tromey@redhat.com>
74 * target-delegates.c: Rebuild.
75 * target.c (target_call_history_from): Unconditionally delegate.
76 * target.h (struct target_ops) <to_call_history_from>: Use
77 TARGET_DEFAULT_NORETURN.
79 2014-02-19 Tom Tromey <tromey@redhat.com>
81 * target-delegates.c: Rebuild.
82 * target.c (target_call_history_range): Unconditionally delegate.
83 * target.h (struct target_ops) <to_call_history_range>: Use
84 TARGET_DEFAULT_NORETURN.
86 2014-02-19 Tom Tromey <tromey@redhat.com>
88 * target-delegates.c: Rebuild.
89 * target.c (target_verify_memory): Unconditionally delegate.
90 * target.h (struct target_ops) <to_verify_memory>: Use
91 TARGET_DEFAULT_NORETURN.
93 2014-02-19 Tom Tromey <tromey@redhat.com>
95 * target-delegates.c: Rebuild.
96 * target.c (target_core_of_thread): Unconditionally delegate.
97 * target.h (struct target_ops) <to_core_of_thread>: Use
98 TARGET_DEFAULT_RETURN.
100 2014-02-19 Tom Tromey <tromey@redhat.com>
102 * target-delegates.c: Rebuild.
103 * target.c (target_flash_done): Unconditionally delegate.
104 * target.h (struct target_ops) <to_flash_done>: Use
105 TARGET_DEFAULT_NORETURN.
107 2014-02-19 Tom Tromey <tromey@redhat.com>
109 * target-delegates.c: Rebuild.
110 * target.c (target_flash_erase): Unconditionally delegate.
111 * target.h (struct target_ops) <to_flash_erase>: Use
112 TARGET_DEFAULT_NORETURN.
114 2014-02-19 Tom Tromey <tromey@redhat.com>
116 * target-delegates.c: Rebuild.
117 * target.c (target_get_section_table): Unconditionally delegate.
118 * target.h (struct target_ops) <to_get_section_table>: Use
119 TARGET_DEFAULT_RETURN.
121 2014-02-19 Tom Tromey <tromey@redhat.com>
123 * target-delegates.c: Rebuild.
124 * target.c (target_pid_to_str): Unconditionally delegate.
125 (init_dummy_target): Don't initialize to_pid_to_str.
126 (default_pid_to_str): Rename from dummy_pid_to_str.
127 * target.h (struct target_ops) <to_pid_to_str>: Use
130 2014-02-19 Tom Tromey <tromey@redhat.com>
132 * target-delegates.c: Rebuild.
133 * target.c (target_find_new_threads): Unconditionally delegate.
134 * target.h (struct target_ops) <to_find_new_threads>: Use
135 TARGET_DEFAULT_RETURN.
137 2014-02-19 Tom Tromey <tromey@redhat.com>
139 * target-delegates.c: Rebuild.
140 * target.c (target_program_signals): Unconditionally delegate.
141 * target.h (struct target_ops) <to_program_signals>: Use
142 TARGET_DEFAULT_IGNORE.
144 2014-02-19 Tom Tromey <tromey@redhat.com>
146 * target-delegates.c: Rebuild.
147 * target.c (target_pass_signals): Unconditionally delegate.
148 * target.h (struct target_ops) <to_pass_signals>: Use
149 TARGET_DEFAULT_IGNORE.
151 2014-02-19 Tom Tromey <tromey@redhat.com>
153 * target-delegates.c: Rebuild.
154 * target.c (default_mourn_inferior): New function.
155 (target_mourn_inferior): Unconditionally delegate.
156 * target.h (struct target_ops) <to_mourn_inferior>: Use
159 2014-02-19 Tom Tromey <tromey@redhat.com>
161 * target-delegates.c: Rebuild.
162 * target.c (default_follow_fork): New function.
163 (target_follow_fork): Unconditionally delegate.
164 * target.h (struct target_ops) <to_follow_fork>: Use
167 2014-02-19 Tom Tromey <tromey@redhat.com>
169 * target-delegates.c: Rebuild.
170 * target.c (target_kill): Unconditionally delegate.
171 * target.h (struct target_ops) <to_kill>: Use
172 TARGET_DEFAULT_NORETURN.
174 2014-02-19 Tom Tromey <tromey@redhat.com>
176 * target-delegates.c: Rebuild.
177 * target.c (target_masked_watch_num_registers): Unconditionally
179 * target.h (struct target_ops) <to_masked_watch_num_registers>:
180 Use TARGET_DEFAULT_RETURN.
182 2014-02-19 Tom Tromey <tromey@redhat.com>
184 * target-delegates.c: Rebuild.
185 * target.c (target_remove_mask_watchpoint): Unconditionally
187 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
188 TARGET_DEFAULT_RETURN.
190 2014-02-19 Tom Tromey <tromey@redhat.com>
192 * target-delegates.c: Rebuild.
193 * target.c (target_insert_mask_watchpoint): Unconditionally
195 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
196 TARGET_DEFAULT_RETURN.
198 2014-02-19 Tom Tromey <tromey@redhat.com>
200 * target-delegates.c: Rebuild.
201 * target.c (target_ranged_break_num_registers): Unconditionally
203 * target.h (struct target_ops) <to_ranged_break_num_registers>:
204 Use TARGET_DEFAULT_RETURN.
206 2014-02-19 Tom Tromey <tromey@redhat.com>
208 * target-delegates.c: Rebuild.
209 * target.c (target_fetch_registers): Unconditionally delegate.
210 * target.h (struct target_ops) <to_fetch_registers>: Use
211 TARGET_DEFAULT_NORETURN.
213 2014-02-19 Tom Tromey <tromey@redhat.com>
215 * target-delegates.c: Rebuild.
216 * target.c (update_current_target): Don't inherit or default
218 * target.h (struct target_ops) <to_stop>: Use
219 TARGET_DEFAULT_IGNORE.
221 2014-02-19 Tom Tromey <tromey@redhat.com>
223 * target-delegates.c: Rebuild.
224 * target.c (update_current_target): Don't inherit or default
225 to_can_run_breakpoint_commands.
226 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
227 Use TARGET_DEFAULT_RETURN.
229 2014-02-19 Tom Tromey <tromey@redhat.com>
231 * target-delegates.c: Rebuild.
232 * target.c (update_current_target): Don't inherit or default
233 to_supports_evaluation_of_breakpoint_conditions.
234 * target.h (struct target_ops)
235 <to_supports_evaluation_of_breakpoint_conditions>: Use
236 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
242 to_augmented_libraries_svr4_read.
243 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
244 Use TARGET_DEFAULT_RETURN.
246 2014-02-19 Tom Tromey <tromey@redhat.com>
248 * target-delegates.c: Rebuild.
249 * target.c (update_current_target): Don't inherit or default
251 * target.h (struct target_ops) <to_can_use_agent>: Use
252 TARGET_DEFAULT_RETURN.
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_use_agent>: Use
260 TARGET_DEFAULT_NORETURN.
262 2014-02-19 Tom Tromey <tromey@redhat.com>
264 * target-delegates.c: Rebuild.
265 * target.c (update_current_target): Don't inherit or default
267 (return_null): Remove.
268 * target.h (struct target_ops) <to_traceframe_info>: Use
269 TARGET_DEFAULT_RETURN.
271 2014-02-19 Tom Tromey <tromey@redhat.com>
273 * target-delegates.c: Rebuild.
274 * target.c (update_current_target): Don't inherit or default
275 to_static_tracepoint_markers_by_strid.
276 * target.h (struct target_ops)
277 <to_static_tracepoint_markers_by_strid>: Use
278 TARGET_DEFAULT_NORETURN.
280 2014-02-19 Tom Tromey <tromey@redhat.com>
282 * target-delegates.c: Rebuild.
283 * target.c (update_current_target): Don't inherit or default
284 to_static_tracepoint_marker_at.
285 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
286 Use TARGET_DEFAULT_RETURN.
288 2014-02-19 Tom Tromey <tromey@redhat.com>
290 * target-delegates.c: Rebuild.
291 * target.c (update_current_target): Don't inherit or default
293 * target.h (struct target_ops) <to_set_permissions>: Use
294 TARGET_DEFAULT_IGNORE.
296 2014-02-19 Tom Tromey <tromey@redhat.com>
298 * target-delegates.c: Rebuild.
299 * target.c (update_current_target): Don't inherit or default
301 * target.h (struct target_ops) <to_get_tib_address>: Use
302 TARGET_DEFAULT_NORETURN.
304 2014-02-19 Tom Tromey <tromey@redhat.com>
306 * target-delegates.c: Rebuild.
307 * target.c (update_current_target): Don't inherit or default
309 * target.h (struct target_ops) <to_set_trace_notes>: Use
310 TARGET_DEFAULT_RETURN.
312 2014-02-19 Tom Tromey <tromey@redhat.com>
314 * target-delegates.c: Rebuild.
315 * target.c (update_current_target): Don't initialize
316 to_set_trace_buffer_size.
317 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
318 TARGET_DEFAULT_IGNORE.
320 2014-02-19 Tom Tromey <tromey@redhat.com>
322 * target-delegates.c: Rebuild.
323 * target.c (update_current_target): Don't inherit or default
324 to_set_circular_trace_buffer.
325 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
326 TARGET_DEFAULT_IGNORE.
328 2014-02-19 Tom Tromey <tromey@redhat.com>
330 * target-delegates.c: Rebuild.
331 * target.c (update_current_target): Don't inherit or default
332 to_set_disconnected_tracing.
333 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
334 TARGET_DEFAULT_IGNORE.
336 2014-02-19 Tom Tromey <tromey@redhat.com>
338 * target-delegates.c: Rebuild.
339 * target.c (update_current_target): Don't inherit or default
340 to_get_min_fast_tracepoint_insn_len.
341 (return_minus_one): Remove.
342 * target.h (struct target_ops)
343 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
345 2014-02-19 Tom Tromey <tromey@redhat.com>
347 * target-delegates.c: Rebuild.
348 * target.c (update_current_target): Don't inherit or default
349 to_get_raw_trace_data.
350 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
351 TARGET_DEFAULT_NORETURN.
353 2014-02-19 Tom Tromey <tromey@redhat.com>
355 * target-delegates.c: Rebuild.
356 * target.c (update_current_target): Don't inherit or default
357 to_upload_trace_state_variables.
358 * target.h (struct target_ops) <to_upload_trace_state_variables>:
359 Use TARGET_DEFAULT_RETURN.
361 2014-02-19 Tom Tromey <tromey@redhat.com>
363 * target-delegates.c: Rebuild.
364 * target.c (update_current_target): Don't inherit or default
365 to_upload_tracepoints.
366 * target.h (struct target_ops) <to_upload_tracepoints>: Use
367 TARGET_DEFAULT_RETURN.
369 2014-02-19 Tom Tromey <tromey@redhat.com>
371 * target-delegates.c: Rebuild.
372 * target.c (update_current_target): Don't inherit or default
374 * target.h (struct target_ops) <to_save_trace_data>: Use
375 TARGET_DEFAULT_NORETURN.
377 2014-02-19 Tom Tromey <tromey@redhat.com>
379 * target-delegates.c: Rebuild.
380 * target.c (update_current_target): Don't inherit or default
381 to_get_trace_state_variable_value.
382 * target.h (struct target_ops)
383 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
385 2014-02-19 Tom Tromey <tromey@redhat.com>
387 * target-delegates.c: Rebuild.
388 * target.c (update_current_target): Don't inherit or default
390 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
392 2014-02-19 Tom Tromey <tromey@redhat.com>
394 * target-delegates.c: Rebuild.
395 * target.c (update_current_target): Don't inherit or default
397 * target.h (struct target_ops) <to_trace_stop>: Use
398 TARGET_DEFAULT_NORETURN.
400 2014-02-19 Tom Tromey <tromey@redhat.com>
402 * target-delegates.c: Rebuild.
403 * target.c (update_current_target): Don't inherit or default
404 to_get_tracepoint_status.
405 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
406 TARGET_DEFAULT_NORETURN.
408 2014-02-19 Tom Tromey <tromey@redhat.com>
410 * target-delegates.c: Rebuild.
411 * target.c (update_current_target): Don't inherit or default
413 * target.h (struct target_ops) <to_get_trace_status>: Use
414 TARGET_DEFAULT_RETURN.
416 2014-02-19 Tom Tromey <tromey@redhat.com>
418 * target-delegates.c: Rebuild.
419 * target.c (update_current_target): Don't inherit or default
421 * target.h (struct target_ops) <to_trace_start>: Use
422 TARGET_DEFAULT_NORETURN.
424 2014-02-19 Tom Tromey <tromey@redhat.com>
426 * target-delegates.c: Rebuild.
427 * target.c (update_current_target): Don't inherit or default
428 to_trace_set_readonly_regions.
429 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
430 Use TARGET_DEFAULT_NORETURN.
432 2014-02-19 Tom Tromey <tromey@redhat.com>
434 * target-delegates.c: Rebuild.
435 * target.c (update_current_target): Don't inherit or default
436 to_disable_tracepoint.
437 * target.h (struct target_ops) <to_disable_tracepoint>: Use
438 TARGET_DEFAULT_NORETURN.
440 2014-02-19 Tom Tromey <tromey@redhat.com>
442 * target-delegates.c: Rebuild.
443 * target.c (update_current_target): Don't inherit or default
444 to_enable_tracepoint.
445 * target.h (struct target_ops) <to_enable_tracepoint>: Use
446 TARGET_DEFAULT_NORETURN.
448 2014-02-19 Tom Tromey <tromey@redhat.com>
450 * target-delegates.c: Rebuild.
451 * target.c (update_current_target): Don't inherit or default
452 to_download_trace_state_variable.
453 * target.h (struct target_ops) <to_download_trace_state_variable>:
454 Use TARGET_DEFAULT_NORETURN.
456 2014-02-19 Tom Tromey <tromey@redhat.com>
458 * target-delegates.c: Rebuild.
459 * target.c (update_current_target): Don't inherit or default
460 to_can_download_tracepoint.
461 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
462 TARGET_DEFAULT_RETURN.
464 2014-02-19 Tom Tromey <tromey@redhat.com>
466 * target-delegates.c: Rebuild.
467 * target.c (update_current_target): Don't inherit or default
468 to_download_tracepoint.
469 * target.h (struct target_ops) <to_download_tracepoint>: Use
470 TARGET_DEFAULT_NORETURN.
472 2014-02-19 Tom Tromey <tromey@redhat.com>
474 * target-delegates.c: Rebuild.
475 * target.c (update_current_target): Don't inherit or default
477 * target.h (struct target_ops) <to_trace_init>: Use
478 TARGET_DEFAULT_RETURN.
480 2014-02-19 Tom Tromey <tromey@redhat.com>
482 * target-delegates.c: Rebuild.
483 * target.c (update_current_target): Don't inherit or default
484 to_supports_string_tracing.
485 * target.h (struct target_ops) <to_supports_string_tracing>: Use
486 TARGET_DEFAULT_RETURN.
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
492 to_supports_enable_disable_tracepoint.
493 * target.h (struct target_ops)
494 <to_supports_enable_disable_tracepoint>: Use
495 TARGET_DEFAULT_RETURN.
497 2014-02-19 Tom Tromey <tromey@redhat.com>
499 * target-delegates.c: Rebuild.
500 * target.c (update_current_target): Don't inherit or default
501 to_supports_multi_process.
502 * target.h (struct target_ops) <to_supports_multi_process>: Use
503 TARGET_DEFAULT_RETURN.
505 2014-02-19 Tom Tromey <tromey@redhat.com>
507 * target-delegates.c: Rebuild.
508 * target.c (update_current_target): Don't inherit or default
509 to_get_ada_task_ptid.
510 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
513 2014-02-19 Tom Tromey <tromey@redhat.com>
515 * target-delegates.c: Rebuild.
516 * target.c (update_current_target): Don't inherit or default
517 to_thread_architecture.
518 * target.h (struct target_ops) <to_thread_architecture>: Use
521 2014-02-19 Tom Tromey <tromey@redhat.com>
523 * target-delegates.c: Rebuild.
524 * target.c (update_current_target): Don't inherit or default
525 to_execution_direction.
526 * target.h (struct target_ops) <to_execution_direction>: Use
529 2014-02-19 Tom Tromey <tromey@redhat.com>
531 * target-delegates.c: Rebuild.
532 * target.c (update_current_target): Don't inherit or default
533 to_can_execute_reverse.
534 * target.h (struct target_ops) <to_can_execute_reverse>: Use
535 TARGET_DEFAULT_RETURN.
536 (target_can_execute_reverse): Unconditionally delegate.
538 2014-02-19 Tom Tromey <tromey@redhat.com>
540 * target-delegates.c: Rebuild.
541 * target.c (update_current_target): Don't inherit or default
543 (dummy_goto_bookmark): Remove.
544 (init_dummy_target): Don't inherit or default to_goto_bookmark.
545 * target.h (struct target_ops) <to_goto_bookmark>: Use
546 TARGET_DEFAULT_NORETURN.
548 2014-02-19 Tom Tromey <tromey@redhat.com>
550 * target-delegates.c: Rebuild.
551 * target.c (update_current_target): Don't inherit or default
553 (dummy_get_bookmark): Remove.
554 (init_dummy_target): Don't inherit or default to_get_bookmark.
555 * target.h (struct target_ops) <to_get_bookmark>: Use
556 TARGET_DEFAULT_NORETURN
558 2014-02-19 Tom Tromey <tromey@redhat.com>
560 * target-delegates.c: Rebuild.
561 * target.c (update_current_target): Don't inherit or default
562 to_make_corefile_notes.
563 (init_dummy_target): Don't initialize to_make_corefile_notes.
564 * target.h (struct target_ops) <to_make_corefile_notes>: Use
567 2014-02-19 Tom Tromey <tromey@redhat.com>
569 * target-delegates.c: Rebuild.
570 * target.c (update_current_target): Don't inherit or default
571 to_find_memory_regions.
572 (init_dummy_target): Don't initialize to_find_memory_regions.
573 * target.h (struct target_ops) <to_find_memory_regions>: Use
576 2014-02-19 Tom Tromey <tromey@redhat.com>
578 * target-delegates.c: Rebuild.
579 * target.c (update_current_target): Don't inherit or default
581 * target.h (struct target_ops) <to_log_command>: Use
582 TARGET_DEFAULT_IGNORE.
583 (target_log_command): Unconditionally delegate.
585 2014-02-19 Tom Tromey <tromey@redhat.com>
587 * target-delegates.c: Rebuild.
588 * target.c (update_current_target): Don't inherit or default
590 * target.h (struct target_ops) <to_pid_to_exec_file>: 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
598 (target_thread_name): Unconditionally delegate.
599 * target.h (struct target_ops) <to_thread_name>: Use
600 TARGET_DEFAULT_RETURN.
602 2014-02-19 Tom Tromey <tromey@redhat.com>
604 * target-delegates.c: Rebuild.
605 * target.c (update_current_target): Don't inherit or default
606 to_extra_thread_info.
607 * target.h (struct target_ops) <to_extra_thread_info>: Use
608 TARGET_DEFAULT_RETURN.
610 2014-02-19 Tom Tromey <tromey@redhat.com>
612 * target-delegates.c: Rebuild.
613 * target.c (update_current_target): Don't inherit or default
615 * target.h (struct target_ops) <to_has_exited>: Use
616 TARGET_DEFAULT_RETURN..
618 2014-02-19 Tom Tromey <tromey@redhat.com>
620 * target-delegates.c: Rebuild.
621 * target.c (update_current_target): Don't inherit or default
622 to_set_syscall_catchpoint.
623 (return_one): Remove.
624 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
625 TARGET_DEFAULT_RETURN.
627 2014-02-19 Tom Tromey <tromey@redhat.com>
629 * target-delegates.c: Rebuild.
630 * target.c (update_current_target): Don't inherit or default
631 to_insert_exec_catchpoint.
632 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
633 TARGET_DEFAULT_RETURN.
635 2014-01-08 Tom Tromey <tromey@redhat.com>
637 * target-delegates.c: Rebuild.
638 * target.c (update_current_target): Don't inherit or default
639 to_insert_exec_catchpoint.
640 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
641 TARGET_DEFAULT_RETURN.
643 2014-02-19 Tom Tromey <tromey@redhat.com>
645 * target-delegates.c: Rebuild.
646 * target.c (update_current_target): Don't inherit or default
647 to_remove_vfork_catchpoint.
648 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
649 TARGET_DEFAULT_RETURN.
651 2014-02-19 Tom Tromey <tromey@redhat.com>
653 * target-delegates.c: Rebuild.
654 * target.c (update_current_target): Don't inherit or default
655 to_insert_vfork_catchpoint.
656 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
657 TARGET_DEFAULT_RETURN.
659 2014-02-19 Tom Tromey <tromey@redhat.com>
661 * target-delegates.c: Rebuild.
662 * target.c (update_current_target): Don't inherit or default
663 to_remove_fork_catchpoint.
664 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
665 TARGET_DEFAULT_RETURN.
667 2014-02-19 Tom Tromey <tromey@redhat.com>
669 * target-delegates.c: Rebuild.
670 * target.c (update_current_target): Don't inherit or default
671 to_insert_fork_catchpoint.
672 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
673 TARGET_DEFAULT_RETURN.
675 2014-02-19 Tom Tromey <tromey@redhat.com>
677 * target-delegates.c: Rebuild.
678 * target.c (update_current_target): Don't inherit or default
679 to_post_startup_inferior.
680 * target.h (struct target_ops) <to_post_startup_inferior>: Use
681 TARGET_DEFAULT_IGNORE.
683 2014-02-19 Tom Tromey <tromey@redhat.com>
685 * target-delegates.c: Rebuild.
686 * target.c (update_current_target): Don't inherit or default
688 * target.h (struct target_ops) <to_load>: Use
689 TARGET_DEFAULT_NORETURN.
691 2014-02-19 Tom Tromey <tromey@redhat.com>
693 * target-delegates.c: Rebuild.
694 * target.c (update_current_target): Don't inherit or default
696 * target.h (struct target_ops) <to_terminal_info>: Use
699 2014-02-19 Tom Tromey <tromey@redhat.com>
701 * target-delegates.c: Rebuild.
702 * target.c (update_current_target): Don't inherit or default
703 to_terminal_save_ours.
704 * target.h (struct target_ops) <to_terminal_save_ours>: Use
705 TARGET_DEFAULT_IGNORE.
707 2014-02-19 Tom Tromey <tromey@redhat.com>
709 * target-delegates.c: Rebuild.
710 * target.c (update_current_target): Don't inherit or default
712 * target.h (struct target_ops) <to_terminal_ours>: Use
713 TARGET_DEFAULT_IGNORE.
715 2014-02-19 Tom Tromey <tromey@redhat.com>
717 * target-delegates.c: Rebuild.
718 * target.c (update_current_target): Don't inherit or default
719 to_terminal_ours_for_output.
720 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
721 TARGET_DEFAULT_IGNORE.
723 2014-02-19 Tom Tromey <tromey@redhat.com>
725 * target-delegates.c: Rebuild.
726 * target.c (update_current_target): Don't inherit or default
727 to_terminal_inferior.
728 * target.h (struct target_ops) <to_terminal_inferior>: Use
729 TARGET_DEFAULT_IGNORE.
731 2014-02-19 Tom Tromey <tromey@redhat.com>
733 * target-delegates.c: Rebuild.
734 * target.c (update_current_target): Don't inherit or default
736 * target.h (struct target_ops) <to_terminal_init>: Use
737 TARGET_DEFAULT_IGNORE.
739 2014-02-19 Tom Tromey <tromey@redhat.com>
741 * target-delegates.c: Rebuild.
742 * target.c (update_current_target): Don't inherit or default
743 to_can_accel_watchpoint_condition.
744 * target.h (struct target_ops)
745 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
747 2014-02-19 Tom Tromey <tromey@redhat.com>
749 * target-delegates.c: Rebuild.
750 * target.c (update_current_target): Don't inherit or default
751 to_region_ok_for_hw_watchpoint.
752 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
753 Use TARGET_DEFAULT_FUNC.
755 2014-02-19 Tom Tromey <tromey@redhat.com>
757 * target-delegates.c: Rebuild.
758 * target.c (update_current_target): Don't inherit or default
759 to_watchpoint_addr_within_range.
760 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
761 Use TARGET_DEFAULT_FUNC.
763 2014-02-19 Tom Tromey <tromey@redhat.com>
765 * target-delegates.c: Rebuild.
766 * target.c (update_current_target): Don't inherit or default
767 to_remove_watchpoint.
768 * target.h (struct target_ops) <to_remove_watchpoint>: Use
769 TARGET_DEFAULT_NORETURN.
771 2014-02-19 Tom Tromey <tromey@redhat.com>
773 * target-delegates.c: Rebuild.
774 * target.c (update_current_target): Don't inherit or default
775 to_insert_watchpoint.
776 * target.h (struct target_ops) <to_insert_watchpoint>: Use
777 TARGET_DEFAULT_RETURN.
779 2014-02-19 Tom Tromey <tromey@redhat.com>
781 * target-delegates.c: Rebuild.
782 * target.c (update_current_target): Don't inherit or default
783 to_remove_hw_breakpoint.
784 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
785 TARGET_DEFAULT_RETURN.
787 2014-02-19 Tom Tromey <tromey@redhat.com>
789 * target-delegates.c: Rebuild.
790 * target.c (update_current_target): Don't inherit or default
791 to_insert_hw_breakpoint.
792 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
793 TARGET_DEFAULT_RETURN.
795 2014-02-19 Tom Tromey <tromey@redhat.com>
797 * target-delegates.c: Rebuild.
798 * target.c (update_current_target): Don't inherit or default
799 to_can_use_hw_breakpoint.
800 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
801 TARGET_DEFAULT_RETURN.
803 2014-02-19 Tom Tromey <tromey@redhat.com>
805 * target-delegates.c: Rebuild.
806 * target.c (update_current_target): Don't inherit or default
808 * target.h (struct target_ops) <to_files_info>: Use
809 TARGET_DEFAULT_IGNORE.
811 2014-02-19 Tom Tromey <tromey@redhat.com>
813 * target-delegates.c: Rebuild.
814 * target.c (update_current_target): Don't inherit or default
816 * target.h (struct target_ops) <to_store>: Use
817 TARGET_DEFAULT_NORETURN.
819 2014-02-19 Tom Tromey <tromey@redhat.com>
821 * target-delegates.c: Rebuild.
822 * target.c (update_current_target): Don't inherit or default
824 * target.h (struct target_ops) <to_post_attach>: Use
825 TARGET_DEFAULT_IGNORE.
827 2014-02-19 Tom Tromey <tromey@redhat.com>
829 * target-delegates.c: Rebuild.
830 * target.c (update_current_target): Don't inherit or default
832 (default_rcmd): New function.
833 (do_monitor_command): Unconditionally delegate.
834 * target.h (struct target_ops) <to_rmcd>: Use
837 2014-02-19 Tom Tromey <tromey@redhat.com>
839 * target-delegates.c: Rebuild.
840 * target.c (init_dummy_target): Don't initialize to_attach.
841 (target_attach): Unconditionally delegate.
842 * target.h (struct target_ops) <to_attach>: Use
845 2014-02-19 Tom Tromey <tromey@redhat.com>
847 * target-delegates.c: Rebuild.
848 * target.c (target_detach): Unconditionally delegate.
849 (init_dummy_target): Don't initialize to_detach.
850 * target.h (struct target_ops) <to_detach>: Use
851 TARGET_DEFAULT_IGNORE.
853 2014-02-19 Tom Tromey <tromey@redhat.com>
855 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
857 (target_augmented_libraries_svr4_read): Add argument.
858 * target.c (update_current_target): Update.
859 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
862 2014-02-19 Tom Tromey <tromey@redhat.com>
864 * target.h (struct target_ops) <to_call_history_range>: Add
866 * target.c (target_call_history_range): Add argument.
867 * record-btrace.c (record_btrace_call_history_range): Add 'self'
869 (record_btrace_call_history_from): Update.
871 2014-02-19 Tom Tromey <tromey@redhat.com>
873 * target.h (struct target_ops) <to_call_history_from>: Add
875 * target.c (target_call_history_from): Add argument.
876 * record-btrace.c (record_btrace_call_history_from): Add 'self'
879 2014-02-19 Tom Tromey <tromey@redhat.com>
881 * target.h (struct target_ops) <to_call_history>: Add argument.
882 * target.c (target_call_history): Add argument.
883 * record-btrace.c (record_btrace_call_history): Add 'self'
886 2014-02-19 Tom Tromey <tromey@redhat.com>
888 * target.h (struct target_ops) <to_insn_history_range>: Add
890 * target.c (target_insn_history_range): Add argument.
891 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
893 (record_btrace_insn_history_from): Update.
895 2014-02-19 Tom Tromey <tromey@redhat.com>
897 * target.h (struct target_ops) <to_insn_history_from>: Add
899 * target.c (target_insn_history_from): Add argument.
900 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
903 2014-02-19 Tom Tromey <tromey@redhat.com>
905 * target.h (struct target_ops) <to_insn_history>: Add argument.
906 * target.c (target_insn_history): Add argument.
907 * record-btrace.c (record_btrace_insn_history): Add 'self'
910 2014-02-19 Tom Tromey <tromey@redhat.com>
912 * target.h (struct target_ops) <to_goto_record>: Add argument.
913 * target.c (target_goto_record): Add argument.
914 * record-full.c (record_full_goto): Add 'self' argument.
915 * record-btrace.c (record_btrace_goto): Add 'self' argument.
917 2014-02-19 Tom Tromey <tromey@redhat.com>
919 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
920 * target.c (target_goto_record_end): Add argument.
921 * record-full.c (record_full_goto_end): Add 'self' argument.
922 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
924 2014-02-19 Tom Tromey <tromey@redhat.com>
926 * target.h (struct target_ops) <to_goto_record_begin>: Add
928 * target.c (target_goto_record_begin): Add argument.
929 * record-full.c (record_full_goto_begin): Add 'self' argument.
930 * record-btrace.c (record_btrace_goto_begin): Add 'self'
933 2014-02-19 Tom Tromey <tromey@redhat.com>
935 * target.h (struct target_ops) <to_record_is_replaying>: Add
937 * target.c (target_record_is_replaying): Add argument.
938 * record-full.c (record_full_is_replaying): Add 'self' argument.
939 * record-btrace.c (record_btrace_is_replaying): Add 'self'
941 (record_btrace_xfer_partial, record_btrace_store_registers)
942 (record_btrace_prepare_to_store, record_btrace_resume)
943 (record_btrace_wait, record_btrace_decr_pc_after_break)
944 (record_btrace_find_new_threads, record_btrace_thread_alive):
947 2014-02-19 Tom Tromey <tromey@redhat.com>
949 * target.h (struct target_ops) <to_delete_record>: Add argument.
950 * target.c (target_delete_record): Add argument.
951 * record-full.c (record_full_delete): Add 'self' argument.
953 2014-02-19 Tom Tromey <tromey@redhat.com>
955 * target.h (struct target_ops) <to_save_record>: Add argument.
956 * target.c (target_save_record): Add argument.
957 * record-full.c (record_full_save): Add 'self' argument.
958 (record_full_save): Add 'self' argument.
960 2014-02-19 Tom Tromey <tromey@redhat.com>
962 * target.h (struct target_ops) <to_info_record>: Add argument.
963 * target.c (target_info_record): Add argument.
964 * record.c (info_record_command): Add argument.
965 * record-full.c (record_full_info): Add 'self' argument.
966 * record-btrace.c (record_btrace_info): Add 'self' argument.
968 2014-02-19 Tom Tromey <tromey@redhat.com>
970 * target.h (struct target_ops) <to_stop_recording>: Add argument.
971 * target.c (target_stop_recording): Add argument.
972 * record.c (record_stop): Add argument.
973 * record-btrace.c (record_btrace_stop_recording): Add 'self'
976 2014-02-19 Tom Tromey <tromey@redhat.com>
978 * target.h (struct target_ops) <to_read_btrace>: Add argument.
979 * target.c (struct target_ops) <to_read_btrace>: Add argument.
980 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
982 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
983 (_initialize_amd64_linux_nat): Use it.
984 * i386-linux-nat.c (i386_linux_read_btrace): New function.
985 (_initialize_i386_linux_nat): Use it.
987 2014-02-19 Tom Tromey <tromey@redhat.com>
989 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
990 * target.c (target_teardown_btrace): Add argument.
991 * remote.c (remote_teardown_btrace): Add 'self' argument.
992 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
994 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
997 2014-02-19 Tom Tromey <tromey@redhat.com>
999 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
1000 * target.c (target_disable_btrace): Add argument.
1001 * remote.c (remote_disable_btrace): Add 'self' argument.
1002 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
1004 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
1007 2014-02-19 Tom Tromey <tromey@redhat.com>
1009 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
1010 * target.c (target_enable_btrace): Add argument.
1011 * remote.c (remote_enable_btrace): Add 'self' argument.
1012 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
1014 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
1017 2014-02-19 Tom Tromey <tromey@redhat.com>
1019 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
1020 (target_can_use_agent): Add argument.
1021 * target.c (update_current_target): Update.
1022 * remote.c (remote_can_use_agent): Add 'self' argument.
1023 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
1025 2014-02-19 Tom Tromey <tromey@redhat.com>
1027 * target.h (struct target_ops) <to_use_agent>: Add argument.
1028 (target_use_agent): Add argument.
1029 * target.c (update_current_target): Update.
1030 * remote.c (remote_use_agent): Add 'self' argument.
1031 * inf-child.c (inf_child_use_agent): Add 'self' argument.
1033 2014-02-19 Tom Tromey <tromey@redhat.com>
1035 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
1036 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
1037 (target_traceframe_info): Add argument.
1038 * target.c (update_current_target): Update.
1039 * remote.c (remote_traceframe_info): Add 'self' argument.
1040 * ctf.c (ctf_traceframe_info): Add 'self' argument.
1042 2014-02-19 Tom Tromey <tromey@redhat.com>
1044 * target.h (target_static_tracepoint_markers_by_strid): Add
1046 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
1048 * target.c (update_current_target): Update.
1049 * remote.c (struct target_ops)
1050 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1051 * linux-nat.c (struct target_ops)
1052 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1054 2014-02-19 Tom Tromey <tromey@redhat.com>
1056 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1058 (target_static_tracepoint_marker_at): Add argument.
1059 * target.c (update_current_target): Update.
1060 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
1063 2014-02-19 Tom Tromey <tromey@redhat.com>
1065 * target.h (struct target_ops) <to_set_permissions>: Add argument.
1066 (target_set_permissions): Add argument.
1067 * target.c (update_current_target): Update.
1068 * remote.c (remote_set_permissions): Add 'self' argument.
1069 (remote_start_remote): Update.
1071 2014-02-19 Tom Tromey <tromey@redhat.com>
1073 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
1074 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
1075 (target_get_tib_address): Add argument.
1076 * target.c (update_current_target): Update.
1077 * remote.c (remote_get_tib_address): Add 'self' argument.
1079 2014-02-19 Tom Tromey <tromey@redhat.com>
1081 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
1082 (target_set_trace_notes): Add argument.
1083 * target.c (update_current_target): Update.
1084 * remote.c (remote_set_trace_notes): Add 'self' argument.
1086 2014-02-19 Tom Tromey <tromey@redhat.com>
1088 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
1090 (target_set_trace_buffer_size): Add argument.
1091 * target.c (update_current_target): Update.
1092 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
1094 2014-02-19 Tom Tromey <tromey@redhat.com>
1096 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
1098 (target_set_circular_trace_buffer): Add argument.
1099 * target.c (update_current_target): Update.
1100 * remote.c (remote_set_circular_trace_buffer): Add 'self'
1103 2014-02-19 Tom Tromey <tromey@redhat.com>
1105 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
1107 (target_set_disconnected_tracing): Add argument.
1108 * target.c (update_current_target): Update.
1109 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
1111 2014-02-19 Tom Tromey <tromey@redhat.com>
1113 * target.h (struct target_ops)
1114 <to_get_min_fast_tracepoint_insn_len>: Add argument.
1115 (target_get_min_fast_tracepoint_insn_len): Add argument.
1116 * target.c (update_current_target): Update.
1117 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
1120 2014-02-19 Tom Tromey <tromey@redhat.com>
1122 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
1124 (target_get_raw_trace_data): Add argument.
1125 * target.c (update_current_target): Update.
1126 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
1128 2014-02-19 Tom Tromey <tromey@redhat.com>
1130 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1132 (target_upload_trace_state_variables): Add argument.
1133 * target.c (update_current_target): Update.
1134 * remote.c (remote_upload_trace_state_variables): Add 'self'
1136 (remote_start_remote): Update.
1138 2014-02-19 Tom Tromey <tromey@redhat.com>
1140 * target.h (struct target_ops) <to_upload_tracepoints>: Add
1142 (target_upload_tracepoints): Add argument.
1143 * target.c (update_current_target): Update.
1144 * remote.c (remote_upload_tracepoints): Add 'self' argument.
1145 (remote_start_remote): Update.
1147 2014-02-19 Tom Tromey <tromey@redhat.com>
1149 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
1150 (target_save_trace_data): Add argument.
1151 * target.c (update_current_target): Update.
1152 * remote.c (remote_save_trace_data): Add 'self' argument.
1154 2014-02-19 Tom Tromey <tromey@redhat.com>
1156 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
1158 * target.h (struct target_ops)
1159 <to_get_trace_state_variable_value>: Add argument.
1160 (target_get_trace_state_variable_value): Add argument.
1161 * target.c (update_current_target): Update.
1162 * remote.c (remote_get_trace_state_variable_value): Add 'self'
1164 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
1166 2014-02-19 Tom Tromey <tromey@redhat.com>
1168 * tracepoint.c (tfile_trace_find): Add 'self' argument.
1169 * target.h (struct target_ops) <to_trace_find>: Add argument.
1170 (target_trace_find): Add argument.
1171 * target.c (update_current_target): Update.
1172 * remote.c (remote_trace_find): Add 'self' argument.
1173 * ctf.c (ctf_trace_find): Add 'self' argument.
1175 2014-02-19 Tom Tromey <tromey@redhat.com>
1177 * target.h (struct target_ops) <to_trace_stop>: Add argument.
1178 (target_trace_stop): Add argument.
1179 * target.c (update_current_target): Update.
1180 * remote.c (remote_trace_stop): Add 'self' argument.
1182 2014-02-19 Tom Tromey <tromey@redhat.com>
1184 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
1185 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
1187 (target_get_tracepoint_status): Add argument.
1188 * target.c (update_current_target): Update.
1189 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
1191 2014-02-19 Tom Tromey <tromey@redhat.com>
1193 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
1194 * target.h (struct target_ops) <to_get_trace_status>: Add
1196 (target_get_trace_status): Add argument.
1197 * target.c (update_current_target): Update.
1198 * remote.c (remote_get_trace_status): Add 'self' argument.
1199 (remote_start_remote, remote_can_download_tracepoint): Update.
1200 * ctf.c (ctf_get_trace_status): Add 'self' argument.
1202 2014-02-19 Tom Tromey <tromey@redhat.com>
1204 * target.h (struct target_ops) <to_trace_start>: Add argument.
1205 (target_trace_start): Add argument.
1206 * target.c (update_current_target): Update.
1207 * remote.c (remote_trace_start): Add 'self' argument.
1209 2014-02-19 Tom Tromey <tromey@redhat.com>
1211 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1213 (target_trace_set_readonly_regions): Add argument.
1214 * target.c (update_current_target): Update.
1215 * remote.c (remote_trace_set_readonly_regions): Add 'self'
1218 2014-02-19 Tom Tromey <tromey@redhat.com>
1220 * target.h (struct target_ops) <to_disable_tracepoint>: Add
1222 (target_disable_tracepoint): Add argument.
1223 * target.c (update_current_target): Update.
1224 * remote.c (remote_disable_tracepoint): Add 'self' argument.
1226 2014-02-19 Tom Tromey <tromey@redhat.com>
1228 * target.h (struct target_ops) <to_enable_tracepoint>: Add
1230 (target_enable_tracepoint): Add argument.
1231 * target.c (update_current_target): Update.
1232 * remote.c (remote_enable_tracepoint): Add 'self' argument.
1234 2014-02-19 Tom Tromey <tromey@redhat.com>
1236 * target.h (struct target_ops) <to_download_trace_state_variable>:
1238 (target_download_trace_state_variable): Add argument.
1239 * target.c (update_current_target): Update.
1240 * remote.c (remote_download_trace_state_variable): Add 'self'
1243 2014-02-19 Tom Tromey <tromey@redhat.com>
1245 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
1247 (target_can_download_tracepoint): Add argument.
1248 * target.c (update_current_target): Update.
1249 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
1251 2014-02-19 Tom Tromey <tromey@redhat.com>
1253 * target.h (struct target_ops) <to_download_tracepoint>: Add
1255 (target_download_tracepoint): Add argument.
1256 * target.c (update_current_target): Update.
1257 * remote.c (remote_download_tracepoint): Add 'self' argument.
1259 2014-02-19 Tom Tromey <tromey@redhat.com>
1261 * target.h (struct target_ops) <to_trace_init>: Add argument.
1262 (target_trace_init): Add argument.
1263 * target.c (update_current_target): Update.
1264 * remote.c (remote_trace_init): Add 'self' argument.
1266 2014-02-19 Tom Tromey <tromey@redhat.com>
1268 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1269 * target.c (target_fileio_readlink): Add argument.
1270 * remote.c (remote_hostio_readlink): Add 'self' argument.
1271 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1273 2014-02-19 Tom Tromey <tromey@redhat.com>
1275 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1276 * target.c (target_fileio_unlink): Add argument.
1277 * remote.c (remote_hostio_unlink): Add 'self' argument.
1278 (remote_file_delete): Update.
1279 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1281 2014-02-19 Tom Tromey <tromey@redhat.com>
1283 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1284 * target.c (target_fileio_close): Add argument.
1285 * remote.c (remote_hostio_close): Add 'self' argument.
1286 (remote_hostio_close_cleanup): Update.
1287 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1289 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1291 2014-02-19 Tom Tromey <tromey@redhat.com>
1293 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1294 * target.c (target_fileio_pread): Add argument.
1295 * remote.c (remote_hostio_pread): Add 'self' argument.
1296 (remote_bfd_iovec_pread, remote_file_get): Update.
1297 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1299 2014-02-19 Tom Tromey <tromey@redhat.com>
1301 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1302 * target.c (target_fileio_pwrite): Add argument.
1303 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1304 (remote_file_put): Update.
1305 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1307 2014-02-19 Tom Tromey <tromey@redhat.com>
1309 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1310 * target.c (target_fileio_open): Add argument.
1311 * remote.c (remote_hostio_open): Add 'self' argument.
1312 (remote_bfd_iovec_open): Add 'self' argument.
1313 (remote_file_put): Add 'self' argument.
1314 (remote_file_get): Add 'self' argument.
1315 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1317 2014-02-19 Tom Tromey <tromey@redhat.com>
1319 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1321 (target_can_run_breakpoint_commands): Add argument.
1322 * target.c (update_current_target): Update.
1323 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1325 (remote_insert_breakpoint): Add 'self' argument.
1326 (remote_insert_hw_breakpoint): Add 'self' argument.
1327 (remote_can_run_breakpoint_commands): Add 'self' argument.
1329 2014-02-19 Tom Tromey <tromey@redhat.com>
1331 * target.h (struct target_ops)
1332 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1333 (target_supports_evaluation_of_breakpoint_conditions): Add
1335 * target.c (update_current_target): Update.
1336 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1338 (remote_insert_breakpoint): Add 'self' argument.
1339 (remote_insert_hw_breakpoint): Add 'self' argument.
1340 (remote_supports_cond_breakpoints): Add 'self' argument.
1342 2014-02-19 Tom Tromey <tromey@redhat.com>
1344 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1346 (target_supports_string_tracing): Add argument.
1347 * target.c (update_current_target): Update.
1348 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1350 2014-02-19 Tom Tromey <tromey@redhat.com>
1352 * target.h (struct target_ops)
1353 <to_supports_disable_randomization>: Add argument.
1354 * target.c (find_default_supports_disable_randomization): Add
1356 (target_supports_disable_randomization): Add argument.
1357 (find_default_supports_disable_randomization): Add 'self'
1359 * remote.c (extended_remote_supports_disable_randomization): Add
1361 (remote_supports_disable_randomization): Add 'self' argument.
1362 (extended_remote_create_inferior): Update.
1363 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1366 2014-02-19 Tom Tromey <tromey@redhat.com>
1368 * target.h (struct target_ops)
1369 <to_supports_enable_disable_tracepoint>: Add argument.
1370 (target_supports_enable_disable_tracepoint): Add argument.
1371 * target.c (update_current_target): Update.
1372 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1375 2014-02-19 Tom Tromey <tromey@redhat.com>
1377 * target.h (struct target_ops) <to_supports_multi_process>: Add
1379 (target_supports_multi_process): Add argument.
1380 * target.c (update_current_target): Update.
1381 * remote.c (remote_supports_multi_process): Add 'self' argument.
1382 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1384 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1387 2014-02-19 Tom Tromey <tromey@redhat.com>
1389 * target.h (struct target_ops) <to_execution_direction>: Add
1391 (target_execution_direction): Add argument.
1392 * target.c (default_execution_direction): Add 'self' argument.
1393 * record-full.c (record_full_execution_direction): Add 'self'
1396 2014-02-19 Tom Tromey <tromey@redhat.com>
1398 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1400 (target_can_execute_reverse): Add argument.
1401 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1402 * record-full.c (record_full_can_execute_reverse): Add 'self'
1404 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1407 2014-02-19 Tom Tromey <tromey@redhat.com>
1409 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1410 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1412 (target_get_ada_task_ptid): Add argument.
1413 * target.c (update_current_target): Update.
1414 (default_get_ada_task_ptid): Add 'self' argument.
1415 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1416 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1417 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1419 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1421 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1423 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1425 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1426 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1429 2014-02-19 Tom Tromey <tromey@redhat.com>
1431 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1432 (target_goto_bookmark): Add argument.
1433 * target.c (dummy_goto_bookmark): Add 'self' argument.
1434 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1436 2014-02-19 Tom Tromey <tromey@redhat.com>
1438 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1439 (target_get_bookmark): Add argument.
1440 * target.c (dummy_get_bookmark): Add 'self' argument.
1441 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1443 2014-02-19 Tom Tromey <tromey@redhat.com>
1445 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1447 (target_make_corefile_notes): Add argument.
1448 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1449 * procfs.c (procfs_make_note_section): Add 'self' argument.
1450 (procfs_make_note_section): Add 'self' argument.
1451 (procfs_make_note_section): Add 'self' argument.
1452 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1454 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1455 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1456 * exec.c (exec_make_note_section): Add 'self' argument.
1457 (exec_make_note_section): Add 'self' argument.
1459 2014-02-19 Tom Tromey <tromey@redhat.com>
1461 * target.h (struct target_ops) <to_find_memory_regions>: Add
1463 (target_find_memory_regions): Add argument.
1464 * target.c (dummy_find_memory_regions): Add 'self' argument.
1465 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1466 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1467 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1468 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1469 * exec. (exec_do_find_memory_regions): New global.
1470 (exec_set_find_memory_regions): Rewrite.
1471 (exec_find_memory_regions): New function.
1472 (init_exec_ops): Use exec_find_memory_regions.
1474 2014-02-19 Tom Tromey <tromey@redhat.com>
1476 * target.h (struct target_ops) <to_supports_non_stop>: Add
1478 * target.c (find_default_supports_non_stop): Add argument.
1479 (target_supports_non_stop): Add argument.
1480 (find_default_supports_non_stop): Add 'self' argument.
1481 * remote.c (remote_supports_non_stop): Add 'self' argument.
1482 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1484 2014-02-19 Tom Tromey <tromey@redhat.com>
1486 * target.h (struct target_ops) <to_log_command>: Add argument.
1487 (target_log_command): Add argument.
1488 * serial.h (serial_log_command): Add 'self' argument.
1489 * serial.c (serial_log_command): Add 'self' argument.
1491 2014-02-19 Tom Tromey <tromey@redhat.com>
1493 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1494 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1496 (target_pid_to_exec_file): Add argument.
1497 * target.c (debug_to_pid_to_exec_file): Add argument.
1498 (update_current_target): Update.
1499 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1500 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1501 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1502 (linux_handle_extended_wait): Update.
1503 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1504 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1505 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1506 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1508 2014-02-19 Tom Tromey <tromey@redhat.com>
1510 * target.h (struct target_ops) <to_rcmd>: Add argument.
1511 (target_rcmd): Add argument.
1512 * target.c (debug_to_rcmd): Add argument.
1513 (update_current_target, do_monitor_command): Update.
1514 * remote.c (remote_rcmd): Add 'self' argument.
1515 * monitor.c (monitor_rcmd): Add 'self' argument.
1517 2014-02-19 Tom Tromey <tromey@redhat.com>
1519 * windows-nat.c (windows_stop): Add 'self' argument.
1520 * target.h (struct target_ops) <to_stop>: Add argument.
1521 * target.c (target_stop): Add argument.
1522 (debug_to_stop): Add argument.
1523 (update_current_target): Update.
1524 * remote.c (remote_stop): Add 'self' argument.
1525 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1526 (gdbsim_cntrl_c): Update.
1527 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1528 * procfs.c (procfs_stop): Add 'self' argument.
1529 * nto-procfs.c (procfs_stop): Add 'self' argument.
1530 * monitor.c (monitor_stop): Add 'self' argument.
1531 (monitor_open): Update.
1532 * linux-nat.c (linux_nat_stop): Add argument.
1533 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1534 * gnu-nat.c (gnu_stop): Add 'self' argument.
1535 * darwin-nat.c (darwin_stop): Add 'self' argument.
1537 2014-02-19 Tom Tromey <tromey@redhat.com>
1539 * target.h (struct target_ops) <to_thread_name>: Add argument.
1540 * target.c (target_thread_name): Add argument.
1541 (update_current_target): Update.
1542 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
1544 2014-02-19 Tom Tromey <tromey@redhat.com>
1546 * target.h (struct target_ops) <to_extra_thread_info>: Add
1548 (target_extra_thread_info): Add argument.
1549 * target.c (update_current_target): Update.
1550 * remote.c (remote_threads_extra_info): Add 'self' argument.
1551 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
1553 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
1554 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
1555 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
1557 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
1559 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
1561 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
1564 2014-02-19 Tom Tromey <tromey@redhat.com>
1566 * target.h (struct target_ops) <to_program_signals>: Add argument.
1567 * target.c (target_program_signals): Add argument.
1568 * remote.c (remote_program_signals): Add 'self' argument.
1570 2014-02-19 Tom Tromey <tromey@redhat.com>
1572 * target.h (struct target_ops) <to_pass_signals>: Add argument.
1573 * target.c (target_pass_signals): Add argument.
1574 * remote.c (remote_pass_signals): Add 'self' argument.
1575 (remote_start_remote): Update.
1576 * procfs.c (procfs_pass_signals): Add 'self' argument.
1577 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
1578 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
1579 (linux_nat_create_inferior, linux_nat_attach): Update.
1581 2014-02-19 Tom Tromey <tromey@redhat.com>
1583 * windows-nat.c (windows_can_run): Add 'self' argument.
1584 * target.h (struct target_ops) <to_can_run>: Add argument.
1585 (target_can_run): Add argument.
1586 * target.c (debug_to_can_run): Add argument.
1587 (update_current_target): Update.
1588 * nto-procfs.c (procfs_can_run): Add 'self' argument.
1589 * inf-child.c (inf_child_can_run): Add 'self' argument.
1590 * go32-nat.c (go32_can_run): Add 'self' argument.
1592 2014-02-19 Tom Tromey <tromey@redhat.com>
1594 * target.h (struct target_ops) <to_has_exited>: Add argument.
1595 (target_has_exited): Add argument.
1596 * target.c (debug_to_has_exited): Add argument.
1597 (update_current_target): Update.
1599 2014-02-19 Tom Tromey <tromey@redhat.com>
1601 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
1603 (target_set_syscall_catchpoint): Add argument.
1604 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
1606 * target.c (update_current_target): Update.
1608 2014-02-19 Tom Tromey <tromey@redhat.com>
1610 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
1612 (target_remove_exec_catchpoint): Add argument.
1613 * target.c (debug_to_remove_exec_catchpoint): Add argument.
1614 (update_current_target): Update.
1615 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
1618 2014-02-19 Tom Tromey <tromey@redhat.com>
1620 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
1622 (target_insert_exec_catchpoint): Add argument.
1623 * target.c (debug_to_insert_exec_catchpoint): Add argument.
1624 (update_current_target): Update.
1625 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
1628 2014-02-19 Tom Tromey <tromey@redhat.com>
1630 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
1632 (target_remove_vfork_catchpoint): Add argument.
1633 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
1634 (update_current_target): Update.
1635 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
1638 2014-02-19 Tom Tromey <tromey@redhat.com>
1640 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
1642 (target_insert_vfork_catchpoint): Add argument.
1643 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
1644 (update_current_target): Update.
1645 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
1648 2014-02-19 Tom Tromey <tromey@redhat.com>
1650 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
1652 (target_remove_fork_catchpoint): Add argument.
1653 * target.c (debug_to_remove_fork_catchpoint): Add argument.
1654 (update_current_target): Update.
1655 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
1658 2014-02-19 Tom Tromey <tromey@redhat.com>
1660 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
1662 (target_insert_fork_catchpoint): Add argument.
1663 * target.c (debug_to_insert_fork_catchpoint): Add argument.
1664 (update_current_target): Update.
1665 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
1668 2014-02-19 Tom Tromey <tromey@redhat.com>
1670 * target.h (struct target_ops) <to_post_startup_inferior>: Add
1672 (target_post_startup_inferior): Add argument.
1673 * target.c (debug_to_post_startup_inferior): Add argument.
1674 (update_current_target): Update.
1675 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
1677 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
1679 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
1681 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
1683 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
1685 (super_post_startup_inferior): Likewise.
1686 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
1688 (super_post_startup_inferior): Likewise.
1689 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
1690 Add 'self' argument.
1691 (super_post_startup_inferior): Likewise.
1693 2014-02-19 Tom Tromey <tromey@redhat.com>
1695 * target.h (struct target_ops) <to_load>: Add argument.
1696 * target.c (target_load): Add argument.
1697 (debug_to_load): Add argument.
1698 (update_current_target): Update.
1699 * remote.c (remote_load): Add 'self' argument.
1700 * remote-sim.c (gdbsim_load): Add 'self' argument.
1701 * remote-mips.c (mips_load): Add 'self' argument.
1702 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
1703 * monitor.c (monitor_load): Add 'self' argument.
1704 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
1706 2014-02-19 Tom Tromey <tromey@redhat.com>
1708 * target.h (struct target_ops) <to_terminal_info>: Add argument.
1709 (target_terminal_info): Add argument.
1710 * target.c (debug_to_terminal_info): Add argument.
1711 (default_terminal_info): Likewise.
1712 * inflow.c (child_terminal_info): Add 'self' argument.
1713 * inferior.h (child_terminal_info): Add 'self' argument.
1714 * go32-nat.c (go32_terminal_info): Add 'self' argument.
1716 2014-02-19 Tom Tromey <tromey@redhat.com>
1718 * target.h (struct target_ops) <to_terminal_save_ours>: Add
1720 (target_terminal_save_ours): Add argument.
1721 * target.c (debug_to_terminal_save_ours): Add argument.
1722 (update_current_target): Update.
1723 * inflow.c (terminal_save_ours): Add 'self' argument.
1724 * inferior.h (terminal_save_ours): Add 'self' argument.
1726 2014-02-19 Tom Tromey <tromey@redhat.com>
1728 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
1729 (target_terminal_ours): Add argument.
1730 * target.c (debug_to_terminal_ours): Add argument.
1731 (update_current_target): Update.
1732 * remote.c (remote_terminal_ours): Add 'self' argument.
1733 (remote_close): Update.
1734 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
1735 * inflow.c (terminal_ours): Add 'self' argument.
1736 * inferior.h (terminal_ours): Add 'self' argument.
1737 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1739 2014-02-19 Pedro Alves <palves@redhat.com>
1740 Tom Tromey <tromey@redhat.com>
1742 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
1744 (target_terminal_ours_for_output): Add argument.
1745 * target.c (debug_to_terminal_ours_for_output): Add argument.
1746 (update_current_target): Update.
1747 * inflow.c (terminal_ours_for_output): Add 'self' argument.
1748 * inferior.h (terminal_ours_for_output): Add 'self' argument.
1749 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1751 2014-02-19 Tom Tromey <tromey@redhat.com>
1753 * target.h (struct target_ops) <to_terminal_inferior>: Add
1755 * target.c (target_terminal_inferior): Add argument.
1756 (update_current_target): Update.
1757 * remote.c (remote_terminal_inferior): Add 'self' argument.
1758 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
1759 * inflow.c (terminal_inferior): Add 'self' argument.
1760 * inferior.h (terminal_inferior): Add 'self' argument.
1761 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
1762 (go32_terminal_inferior): Add 'self' argument.
1764 2014-02-19 Tom Tromey <tromey@redhat.com>
1766 * target.h (struct target_ops) <to_terminal_init>: Add argument.
1767 (target_terminal_init): Add argument.
1768 * target.c (debug_to_terminal_init): Add argument.
1769 (update_current_target): Update.
1770 * inflow.c (terminal_init_inferior): Add 'self' argument.
1771 * inferior.h (terminal_init_inferior): Add 'self' argument.
1772 * go32-nat.c (go32_terminal_init): Add 'self' argument.
1773 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
1775 2014-02-19 Tom Tromey <tromey@redhat.com>
1777 * target.h (struct target_ops)
1778 <to_can_accel_watchpoint_condition>: Add argument.
1779 (target_can_accel_watchpoint_condition): Add argument.
1780 * target.c (debug_to_can_accel_watchpoint_condition): Add
1782 (update_current_target): Update.
1783 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
1786 2014-02-19 Tom Tromey <tromey@redhat.com>
1788 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1790 (target_region_ok_for_hw_watchpoint): Add argument.
1791 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
1792 (default_region_ok_for_hw_watchpoint): Add argument.
1793 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
1794 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
1796 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
1798 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
1800 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
1802 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
1804 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
1806 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
1807 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
1809 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
1810 Add 'self' argument.
1812 2014-02-19 Tom Tromey <tromey@redhat.com>
1814 * target.h (struct target_ops) <to_insert_watchpoint>: Add
1816 (target_insert_watchpoint): Add argument.
1817 * target.c (debug_to_insert_watchpoint): Add argument.
1818 (update_current_target): Update.
1819 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
1820 * remote.c (remote_insert_watchpoint): Add 'self' argument.
1821 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
1822 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
1823 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
1824 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
1826 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
1827 (procfs_insert_hw_watchpoint): Add 'self' argument.
1828 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
1830 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
1832 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
1834 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
1835 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
1837 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
1840 2014-02-19 Tom Tromey <tromey@redhat.com>
1842 * target.h (struct target_ops) <to_remove_watchpoint>: Add
1844 (target_remove_watchpoint): Add argument.
1845 * target.c (debug_to_remove_watchpoint): Add argument.
1846 (update_current_target): Update.
1847 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
1848 * remote.c (remote_remove_watchpoint): Add 'self' argument.
1849 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
1850 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
1851 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
1852 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
1854 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
1855 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
1857 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
1859 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
1861 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
1862 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
1864 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
1867 2014-02-19 Tom Tromey <tromey@redhat.com>
1869 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
1871 (target_remove_hw_breakpoint): Add argument.
1872 * target.c (debug_to_remove_hw_breakpoint): Add argument.
1873 (update_current_target): Update.
1874 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
1875 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
1877 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
1878 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
1880 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
1883 2014-02-19 Tom Tromey <tromey@redhat.com>
1885 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
1887 (target_insert_hw_breakpoint): Add argument.
1888 * target.c (debug_to_insert_hw_breakpoint): Add argument.
1889 (update_current_target): Update.
1890 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
1891 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
1893 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
1894 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
1895 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
1897 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
1900 2014-02-19 Tom Tromey <tromey@redhat.com>
1902 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
1904 (target_can_use_hardware_watchpoint): Add argument.
1905 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
1906 (update_current_target): Update.
1907 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
1909 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
1911 * remote.c (remote_check_watch_resources): Add 'self' argument.
1912 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
1913 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
1915 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
1916 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
1918 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
1920 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
1922 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
1924 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
1926 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
1928 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
1929 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
1931 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
1934 2014-02-19 Tom Tromey <tromey@redhat.com>
1936 * target.h (struct target_ops) <to_post_attach>: Add argument.
1937 (target_post_attach): Add argument.
1938 * target.c (debug_to_post_attach): Add argument.
1939 (update_current_target): Update.
1940 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
1941 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
1942 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
1943 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
1944 * inf-child.c (inf_child_post_attach): Add 'self' argument.
1946 2014-02-19 Tom Tromey <tromey@redhat.com>
1948 * windows-nat.c (windows_close): Add 'self' argument.
1949 * tracepoint.c (tfile_close): Add 'self' argument.
1950 * target.h (struct target_ops) <to_close>: Add argument.
1951 * target.c (target_close): Add argument.
1952 (update_current_target): Update.
1953 * remote.c (remote_close): Add 'self' argument.
1954 * remote-sim.c (gdbsim_close): Add 'self' argument.
1955 * remote-mips.c (mips_close): Add 'self' argument.
1956 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
1957 * record-full.c (record_full_close): Add 'self' argument.
1958 * record-btrace.c (record_btrace_close): Add 'self' argument.
1959 * monitor.h (monitor_close): Add 'self' argument.
1960 * monitor.c (monitor_close): Add 'self' argument.
1961 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
1962 * linux-nat.c (linux_nat_close): Add argument.
1963 * go32-nat.c (go32_close): Add 'self' argument.
1964 * exec.c (exec_close_1): Add 'self' argument.
1965 * ctf.c (ctf_close): Add 'self' argument.
1966 * corelow.c (core_close): Add 'self' argument.
1967 (core_close_cleanup): Update.
1968 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
1969 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
1971 2014-02-19 Tom Tromey <tromey@redhat.com>
1973 * remote.c (remote_load): New function.
1974 (init_remote_ops): Use it.
1976 2014-02-19 Tom Tromey <tromey@redhat.com>
1978 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
1980 * common/linux-btrace.h (linux_supports_btrace): Update.
1981 * remote.c (remote_supports_btrace): Add "self" argument.
1982 * target-delegates.c: Rebuild.
1983 * target.c (target_supports_btrace): Remove.
1984 * target.h (struct target_ops) <to_supports_btrace>: Add
1985 target_ops argument.
1986 (target_supports_btrace): New define.
1988 2014-02-19 Tom Tromey <tromey@redhat.com>
1990 * record-full.c (record_full_beneath_to_resume_ops)
1991 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
1992 (record_full_beneath_to_wait)
1993 (record_full_beneath_to_store_registers_ops)
1994 (record_full_beneath_to_store_registers)
1995 (record_full_beneath_to_xfer_partial_ops)
1996 (record_full_beneath_to_xfer_partial)
1997 (record_full_beneath_to_insert_breakpoint_ops)
1998 (record_full_beneath_to_insert_breakpoint)
1999 (record_full_beneath_to_remove_breakpoint_ops)
2000 (record_full_beneath_to_remove_breakpoint)
2001 (record_full_beneath_to_stopped_by_watchpoint)
2002 (record_full_beneath_to_stopped_data_address)
2003 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
2004 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
2005 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
2006 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
2007 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
2008 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
2009 (tmp_to_stopped_data_address, tmp_to_async): Remove.
2010 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
2011 (record_full_resume, record_full_wait_1)
2012 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
2013 (record_full_store_registers, record_full_xfer_partial)
2014 (record_full_insert_breakpoint, record_full_remove_breakpoint)
2015 (record_full_async, record_full_core_xfer_partial): Use target
2017 * target-delegates.c: Rebuild.
2018 * target.c (current_xfer_partial): Remove.
2019 (update_current_target): Do not INHERIT or de_fault
2020 to_insert_breakpoint, to_remove_breakpoint,
2021 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
2022 to_is_async_p, to_async. Do not set to_xfer_partial field.
2023 (default_xfer_partial): Simplify.
2024 (current_xfer_partial): Remove.
2025 (target_wait, target_resume): Simplify.
2026 (find_default_can_async_p, find_default_is_async_p): Update.
2027 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
2028 to_xfer_partial, to_stopped_by_watchpoint,
2029 to_stopped_data_address.
2030 (target_store_registers): Simplify.
2031 (forward_target_remove_breakpoint)
2032 (forward_target_insert_breakpoint): Remove.
2033 (target_remove_breakpoint, target_insert_breakpoint)
2034 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
2035 * target.h (struct target_ops) <to_resume, to_wait,
2036 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
2037 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
2038 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
2040 (forward_target_remove_breakpoint)
2041 (forward_target_insert_breakpoint): Remove.
2042 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
2044 (record_btrace_insert_breakpoint): Delegate directly.
2046 2014-02-19 Tom Tromey <tromey@redhat.com>
2049 * target-delegates.c: New file.
2050 * target.c: Include target-delegates.c.
2051 (init_dummy_target): Call install_dummy_methods.
2052 (complete_target_initialization): Call install_delegators.
2053 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
2054 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
2055 * make-target-delegates: New file.
2057 2014-02-19 Tom Tromey <tromey@redhat.com>
2059 * record.c (find_record_target): Use find_target_at.
2060 * target.c (find_target_at): New function.
2061 * target.h (find_target_at): Declare.
2063 2014-02-19 Tom Tromey <tromey@redhat.com>
2065 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
2067 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
2069 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
2070 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
2072 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
2074 * linux-nat.c (save_sigtrap): Update.
2075 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
2076 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
2077 (linux_nat_close): Update.
2078 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
2080 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
2082 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
2083 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
2084 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
2085 (tmp_to_async): Add 'ops' argument.
2086 (record_full_stopped_by_watchpoint, record_full_async)
2087 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
2089 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
2090 (m32r_stopped_by_watchpoint): Add 'ops' argument.
2091 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
2092 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
2093 (remote_is_async_p, remote_async): Add 'ops' argument.
2094 (remote_stopped_data_address): Update.
2095 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
2096 * target.c (update_current_target)
2097 (find_default_can_async_p, find_default_is_async_p): Update.
2098 (init_dummy_target): Update.
2099 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
2100 * target.h (struct target_ops) <to_stopped_by_watchpoint,
2101 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
2102 (target_can_async_p, target_is_async_p, target_async)
2103 (target_stopped_by_watchpoint): Update.
2105 2014-02-19 Yao Qi <yao@codesourcery.com>
2108 * gdbarch.sh: Remove startup_gdbarch.
2109 * gdbarch.c: Regenerated.
2110 * gdbarch.h: Likewise.
2112 2014-02-17 Kevin Buettner <kevinb@redhat.com>
2114 * rl78-tdep.c (rl78_g10_register_name): New function.
2115 (rl78_return_value): Add g10 support.
2116 (rl78_gdbarch_init): Register rl78_g10_register_name for the
2119 2014-02-17 Doug Evans <xdje42@gmail.com>
2121 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
2122 (SUBDIR_GUILE_SRCS): Ditto.
2123 (scm-gsmob.o): Ditto.
2125 2014-02-17 Yao Qi <yao@codesourcery.com>
2127 * gnu-nat.c (ILL_RPC): Declare defined function.
2129 2014-02-17 Yao Qi <yao@codesourcery.com>
2131 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
2132 mach_msg_type_number_t.
2133 (gnu_write_inferior): Likewise.
2135 2014-02-17 Yao Qi <yao@codesourcery.com>
2137 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
2139 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
2140 (inf_validate_procs, inf_signal): Likewise.
2141 (S_exception_raise_request): Likewise.
2142 (do_mach_notify_dead_name): Likewise.
2143 (steal_exc_port): Likewise.
2144 (gnu_read_inferior): Change 'copy_count''s type to
2145 mach_msg_type_number_t.
2146 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
2149 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
2151 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
2152 flag. Adjust all users; in particular...
2153 (gnu_wait): ..., don't decrement its value in here...
2154 (gnu_create_inferior): ..., and instead set the flag in here,
2155 around the startup_inferior call, and call that one with
2156 START_INFERIOR_TRAPS_EXPECTED.
2158 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
2159 (ILL_RPC): ... new macro.
2160 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
2161 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
2162 (do_mach_notify_send_once, S_proc_setmsgport_reply)
2163 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
2164 functions with ILL_RPC macro.
2165 (S_proc_pid2task_reply, S_proc_task2pid_reply)
2166 (S_proc_task2proc_reply, S_proc_proc2task_reply)
2167 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
2168 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
2169 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
2170 (S_proc_getlogin_reply, S_proc_getsid_reply)
2171 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
2172 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
2173 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
2174 (S_proc_getnports_reply, S_proc_is_important_reply)
2175 (S_proc_get_code_reply): New stub functions, generated with
2178 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
2179 collected the type check structures.
2181 * reply_mig_hack.awk: Don't expect to see the auto keyword.
2183 2014-02-14 Doug Evans <dje@google.com>
2185 * target.c (target_write_partial): Fix result type.
2187 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2189 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
2190 the proper offsets to access fpregset_t.
2192 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
2194 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
2195 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
2196 * h8300-tdep.c (setmachinelist): Remove global.
2197 * hppa-tdep.c (hppa_sigtramp): Remove global.
2198 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
2199 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
2200 * ravenscar-thread.c (update_target_observer): Remove global.
2201 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
2203 2014-02-12 Tom Tromey <tromey@redhat.com>
2205 * common/rsp-low.c: Update comments.
2206 * common/rsp-low.h: Update comments.
2208 2014-02-12 Tom Tromey <tromey@redhat.com>
2210 * common/rsp-low.c (convert_ascii_to_int): Remove.
2211 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
2213 2014-02-12 Tom Tromey <tromey@redhat.com>
2215 * common/rsp-low.h (unhexify): Don't declare.
2216 * common/rsp-low.c (unhexify): Remove.
2218 2014-02-12 Tom Tromey <tromey@redhat.com>
2220 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
2221 * common/rsp-low.c (convert_int_to_ascii): Remove.
2223 2014-02-12 Tom Tromey <tromey@redhat.com>
2225 * common/rsp-low.h (hexify): Don't declare.
2226 * common/rsp-low.c (hexify): Remove.
2228 2014-02-12 Tom Tromey <tromey@redhat.com>
2230 * common/rsp-low.c (hexify): Never take strlen of argument.
2232 2014-02-12 Tom Tromey <tromey@redhat.com>
2234 * common/rsp-low.c (bin2hex): Never take strlen of argument.
2235 * remote.c (extended_remote_run, remote_rcmd)
2236 (remote_download_trace_state_variable, remote_save_trace_data)
2237 (remote_set_trace_notes): Update.
2238 * tracepoint.c (encode_source_string, tfile_write_status)
2239 (tfile_write_uploaded_tsv): Update.
2241 2014-02-12 Tom Tromey <tromey@redhat.com>
2243 * tracepoint.c: Include rsp-low.h.
2244 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
2245 * remote.c: Include rsp-low.h.
2246 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
2247 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
2248 (remote_unescape_input): Move to common/rsp-low.c.
2249 * common/rsp-low.h: New file.
2250 * common/rsp-low.c: New file.
2251 * Makefile.in (SFILES): Add common/rsp-low.c.
2252 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
2253 (COMMON_OBS): Add rsp-low.o.
2254 (rsp-low.o): New target.
2256 2014-02-12 Tom Tromey <tromey@redhat.com>
2258 * utils.h: Include print-utils.h.
2259 (host_address_to_string, plongest, pulongest, phex, phex_nz)
2260 (int_string, core_addr_to_string, core_addr_to_string_nz)
2261 (hex_string, hex_string_custom): Don't declare.
2262 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2263 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2264 (hex_string_custom, int_string, core_addr_to_string)
2265 (core_addr_to_string_nz, host_address_to_string): Move to
2266 common/print-utils.c.
2267 * common/print-utils.h: New file.
2268 * common/print-utils.c: New file
2269 * Makefile.in (SFILES): Add common/print-utils.c.
2270 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2271 (COMMON_OBS): Add print-utils.o.
2272 (print-utils.o): New target.
2274 2014-02-12 Tom Tromey <tromey@redhat.com>
2276 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2278 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2280 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2282 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2284 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2285 if a PT_IO ptrace request returns sucessfully but indicates that 0
2286 bytes were transferred.
2288 2014-02-12 Pedro Alves <palves@redhat.com>
2289 Kevin Buettner <kevinb@redhat.com>
2291 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2292 TYPE_INSTANCE_FLAG_CODE_SPACE.
2294 2014-02-12 Pedro Alves <palves@redhat.com>
2296 * h8300-tdep.c (pseudo_from_raw_register)
2297 (raw_from_pseudo_register): New functions.
2298 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2301 2014-02-12 Pedro Alves <palves@redhat.com>
2303 * h8300-tdep.c (h8300_register_sim_regno): New function.
2304 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2305 gdbarch_register_sim_regno hook.
2307 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2309 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2311 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2313 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2315 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2317 * obsd-tdep.h (obsd_init_abi): New prototype.
2318 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2319 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2320 (obsd_init_abi): New functions.
2321 * i386obsd-tdep.c: Include "obsd-tdep.h".
2322 (i386obsd_init_abi): Call obsd_init_abi.
2323 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2324 (amd64obsd_init_abi): Call obsd_init_abi.
2325 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2326 obsd-tdep.c to gdb_target_obs.
2328 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2330 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2331 double float arguments to 16-byte in the argument slots.
2333 2014-02-11 Doug Evans <xdje42@gmail.com>
2335 * configure.ac: Don't crash if pkg-config is not found and guile
2336 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2338 * configure: Regenerate.
2340 2014-02-11 Yao Qi <yao@codesourcery.com>
2342 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2343 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2344 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2345 * gnu-nat.c (gnu_xfer_memory): Likewise.
2346 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2347 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2348 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2349 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2351 2014-02-11 Yao Qi <yao@codesourcery.com>
2353 * target.h (enum target_xfer_error): Rename to ...
2354 (enum target_xfer_status): ... it. New. All users updated.
2355 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2357 (TARGET_XFER_STATUS_ERROR_P): New macro.
2358 (target_xfer_error_to_string): Remove declaration.
2359 (target_xfer_status_to_string): Declare.
2360 (target_xfer_partial_ftype): Adjust it.
2361 (struct target_ops) <to_xfer_partial>: Return
2362 target_xfer_status. Add argument xfered_len. Update
2364 * target.c (target_xfer_error_to_string): Rename to ...
2365 (target_xfer_status_to_string): ... it. New. All callers
2367 (target_read_live_memory): Likewise. Call target_xfer_partial
2368 instead of target_read.
2369 (memory_xfer_live_readonly_partial): Return
2370 target_xfer_status. Add argument xfered_len.
2371 (raw_memory_xfer_partial): Likewise.
2372 (memory_xfer_partial_1): Likewise.
2373 (memory_xfer_partial): Likewise.
2374 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2375 properly. Update debug message.
2376 (default_xfer_partial, current_xfer_partial): Likewise.
2377 (target_write_partial): Likewise.
2378 (target_read_partial): Likewise. All callers updated.
2379 (read_whatever_is_readable): Likewise.
2380 (target_write_with_progress): Likewise.
2381 (target_read_alloc_1): Likewise.
2383 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2384 * auxv.c (procfs_xfer_auxv): Likewise.
2385 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2386 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2387 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2388 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2389 * corefile.c (read_memory): Adjust.
2390 * corelow.c (core_xfer_partial): Likewise.
2391 * ctf.c (ctf_xfer_partial): Likewise.
2392 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2394 (darwin_xfer_partial): Likewise.
2395 * exec.c (section_table_xfer_memory_partial): Likewise. All
2397 (exec_xfer_partial): Likewise.
2398 * exec.h (section_table_xfer_memory_partial): Update
2400 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2402 (gnu_xfer_partial): Likewise.
2403 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2404 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2405 (ia64_hpux_xfer_solib_got): Likewise.
2406 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2407 type of 'partial_len' to ULONGEST.
2408 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2409 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2410 (linux_nat_xfer_partial): Likewise.
2411 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2412 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2413 * monitor.c (monitor_xfer_memory): Likewise.
2414 (monitor_xfer_partial): Likewise.
2415 * procfs.c (procfs_xfer_partial): Likewise.
2416 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2417 * record-full.c (record_full_xfer_partial): Likewise.
2418 (record_full_core_xfer_partial): Likewise.
2419 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2420 (gdbsim_xfer_partial): Likewise.
2421 * remote.c (remote_write_bytes_aux): Likewise. All callers
2423 (remote_write_bytes, remote_read_bytes): Likewise. All
2425 (remote_flash_erase): Likewise. All callers updated.
2426 (remote_write_qxfer): Likewise. All callers updated.
2427 (remote_read_qxfer): Likewise. All callers updated.
2428 (remote_xfer_partial): Likewise.
2429 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2430 (rs6000_xfer_shared_libraries): Likewise.
2431 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2432 (sol_thread_xfer_partial): Likewise.
2433 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2434 (sparc_xfer_partial): Likewise.
2435 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2437 (spu_xfer_partial): Likewise.
2438 * spu-multiarch.c (spu_xfer_partial): Likewise.
2439 * tracepoint.c (tfile_xfer_partial): Likewise.
2440 * windows-nat.c (windows_xfer_memory): Likewise.
2441 (windows_xfer_shared_libraries): Likewise.
2442 (windows_xfer_partial): Likewise.
2443 * valprint.c: Replace 'target_xfer_error' with
2444 'target_xfer_status' in comments.
2446 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2448 Checked in by Joel Brobecker <brobecker@adacore.com>.
2449 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2451 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2453 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2454 function parameters.
2456 2014-02-10 Will Newton <will.newton@linaro.org>
2458 * elfread.c (elf_rel_plt_read): Look for a .got section if
2459 looking up .got.plt fails.
2460 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2461 on address passed to elf_gnu_ifunc_record_cache.
2462 (elf_gnu_ifunc_resolve_addr): Likewise.
2463 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2465 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2467 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2468 (X_RETTURN): New macro.
2469 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2471 * sparc64-tdep.c (sparc64_init_abi): Hook
2472 sparc_in_function_epilogue_p.
2474 2014-02-10 Gary Benson <gbenson@redhat.com>
2476 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2477 Rename name_matcher to symbol_matcher.
2479 2014-02-10 Gary Benson <gbenson@redhat.com>
2481 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2482 Use expand_symtabs_file_matcher_ftype and
2483 expand_symtabs_symbol_matcher_ftype.
2485 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2487 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2488 (struct ada_symbol_cache): New.
2489 (ada_free_symbol_cache): Forward declare.
2490 (struct ada_pspace_data): New.
2491 (ada_pspace_data_handle): New static global.
2492 (get_ada_pspace_data, ada_pspace_data_cleanup)
2493 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2494 (cache_space, cache): Delete, now folded inside struct
2496 (ada_get_symbol_cache): New function.
2497 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2499 (_initialize_ada_language): Remove initialization of cache_space.
2500 Move call to observer_attach_inferior_exit up, grouping it
2501 with the other observer registrations inside this function.
2502 Rename command to be more general. Add call to
2503 register_program_space_data_with_cleanup.
2505 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2507 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2508 ada_new_objfile_observer.
2509 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2510 (_initialize_tasks): Update uses of ada_new_objfile_observer
2511 and ada_tasks_normal_stop_observer.
2513 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2515 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2516 returned by the 'Length attribute to integer.
2518 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2520 * ada-lang.c (_initialize_ada_language): Initialize
2521 cache_space obstack.
2523 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2525 * ada-lang.c (HASH_SIZE): New macro.
2526 (struct cache_entry): New type.
2527 (cache_space, cache): New static globals.
2528 (ada_clear_symbol_cache, find_entry): New functions.
2529 (lookup_cached_symbol, cache_symbol): Implement.
2530 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2531 (_initialize_ada_language): Attach ada_new_objfile_observer
2532 and ada_free_objfile_observer.
2534 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2536 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
2537 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
2538 struct block * parameter.
2539 (ada_lookup_symbol_list_worker): Constify local variable "block".
2540 Remove cast which is no longer necessary.
2542 2014-02-10 Doug Evans <xdje42@gmail.com>
2544 Add Guile as an extension language.
2545 * NEWS: Mention Guile scripting.
2546 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
2547 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
2548 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
2549 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
2550 (CLIBS): Add GUILE_LIBS.
2551 (install-guile): New rule.
2552 (guile.o): New rule.
2553 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
2554 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
2555 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
2556 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
2557 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
2558 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
2559 (scm-type.o, scm-utils.o, scm-value.o): New rules.
2560 * configure.ac: New option --with-guile.
2561 * configure: Regenerate.
2562 * config.in: Regenerate.
2563 * auto-load.c: Remove #include "python/python.h". Add #include
2564 "gdb/section-scripts.h".
2565 (source_section_scripts): Handle Guile scripts.
2566 (_initialize_auto_load): Add name of Guile objfile script to
2567 scripts-directory help text.
2568 * breakpoint.c (condition_command): Tweak comment to include Scheme.
2569 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
2570 (struct breakpoint): New member scm_bp_object.
2571 * defs.h (enum command_control_type): New value guile_control.
2572 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
2574 (show_user): Update comment.
2575 (_initialize_cli_cmds): Update help text for "show user". Update help
2576 text for max-user-call-depth.
2577 * cli/cli-script.c: Remove #include "python/python.h". Add #include
2579 (multi_line_command_p): Add guile_control.
2580 (print_command_lines): Handle guile_control.
2581 (execute_control_command, recurse_read_control_structure): Ditto.
2582 (process_next_line): Recognize "guile" commands.
2583 * disasm.c (gdb_disassemble_info): Make non-static.
2584 * disasm.h: #include "dis-asm.h".
2585 (struct gdbarch): Add forward decl.
2586 (gdb_disassemble_info): Declare.
2587 * extension.c: #include "guile/guile.h".
2588 (extension_languages): Add guile.
2589 (get_ext_lang_defn): Handle EXT_LANG_GDB.
2590 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
2591 * gdbtypes.c (get_unsigned_type_max): New function.
2592 (get_signed_type_minmax): New function.
2593 * gdbtypes.h (get_unsigned_type_max): Declare.
2594 (get_signed_type_minmax): Declare.
2595 * guile/README: New file.
2596 * guile/guile-internal.h: New file.
2597 * guile/guile.c: New file.
2598 * guile/guile.h: New file.
2599 * guile/scm-arch.c: New file.
2600 * guile/scm-auto-load.c: New file.
2601 * guile/scm-block.c: New file.
2602 * guile/scm-breakpoint.c: New file.
2603 * guile/scm-disasm.c: New file.
2604 * guile/scm-exception.c: New file.
2605 * guile/scm-frame.c: New file.
2606 * guile/scm-gsmob.c: New file.
2607 * guile/scm-iterator.c: New file.
2608 * guile/scm-lazy-string.c: New file.
2609 * guile/scm-math.c: New file.
2610 * guile/scm-objfile.c: New file.
2611 * guile/scm-ports.c: New file.
2612 * guile/scm-pretty-print.c: New file.
2613 * guile/scm-safe-call.c: New file.
2614 * guile/scm-string.c: New file.
2615 * guile/scm-symbol.c: New file.
2616 * guile/scm-symtab.c: New file.
2617 * guile/scm-type.c: New file.
2618 * guile/scm-utils.c: New file.
2619 * guile/scm-value.c: New file.
2620 * guile/lib/gdb.scm: New file.
2621 * guile/lib/gdb/boot.scm: New file.
2622 * guile/lib/gdb/experimental.scm: New file.
2623 * guile/lib/gdb/init.scm: New file.
2624 * guile/lib/gdb/iterator.scm: New file.
2625 * guile/lib/gdb/printing.scm: New file.
2626 * guile/lib/gdb/types.scm: New file.
2627 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
2628 (VPATH): Add $(GUILE_SRCDIR).
2629 (GUILE_DIR): New variable.
2630 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
2631 (all): Add stamp-guile dependency.
2632 (stamp-guile): New rule.
2633 (clean-guile, install-guile, uninstall-guile): New rules.
2634 (install-only): Add install-guile dependency.
2635 (uninstall): Add uninstall-guile dependency.
2636 (clean): Add clean-guile dependency.
2638 2014-02-09 Doug Evans <xdje42@gmail.com>
2640 Revert this patch (which I approved, mea culpa).
2642 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2644 * Makefile.in (all-lib): Remove.
2645 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2647 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2649 Fix Python stack corruption.
2650 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
2653 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2655 * Makefile.in (all-lib): Remove.
2656 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2658 2014-02-07 Doug Evans <dje@google.com>
2660 * extension-priv.h (extension_language_script_ops): Add comment.
2661 (extension_language_ops): Add comment.
2662 (active_ext_lang_state): Fix typo in comment.
2664 2014-02-07 Pedro Alves <palves@redhat.com>
2666 * infrun.c (handle_signal_stop) <signal arrives while stepping
2667 over a breakpoint>: Switch back to the stepping thread.
2669 2014-02-07 Yao Qi <yao@codesourcery.com>
2671 * target.c (target_xfer_partial): Return zero if LEN is zero.
2673 2014-02-07 Yao Qi <yao@codesourcery.com>
2675 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
2676 (ld_so_xfer_auxv): Likewise.
2677 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2678 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2679 * corelow.c (core_xfer_partial): Likewise.
2680 * ctf.c (ctf_xfer_partial): Likewise.
2681 * darwin-nat.c (darwin_read_dyld_info): Likewise.
2682 (darwin_xfer_partial): Likewise.
2683 * exec.c (exec_xfer_partial): Likewise.
2684 * gnu-nat.c (gnu_xfer_partial): Likewise.
2685 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
2686 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2687 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2688 * linux-nat.c (linux_xfer_siginfo): Likewise.
2689 (linux_proc_xfer_spu): Likewise.
2690 * procfs.c (procfs_xfer_partial): Likewise.
2691 * record-full.c (record_full_xfer_partial): Likewise.
2692 (record_full_core_xfer_partial): Likewise.
2693 * remote-sim.c (gdbsim_xfer_partial): Likewise.
2694 * remote.c (remote_write_qxfer): Likewise.
2695 (remote_write_qxfer, remote_read_qxfer): Likewise.
2696 (remote_xfer_partial): Likewise.
2697 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2698 (rs6000_xfer_shared_libraries): Likewise.
2699 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2700 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2701 (spu_xfer_partial): Likewise.
2702 * target.c (memory_xfer_partial_1): Likewise.
2703 * tracepoint.c (tfile_xfer_partial): Likewise.
2704 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
2705 (windows_xfer_partial): Likewise.
2707 2014-02-07 Yao Qi <yao@codesourcery.com>
2709 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
2711 (core_xfer_shared_libraries_aix): Likewise.
2712 * gdbarch.c, gdbarch.h: Regenerated.
2713 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
2714 ULONGEST. Change 'len_avail' type to ULONGEST.
2715 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
2716 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
2718 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
2720 2014-02-07 Yao Qi <yao@codesourcery.com>
2722 * corefile.c (memory_error): Get 'exception' from ERR and pass
2723 'exception' to throw_error.
2725 2014-02-06 Doug Evans <xdje42@gmail.com>
2727 * configure.ac (libpython checking): Remove all but python.o from
2728 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
2729 * configure: Regenerate.
2731 * Makefile.in (SFILES): Add extension.c.
2732 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
2733 (COMMON_OBS): Add extension.o.
2734 * extension.h: New file.
2735 * extension-priv.h: New file.
2736 * extension.c: New file.
2738 * python/python-internal.h: #include "extension.h".
2739 (gdbpy_auto_load_enabled): Declare.
2740 (gdbpy_apply_val_pretty_printer): Declare.
2741 (gdbpy_apply_frame_filter): Declare.
2742 (gdbpy_preserve_values): Declare.
2743 (gdbpy_breakpoint_cond_says_stop): Declare.
2744 (gdbpy_breakpoint_has_cond): Declare.
2745 (void source_python_script_for_objfile): Delete.
2746 * python/python.c: #include "extension-priv.h".
2747 Delete inclusion of "observer.h".
2748 (extension_language_python): Moved here and renamed from
2749 script_language_python in py-auto-load.c.
2750 Redefined to be of type extension_language_defn.
2751 (python_extension_script_ops): New global.
2752 (python_extension_ops): New global.
2753 (struct python_env): New member previous_active.
2754 (restore_python_env): Call restore_active_ext_lang.
2755 (ensure_python_env): Call set_active_ext_lang.
2756 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
2758 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
2760 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
2762 (gdbpy_eval_from_control_command): Renamed from
2763 eval_python_from_control_command, made static. New arg extlang.
2764 (gdbpy_source_script) Renamed from source_python_script, made static.
2766 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
2767 result to int. New arg extlang.
2768 (gdbpy_source_objfile_script): Renamed from
2769 source_python_script_for_objfile, made static. New arg extlang.
2770 (gdbpy_start_type_printers): Renamed from start_type_printers, made
2771 static. New args extlang, extlang_printers. Change result type to
2773 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
2774 static. New arg extlang. Rename arg printers to extlang_printers
2775 and change type to ext_lang_type_printers *.
2776 (gdbpy_free_type_printers): Renamed from free_type_printers, made
2777 static. Replace argument arg with extlang, extlang_printers.
2778 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
2779 (!HAVE_PYTHON, source_python_script): Delete.
2780 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
2781 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
2782 (!HAVE_PYTHON, start_type_printers): Delete.
2783 (!HAVE_PYTHON, apply_type_printers): Delete.
2784 (!HAVE_PYTHON, free_type_printers): Delete.
2785 (_initialize_python): Delete call to observer_attach_before_prompt.
2786 (finalize_python): Set/restore active extension language.
2787 (gdbpy_finish_initialization) Renamed from
2788 finish_python_initialization, made static. New arg extlang.
2789 (gdbpy_initialized): New function.
2790 * python/python.h: #include "extension.h". Delete #include
2791 "value.h", "mi/mi-cmds.h".
2792 (extension_language_python): Declare.
2793 (GDBPY_AUTO_FILE_NAME): Delete.
2794 (enum py_bt_status): Moved to extension.h and renamed to
2796 (enum frame_filter_flags): Moved to extension.h.
2797 (enum py_frame_args): Moved to extension.h and renamed to
2798 ext_lang_frame_args.
2799 (finish_python_initialization): Delete.
2800 (eval_python_from_control_command): Delete.
2801 (source_python_script): Delete.
2802 (apply_val_pretty_printer): Delete.
2803 (apply_frame_filter): Delete.
2804 (preserve_python_values): Delete.
2805 (gdbpy_script_language_defn): Delete.
2806 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
2807 (start_type_printers, apply_type_printers, free_type_printers): Delete.
2809 * auto-load.c: #include "extension.h".
2810 (GDB_AUTO_FILE_NAME): Delete.
2811 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
2812 (script_language_gdb): Delete, moved to extension.c and renamed to
2813 extension_language_gdb.
2814 (source_gdb_script_for_objfile): Delete.
2815 (auto_load_pspace_info): New member unsupported_script_warning_printed.
2816 (loaded_script): Change type of language member to
2817 struct extension_language_defn *.
2818 (init_loaded_scripts_info): Initialize
2819 unsupported_script_warning_printed.
2820 (maybe_add_script): Make static. Change type of language arg to
2821 struct extension_language_defn *.
2822 (clear_section_scripts): Reset unsupported_script_warning_printed.
2823 (auto_load_objfile_script_1): Rewrite to use extension language API.
2824 (auto_load_objfile_script): Make public. Remove support-compiled-in
2825 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
2826 (source_section_scripts): Rewrite to use extension language API.
2827 (load_auto_scripts_for_objfile): Rewrite to use
2828 auto_load_scripts_for_objfile.
2829 (collect_matching_scripts_data): Change type of language member to
2830 struct extension_language_defn *.
2831 (auto_load_info_scripts): Change type of language arg to
2832 struct extension_language_defn *.
2833 (unsupported_script_warning_print): New function.
2834 (script_not_found_warning_print): Make static.
2835 (_initialize_auto_load): Rewrite construction of scripts-directory
2837 * auto-load.h (struct objfile): Add forward decl.
2838 (struct script_language): Delete.
2839 (struct auto_load_pspace_info): Add forward decl.
2840 (struct extension_language_defn): Add forward decl.
2841 (maybe_add_script): Delete.
2842 (auto_load_objfile_script): Declare.
2843 (script_not_found_warning_print): Delete.
2844 (auto_load_info_scripts): Update prototype.
2845 (auto_load_gdb_scripts_enabled): Declare.
2846 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
2847 auto_load_python_scripts_enabled and made public.
2848 (script_language_python): Delete, moved to python.c.
2849 (gdbpy_script_language_defn): Delete.
2850 (info_auto_load_python_scripts): Update to use
2851 extension_language_python.
2853 * breakpoint.c (condition_command): Replace call to
2854 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
2855 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
2856 with call to breakpoint_ext_lang_cond_says_stop.
2857 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
2858 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
2859 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
2860 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
2862 (local_setattro): Print name of extension language with existing
2865 * valprint.c (val_print, value_print): Update to call
2866 apply_ext_lang_val_pretty_printer.
2867 * cp-valprint.c (cp_print_value): Update call to
2868 apply_ext_lang_val_pretty_printer.
2869 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
2870 (gdbpy_apply_val_pretty_printer): Renamed from
2871 apply_val_pretty_printer. New arg extlang.
2872 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
2874 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
2875 extension language API.
2876 * cli/cli-script.c (execute_control_command): Update to call
2877 eval_ext_lang_from_control_command.
2879 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
2880 enum ext_lang_bt_status values. Update call to
2881 apply_ext_lang_frame_filter.
2882 (mi_cmd_stack_list_locals): Ditto.
2883 (mi_cmd_stack_list_args): Ditto.
2884 (mi_cmd_stack_list_variables): Ditto.
2885 * mi/mi-main.c: Delete #include "python/python-internal.h".
2886 Add #include "extension.h".
2887 (mi_cmd_list_features): Replace reference to python internal variable
2888 gdb_python_initialized with call to ext_lang_initialized_p.
2890 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
2891 Update to use enum ext_lang_frame_args. Update to call
2892 apply_ext_lang_frame_filter.
2893 * python/py-framefilter.c (extract_sym): Update to use enum
2895 (extract_value, py_print_type, py_print_value): Ditto.
2896 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
2897 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
2898 (py_print_frame): Ditto.
2899 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
2900 New arg extlang. Update to use enum ext_lang_bt_status.
2902 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
2903 finish_python_initialization. Replace with call to
2904 finish_ext_lang_initialization.
2906 * typeprint.c (do_free_global_table): Update to call
2907 free_ext_lang_type_printers.
2908 (create_global_typedef_table): Update to call
2909 start_ext_lang_type_printers.
2910 (find_global_typedef): Update to call apply_ext_lang_type_printers.
2911 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
2912 (type_print_options): Change type of global_printers from "void *"
2913 to "struct ext_lang_type_printers *".
2915 * value.c (preserve_values): Update to call preserve_ext_lang_values.
2916 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
2917 (gdbpy_preserve_values): Renamed from preserve_python_values.
2919 (!HAVE_PYTHON, preserve_python_values): Delete.
2921 * utils.c (quit_flag): Delete, moved to extension.c.
2922 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
2925 * eval.c: Delete #include "python/python.h".
2926 * main.c: Delete #include "python/python.h".
2928 * defs.h: Update comment.
2930 2014-02-06 Joel Brobecker <brobecker@adacore.com>
2934 2014-02-05 Mark Kettenis <kettenis@gnu.org>
2936 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
2939 2014-02-05 Yao Qi <yao@codesourcery.com>
2941 * remote.c (remote_pass_signals): Remove local 'buf' and use
2943 (remote_program_signals): Likewise.
2945 2014-02-05 Yao Qi <yao@codesourcery.com>
2947 * ctf.c: Include "inferior.h" and "gdbthread.h".
2948 (CTF_PID): A new macro.
2949 (ctf_open): Call inferior_appeared and add_thread_silent.
2950 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
2951 (ctf_thread_alive): New function.
2952 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
2954 2014-02-05 Yao Qi <yao@codesourcery.com>
2958 2013-05-24 Yao Qi <yao@codesourcery.com>
2960 * tracepoint.c (TFILE_PID): Remove.
2961 (tfile_open): Don't add thread and inferior.
2962 (tfile_close): Don't set 'inferior_ptid'. Don't call
2963 exit_inferior_silent.
2964 (tfile_thread_alive): Remove.
2965 (init_tfile_ops): Don't set field 'to_thread_alive' of
2968 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
2970 * remote.c (remote_start_remote): Call remote_check_symbols even
2971 if only symbol-file (not file) has been given.
2973 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2975 * gdbarch.sh (skip_entrypoint): New callback.
2976 * gdbarch.c, gdbarch.h: Regenerate.
2977 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
2978 * infrun.c (fill_in_stop_func): Likewise.
2979 * ppc-linux-tdep.c: Include "elf/ppc64.h".
2980 (ppc_elfv2_elf_make_msymbol_special): New function.
2981 (ppc_elfv2_skip_entrypoint): Likewise.
2982 (ppc_linux_init_abi): Install them for ELFv2.
2984 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2986 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
2987 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
2988 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
2989 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
2990 structures returned in GPRs.
2992 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2994 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
2995 offset to the stack parameter list for the ELFv2 ABI.
2997 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2999 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
3000 set_gdbarch_convert_from_func_ptr_addr and
3001 set_gdbarch_elf_make_msymbol_special for ELFv1.
3002 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
3003 function descriptors on ELFv1.
3004 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
3005 set up r12 at function entry.
3007 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3009 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
3010 (struct gdbarch_tdep): New member elf_abi.
3012 * rs6000-tdep.c: Include "elf/ppc64.h".
3013 (rs6000_gdbarch_init): Detect ELF ABI version.
3015 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3017 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
3018 within a register pair holding a DFP 128-bit value on little-endian.
3019 (ppc64_sysv_abi_return_value_base): Likewise.
3020 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
3021 (dfp_pseudo_register_write): Likewise.
3023 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3025 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
3026 offset on little-endian when passing _Decimal32.
3027 (ppc64_sysv_abi_return_value_base): Likewise for return values.
3029 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3031 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
3032 of the overlapped FP register within the VSX register on little-
3034 (efpr_pseudo_register_write): Likewise.
3036 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3038 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
3039 offset on little-endian when passing small structures.
3041 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3043 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
3044 (struct ppc64_sysv_argpos): New data structure.
3045 (ppc64_sysv_abi_push_float): Remove.
3046 (ppc64_sysv_abi_push_val): New function.
3047 (ppc64_sysv_abi_push_integer): Likewise.
3048 (ppc64_sysv_abi_push_freg): Likewise.
3049 (ppc64_sysv_abi_push_vreg): Likewise.
3050 (ppc64_sysv_abi_push_param): Likewise.
3051 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
3052 (ppc64_sysv_abi_return_value_base): New function.
3053 (ppc64_sysv_abi_return_value): Refactor to use it.
3055 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3057 * NEWS: Document new target powerpc64le-*-linux*.
3059 2014-02-04 Mark Kettenis <kettenis@gnu.org>
3061 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
3062 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
3064 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
3065 register set used in ELF core dumps. Add floating-point register set.
3067 2014-02-03 Kevin Buettner <kevinb@redhat.com>
3069 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
3070 dwarf2_to_gdb[] table using symbolic constants. Adjust
3071 penultimate entry from number representing the PC register
3072 to symbolic constant representing the MDR register. Add
3073 constant for the PC register to the end of the table.
3075 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3077 * bsd-kvm.c: Include <sys/param.h>
3079 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3081 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
3083 2014-01-31 Joel Brobecker <brobecker@adacore.com>
3085 * ada-lang.h (clear_ada_sym_cache): Delete.
3087 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
3089 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
3091 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3093 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
3094 the sigreturn register save area only if the syscall is
3097 2014-01-29 Joel Brobecker <brobecker@adacore.com>
3099 * valops.c (value_slice): Minor reformatting.
3101 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
3103 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
3105 2014-01-28 Joel Brobecker <brobecker@adacore.com>
3107 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
3109 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
3110 (ada_ignore_descriptive_types_p): New static global.
3111 (find_parallel_type_by_descriptive_type): Return immediately
3112 if ada_ignore_descriptive_types_p is set.
3113 (_initialize_ada_language): Register new commands "maintenance
3114 set ada", "maintenance show ada", "maintenance set ada
3115 ignore-descriptive-types" and "maintenance show ada
3116 ignore-descriptive-types".
3117 * NEWS: Add entry for new "maint ada set/show
3118 ignore-descriptive-types" commands.
3120 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
3122 * record-btrace.c (record_btrace_close): Call btrace_teardown
3125 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3127 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
3130 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3132 * ada-typeprint (type_is_full_subrange_of_target_type):
3134 (print_range): Add parameter bounds_prefered_p. If not set,
3135 try printing range types using the name of their base type.
3136 (print_range_type): Add parameter bounds_prefered_p.
3137 Use it in call to print_range.
3138 (print_array_type, ada_print_type): Update calls to print_range
3139 and print_range_type.
3141 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3143 * ada-typeprint.c (print_array_type, print_choices, print_range)
3144 (print_range_bound, print_dynamic_range_bound, print_range_type):
3147 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3149 * ada-typeprint.c (print_range): Add missing empty line
3150 after local declaration.
3152 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3154 * ada-valprint.c (print_optional_low_bound): Get index_type's
3155 target type for as long as it is a TYPE_CODE_RANGE.
3157 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3159 * procfs.c (procfs_make_note_section): Remove assertion and
3162 2014-01-24 Yao Qi <yao@codesourcery.com>
3164 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
3165 * corelow.c (get_core_siginfo): Likewise.
3167 2014-01-24 Yao Qi <yao@codesourcery.com>
3169 * remote.c (remote_write_bytes_aux): Change type of 'len' to
3170 ULONGEST. Don't check 'len' is negative.
3171 (remote_write_bytes): Change type of 'len' to ULONGEST.
3173 2014-01-23 Tom Tromey <tromey@redhat.com>
3176 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
3177 Handle exception from frame.block.
3178 (FrameVars.fetch_frame_locals): Likewise.
3180 2014-01-23 Tom Tromey <tromey@redhat.com>
3183 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
3184 on a NULL pointer. Move "goto error" to correct place.
3186 2014-01-23 Tom Tromey <tromey@redhat.com>
3189 * python/py-framefilter.c (apply_frame_filter): Call
3190 ensure_python_env after computing gdbarch.
3192 2014-01-23 Yao Qi <yao@codesourcery.com>
3194 * target.c (raw_memory_xfer_partial): Change argument type
3195 from void * to gdb_byte *.
3196 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
3198 2014-01-22 Doug Evans <dje@google.com>
3200 New gdbserver option --debug-format=timestamp.
3203 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3205 * syscalls/s390x-linux.xml: New file.
3206 * syscalls/s390-linux.xml: New file.
3207 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
3208 (XML_SYSCALL_FILENAME_S390X): Likewise.
3209 (op_svc): New enum value for SVC opcode.
3210 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
3211 (s390_linux_get_syscall_number): New function.
3212 (s390_gdbarch_init): Register '*get_syscall_number' and the
3213 syscall xml file name.
3214 * data-directory/Makefile.in (SYSCALLS_FILES): Add
3215 "s390-linux.xml" and "s390x-linux.xml".
3216 * NEWS: Announce new feature.
3218 2014-01-22 Baruch Siach <baruch@tkos.co.il>
3220 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
3222 2014-01-22 Pedro Alves <palves@redhat.com>
3224 * xtensa-config.c: Include defs.h.
3226 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3228 * common/common-utils.h: Add "ARI:" comment beside __func__
3231 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3233 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
3234 documentation a bit.
3236 2014-01-21 Roland McGrath <mcgrathr@google.com>
3238 * configure.ac: Call AM_PROG_INSTALL_STRIP.
3239 * configure: Regenerate.
3240 * aclocal.m4: Regenerate.
3241 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
3242 New substituted variables.
3243 (install-strip): New target.
3244 (INSTALL_SCRIPT): New substituted variable.
3245 (FLAGS_TO_PASS): Add it.
3246 (install-only): Use $(INSTALL_SCRIPT) rather than
3247 $(INSTALL_PROGRAM) for gcore.
3249 2014-01-20 Tom Tromey <tromey@redhat.com>
3251 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
3254 2014-01-20 Tom Tromey <tromey@redhat.com>
3256 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
3257 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
3258 (deprecated_cmd_warning, complete_on_cmdlist): Update.
3259 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
3260 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3261 (struct cmd_list_element) <flags>: Remove.
3262 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3263 doc_allocated>: New fields.
3264 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3266 * maint.c (maintenance_do_deprecate): Update.
3267 * top.c (execute_command): Update.
3269 2014-01-20 Baruch Siach <baruch@tkos.co.il>
3271 * xtensa-linux-nat.c: Include asm/ptrace.h.
3273 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3275 * Makefile.in (SFILES): Add d-support.c.
3276 (COMMON_OBS): Add d-support.o.
3277 * d-lang.h (d_parse_symbol): Add comment, now defined in
3279 * d-lang.c (parse_call_convention)
3280 (parse_attributes, parse_function_types)
3281 (parse_function_args, parse_type, parse_identifier)
3282 (call_convention_p, d_parse_symbol): Move functions to ...
3283 * d-support.c: ... New file.
3285 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3287 * d-lang.h (d_parse_symbol): Add declaration.
3288 * d-lang.c (extract_identifiers)
3289 (extract_type_info): Remove functions.
3290 (parse_call_convention, parse_attributes)
3291 (parse_function_types, parse_function_args)
3292 (parse_type, parse_identifier, call_convention_p)
3293 (d_parse_symbol): New functions.
3294 (d_demangle): Use d_parse_symbol to demangle D symbols.
3296 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3298 * d-lang.h (struct builtin_d_type): New data type.
3299 (builtin_d_type): Add declaration.
3300 * d-lang.c (d_language_arch_info, build_d_types)
3301 (builtin_d_type): New functions.
3302 (enum d_primitive_types): New data type.
3303 (d_language_defn): Change c_language_arch_info to
3304 d_language_arch_info.
3305 (d_type_data): New static variable.
3306 (_initialize_d_language): Initialize d_type_data.
3308 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3310 * d-lang.h (d_main_name): Add declaration.
3311 * d-lang.c (d_main_name): New function.
3312 * symtab.c (find_main_name): Add call to d_main_name.
3314 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3316 * d-lang.c (d_language_defn): Change macro_expansion_c to
3319 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3321 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3323 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3325 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3326 gdb_exception" declaration.
3327 * remote.c (getpkt_or_notif_sane): Likewise.
3329 2014-01-17 Doug Evans <dje@google.com>
3331 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3332 function, contents of dirnames_to_char_ptr_vec_append moved here.
3333 (delim_string_to_char_ptr_vec): New function.
3334 (dirnames_to_char_ptr_vec_append): Rewrite.
3335 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3337 2014-01-17 Doug Evans <dje@google.com>
3339 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3341 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3342 #include "common-utils.h".
3343 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3344 * common/vec.h (VEC_ASSERT_PASS): Update.
3345 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3346 (MACH_CHECK_ERROR): Update.
3348 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3350 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3352 * gdbarch.h: Regenerate.
3354 2014-01-16 Tom Tromey <tromey@redhat.com>
3356 * value.c (struct value) <regnum>: Move earlier.
3358 2014-01-16 Tom Tromey <tromey@redhat.com>
3360 * remote.c (extended_remote_create_inferior): Rename from
3361 extended_remote_create_inferior_1. Add "ops" argument. Remove
3364 2014-01-16 Pedro Alves <palves@redhat.com>
3366 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3367 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3370 2014-01-16 Doug Evans <dje@google.com>
3372 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3374 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3376 * btrace.h (btrace_thread_flag): New.
3377 (struct btrace_thread_info) <flags>: New.
3378 * record-btrace.c (record_btrace_resume_thread)
3379 (record_btrace_find_thread_to_move, btrace_step_no_history)
3380 (btrace_step_stopped, record_btrace_start_replaying)
3381 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3382 (record_btrace_find_resume_thread): New.
3383 (record_btrace_resume, record_btrace_wait): Extend.
3384 (record_btrace_can_execute_reverse): New.
3385 (record_btrace_open): Fail in non-stop mode.
3386 (record_btrace_set_replay): Split into this, ...
3387 (record_btrace_stop_replaying): ... this, ...
3388 (record_btrace_clear_histories): ... and this.
3389 (init_record_btrace_ops): Init to_can_execute_reverse.
3390 * NEWS: Announce it.
3392 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3394 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3395 (forward_target_decr_pc_after_break)
3396 (target_decr_pc_after_break): New.
3397 * target.c (forward_target_decr_pc_after_break)
3398 (target_decr_pc_after_break): New.
3399 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3400 instead of gdbarch_decr_pc_after_break.
3401 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3402 instead of gdbarch_decr_pc_after_break.
3403 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3404 instead of gdbarch_decr_pc_after_break.
3405 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3406 instead of gdbarch_decr_pc_after_break.
3407 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3408 instead of gdbarch_decr_pc_after_break.
3409 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3410 instead of gdbarch_decr_pc_after_break.
3412 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3414 * btrace.c: Include regcache.h.
3415 (btrace_add_pc): New.
3416 (btrace_enable): Call btrace_add_pc.
3417 (btrace_is_empty): New.
3418 * btrace.h (btrace_is_empty): New.
3419 * record-btrace.c (require_btrace, record_btrace_info): Call
3422 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3424 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3425 Support delta reads.
3426 (linux_disable_btrace): Change return type.
3427 * common/linux-btrace.h (linux_read_btrace): Change parameters
3428 and return type to allow error reporting. Update users.
3429 (linux_disable_btrace): Change return type. Update users.
3430 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3432 (btrace_error): New.
3433 (btrace_block) <begin>: Comment on BEGIN == 0.
3434 * btrace.c (btrace_compute_ftrace): Start from the end of
3436 (btrace_stitch_trace, btrace_clear_history): New.
3437 (btrace_fetch): Read delta trace, return if replaying.
3438 (btrace_clear): Move clear history code to btrace_clear_history.
3439 (parse_xml_btrace): Throw an error if parsing failed.
3440 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3441 and return type to allow error reporting.
3442 (target_read_btrace): Change parameters and return type to allow
3444 * target.c (target_read_btrace): Update.
3445 * remote.c (remote_read_btrace): Support delta reads. Pass
3447 * NEWS: Announce it.
3449 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3451 * record.h (record_btrace_frame_unwind)
3452 (record_btrace_tailcall_frame_unwind): New declarations.
3453 * dwarf2-frame: Include record.h
3454 (dwarf2_frame_cfa): Throw an error for btrace frames.
3455 * record-btrace.c: Include hashtab.h.
3456 (btrace_get_bfun_name): New.
3457 (btrace_call_history): Call btrace_get_bfun_name.
3458 (struct btrace_frame_cache): New.
3460 (bfcache_hash, bfcache_eq, bfcache_new): New.
3461 (btrace_get_frame_function): New.
3462 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3463 (record_btrace_frame_this_id): Compute own id.
3464 (record_btrace_frame_prev_register): Provide PC, throw_error
3465 for all other registers.
3466 (record_btrace_frame_sniffer): Detect btrace frames.
3467 (record_btrace_tailcall_frame_sniffer): New.
3468 (record_btrace_frame_dealloc_cache): New.
3469 (record_btrace_frame_unwind): Add new functions.
3470 (record_btrace_tailcall_frame_unwind): New.
3471 (_initialize_record_btrace): Allocate cache.
3472 * btrace.c (btrace_clear): Call reinit_frame_cache.
3473 * NEWS: Announce it.
3475 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3477 * record-btrace.c (record_btrace_set_replay)
3478 (record_btrace_goto_begin, record_btrace_goto_end)
3479 (record_btrace_goto): New.
3480 (init_record_btrace_ops): Initialize them.
3481 * NEWS: Announce it.
3483 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3485 * record-btrace.c (record_btrace_find_new_threads)
3486 (record_btrace_thread_alive): New.
3487 (init_record_btrace_ops): Initialize to_find_new_threads and
3490 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3492 * record-btrace.c (record_btrace_resume): New.
3493 (record_btrace_wait): New.
3494 (init_record_btrace_ops): Initialize to_wait and to_resume.
3496 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3498 * record-btrace.c (record_btrace_xfer_partial)
3499 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3500 (record_btrace_allow_memory_access): New.
3501 (init_record_btrace_ops): Initialize new methods.
3502 * target.c (raw_memory_xfer_partial): Bail out if target reports
3503 that this memory is not available.
3505 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3507 * target.h (target_ops) <to_insert_breakpoint>
3508 <to_remove_breakpoint>: Add target_ops parameter.
3509 (forward_target_insert_breakpoint): New.
3510 (forward_target_remove_breakpoint): New.
3511 (memory_remove_breakpoint, memory_insert_breakpoint):
3512 Add target_ops parameter.
3513 * target.c (target_insert_breakpoint): Split into this and ...
3514 (forward_target_insert_breakpoint): ... this.
3515 (target_remove_breakpoint): Split into this and ...
3516 (forward_target_remove_breakpoint): ... this.
3517 (debug_to_insert_breakpoint): Add target_ops parameter.
3518 Call forward_target_insert_breakpoint.
3519 (debug_to_remove_breakpoint): Add target_ops parameter.
3520 Call forward_target_remove_breakpoint.
3521 (update_current_target): Do not inherit or default to_insert_breakpoint
3522 and to_remove_breakpoint.
3523 * corelow.c (ignore): Add target_ops parameter.
3524 * exec.c (ignore): Add target_ops parameter.
3525 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3526 Add target_ops parameter.
3527 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3528 Add target_ops parameter.
3529 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3530 Add target_ops parameter.
3531 * record-full.c (record_full_beneath_to_insert_breakpoint)
3532 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3533 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3534 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
3535 (record_full_core_remove_breakpoint): Add target_ops parameter.
3537 (record_full_beneath_to_insert_breakpoint_ops)
3538 (record_full_beneath_to_remove_breakpoint_ops)
3539 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
3540 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
3541 tmp_to_remove_breakpoint_ops,
3542 record_full_beneath_to_insert_breakpoint_ops, and
3543 record_full_beneath_to_remove_breakpoint_ops.
3544 * remote-m32r-sdi.c (m32r_insert_breakpoint)
3545 (m32r_remove_breakpoint): Add target_ops parameter.
3546 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
3547 Add target_ops parameter.
3548 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
3549 Add target_ops parameter.
3551 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3552 Markus Metzger <markus.t.metzger@intel.com>
3554 * record-btrace.c: Include frame-unwind.h.
3555 (record_btrace_frame_unwind_stop_reason)
3556 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
3557 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
3559 (init_record_btrace_ops): Install it.
3561 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3563 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
3566 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3568 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
3571 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3573 * frame-unwind.c: Include target.h.
3574 (frame_unwind_try_unwinder): New function with code from ...
3575 (frame_unwind_find_by_frame): ... here. New variable
3576 unwinder_from_target, call also target_get_unwinder)
3577 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
3578 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
3579 * target.h (struct target_ops): New fields to_get_unwinder and
3580 to_get_tailcall_unwinder.
3581 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
3583 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3585 * record-btrace.c (record_btrace_fetch_registers)
3586 (record_btrace_store_registers)
3587 (record_btrace_to_prepare_to_store): New.
3588 (init_record_btrace_ops): Add the above.
3590 2014-01-16 Tom Tromey <tromey@redhat.com>
3592 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
3593 * target.h (struct target_ops) <to_prepare_to_store>: Add
3595 (target_prepare_to_store): Add argument.
3596 * target.c (debug_to_prepare_to_store): Add argument.
3597 (update_current_target): Update.
3598 * remote.c (remote_prepare_to_store): Add 'self' argument.
3599 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
3600 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
3601 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
3602 * record-full.c (record_full_core_prepare_to_store): Add 'self'
3604 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
3605 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
3606 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
3607 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
3608 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
3610 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3612 * btrace.h (replay) <replay>: New.
3613 (btrace_is_replaying): New.
3614 * btrace.c (btrace_clear): Free replay iterator.
3615 (btrace_is_replaying): New.
3616 * record-btrace.c (record_btrace_is_replaying): New.
3617 (record_btrace_info): Print insn number if replaying.
3618 (record_btrace_insn_history): Start at replay position.
3619 (record_btrace_call_history): Start at replay position.
3620 (init_record_btrace_ops): Init to_record_is_replaying.
3622 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3624 * record-btrace.c (record_btrace_insn_history_range): Include
3626 (record_btrace_insn_history_from): Adjust range.
3627 (record_btrace_call_history_range): Include
3629 (record_btrace_call_history_from): Adjust range.
3630 * NEWS: Announce changes.
3632 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3634 * record.h (enum record_print_flag)
3635 <record_print_indent_calls>: New.
3636 * record.c (get_call_history_modifiers): Recognize /c modifier.
3637 (_initialize_record): Document /c modifier.
3638 * record-btrace.c (btrace_call_history): Add btinfo parameter.
3639 Reorder fields. Optionally indent the function name. Update
3641 * NEWS: Announce changes.
3643 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3645 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
3647 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3649 * btrace.c (ftrace_new_function): Start counting at one.
3650 * record-btrace.c (record_btrace_info): Adjust number of calls
3652 * NEWS: Announce it.
3654 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3656 * record-btrace.c (btrace_call_history_insn_range): Print
3657 insn range as [begin, end].
3659 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3661 * btrace.h (struct btrace_func_link): New.
3662 (enum btrace_function_flag): New.
3663 (struct btrace_inst): Rename to ...
3664 (struct btrace_insn): ...this. Update all users.
3665 (struct btrace_func) <ibegin, iend>: Remove.
3666 (struct btrace_func_link): New.
3667 (struct btrace_func): Rename to ...
3668 (struct btrace_function): ...this. Update all users.
3669 (struct btrace_function) <segment, flow, up, insn, insn_offset)
3670 (number, level, flags>: New.
3671 (struct btrace_insn_iterator): Rename to ...
3672 (struct btrace_insn_history): ...this.
3674 (struct btrace_insn_iterator, btrace_call_iterator): New.
3675 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
3676 (struct btrace_target_info) <begin, end, level>
3677 <insn_history, call_history>: New.
3678 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3679 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3680 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3681 (btrace_call_number, btrace_call_begin, btrace_call_end)
3682 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3683 (btrace_find_function_by_number, btrace_set_insn_history)
3684 (btrace_set_call_history): New.
3685 * btrace.c (btrace_init_insn_iterator)
3686 (btrace_init_func_iterator, compute_itrace): Remove.
3687 (ftrace_print_function_name, ftrace_print_filename)
3688 (ftrace_skip_file): Change
3690 (ftrace_init_func): Remove.
3691 (ftrace_debug): Use new btrace_function fields.
3692 (ftrace_function_switched): Also consider gaining and
3693 losing symbol information).
3694 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
3695 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
3696 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
3698 (ftrace_new_function): Move. Remove debug print.
3699 (ftrace_update_lines, ftrace_update_insns): New.
3700 (ftrace_update_function): Check for call, ret, and jump.
3701 (compute_ftrace): Renamed to ...
3702 (btrace_compute_ftrace): ...this. Rewritten to compute call
3704 (btrace_fetch, btrace_clear): Updated.
3705 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3706 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3707 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3708 (btrace_call_number, btrace_call_begin, btrace_call_end)
3709 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3710 (btrace_find_function_by_number, btrace_set_insn_history)
3711 (btrace_set_call_history): New.
3712 * record-btrace.c (require_btrace): Use new btrace thread
3714 (record_btrace_info, btrace_insn_history)
3715 (record_btrace_insn_history, record_btrace_insn_history_range):
3716 Use new btrace thread info fields and new iterator.
3717 (btrace_func_history_src_line): Rename to ...
3718 (btrace_call_history_src_line): ...this. Use new btrace
3720 (btrace_func_history): Rename to ...
3721 (btrace_call_history): ...this. Use new btrace thread info
3722 fields and new iterator.
3723 (record_btrace_call_history, record_btrace_call_history_range):
3724 Use new btrace thread info fields and new iterator.
3726 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3728 * frame.h (frame_id_build_unavailable_stack_special): New.
3729 * frame.c (frame_id_build_unavailable_stack_special): New.
3731 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3733 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
3734 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
3735 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
3737 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
3738 (i386_insn_is_jump, i386_jmp_p): New.
3739 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
3740 insn_is_jump to gdbarch.
3741 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
3742 * gdbarch.h: Regenerated.
3743 * gdbarch.c: Regenerated.
3744 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
3745 (default_insn_is_jump): New.
3746 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
3747 (default_insn_is_jump): New.
3749 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3751 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
3753 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
3754 (btrace_read_type) <btrace_read_new>: Change to ...
3755 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
3757 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3759 * common/linux-btrace.c (linux_read_btrace): Free trace from
3762 2014-01-15 Doug Evans <dje@google.com>
3764 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
3767 2014-01-15 Tom Tromey <tromey@redhat.com>
3769 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
3770 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
3771 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
3772 (set_objfile_main_name): New function.
3773 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
3774 language_of_main>: New fields.
3775 (set_objfile_main_name): Declare.
3776 * symtab.c (find_main_name): Loop over objfiles to find the main
3778 (set_main_name): Now static.
3779 (get_main_info): Add comment.
3780 * symtab.h (set_main_name): Don't declare.
3782 2014-01-15 Tom Tromey <tromey@redhat.com>
3784 * symtab.c (main_progspace_key): New global.
3785 (struct main_info): New.
3786 (name_of_main, language_of_main): Remove.
3787 (get_main_info, main_info_cleanup): New function.
3788 (set_main_name, main_name, main_language): Use get_main_info.
3789 (_initialize_symtab): Initialize main_progspace_key.
3791 2014-01-15 Tom Tromey <tromey@redhat.com>
3793 * dbxread.c (process_one_symbol): Update.
3794 * dwarf2read.c (read_partial_die): Update.
3795 * symfile.c (set_initial_language): Call main_language.
3796 * symtab.c (language_of_main): Now static.
3797 (set_main_name): Add 'lang' parameter.
3798 (find_main_name): Update.
3799 (main_language): New function.
3800 (symtab_observer_executable_changed): Update.
3801 * symtab.h (set_main_name): Update.
3802 (language_of_main): Remove.
3803 (main_language): Declare.
3805 2014-01-15 Tom Tromey <tromey@redhat.com>
3807 * symfile.c (init_entry_point_info): Use new "initialized" field.
3809 * objfiles.h (struct entry_point) <initialized>: New field.
3810 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
3811 (struct objfile) <ei>: ...here. Remove.
3812 * objfiles.c (entry_point_address_query): Update.
3814 2014-01-15 Tom Tromey <tromey@redhat.com>
3816 * objfiles.c (entry_point_address_query): Relocate entry point
3818 (objfile_relocate1): Do not relocate entry point address.
3819 * objfiles.h (struct entry_info) <entry_point>: Update comment.
3820 <the_bfd_section_index>: New field.
3821 * symfile.c (init_entry_point_info): Find the entry point's
3824 2014-01-15 Tom Tromey <tromey@redhat.com>
3826 * solib-frv.c (enable_break): Use entry_point_address_query.
3828 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3830 * NEWS: Add note on improved process record-replay on
3831 arm*-linux* targets.
3833 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3835 * arm-tdep.c (enum arm_record_result): New enum.
3836 (arm_record_unsupported_insn): New function.
3837 (arm_record_coproc_data_proc): Removed.
3838 (thumb2_record_ld_st_multiple): New function.
3839 (thumb2_record_ld_st_dual_ex_tbb): New function.
3840 (thumb2_record_data_proc_sreg_mimm): New function.
3841 (thumb2_record_ps_dest_generic): New function.
3842 (thumb2_record_branch_misc_cntrl): New function.
3843 (thumb2_record_str_single_data): New function.
3844 (thumb2_record_ld_mem_hints): New function.
3845 (thumb2_record_ld_word): New function.
3846 (thumb2_record_lmul_lmla_div): New function.
3847 (thumb2_record_decode_insn_handler): New function.
3848 (decode_insn): Add thumb32 instruction handlers.
3850 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3852 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
3853 (struct arm_linux_record_tdep): Declare.
3854 (arm_canonicalize_syscall): New function.
3855 (arm_all_but_pc_registers_record): New function.
3856 (arm_linux_syscall_record): New function.
3857 (arm_linux_init_abi): Add syscall recording constructs.
3858 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
3859 decoding. (arm_record_coproc_data_proc): Update arm syscall
3861 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
3862 <arm_syscall_record>: New field.
3863 * configure.tgt (arm*-*-linux*): Add linux-record.o to
3866 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3868 * arm-tdep.c (thumb_record_misc): Update to use sp as base
3869 register for push instruction recording.
3871 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3873 * arm-tdep.c (thumb_record_misc): Update to correct logical
3874 error while recording ldm, ldmia and pop instructions.
3876 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3878 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
3880 2014-01-15 Pedro Alves <palves@redhat.com>
3882 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
3883 (go32_resume, go32_fetch_registers, store_register)
3884 (go32_store_registers, go32_prepare_to_store)
3885 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
3886 (go32_create_inferior, go32_can_run, go32_terminal_init)
3887 (go32_terminal_inferior, go32_terminal_ours): Delete forward
3890 2014-01-15 Tom Tromey <tromey@redhat.com>
3892 * target.h (async_callback_ftype): New typedef.
3893 (struct target_ops) <to_async>: Use it.
3895 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3897 * python/py-value.c (get_field_type): Remove unnecessary curly
3898 braces for single-statement if block.
3900 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3902 * python/py-type.c (convert_field): Add missing empty line
3905 2014-01-14 Doug Evans <dje@google.com>
3907 * symfile.h (expand_symtabs_matching): Renamed from
3908 expand_partial_symbol_names. Update prototype.
3909 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3910 * symfile.c (expand_symtabs_matching): Renamed from
3911 expand_partial_symbol_names. New args file_matcher, kind.
3912 Rename arg fun to symbol_matcher.
3913 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3914 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
3915 ada_expand_partial_symbol_name.
3916 (ada_make_symbol_completion_list): Update to call
3917 expand_symtabs_matching.
3918 (ada_add_global_exceptions): Call expand_symtabs_matching.
3919 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
3920 call map_symbol_filenames.
3921 * symtab.c (sources_info): Update to call map_symbol_filenames.
3922 (search_symbols): Call expand_symtabs_matching.
3923 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
3924 (default_make_symbol_completion_list_break_on): Update to call
3925 expand_symtabs_matching.
3926 (make_source_files_completion_list): Update to call
3927 map_symbol_filenames.
3929 2014-01-14 Doug Evans <dje@google.com>
3931 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
3932 (expand_symtabs_symbol_matcher_ftype): New typedef.
3933 (quick_symbol_functions.expand_symtabs_matching): Update to use.
3934 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3935 * symfile.c (expand_partial_symbol_names): Update to use
3936 expand_symtabs_symbol_matcher_ftype.
3937 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
3938 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3939 Arg name_matcher renamed to symbol_matcher.
3940 * psymtab.c (recursively_search_psymtabs): Update to use
3941 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
3943 (expand_symtabs_matching_via_partial): Update to use
3944 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3945 Arg name_matcher renamed to symbol_matcher.
3947 2014-01-14 Doug Evans <dje@google.com>
3949 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
3950 (map_partial_symbol_filenames): Ditto.
3951 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
3952 (map_partial_symbol_filenames): Ditto.
3953 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
3954 (map_partial_symbol_filenames): Ditto.
3955 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
3956 (map_partial_symbol_filenames): Ditto.
3957 * symtab.c: Delete #include "psymtab.h".
3959 2014-01-14 Pedro Alves <palves@redhat.com>
3960 Tom Tromey <tromey@redhat.com>
3962 * infrun.c (use_displaced_stepping): Use find_record_target
3963 instead of RECORD_IS_USED.
3964 (adjust_pc_after_break): Use record_full_is_used instead of
3966 * record-btrace.c (record_btrace_open): Call record_preopen
3967 instead of checking RECORD_IS_USED.
3968 * record-full.c (record_full_shortname)
3969 (record_full_core_shortname): New globals.
3970 (record_full_is_used): New function.
3971 (find_full_open): Call record_preopen instead of checking
3973 (init_record_full_ops): Set the target's shortname to
3974 record_full_shortname.
3975 (init_record_full_core_ops): Set the target's shortname to
3976 record_full_core_shortname.
3977 * record-full.h (record_full_is_used): Declare.
3978 * record.c (find_record_target): Make extern.
3979 (record_preopen): New function.
3980 * record.h (RECORD_IS_USED): Delete macro.
3981 (find_record_target, record_preopen): Declare functions.
3983 2014-01-14 Yao Qi <yao@codesourcery.com>
3985 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
3986 'len''s type to ULONGEST.
3987 (core_xfer_shared_libraries_aix): Likewise.
3988 * gdbarch.c, gdbarch.h: Regenerated.
3989 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
3990 Change type of 'len' to ULONGEST.
3991 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3992 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
3994 2014-01-14 Yao Qi <yao@codesourcery.com>
3996 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
3997 type of 'len' to ULONGEST.
3998 (linux_xfer_osdata_processgroups): Likewise.
3999 (linux_xfer_osdata_threads): Likewise.
4000 (linux_xfer_osdata_fds): Likewise.
4001 (linux_xfer_osdata_isockets): Likewise.
4002 (linux_xfer_osdata_shm): Likewise.
4003 (linux_xfer_osdata_sem): Likewise.
4004 (linux_xfer_osdata_msg): Likewise.
4005 (linux_common_xfer_osdata): Likewise.
4006 (struct osdata_type) <getter>: Likewise.
4007 * common/linux-osdata.h (linux_common_xfer_osdata): Update
4010 2014-01-14 Yao Qi <yao@codesourcery.com>
4012 * target.h (target_xfer_partial_ftype): Update.
4013 (struct target_ops) <to_xfer_partial>: Change 'len' type to
4015 * aix-thread.c (aix_thread_xfer_partial): Change type of
4016 argument 'len' to ULONGEST.
4017 * auxv.c (procfs_xfer_auxv): Likewise.
4018 (ld_so_xfer_auxv): Likewise.
4019 (memory_xfer_auxv): Likewise.
4020 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4021 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4022 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4023 * corelow.c (core_xfer_partial): Likewise.
4024 * ctf.c (ctf_xfer_partial): Likewise.
4025 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
4027 (darwin_read_dyld_info): Likewise.
4028 (darwin_xfer_partial): Likewise.
4029 * exec.c (section_table_xfer_memory_partial): Likewise.
4030 (exec_xfer_partial): Likewise.
4031 * exec.h (section_table_xfer_memory_partial): Update
4033 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
4034 instead of plongest.
4035 (gnu_xfer_partial): Likewise.
4036 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
4037 (ia64_hpux_xfer_solib_got): Likewise.
4038 (ia64_hpux_xfer_partial): Likewise.
4039 * ia64-linux-nat.c (ia64_linux_xfer_partial):
4040 * inf-ptrace.c (inf_ptrace_xfer_partial):
4041 * inf-ttrace.c (inf_ttrace_xfer_partial):
4042 * linux-nat.c (linux_xfer_siginfo): Likewise.
4043 (linux_nat_xfer_partial): Likewise.
4044 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
4045 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
4046 * monitor.c (monitor_xfer_memory): Likewise.
4047 (monitor_xfer_partial): Likewise.
4048 * procfs.c (procfs_xfer_partial): Likewise.
4049 * record-full.c (record_full_xfer_partial): Likewise.
4050 (record_full_core_xfer_partial): Likewise.
4051 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
4052 instead of plongest.
4053 (gdbsim_xfer_partial): Likewise.
4054 * remote.c (remote_xfer_partial): Likewise.
4055 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4056 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4058 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4059 (rs6000_xfer_shared_libraries): Likewise.
4060 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4061 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4062 (sparc_xfer_partial): Likewise.
4063 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4064 (spu_xfer_partial): Likewise.
4065 * spu-multiarch.c (spu_xfer_partial): Likewise.
4066 * target.c (target_read_live_memory): Likewise.
4067 (memory_xfer_live_readonly_partial): Likewise.
4068 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
4069 (target_xfer_partial, default_xfer_partial): Likewise.
4070 (current_xfer_partial): Likewise.
4071 * tracepoint.c (tfile_xfer_partial): Likewise.
4072 * windows-nat.c (windows_xfer_memory): Likewise. Call
4073 pulongest instead of plongest.
4074 (windows_xfer_partial): Likewise.
4075 (windows_xfer_shared_libraries): Likewise.
4077 2014-01-14 Yao Qi <yao@codesourcery.com>
4079 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
4080 target_xfer_partial_ftype.
4082 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4086 * valops.c (value_struct_elt_bitpos): New function
4087 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
4088 object to 'None' if the field name is an empty string ("").
4089 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
4090 attribute to look for a field when 'name' is 'None'.
4091 (get_field_type): New function
4093 2014-01-13 Doug Evans <dje@google.com>
4096 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
4097 (try_open_dwop_file): Ditto.
4098 * gdb_bfd.c: #include "vec.h".
4099 (bfdp): New typedef.
4100 (struct gdb_bfd_data): New member included_bfds.
4101 (gdb_bfd_unref): Unref all included bfds.
4102 (gdb_bfd_record_inclusion): New function.
4103 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
4105 2014-01-13 Tom Tromey <tromey@redhat.com>
4107 * gdbcore.h (deprecated_core_resize_section_table): Remove.
4109 2014-01-13 Tom Tromey <tromey@redhat.com>
4111 * defs.h (use_windows): Remove.
4112 * gdb.c (main): Update.
4113 * main.c (captured_main, gdb_main): Update.
4114 * main.h (struct captured_main_args) <use_windows>: Remove.
4115 * top.c (use_windows): Remove.
4117 2014-01-13 Tom Tromey <tromey@redhat.com>
4119 * defs.h (deprecated_flush_hook): Remove.
4121 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4124 * linux-thread-db.c (try_thread_db_load): Add parameter
4125 check_auto_load_safe. Move here the file_is_auto_load_safe call.
4126 (try_thread_db_load_from_pdir_1): Move it there from here.
4127 (try_thread_db_load_from_sdir): Update caller.
4128 (try_thread_db_load_from_dir): Move it there from here.
4130 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
4132 * regformats/regdat.sh: Always rewrite the register file.
4134 2014-01-13 Pedro Alves <palves@redhat.com>
4136 * Makefile.in (CHECK_HEADERS): New variable.
4137 (check-headers:): New rule.
4139 2014-01-13 Tom Tromey <tromey@redhat.com>
4141 * cli/cli-setshow.c (do_set_command): Update.
4142 * defs.h (deprecated_set_hook): Remove.
4143 * top.c (deprecated_set_hook): Remove.
4145 2014-01-13 Pedro Alves <palves@redhat.com>
4147 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
4148 the tracepoint if the PC is a pseudo-register.
4150 2014-01-13 Tom Tromey <tromey@redhat.com>
4152 * defs.h (XCALLOC): Remove.
4153 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
4154 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
4155 * dwarf2loc.c (allocate_piece_closure): Likewise.
4156 * elfread.c (elf_symfile_segments): Likewise.
4157 (elf_symfile_segments): Likewise.
4158 * gdbtypes.c (copy_type_recursive): Likewise.
4159 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
4160 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
4161 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
4163 * mt-tdep.c (mt_gdbarch_init): Likewise.
4164 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
4166 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
4167 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
4168 * registry.c (registry_alloc_data): Likewise.
4169 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
4170 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
4171 * serial.c (serial_fdopen_ops): Likewise.
4172 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
4174 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
4175 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
4178 2014-01-13 Tom Tromey <tromey@redhat.com>
4180 * defs.h (XMALLOC): Remove.
4181 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
4182 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
4183 * cli-out.c (struct ui_out *): Likewise.
4184 * cli/cli-dump.c (add_dump_command): Likewise.
4185 (add_dump_command): Likewise.
4186 * complaints.c (get_complaints): Likewise.
4187 (find_complaint): Likewise.
4188 * dwarf2-frame.c (execute_cfa_program): Likewise.
4189 * dwarf2read.c (abbrev_table_read_table): Likewise.
4190 * gdbarch.sh: Likewise.
4191 * gdbarch.c: Rebuild.
4192 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
4193 * interps.c (interp_new): Likewise.
4194 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
4195 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
4196 * mi/mi-console.c (mi_console_file_new): Likewise.
4197 * mi/mi-interp.c (mi_interpreter_init): Likewise.
4198 * mi/mi-out.c (mi_out_new): Likewise.
4199 * mi/mi-parse.c (mi_parse): Likewise.
4200 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
4201 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
4202 * observer.c (xalloc_observer_list_node): Likewise.
4203 * regcache.c (regcache_xmalloc_1): Likewise.
4204 * reggroups.c (reggroup_new): Likewise.
4205 (_initialize_reggroup): Likewise.
4206 * registry.c (register_data_with_cleanup): Likewise.
4207 * remote.c (remote_notif_stop_alloc_reply): Likewise.
4208 * ser-base.c (serial_ttystate): Likewise.
4209 * ser-mingw.c (make_pipe_state): Likewise.
4210 * ser-pipe.c (pipe_open): Likewise.
4211 * serial.c (serial_open): Likewise.
4212 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
4213 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
4214 (tui_alloc_win_info): Likewise.
4215 (tui_add_content_elements): Likewise.
4216 * tui/tui-file.c (tui_file_new): Likewise.
4217 * tui/tui-out.c (tui_out_new): Likewise.
4218 * ui-file.c (mem_file_new): Likewise.
4219 * ui-out.c (push_level): Likewise.
4220 (make_cleanup_ui_out_end): Likewise.
4221 (append_header_to_list): Likewise.
4222 (ui_out_new): Likewise.
4223 * user-regs.c (user_reg_add_builtin): Likewise.
4225 2014-01-13 Tom Tromey <tromey@redhat.com>
4227 * defs.h (XZALLOC): Remove.
4228 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
4229 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
4230 (get_ada_tasks_inferior_data): Likewise.
4231 * auto-load.c (get_auto_load_pspace_data): Likewise.
4232 * auxv.c (get_auxv_inferior_data): Likewise.
4233 * bfd-target.c (target_bfd_reopen): Likewise.
4234 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
4235 (deprecated_insert_raw_breakpoint): Likewise.
4236 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
4237 * corelow.c (core_open): Likewise.
4238 * darwin-nat.c (darwin_check_new_threads): Likewise.
4239 (darwin_attach_pid): Likewise.
4240 * dummy-frame.c (dummy_frame_push): Likewise.
4241 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
4242 * dwarf2loc.c (allocate_piece_closure): Likewise.
4243 * elfread.c (elf_symfile_segments): Likewise.
4244 * eval.c (ptrmath_type_p): Likewise.
4245 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
4246 * gdbtypes.c (alloc_type_arch): Likewise.
4247 (alloc_type_instance): Likewise.
4248 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
4249 * inf-child.c (inf_child_can_use_agent): Likewise.
4250 * inflow.c (get_inflow_inferior_data): Likewise.
4251 * infrun.c (save_infcall_suspend_state): Likewise.
4252 * jit.c (jit_reader_load): Likewise.
4253 (get_jit_objfile_data): Likewise.
4254 (get_jit_program_space_data): Likewise.
4255 (jit_object_open_impl): Likewise.
4256 (jit_symtab_open_impl): Likewise.
4257 (jit_block_open_impl): Likewise.
4258 (jit_frame_sniffer): Likewise.
4259 * linux-fork.c (add_fork): Likewise.
4260 * maint.c (make_command_stats_cleanup): Likewise.
4261 * objfiles.c (get_objfile_pspace_data): Likewise.
4262 * opencl-lang.c (struct lval_closure): Likewise.
4263 * osdata.c (osdata_start_osdata): Likewise.
4264 * progspace.c (new_address_space): Likewise.
4265 (add_program_space): Likewise.
4266 * remote-sim.c (get_sim_inferior_data): Likewise.
4267 * sh-tdep.c (sh_gdbarch_init): Likewise.
4268 * skip.c (Ignore): Likewise.
4269 (skip_delete_command): Likewise.
4270 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4271 (library_list_start_library): Likewise.
4272 (solib_aix_current_sos): Likewise.
4273 * solib-darwin.c (get_darwin_info): Likewise.
4274 (darwin_current_sos): Likewise.
4275 * solib-dsbt.c (get_dsbt_info): Likewise.
4276 * solib-ia64-hpux.c (new_so_list): Likewise.
4277 (ia64_hpux_get_solib_linkage_addr): Likewise.
4278 * solib-spu.c (append_ocl_sos): Likewise.
4279 (spu_current_sos): Likewise.
4280 * solib-svr4.c (get_svr4_info): Likewise.
4281 (svr4_keep_data_in_core): Likewise.
4282 (library_list_start_library): Likewise.
4283 (svr4_default_sos): Likewise.
4284 (svr4_read_so_list): Likewise.
4285 * solib-target.c (library_list_start_library): Likewise.
4286 (solib_target_current_sos): Likewise.
4287 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4288 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4289 * symfile.c (default_symfile_segments): Likewise.
4290 * target-descriptions.c (tdesc_data_init): Likewise.
4291 (tdesc_create_reg): Likewise.
4292 (struct tdesc_type *): Likewise.
4293 (tdesc_create_vector): Likewise.
4294 (tdesc_set_struct_size): Likewise.
4295 (struct tdesc_type *): Likewise.
4296 (tdesc_free_feature): Likewise.
4297 (tdesc_create_feature): Likewise.
4298 * windows-nat.c (windows_add_thread): Likewise.
4299 (windows_make_so): Likewise.
4300 * xml-support.c (gdb_xml_body_text): Likewise.
4301 (gdb_xml_create_parser_and_cleanup): Likewise.
4302 (xml_process_xincludes): Likewise.
4303 * xml-syscall.c (allocate_syscalls_info): Likewise.
4304 (syscall_create_syscall_desc): Likewise.
4306 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4308 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4309 function, with code from i386_stap_parse_special_token.
4310 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4311 (i386_stap_parse_special_token): Move code to the two functions
4314 2014-01-09 Pedro Alves <palves@redhat.com>
4315 Hui Zhu <hui@codesourcery.com>
4318 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4319 bp_err_string. Don't mark the location shlib_disabled if the
4320 error thrown wasn't a generic or memory error. Catch errors
4321 thrown while inserting breakpoints in overlayed code. Output
4322 error message of software breakpoints.
4323 * remote.c (remote_insert_breakpoint): If this breakpoint has
4324 target-side commands but this stub doesn't support Z0 packets,
4325 throw NOT_SUPPORTED_ERROR error.
4326 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4327 * target.h (target_insert_breakpoint): Extend comment.
4328 (target_insert_hw_breakpoint): Add comment.
4330 2014-01-08 Pedro Alves <palves@redhat.com>
4332 * remote.c (remote_add_thread): Add threads silently if starting
4334 (remote_notice_new_inferior): If in all-stop, and starting up,
4335 don't call notice_new_inferior.
4336 (get_current_thread): New function, factored out from ...
4337 (add_current_inferior_and_thread): ... this. Adjust.
4338 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4339 found any thread, then select the remote's current thread as GDB's
4342 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4344 * NEWS: Create a new section for the next release branch.
4345 Rename the section of the current branch, now that it has
4348 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4350 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4351 * version.in: Bump version to 7.7.50.DATE-cvs.
4353 2014-01-08 Yao Qi <yao@codesourcery.com>
4355 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4356 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4357 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4359 2014-01-08 Yao Qi <yao@codesourcery.com>
4361 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4362 return value of bfd_get_filename to symbol_file_add_from_bfd.
4364 2014-01-08 Pierre Muller <muller@sourceware.org>
4367 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4368 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4369 to prim_record_mininal_symbol_and_info.
4370 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4371 in call to prim_record_minimal_symbol_and_info.
4372 (read_pe_exported_syms): Set index field of section_data.
4374 2014-01-07 Andrew Pinski <apinski@cavium.com>
4376 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4377 * features/aarch64.c: Regenerate.
4379 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4381 * target.c (return_null): Define.
4382 (update_current_target): Use it instead of return_zero for
4383 functions that return a pointer.
4385 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4387 * source.c (add_path): Fix check for duplicated paths in the previously
4390 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4392 * ada-lang.c: Remove duplicated include statements.
4393 * alphabsd-nat.c: Ditto.
4394 * amd64-darwin-tdep.c: Ditto.
4395 * amd64fbsd-nat.c: Ditto.
4396 * auto-load.c: Ditto.
4398 * breakpoint.c: Ditto.
4400 * fork-child.c: Ditto.
4401 * gdb_usleep.c: Ditto.
4402 * i386-darwin-tdep.c: Ditto.
4403 * i386fbsd-nat.c: Ditto.
4405 * inferior.c: Ditto.
4407 * linux-nat.c: Ditto.
4408 * linux-tdep.c: Ditto.
4409 * m68kbsd-nat.c: Ditto.
4410 * m68klinux-nat.c: Ditto.
4411 * microblaze-tdep.c: Ditto.
4412 * mips-linux-tdep.c: Ditto.
4413 * mn10300-tdep.c: Ditto.
4414 * nto-tdep.c: Ditto.
4415 * opencl-lang.c: Ditto.
4417 * printcmd.c: Ditto.
4418 * regcache.c: Ditto.
4419 * remote-m32r-sdi.c: Ditto.
4423 * tilegx-linux-nat.c: Ditto.
4424 * tilegx-tdep.c: Ditto.
4425 * tracepoint.c: Ditto.
4427 * vaxbsd-nat.c: Ditto.
4428 * windows-nat.c: Ditto.
4429 * xtensa-tdep.c: Ditto.
4431 2014-01-07 Yao Qi <yao@codesourcery.com>
4433 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4435 2014-01-07 Yao Qi <yao@codesourcery.com>
4436 Joel Brobecker <brobecker@adacore.com>
4438 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4439 (pdc_write_regs): Likewise.
4440 (fetch_regs_kernel_thread): Likewise.
4441 (store_regs_kernel_thread): Likewise.
4443 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4445 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4446 tagged type objects to their actual type.
4448 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4450 * ada-valprint.c (print_field_values): Add "language" parameter.
4451 Update calls to print_field_values and print_variant_part.
4452 Pass new parameter "language" in call to val_print instead
4453 of "current_language". Replace call to ada_val_print by call
4455 (print_variant_part): Add "language" parameter.
4456 (ada_val_print_struct_union): Update call to print_field_values.
4458 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4460 * ada-valprint.c (ui_memcpy): Delete.
4461 (ada_print_floating): Update documentation. Add empty line
4462 between between function documentation and implementation.
4463 Delete variable "buffer". Use ui_file_xstrdup in place of
4464 ui_file_put. Minor adjustments following this change.
4466 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4468 * ada-valprint.c (ada_val_print_string): New function,
4469 extracted from ada_val_print_array.
4470 (ada_val_print_array): Replace extracted code by call
4471 to ada_val_print_string followed by a return. Move
4472 "else" branch to the function's top block.
4474 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4476 * ada-valprint.c (ada_val_print_array): Move implementation
4477 down. Rename parameter "offset" and "val" into "offset_aligned"
4478 and "original_value" respectively. Add parameter "offset".
4480 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4482 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4483 re-organizing the code. Change the "???" message printed
4484 when target type is a TYPE_CODE_UNDEF into
4485 "<ref to undefined type>".
4487 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4489 * ada-valprint.c (print_record): Delete, implementation inlined...
4490 (ada_val_print_struct_union): ... here. Remove call to
4491 ada_check_typedef in inlined implementation.
4493 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4495 * ada-valprint.c (ada_val_print_gnat_array): New function,
4496 extracted from ada_val_print_1;
4497 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4498 (ada_val_print_flt, ada_val_print_struct_union)
4499 (ada_val_print_ref): Likewise.
4500 (ada_val_print_1): Delete variables i and elttype.
4501 Replace extracted-out code by call to corresponding
4504 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4506 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4508 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4510 * ada-valprint.c (ada_val_print_1): Replace calls to
4511 ada_val_print_1 by calls to val_print.
4513 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4515 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4516 Update calls to self accordingly. Replace calls to c_val_print
4517 by calls to val_print.
4519 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4521 * ada-valprint.c (print_record): Delete declaration.
4522 (adjust_type_signedness, ada_val_print_1): Likewise.
4523 (ada_val_print): Move function implementation down.
4524 (print_variant_part, print_field_values, print_record):
4525 Move function implementation up.
4527 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4529 * python/py-type.c (typy_get_name): New function.
4530 (type_object_getset): Add entry for attribute "name".
4531 * NEWS: Add entry mentioning this new attribute.
4533 2014-01-07 Yao Qi <yao@codesourcery.com>
4535 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
4538 2014-01-07 Yao Qi <yao@codesourcery.com>
4540 * gnu-nat.c (info_port_rights): Add qualifier const to
4543 2014-01-07 Yao Qi <yao@codesourcery.com>
4545 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
4547 2014-01-07 Yao Qi <yao@codesourcery.com>
4549 * gnu-nat.c (make_inf) Update declaration.
4550 (make_inf): Make it static.
4551 (inf_set_traced): Likewise.
4552 (inf_port_to_thread, inf_task_died_status): Likewise.
4554 2014-01-07 Yao Qi <yao@codesourcery.com>
4556 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
4558 2014-01-07 Yao Qi <yao@codesourcery.com>
4560 * gnu-nat.c (_initialize_gnu_nat): Declare.
4562 2014-01-07 Yao Qi <yao@codesourcery.com>
4564 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
4566 (struct gdbarch_info) <byte_order>: Change type to
4568 <byte_order_for_code>: Likewise.
4569 * gdbarch.c, gdbarch.h: Regenerated.
4571 2014-01-06 Sasha Smundak <asmundak@google.com>
4573 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
4575 2014-01-06 Tom Tromey <tromey@redhat.com>
4577 * doublest.c (convert_doublest_to_floatformat): Use const, not
4579 * somread.c (som_symtab_read): Likewise.
4581 2014-01-07 Hui Zhu <hui@codesourcery.com>
4583 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
4584 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
4585 (gdb_bfd_fopen): Ditto.
4586 (gdb_bfd_openr): Ditto.
4587 (gdb_bfd_openw): Ditto.
4588 (gdb_bfd_openr_iovec): Ditto.
4589 (gdb_bfd_fdopenr): Ditto.
4590 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
4591 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
4593 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
4595 * symfile-mem.c (symbol_file_add_from_memory): Removed
4596 gdb_bfd_stash_filename.
4598 2014-01-03 Doug Evans <dje@google.com>
4600 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
4603 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4605 Update year range in copyright notice of all files.
4607 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4609 * top.c (print_gdb_version): Set copyright year to 2014.
4611 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4613 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
4615 For older changes see ChangeLog-2013.
4621 version-control: never