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_static_tracepoint_markers_by_strid.
6 * target.h (struct target_ops)
7 <to_static_tracepoint_markers_by_strid>: Use
8 TARGET_DEFAULT_NORETURN.
10 2014-02-19 Tom Tromey <tromey@redhat.com>
12 * target-delegates.c: Rebuild.
13 * target.c (update_current_target): Don't inherit or default
14 to_static_tracepoint_marker_at.
15 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
16 Use TARGET_DEFAULT_RETURN.
18 2014-02-19 Tom Tromey <tromey@redhat.com>
20 * target-delegates.c: Rebuild.
21 * target.c (update_current_target): Don't inherit or default
23 * target.h (struct target_ops) <to_set_permissions>: Use
24 TARGET_DEFAULT_IGNORE.
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
31 * target.h (struct target_ops) <to_get_tib_address>: 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
39 * target.h (struct target_ops) <to_set_trace_notes>: Use
40 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 initialize
46 to_set_trace_buffer_size.
47 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
48 TARGET_DEFAULT_IGNORE.
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
54 to_set_circular_trace_buffer.
55 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
56 TARGET_DEFAULT_IGNORE.
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_set_disconnected_tracing.
63 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
64 TARGET_DEFAULT_IGNORE.
66 2014-02-19 Tom Tromey <tromey@redhat.com>
68 * target-delegates.c: Rebuild.
69 * target.c (update_current_target): Don't inherit or default
70 to_get_min_fast_tracepoint_insn_len.
71 (return_minus_one): Remove.
72 * target.h (struct target_ops)
73 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
75 2014-02-19 Tom Tromey <tromey@redhat.com>
77 * target-delegates.c: Rebuild.
78 * target.c (update_current_target): Don't inherit or default
79 to_get_raw_trace_data.
80 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
81 TARGET_DEFAULT_NORETURN.
83 2014-02-19 Tom Tromey <tromey@redhat.com>
85 * target-delegates.c: Rebuild.
86 * target.c (update_current_target): Don't inherit or default
87 to_upload_trace_state_variables.
88 * target.h (struct target_ops) <to_upload_trace_state_variables>:
89 Use TARGET_DEFAULT_RETURN.
91 2014-02-19 Tom Tromey <tromey@redhat.com>
93 * target-delegates.c: Rebuild.
94 * target.c (update_current_target): Don't inherit or default
95 to_upload_tracepoints.
96 * target.h (struct target_ops) <to_upload_tracepoints>: Use
97 TARGET_DEFAULT_RETURN.
99 2014-02-19 Tom Tromey <tromey@redhat.com>
101 * target-delegates.c: Rebuild.
102 * target.c (update_current_target): Don't inherit or default
104 * target.h (struct target_ops) <to_save_trace_data>: Use
105 TARGET_DEFAULT_NORETURN.
107 2014-02-19 Tom Tromey <tromey@redhat.com>
109 * target-delegates.c: Rebuild.
110 * target.c (update_current_target): Don't inherit or default
111 to_get_trace_state_variable_value.
112 * target.h (struct target_ops)
113 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
115 2014-02-19 Tom Tromey <tromey@redhat.com>
117 * target-delegates.c: Rebuild.
118 * target.c (update_current_target): Don't inherit or default
120 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
122 2014-02-19 Tom Tromey <tromey@redhat.com>
124 * target-delegates.c: Rebuild.
125 * target.c (update_current_target): Don't inherit or default
127 * target.h (struct target_ops) <to_trace_stop>: Use
128 TARGET_DEFAULT_NORETURN.
130 2014-02-19 Tom Tromey <tromey@redhat.com>
132 * target-delegates.c: Rebuild.
133 * target.c (update_current_target): Don't inherit or default
134 to_get_tracepoint_status.
135 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
136 TARGET_DEFAULT_NORETURN.
138 2014-02-19 Tom Tromey <tromey@redhat.com>
140 * target-delegates.c: Rebuild.
141 * target.c (update_current_target): Don't inherit or default
143 * target.h (struct target_ops) <to_get_trace_status>: Use
144 TARGET_DEFAULT_RETURN.
146 2014-02-19 Tom Tromey <tromey@redhat.com>
148 * target-delegates.c: Rebuild.
149 * target.c (update_current_target): Don't inherit or default
151 * target.h (struct target_ops) <to_trace_start>: Use
152 TARGET_DEFAULT_NORETURN.
154 2014-02-19 Tom Tromey <tromey@redhat.com>
156 * target-delegates.c: Rebuild.
157 * target.c (update_current_target): Don't inherit or default
158 to_trace_set_readonly_regions.
159 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
160 Use TARGET_DEFAULT_NORETURN.
162 2014-02-19 Tom Tromey <tromey@redhat.com>
164 * target-delegates.c: Rebuild.
165 * target.c (update_current_target): Don't inherit or default
166 to_disable_tracepoint.
167 * target.h (struct target_ops) <to_disable_tracepoint>: Use
168 TARGET_DEFAULT_NORETURN.
170 2014-02-19 Tom Tromey <tromey@redhat.com>
172 * target-delegates.c: Rebuild.
173 * target.c (update_current_target): Don't inherit or default
174 to_enable_tracepoint.
175 * target.h (struct target_ops) <to_enable_tracepoint>: Use
176 TARGET_DEFAULT_NORETURN.
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_download_trace_state_variable.
183 * target.h (struct target_ops) <to_download_trace_state_variable>:
184 Use TARGET_DEFAULT_NORETURN.
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_can_download_tracepoint.
191 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
192 TARGET_DEFAULT_RETURN.
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_download_tracepoint.
199 * target.h (struct target_ops) <to_download_tracepoint>: Use
200 TARGET_DEFAULT_NORETURN.
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
207 * target.h (struct target_ops) <to_trace_init>: Use
208 TARGET_DEFAULT_RETURN.
210 2014-02-19 Tom Tromey <tromey@redhat.com>
212 * target-delegates.c: Rebuild.
213 * target.c (update_current_target): Don't inherit or default
214 to_supports_string_tracing.
215 * target.h (struct target_ops) <to_supports_string_tracing>: Use
216 TARGET_DEFAULT_RETURN.
218 2014-02-19 Tom Tromey <tromey@redhat.com>
220 * target-delegates.c: Rebuild.
221 * target.c (update_current_target): Don't inherit or default
222 to_supports_enable_disable_tracepoint.
223 * target.h (struct target_ops)
224 <to_supports_enable_disable_tracepoint>: Use
225 TARGET_DEFAULT_RETURN.
227 2014-02-19 Tom Tromey <tromey@redhat.com>
229 * target-delegates.c: Rebuild.
230 * target.c (update_current_target): Don't inherit or default
231 to_supports_multi_process.
232 * target.h (struct target_ops) <to_supports_multi_process>: Use
233 TARGET_DEFAULT_RETURN.
235 2014-02-19 Tom Tromey <tromey@redhat.com>
237 * target-delegates.c: Rebuild.
238 * target.c (update_current_target): Don't inherit or default
239 to_get_ada_task_ptid.
240 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
243 2014-02-19 Tom Tromey <tromey@redhat.com>
245 * target-delegates.c: Rebuild.
246 * target.c (update_current_target): Don't inherit or default
247 to_thread_architecture.
248 * target.h (struct target_ops) <to_thread_architecture>: Use
251 2014-02-19 Tom Tromey <tromey@redhat.com>
253 * target-delegates.c: Rebuild.
254 * target.c (update_current_target): Don't inherit or default
255 to_execution_direction.
256 * target.h (struct target_ops) <to_execution_direction>: Use
259 2014-02-19 Tom Tromey <tromey@redhat.com>
261 * target-delegates.c: Rebuild.
262 * target.c (update_current_target): Don't inherit or default
263 to_can_execute_reverse.
264 * target.h (struct target_ops) <to_can_execute_reverse>: Use
265 TARGET_DEFAULT_RETURN.
266 (target_can_execute_reverse): Unconditionally delegate.
268 2014-02-19 Tom Tromey <tromey@redhat.com>
270 * target-delegates.c: Rebuild.
271 * target.c (update_current_target): Don't inherit or default
273 (dummy_goto_bookmark): Remove.
274 (init_dummy_target): Don't inherit or default to_goto_bookmark.
275 * target.h (struct target_ops) <to_goto_bookmark>: Use
276 TARGET_DEFAULT_NORETURN.
278 2014-02-19 Tom Tromey <tromey@redhat.com>
280 * target-delegates.c: Rebuild.
281 * target.c (update_current_target): Don't inherit or default
283 (dummy_get_bookmark): Remove.
284 (init_dummy_target): Don't inherit or default to_get_bookmark.
285 * target.h (struct target_ops) <to_get_bookmark>: Use
286 TARGET_DEFAULT_NORETURN
288 2014-02-19 Tom Tromey <tromey@redhat.com>
290 * target-delegates.c: Rebuild.
291 * target.c (update_current_target): Don't inherit or default
292 to_make_corefile_notes.
293 (init_dummy_target): Don't initialize to_make_corefile_notes.
294 * target.h (struct target_ops) <to_make_corefile_notes>: Use
297 2014-02-19 Tom Tromey <tromey@redhat.com>
299 * target-delegates.c: Rebuild.
300 * target.c (update_current_target): Don't inherit or default
301 to_find_memory_regions.
302 (init_dummy_target): Don't initialize to_find_memory_regions.
303 * target.h (struct target_ops) <to_find_memory_regions>: Use
306 2014-02-19 Tom Tromey <tromey@redhat.com>
308 * target-delegates.c: Rebuild.
309 * target.c (update_current_target): Don't inherit or default
311 * target.h (struct target_ops) <to_log_command>: Use
312 TARGET_DEFAULT_IGNORE.
313 (target_log_command): Unconditionally delegate.
315 2014-02-19 Tom Tromey <tromey@redhat.com>
317 * target-delegates.c: Rebuild.
318 * target.c (update_current_target): Don't inherit or default
320 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
321 TARGET_DEFAULT_RETURN.
323 2014-02-19 Tom Tromey <tromey@redhat.com>
325 * target-delegates.c: Rebuild.
326 * target.c (update_current_target): Don't inherit or default
328 (target_thread_name): Unconditionally delegate.
329 * target.h (struct target_ops) <to_thread_name>: 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_extra_thread_info.
337 * target.h (struct target_ops) <to_extra_thread_info>: 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
345 * target.h (struct target_ops) <to_has_exited>: 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_set_syscall_catchpoint.
353 (return_one): Remove.
354 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
355 TARGET_DEFAULT_RETURN.
357 2014-02-19 Tom Tromey <tromey@redhat.com>
359 * target-delegates.c: Rebuild.
360 * target.c (update_current_target): Don't inherit or default
361 to_insert_exec_catchpoint.
362 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
363 TARGET_DEFAULT_RETURN.
365 2014-01-08 Tom Tromey <tromey@redhat.com>
367 * target-delegates.c: Rebuild.
368 * target.c (update_current_target): Don't inherit or default
369 to_insert_exec_catchpoint.
370 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
371 TARGET_DEFAULT_RETURN.
373 2014-02-19 Tom Tromey <tromey@redhat.com>
375 * target-delegates.c: Rebuild.
376 * target.c (update_current_target): Don't inherit or default
377 to_remove_vfork_catchpoint.
378 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
379 TARGET_DEFAULT_RETURN.
381 2014-02-19 Tom Tromey <tromey@redhat.com>
383 * target-delegates.c: Rebuild.
384 * target.c (update_current_target): Don't inherit or default
385 to_insert_vfork_catchpoint.
386 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
387 TARGET_DEFAULT_RETURN.
389 2014-02-19 Tom Tromey <tromey@redhat.com>
391 * target-delegates.c: Rebuild.
392 * target.c (update_current_target): Don't inherit or default
393 to_remove_fork_catchpoint.
394 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
395 TARGET_DEFAULT_RETURN.
397 2014-02-19 Tom Tromey <tromey@redhat.com>
399 * target-delegates.c: Rebuild.
400 * target.c (update_current_target): Don't inherit or default
401 to_insert_fork_catchpoint.
402 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
403 TARGET_DEFAULT_RETURN.
405 2014-02-19 Tom Tromey <tromey@redhat.com>
407 * target-delegates.c: Rebuild.
408 * target.c (update_current_target): Don't inherit or default
409 to_post_startup_inferior.
410 * target.h (struct target_ops) <to_post_startup_inferior>: Use
411 TARGET_DEFAULT_IGNORE.
413 2014-02-19 Tom Tromey <tromey@redhat.com>
415 * target-delegates.c: Rebuild.
416 * target.c (update_current_target): Don't inherit or default
418 * target.h (struct target_ops) <to_load>: Use
419 TARGET_DEFAULT_NORETURN.
421 2014-02-19 Tom Tromey <tromey@redhat.com>
423 * target-delegates.c: Rebuild.
424 * target.c (update_current_target): Don't inherit or default
426 * target.h (struct target_ops) <to_terminal_info>: Use
429 2014-02-19 Tom Tromey <tromey@redhat.com>
431 * target-delegates.c: Rebuild.
432 * target.c (update_current_target): Don't inherit or default
433 to_terminal_save_ours.
434 * target.h (struct target_ops) <to_terminal_save_ours>: Use
435 TARGET_DEFAULT_IGNORE.
437 2014-02-19 Tom Tromey <tromey@redhat.com>
439 * target-delegates.c: Rebuild.
440 * target.c (update_current_target): Don't inherit or default
442 * target.h (struct target_ops) <to_terminal_ours>: Use
443 TARGET_DEFAULT_IGNORE.
445 2014-02-19 Tom Tromey <tromey@redhat.com>
447 * target-delegates.c: Rebuild.
448 * target.c (update_current_target): Don't inherit or default
449 to_terminal_ours_for_output.
450 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
451 TARGET_DEFAULT_IGNORE.
453 2014-02-19 Tom Tromey <tromey@redhat.com>
455 * target-delegates.c: Rebuild.
456 * target.c (update_current_target): Don't inherit or default
457 to_terminal_inferior.
458 * target.h (struct target_ops) <to_terminal_inferior>: Use
459 TARGET_DEFAULT_IGNORE.
461 2014-02-19 Tom Tromey <tromey@redhat.com>
463 * target-delegates.c: Rebuild.
464 * target.c (update_current_target): Don't inherit or default
466 * target.h (struct target_ops) <to_terminal_init>: Use
467 TARGET_DEFAULT_IGNORE.
469 2014-02-19 Tom Tromey <tromey@redhat.com>
471 * target-delegates.c: Rebuild.
472 * target.c (update_current_target): Don't inherit or default
473 to_can_accel_watchpoint_condition.
474 * target.h (struct target_ops)
475 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
477 2014-02-19 Tom Tromey <tromey@redhat.com>
479 * target-delegates.c: Rebuild.
480 * target.c (update_current_target): Don't inherit or default
481 to_region_ok_for_hw_watchpoint.
482 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
483 Use TARGET_DEFAULT_FUNC.
485 2014-02-19 Tom Tromey <tromey@redhat.com>
487 * target-delegates.c: Rebuild.
488 * target.c (update_current_target): Don't inherit or default
489 to_watchpoint_addr_within_range.
490 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
491 Use TARGET_DEFAULT_FUNC.
493 2014-02-19 Tom Tromey <tromey@redhat.com>
495 * target-delegates.c: Rebuild.
496 * target.c (update_current_target): Don't inherit or default
497 to_remove_watchpoint.
498 * target.h (struct target_ops) <to_remove_watchpoint>: Use
499 TARGET_DEFAULT_NORETURN.
501 2014-02-19 Tom Tromey <tromey@redhat.com>
503 * target-delegates.c: Rebuild.
504 * target.c (update_current_target): Don't inherit or default
505 to_insert_watchpoint.
506 * target.h (struct target_ops) <to_insert_watchpoint>: Use
507 TARGET_DEFAULT_RETURN.
509 2014-02-19 Tom Tromey <tromey@redhat.com>
511 * target-delegates.c: Rebuild.
512 * target.c (update_current_target): Don't inherit or default
513 to_remove_hw_breakpoint.
514 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
515 TARGET_DEFAULT_RETURN.
517 2014-02-19 Tom Tromey <tromey@redhat.com>
519 * target-delegates.c: Rebuild.
520 * target.c (update_current_target): Don't inherit or default
521 to_insert_hw_breakpoint.
522 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
523 TARGET_DEFAULT_RETURN.
525 2014-02-19 Tom Tromey <tromey@redhat.com>
527 * target-delegates.c: Rebuild.
528 * target.c (update_current_target): Don't inherit or default
529 to_can_use_hw_breakpoint.
530 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
531 TARGET_DEFAULT_RETURN.
533 2014-02-19 Tom Tromey <tromey@redhat.com>
535 * target-delegates.c: Rebuild.
536 * target.c (update_current_target): Don't inherit or default
538 * target.h (struct target_ops) <to_files_info>: Use
539 TARGET_DEFAULT_IGNORE.
541 2014-02-19 Tom Tromey <tromey@redhat.com>
543 * target-delegates.c: Rebuild.
544 * target.c (update_current_target): Don't inherit or default
546 * target.h (struct target_ops) <to_store>: Use
547 TARGET_DEFAULT_NORETURN.
549 2014-02-19 Tom Tromey <tromey@redhat.com>
551 * target-delegates.c: Rebuild.
552 * target.c (update_current_target): Don't inherit or default
554 * target.h (struct target_ops) <to_post_attach>: Use
555 TARGET_DEFAULT_IGNORE.
557 2014-02-19 Tom Tromey <tromey@redhat.com>
559 * target-delegates.c: Rebuild.
560 * target.c (update_current_target): Don't inherit or default
562 (default_rcmd): New function.
563 (do_monitor_command): Unconditionally delegate.
564 * target.h (struct target_ops) <to_rmcd>: Use
567 2014-02-19 Tom Tromey <tromey@redhat.com>
569 * target-delegates.c: Rebuild.
570 * target.c (init_dummy_target): Don't initialize to_attach.
571 (target_attach): Unconditionally delegate.
572 * target.h (struct target_ops) <to_attach>: Use
575 2014-02-19 Tom Tromey <tromey@redhat.com>
577 * target-delegates.c: Rebuild.
578 * target.c (target_detach): Unconditionally delegate.
579 (init_dummy_target): Don't initialize to_detach.
580 * target.h (struct target_ops) <to_detach>: Use
581 TARGET_DEFAULT_IGNORE.
583 2014-02-19 Tom Tromey <tromey@redhat.com>
585 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
587 (target_augmented_libraries_svr4_read): Add argument.
588 * target.c (update_current_target): Update.
589 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
592 2014-02-19 Tom Tromey <tromey@redhat.com>
594 * target.h (struct target_ops) <to_call_history_range>: Add
596 * target.c (target_call_history_range): Add argument.
597 * record-btrace.c (record_btrace_call_history_range): Add 'self'
599 (record_btrace_call_history_from): Update.
601 2014-02-19 Tom Tromey <tromey@redhat.com>
603 * target.h (struct target_ops) <to_call_history_from>: Add
605 * target.c (target_call_history_from): Add argument.
606 * record-btrace.c (record_btrace_call_history_from): Add 'self'
609 2014-02-19 Tom Tromey <tromey@redhat.com>
611 * target.h (struct target_ops) <to_call_history>: Add argument.
612 * target.c (target_call_history): Add argument.
613 * record-btrace.c (record_btrace_call_history): Add 'self'
616 2014-02-19 Tom Tromey <tromey@redhat.com>
618 * target.h (struct target_ops) <to_insn_history_range>: Add
620 * target.c (target_insn_history_range): Add argument.
621 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
623 (record_btrace_insn_history_from): Update.
625 2014-02-19 Tom Tromey <tromey@redhat.com>
627 * target.h (struct target_ops) <to_insn_history_from>: Add
629 * target.c (target_insn_history_from): Add argument.
630 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
633 2014-02-19 Tom Tromey <tromey@redhat.com>
635 * target.h (struct target_ops) <to_insn_history>: Add argument.
636 * target.c (target_insn_history): Add argument.
637 * record-btrace.c (record_btrace_insn_history): Add 'self'
640 2014-02-19 Tom Tromey <tromey@redhat.com>
642 * target.h (struct target_ops) <to_goto_record>: Add argument.
643 * target.c (target_goto_record): Add argument.
644 * record-full.c (record_full_goto): Add 'self' argument.
645 * record-btrace.c (record_btrace_goto): Add 'self' argument.
647 2014-02-19 Tom Tromey <tromey@redhat.com>
649 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
650 * target.c (target_goto_record_end): Add argument.
651 * record-full.c (record_full_goto_end): Add 'self' argument.
652 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
654 2014-02-19 Tom Tromey <tromey@redhat.com>
656 * target.h (struct target_ops) <to_goto_record_begin>: Add
658 * target.c (target_goto_record_begin): Add argument.
659 * record-full.c (record_full_goto_begin): Add 'self' argument.
660 * record-btrace.c (record_btrace_goto_begin): Add 'self'
663 2014-02-19 Tom Tromey <tromey@redhat.com>
665 * target.h (struct target_ops) <to_record_is_replaying>: Add
667 * target.c (target_record_is_replaying): Add argument.
668 * record-full.c (record_full_is_replaying): Add 'self' argument.
669 * record-btrace.c (record_btrace_is_replaying): Add 'self'
671 (record_btrace_xfer_partial, record_btrace_store_registers)
672 (record_btrace_prepare_to_store, record_btrace_resume)
673 (record_btrace_wait, record_btrace_decr_pc_after_break)
674 (record_btrace_find_new_threads, record_btrace_thread_alive):
677 2014-02-19 Tom Tromey <tromey@redhat.com>
679 * target.h (struct target_ops) <to_delete_record>: Add argument.
680 * target.c (target_delete_record): Add argument.
681 * record-full.c (record_full_delete): Add 'self' argument.
683 2014-02-19 Tom Tromey <tromey@redhat.com>
685 * target.h (struct target_ops) <to_save_record>: Add argument.
686 * target.c (target_save_record): Add argument.
687 * record-full.c (record_full_save): Add 'self' argument.
688 (record_full_save): Add 'self' argument.
690 2014-02-19 Tom Tromey <tromey@redhat.com>
692 * target.h (struct target_ops) <to_info_record>: Add argument.
693 * target.c (target_info_record): Add argument.
694 * record.c (info_record_command): Add argument.
695 * record-full.c (record_full_info): Add 'self' argument.
696 * record-btrace.c (record_btrace_info): Add 'self' argument.
698 2014-02-19 Tom Tromey <tromey@redhat.com>
700 * target.h (struct target_ops) <to_stop_recording>: Add argument.
701 * target.c (target_stop_recording): Add argument.
702 * record.c (record_stop): Add argument.
703 * record-btrace.c (record_btrace_stop_recording): Add 'self'
706 2014-02-19 Tom Tromey <tromey@redhat.com>
708 * target.h (struct target_ops) <to_read_btrace>: Add argument.
709 * target.c (struct target_ops) <to_read_btrace>: Add argument.
710 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
712 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
713 (_initialize_amd64_linux_nat): Use it.
714 * i386-linux-nat.c (i386_linux_read_btrace): New function.
715 (_initialize_i386_linux_nat): Use it.
717 2014-02-19 Tom Tromey <tromey@redhat.com>
719 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
720 * target.c (target_teardown_btrace): Add argument.
721 * remote.c (remote_teardown_btrace): Add 'self' argument.
722 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
724 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
727 2014-02-19 Tom Tromey <tromey@redhat.com>
729 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
730 * target.c (target_disable_btrace): Add argument.
731 * remote.c (remote_disable_btrace): Add 'self' argument.
732 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
734 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
737 2014-02-19 Tom Tromey <tromey@redhat.com>
739 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
740 * target.c (target_enable_btrace): Add argument.
741 * remote.c (remote_enable_btrace): Add 'self' argument.
742 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
744 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
747 2014-02-19 Tom Tromey <tromey@redhat.com>
749 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
750 (target_can_use_agent): Add argument.
751 * target.c (update_current_target): Update.
752 * remote.c (remote_can_use_agent): Add 'self' argument.
753 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
755 2014-02-19 Tom Tromey <tromey@redhat.com>
757 * target.h (struct target_ops) <to_use_agent>: Add argument.
758 (target_use_agent): Add argument.
759 * target.c (update_current_target): Update.
760 * remote.c (remote_use_agent): Add 'self' argument.
761 * inf-child.c (inf_child_use_agent): Add 'self' argument.
763 2014-02-19 Tom Tromey <tromey@redhat.com>
765 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
766 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
767 (target_traceframe_info): Add argument.
768 * target.c (update_current_target): Update.
769 * remote.c (remote_traceframe_info): Add 'self' argument.
770 * ctf.c (ctf_traceframe_info): Add 'self' argument.
772 2014-02-19 Tom Tromey <tromey@redhat.com>
774 * target.h (target_static_tracepoint_markers_by_strid): Add
776 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
778 * target.c (update_current_target): Update.
779 * remote.c (struct target_ops)
780 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
781 * linux-nat.c (struct target_ops)
782 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
784 2014-02-19 Tom Tromey <tromey@redhat.com>
786 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
788 (target_static_tracepoint_marker_at): Add argument.
789 * target.c (update_current_target): Update.
790 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
793 2014-02-19 Tom Tromey <tromey@redhat.com>
795 * target.h (struct target_ops) <to_set_permissions>: Add argument.
796 (target_set_permissions): Add argument.
797 * target.c (update_current_target): Update.
798 * remote.c (remote_set_permissions): Add 'self' argument.
799 (remote_start_remote): Update.
801 2014-02-19 Tom Tromey <tromey@redhat.com>
803 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
804 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
805 (target_get_tib_address): Add argument.
806 * target.c (update_current_target): Update.
807 * remote.c (remote_get_tib_address): Add 'self' argument.
809 2014-02-19 Tom Tromey <tromey@redhat.com>
811 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
812 (target_set_trace_notes): Add argument.
813 * target.c (update_current_target): Update.
814 * remote.c (remote_set_trace_notes): Add 'self' argument.
816 2014-02-19 Tom Tromey <tromey@redhat.com>
818 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
820 (target_set_trace_buffer_size): Add argument.
821 * target.c (update_current_target): Update.
822 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
824 2014-02-19 Tom Tromey <tromey@redhat.com>
826 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
828 (target_set_circular_trace_buffer): Add argument.
829 * target.c (update_current_target): Update.
830 * remote.c (remote_set_circular_trace_buffer): Add 'self'
833 2014-02-19 Tom Tromey <tromey@redhat.com>
835 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
837 (target_set_disconnected_tracing): Add argument.
838 * target.c (update_current_target): Update.
839 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
841 2014-02-19 Tom Tromey <tromey@redhat.com>
843 * target.h (struct target_ops)
844 <to_get_min_fast_tracepoint_insn_len>: Add argument.
845 (target_get_min_fast_tracepoint_insn_len): Add argument.
846 * target.c (update_current_target): Update.
847 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
850 2014-02-19 Tom Tromey <tromey@redhat.com>
852 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
854 (target_get_raw_trace_data): Add argument.
855 * target.c (update_current_target): Update.
856 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
858 2014-02-19 Tom Tromey <tromey@redhat.com>
860 * target.h (struct target_ops) <to_upload_trace_state_variables>:
862 (target_upload_trace_state_variables): Add argument.
863 * target.c (update_current_target): Update.
864 * remote.c (remote_upload_trace_state_variables): Add 'self'
866 (remote_start_remote): Update.
868 2014-02-19 Tom Tromey <tromey@redhat.com>
870 * target.h (struct target_ops) <to_upload_tracepoints>: Add
872 (target_upload_tracepoints): Add argument.
873 * target.c (update_current_target): Update.
874 * remote.c (remote_upload_tracepoints): Add 'self' argument.
875 (remote_start_remote): Update.
877 2014-02-19 Tom Tromey <tromey@redhat.com>
879 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
880 (target_save_trace_data): Add argument.
881 * target.c (update_current_target): Update.
882 * remote.c (remote_save_trace_data): Add 'self' argument.
884 2014-02-19 Tom Tromey <tromey@redhat.com>
886 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
888 * target.h (struct target_ops)
889 <to_get_trace_state_variable_value>: Add argument.
890 (target_get_trace_state_variable_value): Add argument.
891 * target.c (update_current_target): Update.
892 * remote.c (remote_get_trace_state_variable_value): Add 'self'
894 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
896 2014-02-19 Tom Tromey <tromey@redhat.com>
898 * tracepoint.c (tfile_trace_find): Add 'self' argument.
899 * target.h (struct target_ops) <to_trace_find>: Add argument.
900 (target_trace_find): Add argument.
901 * target.c (update_current_target): Update.
902 * remote.c (remote_trace_find): Add 'self' argument.
903 * ctf.c (ctf_trace_find): Add 'self' argument.
905 2014-02-19 Tom Tromey <tromey@redhat.com>
907 * target.h (struct target_ops) <to_trace_stop>: Add argument.
908 (target_trace_stop): Add argument.
909 * target.c (update_current_target): Update.
910 * remote.c (remote_trace_stop): Add 'self' argument.
912 2014-02-19 Tom Tromey <tromey@redhat.com>
914 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
915 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
917 (target_get_tracepoint_status): Add argument.
918 * target.c (update_current_target): Update.
919 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
921 2014-02-19 Tom Tromey <tromey@redhat.com>
923 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
924 * target.h (struct target_ops) <to_get_trace_status>: Add
926 (target_get_trace_status): Add argument.
927 * target.c (update_current_target): Update.
928 * remote.c (remote_get_trace_status): Add 'self' argument.
929 (remote_start_remote, remote_can_download_tracepoint): Update.
930 * ctf.c (ctf_get_trace_status): Add 'self' argument.
932 2014-02-19 Tom Tromey <tromey@redhat.com>
934 * target.h (struct target_ops) <to_trace_start>: Add argument.
935 (target_trace_start): Add argument.
936 * target.c (update_current_target): Update.
937 * remote.c (remote_trace_start): Add 'self' argument.
939 2014-02-19 Tom Tromey <tromey@redhat.com>
941 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
943 (target_trace_set_readonly_regions): Add argument.
944 * target.c (update_current_target): Update.
945 * remote.c (remote_trace_set_readonly_regions): Add 'self'
948 2014-02-19 Tom Tromey <tromey@redhat.com>
950 * target.h (struct target_ops) <to_disable_tracepoint>: Add
952 (target_disable_tracepoint): Add argument.
953 * target.c (update_current_target): Update.
954 * remote.c (remote_disable_tracepoint): Add 'self' argument.
956 2014-02-19 Tom Tromey <tromey@redhat.com>
958 * target.h (struct target_ops) <to_enable_tracepoint>: Add
960 (target_enable_tracepoint): Add argument.
961 * target.c (update_current_target): Update.
962 * remote.c (remote_enable_tracepoint): Add 'self' argument.
964 2014-02-19 Tom Tromey <tromey@redhat.com>
966 * target.h (struct target_ops) <to_download_trace_state_variable>:
968 (target_download_trace_state_variable): Add argument.
969 * target.c (update_current_target): Update.
970 * remote.c (remote_download_trace_state_variable): Add 'self'
973 2014-02-19 Tom Tromey <tromey@redhat.com>
975 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
977 (target_can_download_tracepoint): Add argument.
978 * target.c (update_current_target): Update.
979 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
981 2014-02-19 Tom Tromey <tromey@redhat.com>
983 * target.h (struct target_ops) <to_download_tracepoint>: Add
985 (target_download_tracepoint): Add argument.
986 * target.c (update_current_target): Update.
987 * remote.c (remote_download_tracepoint): Add 'self' argument.
989 2014-02-19 Tom Tromey <tromey@redhat.com>
991 * target.h (struct target_ops) <to_trace_init>: Add argument.
992 (target_trace_init): Add argument.
993 * target.c (update_current_target): Update.
994 * remote.c (remote_trace_init): Add 'self' argument.
996 2014-02-19 Tom Tromey <tromey@redhat.com>
998 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
999 * target.c (target_fileio_readlink): Add argument.
1000 * remote.c (remote_hostio_readlink): Add 'self' argument.
1001 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1003 2014-02-19 Tom Tromey <tromey@redhat.com>
1005 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1006 * target.c (target_fileio_unlink): Add argument.
1007 * remote.c (remote_hostio_unlink): Add 'self' argument.
1008 (remote_file_delete): Update.
1009 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1011 2014-02-19 Tom Tromey <tromey@redhat.com>
1013 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1014 * target.c (target_fileio_close): Add argument.
1015 * remote.c (remote_hostio_close): Add 'self' argument.
1016 (remote_hostio_close_cleanup): Update.
1017 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1019 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1021 2014-02-19 Tom Tromey <tromey@redhat.com>
1023 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1024 * target.c (target_fileio_pread): Add argument.
1025 * remote.c (remote_hostio_pread): Add 'self' argument.
1026 (remote_bfd_iovec_pread, remote_file_get): Update.
1027 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1029 2014-02-19 Tom Tromey <tromey@redhat.com>
1031 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1032 * target.c (target_fileio_pwrite): Add argument.
1033 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1034 (remote_file_put): Update.
1035 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1037 2014-02-19 Tom Tromey <tromey@redhat.com>
1039 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1040 * target.c (target_fileio_open): Add argument.
1041 * remote.c (remote_hostio_open): Add 'self' argument.
1042 (remote_bfd_iovec_open): Add 'self' argument.
1043 (remote_file_put): Add 'self' argument.
1044 (remote_file_get): Add 'self' argument.
1045 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1047 2014-02-19 Tom Tromey <tromey@redhat.com>
1049 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1051 (target_can_run_breakpoint_commands): Add argument.
1052 * target.c (update_current_target): Update.
1053 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1055 (remote_insert_breakpoint): Add 'self' argument.
1056 (remote_insert_hw_breakpoint): Add 'self' argument.
1057 (remote_can_run_breakpoint_commands): Add 'self' argument.
1059 2014-02-19 Tom Tromey <tromey@redhat.com>
1061 * target.h (struct target_ops)
1062 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1063 (target_supports_evaluation_of_breakpoint_conditions): Add
1065 * target.c (update_current_target): Update.
1066 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1068 (remote_insert_breakpoint): Add 'self' argument.
1069 (remote_insert_hw_breakpoint): Add 'self' argument.
1070 (remote_supports_cond_breakpoints): Add 'self' argument.
1072 2014-02-19 Tom Tromey <tromey@redhat.com>
1074 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1076 (target_supports_string_tracing): Add argument.
1077 * target.c (update_current_target): Update.
1078 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1080 2014-02-19 Tom Tromey <tromey@redhat.com>
1082 * target.h (struct target_ops)
1083 <to_supports_disable_randomization>: Add argument.
1084 * target.c (find_default_supports_disable_randomization): Add
1086 (target_supports_disable_randomization): Add argument.
1087 (find_default_supports_disable_randomization): Add 'self'
1089 * remote.c (extended_remote_supports_disable_randomization): Add
1091 (remote_supports_disable_randomization): Add 'self' argument.
1092 (extended_remote_create_inferior): Update.
1093 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1096 2014-02-19 Tom Tromey <tromey@redhat.com>
1098 * target.h (struct target_ops)
1099 <to_supports_enable_disable_tracepoint>: Add argument.
1100 (target_supports_enable_disable_tracepoint): Add argument.
1101 * target.c (update_current_target): Update.
1102 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1105 2014-02-19 Tom Tromey <tromey@redhat.com>
1107 * target.h (struct target_ops) <to_supports_multi_process>: Add
1109 (target_supports_multi_process): Add argument.
1110 * target.c (update_current_target): Update.
1111 * remote.c (remote_supports_multi_process): Add 'self' argument.
1112 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1114 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1117 2014-02-19 Tom Tromey <tromey@redhat.com>
1119 * target.h (struct target_ops) <to_execution_direction>: Add
1121 (target_execution_direction): Add argument.
1122 * target.c (default_execution_direction): Add 'self' argument.
1123 * record-full.c (record_full_execution_direction): Add 'self'
1126 2014-02-19 Tom Tromey <tromey@redhat.com>
1128 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1130 (target_can_execute_reverse): Add argument.
1131 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1132 * record-full.c (record_full_can_execute_reverse): Add 'self'
1134 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1137 2014-02-19 Tom Tromey <tromey@redhat.com>
1139 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1140 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1142 (target_get_ada_task_ptid): Add argument.
1143 * target.c (update_current_target): Update.
1144 (default_get_ada_task_ptid): Add 'self' argument.
1145 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1146 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1147 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1149 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1151 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1153 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1155 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1156 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1159 2014-02-19 Tom Tromey <tromey@redhat.com>
1161 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1162 (target_goto_bookmark): Add argument.
1163 * target.c (dummy_goto_bookmark): Add 'self' argument.
1164 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1166 2014-02-19 Tom Tromey <tromey@redhat.com>
1168 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1169 (target_get_bookmark): Add argument.
1170 * target.c (dummy_get_bookmark): Add 'self' argument.
1171 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1173 2014-02-19 Tom Tromey <tromey@redhat.com>
1175 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1177 (target_make_corefile_notes): Add argument.
1178 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1179 * procfs.c (procfs_make_note_section): Add 'self' argument.
1180 (procfs_make_note_section): Add 'self' argument.
1181 (procfs_make_note_section): Add 'self' argument.
1182 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1184 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1185 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1186 * exec.c (exec_make_note_section): Add 'self' argument.
1187 (exec_make_note_section): Add 'self' argument.
1189 2014-02-19 Tom Tromey <tromey@redhat.com>
1191 * target.h (struct target_ops) <to_find_memory_regions>: Add
1193 (target_find_memory_regions): Add argument.
1194 * target.c (dummy_find_memory_regions): Add 'self' argument.
1195 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1196 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1197 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1198 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1199 * exec. (exec_do_find_memory_regions): New global.
1200 (exec_set_find_memory_regions): Rewrite.
1201 (exec_find_memory_regions): New function.
1202 (init_exec_ops): Use exec_find_memory_regions.
1204 2014-02-19 Tom Tromey <tromey@redhat.com>
1206 * target.h (struct target_ops) <to_supports_non_stop>: Add
1208 * target.c (find_default_supports_non_stop): Add argument.
1209 (target_supports_non_stop): Add argument.
1210 (find_default_supports_non_stop): Add 'self' argument.
1211 * remote.c (remote_supports_non_stop): Add 'self' argument.
1212 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1214 2014-02-19 Tom Tromey <tromey@redhat.com>
1216 * target.h (struct target_ops) <to_log_command>: Add argument.
1217 (target_log_command): Add argument.
1218 * serial.h (serial_log_command): Add 'self' argument.
1219 * serial.c (serial_log_command): Add 'self' argument.
1221 2014-02-19 Tom Tromey <tromey@redhat.com>
1223 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1224 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1226 (target_pid_to_exec_file): Add argument.
1227 * target.c (debug_to_pid_to_exec_file): Add argument.
1228 (update_current_target): Update.
1229 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1230 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1231 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1232 (linux_handle_extended_wait): Update.
1233 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1234 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1235 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1236 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1238 2014-02-19 Tom Tromey <tromey@redhat.com>
1240 * target.h (struct target_ops) <to_rcmd>: Add argument.
1241 (target_rcmd): Add argument.
1242 * target.c (debug_to_rcmd): Add argument.
1243 (update_current_target, do_monitor_command): Update.
1244 * remote.c (remote_rcmd): Add 'self' argument.
1245 * monitor.c (monitor_rcmd): Add 'self' argument.
1247 2014-02-19 Tom Tromey <tromey@redhat.com>
1249 * windows-nat.c (windows_stop): Add 'self' argument.
1250 * target.h (struct target_ops) <to_stop>: Add argument.
1251 * target.c (target_stop): Add argument.
1252 (debug_to_stop): Add argument.
1253 (update_current_target): Update.
1254 * remote.c (remote_stop): Add 'self' argument.
1255 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1256 (gdbsim_cntrl_c): Update.
1257 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1258 * procfs.c (procfs_stop): Add 'self' argument.
1259 * nto-procfs.c (procfs_stop): Add 'self' argument.
1260 * monitor.c (monitor_stop): Add 'self' argument.
1261 (monitor_open): Update.
1262 * linux-nat.c (linux_nat_stop): Add argument.
1263 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1264 * gnu-nat.c (gnu_stop): Add 'self' argument.
1265 * darwin-nat.c (darwin_stop): Add 'self' argument.
1267 2014-02-19 Tom Tromey <tromey@redhat.com>
1269 * target.h (struct target_ops) <to_thread_name>: Add argument.
1270 * target.c (target_thread_name): Add argument.
1271 (update_current_target): Update.
1272 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
1274 2014-02-19 Tom Tromey <tromey@redhat.com>
1276 * target.h (struct target_ops) <to_extra_thread_info>: Add
1278 (target_extra_thread_info): Add argument.
1279 * target.c (update_current_target): Update.
1280 * remote.c (remote_threads_extra_info): Add 'self' argument.
1281 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
1283 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
1284 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
1285 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
1287 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
1289 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
1291 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
1294 2014-02-19 Tom Tromey <tromey@redhat.com>
1296 * target.h (struct target_ops) <to_program_signals>: Add argument.
1297 * target.c (target_program_signals): Add argument.
1298 * remote.c (remote_program_signals): Add 'self' argument.
1300 2014-02-19 Tom Tromey <tromey@redhat.com>
1302 * target.h (struct target_ops) <to_pass_signals>: Add argument.
1303 * target.c (target_pass_signals): Add argument.
1304 * remote.c (remote_pass_signals): Add 'self' argument.
1305 (remote_start_remote): Update.
1306 * procfs.c (procfs_pass_signals): Add 'self' argument.
1307 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
1308 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
1309 (linux_nat_create_inferior, linux_nat_attach): Update.
1311 2014-02-19 Tom Tromey <tromey@redhat.com>
1313 * windows-nat.c (windows_can_run): Add 'self' argument.
1314 * target.h (struct target_ops) <to_can_run>: Add argument.
1315 (target_can_run): Add argument.
1316 * target.c (debug_to_can_run): Add argument.
1317 (update_current_target): Update.
1318 * nto-procfs.c (procfs_can_run): Add 'self' argument.
1319 * inf-child.c (inf_child_can_run): Add 'self' argument.
1320 * go32-nat.c (go32_can_run): Add 'self' argument.
1322 2014-02-19 Tom Tromey <tromey@redhat.com>
1324 * target.h (struct target_ops) <to_has_exited>: Add argument.
1325 (target_has_exited): Add argument.
1326 * target.c (debug_to_has_exited): Add argument.
1327 (update_current_target): Update.
1329 2014-02-19 Tom Tromey <tromey@redhat.com>
1331 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
1333 (target_set_syscall_catchpoint): Add argument.
1334 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
1336 * target.c (update_current_target): Update.
1338 2014-02-19 Tom Tromey <tromey@redhat.com>
1340 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
1342 (target_remove_exec_catchpoint): Add argument.
1343 * target.c (debug_to_remove_exec_catchpoint): Add argument.
1344 (update_current_target): Update.
1345 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
1348 2014-02-19 Tom Tromey <tromey@redhat.com>
1350 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
1352 (target_insert_exec_catchpoint): Add argument.
1353 * target.c (debug_to_insert_exec_catchpoint): Add argument.
1354 (update_current_target): Update.
1355 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
1358 2014-02-19 Tom Tromey <tromey@redhat.com>
1360 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
1362 (target_remove_vfork_catchpoint): Add argument.
1363 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
1364 (update_current_target): Update.
1365 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
1368 2014-02-19 Tom Tromey <tromey@redhat.com>
1370 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
1372 (target_insert_vfork_catchpoint): Add argument.
1373 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
1374 (update_current_target): Update.
1375 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
1378 2014-02-19 Tom Tromey <tromey@redhat.com>
1380 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
1382 (target_remove_fork_catchpoint): Add argument.
1383 * target.c (debug_to_remove_fork_catchpoint): Add argument.
1384 (update_current_target): Update.
1385 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
1388 2014-02-19 Tom Tromey <tromey@redhat.com>
1390 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
1392 (target_insert_fork_catchpoint): Add argument.
1393 * target.c (debug_to_insert_fork_catchpoint): Add argument.
1394 (update_current_target): Update.
1395 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
1398 2014-02-19 Tom Tromey <tromey@redhat.com>
1400 * target.h (struct target_ops) <to_post_startup_inferior>: Add
1402 (target_post_startup_inferior): Add argument.
1403 * target.c (debug_to_post_startup_inferior): Add argument.
1404 (update_current_target): Update.
1405 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
1407 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
1409 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
1411 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
1413 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
1415 (super_post_startup_inferior): Likewise.
1416 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
1418 (super_post_startup_inferior): Likewise.
1419 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
1420 Add 'self' argument.
1421 (super_post_startup_inferior): Likewise.
1423 2014-02-19 Tom Tromey <tromey@redhat.com>
1425 * target.h (struct target_ops) <to_load>: Add argument.
1426 * target.c (target_load): Add argument.
1427 (debug_to_load): Add argument.
1428 (update_current_target): Update.
1429 * remote.c (remote_load): Add 'self' argument.
1430 * remote-sim.c (gdbsim_load): Add 'self' argument.
1431 * remote-mips.c (mips_load): Add 'self' argument.
1432 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
1433 * monitor.c (monitor_load): Add 'self' argument.
1434 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
1436 2014-02-19 Tom Tromey <tromey@redhat.com>
1438 * target.h (struct target_ops) <to_terminal_info>: Add argument.
1439 (target_terminal_info): Add argument.
1440 * target.c (debug_to_terminal_info): Add argument.
1441 (default_terminal_info): Likewise.
1442 * inflow.c (child_terminal_info): Add 'self' argument.
1443 * inferior.h (child_terminal_info): Add 'self' argument.
1444 * go32-nat.c (go32_terminal_info): Add 'self' argument.
1446 2014-02-19 Tom Tromey <tromey@redhat.com>
1448 * target.h (struct target_ops) <to_terminal_save_ours>: Add
1450 (target_terminal_save_ours): Add argument.
1451 * target.c (debug_to_terminal_save_ours): Add argument.
1452 (update_current_target): Update.
1453 * inflow.c (terminal_save_ours): Add 'self' argument.
1454 * inferior.h (terminal_save_ours): Add 'self' argument.
1456 2014-02-19 Tom Tromey <tromey@redhat.com>
1458 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
1459 (target_terminal_ours): Add argument.
1460 * target.c (debug_to_terminal_ours): Add argument.
1461 (update_current_target): Update.
1462 * remote.c (remote_terminal_ours): Add 'self' argument.
1463 (remote_close): Update.
1464 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
1465 * inflow.c (terminal_ours): Add 'self' argument.
1466 * inferior.h (terminal_ours): Add 'self' argument.
1467 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1469 2014-02-19 Pedro Alves <palves@redhat.com>
1470 Tom Tromey <tromey@redhat.com>
1472 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
1474 (target_terminal_ours_for_output): Add argument.
1475 * target.c (debug_to_terminal_ours_for_output): Add argument.
1476 (update_current_target): Update.
1477 * inflow.c (terminal_ours_for_output): Add 'self' argument.
1478 * inferior.h (terminal_ours_for_output): Add 'self' argument.
1479 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1481 2014-02-19 Tom Tromey <tromey@redhat.com>
1483 * target.h (struct target_ops) <to_terminal_inferior>: Add
1485 * target.c (target_terminal_inferior): Add argument.
1486 (update_current_target): Update.
1487 * remote.c (remote_terminal_inferior): Add 'self' argument.
1488 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
1489 * inflow.c (terminal_inferior): Add 'self' argument.
1490 * inferior.h (terminal_inferior): Add 'self' argument.
1491 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
1492 (go32_terminal_inferior): Add 'self' argument.
1494 2014-02-19 Tom Tromey <tromey@redhat.com>
1496 * target.h (struct target_ops) <to_terminal_init>: Add argument.
1497 (target_terminal_init): Add argument.
1498 * target.c (debug_to_terminal_init): Add argument.
1499 (update_current_target): Update.
1500 * inflow.c (terminal_init_inferior): Add 'self' argument.
1501 * inferior.h (terminal_init_inferior): Add 'self' argument.
1502 * go32-nat.c (go32_terminal_init): Add 'self' argument.
1503 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
1505 2014-02-19 Tom Tromey <tromey@redhat.com>
1507 * target.h (struct target_ops)
1508 <to_can_accel_watchpoint_condition>: Add argument.
1509 (target_can_accel_watchpoint_condition): Add argument.
1510 * target.c (debug_to_can_accel_watchpoint_condition): Add
1512 (update_current_target): Update.
1513 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
1516 2014-02-19 Tom Tromey <tromey@redhat.com>
1518 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1520 (target_region_ok_for_hw_watchpoint): Add argument.
1521 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
1522 (default_region_ok_for_hw_watchpoint): Add argument.
1523 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
1524 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
1526 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
1528 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
1530 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
1532 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
1534 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
1536 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
1537 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
1539 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
1540 Add 'self' argument.
1542 2014-02-19 Tom Tromey <tromey@redhat.com>
1544 * target.h (struct target_ops) <to_insert_watchpoint>: Add
1546 (target_insert_watchpoint): Add argument.
1547 * target.c (debug_to_insert_watchpoint): Add argument.
1548 (update_current_target): Update.
1549 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
1550 * remote.c (remote_insert_watchpoint): Add 'self' argument.
1551 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
1552 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
1553 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
1554 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
1556 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
1557 (procfs_insert_hw_watchpoint): Add 'self' argument.
1558 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
1560 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
1562 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
1564 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
1565 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
1567 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
1570 2014-02-19 Tom Tromey <tromey@redhat.com>
1572 * target.h (struct target_ops) <to_remove_watchpoint>: Add
1574 (target_remove_watchpoint): Add argument.
1575 * target.c (debug_to_remove_watchpoint): Add argument.
1576 (update_current_target): Update.
1577 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
1578 * remote.c (remote_remove_watchpoint): Add 'self' argument.
1579 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
1580 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
1581 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
1582 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
1584 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
1585 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
1587 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
1589 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
1591 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
1592 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
1594 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
1597 2014-02-19 Tom Tromey <tromey@redhat.com>
1599 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
1601 (target_remove_hw_breakpoint): Add argument.
1602 * target.c (debug_to_remove_hw_breakpoint): Add argument.
1603 (update_current_target): Update.
1604 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
1605 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
1607 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
1608 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
1610 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
1613 2014-02-19 Tom Tromey <tromey@redhat.com>
1615 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
1617 (target_insert_hw_breakpoint): Add argument.
1618 * target.c (debug_to_insert_hw_breakpoint): Add argument.
1619 (update_current_target): Update.
1620 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
1621 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
1623 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
1624 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
1625 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
1627 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
1630 2014-02-19 Tom Tromey <tromey@redhat.com>
1632 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
1634 (target_can_use_hardware_watchpoint): Add argument.
1635 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
1636 (update_current_target): Update.
1637 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
1639 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
1641 * remote.c (remote_check_watch_resources): Add 'self' argument.
1642 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
1643 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
1645 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
1646 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
1648 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
1650 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
1652 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
1654 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
1656 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
1658 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
1659 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
1661 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
1664 2014-02-19 Tom Tromey <tromey@redhat.com>
1666 * target.h (struct target_ops) <to_post_attach>: Add argument.
1667 (target_post_attach): Add argument.
1668 * target.c (debug_to_post_attach): Add argument.
1669 (update_current_target): Update.
1670 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
1671 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
1672 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
1673 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
1674 * inf-child.c (inf_child_post_attach): Add 'self' argument.
1676 2014-02-19 Tom Tromey <tromey@redhat.com>
1678 * windows-nat.c (windows_close): Add 'self' argument.
1679 * tracepoint.c (tfile_close): Add 'self' argument.
1680 * target.h (struct target_ops) <to_close>: Add argument.
1681 * target.c (target_close): Add argument.
1682 (update_current_target): Update.
1683 * remote.c (remote_close): Add 'self' argument.
1684 * remote-sim.c (gdbsim_close): Add 'self' argument.
1685 * remote-mips.c (mips_close): Add 'self' argument.
1686 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
1687 * record-full.c (record_full_close): Add 'self' argument.
1688 * record-btrace.c (record_btrace_close): Add 'self' argument.
1689 * monitor.h (monitor_close): Add 'self' argument.
1690 * monitor.c (monitor_close): Add 'self' argument.
1691 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
1692 * linux-nat.c (linux_nat_close): Add argument.
1693 * go32-nat.c (go32_close): Add 'self' argument.
1694 * exec.c (exec_close_1): Add 'self' argument.
1695 * ctf.c (ctf_close): Add 'self' argument.
1696 * corelow.c (core_close): Add 'self' argument.
1697 (core_close_cleanup): Update.
1698 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
1699 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
1701 2014-02-19 Tom Tromey <tromey@redhat.com>
1703 * remote.c (remote_load): New function.
1704 (init_remote_ops): Use it.
1706 2014-02-19 Tom Tromey <tromey@redhat.com>
1708 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
1710 * common/linux-btrace.h (linux_supports_btrace): Update.
1711 * remote.c (remote_supports_btrace): Add "self" argument.
1712 * target-delegates.c: Rebuild.
1713 * target.c (target_supports_btrace): Remove.
1714 * target.h (struct target_ops) <to_supports_btrace>: Add
1715 target_ops argument.
1716 (target_supports_btrace): New define.
1718 2014-02-19 Tom Tromey <tromey@redhat.com>
1720 * record-full.c (record_full_beneath_to_resume_ops)
1721 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
1722 (record_full_beneath_to_wait)
1723 (record_full_beneath_to_store_registers_ops)
1724 (record_full_beneath_to_store_registers)
1725 (record_full_beneath_to_xfer_partial_ops)
1726 (record_full_beneath_to_xfer_partial)
1727 (record_full_beneath_to_insert_breakpoint_ops)
1728 (record_full_beneath_to_insert_breakpoint)
1729 (record_full_beneath_to_remove_breakpoint_ops)
1730 (record_full_beneath_to_remove_breakpoint)
1731 (record_full_beneath_to_stopped_by_watchpoint)
1732 (record_full_beneath_to_stopped_data_address)
1733 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
1734 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
1735 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
1736 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
1737 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
1738 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
1739 (tmp_to_stopped_data_address, tmp_to_async): Remove.
1740 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
1741 (record_full_resume, record_full_wait_1)
1742 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
1743 (record_full_store_registers, record_full_xfer_partial)
1744 (record_full_insert_breakpoint, record_full_remove_breakpoint)
1745 (record_full_async, record_full_core_xfer_partial): Use target
1747 * target-delegates.c: Rebuild.
1748 * target.c (current_xfer_partial): Remove.
1749 (update_current_target): Do not INHERIT or de_fault
1750 to_insert_breakpoint, to_remove_breakpoint,
1751 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
1752 to_is_async_p, to_async. Do not set to_xfer_partial field.
1753 (default_xfer_partial): Simplify.
1754 (current_xfer_partial): Remove.
1755 (target_wait, target_resume): Simplify.
1756 (find_default_can_async_p, find_default_is_async_p): Update.
1757 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
1758 to_xfer_partial, to_stopped_by_watchpoint,
1759 to_stopped_data_address.
1760 (target_store_registers): Simplify.
1761 (forward_target_remove_breakpoint)
1762 (forward_target_insert_breakpoint): Remove.
1763 (target_remove_breakpoint, target_insert_breakpoint)
1764 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
1765 * target.h (struct target_ops) <to_resume, to_wait,
1766 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
1767 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
1768 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
1770 (forward_target_remove_breakpoint)
1771 (forward_target_insert_breakpoint): Remove.
1772 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
1774 (record_btrace_insert_breakpoint): Delegate directly.
1776 2014-02-19 Tom Tromey <tromey@redhat.com>
1779 * target-delegates.c: New file.
1780 * target.c: Include target-delegates.c.
1781 (init_dummy_target): Call install_dummy_methods.
1782 (complete_target_initialization): Call install_delegators.
1783 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
1784 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
1785 * make-target-delegates: New file.
1787 2014-02-19 Tom Tromey <tromey@redhat.com>
1789 * record.c (find_record_target): Use find_target_at.
1790 * target.c (find_target_at): New function.
1791 * target.h (find_target_at): Declare.
1793 2014-02-19 Tom Tromey <tromey@redhat.com>
1795 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
1797 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
1799 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
1800 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
1802 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
1804 * linux-nat.c (save_sigtrap): Update.
1805 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
1806 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
1807 (linux_nat_close): Update.
1808 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
1810 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
1812 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
1813 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
1814 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
1815 (tmp_to_async): Add 'ops' argument.
1816 (record_full_stopped_by_watchpoint, record_full_async)
1817 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
1819 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
1820 (m32r_stopped_by_watchpoint): Add 'ops' argument.
1821 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
1822 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
1823 (remote_is_async_p, remote_async): Add 'ops' argument.
1824 (remote_stopped_data_address): Update.
1825 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
1826 * target.c (update_current_target)
1827 (find_default_can_async_p, find_default_is_async_p): Update.
1828 (init_dummy_target): Update.
1829 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
1830 * target.h (struct target_ops) <to_stopped_by_watchpoint,
1831 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
1832 (target_can_async_p, target_is_async_p, target_async)
1833 (target_stopped_by_watchpoint): Update.
1835 2014-02-19 Yao Qi <yao@codesourcery.com>
1838 * gdbarch.sh: Remove startup_gdbarch.
1839 * gdbarch.c: Regenerated.
1840 * gdbarch.h: Likewise.
1842 2014-02-17 Kevin Buettner <kevinb@redhat.com>
1844 * rl78-tdep.c (rl78_g10_register_name): New function.
1845 (rl78_return_value): Add g10 support.
1846 (rl78_gdbarch_init): Register rl78_g10_register_name for the
1849 2014-02-17 Doug Evans <xdje42@gmail.com>
1851 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
1852 (SUBDIR_GUILE_SRCS): Ditto.
1853 (scm-gsmob.o): Ditto.
1855 2014-02-17 Yao Qi <yao@codesourcery.com>
1857 * gnu-nat.c (ILL_RPC): Declare defined function.
1859 2014-02-17 Yao Qi <yao@codesourcery.com>
1861 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
1862 mach_msg_type_number_t.
1863 (gnu_write_inferior): Likewise.
1865 2014-02-17 Yao Qi <yao@codesourcery.com>
1867 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
1869 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
1870 (inf_validate_procs, inf_signal): Likewise.
1871 (S_exception_raise_request): Likewise.
1872 (do_mach_notify_dead_name): Likewise.
1873 (steal_exc_port): Likewise.
1874 (gnu_read_inferior): Change 'copy_count''s type to
1875 mach_msg_type_number_t.
1876 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
1879 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
1881 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
1882 flag. Adjust all users; in particular...
1883 (gnu_wait): ..., don't decrement its value in here...
1884 (gnu_create_inferior): ..., and instead set the flag in here,
1885 around the startup_inferior call, and call that one with
1886 START_INFERIOR_TRAPS_EXPECTED.
1888 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
1889 (ILL_RPC): ... new macro.
1890 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
1891 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
1892 (do_mach_notify_send_once, S_proc_setmsgport_reply)
1893 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
1894 functions with ILL_RPC macro.
1895 (S_proc_pid2task_reply, S_proc_task2pid_reply)
1896 (S_proc_task2proc_reply, S_proc_proc2task_reply)
1897 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
1898 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
1899 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
1900 (S_proc_getlogin_reply, S_proc_getsid_reply)
1901 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
1902 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
1903 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
1904 (S_proc_getnports_reply, S_proc_is_important_reply)
1905 (S_proc_get_code_reply): New stub functions, generated with
1908 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
1909 collected the type check structures.
1911 * reply_mig_hack.awk: Don't expect to see the auto keyword.
1913 2014-02-14 Doug Evans <dje@google.com>
1915 * target.c (target_write_partial): Fix result type.
1917 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
1919 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
1920 the proper offsets to access fpregset_t.
1922 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
1924 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
1925 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
1926 * h8300-tdep.c (setmachinelist): Remove global.
1927 * hppa-tdep.c (hppa_sigtramp): Remove global.
1928 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
1929 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
1930 * ravenscar-thread.c (update_target_observer): Remove global.
1931 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
1933 2014-02-12 Tom Tromey <tromey@redhat.com>
1935 * common/rsp-low.c: Update comments.
1936 * common/rsp-low.h: Update comments.
1938 2014-02-12 Tom Tromey <tromey@redhat.com>
1940 * common/rsp-low.c (convert_ascii_to_int): Remove.
1941 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
1943 2014-02-12 Tom Tromey <tromey@redhat.com>
1945 * common/rsp-low.h (unhexify): Don't declare.
1946 * common/rsp-low.c (unhexify): Remove.
1948 2014-02-12 Tom Tromey <tromey@redhat.com>
1950 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
1951 * common/rsp-low.c (convert_int_to_ascii): Remove.
1953 2014-02-12 Tom Tromey <tromey@redhat.com>
1955 * common/rsp-low.h (hexify): Don't declare.
1956 * common/rsp-low.c (hexify): Remove.
1958 2014-02-12 Tom Tromey <tromey@redhat.com>
1960 * common/rsp-low.c (hexify): Never take strlen of argument.
1962 2014-02-12 Tom Tromey <tromey@redhat.com>
1964 * common/rsp-low.c (bin2hex): Never take strlen of argument.
1965 * remote.c (extended_remote_run, remote_rcmd)
1966 (remote_download_trace_state_variable, remote_save_trace_data)
1967 (remote_set_trace_notes): Update.
1968 * tracepoint.c (encode_source_string, tfile_write_status)
1969 (tfile_write_uploaded_tsv): Update.
1971 2014-02-12 Tom Tromey <tromey@redhat.com>
1973 * tracepoint.c: Include rsp-low.h.
1974 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
1975 * remote.c: Include rsp-low.h.
1976 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
1977 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
1978 (remote_unescape_input): Move to common/rsp-low.c.
1979 * common/rsp-low.h: New file.
1980 * common/rsp-low.c: New file.
1981 * Makefile.in (SFILES): Add common/rsp-low.c.
1982 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
1983 (COMMON_OBS): Add rsp-low.o.
1984 (rsp-low.o): New target.
1986 2014-02-12 Tom Tromey <tromey@redhat.com>
1988 * utils.h: Include print-utils.h.
1989 (host_address_to_string, plongest, pulongest, phex, phex_nz)
1990 (int_string, core_addr_to_string, core_addr_to_string_nz)
1991 (hex_string, hex_string_custom): Don't declare.
1992 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
1993 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
1994 (hex_string_custom, int_string, core_addr_to_string)
1995 (core_addr_to_string_nz, host_address_to_string): Move to
1996 common/print-utils.c.
1997 * common/print-utils.h: New file.
1998 * common/print-utils.c: New file
1999 * Makefile.in (SFILES): Add common/print-utils.c.
2000 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2001 (COMMON_OBS): Add print-utils.o.
2002 (print-utils.o): New target.
2004 2014-02-12 Tom Tromey <tromey@redhat.com>
2006 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2008 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2010 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2012 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2014 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2015 if a PT_IO ptrace request returns sucessfully but indicates that 0
2016 bytes were transferred.
2018 2014-02-12 Pedro Alves <palves@redhat.com>
2019 Kevin Buettner <kevinb@redhat.com>
2021 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2022 TYPE_INSTANCE_FLAG_CODE_SPACE.
2024 2014-02-12 Pedro Alves <palves@redhat.com>
2026 * h8300-tdep.c (pseudo_from_raw_register)
2027 (raw_from_pseudo_register): New functions.
2028 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2031 2014-02-12 Pedro Alves <palves@redhat.com>
2033 * h8300-tdep.c (h8300_register_sim_regno): New function.
2034 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2035 gdbarch_register_sim_regno hook.
2037 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2039 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2041 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2043 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2045 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2047 * obsd-tdep.h (obsd_init_abi): New prototype.
2048 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2049 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2050 (obsd_init_abi): New functions.
2051 * i386obsd-tdep.c: Include "obsd-tdep.h".
2052 (i386obsd_init_abi): Call obsd_init_abi.
2053 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2054 (amd64obsd_init_abi): Call obsd_init_abi.
2055 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2056 obsd-tdep.c to gdb_target_obs.
2058 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2060 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2061 double float arguments to 16-byte in the argument slots.
2063 2014-02-11 Doug Evans <xdje42@gmail.com>
2065 * configure.ac: Don't crash if pkg-config is not found and guile
2066 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2068 * configure: Regenerate.
2070 2014-02-11 Yao Qi <yao@codesourcery.com>
2072 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2073 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2074 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2075 * gnu-nat.c (gnu_xfer_memory): Likewise.
2076 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2077 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2078 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2079 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2081 2014-02-11 Yao Qi <yao@codesourcery.com>
2083 * target.h (enum target_xfer_error): Rename to ...
2084 (enum target_xfer_status): ... it. New. All users updated.
2085 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2087 (TARGET_XFER_STATUS_ERROR_P): New macro.
2088 (target_xfer_error_to_string): Remove declaration.
2089 (target_xfer_status_to_string): Declare.
2090 (target_xfer_partial_ftype): Adjust it.
2091 (struct target_ops) <to_xfer_partial>: Return
2092 target_xfer_status. Add argument xfered_len. Update
2094 * target.c (target_xfer_error_to_string): Rename to ...
2095 (target_xfer_status_to_string): ... it. New. All callers
2097 (target_read_live_memory): Likewise. Call target_xfer_partial
2098 instead of target_read.
2099 (memory_xfer_live_readonly_partial): Return
2100 target_xfer_status. Add argument xfered_len.
2101 (raw_memory_xfer_partial): Likewise.
2102 (memory_xfer_partial_1): Likewise.
2103 (memory_xfer_partial): Likewise.
2104 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2105 properly. Update debug message.
2106 (default_xfer_partial, current_xfer_partial): Likewise.
2107 (target_write_partial): Likewise.
2108 (target_read_partial): Likewise. All callers updated.
2109 (read_whatever_is_readable): Likewise.
2110 (target_write_with_progress): Likewise.
2111 (target_read_alloc_1): Likewise.
2113 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2114 * auxv.c (procfs_xfer_auxv): Likewise.
2115 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2116 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2117 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2118 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2119 * corefile.c (read_memory): Adjust.
2120 * corelow.c (core_xfer_partial): Likewise.
2121 * ctf.c (ctf_xfer_partial): Likewise.
2122 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2124 (darwin_xfer_partial): Likewise.
2125 * exec.c (section_table_xfer_memory_partial): Likewise. All
2127 (exec_xfer_partial): Likewise.
2128 * exec.h (section_table_xfer_memory_partial): Update
2130 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2132 (gnu_xfer_partial): Likewise.
2133 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2134 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2135 (ia64_hpux_xfer_solib_got): Likewise.
2136 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2137 type of 'partial_len' to ULONGEST.
2138 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2139 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2140 (linux_nat_xfer_partial): Likewise.
2141 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2142 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2143 * monitor.c (monitor_xfer_memory): Likewise.
2144 (monitor_xfer_partial): Likewise.
2145 * procfs.c (procfs_xfer_partial): Likewise.
2146 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2147 * record-full.c (record_full_xfer_partial): Likewise.
2148 (record_full_core_xfer_partial): Likewise.
2149 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2150 (gdbsim_xfer_partial): Likewise.
2151 * remote.c (remote_write_bytes_aux): Likewise. All callers
2153 (remote_write_bytes, remote_read_bytes): Likewise. All
2155 (remote_flash_erase): Likewise. All callers updated.
2156 (remote_write_qxfer): Likewise. All callers updated.
2157 (remote_read_qxfer): Likewise. All callers updated.
2158 (remote_xfer_partial): Likewise.
2159 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2160 (rs6000_xfer_shared_libraries): Likewise.
2161 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2162 (sol_thread_xfer_partial): Likewise.
2163 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2164 (sparc_xfer_partial): Likewise.
2165 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2167 (spu_xfer_partial): Likewise.
2168 * spu-multiarch.c (spu_xfer_partial): Likewise.
2169 * tracepoint.c (tfile_xfer_partial): Likewise.
2170 * windows-nat.c (windows_xfer_memory): Likewise.
2171 (windows_xfer_shared_libraries): Likewise.
2172 (windows_xfer_partial): Likewise.
2173 * valprint.c: Replace 'target_xfer_error' with
2174 'target_xfer_status' in comments.
2176 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2178 Checked in by Joel Brobecker <brobecker@adacore.com>.
2179 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2181 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2183 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2184 function parameters.
2186 2014-02-10 Will Newton <will.newton@linaro.org>
2188 * elfread.c (elf_rel_plt_read): Look for a .got section if
2189 looking up .got.plt fails.
2190 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2191 on address passed to elf_gnu_ifunc_record_cache.
2192 (elf_gnu_ifunc_resolve_addr): Likewise.
2193 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2195 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2197 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2198 (X_RETTURN): New macro.
2199 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2201 * sparc64-tdep.c (sparc64_init_abi): Hook
2202 sparc_in_function_epilogue_p.
2204 2014-02-10 Gary Benson <gbenson@redhat.com>
2206 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2207 Rename name_matcher to symbol_matcher.
2209 2014-02-10 Gary Benson <gbenson@redhat.com>
2211 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2212 Use expand_symtabs_file_matcher_ftype and
2213 expand_symtabs_symbol_matcher_ftype.
2215 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2217 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2218 (struct ada_symbol_cache): New.
2219 (ada_free_symbol_cache): Forward declare.
2220 (struct ada_pspace_data): New.
2221 (ada_pspace_data_handle): New static global.
2222 (get_ada_pspace_data, ada_pspace_data_cleanup)
2223 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2224 (cache_space, cache): Delete, now folded inside struct
2226 (ada_get_symbol_cache): New function.
2227 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2229 (_initialize_ada_language): Remove initialization of cache_space.
2230 Move call to observer_attach_inferior_exit up, grouping it
2231 with the other observer registrations inside this function.
2232 Rename command to be more general. Add call to
2233 register_program_space_data_with_cleanup.
2235 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2237 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2238 ada_new_objfile_observer.
2239 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2240 (_initialize_tasks): Update uses of ada_new_objfile_observer
2241 and ada_tasks_normal_stop_observer.
2243 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2245 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2246 returned by the 'Length attribute to integer.
2248 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2250 * ada-lang.c (_initialize_ada_language): Initialize
2251 cache_space obstack.
2253 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2255 * ada-lang.c (HASH_SIZE): New macro.
2256 (struct cache_entry): New type.
2257 (cache_space, cache): New static globals.
2258 (ada_clear_symbol_cache, find_entry): New functions.
2259 (lookup_cached_symbol, cache_symbol): Implement.
2260 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2261 (_initialize_ada_language): Attach ada_new_objfile_observer
2262 and ada_free_objfile_observer.
2264 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2266 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
2267 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
2268 struct block * parameter.
2269 (ada_lookup_symbol_list_worker): Constify local variable "block".
2270 Remove cast which is no longer necessary.
2272 2014-02-10 Doug Evans <xdje42@gmail.com>
2274 Add Guile as an extension language.
2275 * NEWS: Mention Guile scripting.
2276 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
2277 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
2278 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
2279 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
2280 (CLIBS): Add GUILE_LIBS.
2281 (install-guile): New rule.
2282 (guile.o): New rule.
2283 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
2284 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
2285 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
2286 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
2287 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
2288 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
2289 (scm-type.o, scm-utils.o, scm-value.o): New rules.
2290 * configure.ac: New option --with-guile.
2291 * configure: Regenerate.
2292 * config.in: Regenerate.
2293 * auto-load.c: Remove #include "python/python.h". Add #include
2294 "gdb/section-scripts.h".
2295 (source_section_scripts): Handle Guile scripts.
2296 (_initialize_auto_load): Add name of Guile objfile script to
2297 scripts-directory help text.
2298 * breakpoint.c (condition_command): Tweak comment to include Scheme.
2299 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
2300 (struct breakpoint): New member scm_bp_object.
2301 * defs.h (enum command_control_type): New value guile_control.
2302 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
2304 (show_user): Update comment.
2305 (_initialize_cli_cmds): Update help text for "show user". Update help
2306 text for max-user-call-depth.
2307 * cli/cli-script.c: Remove #include "python/python.h". Add #include
2309 (multi_line_command_p): Add guile_control.
2310 (print_command_lines): Handle guile_control.
2311 (execute_control_command, recurse_read_control_structure): Ditto.
2312 (process_next_line): Recognize "guile" commands.
2313 * disasm.c (gdb_disassemble_info): Make non-static.
2314 * disasm.h: #include "dis-asm.h".
2315 (struct gdbarch): Add forward decl.
2316 (gdb_disassemble_info): Declare.
2317 * extension.c: #include "guile/guile.h".
2318 (extension_languages): Add guile.
2319 (get_ext_lang_defn): Handle EXT_LANG_GDB.
2320 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
2321 * gdbtypes.c (get_unsigned_type_max): New function.
2322 (get_signed_type_minmax): New function.
2323 * gdbtypes.h (get_unsigned_type_max): Declare.
2324 (get_signed_type_minmax): Declare.
2325 * guile/README: New file.
2326 * guile/guile-internal.h: New file.
2327 * guile/guile.c: New file.
2328 * guile/guile.h: New file.
2329 * guile/scm-arch.c: New file.
2330 * guile/scm-auto-load.c: New file.
2331 * guile/scm-block.c: New file.
2332 * guile/scm-breakpoint.c: New file.
2333 * guile/scm-disasm.c: New file.
2334 * guile/scm-exception.c: New file.
2335 * guile/scm-frame.c: New file.
2336 * guile/scm-gsmob.c: New file.
2337 * guile/scm-iterator.c: New file.
2338 * guile/scm-lazy-string.c: New file.
2339 * guile/scm-math.c: New file.
2340 * guile/scm-objfile.c: New file.
2341 * guile/scm-ports.c: New file.
2342 * guile/scm-pretty-print.c: New file.
2343 * guile/scm-safe-call.c: New file.
2344 * guile/scm-string.c: New file.
2345 * guile/scm-symbol.c: New file.
2346 * guile/scm-symtab.c: New file.
2347 * guile/scm-type.c: New file.
2348 * guile/scm-utils.c: New file.
2349 * guile/scm-value.c: New file.
2350 * guile/lib/gdb.scm: New file.
2351 * guile/lib/gdb/boot.scm: New file.
2352 * guile/lib/gdb/experimental.scm: New file.
2353 * guile/lib/gdb/init.scm: New file.
2354 * guile/lib/gdb/iterator.scm: New file.
2355 * guile/lib/gdb/printing.scm: New file.
2356 * guile/lib/gdb/types.scm: New file.
2357 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
2358 (VPATH): Add $(GUILE_SRCDIR).
2359 (GUILE_DIR): New variable.
2360 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
2361 (all): Add stamp-guile dependency.
2362 (stamp-guile): New rule.
2363 (clean-guile, install-guile, uninstall-guile): New rules.
2364 (install-only): Add install-guile dependency.
2365 (uninstall): Add uninstall-guile dependency.
2366 (clean): Add clean-guile dependency.
2368 2014-02-09 Doug Evans <xdje42@gmail.com>
2370 Revert this patch (which I approved, mea culpa).
2372 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2374 * Makefile.in (all-lib): Remove.
2375 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2377 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2379 Fix Python stack corruption.
2380 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
2383 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2385 * Makefile.in (all-lib): Remove.
2386 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2388 2014-02-07 Doug Evans <dje@google.com>
2390 * extension-priv.h (extension_language_script_ops): Add comment.
2391 (extension_language_ops): Add comment.
2392 (active_ext_lang_state): Fix typo in comment.
2394 2014-02-07 Pedro Alves <palves@redhat.com>
2396 * infrun.c (handle_signal_stop) <signal arrives while stepping
2397 over a breakpoint>: Switch back to the stepping thread.
2399 2014-02-07 Yao Qi <yao@codesourcery.com>
2401 * target.c (target_xfer_partial): Return zero if LEN is zero.
2403 2014-02-07 Yao Qi <yao@codesourcery.com>
2405 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
2406 (ld_so_xfer_auxv): Likewise.
2407 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2408 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2409 * corelow.c (core_xfer_partial): Likewise.
2410 * ctf.c (ctf_xfer_partial): Likewise.
2411 * darwin-nat.c (darwin_read_dyld_info): Likewise.
2412 (darwin_xfer_partial): Likewise.
2413 * exec.c (exec_xfer_partial): Likewise.
2414 * gnu-nat.c (gnu_xfer_partial): Likewise.
2415 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
2416 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2417 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2418 * linux-nat.c (linux_xfer_siginfo): Likewise.
2419 (linux_proc_xfer_spu): Likewise.
2420 * procfs.c (procfs_xfer_partial): Likewise.
2421 * record-full.c (record_full_xfer_partial): Likewise.
2422 (record_full_core_xfer_partial): Likewise.
2423 * remote-sim.c (gdbsim_xfer_partial): Likewise.
2424 * remote.c (remote_write_qxfer): Likewise.
2425 (remote_write_qxfer, remote_read_qxfer): Likewise.
2426 (remote_xfer_partial): Likewise.
2427 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2428 (rs6000_xfer_shared_libraries): Likewise.
2429 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2430 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2431 (spu_xfer_partial): Likewise.
2432 * target.c (memory_xfer_partial_1): Likewise.
2433 * tracepoint.c (tfile_xfer_partial): Likewise.
2434 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
2435 (windows_xfer_partial): Likewise.
2437 2014-02-07 Yao Qi <yao@codesourcery.com>
2439 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
2441 (core_xfer_shared_libraries_aix): Likewise.
2442 * gdbarch.c, gdbarch.h: Regenerated.
2443 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
2444 ULONGEST. Change 'len_avail' type to ULONGEST.
2445 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
2446 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
2448 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
2450 2014-02-07 Yao Qi <yao@codesourcery.com>
2452 * corefile.c (memory_error): Get 'exception' from ERR and pass
2453 'exception' to throw_error.
2455 2014-02-06 Doug Evans <xdje42@gmail.com>
2457 * configure.ac (libpython checking): Remove all but python.o from
2458 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
2459 * configure: Regenerate.
2461 * Makefile.in (SFILES): Add extension.c.
2462 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
2463 (COMMON_OBS): Add extension.o.
2464 * extension.h: New file.
2465 * extension-priv.h: New file.
2466 * extension.c: New file.
2468 * python/python-internal.h: #include "extension.h".
2469 (gdbpy_auto_load_enabled): Declare.
2470 (gdbpy_apply_val_pretty_printer): Declare.
2471 (gdbpy_apply_frame_filter): Declare.
2472 (gdbpy_preserve_values): Declare.
2473 (gdbpy_breakpoint_cond_says_stop): Declare.
2474 (gdbpy_breakpoint_has_cond): Declare.
2475 (void source_python_script_for_objfile): Delete.
2476 * python/python.c: #include "extension-priv.h".
2477 Delete inclusion of "observer.h".
2478 (extension_language_python): Moved here and renamed from
2479 script_language_python in py-auto-load.c.
2480 Redefined to be of type extension_language_defn.
2481 (python_extension_script_ops): New global.
2482 (python_extension_ops): New global.
2483 (struct python_env): New member previous_active.
2484 (restore_python_env): Call restore_active_ext_lang.
2485 (ensure_python_env): Call set_active_ext_lang.
2486 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
2488 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
2490 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
2492 (gdbpy_eval_from_control_command): Renamed from
2493 eval_python_from_control_command, made static. New arg extlang.
2494 (gdbpy_source_script) Renamed from source_python_script, made static.
2496 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
2497 result to int. New arg extlang.
2498 (gdbpy_source_objfile_script): Renamed from
2499 source_python_script_for_objfile, made static. New arg extlang.
2500 (gdbpy_start_type_printers): Renamed from start_type_printers, made
2501 static. New args extlang, extlang_printers. Change result type to
2503 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
2504 static. New arg extlang. Rename arg printers to extlang_printers
2505 and change type to ext_lang_type_printers *.
2506 (gdbpy_free_type_printers): Renamed from free_type_printers, made
2507 static. Replace argument arg with extlang, extlang_printers.
2508 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
2509 (!HAVE_PYTHON, source_python_script): Delete.
2510 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
2511 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
2512 (!HAVE_PYTHON, start_type_printers): Delete.
2513 (!HAVE_PYTHON, apply_type_printers): Delete.
2514 (!HAVE_PYTHON, free_type_printers): Delete.
2515 (_initialize_python): Delete call to observer_attach_before_prompt.
2516 (finalize_python): Set/restore active extension language.
2517 (gdbpy_finish_initialization) Renamed from
2518 finish_python_initialization, made static. New arg extlang.
2519 (gdbpy_initialized): New function.
2520 * python/python.h: #include "extension.h". Delete #include
2521 "value.h", "mi/mi-cmds.h".
2522 (extension_language_python): Declare.
2523 (GDBPY_AUTO_FILE_NAME): Delete.
2524 (enum py_bt_status): Moved to extension.h and renamed to
2526 (enum frame_filter_flags): Moved to extension.h.
2527 (enum py_frame_args): Moved to extension.h and renamed to
2528 ext_lang_frame_args.
2529 (finish_python_initialization): Delete.
2530 (eval_python_from_control_command): Delete.
2531 (source_python_script): Delete.
2532 (apply_val_pretty_printer): Delete.
2533 (apply_frame_filter): Delete.
2534 (preserve_python_values): Delete.
2535 (gdbpy_script_language_defn): Delete.
2536 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
2537 (start_type_printers, apply_type_printers, free_type_printers): Delete.
2539 * auto-load.c: #include "extension.h".
2540 (GDB_AUTO_FILE_NAME): Delete.
2541 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
2542 (script_language_gdb): Delete, moved to extension.c and renamed to
2543 extension_language_gdb.
2544 (source_gdb_script_for_objfile): Delete.
2545 (auto_load_pspace_info): New member unsupported_script_warning_printed.
2546 (loaded_script): Change type of language member to
2547 struct extension_language_defn *.
2548 (init_loaded_scripts_info): Initialize
2549 unsupported_script_warning_printed.
2550 (maybe_add_script): Make static. Change type of language arg to
2551 struct extension_language_defn *.
2552 (clear_section_scripts): Reset unsupported_script_warning_printed.
2553 (auto_load_objfile_script_1): Rewrite to use extension language API.
2554 (auto_load_objfile_script): Make public. Remove support-compiled-in
2555 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
2556 (source_section_scripts): Rewrite to use extension language API.
2557 (load_auto_scripts_for_objfile): Rewrite to use
2558 auto_load_scripts_for_objfile.
2559 (collect_matching_scripts_data): Change type of language member to
2560 struct extension_language_defn *.
2561 (auto_load_info_scripts): Change type of language arg to
2562 struct extension_language_defn *.
2563 (unsupported_script_warning_print): New function.
2564 (script_not_found_warning_print): Make static.
2565 (_initialize_auto_load): Rewrite construction of scripts-directory
2567 * auto-load.h (struct objfile): Add forward decl.
2568 (struct script_language): Delete.
2569 (struct auto_load_pspace_info): Add forward decl.
2570 (struct extension_language_defn): Add forward decl.
2571 (maybe_add_script): Delete.
2572 (auto_load_objfile_script): Declare.
2573 (script_not_found_warning_print): Delete.
2574 (auto_load_info_scripts): Update prototype.
2575 (auto_load_gdb_scripts_enabled): Declare.
2576 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
2577 auto_load_python_scripts_enabled and made public.
2578 (script_language_python): Delete, moved to python.c.
2579 (gdbpy_script_language_defn): Delete.
2580 (info_auto_load_python_scripts): Update to use
2581 extension_language_python.
2583 * breakpoint.c (condition_command): Replace call to
2584 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
2585 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
2586 with call to breakpoint_ext_lang_cond_says_stop.
2587 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
2588 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
2589 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
2590 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
2592 (local_setattro): Print name of extension language with existing
2595 * valprint.c (val_print, value_print): Update to call
2596 apply_ext_lang_val_pretty_printer.
2597 * cp-valprint.c (cp_print_value): Update call to
2598 apply_ext_lang_val_pretty_printer.
2599 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
2600 (gdbpy_apply_val_pretty_printer): Renamed from
2601 apply_val_pretty_printer. New arg extlang.
2602 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
2604 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
2605 extension language API.
2606 * cli/cli-script.c (execute_control_command): Update to call
2607 eval_ext_lang_from_control_command.
2609 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
2610 enum ext_lang_bt_status values. Update call to
2611 apply_ext_lang_frame_filter.
2612 (mi_cmd_stack_list_locals): Ditto.
2613 (mi_cmd_stack_list_args): Ditto.
2614 (mi_cmd_stack_list_variables): Ditto.
2615 * mi/mi-main.c: Delete #include "python/python-internal.h".
2616 Add #include "extension.h".
2617 (mi_cmd_list_features): Replace reference to python internal variable
2618 gdb_python_initialized with call to ext_lang_initialized_p.
2620 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
2621 Update to use enum ext_lang_frame_args. Update to call
2622 apply_ext_lang_frame_filter.
2623 * python/py-framefilter.c (extract_sym): Update to use enum
2625 (extract_value, py_print_type, py_print_value): Ditto.
2626 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
2627 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
2628 (py_print_frame): Ditto.
2629 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
2630 New arg extlang. Update to use enum ext_lang_bt_status.
2632 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
2633 finish_python_initialization. Replace with call to
2634 finish_ext_lang_initialization.
2636 * typeprint.c (do_free_global_table): Update to call
2637 free_ext_lang_type_printers.
2638 (create_global_typedef_table): Update to call
2639 start_ext_lang_type_printers.
2640 (find_global_typedef): Update to call apply_ext_lang_type_printers.
2641 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
2642 (type_print_options): Change type of global_printers from "void *"
2643 to "struct ext_lang_type_printers *".
2645 * value.c (preserve_values): Update to call preserve_ext_lang_values.
2646 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
2647 (gdbpy_preserve_values): Renamed from preserve_python_values.
2649 (!HAVE_PYTHON, preserve_python_values): Delete.
2651 * utils.c (quit_flag): Delete, moved to extension.c.
2652 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
2655 * eval.c: Delete #include "python/python.h".
2656 * main.c: Delete #include "python/python.h".
2658 * defs.h: Update comment.
2660 2014-02-06 Joel Brobecker <brobecker@adacore.com>
2664 2014-02-05 Mark Kettenis <kettenis@gnu.org>
2666 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
2669 2014-02-05 Yao Qi <yao@codesourcery.com>
2671 * remote.c (remote_pass_signals): Remove local 'buf' and use
2673 (remote_program_signals): Likewise.
2675 2014-02-05 Yao Qi <yao@codesourcery.com>
2677 * ctf.c: Include "inferior.h" and "gdbthread.h".
2678 (CTF_PID): A new macro.
2679 (ctf_open): Call inferior_appeared and add_thread_silent.
2680 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
2681 (ctf_thread_alive): New function.
2682 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
2684 2014-02-05 Yao Qi <yao@codesourcery.com>
2688 2013-05-24 Yao Qi <yao@codesourcery.com>
2690 * tracepoint.c (TFILE_PID): Remove.
2691 (tfile_open): Don't add thread and inferior.
2692 (tfile_close): Don't set 'inferior_ptid'. Don't call
2693 exit_inferior_silent.
2694 (tfile_thread_alive): Remove.
2695 (init_tfile_ops): Don't set field 'to_thread_alive' of
2698 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
2700 * remote.c (remote_start_remote): Call remote_check_symbols even
2701 if only symbol-file (not file) has been given.
2703 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2705 * gdbarch.sh (skip_entrypoint): New callback.
2706 * gdbarch.c, gdbarch.h: Regenerate.
2707 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
2708 * infrun.c (fill_in_stop_func): Likewise.
2709 * ppc-linux-tdep.c: Include "elf/ppc64.h".
2710 (ppc_elfv2_elf_make_msymbol_special): New function.
2711 (ppc_elfv2_skip_entrypoint): Likewise.
2712 (ppc_linux_init_abi): Install them for ELFv2.
2714 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2716 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
2717 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
2718 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
2719 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
2720 structures returned in GPRs.
2722 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2724 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
2725 offset to the stack parameter list for the ELFv2 ABI.
2727 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2729 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
2730 set_gdbarch_convert_from_func_ptr_addr and
2731 set_gdbarch_elf_make_msymbol_special for ELFv1.
2732 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
2733 function descriptors on ELFv1.
2734 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
2735 set up r12 at function entry.
2737 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2739 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
2740 (struct gdbarch_tdep): New member elf_abi.
2742 * rs6000-tdep.c: Include "elf/ppc64.h".
2743 (rs6000_gdbarch_init): Detect ELF ABI version.
2745 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2747 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
2748 within a register pair holding a DFP 128-bit value on little-endian.
2749 (ppc64_sysv_abi_return_value_base): Likewise.
2750 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
2751 (dfp_pseudo_register_write): Likewise.
2753 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2755 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
2756 offset on little-endian when passing _Decimal32.
2757 (ppc64_sysv_abi_return_value_base): Likewise for return values.
2759 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2761 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
2762 of the overlapped FP register within the VSX register on little-
2764 (efpr_pseudo_register_write): Likewise.
2766 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2768 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
2769 offset on little-endian when passing small structures.
2771 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2773 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
2774 (struct ppc64_sysv_argpos): New data structure.
2775 (ppc64_sysv_abi_push_float): Remove.
2776 (ppc64_sysv_abi_push_val): New function.
2777 (ppc64_sysv_abi_push_integer): Likewise.
2778 (ppc64_sysv_abi_push_freg): Likewise.
2779 (ppc64_sysv_abi_push_vreg): Likewise.
2780 (ppc64_sysv_abi_push_param): Likewise.
2781 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
2782 (ppc64_sysv_abi_return_value_base): New function.
2783 (ppc64_sysv_abi_return_value): Refactor to use it.
2785 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2787 * NEWS: Document new target powerpc64le-*-linux*.
2789 2014-02-04 Mark Kettenis <kettenis@gnu.org>
2791 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
2792 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
2794 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
2795 register set used in ELF core dumps. Add floating-point register set.
2797 2014-02-03 Kevin Buettner <kevinb@redhat.com>
2799 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
2800 dwarf2_to_gdb[] table using symbolic constants. Adjust
2801 penultimate entry from number representing the PC register
2802 to symbolic constant representing the MDR register. Add
2803 constant for the PC register to the end of the table.
2805 2014-02-03 Mark Kettenis <kettenis@gnu.org>
2807 * bsd-kvm.c: Include <sys/param.h>
2809 2014-02-03 Mark Kettenis <kettenis@gnu.org>
2811 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
2813 2014-01-31 Joel Brobecker <brobecker@adacore.com>
2815 * ada-lang.h (clear_ada_sym_cache): Delete.
2817 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
2819 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
2821 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2823 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
2824 the sigreturn register save area only if the syscall is
2827 2014-01-29 Joel Brobecker <brobecker@adacore.com>
2829 * valops.c (value_slice): Minor reformatting.
2831 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
2833 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
2835 2014-01-28 Joel Brobecker <brobecker@adacore.com>
2837 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
2839 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
2840 (ada_ignore_descriptive_types_p): New static global.
2841 (find_parallel_type_by_descriptive_type): Return immediately
2842 if ada_ignore_descriptive_types_p is set.
2843 (_initialize_ada_language): Register new commands "maintenance
2844 set ada", "maintenance show ada", "maintenance set ada
2845 ignore-descriptive-types" and "maintenance show ada
2846 ignore-descriptive-types".
2847 * NEWS: Add entry for new "maint ada set/show
2848 ignore-descriptive-types" commands.
2850 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
2852 * record-btrace.c (record_btrace_close): Call btrace_teardown
2855 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2857 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
2860 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2862 * ada-typeprint (type_is_full_subrange_of_target_type):
2864 (print_range): Add parameter bounds_prefered_p. If not set,
2865 try printing range types using the name of their base type.
2866 (print_range_type): Add parameter bounds_prefered_p.
2867 Use it in call to print_range.
2868 (print_array_type, ada_print_type): Update calls to print_range
2869 and print_range_type.
2871 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2873 * ada-typeprint.c (print_array_type, print_choices, print_range)
2874 (print_range_bound, print_dynamic_range_bound, print_range_type):
2877 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2879 * ada-typeprint.c (print_range): Add missing empty line
2880 after local declaration.
2882 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2884 * ada-valprint.c (print_optional_low_bound): Get index_type's
2885 target type for as long as it is a TYPE_CODE_RANGE.
2887 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2889 * procfs.c (procfs_make_note_section): Remove assertion and
2892 2014-01-24 Yao Qi <yao@codesourcery.com>
2894 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
2895 * corelow.c (get_core_siginfo): Likewise.
2897 2014-01-24 Yao Qi <yao@codesourcery.com>
2899 * remote.c (remote_write_bytes_aux): Change type of 'len' to
2900 ULONGEST. Don't check 'len' is negative.
2901 (remote_write_bytes): Change type of 'len' to ULONGEST.
2903 2014-01-23 Tom Tromey <tromey@redhat.com>
2906 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
2907 Handle exception from frame.block.
2908 (FrameVars.fetch_frame_locals): Likewise.
2910 2014-01-23 Tom Tromey <tromey@redhat.com>
2913 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
2914 on a NULL pointer. Move "goto error" to correct place.
2916 2014-01-23 Tom Tromey <tromey@redhat.com>
2919 * python/py-framefilter.c (apply_frame_filter): Call
2920 ensure_python_env after computing gdbarch.
2922 2014-01-23 Yao Qi <yao@codesourcery.com>
2924 * target.c (raw_memory_xfer_partial): Change argument type
2925 from void * to gdb_byte *.
2926 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
2928 2014-01-22 Doug Evans <dje@google.com>
2930 New gdbserver option --debug-format=timestamp.
2933 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2935 * syscalls/s390x-linux.xml: New file.
2936 * syscalls/s390-linux.xml: New file.
2937 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
2938 (XML_SYSCALL_FILENAME_S390X): Likewise.
2939 (op_svc): New enum value for SVC opcode.
2940 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
2941 (s390_linux_get_syscall_number): New function.
2942 (s390_gdbarch_init): Register '*get_syscall_number' and the
2943 syscall xml file name.
2944 * data-directory/Makefile.in (SYSCALLS_FILES): Add
2945 "s390-linux.xml" and "s390x-linux.xml".
2946 * NEWS: Announce new feature.
2948 2014-01-22 Baruch Siach <baruch@tkos.co.il>
2950 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
2952 2014-01-22 Pedro Alves <palves@redhat.com>
2954 * xtensa-config.c: Include defs.h.
2956 2014-01-22 Joel Brobecker <brobecker@adacore.com>
2958 * common/common-utils.h: Add "ARI:" comment beside __func__
2961 2014-01-22 Joel Brobecker <brobecker@adacore.com>
2963 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
2964 documentation a bit.
2966 2014-01-21 Roland McGrath <mcgrathr@google.com>
2968 * configure.ac: Call AM_PROG_INSTALL_STRIP.
2969 * configure: Regenerate.
2970 * aclocal.m4: Regenerate.
2971 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
2972 New substituted variables.
2973 (install-strip): New target.
2974 (INSTALL_SCRIPT): New substituted variable.
2975 (FLAGS_TO_PASS): Add it.
2976 (install-only): Use $(INSTALL_SCRIPT) rather than
2977 $(INSTALL_PROGRAM) for gcore.
2979 2014-01-20 Tom Tromey <tromey@redhat.com>
2981 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
2984 2014-01-20 Tom Tromey <tromey@redhat.com>
2986 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
2987 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
2988 (deprecated_cmd_warning, complete_on_cmdlist): Update.
2989 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
2990 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
2991 (struct cmd_list_element) <flags>: Remove.
2992 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
2993 doc_allocated>: New fields.
2994 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
2996 * maint.c (maintenance_do_deprecate): Update.
2997 * top.c (execute_command): Update.
2999 2014-01-20 Baruch Siach <baruch@tkos.co.il>
3001 * xtensa-linux-nat.c: Include asm/ptrace.h.
3003 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3005 * Makefile.in (SFILES): Add d-support.c.
3006 (COMMON_OBS): Add d-support.o.
3007 * d-lang.h (d_parse_symbol): Add comment, now defined in
3009 * d-lang.c (parse_call_convention)
3010 (parse_attributes, parse_function_types)
3011 (parse_function_args, parse_type, parse_identifier)
3012 (call_convention_p, d_parse_symbol): Move functions to ...
3013 * d-support.c: ... New file.
3015 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3017 * d-lang.h (d_parse_symbol): Add declaration.
3018 * d-lang.c (extract_identifiers)
3019 (extract_type_info): Remove functions.
3020 (parse_call_convention, parse_attributes)
3021 (parse_function_types, parse_function_args)
3022 (parse_type, parse_identifier, call_convention_p)
3023 (d_parse_symbol): New functions.
3024 (d_demangle): Use d_parse_symbol to demangle D symbols.
3026 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3028 * d-lang.h (struct builtin_d_type): New data type.
3029 (builtin_d_type): Add declaration.
3030 * d-lang.c (d_language_arch_info, build_d_types)
3031 (builtin_d_type): New functions.
3032 (enum d_primitive_types): New data type.
3033 (d_language_defn): Change c_language_arch_info to
3034 d_language_arch_info.
3035 (d_type_data): New static variable.
3036 (_initialize_d_language): Initialize d_type_data.
3038 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3040 * d-lang.h (d_main_name): Add declaration.
3041 * d-lang.c (d_main_name): New function.
3042 * symtab.c (find_main_name): Add call to d_main_name.
3044 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3046 * d-lang.c (d_language_defn): Change macro_expansion_c to
3049 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3051 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3053 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3055 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3056 gdb_exception" declaration.
3057 * remote.c (getpkt_or_notif_sane): Likewise.
3059 2014-01-17 Doug Evans <dje@google.com>
3061 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3062 function, contents of dirnames_to_char_ptr_vec_append moved here.
3063 (delim_string_to_char_ptr_vec): New function.
3064 (dirnames_to_char_ptr_vec_append): Rewrite.
3065 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3067 2014-01-17 Doug Evans <dje@google.com>
3069 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3071 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3072 #include "common-utils.h".
3073 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3074 * common/vec.h (VEC_ASSERT_PASS): Update.
3075 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3076 (MACH_CHECK_ERROR): Update.
3078 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3080 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3082 * gdbarch.h: Regenerate.
3084 2014-01-16 Tom Tromey <tromey@redhat.com>
3086 * value.c (struct value) <regnum>: Move earlier.
3088 2014-01-16 Tom Tromey <tromey@redhat.com>
3090 * remote.c (extended_remote_create_inferior): Rename from
3091 extended_remote_create_inferior_1. Add "ops" argument. Remove
3094 2014-01-16 Pedro Alves <palves@redhat.com>
3096 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3097 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3100 2014-01-16 Doug Evans <dje@google.com>
3102 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3104 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3106 * btrace.h (btrace_thread_flag): New.
3107 (struct btrace_thread_info) <flags>: New.
3108 * record-btrace.c (record_btrace_resume_thread)
3109 (record_btrace_find_thread_to_move, btrace_step_no_history)
3110 (btrace_step_stopped, record_btrace_start_replaying)
3111 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3112 (record_btrace_find_resume_thread): New.
3113 (record_btrace_resume, record_btrace_wait): Extend.
3114 (record_btrace_can_execute_reverse): New.
3115 (record_btrace_open): Fail in non-stop mode.
3116 (record_btrace_set_replay): Split into this, ...
3117 (record_btrace_stop_replaying): ... this, ...
3118 (record_btrace_clear_histories): ... and this.
3119 (init_record_btrace_ops): Init to_can_execute_reverse.
3120 * NEWS: Announce it.
3122 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3124 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3125 (forward_target_decr_pc_after_break)
3126 (target_decr_pc_after_break): New.
3127 * target.c (forward_target_decr_pc_after_break)
3128 (target_decr_pc_after_break): New.
3129 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3130 instead of gdbarch_decr_pc_after_break.
3131 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3132 instead of gdbarch_decr_pc_after_break.
3133 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3134 instead of gdbarch_decr_pc_after_break.
3135 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3136 instead of gdbarch_decr_pc_after_break.
3137 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3138 instead of gdbarch_decr_pc_after_break.
3139 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3140 instead of gdbarch_decr_pc_after_break.
3142 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3144 * btrace.c: Include regcache.h.
3145 (btrace_add_pc): New.
3146 (btrace_enable): Call btrace_add_pc.
3147 (btrace_is_empty): New.
3148 * btrace.h (btrace_is_empty): New.
3149 * record-btrace.c (require_btrace, record_btrace_info): Call
3152 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3154 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3155 Support delta reads.
3156 (linux_disable_btrace): Change return type.
3157 * common/linux-btrace.h (linux_read_btrace): Change parameters
3158 and return type to allow error reporting. Update users.
3159 (linux_disable_btrace): Change return type. Update users.
3160 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3162 (btrace_error): New.
3163 (btrace_block) <begin>: Comment on BEGIN == 0.
3164 * btrace.c (btrace_compute_ftrace): Start from the end of
3166 (btrace_stitch_trace, btrace_clear_history): New.
3167 (btrace_fetch): Read delta trace, return if replaying.
3168 (btrace_clear): Move clear history code to btrace_clear_history.
3169 (parse_xml_btrace): Throw an error if parsing failed.
3170 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3171 and return type to allow error reporting.
3172 (target_read_btrace): Change parameters and return type to allow
3174 * target.c (target_read_btrace): Update.
3175 * remote.c (remote_read_btrace): Support delta reads. Pass
3177 * NEWS: Announce it.
3179 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3181 * record.h (record_btrace_frame_unwind)
3182 (record_btrace_tailcall_frame_unwind): New declarations.
3183 * dwarf2-frame: Include record.h
3184 (dwarf2_frame_cfa): Throw an error for btrace frames.
3185 * record-btrace.c: Include hashtab.h.
3186 (btrace_get_bfun_name): New.
3187 (btrace_call_history): Call btrace_get_bfun_name.
3188 (struct btrace_frame_cache): New.
3190 (bfcache_hash, bfcache_eq, bfcache_new): New.
3191 (btrace_get_frame_function): New.
3192 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3193 (record_btrace_frame_this_id): Compute own id.
3194 (record_btrace_frame_prev_register): Provide PC, throw_error
3195 for all other registers.
3196 (record_btrace_frame_sniffer): Detect btrace frames.
3197 (record_btrace_tailcall_frame_sniffer): New.
3198 (record_btrace_frame_dealloc_cache): New.
3199 (record_btrace_frame_unwind): Add new functions.
3200 (record_btrace_tailcall_frame_unwind): New.
3201 (_initialize_record_btrace): Allocate cache.
3202 * btrace.c (btrace_clear): Call reinit_frame_cache.
3203 * NEWS: Announce it.
3205 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3207 * record-btrace.c (record_btrace_set_replay)
3208 (record_btrace_goto_begin, record_btrace_goto_end)
3209 (record_btrace_goto): New.
3210 (init_record_btrace_ops): Initialize them.
3211 * NEWS: Announce it.
3213 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3215 * record-btrace.c (record_btrace_find_new_threads)
3216 (record_btrace_thread_alive): New.
3217 (init_record_btrace_ops): Initialize to_find_new_threads and
3220 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3222 * record-btrace.c (record_btrace_resume): New.
3223 (record_btrace_wait): New.
3224 (init_record_btrace_ops): Initialize to_wait and to_resume.
3226 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3228 * record-btrace.c (record_btrace_xfer_partial)
3229 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3230 (record_btrace_allow_memory_access): New.
3231 (init_record_btrace_ops): Initialize new methods.
3232 * target.c (raw_memory_xfer_partial): Bail out if target reports
3233 that this memory is not available.
3235 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3237 * target.h (target_ops) <to_insert_breakpoint>
3238 <to_remove_breakpoint>: Add target_ops parameter.
3239 (forward_target_insert_breakpoint): New.
3240 (forward_target_remove_breakpoint): New.
3241 (memory_remove_breakpoint, memory_insert_breakpoint):
3242 Add target_ops parameter.
3243 * target.c (target_insert_breakpoint): Split into this and ...
3244 (forward_target_insert_breakpoint): ... this.
3245 (target_remove_breakpoint): Split into this and ...
3246 (forward_target_remove_breakpoint): ... this.
3247 (debug_to_insert_breakpoint): Add target_ops parameter.
3248 Call forward_target_insert_breakpoint.
3249 (debug_to_remove_breakpoint): Add target_ops parameter.
3250 Call forward_target_remove_breakpoint.
3251 (update_current_target): Do not inherit or default to_insert_breakpoint
3252 and to_remove_breakpoint.
3253 * corelow.c (ignore): Add target_ops parameter.
3254 * exec.c (ignore): Add target_ops parameter.
3255 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3256 Add target_ops parameter.
3257 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3258 Add target_ops parameter.
3259 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3260 Add target_ops parameter.
3261 * record-full.c (record_full_beneath_to_insert_breakpoint)
3262 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3263 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3264 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
3265 (record_full_core_remove_breakpoint): Add target_ops parameter.
3267 (record_full_beneath_to_insert_breakpoint_ops)
3268 (record_full_beneath_to_remove_breakpoint_ops)
3269 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
3270 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
3271 tmp_to_remove_breakpoint_ops,
3272 record_full_beneath_to_insert_breakpoint_ops, and
3273 record_full_beneath_to_remove_breakpoint_ops.
3274 * remote-m32r-sdi.c (m32r_insert_breakpoint)
3275 (m32r_remove_breakpoint): Add target_ops parameter.
3276 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
3277 Add target_ops parameter.
3278 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
3279 Add target_ops parameter.
3281 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3282 Markus Metzger <markus.t.metzger@intel.com>
3284 * record-btrace.c: Include frame-unwind.h.
3285 (record_btrace_frame_unwind_stop_reason)
3286 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
3287 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
3289 (init_record_btrace_ops): Install it.
3291 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3293 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
3296 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3298 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
3301 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3303 * frame-unwind.c: Include target.h.
3304 (frame_unwind_try_unwinder): New function with code from ...
3305 (frame_unwind_find_by_frame): ... here. New variable
3306 unwinder_from_target, call also target_get_unwinder)
3307 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
3308 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
3309 * target.h (struct target_ops): New fields to_get_unwinder and
3310 to_get_tailcall_unwinder.
3311 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
3313 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3315 * record-btrace.c (record_btrace_fetch_registers)
3316 (record_btrace_store_registers)
3317 (record_btrace_to_prepare_to_store): New.
3318 (init_record_btrace_ops): Add the above.
3320 2014-01-16 Tom Tromey <tromey@redhat.com>
3322 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
3323 * target.h (struct target_ops) <to_prepare_to_store>: Add
3325 (target_prepare_to_store): Add argument.
3326 * target.c (debug_to_prepare_to_store): Add argument.
3327 (update_current_target): Update.
3328 * remote.c (remote_prepare_to_store): Add 'self' argument.
3329 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
3330 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
3331 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
3332 * record-full.c (record_full_core_prepare_to_store): Add 'self'
3334 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
3335 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
3336 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
3337 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
3338 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
3340 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3342 * btrace.h (replay) <replay>: New.
3343 (btrace_is_replaying): New.
3344 * btrace.c (btrace_clear): Free replay iterator.
3345 (btrace_is_replaying): New.
3346 * record-btrace.c (record_btrace_is_replaying): New.
3347 (record_btrace_info): Print insn number if replaying.
3348 (record_btrace_insn_history): Start at replay position.
3349 (record_btrace_call_history): Start at replay position.
3350 (init_record_btrace_ops): Init to_record_is_replaying.
3352 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3354 * record-btrace.c (record_btrace_insn_history_range): Include
3356 (record_btrace_insn_history_from): Adjust range.
3357 (record_btrace_call_history_range): Include
3359 (record_btrace_call_history_from): Adjust range.
3360 * NEWS: Announce changes.
3362 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3364 * record.h (enum record_print_flag)
3365 <record_print_indent_calls>: New.
3366 * record.c (get_call_history_modifiers): Recognize /c modifier.
3367 (_initialize_record): Document /c modifier.
3368 * record-btrace.c (btrace_call_history): Add btinfo parameter.
3369 Reorder fields. Optionally indent the function name. Update
3371 * NEWS: Announce changes.
3373 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3375 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
3377 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3379 * btrace.c (ftrace_new_function): Start counting at one.
3380 * record-btrace.c (record_btrace_info): Adjust number of calls
3382 * NEWS: Announce it.
3384 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3386 * record-btrace.c (btrace_call_history_insn_range): Print
3387 insn range as [begin, end].
3389 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3391 * btrace.h (struct btrace_func_link): New.
3392 (enum btrace_function_flag): New.
3393 (struct btrace_inst): Rename to ...
3394 (struct btrace_insn): ...this. Update all users.
3395 (struct btrace_func) <ibegin, iend>: Remove.
3396 (struct btrace_func_link): New.
3397 (struct btrace_func): Rename to ...
3398 (struct btrace_function): ...this. Update all users.
3399 (struct btrace_function) <segment, flow, up, insn, insn_offset)
3400 (number, level, flags>: New.
3401 (struct btrace_insn_iterator): Rename to ...
3402 (struct btrace_insn_history): ...this.
3404 (struct btrace_insn_iterator, btrace_call_iterator): New.
3405 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
3406 (struct btrace_target_info) <begin, end, level>
3407 <insn_history, call_history>: New.
3408 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3409 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3410 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3411 (btrace_call_number, btrace_call_begin, btrace_call_end)
3412 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3413 (btrace_find_function_by_number, btrace_set_insn_history)
3414 (btrace_set_call_history): New.
3415 * btrace.c (btrace_init_insn_iterator)
3416 (btrace_init_func_iterator, compute_itrace): Remove.
3417 (ftrace_print_function_name, ftrace_print_filename)
3418 (ftrace_skip_file): Change
3420 (ftrace_init_func): Remove.
3421 (ftrace_debug): Use new btrace_function fields.
3422 (ftrace_function_switched): Also consider gaining and
3423 losing symbol information).
3424 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
3425 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
3426 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
3428 (ftrace_new_function): Move. Remove debug print.
3429 (ftrace_update_lines, ftrace_update_insns): New.
3430 (ftrace_update_function): Check for call, ret, and jump.
3431 (compute_ftrace): Renamed to ...
3432 (btrace_compute_ftrace): ...this. Rewritten to compute call
3434 (btrace_fetch, btrace_clear): Updated.
3435 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3436 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3437 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3438 (btrace_call_number, btrace_call_begin, btrace_call_end)
3439 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3440 (btrace_find_function_by_number, btrace_set_insn_history)
3441 (btrace_set_call_history): New.
3442 * record-btrace.c (require_btrace): Use new btrace thread
3444 (record_btrace_info, btrace_insn_history)
3445 (record_btrace_insn_history, record_btrace_insn_history_range):
3446 Use new btrace thread info fields and new iterator.
3447 (btrace_func_history_src_line): Rename to ...
3448 (btrace_call_history_src_line): ...this. Use new btrace
3450 (btrace_func_history): Rename to ...
3451 (btrace_call_history): ...this. Use new btrace thread info
3452 fields and new iterator.
3453 (record_btrace_call_history, record_btrace_call_history_range):
3454 Use new btrace thread info fields and new iterator.
3456 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3458 * frame.h (frame_id_build_unavailable_stack_special): New.
3459 * frame.c (frame_id_build_unavailable_stack_special): New.
3461 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3463 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
3464 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
3465 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
3467 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
3468 (i386_insn_is_jump, i386_jmp_p): New.
3469 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
3470 insn_is_jump to gdbarch.
3471 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
3472 * gdbarch.h: Regenerated.
3473 * gdbarch.c: Regenerated.
3474 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
3475 (default_insn_is_jump): New.
3476 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
3477 (default_insn_is_jump): New.
3479 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3481 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
3483 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
3484 (btrace_read_type) <btrace_read_new>: Change to ...
3485 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
3487 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3489 * common/linux-btrace.c (linux_read_btrace): Free trace from
3492 2014-01-15 Doug Evans <dje@google.com>
3494 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
3497 2014-01-15 Tom Tromey <tromey@redhat.com>
3499 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
3500 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
3501 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
3502 (set_objfile_main_name): New function.
3503 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
3504 language_of_main>: New fields.
3505 (set_objfile_main_name): Declare.
3506 * symtab.c (find_main_name): Loop over objfiles to find the main
3508 (set_main_name): Now static.
3509 (get_main_info): Add comment.
3510 * symtab.h (set_main_name): Don't declare.
3512 2014-01-15 Tom Tromey <tromey@redhat.com>
3514 * symtab.c (main_progspace_key): New global.
3515 (struct main_info): New.
3516 (name_of_main, language_of_main): Remove.
3517 (get_main_info, main_info_cleanup): New function.
3518 (set_main_name, main_name, main_language): Use get_main_info.
3519 (_initialize_symtab): Initialize main_progspace_key.
3521 2014-01-15 Tom Tromey <tromey@redhat.com>
3523 * dbxread.c (process_one_symbol): Update.
3524 * dwarf2read.c (read_partial_die): Update.
3525 * symfile.c (set_initial_language): Call main_language.
3526 * symtab.c (language_of_main): Now static.
3527 (set_main_name): Add 'lang' parameter.
3528 (find_main_name): Update.
3529 (main_language): New function.
3530 (symtab_observer_executable_changed): Update.
3531 * symtab.h (set_main_name): Update.
3532 (language_of_main): Remove.
3533 (main_language): Declare.
3535 2014-01-15 Tom Tromey <tromey@redhat.com>
3537 * symfile.c (init_entry_point_info): Use new "initialized" field.
3539 * objfiles.h (struct entry_point) <initialized>: New field.
3540 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
3541 (struct objfile) <ei>: ...here. Remove.
3542 * objfiles.c (entry_point_address_query): Update.
3544 2014-01-15 Tom Tromey <tromey@redhat.com>
3546 * objfiles.c (entry_point_address_query): Relocate entry point
3548 (objfile_relocate1): Do not relocate entry point address.
3549 * objfiles.h (struct entry_info) <entry_point>: Update comment.
3550 <the_bfd_section_index>: New field.
3551 * symfile.c (init_entry_point_info): Find the entry point's
3554 2014-01-15 Tom Tromey <tromey@redhat.com>
3556 * solib-frv.c (enable_break): Use entry_point_address_query.
3558 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3560 * NEWS: Add note on improved process record-replay on
3561 arm*-linux* targets.
3563 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3565 * arm-tdep.c (enum arm_record_result): New enum.
3566 (arm_record_unsupported_insn): New function.
3567 (arm_record_coproc_data_proc): Removed.
3568 (thumb2_record_ld_st_multiple): New function.
3569 (thumb2_record_ld_st_dual_ex_tbb): New function.
3570 (thumb2_record_data_proc_sreg_mimm): New function.
3571 (thumb2_record_ps_dest_generic): New function.
3572 (thumb2_record_branch_misc_cntrl): New function.
3573 (thumb2_record_str_single_data): New function.
3574 (thumb2_record_ld_mem_hints): New function.
3575 (thumb2_record_ld_word): New function.
3576 (thumb2_record_lmul_lmla_div): New function.
3577 (thumb2_record_decode_insn_handler): New function.
3578 (decode_insn): Add thumb32 instruction handlers.
3580 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3582 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
3583 (struct arm_linux_record_tdep): Declare.
3584 (arm_canonicalize_syscall): New function.
3585 (arm_all_but_pc_registers_record): New function.
3586 (arm_linux_syscall_record): New function.
3587 (arm_linux_init_abi): Add syscall recording constructs.
3588 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
3589 decoding. (arm_record_coproc_data_proc): Update arm syscall
3591 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
3592 <arm_syscall_record>: New field.
3593 * configure.tgt (arm*-*-linux*): Add linux-record.o to
3596 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3598 * arm-tdep.c (thumb_record_misc): Update to use sp as base
3599 register for push instruction recording.
3601 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3603 * arm-tdep.c (thumb_record_misc): Update to correct logical
3604 error while recording ldm, ldmia and pop instructions.
3606 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3608 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
3610 2014-01-15 Pedro Alves <palves@redhat.com>
3612 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
3613 (go32_resume, go32_fetch_registers, store_register)
3614 (go32_store_registers, go32_prepare_to_store)
3615 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
3616 (go32_create_inferior, go32_can_run, go32_terminal_init)
3617 (go32_terminal_inferior, go32_terminal_ours): Delete forward
3620 2014-01-15 Tom Tromey <tromey@redhat.com>
3622 * target.h (async_callback_ftype): New typedef.
3623 (struct target_ops) <to_async>: Use it.
3625 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3627 * python/py-value.c (get_field_type): Remove unnecessary curly
3628 braces for single-statement if block.
3630 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3632 * python/py-type.c (convert_field): Add missing empty line
3635 2014-01-14 Doug Evans <dje@google.com>
3637 * symfile.h (expand_symtabs_matching): Renamed from
3638 expand_partial_symbol_names. Update prototype.
3639 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3640 * symfile.c (expand_symtabs_matching): Renamed from
3641 expand_partial_symbol_names. New args file_matcher, kind.
3642 Rename arg fun to symbol_matcher.
3643 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3644 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
3645 ada_expand_partial_symbol_name.
3646 (ada_make_symbol_completion_list): Update to call
3647 expand_symtabs_matching.
3648 (ada_add_global_exceptions): Call expand_symtabs_matching.
3649 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
3650 call map_symbol_filenames.
3651 * symtab.c (sources_info): Update to call map_symbol_filenames.
3652 (search_symbols): Call expand_symtabs_matching.
3653 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
3654 (default_make_symbol_completion_list_break_on): Update to call
3655 expand_symtabs_matching.
3656 (make_source_files_completion_list): Update to call
3657 map_symbol_filenames.
3659 2014-01-14 Doug Evans <dje@google.com>
3661 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
3662 (expand_symtabs_symbol_matcher_ftype): New typedef.
3663 (quick_symbol_functions.expand_symtabs_matching): Update to use.
3664 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3665 * symfile.c (expand_partial_symbol_names): Update to use
3666 expand_symtabs_symbol_matcher_ftype.
3667 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
3668 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3669 Arg name_matcher renamed to symbol_matcher.
3670 * psymtab.c (recursively_search_psymtabs): Update to use
3671 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
3673 (expand_symtabs_matching_via_partial): Update to use
3674 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3675 Arg name_matcher renamed to symbol_matcher.
3677 2014-01-14 Doug Evans <dje@google.com>
3679 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
3680 (map_partial_symbol_filenames): Ditto.
3681 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
3682 (map_partial_symbol_filenames): Ditto.
3683 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
3684 (map_partial_symbol_filenames): Ditto.
3685 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
3686 (map_partial_symbol_filenames): Ditto.
3687 * symtab.c: Delete #include "psymtab.h".
3689 2014-01-14 Pedro Alves <palves@redhat.com>
3690 Tom Tromey <tromey@redhat.com>
3692 * infrun.c (use_displaced_stepping): Use find_record_target
3693 instead of RECORD_IS_USED.
3694 (adjust_pc_after_break): Use record_full_is_used instead of
3696 * record-btrace.c (record_btrace_open): Call record_preopen
3697 instead of checking RECORD_IS_USED.
3698 * record-full.c (record_full_shortname)
3699 (record_full_core_shortname): New globals.
3700 (record_full_is_used): New function.
3701 (find_full_open): Call record_preopen instead of checking
3703 (init_record_full_ops): Set the target's shortname to
3704 record_full_shortname.
3705 (init_record_full_core_ops): Set the target's shortname to
3706 record_full_core_shortname.
3707 * record-full.h (record_full_is_used): Declare.
3708 * record.c (find_record_target): Make extern.
3709 (record_preopen): New function.
3710 * record.h (RECORD_IS_USED): Delete macro.
3711 (find_record_target, record_preopen): Declare functions.
3713 2014-01-14 Yao Qi <yao@codesourcery.com>
3715 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
3716 'len''s type to ULONGEST.
3717 (core_xfer_shared_libraries_aix): Likewise.
3718 * gdbarch.c, gdbarch.h: Regenerated.
3719 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
3720 Change type of 'len' to ULONGEST.
3721 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3722 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
3724 2014-01-14 Yao Qi <yao@codesourcery.com>
3726 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
3727 type of 'len' to ULONGEST.
3728 (linux_xfer_osdata_processgroups): Likewise.
3729 (linux_xfer_osdata_threads): Likewise.
3730 (linux_xfer_osdata_fds): Likewise.
3731 (linux_xfer_osdata_isockets): Likewise.
3732 (linux_xfer_osdata_shm): Likewise.
3733 (linux_xfer_osdata_sem): Likewise.
3734 (linux_xfer_osdata_msg): Likewise.
3735 (linux_common_xfer_osdata): Likewise.
3736 (struct osdata_type) <getter>: Likewise.
3737 * common/linux-osdata.h (linux_common_xfer_osdata): Update
3740 2014-01-14 Yao Qi <yao@codesourcery.com>
3742 * target.h (target_xfer_partial_ftype): Update.
3743 (struct target_ops) <to_xfer_partial>: Change 'len' type to
3745 * aix-thread.c (aix_thread_xfer_partial): Change type of
3746 argument 'len' to ULONGEST.
3747 * auxv.c (procfs_xfer_auxv): Likewise.
3748 (ld_so_xfer_auxv): Likewise.
3749 (memory_xfer_auxv): Likewise.
3750 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3751 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3752 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
3753 * corelow.c (core_xfer_partial): Likewise.
3754 * ctf.c (ctf_xfer_partial): Likewise.
3755 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
3757 (darwin_read_dyld_info): Likewise.
3758 (darwin_xfer_partial): Likewise.
3759 * exec.c (section_table_xfer_memory_partial): Likewise.
3760 (exec_xfer_partial): Likewise.
3761 * exec.h (section_table_xfer_memory_partial): Update
3763 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
3764 instead of plongest.
3765 (gnu_xfer_partial): Likewise.
3766 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
3767 (ia64_hpux_xfer_solib_got): Likewise.
3768 (ia64_hpux_xfer_partial): Likewise.
3769 * ia64-linux-nat.c (ia64_linux_xfer_partial):
3770 * inf-ptrace.c (inf_ptrace_xfer_partial):
3771 * inf-ttrace.c (inf_ttrace_xfer_partial):
3772 * linux-nat.c (linux_xfer_siginfo): Likewise.
3773 (linux_nat_xfer_partial): Likewise.
3774 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
3775 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
3776 * monitor.c (monitor_xfer_memory): Likewise.
3777 (monitor_xfer_partial): Likewise.
3778 * procfs.c (procfs_xfer_partial): Likewise.
3779 * record-full.c (record_full_xfer_partial): Likewise.
3780 (record_full_core_xfer_partial): Likewise.
3781 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
3782 instead of plongest.
3783 (gdbsim_xfer_partial): Likewise.
3784 * remote.c (remote_xfer_partial): Likewise.
3785 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3786 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3788 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3789 (rs6000_xfer_shared_libraries): Likewise.
3790 * sol-thread.c (sol_thread_xfer_partial): Likewise.
3791 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3792 (sparc_xfer_partial): Likewise.
3793 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3794 (spu_xfer_partial): Likewise.
3795 * spu-multiarch.c (spu_xfer_partial): Likewise.
3796 * target.c (target_read_live_memory): Likewise.
3797 (memory_xfer_live_readonly_partial): Likewise.
3798 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
3799 (target_xfer_partial, default_xfer_partial): Likewise.
3800 (current_xfer_partial): Likewise.
3801 * tracepoint.c (tfile_xfer_partial): Likewise.
3802 * windows-nat.c (windows_xfer_memory): Likewise. Call
3803 pulongest instead of plongest.
3804 (windows_xfer_partial): Likewise.
3805 (windows_xfer_shared_libraries): Likewise.
3807 2014-01-14 Yao Qi <yao@codesourcery.com>
3809 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
3810 target_xfer_partial_ftype.
3812 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3816 * valops.c (value_struct_elt_bitpos): New function
3817 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
3818 object to 'None' if the field name is an empty string ("").
3819 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
3820 attribute to look for a field when 'name' is 'None'.
3821 (get_field_type): New function
3823 2014-01-13 Doug Evans <dje@google.com>
3826 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
3827 (try_open_dwop_file): Ditto.
3828 * gdb_bfd.c: #include "vec.h".
3829 (bfdp): New typedef.
3830 (struct gdb_bfd_data): New member included_bfds.
3831 (gdb_bfd_unref): Unref all included bfds.
3832 (gdb_bfd_record_inclusion): New function.
3833 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
3835 2014-01-13 Tom Tromey <tromey@redhat.com>
3837 * gdbcore.h (deprecated_core_resize_section_table): Remove.
3839 2014-01-13 Tom Tromey <tromey@redhat.com>
3841 * defs.h (use_windows): Remove.
3842 * gdb.c (main): Update.
3843 * main.c (captured_main, gdb_main): Update.
3844 * main.h (struct captured_main_args) <use_windows>: Remove.
3845 * top.c (use_windows): Remove.
3847 2014-01-13 Tom Tromey <tromey@redhat.com>
3849 * defs.h (deprecated_flush_hook): Remove.
3851 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3854 * linux-thread-db.c (try_thread_db_load): Add parameter
3855 check_auto_load_safe. Move here the file_is_auto_load_safe call.
3856 (try_thread_db_load_from_pdir_1): Move it there from here.
3857 (try_thread_db_load_from_sdir): Update caller.
3858 (try_thread_db_load_from_dir): Move it there from here.
3860 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
3862 * regformats/regdat.sh: Always rewrite the register file.
3864 2014-01-13 Pedro Alves <palves@redhat.com>
3866 * Makefile.in (CHECK_HEADERS): New variable.
3867 (check-headers:): New rule.
3869 2014-01-13 Tom Tromey <tromey@redhat.com>
3871 * cli/cli-setshow.c (do_set_command): Update.
3872 * defs.h (deprecated_set_hook): Remove.
3873 * top.c (deprecated_set_hook): Remove.
3875 2014-01-13 Pedro Alves <palves@redhat.com>
3877 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
3878 the tracepoint if the PC is a pseudo-register.
3880 2014-01-13 Tom Tromey <tromey@redhat.com>
3882 * defs.h (XCALLOC): Remove.
3883 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
3884 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
3885 * dwarf2loc.c (allocate_piece_closure): Likewise.
3886 * elfread.c (elf_symfile_segments): Likewise.
3887 (elf_symfile_segments): Likewise.
3888 * gdbtypes.c (copy_type_recursive): Likewise.
3889 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
3890 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
3891 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
3893 * mt-tdep.c (mt_gdbarch_init): Likewise.
3894 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
3896 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
3897 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
3898 * registry.c (registry_alloc_data): Likewise.
3899 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
3900 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
3901 * serial.c (serial_fdopen_ops): Likewise.
3902 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
3904 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
3905 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
3908 2014-01-13 Tom Tromey <tromey@redhat.com>
3910 * defs.h (XMALLOC): Remove.
3911 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
3912 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
3913 * cli-out.c (struct ui_out *): Likewise.
3914 * cli/cli-dump.c (add_dump_command): Likewise.
3915 (add_dump_command): Likewise.
3916 * complaints.c (get_complaints): Likewise.
3917 (find_complaint): Likewise.
3918 * dwarf2-frame.c (execute_cfa_program): Likewise.
3919 * dwarf2read.c (abbrev_table_read_table): Likewise.
3920 * gdbarch.sh: Likewise.
3921 * gdbarch.c: Rebuild.
3922 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
3923 * interps.c (interp_new): Likewise.
3924 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
3925 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
3926 * mi/mi-console.c (mi_console_file_new): Likewise.
3927 * mi/mi-interp.c (mi_interpreter_init): Likewise.
3928 * mi/mi-out.c (mi_out_new): Likewise.
3929 * mi/mi-parse.c (mi_parse): Likewise.
3930 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
3931 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
3932 * observer.c (xalloc_observer_list_node): Likewise.
3933 * regcache.c (regcache_xmalloc_1): Likewise.
3934 * reggroups.c (reggroup_new): Likewise.
3935 (_initialize_reggroup): Likewise.
3936 * registry.c (register_data_with_cleanup): Likewise.
3937 * remote.c (remote_notif_stop_alloc_reply): Likewise.
3938 * ser-base.c (serial_ttystate): Likewise.
3939 * ser-mingw.c (make_pipe_state): Likewise.
3940 * ser-pipe.c (pipe_open): Likewise.
3941 * serial.c (serial_open): Likewise.
3942 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
3943 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
3944 (tui_alloc_win_info): Likewise.
3945 (tui_add_content_elements): Likewise.
3946 * tui/tui-file.c (tui_file_new): Likewise.
3947 * tui/tui-out.c (tui_out_new): Likewise.
3948 * ui-file.c (mem_file_new): Likewise.
3949 * ui-out.c (push_level): Likewise.
3950 (make_cleanup_ui_out_end): Likewise.
3951 (append_header_to_list): Likewise.
3952 (ui_out_new): Likewise.
3953 * user-regs.c (user_reg_add_builtin): Likewise.
3955 2014-01-13 Tom Tromey <tromey@redhat.com>
3957 * defs.h (XZALLOC): Remove.
3958 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
3959 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
3960 (get_ada_tasks_inferior_data): Likewise.
3961 * auto-load.c (get_auto_load_pspace_data): Likewise.
3962 * auxv.c (get_auxv_inferior_data): Likewise.
3963 * bfd-target.c (target_bfd_reopen): Likewise.
3964 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
3965 (deprecated_insert_raw_breakpoint): Likewise.
3966 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
3967 * corelow.c (core_open): Likewise.
3968 * darwin-nat.c (darwin_check_new_threads): Likewise.
3969 (darwin_attach_pid): Likewise.
3970 * dummy-frame.c (dummy_frame_push): Likewise.
3971 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
3972 * dwarf2loc.c (allocate_piece_closure): Likewise.
3973 * elfread.c (elf_symfile_segments): Likewise.
3974 * eval.c (ptrmath_type_p): Likewise.
3975 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
3976 * gdbtypes.c (alloc_type_arch): Likewise.
3977 (alloc_type_instance): Likewise.
3978 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
3979 * inf-child.c (inf_child_can_use_agent): Likewise.
3980 * inflow.c (get_inflow_inferior_data): Likewise.
3981 * infrun.c (save_infcall_suspend_state): Likewise.
3982 * jit.c (jit_reader_load): Likewise.
3983 (get_jit_objfile_data): Likewise.
3984 (get_jit_program_space_data): Likewise.
3985 (jit_object_open_impl): Likewise.
3986 (jit_symtab_open_impl): Likewise.
3987 (jit_block_open_impl): Likewise.
3988 (jit_frame_sniffer): Likewise.
3989 * linux-fork.c (add_fork): Likewise.
3990 * maint.c (make_command_stats_cleanup): Likewise.
3991 * objfiles.c (get_objfile_pspace_data): Likewise.
3992 * opencl-lang.c (struct lval_closure): Likewise.
3993 * osdata.c (osdata_start_osdata): Likewise.
3994 * progspace.c (new_address_space): Likewise.
3995 (add_program_space): Likewise.
3996 * remote-sim.c (get_sim_inferior_data): Likewise.
3997 * sh-tdep.c (sh_gdbarch_init): Likewise.
3998 * skip.c (Ignore): Likewise.
3999 (skip_delete_command): Likewise.
4000 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4001 (library_list_start_library): Likewise.
4002 (solib_aix_current_sos): Likewise.
4003 * solib-darwin.c (get_darwin_info): Likewise.
4004 (darwin_current_sos): Likewise.
4005 * solib-dsbt.c (get_dsbt_info): Likewise.
4006 * solib-ia64-hpux.c (new_so_list): Likewise.
4007 (ia64_hpux_get_solib_linkage_addr): Likewise.
4008 * solib-spu.c (append_ocl_sos): Likewise.
4009 (spu_current_sos): Likewise.
4010 * solib-svr4.c (get_svr4_info): Likewise.
4011 (svr4_keep_data_in_core): Likewise.
4012 (library_list_start_library): Likewise.
4013 (svr4_default_sos): Likewise.
4014 (svr4_read_so_list): Likewise.
4015 * solib-target.c (library_list_start_library): Likewise.
4016 (solib_target_current_sos): Likewise.
4017 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4018 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4019 * symfile.c (default_symfile_segments): Likewise.
4020 * target-descriptions.c (tdesc_data_init): Likewise.
4021 (tdesc_create_reg): Likewise.
4022 (struct tdesc_type *): Likewise.
4023 (tdesc_create_vector): Likewise.
4024 (tdesc_set_struct_size): Likewise.
4025 (struct tdesc_type *): Likewise.
4026 (tdesc_free_feature): Likewise.
4027 (tdesc_create_feature): Likewise.
4028 * windows-nat.c (windows_add_thread): Likewise.
4029 (windows_make_so): Likewise.
4030 * xml-support.c (gdb_xml_body_text): Likewise.
4031 (gdb_xml_create_parser_and_cleanup): Likewise.
4032 (xml_process_xincludes): Likewise.
4033 * xml-syscall.c (allocate_syscalls_info): Likewise.
4034 (syscall_create_syscall_desc): Likewise.
4036 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4038 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4039 function, with code from i386_stap_parse_special_token.
4040 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4041 (i386_stap_parse_special_token): Move code to the two functions
4044 2014-01-09 Pedro Alves <palves@redhat.com>
4045 Hui Zhu <hui@codesourcery.com>
4048 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4049 bp_err_string. Don't mark the location shlib_disabled if the
4050 error thrown wasn't a generic or memory error. Catch errors
4051 thrown while inserting breakpoints in overlayed code. Output
4052 error message of software breakpoints.
4053 * remote.c (remote_insert_breakpoint): If this breakpoint has
4054 target-side commands but this stub doesn't support Z0 packets,
4055 throw NOT_SUPPORTED_ERROR error.
4056 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4057 * target.h (target_insert_breakpoint): Extend comment.
4058 (target_insert_hw_breakpoint): Add comment.
4060 2014-01-08 Pedro Alves <palves@redhat.com>
4062 * remote.c (remote_add_thread): Add threads silently if starting
4064 (remote_notice_new_inferior): If in all-stop, and starting up,
4065 don't call notice_new_inferior.
4066 (get_current_thread): New function, factored out from ...
4067 (add_current_inferior_and_thread): ... this. Adjust.
4068 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4069 found any thread, then select the remote's current thread as GDB's
4072 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4074 * NEWS: Create a new section for the next release branch.
4075 Rename the section of the current branch, now that it has
4078 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4080 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4081 * version.in: Bump version to 7.7.50.DATE-cvs.
4083 2014-01-08 Yao Qi <yao@codesourcery.com>
4085 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4086 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4087 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4089 2014-01-08 Yao Qi <yao@codesourcery.com>
4091 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4092 return value of bfd_get_filename to symbol_file_add_from_bfd.
4094 2014-01-08 Pierre Muller <muller@sourceware.org>
4097 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4098 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4099 to prim_record_mininal_symbol_and_info.
4100 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4101 in call to prim_record_minimal_symbol_and_info.
4102 (read_pe_exported_syms): Set index field of section_data.
4104 2014-01-07 Andrew Pinski <apinski@cavium.com>
4106 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4107 * features/aarch64.c: Regenerate.
4109 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4111 * target.c (return_null): Define.
4112 (update_current_target): Use it instead of return_zero for
4113 functions that return a pointer.
4115 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4117 * source.c (add_path): Fix check for duplicated paths in the previously
4120 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4122 * ada-lang.c: Remove duplicated include statements.
4123 * alphabsd-nat.c: Ditto.
4124 * amd64-darwin-tdep.c: Ditto.
4125 * amd64fbsd-nat.c: Ditto.
4126 * auto-load.c: Ditto.
4128 * breakpoint.c: Ditto.
4130 * fork-child.c: Ditto.
4131 * gdb_usleep.c: Ditto.
4132 * i386-darwin-tdep.c: Ditto.
4133 * i386fbsd-nat.c: Ditto.
4135 * inferior.c: Ditto.
4137 * linux-nat.c: Ditto.
4138 * linux-tdep.c: Ditto.
4139 * m68kbsd-nat.c: Ditto.
4140 * m68klinux-nat.c: Ditto.
4141 * microblaze-tdep.c: Ditto.
4142 * mips-linux-tdep.c: Ditto.
4143 * mn10300-tdep.c: Ditto.
4144 * nto-tdep.c: Ditto.
4145 * opencl-lang.c: Ditto.
4147 * printcmd.c: Ditto.
4148 * regcache.c: Ditto.
4149 * remote-m32r-sdi.c: Ditto.
4153 * tilegx-linux-nat.c: Ditto.
4154 * tilegx-tdep.c: Ditto.
4155 * tracepoint.c: Ditto.
4157 * vaxbsd-nat.c: Ditto.
4158 * windows-nat.c: Ditto.
4159 * xtensa-tdep.c: Ditto.
4161 2014-01-07 Yao Qi <yao@codesourcery.com>
4163 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4165 2014-01-07 Yao Qi <yao@codesourcery.com>
4166 Joel Brobecker <brobecker@adacore.com>
4168 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4169 (pdc_write_regs): Likewise.
4170 (fetch_regs_kernel_thread): Likewise.
4171 (store_regs_kernel_thread): Likewise.
4173 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4175 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4176 tagged type objects to their actual type.
4178 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4180 * ada-valprint.c (print_field_values): Add "language" parameter.
4181 Update calls to print_field_values and print_variant_part.
4182 Pass new parameter "language" in call to val_print instead
4183 of "current_language". Replace call to ada_val_print by call
4185 (print_variant_part): Add "language" parameter.
4186 (ada_val_print_struct_union): Update call to print_field_values.
4188 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4190 * ada-valprint.c (ui_memcpy): Delete.
4191 (ada_print_floating): Update documentation. Add empty line
4192 between between function documentation and implementation.
4193 Delete variable "buffer". Use ui_file_xstrdup in place of
4194 ui_file_put. Minor adjustments following this change.
4196 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4198 * ada-valprint.c (ada_val_print_string): New function,
4199 extracted from ada_val_print_array.
4200 (ada_val_print_array): Replace extracted code by call
4201 to ada_val_print_string followed by a return. Move
4202 "else" branch to the function's top block.
4204 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4206 * ada-valprint.c (ada_val_print_array): Move implementation
4207 down. Rename parameter "offset" and "val" into "offset_aligned"
4208 and "original_value" respectively. Add parameter "offset".
4210 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4212 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4213 re-organizing the code. Change the "???" message printed
4214 when target type is a TYPE_CODE_UNDEF into
4215 "<ref to undefined type>".
4217 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4219 * ada-valprint.c (print_record): Delete, implementation inlined...
4220 (ada_val_print_struct_union): ... here. Remove call to
4221 ada_check_typedef in inlined implementation.
4223 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4225 * ada-valprint.c (ada_val_print_gnat_array): New function,
4226 extracted from ada_val_print_1;
4227 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4228 (ada_val_print_flt, ada_val_print_struct_union)
4229 (ada_val_print_ref): Likewise.
4230 (ada_val_print_1): Delete variables i and elttype.
4231 Replace extracted-out code by call to corresponding
4234 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4236 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4238 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4240 * ada-valprint.c (ada_val_print_1): Replace calls to
4241 ada_val_print_1 by calls to val_print.
4243 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4245 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4246 Update calls to self accordingly. Replace calls to c_val_print
4247 by calls to val_print.
4249 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4251 * ada-valprint.c (print_record): Delete declaration.
4252 (adjust_type_signedness, ada_val_print_1): Likewise.
4253 (ada_val_print): Move function implementation down.
4254 (print_variant_part, print_field_values, print_record):
4255 Move function implementation up.
4257 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4259 * python/py-type.c (typy_get_name): New function.
4260 (type_object_getset): Add entry for attribute "name".
4261 * NEWS: Add entry mentioning this new attribute.
4263 2014-01-07 Yao Qi <yao@codesourcery.com>
4265 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
4268 2014-01-07 Yao Qi <yao@codesourcery.com>
4270 * gnu-nat.c (info_port_rights): Add qualifier const to
4273 2014-01-07 Yao Qi <yao@codesourcery.com>
4275 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
4277 2014-01-07 Yao Qi <yao@codesourcery.com>
4279 * gnu-nat.c (make_inf) Update declaration.
4280 (make_inf): Make it static.
4281 (inf_set_traced): Likewise.
4282 (inf_port_to_thread, inf_task_died_status): Likewise.
4284 2014-01-07 Yao Qi <yao@codesourcery.com>
4286 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
4288 2014-01-07 Yao Qi <yao@codesourcery.com>
4290 * gnu-nat.c (_initialize_gnu_nat): Declare.
4292 2014-01-07 Yao Qi <yao@codesourcery.com>
4294 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
4296 (struct gdbarch_info) <byte_order>: Change type to
4298 <byte_order_for_code>: Likewise.
4299 * gdbarch.c, gdbarch.h: Regenerated.
4301 2014-01-06 Sasha Smundak <asmundak@google.com>
4303 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
4305 2014-01-06 Tom Tromey <tromey@redhat.com>
4307 * doublest.c (convert_doublest_to_floatformat): Use const, not
4309 * somread.c (som_symtab_read): Likewise.
4311 2014-01-07 Hui Zhu <hui@codesourcery.com>
4313 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
4314 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
4315 (gdb_bfd_fopen): Ditto.
4316 (gdb_bfd_openr): Ditto.
4317 (gdb_bfd_openw): Ditto.
4318 (gdb_bfd_openr_iovec): Ditto.
4319 (gdb_bfd_fdopenr): Ditto.
4320 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
4321 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
4323 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
4325 * symfile-mem.c (symbol_file_add_from_memory): Removed
4326 gdb_bfd_stash_filename.
4328 2014-01-03 Doug Evans <dje@google.com>
4330 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
4333 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4335 Update year range in copyright notice of all files.
4337 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4339 * top.c (print_gdb_version): Set copyright year to 2014.
4341 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4343 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
4345 For older changes see ChangeLog-2013.
4351 version-control: never