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
5 to_set_circular_trace_buffer.
6 * target.h (struct target_ops) <to_set_circular_trace_buffer>: 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
13 to_set_disconnected_tracing.
14 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
15 TARGET_DEFAULT_IGNORE.
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
21 to_get_min_fast_tracepoint_insn_len.
22 (return_minus_one): Remove.
23 * target.h (struct target_ops)
24 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
26 2014-02-19 Tom Tromey <tromey@redhat.com>
28 * target-delegates.c: Rebuild.
29 * target.c (update_current_target): Don't inherit or default
30 to_get_raw_trace_data.
31 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
32 TARGET_DEFAULT_NORETURN.
34 2014-02-19 Tom Tromey <tromey@redhat.com>
36 * target-delegates.c: Rebuild.
37 * target.c (update_current_target): Don't inherit or default
38 to_upload_trace_state_variables.
39 * target.h (struct target_ops) <to_upload_trace_state_variables>:
40 Use TARGET_DEFAULT_RETURN.
42 2014-02-19 Tom Tromey <tromey@redhat.com>
44 * target-delegates.c: Rebuild.
45 * target.c (update_current_target): Don't inherit or default
46 to_upload_tracepoints.
47 * target.h (struct target_ops) <to_upload_tracepoints>: Use
48 TARGET_DEFAULT_RETURN.
50 2014-02-19 Tom Tromey <tromey@redhat.com>
52 * target-delegates.c: Rebuild.
53 * target.c (update_current_target): Don't inherit or default
55 * target.h (struct target_ops) <to_save_trace_data>: Use
56 TARGET_DEFAULT_NORETURN.
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_trace_state_variable_value.
63 * target.h (struct target_ops)
64 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
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
71 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
73 2014-02-19 Tom Tromey <tromey@redhat.com>
75 * target-delegates.c: Rebuild.
76 * target.c (update_current_target): Don't inherit or default
78 * target.h (struct target_ops) <to_trace_stop>: Use
79 TARGET_DEFAULT_NORETURN.
81 2014-02-19 Tom Tromey <tromey@redhat.com>
83 * target-delegates.c: Rebuild.
84 * target.c (update_current_target): Don't inherit or default
85 to_get_tracepoint_status.
86 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
87 TARGET_DEFAULT_NORETURN.
89 2014-02-19 Tom Tromey <tromey@redhat.com>
91 * target-delegates.c: Rebuild.
92 * target.c (update_current_target): Don't inherit or default
94 * target.h (struct target_ops) <to_get_trace_status>: Use
95 TARGET_DEFAULT_RETURN.
97 2014-02-19 Tom Tromey <tromey@redhat.com>
99 * target-delegates.c: Rebuild.
100 * target.c (update_current_target): Don't inherit or default
102 * target.h (struct target_ops) <to_trace_start>: Use
103 TARGET_DEFAULT_NORETURN.
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
109 to_trace_set_readonly_regions.
110 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
111 Use 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_disable_tracepoint.
118 * target.h (struct target_ops) <to_disable_tracepoint>: 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
125 to_enable_tracepoint.
126 * target.h (struct target_ops) <to_enable_tracepoint>: Use
127 TARGET_DEFAULT_NORETURN.
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
133 to_download_trace_state_variable.
134 * target.h (struct target_ops) <to_download_trace_state_variable>:
135 Use 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_can_download_tracepoint.
142 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
143 TARGET_DEFAULT_RETURN.
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_download_tracepoint.
150 * target.h (struct target_ops) <to_download_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
158 * target.h (struct target_ops) <to_trace_init>: Use
159 TARGET_DEFAULT_RETURN.
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_supports_string_tracing.
166 * target.h (struct target_ops) <to_supports_string_tracing>: Use
167 TARGET_DEFAULT_RETURN.
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_supports_enable_disable_tracepoint.
174 * target.h (struct target_ops)
175 <to_supports_enable_disable_tracepoint>: Use
176 TARGET_DEFAULT_RETURN.
178 2014-02-19 Tom Tromey <tromey@redhat.com>
180 * target-delegates.c: Rebuild.
181 * target.c (update_current_target): Don't inherit or default
182 to_supports_multi_process.
183 * target.h (struct target_ops) <to_supports_multi_process>: Use
184 TARGET_DEFAULT_RETURN.
186 2014-02-19 Tom Tromey <tromey@redhat.com>
188 * target-delegates.c: Rebuild.
189 * target.c (update_current_target): Don't inherit or default
190 to_get_ada_task_ptid.
191 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
194 2014-02-19 Tom Tromey <tromey@redhat.com>
196 * target-delegates.c: Rebuild.
197 * target.c (update_current_target): Don't inherit or default
198 to_thread_architecture.
199 * target.h (struct target_ops) <to_thread_architecture>: Use
202 2014-02-19 Tom Tromey <tromey@redhat.com>
204 * target-delegates.c: Rebuild.
205 * target.c (update_current_target): Don't inherit or default
206 to_execution_direction.
207 * target.h (struct target_ops) <to_execution_direction>: Use
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_can_execute_reverse.
215 * target.h (struct target_ops) <to_can_execute_reverse>: Use
216 TARGET_DEFAULT_RETURN.
217 (target_can_execute_reverse): Unconditionally delegate.
219 2014-02-19 Tom Tromey <tromey@redhat.com>
221 * target-delegates.c: Rebuild.
222 * target.c (update_current_target): Don't inherit or default
224 (dummy_goto_bookmark): Remove.
225 (init_dummy_target): Don't inherit or default to_goto_bookmark.
226 * target.h (struct target_ops) <to_goto_bookmark>: Use
227 TARGET_DEFAULT_NORETURN.
229 2014-02-19 Tom Tromey <tromey@redhat.com>
231 * target-delegates.c: Rebuild.
232 * target.c (update_current_target): Don't inherit or default
234 (dummy_get_bookmark): Remove.
235 (init_dummy_target): Don't inherit or default to_get_bookmark.
236 * target.h (struct target_ops) <to_get_bookmark>: Use
237 TARGET_DEFAULT_NORETURN
239 2014-02-19 Tom Tromey <tromey@redhat.com>
241 * target-delegates.c: Rebuild.
242 * target.c (update_current_target): Don't inherit or default
243 to_make_corefile_notes.
244 (init_dummy_target): Don't initialize to_make_corefile_notes.
245 * target.h (struct target_ops) <to_make_corefile_notes>: Use
248 2014-02-19 Tom Tromey <tromey@redhat.com>
250 * target-delegates.c: Rebuild.
251 * target.c (update_current_target): Don't inherit or default
252 to_find_memory_regions.
253 (init_dummy_target): Don't initialize to_find_memory_regions.
254 * target.h (struct target_ops) <to_find_memory_regions>: Use
257 2014-02-19 Tom Tromey <tromey@redhat.com>
259 * target-delegates.c: Rebuild.
260 * target.c (update_current_target): Don't inherit or default
262 * target.h (struct target_ops) <to_log_command>: Use
263 TARGET_DEFAULT_IGNORE.
264 (target_log_command): Unconditionally delegate.
266 2014-02-19 Tom Tromey <tromey@redhat.com>
268 * target-delegates.c: Rebuild.
269 * target.c (update_current_target): Don't inherit or default
271 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
272 TARGET_DEFAULT_RETURN.
274 2014-02-19 Tom Tromey <tromey@redhat.com>
276 * target-delegates.c: Rebuild.
277 * target.c (update_current_target): Don't inherit or default
279 (target_thread_name): Unconditionally delegate.
280 * target.h (struct target_ops) <to_thread_name>: Use
281 TARGET_DEFAULT_RETURN.
283 2014-02-19 Tom Tromey <tromey@redhat.com>
285 * target-delegates.c: Rebuild.
286 * target.c (update_current_target): Don't inherit or default
287 to_extra_thread_info.
288 * target.h (struct target_ops) <to_extra_thread_info>: Use
289 TARGET_DEFAULT_RETURN.
291 2014-02-19 Tom Tromey <tromey@redhat.com>
293 * target-delegates.c: Rebuild.
294 * target.c (update_current_target): Don't inherit or default
296 * target.h (struct target_ops) <to_has_exited>: Use
297 TARGET_DEFAULT_RETURN..
299 2014-02-19 Tom Tromey <tromey@redhat.com>
301 * target-delegates.c: Rebuild.
302 * target.c (update_current_target): Don't inherit or default
303 to_set_syscall_catchpoint.
304 (return_one): Remove.
305 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
306 TARGET_DEFAULT_RETURN.
308 2014-02-19 Tom Tromey <tromey@redhat.com>
310 * target-delegates.c: Rebuild.
311 * target.c (update_current_target): Don't inherit or default
312 to_insert_exec_catchpoint.
313 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
314 TARGET_DEFAULT_RETURN.
316 2014-01-08 Tom Tromey <tromey@redhat.com>
318 * target-delegates.c: Rebuild.
319 * target.c (update_current_target): Don't inherit or default
320 to_insert_exec_catchpoint.
321 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
322 TARGET_DEFAULT_RETURN.
324 2014-02-19 Tom Tromey <tromey@redhat.com>
326 * target-delegates.c: Rebuild.
327 * target.c (update_current_target): Don't inherit or default
328 to_remove_vfork_catchpoint.
329 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
330 TARGET_DEFAULT_RETURN.
332 2014-02-19 Tom Tromey <tromey@redhat.com>
334 * target-delegates.c: Rebuild.
335 * target.c (update_current_target): Don't inherit or default
336 to_insert_vfork_catchpoint.
337 * target.h (struct target_ops) <to_insert_vfork_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_remove_fork_catchpoint.
345 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
346 TARGET_DEFAULT_RETURN.
348 2014-02-19 Tom Tromey <tromey@redhat.com>
350 * target-delegates.c: Rebuild.
351 * target.c (update_current_target): Don't inherit or default
352 to_insert_fork_catchpoint.
353 * target.h (struct target_ops) <to_insert_fork_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_post_startup_inferior.
361 * target.h (struct target_ops) <to_post_startup_inferior>: Use
362 TARGET_DEFAULT_IGNORE.
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
369 * target.h (struct target_ops) <to_load>: Use
370 TARGET_DEFAULT_NORETURN.
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
377 * target.h (struct target_ops) <to_terminal_info>: Use
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_terminal_save_ours.
385 * target.h (struct target_ops) <to_terminal_save_ours>: Use
386 TARGET_DEFAULT_IGNORE.
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
393 * target.h (struct target_ops) <to_terminal_ours>: 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
400 to_terminal_ours_for_output.
401 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
402 TARGET_DEFAULT_IGNORE.
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
408 to_terminal_inferior.
409 * target.h (struct target_ops) <to_terminal_inferior>: Use
410 TARGET_DEFAULT_IGNORE.
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
417 * target.h (struct target_ops) <to_terminal_init>: 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
424 to_can_accel_watchpoint_condition.
425 * target.h (struct target_ops)
426 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
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_region_ok_for_hw_watchpoint.
433 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
434 Use TARGET_DEFAULT_FUNC.
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_watchpoint_addr_within_range.
441 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
442 Use TARGET_DEFAULT_FUNC.
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
448 to_remove_watchpoint.
449 * target.h (struct target_ops) <to_remove_watchpoint>: Use
450 TARGET_DEFAULT_NORETURN.
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_insert_watchpoint.
457 * target.h (struct target_ops) <to_insert_watchpoint>: Use
458 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_remove_hw_breakpoint.
465 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
466 TARGET_DEFAULT_RETURN.
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_insert_hw_breakpoint.
473 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
474 TARGET_DEFAULT_RETURN.
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_can_use_hw_breakpoint.
481 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
482 TARGET_DEFAULT_RETURN.
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
489 * target.h (struct target_ops) <to_files_info>: Use
490 TARGET_DEFAULT_IGNORE.
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
497 * target.h (struct target_ops) <to_store>: Use
498 TARGET_DEFAULT_NORETURN.
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
505 * target.h (struct target_ops) <to_post_attach>: Use
506 TARGET_DEFAULT_IGNORE.
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
513 (default_rcmd): New function.
514 (do_monitor_command): Unconditionally delegate.
515 * target.h (struct target_ops) <to_rmcd>: Use
518 2014-02-19 Tom Tromey <tromey@redhat.com>
520 * target-delegates.c: Rebuild.
521 * target.c (init_dummy_target): Don't initialize to_attach.
522 (target_attach): Unconditionally delegate.
523 * target.h (struct target_ops) <to_attach>: Use
526 2014-02-19 Tom Tromey <tromey@redhat.com>
528 * target-delegates.c: Rebuild.
529 * target.c (target_detach): Unconditionally delegate.
530 (init_dummy_target): Don't initialize to_detach.
531 * target.h (struct target_ops) <to_detach>: Use
532 TARGET_DEFAULT_IGNORE.
534 2014-02-19 Tom Tromey <tromey@redhat.com>
536 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
538 (target_augmented_libraries_svr4_read): Add argument.
539 * target.c (update_current_target): Update.
540 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
543 2014-02-19 Tom Tromey <tromey@redhat.com>
545 * target.h (struct target_ops) <to_call_history_range>: Add
547 * target.c (target_call_history_range): Add argument.
548 * record-btrace.c (record_btrace_call_history_range): Add 'self'
550 (record_btrace_call_history_from): Update.
552 2014-02-19 Tom Tromey <tromey@redhat.com>
554 * target.h (struct target_ops) <to_call_history_from>: Add
556 * target.c (target_call_history_from): Add argument.
557 * record-btrace.c (record_btrace_call_history_from): Add 'self'
560 2014-02-19 Tom Tromey <tromey@redhat.com>
562 * target.h (struct target_ops) <to_call_history>: Add argument.
563 * target.c (target_call_history): Add argument.
564 * record-btrace.c (record_btrace_call_history): Add 'self'
567 2014-02-19 Tom Tromey <tromey@redhat.com>
569 * target.h (struct target_ops) <to_insn_history_range>: Add
571 * target.c (target_insn_history_range): Add argument.
572 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
574 (record_btrace_insn_history_from): Update.
576 2014-02-19 Tom Tromey <tromey@redhat.com>
578 * target.h (struct target_ops) <to_insn_history_from>: Add
580 * target.c (target_insn_history_from): Add argument.
581 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
584 2014-02-19 Tom Tromey <tromey@redhat.com>
586 * target.h (struct target_ops) <to_insn_history>: Add argument.
587 * target.c (target_insn_history): Add argument.
588 * record-btrace.c (record_btrace_insn_history): Add 'self'
591 2014-02-19 Tom Tromey <tromey@redhat.com>
593 * target.h (struct target_ops) <to_goto_record>: Add argument.
594 * target.c (target_goto_record): Add argument.
595 * record-full.c (record_full_goto): Add 'self' argument.
596 * record-btrace.c (record_btrace_goto): Add 'self' argument.
598 2014-02-19 Tom Tromey <tromey@redhat.com>
600 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
601 * target.c (target_goto_record_end): Add argument.
602 * record-full.c (record_full_goto_end): Add 'self' argument.
603 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
605 2014-02-19 Tom Tromey <tromey@redhat.com>
607 * target.h (struct target_ops) <to_goto_record_begin>: Add
609 * target.c (target_goto_record_begin): Add argument.
610 * record-full.c (record_full_goto_begin): Add 'self' argument.
611 * record-btrace.c (record_btrace_goto_begin): Add 'self'
614 2014-02-19 Tom Tromey <tromey@redhat.com>
616 * target.h (struct target_ops) <to_record_is_replaying>: Add
618 * target.c (target_record_is_replaying): Add argument.
619 * record-full.c (record_full_is_replaying): Add 'self' argument.
620 * record-btrace.c (record_btrace_is_replaying): Add 'self'
622 (record_btrace_xfer_partial, record_btrace_store_registers)
623 (record_btrace_prepare_to_store, record_btrace_resume)
624 (record_btrace_wait, record_btrace_decr_pc_after_break)
625 (record_btrace_find_new_threads, record_btrace_thread_alive):
628 2014-02-19 Tom Tromey <tromey@redhat.com>
630 * target.h (struct target_ops) <to_delete_record>: Add argument.
631 * target.c (target_delete_record): Add argument.
632 * record-full.c (record_full_delete): Add 'self' argument.
634 2014-02-19 Tom Tromey <tromey@redhat.com>
636 * target.h (struct target_ops) <to_save_record>: Add argument.
637 * target.c (target_save_record): Add argument.
638 * record-full.c (record_full_save): Add 'self' argument.
639 (record_full_save): Add 'self' argument.
641 2014-02-19 Tom Tromey <tromey@redhat.com>
643 * target.h (struct target_ops) <to_info_record>: Add argument.
644 * target.c (target_info_record): Add argument.
645 * record.c (info_record_command): Add argument.
646 * record-full.c (record_full_info): Add 'self' argument.
647 * record-btrace.c (record_btrace_info): Add 'self' argument.
649 2014-02-19 Tom Tromey <tromey@redhat.com>
651 * target.h (struct target_ops) <to_stop_recording>: Add argument.
652 * target.c (target_stop_recording): Add argument.
653 * record.c (record_stop): Add argument.
654 * record-btrace.c (record_btrace_stop_recording): Add 'self'
657 2014-02-19 Tom Tromey <tromey@redhat.com>
659 * target.h (struct target_ops) <to_read_btrace>: Add argument.
660 * target.c (struct target_ops) <to_read_btrace>: Add argument.
661 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
663 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
664 (_initialize_amd64_linux_nat): Use it.
665 * i386-linux-nat.c (i386_linux_read_btrace): New function.
666 (_initialize_i386_linux_nat): Use it.
668 2014-02-19 Tom Tromey <tromey@redhat.com>
670 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
671 * target.c (target_teardown_btrace): Add argument.
672 * remote.c (remote_teardown_btrace): Add 'self' argument.
673 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
675 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
678 2014-02-19 Tom Tromey <tromey@redhat.com>
680 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
681 * target.c (target_disable_btrace): Add argument.
682 * remote.c (remote_disable_btrace): Add 'self' argument.
683 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
685 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
688 2014-02-19 Tom Tromey <tromey@redhat.com>
690 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
691 * target.c (target_enable_btrace): Add argument.
692 * remote.c (remote_enable_btrace): Add 'self' argument.
693 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
695 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
698 2014-02-19 Tom Tromey <tromey@redhat.com>
700 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
701 (target_can_use_agent): Add argument.
702 * target.c (update_current_target): Update.
703 * remote.c (remote_can_use_agent): Add 'self' argument.
704 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
706 2014-02-19 Tom Tromey <tromey@redhat.com>
708 * target.h (struct target_ops) <to_use_agent>: Add argument.
709 (target_use_agent): Add argument.
710 * target.c (update_current_target): Update.
711 * remote.c (remote_use_agent): Add 'self' argument.
712 * inf-child.c (inf_child_use_agent): Add 'self' argument.
714 2014-02-19 Tom Tromey <tromey@redhat.com>
716 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
717 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
718 (target_traceframe_info): Add argument.
719 * target.c (update_current_target): Update.
720 * remote.c (remote_traceframe_info): Add 'self' argument.
721 * ctf.c (ctf_traceframe_info): Add 'self' argument.
723 2014-02-19 Tom Tromey <tromey@redhat.com>
725 * target.h (target_static_tracepoint_markers_by_strid): Add
727 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
729 * target.c (update_current_target): Update.
730 * remote.c (struct target_ops)
731 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
732 * linux-nat.c (struct target_ops)
733 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
735 2014-02-19 Tom Tromey <tromey@redhat.com>
737 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
739 (target_static_tracepoint_marker_at): Add argument.
740 * target.c (update_current_target): Update.
741 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
744 2014-02-19 Tom Tromey <tromey@redhat.com>
746 * target.h (struct target_ops) <to_set_permissions>: Add argument.
747 (target_set_permissions): Add argument.
748 * target.c (update_current_target): Update.
749 * remote.c (remote_set_permissions): Add 'self' argument.
750 (remote_start_remote): Update.
752 2014-02-19 Tom Tromey <tromey@redhat.com>
754 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
755 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
756 (target_get_tib_address): Add argument.
757 * target.c (update_current_target): Update.
758 * remote.c (remote_get_tib_address): Add 'self' argument.
760 2014-02-19 Tom Tromey <tromey@redhat.com>
762 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
763 (target_set_trace_notes): Add argument.
764 * target.c (update_current_target): Update.
765 * remote.c (remote_set_trace_notes): Add 'self' argument.
767 2014-02-19 Tom Tromey <tromey@redhat.com>
769 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
771 (target_set_trace_buffer_size): Add argument.
772 * target.c (update_current_target): Update.
773 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
775 2014-02-19 Tom Tromey <tromey@redhat.com>
777 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
779 (target_set_circular_trace_buffer): Add argument.
780 * target.c (update_current_target): Update.
781 * remote.c (remote_set_circular_trace_buffer): Add 'self'
784 2014-02-19 Tom Tromey <tromey@redhat.com>
786 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
788 (target_set_disconnected_tracing): Add argument.
789 * target.c (update_current_target): Update.
790 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
792 2014-02-19 Tom Tromey <tromey@redhat.com>
794 * target.h (struct target_ops)
795 <to_get_min_fast_tracepoint_insn_len>: Add argument.
796 (target_get_min_fast_tracepoint_insn_len): Add argument.
797 * target.c (update_current_target): Update.
798 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
801 2014-02-19 Tom Tromey <tromey@redhat.com>
803 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
805 (target_get_raw_trace_data): Add argument.
806 * target.c (update_current_target): Update.
807 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
809 2014-02-19 Tom Tromey <tromey@redhat.com>
811 * target.h (struct target_ops) <to_upload_trace_state_variables>:
813 (target_upload_trace_state_variables): Add argument.
814 * target.c (update_current_target): Update.
815 * remote.c (remote_upload_trace_state_variables): Add 'self'
817 (remote_start_remote): Update.
819 2014-02-19 Tom Tromey <tromey@redhat.com>
821 * target.h (struct target_ops) <to_upload_tracepoints>: Add
823 (target_upload_tracepoints): Add argument.
824 * target.c (update_current_target): Update.
825 * remote.c (remote_upload_tracepoints): Add 'self' argument.
826 (remote_start_remote): Update.
828 2014-02-19 Tom Tromey <tromey@redhat.com>
830 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
831 (target_save_trace_data): Add argument.
832 * target.c (update_current_target): Update.
833 * remote.c (remote_save_trace_data): Add 'self' argument.
835 2014-02-19 Tom Tromey <tromey@redhat.com>
837 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
839 * target.h (struct target_ops)
840 <to_get_trace_state_variable_value>: Add argument.
841 (target_get_trace_state_variable_value): Add argument.
842 * target.c (update_current_target): Update.
843 * remote.c (remote_get_trace_state_variable_value): Add 'self'
845 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
847 2014-02-19 Tom Tromey <tromey@redhat.com>
849 * tracepoint.c (tfile_trace_find): Add 'self' argument.
850 * target.h (struct target_ops) <to_trace_find>: Add argument.
851 (target_trace_find): Add argument.
852 * target.c (update_current_target): Update.
853 * remote.c (remote_trace_find): Add 'self' argument.
854 * ctf.c (ctf_trace_find): Add 'self' argument.
856 2014-02-19 Tom Tromey <tromey@redhat.com>
858 * target.h (struct target_ops) <to_trace_stop>: Add argument.
859 (target_trace_stop): Add argument.
860 * target.c (update_current_target): Update.
861 * remote.c (remote_trace_stop): Add 'self' argument.
863 2014-02-19 Tom Tromey <tromey@redhat.com>
865 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
866 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
868 (target_get_tracepoint_status): Add argument.
869 * target.c (update_current_target): Update.
870 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
872 2014-02-19 Tom Tromey <tromey@redhat.com>
874 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
875 * target.h (struct target_ops) <to_get_trace_status>: Add
877 (target_get_trace_status): Add argument.
878 * target.c (update_current_target): Update.
879 * remote.c (remote_get_trace_status): Add 'self' argument.
880 (remote_start_remote, remote_can_download_tracepoint): Update.
881 * ctf.c (ctf_get_trace_status): Add 'self' argument.
883 2014-02-19 Tom Tromey <tromey@redhat.com>
885 * target.h (struct target_ops) <to_trace_start>: Add argument.
886 (target_trace_start): Add argument.
887 * target.c (update_current_target): Update.
888 * remote.c (remote_trace_start): Add 'self' argument.
890 2014-02-19 Tom Tromey <tromey@redhat.com>
892 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
894 (target_trace_set_readonly_regions): Add argument.
895 * target.c (update_current_target): Update.
896 * remote.c (remote_trace_set_readonly_regions): Add 'self'
899 2014-02-19 Tom Tromey <tromey@redhat.com>
901 * target.h (struct target_ops) <to_disable_tracepoint>: Add
903 (target_disable_tracepoint): Add argument.
904 * target.c (update_current_target): Update.
905 * remote.c (remote_disable_tracepoint): Add 'self' argument.
907 2014-02-19 Tom Tromey <tromey@redhat.com>
909 * target.h (struct target_ops) <to_enable_tracepoint>: Add
911 (target_enable_tracepoint): Add argument.
912 * target.c (update_current_target): Update.
913 * remote.c (remote_enable_tracepoint): Add 'self' argument.
915 2014-02-19 Tom Tromey <tromey@redhat.com>
917 * target.h (struct target_ops) <to_download_trace_state_variable>:
919 (target_download_trace_state_variable): Add argument.
920 * target.c (update_current_target): Update.
921 * remote.c (remote_download_trace_state_variable): Add 'self'
924 2014-02-19 Tom Tromey <tromey@redhat.com>
926 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
928 (target_can_download_tracepoint): Add argument.
929 * target.c (update_current_target): Update.
930 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
932 2014-02-19 Tom Tromey <tromey@redhat.com>
934 * target.h (struct target_ops) <to_download_tracepoint>: Add
936 (target_download_tracepoint): Add argument.
937 * target.c (update_current_target): Update.
938 * remote.c (remote_download_tracepoint): Add 'self' argument.
940 2014-02-19 Tom Tromey <tromey@redhat.com>
942 * target.h (struct target_ops) <to_trace_init>: Add argument.
943 (target_trace_init): Add argument.
944 * target.c (update_current_target): Update.
945 * remote.c (remote_trace_init): Add 'self' argument.
947 2014-02-19 Tom Tromey <tromey@redhat.com>
949 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
950 * target.c (target_fileio_readlink): Add argument.
951 * remote.c (remote_hostio_readlink): Add 'self' argument.
952 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
954 2014-02-19 Tom Tromey <tromey@redhat.com>
956 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
957 * target.c (target_fileio_unlink): Add argument.
958 * remote.c (remote_hostio_unlink): Add 'self' argument.
959 (remote_file_delete): Update.
960 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
962 2014-02-19 Tom Tromey <tromey@redhat.com>
964 * target.h (struct target_ops) <to_fileio_close>: Add argument.
965 * target.c (target_fileio_close): Add argument.
966 * remote.c (remote_hostio_close): Add 'self' argument.
967 (remote_hostio_close_cleanup): Update.
968 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
970 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
972 2014-02-19 Tom Tromey <tromey@redhat.com>
974 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
975 * target.c (target_fileio_pread): Add argument.
976 * remote.c (remote_hostio_pread): Add 'self' argument.
977 (remote_bfd_iovec_pread, remote_file_get): Update.
978 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
980 2014-02-19 Tom Tromey <tromey@redhat.com>
982 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
983 * target.c (target_fileio_pwrite): Add argument.
984 * remote.c (remote_hostio_pwrite): Add 'self' argument.
985 (remote_file_put): Update.
986 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
988 2014-02-19 Tom Tromey <tromey@redhat.com>
990 * target.h (struct target_ops) <to_fileio_open>: Add argument.
991 * target.c (target_fileio_open): Add argument.
992 * remote.c (remote_hostio_open): Add 'self' argument.
993 (remote_bfd_iovec_open): Add 'self' argument.
994 (remote_file_put): Add 'self' argument.
995 (remote_file_get): Add 'self' argument.
996 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
998 2014-02-19 Tom Tromey <tromey@redhat.com>
1000 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1002 (target_can_run_breakpoint_commands): Add argument.
1003 * target.c (update_current_target): Update.
1004 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1006 (remote_insert_breakpoint): Add 'self' argument.
1007 (remote_insert_hw_breakpoint): Add 'self' argument.
1008 (remote_can_run_breakpoint_commands): Add 'self' argument.
1010 2014-02-19 Tom Tromey <tromey@redhat.com>
1012 * target.h (struct target_ops)
1013 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1014 (target_supports_evaluation_of_breakpoint_conditions): Add
1016 * target.c (update_current_target): Update.
1017 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1019 (remote_insert_breakpoint): Add 'self' argument.
1020 (remote_insert_hw_breakpoint): Add 'self' argument.
1021 (remote_supports_cond_breakpoints): Add 'self' argument.
1023 2014-02-19 Tom Tromey <tromey@redhat.com>
1025 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1027 (target_supports_string_tracing): Add argument.
1028 * target.c (update_current_target): Update.
1029 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1031 2014-02-19 Tom Tromey <tromey@redhat.com>
1033 * target.h (struct target_ops)
1034 <to_supports_disable_randomization>: Add argument.
1035 * target.c (find_default_supports_disable_randomization): Add
1037 (target_supports_disable_randomization): Add argument.
1038 (find_default_supports_disable_randomization): Add 'self'
1040 * remote.c (extended_remote_supports_disable_randomization): Add
1042 (remote_supports_disable_randomization): Add 'self' argument.
1043 (extended_remote_create_inferior): Update.
1044 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1047 2014-02-19 Tom Tromey <tromey@redhat.com>
1049 * target.h (struct target_ops)
1050 <to_supports_enable_disable_tracepoint>: Add argument.
1051 (target_supports_enable_disable_tracepoint): Add argument.
1052 * target.c (update_current_target): Update.
1053 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1056 2014-02-19 Tom Tromey <tromey@redhat.com>
1058 * target.h (struct target_ops) <to_supports_multi_process>: Add
1060 (target_supports_multi_process): Add argument.
1061 * target.c (update_current_target): Update.
1062 * remote.c (remote_supports_multi_process): Add 'self' argument.
1063 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1065 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1068 2014-02-19 Tom Tromey <tromey@redhat.com>
1070 * target.h (struct target_ops) <to_execution_direction>: Add
1072 (target_execution_direction): Add argument.
1073 * target.c (default_execution_direction): Add 'self' argument.
1074 * record-full.c (record_full_execution_direction): Add 'self'
1077 2014-02-19 Tom Tromey <tromey@redhat.com>
1079 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1081 (target_can_execute_reverse): Add argument.
1082 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1083 * record-full.c (record_full_can_execute_reverse): Add 'self'
1085 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1088 2014-02-19 Tom Tromey <tromey@redhat.com>
1090 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1091 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1093 (target_get_ada_task_ptid): Add argument.
1094 * target.c (update_current_target): Update.
1095 (default_get_ada_task_ptid): Add 'self' argument.
1096 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1097 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1098 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1100 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1102 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1104 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1106 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1107 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1110 2014-02-19 Tom Tromey <tromey@redhat.com>
1112 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1113 (target_goto_bookmark): Add argument.
1114 * target.c (dummy_goto_bookmark): Add 'self' argument.
1115 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1117 2014-02-19 Tom Tromey <tromey@redhat.com>
1119 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1120 (target_get_bookmark): Add argument.
1121 * target.c (dummy_get_bookmark): Add 'self' argument.
1122 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1124 2014-02-19 Tom Tromey <tromey@redhat.com>
1126 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1128 (target_make_corefile_notes): Add argument.
1129 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1130 * procfs.c (procfs_make_note_section): Add 'self' argument.
1131 (procfs_make_note_section): Add 'self' argument.
1132 (procfs_make_note_section): Add 'self' argument.
1133 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1135 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1136 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1137 * exec.c (exec_make_note_section): Add 'self' argument.
1138 (exec_make_note_section): Add 'self' argument.
1140 2014-02-19 Tom Tromey <tromey@redhat.com>
1142 * target.h (struct target_ops) <to_find_memory_regions>: Add
1144 (target_find_memory_regions): Add argument.
1145 * target.c (dummy_find_memory_regions): Add 'self' argument.
1146 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1147 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1148 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1149 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1150 * exec. (exec_do_find_memory_regions): New global.
1151 (exec_set_find_memory_regions): Rewrite.
1152 (exec_find_memory_regions): New function.
1153 (init_exec_ops): Use exec_find_memory_regions.
1155 2014-02-19 Tom Tromey <tromey@redhat.com>
1157 * target.h (struct target_ops) <to_supports_non_stop>: Add
1159 * target.c (find_default_supports_non_stop): Add argument.
1160 (target_supports_non_stop): Add argument.
1161 (find_default_supports_non_stop): Add 'self' argument.
1162 * remote.c (remote_supports_non_stop): Add 'self' argument.
1163 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1165 2014-02-19 Tom Tromey <tromey@redhat.com>
1167 * target.h (struct target_ops) <to_log_command>: Add argument.
1168 (target_log_command): Add argument.
1169 * serial.h (serial_log_command): Add 'self' argument.
1170 * serial.c (serial_log_command): Add 'self' argument.
1172 2014-02-19 Tom Tromey <tromey@redhat.com>
1174 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1175 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1177 (target_pid_to_exec_file): Add argument.
1178 * target.c (debug_to_pid_to_exec_file): Add argument.
1179 (update_current_target): Update.
1180 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1181 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1182 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1183 (linux_handle_extended_wait): Update.
1184 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1185 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1186 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1187 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1189 2014-02-19 Tom Tromey <tromey@redhat.com>
1191 * target.h (struct target_ops) <to_rcmd>: Add argument.
1192 (target_rcmd): Add argument.
1193 * target.c (debug_to_rcmd): Add argument.
1194 (update_current_target, do_monitor_command): Update.
1195 * remote.c (remote_rcmd): Add 'self' argument.
1196 * monitor.c (monitor_rcmd): Add 'self' argument.
1198 2014-02-19 Tom Tromey <tromey@redhat.com>
1200 * windows-nat.c (windows_stop): Add 'self' argument.
1201 * target.h (struct target_ops) <to_stop>: Add argument.
1202 * target.c (target_stop): Add argument.
1203 (debug_to_stop): Add argument.
1204 (update_current_target): Update.
1205 * remote.c (remote_stop): Add 'self' argument.
1206 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1207 (gdbsim_cntrl_c): Update.
1208 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1209 * procfs.c (procfs_stop): Add 'self' argument.
1210 * nto-procfs.c (procfs_stop): Add 'self' argument.
1211 * monitor.c (monitor_stop): Add 'self' argument.
1212 (monitor_open): Update.
1213 * linux-nat.c (linux_nat_stop): Add argument.
1214 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1215 * gnu-nat.c (gnu_stop): Add 'self' argument.
1216 * darwin-nat.c (darwin_stop): Add 'self' argument.
1218 2014-02-19 Tom Tromey <tromey@redhat.com>
1220 * target.h (struct target_ops) <to_thread_name>: Add argument.
1221 * target.c (target_thread_name): Add argument.
1222 (update_current_target): Update.
1223 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
1225 2014-02-19 Tom Tromey <tromey@redhat.com>
1227 * target.h (struct target_ops) <to_extra_thread_info>: Add
1229 (target_extra_thread_info): Add argument.
1230 * target.c (update_current_target): Update.
1231 * remote.c (remote_threads_extra_info): Add 'self' argument.
1232 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
1234 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
1235 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
1236 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
1238 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
1240 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
1242 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
1245 2014-02-19 Tom Tromey <tromey@redhat.com>
1247 * target.h (struct target_ops) <to_program_signals>: Add argument.
1248 * target.c (target_program_signals): Add argument.
1249 * remote.c (remote_program_signals): Add 'self' argument.
1251 2014-02-19 Tom Tromey <tromey@redhat.com>
1253 * target.h (struct target_ops) <to_pass_signals>: Add argument.
1254 * target.c (target_pass_signals): Add argument.
1255 * remote.c (remote_pass_signals): Add 'self' argument.
1256 (remote_start_remote): Update.
1257 * procfs.c (procfs_pass_signals): Add 'self' argument.
1258 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
1259 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
1260 (linux_nat_create_inferior, linux_nat_attach): Update.
1262 2014-02-19 Tom Tromey <tromey@redhat.com>
1264 * windows-nat.c (windows_can_run): Add 'self' argument.
1265 * target.h (struct target_ops) <to_can_run>: Add argument.
1266 (target_can_run): Add argument.
1267 * target.c (debug_to_can_run): Add argument.
1268 (update_current_target): Update.
1269 * nto-procfs.c (procfs_can_run): Add 'self' argument.
1270 * inf-child.c (inf_child_can_run): Add 'self' argument.
1271 * go32-nat.c (go32_can_run): Add 'self' argument.
1273 2014-02-19 Tom Tromey <tromey@redhat.com>
1275 * target.h (struct target_ops) <to_has_exited>: Add argument.
1276 (target_has_exited): Add argument.
1277 * target.c (debug_to_has_exited): Add argument.
1278 (update_current_target): Update.
1280 2014-02-19 Tom Tromey <tromey@redhat.com>
1282 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
1284 (target_set_syscall_catchpoint): Add argument.
1285 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
1287 * target.c (update_current_target): Update.
1289 2014-02-19 Tom Tromey <tromey@redhat.com>
1291 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
1293 (target_remove_exec_catchpoint): Add argument.
1294 * target.c (debug_to_remove_exec_catchpoint): Add argument.
1295 (update_current_target): Update.
1296 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
1299 2014-02-19 Tom Tromey <tromey@redhat.com>
1301 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
1303 (target_insert_exec_catchpoint): Add argument.
1304 * target.c (debug_to_insert_exec_catchpoint): Add argument.
1305 (update_current_target): Update.
1306 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
1309 2014-02-19 Tom Tromey <tromey@redhat.com>
1311 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
1313 (target_remove_vfork_catchpoint): Add argument.
1314 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
1315 (update_current_target): Update.
1316 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
1319 2014-02-19 Tom Tromey <tromey@redhat.com>
1321 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
1323 (target_insert_vfork_catchpoint): Add argument.
1324 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
1325 (update_current_target): Update.
1326 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
1329 2014-02-19 Tom Tromey <tromey@redhat.com>
1331 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
1333 (target_remove_fork_catchpoint): Add argument.
1334 * target.c (debug_to_remove_fork_catchpoint): Add argument.
1335 (update_current_target): Update.
1336 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
1339 2014-02-19 Tom Tromey <tromey@redhat.com>
1341 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
1343 (target_insert_fork_catchpoint): Add argument.
1344 * target.c (debug_to_insert_fork_catchpoint): Add argument.
1345 (update_current_target): Update.
1346 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
1349 2014-02-19 Tom Tromey <tromey@redhat.com>
1351 * target.h (struct target_ops) <to_post_startup_inferior>: Add
1353 (target_post_startup_inferior): Add argument.
1354 * target.c (debug_to_post_startup_inferior): Add argument.
1355 (update_current_target): Update.
1356 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
1358 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
1360 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
1362 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
1364 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
1366 (super_post_startup_inferior): Likewise.
1367 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
1369 (super_post_startup_inferior): Likewise.
1370 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
1371 Add 'self' argument.
1372 (super_post_startup_inferior): Likewise.
1374 2014-02-19 Tom Tromey <tromey@redhat.com>
1376 * target.h (struct target_ops) <to_load>: Add argument.
1377 * target.c (target_load): Add argument.
1378 (debug_to_load): Add argument.
1379 (update_current_target): Update.
1380 * remote.c (remote_load): Add 'self' argument.
1381 * remote-sim.c (gdbsim_load): Add 'self' argument.
1382 * remote-mips.c (mips_load): Add 'self' argument.
1383 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
1384 * monitor.c (monitor_load): Add 'self' argument.
1385 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
1387 2014-02-19 Tom Tromey <tromey@redhat.com>
1389 * target.h (struct target_ops) <to_terminal_info>: Add argument.
1390 (target_terminal_info): Add argument.
1391 * target.c (debug_to_terminal_info): Add argument.
1392 (default_terminal_info): Likewise.
1393 * inflow.c (child_terminal_info): Add 'self' argument.
1394 * inferior.h (child_terminal_info): Add 'self' argument.
1395 * go32-nat.c (go32_terminal_info): Add 'self' argument.
1397 2014-02-19 Tom Tromey <tromey@redhat.com>
1399 * target.h (struct target_ops) <to_terminal_save_ours>: Add
1401 (target_terminal_save_ours): Add argument.
1402 * target.c (debug_to_terminal_save_ours): Add argument.
1403 (update_current_target): Update.
1404 * inflow.c (terminal_save_ours): Add 'self' argument.
1405 * inferior.h (terminal_save_ours): Add 'self' argument.
1407 2014-02-19 Tom Tromey <tromey@redhat.com>
1409 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
1410 (target_terminal_ours): Add argument.
1411 * target.c (debug_to_terminal_ours): Add argument.
1412 (update_current_target): Update.
1413 * remote.c (remote_terminal_ours): Add 'self' argument.
1414 (remote_close): Update.
1415 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
1416 * inflow.c (terminal_ours): Add 'self' argument.
1417 * inferior.h (terminal_ours): Add 'self' argument.
1418 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1420 2014-02-19 Pedro Alves <palves@redhat.com>
1421 Tom Tromey <tromey@redhat.com>
1423 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
1425 (target_terminal_ours_for_output): Add argument.
1426 * target.c (debug_to_terminal_ours_for_output): Add argument.
1427 (update_current_target): Update.
1428 * inflow.c (terminal_ours_for_output): Add 'self' argument.
1429 * inferior.h (terminal_ours_for_output): Add 'self' argument.
1430 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1432 2014-02-19 Tom Tromey <tromey@redhat.com>
1434 * target.h (struct target_ops) <to_terminal_inferior>: Add
1436 * target.c (target_terminal_inferior): Add argument.
1437 (update_current_target): Update.
1438 * remote.c (remote_terminal_inferior): Add 'self' argument.
1439 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
1440 * inflow.c (terminal_inferior): Add 'self' argument.
1441 * inferior.h (terminal_inferior): Add 'self' argument.
1442 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
1443 (go32_terminal_inferior): Add 'self' argument.
1445 2014-02-19 Tom Tromey <tromey@redhat.com>
1447 * target.h (struct target_ops) <to_terminal_init>: Add argument.
1448 (target_terminal_init): Add argument.
1449 * target.c (debug_to_terminal_init): Add argument.
1450 (update_current_target): Update.
1451 * inflow.c (terminal_init_inferior): Add 'self' argument.
1452 * inferior.h (terminal_init_inferior): Add 'self' argument.
1453 * go32-nat.c (go32_terminal_init): Add 'self' argument.
1454 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
1456 2014-02-19 Tom Tromey <tromey@redhat.com>
1458 * target.h (struct target_ops)
1459 <to_can_accel_watchpoint_condition>: Add argument.
1460 (target_can_accel_watchpoint_condition): Add argument.
1461 * target.c (debug_to_can_accel_watchpoint_condition): Add
1463 (update_current_target): Update.
1464 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
1467 2014-02-19 Tom Tromey <tromey@redhat.com>
1469 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1471 (target_region_ok_for_hw_watchpoint): Add argument.
1472 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
1473 (default_region_ok_for_hw_watchpoint): Add argument.
1474 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
1475 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
1477 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
1479 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
1481 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
1483 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
1485 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
1487 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
1488 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
1490 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
1491 Add 'self' argument.
1493 2014-02-19 Tom Tromey <tromey@redhat.com>
1495 * target.h (struct target_ops) <to_insert_watchpoint>: Add
1497 (target_insert_watchpoint): Add argument.
1498 * target.c (debug_to_insert_watchpoint): Add argument.
1499 (update_current_target): Update.
1500 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
1501 * remote.c (remote_insert_watchpoint): Add 'self' argument.
1502 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
1503 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
1504 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
1505 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
1507 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
1508 (procfs_insert_hw_watchpoint): Add 'self' argument.
1509 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
1511 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
1513 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
1515 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
1516 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
1518 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
1521 2014-02-19 Tom Tromey <tromey@redhat.com>
1523 * target.h (struct target_ops) <to_remove_watchpoint>: Add
1525 (target_remove_watchpoint): Add argument.
1526 * target.c (debug_to_remove_watchpoint): Add argument.
1527 (update_current_target): Update.
1528 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
1529 * remote.c (remote_remove_watchpoint): Add 'self' argument.
1530 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
1531 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
1532 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
1533 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
1535 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
1536 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
1538 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
1540 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
1542 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
1543 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
1545 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
1548 2014-02-19 Tom Tromey <tromey@redhat.com>
1550 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
1552 (target_remove_hw_breakpoint): Add argument.
1553 * target.c (debug_to_remove_hw_breakpoint): Add argument.
1554 (update_current_target): Update.
1555 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
1556 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
1558 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
1559 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
1561 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
1564 2014-02-19 Tom Tromey <tromey@redhat.com>
1566 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
1568 (target_insert_hw_breakpoint): Add argument.
1569 * target.c (debug_to_insert_hw_breakpoint): Add argument.
1570 (update_current_target): Update.
1571 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
1572 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
1574 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
1575 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
1576 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
1578 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
1581 2014-02-19 Tom Tromey <tromey@redhat.com>
1583 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
1585 (target_can_use_hardware_watchpoint): Add argument.
1586 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
1587 (update_current_target): Update.
1588 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
1590 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
1592 * remote.c (remote_check_watch_resources): Add 'self' argument.
1593 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
1594 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
1596 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
1597 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
1599 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
1601 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
1603 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
1605 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
1607 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
1609 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
1610 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
1612 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
1615 2014-02-19 Tom Tromey <tromey@redhat.com>
1617 * target.h (struct target_ops) <to_post_attach>: Add argument.
1618 (target_post_attach): Add argument.
1619 * target.c (debug_to_post_attach): Add argument.
1620 (update_current_target): Update.
1621 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
1622 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
1623 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
1624 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
1625 * inf-child.c (inf_child_post_attach): Add 'self' argument.
1627 2014-02-19 Tom Tromey <tromey@redhat.com>
1629 * windows-nat.c (windows_close): Add 'self' argument.
1630 * tracepoint.c (tfile_close): Add 'self' argument.
1631 * target.h (struct target_ops) <to_close>: Add argument.
1632 * target.c (target_close): Add argument.
1633 (update_current_target): Update.
1634 * remote.c (remote_close): Add 'self' argument.
1635 * remote-sim.c (gdbsim_close): Add 'self' argument.
1636 * remote-mips.c (mips_close): Add 'self' argument.
1637 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
1638 * record-full.c (record_full_close): Add 'self' argument.
1639 * record-btrace.c (record_btrace_close): Add 'self' argument.
1640 * monitor.h (monitor_close): Add 'self' argument.
1641 * monitor.c (monitor_close): Add 'self' argument.
1642 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
1643 * linux-nat.c (linux_nat_close): Add argument.
1644 * go32-nat.c (go32_close): Add 'self' argument.
1645 * exec.c (exec_close_1): Add 'self' argument.
1646 * ctf.c (ctf_close): Add 'self' argument.
1647 * corelow.c (core_close): Add 'self' argument.
1648 (core_close_cleanup): Update.
1649 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
1650 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
1652 2014-02-19 Tom Tromey <tromey@redhat.com>
1654 * remote.c (remote_load): New function.
1655 (init_remote_ops): Use it.
1657 2014-02-19 Tom Tromey <tromey@redhat.com>
1659 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
1661 * common/linux-btrace.h (linux_supports_btrace): Update.
1662 * remote.c (remote_supports_btrace): Add "self" argument.
1663 * target-delegates.c: Rebuild.
1664 * target.c (target_supports_btrace): Remove.
1665 * target.h (struct target_ops) <to_supports_btrace>: Add
1666 target_ops argument.
1667 (target_supports_btrace): New define.
1669 2014-02-19 Tom Tromey <tromey@redhat.com>
1671 * record-full.c (record_full_beneath_to_resume_ops)
1672 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
1673 (record_full_beneath_to_wait)
1674 (record_full_beneath_to_store_registers_ops)
1675 (record_full_beneath_to_store_registers)
1676 (record_full_beneath_to_xfer_partial_ops)
1677 (record_full_beneath_to_xfer_partial)
1678 (record_full_beneath_to_insert_breakpoint_ops)
1679 (record_full_beneath_to_insert_breakpoint)
1680 (record_full_beneath_to_remove_breakpoint_ops)
1681 (record_full_beneath_to_remove_breakpoint)
1682 (record_full_beneath_to_stopped_by_watchpoint)
1683 (record_full_beneath_to_stopped_data_address)
1684 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
1685 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
1686 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
1687 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
1688 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
1689 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
1690 (tmp_to_stopped_data_address, tmp_to_async): Remove.
1691 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
1692 (record_full_resume, record_full_wait_1)
1693 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
1694 (record_full_store_registers, record_full_xfer_partial)
1695 (record_full_insert_breakpoint, record_full_remove_breakpoint)
1696 (record_full_async, record_full_core_xfer_partial): Use target
1698 * target-delegates.c: Rebuild.
1699 * target.c (current_xfer_partial): Remove.
1700 (update_current_target): Do not INHERIT or de_fault
1701 to_insert_breakpoint, to_remove_breakpoint,
1702 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
1703 to_is_async_p, to_async. Do not set to_xfer_partial field.
1704 (default_xfer_partial): Simplify.
1705 (current_xfer_partial): Remove.
1706 (target_wait, target_resume): Simplify.
1707 (find_default_can_async_p, find_default_is_async_p): Update.
1708 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
1709 to_xfer_partial, to_stopped_by_watchpoint,
1710 to_stopped_data_address.
1711 (target_store_registers): Simplify.
1712 (forward_target_remove_breakpoint)
1713 (forward_target_insert_breakpoint): Remove.
1714 (target_remove_breakpoint, target_insert_breakpoint)
1715 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
1716 * target.h (struct target_ops) <to_resume, to_wait,
1717 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
1718 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
1719 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
1721 (forward_target_remove_breakpoint)
1722 (forward_target_insert_breakpoint): Remove.
1723 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
1725 (record_btrace_insert_breakpoint): Delegate directly.
1727 2014-02-19 Tom Tromey <tromey@redhat.com>
1730 * target-delegates.c: New file.
1731 * target.c: Include target-delegates.c.
1732 (init_dummy_target): Call install_dummy_methods.
1733 (complete_target_initialization): Call install_delegators.
1734 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
1735 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
1736 * make-target-delegates: New file.
1738 2014-02-19 Tom Tromey <tromey@redhat.com>
1740 * record.c (find_record_target): Use find_target_at.
1741 * target.c (find_target_at): New function.
1742 * target.h (find_target_at): Declare.
1744 2014-02-19 Tom Tromey <tromey@redhat.com>
1746 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
1748 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
1750 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
1751 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
1753 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
1755 * linux-nat.c (save_sigtrap): Update.
1756 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
1757 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
1758 (linux_nat_close): Update.
1759 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
1761 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
1763 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
1764 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
1765 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
1766 (tmp_to_async): Add 'ops' argument.
1767 (record_full_stopped_by_watchpoint, record_full_async)
1768 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
1770 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
1771 (m32r_stopped_by_watchpoint): Add 'ops' argument.
1772 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
1773 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
1774 (remote_is_async_p, remote_async): Add 'ops' argument.
1775 (remote_stopped_data_address): Update.
1776 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
1777 * target.c (update_current_target)
1778 (find_default_can_async_p, find_default_is_async_p): Update.
1779 (init_dummy_target): Update.
1780 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
1781 * target.h (struct target_ops) <to_stopped_by_watchpoint,
1782 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
1783 (target_can_async_p, target_is_async_p, target_async)
1784 (target_stopped_by_watchpoint): Update.
1786 2014-02-19 Yao Qi <yao@codesourcery.com>
1789 * gdbarch.sh: Remove startup_gdbarch.
1790 * gdbarch.c: Regenerated.
1791 * gdbarch.h: Likewise.
1793 2014-02-17 Kevin Buettner <kevinb@redhat.com>
1795 * rl78-tdep.c (rl78_g10_register_name): New function.
1796 (rl78_return_value): Add g10 support.
1797 (rl78_gdbarch_init): Register rl78_g10_register_name for the
1800 2014-02-17 Doug Evans <xdje42@gmail.com>
1802 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
1803 (SUBDIR_GUILE_SRCS): Ditto.
1804 (scm-gsmob.o): Ditto.
1806 2014-02-17 Yao Qi <yao@codesourcery.com>
1808 * gnu-nat.c (ILL_RPC): Declare defined function.
1810 2014-02-17 Yao Qi <yao@codesourcery.com>
1812 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
1813 mach_msg_type_number_t.
1814 (gnu_write_inferior): Likewise.
1816 2014-02-17 Yao Qi <yao@codesourcery.com>
1818 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
1820 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
1821 (inf_validate_procs, inf_signal): Likewise.
1822 (S_exception_raise_request): Likewise.
1823 (do_mach_notify_dead_name): Likewise.
1824 (steal_exc_port): Likewise.
1825 (gnu_read_inferior): Change 'copy_count''s type to
1826 mach_msg_type_number_t.
1827 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
1830 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
1832 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
1833 flag. Adjust all users; in particular...
1834 (gnu_wait): ..., don't decrement its value in here...
1835 (gnu_create_inferior): ..., and instead set the flag in here,
1836 around the startup_inferior call, and call that one with
1837 START_INFERIOR_TRAPS_EXPECTED.
1839 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
1840 (ILL_RPC): ... new macro.
1841 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
1842 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
1843 (do_mach_notify_send_once, S_proc_setmsgport_reply)
1844 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
1845 functions with ILL_RPC macro.
1846 (S_proc_pid2task_reply, S_proc_task2pid_reply)
1847 (S_proc_task2proc_reply, S_proc_proc2task_reply)
1848 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
1849 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
1850 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
1851 (S_proc_getlogin_reply, S_proc_getsid_reply)
1852 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
1853 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
1854 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
1855 (S_proc_getnports_reply, S_proc_is_important_reply)
1856 (S_proc_get_code_reply): New stub functions, generated with
1859 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
1860 collected the type check structures.
1862 * reply_mig_hack.awk: Don't expect to see the auto keyword.
1864 2014-02-14 Doug Evans <dje@google.com>
1866 * target.c (target_write_partial): Fix result type.
1868 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
1870 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
1871 the proper offsets to access fpregset_t.
1873 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
1875 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
1876 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
1877 * h8300-tdep.c (setmachinelist): Remove global.
1878 * hppa-tdep.c (hppa_sigtramp): Remove global.
1879 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
1880 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
1881 * ravenscar-thread.c (update_target_observer): Remove global.
1882 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
1884 2014-02-12 Tom Tromey <tromey@redhat.com>
1886 * common/rsp-low.c: Update comments.
1887 * common/rsp-low.h: Update comments.
1889 2014-02-12 Tom Tromey <tromey@redhat.com>
1891 * common/rsp-low.c (convert_ascii_to_int): Remove.
1892 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
1894 2014-02-12 Tom Tromey <tromey@redhat.com>
1896 * common/rsp-low.h (unhexify): Don't declare.
1897 * common/rsp-low.c (unhexify): Remove.
1899 2014-02-12 Tom Tromey <tromey@redhat.com>
1901 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
1902 * common/rsp-low.c (convert_int_to_ascii): Remove.
1904 2014-02-12 Tom Tromey <tromey@redhat.com>
1906 * common/rsp-low.h (hexify): Don't declare.
1907 * common/rsp-low.c (hexify): Remove.
1909 2014-02-12 Tom Tromey <tromey@redhat.com>
1911 * common/rsp-low.c (hexify): Never take strlen of argument.
1913 2014-02-12 Tom Tromey <tromey@redhat.com>
1915 * common/rsp-low.c (bin2hex): Never take strlen of argument.
1916 * remote.c (extended_remote_run, remote_rcmd)
1917 (remote_download_trace_state_variable, remote_save_trace_data)
1918 (remote_set_trace_notes): Update.
1919 * tracepoint.c (encode_source_string, tfile_write_status)
1920 (tfile_write_uploaded_tsv): Update.
1922 2014-02-12 Tom Tromey <tromey@redhat.com>
1924 * tracepoint.c: Include rsp-low.h.
1925 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
1926 * remote.c: Include rsp-low.h.
1927 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
1928 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
1929 (remote_unescape_input): Move to common/rsp-low.c.
1930 * common/rsp-low.h: New file.
1931 * common/rsp-low.c: New file.
1932 * Makefile.in (SFILES): Add common/rsp-low.c.
1933 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
1934 (COMMON_OBS): Add rsp-low.o.
1935 (rsp-low.o): New target.
1937 2014-02-12 Tom Tromey <tromey@redhat.com>
1939 * utils.h: Include print-utils.h.
1940 (host_address_to_string, plongest, pulongest, phex, phex_nz)
1941 (int_string, core_addr_to_string, core_addr_to_string_nz)
1942 (hex_string, hex_string_custom): Don't declare.
1943 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
1944 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
1945 (hex_string_custom, int_string, core_addr_to_string)
1946 (core_addr_to_string_nz, host_address_to_string): Move to
1947 common/print-utils.c.
1948 * common/print-utils.h: New file.
1949 * common/print-utils.c: New file
1950 * Makefile.in (SFILES): Add common/print-utils.c.
1951 (HFILES_NO_SRCDIR): Add common/print-utils.h.
1952 (COMMON_OBS): Add print-utils.o.
1953 (print-utils.o): New target.
1955 2014-02-12 Tom Tromey <tromey@redhat.com>
1957 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
1959 2014-02-12 Mark Kettenis <kettenis@gnu.org>
1961 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
1963 2014-02-12 Mark Kettenis <kettenis@gnu.org>
1965 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
1966 if a PT_IO ptrace request returns sucessfully but indicates that 0
1967 bytes were transferred.
1969 2014-02-12 Pedro Alves <palves@redhat.com>
1970 Kevin Buettner <kevinb@redhat.com>
1972 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
1973 TYPE_INSTANCE_FLAG_CODE_SPACE.
1975 2014-02-12 Pedro Alves <palves@redhat.com>
1977 * h8300-tdep.c (pseudo_from_raw_register)
1978 (raw_from_pseudo_register): New functions.
1979 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
1982 2014-02-12 Pedro Alves <palves@redhat.com>
1984 * h8300-tdep.c (h8300_register_sim_regno): New function.
1985 (h8300_gdbarch_init): Install h8300_register_sim_regno as
1986 gdbarch_register_sim_regno hook.
1988 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
1990 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
1992 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
1994 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
1996 2014-02-12 Mark Kettenis <kettenis@gnu.org>
1998 * obsd-tdep.h (obsd_init_abi): New prototype.
1999 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2000 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2001 (obsd_init_abi): New functions.
2002 * i386obsd-tdep.c: Include "obsd-tdep.h".
2003 (i386obsd_init_abi): Call obsd_init_abi.
2004 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2005 (amd64obsd_init_abi): Call obsd_init_abi.
2006 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2007 obsd-tdep.c to gdb_target_obs.
2009 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2011 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2012 double float arguments to 16-byte in the argument slots.
2014 2014-02-11 Doug Evans <xdje42@gmail.com>
2016 * configure.ac: Don't crash if pkg-config is not found and guile
2017 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2019 * configure: Regenerate.
2021 2014-02-11 Yao Qi <yao@codesourcery.com>
2023 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2024 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2025 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2026 * gnu-nat.c (gnu_xfer_memory): Likewise.
2027 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2028 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2029 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2030 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2032 2014-02-11 Yao Qi <yao@codesourcery.com>
2034 * target.h (enum target_xfer_error): Rename to ...
2035 (enum target_xfer_status): ... it. New. All users updated.
2036 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2038 (TARGET_XFER_STATUS_ERROR_P): New macro.
2039 (target_xfer_error_to_string): Remove declaration.
2040 (target_xfer_status_to_string): Declare.
2041 (target_xfer_partial_ftype): Adjust it.
2042 (struct target_ops) <to_xfer_partial>: Return
2043 target_xfer_status. Add argument xfered_len. Update
2045 * target.c (target_xfer_error_to_string): Rename to ...
2046 (target_xfer_status_to_string): ... it. New. All callers
2048 (target_read_live_memory): Likewise. Call target_xfer_partial
2049 instead of target_read.
2050 (memory_xfer_live_readonly_partial): Return
2051 target_xfer_status. Add argument xfered_len.
2052 (raw_memory_xfer_partial): Likewise.
2053 (memory_xfer_partial_1): Likewise.
2054 (memory_xfer_partial): Likewise.
2055 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2056 properly. Update debug message.
2057 (default_xfer_partial, current_xfer_partial): Likewise.
2058 (target_write_partial): Likewise.
2059 (target_read_partial): Likewise. All callers updated.
2060 (read_whatever_is_readable): Likewise.
2061 (target_write_with_progress): Likewise.
2062 (target_read_alloc_1): Likewise.
2064 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2065 * auxv.c (procfs_xfer_auxv): Likewise.
2066 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2067 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2068 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2069 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2070 * corefile.c (read_memory): Adjust.
2071 * corelow.c (core_xfer_partial): Likewise.
2072 * ctf.c (ctf_xfer_partial): Likewise.
2073 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2075 (darwin_xfer_partial): Likewise.
2076 * exec.c (section_table_xfer_memory_partial): Likewise. All
2078 (exec_xfer_partial): Likewise.
2079 * exec.h (section_table_xfer_memory_partial): Update
2081 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2083 (gnu_xfer_partial): Likewise.
2084 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2085 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2086 (ia64_hpux_xfer_solib_got): Likewise.
2087 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2088 type of 'partial_len' to ULONGEST.
2089 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2090 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2091 (linux_nat_xfer_partial): Likewise.
2092 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2093 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2094 * monitor.c (monitor_xfer_memory): Likewise.
2095 (monitor_xfer_partial): Likewise.
2096 * procfs.c (procfs_xfer_partial): Likewise.
2097 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2098 * record-full.c (record_full_xfer_partial): Likewise.
2099 (record_full_core_xfer_partial): Likewise.
2100 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2101 (gdbsim_xfer_partial): Likewise.
2102 * remote.c (remote_write_bytes_aux): Likewise. All callers
2104 (remote_write_bytes, remote_read_bytes): Likewise. All
2106 (remote_flash_erase): Likewise. All callers updated.
2107 (remote_write_qxfer): Likewise. All callers updated.
2108 (remote_read_qxfer): Likewise. All callers updated.
2109 (remote_xfer_partial): Likewise.
2110 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2111 (rs6000_xfer_shared_libraries): Likewise.
2112 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2113 (sol_thread_xfer_partial): Likewise.
2114 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2115 (sparc_xfer_partial): Likewise.
2116 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2118 (spu_xfer_partial): Likewise.
2119 * spu-multiarch.c (spu_xfer_partial): Likewise.
2120 * tracepoint.c (tfile_xfer_partial): Likewise.
2121 * windows-nat.c (windows_xfer_memory): Likewise.
2122 (windows_xfer_shared_libraries): Likewise.
2123 (windows_xfer_partial): Likewise.
2124 * valprint.c: Replace 'target_xfer_error' with
2125 'target_xfer_status' in comments.
2127 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2129 Checked in by Joel Brobecker <brobecker@adacore.com>.
2130 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2132 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2134 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2135 function parameters.
2137 2014-02-10 Will Newton <will.newton@linaro.org>
2139 * elfread.c (elf_rel_plt_read): Look for a .got section if
2140 looking up .got.plt fails.
2141 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2142 on address passed to elf_gnu_ifunc_record_cache.
2143 (elf_gnu_ifunc_resolve_addr): Likewise.
2144 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2146 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2148 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2149 (X_RETTURN): New macro.
2150 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2152 * sparc64-tdep.c (sparc64_init_abi): Hook
2153 sparc_in_function_epilogue_p.
2155 2014-02-10 Gary Benson <gbenson@redhat.com>
2157 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2158 Rename name_matcher to symbol_matcher.
2160 2014-02-10 Gary Benson <gbenson@redhat.com>
2162 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2163 Use expand_symtabs_file_matcher_ftype and
2164 expand_symtabs_symbol_matcher_ftype.
2166 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2168 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2169 (struct ada_symbol_cache): New.
2170 (ada_free_symbol_cache): Forward declare.
2171 (struct ada_pspace_data): New.
2172 (ada_pspace_data_handle): New static global.
2173 (get_ada_pspace_data, ada_pspace_data_cleanup)
2174 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2175 (cache_space, cache): Delete, now folded inside struct
2177 (ada_get_symbol_cache): New function.
2178 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2180 (_initialize_ada_language): Remove initialization of cache_space.
2181 Move call to observer_attach_inferior_exit up, grouping it
2182 with the other observer registrations inside this function.
2183 Rename command to be more general. Add call to
2184 register_program_space_data_with_cleanup.
2186 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2188 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2189 ada_new_objfile_observer.
2190 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2191 (_initialize_tasks): Update uses of ada_new_objfile_observer
2192 and ada_tasks_normal_stop_observer.
2194 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2196 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2197 returned by the 'Length attribute to integer.
2199 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2201 * ada-lang.c (_initialize_ada_language): Initialize
2202 cache_space obstack.
2204 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2206 * ada-lang.c (HASH_SIZE): New macro.
2207 (struct cache_entry): New type.
2208 (cache_space, cache): New static globals.
2209 (ada_clear_symbol_cache, find_entry): New functions.
2210 (lookup_cached_symbol, cache_symbol): Implement.
2211 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2212 (_initialize_ada_language): Attach ada_new_objfile_observer
2213 and ada_free_objfile_observer.
2215 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2217 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
2218 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
2219 struct block * parameter.
2220 (ada_lookup_symbol_list_worker): Constify local variable "block".
2221 Remove cast which is no longer necessary.
2223 2014-02-10 Doug Evans <xdje42@gmail.com>
2225 Add Guile as an extension language.
2226 * NEWS: Mention Guile scripting.
2227 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
2228 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
2229 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
2230 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
2231 (CLIBS): Add GUILE_LIBS.
2232 (install-guile): New rule.
2233 (guile.o): New rule.
2234 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
2235 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
2236 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
2237 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
2238 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
2239 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
2240 (scm-type.o, scm-utils.o, scm-value.o): New rules.
2241 * configure.ac: New option --with-guile.
2242 * configure: Regenerate.
2243 * config.in: Regenerate.
2244 * auto-load.c: Remove #include "python/python.h". Add #include
2245 "gdb/section-scripts.h".
2246 (source_section_scripts): Handle Guile scripts.
2247 (_initialize_auto_load): Add name of Guile objfile script to
2248 scripts-directory help text.
2249 * breakpoint.c (condition_command): Tweak comment to include Scheme.
2250 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
2251 (struct breakpoint): New member scm_bp_object.
2252 * defs.h (enum command_control_type): New value guile_control.
2253 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
2255 (show_user): Update comment.
2256 (_initialize_cli_cmds): Update help text for "show user". Update help
2257 text for max-user-call-depth.
2258 * cli/cli-script.c: Remove #include "python/python.h". Add #include
2260 (multi_line_command_p): Add guile_control.
2261 (print_command_lines): Handle guile_control.
2262 (execute_control_command, recurse_read_control_structure): Ditto.
2263 (process_next_line): Recognize "guile" commands.
2264 * disasm.c (gdb_disassemble_info): Make non-static.
2265 * disasm.h: #include "dis-asm.h".
2266 (struct gdbarch): Add forward decl.
2267 (gdb_disassemble_info): Declare.
2268 * extension.c: #include "guile/guile.h".
2269 (extension_languages): Add guile.
2270 (get_ext_lang_defn): Handle EXT_LANG_GDB.
2271 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
2272 * gdbtypes.c (get_unsigned_type_max): New function.
2273 (get_signed_type_minmax): New function.
2274 * gdbtypes.h (get_unsigned_type_max): Declare.
2275 (get_signed_type_minmax): Declare.
2276 * guile/README: New file.
2277 * guile/guile-internal.h: New file.
2278 * guile/guile.c: New file.
2279 * guile/guile.h: New file.
2280 * guile/scm-arch.c: New file.
2281 * guile/scm-auto-load.c: New file.
2282 * guile/scm-block.c: New file.
2283 * guile/scm-breakpoint.c: New file.
2284 * guile/scm-disasm.c: New file.
2285 * guile/scm-exception.c: New file.
2286 * guile/scm-frame.c: New file.
2287 * guile/scm-gsmob.c: New file.
2288 * guile/scm-iterator.c: New file.
2289 * guile/scm-lazy-string.c: New file.
2290 * guile/scm-math.c: New file.
2291 * guile/scm-objfile.c: New file.
2292 * guile/scm-ports.c: New file.
2293 * guile/scm-pretty-print.c: New file.
2294 * guile/scm-safe-call.c: New file.
2295 * guile/scm-string.c: New file.
2296 * guile/scm-symbol.c: New file.
2297 * guile/scm-symtab.c: New file.
2298 * guile/scm-type.c: New file.
2299 * guile/scm-utils.c: New file.
2300 * guile/scm-value.c: New file.
2301 * guile/lib/gdb.scm: New file.
2302 * guile/lib/gdb/boot.scm: New file.
2303 * guile/lib/gdb/experimental.scm: New file.
2304 * guile/lib/gdb/init.scm: New file.
2305 * guile/lib/gdb/iterator.scm: New file.
2306 * guile/lib/gdb/printing.scm: New file.
2307 * guile/lib/gdb/types.scm: New file.
2308 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
2309 (VPATH): Add $(GUILE_SRCDIR).
2310 (GUILE_DIR): New variable.
2311 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
2312 (all): Add stamp-guile dependency.
2313 (stamp-guile): New rule.
2314 (clean-guile, install-guile, uninstall-guile): New rules.
2315 (install-only): Add install-guile dependency.
2316 (uninstall): Add uninstall-guile dependency.
2317 (clean): Add clean-guile dependency.
2319 2014-02-09 Doug Evans <xdje42@gmail.com>
2321 Revert this patch (which I approved, mea culpa).
2323 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2325 * Makefile.in (all-lib): Remove.
2326 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2328 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2330 Fix Python stack corruption.
2331 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
2334 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2336 * Makefile.in (all-lib): Remove.
2337 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2339 2014-02-07 Doug Evans <dje@google.com>
2341 * extension-priv.h (extension_language_script_ops): Add comment.
2342 (extension_language_ops): Add comment.
2343 (active_ext_lang_state): Fix typo in comment.
2345 2014-02-07 Pedro Alves <palves@redhat.com>
2347 * infrun.c (handle_signal_stop) <signal arrives while stepping
2348 over a breakpoint>: Switch back to the stepping thread.
2350 2014-02-07 Yao Qi <yao@codesourcery.com>
2352 * target.c (target_xfer_partial): Return zero if LEN is zero.
2354 2014-02-07 Yao Qi <yao@codesourcery.com>
2356 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
2357 (ld_so_xfer_auxv): Likewise.
2358 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2359 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2360 * corelow.c (core_xfer_partial): Likewise.
2361 * ctf.c (ctf_xfer_partial): Likewise.
2362 * darwin-nat.c (darwin_read_dyld_info): Likewise.
2363 (darwin_xfer_partial): Likewise.
2364 * exec.c (exec_xfer_partial): Likewise.
2365 * gnu-nat.c (gnu_xfer_partial): Likewise.
2366 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
2367 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2368 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2369 * linux-nat.c (linux_xfer_siginfo): Likewise.
2370 (linux_proc_xfer_spu): Likewise.
2371 * procfs.c (procfs_xfer_partial): Likewise.
2372 * record-full.c (record_full_xfer_partial): Likewise.
2373 (record_full_core_xfer_partial): Likewise.
2374 * remote-sim.c (gdbsim_xfer_partial): Likewise.
2375 * remote.c (remote_write_qxfer): Likewise.
2376 (remote_write_qxfer, remote_read_qxfer): Likewise.
2377 (remote_xfer_partial): Likewise.
2378 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2379 (rs6000_xfer_shared_libraries): Likewise.
2380 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2381 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2382 (spu_xfer_partial): Likewise.
2383 * target.c (memory_xfer_partial_1): Likewise.
2384 * tracepoint.c (tfile_xfer_partial): Likewise.
2385 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
2386 (windows_xfer_partial): Likewise.
2388 2014-02-07 Yao Qi <yao@codesourcery.com>
2390 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
2392 (core_xfer_shared_libraries_aix): Likewise.
2393 * gdbarch.c, gdbarch.h: Regenerated.
2394 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
2395 ULONGEST. Change 'len_avail' type to ULONGEST.
2396 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
2397 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
2399 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
2401 2014-02-07 Yao Qi <yao@codesourcery.com>
2403 * corefile.c (memory_error): Get 'exception' from ERR and pass
2404 'exception' to throw_error.
2406 2014-02-06 Doug Evans <xdje42@gmail.com>
2408 * configure.ac (libpython checking): Remove all but python.o from
2409 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
2410 * configure: Regenerate.
2412 * Makefile.in (SFILES): Add extension.c.
2413 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
2414 (COMMON_OBS): Add extension.o.
2415 * extension.h: New file.
2416 * extension-priv.h: New file.
2417 * extension.c: New file.
2419 * python/python-internal.h: #include "extension.h".
2420 (gdbpy_auto_load_enabled): Declare.
2421 (gdbpy_apply_val_pretty_printer): Declare.
2422 (gdbpy_apply_frame_filter): Declare.
2423 (gdbpy_preserve_values): Declare.
2424 (gdbpy_breakpoint_cond_says_stop): Declare.
2425 (gdbpy_breakpoint_has_cond): Declare.
2426 (void source_python_script_for_objfile): Delete.
2427 * python/python.c: #include "extension-priv.h".
2428 Delete inclusion of "observer.h".
2429 (extension_language_python): Moved here and renamed from
2430 script_language_python in py-auto-load.c.
2431 Redefined to be of type extension_language_defn.
2432 (python_extension_script_ops): New global.
2433 (python_extension_ops): New global.
2434 (struct python_env): New member previous_active.
2435 (restore_python_env): Call restore_active_ext_lang.
2436 (ensure_python_env): Call set_active_ext_lang.
2437 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
2439 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
2441 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
2443 (gdbpy_eval_from_control_command): Renamed from
2444 eval_python_from_control_command, made static. New arg extlang.
2445 (gdbpy_source_script) Renamed from source_python_script, made static.
2447 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
2448 result to int. New arg extlang.
2449 (gdbpy_source_objfile_script): Renamed from
2450 source_python_script_for_objfile, made static. New arg extlang.
2451 (gdbpy_start_type_printers): Renamed from start_type_printers, made
2452 static. New args extlang, extlang_printers. Change result type to
2454 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
2455 static. New arg extlang. Rename arg printers to extlang_printers
2456 and change type to ext_lang_type_printers *.
2457 (gdbpy_free_type_printers): Renamed from free_type_printers, made
2458 static. Replace argument arg with extlang, extlang_printers.
2459 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
2460 (!HAVE_PYTHON, source_python_script): Delete.
2461 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
2462 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
2463 (!HAVE_PYTHON, start_type_printers): Delete.
2464 (!HAVE_PYTHON, apply_type_printers): Delete.
2465 (!HAVE_PYTHON, free_type_printers): Delete.
2466 (_initialize_python): Delete call to observer_attach_before_prompt.
2467 (finalize_python): Set/restore active extension language.
2468 (gdbpy_finish_initialization) Renamed from
2469 finish_python_initialization, made static. New arg extlang.
2470 (gdbpy_initialized): New function.
2471 * python/python.h: #include "extension.h". Delete #include
2472 "value.h", "mi/mi-cmds.h".
2473 (extension_language_python): Declare.
2474 (GDBPY_AUTO_FILE_NAME): Delete.
2475 (enum py_bt_status): Moved to extension.h and renamed to
2477 (enum frame_filter_flags): Moved to extension.h.
2478 (enum py_frame_args): Moved to extension.h and renamed to
2479 ext_lang_frame_args.
2480 (finish_python_initialization): Delete.
2481 (eval_python_from_control_command): Delete.
2482 (source_python_script): Delete.
2483 (apply_val_pretty_printer): Delete.
2484 (apply_frame_filter): Delete.
2485 (preserve_python_values): Delete.
2486 (gdbpy_script_language_defn): Delete.
2487 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
2488 (start_type_printers, apply_type_printers, free_type_printers): Delete.
2490 * auto-load.c: #include "extension.h".
2491 (GDB_AUTO_FILE_NAME): Delete.
2492 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
2493 (script_language_gdb): Delete, moved to extension.c and renamed to
2494 extension_language_gdb.
2495 (source_gdb_script_for_objfile): Delete.
2496 (auto_load_pspace_info): New member unsupported_script_warning_printed.
2497 (loaded_script): Change type of language member to
2498 struct extension_language_defn *.
2499 (init_loaded_scripts_info): Initialize
2500 unsupported_script_warning_printed.
2501 (maybe_add_script): Make static. Change type of language arg to
2502 struct extension_language_defn *.
2503 (clear_section_scripts): Reset unsupported_script_warning_printed.
2504 (auto_load_objfile_script_1): Rewrite to use extension language API.
2505 (auto_load_objfile_script): Make public. Remove support-compiled-in
2506 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
2507 (source_section_scripts): Rewrite to use extension language API.
2508 (load_auto_scripts_for_objfile): Rewrite to use
2509 auto_load_scripts_for_objfile.
2510 (collect_matching_scripts_data): Change type of language member to
2511 struct extension_language_defn *.
2512 (auto_load_info_scripts): Change type of language arg to
2513 struct extension_language_defn *.
2514 (unsupported_script_warning_print): New function.
2515 (script_not_found_warning_print): Make static.
2516 (_initialize_auto_load): Rewrite construction of scripts-directory
2518 * auto-load.h (struct objfile): Add forward decl.
2519 (struct script_language): Delete.
2520 (struct auto_load_pspace_info): Add forward decl.
2521 (struct extension_language_defn): Add forward decl.
2522 (maybe_add_script): Delete.
2523 (auto_load_objfile_script): Declare.
2524 (script_not_found_warning_print): Delete.
2525 (auto_load_info_scripts): Update prototype.
2526 (auto_load_gdb_scripts_enabled): Declare.
2527 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
2528 auto_load_python_scripts_enabled and made public.
2529 (script_language_python): Delete, moved to python.c.
2530 (gdbpy_script_language_defn): Delete.
2531 (info_auto_load_python_scripts): Update to use
2532 extension_language_python.
2534 * breakpoint.c (condition_command): Replace call to
2535 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
2536 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
2537 with call to breakpoint_ext_lang_cond_says_stop.
2538 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
2539 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
2540 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
2541 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
2543 (local_setattro): Print name of extension language with existing
2546 * valprint.c (val_print, value_print): Update to call
2547 apply_ext_lang_val_pretty_printer.
2548 * cp-valprint.c (cp_print_value): Update call to
2549 apply_ext_lang_val_pretty_printer.
2550 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
2551 (gdbpy_apply_val_pretty_printer): Renamed from
2552 apply_val_pretty_printer. New arg extlang.
2553 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
2555 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
2556 extension language API.
2557 * cli/cli-script.c (execute_control_command): Update to call
2558 eval_ext_lang_from_control_command.
2560 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
2561 enum ext_lang_bt_status values. Update call to
2562 apply_ext_lang_frame_filter.
2563 (mi_cmd_stack_list_locals): Ditto.
2564 (mi_cmd_stack_list_args): Ditto.
2565 (mi_cmd_stack_list_variables): Ditto.
2566 * mi/mi-main.c: Delete #include "python/python-internal.h".
2567 Add #include "extension.h".
2568 (mi_cmd_list_features): Replace reference to python internal variable
2569 gdb_python_initialized with call to ext_lang_initialized_p.
2571 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
2572 Update to use enum ext_lang_frame_args. Update to call
2573 apply_ext_lang_frame_filter.
2574 * python/py-framefilter.c (extract_sym): Update to use enum
2576 (extract_value, py_print_type, py_print_value): Ditto.
2577 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
2578 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
2579 (py_print_frame): Ditto.
2580 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
2581 New arg extlang. Update to use enum ext_lang_bt_status.
2583 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
2584 finish_python_initialization. Replace with call to
2585 finish_ext_lang_initialization.
2587 * typeprint.c (do_free_global_table): Update to call
2588 free_ext_lang_type_printers.
2589 (create_global_typedef_table): Update to call
2590 start_ext_lang_type_printers.
2591 (find_global_typedef): Update to call apply_ext_lang_type_printers.
2592 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
2593 (type_print_options): Change type of global_printers from "void *"
2594 to "struct ext_lang_type_printers *".
2596 * value.c (preserve_values): Update to call preserve_ext_lang_values.
2597 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
2598 (gdbpy_preserve_values): Renamed from preserve_python_values.
2600 (!HAVE_PYTHON, preserve_python_values): Delete.
2602 * utils.c (quit_flag): Delete, moved to extension.c.
2603 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
2606 * eval.c: Delete #include "python/python.h".
2607 * main.c: Delete #include "python/python.h".
2609 * defs.h: Update comment.
2611 2014-02-06 Joel Brobecker <brobecker@adacore.com>
2615 2014-02-05 Mark Kettenis <kettenis@gnu.org>
2617 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
2620 2014-02-05 Yao Qi <yao@codesourcery.com>
2622 * remote.c (remote_pass_signals): Remove local 'buf' and use
2624 (remote_program_signals): Likewise.
2626 2014-02-05 Yao Qi <yao@codesourcery.com>
2628 * ctf.c: Include "inferior.h" and "gdbthread.h".
2629 (CTF_PID): A new macro.
2630 (ctf_open): Call inferior_appeared and add_thread_silent.
2631 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
2632 (ctf_thread_alive): New function.
2633 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
2635 2014-02-05 Yao Qi <yao@codesourcery.com>
2639 2013-05-24 Yao Qi <yao@codesourcery.com>
2641 * tracepoint.c (TFILE_PID): Remove.
2642 (tfile_open): Don't add thread and inferior.
2643 (tfile_close): Don't set 'inferior_ptid'. Don't call
2644 exit_inferior_silent.
2645 (tfile_thread_alive): Remove.
2646 (init_tfile_ops): Don't set field 'to_thread_alive' of
2649 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
2651 * remote.c (remote_start_remote): Call remote_check_symbols even
2652 if only symbol-file (not file) has been given.
2654 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2656 * gdbarch.sh (skip_entrypoint): New callback.
2657 * gdbarch.c, gdbarch.h: Regenerate.
2658 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
2659 * infrun.c (fill_in_stop_func): Likewise.
2660 * ppc-linux-tdep.c: Include "elf/ppc64.h".
2661 (ppc_elfv2_elf_make_msymbol_special): New function.
2662 (ppc_elfv2_skip_entrypoint): Likewise.
2663 (ppc_linux_init_abi): Install them for ELFv2.
2665 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2667 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
2668 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
2669 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
2670 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
2671 structures returned in GPRs.
2673 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2675 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
2676 offset to the stack parameter list for the ELFv2 ABI.
2678 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2680 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
2681 set_gdbarch_convert_from_func_ptr_addr and
2682 set_gdbarch_elf_make_msymbol_special for ELFv1.
2683 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
2684 function descriptors on ELFv1.
2685 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
2686 set up r12 at function entry.
2688 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2690 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
2691 (struct gdbarch_tdep): New member elf_abi.
2693 * rs6000-tdep.c: Include "elf/ppc64.h".
2694 (rs6000_gdbarch_init): Detect ELF ABI version.
2696 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2698 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
2699 within a register pair holding a DFP 128-bit value on little-endian.
2700 (ppc64_sysv_abi_return_value_base): Likewise.
2701 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
2702 (dfp_pseudo_register_write): Likewise.
2704 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2706 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
2707 offset on little-endian when passing _Decimal32.
2708 (ppc64_sysv_abi_return_value_base): Likewise for return values.
2710 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2712 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
2713 of the overlapped FP register within the VSX register on little-
2715 (efpr_pseudo_register_write): Likewise.
2717 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2719 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
2720 offset on little-endian when passing small structures.
2722 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2724 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
2725 (struct ppc64_sysv_argpos): New data structure.
2726 (ppc64_sysv_abi_push_float): Remove.
2727 (ppc64_sysv_abi_push_val): New function.
2728 (ppc64_sysv_abi_push_integer): Likewise.
2729 (ppc64_sysv_abi_push_freg): Likewise.
2730 (ppc64_sysv_abi_push_vreg): Likewise.
2731 (ppc64_sysv_abi_push_param): Likewise.
2732 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
2733 (ppc64_sysv_abi_return_value_base): New function.
2734 (ppc64_sysv_abi_return_value): Refactor to use it.
2736 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2738 * NEWS: Document new target powerpc64le-*-linux*.
2740 2014-02-04 Mark Kettenis <kettenis@gnu.org>
2742 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
2743 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
2745 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
2746 register set used in ELF core dumps. Add floating-point register set.
2748 2014-02-03 Kevin Buettner <kevinb@redhat.com>
2750 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
2751 dwarf2_to_gdb[] table using symbolic constants. Adjust
2752 penultimate entry from number representing the PC register
2753 to symbolic constant representing the MDR register. Add
2754 constant for the PC register to the end of the table.
2756 2014-02-03 Mark Kettenis <kettenis@gnu.org>
2758 * bsd-kvm.c: Include <sys/param.h>
2760 2014-02-03 Mark Kettenis <kettenis@gnu.org>
2762 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
2764 2014-01-31 Joel Brobecker <brobecker@adacore.com>
2766 * ada-lang.h (clear_ada_sym_cache): Delete.
2768 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
2770 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
2772 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2774 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
2775 the sigreturn register save area only if the syscall is
2778 2014-01-29 Joel Brobecker <brobecker@adacore.com>
2780 * valops.c (value_slice): Minor reformatting.
2782 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
2784 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
2786 2014-01-28 Joel Brobecker <brobecker@adacore.com>
2788 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
2790 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
2791 (ada_ignore_descriptive_types_p): New static global.
2792 (find_parallel_type_by_descriptive_type): Return immediately
2793 if ada_ignore_descriptive_types_p is set.
2794 (_initialize_ada_language): Register new commands "maintenance
2795 set ada", "maintenance show ada", "maintenance set ada
2796 ignore-descriptive-types" and "maintenance show ada
2797 ignore-descriptive-types".
2798 * NEWS: Add entry for new "maint ada set/show
2799 ignore-descriptive-types" commands.
2801 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
2803 * record-btrace.c (record_btrace_close): Call btrace_teardown
2806 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2808 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
2811 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2813 * ada-typeprint (type_is_full_subrange_of_target_type):
2815 (print_range): Add parameter bounds_prefered_p. If not set,
2816 try printing range types using the name of their base type.
2817 (print_range_type): Add parameter bounds_prefered_p.
2818 Use it in call to print_range.
2819 (print_array_type, ada_print_type): Update calls to print_range
2820 and print_range_type.
2822 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2824 * ada-typeprint.c (print_array_type, print_choices, print_range)
2825 (print_range_bound, print_dynamic_range_bound, print_range_type):
2828 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2830 * ada-typeprint.c (print_range): Add missing empty line
2831 after local declaration.
2833 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2835 * ada-valprint.c (print_optional_low_bound): Get index_type's
2836 target type for as long as it is a TYPE_CODE_RANGE.
2838 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2840 * procfs.c (procfs_make_note_section): Remove assertion and
2843 2014-01-24 Yao Qi <yao@codesourcery.com>
2845 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
2846 * corelow.c (get_core_siginfo): Likewise.
2848 2014-01-24 Yao Qi <yao@codesourcery.com>
2850 * remote.c (remote_write_bytes_aux): Change type of 'len' to
2851 ULONGEST. Don't check 'len' is negative.
2852 (remote_write_bytes): Change type of 'len' to ULONGEST.
2854 2014-01-23 Tom Tromey <tromey@redhat.com>
2857 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
2858 Handle exception from frame.block.
2859 (FrameVars.fetch_frame_locals): Likewise.
2861 2014-01-23 Tom Tromey <tromey@redhat.com>
2864 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
2865 on a NULL pointer. Move "goto error" to correct place.
2867 2014-01-23 Tom Tromey <tromey@redhat.com>
2870 * python/py-framefilter.c (apply_frame_filter): Call
2871 ensure_python_env after computing gdbarch.
2873 2014-01-23 Yao Qi <yao@codesourcery.com>
2875 * target.c (raw_memory_xfer_partial): Change argument type
2876 from void * to gdb_byte *.
2877 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
2879 2014-01-22 Doug Evans <dje@google.com>
2881 New gdbserver option --debug-format=timestamp.
2884 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2886 * syscalls/s390x-linux.xml: New file.
2887 * syscalls/s390-linux.xml: New file.
2888 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
2889 (XML_SYSCALL_FILENAME_S390X): Likewise.
2890 (op_svc): New enum value for SVC opcode.
2891 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
2892 (s390_linux_get_syscall_number): New function.
2893 (s390_gdbarch_init): Register '*get_syscall_number' and the
2894 syscall xml file name.
2895 * data-directory/Makefile.in (SYSCALLS_FILES): Add
2896 "s390-linux.xml" and "s390x-linux.xml".
2897 * NEWS: Announce new feature.
2899 2014-01-22 Baruch Siach <baruch@tkos.co.il>
2901 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
2903 2014-01-22 Pedro Alves <palves@redhat.com>
2905 * xtensa-config.c: Include defs.h.
2907 2014-01-22 Joel Brobecker <brobecker@adacore.com>
2909 * common/common-utils.h: Add "ARI:" comment beside __func__
2912 2014-01-22 Joel Brobecker <brobecker@adacore.com>
2914 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
2915 documentation a bit.
2917 2014-01-21 Roland McGrath <mcgrathr@google.com>
2919 * configure.ac: Call AM_PROG_INSTALL_STRIP.
2920 * configure: Regenerate.
2921 * aclocal.m4: Regenerate.
2922 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
2923 New substituted variables.
2924 (install-strip): New target.
2925 (INSTALL_SCRIPT): New substituted variable.
2926 (FLAGS_TO_PASS): Add it.
2927 (install-only): Use $(INSTALL_SCRIPT) rather than
2928 $(INSTALL_PROGRAM) for gcore.
2930 2014-01-20 Tom Tromey <tromey@redhat.com>
2932 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
2935 2014-01-20 Tom Tromey <tromey@redhat.com>
2937 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
2938 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
2939 (deprecated_cmd_warning, complete_on_cmdlist): Update.
2940 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
2941 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
2942 (struct cmd_list_element) <flags>: Remove.
2943 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
2944 doc_allocated>: New fields.
2945 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
2947 * maint.c (maintenance_do_deprecate): Update.
2948 * top.c (execute_command): Update.
2950 2014-01-20 Baruch Siach <baruch@tkos.co.il>
2952 * xtensa-linux-nat.c: Include asm/ptrace.h.
2954 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2956 * Makefile.in (SFILES): Add d-support.c.
2957 (COMMON_OBS): Add d-support.o.
2958 * d-lang.h (d_parse_symbol): Add comment, now defined in
2960 * d-lang.c (parse_call_convention)
2961 (parse_attributes, parse_function_types)
2962 (parse_function_args, parse_type, parse_identifier)
2963 (call_convention_p, d_parse_symbol): Move functions to ...
2964 * d-support.c: ... New file.
2966 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2968 * d-lang.h (d_parse_symbol): Add declaration.
2969 * d-lang.c (extract_identifiers)
2970 (extract_type_info): Remove functions.
2971 (parse_call_convention, parse_attributes)
2972 (parse_function_types, parse_function_args)
2973 (parse_type, parse_identifier, call_convention_p)
2974 (d_parse_symbol): New functions.
2975 (d_demangle): Use d_parse_symbol to demangle D symbols.
2977 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2979 * d-lang.h (struct builtin_d_type): New data type.
2980 (builtin_d_type): Add declaration.
2981 * d-lang.c (d_language_arch_info, build_d_types)
2982 (builtin_d_type): New functions.
2983 (enum d_primitive_types): New data type.
2984 (d_language_defn): Change c_language_arch_info to
2985 d_language_arch_info.
2986 (d_type_data): New static variable.
2987 (_initialize_d_language): Initialize d_type_data.
2989 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2991 * d-lang.h (d_main_name): Add declaration.
2992 * d-lang.c (d_main_name): New function.
2993 * symtab.c (find_main_name): Add call to d_main_name.
2995 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2997 * d-lang.c (d_language_defn): Change macro_expansion_c to
3000 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3002 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3004 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3006 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3007 gdb_exception" declaration.
3008 * remote.c (getpkt_or_notif_sane): Likewise.
3010 2014-01-17 Doug Evans <dje@google.com>
3012 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3013 function, contents of dirnames_to_char_ptr_vec_append moved here.
3014 (delim_string_to_char_ptr_vec): New function.
3015 (dirnames_to_char_ptr_vec_append): Rewrite.
3016 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3018 2014-01-17 Doug Evans <dje@google.com>
3020 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3022 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3023 #include "common-utils.h".
3024 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3025 * common/vec.h (VEC_ASSERT_PASS): Update.
3026 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3027 (MACH_CHECK_ERROR): Update.
3029 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3031 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3033 * gdbarch.h: Regenerate.
3035 2014-01-16 Tom Tromey <tromey@redhat.com>
3037 * value.c (struct value) <regnum>: Move earlier.
3039 2014-01-16 Tom Tromey <tromey@redhat.com>
3041 * remote.c (extended_remote_create_inferior): Rename from
3042 extended_remote_create_inferior_1. Add "ops" argument. Remove
3045 2014-01-16 Pedro Alves <palves@redhat.com>
3047 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3048 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3051 2014-01-16 Doug Evans <dje@google.com>
3053 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3055 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3057 * btrace.h (btrace_thread_flag): New.
3058 (struct btrace_thread_info) <flags>: New.
3059 * record-btrace.c (record_btrace_resume_thread)
3060 (record_btrace_find_thread_to_move, btrace_step_no_history)
3061 (btrace_step_stopped, record_btrace_start_replaying)
3062 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3063 (record_btrace_find_resume_thread): New.
3064 (record_btrace_resume, record_btrace_wait): Extend.
3065 (record_btrace_can_execute_reverse): New.
3066 (record_btrace_open): Fail in non-stop mode.
3067 (record_btrace_set_replay): Split into this, ...
3068 (record_btrace_stop_replaying): ... this, ...
3069 (record_btrace_clear_histories): ... and this.
3070 (init_record_btrace_ops): Init to_can_execute_reverse.
3071 * NEWS: Announce it.
3073 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3075 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3076 (forward_target_decr_pc_after_break)
3077 (target_decr_pc_after_break): New.
3078 * target.c (forward_target_decr_pc_after_break)
3079 (target_decr_pc_after_break): New.
3080 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3081 instead of gdbarch_decr_pc_after_break.
3082 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3083 instead of gdbarch_decr_pc_after_break.
3084 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3085 instead of gdbarch_decr_pc_after_break.
3086 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3087 instead of gdbarch_decr_pc_after_break.
3088 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3089 instead of gdbarch_decr_pc_after_break.
3090 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3091 instead of gdbarch_decr_pc_after_break.
3093 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3095 * btrace.c: Include regcache.h.
3096 (btrace_add_pc): New.
3097 (btrace_enable): Call btrace_add_pc.
3098 (btrace_is_empty): New.
3099 * btrace.h (btrace_is_empty): New.
3100 * record-btrace.c (require_btrace, record_btrace_info): Call
3103 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3105 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3106 Support delta reads.
3107 (linux_disable_btrace): Change return type.
3108 * common/linux-btrace.h (linux_read_btrace): Change parameters
3109 and return type to allow error reporting. Update users.
3110 (linux_disable_btrace): Change return type. Update users.
3111 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3113 (btrace_error): New.
3114 (btrace_block) <begin>: Comment on BEGIN == 0.
3115 * btrace.c (btrace_compute_ftrace): Start from the end of
3117 (btrace_stitch_trace, btrace_clear_history): New.
3118 (btrace_fetch): Read delta trace, return if replaying.
3119 (btrace_clear): Move clear history code to btrace_clear_history.
3120 (parse_xml_btrace): Throw an error if parsing failed.
3121 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3122 and return type to allow error reporting.
3123 (target_read_btrace): Change parameters and return type to allow
3125 * target.c (target_read_btrace): Update.
3126 * remote.c (remote_read_btrace): Support delta reads. Pass
3128 * NEWS: Announce it.
3130 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3132 * record.h (record_btrace_frame_unwind)
3133 (record_btrace_tailcall_frame_unwind): New declarations.
3134 * dwarf2-frame: Include record.h
3135 (dwarf2_frame_cfa): Throw an error for btrace frames.
3136 * record-btrace.c: Include hashtab.h.
3137 (btrace_get_bfun_name): New.
3138 (btrace_call_history): Call btrace_get_bfun_name.
3139 (struct btrace_frame_cache): New.
3141 (bfcache_hash, bfcache_eq, bfcache_new): New.
3142 (btrace_get_frame_function): New.
3143 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3144 (record_btrace_frame_this_id): Compute own id.
3145 (record_btrace_frame_prev_register): Provide PC, throw_error
3146 for all other registers.
3147 (record_btrace_frame_sniffer): Detect btrace frames.
3148 (record_btrace_tailcall_frame_sniffer): New.
3149 (record_btrace_frame_dealloc_cache): New.
3150 (record_btrace_frame_unwind): Add new functions.
3151 (record_btrace_tailcall_frame_unwind): New.
3152 (_initialize_record_btrace): Allocate cache.
3153 * btrace.c (btrace_clear): Call reinit_frame_cache.
3154 * NEWS: Announce it.
3156 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3158 * record-btrace.c (record_btrace_set_replay)
3159 (record_btrace_goto_begin, record_btrace_goto_end)
3160 (record_btrace_goto): New.
3161 (init_record_btrace_ops): Initialize them.
3162 * NEWS: Announce it.
3164 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3166 * record-btrace.c (record_btrace_find_new_threads)
3167 (record_btrace_thread_alive): New.
3168 (init_record_btrace_ops): Initialize to_find_new_threads and
3171 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3173 * record-btrace.c (record_btrace_resume): New.
3174 (record_btrace_wait): New.
3175 (init_record_btrace_ops): Initialize to_wait and to_resume.
3177 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3179 * record-btrace.c (record_btrace_xfer_partial)
3180 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3181 (record_btrace_allow_memory_access): New.
3182 (init_record_btrace_ops): Initialize new methods.
3183 * target.c (raw_memory_xfer_partial): Bail out if target reports
3184 that this memory is not available.
3186 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3188 * target.h (target_ops) <to_insert_breakpoint>
3189 <to_remove_breakpoint>: Add target_ops parameter.
3190 (forward_target_insert_breakpoint): New.
3191 (forward_target_remove_breakpoint): New.
3192 (memory_remove_breakpoint, memory_insert_breakpoint):
3193 Add target_ops parameter.
3194 * target.c (target_insert_breakpoint): Split into this and ...
3195 (forward_target_insert_breakpoint): ... this.
3196 (target_remove_breakpoint): Split into this and ...
3197 (forward_target_remove_breakpoint): ... this.
3198 (debug_to_insert_breakpoint): Add target_ops parameter.
3199 Call forward_target_insert_breakpoint.
3200 (debug_to_remove_breakpoint): Add target_ops parameter.
3201 Call forward_target_remove_breakpoint.
3202 (update_current_target): Do not inherit or default to_insert_breakpoint
3203 and to_remove_breakpoint.
3204 * corelow.c (ignore): Add target_ops parameter.
3205 * exec.c (ignore): Add target_ops parameter.
3206 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3207 Add target_ops parameter.
3208 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3209 Add target_ops parameter.
3210 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3211 Add target_ops parameter.
3212 * record-full.c (record_full_beneath_to_insert_breakpoint)
3213 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3214 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3215 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
3216 (record_full_core_remove_breakpoint): Add target_ops parameter.
3218 (record_full_beneath_to_insert_breakpoint_ops)
3219 (record_full_beneath_to_remove_breakpoint_ops)
3220 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
3221 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
3222 tmp_to_remove_breakpoint_ops,
3223 record_full_beneath_to_insert_breakpoint_ops, and
3224 record_full_beneath_to_remove_breakpoint_ops.
3225 * remote-m32r-sdi.c (m32r_insert_breakpoint)
3226 (m32r_remove_breakpoint): Add target_ops parameter.
3227 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
3228 Add target_ops parameter.
3229 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
3230 Add target_ops parameter.
3232 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3233 Markus Metzger <markus.t.metzger@intel.com>
3235 * record-btrace.c: Include frame-unwind.h.
3236 (record_btrace_frame_unwind_stop_reason)
3237 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
3238 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
3240 (init_record_btrace_ops): Install it.
3242 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3244 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
3247 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3249 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
3252 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3254 * frame-unwind.c: Include target.h.
3255 (frame_unwind_try_unwinder): New function with code from ...
3256 (frame_unwind_find_by_frame): ... here. New variable
3257 unwinder_from_target, call also target_get_unwinder)
3258 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
3259 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
3260 * target.h (struct target_ops): New fields to_get_unwinder and
3261 to_get_tailcall_unwinder.
3262 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
3264 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3266 * record-btrace.c (record_btrace_fetch_registers)
3267 (record_btrace_store_registers)
3268 (record_btrace_to_prepare_to_store): New.
3269 (init_record_btrace_ops): Add the above.
3271 2014-01-16 Tom Tromey <tromey@redhat.com>
3273 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
3274 * target.h (struct target_ops) <to_prepare_to_store>: Add
3276 (target_prepare_to_store): Add argument.
3277 * target.c (debug_to_prepare_to_store): Add argument.
3278 (update_current_target): Update.
3279 * remote.c (remote_prepare_to_store): Add 'self' argument.
3280 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
3281 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
3282 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
3283 * record-full.c (record_full_core_prepare_to_store): Add 'self'
3285 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
3286 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
3287 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
3288 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
3289 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
3291 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3293 * btrace.h (replay) <replay>: New.
3294 (btrace_is_replaying): New.
3295 * btrace.c (btrace_clear): Free replay iterator.
3296 (btrace_is_replaying): New.
3297 * record-btrace.c (record_btrace_is_replaying): New.
3298 (record_btrace_info): Print insn number if replaying.
3299 (record_btrace_insn_history): Start at replay position.
3300 (record_btrace_call_history): Start at replay position.
3301 (init_record_btrace_ops): Init to_record_is_replaying.
3303 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3305 * record-btrace.c (record_btrace_insn_history_range): Include
3307 (record_btrace_insn_history_from): Adjust range.
3308 (record_btrace_call_history_range): Include
3310 (record_btrace_call_history_from): Adjust range.
3311 * NEWS: Announce changes.
3313 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3315 * record.h (enum record_print_flag)
3316 <record_print_indent_calls>: New.
3317 * record.c (get_call_history_modifiers): Recognize /c modifier.
3318 (_initialize_record): Document /c modifier.
3319 * record-btrace.c (btrace_call_history): Add btinfo parameter.
3320 Reorder fields. Optionally indent the function name. Update
3322 * NEWS: Announce changes.
3324 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3326 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
3328 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3330 * btrace.c (ftrace_new_function): Start counting at one.
3331 * record-btrace.c (record_btrace_info): Adjust number of calls
3333 * NEWS: Announce it.
3335 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3337 * record-btrace.c (btrace_call_history_insn_range): Print
3338 insn range as [begin, end].
3340 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3342 * btrace.h (struct btrace_func_link): New.
3343 (enum btrace_function_flag): New.
3344 (struct btrace_inst): Rename to ...
3345 (struct btrace_insn): ...this. Update all users.
3346 (struct btrace_func) <ibegin, iend>: Remove.
3347 (struct btrace_func_link): New.
3348 (struct btrace_func): Rename to ...
3349 (struct btrace_function): ...this. Update all users.
3350 (struct btrace_function) <segment, flow, up, insn, insn_offset)
3351 (number, level, flags>: New.
3352 (struct btrace_insn_iterator): Rename to ...
3353 (struct btrace_insn_history): ...this.
3355 (struct btrace_insn_iterator, btrace_call_iterator): New.
3356 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
3357 (struct btrace_target_info) <begin, end, level>
3358 <insn_history, call_history>: New.
3359 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3360 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3361 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3362 (btrace_call_number, btrace_call_begin, btrace_call_end)
3363 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3364 (btrace_find_function_by_number, btrace_set_insn_history)
3365 (btrace_set_call_history): New.
3366 * btrace.c (btrace_init_insn_iterator)
3367 (btrace_init_func_iterator, compute_itrace): Remove.
3368 (ftrace_print_function_name, ftrace_print_filename)
3369 (ftrace_skip_file): Change
3371 (ftrace_init_func): Remove.
3372 (ftrace_debug): Use new btrace_function fields.
3373 (ftrace_function_switched): Also consider gaining and
3374 losing symbol information).
3375 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
3376 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
3377 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
3379 (ftrace_new_function): Move. Remove debug print.
3380 (ftrace_update_lines, ftrace_update_insns): New.
3381 (ftrace_update_function): Check for call, ret, and jump.
3382 (compute_ftrace): Renamed to ...
3383 (btrace_compute_ftrace): ...this. Rewritten to compute call
3385 (btrace_fetch, btrace_clear): Updated.
3386 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3387 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3388 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3389 (btrace_call_number, btrace_call_begin, btrace_call_end)
3390 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3391 (btrace_find_function_by_number, btrace_set_insn_history)
3392 (btrace_set_call_history): New.
3393 * record-btrace.c (require_btrace): Use new btrace thread
3395 (record_btrace_info, btrace_insn_history)
3396 (record_btrace_insn_history, record_btrace_insn_history_range):
3397 Use new btrace thread info fields and new iterator.
3398 (btrace_func_history_src_line): Rename to ...
3399 (btrace_call_history_src_line): ...this. Use new btrace
3401 (btrace_func_history): Rename to ...
3402 (btrace_call_history): ...this. Use new btrace thread info
3403 fields and new iterator.
3404 (record_btrace_call_history, record_btrace_call_history_range):
3405 Use new btrace thread info fields and new iterator.
3407 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3409 * frame.h (frame_id_build_unavailable_stack_special): New.
3410 * frame.c (frame_id_build_unavailable_stack_special): New.
3412 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3414 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
3415 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
3416 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
3418 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
3419 (i386_insn_is_jump, i386_jmp_p): New.
3420 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
3421 insn_is_jump to gdbarch.
3422 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
3423 * gdbarch.h: Regenerated.
3424 * gdbarch.c: Regenerated.
3425 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
3426 (default_insn_is_jump): New.
3427 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
3428 (default_insn_is_jump): New.
3430 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3432 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
3434 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
3435 (btrace_read_type) <btrace_read_new>: Change to ...
3436 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
3438 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3440 * common/linux-btrace.c (linux_read_btrace): Free trace from
3443 2014-01-15 Doug Evans <dje@google.com>
3445 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
3448 2014-01-15 Tom Tromey <tromey@redhat.com>
3450 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
3451 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
3452 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
3453 (set_objfile_main_name): New function.
3454 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
3455 language_of_main>: New fields.
3456 (set_objfile_main_name): Declare.
3457 * symtab.c (find_main_name): Loop over objfiles to find the main
3459 (set_main_name): Now static.
3460 (get_main_info): Add comment.
3461 * symtab.h (set_main_name): Don't declare.
3463 2014-01-15 Tom Tromey <tromey@redhat.com>
3465 * symtab.c (main_progspace_key): New global.
3466 (struct main_info): New.
3467 (name_of_main, language_of_main): Remove.
3468 (get_main_info, main_info_cleanup): New function.
3469 (set_main_name, main_name, main_language): Use get_main_info.
3470 (_initialize_symtab): Initialize main_progspace_key.
3472 2014-01-15 Tom Tromey <tromey@redhat.com>
3474 * dbxread.c (process_one_symbol): Update.
3475 * dwarf2read.c (read_partial_die): Update.
3476 * symfile.c (set_initial_language): Call main_language.
3477 * symtab.c (language_of_main): Now static.
3478 (set_main_name): Add 'lang' parameter.
3479 (find_main_name): Update.
3480 (main_language): New function.
3481 (symtab_observer_executable_changed): Update.
3482 * symtab.h (set_main_name): Update.
3483 (language_of_main): Remove.
3484 (main_language): Declare.
3486 2014-01-15 Tom Tromey <tromey@redhat.com>
3488 * symfile.c (init_entry_point_info): Use new "initialized" field.
3490 * objfiles.h (struct entry_point) <initialized>: New field.
3491 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
3492 (struct objfile) <ei>: ...here. Remove.
3493 * objfiles.c (entry_point_address_query): Update.
3495 2014-01-15 Tom Tromey <tromey@redhat.com>
3497 * objfiles.c (entry_point_address_query): Relocate entry point
3499 (objfile_relocate1): Do not relocate entry point address.
3500 * objfiles.h (struct entry_info) <entry_point>: Update comment.
3501 <the_bfd_section_index>: New field.
3502 * symfile.c (init_entry_point_info): Find the entry point's
3505 2014-01-15 Tom Tromey <tromey@redhat.com>
3507 * solib-frv.c (enable_break): Use entry_point_address_query.
3509 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3511 * NEWS: Add note on improved process record-replay on
3512 arm*-linux* targets.
3514 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3516 * arm-tdep.c (enum arm_record_result): New enum.
3517 (arm_record_unsupported_insn): New function.
3518 (arm_record_coproc_data_proc): Removed.
3519 (thumb2_record_ld_st_multiple): New function.
3520 (thumb2_record_ld_st_dual_ex_tbb): New function.
3521 (thumb2_record_data_proc_sreg_mimm): New function.
3522 (thumb2_record_ps_dest_generic): New function.
3523 (thumb2_record_branch_misc_cntrl): New function.
3524 (thumb2_record_str_single_data): New function.
3525 (thumb2_record_ld_mem_hints): New function.
3526 (thumb2_record_ld_word): New function.
3527 (thumb2_record_lmul_lmla_div): New function.
3528 (thumb2_record_decode_insn_handler): New function.
3529 (decode_insn): Add thumb32 instruction handlers.
3531 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3533 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
3534 (struct arm_linux_record_tdep): Declare.
3535 (arm_canonicalize_syscall): New function.
3536 (arm_all_but_pc_registers_record): New function.
3537 (arm_linux_syscall_record): New function.
3538 (arm_linux_init_abi): Add syscall recording constructs.
3539 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
3540 decoding. (arm_record_coproc_data_proc): Update arm syscall
3542 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
3543 <arm_syscall_record>: New field.
3544 * configure.tgt (arm*-*-linux*): Add linux-record.o to
3547 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3549 * arm-tdep.c (thumb_record_misc): Update to use sp as base
3550 register for push instruction recording.
3552 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3554 * arm-tdep.c (thumb_record_misc): Update to correct logical
3555 error while recording ldm, ldmia and pop instructions.
3557 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3559 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
3561 2014-01-15 Pedro Alves <palves@redhat.com>
3563 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
3564 (go32_resume, go32_fetch_registers, store_register)
3565 (go32_store_registers, go32_prepare_to_store)
3566 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
3567 (go32_create_inferior, go32_can_run, go32_terminal_init)
3568 (go32_terminal_inferior, go32_terminal_ours): Delete forward
3571 2014-01-15 Tom Tromey <tromey@redhat.com>
3573 * target.h (async_callback_ftype): New typedef.
3574 (struct target_ops) <to_async>: Use it.
3576 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3578 * python/py-value.c (get_field_type): Remove unnecessary curly
3579 braces for single-statement if block.
3581 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3583 * python/py-type.c (convert_field): Add missing empty line
3586 2014-01-14 Doug Evans <dje@google.com>
3588 * symfile.h (expand_symtabs_matching): Renamed from
3589 expand_partial_symbol_names. Update prototype.
3590 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3591 * symfile.c (expand_symtabs_matching): Renamed from
3592 expand_partial_symbol_names. New args file_matcher, kind.
3593 Rename arg fun to symbol_matcher.
3594 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3595 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
3596 ada_expand_partial_symbol_name.
3597 (ada_make_symbol_completion_list): Update to call
3598 expand_symtabs_matching.
3599 (ada_add_global_exceptions): Call expand_symtabs_matching.
3600 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
3601 call map_symbol_filenames.
3602 * symtab.c (sources_info): Update to call map_symbol_filenames.
3603 (search_symbols): Call expand_symtabs_matching.
3604 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
3605 (default_make_symbol_completion_list_break_on): Update to call
3606 expand_symtabs_matching.
3607 (make_source_files_completion_list): Update to call
3608 map_symbol_filenames.
3610 2014-01-14 Doug Evans <dje@google.com>
3612 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
3613 (expand_symtabs_symbol_matcher_ftype): New typedef.
3614 (quick_symbol_functions.expand_symtabs_matching): Update to use.
3615 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3616 * symfile.c (expand_partial_symbol_names): Update to use
3617 expand_symtabs_symbol_matcher_ftype.
3618 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
3619 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3620 Arg name_matcher renamed to symbol_matcher.
3621 * psymtab.c (recursively_search_psymtabs): Update to use
3622 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
3624 (expand_symtabs_matching_via_partial): Update to use
3625 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3626 Arg name_matcher renamed to symbol_matcher.
3628 2014-01-14 Doug Evans <dje@google.com>
3630 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
3631 (map_partial_symbol_filenames): Ditto.
3632 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
3633 (map_partial_symbol_filenames): Ditto.
3634 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
3635 (map_partial_symbol_filenames): Ditto.
3636 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
3637 (map_partial_symbol_filenames): Ditto.
3638 * symtab.c: Delete #include "psymtab.h".
3640 2014-01-14 Pedro Alves <palves@redhat.com>
3641 Tom Tromey <tromey@redhat.com>
3643 * infrun.c (use_displaced_stepping): Use find_record_target
3644 instead of RECORD_IS_USED.
3645 (adjust_pc_after_break): Use record_full_is_used instead of
3647 * record-btrace.c (record_btrace_open): Call record_preopen
3648 instead of checking RECORD_IS_USED.
3649 * record-full.c (record_full_shortname)
3650 (record_full_core_shortname): New globals.
3651 (record_full_is_used): New function.
3652 (find_full_open): Call record_preopen instead of checking
3654 (init_record_full_ops): Set the target's shortname to
3655 record_full_shortname.
3656 (init_record_full_core_ops): Set the target's shortname to
3657 record_full_core_shortname.
3658 * record-full.h (record_full_is_used): Declare.
3659 * record.c (find_record_target): Make extern.
3660 (record_preopen): New function.
3661 * record.h (RECORD_IS_USED): Delete macro.
3662 (find_record_target, record_preopen): Declare functions.
3664 2014-01-14 Yao Qi <yao@codesourcery.com>
3666 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
3667 'len''s type to ULONGEST.
3668 (core_xfer_shared_libraries_aix): Likewise.
3669 * gdbarch.c, gdbarch.h: Regenerated.
3670 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
3671 Change type of 'len' to ULONGEST.
3672 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3673 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
3675 2014-01-14 Yao Qi <yao@codesourcery.com>
3677 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
3678 type of 'len' to ULONGEST.
3679 (linux_xfer_osdata_processgroups): Likewise.
3680 (linux_xfer_osdata_threads): Likewise.
3681 (linux_xfer_osdata_fds): Likewise.
3682 (linux_xfer_osdata_isockets): Likewise.
3683 (linux_xfer_osdata_shm): Likewise.
3684 (linux_xfer_osdata_sem): Likewise.
3685 (linux_xfer_osdata_msg): Likewise.
3686 (linux_common_xfer_osdata): Likewise.
3687 (struct osdata_type) <getter>: Likewise.
3688 * common/linux-osdata.h (linux_common_xfer_osdata): Update
3691 2014-01-14 Yao Qi <yao@codesourcery.com>
3693 * target.h (target_xfer_partial_ftype): Update.
3694 (struct target_ops) <to_xfer_partial>: Change 'len' type to
3696 * aix-thread.c (aix_thread_xfer_partial): Change type of
3697 argument 'len' to ULONGEST.
3698 * auxv.c (procfs_xfer_auxv): Likewise.
3699 (ld_so_xfer_auxv): Likewise.
3700 (memory_xfer_auxv): Likewise.
3701 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3702 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3703 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
3704 * corelow.c (core_xfer_partial): Likewise.
3705 * ctf.c (ctf_xfer_partial): Likewise.
3706 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
3708 (darwin_read_dyld_info): Likewise.
3709 (darwin_xfer_partial): Likewise.
3710 * exec.c (section_table_xfer_memory_partial): Likewise.
3711 (exec_xfer_partial): Likewise.
3712 * exec.h (section_table_xfer_memory_partial): Update
3714 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
3715 instead of plongest.
3716 (gnu_xfer_partial): Likewise.
3717 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
3718 (ia64_hpux_xfer_solib_got): Likewise.
3719 (ia64_hpux_xfer_partial): Likewise.
3720 * ia64-linux-nat.c (ia64_linux_xfer_partial):
3721 * inf-ptrace.c (inf_ptrace_xfer_partial):
3722 * inf-ttrace.c (inf_ttrace_xfer_partial):
3723 * linux-nat.c (linux_xfer_siginfo): Likewise.
3724 (linux_nat_xfer_partial): Likewise.
3725 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
3726 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
3727 * monitor.c (monitor_xfer_memory): Likewise.
3728 (monitor_xfer_partial): Likewise.
3729 * procfs.c (procfs_xfer_partial): Likewise.
3730 * record-full.c (record_full_xfer_partial): Likewise.
3731 (record_full_core_xfer_partial): Likewise.
3732 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
3733 instead of plongest.
3734 (gdbsim_xfer_partial): Likewise.
3735 * remote.c (remote_xfer_partial): Likewise.
3736 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3737 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3739 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3740 (rs6000_xfer_shared_libraries): Likewise.
3741 * sol-thread.c (sol_thread_xfer_partial): Likewise.
3742 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3743 (sparc_xfer_partial): Likewise.
3744 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3745 (spu_xfer_partial): Likewise.
3746 * spu-multiarch.c (spu_xfer_partial): Likewise.
3747 * target.c (target_read_live_memory): Likewise.
3748 (memory_xfer_live_readonly_partial): Likewise.
3749 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
3750 (target_xfer_partial, default_xfer_partial): Likewise.
3751 (current_xfer_partial): Likewise.
3752 * tracepoint.c (tfile_xfer_partial): Likewise.
3753 * windows-nat.c (windows_xfer_memory): Likewise. Call
3754 pulongest instead of plongest.
3755 (windows_xfer_partial): Likewise.
3756 (windows_xfer_shared_libraries): Likewise.
3758 2014-01-14 Yao Qi <yao@codesourcery.com>
3760 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
3761 target_xfer_partial_ftype.
3763 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3767 * valops.c (value_struct_elt_bitpos): New function
3768 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
3769 object to 'None' if the field name is an empty string ("").
3770 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
3771 attribute to look for a field when 'name' is 'None'.
3772 (get_field_type): New function
3774 2014-01-13 Doug Evans <dje@google.com>
3777 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
3778 (try_open_dwop_file): Ditto.
3779 * gdb_bfd.c: #include "vec.h".
3780 (bfdp): New typedef.
3781 (struct gdb_bfd_data): New member included_bfds.
3782 (gdb_bfd_unref): Unref all included bfds.
3783 (gdb_bfd_record_inclusion): New function.
3784 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
3786 2014-01-13 Tom Tromey <tromey@redhat.com>
3788 * gdbcore.h (deprecated_core_resize_section_table): Remove.
3790 2014-01-13 Tom Tromey <tromey@redhat.com>
3792 * defs.h (use_windows): Remove.
3793 * gdb.c (main): Update.
3794 * main.c (captured_main, gdb_main): Update.
3795 * main.h (struct captured_main_args) <use_windows>: Remove.
3796 * top.c (use_windows): Remove.
3798 2014-01-13 Tom Tromey <tromey@redhat.com>
3800 * defs.h (deprecated_flush_hook): Remove.
3802 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3805 * linux-thread-db.c (try_thread_db_load): Add parameter
3806 check_auto_load_safe. Move here the file_is_auto_load_safe call.
3807 (try_thread_db_load_from_pdir_1): Move it there from here.
3808 (try_thread_db_load_from_sdir): Update caller.
3809 (try_thread_db_load_from_dir): Move it there from here.
3811 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
3813 * regformats/regdat.sh: Always rewrite the register file.
3815 2014-01-13 Pedro Alves <palves@redhat.com>
3817 * Makefile.in (CHECK_HEADERS): New variable.
3818 (check-headers:): New rule.
3820 2014-01-13 Tom Tromey <tromey@redhat.com>
3822 * cli/cli-setshow.c (do_set_command): Update.
3823 * defs.h (deprecated_set_hook): Remove.
3824 * top.c (deprecated_set_hook): Remove.
3826 2014-01-13 Pedro Alves <palves@redhat.com>
3828 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
3829 the tracepoint if the PC is a pseudo-register.
3831 2014-01-13 Tom Tromey <tromey@redhat.com>
3833 * defs.h (XCALLOC): Remove.
3834 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
3835 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
3836 * dwarf2loc.c (allocate_piece_closure): Likewise.
3837 * elfread.c (elf_symfile_segments): Likewise.
3838 (elf_symfile_segments): Likewise.
3839 * gdbtypes.c (copy_type_recursive): Likewise.
3840 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
3841 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
3842 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
3844 * mt-tdep.c (mt_gdbarch_init): Likewise.
3845 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
3847 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
3848 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
3849 * registry.c (registry_alloc_data): Likewise.
3850 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
3851 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
3852 * serial.c (serial_fdopen_ops): Likewise.
3853 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
3855 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
3856 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
3859 2014-01-13 Tom Tromey <tromey@redhat.com>
3861 * defs.h (XMALLOC): Remove.
3862 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
3863 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
3864 * cli-out.c (struct ui_out *): Likewise.
3865 * cli/cli-dump.c (add_dump_command): Likewise.
3866 (add_dump_command): Likewise.
3867 * complaints.c (get_complaints): Likewise.
3868 (find_complaint): Likewise.
3869 * dwarf2-frame.c (execute_cfa_program): Likewise.
3870 * dwarf2read.c (abbrev_table_read_table): Likewise.
3871 * gdbarch.sh: Likewise.
3872 * gdbarch.c: Rebuild.
3873 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
3874 * interps.c (interp_new): Likewise.
3875 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
3876 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
3877 * mi/mi-console.c (mi_console_file_new): Likewise.
3878 * mi/mi-interp.c (mi_interpreter_init): Likewise.
3879 * mi/mi-out.c (mi_out_new): Likewise.
3880 * mi/mi-parse.c (mi_parse): Likewise.
3881 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
3882 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
3883 * observer.c (xalloc_observer_list_node): Likewise.
3884 * regcache.c (regcache_xmalloc_1): Likewise.
3885 * reggroups.c (reggroup_new): Likewise.
3886 (_initialize_reggroup): Likewise.
3887 * registry.c (register_data_with_cleanup): Likewise.
3888 * remote.c (remote_notif_stop_alloc_reply): Likewise.
3889 * ser-base.c (serial_ttystate): Likewise.
3890 * ser-mingw.c (make_pipe_state): Likewise.
3891 * ser-pipe.c (pipe_open): Likewise.
3892 * serial.c (serial_open): Likewise.
3893 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
3894 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
3895 (tui_alloc_win_info): Likewise.
3896 (tui_add_content_elements): Likewise.
3897 * tui/tui-file.c (tui_file_new): Likewise.
3898 * tui/tui-out.c (tui_out_new): Likewise.
3899 * ui-file.c (mem_file_new): Likewise.
3900 * ui-out.c (push_level): Likewise.
3901 (make_cleanup_ui_out_end): Likewise.
3902 (append_header_to_list): Likewise.
3903 (ui_out_new): Likewise.
3904 * user-regs.c (user_reg_add_builtin): Likewise.
3906 2014-01-13 Tom Tromey <tromey@redhat.com>
3908 * defs.h (XZALLOC): Remove.
3909 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
3910 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
3911 (get_ada_tasks_inferior_data): Likewise.
3912 * auto-load.c (get_auto_load_pspace_data): Likewise.
3913 * auxv.c (get_auxv_inferior_data): Likewise.
3914 * bfd-target.c (target_bfd_reopen): Likewise.
3915 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
3916 (deprecated_insert_raw_breakpoint): Likewise.
3917 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
3918 * corelow.c (core_open): Likewise.
3919 * darwin-nat.c (darwin_check_new_threads): Likewise.
3920 (darwin_attach_pid): Likewise.
3921 * dummy-frame.c (dummy_frame_push): Likewise.
3922 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
3923 * dwarf2loc.c (allocate_piece_closure): Likewise.
3924 * elfread.c (elf_symfile_segments): Likewise.
3925 * eval.c (ptrmath_type_p): Likewise.
3926 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
3927 * gdbtypes.c (alloc_type_arch): Likewise.
3928 (alloc_type_instance): Likewise.
3929 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
3930 * inf-child.c (inf_child_can_use_agent): Likewise.
3931 * inflow.c (get_inflow_inferior_data): Likewise.
3932 * infrun.c (save_infcall_suspend_state): Likewise.
3933 * jit.c (jit_reader_load): Likewise.
3934 (get_jit_objfile_data): Likewise.
3935 (get_jit_program_space_data): Likewise.
3936 (jit_object_open_impl): Likewise.
3937 (jit_symtab_open_impl): Likewise.
3938 (jit_block_open_impl): Likewise.
3939 (jit_frame_sniffer): Likewise.
3940 * linux-fork.c (add_fork): Likewise.
3941 * maint.c (make_command_stats_cleanup): Likewise.
3942 * objfiles.c (get_objfile_pspace_data): Likewise.
3943 * opencl-lang.c (struct lval_closure): Likewise.
3944 * osdata.c (osdata_start_osdata): Likewise.
3945 * progspace.c (new_address_space): Likewise.
3946 (add_program_space): Likewise.
3947 * remote-sim.c (get_sim_inferior_data): Likewise.
3948 * sh-tdep.c (sh_gdbarch_init): Likewise.
3949 * skip.c (Ignore): Likewise.
3950 (skip_delete_command): Likewise.
3951 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
3952 (library_list_start_library): Likewise.
3953 (solib_aix_current_sos): Likewise.
3954 * solib-darwin.c (get_darwin_info): Likewise.
3955 (darwin_current_sos): Likewise.
3956 * solib-dsbt.c (get_dsbt_info): Likewise.
3957 * solib-ia64-hpux.c (new_so_list): Likewise.
3958 (ia64_hpux_get_solib_linkage_addr): Likewise.
3959 * solib-spu.c (append_ocl_sos): Likewise.
3960 (spu_current_sos): Likewise.
3961 * solib-svr4.c (get_svr4_info): Likewise.
3962 (svr4_keep_data_in_core): Likewise.
3963 (library_list_start_library): Likewise.
3964 (svr4_default_sos): Likewise.
3965 (svr4_read_so_list): Likewise.
3966 * solib-target.c (library_list_start_library): Likewise.
3967 (solib_target_current_sos): Likewise.
3968 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
3969 * symfile-debug.c (install_symfile_debug_logging): Likewise.
3970 * symfile.c (default_symfile_segments): Likewise.
3971 * target-descriptions.c (tdesc_data_init): Likewise.
3972 (tdesc_create_reg): Likewise.
3973 (struct tdesc_type *): Likewise.
3974 (tdesc_create_vector): Likewise.
3975 (tdesc_set_struct_size): Likewise.
3976 (struct tdesc_type *): Likewise.
3977 (tdesc_free_feature): Likewise.
3978 (tdesc_create_feature): Likewise.
3979 * windows-nat.c (windows_add_thread): Likewise.
3980 (windows_make_so): Likewise.
3981 * xml-support.c (gdb_xml_body_text): Likewise.
3982 (gdb_xml_create_parser_and_cleanup): Likewise.
3983 (xml_process_xincludes): Likewise.
3984 * xml-syscall.c (allocate_syscalls_info): Likewise.
3985 (syscall_create_syscall_desc): Likewise.
3987 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
3989 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
3990 function, with code from i386_stap_parse_special_token.
3991 (i386_stap_parse_special_token_three_arg_disp): Likewise.
3992 (i386_stap_parse_special_token): Move code to the two functions
3995 2014-01-09 Pedro Alves <palves@redhat.com>
3996 Hui Zhu <hui@codesourcery.com>
3999 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4000 bp_err_string. Don't mark the location shlib_disabled if the
4001 error thrown wasn't a generic or memory error. Catch errors
4002 thrown while inserting breakpoints in overlayed code. Output
4003 error message of software breakpoints.
4004 * remote.c (remote_insert_breakpoint): If this breakpoint has
4005 target-side commands but this stub doesn't support Z0 packets,
4006 throw NOT_SUPPORTED_ERROR error.
4007 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4008 * target.h (target_insert_breakpoint): Extend comment.
4009 (target_insert_hw_breakpoint): Add comment.
4011 2014-01-08 Pedro Alves <palves@redhat.com>
4013 * remote.c (remote_add_thread): Add threads silently if starting
4015 (remote_notice_new_inferior): If in all-stop, and starting up,
4016 don't call notice_new_inferior.
4017 (get_current_thread): New function, factored out from ...
4018 (add_current_inferior_and_thread): ... this. Adjust.
4019 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4020 found any thread, then select the remote's current thread as GDB's
4023 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4025 * NEWS: Create a new section for the next release branch.
4026 Rename the section of the current branch, now that it has
4029 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4031 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4032 * version.in: Bump version to 7.7.50.DATE-cvs.
4034 2014-01-08 Yao Qi <yao@codesourcery.com>
4036 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4037 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4038 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4040 2014-01-08 Yao Qi <yao@codesourcery.com>
4042 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4043 return value of bfd_get_filename to symbol_file_add_from_bfd.
4045 2014-01-08 Pierre Muller <muller@sourceware.org>
4048 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4049 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4050 to prim_record_mininal_symbol_and_info.
4051 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4052 in call to prim_record_minimal_symbol_and_info.
4053 (read_pe_exported_syms): Set index field of section_data.
4055 2014-01-07 Andrew Pinski <apinski@cavium.com>
4057 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4058 * features/aarch64.c: Regenerate.
4060 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4062 * target.c (return_null): Define.
4063 (update_current_target): Use it instead of return_zero for
4064 functions that return a pointer.
4066 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4068 * source.c (add_path): Fix check for duplicated paths in the previously
4071 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4073 * ada-lang.c: Remove duplicated include statements.
4074 * alphabsd-nat.c: Ditto.
4075 * amd64-darwin-tdep.c: Ditto.
4076 * amd64fbsd-nat.c: Ditto.
4077 * auto-load.c: Ditto.
4079 * breakpoint.c: Ditto.
4081 * fork-child.c: Ditto.
4082 * gdb_usleep.c: Ditto.
4083 * i386-darwin-tdep.c: Ditto.
4084 * i386fbsd-nat.c: Ditto.
4086 * inferior.c: Ditto.
4088 * linux-nat.c: Ditto.
4089 * linux-tdep.c: Ditto.
4090 * m68kbsd-nat.c: Ditto.
4091 * m68klinux-nat.c: Ditto.
4092 * microblaze-tdep.c: Ditto.
4093 * mips-linux-tdep.c: Ditto.
4094 * mn10300-tdep.c: Ditto.
4095 * nto-tdep.c: Ditto.
4096 * opencl-lang.c: Ditto.
4098 * printcmd.c: Ditto.
4099 * regcache.c: Ditto.
4100 * remote-m32r-sdi.c: Ditto.
4104 * tilegx-linux-nat.c: Ditto.
4105 * tilegx-tdep.c: Ditto.
4106 * tracepoint.c: Ditto.
4108 * vaxbsd-nat.c: Ditto.
4109 * windows-nat.c: Ditto.
4110 * xtensa-tdep.c: Ditto.
4112 2014-01-07 Yao Qi <yao@codesourcery.com>
4114 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4116 2014-01-07 Yao Qi <yao@codesourcery.com>
4117 Joel Brobecker <brobecker@adacore.com>
4119 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4120 (pdc_write_regs): Likewise.
4121 (fetch_regs_kernel_thread): Likewise.
4122 (store_regs_kernel_thread): Likewise.
4124 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4126 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4127 tagged type objects to their actual type.
4129 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4131 * ada-valprint.c (print_field_values): Add "language" parameter.
4132 Update calls to print_field_values and print_variant_part.
4133 Pass new parameter "language" in call to val_print instead
4134 of "current_language". Replace call to ada_val_print by call
4136 (print_variant_part): Add "language" parameter.
4137 (ada_val_print_struct_union): Update call to print_field_values.
4139 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4141 * ada-valprint.c (ui_memcpy): Delete.
4142 (ada_print_floating): Update documentation. Add empty line
4143 between between function documentation and implementation.
4144 Delete variable "buffer". Use ui_file_xstrdup in place of
4145 ui_file_put. Minor adjustments following this change.
4147 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4149 * ada-valprint.c (ada_val_print_string): New function,
4150 extracted from ada_val_print_array.
4151 (ada_val_print_array): Replace extracted code by call
4152 to ada_val_print_string followed by a return. Move
4153 "else" branch to the function's top block.
4155 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4157 * ada-valprint.c (ada_val_print_array): Move implementation
4158 down. Rename parameter "offset" and "val" into "offset_aligned"
4159 and "original_value" respectively. Add parameter "offset".
4161 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4163 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4164 re-organizing the code. Change the "???" message printed
4165 when target type is a TYPE_CODE_UNDEF into
4166 "<ref to undefined type>".
4168 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4170 * ada-valprint.c (print_record): Delete, implementation inlined...
4171 (ada_val_print_struct_union): ... here. Remove call to
4172 ada_check_typedef in inlined implementation.
4174 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4176 * ada-valprint.c (ada_val_print_gnat_array): New function,
4177 extracted from ada_val_print_1;
4178 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4179 (ada_val_print_flt, ada_val_print_struct_union)
4180 (ada_val_print_ref): Likewise.
4181 (ada_val_print_1): Delete variables i and elttype.
4182 Replace extracted-out code by call to corresponding
4185 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4187 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4189 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4191 * ada-valprint.c (ada_val_print_1): Replace calls to
4192 ada_val_print_1 by calls to val_print.
4194 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4196 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4197 Update calls to self accordingly. Replace calls to c_val_print
4198 by calls to val_print.
4200 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4202 * ada-valprint.c (print_record): Delete declaration.
4203 (adjust_type_signedness, ada_val_print_1): Likewise.
4204 (ada_val_print): Move function implementation down.
4205 (print_variant_part, print_field_values, print_record):
4206 Move function implementation up.
4208 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4210 * python/py-type.c (typy_get_name): New function.
4211 (type_object_getset): Add entry for attribute "name".
4212 * NEWS: Add entry mentioning this new attribute.
4214 2014-01-07 Yao Qi <yao@codesourcery.com>
4216 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
4219 2014-01-07 Yao Qi <yao@codesourcery.com>
4221 * gnu-nat.c (info_port_rights): Add qualifier const to
4224 2014-01-07 Yao Qi <yao@codesourcery.com>
4226 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
4228 2014-01-07 Yao Qi <yao@codesourcery.com>
4230 * gnu-nat.c (make_inf) Update declaration.
4231 (make_inf): Make it static.
4232 (inf_set_traced): Likewise.
4233 (inf_port_to_thread, inf_task_died_status): Likewise.
4235 2014-01-07 Yao Qi <yao@codesourcery.com>
4237 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
4239 2014-01-07 Yao Qi <yao@codesourcery.com>
4241 * gnu-nat.c (_initialize_gnu_nat): Declare.
4243 2014-01-07 Yao Qi <yao@codesourcery.com>
4245 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
4247 (struct gdbarch_info) <byte_order>: Change type to
4249 <byte_order_for_code>: Likewise.
4250 * gdbarch.c, gdbarch.h: Regenerated.
4252 2014-01-06 Sasha Smundak <asmundak@google.com>
4254 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
4256 2014-01-06 Tom Tromey <tromey@redhat.com>
4258 * doublest.c (convert_doublest_to_floatformat): Use const, not
4260 * somread.c (som_symtab_read): Likewise.
4262 2014-01-07 Hui Zhu <hui@codesourcery.com>
4264 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
4265 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
4266 (gdb_bfd_fopen): Ditto.
4267 (gdb_bfd_openr): Ditto.
4268 (gdb_bfd_openw): Ditto.
4269 (gdb_bfd_openr_iovec): Ditto.
4270 (gdb_bfd_fdopenr): Ditto.
4271 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
4272 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
4274 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
4276 * symfile-mem.c (symbol_file_add_from_memory): Removed
4277 gdb_bfd_stash_filename.
4279 2014-01-03 Doug Evans <dje@google.com>
4281 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
4284 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4286 Update year range in copyright notice of all files.
4288 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4290 * top.c (print_gdb_version): Set copyright year to 2014.
4292 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4294 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
4296 For older changes see ChangeLog-2013.
4302 version-control: never