1 2014-02-19 Tom Tromey <tromey@redhat.com>
3 * target-delegates.c: Rebuild.
4 * target.c (update_current_target): Don't inherit or default
7 * target.h (struct target_ops) <to_traceframe_info>: Use
10 2014-02-19 Tom Tromey <tromey@redhat.com>
12 * target-delegates.c: Rebuild.
13 * target.c (update_current_target): Don't inherit or default
14 to_static_tracepoint_markers_by_strid.
15 * target.h (struct target_ops)
16 <to_static_tracepoint_markers_by_strid>: Use
17 TARGET_DEFAULT_NORETURN.
19 2014-02-19 Tom Tromey <tromey@redhat.com>
21 * target-delegates.c: Rebuild.
22 * target.c (update_current_target): Don't inherit or default
23 to_static_tracepoint_marker_at.
24 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
25 Use TARGET_DEFAULT_RETURN.
27 2014-02-19 Tom Tromey <tromey@redhat.com>
29 * target-delegates.c: Rebuild.
30 * target.c (update_current_target): Don't inherit or default
32 * target.h (struct target_ops) <to_set_permissions>: Use
33 TARGET_DEFAULT_IGNORE.
35 2014-02-19 Tom Tromey <tromey@redhat.com>
37 * target-delegates.c: Rebuild.
38 * target.c (update_current_target): Don't inherit or default
40 * target.h (struct target_ops) <to_get_tib_address>: Use
41 TARGET_DEFAULT_NORETURN.
43 2014-02-19 Tom Tromey <tromey@redhat.com>
45 * target-delegates.c: Rebuild.
46 * target.c (update_current_target): Don't inherit or default
48 * target.h (struct target_ops) <to_set_trace_notes>: Use
49 TARGET_DEFAULT_RETURN.
51 2014-02-19 Tom Tromey <tromey@redhat.com>
53 * target-delegates.c: Rebuild.
54 * target.c (update_current_target): Don't initialize
55 to_set_trace_buffer_size.
56 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
57 TARGET_DEFAULT_IGNORE.
59 2014-02-19 Tom Tromey <tromey@redhat.com>
61 * target-delegates.c: Rebuild.
62 * target.c (update_current_target): Don't inherit or default
63 to_set_circular_trace_buffer.
64 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
65 TARGET_DEFAULT_IGNORE.
67 2014-02-19 Tom Tromey <tromey@redhat.com>
69 * target-delegates.c: Rebuild.
70 * target.c (update_current_target): Don't inherit or default
71 to_set_disconnected_tracing.
72 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
73 TARGET_DEFAULT_IGNORE.
75 2014-02-19 Tom Tromey <tromey@redhat.com>
77 * target-delegates.c: Rebuild.
78 * target.c (update_current_target): Don't inherit or default
79 to_get_min_fast_tracepoint_insn_len.
80 (return_minus_one): Remove.
81 * target.h (struct target_ops)
82 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
84 2014-02-19 Tom Tromey <tromey@redhat.com>
86 * target-delegates.c: Rebuild.
87 * target.c (update_current_target): Don't inherit or default
88 to_get_raw_trace_data.
89 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
90 TARGET_DEFAULT_NORETURN.
92 2014-02-19 Tom Tromey <tromey@redhat.com>
94 * target-delegates.c: Rebuild.
95 * target.c (update_current_target): Don't inherit or default
96 to_upload_trace_state_variables.
97 * target.h (struct target_ops) <to_upload_trace_state_variables>:
98 Use TARGET_DEFAULT_RETURN.
100 2014-02-19 Tom Tromey <tromey@redhat.com>
102 * target-delegates.c: Rebuild.
103 * target.c (update_current_target): Don't inherit or default
104 to_upload_tracepoints.
105 * target.h (struct target_ops) <to_upload_tracepoints>: Use
106 TARGET_DEFAULT_RETURN.
108 2014-02-19 Tom Tromey <tromey@redhat.com>
110 * target-delegates.c: Rebuild.
111 * target.c (update_current_target): Don't inherit or default
113 * target.h (struct target_ops) <to_save_trace_data>: Use
114 TARGET_DEFAULT_NORETURN.
116 2014-02-19 Tom Tromey <tromey@redhat.com>
118 * target-delegates.c: Rebuild.
119 * target.c (update_current_target): Don't inherit or default
120 to_get_trace_state_variable_value.
121 * target.h (struct target_ops)
122 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
124 2014-02-19 Tom Tromey <tromey@redhat.com>
126 * target-delegates.c: Rebuild.
127 * target.c (update_current_target): Don't inherit or default
129 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
131 2014-02-19 Tom Tromey <tromey@redhat.com>
133 * target-delegates.c: Rebuild.
134 * target.c (update_current_target): Don't inherit or default
136 * target.h (struct target_ops) <to_trace_stop>: Use
137 TARGET_DEFAULT_NORETURN.
139 2014-02-19 Tom Tromey <tromey@redhat.com>
141 * target-delegates.c: Rebuild.
142 * target.c (update_current_target): Don't inherit or default
143 to_get_tracepoint_status.
144 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
145 TARGET_DEFAULT_NORETURN.
147 2014-02-19 Tom Tromey <tromey@redhat.com>
149 * target-delegates.c: Rebuild.
150 * target.c (update_current_target): Don't inherit or default
152 * target.h (struct target_ops) <to_get_trace_status>: Use
153 TARGET_DEFAULT_RETURN.
155 2014-02-19 Tom Tromey <tromey@redhat.com>
157 * target-delegates.c: Rebuild.
158 * target.c (update_current_target): Don't inherit or default
160 * target.h (struct target_ops) <to_trace_start>: Use
161 TARGET_DEFAULT_NORETURN.
163 2014-02-19 Tom Tromey <tromey@redhat.com>
165 * target-delegates.c: Rebuild.
166 * target.c (update_current_target): Don't inherit or default
167 to_trace_set_readonly_regions.
168 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
169 Use TARGET_DEFAULT_NORETURN.
171 2014-02-19 Tom Tromey <tromey@redhat.com>
173 * target-delegates.c: Rebuild.
174 * target.c (update_current_target): Don't inherit or default
175 to_disable_tracepoint.
176 * target.h (struct target_ops) <to_disable_tracepoint>: Use
177 TARGET_DEFAULT_NORETURN.
179 2014-02-19 Tom Tromey <tromey@redhat.com>
181 * target-delegates.c: Rebuild.
182 * target.c (update_current_target): Don't inherit or default
183 to_enable_tracepoint.
184 * target.h (struct target_ops) <to_enable_tracepoint>: Use
185 TARGET_DEFAULT_NORETURN.
187 2014-02-19 Tom Tromey <tromey@redhat.com>
189 * target-delegates.c: Rebuild.
190 * target.c (update_current_target): Don't inherit or default
191 to_download_trace_state_variable.
192 * target.h (struct target_ops) <to_download_trace_state_variable>:
193 Use TARGET_DEFAULT_NORETURN.
195 2014-02-19 Tom Tromey <tromey@redhat.com>
197 * target-delegates.c: Rebuild.
198 * target.c (update_current_target): Don't inherit or default
199 to_can_download_tracepoint.
200 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
201 TARGET_DEFAULT_RETURN.
203 2014-02-19 Tom Tromey <tromey@redhat.com>
205 * target-delegates.c: Rebuild.
206 * target.c (update_current_target): Don't inherit or default
207 to_download_tracepoint.
208 * target.h (struct target_ops) <to_download_tracepoint>: Use
209 TARGET_DEFAULT_NORETURN.
211 2014-02-19 Tom Tromey <tromey@redhat.com>
213 * target-delegates.c: Rebuild.
214 * target.c (update_current_target): Don't inherit or default
216 * target.h (struct target_ops) <to_trace_init>: Use
217 TARGET_DEFAULT_RETURN.
219 2014-02-19 Tom Tromey <tromey@redhat.com>
221 * target-delegates.c: Rebuild.
222 * target.c (update_current_target): Don't inherit or default
223 to_supports_string_tracing.
224 * target.h (struct target_ops) <to_supports_string_tracing>: Use
225 TARGET_DEFAULT_RETURN.
227 2014-02-19 Tom Tromey <tromey@redhat.com>
229 * target-delegates.c: Rebuild.
230 * target.c (update_current_target): Don't inherit or default
231 to_supports_enable_disable_tracepoint.
232 * target.h (struct target_ops)
233 <to_supports_enable_disable_tracepoint>: Use
234 TARGET_DEFAULT_RETURN.
236 2014-02-19 Tom Tromey <tromey@redhat.com>
238 * target-delegates.c: Rebuild.
239 * target.c (update_current_target): Don't inherit or default
240 to_supports_multi_process.
241 * target.h (struct target_ops) <to_supports_multi_process>: Use
242 TARGET_DEFAULT_RETURN.
244 2014-02-19 Tom Tromey <tromey@redhat.com>
246 * target-delegates.c: Rebuild.
247 * target.c (update_current_target): Don't inherit or default
248 to_get_ada_task_ptid.
249 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
252 2014-02-19 Tom Tromey <tromey@redhat.com>
254 * target-delegates.c: Rebuild.
255 * target.c (update_current_target): Don't inherit or default
256 to_thread_architecture.
257 * target.h (struct target_ops) <to_thread_architecture>: Use
260 2014-02-19 Tom Tromey <tromey@redhat.com>
262 * target-delegates.c: Rebuild.
263 * target.c (update_current_target): Don't inherit or default
264 to_execution_direction.
265 * target.h (struct target_ops) <to_execution_direction>: Use
268 2014-02-19 Tom Tromey <tromey@redhat.com>
270 * target-delegates.c: Rebuild.
271 * target.c (update_current_target): Don't inherit or default
272 to_can_execute_reverse.
273 * target.h (struct target_ops) <to_can_execute_reverse>: Use
274 TARGET_DEFAULT_RETURN.
275 (target_can_execute_reverse): Unconditionally delegate.
277 2014-02-19 Tom Tromey <tromey@redhat.com>
279 * target-delegates.c: Rebuild.
280 * target.c (update_current_target): Don't inherit or default
282 (dummy_goto_bookmark): Remove.
283 (init_dummy_target): Don't inherit or default to_goto_bookmark.
284 * target.h (struct target_ops) <to_goto_bookmark>: Use
285 TARGET_DEFAULT_NORETURN.
287 2014-02-19 Tom Tromey <tromey@redhat.com>
289 * target-delegates.c: Rebuild.
290 * target.c (update_current_target): Don't inherit or default
292 (dummy_get_bookmark): Remove.
293 (init_dummy_target): Don't inherit or default to_get_bookmark.
294 * target.h (struct target_ops) <to_get_bookmark>: Use
295 TARGET_DEFAULT_NORETURN
297 2014-02-19 Tom Tromey <tromey@redhat.com>
299 * target-delegates.c: Rebuild.
300 * target.c (update_current_target): Don't inherit or default
301 to_make_corefile_notes.
302 (init_dummy_target): Don't initialize to_make_corefile_notes.
303 * target.h (struct target_ops) <to_make_corefile_notes>: Use
306 2014-02-19 Tom Tromey <tromey@redhat.com>
308 * target-delegates.c: Rebuild.
309 * target.c (update_current_target): Don't inherit or default
310 to_find_memory_regions.
311 (init_dummy_target): Don't initialize to_find_memory_regions.
312 * target.h (struct target_ops) <to_find_memory_regions>: Use
315 2014-02-19 Tom Tromey <tromey@redhat.com>
317 * target-delegates.c: Rebuild.
318 * target.c (update_current_target): Don't inherit or default
320 * target.h (struct target_ops) <to_log_command>: Use
321 TARGET_DEFAULT_IGNORE.
322 (target_log_command): Unconditionally delegate.
324 2014-02-19 Tom Tromey <tromey@redhat.com>
326 * target-delegates.c: Rebuild.
327 * target.c (update_current_target): Don't inherit or default
329 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
330 TARGET_DEFAULT_RETURN.
332 2014-02-19 Tom Tromey <tromey@redhat.com>
334 * target-delegates.c: Rebuild.
335 * target.c (update_current_target): Don't inherit or default
337 (target_thread_name): Unconditionally delegate.
338 * target.h (struct target_ops) <to_thread_name>: Use
339 TARGET_DEFAULT_RETURN.
341 2014-02-19 Tom Tromey <tromey@redhat.com>
343 * target-delegates.c: Rebuild.
344 * target.c (update_current_target): Don't inherit or default
345 to_extra_thread_info.
346 * target.h (struct target_ops) <to_extra_thread_info>: Use
347 TARGET_DEFAULT_RETURN.
349 2014-02-19 Tom Tromey <tromey@redhat.com>
351 * target-delegates.c: Rebuild.
352 * target.c (update_current_target): Don't inherit or default
354 * target.h (struct target_ops) <to_has_exited>: Use
355 TARGET_DEFAULT_RETURN..
357 2014-02-19 Tom Tromey <tromey@redhat.com>
359 * target-delegates.c: Rebuild.
360 * target.c (update_current_target): Don't inherit or default
361 to_set_syscall_catchpoint.
362 (return_one): Remove.
363 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
364 TARGET_DEFAULT_RETURN.
366 2014-02-19 Tom Tromey <tromey@redhat.com>
368 * target-delegates.c: Rebuild.
369 * target.c (update_current_target): Don't inherit or default
370 to_insert_exec_catchpoint.
371 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
372 TARGET_DEFAULT_RETURN.
374 2014-01-08 Tom Tromey <tromey@redhat.com>
376 * target-delegates.c: Rebuild.
377 * target.c (update_current_target): Don't inherit or default
378 to_insert_exec_catchpoint.
379 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
380 TARGET_DEFAULT_RETURN.
382 2014-02-19 Tom Tromey <tromey@redhat.com>
384 * target-delegates.c: Rebuild.
385 * target.c (update_current_target): Don't inherit or default
386 to_remove_vfork_catchpoint.
387 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
388 TARGET_DEFAULT_RETURN.
390 2014-02-19 Tom Tromey <tromey@redhat.com>
392 * target-delegates.c: Rebuild.
393 * target.c (update_current_target): Don't inherit or default
394 to_insert_vfork_catchpoint.
395 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
396 TARGET_DEFAULT_RETURN.
398 2014-02-19 Tom Tromey <tromey@redhat.com>
400 * target-delegates.c: Rebuild.
401 * target.c (update_current_target): Don't inherit or default
402 to_remove_fork_catchpoint.
403 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
404 TARGET_DEFAULT_RETURN.
406 2014-02-19 Tom Tromey <tromey@redhat.com>
408 * target-delegates.c: Rebuild.
409 * target.c (update_current_target): Don't inherit or default
410 to_insert_fork_catchpoint.
411 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
412 TARGET_DEFAULT_RETURN.
414 2014-02-19 Tom Tromey <tromey@redhat.com>
416 * target-delegates.c: Rebuild.
417 * target.c (update_current_target): Don't inherit or default
418 to_post_startup_inferior.
419 * target.h (struct target_ops) <to_post_startup_inferior>: Use
420 TARGET_DEFAULT_IGNORE.
422 2014-02-19 Tom Tromey <tromey@redhat.com>
424 * target-delegates.c: Rebuild.
425 * target.c (update_current_target): Don't inherit or default
427 * target.h (struct target_ops) <to_load>: Use
428 TARGET_DEFAULT_NORETURN.
430 2014-02-19 Tom Tromey <tromey@redhat.com>
432 * target-delegates.c: Rebuild.
433 * target.c (update_current_target): Don't inherit or default
435 * target.h (struct target_ops) <to_terminal_info>: Use
438 2014-02-19 Tom Tromey <tromey@redhat.com>
440 * target-delegates.c: Rebuild.
441 * target.c (update_current_target): Don't inherit or default
442 to_terminal_save_ours.
443 * target.h (struct target_ops) <to_terminal_save_ours>: Use
444 TARGET_DEFAULT_IGNORE.
446 2014-02-19 Tom Tromey <tromey@redhat.com>
448 * target-delegates.c: Rebuild.
449 * target.c (update_current_target): Don't inherit or default
451 * target.h (struct target_ops) <to_terminal_ours>: Use
452 TARGET_DEFAULT_IGNORE.
454 2014-02-19 Tom Tromey <tromey@redhat.com>
456 * target-delegates.c: Rebuild.
457 * target.c (update_current_target): Don't inherit or default
458 to_terminal_ours_for_output.
459 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
460 TARGET_DEFAULT_IGNORE.
462 2014-02-19 Tom Tromey <tromey@redhat.com>
464 * target-delegates.c: Rebuild.
465 * target.c (update_current_target): Don't inherit or default
466 to_terminal_inferior.
467 * target.h (struct target_ops) <to_terminal_inferior>: Use
468 TARGET_DEFAULT_IGNORE.
470 2014-02-19 Tom Tromey <tromey@redhat.com>
472 * target-delegates.c: Rebuild.
473 * target.c (update_current_target): Don't inherit or default
475 * target.h (struct target_ops) <to_terminal_init>: Use
476 TARGET_DEFAULT_IGNORE.
478 2014-02-19 Tom Tromey <tromey@redhat.com>
480 * target-delegates.c: Rebuild.
481 * target.c (update_current_target): Don't inherit or default
482 to_can_accel_watchpoint_condition.
483 * target.h (struct target_ops)
484 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
486 2014-02-19 Tom Tromey <tromey@redhat.com>
488 * target-delegates.c: Rebuild.
489 * target.c (update_current_target): Don't inherit or default
490 to_region_ok_for_hw_watchpoint.
491 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
492 Use TARGET_DEFAULT_FUNC.
494 2014-02-19 Tom Tromey <tromey@redhat.com>
496 * target-delegates.c: Rebuild.
497 * target.c (update_current_target): Don't inherit or default
498 to_watchpoint_addr_within_range.
499 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
500 Use TARGET_DEFAULT_FUNC.
502 2014-02-19 Tom Tromey <tromey@redhat.com>
504 * target-delegates.c: Rebuild.
505 * target.c (update_current_target): Don't inherit or default
506 to_remove_watchpoint.
507 * target.h (struct target_ops) <to_remove_watchpoint>: Use
508 TARGET_DEFAULT_NORETURN.
510 2014-02-19 Tom Tromey <tromey@redhat.com>
512 * target-delegates.c: Rebuild.
513 * target.c (update_current_target): Don't inherit or default
514 to_insert_watchpoint.
515 * target.h (struct target_ops) <to_insert_watchpoint>: Use
516 TARGET_DEFAULT_RETURN.
518 2014-02-19 Tom Tromey <tromey@redhat.com>
520 * target-delegates.c: Rebuild.
521 * target.c (update_current_target): Don't inherit or default
522 to_remove_hw_breakpoint.
523 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
524 TARGET_DEFAULT_RETURN.
526 2014-02-19 Tom Tromey <tromey@redhat.com>
528 * target-delegates.c: Rebuild.
529 * target.c (update_current_target): Don't inherit or default
530 to_insert_hw_breakpoint.
531 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
532 TARGET_DEFAULT_RETURN.
534 2014-02-19 Tom Tromey <tromey@redhat.com>
536 * target-delegates.c: Rebuild.
537 * target.c (update_current_target): Don't inherit or default
538 to_can_use_hw_breakpoint.
539 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
540 TARGET_DEFAULT_RETURN.
542 2014-02-19 Tom Tromey <tromey@redhat.com>
544 * target-delegates.c: Rebuild.
545 * target.c (update_current_target): Don't inherit or default
547 * target.h (struct target_ops) <to_files_info>: Use
548 TARGET_DEFAULT_IGNORE.
550 2014-02-19 Tom Tromey <tromey@redhat.com>
552 * target-delegates.c: Rebuild.
553 * target.c (update_current_target): Don't inherit or default
555 * target.h (struct target_ops) <to_store>: 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
563 * target.h (struct target_ops) <to_post_attach>: Use
564 TARGET_DEFAULT_IGNORE.
566 2014-02-19 Tom Tromey <tromey@redhat.com>
568 * target-delegates.c: Rebuild.
569 * target.c (update_current_target): Don't inherit or default
571 (default_rcmd): New function.
572 (do_monitor_command): Unconditionally delegate.
573 * target.h (struct target_ops) <to_rmcd>: Use
576 2014-02-19 Tom Tromey <tromey@redhat.com>
578 * target-delegates.c: Rebuild.
579 * target.c (init_dummy_target): Don't initialize to_attach.
580 (target_attach): Unconditionally delegate.
581 * target.h (struct target_ops) <to_attach>: Use
584 2014-02-19 Tom Tromey <tromey@redhat.com>
586 * target-delegates.c: Rebuild.
587 * target.c (target_detach): Unconditionally delegate.
588 (init_dummy_target): Don't initialize to_detach.
589 * target.h (struct target_ops) <to_detach>: Use
590 TARGET_DEFAULT_IGNORE.
592 2014-02-19 Tom Tromey <tromey@redhat.com>
594 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
596 (target_augmented_libraries_svr4_read): Add argument.
597 * target.c (update_current_target): Update.
598 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
601 2014-02-19 Tom Tromey <tromey@redhat.com>
603 * target.h (struct target_ops) <to_call_history_range>: Add
605 * target.c (target_call_history_range): Add argument.
606 * record-btrace.c (record_btrace_call_history_range): Add 'self'
608 (record_btrace_call_history_from): Update.
610 2014-02-19 Tom Tromey <tromey@redhat.com>
612 * target.h (struct target_ops) <to_call_history_from>: Add
614 * target.c (target_call_history_from): Add argument.
615 * record-btrace.c (record_btrace_call_history_from): Add 'self'
618 2014-02-19 Tom Tromey <tromey@redhat.com>
620 * target.h (struct target_ops) <to_call_history>: Add argument.
621 * target.c (target_call_history): Add argument.
622 * record-btrace.c (record_btrace_call_history): Add 'self'
625 2014-02-19 Tom Tromey <tromey@redhat.com>
627 * target.h (struct target_ops) <to_insn_history_range>: Add
629 * target.c (target_insn_history_range): Add argument.
630 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
632 (record_btrace_insn_history_from): Update.
634 2014-02-19 Tom Tromey <tromey@redhat.com>
636 * target.h (struct target_ops) <to_insn_history_from>: Add
638 * target.c (target_insn_history_from): Add argument.
639 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
642 2014-02-19 Tom Tromey <tromey@redhat.com>
644 * target.h (struct target_ops) <to_insn_history>: Add argument.
645 * target.c (target_insn_history): Add argument.
646 * record-btrace.c (record_btrace_insn_history): Add 'self'
649 2014-02-19 Tom Tromey <tromey@redhat.com>
651 * target.h (struct target_ops) <to_goto_record>: Add argument.
652 * target.c (target_goto_record): Add argument.
653 * record-full.c (record_full_goto): Add 'self' argument.
654 * record-btrace.c (record_btrace_goto): Add 'self' argument.
656 2014-02-19 Tom Tromey <tromey@redhat.com>
658 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
659 * target.c (target_goto_record_end): Add argument.
660 * record-full.c (record_full_goto_end): Add 'self' argument.
661 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
663 2014-02-19 Tom Tromey <tromey@redhat.com>
665 * target.h (struct target_ops) <to_goto_record_begin>: Add
667 * target.c (target_goto_record_begin): Add argument.
668 * record-full.c (record_full_goto_begin): Add 'self' argument.
669 * record-btrace.c (record_btrace_goto_begin): Add 'self'
672 2014-02-19 Tom Tromey <tromey@redhat.com>
674 * target.h (struct target_ops) <to_record_is_replaying>: Add
676 * target.c (target_record_is_replaying): Add argument.
677 * record-full.c (record_full_is_replaying): Add 'self' argument.
678 * record-btrace.c (record_btrace_is_replaying): Add 'self'
680 (record_btrace_xfer_partial, record_btrace_store_registers)
681 (record_btrace_prepare_to_store, record_btrace_resume)
682 (record_btrace_wait, record_btrace_decr_pc_after_break)
683 (record_btrace_find_new_threads, record_btrace_thread_alive):
686 2014-02-19 Tom Tromey <tromey@redhat.com>
688 * target.h (struct target_ops) <to_delete_record>: Add argument.
689 * target.c (target_delete_record): Add argument.
690 * record-full.c (record_full_delete): Add 'self' argument.
692 2014-02-19 Tom Tromey <tromey@redhat.com>
694 * target.h (struct target_ops) <to_save_record>: Add argument.
695 * target.c (target_save_record): Add argument.
696 * record-full.c (record_full_save): Add 'self' argument.
697 (record_full_save): Add 'self' argument.
699 2014-02-19 Tom Tromey <tromey@redhat.com>
701 * target.h (struct target_ops) <to_info_record>: Add argument.
702 * target.c (target_info_record): Add argument.
703 * record.c (info_record_command): Add argument.
704 * record-full.c (record_full_info): Add 'self' argument.
705 * record-btrace.c (record_btrace_info): Add 'self' argument.
707 2014-02-19 Tom Tromey <tromey@redhat.com>
709 * target.h (struct target_ops) <to_stop_recording>: Add argument.
710 * target.c (target_stop_recording): Add argument.
711 * record.c (record_stop): Add argument.
712 * record-btrace.c (record_btrace_stop_recording): Add 'self'
715 2014-02-19 Tom Tromey <tromey@redhat.com>
717 * target.h (struct target_ops) <to_read_btrace>: Add argument.
718 * target.c (struct target_ops) <to_read_btrace>: Add argument.
719 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
721 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
722 (_initialize_amd64_linux_nat): Use it.
723 * i386-linux-nat.c (i386_linux_read_btrace): New function.
724 (_initialize_i386_linux_nat): Use it.
726 2014-02-19 Tom Tromey <tromey@redhat.com>
728 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
729 * target.c (target_teardown_btrace): Add argument.
730 * remote.c (remote_teardown_btrace): Add 'self' argument.
731 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
733 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
736 2014-02-19 Tom Tromey <tromey@redhat.com>
738 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
739 * target.c (target_disable_btrace): Add argument.
740 * remote.c (remote_disable_btrace): Add 'self' argument.
741 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
743 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
746 2014-02-19 Tom Tromey <tromey@redhat.com>
748 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
749 * target.c (target_enable_btrace): Add argument.
750 * remote.c (remote_enable_btrace): Add 'self' argument.
751 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
753 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
756 2014-02-19 Tom Tromey <tromey@redhat.com>
758 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
759 (target_can_use_agent): Add argument.
760 * target.c (update_current_target): Update.
761 * remote.c (remote_can_use_agent): Add 'self' argument.
762 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
764 2014-02-19 Tom Tromey <tromey@redhat.com>
766 * target.h (struct target_ops) <to_use_agent>: Add argument.
767 (target_use_agent): Add argument.
768 * target.c (update_current_target): Update.
769 * remote.c (remote_use_agent): Add 'self' argument.
770 * inf-child.c (inf_child_use_agent): Add 'self' argument.
772 2014-02-19 Tom Tromey <tromey@redhat.com>
774 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
775 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
776 (target_traceframe_info): Add argument.
777 * target.c (update_current_target): Update.
778 * remote.c (remote_traceframe_info): Add 'self' argument.
779 * ctf.c (ctf_traceframe_info): Add 'self' argument.
781 2014-02-19 Tom Tromey <tromey@redhat.com>
783 * target.h (target_static_tracepoint_markers_by_strid): Add
785 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
787 * target.c (update_current_target): Update.
788 * remote.c (struct target_ops)
789 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
790 * linux-nat.c (struct target_ops)
791 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
793 2014-02-19 Tom Tromey <tromey@redhat.com>
795 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
797 (target_static_tracepoint_marker_at): Add argument.
798 * target.c (update_current_target): Update.
799 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
802 2014-02-19 Tom Tromey <tromey@redhat.com>
804 * target.h (struct target_ops) <to_set_permissions>: Add argument.
805 (target_set_permissions): Add argument.
806 * target.c (update_current_target): Update.
807 * remote.c (remote_set_permissions): Add 'self' argument.
808 (remote_start_remote): Update.
810 2014-02-19 Tom Tromey <tromey@redhat.com>
812 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
813 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
814 (target_get_tib_address): Add argument.
815 * target.c (update_current_target): Update.
816 * remote.c (remote_get_tib_address): Add 'self' argument.
818 2014-02-19 Tom Tromey <tromey@redhat.com>
820 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
821 (target_set_trace_notes): Add argument.
822 * target.c (update_current_target): Update.
823 * remote.c (remote_set_trace_notes): Add 'self' argument.
825 2014-02-19 Tom Tromey <tromey@redhat.com>
827 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
829 (target_set_trace_buffer_size): Add argument.
830 * target.c (update_current_target): Update.
831 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
833 2014-02-19 Tom Tromey <tromey@redhat.com>
835 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
837 (target_set_circular_trace_buffer): Add argument.
838 * target.c (update_current_target): Update.
839 * remote.c (remote_set_circular_trace_buffer): Add 'self'
842 2014-02-19 Tom Tromey <tromey@redhat.com>
844 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
846 (target_set_disconnected_tracing): Add argument.
847 * target.c (update_current_target): Update.
848 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
850 2014-02-19 Tom Tromey <tromey@redhat.com>
852 * target.h (struct target_ops)
853 <to_get_min_fast_tracepoint_insn_len>: Add argument.
854 (target_get_min_fast_tracepoint_insn_len): Add argument.
855 * target.c (update_current_target): Update.
856 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
859 2014-02-19 Tom Tromey <tromey@redhat.com>
861 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
863 (target_get_raw_trace_data): Add argument.
864 * target.c (update_current_target): Update.
865 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
867 2014-02-19 Tom Tromey <tromey@redhat.com>
869 * target.h (struct target_ops) <to_upload_trace_state_variables>:
871 (target_upload_trace_state_variables): Add argument.
872 * target.c (update_current_target): Update.
873 * remote.c (remote_upload_trace_state_variables): Add 'self'
875 (remote_start_remote): Update.
877 2014-02-19 Tom Tromey <tromey@redhat.com>
879 * target.h (struct target_ops) <to_upload_tracepoints>: Add
881 (target_upload_tracepoints): Add argument.
882 * target.c (update_current_target): Update.
883 * remote.c (remote_upload_tracepoints): Add 'self' argument.
884 (remote_start_remote): Update.
886 2014-02-19 Tom Tromey <tromey@redhat.com>
888 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
889 (target_save_trace_data): Add argument.
890 * target.c (update_current_target): Update.
891 * remote.c (remote_save_trace_data): Add 'self' argument.
893 2014-02-19 Tom Tromey <tromey@redhat.com>
895 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
897 * target.h (struct target_ops)
898 <to_get_trace_state_variable_value>: Add argument.
899 (target_get_trace_state_variable_value): Add argument.
900 * target.c (update_current_target): Update.
901 * remote.c (remote_get_trace_state_variable_value): Add 'self'
903 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
905 2014-02-19 Tom Tromey <tromey@redhat.com>
907 * tracepoint.c (tfile_trace_find): Add 'self' argument.
908 * target.h (struct target_ops) <to_trace_find>: Add argument.
909 (target_trace_find): Add argument.
910 * target.c (update_current_target): Update.
911 * remote.c (remote_trace_find): Add 'self' argument.
912 * ctf.c (ctf_trace_find): Add 'self' argument.
914 2014-02-19 Tom Tromey <tromey@redhat.com>
916 * target.h (struct target_ops) <to_trace_stop>: Add argument.
917 (target_trace_stop): Add argument.
918 * target.c (update_current_target): Update.
919 * remote.c (remote_trace_stop): Add 'self' argument.
921 2014-02-19 Tom Tromey <tromey@redhat.com>
923 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
924 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
926 (target_get_tracepoint_status): Add argument.
927 * target.c (update_current_target): Update.
928 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
930 2014-02-19 Tom Tromey <tromey@redhat.com>
932 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
933 * target.h (struct target_ops) <to_get_trace_status>: Add
935 (target_get_trace_status): Add argument.
936 * target.c (update_current_target): Update.
937 * remote.c (remote_get_trace_status): Add 'self' argument.
938 (remote_start_remote, remote_can_download_tracepoint): Update.
939 * ctf.c (ctf_get_trace_status): Add 'self' argument.
941 2014-02-19 Tom Tromey <tromey@redhat.com>
943 * target.h (struct target_ops) <to_trace_start>: Add argument.
944 (target_trace_start): Add argument.
945 * target.c (update_current_target): Update.
946 * remote.c (remote_trace_start): Add 'self' argument.
948 2014-02-19 Tom Tromey <tromey@redhat.com>
950 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
952 (target_trace_set_readonly_regions): Add argument.
953 * target.c (update_current_target): Update.
954 * remote.c (remote_trace_set_readonly_regions): Add 'self'
957 2014-02-19 Tom Tromey <tromey@redhat.com>
959 * target.h (struct target_ops) <to_disable_tracepoint>: Add
961 (target_disable_tracepoint): Add argument.
962 * target.c (update_current_target): Update.
963 * remote.c (remote_disable_tracepoint): Add 'self' argument.
965 2014-02-19 Tom Tromey <tromey@redhat.com>
967 * target.h (struct target_ops) <to_enable_tracepoint>: Add
969 (target_enable_tracepoint): Add argument.
970 * target.c (update_current_target): Update.
971 * remote.c (remote_enable_tracepoint): Add 'self' argument.
973 2014-02-19 Tom Tromey <tromey@redhat.com>
975 * target.h (struct target_ops) <to_download_trace_state_variable>:
977 (target_download_trace_state_variable): Add argument.
978 * target.c (update_current_target): Update.
979 * remote.c (remote_download_trace_state_variable): Add 'self'
982 2014-02-19 Tom Tromey <tromey@redhat.com>
984 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
986 (target_can_download_tracepoint): Add argument.
987 * target.c (update_current_target): Update.
988 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
990 2014-02-19 Tom Tromey <tromey@redhat.com>
992 * target.h (struct target_ops) <to_download_tracepoint>: Add
994 (target_download_tracepoint): Add argument.
995 * target.c (update_current_target): Update.
996 * remote.c (remote_download_tracepoint): Add 'self' argument.
998 2014-02-19 Tom Tromey <tromey@redhat.com>
1000 * target.h (struct target_ops) <to_trace_init>: Add argument.
1001 (target_trace_init): Add argument.
1002 * target.c (update_current_target): Update.
1003 * remote.c (remote_trace_init): Add 'self' argument.
1005 2014-02-19 Tom Tromey <tromey@redhat.com>
1007 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1008 * target.c (target_fileio_readlink): Add argument.
1009 * remote.c (remote_hostio_readlink): Add 'self' argument.
1010 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1012 2014-02-19 Tom Tromey <tromey@redhat.com>
1014 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1015 * target.c (target_fileio_unlink): Add argument.
1016 * remote.c (remote_hostio_unlink): Add 'self' argument.
1017 (remote_file_delete): Update.
1018 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1020 2014-02-19 Tom Tromey <tromey@redhat.com>
1022 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1023 * target.c (target_fileio_close): Add argument.
1024 * remote.c (remote_hostio_close): Add 'self' argument.
1025 (remote_hostio_close_cleanup): Update.
1026 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1028 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1030 2014-02-19 Tom Tromey <tromey@redhat.com>
1032 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1033 * target.c (target_fileio_pread): Add argument.
1034 * remote.c (remote_hostio_pread): Add 'self' argument.
1035 (remote_bfd_iovec_pread, remote_file_get): Update.
1036 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1038 2014-02-19 Tom Tromey <tromey@redhat.com>
1040 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1041 * target.c (target_fileio_pwrite): Add argument.
1042 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1043 (remote_file_put): Update.
1044 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1046 2014-02-19 Tom Tromey <tromey@redhat.com>
1048 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1049 * target.c (target_fileio_open): Add argument.
1050 * remote.c (remote_hostio_open): Add 'self' argument.
1051 (remote_bfd_iovec_open): Add 'self' argument.
1052 (remote_file_put): Add 'self' argument.
1053 (remote_file_get): Add 'self' argument.
1054 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1056 2014-02-19 Tom Tromey <tromey@redhat.com>
1058 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1060 (target_can_run_breakpoint_commands): Add argument.
1061 * target.c (update_current_target): Update.
1062 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1064 (remote_insert_breakpoint): Add 'self' argument.
1065 (remote_insert_hw_breakpoint): Add 'self' argument.
1066 (remote_can_run_breakpoint_commands): Add 'self' argument.
1068 2014-02-19 Tom Tromey <tromey@redhat.com>
1070 * target.h (struct target_ops)
1071 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1072 (target_supports_evaluation_of_breakpoint_conditions): Add
1074 * target.c (update_current_target): Update.
1075 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1077 (remote_insert_breakpoint): Add 'self' argument.
1078 (remote_insert_hw_breakpoint): Add 'self' argument.
1079 (remote_supports_cond_breakpoints): Add 'self' argument.
1081 2014-02-19 Tom Tromey <tromey@redhat.com>
1083 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1085 (target_supports_string_tracing): Add argument.
1086 * target.c (update_current_target): Update.
1087 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1089 2014-02-19 Tom Tromey <tromey@redhat.com>
1091 * target.h (struct target_ops)
1092 <to_supports_disable_randomization>: Add argument.
1093 * target.c (find_default_supports_disable_randomization): Add
1095 (target_supports_disable_randomization): Add argument.
1096 (find_default_supports_disable_randomization): Add 'self'
1098 * remote.c (extended_remote_supports_disable_randomization): Add
1100 (remote_supports_disable_randomization): Add 'self' argument.
1101 (extended_remote_create_inferior): Update.
1102 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1105 2014-02-19 Tom Tromey <tromey@redhat.com>
1107 * target.h (struct target_ops)
1108 <to_supports_enable_disable_tracepoint>: Add argument.
1109 (target_supports_enable_disable_tracepoint): Add argument.
1110 * target.c (update_current_target): Update.
1111 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1114 2014-02-19 Tom Tromey <tromey@redhat.com>
1116 * target.h (struct target_ops) <to_supports_multi_process>: Add
1118 (target_supports_multi_process): Add argument.
1119 * target.c (update_current_target): Update.
1120 * remote.c (remote_supports_multi_process): Add 'self' argument.
1121 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1123 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1126 2014-02-19 Tom Tromey <tromey@redhat.com>
1128 * target.h (struct target_ops) <to_execution_direction>: Add
1130 (target_execution_direction): Add argument.
1131 * target.c (default_execution_direction): Add 'self' argument.
1132 * record-full.c (record_full_execution_direction): Add 'self'
1135 2014-02-19 Tom Tromey <tromey@redhat.com>
1137 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1139 (target_can_execute_reverse): Add argument.
1140 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1141 * record-full.c (record_full_can_execute_reverse): Add 'self'
1143 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1146 2014-02-19 Tom Tromey <tromey@redhat.com>
1148 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1149 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1151 (target_get_ada_task_ptid): Add argument.
1152 * target.c (update_current_target): Update.
1153 (default_get_ada_task_ptid): Add 'self' argument.
1154 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1155 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1156 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1158 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1160 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1162 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1164 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1165 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1168 2014-02-19 Tom Tromey <tromey@redhat.com>
1170 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1171 (target_goto_bookmark): Add argument.
1172 * target.c (dummy_goto_bookmark): Add 'self' argument.
1173 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1175 2014-02-19 Tom Tromey <tromey@redhat.com>
1177 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1178 (target_get_bookmark): Add argument.
1179 * target.c (dummy_get_bookmark): Add 'self' argument.
1180 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1182 2014-02-19 Tom Tromey <tromey@redhat.com>
1184 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1186 (target_make_corefile_notes): Add argument.
1187 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1188 * procfs.c (procfs_make_note_section): Add 'self' argument.
1189 (procfs_make_note_section): Add 'self' argument.
1190 (procfs_make_note_section): Add 'self' argument.
1191 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1193 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1194 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1195 * exec.c (exec_make_note_section): Add 'self' argument.
1196 (exec_make_note_section): Add 'self' argument.
1198 2014-02-19 Tom Tromey <tromey@redhat.com>
1200 * target.h (struct target_ops) <to_find_memory_regions>: Add
1202 (target_find_memory_regions): Add argument.
1203 * target.c (dummy_find_memory_regions): Add 'self' argument.
1204 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1205 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1206 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1207 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1208 * exec. (exec_do_find_memory_regions): New global.
1209 (exec_set_find_memory_regions): Rewrite.
1210 (exec_find_memory_regions): New function.
1211 (init_exec_ops): Use exec_find_memory_regions.
1213 2014-02-19 Tom Tromey <tromey@redhat.com>
1215 * target.h (struct target_ops) <to_supports_non_stop>: Add
1217 * target.c (find_default_supports_non_stop): Add argument.
1218 (target_supports_non_stop): Add argument.
1219 (find_default_supports_non_stop): Add 'self' argument.
1220 * remote.c (remote_supports_non_stop): Add 'self' argument.
1221 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1223 2014-02-19 Tom Tromey <tromey@redhat.com>
1225 * target.h (struct target_ops) <to_log_command>: Add argument.
1226 (target_log_command): Add argument.
1227 * serial.h (serial_log_command): Add 'self' argument.
1228 * serial.c (serial_log_command): Add 'self' argument.
1230 2014-02-19 Tom Tromey <tromey@redhat.com>
1232 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1233 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1235 (target_pid_to_exec_file): Add argument.
1236 * target.c (debug_to_pid_to_exec_file): Add argument.
1237 (update_current_target): Update.
1238 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1239 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1240 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1241 (linux_handle_extended_wait): Update.
1242 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1243 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1244 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1245 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1247 2014-02-19 Tom Tromey <tromey@redhat.com>
1249 * target.h (struct target_ops) <to_rcmd>: Add argument.
1250 (target_rcmd): Add argument.
1251 * target.c (debug_to_rcmd): Add argument.
1252 (update_current_target, do_monitor_command): Update.
1253 * remote.c (remote_rcmd): Add 'self' argument.
1254 * monitor.c (monitor_rcmd): Add 'self' argument.
1256 2014-02-19 Tom Tromey <tromey@redhat.com>
1258 * windows-nat.c (windows_stop): Add 'self' argument.
1259 * target.h (struct target_ops) <to_stop>: Add argument.
1260 * target.c (target_stop): Add argument.
1261 (debug_to_stop): Add argument.
1262 (update_current_target): Update.
1263 * remote.c (remote_stop): Add 'self' argument.
1264 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1265 (gdbsim_cntrl_c): Update.
1266 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1267 * procfs.c (procfs_stop): Add 'self' argument.
1268 * nto-procfs.c (procfs_stop): Add 'self' argument.
1269 * monitor.c (monitor_stop): Add 'self' argument.
1270 (monitor_open): Update.
1271 * linux-nat.c (linux_nat_stop): Add argument.
1272 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1273 * gnu-nat.c (gnu_stop): Add 'self' argument.
1274 * darwin-nat.c (darwin_stop): Add 'self' argument.
1276 2014-02-19 Tom Tromey <tromey@redhat.com>
1278 * target.h (struct target_ops) <to_thread_name>: Add argument.
1279 * target.c (target_thread_name): Add argument.
1280 (update_current_target): Update.
1281 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
1283 2014-02-19 Tom Tromey <tromey@redhat.com>
1285 * target.h (struct target_ops) <to_extra_thread_info>: Add
1287 (target_extra_thread_info): Add argument.
1288 * target.c (update_current_target): Update.
1289 * remote.c (remote_threads_extra_info): Add 'self' argument.
1290 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
1292 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
1293 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
1294 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
1296 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
1298 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
1300 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
1303 2014-02-19 Tom Tromey <tromey@redhat.com>
1305 * target.h (struct target_ops) <to_program_signals>: Add argument.
1306 * target.c (target_program_signals): Add argument.
1307 * remote.c (remote_program_signals): Add 'self' argument.
1309 2014-02-19 Tom Tromey <tromey@redhat.com>
1311 * target.h (struct target_ops) <to_pass_signals>: Add argument.
1312 * target.c (target_pass_signals): Add argument.
1313 * remote.c (remote_pass_signals): Add 'self' argument.
1314 (remote_start_remote): Update.
1315 * procfs.c (procfs_pass_signals): Add 'self' argument.
1316 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
1317 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
1318 (linux_nat_create_inferior, linux_nat_attach): Update.
1320 2014-02-19 Tom Tromey <tromey@redhat.com>
1322 * windows-nat.c (windows_can_run): Add 'self' argument.
1323 * target.h (struct target_ops) <to_can_run>: Add argument.
1324 (target_can_run): Add argument.
1325 * target.c (debug_to_can_run): Add argument.
1326 (update_current_target): Update.
1327 * nto-procfs.c (procfs_can_run): Add 'self' argument.
1328 * inf-child.c (inf_child_can_run): Add 'self' argument.
1329 * go32-nat.c (go32_can_run): Add 'self' argument.
1331 2014-02-19 Tom Tromey <tromey@redhat.com>
1333 * target.h (struct target_ops) <to_has_exited>: Add argument.
1334 (target_has_exited): Add argument.
1335 * target.c (debug_to_has_exited): Add argument.
1336 (update_current_target): Update.
1338 2014-02-19 Tom Tromey <tromey@redhat.com>
1340 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
1342 (target_set_syscall_catchpoint): Add argument.
1343 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
1345 * target.c (update_current_target): Update.
1347 2014-02-19 Tom Tromey <tromey@redhat.com>
1349 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
1351 (target_remove_exec_catchpoint): Add argument.
1352 * target.c (debug_to_remove_exec_catchpoint): Add argument.
1353 (update_current_target): Update.
1354 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
1357 2014-02-19 Tom Tromey <tromey@redhat.com>
1359 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
1361 (target_insert_exec_catchpoint): Add argument.
1362 * target.c (debug_to_insert_exec_catchpoint): Add argument.
1363 (update_current_target): Update.
1364 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
1367 2014-02-19 Tom Tromey <tromey@redhat.com>
1369 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
1371 (target_remove_vfork_catchpoint): Add argument.
1372 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
1373 (update_current_target): Update.
1374 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
1377 2014-02-19 Tom Tromey <tromey@redhat.com>
1379 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
1381 (target_insert_vfork_catchpoint): Add argument.
1382 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
1383 (update_current_target): Update.
1384 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
1387 2014-02-19 Tom Tromey <tromey@redhat.com>
1389 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
1391 (target_remove_fork_catchpoint): Add argument.
1392 * target.c (debug_to_remove_fork_catchpoint): Add argument.
1393 (update_current_target): Update.
1394 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
1397 2014-02-19 Tom Tromey <tromey@redhat.com>
1399 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
1401 (target_insert_fork_catchpoint): Add argument.
1402 * target.c (debug_to_insert_fork_catchpoint): Add argument.
1403 (update_current_target): Update.
1404 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
1407 2014-02-19 Tom Tromey <tromey@redhat.com>
1409 * target.h (struct target_ops) <to_post_startup_inferior>: Add
1411 (target_post_startup_inferior): Add argument.
1412 * target.c (debug_to_post_startup_inferior): Add argument.
1413 (update_current_target): Update.
1414 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
1416 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
1418 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
1420 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
1422 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
1424 (super_post_startup_inferior): Likewise.
1425 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
1427 (super_post_startup_inferior): Likewise.
1428 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
1429 Add 'self' argument.
1430 (super_post_startup_inferior): Likewise.
1432 2014-02-19 Tom Tromey <tromey@redhat.com>
1434 * target.h (struct target_ops) <to_load>: Add argument.
1435 * target.c (target_load): Add argument.
1436 (debug_to_load): Add argument.
1437 (update_current_target): Update.
1438 * remote.c (remote_load): Add 'self' argument.
1439 * remote-sim.c (gdbsim_load): Add 'self' argument.
1440 * remote-mips.c (mips_load): Add 'self' argument.
1441 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
1442 * monitor.c (monitor_load): Add 'self' argument.
1443 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
1445 2014-02-19 Tom Tromey <tromey@redhat.com>
1447 * target.h (struct target_ops) <to_terminal_info>: Add argument.
1448 (target_terminal_info): Add argument.
1449 * target.c (debug_to_terminal_info): Add argument.
1450 (default_terminal_info): Likewise.
1451 * inflow.c (child_terminal_info): Add 'self' argument.
1452 * inferior.h (child_terminal_info): Add 'self' argument.
1453 * go32-nat.c (go32_terminal_info): Add 'self' argument.
1455 2014-02-19 Tom Tromey <tromey@redhat.com>
1457 * target.h (struct target_ops) <to_terminal_save_ours>: Add
1459 (target_terminal_save_ours): Add argument.
1460 * target.c (debug_to_terminal_save_ours): Add argument.
1461 (update_current_target): Update.
1462 * inflow.c (terminal_save_ours): Add 'self' argument.
1463 * inferior.h (terminal_save_ours): Add 'self' argument.
1465 2014-02-19 Tom Tromey <tromey@redhat.com>
1467 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
1468 (target_terminal_ours): Add argument.
1469 * target.c (debug_to_terminal_ours): Add argument.
1470 (update_current_target): Update.
1471 * remote.c (remote_terminal_ours): Add 'self' argument.
1472 (remote_close): Update.
1473 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
1474 * inflow.c (terminal_ours): Add 'self' argument.
1475 * inferior.h (terminal_ours): Add 'self' argument.
1476 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1478 2014-02-19 Pedro Alves <palves@redhat.com>
1479 Tom Tromey <tromey@redhat.com>
1481 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
1483 (target_terminal_ours_for_output): Add argument.
1484 * target.c (debug_to_terminal_ours_for_output): Add argument.
1485 (update_current_target): Update.
1486 * inflow.c (terminal_ours_for_output): Add 'self' argument.
1487 * inferior.h (terminal_ours_for_output): Add 'self' argument.
1488 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1490 2014-02-19 Tom Tromey <tromey@redhat.com>
1492 * target.h (struct target_ops) <to_terminal_inferior>: Add
1494 * target.c (target_terminal_inferior): Add argument.
1495 (update_current_target): Update.
1496 * remote.c (remote_terminal_inferior): Add 'self' argument.
1497 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
1498 * inflow.c (terminal_inferior): Add 'self' argument.
1499 * inferior.h (terminal_inferior): Add 'self' argument.
1500 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
1501 (go32_terminal_inferior): Add 'self' argument.
1503 2014-02-19 Tom Tromey <tromey@redhat.com>
1505 * target.h (struct target_ops) <to_terminal_init>: Add argument.
1506 (target_terminal_init): Add argument.
1507 * target.c (debug_to_terminal_init): Add argument.
1508 (update_current_target): Update.
1509 * inflow.c (terminal_init_inferior): Add 'self' argument.
1510 * inferior.h (terminal_init_inferior): Add 'self' argument.
1511 * go32-nat.c (go32_terminal_init): Add 'self' argument.
1512 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
1514 2014-02-19 Tom Tromey <tromey@redhat.com>
1516 * target.h (struct target_ops)
1517 <to_can_accel_watchpoint_condition>: Add argument.
1518 (target_can_accel_watchpoint_condition): Add argument.
1519 * target.c (debug_to_can_accel_watchpoint_condition): Add
1521 (update_current_target): Update.
1522 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
1525 2014-02-19 Tom Tromey <tromey@redhat.com>
1527 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1529 (target_region_ok_for_hw_watchpoint): Add argument.
1530 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
1531 (default_region_ok_for_hw_watchpoint): Add argument.
1532 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
1533 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
1535 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
1537 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
1539 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
1541 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
1543 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
1545 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
1546 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
1548 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
1549 Add 'self' argument.
1551 2014-02-19 Tom Tromey <tromey@redhat.com>
1553 * target.h (struct target_ops) <to_insert_watchpoint>: Add
1555 (target_insert_watchpoint): Add argument.
1556 * target.c (debug_to_insert_watchpoint): Add argument.
1557 (update_current_target): Update.
1558 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
1559 * remote.c (remote_insert_watchpoint): Add 'self' argument.
1560 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
1561 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
1562 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
1563 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
1565 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
1566 (procfs_insert_hw_watchpoint): Add 'self' argument.
1567 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
1569 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
1571 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
1573 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
1574 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
1576 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
1579 2014-02-19 Tom Tromey <tromey@redhat.com>
1581 * target.h (struct target_ops) <to_remove_watchpoint>: Add
1583 (target_remove_watchpoint): Add argument.
1584 * target.c (debug_to_remove_watchpoint): Add argument.
1585 (update_current_target): Update.
1586 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
1587 * remote.c (remote_remove_watchpoint): Add 'self' argument.
1588 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
1589 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
1590 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
1591 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
1593 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
1594 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
1596 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
1598 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
1600 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
1601 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
1603 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
1606 2014-02-19 Tom Tromey <tromey@redhat.com>
1608 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
1610 (target_remove_hw_breakpoint): Add argument.
1611 * target.c (debug_to_remove_hw_breakpoint): Add argument.
1612 (update_current_target): Update.
1613 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
1614 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
1616 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
1617 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
1619 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
1622 2014-02-19 Tom Tromey <tromey@redhat.com>
1624 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
1626 (target_insert_hw_breakpoint): Add argument.
1627 * target.c (debug_to_insert_hw_breakpoint): Add argument.
1628 (update_current_target): Update.
1629 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
1630 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
1632 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
1633 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
1634 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
1636 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
1639 2014-02-19 Tom Tromey <tromey@redhat.com>
1641 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
1643 (target_can_use_hardware_watchpoint): Add argument.
1644 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
1645 (update_current_target): Update.
1646 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
1648 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
1650 * remote.c (remote_check_watch_resources): Add 'self' argument.
1651 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
1652 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
1654 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
1655 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
1657 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
1659 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
1661 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
1663 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
1665 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
1667 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
1668 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
1670 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
1673 2014-02-19 Tom Tromey <tromey@redhat.com>
1675 * target.h (struct target_ops) <to_post_attach>: Add argument.
1676 (target_post_attach): Add argument.
1677 * target.c (debug_to_post_attach): Add argument.
1678 (update_current_target): Update.
1679 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
1680 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
1681 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
1682 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
1683 * inf-child.c (inf_child_post_attach): Add 'self' argument.
1685 2014-02-19 Tom Tromey <tromey@redhat.com>
1687 * windows-nat.c (windows_close): Add 'self' argument.
1688 * tracepoint.c (tfile_close): Add 'self' argument.
1689 * target.h (struct target_ops) <to_close>: Add argument.
1690 * target.c (target_close): Add argument.
1691 (update_current_target): Update.
1692 * remote.c (remote_close): Add 'self' argument.
1693 * remote-sim.c (gdbsim_close): Add 'self' argument.
1694 * remote-mips.c (mips_close): Add 'self' argument.
1695 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
1696 * record-full.c (record_full_close): Add 'self' argument.
1697 * record-btrace.c (record_btrace_close): Add 'self' argument.
1698 * monitor.h (monitor_close): Add 'self' argument.
1699 * monitor.c (monitor_close): Add 'self' argument.
1700 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
1701 * linux-nat.c (linux_nat_close): Add argument.
1702 * go32-nat.c (go32_close): Add 'self' argument.
1703 * exec.c (exec_close_1): Add 'self' argument.
1704 * ctf.c (ctf_close): Add 'self' argument.
1705 * corelow.c (core_close): Add 'self' argument.
1706 (core_close_cleanup): Update.
1707 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
1708 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
1710 2014-02-19 Tom Tromey <tromey@redhat.com>
1712 * remote.c (remote_load): New function.
1713 (init_remote_ops): Use it.
1715 2014-02-19 Tom Tromey <tromey@redhat.com>
1717 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
1719 * common/linux-btrace.h (linux_supports_btrace): Update.
1720 * remote.c (remote_supports_btrace): Add "self" argument.
1721 * target-delegates.c: Rebuild.
1722 * target.c (target_supports_btrace): Remove.
1723 * target.h (struct target_ops) <to_supports_btrace>: Add
1724 target_ops argument.
1725 (target_supports_btrace): New define.
1727 2014-02-19 Tom Tromey <tromey@redhat.com>
1729 * record-full.c (record_full_beneath_to_resume_ops)
1730 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
1731 (record_full_beneath_to_wait)
1732 (record_full_beneath_to_store_registers_ops)
1733 (record_full_beneath_to_store_registers)
1734 (record_full_beneath_to_xfer_partial_ops)
1735 (record_full_beneath_to_xfer_partial)
1736 (record_full_beneath_to_insert_breakpoint_ops)
1737 (record_full_beneath_to_insert_breakpoint)
1738 (record_full_beneath_to_remove_breakpoint_ops)
1739 (record_full_beneath_to_remove_breakpoint)
1740 (record_full_beneath_to_stopped_by_watchpoint)
1741 (record_full_beneath_to_stopped_data_address)
1742 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
1743 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
1744 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
1745 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
1746 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
1747 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
1748 (tmp_to_stopped_data_address, tmp_to_async): Remove.
1749 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
1750 (record_full_resume, record_full_wait_1)
1751 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
1752 (record_full_store_registers, record_full_xfer_partial)
1753 (record_full_insert_breakpoint, record_full_remove_breakpoint)
1754 (record_full_async, record_full_core_xfer_partial): Use target
1756 * target-delegates.c: Rebuild.
1757 * target.c (current_xfer_partial): Remove.
1758 (update_current_target): Do not INHERIT or de_fault
1759 to_insert_breakpoint, to_remove_breakpoint,
1760 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
1761 to_is_async_p, to_async. Do not set to_xfer_partial field.
1762 (default_xfer_partial): Simplify.
1763 (current_xfer_partial): Remove.
1764 (target_wait, target_resume): Simplify.
1765 (find_default_can_async_p, find_default_is_async_p): Update.
1766 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
1767 to_xfer_partial, to_stopped_by_watchpoint,
1768 to_stopped_data_address.
1769 (target_store_registers): Simplify.
1770 (forward_target_remove_breakpoint)
1771 (forward_target_insert_breakpoint): Remove.
1772 (target_remove_breakpoint, target_insert_breakpoint)
1773 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
1774 * target.h (struct target_ops) <to_resume, to_wait,
1775 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
1776 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
1777 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
1779 (forward_target_remove_breakpoint)
1780 (forward_target_insert_breakpoint): Remove.
1781 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
1783 (record_btrace_insert_breakpoint): Delegate directly.
1785 2014-02-19 Tom Tromey <tromey@redhat.com>
1788 * target-delegates.c: New file.
1789 * target.c: Include target-delegates.c.
1790 (init_dummy_target): Call install_dummy_methods.
1791 (complete_target_initialization): Call install_delegators.
1792 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
1793 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
1794 * make-target-delegates: New file.
1796 2014-02-19 Tom Tromey <tromey@redhat.com>
1798 * record.c (find_record_target): Use find_target_at.
1799 * target.c (find_target_at): New function.
1800 * target.h (find_target_at): Declare.
1802 2014-02-19 Tom Tromey <tromey@redhat.com>
1804 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
1806 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
1808 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
1809 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
1811 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
1813 * linux-nat.c (save_sigtrap): Update.
1814 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
1815 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
1816 (linux_nat_close): Update.
1817 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
1819 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
1821 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
1822 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
1823 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
1824 (tmp_to_async): Add 'ops' argument.
1825 (record_full_stopped_by_watchpoint, record_full_async)
1826 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
1828 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
1829 (m32r_stopped_by_watchpoint): Add 'ops' argument.
1830 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
1831 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
1832 (remote_is_async_p, remote_async): Add 'ops' argument.
1833 (remote_stopped_data_address): Update.
1834 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
1835 * target.c (update_current_target)
1836 (find_default_can_async_p, find_default_is_async_p): Update.
1837 (init_dummy_target): Update.
1838 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
1839 * target.h (struct target_ops) <to_stopped_by_watchpoint,
1840 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
1841 (target_can_async_p, target_is_async_p, target_async)
1842 (target_stopped_by_watchpoint): Update.
1844 2014-02-19 Yao Qi <yao@codesourcery.com>
1847 * gdbarch.sh: Remove startup_gdbarch.
1848 * gdbarch.c: Regenerated.
1849 * gdbarch.h: Likewise.
1851 2014-02-17 Kevin Buettner <kevinb@redhat.com>
1853 * rl78-tdep.c (rl78_g10_register_name): New function.
1854 (rl78_return_value): Add g10 support.
1855 (rl78_gdbarch_init): Register rl78_g10_register_name for the
1858 2014-02-17 Doug Evans <xdje42@gmail.com>
1860 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
1861 (SUBDIR_GUILE_SRCS): Ditto.
1862 (scm-gsmob.o): Ditto.
1864 2014-02-17 Yao Qi <yao@codesourcery.com>
1866 * gnu-nat.c (ILL_RPC): Declare defined function.
1868 2014-02-17 Yao Qi <yao@codesourcery.com>
1870 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
1871 mach_msg_type_number_t.
1872 (gnu_write_inferior): Likewise.
1874 2014-02-17 Yao Qi <yao@codesourcery.com>
1876 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
1878 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
1879 (inf_validate_procs, inf_signal): Likewise.
1880 (S_exception_raise_request): Likewise.
1881 (do_mach_notify_dead_name): Likewise.
1882 (steal_exc_port): Likewise.
1883 (gnu_read_inferior): Change 'copy_count''s type to
1884 mach_msg_type_number_t.
1885 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
1888 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
1890 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
1891 flag. Adjust all users; in particular...
1892 (gnu_wait): ..., don't decrement its value in here...
1893 (gnu_create_inferior): ..., and instead set the flag in here,
1894 around the startup_inferior call, and call that one with
1895 START_INFERIOR_TRAPS_EXPECTED.
1897 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
1898 (ILL_RPC): ... new macro.
1899 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
1900 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
1901 (do_mach_notify_send_once, S_proc_setmsgport_reply)
1902 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
1903 functions with ILL_RPC macro.
1904 (S_proc_pid2task_reply, S_proc_task2pid_reply)
1905 (S_proc_task2proc_reply, S_proc_proc2task_reply)
1906 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
1907 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
1908 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
1909 (S_proc_getlogin_reply, S_proc_getsid_reply)
1910 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
1911 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
1912 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
1913 (S_proc_getnports_reply, S_proc_is_important_reply)
1914 (S_proc_get_code_reply): New stub functions, generated with
1917 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
1918 collected the type check structures.
1920 * reply_mig_hack.awk: Don't expect to see the auto keyword.
1922 2014-02-14 Doug Evans <dje@google.com>
1924 * target.c (target_write_partial): Fix result type.
1926 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
1928 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
1929 the proper offsets to access fpregset_t.
1931 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
1933 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
1934 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
1935 * h8300-tdep.c (setmachinelist): Remove global.
1936 * hppa-tdep.c (hppa_sigtramp): Remove global.
1937 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
1938 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
1939 * ravenscar-thread.c (update_target_observer): Remove global.
1940 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
1942 2014-02-12 Tom Tromey <tromey@redhat.com>
1944 * common/rsp-low.c: Update comments.
1945 * common/rsp-low.h: Update comments.
1947 2014-02-12 Tom Tromey <tromey@redhat.com>
1949 * common/rsp-low.c (convert_ascii_to_int): Remove.
1950 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
1952 2014-02-12 Tom Tromey <tromey@redhat.com>
1954 * common/rsp-low.h (unhexify): Don't declare.
1955 * common/rsp-low.c (unhexify): Remove.
1957 2014-02-12 Tom Tromey <tromey@redhat.com>
1959 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
1960 * common/rsp-low.c (convert_int_to_ascii): Remove.
1962 2014-02-12 Tom Tromey <tromey@redhat.com>
1964 * common/rsp-low.h (hexify): Don't declare.
1965 * common/rsp-low.c (hexify): Remove.
1967 2014-02-12 Tom Tromey <tromey@redhat.com>
1969 * common/rsp-low.c (hexify): Never take strlen of argument.
1971 2014-02-12 Tom Tromey <tromey@redhat.com>
1973 * common/rsp-low.c (bin2hex): Never take strlen of argument.
1974 * remote.c (extended_remote_run, remote_rcmd)
1975 (remote_download_trace_state_variable, remote_save_trace_data)
1976 (remote_set_trace_notes): Update.
1977 * tracepoint.c (encode_source_string, tfile_write_status)
1978 (tfile_write_uploaded_tsv): Update.
1980 2014-02-12 Tom Tromey <tromey@redhat.com>
1982 * tracepoint.c: Include rsp-low.h.
1983 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
1984 * remote.c: Include rsp-low.h.
1985 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
1986 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
1987 (remote_unescape_input): Move to common/rsp-low.c.
1988 * common/rsp-low.h: New file.
1989 * common/rsp-low.c: New file.
1990 * Makefile.in (SFILES): Add common/rsp-low.c.
1991 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
1992 (COMMON_OBS): Add rsp-low.o.
1993 (rsp-low.o): New target.
1995 2014-02-12 Tom Tromey <tromey@redhat.com>
1997 * utils.h: Include print-utils.h.
1998 (host_address_to_string, plongest, pulongest, phex, phex_nz)
1999 (int_string, core_addr_to_string, core_addr_to_string_nz)
2000 (hex_string, hex_string_custom): Don't declare.
2001 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2002 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2003 (hex_string_custom, int_string, core_addr_to_string)
2004 (core_addr_to_string_nz, host_address_to_string): Move to
2005 common/print-utils.c.
2006 * common/print-utils.h: New file.
2007 * common/print-utils.c: New file
2008 * Makefile.in (SFILES): Add common/print-utils.c.
2009 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2010 (COMMON_OBS): Add print-utils.o.
2011 (print-utils.o): New target.
2013 2014-02-12 Tom Tromey <tromey@redhat.com>
2015 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2017 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2019 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2021 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2023 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2024 if a PT_IO ptrace request returns sucessfully but indicates that 0
2025 bytes were transferred.
2027 2014-02-12 Pedro Alves <palves@redhat.com>
2028 Kevin Buettner <kevinb@redhat.com>
2030 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2031 TYPE_INSTANCE_FLAG_CODE_SPACE.
2033 2014-02-12 Pedro Alves <palves@redhat.com>
2035 * h8300-tdep.c (pseudo_from_raw_register)
2036 (raw_from_pseudo_register): New functions.
2037 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2040 2014-02-12 Pedro Alves <palves@redhat.com>
2042 * h8300-tdep.c (h8300_register_sim_regno): New function.
2043 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2044 gdbarch_register_sim_regno hook.
2046 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2048 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2050 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2052 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2054 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2056 * obsd-tdep.h (obsd_init_abi): New prototype.
2057 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2058 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2059 (obsd_init_abi): New functions.
2060 * i386obsd-tdep.c: Include "obsd-tdep.h".
2061 (i386obsd_init_abi): Call obsd_init_abi.
2062 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2063 (amd64obsd_init_abi): Call obsd_init_abi.
2064 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2065 obsd-tdep.c to gdb_target_obs.
2067 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2069 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2070 double float arguments to 16-byte in the argument slots.
2072 2014-02-11 Doug Evans <xdje42@gmail.com>
2074 * configure.ac: Don't crash if pkg-config is not found and guile
2075 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2077 * configure: Regenerate.
2079 2014-02-11 Yao Qi <yao@codesourcery.com>
2081 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2082 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2083 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2084 * gnu-nat.c (gnu_xfer_memory): Likewise.
2085 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2086 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2087 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2088 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2090 2014-02-11 Yao Qi <yao@codesourcery.com>
2092 * target.h (enum target_xfer_error): Rename to ...
2093 (enum target_xfer_status): ... it. New. All users updated.
2094 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2096 (TARGET_XFER_STATUS_ERROR_P): New macro.
2097 (target_xfer_error_to_string): Remove declaration.
2098 (target_xfer_status_to_string): Declare.
2099 (target_xfer_partial_ftype): Adjust it.
2100 (struct target_ops) <to_xfer_partial>: Return
2101 target_xfer_status. Add argument xfered_len. Update
2103 * target.c (target_xfer_error_to_string): Rename to ...
2104 (target_xfer_status_to_string): ... it. New. All callers
2106 (target_read_live_memory): Likewise. Call target_xfer_partial
2107 instead of target_read.
2108 (memory_xfer_live_readonly_partial): Return
2109 target_xfer_status. Add argument xfered_len.
2110 (raw_memory_xfer_partial): Likewise.
2111 (memory_xfer_partial_1): Likewise.
2112 (memory_xfer_partial): Likewise.
2113 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2114 properly. Update debug message.
2115 (default_xfer_partial, current_xfer_partial): Likewise.
2116 (target_write_partial): Likewise.
2117 (target_read_partial): Likewise. All callers updated.
2118 (read_whatever_is_readable): Likewise.
2119 (target_write_with_progress): Likewise.
2120 (target_read_alloc_1): Likewise.
2122 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2123 * auxv.c (procfs_xfer_auxv): Likewise.
2124 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2125 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2126 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2127 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2128 * corefile.c (read_memory): Adjust.
2129 * corelow.c (core_xfer_partial): Likewise.
2130 * ctf.c (ctf_xfer_partial): Likewise.
2131 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2133 (darwin_xfer_partial): Likewise.
2134 * exec.c (section_table_xfer_memory_partial): Likewise. All
2136 (exec_xfer_partial): Likewise.
2137 * exec.h (section_table_xfer_memory_partial): Update
2139 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2141 (gnu_xfer_partial): Likewise.
2142 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2143 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2144 (ia64_hpux_xfer_solib_got): Likewise.
2145 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2146 type of 'partial_len' to ULONGEST.
2147 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2148 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2149 (linux_nat_xfer_partial): Likewise.
2150 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2151 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2152 * monitor.c (monitor_xfer_memory): Likewise.
2153 (monitor_xfer_partial): Likewise.
2154 * procfs.c (procfs_xfer_partial): Likewise.
2155 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2156 * record-full.c (record_full_xfer_partial): Likewise.
2157 (record_full_core_xfer_partial): Likewise.
2158 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2159 (gdbsim_xfer_partial): Likewise.
2160 * remote.c (remote_write_bytes_aux): Likewise. All callers
2162 (remote_write_bytes, remote_read_bytes): Likewise. All
2164 (remote_flash_erase): Likewise. All callers updated.
2165 (remote_write_qxfer): Likewise. All callers updated.
2166 (remote_read_qxfer): Likewise. All callers updated.
2167 (remote_xfer_partial): Likewise.
2168 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2169 (rs6000_xfer_shared_libraries): Likewise.
2170 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2171 (sol_thread_xfer_partial): Likewise.
2172 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2173 (sparc_xfer_partial): Likewise.
2174 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2176 (spu_xfer_partial): Likewise.
2177 * spu-multiarch.c (spu_xfer_partial): Likewise.
2178 * tracepoint.c (tfile_xfer_partial): Likewise.
2179 * windows-nat.c (windows_xfer_memory): Likewise.
2180 (windows_xfer_shared_libraries): Likewise.
2181 (windows_xfer_partial): Likewise.
2182 * valprint.c: Replace 'target_xfer_error' with
2183 'target_xfer_status' in comments.
2185 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2187 Checked in by Joel Brobecker <brobecker@adacore.com>.
2188 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2190 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2192 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2193 function parameters.
2195 2014-02-10 Will Newton <will.newton@linaro.org>
2197 * elfread.c (elf_rel_plt_read): Look for a .got section if
2198 looking up .got.plt fails.
2199 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2200 on address passed to elf_gnu_ifunc_record_cache.
2201 (elf_gnu_ifunc_resolve_addr): Likewise.
2202 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2204 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2206 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2207 (X_RETTURN): New macro.
2208 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2210 * sparc64-tdep.c (sparc64_init_abi): Hook
2211 sparc_in_function_epilogue_p.
2213 2014-02-10 Gary Benson <gbenson@redhat.com>
2215 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2216 Rename name_matcher to symbol_matcher.
2218 2014-02-10 Gary Benson <gbenson@redhat.com>
2220 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2221 Use expand_symtabs_file_matcher_ftype and
2222 expand_symtabs_symbol_matcher_ftype.
2224 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2226 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2227 (struct ada_symbol_cache): New.
2228 (ada_free_symbol_cache): Forward declare.
2229 (struct ada_pspace_data): New.
2230 (ada_pspace_data_handle): New static global.
2231 (get_ada_pspace_data, ada_pspace_data_cleanup)
2232 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2233 (cache_space, cache): Delete, now folded inside struct
2235 (ada_get_symbol_cache): New function.
2236 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2238 (_initialize_ada_language): Remove initialization of cache_space.
2239 Move call to observer_attach_inferior_exit up, grouping it
2240 with the other observer registrations inside this function.
2241 Rename command to be more general. Add call to
2242 register_program_space_data_with_cleanup.
2244 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2246 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2247 ada_new_objfile_observer.
2248 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2249 (_initialize_tasks): Update uses of ada_new_objfile_observer
2250 and ada_tasks_normal_stop_observer.
2252 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2254 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2255 returned by the 'Length attribute to integer.
2257 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2259 * ada-lang.c (_initialize_ada_language): Initialize
2260 cache_space obstack.
2262 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2264 * ada-lang.c (HASH_SIZE): New macro.
2265 (struct cache_entry): New type.
2266 (cache_space, cache): New static globals.
2267 (ada_clear_symbol_cache, find_entry): New functions.
2268 (lookup_cached_symbol, cache_symbol): Implement.
2269 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2270 (_initialize_ada_language): Attach ada_new_objfile_observer
2271 and ada_free_objfile_observer.
2273 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2275 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
2276 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
2277 struct block * parameter.
2278 (ada_lookup_symbol_list_worker): Constify local variable "block".
2279 Remove cast which is no longer necessary.
2281 2014-02-10 Doug Evans <xdje42@gmail.com>
2283 Add Guile as an extension language.
2284 * NEWS: Mention Guile scripting.
2285 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
2286 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
2287 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
2288 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
2289 (CLIBS): Add GUILE_LIBS.
2290 (install-guile): New rule.
2291 (guile.o): New rule.
2292 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
2293 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
2294 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
2295 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
2296 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
2297 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
2298 (scm-type.o, scm-utils.o, scm-value.o): New rules.
2299 * configure.ac: New option --with-guile.
2300 * configure: Regenerate.
2301 * config.in: Regenerate.
2302 * auto-load.c: Remove #include "python/python.h". Add #include
2303 "gdb/section-scripts.h".
2304 (source_section_scripts): Handle Guile scripts.
2305 (_initialize_auto_load): Add name of Guile objfile script to
2306 scripts-directory help text.
2307 * breakpoint.c (condition_command): Tweak comment to include Scheme.
2308 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
2309 (struct breakpoint): New member scm_bp_object.
2310 * defs.h (enum command_control_type): New value guile_control.
2311 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
2313 (show_user): Update comment.
2314 (_initialize_cli_cmds): Update help text for "show user". Update help
2315 text for max-user-call-depth.
2316 * cli/cli-script.c: Remove #include "python/python.h". Add #include
2318 (multi_line_command_p): Add guile_control.
2319 (print_command_lines): Handle guile_control.
2320 (execute_control_command, recurse_read_control_structure): Ditto.
2321 (process_next_line): Recognize "guile" commands.
2322 * disasm.c (gdb_disassemble_info): Make non-static.
2323 * disasm.h: #include "dis-asm.h".
2324 (struct gdbarch): Add forward decl.
2325 (gdb_disassemble_info): Declare.
2326 * extension.c: #include "guile/guile.h".
2327 (extension_languages): Add guile.
2328 (get_ext_lang_defn): Handle EXT_LANG_GDB.
2329 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
2330 * gdbtypes.c (get_unsigned_type_max): New function.
2331 (get_signed_type_minmax): New function.
2332 * gdbtypes.h (get_unsigned_type_max): Declare.
2333 (get_signed_type_minmax): Declare.
2334 * guile/README: New file.
2335 * guile/guile-internal.h: New file.
2336 * guile/guile.c: New file.
2337 * guile/guile.h: New file.
2338 * guile/scm-arch.c: New file.
2339 * guile/scm-auto-load.c: New file.
2340 * guile/scm-block.c: New file.
2341 * guile/scm-breakpoint.c: New file.
2342 * guile/scm-disasm.c: New file.
2343 * guile/scm-exception.c: New file.
2344 * guile/scm-frame.c: New file.
2345 * guile/scm-gsmob.c: New file.
2346 * guile/scm-iterator.c: New file.
2347 * guile/scm-lazy-string.c: New file.
2348 * guile/scm-math.c: New file.
2349 * guile/scm-objfile.c: New file.
2350 * guile/scm-ports.c: New file.
2351 * guile/scm-pretty-print.c: New file.
2352 * guile/scm-safe-call.c: New file.
2353 * guile/scm-string.c: New file.
2354 * guile/scm-symbol.c: New file.
2355 * guile/scm-symtab.c: New file.
2356 * guile/scm-type.c: New file.
2357 * guile/scm-utils.c: New file.
2358 * guile/scm-value.c: New file.
2359 * guile/lib/gdb.scm: New file.
2360 * guile/lib/gdb/boot.scm: New file.
2361 * guile/lib/gdb/experimental.scm: New file.
2362 * guile/lib/gdb/init.scm: New file.
2363 * guile/lib/gdb/iterator.scm: New file.
2364 * guile/lib/gdb/printing.scm: New file.
2365 * guile/lib/gdb/types.scm: New file.
2366 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
2367 (VPATH): Add $(GUILE_SRCDIR).
2368 (GUILE_DIR): New variable.
2369 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
2370 (all): Add stamp-guile dependency.
2371 (stamp-guile): New rule.
2372 (clean-guile, install-guile, uninstall-guile): New rules.
2373 (install-only): Add install-guile dependency.
2374 (uninstall): Add uninstall-guile dependency.
2375 (clean): Add clean-guile dependency.
2377 2014-02-09 Doug Evans <xdje42@gmail.com>
2379 Revert this patch (which I approved, mea culpa).
2381 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2383 * Makefile.in (all-lib): Remove.
2384 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2386 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2388 Fix Python stack corruption.
2389 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
2392 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2394 * Makefile.in (all-lib): Remove.
2395 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2397 2014-02-07 Doug Evans <dje@google.com>
2399 * extension-priv.h (extension_language_script_ops): Add comment.
2400 (extension_language_ops): Add comment.
2401 (active_ext_lang_state): Fix typo in comment.
2403 2014-02-07 Pedro Alves <palves@redhat.com>
2405 * infrun.c (handle_signal_stop) <signal arrives while stepping
2406 over a breakpoint>: Switch back to the stepping thread.
2408 2014-02-07 Yao Qi <yao@codesourcery.com>
2410 * target.c (target_xfer_partial): Return zero if LEN is zero.
2412 2014-02-07 Yao Qi <yao@codesourcery.com>
2414 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
2415 (ld_so_xfer_auxv): Likewise.
2416 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2417 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2418 * corelow.c (core_xfer_partial): Likewise.
2419 * ctf.c (ctf_xfer_partial): Likewise.
2420 * darwin-nat.c (darwin_read_dyld_info): Likewise.
2421 (darwin_xfer_partial): Likewise.
2422 * exec.c (exec_xfer_partial): Likewise.
2423 * gnu-nat.c (gnu_xfer_partial): Likewise.
2424 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
2425 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2426 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2427 * linux-nat.c (linux_xfer_siginfo): Likewise.
2428 (linux_proc_xfer_spu): Likewise.
2429 * procfs.c (procfs_xfer_partial): Likewise.
2430 * record-full.c (record_full_xfer_partial): Likewise.
2431 (record_full_core_xfer_partial): Likewise.
2432 * remote-sim.c (gdbsim_xfer_partial): Likewise.
2433 * remote.c (remote_write_qxfer): Likewise.
2434 (remote_write_qxfer, remote_read_qxfer): Likewise.
2435 (remote_xfer_partial): Likewise.
2436 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2437 (rs6000_xfer_shared_libraries): Likewise.
2438 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2439 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2440 (spu_xfer_partial): Likewise.
2441 * target.c (memory_xfer_partial_1): Likewise.
2442 * tracepoint.c (tfile_xfer_partial): Likewise.
2443 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
2444 (windows_xfer_partial): Likewise.
2446 2014-02-07 Yao Qi <yao@codesourcery.com>
2448 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
2450 (core_xfer_shared_libraries_aix): Likewise.
2451 * gdbarch.c, gdbarch.h: Regenerated.
2452 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
2453 ULONGEST. Change 'len_avail' type to ULONGEST.
2454 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
2455 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
2457 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
2459 2014-02-07 Yao Qi <yao@codesourcery.com>
2461 * corefile.c (memory_error): Get 'exception' from ERR and pass
2462 'exception' to throw_error.
2464 2014-02-06 Doug Evans <xdje42@gmail.com>
2466 * configure.ac (libpython checking): Remove all but python.o from
2467 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
2468 * configure: Regenerate.
2470 * Makefile.in (SFILES): Add extension.c.
2471 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
2472 (COMMON_OBS): Add extension.o.
2473 * extension.h: New file.
2474 * extension-priv.h: New file.
2475 * extension.c: New file.
2477 * python/python-internal.h: #include "extension.h".
2478 (gdbpy_auto_load_enabled): Declare.
2479 (gdbpy_apply_val_pretty_printer): Declare.
2480 (gdbpy_apply_frame_filter): Declare.
2481 (gdbpy_preserve_values): Declare.
2482 (gdbpy_breakpoint_cond_says_stop): Declare.
2483 (gdbpy_breakpoint_has_cond): Declare.
2484 (void source_python_script_for_objfile): Delete.
2485 * python/python.c: #include "extension-priv.h".
2486 Delete inclusion of "observer.h".
2487 (extension_language_python): Moved here and renamed from
2488 script_language_python in py-auto-load.c.
2489 Redefined to be of type extension_language_defn.
2490 (python_extension_script_ops): New global.
2491 (python_extension_ops): New global.
2492 (struct python_env): New member previous_active.
2493 (restore_python_env): Call restore_active_ext_lang.
2494 (ensure_python_env): Call set_active_ext_lang.
2495 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
2497 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
2499 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
2501 (gdbpy_eval_from_control_command): Renamed from
2502 eval_python_from_control_command, made static. New arg extlang.
2503 (gdbpy_source_script) Renamed from source_python_script, made static.
2505 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
2506 result to int. New arg extlang.
2507 (gdbpy_source_objfile_script): Renamed from
2508 source_python_script_for_objfile, made static. New arg extlang.
2509 (gdbpy_start_type_printers): Renamed from start_type_printers, made
2510 static. New args extlang, extlang_printers. Change result type to
2512 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
2513 static. New arg extlang. Rename arg printers to extlang_printers
2514 and change type to ext_lang_type_printers *.
2515 (gdbpy_free_type_printers): Renamed from free_type_printers, made
2516 static. Replace argument arg with extlang, extlang_printers.
2517 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
2518 (!HAVE_PYTHON, source_python_script): Delete.
2519 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
2520 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
2521 (!HAVE_PYTHON, start_type_printers): Delete.
2522 (!HAVE_PYTHON, apply_type_printers): Delete.
2523 (!HAVE_PYTHON, free_type_printers): Delete.
2524 (_initialize_python): Delete call to observer_attach_before_prompt.
2525 (finalize_python): Set/restore active extension language.
2526 (gdbpy_finish_initialization) Renamed from
2527 finish_python_initialization, made static. New arg extlang.
2528 (gdbpy_initialized): New function.
2529 * python/python.h: #include "extension.h". Delete #include
2530 "value.h", "mi/mi-cmds.h".
2531 (extension_language_python): Declare.
2532 (GDBPY_AUTO_FILE_NAME): Delete.
2533 (enum py_bt_status): Moved to extension.h and renamed to
2535 (enum frame_filter_flags): Moved to extension.h.
2536 (enum py_frame_args): Moved to extension.h and renamed to
2537 ext_lang_frame_args.
2538 (finish_python_initialization): Delete.
2539 (eval_python_from_control_command): Delete.
2540 (source_python_script): Delete.
2541 (apply_val_pretty_printer): Delete.
2542 (apply_frame_filter): Delete.
2543 (preserve_python_values): Delete.
2544 (gdbpy_script_language_defn): Delete.
2545 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
2546 (start_type_printers, apply_type_printers, free_type_printers): Delete.
2548 * auto-load.c: #include "extension.h".
2549 (GDB_AUTO_FILE_NAME): Delete.
2550 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
2551 (script_language_gdb): Delete, moved to extension.c and renamed to
2552 extension_language_gdb.
2553 (source_gdb_script_for_objfile): Delete.
2554 (auto_load_pspace_info): New member unsupported_script_warning_printed.
2555 (loaded_script): Change type of language member to
2556 struct extension_language_defn *.
2557 (init_loaded_scripts_info): Initialize
2558 unsupported_script_warning_printed.
2559 (maybe_add_script): Make static. Change type of language arg to
2560 struct extension_language_defn *.
2561 (clear_section_scripts): Reset unsupported_script_warning_printed.
2562 (auto_load_objfile_script_1): Rewrite to use extension language API.
2563 (auto_load_objfile_script): Make public. Remove support-compiled-in
2564 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
2565 (source_section_scripts): Rewrite to use extension language API.
2566 (load_auto_scripts_for_objfile): Rewrite to use
2567 auto_load_scripts_for_objfile.
2568 (collect_matching_scripts_data): Change type of language member to
2569 struct extension_language_defn *.
2570 (auto_load_info_scripts): Change type of language arg to
2571 struct extension_language_defn *.
2572 (unsupported_script_warning_print): New function.
2573 (script_not_found_warning_print): Make static.
2574 (_initialize_auto_load): Rewrite construction of scripts-directory
2576 * auto-load.h (struct objfile): Add forward decl.
2577 (struct script_language): Delete.
2578 (struct auto_load_pspace_info): Add forward decl.
2579 (struct extension_language_defn): Add forward decl.
2580 (maybe_add_script): Delete.
2581 (auto_load_objfile_script): Declare.
2582 (script_not_found_warning_print): Delete.
2583 (auto_load_info_scripts): Update prototype.
2584 (auto_load_gdb_scripts_enabled): Declare.
2585 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
2586 auto_load_python_scripts_enabled and made public.
2587 (script_language_python): Delete, moved to python.c.
2588 (gdbpy_script_language_defn): Delete.
2589 (info_auto_load_python_scripts): Update to use
2590 extension_language_python.
2592 * breakpoint.c (condition_command): Replace call to
2593 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
2594 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
2595 with call to breakpoint_ext_lang_cond_says_stop.
2596 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
2597 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
2598 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
2599 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
2601 (local_setattro): Print name of extension language with existing
2604 * valprint.c (val_print, value_print): Update to call
2605 apply_ext_lang_val_pretty_printer.
2606 * cp-valprint.c (cp_print_value): Update call to
2607 apply_ext_lang_val_pretty_printer.
2608 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
2609 (gdbpy_apply_val_pretty_printer): Renamed from
2610 apply_val_pretty_printer. New arg extlang.
2611 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
2613 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
2614 extension language API.
2615 * cli/cli-script.c (execute_control_command): Update to call
2616 eval_ext_lang_from_control_command.
2618 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
2619 enum ext_lang_bt_status values. Update call to
2620 apply_ext_lang_frame_filter.
2621 (mi_cmd_stack_list_locals): Ditto.
2622 (mi_cmd_stack_list_args): Ditto.
2623 (mi_cmd_stack_list_variables): Ditto.
2624 * mi/mi-main.c: Delete #include "python/python-internal.h".
2625 Add #include "extension.h".
2626 (mi_cmd_list_features): Replace reference to python internal variable
2627 gdb_python_initialized with call to ext_lang_initialized_p.
2629 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
2630 Update to use enum ext_lang_frame_args. Update to call
2631 apply_ext_lang_frame_filter.
2632 * python/py-framefilter.c (extract_sym): Update to use enum
2634 (extract_value, py_print_type, py_print_value): Ditto.
2635 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
2636 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
2637 (py_print_frame): Ditto.
2638 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
2639 New arg extlang. Update to use enum ext_lang_bt_status.
2641 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
2642 finish_python_initialization. Replace with call to
2643 finish_ext_lang_initialization.
2645 * typeprint.c (do_free_global_table): Update to call
2646 free_ext_lang_type_printers.
2647 (create_global_typedef_table): Update to call
2648 start_ext_lang_type_printers.
2649 (find_global_typedef): Update to call apply_ext_lang_type_printers.
2650 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
2651 (type_print_options): Change type of global_printers from "void *"
2652 to "struct ext_lang_type_printers *".
2654 * value.c (preserve_values): Update to call preserve_ext_lang_values.
2655 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
2656 (gdbpy_preserve_values): Renamed from preserve_python_values.
2658 (!HAVE_PYTHON, preserve_python_values): Delete.
2660 * utils.c (quit_flag): Delete, moved to extension.c.
2661 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
2664 * eval.c: Delete #include "python/python.h".
2665 * main.c: Delete #include "python/python.h".
2667 * defs.h: Update comment.
2669 2014-02-06 Joel Brobecker <brobecker@adacore.com>
2673 2014-02-05 Mark Kettenis <kettenis@gnu.org>
2675 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
2678 2014-02-05 Yao Qi <yao@codesourcery.com>
2680 * remote.c (remote_pass_signals): Remove local 'buf' and use
2682 (remote_program_signals): Likewise.
2684 2014-02-05 Yao Qi <yao@codesourcery.com>
2686 * ctf.c: Include "inferior.h" and "gdbthread.h".
2687 (CTF_PID): A new macro.
2688 (ctf_open): Call inferior_appeared and add_thread_silent.
2689 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
2690 (ctf_thread_alive): New function.
2691 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
2693 2014-02-05 Yao Qi <yao@codesourcery.com>
2697 2013-05-24 Yao Qi <yao@codesourcery.com>
2699 * tracepoint.c (TFILE_PID): Remove.
2700 (tfile_open): Don't add thread and inferior.
2701 (tfile_close): Don't set 'inferior_ptid'. Don't call
2702 exit_inferior_silent.
2703 (tfile_thread_alive): Remove.
2704 (init_tfile_ops): Don't set field 'to_thread_alive' of
2707 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
2709 * remote.c (remote_start_remote): Call remote_check_symbols even
2710 if only symbol-file (not file) has been given.
2712 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2714 * gdbarch.sh (skip_entrypoint): New callback.
2715 * gdbarch.c, gdbarch.h: Regenerate.
2716 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
2717 * infrun.c (fill_in_stop_func): Likewise.
2718 * ppc-linux-tdep.c: Include "elf/ppc64.h".
2719 (ppc_elfv2_elf_make_msymbol_special): New function.
2720 (ppc_elfv2_skip_entrypoint): Likewise.
2721 (ppc_linux_init_abi): Install them for ELFv2.
2723 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2725 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
2726 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
2727 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
2728 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
2729 structures returned in GPRs.
2731 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2733 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
2734 offset to the stack parameter list for the ELFv2 ABI.
2736 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2738 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
2739 set_gdbarch_convert_from_func_ptr_addr and
2740 set_gdbarch_elf_make_msymbol_special for ELFv1.
2741 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
2742 function descriptors on ELFv1.
2743 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
2744 set up r12 at function entry.
2746 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2748 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
2749 (struct gdbarch_tdep): New member elf_abi.
2751 * rs6000-tdep.c: Include "elf/ppc64.h".
2752 (rs6000_gdbarch_init): Detect ELF ABI version.
2754 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2756 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
2757 within a register pair holding a DFP 128-bit value on little-endian.
2758 (ppc64_sysv_abi_return_value_base): Likewise.
2759 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
2760 (dfp_pseudo_register_write): Likewise.
2762 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2764 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
2765 offset on little-endian when passing _Decimal32.
2766 (ppc64_sysv_abi_return_value_base): Likewise for return values.
2768 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2770 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
2771 of the overlapped FP register within the VSX register on little-
2773 (efpr_pseudo_register_write): Likewise.
2775 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2777 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
2778 offset on little-endian when passing small structures.
2780 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2782 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
2783 (struct ppc64_sysv_argpos): New data structure.
2784 (ppc64_sysv_abi_push_float): Remove.
2785 (ppc64_sysv_abi_push_val): New function.
2786 (ppc64_sysv_abi_push_integer): Likewise.
2787 (ppc64_sysv_abi_push_freg): Likewise.
2788 (ppc64_sysv_abi_push_vreg): Likewise.
2789 (ppc64_sysv_abi_push_param): Likewise.
2790 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
2791 (ppc64_sysv_abi_return_value_base): New function.
2792 (ppc64_sysv_abi_return_value): Refactor to use it.
2794 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2796 * NEWS: Document new target powerpc64le-*-linux*.
2798 2014-02-04 Mark Kettenis <kettenis@gnu.org>
2800 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
2801 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
2803 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
2804 register set used in ELF core dumps. Add floating-point register set.
2806 2014-02-03 Kevin Buettner <kevinb@redhat.com>
2808 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
2809 dwarf2_to_gdb[] table using symbolic constants. Adjust
2810 penultimate entry from number representing the PC register
2811 to symbolic constant representing the MDR register. Add
2812 constant for the PC register to the end of the table.
2814 2014-02-03 Mark Kettenis <kettenis@gnu.org>
2816 * bsd-kvm.c: Include <sys/param.h>
2818 2014-02-03 Mark Kettenis <kettenis@gnu.org>
2820 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
2822 2014-01-31 Joel Brobecker <brobecker@adacore.com>
2824 * ada-lang.h (clear_ada_sym_cache): Delete.
2826 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
2828 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
2830 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2832 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
2833 the sigreturn register save area only if the syscall is
2836 2014-01-29 Joel Brobecker <brobecker@adacore.com>
2838 * valops.c (value_slice): Minor reformatting.
2840 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
2842 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
2844 2014-01-28 Joel Brobecker <brobecker@adacore.com>
2846 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
2848 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
2849 (ada_ignore_descriptive_types_p): New static global.
2850 (find_parallel_type_by_descriptive_type): Return immediately
2851 if ada_ignore_descriptive_types_p is set.
2852 (_initialize_ada_language): Register new commands "maintenance
2853 set ada", "maintenance show ada", "maintenance set ada
2854 ignore-descriptive-types" and "maintenance show ada
2855 ignore-descriptive-types".
2856 * NEWS: Add entry for new "maint ada set/show
2857 ignore-descriptive-types" commands.
2859 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
2861 * record-btrace.c (record_btrace_close): Call btrace_teardown
2864 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2866 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
2869 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2871 * ada-typeprint (type_is_full_subrange_of_target_type):
2873 (print_range): Add parameter bounds_prefered_p. If not set,
2874 try printing range types using the name of their base type.
2875 (print_range_type): Add parameter bounds_prefered_p.
2876 Use it in call to print_range.
2877 (print_array_type, ada_print_type): Update calls to print_range
2878 and print_range_type.
2880 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2882 * ada-typeprint.c (print_array_type, print_choices, print_range)
2883 (print_range_bound, print_dynamic_range_bound, print_range_type):
2886 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2888 * ada-typeprint.c (print_range): Add missing empty line
2889 after local declaration.
2891 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2893 * ada-valprint.c (print_optional_low_bound): Get index_type's
2894 target type for as long as it is a TYPE_CODE_RANGE.
2896 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2898 * procfs.c (procfs_make_note_section): Remove assertion and
2901 2014-01-24 Yao Qi <yao@codesourcery.com>
2903 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
2904 * corelow.c (get_core_siginfo): Likewise.
2906 2014-01-24 Yao Qi <yao@codesourcery.com>
2908 * remote.c (remote_write_bytes_aux): Change type of 'len' to
2909 ULONGEST. Don't check 'len' is negative.
2910 (remote_write_bytes): Change type of 'len' to ULONGEST.
2912 2014-01-23 Tom Tromey <tromey@redhat.com>
2915 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
2916 Handle exception from frame.block.
2917 (FrameVars.fetch_frame_locals): Likewise.
2919 2014-01-23 Tom Tromey <tromey@redhat.com>
2922 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
2923 on a NULL pointer. Move "goto error" to correct place.
2925 2014-01-23 Tom Tromey <tromey@redhat.com>
2928 * python/py-framefilter.c (apply_frame_filter): Call
2929 ensure_python_env after computing gdbarch.
2931 2014-01-23 Yao Qi <yao@codesourcery.com>
2933 * target.c (raw_memory_xfer_partial): Change argument type
2934 from void * to gdb_byte *.
2935 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
2937 2014-01-22 Doug Evans <dje@google.com>
2939 New gdbserver option --debug-format=timestamp.
2942 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2944 * syscalls/s390x-linux.xml: New file.
2945 * syscalls/s390-linux.xml: New file.
2946 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
2947 (XML_SYSCALL_FILENAME_S390X): Likewise.
2948 (op_svc): New enum value for SVC opcode.
2949 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
2950 (s390_linux_get_syscall_number): New function.
2951 (s390_gdbarch_init): Register '*get_syscall_number' and the
2952 syscall xml file name.
2953 * data-directory/Makefile.in (SYSCALLS_FILES): Add
2954 "s390-linux.xml" and "s390x-linux.xml".
2955 * NEWS: Announce new feature.
2957 2014-01-22 Baruch Siach <baruch@tkos.co.il>
2959 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
2961 2014-01-22 Pedro Alves <palves@redhat.com>
2963 * xtensa-config.c: Include defs.h.
2965 2014-01-22 Joel Brobecker <brobecker@adacore.com>
2967 * common/common-utils.h: Add "ARI:" comment beside __func__
2970 2014-01-22 Joel Brobecker <brobecker@adacore.com>
2972 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
2973 documentation a bit.
2975 2014-01-21 Roland McGrath <mcgrathr@google.com>
2977 * configure.ac: Call AM_PROG_INSTALL_STRIP.
2978 * configure: Regenerate.
2979 * aclocal.m4: Regenerate.
2980 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
2981 New substituted variables.
2982 (install-strip): New target.
2983 (INSTALL_SCRIPT): New substituted variable.
2984 (FLAGS_TO_PASS): Add it.
2985 (install-only): Use $(INSTALL_SCRIPT) rather than
2986 $(INSTALL_PROGRAM) for gcore.
2988 2014-01-20 Tom Tromey <tromey@redhat.com>
2990 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
2993 2014-01-20 Tom Tromey <tromey@redhat.com>
2995 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
2996 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
2997 (deprecated_cmd_warning, complete_on_cmdlist): Update.
2998 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
2999 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3000 (struct cmd_list_element) <flags>: Remove.
3001 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3002 doc_allocated>: New fields.
3003 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3005 * maint.c (maintenance_do_deprecate): Update.
3006 * top.c (execute_command): Update.
3008 2014-01-20 Baruch Siach <baruch@tkos.co.il>
3010 * xtensa-linux-nat.c: Include asm/ptrace.h.
3012 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3014 * Makefile.in (SFILES): Add d-support.c.
3015 (COMMON_OBS): Add d-support.o.
3016 * d-lang.h (d_parse_symbol): Add comment, now defined in
3018 * d-lang.c (parse_call_convention)
3019 (parse_attributes, parse_function_types)
3020 (parse_function_args, parse_type, parse_identifier)
3021 (call_convention_p, d_parse_symbol): Move functions to ...
3022 * d-support.c: ... New file.
3024 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3026 * d-lang.h (d_parse_symbol): Add declaration.
3027 * d-lang.c (extract_identifiers)
3028 (extract_type_info): Remove functions.
3029 (parse_call_convention, parse_attributes)
3030 (parse_function_types, parse_function_args)
3031 (parse_type, parse_identifier, call_convention_p)
3032 (d_parse_symbol): New functions.
3033 (d_demangle): Use d_parse_symbol to demangle D symbols.
3035 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3037 * d-lang.h (struct builtin_d_type): New data type.
3038 (builtin_d_type): Add declaration.
3039 * d-lang.c (d_language_arch_info, build_d_types)
3040 (builtin_d_type): New functions.
3041 (enum d_primitive_types): New data type.
3042 (d_language_defn): Change c_language_arch_info to
3043 d_language_arch_info.
3044 (d_type_data): New static variable.
3045 (_initialize_d_language): Initialize d_type_data.
3047 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3049 * d-lang.h (d_main_name): Add declaration.
3050 * d-lang.c (d_main_name): New function.
3051 * symtab.c (find_main_name): Add call to d_main_name.
3053 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3055 * d-lang.c (d_language_defn): Change macro_expansion_c to
3058 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3060 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3062 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3064 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3065 gdb_exception" declaration.
3066 * remote.c (getpkt_or_notif_sane): Likewise.
3068 2014-01-17 Doug Evans <dje@google.com>
3070 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3071 function, contents of dirnames_to_char_ptr_vec_append moved here.
3072 (delim_string_to_char_ptr_vec): New function.
3073 (dirnames_to_char_ptr_vec_append): Rewrite.
3074 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3076 2014-01-17 Doug Evans <dje@google.com>
3078 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3080 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3081 #include "common-utils.h".
3082 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3083 * common/vec.h (VEC_ASSERT_PASS): Update.
3084 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3085 (MACH_CHECK_ERROR): Update.
3087 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3089 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3091 * gdbarch.h: Regenerate.
3093 2014-01-16 Tom Tromey <tromey@redhat.com>
3095 * value.c (struct value) <regnum>: Move earlier.
3097 2014-01-16 Tom Tromey <tromey@redhat.com>
3099 * remote.c (extended_remote_create_inferior): Rename from
3100 extended_remote_create_inferior_1. Add "ops" argument. Remove
3103 2014-01-16 Pedro Alves <palves@redhat.com>
3105 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3106 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3109 2014-01-16 Doug Evans <dje@google.com>
3111 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3113 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3115 * btrace.h (btrace_thread_flag): New.
3116 (struct btrace_thread_info) <flags>: New.
3117 * record-btrace.c (record_btrace_resume_thread)
3118 (record_btrace_find_thread_to_move, btrace_step_no_history)
3119 (btrace_step_stopped, record_btrace_start_replaying)
3120 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3121 (record_btrace_find_resume_thread): New.
3122 (record_btrace_resume, record_btrace_wait): Extend.
3123 (record_btrace_can_execute_reverse): New.
3124 (record_btrace_open): Fail in non-stop mode.
3125 (record_btrace_set_replay): Split into this, ...
3126 (record_btrace_stop_replaying): ... this, ...
3127 (record_btrace_clear_histories): ... and this.
3128 (init_record_btrace_ops): Init to_can_execute_reverse.
3129 * NEWS: Announce it.
3131 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3133 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3134 (forward_target_decr_pc_after_break)
3135 (target_decr_pc_after_break): New.
3136 * target.c (forward_target_decr_pc_after_break)
3137 (target_decr_pc_after_break): New.
3138 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3139 instead of gdbarch_decr_pc_after_break.
3140 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3141 instead of gdbarch_decr_pc_after_break.
3142 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3143 instead of gdbarch_decr_pc_after_break.
3144 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3145 instead of gdbarch_decr_pc_after_break.
3146 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3147 instead of gdbarch_decr_pc_after_break.
3148 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3149 instead of gdbarch_decr_pc_after_break.
3151 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3153 * btrace.c: Include regcache.h.
3154 (btrace_add_pc): New.
3155 (btrace_enable): Call btrace_add_pc.
3156 (btrace_is_empty): New.
3157 * btrace.h (btrace_is_empty): New.
3158 * record-btrace.c (require_btrace, record_btrace_info): Call
3161 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3163 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3164 Support delta reads.
3165 (linux_disable_btrace): Change return type.
3166 * common/linux-btrace.h (linux_read_btrace): Change parameters
3167 and return type to allow error reporting. Update users.
3168 (linux_disable_btrace): Change return type. Update users.
3169 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3171 (btrace_error): New.
3172 (btrace_block) <begin>: Comment on BEGIN == 0.
3173 * btrace.c (btrace_compute_ftrace): Start from the end of
3175 (btrace_stitch_trace, btrace_clear_history): New.
3176 (btrace_fetch): Read delta trace, return if replaying.
3177 (btrace_clear): Move clear history code to btrace_clear_history.
3178 (parse_xml_btrace): Throw an error if parsing failed.
3179 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3180 and return type to allow error reporting.
3181 (target_read_btrace): Change parameters and return type to allow
3183 * target.c (target_read_btrace): Update.
3184 * remote.c (remote_read_btrace): Support delta reads. Pass
3186 * NEWS: Announce it.
3188 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3190 * record.h (record_btrace_frame_unwind)
3191 (record_btrace_tailcall_frame_unwind): New declarations.
3192 * dwarf2-frame: Include record.h
3193 (dwarf2_frame_cfa): Throw an error for btrace frames.
3194 * record-btrace.c: Include hashtab.h.
3195 (btrace_get_bfun_name): New.
3196 (btrace_call_history): Call btrace_get_bfun_name.
3197 (struct btrace_frame_cache): New.
3199 (bfcache_hash, bfcache_eq, bfcache_new): New.
3200 (btrace_get_frame_function): New.
3201 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3202 (record_btrace_frame_this_id): Compute own id.
3203 (record_btrace_frame_prev_register): Provide PC, throw_error
3204 for all other registers.
3205 (record_btrace_frame_sniffer): Detect btrace frames.
3206 (record_btrace_tailcall_frame_sniffer): New.
3207 (record_btrace_frame_dealloc_cache): New.
3208 (record_btrace_frame_unwind): Add new functions.
3209 (record_btrace_tailcall_frame_unwind): New.
3210 (_initialize_record_btrace): Allocate cache.
3211 * btrace.c (btrace_clear): Call reinit_frame_cache.
3212 * NEWS: Announce it.
3214 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3216 * record-btrace.c (record_btrace_set_replay)
3217 (record_btrace_goto_begin, record_btrace_goto_end)
3218 (record_btrace_goto): New.
3219 (init_record_btrace_ops): Initialize them.
3220 * NEWS: Announce it.
3222 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3224 * record-btrace.c (record_btrace_find_new_threads)
3225 (record_btrace_thread_alive): New.
3226 (init_record_btrace_ops): Initialize to_find_new_threads and
3229 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3231 * record-btrace.c (record_btrace_resume): New.
3232 (record_btrace_wait): New.
3233 (init_record_btrace_ops): Initialize to_wait and to_resume.
3235 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3237 * record-btrace.c (record_btrace_xfer_partial)
3238 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3239 (record_btrace_allow_memory_access): New.
3240 (init_record_btrace_ops): Initialize new methods.
3241 * target.c (raw_memory_xfer_partial): Bail out if target reports
3242 that this memory is not available.
3244 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3246 * target.h (target_ops) <to_insert_breakpoint>
3247 <to_remove_breakpoint>: Add target_ops parameter.
3248 (forward_target_insert_breakpoint): New.
3249 (forward_target_remove_breakpoint): New.
3250 (memory_remove_breakpoint, memory_insert_breakpoint):
3251 Add target_ops parameter.
3252 * target.c (target_insert_breakpoint): Split into this and ...
3253 (forward_target_insert_breakpoint): ... this.
3254 (target_remove_breakpoint): Split into this and ...
3255 (forward_target_remove_breakpoint): ... this.
3256 (debug_to_insert_breakpoint): Add target_ops parameter.
3257 Call forward_target_insert_breakpoint.
3258 (debug_to_remove_breakpoint): Add target_ops parameter.
3259 Call forward_target_remove_breakpoint.
3260 (update_current_target): Do not inherit or default to_insert_breakpoint
3261 and to_remove_breakpoint.
3262 * corelow.c (ignore): Add target_ops parameter.
3263 * exec.c (ignore): Add target_ops parameter.
3264 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3265 Add target_ops parameter.
3266 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3267 Add target_ops parameter.
3268 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3269 Add target_ops parameter.
3270 * record-full.c (record_full_beneath_to_insert_breakpoint)
3271 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3272 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3273 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
3274 (record_full_core_remove_breakpoint): Add target_ops parameter.
3276 (record_full_beneath_to_insert_breakpoint_ops)
3277 (record_full_beneath_to_remove_breakpoint_ops)
3278 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
3279 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
3280 tmp_to_remove_breakpoint_ops,
3281 record_full_beneath_to_insert_breakpoint_ops, and
3282 record_full_beneath_to_remove_breakpoint_ops.
3283 * remote-m32r-sdi.c (m32r_insert_breakpoint)
3284 (m32r_remove_breakpoint): Add target_ops parameter.
3285 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
3286 Add target_ops parameter.
3287 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
3288 Add target_ops parameter.
3290 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3291 Markus Metzger <markus.t.metzger@intel.com>
3293 * record-btrace.c: Include frame-unwind.h.
3294 (record_btrace_frame_unwind_stop_reason)
3295 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
3296 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
3298 (init_record_btrace_ops): Install it.
3300 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3302 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
3305 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3307 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
3310 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3312 * frame-unwind.c: Include target.h.
3313 (frame_unwind_try_unwinder): New function with code from ...
3314 (frame_unwind_find_by_frame): ... here. New variable
3315 unwinder_from_target, call also target_get_unwinder)
3316 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
3317 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
3318 * target.h (struct target_ops): New fields to_get_unwinder and
3319 to_get_tailcall_unwinder.
3320 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
3322 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3324 * record-btrace.c (record_btrace_fetch_registers)
3325 (record_btrace_store_registers)
3326 (record_btrace_to_prepare_to_store): New.
3327 (init_record_btrace_ops): Add the above.
3329 2014-01-16 Tom Tromey <tromey@redhat.com>
3331 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
3332 * target.h (struct target_ops) <to_prepare_to_store>: Add
3334 (target_prepare_to_store): Add argument.
3335 * target.c (debug_to_prepare_to_store): Add argument.
3336 (update_current_target): Update.
3337 * remote.c (remote_prepare_to_store): Add 'self' argument.
3338 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
3339 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
3340 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
3341 * record-full.c (record_full_core_prepare_to_store): Add 'self'
3343 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
3344 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
3345 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
3346 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
3347 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
3349 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3351 * btrace.h (replay) <replay>: New.
3352 (btrace_is_replaying): New.
3353 * btrace.c (btrace_clear): Free replay iterator.
3354 (btrace_is_replaying): New.
3355 * record-btrace.c (record_btrace_is_replaying): New.
3356 (record_btrace_info): Print insn number if replaying.
3357 (record_btrace_insn_history): Start at replay position.
3358 (record_btrace_call_history): Start at replay position.
3359 (init_record_btrace_ops): Init to_record_is_replaying.
3361 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3363 * record-btrace.c (record_btrace_insn_history_range): Include
3365 (record_btrace_insn_history_from): Adjust range.
3366 (record_btrace_call_history_range): Include
3368 (record_btrace_call_history_from): Adjust range.
3369 * NEWS: Announce changes.
3371 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3373 * record.h (enum record_print_flag)
3374 <record_print_indent_calls>: New.
3375 * record.c (get_call_history_modifiers): Recognize /c modifier.
3376 (_initialize_record): Document /c modifier.
3377 * record-btrace.c (btrace_call_history): Add btinfo parameter.
3378 Reorder fields. Optionally indent the function name. Update
3380 * NEWS: Announce changes.
3382 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3384 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
3386 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3388 * btrace.c (ftrace_new_function): Start counting at one.
3389 * record-btrace.c (record_btrace_info): Adjust number of calls
3391 * NEWS: Announce it.
3393 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3395 * record-btrace.c (btrace_call_history_insn_range): Print
3396 insn range as [begin, end].
3398 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3400 * btrace.h (struct btrace_func_link): New.
3401 (enum btrace_function_flag): New.
3402 (struct btrace_inst): Rename to ...
3403 (struct btrace_insn): ...this. Update all users.
3404 (struct btrace_func) <ibegin, iend>: Remove.
3405 (struct btrace_func_link): New.
3406 (struct btrace_func): Rename to ...
3407 (struct btrace_function): ...this. Update all users.
3408 (struct btrace_function) <segment, flow, up, insn, insn_offset)
3409 (number, level, flags>: New.
3410 (struct btrace_insn_iterator): Rename to ...
3411 (struct btrace_insn_history): ...this.
3413 (struct btrace_insn_iterator, btrace_call_iterator): New.
3414 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
3415 (struct btrace_target_info) <begin, end, level>
3416 <insn_history, call_history>: New.
3417 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3418 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3419 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3420 (btrace_call_number, btrace_call_begin, btrace_call_end)
3421 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3422 (btrace_find_function_by_number, btrace_set_insn_history)
3423 (btrace_set_call_history): New.
3424 * btrace.c (btrace_init_insn_iterator)
3425 (btrace_init_func_iterator, compute_itrace): Remove.
3426 (ftrace_print_function_name, ftrace_print_filename)
3427 (ftrace_skip_file): Change
3429 (ftrace_init_func): Remove.
3430 (ftrace_debug): Use new btrace_function fields.
3431 (ftrace_function_switched): Also consider gaining and
3432 losing symbol information).
3433 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
3434 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
3435 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
3437 (ftrace_new_function): Move. Remove debug print.
3438 (ftrace_update_lines, ftrace_update_insns): New.
3439 (ftrace_update_function): Check for call, ret, and jump.
3440 (compute_ftrace): Renamed to ...
3441 (btrace_compute_ftrace): ...this. Rewritten to compute call
3443 (btrace_fetch, btrace_clear): Updated.
3444 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3445 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3446 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3447 (btrace_call_number, btrace_call_begin, btrace_call_end)
3448 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3449 (btrace_find_function_by_number, btrace_set_insn_history)
3450 (btrace_set_call_history): New.
3451 * record-btrace.c (require_btrace): Use new btrace thread
3453 (record_btrace_info, btrace_insn_history)
3454 (record_btrace_insn_history, record_btrace_insn_history_range):
3455 Use new btrace thread info fields and new iterator.
3456 (btrace_func_history_src_line): Rename to ...
3457 (btrace_call_history_src_line): ...this. Use new btrace
3459 (btrace_func_history): Rename to ...
3460 (btrace_call_history): ...this. Use new btrace thread info
3461 fields and new iterator.
3462 (record_btrace_call_history, record_btrace_call_history_range):
3463 Use new btrace thread info fields and new iterator.
3465 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3467 * frame.h (frame_id_build_unavailable_stack_special): New.
3468 * frame.c (frame_id_build_unavailable_stack_special): New.
3470 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3472 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
3473 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
3474 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
3476 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
3477 (i386_insn_is_jump, i386_jmp_p): New.
3478 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
3479 insn_is_jump to gdbarch.
3480 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
3481 * gdbarch.h: Regenerated.
3482 * gdbarch.c: Regenerated.
3483 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
3484 (default_insn_is_jump): New.
3485 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
3486 (default_insn_is_jump): New.
3488 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3490 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
3492 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
3493 (btrace_read_type) <btrace_read_new>: Change to ...
3494 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
3496 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3498 * common/linux-btrace.c (linux_read_btrace): Free trace from
3501 2014-01-15 Doug Evans <dje@google.com>
3503 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
3506 2014-01-15 Tom Tromey <tromey@redhat.com>
3508 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
3509 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
3510 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
3511 (set_objfile_main_name): New function.
3512 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
3513 language_of_main>: New fields.
3514 (set_objfile_main_name): Declare.
3515 * symtab.c (find_main_name): Loop over objfiles to find the main
3517 (set_main_name): Now static.
3518 (get_main_info): Add comment.
3519 * symtab.h (set_main_name): Don't declare.
3521 2014-01-15 Tom Tromey <tromey@redhat.com>
3523 * symtab.c (main_progspace_key): New global.
3524 (struct main_info): New.
3525 (name_of_main, language_of_main): Remove.
3526 (get_main_info, main_info_cleanup): New function.
3527 (set_main_name, main_name, main_language): Use get_main_info.
3528 (_initialize_symtab): Initialize main_progspace_key.
3530 2014-01-15 Tom Tromey <tromey@redhat.com>
3532 * dbxread.c (process_one_symbol): Update.
3533 * dwarf2read.c (read_partial_die): Update.
3534 * symfile.c (set_initial_language): Call main_language.
3535 * symtab.c (language_of_main): Now static.
3536 (set_main_name): Add 'lang' parameter.
3537 (find_main_name): Update.
3538 (main_language): New function.
3539 (symtab_observer_executable_changed): Update.
3540 * symtab.h (set_main_name): Update.
3541 (language_of_main): Remove.
3542 (main_language): Declare.
3544 2014-01-15 Tom Tromey <tromey@redhat.com>
3546 * symfile.c (init_entry_point_info): Use new "initialized" field.
3548 * objfiles.h (struct entry_point) <initialized>: New field.
3549 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
3550 (struct objfile) <ei>: ...here. Remove.
3551 * objfiles.c (entry_point_address_query): Update.
3553 2014-01-15 Tom Tromey <tromey@redhat.com>
3555 * objfiles.c (entry_point_address_query): Relocate entry point
3557 (objfile_relocate1): Do not relocate entry point address.
3558 * objfiles.h (struct entry_info) <entry_point>: Update comment.
3559 <the_bfd_section_index>: New field.
3560 * symfile.c (init_entry_point_info): Find the entry point's
3563 2014-01-15 Tom Tromey <tromey@redhat.com>
3565 * solib-frv.c (enable_break): Use entry_point_address_query.
3567 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3569 * NEWS: Add note on improved process record-replay on
3570 arm*-linux* targets.
3572 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3574 * arm-tdep.c (enum arm_record_result): New enum.
3575 (arm_record_unsupported_insn): New function.
3576 (arm_record_coproc_data_proc): Removed.
3577 (thumb2_record_ld_st_multiple): New function.
3578 (thumb2_record_ld_st_dual_ex_tbb): New function.
3579 (thumb2_record_data_proc_sreg_mimm): New function.
3580 (thumb2_record_ps_dest_generic): New function.
3581 (thumb2_record_branch_misc_cntrl): New function.
3582 (thumb2_record_str_single_data): New function.
3583 (thumb2_record_ld_mem_hints): New function.
3584 (thumb2_record_ld_word): New function.
3585 (thumb2_record_lmul_lmla_div): New function.
3586 (thumb2_record_decode_insn_handler): New function.
3587 (decode_insn): Add thumb32 instruction handlers.
3589 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3591 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
3592 (struct arm_linux_record_tdep): Declare.
3593 (arm_canonicalize_syscall): New function.
3594 (arm_all_but_pc_registers_record): New function.
3595 (arm_linux_syscall_record): New function.
3596 (arm_linux_init_abi): Add syscall recording constructs.
3597 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
3598 decoding. (arm_record_coproc_data_proc): Update arm syscall
3600 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
3601 <arm_syscall_record>: New field.
3602 * configure.tgt (arm*-*-linux*): Add linux-record.o to
3605 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3607 * arm-tdep.c (thumb_record_misc): Update to use sp as base
3608 register for push instruction recording.
3610 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3612 * arm-tdep.c (thumb_record_misc): Update to correct logical
3613 error while recording ldm, ldmia and pop instructions.
3615 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3617 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
3619 2014-01-15 Pedro Alves <palves@redhat.com>
3621 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
3622 (go32_resume, go32_fetch_registers, store_register)
3623 (go32_store_registers, go32_prepare_to_store)
3624 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
3625 (go32_create_inferior, go32_can_run, go32_terminal_init)
3626 (go32_terminal_inferior, go32_terminal_ours): Delete forward
3629 2014-01-15 Tom Tromey <tromey@redhat.com>
3631 * target.h (async_callback_ftype): New typedef.
3632 (struct target_ops) <to_async>: Use it.
3634 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3636 * python/py-value.c (get_field_type): Remove unnecessary curly
3637 braces for single-statement if block.
3639 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3641 * python/py-type.c (convert_field): Add missing empty line
3644 2014-01-14 Doug Evans <dje@google.com>
3646 * symfile.h (expand_symtabs_matching): Renamed from
3647 expand_partial_symbol_names. Update prototype.
3648 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3649 * symfile.c (expand_symtabs_matching): Renamed from
3650 expand_partial_symbol_names. New args file_matcher, kind.
3651 Rename arg fun to symbol_matcher.
3652 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3653 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
3654 ada_expand_partial_symbol_name.
3655 (ada_make_symbol_completion_list): Update to call
3656 expand_symtabs_matching.
3657 (ada_add_global_exceptions): Call expand_symtabs_matching.
3658 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
3659 call map_symbol_filenames.
3660 * symtab.c (sources_info): Update to call map_symbol_filenames.
3661 (search_symbols): Call expand_symtabs_matching.
3662 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
3663 (default_make_symbol_completion_list_break_on): Update to call
3664 expand_symtabs_matching.
3665 (make_source_files_completion_list): Update to call
3666 map_symbol_filenames.
3668 2014-01-14 Doug Evans <dje@google.com>
3670 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
3671 (expand_symtabs_symbol_matcher_ftype): New typedef.
3672 (quick_symbol_functions.expand_symtabs_matching): Update to use.
3673 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3674 * symfile.c (expand_partial_symbol_names): Update to use
3675 expand_symtabs_symbol_matcher_ftype.
3676 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
3677 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3678 Arg name_matcher renamed to symbol_matcher.
3679 * psymtab.c (recursively_search_psymtabs): Update to use
3680 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
3682 (expand_symtabs_matching_via_partial): Update to use
3683 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3684 Arg name_matcher renamed to symbol_matcher.
3686 2014-01-14 Doug Evans <dje@google.com>
3688 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
3689 (map_partial_symbol_filenames): Ditto.
3690 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
3691 (map_partial_symbol_filenames): Ditto.
3692 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
3693 (map_partial_symbol_filenames): Ditto.
3694 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
3695 (map_partial_symbol_filenames): Ditto.
3696 * symtab.c: Delete #include "psymtab.h".
3698 2014-01-14 Pedro Alves <palves@redhat.com>
3699 Tom Tromey <tromey@redhat.com>
3701 * infrun.c (use_displaced_stepping): Use find_record_target
3702 instead of RECORD_IS_USED.
3703 (adjust_pc_after_break): Use record_full_is_used instead of
3705 * record-btrace.c (record_btrace_open): Call record_preopen
3706 instead of checking RECORD_IS_USED.
3707 * record-full.c (record_full_shortname)
3708 (record_full_core_shortname): New globals.
3709 (record_full_is_used): New function.
3710 (find_full_open): Call record_preopen instead of checking
3712 (init_record_full_ops): Set the target's shortname to
3713 record_full_shortname.
3714 (init_record_full_core_ops): Set the target's shortname to
3715 record_full_core_shortname.
3716 * record-full.h (record_full_is_used): Declare.
3717 * record.c (find_record_target): Make extern.
3718 (record_preopen): New function.
3719 * record.h (RECORD_IS_USED): Delete macro.
3720 (find_record_target, record_preopen): Declare functions.
3722 2014-01-14 Yao Qi <yao@codesourcery.com>
3724 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
3725 'len''s type to ULONGEST.
3726 (core_xfer_shared_libraries_aix): Likewise.
3727 * gdbarch.c, gdbarch.h: Regenerated.
3728 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
3729 Change type of 'len' to ULONGEST.
3730 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3731 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
3733 2014-01-14 Yao Qi <yao@codesourcery.com>
3735 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
3736 type of 'len' to ULONGEST.
3737 (linux_xfer_osdata_processgroups): Likewise.
3738 (linux_xfer_osdata_threads): Likewise.
3739 (linux_xfer_osdata_fds): Likewise.
3740 (linux_xfer_osdata_isockets): Likewise.
3741 (linux_xfer_osdata_shm): Likewise.
3742 (linux_xfer_osdata_sem): Likewise.
3743 (linux_xfer_osdata_msg): Likewise.
3744 (linux_common_xfer_osdata): Likewise.
3745 (struct osdata_type) <getter>: Likewise.
3746 * common/linux-osdata.h (linux_common_xfer_osdata): Update
3749 2014-01-14 Yao Qi <yao@codesourcery.com>
3751 * target.h (target_xfer_partial_ftype): Update.
3752 (struct target_ops) <to_xfer_partial>: Change 'len' type to
3754 * aix-thread.c (aix_thread_xfer_partial): Change type of
3755 argument 'len' to ULONGEST.
3756 * auxv.c (procfs_xfer_auxv): Likewise.
3757 (ld_so_xfer_auxv): Likewise.
3758 (memory_xfer_auxv): Likewise.
3759 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3760 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3761 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
3762 * corelow.c (core_xfer_partial): Likewise.
3763 * ctf.c (ctf_xfer_partial): Likewise.
3764 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
3766 (darwin_read_dyld_info): Likewise.
3767 (darwin_xfer_partial): Likewise.
3768 * exec.c (section_table_xfer_memory_partial): Likewise.
3769 (exec_xfer_partial): Likewise.
3770 * exec.h (section_table_xfer_memory_partial): Update
3772 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
3773 instead of plongest.
3774 (gnu_xfer_partial): Likewise.
3775 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
3776 (ia64_hpux_xfer_solib_got): Likewise.
3777 (ia64_hpux_xfer_partial): Likewise.
3778 * ia64-linux-nat.c (ia64_linux_xfer_partial):
3779 * inf-ptrace.c (inf_ptrace_xfer_partial):
3780 * inf-ttrace.c (inf_ttrace_xfer_partial):
3781 * linux-nat.c (linux_xfer_siginfo): Likewise.
3782 (linux_nat_xfer_partial): Likewise.
3783 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
3784 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
3785 * monitor.c (monitor_xfer_memory): Likewise.
3786 (monitor_xfer_partial): Likewise.
3787 * procfs.c (procfs_xfer_partial): Likewise.
3788 * record-full.c (record_full_xfer_partial): Likewise.
3789 (record_full_core_xfer_partial): Likewise.
3790 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
3791 instead of plongest.
3792 (gdbsim_xfer_partial): Likewise.
3793 * remote.c (remote_xfer_partial): Likewise.
3794 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3795 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3797 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3798 (rs6000_xfer_shared_libraries): Likewise.
3799 * sol-thread.c (sol_thread_xfer_partial): Likewise.
3800 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3801 (sparc_xfer_partial): Likewise.
3802 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3803 (spu_xfer_partial): Likewise.
3804 * spu-multiarch.c (spu_xfer_partial): Likewise.
3805 * target.c (target_read_live_memory): Likewise.
3806 (memory_xfer_live_readonly_partial): Likewise.
3807 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
3808 (target_xfer_partial, default_xfer_partial): Likewise.
3809 (current_xfer_partial): Likewise.
3810 * tracepoint.c (tfile_xfer_partial): Likewise.
3811 * windows-nat.c (windows_xfer_memory): Likewise. Call
3812 pulongest instead of plongest.
3813 (windows_xfer_partial): Likewise.
3814 (windows_xfer_shared_libraries): Likewise.
3816 2014-01-14 Yao Qi <yao@codesourcery.com>
3818 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
3819 target_xfer_partial_ftype.
3821 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3825 * valops.c (value_struct_elt_bitpos): New function
3826 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
3827 object to 'None' if the field name is an empty string ("").
3828 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
3829 attribute to look for a field when 'name' is 'None'.
3830 (get_field_type): New function
3832 2014-01-13 Doug Evans <dje@google.com>
3835 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
3836 (try_open_dwop_file): Ditto.
3837 * gdb_bfd.c: #include "vec.h".
3838 (bfdp): New typedef.
3839 (struct gdb_bfd_data): New member included_bfds.
3840 (gdb_bfd_unref): Unref all included bfds.
3841 (gdb_bfd_record_inclusion): New function.
3842 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
3844 2014-01-13 Tom Tromey <tromey@redhat.com>
3846 * gdbcore.h (deprecated_core_resize_section_table): Remove.
3848 2014-01-13 Tom Tromey <tromey@redhat.com>
3850 * defs.h (use_windows): Remove.
3851 * gdb.c (main): Update.
3852 * main.c (captured_main, gdb_main): Update.
3853 * main.h (struct captured_main_args) <use_windows>: Remove.
3854 * top.c (use_windows): Remove.
3856 2014-01-13 Tom Tromey <tromey@redhat.com>
3858 * defs.h (deprecated_flush_hook): Remove.
3860 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3863 * linux-thread-db.c (try_thread_db_load): Add parameter
3864 check_auto_load_safe. Move here the file_is_auto_load_safe call.
3865 (try_thread_db_load_from_pdir_1): Move it there from here.
3866 (try_thread_db_load_from_sdir): Update caller.
3867 (try_thread_db_load_from_dir): Move it there from here.
3869 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
3871 * regformats/regdat.sh: Always rewrite the register file.
3873 2014-01-13 Pedro Alves <palves@redhat.com>
3875 * Makefile.in (CHECK_HEADERS): New variable.
3876 (check-headers:): New rule.
3878 2014-01-13 Tom Tromey <tromey@redhat.com>
3880 * cli/cli-setshow.c (do_set_command): Update.
3881 * defs.h (deprecated_set_hook): Remove.
3882 * top.c (deprecated_set_hook): Remove.
3884 2014-01-13 Pedro Alves <palves@redhat.com>
3886 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
3887 the tracepoint if the PC is a pseudo-register.
3889 2014-01-13 Tom Tromey <tromey@redhat.com>
3891 * defs.h (XCALLOC): Remove.
3892 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
3893 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
3894 * dwarf2loc.c (allocate_piece_closure): Likewise.
3895 * elfread.c (elf_symfile_segments): Likewise.
3896 (elf_symfile_segments): Likewise.
3897 * gdbtypes.c (copy_type_recursive): Likewise.
3898 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
3899 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
3900 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
3902 * mt-tdep.c (mt_gdbarch_init): Likewise.
3903 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
3905 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
3906 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
3907 * registry.c (registry_alloc_data): Likewise.
3908 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
3909 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
3910 * serial.c (serial_fdopen_ops): Likewise.
3911 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
3913 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
3914 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
3917 2014-01-13 Tom Tromey <tromey@redhat.com>
3919 * defs.h (XMALLOC): Remove.
3920 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
3921 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
3922 * cli-out.c (struct ui_out *): Likewise.
3923 * cli/cli-dump.c (add_dump_command): Likewise.
3924 (add_dump_command): Likewise.
3925 * complaints.c (get_complaints): Likewise.
3926 (find_complaint): Likewise.
3927 * dwarf2-frame.c (execute_cfa_program): Likewise.
3928 * dwarf2read.c (abbrev_table_read_table): Likewise.
3929 * gdbarch.sh: Likewise.
3930 * gdbarch.c: Rebuild.
3931 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
3932 * interps.c (interp_new): Likewise.
3933 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
3934 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
3935 * mi/mi-console.c (mi_console_file_new): Likewise.
3936 * mi/mi-interp.c (mi_interpreter_init): Likewise.
3937 * mi/mi-out.c (mi_out_new): Likewise.
3938 * mi/mi-parse.c (mi_parse): Likewise.
3939 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
3940 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
3941 * observer.c (xalloc_observer_list_node): Likewise.
3942 * regcache.c (regcache_xmalloc_1): Likewise.
3943 * reggroups.c (reggroup_new): Likewise.
3944 (_initialize_reggroup): Likewise.
3945 * registry.c (register_data_with_cleanup): Likewise.
3946 * remote.c (remote_notif_stop_alloc_reply): Likewise.
3947 * ser-base.c (serial_ttystate): Likewise.
3948 * ser-mingw.c (make_pipe_state): Likewise.
3949 * ser-pipe.c (pipe_open): Likewise.
3950 * serial.c (serial_open): Likewise.
3951 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
3952 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
3953 (tui_alloc_win_info): Likewise.
3954 (tui_add_content_elements): Likewise.
3955 * tui/tui-file.c (tui_file_new): Likewise.
3956 * tui/tui-out.c (tui_out_new): Likewise.
3957 * ui-file.c (mem_file_new): Likewise.
3958 * ui-out.c (push_level): Likewise.
3959 (make_cleanup_ui_out_end): Likewise.
3960 (append_header_to_list): Likewise.
3961 (ui_out_new): Likewise.
3962 * user-regs.c (user_reg_add_builtin): Likewise.
3964 2014-01-13 Tom Tromey <tromey@redhat.com>
3966 * defs.h (XZALLOC): Remove.
3967 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
3968 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
3969 (get_ada_tasks_inferior_data): Likewise.
3970 * auto-load.c (get_auto_load_pspace_data): Likewise.
3971 * auxv.c (get_auxv_inferior_data): Likewise.
3972 * bfd-target.c (target_bfd_reopen): Likewise.
3973 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
3974 (deprecated_insert_raw_breakpoint): Likewise.
3975 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
3976 * corelow.c (core_open): Likewise.
3977 * darwin-nat.c (darwin_check_new_threads): Likewise.
3978 (darwin_attach_pid): Likewise.
3979 * dummy-frame.c (dummy_frame_push): Likewise.
3980 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
3981 * dwarf2loc.c (allocate_piece_closure): Likewise.
3982 * elfread.c (elf_symfile_segments): Likewise.
3983 * eval.c (ptrmath_type_p): Likewise.
3984 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
3985 * gdbtypes.c (alloc_type_arch): Likewise.
3986 (alloc_type_instance): Likewise.
3987 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
3988 * inf-child.c (inf_child_can_use_agent): Likewise.
3989 * inflow.c (get_inflow_inferior_data): Likewise.
3990 * infrun.c (save_infcall_suspend_state): Likewise.
3991 * jit.c (jit_reader_load): Likewise.
3992 (get_jit_objfile_data): Likewise.
3993 (get_jit_program_space_data): Likewise.
3994 (jit_object_open_impl): Likewise.
3995 (jit_symtab_open_impl): Likewise.
3996 (jit_block_open_impl): Likewise.
3997 (jit_frame_sniffer): Likewise.
3998 * linux-fork.c (add_fork): Likewise.
3999 * maint.c (make_command_stats_cleanup): Likewise.
4000 * objfiles.c (get_objfile_pspace_data): Likewise.
4001 * opencl-lang.c (struct lval_closure): Likewise.
4002 * osdata.c (osdata_start_osdata): Likewise.
4003 * progspace.c (new_address_space): Likewise.
4004 (add_program_space): Likewise.
4005 * remote-sim.c (get_sim_inferior_data): Likewise.
4006 * sh-tdep.c (sh_gdbarch_init): Likewise.
4007 * skip.c (Ignore): Likewise.
4008 (skip_delete_command): Likewise.
4009 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4010 (library_list_start_library): Likewise.
4011 (solib_aix_current_sos): Likewise.
4012 * solib-darwin.c (get_darwin_info): Likewise.
4013 (darwin_current_sos): Likewise.
4014 * solib-dsbt.c (get_dsbt_info): Likewise.
4015 * solib-ia64-hpux.c (new_so_list): Likewise.
4016 (ia64_hpux_get_solib_linkage_addr): Likewise.
4017 * solib-spu.c (append_ocl_sos): Likewise.
4018 (spu_current_sos): Likewise.
4019 * solib-svr4.c (get_svr4_info): Likewise.
4020 (svr4_keep_data_in_core): Likewise.
4021 (library_list_start_library): Likewise.
4022 (svr4_default_sos): Likewise.
4023 (svr4_read_so_list): Likewise.
4024 * solib-target.c (library_list_start_library): Likewise.
4025 (solib_target_current_sos): Likewise.
4026 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4027 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4028 * symfile.c (default_symfile_segments): Likewise.
4029 * target-descriptions.c (tdesc_data_init): Likewise.
4030 (tdesc_create_reg): Likewise.
4031 (struct tdesc_type *): Likewise.
4032 (tdesc_create_vector): Likewise.
4033 (tdesc_set_struct_size): Likewise.
4034 (struct tdesc_type *): Likewise.
4035 (tdesc_free_feature): Likewise.
4036 (tdesc_create_feature): Likewise.
4037 * windows-nat.c (windows_add_thread): Likewise.
4038 (windows_make_so): Likewise.
4039 * xml-support.c (gdb_xml_body_text): Likewise.
4040 (gdb_xml_create_parser_and_cleanup): Likewise.
4041 (xml_process_xincludes): Likewise.
4042 * xml-syscall.c (allocate_syscalls_info): Likewise.
4043 (syscall_create_syscall_desc): Likewise.
4045 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4047 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4048 function, with code from i386_stap_parse_special_token.
4049 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4050 (i386_stap_parse_special_token): Move code to the two functions
4053 2014-01-09 Pedro Alves <palves@redhat.com>
4054 Hui Zhu <hui@codesourcery.com>
4057 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4058 bp_err_string. Don't mark the location shlib_disabled if the
4059 error thrown wasn't a generic or memory error. Catch errors
4060 thrown while inserting breakpoints in overlayed code. Output
4061 error message of software breakpoints.
4062 * remote.c (remote_insert_breakpoint): If this breakpoint has
4063 target-side commands but this stub doesn't support Z0 packets,
4064 throw NOT_SUPPORTED_ERROR error.
4065 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4066 * target.h (target_insert_breakpoint): Extend comment.
4067 (target_insert_hw_breakpoint): Add comment.
4069 2014-01-08 Pedro Alves <palves@redhat.com>
4071 * remote.c (remote_add_thread): Add threads silently if starting
4073 (remote_notice_new_inferior): If in all-stop, and starting up,
4074 don't call notice_new_inferior.
4075 (get_current_thread): New function, factored out from ...
4076 (add_current_inferior_and_thread): ... this. Adjust.
4077 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4078 found any thread, then select the remote's current thread as GDB's
4081 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4083 * NEWS: Create a new section for the next release branch.
4084 Rename the section of the current branch, now that it has
4087 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4089 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4090 * version.in: Bump version to 7.7.50.DATE-cvs.
4092 2014-01-08 Yao Qi <yao@codesourcery.com>
4094 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4095 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4096 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4098 2014-01-08 Yao Qi <yao@codesourcery.com>
4100 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4101 return value of bfd_get_filename to symbol_file_add_from_bfd.
4103 2014-01-08 Pierre Muller <muller@sourceware.org>
4106 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4107 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4108 to prim_record_mininal_symbol_and_info.
4109 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4110 in call to prim_record_minimal_symbol_and_info.
4111 (read_pe_exported_syms): Set index field of section_data.
4113 2014-01-07 Andrew Pinski <apinski@cavium.com>
4115 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4116 * features/aarch64.c: Regenerate.
4118 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4120 * target.c (return_null): Define.
4121 (update_current_target): Use it instead of return_zero for
4122 functions that return a pointer.
4124 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4126 * source.c (add_path): Fix check for duplicated paths in the previously
4129 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4131 * ada-lang.c: Remove duplicated include statements.
4132 * alphabsd-nat.c: Ditto.
4133 * amd64-darwin-tdep.c: Ditto.
4134 * amd64fbsd-nat.c: Ditto.
4135 * auto-load.c: Ditto.
4137 * breakpoint.c: Ditto.
4139 * fork-child.c: Ditto.
4140 * gdb_usleep.c: Ditto.
4141 * i386-darwin-tdep.c: Ditto.
4142 * i386fbsd-nat.c: Ditto.
4144 * inferior.c: Ditto.
4146 * linux-nat.c: Ditto.
4147 * linux-tdep.c: Ditto.
4148 * m68kbsd-nat.c: Ditto.
4149 * m68klinux-nat.c: Ditto.
4150 * microblaze-tdep.c: Ditto.
4151 * mips-linux-tdep.c: Ditto.
4152 * mn10300-tdep.c: Ditto.
4153 * nto-tdep.c: Ditto.
4154 * opencl-lang.c: Ditto.
4156 * printcmd.c: Ditto.
4157 * regcache.c: Ditto.
4158 * remote-m32r-sdi.c: Ditto.
4162 * tilegx-linux-nat.c: Ditto.
4163 * tilegx-tdep.c: Ditto.
4164 * tracepoint.c: Ditto.
4166 * vaxbsd-nat.c: Ditto.
4167 * windows-nat.c: Ditto.
4168 * xtensa-tdep.c: Ditto.
4170 2014-01-07 Yao Qi <yao@codesourcery.com>
4172 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4174 2014-01-07 Yao Qi <yao@codesourcery.com>
4175 Joel Brobecker <brobecker@adacore.com>
4177 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4178 (pdc_write_regs): Likewise.
4179 (fetch_regs_kernel_thread): Likewise.
4180 (store_regs_kernel_thread): Likewise.
4182 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4184 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4185 tagged type objects to their actual type.
4187 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4189 * ada-valprint.c (print_field_values): Add "language" parameter.
4190 Update calls to print_field_values and print_variant_part.
4191 Pass new parameter "language" in call to val_print instead
4192 of "current_language". Replace call to ada_val_print by call
4194 (print_variant_part): Add "language" parameter.
4195 (ada_val_print_struct_union): Update call to print_field_values.
4197 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4199 * ada-valprint.c (ui_memcpy): Delete.
4200 (ada_print_floating): Update documentation. Add empty line
4201 between between function documentation and implementation.
4202 Delete variable "buffer". Use ui_file_xstrdup in place of
4203 ui_file_put. Minor adjustments following this change.
4205 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4207 * ada-valprint.c (ada_val_print_string): New function,
4208 extracted from ada_val_print_array.
4209 (ada_val_print_array): Replace extracted code by call
4210 to ada_val_print_string followed by a return. Move
4211 "else" branch to the function's top block.
4213 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4215 * ada-valprint.c (ada_val_print_array): Move implementation
4216 down. Rename parameter "offset" and "val" into "offset_aligned"
4217 and "original_value" respectively. Add parameter "offset".
4219 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4221 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4222 re-organizing the code. Change the "???" message printed
4223 when target type is a TYPE_CODE_UNDEF into
4224 "<ref to undefined type>".
4226 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4228 * ada-valprint.c (print_record): Delete, implementation inlined...
4229 (ada_val_print_struct_union): ... here. Remove call to
4230 ada_check_typedef in inlined implementation.
4232 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4234 * ada-valprint.c (ada_val_print_gnat_array): New function,
4235 extracted from ada_val_print_1;
4236 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4237 (ada_val_print_flt, ada_val_print_struct_union)
4238 (ada_val_print_ref): Likewise.
4239 (ada_val_print_1): Delete variables i and elttype.
4240 Replace extracted-out code by call to corresponding
4243 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4245 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4247 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4249 * ada-valprint.c (ada_val_print_1): Replace calls to
4250 ada_val_print_1 by calls to val_print.
4252 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4254 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4255 Update calls to self accordingly. Replace calls to c_val_print
4256 by calls to val_print.
4258 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4260 * ada-valprint.c (print_record): Delete declaration.
4261 (adjust_type_signedness, ada_val_print_1): Likewise.
4262 (ada_val_print): Move function implementation down.
4263 (print_variant_part, print_field_values, print_record):
4264 Move function implementation up.
4266 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4268 * python/py-type.c (typy_get_name): New function.
4269 (type_object_getset): Add entry for attribute "name".
4270 * NEWS: Add entry mentioning this new attribute.
4272 2014-01-07 Yao Qi <yao@codesourcery.com>
4274 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
4277 2014-01-07 Yao Qi <yao@codesourcery.com>
4279 * gnu-nat.c (info_port_rights): Add qualifier const to
4282 2014-01-07 Yao Qi <yao@codesourcery.com>
4284 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
4286 2014-01-07 Yao Qi <yao@codesourcery.com>
4288 * gnu-nat.c (make_inf) Update declaration.
4289 (make_inf): Make it static.
4290 (inf_set_traced): Likewise.
4291 (inf_port_to_thread, inf_task_died_status): Likewise.
4293 2014-01-07 Yao Qi <yao@codesourcery.com>
4295 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
4297 2014-01-07 Yao Qi <yao@codesourcery.com>
4299 * gnu-nat.c (_initialize_gnu_nat): Declare.
4301 2014-01-07 Yao Qi <yao@codesourcery.com>
4303 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
4305 (struct gdbarch_info) <byte_order>: Change type to
4307 <byte_order_for_code>: Likewise.
4308 * gdbarch.c, gdbarch.h: Regenerated.
4310 2014-01-06 Sasha Smundak <asmundak@google.com>
4312 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
4314 2014-01-06 Tom Tromey <tromey@redhat.com>
4316 * doublest.c (convert_doublest_to_floatformat): Use const, not
4318 * somread.c (som_symtab_read): Likewise.
4320 2014-01-07 Hui Zhu <hui@codesourcery.com>
4322 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
4323 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
4324 (gdb_bfd_fopen): Ditto.
4325 (gdb_bfd_openr): Ditto.
4326 (gdb_bfd_openw): Ditto.
4327 (gdb_bfd_openr_iovec): Ditto.
4328 (gdb_bfd_fdopenr): Ditto.
4329 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
4330 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
4332 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
4334 * symfile-mem.c (symbol_file_add_from_memory): Removed
4335 gdb_bfd_stash_filename.
4337 2014-01-03 Doug Evans <dje@google.com>
4339 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
4342 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4344 Update year range in copyright notice of all files.
4346 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4348 * top.c (print_gdb_version): Set copyright year to 2014.
4350 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4352 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
4354 For older changes see ChangeLog-2013.
4360 version-control: never