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
6 * target.h (struct target_ops) <to_set_permissions>: Use
9 2014-02-19 Tom Tromey <tromey@redhat.com>
11 * target-delegates.c: Rebuild.
12 * target.c (update_current_target): Don't inherit or default
14 * target.h (struct target_ops) <to_get_tib_address>: Use
15 TARGET_DEFAULT_NORETURN.
17 2014-02-19 Tom Tromey <tromey@redhat.com>
19 * target-delegates.c: Rebuild.
20 * target.c (update_current_target): Don't inherit or default
22 * target.h (struct target_ops) <to_set_trace_notes>: Use
23 TARGET_DEFAULT_RETURN.
25 2014-02-19 Tom Tromey <tromey@redhat.com>
27 * target-delegates.c: Rebuild.
28 * target.c (update_current_target): Don't initialize
29 to_set_trace_buffer_size.
30 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
31 TARGET_DEFAULT_IGNORE.
33 2014-02-19 Tom Tromey <tromey@redhat.com>
35 * target-delegates.c: Rebuild.
36 * target.c (update_current_target): Don't inherit or default
37 to_set_circular_trace_buffer.
38 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
39 TARGET_DEFAULT_IGNORE.
41 2014-02-19 Tom Tromey <tromey@redhat.com>
43 * target-delegates.c: Rebuild.
44 * target.c (update_current_target): Don't inherit or default
45 to_set_disconnected_tracing.
46 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
47 TARGET_DEFAULT_IGNORE.
49 2014-02-19 Tom Tromey <tromey@redhat.com>
51 * target-delegates.c: Rebuild.
52 * target.c (update_current_target): Don't inherit or default
53 to_get_min_fast_tracepoint_insn_len.
54 (return_minus_one): Remove.
55 * target.h (struct target_ops)
56 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
58 2014-02-19 Tom Tromey <tromey@redhat.com>
60 * target-delegates.c: Rebuild.
61 * target.c (update_current_target): Don't inherit or default
62 to_get_raw_trace_data.
63 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
64 TARGET_DEFAULT_NORETURN.
66 2014-02-19 Tom Tromey <tromey@redhat.com>
68 * target-delegates.c: Rebuild.
69 * target.c (update_current_target): Don't inherit or default
70 to_upload_trace_state_variables.
71 * target.h (struct target_ops) <to_upload_trace_state_variables>:
72 Use TARGET_DEFAULT_RETURN.
74 2014-02-19 Tom Tromey <tromey@redhat.com>
76 * target-delegates.c: Rebuild.
77 * target.c (update_current_target): Don't inherit or default
78 to_upload_tracepoints.
79 * target.h (struct target_ops) <to_upload_tracepoints>: Use
80 TARGET_DEFAULT_RETURN.
82 2014-02-19 Tom Tromey <tromey@redhat.com>
84 * target-delegates.c: Rebuild.
85 * target.c (update_current_target): Don't inherit or default
87 * target.h (struct target_ops) <to_save_trace_data>: Use
88 TARGET_DEFAULT_NORETURN.
90 2014-02-19 Tom Tromey <tromey@redhat.com>
92 * target-delegates.c: Rebuild.
93 * target.c (update_current_target): Don't inherit or default
94 to_get_trace_state_variable_value.
95 * target.h (struct target_ops)
96 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
98 2014-02-19 Tom Tromey <tromey@redhat.com>
100 * target-delegates.c: Rebuild.
101 * target.c (update_current_target): Don't inherit or default
103 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
105 2014-02-19 Tom Tromey <tromey@redhat.com>
107 * target-delegates.c: Rebuild.
108 * target.c (update_current_target): Don't inherit or default
110 * target.h (struct target_ops) <to_trace_stop>: Use
111 TARGET_DEFAULT_NORETURN.
113 2014-02-19 Tom Tromey <tromey@redhat.com>
115 * target-delegates.c: Rebuild.
116 * target.c (update_current_target): Don't inherit or default
117 to_get_tracepoint_status.
118 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
119 TARGET_DEFAULT_NORETURN.
121 2014-02-19 Tom Tromey <tromey@redhat.com>
123 * target-delegates.c: Rebuild.
124 * target.c (update_current_target): Don't inherit or default
126 * target.h (struct target_ops) <to_get_trace_status>: Use
127 TARGET_DEFAULT_RETURN.
129 2014-02-19 Tom Tromey <tromey@redhat.com>
131 * target-delegates.c: Rebuild.
132 * target.c (update_current_target): Don't inherit or default
134 * target.h (struct target_ops) <to_trace_start>: Use
135 TARGET_DEFAULT_NORETURN.
137 2014-02-19 Tom Tromey <tromey@redhat.com>
139 * target-delegates.c: Rebuild.
140 * target.c (update_current_target): Don't inherit or default
141 to_trace_set_readonly_regions.
142 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
143 Use TARGET_DEFAULT_NORETURN.
145 2014-02-19 Tom Tromey <tromey@redhat.com>
147 * target-delegates.c: Rebuild.
148 * target.c (update_current_target): Don't inherit or default
149 to_disable_tracepoint.
150 * target.h (struct target_ops) <to_disable_tracepoint>: Use
151 TARGET_DEFAULT_NORETURN.
153 2014-02-19 Tom Tromey <tromey@redhat.com>
155 * target-delegates.c: Rebuild.
156 * target.c (update_current_target): Don't inherit or default
157 to_enable_tracepoint.
158 * target.h (struct target_ops) <to_enable_tracepoint>: Use
159 TARGET_DEFAULT_NORETURN.
161 2014-02-19 Tom Tromey <tromey@redhat.com>
163 * target-delegates.c: Rebuild.
164 * target.c (update_current_target): Don't inherit or default
165 to_download_trace_state_variable.
166 * target.h (struct target_ops) <to_download_trace_state_variable>:
167 Use TARGET_DEFAULT_NORETURN.
169 2014-02-19 Tom Tromey <tromey@redhat.com>
171 * target-delegates.c: Rebuild.
172 * target.c (update_current_target): Don't inherit or default
173 to_can_download_tracepoint.
174 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
175 TARGET_DEFAULT_RETURN.
177 2014-02-19 Tom Tromey <tromey@redhat.com>
179 * target-delegates.c: Rebuild.
180 * target.c (update_current_target): Don't inherit or default
181 to_download_tracepoint.
182 * target.h (struct target_ops) <to_download_tracepoint>: Use
183 TARGET_DEFAULT_NORETURN.
185 2014-02-19 Tom Tromey <tromey@redhat.com>
187 * target-delegates.c: Rebuild.
188 * target.c (update_current_target): Don't inherit or default
190 * target.h (struct target_ops) <to_trace_init>: Use
191 TARGET_DEFAULT_RETURN.
193 2014-02-19 Tom Tromey <tromey@redhat.com>
195 * target-delegates.c: Rebuild.
196 * target.c (update_current_target): Don't inherit or default
197 to_supports_string_tracing.
198 * target.h (struct target_ops) <to_supports_string_tracing>: Use
199 TARGET_DEFAULT_RETURN.
201 2014-02-19 Tom Tromey <tromey@redhat.com>
203 * target-delegates.c: Rebuild.
204 * target.c (update_current_target): Don't inherit or default
205 to_supports_enable_disable_tracepoint.
206 * target.h (struct target_ops)
207 <to_supports_enable_disable_tracepoint>: Use
208 TARGET_DEFAULT_RETURN.
210 2014-02-19 Tom Tromey <tromey@redhat.com>
212 * target-delegates.c: Rebuild.
213 * target.c (update_current_target): Don't inherit or default
214 to_supports_multi_process.
215 * target.h (struct target_ops) <to_supports_multi_process>: Use
216 TARGET_DEFAULT_RETURN.
218 2014-02-19 Tom Tromey <tromey@redhat.com>
220 * target-delegates.c: Rebuild.
221 * target.c (update_current_target): Don't inherit or default
222 to_get_ada_task_ptid.
223 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
226 2014-02-19 Tom Tromey <tromey@redhat.com>
228 * target-delegates.c: Rebuild.
229 * target.c (update_current_target): Don't inherit or default
230 to_thread_architecture.
231 * target.h (struct target_ops) <to_thread_architecture>: Use
234 2014-02-19 Tom Tromey <tromey@redhat.com>
236 * target-delegates.c: Rebuild.
237 * target.c (update_current_target): Don't inherit or default
238 to_execution_direction.
239 * target.h (struct target_ops) <to_execution_direction>: Use
242 2014-02-19 Tom Tromey <tromey@redhat.com>
244 * target-delegates.c: Rebuild.
245 * target.c (update_current_target): Don't inherit or default
246 to_can_execute_reverse.
247 * target.h (struct target_ops) <to_can_execute_reverse>: Use
248 TARGET_DEFAULT_RETURN.
249 (target_can_execute_reverse): Unconditionally delegate.
251 2014-02-19 Tom Tromey <tromey@redhat.com>
253 * target-delegates.c: Rebuild.
254 * target.c (update_current_target): Don't inherit or default
256 (dummy_goto_bookmark): Remove.
257 (init_dummy_target): Don't inherit or default to_goto_bookmark.
258 * target.h (struct target_ops) <to_goto_bookmark>: Use
259 TARGET_DEFAULT_NORETURN.
261 2014-02-19 Tom Tromey <tromey@redhat.com>
263 * target-delegates.c: Rebuild.
264 * target.c (update_current_target): Don't inherit or default
266 (dummy_get_bookmark): Remove.
267 (init_dummy_target): Don't inherit or default to_get_bookmark.
268 * target.h (struct target_ops) <to_get_bookmark>: Use
269 TARGET_DEFAULT_NORETURN
271 2014-02-19 Tom Tromey <tromey@redhat.com>
273 * target-delegates.c: Rebuild.
274 * target.c (update_current_target): Don't inherit or default
275 to_make_corefile_notes.
276 (init_dummy_target): Don't initialize to_make_corefile_notes.
277 * target.h (struct target_ops) <to_make_corefile_notes>: Use
280 2014-02-19 Tom Tromey <tromey@redhat.com>
282 * target-delegates.c: Rebuild.
283 * target.c (update_current_target): Don't inherit or default
284 to_find_memory_regions.
285 (init_dummy_target): Don't initialize to_find_memory_regions.
286 * target.h (struct target_ops) <to_find_memory_regions>: Use
289 2014-02-19 Tom Tromey <tromey@redhat.com>
291 * target-delegates.c: Rebuild.
292 * target.c (update_current_target): Don't inherit or default
294 * target.h (struct target_ops) <to_log_command>: Use
295 TARGET_DEFAULT_IGNORE.
296 (target_log_command): Unconditionally delegate.
298 2014-02-19 Tom Tromey <tromey@redhat.com>
300 * target-delegates.c: Rebuild.
301 * target.c (update_current_target): Don't inherit or default
303 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
304 TARGET_DEFAULT_RETURN.
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
311 (target_thread_name): Unconditionally delegate.
312 * target.h (struct target_ops) <to_thread_name>: Use
313 TARGET_DEFAULT_RETURN.
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
319 to_extra_thread_info.
320 * target.h (struct target_ops) <to_extra_thread_info>: Use
321 TARGET_DEFAULT_RETURN.
323 2014-02-19 Tom Tromey <tromey@redhat.com>
325 * target-delegates.c: Rebuild.
326 * target.c (update_current_target): Don't inherit or default
328 * target.h (struct target_ops) <to_has_exited>: Use
329 TARGET_DEFAULT_RETURN..
331 2014-02-19 Tom Tromey <tromey@redhat.com>
333 * target-delegates.c: Rebuild.
334 * target.c (update_current_target): Don't inherit or default
335 to_set_syscall_catchpoint.
336 (return_one): Remove.
337 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
338 TARGET_DEFAULT_RETURN.
340 2014-02-19 Tom Tromey <tromey@redhat.com>
342 * target-delegates.c: Rebuild.
343 * target.c (update_current_target): Don't inherit or default
344 to_insert_exec_catchpoint.
345 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
346 TARGET_DEFAULT_RETURN.
348 2014-01-08 Tom Tromey <tromey@redhat.com>
350 * target-delegates.c: Rebuild.
351 * target.c (update_current_target): Don't inherit or default
352 to_insert_exec_catchpoint.
353 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
354 TARGET_DEFAULT_RETURN.
356 2014-02-19 Tom Tromey <tromey@redhat.com>
358 * target-delegates.c: Rebuild.
359 * target.c (update_current_target): Don't inherit or default
360 to_remove_vfork_catchpoint.
361 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
362 TARGET_DEFAULT_RETURN.
364 2014-02-19 Tom Tromey <tromey@redhat.com>
366 * target-delegates.c: Rebuild.
367 * target.c (update_current_target): Don't inherit or default
368 to_insert_vfork_catchpoint.
369 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
370 TARGET_DEFAULT_RETURN.
372 2014-02-19 Tom Tromey <tromey@redhat.com>
374 * target-delegates.c: Rebuild.
375 * target.c (update_current_target): Don't inherit or default
376 to_remove_fork_catchpoint.
377 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
378 TARGET_DEFAULT_RETURN.
380 2014-02-19 Tom Tromey <tromey@redhat.com>
382 * target-delegates.c: Rebuild.
383 * target.c (update_current_target): Don't inherit or default
384 to_insert_fork_catchpoint.
385 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
386 TARGET_DEFAULT_RETURN.
388 2014-02-19 Tom Tromey <tromey@redhat.com>
390 * target-delegates.c: Rebuild.
391 * target.c (update_current_target): Don't inherit or default
392 to_post_startup_inferior.
393 * target.h (struct target_ops) <to_post_startup_inferior>: Use
394 TARGET_DEFAULT_IGNORE.
396 2014-02-19 Tom Tromey <tromey@redhat.com>
398 * target-delegates.c: Rebuild.
399 * target.c (update_current_target): Don't inherit or default
401 * target.h (struct target_ops) <to_load>: Use
402 TARGET_DEFAULT_NORETURN.
404 2014-02-19 Tom Tromey <tromey@redhat.com>
406 * target-delegates.c: Rebuild.
407 * target.c (update_current_target): Don't inherit or default
409 * target.h (struct target_ops) <to_terminal_info>: Use
412 2014-02-19 Tom Tromey <tromey@redhat.com>
414 * target-delegates.c: Rebuild.
415 * target.c (update_current_target): Don't inherit or default
416 to_terminal_save_ours.
417 * target.h (struct target_ops) <to_terminal_save_ours>: Use
418 TARGET_DEFAULT_IGNORE.
420 2014-02-19 Tom Tromey <tromey@redhat.com>
422 * target-delegates.c: Rebuild.
423 * target.c (update_current_target): Don't inherit or default
425 * target.h (struct target_ops) <to_terminal_ours>: Use
426 TARGET_DEFAULT_IGNORE.
428 2014-02-19 Tom Tromey <tromey@redhat.com>
430 * target-delegates.c: Rebuild.
431 * target.c (update_current_target): Don't inherit or default
432 to_terminal_ours_for_output.
433 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
434 TARGET_DEFAULT_IGNORE.
436 2014-02-19 Tom Tromey <tromey@redhat.com>
438 * target-delegates.c: Rebuild.
439 * target.c (update_current_target): Don't inherit or default
440 to_terminal_inferior.
441 * target.h (struct target_ops) <to_terminal_inferior>: Use
442 TARGET_DEFAULT_IGNORE.
444 2014-02-19 Tom Tromey <tromey@redhat.com>
446 * target-delegates.c: Rebuild.
447 * target.c (update_current_target): Don't inherit or default
449 * target.h (struct target_ops) <to_terminal_init>: Use
450 TARGET_DEFAULT_IGNORE.
452 2014-02-19 Tom Tromey <tromey@redhat.com>
454 * target-delegates.c: Rebuild.
455 * target.c (update_current_target): Don't inherit or default
456 to_can_accel_watchpoint_condition.
457 * target.h (struct target_ops)
458 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
460 2014-02-19 Tom Tromey <tromey@redhat.com>
462 * target-delegates.c: Rebuild.
463 * target.c (update_current_target): Don't inherit or default
464 to_region_ok_for_hw_watchpoint.
465 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
466 Use TARGET_DEFAULT_FUNC.
468 2014-02-19 Tom Tromey <tromey@redhat.com>
470 * target-delegates.c: Rebuild.
471 * target.c (update_current_target): Don't inherit or default
472 to_watchpoint_addr_within_range.
473 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
474 Use TARGET_DEFAULT_FUNC.
476 2014-02-19 Tom Tromey <tromey@redhat.com>
478 * target-delegates.c: Rebuild.
479 * target.c (update_current_target): Don't inherit or default
480 to_remove_watchpoint.
481 * target.h (struct target_ops) <to_remove_watchpoint>: Use
482 TARGET_DEFAULT_NORETURN.
484 2014-02-19 Tom Tromey <tromey@redhat.com>
486 * target-delegates.c: Rebuild.
487 * target.c (update_current_target): Don't inherit or default
488 to_insert_watchpoint.
489 * target.h (struct target_ops) <to_insert_watchpoint>: Use
490 TARGET_DEFAULT_RETURN.
492 2014-02-19 Tom Tromey <tromey@redhat.com>
494 * target-delegates.c: Rebuild.
495 * target.c (update_current_target): Don't inherit or default
496 to_remove_hw_breakpoint.
497 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
498 TARGET_DEFAULT_RETURN.
500 2014-02-19 Tom Tromey <tromey@redhat.com>
502 * target-delegates.c: Rebuild.
503 * target.c (update_current_target): Don't inherit or default
504 to_insert_hw_breakpoint.
505 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
506 TARGET_DEFAULT_RETURN.
508 2014-02-19 Tom Tromey <tromey@redhat.com>
510 * target-delegates.c: Rebuild.
511 * target.c (update_current_target): Don't inherit or default
512 to_can_use_hw_breakpoint.
513 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
514 TARGET_DEFAULT_RETURN.
516 2014-02-19 Tom Tromey <tromey@redhat.com>
518 * target-delegates.c: Rebuild.
519 * target.c (update_current_target): Don't inherit or default
521 * target.h (struct target_ops) <to_files_info>: Use
522 TARGET_DEFAULT_IGNORE.
524 2014-02-19 Tom Tromey <tromey@redhat.com>
526 * target-delegates.c: Rebuild.
527 * target.c (update_current_target): Don't inherit or default
529 * target.h (struct target_ops) <to_store>: Use
530 TARGET_DEFAULT_NORETURN.
532 2014-02-19 Tom Tromey <tromey@redhat.com>
534 * target-delegates.c: Rebuild.
535 * target.c (update_current_target): Don't inherit or default
537 * target.h (struct target_ops) <to_post_attach>: Use
538 TARGET_DEFAULT_IGNORE.
540 2014-02-19 Tom Tromey <tromey@redhat.com>
542 * target-delegates.c: Rebuild.
543 * target.c (update_current_target): Don't inherit or default
545 (default_rcmd): New function.
546 (do_monitor_command): Unconditionally delegate.
547 * target.h (struct target_ops) <to_rmcd>: Use
550 2014-02-19 Tom Tromey <tromey@redhat.com>
552 * target-delegates.c: Rebuild.
553 * target.c (init_dummy_target): Don't initialize to_attach.
554 (target_attach): Unconditionally delegate.
555 * target.h (struct target_ops) <to_attach>: Use
558 2014-02-19 Tom Tromey <tromey@redhat.com>
560 * target-delegates.c: Rebuild.
561 * target.c (target_detach): Unconditionally delegate.
562 (init_dummy_target): Don't initialize to_detach.
563 * target.h (struct target_ops) <to_detach>: Use
564 TARGET_DEFAULT_IGNORE.
566 2014-02-19 Tom Tromey <tromey@redhat.com>
568 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
570 (target_augmented_libraries_svr4_read): Add argument.
571 * target.c (update_current_target): Update.
572 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
575 2014-02-19 Tom Tromey <tromey@redhat.com>
577 * target.h (struct target_ops) <to_call_history_range>: Add
579 * target.c (target_call_history_range): Add argument.
580 * record-btrace.c (record_btrace_call_history_range): Add 'self'
582 (record_btrace_call_history_from): Update.
584 2014-02-19 Tom Tromey <tromey@redhat.com>
586 * target.h (struct target_ops) <to_call_history_from>: Add
588 * target.c (target_call_history_from): Add argument.
589 * record-btrace.c (record_btrace_call_history_from): Add 'self'
592 2014-02-19 Tom Tromey <tromey@redhat.com>
594 * target.h (struct target_ops) <to_call_history>: Add argument.
595 * target.c (target_call_history): Add argument.
596 * record-btrace.c (record_btrace_call_history): Add 'self'
599 2014-02-19 Tom Tromey <tromey@redhat.com>
601 * target.h (struct target_ops) <to_insn_history_range>: Add
603 * target.c (target_insn_history_range): Add argument.
604 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
606 (record_btrace_insn_history_from): Update.
608 2014-02-19 Tom Tromey <tromey@redhat.com>
610 * target.h (struct target_ops) <to_insn_history_from>: Add
612 * target.c (target_insn_history_from): Add argument.
613 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
616 2014-02-19 Tom Tromey <tromey@redhat.com>
618 * target.h (struct target_ops) <to_insn_history>: Add argument.
619 * target.c (target_insn_history): Add argument.
620 * record-btrace.c (record_btrace_insn_history): Add 'self'
623 2014-02-19 Tom Tromey <tromey@redhat.com>
625 * target.h (struct target_ops) <to_goto_record>: Add argument.
626 * target.c (target_goto_record): Add argument.
627 * record-full.c (record_full_goto): Add 'self' argument.
628 * record-btrace.c (record_btrace_goto): Add 'self' argument.
630 2014-02-19 Tom Tromey <tromey@redhat.com>
632 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
633 * target.c (target_goto_record_end): Add argument.
634 * record-full.c (record_full_goto_end): Add 'self' argument.
635 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
637 2014-02-19 Tom Tromey <tromey@redhat.com>
639 * target.h (struct target_ops) <to_goto_record_begin>: Add
641 * target.c (target_goto_record_begin): Add argument.
642 * record-full.c (record_full_goto_begin): Add 'self' argument.
643 * record-btrace.c (record_btrace_goto_begin): Add 'self'
646 2014-02-19 Tom Tromey <tromey@redhat.com>
648 * target.h (struct target_ops) <to_record_is_replaying>: Add
650 * target.c (target_record_is_replaying): Add argument.
651 * record-full.c (record_full_is_replaying): Add 'self' argument.
652 * record-btrace.c (record_btrace_is_replaying): Add 'self'
654 (record_btrace_xfer_partial, record_btrace_store_registers)
655 (record_btrace_prepare_to_store, record_btrace_resume)
656 (record_btrace_wait, record_btrace_decr_pc_after_break)
657 (record_btrace_find_new_threads, record_btrace_thread_alive):
660 2014-02-19 Tom Tromey <tromey@redhat.com>
662 * target.h (struct target_ops) <to_delete_record>: Add argument.
663 * target.c (target_delete_record): Add argument.
664 * record-full.c (record_full_delete): Add 'self' argument.
666 2014-02-19 Tom Tromey <tromey@redhat.com>
668 * target.h (struct target_ops) <to_save_record>: Add argument.
669 * target.c (target_save_record): Add argument.
670 * record-full.c (record_full_save): Add 'self' argument.
671 (record_full_save): Add 'self' argument.
673 2014-02-19 Tom Tromey <tromey@redhat.com>
675 * target.h (struct target_ops) <to_info_record>: Add argument.
676 * target.c (target_info_record): Add argument.
677 * record.c (info_record_command): Add argument.
678 * record-full.c (record_full_info): Add 'self' argument.
679 * record-btrace.c (record_btrace_info): Add 'self' argument.
681 2014-02-19 Tom Tromey <tromey@redhat.com>
683 * target.h (struct target_ops) <to_stop_recording>: Add argument.
684 * target.c (target_stop_recording): Add argument.
685 * record.c (record_stop): Add argument.
686 * record-btrace.c (record_btrace_stop_recording): Add 'self'
689 2014-02-19 Tom Tromey <tromey@redhat.com>
691 * target.h (struct target_ops) <to_read_btrace>: Add argument.
692 * target.c (struct target_ops) <to_read_btrace>: Add argument.
693 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
695 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
696 (_initialize_amd64_linux_nat): Use it.
697 * i386-linux-nat.c (i386_linux_read_btrace): New function.
698 (_initialize_i386_linux_nat): Use it.
700 2014-02-19 Tom Tromey <tromey@redhat.com>
702 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
703 * target.c (target_teardown_btrace): Add argument.
704 * remote.c (remote_teardown_btrace): Add 'self' argument.
705 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
707 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
710 2014-02-19 Tom Tromey <tromey@redhat.com>
712 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
713 * target.c (target_disable_btrace): Add argument.
714 * remote.c (remote_disable_btrace): Add 'self' argument.
715 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
717 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
720 2014-02-19 Tom Tromey <tromey@redhat.com>
722 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
723 * target.c (target_enable_btrace): Add argument.
724 * remote.c (remote_enable_btrace): Add 'self' argument.
725 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
727 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
730 2014-02-19 Tom Tromey <tromey@redhat.com>
732 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
733 (target_can_use_agent): Add argument.
734 * target.c (update_current_target): Update.
735 * remote.c (remote_can_use_agent): Add 'self' argument.
736 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
738 2014-02-19 Tom Tromey <tromey@redhat.com>
740 * target.h (struct target_ops) <to_use_agent>: Add argument.
741 (target_use_agent): Add argument.
742 * target.c (update_current_target): Update.
743 * remote.c (remote_use_agent): Add 'self' argument.
744 * inf-child.c (inf_child_use_agent): Add 'self' argument.
746 2014-02-19 Tom Tromey <tromey@redhat.com>
748 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
749 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
750 (target_traceframe_info): Add argument.
751 * target.c (update_current_target): Update.
752 * remote.c (remote_traceframe_info): Add 'self' argument.
753 * ctf.c (ctf_traceframe_info): Add 'self' argument.
755 2014-02-19 Tom Tromey <tromey@redhat.com>
757 * target.h (target_static_tracepoint_markers_by_strid): Add
759 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
761 * target.c (update_current_target): Update.
762 * remote.c (struct target_ops)
763 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
764 * linux-nat.c (struct target_ops)
765 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
767 2014-02-19 Tom Tromey <tromey@redhat.com>
769 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
771 (target_static_tracepoint_marker_at): Add argument.
772 * target.c (update_current_target): Update.
773 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
776 2014-02-19 Tom Tromey <tromey@redhat.com>
778 * target.h (struct target_ops) <to_set_permissions>: Add argument.
779 (target_set_permissions): Add argument.
780 * target.c (update_current_target): Update.
781 * remote.c (remote_set_permissions): Add 'self' argument.
782 (remote_start_remote): Update.
784 2014-02-19 Tom Tromey <tromey@redhat.com>
786 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
787 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
788 (target_get_tib_address): Add argument.
789 * target.c (update_current_target): Update.
790 * remote.c (remote_get_tib_address): Add 'self' argument.
792 2014-02-19 Tom Tromey <tromey@redhat.com>
794 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
795 (target_set_trace_notes): Add argument.
796 * target.c (update_current_target): Update.
797 * remote.c (remote_set_trace_notes): Add 'self' argument.
799 2014-02-19 Tom Tromey <tromey@redhat.com>
801 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
803 (target_set_trace_buffer_size): Add argument.
804 * target.c (update_current_target): Update.
805 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
807 2014-02-19 Tom Tromey <tromey@redhat.com>
809 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
811 (target_set_circular_trace_buffer): Add argument.
812 * target.c (update_current_target): Update.
813 * remote.c (remote_set_circular_trace_buffer): Add 'self'
816 2014-02-19 Tom Tromey <tromey@redhat.com>
818 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
820 (target_set_disconnected_tracing): Add argument.
821 * target.c (update_current_target): Update.
822 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
824 2014-02-19 Tom Tromey <tromey@redhat.com>
826 * target.h (struct target_ops)
827 <to_get_min_fast_tracepoint_insn_len>: Add argument.
828 (target_get_min_fast_tracepoint_insn_len): Add argument.
829 * target.c (update_current_target): Update.
830 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
833 2014-02-19 Tom Tromey <tromey@redhat.com>
835 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
837 (target_get_raw_trace_data): Add argument.
838 * target.c (update_current_target): Update.
839 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
841 2014-02-19 Tom Tromey <tromey@redhat.com>
843 * target.h (struct target_ops) <to_upload_trace_state_variables>:
845 (target_upload_trace_state_variables): Add argument.
846 * target.c (update_current_target): Update.
847 * remote.c (remote_upload_trace_state_variables): Add 'self'
849 (remote_start_remote): Update.
851 2014-02-19 Tom Tromey <tromey@redhat.com>
853 * target.h (struct target_ops) <to_upload_tracepoints>: Add
855 (target_upload_tracepoints): Add argument.
856 * target.c (update_current_target): Update.
857 * remote.c (remote_upload_tracepoints): Add 'self' argument.
858 (remote_start_remote): Update.
860 2014-02-19 Tom Tromey <tromey@redhat.com>
862 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
863 (target_save_trace_data): Add argument.
864 * target.c (update_current_target): Update.
865 * remote.c (remote_save_trace_data): Add 'self' argument.
867 2014-02-19 Tom Tromey <tromey@redhat.com>
869 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
871 * target.h (struct target_ops)
872 <to_get_trace_state_variable_value>: Add argument.
873 (target_get_trace_state_variable_value): Add argument.
874 * target.c (update_current_target): Update.
875 * remote.c (remote_get_trace_state_variable_value): Add 'self'
877 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
879 2014-02-19 Tom Tromey <tromey@redhat.com>
881 * tracepoint.c (tfile_trace_find): Add 'self' argument.
882 * target.h (struct target_ops) <to_trace_find>: Add argument.
883 (target_trace_find): Add argument.
884 * target.c (update_current_target): Update.
885 * remote.c (remote_trace_find): Add 'self' argument.
886 * ctf.c (ctf_trace_find): Add 'self' argument.
888 2014-02-19 Tom Tromey <tromey@redhat.com>
890 * target.h (struct target_ops) <to_trace_stop>: Add argument.
891 (target_trace_stop): Add argument.
892 * target.c (update_current_target): Update.
893 * remote.c (remote_trace_stop): Add 'self' argument.
895 2014-02-19 Tom Tromey <tromey@redhat.com>
897 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
898 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
900 (target_get_tracepoint_status): Add argument.
901 * target.c (update_current_target): Update.
902 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
904 2014-02-19 Tom Tromey <tromey@redhat.com>
906 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
907 * target.h (struct target_ops) <to_get_trace_status>: Add
909 (target_get_trace_status): Add argument.
910 * target.c (update_current_target): Update.
911 * remote.c (remote_get_trace_status): Add 'self' argument.
912 (remote_start_remote, remote_can_download_tracepoint): Update.
913 * ctf.c (ctf_get_trace_status): Add 'self' argument.
915 2014-02-19 Tom Tromey <tromey@redhat.com>
917 * target.h (struct target_ops) <to_trace_start>: Add argument.
918 (target_trace_start): Add argument.
919 * target.c (update_current_target): Update.
920 * remote.c (remote_trace_start): Add 'self' argument.
922 2014-02-19 Tom Tromey <tromey@redhat.com>
924 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
926 (target_trace_set_readonly_regions): Add argument.
927 * target.c (update_current_target): Update.
928 * remote.c (remote_trace_set_readonly_regions): Add 'self'
931 2014-02-19 Tom Tromey <tromey@redhat.com>
933 * target.h (struct target_ops) <to_disable_tracepoint>: Add
935 (target_disable_tracepoint): Add argument.
936 * target.c (update_current_target): Update.
937 * remote.c (remote_disable_tracepoint): Add 'self' argument.
939 2014-02-19 Tom Tromey <tromey@redhat.com>
941 * target.h (struct target_ops) <to_enable_tracepoint>: Add
943 (target_enable_tracepoint): Add argument.
944 * target.c (update_current_target): Update.
945 * remote.c (remote_enable_tracepoint): Add 'self' argument.
947 2014-02-19 Tom Tromey <tromey@redhat.com>
949 * target.h (struct target_ops) <to_download_trace_state_variable>:
951 (target_download_trace_state_variable): Add argument.
952 * target.c (update_current_target): Update.
953 * remote.c (remote_download_trace_state_variable): Add 'self'
956 2014-02-19 Tom Tromey <tromey@redhat.com>
958 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
960 (target_can_download_tracepoint): Add argument.
961 * target.c (update_current_target): Update.
962 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
964 2014-02-19 Tom Tromey <tromey@redhat.com>
966 * target.h (struct target_ops) <to_download_tracepoint>: Add
968 (target_download_tracepoint): Add argument.
969 * target.c (update_current_target): Update.
970 * remote.c (remote_download_tracepoint): Add 'self' argument.
972 2014-02-19 Tom Tromey <tromey@redhat.com>
974 * target.h (struct target_ops) <to_trace_init>: Add argument.
975 (target_trace_init): Add argument.
976 * target.c (update_current_target): Update.
977 * remote.c (remote_trace_init): Add 'self' argument.
979 2014-02-19 Tom Tromey <tromey@redhat.com>
981 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
982 * target.c (target_fileio_readlink): Add argument.
983 * remote.c (remote_hostio_readlink): Add 'self' argument.
984 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
986 2014-02-19 Tom Tromey <tromey@redhat.com>
988 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
989 * target.c (target_fileio_unlink): Add argument.
990 * remote.c (remote_hostio_unlink): Add 'self' argument.
991 (remote_file_delete): Update.
992 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
994 2014-02-19 Tom Tromey <tromey@redhat.com>
996 * target.h (struct target_ops) <to_fileio_close>: Add argument.
997 * target.c (target_fileio_close): Add argument.
998 * remote.c (remote_hostio_close): Add 'self' argument.
999 (remote_hostio_close_cleanup): Update.
1000 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1002 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1004 2014-02-19 Tom Tromey <tromey@redhat.com>
1006 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1007 * target.c (target_fileio_pread): Add argument.
1008 * remote.c (remote_hostio_pread): Add 'self' argument.
1009 (remote_bfd_iovec_pread, remote_file_get): Update.
1010 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1012 2014-02-19 Tom Tromey <tromey@redhat.com>
1014 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1015 * target.c (target_fileio_pwrite): Add argument.
1016 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1017 (remote_file_put): Update.
1018 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1020 2014-02-19 Tom Tromey <tromey@redhat.com>
1022 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1023 * target.c (target_fileio_open): Add argument.
1024 * remote.c (remote_hostio_open): Add 'self' argument.
1025 (remote_bfd_iovec_open): Add 'self' argument.
1026 (remote_file_put): Add 'self' argument.
1027 (remote_file_get): Add 'self' argument.
1028 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1030 2014-02-19 Tom Tromey <tromey@redhat.com>
1032 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1034 (target_can_run_breakpoint_commands): Add argument.
1035 * target.c (update_current_target): Update.
1036 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1038 (remote_insert_breakpoint): Add 'self' argument.
1039 (remote_insert_hw_breakpoint): Add 'self' argument.
1040 (remote_can_run_breakpoint_commands): Add 'self' argument.
1042 2014-02-19 Tom Tromey <tromey@redhat.com>
1044 * target.h (struct target_ops)
1045 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1046 (target_supports_evaluation_of_breakpoint_conditions): Add
1048 * target.c (update_current_target): Update.
1049 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1051 (remote_insert_breakpoint): Add 'self' argument.
1052 (remote_insert_hw_breakpoint): Add 'self' argument.
1053 (remote_supports_cond_breakpoints): Add 'self' argument.
1055 2014-02-19 Tom Tromey <tromey@redhat.com>
1057 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1059 (target_supports_string_tracing): Add argument.
1060 * target.c (update_current_target): Update.
1061 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1063 2014-02-19 Tom Tromey <tromey@redhat.com>
1065 * target.h (struct target_ops)
1066 <to_supports_disable_randomization>: Add argument.
1067 * target.c (find_default_supports_disable_randomization): Add
1069 (target_supports_disable_randomization): Add argument.
1070 (find_default_supports_disable_randomization): Add 'self'
1072 * remote.c (extended_remote_supports_disable_randomization): Add
1074 (remote_supports_disable_randomization): Add 'self' argument.
1075 (extended_remote_create_inferior): Update.
1076 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1079 2014-02-19 Tom Tromey <tromey@redhat.com>
1081 * target.h (struct target_ops)
1082 <to_supports_enable_disable_tracepoint>: Add argument.
1083 (target_supports_enable_disable_tracepoint): Add argument.
1084 * target.c (update_current_target): Update.
1085 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1088 2014-02-19 Tom Tromey <tromey@redhat.com>
1090 * target.h (struct target_ops) <to_supports_multi_process>: Add
1092 (target_supports_multi_process): Add argument.
1093 * target.c (update_current_target): Update.
1094 * remote.c (remote_supports_multi_process): Add 'self' argument.
1095 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1097 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1100 2014-02-19 Tom Tromey <tromey@redhat.com>
1102 * target.h (struct target_ops) <to_execution_direction>: Add
1104 (target_execution_direction): Add argument.
1105 * target.c (default_execution_direction): Add 'self' argument.
1106 * record-full.c (record_full_execution_direction): Add 'self'
1109 2014-02-19 Tom Tromey <tromey@redhat.com>
1111 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1113 (target_can_execute_reverse): Add argument.
1114 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1115 * record-full.c (record_full_can_execute_reverse): Add 'self'
1117 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1120 2014-02-19 Tom Tromey <tromey@redhat.com>
1122 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1123 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1125 (target_get_ada_task_ptid): Add argument.
1126 * target.c (update_current_target): Update.
1127 (default_get_ada_task_ptid): Add 'self' argument.
1128 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1129 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1130 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1132 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1134 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1136 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1138 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1139 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1142 2014-02-19 Tom Tromey <tromey@redhat.com>
1144 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1145 (target_goto_bookmark): Add argument.
1146 * target.c (dummy_goto_bookmark): Add 'self' argument.
1147 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1149 2014-02-19 Tom Tromey <tromey@redhat.com>
1151 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1152 (target_get_bookmark): Add argument.
1153 * target.c (dummy_get_bookmark): Add 'self' argument.
1154 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1156 2014-02-19 Tom Tromey <tromey@redhat.com>
1158 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1160 (target_make_corefile_notes): Add argument.
1161 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1162 * procfs.c (procfs_make_note_section): Add 'self' argument.
1163 (procfs_make_note_section): Add 'self' argument.
1164 (procfs_make_note_section): Add 'self' argument.
1165 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1167 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1168 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1169 * exec.c (exec_make_note_section): Add 'self' argument.
1170 (exec_make_note_section): Add 'self' argument.
1172 2014-02-19 Tom Tromey <tromey@redhat.com>
1174 * target.h (struct target_ops) <to_find_memory_regions>: Add
1176 (target_find_memory_regions): Add argument.
1177 * target.c (dummy_find_memory_regions): Add 'self' argument.
1178 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1179 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1180 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1181 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1182 * exec. (exec_do_find_memory_regions): New global.
1183 (exec_set_find_memory_regions): Rewrite.
1184 (exec_find_memory_regions): New function.
1185 (init_exec_ops): Use exec_find_memory_regions.
1187 2014-02-19 Tom Tromey <tromey@redhat.com>
1189 * target.h (struct target_ops) <to_supports_non_stop>: Add
1191 * target.c (find_default_supports_non_stop): Add argument.
1192 (target_supports_non_stop): Add argument.
1193 (find_default_supports_non_stop): Add 'self' argument.
1194 * remote.c (remote_supports_non_stop): Add 'self' argument.
1195 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1197 2014-02-19 Tom Tromey <tromey@redhat.com>
1199 * target.h (struct target_ops) <to_log_command>: Add argument.
1200 (target_log_command): Add argument.
1201 * serial.h (serial_log_command): Add 'self' argument.
1202 * serial.c (serial_log_command): Add 'self' argument.
1204 2014-02-19 Tom Tromey <tromey@redhat.com>
1206 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1207 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1209 (target_pid_to_exec_file): Add argument.
1210 * target.c (debug_to_pid_to_exec_file): Add argument.
1211 (update_current_target): Update.
1212 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1213 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1214 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1215 (linux_handle_extended_wait): Update.
1216 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1217 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1218 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1219 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1221 2014-02-19 Tom Tromey <tromey@redhat.com>
1223 * target.h (struct target_ops) <to_rcmd>: Add argument.
1224 (target_rcmd): Add argument.
1225 * target.c (debug_to_rcmd): Add argument.
1226 (update_current_target, do_monitor_command): Update.
1227 * remote.c (remote_rcmd): Add 'self' argument.
1228 * monitor.c (monitor_rcmd): Add 'self' argument.
1230 2014-02-19 Tom Tromey <tromey@redhat.com>
1232 * windows-nat.c (windows_stop): Add 'self' argument.
1233 * target.h (struct target_ops) <to_stop>: Add argument.
1234 * target.c (target_stop): Add argument.
1235 (debug_to_stop): Add argument.
1236 (update_current_target): Update.
1237 * remote.c (remote_stop): Add 'self' argument.
1238 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1239 (gdbsim_cntrl_c): Update.
1240 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1241 * procfs.c (procfs_stop): Add 'self' argument.
1242 * nto-procfs.c (procfs_stop): Add 'self' argument.
1243 * monitor.c (monitor_stop): Add 'self' argument.
1244 (monitor_open): Update.
1245 * linux-nat.c (linux_nat_stop): Add argument.
1246 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1247 * gnu-nat.c (gnu_stop): Add 'self' argument.
1248 * darwin-nat.c (darwin_stop): Add 'self' argument.
1250 2014-02-19 Tom Tromey <tromey@redhat.com>
1252 * target.h (struct target_ops) <to_thread_name>: Add argument.
1253 * target.c (target_thread_name): Add argument.
1254 (update_current_target): Update.
1255 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
1257 2014-02-19 Tom Tromey <tromey@redhat.com>
1259 * target.h (struct target_ops) <to_extra_thread_info>: Add
1261 (target_extra_thread_info): Add argument.
1262 * target.c (update_current_target): Update.
1263 * remote.c (remote_threads_extra_info): Add 'self' argument.
1264 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
1266 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
1267 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
1268 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
1270 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
1272 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
1274 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
1277 2014-02-19 Tom Tromey <tromey@redhat.com>
1279 * target.h (struct target_ops) <to_program_signals>: Add argument.
1280 * target.c (target_program_signals): Add argument.
1281 * remote.c (remote_program_signals): Add 'self' argument.
1283 2014-02-19 Tom Tromey <tromey@redhat.com>
1285 * target.h (struct target_ops) <to_pass_signals>: Add argument.
1286 * target.c (target_pass_signals): Add argument.
1287 * remote.c (remote_pass_signals): Add 'self' argument.
1288 (remote_start_remote): Update.
1289 * procfs.c (procfs_pass_signals): Add 'self' argument.
1290 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
1291 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
1292 (linux_nat_create_inferior, linux_nat_attach): Update.
1294 2014-02-19 Tom Tromey <tromey@redhat.com>
1296 * windows-nat.c (windows_can_run): Add 'self' argument.
1297 * target.h (struct target_ops) <to_can_run>: Add argument.
1298 (target_can_run): Add argument.
1299 * target.c (debug_to_can_run): Add argument.
1300 (update_current_target): Update.
1301 * nto-procfs.c (procfs_can_run): Add 'self' argument.
1302 * inf-child.c (inf_child_can_run): Add 'self' argument.
1303 * go32-nat.c (go32_can_run): Add 'self' argument.
1305 2014-02-19 Tom Tromey <tromey@redhat.com>
1307 * target.h (struct target_ops) <to_has_exited>: Add argument.
1308 (target_has_exited): Add argument.
1309 * target.c (debug_to_has_exited): Add argument.
1310 (update_current_target): Update.
1312 2014-02-19 Tom Tromey <tromey@redhat.com>
1314 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
1316 (target_set_syscall_catchpoint): Add argument.
1317 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
1319 * target.c (update_current_target): Update.
1321 2014-02-19 Tom Tromey <tromey@redhat.com>
1323 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
1325 (target_remove_exec_catchpoint): Add argument.
1326 * target.c (debug_to_remove_exec_catchpoint): Add argument.
1327 (update_current_target): Update.
1328 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
1331 2014-02-19 Tom Tromey <tromey@redhat.com>
1333 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
1335 (target_insert_exec_catchpoint): Add argument.
1336 * target.c (debug_to_insert_exec_catchpoint): Add argument.
1337 (update_current_target): Update.
1338 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
1341 2014-02-19 Tom Tromey <tromey@redhat.com>
1343 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
1345 (target_remove_vfork_catchpoint): Add argument.
1346 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
1347 (update_current_target): Update.
1348 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
1351 2014-02-19 Tom Tromey <tromey@redhat.com>
1353 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
1355 (target_insert_vfork_catchpoint): Add argument.
1356 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
1357 (update_current_target): Update.
1358 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
1361 2014-02-19 Tom Tromey <tromey@redhat.com>
1363 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
1365 (target_remove_fork_catchpoint): Add argument.
1366 * target.c (debug_to_remove_fork_catchpoint): Add argument.
1367 (update_current_target): Update.
1368 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
1371 2014-02-19 Tom Tromey <tromey@redhat.com>
1373 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
1375 (target_insert_fork_catchpoint): Add argument.
1376 * target.c (debug_to_insert_fork_catchpoint): Add argument.
1377 (update_current_target): Update.
1378 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
1381 2014-02-19 Tom Tromey <tromey@redhat.com>
1383 * target.h (struct target_ops) <to_post_startup_inferior>: Add
1385 (target_post_startup_inferior): Add argument.
1386 * target.c (debug_to_post_startup_inferior): Add argument.
1387 (update_current_target): Update.
1388 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
1390 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
1392 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
1394 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
1396 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
1398 (super_post_startup_inferior): Likewise.
1399 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
1401 (super_post_startup_inferior): Likewise.
1402 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
1403 Add 'self' argument.
1404 (super_post_startup_inferior): Likewise.
1406 2014-02-19 Tom Tromey <tromey@redhat.com>
1408 * target.h (struct target_ops) <to_load>: Add argument.
1409 * target.c (target_load): Add argument.
1410 (debug_to_load): Add argument.
1411 (update_current_target): Update.
1412 * remote.c (remote_load): Add 'self' argument.
1413 * remote-sim.c (gdbsim_load): Add 'self' argument.
1414 * remote-mips.c (mips_load): Add 'self' argument.
1415 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
1416 * monitor.c (monitor_load): Add 'self' argument.
1417 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
1419 2014-02-19 Tom Tromey <tromey@redhat.com>
1421 * target.h (struct target_ops) <to_terminal_info>: Add argument.
1422 (target_terminal_info): Add argument.
1423 * target.c (debug_to_terminal_info): Add argument.
1424 (default_terminal_info): Likewise.
1425 * inflow.c (child_terminal_info): Add 'self' argument.
1426 * inferior.h (child_terminal_info): Add 'self' argument.
1427 * go32-nat.c (go32_terminal_info): Add 'self' argument.
1429 2014-02-19 Tom Tromey <tromey@redhat.com>
1431 * target.h (struct target_ops) <to_terminal_save_ours>: Add
1433 (target_terminal_save_ours): Add argument.
1434 * target.c (debug_to_terminal_save_ours): Add argument.
1435 (update_current_target): Update.
1436 * inflow.c (terminal_save_ours): Add 'self' argument.
1437 * inferior.h (terminal_save_ours): Add 'self' argument.
1439 2014-02-19 Tom Tromey <tromey@redhat.com>
1441 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
1442 (target_terminal_ours): Add argument.
1443 * target.c (debug_to_terminal_ours): Add argument.
1444 (update_current_target): Update.
1445 * remote.c (remote_terminal_ours): Add 'self' argument.
1446 (remote_close): Update.
1447 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
1448 * inflow.c (terminal_ours): Add 'self' argument.
1449 * inferior.h (terminal_ours): Add 'self' argument.
1450 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1452 2014-02-19 Pedro Alves <palves@redhat.com>
1453 Tom Tromey <tromey@redhat.com>
1455 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
1457 (target_terminal_ours_for_output): Add argument.
1458 * target.c (debug_to_terminal_ours_for_output): Add argument.
1459 (update_current_target): Update.
1460 * inflow.c (terminal_ours_for_output): Add 'self' argument.
1461 * inferior.h (terminal_ours_for_output): Add 'self' argument.
1462 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1464 2014-02-19 Tom Tromey <tromey@redhat.com>
1466 * target.h (struct target_ops) <to_terminal_inferior>: Add
1468 * target.c (target_terminal_inferior): Add argument.
1469 (update_current_target): Update.
1470 * remote.c (remote_terminal_inferior): Add 'self' argument.
1471 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
1472 * inflow.c (terminal_inferior): Add 'self' argument.
1473 * inferior.h (terminal_inferior): Add 'self' argument.
1474 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
1475 (go32_terminal_inferior): Add 'self' argument.
1477 2014-02-19 Tom Tromey <tromey@redhat.com>
1479 * target.h (struct target_ops) <to_terminal_init>: Add argument.
1480 (target_terminal_init): Add argument.
1481 * target.c (debug_to_terminal_init): Add argument.
1482 (update_current_target): Update.
1483 * inflow.c (terminal_init_inferior): Add 'self' argument.
1484 * inferior.h (terminal_init_inferior): Add 'self' argument.
1485 * go32-nat.c (go32_terminal_init): Add 'self' argument.
1486 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
1488 2014-02-19 Tom Tromey <tromey@redhat.com>
1490 * target.h (struct target_ops)
1491 <to_can_accel_watchpoint_condition>: Add argument.
1492 (target_can_accel_watchpoint_condition): Add argument.
1493 * target.c (debug_to_can_accel_watchpoint_condition): Add
1495 (update_current_target): Update.
1496 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
1499 2014-02-19 Tom Tromey <tromey@redhat.com>
1501 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1503 (target_region_ok_for_hw_watchpoint): Add argument.
1504 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
1505 (default_region_ok_for_hw_watchpoint): Add argument.
1506 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
1507 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
1509 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
1511 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
1513 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
1515 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
1517 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
1519 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
1520 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
1522 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
1523 Add 'self' argument.
1525 2014-02-19 Tom Tromey <tromey@redhat.com>
1527 * target.h (struct target_ops) <to_insert_watchpoint>: Add
1529 (target_insert_watchpoint): Add argument.
1530 * target.c (debug_to_insert_watchpoint): Add argument.
1531 (update_current_target): Update.
1532 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
1533 * remote.c (remote_insert_watchpoint): Add 'self' argument.
1534 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
1535 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
1536 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
1537 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
1539 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
1540 (procfs_insert_hw_watchpoint): Add 'self' argument.
1541 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
1543 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
1545 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
1547 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
1548 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
1550 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
1553 2014-02-19 Tom Tromey <tromey@redhat.com>
1555 * target.h (struct target_ops) <to_remove_watchpoint>: Add
1557 (target_remove_watchpoint): Add argument.
1558 * target.c (debug_to_remove_watchpoint): Add argument.
1559 (update_current_target): Update.
1560 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
1561 * remote.c (remote_remove_watchpoint): Add 'self' argument.
1562 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
1563 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
1564 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
1565 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
1567 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
1568 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
1570 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
1572 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
1574 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
1575 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
1577 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
1580 2014-02-19 Tom Tromey <tromey@redhat.com>
1582 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
1584 (target_remove_hw_breakpoint): Add argument.
1585 * target.c (debug_to_remove_hw_breakpoint): Add argument.
1586 (update_current_target): Update.
1587 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
1588 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
1590 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
1591 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
1593 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
1596 2014-02-19 Tom Tromey <tromey@redhat.com>
1598 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
1600 (target_insert_hw_breakpoint): Add argument.
1601 * target.c (debug_to_insert_hw_breakpoint): Add argument.
1602 (update_current_target): Update.
1603 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
1604 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
1606 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
1607 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
1608 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
1610 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
1613 2014-02-19 Tom Tromey <tromey@redhat.com>
1615 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
1617 (target_can_use_hardware_watchpoint): Add argument.
1618 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
1619 (update_current_target): Update.
1620 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
1622 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
1624 * remote.c (remote_check_watch_resources): Add 'self' argument.
1625 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
1626 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
1628 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
1629 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
1631 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
1633 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
1635 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
1637 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
1639 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
1641 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
1642 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
1644 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
1647 2014-02-19 Tom Tromey <tromey@redhat.com>
1649 * target.h (struct target_ops) <to_post_attach>: Add argument.
1650 (target_post_attach): Add argument.
1651 * target.c (debug_to_post_attach): Add argument.
1652 (update_current_target): Update.
1653 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
1654 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
1655 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
1656 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
1657 * inf-child.c (inf_child_post_attach): Add 'self' argument.
1659 2014-02-19 Tom Tromey <tromey@redhat.com>
1661 * windows-nat.c (windows_close): Add 'self' argument.
1662 * tracepoint.c (tfile_close): Add 'self' argument.
1663 * target.h (struct target_ops) <to_close>: Add argument.
1664 * target.c (target_close): Add argument.
1665 (update_current_target): Update.
1666 * remote.c (remote_close): Add 'self' argument.
1667 * remote-sim.c (gdbsim_close): Add 'self' argument.
1668 * remote-mips.c (mips_close): Add 'self' argument.
1669 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
1670 * record-full.c (record_full_close): Add 'self' argument.
1671 * record-btrace.c (record_btrace_close): Add 'self' argument.
1672 * monitor.h (monitor_close): Add 'self' argument.
1673 * monitor.c (monitor_close): Add 'self' argument.
1674 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
1675 * linux-nat.c (linux_nat_close): Add argument.
1676 * go32-nat.c (go32_close): Add 'self' argument.
1677 * exec.c (exec_close_1): Add 'self' argument.
1678 * ctf.c (ctf_close): Add 'self' argument.
1679 * corelow.c (core_close): Add 'self' argument.
1680 (core_close_cleanup): Update.
1681 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
1682 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
1684 2014-02-19 Tom Tromey <tromey@redhat.com>
1686 * remote.c (remote_load): New function.
1687 (init_remote_ops): Use it.
1689 2014-02-19 Tom Tromey <tromey@redhat.com>
1691 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
1693 * common/linux-btrace.h (linux_supports_btrace): Update.
1694 * remote.c (remote_supports_btrace): Add "self" argument.
1695 * target-delegates.c: Rebuild.
1696 * target.c (target_supports_btrace): Remove.
1697 * target.h (struct target_ops) <to_supports_btrace>: Add
1698 target_ops argument.
1699 (target_supports_btrace): New define.
1701 2014-02-19 Tom Tromey <tromey@redhat.com>
1703 * record-full.c (record_full_beneath_to_resume_ops)
1704 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
1705 (record_full_beneath_to_wait)
1706 (record_full_beneath_to_store_registers_ops)
1707 (record_full_beneath_to_store_registers)
1708 (record_full_beneath_to_xfer_partial_ops)
1709 (record_full_beneath_to_xfer_partial)
1710 (record_full_beneath_to_insert_breakpoint_ops)
1711 (record_full_beneath_to_insert_breakpoint)
1712 (record_full_beneath_to_remove_breakpoint_ops)
1713 (record_full_beneath_to_remove_breakpoint)
1714 (record_full_beneath_to_stopped_by_watchpoint)
1715 (record_full_beneath_to_stopped_data_address)
1716 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
1717 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
1718 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
1719 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
1720 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
1721 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
1722 (tmp_to_stopped_data_address, tmp_to_async): Remove.
1723 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
1724 (record_full_resume, record_full_wait_1)
1725 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
1726 (record_full_store_registers, record_full_xfer_partial)
1727 (record_full_insert_breakpoint, record_full_remove_breakpoint)
1728 (record_full_async, record_full_core_xfer_partial): Use target
1730 * target-delegates.c: Rebuild.
1731 * target.c (current_xfer_partial): Remove.
1732 (update_current_target): Do not INHERIT or de_fault
1733 to_insert_breakpoint, to_remove_breakpoint,
1734 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
1735 to_is_async_p, to_async. Do not set to_xfer_partial field.
1736 (default_xfer_partial): Simplify.
1737 (current_xfer_partial): Remove.
1738 (target_wait, target_resume): Simplify.
1739 (find_default_can_async_p, find_default_is_async_p): Update.
1740 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
1741 to_xfer_partial, to_stopped_by_watchpoint,
1742 to_stopped_data_address.
1743 (target_store_registers): Simplify.
1744 (forward_target_remove_breakpoint)
1745 (forward_target_insert_breakpoint): Remove.
1746 (target_remove_breakpoint, target_insert_breakpoint)
1747 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
1748 * target.h (struct target_ops) <to_resume, to_wait,
1749 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
1750 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
1751 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
1753 (forward_target_remove_breakpoint)
1754 (forward_target_insert_breakpoint): Remove.
1755 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
1757 (record_btrace_insert_breakpoint): Delegate directly.
1759 2014-02-19 Tom Tromey <tromey@redhat.com>
1762 * target-delegates.c: New file.
1763 * target.c: Include target-delegates.c.
1764 (init_dummy_target): Call install_dummy_methods.
1765 (complete_target_initialization): Call install_delegators.
1766 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
1767 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
1768 * make-target-delegates: New file.
1770 2014-02-19 Tom Tromey <tromey@redhat.com>
1772 * record.c (find_record_target): Use find_target_at.
1773 * target.c (find_target_at): New function.
1774 * target.h (find_target_at): Declare.
1776 2014-02-19 Tom Tromey <tromey@redhat.com>
1778 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
1780 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
1782 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
1783 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
1785 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
1787 * linux-nat.c (save_sigtrap): Update.
1788 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
1789 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
1790 (linux_nat_close): Update.
1791 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
1793 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
1795 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
1796 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
1797 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
1798 (tmp_to_async): Add 'ops' argument.
1799 (record_full_stopped_by_watchpoint, record_full_async)
1800 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
1802 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
1803 (m32r_stopped_by_watchpoint): Add 'ops' argument.
1804 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
1805 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
1806 (remote_is_async_p, remote_async): Add 'ops' argument.
1807 (remote_stopped_data_address): Update.
1808 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
1809 * target.c (update_current_target)
1810 (find_default_can_async_p, find_default_is_async_p): Update.
1811 (init_dummy_target): Update.
1812 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
1813 * target.h (struct target_ops) <to_stopped_by_watchpoint,
1814 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
1815 (target_can_async_p, target_is_async_p, target_async)
1816 (target_stopped_by_watchpoint): Update.
1818 2014-02-19 Yao Qi <yao@codesourcery.com>
1821 * gdbarch.sh: Remove startup_gdbarch.
1822 * gdbarch.c: Regenerated.
1823 * gdbarch.h: Likewise.
1825 2014-02-17 Kevin Buettner <kevinb@redhat.com>
1827 * rl78-tdep.c (rl78_g10_register_name): New function.
1828 (rl78_return_value): Add g10 support.
1829 (rl78_gdbarch_init): Register rl78_g10_register_name for the
1832 2014-02-17 Doug Evans <xdje42@gmail.com>
1834 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
1835 (SUBDIR_GUILE_SRCS): Ditto.
1836 (scm-gsmob.o): Ditto.
1838 2014-02-17 Yao Qi <yao@codesourcery.com>
1840 * gnu-nat.c (ILL_RPC): Declare defined function.
1842 2014-02-17 Yao Qi <yao@codesourcery.com>
1844 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
1845 mach_msg_type_number_t.
1846 (gnu_write_inferior): Likewise.
1848 2014-02-17 Yao Qi <yao@codesourcery.com>
1850 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
1852 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
1853 (inf_validate_procs, inf_signal): Likewise.
1854 (S_exception_raise_request): Likewise.
1855 (do_mach_notify_dead_name): Likewise.
1856 (steal_exc_port): Likewise.
1857 (gnu_read_inferior): Change 'copy_count''s type to
1858 mach_msg_type_number_t.
1859 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
1862 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
1864 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
1865 flag. Adjust all users; in particular...
1866 (gnu_wait): ..., don't decrement its value in here...
1867 (gnu_create_inferior): ..., and instead set the flag in here,
1868 around the startup_inferior call, and call that one with
1869 START_INFERIOR_TRAPS_EXPECTED.
1871 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
1872 (ILL_RPC): ... new macro.
1873 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
1874 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
1875 (do_mach_notify_send_once, S_proc_setmsgport_reply)
1876 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
1877 functions with ILL_RPC macro.
1878 (S_proc_pid2task_reply, S_proc_task2pid_reply)
1879 (S_proc_task2proc_reply, S_proc_proc2task_reply)
1880 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
1881 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
1882 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
1883 (S_proc_getlogin_reply, S_proc_getsid_reply)
1884 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
1885 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
1886 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
1887 (S_proc_getnports_reply, S_proc_is_important_reply)
1888 (S_proc_get_code_reply): New stub functions, generated with
1891 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
1892 collected the type check structures.
1894 * reply_mig_hack.awk: Don't expect to see the auto keyword.
1896 2014-02-14 Doug Evans <dje@google.com>
1898 * target.c (target_write_partial): Fix result type.
1900 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
1902 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
1903 the proper offsets to access fpregset_t.
1905 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
1907 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
1908 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
1909 * h8300-tdep.c (setmachinelist): Remove global.
1910 * hppa-tdep.c (hppa_sigtramp): Remove global.
1911 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
1912 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
1913 * ravenscar-thread.c (update_target_observer): Remove global.
1914 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
1916 2014-02-12 Tom Tromey <tromey@redhat.com>
1918 * common/rsp-low.c: Update comments.
1919 * common/rsp-low.h: Update comments.
1921 2014-02-12 Tom Tromey <tromey@redhat.com>
1923 * common/rsp-low.c (convert_ascii_to_int): Remove.
1924 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
1926 2014-02-12 Tom Tromey <tromey@redhat.com>
1928 * common/rsp-low.h (unhexify): Don't declare.
1929 * common/rsp-low.c (unhexify): Remove.
1931 2014-02-12 Tom Tromey <tromey@redhat.com>
1933 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
1934 * common/rsp-low.c (convert_int_to_ascii): Remove.
1936 2014-02-12 Tom Tromey <tromey@redhat.com>
1938 * common/rsp-low.h (hexify): Don't declare.
1939 * common/rsp-low.c (hexify): Remove.
1941 2014-02-12 Tom Tromey <tromey@redhat.com>
1943 * common/rsp-low.c (hexify): Never take strlen of argument.
1945 2014-02-12 Tom Tromey <tromey@redhat.com>
1947 * common/rsp-low.c (bin2hex): Never take strlen of argument.
1948 * remote.c (extended_remote_run, remote_rcmd)
1949 (remote_download_trace_state_variable, remote_save_trace_data)
1950 (remote_set_trace_notes): Update.
1951 * tracepoint.c (encode_source_string, tfile_write_status)
1952 (tfile_write_uploaded_tsv): Update.
1954 2014-02-12 Tom Tromey <tromey@redhat.com>
1956 * tracepoint.c: Include rsp-low.h.
1957 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
1958 * remote.c: Include rsp-low.h.
1959 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
1960 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
1961 (remote_unescape_input): Move to common/rsp-low.c.
1962 * common/rsp-low.h: New file.
1963 * common/rsp-low.c: New file.
1964 * Makefile.in (SFILES): Add common/rsp-low.c.
1965 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
1966 (COMMON_OBS): Add rsp-low.o.
1967 (rsp-low.o): New target.
1969 2014-02-12 Tom Tromey <tromey@redhat.com>
1971 * utils.h: Include print-utils.h.
1972 (host_address_to_string, plongest, pulongest, phex, phex_nz)
1973 (int_string, core_addr_to_string, core_addr_to_string_nz)
1974 (hex_string, hex_string_custom): Don't declare.
1975 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
1976 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
1977 (hex_string_custom, int_string, core_addr_to_string)
1978 (core_addr_to_string_nz, host_address_to_string): Move to
1979 common/print-utils.c.
1980 * common/print-utils.h: New file.
1981 * common/print-utils.c: New file
1982 * Makefile.in (SFILES): Add common/print-utils.c.
1983 (HFILES_NO_SRCDIR): Add common/print-utils.h.
1984 (COMMON_OBS): Add print-utils.o.
1985 (print-utils.o): New target.
1987 2014-02-12 Tom Tromey <tromey@redhat.com>
1989 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
1991 2014-02-12 Mark Kettenis <kettenis@gnu.org>
1993 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
1995 2014-02-12 Mark Kettenis <kettenis@gnu.org>
1997 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
1998 if a PT_IO ptrace request returns sucessfully but indicates that 0
1999 bytes were transferred.
2001 2014-02-12 Pedro Alves <palves@redhat.com>
2002 Kevin Buettner <kevinb@redhat.com>
2004 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2005 TYPE_INSTANCE_FLAG_CODE_SPACE.
2007 2014-02-12 Pedro Alves <palves@redhat.com>
2009 * h8300-tdep.c (pseudo_from_raw_register)
2010 (raw_from_pseudo_register): New functions.
2011 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2014 2014-02-12 Pedro Alves <palves@redhat.com>
2016 * h8300-tdep.c (h8300_register_sim_regno): New function.
2017 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2018 gdbarch_register_sim_regno hook.
2020 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2022 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2024 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2026 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2028 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2030 * obsd-tdep.h (obsd_init_abi): New prototype.
2031 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2032 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2033 (obsd_init_abi): New functions.
2034 * i386obsd-tdep.c: Include "obsd-tdep.h".
2035 (i386obsd_init_abi): Call obsd_init_abi.
2036 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2037 (amd64obsd_init_abi): Call obsd_init_abi.
2038 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2039 obsd-tdep.c to gdb_target_obs.
2041 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2043 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2044 double float arguments to 16-byte in the argument slots.
2046 2014-02-11 Doug Evans <xdje42@gmail.com>
2048 * configure.ac: Don't crash if pkg-config is not found and guile
2049 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2051 * configure: Regenerate.
2053 2014-02-11 Yao Qi <yao@codesourcery.com>
2055 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2056 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2057 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2058 * gnu-nat.c (gnu_xfer_memory): Likewise.
2059 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2060 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2061 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2062 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2064 2014-02-11 Yao Qi <yao@codesourcery.com>
2066 * target.h (enum target_xfer_error): Rename to ...
2067 (enum target_xfer_status): ... it. New. All users updated.
2068 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2070 (TARGET_XFER_STATUS_ERROR_P): New macro.
2071 (target_xfer_error_to_string): Remove declaration.
2072 (target_xfer_status_to_string): Declare.
2073 (target_xfer_partial_ftype): Adjust it.
2074 (struct target_ops) <to_xfer_partial>: Return
2075 target_xfer_status. Add argument xfered_len. Update
2077 * target.c (target_xfer_error_to_string): Rename to ...
2078 (target_xfer_status_to_string): ... it. New. All callers
2080 (target_read_live_memory): Likewise. Call target_xfer_partial
2081 instead of target_read.
2082 (memory_xfer_live_readonly_partial): Return
2083 target_xfer_status. Add argument xfered_len.
2084 (raw_memory_xfer_partial): Likewise.
2085 (memory_xfer_partial_1): Likewise.
2086 (memory_xfer_partial): Likewise.
2087 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2088 properly. Update debug message.
2089 (default_xfer_partial, current_xfer_partial): Likewise.
2090 (target_write_partial): Likewise.
2091 (target_read_partial): Likewise. All callers updated.
2092 (read_whatever_is_readable): Likewise.
2093 (target_write_with_progress): Likewise.
2094 (target_read_alloc_1): Likewise.
2096 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2097 * auxv.c (procfs_xfer_auxv): Likewise.
2098 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2099 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2100 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2101 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2102 * corefile.c (read_memory): Adjust.
2103 * corelow.c (core_xfer_partial): Likewise.
2104 * ctf.c (ctf_xfer_partial): Likewise.
2105 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2107 (darwin_xfer_partial): Likewise.
2108 * exec.c (section_table_xfer_memory_partial): Likewise. All
2110 (exec_xfer_partial): Likewise.
2111 * exec.h (section_table_xfer_memory_partial): Update
2113 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2115 (gnu_xfer_partial): Likewise.
2116 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2117 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2118 (ia64_hpux_xfer_solib_got): Likewise.
2119 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2120 type of 'partial_len' to ULONGEST.
2121 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2122 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2123 (linux_nat_xfer_partial): Likewise.
2124 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2125 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2126 * monitor.c (monitor_xfer_memory): Likewise.
2127 (monitor_xfer_partial): Likewise.
2128 * procfs.c (procfs_xfer_partial): Likewise.
2129 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2130 * record-full.c (record_full_xfer_partial): Likewise.
2131 (record_full_core_xfer_partial): Likewise.
2132 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2133 (gdbsim_xfer_partial): Likewise.
2134 * remote.c (remote_write_bytes_aux): Likewise. All callers
2136 (remote_write_bytes, remote_read_bytes): Likewise. All
2138 (remote_flash_erase): Likewise. All callers updated.
2139 (remote_write_qxfer): Likewise. All callers updated.
2140 (remote_read_qxfer): Likewise. All callers updated.
2141 (remote_xfer_partial): Likewise.
2142 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2143 (rs6000_xfer_shared_libraries): Likewise.
2144 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2145 (sol_thread_xfer_partial): Likewise.
2146 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2147 (sparc_xfer_partial): Likewise.
2148 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2150 (spu_xfer_partial): Likewise.
2151 * spu-multiarch.c (spu_xfer_partial): Likewise.
2152 * tracepoint.c (tfile_xfer_partial): Likewise.
2153 * windows-nat.c (windows_xfer_memory): Likewise.
2154 (windows_xfer_shared_libraries): Likewise.
2155 (windows_xfer_partial): Likewise.
2156 * valprint.c: Replace 'target_xfer_error' with
2157 'target_xfer_status' in comments.
2159 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2161 Checked in by Joel Brobecker <brobecker@adacore.com>.
2162 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2164 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2166 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2167 function parameters.
2169 2014-02-10 Will Newton <will.newton@linaro.org>
2171 * elfread.c (elf_rel_plt_read): Look for a .got section if
2172 looking up .got.plt fails.
2173 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2174 on address passed to elf_gnu_ifunc_record_cache.
2175 (elf_gnu_ifunc_resolve_addr): Likewise.
2176 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2178 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2180 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2181 (X_RETTURN): New macro.
2182 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2184 * sparc64-tdep.c (sparc64_init_abi): Hook
2185 sparc_in_function_epilogue_p.
2187 2014-02-10 Gary Benson <gbenson@redhat.com>
2189 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2190 Rename name_matcher to symbol_matcher.
2192 2014-02-10 Gary Benson <gbenson@redhat.com>
2194 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2195 Use expand_symtabs_file_matcher_ftype and
2196 expand_symtabs_symbol_matcher_ftype.
2198 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2200 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2201 (struct ada_symbol_cache): New.
2202 (ada_free_symbol_cache): Forward declare.
2203 (struct ada_pspace_data): New.
2204 (ada_pspace_data_handle): New static global.
2205 (get_ada_pspace_data, ada_pspace_data_cleanup)
2206 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2207 (cache_space, cache): Delete, now folded inside struct
2209 (ada_get_symbol_cache): New function.
2210 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2212 (_initialize_ada_language): Remove initialization of cache_space.
2213 Move call to observer_attach_inferior_exit up, grouping it
2214 with the other observer registrations inside this function.
2215 Rename command to be more general. Add call to
2216 register_program_space_data_with_cleanup.
2218 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2220 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2221 ada_new_objfile_observer.
2222 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2223 (_initialize_tasks): Update uses of ada_new_objfile_observer
2224 and ada_tasks_normal_stop_observer.
2226 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2228 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2229 returned by the 'Length attribute to integer.
2231 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2233 * ada-lang.c (_initialize_ada_language): Initialize
2234 cache_space obstack.
2236 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2238 * ada-lang.c (HASH_SIZE): New macro.
2239 (struct cache_entry): New type.
2240 (cache_space, cache): New static globals.
2241 (ada_clear_symbol_cache, find_entry): New functions.
2242 (lookup_cached_symbol, cache_symbol): Implement.
2243 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2244 (_initialize_ada_language): Attach ada_new_objfile_observer
2245 and ada_free_objfile_observer.
2247 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2249 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
2250 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
2251 struct block * parameter.
2252 (ada_lookup_symbol_list_worker): Constify local variable "block".
2253 Remove cast which is no longer necessary.
2255 2014-02-10 Doug Evans <xdje42@gmail.com>
2257 Add Guile as an extension language.
2258 * NEWS: Mention Guile scripting.
2259 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
2260 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
2261 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
2262 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
2263 (CLIBS): Add GUILE_LIBS.
2264 (install-guile): New rule.
2265 (guile.o): New rule.
2266 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
2267 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
2268 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
2269 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
2270 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
2271 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
2272 (scm-type.o, scm-utils.o, scm-value.o): New rules.
2273 * configure.ac: New option --with-guile.
2274 * configure: Regenerate.
2275 * config.in: Regenerate.
2276 * auto-load.c: Remove #include "python/python.h". Add #include
2277 "gdb/section-scripts.h".
2278 (source_section_scripts): Handle Guile scripts.
2279 (_initialize_auto_load): Add name of Guile objfile script to
2280 scripts-directory help text.
2281 * breakpoint.c (condition_command): Tweak comment to include Scheme.
2282 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
2283 (struct breakpoint): New member scm_bp_object.
2284 * defs.h (enum command_control_type): New value guile_control.
2285 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
2287 (show_user): Update comment.
2288 (_initialize_cli_cmds): Update help text for "show user". Update help
2289 text for max-user-call-depth.
2290 * cli/cli-script.c: Remove #include "python/python.h". Add #include
2292 (multi_line_command_p): Add guile_control.
2293 (print_command_lines): Handle guile_control.
2294 (execute_control_command, recurse_read_control_structure): Ditto.
2295 (process_next_line): Recognize "guile" commands.
2296 * disasm.c (gdb_disassemble_info): Make non-static.
2297 * disasm.h: #include "dis-asm.h".
2298 (struct gdbarch): Add forward decl.
2299 (gdb_disassemble_info): Declare.
2300 * extension.c: #include "guile/guile.h".
2301 (extension_languages): Add guile.
2302 (get_ext_lang_defn): Handle EXT_LANG_GDB.
2303 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
2304 * gdbtypes.c (get_unsigned_type_max): New function.
2305 (get_signed_type_minmax): New function.
2306 * gdbtypes.h (get_unsigned_type_max): Declare.
2307 (get_signed_type_minmax): Declare.
2308 * guile/README: New file.
2309 * guile/guile-internal.h: New file.
2310 * guile/guile.c: New file.
2311 * guile/guile.h: New file.
2312 * guile/scm-arch.c: New file.
2313 * guile/scm-auto-load.c: New file.
2314 * guile/scm-block.c: New file.
2315 * guile/scm-breakpoint.c: New file.
2316 * guile/scm-disasm.c: New file.
2317 * guile/scm-exception.c: New file.
2318 * guile/scm-frame.c: New file.
2319 * guile/scm-gsmob.c: New file.
2320 * guile/scm-iterator.c: New file.
2321 * guile/scm-lazy-string.c: New file.
2322 * guile/scm-math.c: New file.
2323 * guile/scm-objfile.c: New file.
2324 * guile/scm-ports.c: New file.
2325 * guile/scm-pretty-print.c: New file.
2326 * guile/scm-safe-call.c: New file.
2327 * guile/scm-string.c: New file.
2328 * guile/scm-symbol.c: New file.
2329 * guile/scm-symtab.c: New file.
2330 * guile/scm-type.c: New file.
2331 * guile/scm-utils.c: New file.
2332 * guile/scm-value.c: New file.
2333 * guile/lib/gdb.scm: New file.
2334 * guile/lib/gdb/boot.scm: New file.
2335 * guile/lib/gdb/experimental.scm: New file.
2336 * guile/lib/gdb/init.scm: New file.
2337 * guile/lib/gdb/iterator.scm: New file.
2338 * guile/lib/gdb/printing.scm: New file.
2339 * guile/lib/gdb/types.scm: New file.
2340 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
2341 (VPATH): Add $(GUILE_SRCDIR).
2342 (GUILE_DIR): New variable.
2343 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
2344 (all): Add stamp-guile dependency.
2345 (stamp-guile): New rule.
2346 (clean-guile, install-guile, uninstall-guile): New rules.
2347 (install-only): Add install-guile dependency.
2348 (uninstall): Add uninstall-guile dependency.
2349 (clean): Add clean-guile dependency.
2351 2014-02-09 Doug Evans <xdje42@gmail.com>
2353 Revert this patch (which I approved, mea culpa).
2355 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2357 * Makefile.in (all-lib): Remove.
2358 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2360 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2362 Fix Python stack corruption.
2363 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
2366 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2368 * Makefile.in (all-lib): Remove.
2369 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2371 2014-02-07 Doug Evans <dje@google.com>
2373 * extension-priv.h (extension_language_script_ops): Add comment.
2374 (extension_language_ops): Add comment.
2375 (active_ext_lang_state): Fix typo in comment.
2377 2014-02-07 Pedro Alves <palves@redhat.com>
2379 * infrun.c (handle_signal_stop) <signal arrives while stepping
2380 over a breakpoint>: Switch back to the stepping thread.
2382 2014-02-07 Yao Qi <yao@codesourcery.com>
2384 * target.c (target_xfer_partial): Return zero if LEN is zero.
2386 2014-02-07 Yao Qi <yao@codesourcery.com>
2388 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
2389 (ld_so_xfer_auxv): Likewise.
2390 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2391 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2392 * corelow.c (core_xfer_partial): Likewise.
2393 * ctf.c (ctf_xfer_partial): Likewise.
2394 * darwin-nat.c (darwin_read_dyld_info): Likewise.
2395 (darwin_xfer_partial): Likewise.
2396 * exec.c (exec_xfer_partial): Likewise.
2397 * gnu-nat.c (gnu_xfer_partial): Likewise.
2398 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
2399 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2400 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2401 * linux-nat.c (linux_xfer_siginfo): Likewise.
2402 (linux_proc_xfer_spu): Likewise.
2403 * procfs.c (procfs_xfer_partial): Likewise.
2404 * record-full.c (record_full_xfer_partial): Likewise.
2405 (record_full_core_xfer_partial): Likewise.
2406 * remote-sim.c (gdbsim_xfer_partial): Likewise.
2407 * remote.c (remote_write_qxfer): Likewise.
2408 (remote_write_qxfer, remote_read_qxfer): Likewise.
2409 (remote_xfer_partial): Likewise.
2410 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2411 (rs6000_xfer_shared_libraries): Likewise.
2412 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2413 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2414 (spu_xfer_partial): Likewise.
2415 * target.c (memory_xfer_partial_1): Likewise.
2416 * tracepoint.c (tfile_xfer_partial): Likewise.
2417 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
2418 (windows_xfer_partial): Likewise.
2420 2014-02-07 Yao Qi <yao@codesourcery.com>
2422 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
2424 (core_xfer_shared_libraries_aix): Likewise.
2425 * gdbarch.c, gdbarch.h: Regenerated.
2426 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
2427 ULONGEST. Change 'len_avail' type to ULONGEST.
2428 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
2429 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
2431 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
2433 2014-02-07 Yao Qi <yao@codesourcery.com>
2435 * corefile.c (memory_error): Get 'exception' from ERR and pass
2436 'exception' to throw_error.
2438 2014-02-06 Doug Evans <xdje42@gmail.com>
2440 * configure.ac (libpython checking): Remove all but python.o from
2441 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
2442 * configure: Regenerate.
2444 * Makefile.in (SFILES): Add extension.c.
2445 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
2446 (COMMON_OBS): Add extension.o.
2447 * extension.h: New file.
2448 * extension-priv.h: New file.
2449 * extension.c: New file.
2451 * python/python-internal.h: #include "extension.h".
2452 (gdbpy_auto_load_enabled): Declare.
2453 (gdbpy_apply_val_pretty_printer): Declare.
2454 (gdbpy_apply_frame_filter): Declare.
2455 (gdbpy_preserve_values): Declare.
2456 (gdbpy_breakpoint_cond_says_stop): Declare.
2457 (gdbpy_breakpoint_has_cond): Declare.
2458 (void source_python_script_for_objfile): Delete.
2459 * python/python.c: #include "extension-priv.h".
2460 Delete inclusion of "observer.h".
2461 (extension_language_python): Moved here and renamed from
2462 script_language_python in py-auto-load.c.
2463 Redefined to be of type extension_language_defn.
2464 (python_extension_script_ops): New global.
2465 (python_extension_ops): New global.
2466 (struct python_env): New member previous_active.
2467 (restore_python_env): Call restore_active_ext_lang.
2468 (ensure_python_env): Call set_active_ext_lang.
2469 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
2471 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
2473 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
2475 (gdbpy_eval_from_control_command): Renamed from
2476 eval_python_from_control_command, made static. New arg extlang.
2477 (gdbpy_source_script) Renamed from source_python_script, made static.
2479 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
2480 result to int. New arg extlang.
2481 (gdbpy_source_objfile_script): Renamed from
2482 source_python_script_for_objfile, made static. New arg extlang.
2483 (gdbpy_start_type_printers): Renamed from start_type_printers, made
2484 static. New args extlang, extlang_printers. Change result type to
2486 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
2487 static. New arg extlang. Rename arg printers to extlang_printers
2488 and change type to ext_lang_type_printers *.
2489 (gdbpy_free_type_printers): Renamed from free_type_printers, made
2490 static. Replace argument arg with extlang, extlang_printers.
2491 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
2492 (!HAVE_PYTHON, source_python_script): Delete.
2493 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
2494 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
2495 (!HAVE_PYTHON, start_type_printers): Delete.
2496 (!HAVE_PYTHON, apply_type_printers): Delete.
2497 (!HAVE_PYTHON, free_type_printers): Delete.
2498 (_initialize_python): Delete call to observer_attach_before_prompt.
2499 (finalize_python): Set/restore active extension language.
2500 (gdbpy_finish_initialization) Renamed from
2501 finish_python_initialization, made static. New arg extlang.
2502 (gdbpy_initialized): New function.
2503 * python/python.h: #include "extension.h". Delete #include
2504 "value.h", "mi/mi-cmds.h".
2505 (extension_language_python): Declare.
2506 (GDBPY_AUTO_FILE_NAME): Delete.
2507 (enum py_bt_status): Moved to extension.h and renamed to
2509 (enum frame_filter_flags): Moved to extension.h.
2510 (enum py_frame_args): Moved to extension.h and renamed to
2511 ext_lang_frame_args.
2512 (finish_python_initialization): Delete.
2513 (eval_python_from_control_command): Delete.
2514 (source_python_script): Delete.
2515 (apply_val_pretty_printer): Delete.
2516 (apply_frame_filter): Delete.
2517 (preserve_python_values): Delete.
2518 (gdbpy_script_language_defn): Delete.
2519 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
2520 (start_type_printers, apply_type_printers, free_type_printers): Delete.
2522 * auto-load.c: #include "extension.h".
2523 (GDB_AUTO_FILE_NAME): Delete.
2524 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
2525 (script_language_gdb): Delete, moved to extension.c and renamed to
2526 extension_language_gdb.
2527 (source_gdb_script_for_objfile): Delete.
2528 (auto_load_pspace_info): New member unsupported_script_warning_printed.
2529 (loaded_script): Change type of language member to
2530 struct extension_language_defn *.
2531 (init_loaded_scripts_info): Initialize
2532 unsupported_script_warning_printed.
2533 (maybe_add_script): Make static. Change type of language arg to
2534 struct extension_language_defn *.
2535 (clear_section_scripts): Reset unsupported_script_warning_printed.
2536 (auto_load_objfile_script_1): Rewrite to use extension language API.
2537 (auto_load_objfile_script): Make public. Remove support-compiled-in
2538 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
2539 (source_section_scripts): Rewrite to use extension language API.
2540 (load_auto_scripts_for_objfile): Rewrite to use
2541 auto_load_scripts_for_objfile.
2542 (collect_matching_scripts_data): Change type of language member to
2543 struct extension_language_defn *.
2544 (auto_load_info_scripts): Change type of language arg to
2545 struct extension_language_defn *.
2546 (unsupported_script_warning_print): New function.
2547 (script_not_found_warning_print): Make static.
2548 (_initialize_auto_load): Rewrite construction of scripts-directory
2550 * auto-load.h (struct objfile): Add forward decl.
2551 (struct script_language): Delete.
2552 (struct auto_load_pspace_info): Add forward decl.
2553 (struct extension_language_defn): Add forward decl.
2554 (maybe_add_script): Delete.
2555 (auto_load_objfile_script): Declare.
2556 (script_not_found_warning_print): Delete.
2557 (auto_load_info_scripts): Update prototype.
2558 (auto_load_gdb_scripts_enabled): Declare.
2559 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
2560 auto_load_python_scripts_enabled and made public.
2561 (script_language_python): Delete, moved to python.c.
2562 (gdbpy_script_language_defn): Delete.
2563 (info_auto_load_python_scripts): Update to use
2564 extension_language_python.
2566 * breakpoint.c (condition_command): Replace call to
2567 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
2568 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
2569 with call to breakpoint_ext_lang_cond_says_stop.
2570 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
2571 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
2572 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
2573 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
2575 (local_setattro): Print name of extension language with existing
2578 * valprint.c (val_print, value_print): Update to call
2579 apply_ext_lang_val_pretty_printer.
2580 * cp-valprint.c (cp_print_value): Update call to
2581 apply_ext_lang_val_pretty_printer.
2582 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
2583 (gdbpy_apply_val_pretty_printer): Renamed from
2584 apply_val_pretty_printer. New arg extlang.
2585 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
2587 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
2588 extension language API.
2589 * cli/cli-script.c (execute_control_command): Update to call
2590 eval_ext_lang_from_control_command.
2592 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
2593 enum ext_lang_bt_status values. Update call to
2594 apply_ext_lang_frame_filter.
2595 (mi_cmd_stack_list_locals): Ditto.
2596 (mi_cmd_stack_list_args): Ditto.
2597 (mi_cmd_stack_list_variables): Ditto.
2598 * mi/mi-main.c: Delete #include "python/python-internal.h".
2599 Add #include "extension.h".
2600 (mi_cmd_list_features): Replace reference to python internal variable
2601 gdb_python_initialized with call to ext_lang_initialized_p.
2603 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
2604 Update to use enum ext_lang_frame_args. Update to call
2605 apply_ext_lang_frame_filter.
2606 * python/py-framefilter.c (extract_sym): Update to use enum
2608 (extract_value, py_print_type, py_print_value): Ditto.
2609 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
2610 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
2611 (py_print_frame): Ditto.
2612 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
2613 New arg extlang. Update to use enum ext_lang_bt_status.
2615 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
2616 finish_python_initialization. Replace with call to
2617 finish_ext_lang_initialization.
2619 * typeprint.c (do_free_global_table): Update to call
2620 free_ext_lang_type_printers.
2621 (create_global_typedef_table): Update to call
2622 start_ext_lang_type_printers.
2623 (find_global_typedef): Update to call apply_ext_lang_type_printers.
2624 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
2625 (type_print_options): Change type of global_printers from "void *"
2626 to "struct ext_lang_type_printers *".
2628 * value.c (preserve_values): Update to call preserve_ext_lang_values.
2629 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
2630 (gdbpy_preserve_values): Renamed from preserve_python_values.
2632 (!HAVE_PYTHON, preserve_python_values): Delete.
2634 * utils.c (quit_flag): Delete, moved to extension.c.
2635 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
2638 * eval.c: Delete #include "python/python.h".
2639 * main.c: Delete #include "python/python.h".
2641 * defs.h: Update comment.
2643 2014-02-06 Joel Brobecker <brobecker@adacore.com>
2647 2014-02-05 Mark Kettenis <kettenis@gnu.org>
2649 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
2652 2014-02-05 Yao Qi <yao@codesourcery.com>
2654 * remote.c (remote_pass_signals): Remove local 'buf' and use
2656 (remote_program_signals): Likewise.
2658 2014-02-05 Yao Qi <yao@codesourcery.com>
2660 * ctf.c: Include "inferior.h" and "gdbthread.h".
2661 (CTF_PID): A new macro.
2662 (ctf_open): Call inferior_appeared and add_thread_silent.
2663 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
2664 (ctf_thread_alive): New function.
2665 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
2667 2014-02-05 Yao Qi <yao@codesourcery.com>
2671 2013-05-24 Yao Qi <yao@codesourcery.com>
2673 * tracepoint.c (TFILE_PID): Remove.
2674 (tfile_open): Don't add thread and inferior.
2675 (tfile_close): Don't set 'inferior_ptid'. Don't call
2676 exit_inferior_silent.
2677 (tfile_thread_alive): Remove.
2678 (init_tfile_ops): Don't set field 'to_thread_alive' of
2681 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
2683 * remote.c (remote_start_remote): Call remote_check_symbols even
2684 if only symbol-file (not file) has been given.
2686 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2688 * gdbarch.sh (skip_entrypoint): New callback.
2689 * gdbarch.c, gdbarch.h: Regenerate.
2690 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
2691 * infrun.c (fill_in_stop_func): Likewise.
2692 * ppc-linux-tdep.c: Include "elf/ppc64.h".
2693 (ppc_elfv2_elf_make_msymbol_special): New function.
2694 (ppc_elfv2_skip_entrypoint): Likewise.
2695 (ppc_linux_init_abi): Install them for ELFv2.
2697 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2699 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
2700 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
2701 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
2702 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
2703 structures returned in GPRs.
2705 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2707 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
2708 offset to the stack parameter list for the ELFv2 ABI.
2710 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2712 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
2713 set_gdbarch_convert_from_func_ptr_addr and
2714 set_gdbarch_elf_make_msymbol_special for ELFv1.
2715 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
2716 function descriptors on ELFv1.
2717 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
2718 set up r12 at function entry.
2720 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2722 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
2723 (struct gdbarch_tdep): New member elf_abi.
2725 * rs6000-tdep.c: Include "elf/ppc64.h".
2726 (rs6000_gdbarch_init): Detect ELF ABI version.
2728 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2730 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
2731 within a register pair holding a DFP 128-bit value on little-endian.
2732 (ppc64_sysv_abi_return_value_base): Likewise.
2733 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
2734 (dfp_pseudo_register_write): Likewise.
2736 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2738 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
2739 offset on little-endian when passing _Decimal32.
2740 (ppc64_sysv_abi_return_value_base): Likewise for return values.
2742 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2744 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
2745 of the overlapped FP register within the VSX register on little-
2747 (efpr_pseudo_register_write): Likewise.
2749 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2751 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
2752 offset on little-endian when passing small structures.
2754 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2756 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
2757 (struct ppc64_sysv_argpos): New data structure.
2758 (ppc64_sysv_abi_push_float): Remove.
2759 (ppc64_sysv_abi_push_val): New function.
2760 (ppc64_sysv_abi_push_integer): Likewise.
2761 (ppc64_sysv_abi_push_freg): Likewise.
2762 (ppc64_sysv_abi_push_vreg): Likewise.
2763 (ppc64_sysv_abi_push_param): Likewise.
2764 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
2765 (ppc64_sysv_abi_return_value_base): New function.
2766 (ppc64_sysv_abi_return_value): Refactor to use it.
2768 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2770 * NEWS: Document new target powerpc64le-*-linux*.
2772 2014-02-04 Mark Kettenis <kettenis@gnu.org>
2774 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
2775 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
2777 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
2778 register set used in ELF core dumps. Add floating-point register set.
2780 2014-02-03 Kevin Buettner <kevinb@redhat.com>
2782 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
2783 dwarf2_to_gdb[] table using symbolic constants. Adjust
2784 penultimate entry from number representing the PC register
2785 to symbolic constant representing the MDR register. Add
2786 constant for the PC register to the end of the table.
2788 2014-02-03 Mark Kettenis <kettenis@gnu.org>
2790 * bsd-kvm.c: Include <sys/param.h>
2792 2014-02-03 Mark Kettenis <kettenis@gnu.org>
2794 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
2796 2014-01-31 Joel Brobecker <brobecker@adacore.com>
2798 * ada-lang.h (clear_ada_sym_cache): Delete.
2800 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
2802 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
2804 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2806 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
2807 the sigreturn register save area only if the syscall is
2810 2014-01-29 Joel Brobecker <brobecker@adacore.com>
2812 * valops.c (value_slice): Minor reformatting.
2814 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
2816 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
2818 2014-01-28 Joel Brobecker <brobecker@adacore.com>
2820 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
2822 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
2823 (ada_ignore_descriptive_types_p): New static global.
2824 (find_parallel_type_by_descriptive_type): Return immediately
2825 if ada_ignore_descriptive_types_p is set.
2826 (_initialize_ada_language): Register new commands "maintenance
2827 set ada", "maintenance show ada", "maintenance set ada
2828 ignore-descriptive-types" and "maintenance show ada
2829 ignore-descriptive-types".
2830 * NEWS: Add entry for new "maint ada set/show
2831 ignore-descriptive-types" commands.
2833 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
2835 * record-btrace.c (record_btrace_close): Call btrace_teardown
2838 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2840 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
2843 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2845 * ada-typeprint (type_is_full_subrange_of_target_type):
2847 (print_range): Add parameter bounds_prefered_p. If not set,
2848 try printing range types using the name of their base type.
2849 (print_range_type): Add parameter bounds_prefered_p.
2850 Use it in call to print_range.
2851 (print_array_type, ada_print_type): Update calls to print_range
2852 and print_range_type.
2854 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2856 * ada-typeprint.c (print_array_type, print_choices, print_range)
2857 (print_range_bound, print_dynamic_range_bound, print_range_type):
2860 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2862 * ada-typeprint.c (print_range): Add missing empty line
2863 after local declaration.
2865 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2867 * ada-valprint.c (print_optional_low_bound): Get index_type's
2868 target type for as long as it is a TYPE_CODE_RANGE.
2870 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2872 * procfs.c (procfs_make_note_section): Remove assertion and
2875 2014-01-24 Yao Qi <yao@codesourcery.com>
2877 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
2878 * corelow.c (get_core_siginfo): Likewise.
2880 2014-01-24 Yao Qi <yao@codesourcery.com>
2882 * remote.c (remote_write_bytes_aux): Change type of 'len' to
2883 ULONGEST. Don't check 'len' is negative.
2884 (remote_write_bytes): Change type of 'len' to ULONGEST.
2886 2014-01-23 Tom Tromey <tromey@redhat.com>
2889 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
2890 Handle exception from frame.block.
2891 (FrameVars.fetch_frame_locals): Likewise.
2893 2014-01-23 Tom Tromey <tromey@redhat.com>
2896 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
2897 on a NULL pointer. Move "goto error" to correct place.
2899 2014-01-23 Tom Tromey <tromey@redhat.com>
2902 * python/py-framefilter.c (apply_frame_filter): Call
2903 ensure_python_env after computing gdbarch.
2905 2014-01-23 Yao Qi <yao@codesourcery.com>
2907 * target.c (raw_memory_xfer_partial): Change argument type
2908 from void * to gdb_byte *.
2909 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
2911 2014-01-22 Doug Evans <dje@google.com>
2913 New gdbserver option --debug-format=timestamp.
2916 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2918 * syscalls/s390x-linux.xml: New file.
2919 * syscalls/s390-linux.xml: New file.
2920 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
2921 (XML_SYSCALL_FILENAME_S390X): Likewise.
2922 (op_svc): New enum value for SVC opcode.
2923 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
2924 (s390_linux_get_syscall_number): New function.
2925 (s390_gdbarch_init): Register '*get_syscall_number' and the
2926 syscall xml file name.
2927 * data-directory/Makefile.in (SYSCALLS_FILES): Add
2928 "s390-linux.xml" and "s390x-linux.xml".
2929 * NEWS: Announce new feature.
2931 2014-01-22 Baruch Siach <baruch@tkos.co.il>
2933 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
2935 2014-01-22 Pedro Alves <palves@redhat.com>
2937 * xtensa-config.c: Include defs.h.
2939 2014-01-22 Joel Brobecker <brobecker@adacore.com>
2941 * common/common-utils.h: Add "ARI:" comment beside __func__
2944 2014-01-22 Joel Brobecker <brobecker@adacore.com>
2946 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
2947 documentation a bit.
2949 2014-01-21 Roland McGrath <mcgrathr@google.com>
2951 * configure.ac: Call AM_PROG_INSTALL_STRIP.
2952 * configure: Regenerate.
2953 * aclocal.m4: Regenerate.
2954 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
2955 New substituted variables.
2956 (install-strip): New target.
2957 (INSTALL_SCRIPT): New substituted variable.
2958 (FLAGS_TO_PASS): Add it.
2959 (install-only): Use $(INSTALL_SCRIPT) rather than
2960 $(INSTALL_PROGRAM) for gcore.
2962 2014-01-20 Tom Tromey <tromey@redhat.com>
2964 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
2967 2014-01-20 Tom Tromey <tromey@redhat.com>
2969 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
2970 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
2971 (deprecated_cmd_warning, complete_on_cmdlist): Update.
2972 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
2973 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
2974 (struct cmd_list_element) <flags>: Remove.
2975 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
2976 doc_allocated>: New fields.
2977 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
2979 * maint.c (maintenance_do_deprecate): Update.
2980 * top.c (execute_command): Update.
2982 2014-01-20 Baruch Siach <baruch@tkos.co.il>
2984 * xtensa-linux-nat.c: Include asm/ptrace.h.
2986 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2988 * Makefile.in (SFILES): Add d-support.c.
2989 (COMMON_OBS): Add d-support.o.
2990 * d-lang.h (d_parse_symbol): Add comment, now defined in
2992 * d-lang.c (parse_call_convention)
2993 (parse_attributes, parse_function_types)
2994 (parse_function_args, parse_type, parse_identifier)
2995 (call_convention_p, d_parse_symbol): Move functions to ...
2996 * d-support.c: ... New file.
2998 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3000 * d-lang.h (d_parse_symbol): Add declaration.
3001 * d-lang.c (extract_identifiers)
3002 (extract_type_info): Remove functions.
3003 (parse_call_convention, parse_attributes)
3004 (parse_function_types, parse_function_args)
3005 (parse_type, parse_identifier, call_convention_p)
3006 (d_parse_symbol): New functions.
3007 (d_demangle): Use d_parse_symbol to demangle D symbols.
3009 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3011 * d-lang.h (struct builtin_d_type): New data type.
3012 (builtin_d_type): Add declaration.
3013 * d-lang.c (d_language_arch_info, build_d_types)
3014 (builtin_d_type): New functions.
3015 (enum d_primitive_types): New data type.
3016 (d_language_defn): Change c_language_arch_info to
3017 d_language_arch_info.
3018 (d_type_data): New static variable.
3019 (_initialize_d_language): Initialize d_type_data.
3021 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3023 * d-lang.h (d_main_name): Add declaration.
3024 * d-lang.c (d_main_name): New function.
3025 * symtab.c (find_main_name): Add call to d_main_name.
3027 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3029 * d-lang.c (d_language_defn): Change macro_expansion_c to
3032 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3034 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3036 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3038 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3039 gdb_exception" declaration.
3040 * remote.c (getpkt_or_notif_sane): Likewise.
3042 2014-01-17 Doug Evans <dje@google.com>
3044 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3045 function, contents of dirnames_to_char_ptr_vec_append moved here.
3046 (delim_string_to_char_ptr_vec): New function.
3047 (dirnames_to_char_ptr_vec_append): Rewrite.
3048 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3050 2014-01-17 Doug Evans <dje@google.com>
3052 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3054 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3055 #include "common-utils.h".
3056 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3057 * common/vec.h (VEC_ASSERT_PASS): Update.
3058 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3059 (MACH_CHECK_ERROR): Update.
3061 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3063 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3065 * gdbarch.h: Regenerate.
3067 2014-01-16 Tom Tromey <tromey@redhat.com>
3069 * value.c (struct value) <regnum>: Move earlier.
3071 2014-01-16 Tom Tromey <tromey@redhat.com>
3073 * remote.c (extended_remote_create_inferior): Rename from
3074 extended_remote_create_inferior_1. Add "ops" argument. Remove
3077 2014-01-16 Pedro Alves <palves@redhat.com>
3079 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3080 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3083 2014-01-16 Doug Evans <dje@google.com>
3085 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3087 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3089 * btrace.h (btrace_thread_flag): New.
3090 (struct btrace_thread_info) <flags>: New.
3091 * record-btrace.c (record_btrace_resume_thread)
3092 (record_btrace_find_thread_to_move, btrace_step_no_history)
3093 (btrace_step_stopped, record_btrace_start_replaying)
3094 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3095 (record_btrace_find_resume_thread): New.
3096 (record_btrace_resume, record_btrace_wait): Extend.
3097 (record_btrace_can_execute_reverse): New.
3098 (record_btrace_open): Fail in non-stop mode.
3099 (record_btrace_set_replay): Split into this, ...
3100 (record_btrace_stop_replaying): ... this, ...
3101 (record_btrace_clear_histories): ... and this.
3102 (init_record_btrace_ops): Init to_can_execute_reverse.
3103 * NEWS: Announce it.
3105 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3107 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3108 (forward_target_decr_pc_after_break)
3109 (target_decr_pc_after_break): New.
3110 * target.c (forward_target_decr_pc_after_break)
3111 (target_decr_pc_after_break): New.
3112 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3113 instead of gdbarch_decr_pc_after_break.
3114 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3115 instead of gdbarch_decr_pc_after_break.
3116 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3117 instead of gdbarch_decr_pc_after_break.
3118 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3119 instead of gdbarch_decr_pc_after_break.
3120 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3121 instead of gdbarch_decr_pc_after_break.
3122 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3123 instead of gdbarch_decr_pc_after_break.
3125 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3127 * btrace.c: Include regcache.h.
3128 (btrace_add_pc): New.
3129 (btrace_enable): Call btrace_add_pc.
3130 (btrace_is_empty): New.
3131 * btrace.h (btrace_is_empty): New.
3132 * record-btrace.c (require_btrace, record_btrace_info): Call
3135 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3137 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3138 Support delta reads.
3139 (linux_disable_btrace): Change return type.
3140 * common/linux-btrace.h (linux_read_btrace): Change parameters
3141 and return type to allow error reporting. Update users.
3142 (linux_disable_btrace): Change return type. Update users.
3143 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3145 (btrace_error): New.
3146 (btrace_block) <begin>: Comment on BEGIN == 0.
3147 * btrace.c (btrace_compute_ftrace): Start from the end of
3149 (btrace_stitch_trace, btrace_clear_history): New.
3150 (btrace_fetch): Read delta trace, return if replaying.
3151 (btrace_clear): Move clear history code to btrace_clear_history.
3152 (parse_xml_btrace): Throw an error if parsing failed.
3153 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3154 and return type to allow error reporting.
3155 (target_read_btrace): Change parameters and return type to allow
3157 * target.c (target_read_btrace): Update.
3158 * remote.c (remote_read_btrace): Support delta reads. Pass
3160 * NEWS: Announce it.
3162 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3164 * record.h (record_btrace_frame_unwind)
3165 (record_btrace_tailcall_frame_unwind): New declarations.
3166 * dwarf2-frame: Include record.h
3167 (dwarf2_frame_cfa): Throw an error for btrace frames.
3168 * record-btrace.c: Include hashtab.h.
3169 (btrace_get_bfun_name): New.
3170 (btrace_call_history): Call btrace_get_bfun_name.
3171 (struct btrace_frame_cache): New.
3173 (bfcache_hash, bfcache_eq, bfcache_new): New.
3174 (btrace_get_frame_function): New.
3175 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3176 (record_btrace_frame_this_id): Compute own id.
3177 (record_btrace_frame_prev_register): Provide PC, throw_error
3178 for all other registers.
3179 (record_btrace_frame_sniffer): Detect btrace frames.
3180 (record_btrace_tailcall_frame_sniffer): New.
3181 (record_btrace_frame_dealloc_cache): New.
3182 (record_btrace_frame_unwind): Add new functions.
3183 (record_btrace_tailcall_frame_unwind): New.
3184 (_initialize_record_btrace): Allocate cache.
3185 * btrace.c (btrace_clear): Call reinit_frame_cache.
3186 * NEWS: Announce it.
3188 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3190 * record-btrace.c (record_btrace_set_replay)
3191 (record_btrace_goto_begin, record_btrace_goto_end)
3192 (record_btrace_goto): New.
3193 (init_record_btrace_ops): Initialize them.
3194 * NEWS: Announce it.
3196 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3198 * record-btrace.c (record_btrace_find_new_threads)
3199 (record_btrace_thread_alive): New.
3200 (init_record_btrace_ops): Initialize to_find_new_threads and
3203 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3205 * record-btrace.c (record_btrace_resume): New.
3206 (record_btrace_wait): New.
3207 (init_record_btrace_ops): Initialize to_wait and to_resume.
3209 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3211 * record-btrace.c (record_btrace_xfer_partial)
3212 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3213 (record_btrace_allow_memory_access): New.
3214 (init_record_btrace_ops): Initialize new methods.
3215 * target.c (raw_memory_xfer_partial): Bail out if target reports
3216 that this memory is not available.
3218 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3220 * target.h (target_ops) <to_insert_breakpoint>
3221 <to_remove_breakpoint>: Add target_ops parameter.
3222 (forward_target_insert_breakpoint): New.
3223 (forward_target_remove_breakpoint): New.
3224 (memory_remove_breakpoint, memory_insert_breakpoint):
3225 Add target_ops parameter.
3226 * target.c (target_insert_breakpoint): Split into this and ...
3227 (forward_target_insert_breakpoint): ... this.
3228 (target_remove_breakpoint): Split into this and ...
3229 (forward_target_remove_breakpoint): ... this.
3230 (debug_to_insert_breakpoint): Add target_ops parameter.
3231 Call forward_target_insert_breakpoint.
3232 (debug_to_remove_breakpoint): Add target_ops parameter.
3233 Call forward_target_remove_breakpoint.
3234 (update_current_target): Do not inherit or default to_insert_breakpoint
3235 and to_remove_breakpoint.
3236 * corelow.c (ignore): Add target_ops parameter.
3237 * exec.c (ignore): Add target_ops parameter.
3238 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3239 Add target_ops parameter.
3240 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3241 Add target_ops parameter.
3242 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3243 Add target_ops parameter.
3244 * record-full.c (record_full_beneath_to_insert_breakpoint)
3245 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3246 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3247 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
3248 (record_full_core_remove_breakpoint): Add target_ops parameter.
3250 (record_full_beneath_to_insert_breakpoint_ops)
3251 (record_full_beneath_to_remove_breakpoint_ops)
3252 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
3253 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
3254 tmp_to_remove_breakpoint_ops,
3255 record_full_beneath_to_insert_breakpoint_ops, and
3256 record_full_beneath_to_remove_breakpoint_ops.
3257 * remote-m32r-sdi.c (m32r_insert_breakpoint)
3258 (m32r_remove_breakpoint): Add target_ops parameter.
3259 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
3260 Add target_ops parameter.
3261 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
3262 Add target_ops parameter.
3264 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3265 Markus Metzger <markus.t.metzger@intel.com>
3267 * record-btrace.c: Include frame-unwind.h.
3268 (record_btrace_frame_unwind_stop_reason)
3269 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
3270 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
3272 (init_record_btrace_ops): Install it.
3274 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3276 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
3279 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3281 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
3284 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3286 * frame-unwind.c: Include target.h.
3287 (frame_unwind_try_unwinder): New function with code from ...
3288 (frame_unwind_find_by_frame): ... here. New variable
3289 unwinder_from_target, call also target_get_unwinder)
3290 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
3291 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
3292 * target.h (struct target_ops): New fields to_get_unwinder and
3293 to_get_tailcall_unwinder.
3294 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
3296 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3298 * record-btrace.c (record_btrace_fetch_registers)
3299 (record_btrace_store_registers)
3300 (record_btrace_to_prepare_to_store): New.
3301 (init_record_btrace_ops): Add the above.
3303 2014-01-16 Tom Tromey <tromey@redhat.com>
3305 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
3306 * target.h (struct target_ops) <to_prepare_to_store>: Add
3308 (target_prepare_to_store): Add argument.
3309 * target.c (debug_to_prepare_to_store): Add argument.
3310 (update_current_target): Update.
3311 * remote.c (remote_prepare_to_store): Add 'self' argument.
3312 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
3313 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
3314 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
3315 * record-full.c (record_full_core_prepare_to_store): Add 'self'
3317 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
3318 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
3319 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
3320 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
3321 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
3323 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3325 * btrace.h (replay) <replay>: New.
3326 (btrace_is_replaying): New.
3327 * btrace.c (btrace_clear): Free replay iterator.
3328 (btrace_is_replaying): New.
3329 * record-btrace.c (record_btrace_is_replaying): New.
3330 (record_btrace_info): Print insn number if replaying.
3331 (record_btrace_insn_history): Start at replay position.
3332 (record_btrace_call_history): Start at replay position.
3333 (init_record_btrace_ops): Init to_record_is_replaying.
3335 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3337 * record-btrace.c (record_btrace_insn_history_range): Include
3339 (record_btrace_insn_history_from): Adjust range.
3340 (record_btrace_call_history_range): Include
3342 (record_btrace_call_history_from): Adjust range.
3343 * NEWS: Announce changes.
3345 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3347 * record.h (enum record_print_flag)
3348 <record_print_indent_calls>: New.
3349 * record.c (get_call_history_modifiers): Recognize /c modifier.
3350 (_initialize_record): Document /c modifier.
3351 * record-btrace.c (btrace_call_history): Add btinfo parameter.
3352 Reorder fields. Optionally indent the function name. Update
3354 * NEWS: Announce changes.
3356 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3358 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
3360 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3362 * btrace.c (ftrace_new_function): Start counting at one.
3363 * record-btrace.c (record_btrace_info): Adjust number of calls
3365 * NEWS: Announce it.
3367 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3369 * record-btrace.c (btrace_call_history_insn_range): Print
3370 insn range as [begin, end].
3372 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3374 * btrace.h (struct btrace_func_link): New.
3375 (enum btrace_function_flag): New.
3376 (struct btrace_inst): Rename to ...
3377 (struct btrace_insn): ...this. Update all users.
3378 (struct btrace_func) <ibegin, iend>: Remove.
3379 (struct btrace_func_link): New.
3380 (struct btrace_func): Rename to ...
3381 (struct btrace_function): ...this. Update all users.
3382 (struct btrace_function) <segment, flow, up, insn, insn_offset)
3383 (number, level, flags>: New.
3384 (struct btrace_insn_iterator): Rename to ...
3385 (struct btrace_insn_history): ...this.
3387 (struct btrace_insn_iterator, btrace_call_iterator): New.
3388 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
3389 (struct btrace_target_info) <begin, end, level>
3390 <insn_history, call_history>: New.
3391 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3392 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3393 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3394 (btrace_call_number, btrace_call_begin, btrace_call_end)
3395 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3396 (btrace_find_function_by_number, btrace_set_insn_history)
3397 (btrace_set_call_history): New.
3398 * btrace.c (btrace_init_insn_iterator)
3399 (btrace_init_func_iterator, compute_itrace): Remove.
3400 (ftrace_print_function_name, ftrace_print_filename)
3401 (ftrace_skip_file): Change
3403 (ftrace_init_func): Remove.
3404 (ftrace_debug): Use new btrace_function fields.
3405 (ftrace_function_switched): Also consider gaining and
3406 losing symbol information).
3407 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
3408 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
3409 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
3411 (ftrace_new_function): Move. Remove debug print.
3412 (ftrace_update_lines, ftrace_update_insns): New.
3413 (ftrace_update_function): Check for call, ret, and jump.
3414 (compute_ftrace): Renamed to ...
3415 (btrace_compute_ftrace): ...this. Rewritten to compute call
3417 (btrace_fetch, btrace_clear): Updated.
3418 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3419 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3420 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3421 (btrace_call_number, btrace_call_begin, btrace_call_end)
3422 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3423 (btrace_find_function_by_number, btrace_set_insn_history)
3424 (btrace_set_call_history): New.
3425 * record-btrace.c (require_btrace): Use new btrace thread
3427 (record_btrace_info, btrace_insn_history)
3428 (record_btrace_insn_history, record_btrace_insn_history_range):
3429 Use new btrace thread info fields and new iterator.
3430 (btrace_func_history_src_line): Rename to ...
3431 (btrace_call_history_src_line): ...this. Use new btrace
3433 (btrace_func_history): Rename to ...
3434 (btrace_call_history): ...this. Use new btrace thread info
3435 fields and new iterator.
3436 (record_btrace_call_history, record_btrace_call_history_range):
3437 Use new btrace thread info fields and new iterator.
3439 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3441 * frame.h (frame_id_build_unavailable_stack_special): New.
3442 * frame.c (frame_id_build_unavailable_stack_special): New.
3444 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3446 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
3447 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
3448 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
3450 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
3451 (i386_insn_is_jump, i386_jmp_p): New.
3452 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
3453 insn_is_jump to gdbarch.
3454 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
3455 * gdbarch.h: Regenerated.
3456 * gdbarch.c: Regenerated.
3457 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
3458 (default_insn_is_jump): New.
3459 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
3460 (default_insn_is_jump): New.
3462 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3464 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
3466 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
3467 (btrace_read_type) <btrace_read_new>: Change to ...
3468 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
3470 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3472 * common/linux-btrace.c (linux_read_btrace): Free trace from
3475 2014-01-15 Doug Evans <dje@google.com>
3477 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
3480 2014-01-15 Tom Tromey <tromey@redhat.com>
3482 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
3483 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
3484 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
3485 (set_objfile_main_name): New function.
3486 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
3487 language_of_main>: New fields.
3488 (set_objfile_main_name): Declare.
3489 * symtab.c (find_main_name): Loop over objfiles to find the main
3491 (set_main_name): Now static.
3492 (get_main_info): Add comment.
3493 * symtab.h (set_main_name): Don't declare.
3495 2014-01-15 Tom Tromey <tromey@redhat.com>
3497 * symtab.c (main_progspace_key): New global.
3498 (struct main_info): New.
3499 (name_of_main, language_of_main): Remove.
3500 (get_main_info, main_info_cleanup): New function.
3501 (set_main_name, main_name, main_language): Use get_main_info.
3502 (_initialize_symtab): Initialize main_progspace_key.
3504 2014-01-15 Tom Tromey <tromey@redhat.com>
3506 * dbxread.c (process_one_symbol): Update.
3507 * dwarf2read.c (read_partial_die): Update.
3508 * symfile.c (set_initial_language): Call main_language.
3509 * symtab.c (language_of_main): Now static.
3510 (set_main_name): Add 'lang' parameter.
3511 (find_main_name): Update.
3512 (main_language): New function.
3513 (symtab_observer_executable_changed): Update.
3514 * symtab.h (set_main_name): Update.
3515 (language_of_main): Remove.
3516 (main_language): Declare.
3518 2014-01-15 Tom Tromey <tromey@redhat.com>
3520 * symfile.c (init_entry_point_info): Use new "initialized" field.
3522 * objfiles.h (struct entry_point) <initialized>: New field.
3523 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
3524 (struct objfile) <ei>: ...here. Remove.
3525 * objfiles.c (entry_point_address_query): Update.
3527 2014-01-15 Tom Tromey <tromey@redhat.com>
3529 * objfiles.c (entry_point_address_query): Relocate entry point
3531 (objfile_relocate1): Do not relocate entry point address.
3532 * objfiles.h (struct entry_info) <entry_point>: Update comment.
3533 <the_bfd_section_index>: New field.
3534 * symfile.c (init_entry_point_info): Find the entry point's
3537 2014-01-15 Tom Tromey <tromey@redhat.com>
3539 * solib-frv.c (enable_break): Use entry_point_address_query.
3541 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3543 * NEWS: Add note on improved process record-replay on
3544 arm*-linux* targets.
3546 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3548 * arm-tdep.c (enum arm_record_result): New enum.
3549 (arm_record_unsupported_insn): New function.
3550 (arm_record_coproc_data_proc): Removed.
3551 (thumb2_record_ld_st_multiple): New function.
3552 (thumb2_record_ld_st_dual_ex_tbb): New function.
3553 (thumb2_record_data_proc_sreg_mimm): New function.
3554 (thumb2_record_ps_dest_generic): New function.
3555 (thumb2_record_branch_misc_cntrl): New function.
3556 (thumb2_record_str_single_data): New function.
3557 (thumb2_record_ld_mem_hints): New function.
3558 (thumb2_record_ld_word): New function.
3559 (thumb2_record_lmul_lmla_div): New function.
3560 (thumb2_record_decode_insn_handler): New function.
3561 (decode_insn): Add thumb32 instruction handlers.
3563 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3565 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
3566 (struct arm_linux_record_tdep): Declare.
3567 (arm_canonicalize_syscall): New function.
3568 (arm_all_but_pc_registers_record): New function.
3569 (arm_linux_syscall_record): New function.
3570 (arm_linux_init_abi): Add syscall recording constructs.
3571 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
3572 decoding. (arm_record_coproc_data_proc): Update arm syscall
3574 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
3575 <arm_syscall_record>: New field.
3576 * configure.tgt (arm*-*-linux*): Add linux-record.o to
3579 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3581 * arm-tdep.c (thumb_record_misc): Update to use sp as base
3582 register for push instruction recording.
3584 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3586 * arm-tdep.c (thumb_record_misc): Update to correct logical
3587 error while recording ldm, ldmia and pop instructions.
3589 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3591 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
3593 2014-01-15 Pedro Alves <palves@redhat.com>
3595 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
3596 (go32_resume, go32_fetch_registers, store_register)
3597 (go32_store_registers, go32_prepare_to_store)
3598 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
3599 (go32_create_inferior, go32_can_run, go32_terminal_init)
3600 (go32_terminal_inferior, go32_terminal_ours): Delete forward
3603 2014-01-15 Tom Tromey <tromey@redhat.com>
3605 * target.h (async_callback_ftype): New typedef.
3606 (struct target_ops) <to_async>: Use it.
3608 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3610 * python/py-value.c (get_field_type): Remove unnecessary curly
3611 braces for single-statement if block.
3613 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3615 * python/py-type.c (convert_field): Add missing empty line
3618 2014-01-14 Doug Evans <dje@google.com>
3620 * symfile.h (expand_symtabs_matching): Renamed from
3621 expand_partial_symbol_names. Update prototype.
3622 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3623 * symfile.c (expand_symtabs_matching): Renamed from
3624 expand_partial_symbol_names. New args file_matcher, kind.
3625 Rename arg fun to symbol_matcher.
3626 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3627 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
3628 ada_expand_partial_symbol_name.
3629 (ada_make_symbol_completion_list): Update to call
3630 expand_symtabs_matching.
3631 (ada_add_global_exceptions): Call expand_symtabs_matching.
3632 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
3633 call map_symbol_filenames.
3634 * symtab.c (sources_info): Update to call map_symbol_filenames.
3635 (search_symbols): Call expand_symtabs_matching.
3636 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
3637 (default_make_symbol_completion_list_break_on): Update to call
3638 expand_symtabs_matching.
3639 (make_source_files_completion_list): Update to call
3640 map_symbol_filenames.
3642 2014-01-14 Doug Evans <dje@google.com>
3644 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
3645 (expand_symtabs_symbol_matcher_ftype): New typedef.
3646 (quick_symbol_functions.expand_symtabs_matching): Update to use.
3647 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3648 * symfile.c (expand_partial_symbol_names): Update to use
3649 expand_symtabs_symbol_matcher_ftype.
3650 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
3651 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3652 Arg name_matcher renamed to symbol_matcher.
3653 * psymtab.c (recursively_search_psymtabs): Update to use
3654 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
3656 (expand_symtabs_matching_via_partial): Update to use
3657 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3658 Arg name_matcher renamed to symbol_matcher.
3660 2014-01-14 Doug Evans <dje@google.com>
3662 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
3663 (map_partial_symbol_filenames): Ditto.
3664 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
3665 (map_partial_symbol_filenames): Ditto.
3666 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
3667 (map_partial_symbol_filenames): Ditto.
3668 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
3669 (map_partial_symbol_filenames): Ditto.
3670 * symtab.c: Delete #include "psymtab.h".
3672 2014-01-14 Pedro Alves <palves@redhat.com>
3673 Tom Tromey <tromey@redhat.com>
3675 * infrun.c (use_displaced_stepping): Use find_record_target
3676 instead of RECORD_IS_USED.
3677 (adjust_pc_after_break): Use record_full_is_used instead of
3679 * record-btrace.c (record_btrace_open): Call record_preopen
3680 instead of checking RECORD_IS_USED.
3681 * record-full.c (record_full_shortname)
3682 (record_full_core_shortname): New globals.
3683 (record_full_is_used): New function.
3684 (find_full_open): Call record_preopen instead of checking
3686 (init_record_full_ops): Set the target's shortname to
3687 record_full_shortname.
3688 (init_record_full_core_ops): Set the target's shortname to
3689 record_full_core_shortname.
3690 * record-full.h (record_full_is_used): Declare.
3691 * record.c (find_record_target): Make extern.
3692 (record_preopen): New function.
3693 * record.h (RECORD_IS_USED): Delete macro.
3694 (find_record_target, record_preopen): Declare functions.
3696 2014-01-14 Yao Qi <yao@codesourcery.com>
3698 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
3699 'len''s type to ULONGEST.
3700 (core_xfer_shared_libraries_aix): Likewise.
3701 * gdbarch.c, gdbarch.h: Regenerated.
3702 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
3703 Change type of 'len' to ULONGEST.
3704 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3705 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
3707 2014-01-14 Yao Qi <yao@codesourcery.com>
3709 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
3710 type of 'len' to ULONGEST.
3711 (linux_xfer_osdata_processgroups): Likewise.
3712 (linux_xfer_osdata_threads): Likewise.
3713 (linux_xfer_osdata_fds): Likewise.
3714 (linux_xfer_osdata_isockets): Likewise.
3715 (linux_xfer_osdata_shm): Likewise.
3716 (linux_xfer_osdata_sem): Likewise.
3717 (linux_xfer_osdata_msg): Likewise.
3718 (linux_common_xfer_osdata): Likewise.
3719 (struct osdata_type) <getter>: Likewise.
3720 * common/linux-osdata.h (linux_common_xfer_osdata): Update
3723 2014-01-14 Yao Qi <yao@codesourcery.com>
3725 * target.h (target_xfer_partial_ftype): Update.
3726 (struct target_ops) <to_xfer_partial>: Change 'len' type to
3728 * aix-thread.c (aix_thread_xfer_partial): Change type of
3729 argument 'len' to ULONGEST.
3730 * auxv.c (procfs_xfer_auxv): Likewise.
3731 (ld_so_xfer_auxv): Likewise.
3732 (memory_xfer_auxv): Likewise.
3733 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3734 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3735 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
3736 * corelow.c (core_xfer_partial): Likewise.
3737 * ctf.c (ctf_xfer_partial): Likewise.
3738 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
3740 (darwin_read_dyld_info): Likewise.
3741 (darwin_xfer_partial): Likewise.
3742 * exec.c (section_table_xfer_memory_partial): Likewise.
3743 (exec_xfer_partial): Likewise.
3744 * exec.h (section_table_xfer_memory_partial): Update
3746 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
3747 instead of plongest.
3748 (gnu_xfer_partial): Likewise.
3749 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
3750 (ia64_hpux_xfer_solib_got): Likewise.
3751 (ia64_hpux_xfer_partial): Likewise.
3752 * ia64-linux-nat.c (ia64_linux_xfer_partial):
3753 * inf-ptrace.c (inf_ptrace_xfer_partial):
3754 * inf-ttrace.c (inf_ttrace_xfer_partial):
3755 * linux-nat.c (linux_xfer_siginfo): Likewise.
3756 (linux_nat_xfer_partial): Likewise.
3757 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
3758 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
3759 * monitor.c (monitor_xfer_memory): Likewise.
3760 (monitor_xfer_partial): Likewise.
3761 * procfs.c (procfs_xfer_partial): Likewise.
3762 * record-full.c (record_full_xfer_partial): Likewise.
3763 (record_full_core_xfer_partial): Likewise.
3764 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
3765 instead of plongest.
3766 (gdbsim_xfer_partial): Likewise.
3767 * remote.c (remote_xfer_partial): Likewise.
3768 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3769 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3771 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3772 (rs6000_xfer_shared_libraries): Likewise.
3773 * sol-thread.c (sol_thread_xfer_partial): Likewise.
3774 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3775 (sparc_xfer_partial): Likewise.
3776 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3777 (spu_xfer_partial): Likewise.
3778 * spu-multiarch.c (spu_xfer_partial): Likewise.
3779 * target.c (target_read_live_memory): Likewise.
3780 (memory_xfer_live_readonly_partial): Likewise.
3781 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
3782 (target_xfer_partial, default_xfer_partial): Likewise.
3783 (current_xfer_partial): Likewise.
3784 * tracepoint.c (tfile_xfer_partial): Likewise.
3785 * windows-nat.c (windows_xfer_memory): Likewise. Call
3786 pulongest instead of plongest.
3787 (windows_xfer_partial): Likewise.
3788 (windows_xfer_shared_libraries): Likewise.
3790 2014-01-14 Yao Qi <yao@codesourcery.com>
3792 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
3793 target_xfer_partial_ftype.
3795 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3799 * valops.c (value_struct_elt_bitpos): New function
3800 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
3801 object to 'None' if the field name is an empty string ("").
3802 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
3803 attribute to look for a field when 'name' is 'None'.
3804 (get_field_type): New function
3806 2014-01-13 Doug Evans <dje@google.com>
3809 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
3810 (try_open_dwop_file): Ditto.
3811 * gdb_bfd.c: #include "vec.h".
3812 (bfdp): New typedef.
3813 (struct gdb_bfd_data): New member included_bfds.
3814 (gdb_bfd_unref): Unref all included bfds.
3815 (gdb_bfd_record_inclusion): New function.
3816 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
3818 2014-01-13 Tom Tromey <tromey@redhat.com>
3820 * gdbcore.h (deprecated_core_resize_section_table): Remove.
3822 2014-01-13 Tom Tromey <tromey@redhat.com>
3824 * defs.h (use_windows): Remove.
3825 * gdb.c (main): Update.
3826 * main.c (captured_main, gdb_main): Update.
3827 * main.h (struct captured_main_args) <use_windows>: Remove.
3828 * top.c (use_windows): Remove.
3830 2014-01-13 Tom Tromey <tromey@redhat.com>
3832 * defs.h (deprecated_flush_hook): Remove.
3834 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3837 * linux-thread-db.c (try_thread_db_load): Add parameter
3838 check_auto_load_safe. Move here the file_is_auto_load_safe call.
3839 (try_thread_db_load_from_pdir_1): Move it there from here.
3840 (try_thread_db_load_from_sdir): Update caller.
3841 (try_thread_db_load_from_dir): Move it there from here.
3843 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
3845 * regformats/regdat.sh: Always rewrite the register file.
3847 2014-01-13 Pedro Alves <palves@redhat.com>
3849 * Makefile.in (CHECK_HEADERS): New variable.
3850 (check-headers:): New rule.
3852 2014-01-13 Tom Tromey <tromey@redhat.com>
3854 * cli/cli-setshow.c (do_set_command): Update.
3855 * defs.h (deprecated_set_hook): Remove.
3856 * top.c (deprecated_set_hook): Remove.
3858 2014-01-13 Pedro Alves <palves@redhat.com>
3860 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
3861 the tracepoint if the PC is a pseudo-register.
3863 2014-01-13 Tom Tromey <tromey@redhat.com>
3865 * defs.h (XCALLOC): Remove.
3866 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
3867 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
3868 * dwarf2loc.c (allocate_piece_closure): Likewise.
3869 * elfread.c (elf_symfile_segments): Likewise.
3870 (elf_symfile_segments): Likewise.
3871 * gdbtypes.c (copy_type_recursive): Likewise.
3872 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
3873 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
3874 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
3876 * mt-tdep.c (mt_gdbarch_init): Likewise.
3877 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
3879 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
3880 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
3881 * registry.c (registry_alloc_data): Likewise.
3882 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
3883 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
3884 * serial.c (serial_fdopen_ops): Likewise.
3885 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
3887 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
3888 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
3891 2014-01-13 Tom Tromey <tromey@redhat.com>
3893 * defs.h (XMALLOC): Remove.
3894 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
3895 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
3896 * cli-out.c (struct ui_out *): Likewise.
3897 * cli/cli-dump.c (add_dump_command): Likewise.
3898 (add_dump_command): Likewise.
3899 * complaints.c (get_complaints): Likewise.
3900 (find_complaint): Likewise.
3901 * dwarf2-frame.c (execute_cfa_program): Likewise.
3902 * dwarf2read.c (abbrev_table_read_table): Likewise.
3903 * gdbarch.sh: Likewise.
3904 * gdbarch.c: Rebuild.
3905 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
3906 * interps.c (interp_new): Likewise.
3907 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
3908 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
3909 * mi/mi-console.c (mi_console_file_new): Likewise.
3910 * mi/mi-interp.c (mi_interpreter_init): Likewise.
3911 * mi/mi-out.c (mi_out_new): Likewise.
3912 * mi/mi-parse.c (mi_parse): Likewise.
3913 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
3914 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
3915 * observer.c (xalloc_observer_list_node): Likewise.
3916 * regcache.c (regcache_xmalloc_1): Likewise.
3917 * reggroups.c (reggroup_new): Likewise.
3918 (_initialize_reggroup): Likewise.
3919 * registry.c (register_data_with_cleanup): Likewise.
3920 * remote.c (remote_notif_stop_alloc_reply): Likewise.
3921 * ser-base.c (serial_ttystate): Likewise.
3922 * ser-mingw.c (make_pipe_state): Likewise.
3923 * ser-pipe.c (pipe_open): Likewise.
3924 * serial.c (serial_open): Likewise.
3925 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
3926 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
3927 (tui_alloc_win_info): Likewise.
3928 (tui_add_content_elements): Likewise.
3929 * tui/tui-file.c (tui_file_new): Likewise.
3930 * tui/tui-out.c (tui_out_new): Likewise.
3931 * ui-file.c (mem_file_new): Likewise.
3932 * ui-out.c (push_level): Likewise.
3933 (make_cleanup_ui_out_end): Likewise.
3934 (append_header_to_list): Likewise.
3935 (ui_out_new): Likewise.
3936 * user-regs.c (user_reg_add_builtin): Likewise.
3938 2014-01-13 Tom Tromey <tromey@redhat.com>
3940 * defs.h (XZALLOC): Remove.
3941 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
3942 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
3943 (get_ada_tasks_inferior_data): Likewise.
3944 * auto-load.c (get_auto_load_pspace_data): Likewise.
3945 * auxv.c (get_auxv_inferior_data): Likewise.
3946 * bfd-target.c (target_bfd_reopen): Likewise.
3947 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
3948 (deprecated_insert_raw_breakpoint): Likewise.
3949 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
3950 * corelow.c (core_open): Likewise.
3951 * darwin-nat.c (darwin_check_new_threads): Likewise.
3952 (darwin_attach_pid): Likewise.
3953 * dummy-frame.c (dummy_frame_push): Likewise.
3954 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
3955 * dwarf2loc.c (allocate_piece_closure): Likewise.
3956 * elfread.c (elf_symfile_segments): Likewise.
3957 * eval.c (ptrmath_type_p): Likewise.
3958 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
3959 * gdbtypes.c (alloc_type_arch): Likewise.
3960 (alloc_type_instance): Likewise.
3961 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
3962 * inf-child.c (inf_child_can_use_agent): Likewise.
3963 * inflow.c (get_inflow_inferior_data): Likewise.
3964 * infrun.c (save_infcall_suspend_state): Likewise.
3965 * jit.c (jit_reader_load): Likewise.
3966 (get_jit_objfile_data): Likewise.
3967 (get_jit_program_space_data): Likewise.
3968 (jit_object_open_impl): Likewise.
3969 (jit_symtab_open_impl): Likewise.
3970 (jit_block_open_impl): Likewise.
3971 (jit_frame_sniffer): Likewise.
3972 * linux-fork.c (add_fork): Likewise.
3973 * maint.c (make_command_stats_cleanup): Likewise.
3974 * objfiles.c (get_objfile_pspace_data): Likewise.
3975 * opencl-lang.c (struct lval_closure): Likewise.
3976 * osdata.c (osdata_start_osdata): Likewise.
3977 * progspace.c (new_address_space): Likewise.
3978 (add_program_space): Likewise.
3979 * remote-sim.c (get_sim_inferior_data): Likewise.
3980 * sh-tdep.c (sh_gdbarch_init): Likewise.
3981 * skip.c (Ignore): Likewise.
3982 (skip_delete_command): Likewise.
3983 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
3984 (library_list_start_library): Likewise.
3985 (solib_aix_current_sos): Likewise.
3986 * solib-darwin.c (get_darwin_info): Likewise.
3987 (darwin_current_sos): Likewise.
3988 * solib-dsbt.c (get_dsbt_info): Likewise.
3989 * solib-ia64-hpux.c (new_so_list): Likewise.
3990 (ia64_hpux_get_solib_linkage_addr): Likewise.
3991 * solib-spu.c (append_ocl_sos): Likewise.
3992 (spu_current_sos): Likewise.
3993 * solib-svr4.c (get_svr4_info): Likewise.
3994 (svr4_keep_data_in_core): Likewise.
3995 (library_list_start_library): Likewise.
3996 (svr4_default_sos): Likewise.
3997 (svr4_read_so_list): Likewise.
3998 * solib-target.c (library_list_start_library): Likewise.
3999 (solib_target_current_sos): Likewise.
4000 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4001 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4002 * symfile.c (default_symfile_segments): Likewise.
4003 * target-descriptions.c (tdesc_data_init): Likewise.
4004 (tdesc_create_reg): Likewise.
4005 (struct tdesc_type *): Likewise.
4006 (tdesc_create_vector): Likewise.
4007 (tdesc_set_struct_size): Likewise.
4008 (struct tdesc_type *): Likewise.
4009 (tdesc_free_feature): Likewise.
4010 (tdesc_create_feature): Likewise.
4011 * windows-nat.c (windows_add_thread): Likewise.
4012 (windows_make_so): Likewise.
4013 * xml-support.c (gdb_xml_body_text): Likewise.
4014 (gdb_xml_create_parser_and_cleanup): Likewise.
4015 (xml_process_xincludes): Likewise.
4016 * xml-syscall.c (allocate_syscalls_info): Likewise.
4017 (syscall_create_syscall_desc): Likewise.
4019 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4021 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4022 function, with code from i386_stap_parse_special_token.
4023 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4024 (i386_stap_parse_special_token): Move code to the two functions
4027 2014-01-09 Pedro Alves <palves@redhat.com>
4028 Hui Zhu <hui@codesourcery.com>
4031 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4032 bp_err_string. Don't mark the location shlib_disabled if the
4033 error thrown wasn't a generic or memory error. Catch errors
4034 thrown while inserting breakpoints in overlayed code. Output
4035 error message of software breakpoints.
4036 * remote.c (remote_insert_breakpoint): If this breakpoint has
4037 target-side commands but this stub doesn't support Z0 packets,
4038 throw NOT_SUPPORTED_ERROR error.
4039 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4040 * target.h (target_insert_breakpoint): Extend comment.
4041 (target_insert_hw_breakpoint): Add comment.
4043 2014-01-08 Pedro Alves <palves@redhat.com>
4045 * remote.c (remote_add_thread): Add threads silently if starting
4047 (remote_notice_new_inferior): If in all-stop, and starting up,
4048 don't call notice_new_inferior.
4049 (get_current_thread): New function, factored out from ...
4050 (add_current_inferior_and_thread): ... this. Adjust.
4051 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4052 found any thread, then select the remote's current thread as GDB's
4055 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4057 * NEWS: Create a new section for the next release branch.
4058 Rename the section of the current branch, now that it has
4061 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4063 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4064 * version.in: Bump version to 7.7.50.DATE-cvs.
4066 2014-01-08 Yao Qi <yao@codesourcery.com>
4068 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4069 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4070 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4072 2014-01-08 Yao Qi <yao@codesourcery.com>
4074 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4075 return value of bfd_get_filename to symbol_file_add_from_bfd.
4077 2014-01-08 Pierre Muller <muller@sourceware.org>
4080 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4081 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4082 to prim_record_mininal_symbol_and_info.
4083 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4084 in call to prim_record_minimal_symbol_and_info.
4085 (read_pe_exported_syms): Set index field of section_data.
4087 2014-01-07 Andrew Pinski <apinski@cavium.com>
4089 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4090 * features/aarch64.c: Regenerate.
4092 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4094 * target.c (return_null): Define.
4095 (update_current_target): Use it instead of return_zero for
4096 functions that return a pointer.
4098 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4100 * source.c (add_path): Fix check for duplicated paths in the previously
4103 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4105 * ada-lang.c: Remove duplicated include statements.
4106 * alphabsd-nat.c: Ditto.
4107 * amd64-darwin-tdep.c: Ditto.
4108 * amd64fbsd-nat.c: Ditto.
4109 * auto-load.c: Ditto.
4111 * breakpoint.c: Ditto.
4113 * fork-child.c: Ditto.
4114 * gdb_usleep.c: Ditto.
4115 * i386-darwin-tdep.c: Ditto.
4116 * i386fbsd-nat.c: Ditto.
4118 * inferior.c: Ditto.
4120 * linux-nat.c: Ditto.
4121 * linux-tdep.c: Ditto.
4122 * m68kbsd-nat.c: Ditto.
4123 * m68klinux-nat.c: Ditto.
4124 * microblaze-tdep.c: Ditto.
4125 * mips-linux-tdep.c: Ditto.
4126 * mn10300-tdep.c: Ditto.
4127 * nto-tdep.c: Ditto.
4128 * opencl-lang.c: Ditto.
4130 * printcmd.c: Ditto.
4131 * regcache.c: Ditto.
4132 * remote-m32r-sdi.c: Ditto.
4136 * tilegx-linux-nat.c: Ditto.
4137 * tilegx-tdep.c: Ditto.
4138 * tracepoint.c: Ditto.
4140 * vaxbsd-nat.c: Ditto.
4141 * windows-nat.c: Ditto.
4142 * xtensa-tdep.c: Ditto.
4144 2014-01-07 Yao Qi <yao@codesourcery.com>
4146 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4148 2014-01-07 Yao Qi <yao@codesourcery.com>
4149 Joel Brobecker <brobecker@adacore.com>
4151 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4152 (pdc_write_regs): Likewise.
4153 (fetch_regs_kernel_thread): Likewise.
4154 (store_regs_kernel_thread): Likewise.
4156 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4158 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4159 tagged type objects to their actual type.
4161 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4163 * ada-valprint.c (print_field_values): Add "language" parameter.
4164 Update calls to print_field_values and print_variant_part.
4165 Pass new parameter "language" in call to val_print instead
4166 of "current_language". Replace call to ada_val_print by call
4168 (print_variant_part): Add "language" parameter.
4169 (ada_val_print_struct_union): Update call to print_field_values.
4171 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4173 * ada-valprint.c (ui_memcpy): Delete.
4174 (ada_print_floating): Update documentation. Add empty line
4175 between between function documentation and implementation.
4176 Delete variable "buffer". Use ui_file_xstrdup in place of
4177 ui_file_put. Minor adjustments following this change.
4179 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4181 * ada-valprint.c (ada_val_print_string): New function,
4182 extracted from ada_val_print_array.
4183 (ada_val_print_array): Replace extracted code by call
4184 to ada_val_print_string followed by a return. Move
4185 "else" branch to the function's top block.
4187 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4189 * ada-valprint.c (ada_val_print_array): Move implementation
4190 down. Rename parameter "offset" and "val" into "offset_aligned"
4191 and "original_value" respectively. Add parameter "offset".
4193 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4195 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4196 re-organizing the code. Change the "???" message printed
4197 when target type is a TYPE_CODE_UNDEF into
4198 "<ref to undefined type>".
4200 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4202 * ada-valprint.c (print_record): Delete, implementation inlined...
4203 (ada_val_print_struct_union): ... here. Remove call to
4204 ada_check_typedef in inlined implementation.
4206 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4208 * ada-valprint.c (ada_val_print_gnat_array): New function,
4209 extracted from ada_val_print_1;
4210 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4211 (ada_val_print_flt, ada_val_print_struct_union)
4212 (ada_val_print_ref): Likewise.
4213 (ada_val_print_1): Delete variables i and elttype.
4214 Replace extracted-out code by call to corresponding
4217 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4219 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4221 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4223 * ada-valprint.c (ada_val_print_1): Replace calls to
4224 ada_val_print_1 by calls to val_print.
4226 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4228 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4229 Update calls to self accordingly. Replace calls to c_val_print
4230 by calls to val_print.
4232 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4234 * ada-valprint.c (print_record): Delete declaration.
4235 (adjust_type_signedness, ada_val_print_1): Likewise.
4236 (ada_val_print): Move function implementation down.
4237 (print_variant_part, print_field_values, print_record):
4238 Move function implementation up.
4240 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4242 * python/py-type.c (typy_get_name): New function.
4243 (type_object_getset): Add entry for attribute "name".
4244 * NEWS: Add entry mentioning this new attribute.
4246 2014-01-07 Yao Qi <yao@codesourcery.com>
4248 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
4251 2014-01-07 Yao Qi <yao@codesourcery.com>
4253 * gnu-nat.c (info_port_rights): Add qualifier const to
4256 2014-01-07 Yao Qi <yao@codesourcery.com>
4258 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
4260 2014-01-07 Yao Qi <yao@codesourcery.com>
4262 * gnu-nat.c (make_inf) Update declaration.
4263 (make_inf): Make it static.
4264 (inf_set_traced): Likewise.
4265 (inf_port_to_thread, inf_task_died_status): Likewise.
4267 2014-01-07 Yao Qi <yao@codesourcery.com>
4269 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
4271 2014-01-07 Yao Qi <yao@codesourcery.com>
4273 * gnu-nat.c (_initialize_gnu_nat): Declare.
4275 2014-01-07 Yao Qi <yao@codesourcery.com>
4277 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
4279 (struct gdbarch_info) <byte_order>: Change type to
4281 <byte_order_for_code>: Likewise.
4282 * gdbarch.c, gdbarch.h: Regenerated.
4284 2014-01-06 Sasha Smundak <asmundak@google.com>
4286 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
4288 2014-01-06 Tom Tromey <tromey@redhat.com>
4290 * doublest.c (convert_doublest_to_floatformat): Use const, not
4292 * somread.c (som_symtab_read): Likewise.
4294 2014-01-07 Hui Zhu <hui@codesourcery.com>
4296 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
4297 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
4298 (gdb_bfd_fopen): Ditto.
4299 (gdb_bfd_openr): Ditto.
4300 (gdb_bfd_openw): Ditto.
4301 (gdb_bfd_openr_iovec): Ditto.
4302 (gdb_bfd_fdopenr): Ditto.
4303 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
4304 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
4306 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
4308 * symfile-mem.c (symbol_file_add_from_memory): Removed
4309 gdb_bfd_stash_filename.
4311 2014-01-03 Doug Evans <dje@google.com>
4313 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
4316 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4318 Update year range in copyright notice of all files.
4320 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4322 * top.c (print_gdb_version): Set copyright year to 2014.
4324 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4326 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
4328 For older changes see ChangeLog-2013.
4334 version-control: never