1 2014-02-19 Tom Tromey <tromey@redhat.com>
3 * target-delegates.c: Rebuild.
4 * target.h (struct target_ops) <to_extra_thread_info,
5 to_thread_name, to_pid_to_exec_file, to_get_section_table,
6 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
7 not 0, in TARGET_DEFAULT_RETURN.
9 2014-02-19 Tom Tromey <tromey@redhat.com>
11 * target.c (complete_target_initialization): Remove casts. Use
12 return_zero_has_execution.
13 (return_zero): Add "ignore" argument.
14 (return_zero_has_execution): New function.
15 (init_dummy_target): Remove casts. Use
16 return_zero_has_execution.
18 2014-02-19 Tom Tromey <tromey@redhat.com>
20 * target.c (update_current_target): Update comments. Do not
23 2014-02-19 Tom Tromey <tromey@redhat.com>
25 * arm-linux-nat.c (arm_linux_read_description): Delegate when
27 * corelow.c (core_read_description): Delegate when needed.
28 * remote.c (remote_read_description): Delegate when needed.
29 * target-delegates.c: Rebuild.
30 * target.c (target_read_description): Rewrite.
31 * target.h (struct target_ops) <to_read_description>: Update
32 comment. Use TARGET_DEFAULT_RETURN.
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 (find_default_run_target): Check against delegate_can_run.
40 * target.h (struct target_ops) <to_can_run>: Use
41 TARGET_DEFAULT_RETURN.
43 2014-02-19 Tom Tromey <tromey@redhat.com>
45 * target-delegates.c: Rebuild.
46 * target.c (target_disconnect): Unconditionally delegate.
47 * target.h (struct target_ops) <to_disconnect>: Use
48 TARGET_DEFAULT_NORETURN.
50 2014-02-19 Tom Tromey <tromey@redhat.com>
52 * record.c (record_stop): Unconditionally delegate.
53 * target-delegates.c: Rebuild.
54 * target.c (target_stop_recording): Unconditionally delegate.
55 * target.h (struct target_ops) <to_stop_recording>: Use
56 TARGET_DEFAULT_IGNORE.
58 2014-02-19 Tom Tromey <tromey@redhat.com>
60 * target-delegates.c: Rebuild.
61 * target.c (target_enable_btrace): Unconditionally delegate.
62 * target.h (struct target_ops) <to_enable_btrace>: Use
63 TARGET_DEFAULT_NORETURN.
65 2014-02-19 Tom Tromey <tromey@redhat.com>
67 * target-delegates.c: Rebuild.
68 * target.c (target_read_btrace): Unconditionally delegate.
69 * target.h (struct target_ops) <to_read_btrace>: Use
70 TARGET_DEFAULT_NORETURN.
72 2014-02-19 Tom Tromey <tromey@redhat.com>
74 * target-delegates.c: Rebuild.
75 * target.c (target_teardown_btrace): Unconditionally delegate.
76 * target.h (struct target_ops) <to_teardown_btrace>: Use
77 TARGET_DEFAULT_NORETURN.
79 2014-02-19 Tom Tromey <tromey@redhat.com>
81 * target-delegates.c: Rebuild.
82 * target.c (target_disable_btrace): Unconditionally delegate.
83 * target.h (struct target_ops) <to_disable_btrace>: Use
84 TARGET_DEFAULT_NORETURN.
86 2014-02-19 Tom Tromey <tromey@redhat.com>
88 * target-delegates.c: Rebuild.
89 * target.c (default_search_memory): New function.
90 (simple_search_memory): Update comment.
91 (target_search_memory): Unconditionally delegate.
92 * target.h (struct target_ops) <to_search_memory>: Use
95 2014-02-19 Tom Tromey <tromey@redhat.com>
97 * auxv.c (default_auxv_parse): No longer static.
98 (target_auxv_parse): Unconditionally delegate.
99 * auxv.h (default_auxv_parse): Declare.
100 * target-delegates.c: Rebuild.
101 * target.c: Include auxv.h.
102 * target.h (struct target_ops) <to_auxv_parse>: Use
105 2014-02-19 Tom Tromey <tromey@redhat.com>
107 * target-delegates.c: Rebuild.
108 * target.c (target_memory_map): Unconditionally delegate.
109 * target.h (struct target_ops) <to_memory_map>: Use
110 TARGET_DEFAULT_RETURN.
112 2014-02-19 Tom Tromey <tromey@redhat.com>
114 * target-delegates.c: Rebuild.
115 * target.c (target_thread_alive): Unconditionally delegate.
116 * target.h (struct target_ops) <to_thread_alive>: Use
117 TARGET_DEFAULT_RETURN.
119 2014-02-19 Tom Tromey <tromey@redhat.com>
121 * target-delegates.c: Rebuild.
122 * target.c (target_save_record): Unconditionally delegate.
123 * target.h (struct target_ops) <to_save_record>: Use
124 TARGET_DEFAULT_NORETURN.
126 2014-02-19 Tom Tromey <tromey@redhat.com>
128 * target-delegates.c: Rebuild.
129 * target.c (target_delete_record): Unconditionally delegate.
130 * target.h (struct target_ops) <to_delete_record>: Use
131 TARGET_DEFAULT_NORETURN.
133 2014-02-19 Tom Tromey <tromey@redhat.com>
135 * target-delegates.c: Rebuild.
136 * target.c (target_record_is_replaying): Unconditionally
138 * target.h (struct target_ops) <to_record_is_replaying>: Use
139 TARGET_DEFAULT_RETURN.
141 2014-02-19 Tom Tromey <tromey@redhat.com>
143 * target-delegates.c: Rebuild.
144 * target.c (target_goto_record_begin): Unconditionally delegate.
145 * target.h (struct target_ops) <to_goto_record_begin>: Use
146 TARGET_DEFAULT_NORETURN.
148 2014-02-19 Tom Tromey <tromey@redhat.com>
150 * target-delegates.c: Rebuild.
151 * target.c (target_goto_record_end): Unconditionally delegate.
152 * target.h (struct target_ops) <to_goto_record_end>: Use
153 TARGET_DEFAULT_NORETURN.
155 2014-02-19 Tom Tromey <tromey@redhat.com>
157 * target-delegates.c: Rebuild.
158 * target.c (target_goto_record): Unconditionally delegate.
159 * target.h (struct target_ops) <to_goto_record>: Use
160 TARGET_DEFAULT_NORETURN.
162 2014-02-19 Tom Tromey <tromey@redhat.com>
164 * target-delegates.c: Rebuild.
165 * target.c (target_insn_history): Unconditionally delegate.
166 * target.h (struct target_ops) <to_insn_history>: Use
167 TARGET_DEFAULT_NORETURN.
169 2014-02-19 Tom Tromey <tromey@redhat.com>
171 * target-delegates.c: Rebuild.
172 * target.c (target_insn_history_from): Unconditionally delegate.
173 * target.h (struct target_ops) <to_insn_history_from>: Use
174 TARGET_DEFAULT_NORETURN.
176 2014-02-19 Tom Tromey <tromey@redhat.com>
178 * target-delegates.c: Rebuild.
179 * target.c (target_insn_history_range): Unconditionally delegate.
180 * target.h (struct target_ops) <to_insn_history_range>: Use
181 TARGET_DEFAULT_NORETURN.
183 2014-02-19 Tom Tromey <tromey@redhat.com>
185 * target-delegates.c: Rebuild.
186 * target.c (target_call_history): Unconditionally delegate.
187 * target.h (struct target_ops) <to_call_history>: Use
188 TARGET_DEFAULT_NORETURN.
190 2014-02-19 Tom Tromey <tromey@redhat.com>
192 * target-delegates.c: Rebuild.
193 * target.c (target_call_history_from): Unconditionally delegate.
194 * target.h (struct target_ops) <to_call_history_from>: Use
195 TARGET_DEFAULT_NORETURN.
197 2014-02-19 Tom Tromey <tromey@redhat.com>
199 * target-delegates.c: Rebuild.
200 * target.c (target_call_history_range): Unconditionally delegate.
201 * target.h (struct target_ops) <to_call_history_range>: Use
202 TARGET_DEFAULT_NORETURN.
204 2014-02-19 Tom Tromey <tromey@redhat.com>
206 * target-delegates.c: Rebuild.
207 * target.c (target_verify_memory): Unconditionally delegate.
208 * target.h (struct target_ops) <to_verify_memory>: Use
209 TARGET_DEFAULT_NORETURN.
211 2014-02-19 Tom Tromey <tromey@redhat.com>
213 * target-delegates.c: Rebuild.
214 * target.c (target_core_of_thread): Unconditionally delegate.
215 * target.h (struct target_ops) <to_core_of_thread>: Use
216 TARGET_DEFAULT_RETURN.
218 2014-02-19 Tom Tromey <tromey@redhat.com>
220 * target-delegates.c: Rebuild.
221 * target.c (target_flash_done): Unconditionally delegate.
222 * target.h (struct target_ops) <to_flash_done>: Use
223 TARGET_DEFAULT_NORETURN.
225 2014-02-19 Tom Tromey <tromey@redhat.com>
227 * target-delegates.c: Rebuild.
228 * target.c (target_flash_erase): Unconditionally delegate.
229 * target.h (struct target_ops) <to_flash_erase>: Use
230 TARGET_DEFAULT_NORETURN.
232 2014-02-19 Tom Tromey <tromey@redhat.com>
234 * target-delegates.c: Rebuild.
235 * target.c (target_get_section_table): Unconditionally delegate.
236 * target.h (struct target_ops) <to_get_section_table>: Use
237 TARGET_DEFAULT_RETURN.
239 2014-02-19 Tom Tromey <tromey@redhat.com>
241 * target-delegates.c: Rebuild.
242 * target.c (target_pid_to_str): Unconditionally delegate.
243 (init_dummy_target): Don't initialize to_pid_to_str.
244 (default_pid_to_str): Rename from dummy_pid_to_str.
245 * target.h (struct target_ops) <to_pid_to_str>: Use
248 2014-02-19 Tom Tromey <tromey@redhat.com>
250 * target-delegates.c: Rebuild.
251 * target.c (target_find_new_threads): Unconditionally delegate.
252 * target.h (struct target_ops) <to_find_new_threads>: Use
253 TARGET_DEFAULT_RETURN.
255 2014-02-19 Tom Tromey <tromey@redhat.com>
257 * target-delegates.c: Rebuild.
258 * target.c (target_program_signals): Unconditionally delegate.
259 * target.h (struct target_ops) <to_program_signals>: Use
260 TARGET_DEFAULT_IGNORE.
262 2014-02-19 Tom Tromey <tromey@redhat.com>
264 * target-delegates.c: Rebuild.
265 * target.c (target_pass_signals): Unconditionally delegate.
266 * target.h (struct target_ops) <to_pass_signals>: Use
267 TARGET_DEFAULT_IGNORE.
269 2014-02-19 Tom Tromey <tromey@redhat.com>
271 * target-delegates.c: Rebuild.
272 * target.c (default_mourn_inferior): New function.
273 (target_mourn_inferior): Unconditionally delegate.
274 * target.h (struct target_ops) <to_mourn_inferior>: Use
277 2014-02-19 Tom Tromey <tromey@redhat.com>
279 * target-delegates.c: Rebuild.
280 * target.c (default_follow_fork): New function.
281 (target_follow_fork): Unconditionally delegate.
282 * target.h (struct target_ops) <to_follow_fork>: Use
285 2014-02-19 Tom Tromey <tromey@redhat.com>
287 * target-delegates.c: Rebuild.
288 * target.c (target_kill): Unconditionally delegate.
289 * target.h (struct target_ops) <to_kill>: Use
290 TARGET_DEFAULT_NORETURN.
292 2014-02-19 Tom Tromey <tromey@redhat.com>
294 * target-delegates.c: Rebuild.
295 * target.c (target_masked_watch_num_registers): Unconditionally
297 * target.h (struct target_ops) <to_masked_watch_num_registers>:
298 Use TARGET_DEFAULT_RETURN.
300 2014-02-19 Tom Tromey <tromey@redhat.com>
302 * target-delegates.c: Rebuild.
303 * target.c (target_remove_mask_watchpoint): Unconditionally
305 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
306 TARGET_DEFAULT_RETURN.
308 2014-02-19 Tom Tromey <tromey@redhat.com>
310 * target-delegates.c: Rebuild.
311 * target.c (target_insert_mask_watchpoint): Unconditionally
313 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
314 TARGET_DEFAULT_RETURN.
316 2014-02-19 Tom Tromey <tromey@redhat.com>
318 * target-delegates.c: Rebuild.
319 * target.c (target_ranged_break_num_registers): Unconditionally
321 * target.h (struct target_ops) <to_ranged_break_num_registers>:
322 Use TARGET_DEFAULT_RETURN.
324 2014-02-19 Tom Tromey <tromey@redhat.com>
326 * target-delegates.c: Rebuild.
327 * target.c (target_fetch_registers): Unconditionally delegate.
328 * target.h (struct target_ops) <to_fetch_registers>: Use
329 TARGET_DEFAULT_NORETURN.
331 2014-02-19 Tom Tromey <tromey@redhat.com>
333 * target-delegates.c: Rebuild.
334 * target.c (update_current_target): Don't inherit or default
336 * target.h (struct target_ops) <to_stop>: Use
337 TARGET_DEFAULT_IGNORE.
339 2014-02-19 Tom Tromey <tromey@redhat.com>
341 * target-delegates.c: Rebuild.
342 * target.c (update_current_target): Don't inherit or default
343 to_can_run_breakpoint_commands.
344 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
345 Use TARGET_DEFAULT_RETURN.
347 2014-02-19 Tom Tromey <tromey@redhat.com>
349 * target-delegates.c: Rebuild.
350 * target.c (update_current_target): Don't inherit or default
351 to_supports_evaluation_of_breakpoint_conditions.
352 * target.h (struct target_ops)
353 <to_supports_evaluation_of_breakpoint_conditions>: Use
354 TARGET_DEFAULT_RETURN.
356 2014-02-19 Tom Tromey <tromey@redhat.com>
358 * target-delegates.c: Rebuild.
359 * target.c (update_current_target): Don't inherit or default
360 to_augmented_libraries_svr4_read.
361 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
362 Use TARGET_DEFAULT_RETURN.
364 2014-02-19 Tom Tromey <tromey@redhat.com>
366 * target-delegates.c: Rebuild.
367 * target.c (update_current_target): Don't inherit or default
369 * target.h (struct target_ops) <to_can_use_agent>: Use
370 TARGET_DEFAULT_RETURN.
372 2014-02-19 Tom Tromey <tromey@redhat.com>
374 * target-delegates.c: Rebuild.
375 * target.c (update_current_target): Don't inherit or default
377 * target.h (struct target_ops) <to_use_agent>: Use
378 TARGET_DEFAULT_NORETURN.
380 2014-02-19 Tom Tromey <tromey@redhat.com>
382 * target-delegates.c: Rebuild.
383 * target.c (update_current_target): Don't inherit or default
385 (return_null): Remove.
386 * target.h (struct target_ops) <to_traceframe_info>: 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_static_tracepoint_markers_by_strid.
394 * target.h (struct target_ops)
395 <to_static_tracepoint_markers_by_strid>: Use
396 TARGET_DEFAULT_NORETURN.
398 2014-02-19 Tom Tromey <tromey@redhat.com>
400 * target-delegates.c: Rebuild.
401 * target.c (update_current_target): Don't inherit or default
402 to_static_tracepoint_marker_at.
403 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
404 Use TARGET_DEFAULT_RETURN.
406 2014-02-19 Tom Tromey <tromey@redhat.com>
408 * target-delegates.c: Rebuild.
409 * target.c (update_current_target): Don't inherit or default
411 * target.h (struct target_ops) <to_set_permissions>: Use
412 TARGET_DEFAULT_IGNORE.
414 2014-02-19 Tom Tromey <tromey@redhat.com>
416 * target-delegates.c: Rebuild.
417 * target.c (update_current_target): Don't inherit or default
419 * target.h (struct target_ops) <to_get_tib_address>: Use
420 TARGET_DEFAULT_NORETURN.
422 2014-02-19 Tom Tromey <tromey@redhat.com>
424 * target-delegates.c: Rebuild.
425 * target.c (update_current_target): Don't inherit or default
427 * target.h (struct target_ops) <to_set_trace_notes>: Use
428 TARGET_DEFAULT_RETURN.
430 2014-02-19 Tom Tromey <tromey@redhat.com>
432 * target-delegates.c: Rebuild.
433 * target.c (update_current_target): Don't initialize
434 to_set_trace_buffer_size.
435 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
436 TARGET_DEFAULT_IGNORE.
438 2014-02-19 Tom Tromey <tromey@redhat.com>
440 * target-delegates.c: Rebuild.
441 * target.c (update_current_target): Don't inherit or default
442 to_set_circular_trace_buffer.
443 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
444 TARGET_DEFAULT_IGNORE.
446 2014-02-19 Tom Tromey <tromey@redhat.com>
448 * target-delegates.c: Rebuild.
449 * target.c (update_current_target): Don't inherit or default
450 to_set_disconnected_tracing.
451 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
452 TARGET_DEFAULT_IGNORE.
454 2014-02-19 Tom Tromey <tromey@redhat.com>
456 * target-delegates.c: Rebuild.
457 * target.c (update_current_target): Don't inherit or default
458 to_get_min_fast_tracepoint_insn_len.
459 (return_minus_one): Remove.
460 * target.h (struct target_ops)
461 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
463 2014-02-19 Tom Tromey <tromey@redhat.com>
465 * target-delegates.c: Rebuild.
466 * target.c (update_current_target): Don't inherit or default
467 to_get_raw_trace_data.
468 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
469 TARGET_DEFAULT_NORETURN.
471 2014-02-19 Tom Tromey <tromey@redhat.com>
473 * target-delegates.c: Rebuild.
474 * target.c (update_current_target): Don't inherit or default
475 to_upload_trace_state_variables.
476 * target.h (struct target_ops) <to_upload_trace_state_variables>:
477 Use TARGET_DEFAULT_RETURN.
479 2014-02-19 Tom Tromey <tromey@redhat.com>
481 * target-delegates.c: Rebuild.
482 * target.c (update_current_target): Don't inherit or default
483 to_upload_tracepoints.
484 * target.h (struct target_ops) <to_upload_tracepoints>: Use
485 TARGET_DEFAULT_RETURN.
487 2014-02-19 Tom Tromey <tromey@redhat.com>
489 * target-delegates.c: Rebuild.
490 * target.c (update_current_target): Don't inherit or default
492 * target.h (struct target_ops) <to_save_trace_data>: Use
493 TARGET_DEFAULT_NORETURN.
495 2014-02-19 Tom Tromey <tromey@redhat.com>
497 * target-delegates.c: Rebuild.
498 * target.c (update_current_target): Don't inherit or default
499 to_get_trace_state_variable_value.
500 * target.h (struct target_ops)
501 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
503 2014-02-19 Tom Tromey <tromey@redhat.com>
505 * target-delegates.c: Rebuild.
506 * target.c (update_current_target): Don't inherit or default
508 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
510 2014-02-19 Tom Tromey <tromey@redhat.com>
512 * target-delegates.c: Rebuild.
513 * target.c (update_current_target): Don't inherit or default
515 * target.h (struct target_ops) <to_trace_stop>: Use
516 TARGET_DEFAULT_NORETURN.
518 2014-02-19 Tom Tromey <tromey@redhat.com>
520 * target-delegates.c: Rebuild.
521 * target.c (update_current_target): Don't inherit or default
522 to_get_tracepoint_status.
523 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
524 TARGET_DEFAULT_NORETURN.
526 2014-02-19 Tom Tromey <tromey@redhat.com>
528 * target-delegates.c: Rebuild.
529 * target.c (update_current_target): Don't inherit or default
531 * target.h (struct target_ops) <to_get_trace_status>: Use
532 TARGET_DEFAULT_RETURN.
534 2014-02-19 Tom Tromey <tromey@redhat.com>
536 * target-delegates.c: Rebuild.
537 * target.c (update_current_target): Don't inherit or default
539 * target.h (struct target_ops) <to_trace_start>: Use
540 TARGET_DEFAULT_NORETURN.
542 2014-02-19 Tom Tromey <tromey@redhat.com>
544 * target-delegates.c: Rebuild.
545 * target.c (update_current_target): Don't inherit or default
546 to_trace_set_readonly_regions.
547 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
548 Use TARGET_DEFAULT_NORETURN.
550 2014-02-19 Tom Tromey <tromey@redhat.com>
552 * target-delegates.c: Rebuild.
553 * target.c (update_current_target): Don't inherit or default
554 to_disable_tracepoint.
555 * target.h (struct target_ops) <to_disable_tracepoint>: Use
556 TARGET_DEFAULT_NORETURN.
558 2014-02-19 Tom Tromey <tromey@redhat.com>
560 * target-delegates.c: Rebuild.
561 * target.c (update_current_target): Don't inherit or default
562 to_enable_tracepoint.
563 * target.h (struct target_ops) <to_enable_tracepoint>: Use
564 TARGET_DEFAULT_NORETURN.
566 2014-02-19 Tom Tromey <tromey@redhat.com>
568 * target-delegates.c: Rebuild.
569 * target.c (update_current_target): Don't inherit or default
570 to_download_trace_state_variable.
571 * target.h (struct target_ops) <to_download_trace_state_variable>:
572 Use TARGET_DEFAULT_NORETURN.
574 2014-02-19 Tom Tromey <tromey@redhat.com>
576 * target-delegates.c: Rebuild.
577 * target.c (update_current_target): Don't inherit or default
578 to_can_download_tracepoint.
579 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
580 TARGET_DEFAULT_RETURN.
582 2014-02-19 Tom Tromey <tromey@redhat.com>
584 * target-delegates.c: Rebuild.
585 * target.c (update_current_target): Don't inherit or default
586 to_download_tracepoint.
587 * target.h (struct target_ops) <to_download_tracepoint>: Use
588 TARGET_DEFAULT_NORETURN.
590 2014-02-19 Tom Tromey <tromey@redhat.com>
592 * target-delegates.c: Rebuild.
593 * target.c (update_current_target): Don't inherit or default
595 * target.h (struct target_ops) <to_trace_init>: Use
596 TARGET_DEFAULT_RETURN.
598 2014-02-19 Tom Tromey <tromey@redhat.com>
600 * target-delegates.c: Rebuild.
601 * target.c (update_current_target): Don't inherit or default
602 to_supports_string_tracing.
603 * target.h (struct target_ops) <to_supports_string_tracing>: Use
604 TARGET_DEFAULT_RETURN.
606 2014-02-19 Tom Tromey <tromey@redhat.com>
608 * target-delegates.c: Rebuild.
609 * target.c (update_current_target): Don't inherit or default
610 to_supports_enable_disable_tracepoint.
611 * target.h (struct target_ops)
612 <to_supports_enable_disable_tracepoint>: Use
613 TARGET_DEFAULT_RETURN.
615 2014-02-19 Tom Tromey <tromey@redhat.com>
617 * target-delegates.c: Rebuild.
618 * target.c (update_current_target): Don't inherit or default
619 to_supports_multi_process.
620 * target.h (struct target_ops) <to_supports_multi_process>: Use
621 TARGET_DEFAULT_RETURN.
623 2014-02-19 Tom Tromey <tromey@redhat.com>
625 * target-delegates.c: Rebuild.
626 * target.c (update_current_target): Don't inherit or default
627 to_get_ada_task_ptid.
628 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
631 2014-02-19 Tom Tromey <tromey@redhat.com>
633 * target-delegates.c: Rebuild.
634 * target.c (update_current_target): Don't inherit or default
635 to_thread_architecture.
636 * target.h (struct target_ops) <to_thread_architecture>: Use
639 2014-02-19 Tom Tromey <tromey@redhat.com>
641 * target-delegates.c: Rebuild.
642 * target.c (update_current_target): Don't inherit or default
643 to_execution_direction.
644 * target.h (struct target_ops) <to_execution_direction>: Use
647 2014-02-19 Tom Tromey <tromey@redhat.com>
649 * target-delegates.c: Rebuild.
650 * target.c (update_current_target): Don't inherit or default
651 to_can_execute_reverse.
652 * target.h (struct target_ops) <to_can_execute_reverse>: Use
653 TARGET_DEFAULT_RETURN.
654 (target_can_execute_reverse): Unconditionally delegate.
656 2014-02-19 Tom Tromey <tromey@redhat.com>
658 * target-delegates.c: Rebuild.
659 * target.c (update_current_target): Don't inherit or default
661 (dummy_goto_bookmark): Remove.
662 (init_dummy_target): Don't inherit or default to_goto_bookmark.
663 * target.h (struct target_ops) <to_goto_bookmark>: Use
664 TARGET_DEFAULT_NORETURN.
666 2014-02-19 Tom Tromey <tromey@redhat.com>
668 * target-delegates.c: Rebuild.
669 * target.c (update_current_target): Don't inherit or default
671 (dummy_get_bookmark): Remove.
672 (init_dummy_target): Don't inherit or default to_get_bookmark.
673 * target.h (struct target_ops) <to_get_bookmark>: Use
674 TARGET_DEFAULT_NORETURN
676 2014-02-19 Tom Tromey <tromey@redhat.com>
678 * target-delegates.c: Rebuild.
679 * target.c (update_current_target): Don't inherit or default
680 to_make_corefile_notes.
681 (init_dummy_target): Don't initialize to_make_corefile_notes.
682 * target.h (struct target_ops) <to_make_corefile_notes>: Use
685 2014-02-19 Tom Tromey <tromey@redhat.com>
687 * target-delegates.c: Rebuild.
688 * target.c (update_current_target): Don't inherit or default
689 to_find_memory_regions.
690 (init_dummy_target): Don't initialize to_find_memory_regions.
691 * target.h (struct target_ops) <to_find_memory_regions>: Use
694 2014-02-19 Tom Tromey <tromey@redhat.com>
696 * target-delegates.c: Rebuild.
697 * target.c (update_current_target): Don't inherit or default
699 * target.h (struct target_ops) <to_log_command>: Use
700 TARGET_DEFAULT_IGNORE.
701 (target_log_command): Unconditionally delegate.
703 2014-02-19 Tom Tromey <tromey@redhat.com>
705 * target-delegates.c: Rebuild.
706 * target.c (update_current_target): Don't inherit or default
708 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
709 TARGET_DEFAULT_RETURN.
711 2014-02-19 Tom Tromey <tromey@redhat.com>
713 * target-delegates.c: Rebuild.
714 * target.c (update_current_target): Don't inherit or default
716 (target_thread_name): Unconditionally delegate.
717 * target.h (struct target_ops) <to_thread_name>: Use
718 TARGET_DEFAULT_RETURN.
720 2014-02-19 Tom Tromey <tromey@redhat.com>
722 * target-delegates.c: Rebuild.
723 * target.c (update_current_target): Don't inherit or default
724 to_extra_thread_info.
725 * target.h (struct target_ops) <to_extra_thread_info>: Use
726 TARGET_DEFAULT_RETURN.
728 2014-02-19 Tom Tromey <tromey@redhat.com>
730 * target-delegates.c: Rebuild.
731 * target.c (update_current_target): Don't inherit or default
733 * target.h (struct target_ops) <to_has_exited>: Use
734 TARGET_DEFAULT_RETURN..
736 2014-02-19 Tom Tromey <tromey@redhat.com>
738 * target-delegates.c: Rebuild.
739 * target.c (update_current_target): Don't inherit or default
740 to_set_syscall_catchpoint.
741 (return_one): Remove.
742 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
743 TARGET_DEFAULT_RETURN.
745 2014-02-19 Tom Tromey <tromey@redhat.com>
747 * target-delegates.c: Rebuild.
748 * target.c (update_current_target): Don't inherit or default
749 to_insert_exec_catchpoint.
750 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
751 TARGET_DEFAULT_RETURN.
753 2014-01-08 Tom Tromey <tromey@redhat.com>
755 * target-delegates.c: Rebuild.
756 * target.c (update_current_target): Don't inherit or default
757 to_insert_exec_catchpoint.
758 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
759 TARGET_DEFAULT_RETURN.
761 2014-02-19 Tom Tromey <tromey@redhat.com>
763 * target-delegates.c: Rebuild.
764 * target.c (update_current_target): Don't inherit or default
765 to_remove_vfork_catchpoint.
766 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
767 TARGET_DEFAULT_RETURN.
769 2014-02-19 Tom Tromey <tromey@redhat.com>
771 * target-delegates.c: Rebuild.
772 * target.c (update_current_target): Don't inherit or default
773 to_insert_vfork_catchpoint.
774 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
775 TARGET_DEFAULT_RETURN.
777 2014-02-19 Tom Tromey <tromey@redhat.com>
779 * target-delegates.c: Rebuild.
780 * target.c (update_current_target): Don't inherit or default
781 to_remove_fork_catchpoint.
782 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
783 TARGET_DEFAULT_RETURN.
785 2014-02-19 Tom Tromey <tromey@redhat.com>
787 * target-delegates.c: Rebuild.
788 * target.c (update_current_target): Don't inherit or default
789 to_insert_fork_catchpoint.
790 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
791 TARGET_DEFAULT_RETURN.
793 2014-02-19 Tom Tromey <tromey@redhat.com>
795 * target-delegates.c: Rebuild.
796 * target.c (update_current_target): Don't inherit or default
797 to_post_startup_inferior.
798 * target.h (struct target_ops) <to_post_startup_inferior>: Use
799 TARGET_DEFAULT_IGNORE.
801 2014-02-19 Tom Tromey <tromey@redhat.com>
803 * target-delegates.c: Rebuild.
804 * target.c (update_current_target): Don't inherit or default
806 * target.h (struct target_ops) <to_load>: Use
807 TARGET_DEFAULT_NORETURN.
809 2014-02-19 Tom Tromey <tromey@redhat.com>
811 * target-delegates.c: Rebuild.
812 * target.c (update_current_target): Don't inherit or default
814 * target.h (struct target_ops) <to_terminal_info>: Use
817 2014-02-19 Tom Tromey <tromey@redhat.com>
819 * target-delegates.c: Rebuild.
820 * target.c (update_current_target): Don't inherit or default
821 to_terminal_save_ours.
822 * target.h (struct target_ops) <to_terminal_save_ours>: Use
823 TARGET_DEFAULT_IGNORE.
825 2014-02-19 Tom Tromey <tromey@redhat.com>
827 * target-delegates.c: Rebuild.
828 * target.c (update_current_target): Don't inherit or default
830 * target.h (struct target_ops) <to_terminal_ours>: Use
831 TARGET_DEFAULT_IGNORE.
833 2014-02-19 Tom Tromey <tromey@redhat.com>
835 * target-delegates.c: Rebuild.
836 * target.c (update_current_target): Don't inherit or default
837 to_terminal_ours_for_output.
838 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
839 TARGET_DEFAULT_IGNORE.
841 2014-02-19 Tom Tromey <tromey@redhat.com>
843 * target-delegates.c: Rebuild.
844 * target.c (update_current_target): Don't inherit or default
845 to_terminal_inferior.
846 * target.h (struct target_ops) <to_terminal_inferior>: Use
847 TARGET_DEFAULT_IGNORE.
849 2014-02-19 Tom Tromey <tromey@redhat.com>
851 * target-delegates.c: Rebuild.
852 * target.c (update_current_target): Don't inherit or default
854 * target.h (struct target_ops) <to_terminal_init>: Use
855 TARGET_DEFAULT_IGNORE.
857 2014-02-19 Tom Tromey <tromey@redhat.com>
859 * target-delegates.c: Rebuild.
860 * target.c (update_current_target): Don't inherit or default
861 to_can_accel_watchpoint_condition.
862 * target.h (struct target_ops)
863 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
865 2014-02-19 Tom Tromey <tromey@redhat.com>
867 * target-delegates.c: Rebuild.
868 * target.c (update_current_target): Don't inherit or default
869 to_region_ok_for_hw_watchpoint.
870 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
871 Use TARGET_DEFAULT_FUNC.
873 2014-02-19 Tom Tromey <tromey@redhat.com>
875 * target-delegates.c: Rebuild.
876 * target.c (update_current_target): Don't inherit or default
877 to_watchpoint_addr_within_range.
878 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
879 Use TARGET_DEFAULT_FUNC.
881 2014-02-19 Tom Tromey <tromey@redhat.com>
883 * target-delegates.c: Rebuild.
884 * target.c (update_current_target): Don't inherit or default
885 to_remove_watchpoint.
886 * target.h (struct target_ops) <to_remove_watchpoint>: Use
887 TARGET_DEFAULT_NORETURN.
889 2014-02-19 Tom Tromey <tromey@redhat.com>
891 * target-delegates.c: Rebuild.
892 * target.c (update_current_target): Don't inherit or default
893 to_insert_watchpoint.
894 * target.h (struct target_ops) <to_insert_watchpoint>: Use
895 TARGET_DEFAULT_RETURN.
897 2014-02-19 Tom Tromey <tromey@redhat.com>
899 * target-delegates.c: Rebuild.
900 * target.c (update_current_target): Don't inherit or default
901 to_remove_hw_breakpoint.
902 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
903 TARGET_DEFAULT_RETURN.
905 2014-02-19 Tom Tromey <tromey@redhat.com>
907 * target-delegates.c: Rebuild.
908 * target.c (update_current_target): Don't inherit or default
909 to_insert_hw_breakpoint.
910 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
911 TARGET_DEFAULT_RETURN.
913 2014-02-19 Tom Tromey <tromey@redhat.com>
915 * target-delegates.c: Rebuild.
916 * target.c (update_current_target): Don't inherit or default
917 to_can_use_hw_breakpoint.
918 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
919 TARGET_DEFAULT_RETURN.
921 2014-02-19 Tom Tromey <tromey@redhat.com>
923 * target-delegates.c: Rebuild.
924 * target.c (update_current_target): Don't inherit or default
926 * target.h (struct target_ops) <to_files_info>: Use
927 TARGET_DEFAULT_IGNORE.
929 2014-02-19 Tom Tromey <tromey@redhat.com>
931 * target-delegates.c: Rebuild.
932 * target.c (update_current_target): Don't inherit or default
934 * target.h (struct target_ops) <to_store>: Use
935 TARGET_DEFAULT_NORETURN.
937 2014-02-19 Tom Tromey <tromey@redhat.com>
939 * target-delegates.c: Rebuild.
940 * target.c (update_current_target): Don't inherit or default
942 * target.h (struct target_ops) <to_post_attach>: Use
943 TARGET_DEFAULT_IGNORE.
945 2014-02-19 Tom Tromey <tromey@redhat.com>
947 * target-delegates.c: Rebuild.
948 * target.c (update_current_target): Don't inherit or default
950 (default_rcmd): New function.
951 (do_monitor_command): Unconditionally delegate.
952 * target.h (struct target_ops) <to_rmcd>: Use
955 2014-02-19 Tom Tromey <tromey@redhat.com>
957 * target-delegates.c: Rebuild.
958 * target.c (init_dummy_target): Don't initialize to_attach.
959 (target_attach): Unconditionally delegate.
960 * target.h (struct target_ops) <to_attach>: Use
963 2014-02-19 Tom Tromey <tromey@redhat.com>
965 * target-delegates.c: Rebuild.
966 * target.c (target_detach): Unconditionally delegate.
967 (init_dummy_target): Don't initialize to_detach.
968 * target.h (struct target_ops) <to_detach>: Use
969 TARGET_DEFAULT_IGNORE.
971 2014-02-19 Tom Tromey <tromey@redhat.com>
973 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
975 (target_augmented_libraries_svr4_read): Add argument.
976 * target.c (update_current_target): Update.
977 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
980 2014-02-19 Tom Tromey <tromey@redhat.com>
982 * target.h (struct target_ops) <to_call_history_range>: Add
984 * target.c (target_call_history_range): Add argument.
985 * record-btrace.c (record_btrace_call_history_range): Add 'self'
987 (record_btrace_call_history_from): Update.
989 2014-02-19 Tom Tromey <tromey@redhat.com>
991 * target.h (struct target_ops) <to_call_history_from>: Add
993 * target.c (target_call_history_from): Add argument.
994 * record-btrace.c (record_btrace_call_history_from): Add 'self'
997 2014-02-19 Tom Tromey <tromey@redhat.com>
999 * target.h (struct target_ops) <to_call_history>: Add argument.
1000 * target.c (target_call_history): Add argument.
1001 * record-btrace.c (record_btrace_call_history): Add 'self'
1004 2014-02-19 Tom Tromey <tromey@redhat.com>
1006 * target.h (struct target_ops) <to_insn_history_range>: Add
1008 * target.c (target_insn_history_range): Add argument.
1009 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
1011 (record_btrace_insn_history_from): Update.
1013 2014-02-19 Tom Tromey <tromey@redhat.com>
1015 * target.h (struct target_ops) <to_insn_history_from>: Add
1017 * target.c (target_insn_history_from): Add argument.
1018 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
1021 2014-02-19 Tom Tromey <tromey@redhat.com>
1023 * target.h (struct target_ops) <to_insn_history>: Add argument.
1024 * target.c (target_insn_history): Add argument.
1025 * record-btrace.c (record_btrace_insn_history): Add 'self'
1028 2014-02-19 Tom Tromey <tromey@redhat.com>
1030 * target.h (struct target_ops) <to_goto_record>: Add argument.
1031 * target.c (target_goto_record): Add argument.
1032 * record-full.c (record_full_goto): Add 'self' argument.
1033 * record-btrace.c (record_btrace_goto): Add 'self' argument.
1035 2014-02-19 Tom Tromey <tromey@redhat.com>
1037 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
1038 * target.c (target_goto_record_end): Add argument.
1039 * record-full.c (record_full_goto_end): Add 'self' argument.
1040 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
1042 2014-02-19 Tom Tromey <tromey@redhat.com>
1044 * target.h (struct target_ops) <to_goto_record_begin>: Add
1046 * target.c (target_goto_record_begin): Add argument.
1047 * record-full.c (record_full_goto_begin): Add 'self' argument.
1048 * record-btrace.c (record_btrace_goto_begin): Add 'self'
1051 2014-02-19 Tom Tromey <tromey@redhat.com>
1053 * target.h (struct target_ops) <to_record_is_replaying>: Add
1055 * target.c (target_record_is_replaying): Add argument.
1056 * record-full.c (record_full_is_replaying): Add 'self' argument.
1057 * record-btrace.c (record_btrace_is_replaying): Add 'self'
1059 (record_btrace_xfer_partial, record_btrace_store_registers)
1060 (record_btrace_prepare_to_store, record_btrace_resume)
1061 (record_btrace_wait, record_btrace_decr_pc_after_break)
1062 (record_btrace_find_new_threads, record_btrace_thread_alive):
1065 2014-02-19 Tom Tromey <tromey@redhat.com>
1067 * target.h (struct target_ops) <to_delete_record>: Add argument.
1068 * target.c (target_delete_record): Add argument.
1069 * record-full.c (record_full_delete): Add 'self' argument.
1071 2014-02-19 Tom Tromey <tromey@redhat.com>
1073 * target.h (struct target_ops) <to_save_record>: Add argument.
1074 * target.c (target_save_record): Add argument.
1075 * record-full.c (record_full_save): Add 'self' argument.
1076 (record_full_save): Add 'self' argument.
1078 2014-02-19 Tom Tromey <tromey@redhat.com>
1080 * target.h (struct target_ops) <to_info_record>: Add argument.
1081 * target.c (target_info_record): Add argument.
1082 * record.c (info_record_command): Add argument.
1083 * record-full.c (record_full_info): Add 'self' argument.
1084 * record-btrace.c (record_btrace_info): Add 'self' argument.
1086 2014-02-19 Tom Tromey <tromey@redhat.com>
1088 * target.h (struct target_ops) <to_stop_recording>: Add argument.
1089 * target.c (target_stop_recording): Add argument.
1090 * record.c (record_stop): Add argument.
1091 * record-btrace.c (record_btrace_stop_recording): Add 'self'
1094 2014-02-19 Tom Tromey <tromey@redhat.com>
1096 * target.h (struct target_ops) <to_read_btrace>: Add argument.
1097 * target.c (struct target_ops) <to_read_btrace>: Add argument.
1098 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
1100 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
1101 (_initialize_amd64_linux_nat): Use it.
1102 * i386-linux-nat.c (i386_linux_read_btrace): New function.
1103 (_initialize_i386_linux_nat): Use it.
1105 2014-02-19 Tom Tromey <tromey@redhat.com>
1107 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
1108 * target.c (target_teardown_btrace): Add argument.
1109 * remote.c (remote_teardown_btrace): Add 'self' argument.
1110 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
1112 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
1115 2014-02-19 Tom Tromey <tromey@redhat.com>
1117 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
1118 * target.c (target_disable_btrace): Add argument.
1119 * remote.c (remote_disable_btrace): Add 'self' argument.
1120 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
1122 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
1125 2014-02-19 Tom Tromey <tromey@redhat.com>
1127 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
1128 * target.c (target_enable_btrace): Add argument.
1129 * remote.c (remote_enable_btrace): Add 'self' argument.
1130 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
1132 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
1135 2014-02-19 Tom Tromey <tromey@redhat.com>
1137 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
1138 (target_can_use_agent): Add argument.
1139 * target.c (update_current_target): Update.
1140 * remote.c (remote_can_use_agent): Add 'self' argument.
1141 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
1143 2014-02-19 Tom Tromey <tromey@redhat.com>
1145 * target.h (struct target_ops) <to_use_agent>: Add argument.
1146 (target_use_agent): Add argument.
1147 * target.c (update_current_target): Update.
1148 * remote.c (remote_use_agent): Add 'self' argument.
1149 * inf-child.c (inf_child_use_agent): Add 'self' argument.
1151 2014-02-19 Tom Tromey <tromey@redhat.com>
1153 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
1154 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
1155 (target_traceframe_info): Add argument.
1156 * target.c (update_current_target): Update.
1157 * remote.c (remote_traceframe_info): Add 'self' argument.
1158 * ctf.c (ctf_traceframe_info): Add 'self' argument.
1160 2014-02-19 Tom Tromey <tromey@redhat.com>
1162 * target.h (target_static_tracepoint_markers_by_strid): Add
1164 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
1166 * target.c (update_current_target): Update.
1167 * remote.c (struct target_ops)
1168 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1169 * linux-nat.c (struct target_ops)
1170 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1172 2014-02-19 Tom Tromey <tromey@redhat.com>
1174 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1176 (target_static_tracepoint_marker_at): Add argument.
1177 * target.c (update_current_target): Update.
1178 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
1181 2014-02-19 Tom Tromey <tromey@redhat.com>
1183 * target.h (struct target_ops) <to_set_permissions>: Add argument.
1184 (target_set_permissions): Add argument.
1185 * target.c (update_current_target): Update.
1186 * remote.c (remote_set_permissions): Add 'self' argument.
1187 (remote_start_remote): Update.
1189 2014-02-19 Tom Tromey <tromey@redhat.com>
1191 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
1192 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
1193 (target_get_tib_address): Add argument.
1194 * target.c (update_current_target): Update.
1195 * remote.c (remote_get_tib_address): Add 'self' argument.
1197 2014-02-19 Tom Tromey <tromey@redhat.com>
1199 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
1200 (target_set_trace_notes): Add argument.
1201 * target.c (update_current_target): Update.
1202 * remote.c (remote_set_trace_notes): Add 'self' argument.
1204 2014-02-19 Tom Tromey <tromey@redhat.com>
1206 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
1208 (target_set_trace_buffer_size): Add argument.
1209 * target.c (update_current_target): Update.
1210 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
1212 2014-02-19 Tom Tromey <tromey@redhat.com>
1214 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
1216 (target_set_circular_trace_buffer): Add argument.
1217 * target.c (update_current_target): Update.
1218 * remote.c (remote_set_circular_trace_buffer): Add 'self'
1221 2014-02-19 Tom Tromey <tromey@redhat.com>
1223 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
1225 (target_set_disconnected_tracing): Add argument.
1226 * target.c (update_current_target): Update.
1227 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
1229 2014-02-19 Tom Tromey <tromey@redhat.com>
1231 * target.h (struct target_ops)
1232 <to_get_min_fast_tracepoint_insn_len>: Add argument.
1233 (target_get_min_fast_tracepoint_insn_len): Add argument.
1234 * target.c (update_current_target): Update.
1235 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
1238 2014-02-19 Tom Tromey <tromey@redhat.com>
1240 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
1242 (target_get_raw_trace_data): Add argument.
1243 * target.c (update_current_target): Update.
1244 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
1246 2014-02-19 Tom Tromey <tromey@redhat.com>
1248 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1250 (target_upload_trace_state_variables): Add argument.
1251 * target.c (update_current_target): Update.
1252 * remote.c (remote_upload_trace_state_variables): Add 'self'
1254 (remote_start_remote): Update.
1256 2014-02-19 Tom Tromey <tromey@redhat.com>
1258 * target.h (struct target_ops) <to_upload_tracepoints>: Add
1260 (target_upload_tracepoints): Add argument.
1261 * target.c (update_current_target): Update.
1262 * remote.c (remote_upload_tracepoints): Add 'self' argument.
1263 (remote_start_remote): Update.
1265 2014-02-19 Tom Tromey <tromey@redhat.com>
1267 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
1268 (target_save_trace_data): Add argument.
1269 * target.c (update_current_target): Update.
1270 * remote.c (remote_save_trace_data): Add 'self' argument.
1272 2014-02-19 Tom Tromey <tromey@redhat.com>
1274 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
1276 * target.h (struct target_ops)
1277 <to_get_trace_state_variable_value>: Add argument.
1278 (target_get_trace_state_variable_value): Add argument.
1279 * target.c (update_current_target): Update.
1280 * remote.c (remote_get_trace_state_variable_value): Add 'self'
1282 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
1284 2014-02-19 Tom Tromey <tromey@redhat.com>
1286 * tracepoint.c (tfile_trace_find): Add 'self' argument.
1287 * target.h (struct target_ops) <to_trace_find>: Add argument.
1288 (target_trace_find): Add argument.
1289 * target.c (update_current_target): Update.
1290 * remote.c (remote_trace_find): Add 'self' argument.
1291 * ctf.c (ctf_trace_find): Add 'self' argument.
1293 2014-02-19 Tom Tromey <tromey@redhat.com>
1295 * target.h (struct target_ops) <to_trace_stop>: Add argument.
1296 (target_trace_stop): Add argument.
1297 * target.c (update_current_target): Update.
1298 * remote.c (remote_trace_stop): Add 'self' argument.
1300 2014-02-19 Tom Tromey <tromey@redhat.com>
1302 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
1303 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
1305 (target_get_tracepoint_status): Add argument.
1306 * target.c (update_current_target): Update.
1307 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
1309 2014-02-19 Tom Tromey <tromey@redhat.com>
1311 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
1312 * target.h (struct target_ops) <to_get_trace_status>: Add
1314 (target_get_trace_status): Add argument.
1315 * target.c (update_current_target): Update.
1316 * remote.c (remote_get_trace_status): Add 'self' argument.
1317 (remote_start_remote, remote_can_download_tracepoint): Update.
1318 * ctf.c (ctf_get_trace_status): Add 'self' argument.
1320 2014-02-19 Tom Tromey <tromey@redhat.com>
1322 * target.h (struct target_ops) <to_trace_start>: Add argument.
1323 (target_trace_start): Add argument.
1324 * target.c (update_current_target): Update.
1325 * remote.c (remote_trace_start): Add 'self' argument.
1327 2014-02-19 Tom Tromey <tromey@redhat.com>
1329 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1331 (target_trace_set_readonly_regions): Add argument.
1332 * target.c (update_current_target): Update.
1333 * remote.c (remote_trace_set_readonly_regions): Add 'self'
1336 2014-02-19 Tom Tromey <tromey@redhat.com>
1338 * target.h (struct target_ops) <to_disable_tracepoint>: Add
1340 (target_disable_tracepoint): Add argument.
1341 * target.c (update_current_target): Update.
1342 * remote.c (remote_disable_tracepoint): Add 'self' argument.
1344 2014-02-19 Tom Tromey <tromey@redhat.com>
1346 * target.h (struct target_ops) <to_enable_tracepoint>: Add
1348 (target_enable_tracepoint): Add argument.
1349 * target.c (update_current_target): Update.
1350 * remote.c (remote_enable_tracepoint): Add 'self' argument.
1352 2014-02-19 Tom Tromey <tromey@redhat.com>
1354 * target.h (struct target_ops) <to_download_trace_state_variable>:
1356 (target_download_trace_state_variable): Add argument.
1357 * target.c (update_current_target): Update.
1358 * remote.c (remote_download_trace_state_variable): Add 'self'
1361 2014-02-19 Tom Tromey <tromey@redhat.com>
1363 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
1365 (target_can_download_tracepoint): Add argument.
1366 * target.c (update_current_target): Update.
1367 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
1369 2014-02-19 Tom Tromey <tromey@redhat.com>
1371 * target.h (struct target_ops) <to_download_tracepoint>: Add
1373 (target_download_tracepoint): Add argument.
1374 * target.c (update_current_target): Update.
1375 * remote.c (remote_download_tracepoint): Add 'self' argument.
1377 2014-02-19 Tom Tromey <tromey@redhat.com>
1379 * target.h (struct target_ops) <to_trace_init>: Add argument.
1380 (target_trace_init): Add argument.
1381 * target.c (update_current_target): Update.
1382 * remote.c (remote_trace_init): Add 'self' argument.
1384 2014-02-19 Tom Tromey <tromey@redhat.com>
1386 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1387 * target.c (target_fileio_readlink): Add argument.
1388 * remote.c (remote_hostio_readlink): Add 'self' argument.
1389 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1391 2014-02-19 Tom Tromey <tromey@redhat.com>
1393 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1394 * target.c (target_fileio_unlink): Add argument.
1395 * remote.c (remote_hostio_unlink): Add 'self' argument.
1396 (remote_file_delete): Update.
1397 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1399 2014-02-19 Tom Tromey <tromey@redhat.com>
1401 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1402 * target.c (target_fileio_close): Add argument.
1403 * remote.c (remote_hostio_close): Add 'self' argument.
1404 (remote_hostio_close_cleanup): Update.
1405 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1407 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1409 2014-02-19 Tom Tromey <tromey@redhat.com>
1411 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1412 * target.c (target_fileio_pread): Add argument.
1413 * remote.c (remote_hostio_pread): Add 'self' argument.
1414 (remote_bfd_iovec_pread, remote_file_get): Update.
1415 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1417 2014-02-19 Tom Tromey <tromey@redhat.com>
1419 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1420 * target.c (target_fileio_pwrite): Add argument.
1421 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1422 (remote_file_put): Update.
1423 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1425 2014-02-19 Tom Tromey <tromey@redhat.com>
1427 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1428 * target.c (target_fileio_open): Add argument.
1429 * remote.c (remote_hostio_open): Add 'self' argument.
1430 (remote_bfd_iovec_open): Add 'self' argument.
1431 (remote_file_put): Add 'self' argument.
1432 (remote_file_get): Add 'self' argument.
1433 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1435 2014-02-19 Tom Tromey <tromey@redhat.com>
1437 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1439 (target_can_run_breakpoint_commands): Add argument.
1440 * target.c (update_current_target): Update.
1441 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1443 (remote_insert_breakpoint): Add 'self' argument.
1444 (remote_insert_hw_breakpoint): Add 'self' argument.
1445 (remote_can_run_breakpoint_commands): Add 'self' argument.
1447 2014-02-19 Tom Tromey <tromey@redhat.com>
1449 * target.h (struct target_ops)
1450 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1451 (target_supports_evaluation_of_breakpoint_conditions): Add
1453 * target.c (update_current_target): Update.
1454 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1456 (remote_insert_breakpoint): Add 'self' argument.
1457 (remote_insert_hw_breakpoint): Add 'self' argument.
1458 (remote_supports_cond_breakpoints): Add 'self' argument.
1460 2014-02-19 Tom Tromey <tromey@redhat.com>
1462 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1464 (target_supports_string_tracing): Add argument.
1465 * target.c (update_current_target): Update.
1466 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1468 2014-02-19 Tom Tromey <tromey@redhat.com>
1470 * target.h (struct target_ops)
1471 <to_supports_disable_randomization>: Add argument.
1472 * target.c (find_default_supports_disable_randomization): Add
1474 (target_supports_disable_randomization): Add argument.
1475 (find_default_supports_disable_randomization): Add 'self'
1477 * remote.c (extended_remote_supports_disable_randomization): Add
1479 (remote_supports_disable_randomization): Add 'self' argument.
1480 (extended_remote_create_inferior): Update.
1481 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1484 2014-02-19 Tom Tromey <tromey@redhat.com>
1486 * target.h (struct target_ops)
1487 <to_supports_enable_disable_tracepoint>: Add argument.
1488 (target_supports_enable_disable_tracepoint): Add argument.
1489 * target.c (update_current_target): Update.
1490 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1493 2014-02-19 Tom Tromey <tromey@redhat.com>
1495 * target.h (struct target_ops) <to_supports_multi_process>: Add
1497 (target_supports_multi_process): Add argument.
1498 * target.c (update_current_target): Update.
1499 * remote.c (remote_supports_multi_process): Add 'self' argument.
1500 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1502 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1505 2014-02-19 Tom Tromey <tromey@redhat.com>
1507 * target.h (struct target_ops) <to_execution_direction>: Add
1509 (target_execution_direction): Add argument.
1510 * target.c (default_execution_direction): Add 'self' argument.
1511 * record-full.c (record_full_execution_direction): Add 'self'
1514 2014-02-19 Tom Tromey <tromey@redhat.com>
1516 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1518 (target_can_execute_reverse): Add argument.
1519 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1520 * record-full.c (record_full_can_execute_reverse): Add 'self'
1522 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1525 2014-02-19 Tom Tromey <tromey@redhat.com>
1527 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1528 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1530 (target_get_ada_task_ptid): Add argument.
1531 * target.c (update_current_target): Update.
1532 (default_get_ada_task_ptid): Add 'self' argument.
1533 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1534 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1535 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1537 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1539 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1541 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1543 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1544 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1547 2014-02-19 Tom Tromey <tromey@redhat.com>
1549 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1550 (target_goto_bookmark): Add argument.
1551 * target.c (dummy_goto_bookmark): Add 'self' argument.
1552 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1554 2014-02-19 Tom Tromey <tromey@redhat.com>
1556 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1557 (target_get_bookmark): Add argument.
1558 * target.c (dummy_get_bookmark): Add 'self' argument.
1559 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1561 2014-02-19 Tom Tromey <tromey@redhat.com>
1563 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1565 (target_make_corefile_notes): Add argument.
1566 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1567 * procfs.c (procfs_make_note_section): Add 'self' argument.
1568 (procfs_make_note_section): Add 'self' argument.
1569 (procfs_make_note_section): Add 'self' argument.
1570 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1572 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1573 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1574 * exec.c (exec_make_note_section): Add 'self' argument.
1575 (exec_make_note_section): Add 'self' argument.
1577 2014-02-19 Tom Tromey <tromey@redhat.com>
1579 * target.h (struct target_ops) <to_find_memory_regions>: Add
1581 (target_find_memory_regions): Add argument.
1582 * target.c (dummy_find_memory_regions): Add 'self' argument.
1583 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1584 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1585 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1586 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1587 * exec. (exec_do_find_memory_regions): New global.
1588 (exec_set_find_memory_regions): Rewrite.
1589 (exec_find_memory_regions): New function.
1590 (init_exec_ops): Use exec_find_memory_regions.
1592 2014-02-19 Tom Tromey <tromey@redhat.com>
1594 * target.h (struct target_ops) <to_supports_non_stop>: Add
1596 * target.c (find_default_supports_non_stop): Add argument.
1597 (target_supports_non_stop): Add argument.
1598 (find_default_supports_non_stop): Add 'self' argument.
1599 * remote.c (remote_supports_non_stop): Add 'self' argument.
1600 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1602 2014-02-19 Tom Tromey <tromey@redhat.com>
1604 * target.h (struct target_ops) <to_log_command>: Add argument.
1605 (target_log_command): Add argument.
1606 * serial.h (serial_log_command): Add 'self' argument.
1607 * serial.c (serial_log_command): Add 'self' argument.
1609 2014-02-19 Tom Tromey <tromey@redhat.com>
1611 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1612 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1614 (target_pid_to_exec_file): Add argument.
1615 * target.c (debug_to_pid_to_exec_file): Add argument.
1616 (update_current_target): Update.
1617 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1618 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1619 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1620 (linux_handle_extended_wait): Update.
1621 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1622 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1623 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1624 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1626 2014-02-19 Tom Tromey <tromey@redhat.com>
1628 * target.h (struct target_ops) <to_rcmd>: Add argument.
1629 (target_rcmd): Add argument.
1630 * target.c (debug_to_rcmd): Add argument.
1631 (update_current_target, do_monitor_command): Update.
1632 * remote.c (remote_rcmd): Add 'self' argument.
1633 * monitor.c (monitor_rcmd): Add 'self' argument.
1635 2014-02-19 Tom Tromey <tromey@redhat.com>
1637 * windows-nat.c (windows_stop): Add 'self' argument.
1638 * target.h (struct target_ops) <to_stop>: Add argument.
1639 * target.c (target_stop): Add argument.
1640 (debug_to_stop): Add argument.
1641 (update_current_target): Update.
1642 * remote.c (remote_stop): Add 'self' argument.
1643 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1644 (gdbsim_cntrl_c): Update.
1645 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1646 * procfs.c (procfs_stop): Add 'self' argument.
1647 * nto-procfs.c (procfs_stop): Add 'self' argument.
1648 * monitor.c (monitor_stop): Add 'self' argument.
1649 (monitor_open): Update.
1650 * linux-nat.c (linux_nat_stop): Add argument.
1651 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1652 * gnu-nat.c (gnu_stop): Add 'self' argument.
1653 * darwin-nat.c (darwin_stop): Add 'self' argument.
1655 2014-02-19 Tom Tromey <tromey@redhat.com>
1657 * target.h (struct target_ops) <to_thread_name>: Add argument.
1658 * target.c (target_thread_name): Add argument.
1659 (update_current_target): Update.
1660 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
1662 2014-02-19 Tom Tromey <tromey@redhat.com>
1664 * target.h (struct target_ops) <to_extra_thread_info>: Add
1666 (target_extra_thread_info): Add argument.
1667 * target.c (update_current_target): Update.
1668 * remote.c (remote_threads_extra_info): Add 'self' argument.
1669 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
1671 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
1672 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
1673 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
1675 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
1677 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
1679 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
1682 2014-02-19 Tom Tromey <tromey@redhat.com>
1684 * target.h (struct target_ops) <to_program_signals>: Add argument.
1685 * target.c (target_program_signals): Add argument.
1686 * remote.c (remote_program_signals): Add 'self' argument.
1688 2014-02-19 Tom Tromey <tromey@redhat.com>
1690 * target.h (struct target_ops) <to_pass_signals>: Add argument.
1691 * target.c (target_pass_signals): Add argument.
1692 * remote.c (remote_pass_signals): Add 'self' argument.
1693 (remote_start_remote): Update.
1694 * procfs.c (procfs_pass_signals): Add 'self' argument.
1695 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
1696 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
1697 (linux_nat_create_inferior, linux_nat_attach): Update.
1699 2014-02-19 Tom Tromey <tromey@redhat.com>
1701 * windows-nat.c (windows_can_run): Add 'self' argument.
1702 * target.h (struct target_ops) <to_can_run>: Add argument.
1703 (target_can_run): Add argument.
1704 * target.c (debug_to_can_run): Add argument.
1705 (update_current_target): Update.
1706 * nto-procfs.c (procfs_can_run): Add 'self' argument.
1707 * inf-child.c (inf_child_can_run): Add 'self' argument.
1708 * go32-nat.c (go32_can_run): Add 'self' argument.
1710 2014-02-19 Tom Tromey <tromey@redhat.com>
1712 * target.h (struct target_ops) <to_has_exited>: Add argument.
1713 (target_has_exited): Add argument.
1714 * target.c (debug_to_has_exited): Add argument.
1715 (update_current_target): Update.
1717 2014-02-19 Tom Tromey <tromey@redhat.com>
1719 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
1721 (target_set_syscall_catchpoint): Add argument.
1722 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
1724 * target.c (update_current_target): Update.
1726 2014-02-19 Tom Tromey <tromey@redhat.com>
1728 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
1730 (target_remove_exec_catchpoint): Add argument.
1731 * target.c (debug_to_remove_exec_catchpoint): Add argument.
1732 (update_current_target): Update.
1733 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
1736 2014-02-19 Tom Tromey <tromey@redhat.com>
1738 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
1740 (target_insert_exec_catchpoint): Add argument.
1741 * target.c (debug_to_insert_exec_catchpoint): Add argument.
1742 (update_current_target): Update.
1743 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
1746 2014-02-19 Tom Tromey <tromey@redhat.com>
1748 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
1750 (target_remove_vfork_catchpoint): Add argument.
1751 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
1752 (update_current_target): Update.
1753 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
1756 2014-02-19 Tom Tromey <tromey@redhat.com>
1758 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
1760 (target_insert_vfork_catchpoint): Add argument.
1761 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
1762 (update_current_target): Update.
1763 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
1766 2014-02-19 Tom Tromey <tromey@redhat.com>
1768 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
1770 (target_remove_fork_catchpoint): Add argument.
1771 * target.c (debug_to_remove_fork_catchpoint): Add argument.
1772 (update_current_target): Update.
1773 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
1776 2014-02-19 Tom Tromey <tromey@redhat.com>
1778 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
1780 (target_insert_fork_catchpoint): Add argument.
1781 * target.c (debug_to_insert_fork_catchpoint): Add argument.
1782 (update_current_target): Update.
1783 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
1786 2014-02-19 Tom Tromey <tromey@redhat.com>
1788 * target.h (struct target_ops) <to_post_startup_inferior>: Add
1790 (target_post_startup_inferior): Add argument.
1791 * target.c (debug_to_post_startup_inferior): Add argument.
1792 (update_current_target): Update.
1793 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
1795 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
1797 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
1799 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
1801 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
1803 (super_post_startup_inferior): Likewise.
1804 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
1806 (super_post_startup_inferior): Likewise.
1807 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
1808 Add 'self' argument.
1809 (super_post_startup_inferior): Likewise.
1811 2014-02-19 Tom Tromey <tromey@redhat.com>
1813 * target.h (struct target_ops) <to_load>: Add argument.
1814 * target.c (target_load): Add argument.
1815 (debug_to_load): Add argument.
1816 (update_current_target): Update.
1817 * remote.c (remote_load): Add 'self' argument.
1818 * remote-sim.c (gdbsim_load): Add 'self' argument.
1819 * remote-mips.c (mips_load): Add 'self' argument.
1820 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
1821 * monitor.c (monitor_load): Add 'self' argument.
1822 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
1824 2014-02-19 Tom Tromey <tromey@redhat.com>
1826 * target.h (struct target_ops) <to_terminal_info>: Add argument.
1827 (target_terminal_info): Add argument.
1828 * target.c (debug_to_terminal_info): Add argument.
1829 (default_terminal_info): Likewise.
1830 * inflow.c (child_terminal_info): Add 'self' argument.
1831 * inferior.h (child_terminal_info): Add 'self' argument.
1832 * go32-nat.c (go32_terminal_info): Add 'self' argument.
1834 2014-02-19 Tom Tromey <tromey@redhat.com>
1836 * target.h (struct target_ops) <to_terminal_save_ours>: Add
1838 (target_terminal_save_ours): Add argument.
1839 * target.c (debug_to_terminal_save_ours): Add argument.
1840 (update_current_target): Update.
1841 * inflow.c (terminal_save_ours): Add 'self' argument.
1842 * inferior.h (terminal_save_ours): Add 'self' argument.
1844 2014-02-19 Tom Tromey <tromey@redhat.com>
1846 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
1847 (target_terminal_ours): Add argument.
1848 * target.c (debug_to_terminal_ours): Add argument.
1849 (update_current_target): Update.
1850 * remote.c (remote_terminal_ours): Add 'self' argument.
1851 (remote_close): Update.
1852 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
1853 * inflow.c (terminal_ours): Add 'self' argument.
1854 * inferior.h (terminal_ours): Add 'self' argument.
1855 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1857 2014-02-19 Pedro Alves <palves@redhat.com>
1858 Tom Tromey <tromey@redhat.com>
1860 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
1862 (target_terminal_ours_for_output): Add argument.
1863 * target.c (debug_to_terminal_ours_for_output): Add argument.
1864 (update_current_target): Update.
1865 * inflow.c (terminal_ours_for_output): Add 'self' argument.
1866 * inferior.h (terminal_ours_for_output): Add 'self' argument.
1867 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1869 2014-02-19 Tom Tromey <tromey@redhat.com>
1871 * target.h (struct target_ops) <to_terminal_inferior>: Add
1873 * target.c (target_terminal_inferior): Add argument.
1874 (update_current_target): Update.
1875 * remote.c (remote_terminal_inferior): Add 'self' argument.
1876 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
1877 * inflow.c (terminal_inferior): Add 'self' argument.
1878 * inferior.h (terminal_inferior): Add 'self' argument.
1879 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
1880 (go32_terminal_inferior): Add 'self' argument.
1882 2014-02-19 Tom Tromey <tromey@redhat.com>
1884 * target.h (struct target_ops) <to_terminal_init>: Add argument.
1885 (target_terminal_init): Add argument.
1886 * target.c (debug_to_terminal_init): Add argument.
1887 (update_current_target): Update.
1888 * inflow.c (terminal_init_inferior): Add 'self' argument.
1889 * inferior.h (terminal_init_inferior): Add 'self' argument.
1890 * go32-nat.c (go32_terminal_init): Add 'self' argument.
1891 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
1893 2014-02-19 Tom Tromey <tromey@redhat.com>
1895 * target.h (struct target_ops)
1896 <to_can_accel_watchpoint_condition>: Add argument.
1897 (target_can_accel_watchpoint_condition): Add argument.
1898 * target.c (debug_to_can_accel_watchpoint_condition): Add
1900 (update_current_target): Update.
1901 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
1904 2014-02-19 Tom Tromey <tromey@redhat.com>
1906 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1908 (target_region_ok_for_hw_watchpoint): Add argument.
1909 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
1910 (default_region_ok_for_hw_watchpoint): Add argument.
1911 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
1912 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
1914 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
1916 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
1918 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
1920 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
1922 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
1924 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
1925 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
1927 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
1928 Add 'self' argument.
1930 2014-02-19 Tom Tromey <tromey@redhat.com>
1932 * target.h (struct target_ops) <to_insert_watchpoint>: Add
1934 (target_insert_watchpoint): Add argument.
1935 * target.c (debug_to_insert_watchpoint): Add argument.
1936 (update_current_target): Update.
1937 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
1938 * remote.c (remote_insert_watchpoint): Add 'self' argument.
1939 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
1940 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
1941 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
1942 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
1944 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
1945 (procfs_insert_hw_watchpoint): Add 'self' argument.
1946 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
1948 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
1950 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
1952 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
1953 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
1955 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
1958 2014-02-19 Tom Tromey <tromey@redhat.com>
1960 * target.h (struct target_ops) <to_remove_watchpoint>: Add
1962 (target_remove_watchpoint): Add argument.
1963 * target.c (debug_to_remove_watchpoint): Add argument.
1964 (update_current_target): Update.
1965 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
1966 * remote.c (remote_remove_watchpoint): Add 'self' argument.
1967 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
1968 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
1969 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
1970 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
1972 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
1973 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
1975 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
1977 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
1979 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
1980 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
1982 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
1985 2014-02-19 Tom Tromey <tromey@redhat.com>
1987 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
1989 (target_remove_hw_breakpoint): Add argument.
1990 * target.c (debug_to_remove_hw_breakpoint): Add argument.
1991 (update_current_target): Update.
1992 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
1993 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
1995 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
1996 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
1998 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
2001 2014-02-19 Tom Tromey <tromey@redhat.com>
2003 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
2005 (target_insert_hw_breakpoint): Add argument.
2006 * target.c (debug_to_insert_hw_breakpoint): Add argument.
2007 (update_current_target): Update.
2008 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
2009 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
2011 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
2012 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
2013 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
2015 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
2018 2014-02-19 Tom Tromey <tromey@redhat.com>
2020 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
2022 (target_can_use_hardware_watchpoint): Add argument.
2023 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
2024 (update_current_target): Update.
2025 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
2027 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
2029 * remote.c (remote_check_watch_resources): Add 'self' argument.
2030 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
2031 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
2033 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
2034 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
2036 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
2038 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
2040 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
2042 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
2044 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
2046 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
2047 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
2049 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
2052 2014-02-19 Tom Tromey <tromey@redhat.com>
2054 * target.h (struct target_ops) <to_post_attach>: Add argument.
2055 (target_post_attach): Add argument.
2056 * target.c (debug_to_post_attach): Add argument.
2057 (update_current_target): Update.
2058 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
2059 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
2060 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
2061 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
2062 * inf-child.c (inf_child_post_attach): Add 'self' argument.
2064 2014-02-19 Tom Tromey <tromey@redhat.com>
2066 * windows-nat.c (windows_close): Add 'self' argument.
2067 * tracepoint.c (tfile_close): Add 'self' argument.
2068 * target.h (struct target_ops) <to_close>: Add argument.
2069 * target.c (target_close): Add argument.
2070 (update_current_target): Update.
2071 * remote.c (remote_close): Add 'self' argument.
2072 * remote-sim.c (gdbsim_close): Add 'self' argument.
2073 * remote-mips.c (mips_close): Add 'self' argument.
2074 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
2075 * record-full.c (record_full_close): Add 'self' argument.
2076 * record-btrace.c (record_btrace_close): Add 'self' argument.
2077 * monitor.h (monitor_close): Add 'self' argument.
2078 * monitor.c (monitor_close): Add 'self' argument.
2079 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
2080 * linux-nat.c (linux_nat_close): Add argument.
2081 * go32-nat.c (go32_close): Add 'self' argument.
2082 * exec.c (exec_close_1): Add 'self' argument.
2083 * ctf.c (ctf_close): Add 'self' argument.
2084 * corelow.c (core_close): Add 'self' argument.
2085 (core_close_cleanup): Update.
2086 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
2087 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
2089 2014-02-19 Tom Tromey <tromey@redhat.com>
2091 * remote.c (remote_load): New function.
2092 (init_remote_ops): Use it.
2094 2014-02-19 Tom Tromey <tromey@redhat.com>
2096 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
2098 * common/linux-btrace.h (linux_supports_btrace): Update.
2099 * remote.c (remote_supports_btrace): Add "self" argument.
2100 * target-delegates.c: Rebuild.
2101 * target.c (target_supports_btrace): Remove.
2102 * target.h (struct target_ops) <to_supports_btrace>: Add
2103 target_ops argument.
2104 (target_supports_btrace): New define.
2106 2014-02-19 Tom Tromey <tromey@redhat.com>
2108 * record-full.c (record_full_beneath_to_resume_ops)
2109 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
2110 (record_full_beneath_to_wait)
2111 (record_full_beneath_to_store_registers_ops)
2112 (record_full_beneath_to_store_registers)
2113 (record_full_beneath_to_xfer_partial_ops)
2114 (record_full_beneath_to_xfer_partial)
2115 (record_full_beneath_to_insert_breakpoint_ops)
2116 (record_full_beneath_to_insert_breakpoint)
2117 (record_full_beneath_to_remove_breakpoint_ops)
2118 (record_full_beneath_to_remove_breakpoint)
2119 (record_full_beneath_to_stopped_by_watchpoint)
2120 (record_full_beneath_to_stopped_data_address)
2121 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
2122 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
2123 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
2124 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
2125 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
2126 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
2127 (tmp_to_stopped_data_address, tmp_to_async): Remove.
2128 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
2129 (record_full_resume, record_full_wait_1)
2130 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
2131 (record_full_store_registers, record_full_xfer_partial)
2132 (record_full_insert_breakpoint, record_full_remove_breakpoint)
2133 (record_full_async, record_full_core_xfer_partial): Use target
2135 * target-delegates.c: Rebuild.
2136 * target.c (current_xfer_partial): Remove.
2137 (update_current_target): Do not INHERIT or de_fault
2138 to_insert_breakpoint, to_remove_breakpoint,
2139 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
2140 to_is_async_p, to_async. Do not set to_xfer_partial field.
2141 (default_xfer_partial): Simplify.
2142 (current_xfer_partial): Remove.
2143 (target_wait, target_resume): Simplify.
2144 (find_default_can_async_p, find_default_is_async_p): Update.
2145 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
2146 to_xfer_partial, to_stopped_by_watchpoint,
2147 to_stopped_data_address.
2148 (target_store_registers): Simplify.
2149 (forward_target_remove_breakpoint)
2150 (forward_target_insert_breakpoint): Remove.
2151 (target_remove_breakpoint, target_insert_breakpoint)
2152 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
2153 * target.h (struct target_ops) <to_resume, to_wait,
2154 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
2155 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
2156 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
2158 (forward_target_remove_breakpoint)
2159 (forward_target_insert_breakpoint): Remove.
2160 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
2162 (record_btrace_insert_breakpoint): Delegate directly.
2164 2014-02-19 Tom Tromey <tromey@redhat.com>
2167 * target-delegates.c: New file.
2168 * target.c: Include target-delegates.c.
2169 (init_dummy_target): Call install_dummy_methods.
2170 (complete_target_initialization): Call install_delegators.
2171 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
2172 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
2173 * make-target-delegates: New file.
2175 2014-02-19 Tom Tromey <tromey@redhat.com>
2177 * record.c (find_record_target): Use find_target_at.
2178 * target.c (find_target_at): New function.
2179 * target.h (find_target_at): Declare.
2181 2014-02-19 Tom Tromey <tromey@redhat.com>
2183 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
2185 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
2187 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
2188 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
2190 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
2192 * linux-nat.c (save_sigtrap): Update.
2193 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
2194 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
2195 (linux_nat_close): Update.
2196 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
2198 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
2200 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
2201 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
2202 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
2203 (tmp_to_async): Add 'ops' argument.
2204 (record_full_stopped_by_watchpoint, record_full_async)
2205 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
2207 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
2208 (m32r_stopped_by_watchpoint): Add 'ops' argument.
2209 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
2210 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
2211 (remote_is_async_p, remote_async): Add 'ops' argument.
2212 (remote_stopped_data_address): Update.
2213 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
2214 * target.c (update_current_target)
2215 (find_default_can_async_p, find_default_is_async_p): Update.
2216 (init_dummy_target): Update.
2217 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
2218 * target.h (struct target_ops) <to_stopped_by_watchpoint,
2219 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
2220 (target_can_async_p, target_is_async_p, target_async)
2221 (target_stopped_by_watchpoint): Update.
2223 2014-02-19 Yao Qi <yao@codesourcery.com>
2226 * gdbarch.sh: Remove startup_gdbarch.
2227 * gdbarch.c: Regenerated.
2228 * gdbarch.h: Likewise.
2230 2014-02-17 Kevin Buettner <kevinb@redhat.com>
2232 * rl78-tdep.c (rl78_g10_register_name): New function.
2233 (rl78_return_value): Add g10 support.
2234 (rl78_gdbarch_init): Register rl78_g10_register_name for the
2237 2014-02-17 Doug Evans <xdje42@gmail.com>
2239 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
2240 (SUBDIR_GUILE_SRCS): Ditto.
2241 (scm-gsmob.o): Ditto.
2243 2014-02-17 Yao Qi <yao@codesourcery.com>
2245 * gnu-nat.c (ILL_RPC): Declare defined function.
2247 2014-02-17 Yao Qi <yao@codesourcery.com>
2249 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
2250 mach_msg_type_number_t.
2251 (gnu_write_inferior): Likewise.
2253 2014-02-17 Yao Qi <yao@codesourcery.com>
2255 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
2257 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
2258 (inf_validate_procs, inf_signal): Likewise.
2259 (S_exception_raise_request): Likewise.
2260 (do_mach_notify_dead_name): Likewise.
2261 (steal_exc_port): Likewise.
2262 (gnu_read_inferior): Change 'copy_count''s type to
2263 mach_msg_type_number_t.
2264 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
2267 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
2269 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
2270 flag. Adjust all users; in particular...
2271 (gnu_wait): ..., don't decrement its value in here...
2272 (gnu_create_inferior): ..., and instead set the flag in here,
2273 around the startup_inferior call, and call that one with
2274 START_INFERIOR_TRAPS_EXPECTED.
2276 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
2277 (ILL_RPC): ... new macro.
2278 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
2279 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
2280 (do_mach_notify_send_once, S_proc_setmsgport_reply)
2281 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
2282 functions with ILL_RPC macro.
2283 (S_proc_pid2task_reply, S_proc_task2pid_reply)
2284 (S_proc_task2proc_reply, S_proc_proc2task_reply)
2285 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
2286 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
2287 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
2288 (S_proc_getlogin_reply, S_proc_getsid_reply)
2289 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
2290 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
2291 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
2292 (S_proc_getnports_reply, S_proc_is_important_reply)
2293 (S_proc_get_code_reply): New stub functions, generated with
2296 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
2297 collected the type check structures.
2299 * reply_mig_hack.awk: Don't expect to see the auto keyword.
2301 2014-02-14 Doug Evans <dje@google.com>
2303 * target.c (target_write_partial): Fix result type.
2305 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2307 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
2308 the proper offsets to access fpregset_t.
2310 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
2312 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
2313 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
2314 * h8300-tdep.c (setmachinelist): Remove global.
2315 * hppa-tdep.c (hppa_sigtramp): Remove global.
2316 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
2317 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
2318 * ravenscar-thread.c (update_target_observer): Remove global.
2319 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
2321 2014-02-12 Tom Tromey <tromey@redhat.com>
2323 * common/rsp-low.c: Update comments.
2324 * common/rsp-low.h: Update comments.
2326 2014-02-12 Tom Tromey <tromey@redhat.com>
2328 * common/rsp-low.c (convert_ascii_to_int): Remove.
2329 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
2331 2014-02-12 Tom Tromey <tromey@redhat.com>
2333 * common/rsp-low.h (unhexify): Don't declare.
2334 * common/rsp-low.c (unhexify): Remove.
2336 2014-02-12 Tom Tromey <tromey@redhat.com>
2338 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
2339 * common/rsp-low.c (convert_int_to_ascii): Remove.
2341 2014-02-12 Tom Tromey <tromey@redhat.com>
2343 * common/rsp-low.h (hexify): Don't declare.
2344 * common/rsp-low.c (hexify): Remove.
2346 2014-02-12 Tom Tromey <tromey@redhat.com>
2348 * common/rsp-low.c (hexify): Never take strlen of argument.
2350 2014-02-12 Tom Tromey <tromey@redhat.com>
2352 * common/rsp-low.c (bin2hex): Never take strlen of argument.
2353 * remote.c (extended_remote_run, remote_rcmd)
2354 (remote_download_trace_state_variable, remote_save_trace_data)
2355 (remote_set_trace_notes): Update.
2356 * tracepoint.c (encode_source_string, tfile_write_status)
2357 (tfile_write_uploaded_tsv): Update.
2359 2014-02-12 Tom Tromey <tromey@redhat.com>
2361 * tracepoint.c: Include rsp-low.h.
2362 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
2363 * remote.c: Include rsp-low.h.
2364 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
2365 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
2366 (remote_unescape_input): Move to common/rsp-low.c.
2367 * common/rsp-low.h: New file.
2368 * common/rsp-low.c: New file.
2369 * Makefile.in (SFILES): Add common/rsp-low.c.
2370 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
2371 (COMMON_OBS): Add rsp-low.o.
2372 (rsp-low.o): New target.
2374 2014-02-12 Tom Tromey <tromey@redhat.com>
2376 * utils.h: Include print-utils.h.
2377 (host_address_to_string, plongest, pulongest, phex, phex_nz)
2378 (int_string, core_addr_to_string, core_addr_to_string_nz)
2379 (hex_string, hex_string_custom): Don't declare.
2380 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2381 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2382 (hex_string_custom, int_string, core_addr_to_string)
2383 (core_addr_to_string_nz, host_address_to_string): Move to
2384 common/print-utils.c.
2385 * common/print-utils.h: New file.
2386 * common/print-utils.c: New file
2387 * Makefile.in (SFILES): Add common/print-utils.c.
2388 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2389 (COMMON_OBS): Add print-utils.o.
2390 (print-utils.o): New target.
2392 2014-02-12 Tom Tromey <tromey@redhat.com>
2394 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2396 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2398 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2400 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2402 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2403 if a PT_IO ptrace request returns sucessfully but indicates that 0
2404 bytes were transferred.
2406 2014-02-12 Pedro Alves <palves@redhat.com>
2407 Kevin Buettner <kevinb@redhat.com>
2409 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2410 TYPE_INSTANCE_FLAG_CODE_SPACE.
2412 2014-02-12 Pedro Alves <palves@redhat.com>
2414 * h8300-tdep.c (pseudo_from_raw_register)
2415 (raw_from_pseudo_register): New functions.
2416 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2419 2014-02-12 Pedro Alves <palves@redhat.com>
2421 * h8300-tdep.c (h8300_register_sim_regno): New function.
2422 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2423 gdbarch_register_sim_regno hook.
2425 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2427 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2429 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2431 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2433 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2435 * obsd-tdep.h (obsd_init_abi): New prototype.
2436 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2437 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2438 (obsd_init_abi): New functions.
2439 * i386obsd-tdep.c: Include "obsd-tdep.h".
2440 (i386obsd_init_abi): Call obsd_init_abi.
2441 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2442 (amd64obsd_init_abi): Call obsd_init_abi.
2443 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2444 obsd-tdep.c to gdb_target_obs.
2446 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2448 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2449 double float arguments to 16-byte in the argument slots.
2451 2014-02-11 Doug Evans <xdje42@gmail.com>
2453 * configure.ac: Don't crash if pkg-config is not found and guile
2454 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2456 * configure: Regenerate.
2458 2014-02-11 Yao Qi <yao@codesourcery.com>
2460 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2461 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2462 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2463 * gnu-nat.c (gnu_xfer_memory): Likewise.
2464 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2465 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2466 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2467 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2469 2014-02-11 Yao Qi <yao@codesourcery.com>
2471 * target.h (enum target_xfer_error): Rename to ...
2472 (enum target_xfer_status): ... it. New. All users updated.
2473 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2475 (TARGET_XFER_STATUS_ERROR_P): New macro.
2476 (target_xfer_error_to_string): Remove declaration.
2477 (target_xfer_status_to_string): Declare.
2478 (target_xfer_partial_ftype): Adjust it.
2479 (struct target_ops) <to_xfer_partial>: Return
2480 target_xfer_status. Add argument xfered_len. Update
2482 * target.c (target_xfer_error_to_string): Rename to ...
2483 (target_xfer_status_to_string): ... it. New. All callers
2485 (target_read_live_memory): Likewise. Call target_xfer_partial
2486 instead of target_read.
2487 (memory_xfer_live_readonly_partial): Return
2488 target_xfer_status. Add argument xfered_len.
2489 (raw_memory_xfer_partial): Likewise.
2490 (memory_xfer_partial_1): Likewise.
2491 (memory_xfer_partial): Likewise.
2492 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2493 properly. Update debug message.
2494 (default_xfer_partial, current_xfer_partial): Likewise.
2495 (target_write_partial): Likewise.
2496 (target_read_partial): Likewise. All callers updated.
2497 (read_whatever_is_readable): Likewise.
2498 (target_write_with_progress): Likewise.
2499 (target_read_alloc_1): Likewise.
2501 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2502 * auxv.c (procfs_xfer_auxv): Likewise.
2503 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2504 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2505 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2506 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2507 * corefile.c (read_memory): Adjust.
2508 * corelow.c (core_xfer_partial): Likewise.
2509 * ctf.c (ctf_xfer_partial): Likewise.
2510 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2512 (darwin_xfer_partial): Likewise.
2513 * exec.c (section_table_xfer_memory_partial): Likewise. All
2515 (exec_xfer_partial): Likewise.
2516 * exec.h (section_table_xfer_memory_partial): Update
2518 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2520 (gnu_xfer_partial): Likewise.
2521 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2522 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2523 (ia64_hpux_xfer_solib_got): Likewise.
2524 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2525 type of 'partial_len' to ULONGEST.
2526 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2527 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2528 (linux_nat_xfer_partial): Likewise.
2529 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2530 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2531 * monitor.c (monitor_xfer_memory): Likewise.
2532 (monitor_xfer_partial): Likewise.
2533 * procfs.c (procfs_xfer_partial): Likewise.
2534 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2535 * record-full.c (record_full_xfer_partial): Likewise.
2536 (record_full_core_xfer_partial): Likewise.
2537 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2538 (gdbsim_xfer_partial): Likewise.
2539 * remote.c (remote_write_bytes_aux): Likewise. All callers
2541 (remote_write_bytes, remote_read_bytes): Likewise. All
2543 (remote_flash_erase): Likewise. All callers updated.
2544 (remote_write_qxfer): Likewise. All callers updated.
2545 (remote_read_qxfer): Likewise. All callers updated.
2546 (remote_xfer_partial): Likewise.
2547 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2548 (rs6000_xfer_shared_libraries): Likewise.
2549 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2550 (sol_thread_xfer_partial): Likewise.
2551 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2552 (sparc_xfer_partial): Likewise.
2553 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2555 (spu_xfer_partial): Likewise.
2556 * spu-multiarch.c (spu_xfer_partial): Likewise.
2557 * tracepoint.c (tfile_xfer_partial): Likewise.
2558 * windows-nat.c (windows_xfer_memory): Likewise.
2559 (windows_xfer_shared_libraries): Likewise.
2560 (windows_xfer_partial): Likewise.
2561 * valprint.c: Replace 'target_xfer_error' with
2562 'target_xfer_status' in comments.
2564 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2566 Checked in by Joel Brobecker <brobecker@adacore.com>.
2567 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2569 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2571 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2572 function parameters.
2574 2014-02-10 Will Newton <will.newton@linaro.org>
2576 * elfread.c (elf_rel_plt_read): Look for a .got section if
2577 looking up .got.plt fails.
2578 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2579 on address passed to elf_gnu_ifunc_record_cache.
2580 (elf_gnu_ifunc_resolve_addr): Likewise.
2581 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2583 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2585 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2586 (X_RETTURN): New macro.
2587 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2589 * sparc64-tdep.c (sparc64_init_abi): Hook
2590 sparc_in_function_epilogue_p.
2592 2014-02-10 Gary Benson <gbenson@redhat.com>
2594 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2595 Rename name_matcher to symbol_matcher.
2597 2014-02-10 Gary Benson <gbenson@redhat.com>
2599 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2600 Use expand_symtabs_file_matcher_ftype and
2601 expand_symtabs_symbol_matcher_ftype.
2603 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2605 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2606 (struct ada_symbol_cache): New.
2607 (ada_free_symbol_cache): Forward declare.
2608 (struct ada_pspace_data): New.
2609 (ada_pspace_data_handle): New static global.
2610 (get_ada_pspace_data, ada_pspace_data_cleanup)
2611 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2612 (cache_space, cache): Delete, now folded inside struct
2614 (ada_get_symbol_cache): New function.
2615 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2617 (_initialize_ada_language): Remove initialization of cache_space.
2618 Move call to observer_attach_inferior_exit up, grouping it
2619 with the other observer registrations inside this function.
2620 Rename command to be more general. Add call to
2621 register_program_space_data_with_cleanup.
2623 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2625 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2626 ada_new_objfile_observer.
2627 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2628 (_initialize_tasks): Update uses of ada_new_objfile_observer
2629 and ada_tasks_normal_stop_observer.
2631 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2633 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2634 returned by the 'Length attribute to integer.
2636 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2638 * ada-lang.c (_initialize_ada_language): Initialize
2639 cache_space obstack.
2641 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2643 * ada-lang.c (HASH_SIZE): New macro.
2644 (struct cache_entry): New type.
2645 (cache_space, cache): New static globals.
2646 (ada_clear_symbol_cache, find_entry): New functions.
2647 (lookup_cached_symbol, cache_symbol): Implement.
2648 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2649 (_initialize_ada_language): Attach ada_new_objfile_observer
2650 and ada_free_objfile_observer.
2652 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2654 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
2655 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
2656 struct block * parameter.
2657 (ada_lookup_symbol_list_worker): Constify local variable "block".
2658 Remove cast which is no longer necessary.
2660 2014-02-10 Doug Evans <xdje42@gmail.com>
2662 Add Guile as an extension language.
2663 * NEWS: Mention Guile scripting.
2664 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
2665 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
2666 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
2667 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
2668 (CLIBS): Add GUILE_LIBS.
2669 (install-guile): New rule.
2670 (guile.o): New rule.
2671 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
2672 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
2673 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
2674 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
2675 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
2676 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
2677 (scm-type.o, scm-utils.o, scm-value.o): New rules.
2678 * configure.ac: New option --with-guile.
2679 * configure: Regenerate.
2680 * config.in: Regenerate.
2681 * auto-load.c: Remove #include "python/python.h". Add #include
2682 "gdb/section-scripts.h".
2683 (source_section_scripts): Handle Guile scripts.
2684 (_initialize_auto_load): Add name of Guile objfile script to
2685 scripts-directory help text.
2686 * breakpoint.c (condition_command): Tweak comment to include Scheme.
2687 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
2688 (struct breakpoint): New member scm_bp_object.
2689 * defs.h (enum command_control_type): New value guile_control.
2690 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
2692 (show_user): Update comment.
2693 (_initialize_cli_cmds): Update help text for "show user". Update help
2694 text for max-user-call-depth.
2695 * cli/cli-script.c: Remove #include "python/python.h". Add #include
2697 (multi_line_command_p): Add guile_control.
2698 (print_command_lines): Handle guile_control.
2699 (execute_control_command, recurse_read_control_structure): Ditto.
2700 (process_next_line): Recognize "guile" commands.
2701 * disasm.c (gdb_disassemble_info): Make non-static.
2702 * disasm.h: #include "dis-asm.h".
2703 (struct gdbarch): Add forward decl.
2704 (gdb_disassemble_info): Declare.
2705 * extension.c: #include "guile/guile.h".
2706 (extension_languages): Add guile.
2707 (get_ext_lang_defn): Handle EXT_LANG_GDB.
2708 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
2709 * gdbtypes.c (get_unsigned_type_max): New function.
2710 (get_signed_type_minmax): New function.
2711 * gdbtypes.h (get_unsigned_type_max): Declare.
2712 (get_signed_type_minmax): Declare.
2713 * guile/README: New file.
2714 * guile/guile-internal.h: New file.
2715 * guile/guile.c: New file.
2716 * guile/guile.h: New file.
2717 * guile/scm-arch.c: New file.
2718 * guile/scm-auto-load.c: New file.
2719 * guile/scm-block.c: New file.
2720 * guile/scm-breakpoint.c: New file.
2721 * guile/scm-disasm.c: New file.
2722 * guile/scm-exception.c: New file.
2723 * guile/scm-frame.c: New file.
2724 * guile/scm-gsmob.c: New file.
2725 * guile/scm-iterator.c: New file.
2726 * guile/scm-lazy-string.c: New file.
2727 * guile/scm-math.c: New file.
2728 * guile/scm-objfile.c: New file.
2729 * guile/scm-ports.c: New file.
2730 * guile/scm-pretty-print.c: New file.
2731 * guile/scm-safe-call.c: New file.
2732 * guile/scm-string.c: New file.
2733 * guile/scm-symbol.c: New file.
2734 * guile/scm-symtab.c: New file.
2735 * guile/scm-type.c: New file.
2736 * guile/scm-utils.c: New file.
2737 * guile/scm-value.c: New file.
2738 * guile/lib/gdb.scm: New file.
2739 * guile/lib/gdb/boot.scm: New file.
2740 * guile/lib/gdb/experimental.scm: New file.
2741 * guile/lib/gdb/init.scm: New file.
2742 * guile/lib/gdb/iterator.scm: New file.
2743 * guile/lib/gdb/printing.scm: New file.
2744 * guile/lib/gdb/types.scm: New file.
2745 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
2746 (VPATH): Add $(GUILE_SRCDIR).
2747 (GUILE_DIR): New variable.
2748 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
2749 (all): Add stamp-guile dependency.
2750 (stamp-guile): New rule.
2751 (clean-guile, install-guile, uninstall-guile): New rules.
2752 (install-only): Add install-guile dependency.
2753 (uninstall): Add uninstall-guile dependency.
2754 (clean): Add clean-guile dependency.
2756 2014-02-09 Doug Evans <xdje42@gmail.com>
2758 Revert this patch (which I approved, mea culpa).
2760 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2762 * Makefile.in (all-lib): Remove.
2763 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2765 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2767 Fix Python stack corruption.
2768 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
2771 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2773 * Makefile.in (all-lib): Remove.
2774 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2776 2014-02-07 Doug Evans <dje@google.com>
2778 * extension-priv.h (extension_language_script_ops): Add comment.
2779 (extension_language_ops): Add comment.
2780 (active_ext_lang_state): Fix typo in comment.
2782 2014-02-07 Pedro Alves <palves@redhat.com>
2784 * infrun.c (handle_signal_stop) <signal arrives while stepping
2785 over a breakpoint>: Switch back to the stepping thread.
2787 2014-02-07 Yao Qi <yao@codesourcery.com>
2789 * target.c (target_xfer_partial): Return zero if LEN is zero.
2791 2014-02-07 Yao Qi <yao@codesourcery.com>
2793 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
2794 (ld_so_xfer_auxv): Likewise.
2795 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2796 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2797 * corelow.c (core_xfer_partial): Likewise.
2798 * ctf.c (ctf_xfer_partial): Likewise.
2799 * darwin-nat.c (darwin_read_dyld_info): Likewise.
2800 (darwin_xfer_partial): Likewise.
2801 * exec.c (exec_xfer_partial): Likewise.
2802 * gnu-nat.c (gnu_xfer_partial): Likewise.
2803 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
2804 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2805 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2806 * linux-nat.c (linux_xfer_siginfo): Likewise.
2807 (linux_proc_xfer_spu): Likewise.
2808 * procfs.c (procfs_xfer_partial): Likewise.
2809 * record-full.c (record_full_xfer_partial): Likewise.
2810 (record_full_core_xfer_partial): Likewise.
2811 * remote-sim.c (gdbsim_xfer_partial): Likewise.
2812 * remote.c (remote_write_qxfer): Likewise.
2813 (remote_write_qxfer, remote_read_qxfer): Likewise.
2814 (remote_xfer_partial): Likewise.
2815 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2816 (rs6000_xfer_shared_libraries): Likewise.
2817 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2818 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2819 (spu_xfer_partial): Likewise.
2820 * target.c (memory_xfer_partial_1): Likewise.
2821 * tracepoint.c (tfile_xfer_partial): Likewise.
2822 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
2823 (windows_xfer_partial): Likewise.
2825 2014-02-07 Yao Qi <yao@codesourcery.com>
2827 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
2829 (core_xfer_shared_libraries_aix): Likewise.
2830 * gdbarch.c, gdbarch.h: Regenerated.
2831 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
2832 ULONGEST. Change 'len_avail' type to ULONGEST.
2833 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
2834 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
2836 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
2838 2014-02-07 Yao Qi <yao@codesourcery.com>
2840 * corefile.c (memory_error): Get 'exception' from ERR and pass
2841 'exception' to throw_error.
2843 2014-02-06 Doug Evans <xdje42@gmail.com>
2845 * configure.ac (libpython checking): Remove all but python.o from
2846 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
2847 * configure: Regenerate.
2849 * Makefile.in (SFILES): Add extension.c.
2850 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
2851 (COMMON_OBS): Add extension.o.
2852 * extension.h: New file.
2853 * extension-priv.h: New file.
2854 * extension.c: New file.
2856 * python/python-internal.h: #include "extension.h".
2857 (gdbpy_auto_load_enabled): Declare.
2858 (gdbpy_apply_val_pretty_printer): Declare.
2859 (gdbpy_apply_frame_filter): Declare.
2860 (gdbpy_preserve_values): Declare.
2861 (gdbpy_breakpoint_cond_says_stop): Declare.
2862 (gdbpy_breakpoint_has_cond): Declare.
2863 (void source_python_script_for_objfile): Delete.
2864 * python/python.c: #include "extension-priv.h".
2865 Delete inclusion of "observer.h".
2866 (extension_language_python): Moved here and renamed from
2867 script_language_python in py-auto-load.c.
2868 Redefined to be of type extension_language_defn.
2869 (python_extension_script_ops): New global.
2870 (python_extension_ops): New global.
2871 (struct python_env): New member previous_active.
2872 (restore_python_env): Call restore_active_ext_lang.
2873 (ensure_python_env): Call set_active_ext_lang.
2874 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
2876 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
2878 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
2880 (gdbpy_eval_from_control_command): Renamed from
2881 eval_python_from_control_command, made static. New arg extlang.
2882 (gdbpy_source_script) Renamed from source_python_script, made static.
2884 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
2885 result to int. New arg extlang.
2886 (gdbpy_source_objfile_script): Renamed from
2887 source_python_script_for_objfile, made static. New arg extlang.
2888 (gdbpy_start_type_printers): Renamed from start_type_printers, made
2889 static. New args extlang, extlang_printers. Change result type to
2891 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
2892 static. New arg extlang. Rename arg printers to extlang_printers
2893 and change type to ext_lang_type_printers *.
2894 (gdbpy_free_type_printers): Renamed from free_type_printers, made
2895 static. Replace argument arg with extlang, extlang_printers.
2896 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
2897 (!HAVE_PYTHON, source_python_script): Delete.
2898 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
2899 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
2900 (!HAVE_PYTHON, start_type_printers): Delete.
2901 (!HAVE_PYTHON, apply_type_printers): Delete.
2902 (!HAVE_PYTHON, free_type_printers): Delete.
2903 (_initialize_python): Delete call to observer_attach_before_prompt.
2904 (finalize_python): Set/restore active extension language.
2905 (gdbpy_finish_initialization) Renamed from
2906 finish_python_initialization, made static. New arg extlang.
2907 (gdbpy_initialized): New function.
2908 * python/python.h: #include "extension.h". Delete #include
2909 "value.h", "mi/mi-cmds.h".
2910 (extension_language_python): Declare.
2911 (GDBPY_AUTO_FILE_NAME): Delete.
2912 (enum py_bt_status): Moved to extension.h and renamed to
2914 (enum frame_filter_flags): Moved to extension.h.
2915 (enum py_frame_args): Moved to extension.h and renamed to
2916 ext_lang_frame_args.
2917 (finish_python_initialization): Delete.
2918 (eval_python_from_control_command): Delete.
2919 (source_python_script): Delete.
2920 (apply_val_pretty_printer): Delete.
2921 (apply_frame_filter): Delete.
2922 (preserve_python_values): Delete.
2923 (gdbpy_script_language_defn): Delete.
2924 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
2925 (start_type_printers, apply_type_printers, free_type_printers): Delete.
2927 * auto-load.c: #include "extension.h".
2928 (GDB_AUTO_FILE_NAME): Delete.
2929 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
2930 (script_language_gdb): Delete, moved to extension.c and renamed to
2931 extension_language_gdb.
2932 (source_gdb_script_for_objfile): Delete.
2933 (auto_load_pspace_info): New member unsupported_script_warning_printed.
2934 (loaded_script): Change type of language member to
2935 struct extension_language_defn *.
2936 (init_loaded_scripts_info): Initialize
2937 unsupported_script_warning_printed.
2938 (maybe_add_script): Make static. Change type of language arg to
2939 struct extension_language_defn *.
2940 (clear_section_scripts): Reset unsupported_script_warning_printed.
2941 (auto_load_objfile_script_1): Rewrite to use extension language API.
2942 (auto_load_objfile_script): Make public. Remove support-compiled-in
2943 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
2944 (source_section_scripts): Rewrite to use extension language API.
2945 (load_auto_scripts_for_objfile): Rewrite to use
2946 auto_load_scripts_for_objfile.
2947 (collect_matching_scripts_data): Change type of language member to
2948 struct extension_language_defn *.
2949 (auto_load_info_scripts): Change type of language arg to
2950 struct extension_language_defn *.
2951 (unsupported_script_warning_print): New function.
2952 (script_not_found_warning_print): Make static.
2953 (_initialize_auto_load): Rewrite construction of scripts-directory
2955 * auto-load.h (struct objfile): Add forward decl.
2956 (struct script_language): Delete.
2957 (struct auto_load_pspace_info): Add forward decl.
2958 (struct extension_language_defn): Add forward decl.
2959 (maybe_add_script): Delete.
2960 (auto_load_objfile_script): Declare.
2961 (script_not_found_warning_print): Delete.
2962 (auto_load_info_scripts): Update prototype.
2963 (auto_load_gdb_scripts_enabled): Declare.
2964 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
2965 auto_load_python_scripts_enabled and made public.
2966 (script_language_python): Delete, moved to python.c.
2967 (gdbpy_script_language_defn): Delete.
2968 (info_auto_load_python_scripts): Update to use
2969 extension_language_python.
2971 * breakpoint.c (condition_command): Replace call to
2972 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
2973 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
2974 with call to breakpoint_ext_lang_cond_says_stop.
2975 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
2976 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
2977 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
2978 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
2980 (local_setattro): Print name of extension language with existing
2983 * valprint.c (val_print, value_print): Update to call
2984 apply_ext_lang_val_pretty_printer.
2985 * cp-valprint.c (cp_print_value): Update call to
2986 apply_ext_lang_val_pretty_printer.
2987 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
2988 (gdbpy_apply_val_pretty_printer): Renamed from
2989 apply_val_pretty_printer. New arg extlang.
2990 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
2992 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
2993 extension language API.
2994 * cli/cli-script.c (execute_control_command): Update to call
2995 eval_ext_lang_from_control_command.
2997 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
2998 enum ext_lang_bt_status values. Update call to
2999 apply_ext_lang_frame_filter.
3000 (mi_cmd_stack_list_locals): Ditto.
3001 (mi_cmd_stack_list_args): Ditto.
3002 (mi_cmd_stack_list_variables): Ditto.
3003 * mi/mi-main.c: Delete #include "python/python-internal.h".
3004 Add #include "extension.h".
3005 (mi_cmd_list_features): Replace reference to python internal variable
3006 gdb_python_initialized with call to ext_lang_initialized_p.
3008 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
3009 Update to use enum ext_lang_frame_args. Update to call
3010 apply_ext_lang_frame_filter.
3011 * python/py-framefilter.c (extract_sym): Update to use enum
3013 (extract_value, py_print_type, py_print_value): Ditto.
3014 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
3015 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
3016 (py_print_frame): Ditto.
3017 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
3018 New arg extlang. Update to use enum ext_lang_bt_status.
3020 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
3021 finish_python_initialization. Replace with call to
3022 finish_ext_lang_initialization.
3024 * typeprint.c (do_free_global_table): Update to call
3025 free_ext_lang_type_printers.
3026 (create_global_typedef_table): Update to call
3027 start_ext_lang_type_printers.
3028 (find_global_typedef): Update to call apply_ext_lang_type_printers.
3029 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
3030 (type_print_options): Change type of global_printers from "void *"
3031 to "struct ext_lang_type_printers *".
3033 * value.c (preserve_values): Update to call preserve_ext_lang_values.
3034 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
3035 (gdbpy_preserve_values): Renamed from preserve_python_values.
3037 (!HAVE_PYTHON, preserve_python_values): Delete.
3039 * utils.c (quit_flag): Delete, moved to extension.c.
3040 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
3043 * eval.c: Delete #include "python/python.h".
3044 * main.c: Delete #include "python/python.h".
3046 * defs.h: Update comment.
3048 2014-02-06 Joel Brobecker <brobecker@adacore.com>
3052 2014-02-05 Mark Kettenis <kettenis@gnu.org>
3054 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
3057 2014-02-05 Yao Qi <yao@codesourcery.com>
3059 * remote.c (remote_pass_signals): Remove local 'buf' and use
3061 (remote_program_signals): Likewise.
3063 2014-02-05 Yao Qi <yao@codesourcery.com>
3065 * ctf.c: Include "inferior.h" and "gdbthread.h".
3066 (CTF_PID): A new macro.
3067 (ctf_open): Call inferior_appeared and add_thread_silent.
3068 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
3069 (ctf_thread_alive): New function.
3070 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
3072 2014-02-05 Yao Qi <yao@codesourcery.com>
3076 2013-05-24 Yao Qi <yao@codesourcery.com>
3078 * tracepoint.c (TFILE_PID): Remove.
3079 (tfile_open): Don't add thread and inferior.
3080 (tfile_close): Don't set 'inferior_ptid'. Don't call
3081 exit_inferior_silent.
3082 (tfile_thread_alive): Remove.
3083 (init_tfile_ops): Don't set field 'to_thread_alive' of
3086 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
3088 * remote.c (remote_start_remote): Call remote_check_symbols even
3089 if only symbol-file (not file) has been given.
3091 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3093 * gdbarch.sh (skip_entrypoint): New callback.
3094 * gdbarch.c, gdbarch.h: Regenerate.
3095 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
3096 * infrun.c (fill_in_stop_func): Likewise.
3097 * ppc-linux-tdep.c: Include "elf/ppc64.h".
3098 (ppc_elfv2_elf_make_msymbol_special): New function.
3099 (ppc_elfv2_skip_entrypoint): Likewise.
3100 (ppc_linux_init_abi): Install them for ELFv2.
3102 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3104 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
3105 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
3106 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
3107 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
3108 structures returned in GPRs.
3110 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3112 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
3113 offset to the stack parameter list for the ELFv2 ABI.
3115 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3117 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
3118 set_gdbarch_convert_from_func_ptr_addr and
3119 set_gdbarch_elf_make_msymbol_special for ELFv1.
3120 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
3121 function descriptors on ELFv1.
3122 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
3123 set up r12 at function entry.
3125 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3127 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
3128 (struct gdbarch_tdep): New member elf_abi.
3130 * rs6000-tdep.c: Include "elf/ppc64.h".
3131 (rs6000_gdbarch_init): Detect ELF ABI version.
3133 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3135 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
3136 within a register pair holding a DFP 128-bit value on little-endian.
3137 (ppc64_sysv_abi_return_value_base): Likewise.
3138 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
3139 (dfp_pseudo_register_write): Likewise.
3141 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3143 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
3144 offset on little-endian when passing _Decimal32.
3145 (ppc64_sysv_abi_return_value_base): Likewise for return values.
3147 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3149 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
3150 of the overlapped FP register within the VSX register on little-
3152 (efpr_pseudo_register_write): Likewise.
3154 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3156 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
3157 offset on little-endian when passing small structures.
3159 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3161 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
3162 (struct ppc64_sysv_argpos): New data structure.
3163 (ppc64_sysv_abi_push_float): Remove.
3164 (ppc64_sysv_abi_push_val): New function.
3165 (ppc64_sysv_abi_push_integer): Likewise.
3166 (ppc64_sysv_abi_push_freg): Likewise.
3167 (ppc64_sysv_abi_push_vreg): Likewise.
3168 (ppc64_sysv_abi_push_param): Likewise.
3169 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
3170 (ppc64_sysv_abi_return_value_base): New function.
3171 (ppc64_sysv_abi_return_value): Refactor to use it.
3173 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3175 * NEWS: Document new target powerpc64le-*-linux*.
3177 2014-02-04 Mark Kettenis <kettenis@gnu.org>
3179 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
3180 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
3182 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
3183 register set used in ELF core dumps. Add floating-point register set.
3185 2014-02-03 Kevin Buettner <kevinb@redhat.com>
3187 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
3188 dwarf2_to_gdb[] table using symbolic constants. Adjust
3189 penultimate entry from number representing the PC register
3190 to symbolic constant representing the MDR register. Add
3191 constant for the PC register to the end of the table.
3193 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3195 * bsd-kvm.c: Include <sys/param.h>
3197 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3199 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
3201 2014-01-31 Joel Brobecker <brobecker@adacore.com>
3203 * ada-lang.h (clear_ada_sym_cache): Delete.
3205 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
3207 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
3209 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3211 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
3212 the sigreturn register save area only if the syscall is
3215 2014-01-29 Joel Brobecker <brobecker@adacore.com>
3217 * valops.c (value_slice): Minor reformatting.
3219 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
3221 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
3223 2014-01-28 Joel Brobecker <brobecker@adacore.com>
3225 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
3227 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
3228 (ada_ignore_descriptive_types_p): New static global.
3229 (find_parallel_type_by_descriptive_type): Return immediately
3230 if ada_ignore_descriptive_types_p is set.
3231 (_initialize_ada_language): Register new commands "maintenance
3232 set ada", "maintenance show ada", "maintenance set ada
3233 ignore-descriptive-types" and "maintenance show ada
3234 ignore-descriptive-types".
3235 * NEWS: Add entry for new "maint ada set/show
3236 ignore-descriptive-types" commands.
3238 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
3240 * record-btrace.c (record_btrace_close): Call btrace_teardown
3243 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3245 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
3248 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3250 * ada-typeprint (type_is_full_subrange_of_target_type):
3252 (print_range): Add parameter bounds_prefered_p. If not set,
3253 try printing range types using the name of their base type.
3254 (print_range_type): Add parameter bounds_prefered_p.
3255 Use it in call to print_range.
3256 (print_array_type, ada_print_type): Update calls to print_range
3257 and print_range_type.
3259 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3261 * ada-typeprint.c (print_array_type, print_choices, print_range)
3262 (print_range_bound, print_dynamic_range_bound, print_range_type):
3265 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3267 * ada-typeprint.c (print_range): Add missing empty line
3268 after local declaration.
3270 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3272 * ada-valprint.c (print_optional_low_bound): Get index_type's
3273 target type for as long as it is a TYPE_CODE_RANGE.
3275 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3277 * procfs.c (procfs_make_note_section): Remove assertion and
3280 2014-01-24 Yao Qi <yao@codesourcery.com>
3282 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
3283 * corelow.c (get_core_siginfo): Likewise.
3285 2014-01-24 Yao Qi <yao@codesourcery.com>
3287 * remote.c (remote_write_bytes_aux): Change type of 'len' to
3288 ULONGEST. Don't check 'len' is negative.
3289 (remote_write_bytes): Change type of 'len' to ULONGEST.
3291 2014-01-23 Tom Tromey <tromey@redhat.com>
3294 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
3295 Handle exception from frame.block.
3296 (FrameVars.fetch_frame_locals): Likewise.
3298 2014-01-23 Tom Tromey <tromey@redhat.com>
3301 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
3302 on a NULL pointer. Move "goto error" to correct place.
3304 2014-01-23 Tom Tromey <tromey@redhat.com>
3307 * python/py-framefilter.c (apply_frame_filter): Call
3308 ensure_python_env after computing gdbarch.
3310 2014-01-23 Yao Qi <yao@codesourcery.com>
3312 * target.c (raw_memory_xfer_partial): Change argument type
3313 from void * to gdb_byte *.
3314 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
3316 2014-01-22 Doug Evans <dje@google.com>
3318 New gdbserver option --debug-format=timestamp.
3321 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3323 * syscalls/s390x-linux.xml: New file.
3324 * syscalls/s390-linux.xml: New file.
3325 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
3326 (XML_SYSCALL_FILENAME_S390X): Likewise.
3327 (op_svc): New enum value for SVC opcode.
3328 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
3329 (s390_linux_get_syscall_number): New function.
3330 (s390_gdbarch_init): Register '*get_syscall_number' and the
3331 syscall xml file name.
3332 * data-directory/Makefile.in (SYSCALLS_FILES): Add
3333 "s390-linux.xml" and "s390x-linux.xml".
3334 * NEWS: Announce new feature.
3336 2014-01-22 Baruch Siach <baruch@tkos.co.il>
3338 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
3340 2014-01-22 Pedro Alves <palves@redhat.com>
3342 * xtensa-config.c: Include defs.h.
3344 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3346 * common/common-utils.h: Add "ARI:" comment beside __func__
3349 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3351 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
3352 documentation a bit.
3354 2014-01-21 Roland McGrath <mcgrathr@google.com>
3356 * configure.ac: Call AM_PROG_INSTALL_STRIP.
3357 * configure: Regenerate.
3358 * aclocal.m4: Regenerate.
3359 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
3360 New substituted variables.
3361 (install-strip): New target.
3362 (INSTALL_SCRIPT): New substituted variable.
3363 (FLAGS_TO_PASS): Add it.
3364 (install-only): Use $(INSTALL_SCRIPT) rather than
3365 $(INSTALL_PROGRAM) for gcore.
3367 2014-01-20 Tom Tromey <tromey@redhat.com>
3369 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
3372 2014-01-20 Tom Tromey <tromey@redhat.com>
3374 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
3375 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
3376 (deprecated_cmd_warning, complete_on_cmdlist): Update.
3377 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
3378 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3379 (struct cmd_list_element) <flags>: Remove.
3380 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3381 doc_allocated>: New fields.
3382 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3384 * maint.c (maintenance_do_deprecate): Update.
3385 * top.c (execute_command): Update.
3387 2014-01-20 Baruch Siach <baruch@tkos.co.il>
3389 * xtensa-linux-nat.c: Include asm/ptrace.h.
3391 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3393 * Makefile.in (SFILES): Add d-support.c.
3394 (COMMON_OBS): Add d-support.o.
3395 * d-lang.h (d_parse_symbol): Add comment, now defined in
3397 * d-lang.c (parse_call_convention)
3398 (parse_attributes, parse_function_types)
3399 (parse_function_args, parse_type, parse_identifier)
3400 (call_convention_p, d_parse_symbol): Move functions to ...
3401 * d-support.c: ... New file.
3403 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3405 * d-lang.h (d_parse_symbol): Add declaration.
3406 * d-lang.c (extract_identifiers)
3407 (extract_type_info): Remove functions.
3408 (parse_call_convention, parse_attributes)
3409 (parse_function_types, parse_function_args)
3410 (parse_type, parse_identifier, call_convention_p)
3411 (d_parse_symbol): New functions.
3412 (d_demangle): Use d_parse_symbol to demangle D symbols.
3414 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3416 * d-lang.h (struct builtin_d_type): New data type.
3417 (builtin_d_type): Add declaration.
3418 * d-lang.c (d_language_arch_info, build_d_types)
3419 (builtin_d_type): New functions.
3420 (enum d_primitive_types): New data type.
3421 (d_language_defn): Change c_language_arch_info to
3422 d_language_arch_info.
3423 (d_type_data): New static variable.
3424 (_initialize_d_language): Initialize d_type_data.
3426 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3428 * d-lang.h (d_main_name): Add declaration.
3429 * d-lang.c (d_main_name): New function.
3430 * symtab.c (find_main_name): Add call to d_main_name.
3432 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3434 * d-lang.c (d_language_defn): Change macro_expansion_c to
3437 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3439 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3441 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3443 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3444 gdb_exception" declaration.
3445 * remote.c (getpkt_or_notif_sane): Likewise.
3447 2014-01-17 Doug Evans <dje@google.com>
3449 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3450 function, contents of dirnames_to_char_ptr_vec_append moved here.
3451 (delim_string_to_char_ptr_vec): New function.
3452 (dirnames_to_char_ptr_vec_append): Rewrite.
3453 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3455 2014-01-17 Doug Evans <dje@google.com>
3457 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3459 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3460 #include "common-utils.h".
3461 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3462 * common/vec.h (VEC_ASSERT_PASS): Update.
3463 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3464 (MACH_CHECK_ERROR): Update.
3466 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3468 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3470 * gdbarch.h: Regenerate.
3472 2014-01-16 Tom Tromey <tromey@redhat.com>
3474 * value.c (struct value) <regnum>: Move earlier.
3476 2014-01-16 Tom Tromey <tromey@redhat.com>
3478 * remote.c (extended_remote_create_inferior): Rename from
3479 extended_remote_create_inferior_1. Add "ops" argument. Remove
3482 2014-01-16 Pedro Alves <palves@redhat.com>
3484 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3485 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3488 2014-01-16 Doug Evans <dje@google.com>
3490 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3492 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3494 * btrace.h (btrace_thread_flag): New.
3495 (struct btrace_thread_info) <flags>: New.
3496 * record-btrace.c (record_btrace_resume_thread)
3497 (record_btrace_find_thread_to_move, btrace_step_no_history)
3498 (btrace_step_stopped, record_btrace_start_replaying)
3499 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3500 (record_btrace_find_resume_thread): New.
3501 (record_btrace_resume, record_btrace_wait): Extend.
3502 (record_btrace_can_execute_reverse): New.
3503 (record_btrace_open): Fail in non-stop mode.
3504 (record_btrace_set_replay): Split into this, ...
3505 (record_btrace_stop_replaying): ... this, ...
3506 (record_btrace_clear_histories): ... and this.
3507 (init_record_btrace_ops): Init to_can_execute_reverse.
3508 * NEWS: Announce it.
3510 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3512 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3513 (forward_target_decr_pc_after_break)
3514 (target_decr_pc_after_break): New.
3515 * target.c (forward_target_decr_pc_after_break)
3516 (target_decr_pc_after_break): New.
3517 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3518 instead of gdbarch_decr_pc_after_break.
3519 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3520 instead of gdbarch_decr_pc_after_break.
3521 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3522 instead of gdbarch_decr_pc_after_break.
3523 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3524 instead of gdbarch_decr_pc_after_break.
3525 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3526 instead of gdbarch_decr_pc_after_break.
3527 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3528 instead of gdbarch_decr_pc_after_break.
3530 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3532 * btrace.c: Include regcache.h.
3533 (btrace_add_pc): New.
3534 (btrace_enable): Call btrace_add_pc.
3535 (btrace_is_empty): New.
3536 * btrace.h (btrace_is_empty): New.
3537 * record-btrace.c (require_btrace, record_btrace_info): Call
3540 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3542 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3543 Support delta reads.
3544 (linux_disable_btrace): Change return type.
3545 * common/linux-btrace.h (linux_read_btrace): Change parameters
3546 and return type to allow error reporting. Update users.
3547 (linux_disable_btrace): Change return type. Update users.
3548 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3550 (btrace_error): New.
3551 (btrace_block) <begin>: Comment on BEGIN == 0.
3552 * btrace.c (btrace_compute_ftrace): Start from the end of
3554 (btrace_stitch_trace, btrace_clear_history): New.
3555 (btrace_fetch): Read delta trace, return if replaying.
3556 (btrace_clear): Move clear history code to btrace_clear_history.
3557 (parse_xml_btrace): Throw an error if parsing failed.
3558 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3559 and return type to allow error reporting.
3560 (target_read_btrace): Change parameters and return type to allow
3562 * target.c (target_read_btrace): Update.
3563 * remote.c (remote_read_btrace): Support delta reads. Pass
3565 * NEWS: Announce it.
3567 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3569 * record.h (record_btrace_frame_unwind)
3570 (record_btrace_tailcall_frame_unwind): New declarations.
3571 * dwarf2-frame: Include record.h
3572 (dwarf2_frame_cfa): Throw an error for btrace frames.
3573 * record-btrace.c: Include hashtab.h.
3574 (btrace_get_bfun_name): New.
3575 (btrace_call_history): Call btrace_get_bfun_name.
3576 (struct btrace_frame_cache): New.
3578 (bfcache_hash, bfcache_eq, bfcache_new): New.
3579 (btrace_get_frame_function): New.
3580 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3581 (record_btrace_frame_this_id): Compute own id.
3582 (record_btrace_frame_prev_register): Provide PC, throw_error
3583 for all other registers.
3584 (record_btrace_frame_sniffer): Detect btrace frames.
3585 (record_btrace_tailcall_frame_sniffer): New.
3586 (record_btrace_frame_dealloc_cache): New.
3587 (record_btrace_frame_unwind): Add new functions.
3588 (record_btrace_tailcall_frame_unwind): New.
3589 (_initialize_record_btrace): Allocate cache.
3590 * btrace.c (btrace_clear): Call reinit_frame_cache.
3591 * NEWS: Announce it.
3593 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3595 * record-btrace.c (record_btrace_set_replay)
3596 (record_btrace_goto_begin, record_btrace_goto_end)
3597 (record_btrace_goto): New.
3598 (init_record_btrace_ops): Initialize them.
3599 * NEWS: Announce it.
3601 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3603 * record-btrace.c (record_btrace_find_new_threads)
3604 (record_btrace_thread_alive): New.
3605 (init_record_btrace_ops): Initialize to_find_new_threads and
3608 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3610 * record-btrace.c (record_btrace_resume): New.
3611 (record_btrace_wait): New.
3612 (init_record_btrace_ops): Initialize to_wait and to_resume.
3614 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3616 * record-btrace.c (record_btrace_xfer_partial)
3617 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3618 (record_btrace_allow_memory_access): New.
3619 (init_record_btrace_ops): Initialize new methods.
3620 * target.c (raw_memory_xfer_partial): Bail out if target reports
3621 that this memory is not available.
3623 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3625 * target.h (target_ops) <to_insert_breakpoint>
3626 <to_remove_breakpoint>: Add target_ops parameter.
3627 (forward_target_insert_breakpoint): New.
3628 (forward_target_remove_breakpoint): New.
3629 (memory_remove_breakpoint, memory_insert_breakpoint):
3630 Add target_ops parameter.
3631 * target.c (target_insert_breakpoint): Split into this and ...
3632 (forward_target_insert_breakpoint): ... this.
3633 (target_remove_breakpoint): Split into this and ...
3634 (forward_target_remove_breakpoint): ... this.
3635 (debug_to_insert_breakpoint): Add target_ops parameter.
3636 Call forward_target_insert_breakpoint.
3637 (debug_to_remove_breakpoint): Add target_ops parameter.
3638 Call forward_target_remove_breakpoint.
3639 (update_current_target): Do not inherit or default to_insert_breakpoint
3640 and to_remove_breakpoint.
3641 * corelow.c (ignore): Add target_ops parameter.
3642 * exec.c (ignore): Add target_ops parameter.
3643 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3644 Add target_ops parameter.
3645 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3646 Add target_ops parameter.
3647 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3648 Add target_ops parameter.
3649 * record-full.c (record_full_beneath_to_insert_breakpoint)
3650 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3651 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3652 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
3653 (record_full_core_remove_breakpoint): Add target_ops parameter.
3655 (record_full_beneath_to_insert_breakpoint_ops)
3656 (record_full_beneath_to_remove_breakpoint_ops)
3657 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
3658 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
3659 tmp_to_remove_breakpoint_ops,
3660 record_full_beneath_to_insert_breakpoint_ops, and
3661 record_full_beneath_to_remove_breakpoint_ops.
3662 * remote-m32r-sdi.c (m32r_insert_breakpoint)
3663 (m32r_remove_breakpoint): Add target_ops parameter.
3664 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
3665 Add target_ops parameter.
3666 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
3667 Add target_ops parameter.
3669 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3670 Markus Metzger <markus.t.metzger@intel.com>
3672 * record-btrace.c: Include frame-unwind.h.
3673 (record_btrace_frame_unwind_stop_reason)
3674 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
3675 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
3677 (init_record_btrace_ops): Install it.
3679 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3681 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
3684 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3686 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
3689 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3691 * frame-unwind.c: Include target.h.
3692 (frame_unwind_try_unwinder): New function with code from ...
3693 (frame_unwind_find_by_frame): ... here. New variable
3694 unwinder_from_target, call also target_get_unwinder)
3695 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
3696 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
3697 * target.h (struct target_ops): New fields to_get_unwinder and
3698 to_get_tailcall_unwinder.
3699 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
3701 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3703 * record-btrace.c (record_btrace_fetch_registers)
3704 (record_btrace_store_registers)
3705 (record_btrace_to_prepare_to_store): New.
3706 (init_record_btrace_ops): Add the above.
3708 2014-01-16 Tom Tromey <tromey@redhat.com>
3710 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
3711 * target.h (struct target_ops) <to_prepare_to_store>: Add
3713 (target_prepare_to_store): Add argument.
3714 * target.c (debug_to_prepare_to_store): Add argument.
3715 (update_current_target): Update.
3716 * remote.c (remote_prepare_to_store): Add 'self' argument.
3717 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
3718 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
3719 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
3720 * record-full.c (record_full_core_prepare_to_store): Add 'self'
3722 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
3723 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
3724 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
3725 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
3726 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
3728 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3730 * btrace.h (replay) <replay>: New.
3731 (btrace_is_replaying): New.
3732 * btrace.c (btrace_clear): Free replay iterator.
3733 (btrace_is_replaying): New.
3734 * record-btrace.c (record_btrace_is_replaying): New.
3735 (record_btrace_info): Print insn number if replaying.
3736 (record_btrace_insn_history): Start at replay position.
3737 (record_btrace_call_history): Start at replay position.
3738 (init_record_btrace_ops): Init to_record_is_replaying.
3740 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3742 * record-btrace.c (record_btrace_insn_history_range): Include
3744 (record_btrace_insn_history_from): Adjust range.
3745 (record_btrace_call_history_range): Include
3747 (record_btrace_call_history_from): Adjust range.
3748 * NEWS: Announce changes.
3750 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3752 * record.h (enum record_print_flag)
3753 <record_print_indent_calls>: New.
3754 * record.c (get_call_history_modifiers): Recognize /c modifier.
3755 (_initialize_record): Document /c modifier.
3756 * record-btrace.c (btrace_call_history): Add btinfo parameter.
3757 Reorder fields. Optionally indent the function name. Update
3759 * NEWS: Announce changes.
3761 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3763 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
3765 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3767 * btrace.c (ftrace_new_function): Start counting at one.
3768 * record-btrace.c (record_btrace_info): Adjust number of calls
3770 * NEWS: Announce it.
3772 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3774 * record-btrace.c (btrace_call_history_insn_range): Print
3775 insn range as [begin, end].
3777 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3779 * btrace.h (struct btrace_func_link): New.
3780 (enum btrace_function_flag): New.
3781 (struct btrace_inst): Rename to ...
3782 (struct btrace_insn): ...this. Update all users.
3783 (struct btrace_func) <ibegin, iend>: Remove.
3784 (struct btrace_func_link): New.
3785 (struct btrace_func): Rename to ...
3786 (struct btrace_function): ...this. Update all users.
3787 (struct btrace_function) <segment, flow, up, insn, insn_offset)
3788 (number, level, flags>: New.
3789 (struct btrace_insn_iterator): Rename to ...
3790 (struct btrace_insn_history): ...this.
3792 (struct btrace_insn_iterator, btrace_call_iterator): New.
3793 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
3794 (struct btrace_target_info) <begin, end, level>
3795 <insn_history, call_history>: New.
3796 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3797 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3798 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3799 (btrace_call_number, btrace_call_begin, btrace_call_end)
3800 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3801 (btrace_find_function_by_number, btrace_set_insn_history)
3802 (btrace_set_call_history): New.
3803 * btrace.c (btrace_init_insn_iterator)
3804 (btrace_init_func_iterator, compute_itrace): Remove.
3805 (ftrace_print_function_name, ftrace_print_filename)
3806 (ftrace_skip_file): Change
3808 (ftrace_init_func): Remove.
3809 (ftrace_debug): Use new btrace_function fields.
3810 (ftrace_function_switched): Also consider gaining and
3811 losing symbol information).
3812 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
3813 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
3814 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
3816 (ftrace_new_function): Move. Remove debug print.
3817 (ftrace_update_lines, ftrace_update_insns): New.
3818 (ftrace_update_function): Check for call, ret, and jump.
3819 (compute_ftrace): Renamed to ...
3820 (btrace_compute_ftrace): ...this. Rewritten to compute call
3822 (btrace_fetch, btrace_clear): Updated.
3823 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3824 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3825 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3826 (btrace_call_number, btrace_call_begin, btrace_call_end)
3827 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3828 (btrace_find_function_by_number, btrace_set_insn_history)
3829 (btrace_set_call_history): New.
3830 * record-btrace.c (require_btrace): Use new btrace thread
3832 (record_btrace_info, btrace_insn_history)
3833 (record_btrace_insn_history, record_btrace_insn_history_range):
3834 Use new btrace thread info fields and new iterator.
3835 (btrace_func_history_src_line): Rename to ...
3836 (btrace_call_history_src_line): ...this. Use new btrace
3838 (btrace_func_history): Rename to ...
3839 (btrace_call_history): ...this. Use new btrace thread info
3840 fields and new iterator.
3841 (record_btrace_call_history, record_btrace_call_history_range):
3842 Use new btrace thread info fields and new iterator.
3844 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3846 * frame.h (frame_id_build_unavailable_stack_special): New.
3847 * frame.c (frame_id_build_unavailable_stack_special): New.
3849 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3851 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
3852 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
3853 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
3855 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
3856 (i386_insn_is_jump, i386_jmp_p): New.
3857 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
3858 insn_is_jump to gdbarch.
3859 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
3860 * gdbarch.h: Regenerated.
3861 * gdbarch.c: Regenerated.
3862 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
3863 (default_insn_is_jump): New.
3864 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
3865 (default_insn_is_jump): New.
3867 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3869 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
3871 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
3872 (btrace_read_type) <btrace_read_new>: Change to ...
3873 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
3875 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3877 * common/linux-btrace.c (linux_read_btrace): Free trace from
3880 2014-01-15 Doug Evans <dje@google.com>
3882 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
3885 2014-01-15 Tom Tromey <tromey@redhat.com>
3887 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
3888 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
3889 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
3890 (set_objfile_main_name): New function.
3891 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
3892 language_of_main>: New fields.
3893 (set_objfile_main_name): Declare.
3894 * symtab.c (find_main_name): Loop over objfiles to find the main
3896 (set_main_name): Now static.
3897 (get_main_info): Add comment.
3898 * symtab.h (set_main_name): Don't declare.
3900 2014-01-15 Tom Tromey <tromey@redhat.com>
3902 * symtab.c (main_progspace_key): New global.
3903 (struct main_info): New.
3904 (name_of_main, language_of_main): Remove.
3905 (get_main_info, main_info_cleanup): New function.
3906 (set_main_name, main_name, main_language): Use get_main_info.
3907 (_initialize_symtab): Initialize main_progspace_key.
3909 2014-01-15 Tom Tromey <tromey@redhat.com>
3911 * dbxread.c (process_one_symbol): Update.
3912 * dwarf2read.c (read_partial_die): Update.
3913 * symfile.c (set_initial_language): Call main_language.
3914 * symtab.c (language_of_main): Now static.
3915 (set_main_name): Add 'lang' parameter.
3916 (find_main_name): Update.
3917 (main_language): New function.
3918 (symtab_observer_executable_changed): Update.
3919 * symtab.h (set_main_name): Update.
3920 (language_of_main): Remove.
3921 (main_language): Declare.
3923 2014-01-15 Tom Tromey <tromey@redhat.com>
3925 * symfile.c (init_entry_point_info): Use new "initialized" field.
3927 * objfiles.h (struct entry_point) <initialized>: New field.
3928 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
3929 (struct objfile) <ei>: ...here. Remove.
3930 * objfiles.c (entry_point_address_query): Update.
3932 2014-01-15 Tom Tromey <tromey@redhat.com>
3934 * objfiles.c (entry_point_address_query): Relocate entry point
3936 (objfile_relocate1): Do not relocate entry point address.
3937 * objfiles.h (struct entry_info) <entry_point>: Update comment.
3938 <the_bfd_section_index>: New field.
3939 * symfile.c (init_entry_point_info): Find the entry point's
3942 2014-01-15 Tom Tromey <tromey@redhat.com>
3944 * solib-frv.c (enable_break): Use entry_point_address_query.
3946 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3948 * NEWS: Add note on improved process record-replay on
3949 arm*-linux* targets.
3951 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3953 * arm-tdep.c (enum arm_record_result): New enum.
3954 (arm_record_unsupported_insn): New function.
3955 (arm_record_coproc_data_proc): Removed.
3956 (thumb2_record_ld_st_multiple): New function.
3957 (thumb2_record_ld_st_dual_ex_tbb): New function.
3958 (thumb2_record_data_proc_sreg_mimm): New function.
3959 (thumb2_record_ps_dest_generic): New function.
3960 (thumb2_record_branch_misc_cntrl): New function.
3961 (thumb2_record_str_single_data): New function.
3962 (thumb2_record_ld_mem_hints): New function.
3963 (thumb2_record_ld_word): New function.
3964 (thumb2_record_lmul_lmla_div): New function.
3965 (thumb2_record_decode_insn_handler): New function.
3966 (decode_insn): Add thumb32 instruction handlers.
3968 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3970 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
3971 (struct arm_linux_record_tdep): Declare.
3972 (arm_canonicalize_syscall): New function.
3973 (arm_all_but_pc_registers_record): New function.
3974 (arm_linux_syscall_record): New function.
3975 (arm_linux_init_abi): Add syscall recording constructs.
3976 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
3977 decoding. (arm_record_coproc_data_proc): Update arm syscall
3979 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
3980 <arm_syscall_record>: New field.
3981 * configure.tgt (arm*-*-linux*): Add linux-record.o to
3984 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3986 * arm-tdep.c (thumb_record_misc): Update to use sp as base
3987 register for push instruction recording.
3989 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3991 * arm-tdep.c (thumb_record_misc): Update to correct logical
3992 error while recording ldm, ldmia and pop instructions.
3994 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3996 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
3998 2014-01-15 Pedro Alves <palves@redhat.com>
4000 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
4001 (go32_resume, go32_fetch_registers, store_register)
4002 (go32_store_registers, go32_prepare_to_store)
4003 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
4004 (go32_create_inferior, go32_can_run, go32_terminal_init)
4005 (go32_terminal_inferior, go32_terminal_ours): Delete forward
4008 2014-01-15 Tom Tromey <tromey@redhat.com>
4010 * target.h (async_callback_ftype): New typedef.
4011 (struct target_ops) <to_async>: Use it.
4013 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4015 * python/py-value.c (get_field_type): Remove unnecessary curly
4016 braces for single-statement if block.
4018 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4020 * python/py-type.c (convert_field): Add missing empty line
4023 2014-01-14 Doug Evans <dje@google.com>
4025 * symfile.h (expand_symtabs_matching): Renamed from
4026 expand_partial_symbol_names. Update prototype.
4027 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4028 * symfile.c (expand_symtabs_matching): Renamed from
4029 expand_partial_symbol_names. New args file_matcher, kind.
4030 Rename arg fun to symbol_matcher.
4031 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4032 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
4033 ada_expand_partial_symbol_name.
4034 (ada_make_symbol_completion_list): Update to call
4035 expand_symtabs_matching.
4036 (ada_add_global_exceptions): Call expand_symtabs_matching.
4037 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
4038 call map_symbol_filenames.
4039 * symtab.c (sources_info): Update to call map_symbol_filenames.
4040 (search_symbols): Call expand_symtabs_matching.
4041 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
4042 (default_make_symbol_completion_list_break_on): Update to call
4043 expand_symtabs_matching.
4044 (make_source_files_completion_list): Update to call
4045 map_symbol_filenames.
4047 2014-01-14 Doug Evans <dje@google.com>
4049 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
4050 (expand_symtabs_symbol_matcher_ftype): New typedef.
4051 (quick_symbol_functions.expand_symtabs_matching): Update to use.
4052 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4053 * symfile.c (expand_partial_symbol_names): Update to use
4054 expand_symtabs_symbol_matcher_ftype.
4055 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
4056 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4057 Arg name_matcher renamed to symbol_matcher.
4058 * psymtab.c (recursively_search_psymtabs): Update to use
4059 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
4061 (expand_symtabs_matching_via_partial): Update to use
4062 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4063 Arg name_matcher renamed to symbol_matcher.
4065 2014-01-14 Doug Evans <dje@google.com>
4067 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
4068 (map_partial_symbol_filenames): Ditto.
4069 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
4070 (map_partial_symbol_filenames): Ditto.
4071 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
4072 (map_partial_symbol_filenames): Ditto.
4073 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
4074 (map_partial_symbol_filenames): Ditto.
4075 * symtab.c: Delete #include "psymtab.h".
4077 2014-01-14 Pedro Alves <palves@redhat.com>
4078 Tom Tromey <tromey@redhat.com>
4080 * infrun.c (use_displaced_stepping): Use find_record_target
4081 instead of RECORD_IS_USED.
4082 (adjust_pc_after_break): Use record_full_is_used instead of
4084 * record-btrace.c (record_btrace_open): Call record_preopen
4085 instead of checking RECORD_IS_USED.
4086 * record-full.c (record_full_shortname)
4087 (record_full_core_shortname): New globals.
4088 (record_full_is_used): New function.
4089 (find_full_open): Call record_preopen instead of checking
4091 (init_record_full_ops): Set the target's shortname to
4092 record_full_shortname.
4093 (init_record_full_core_ops): Set the target's shortname to
4094 record_full_core_shortname.
4095 * record-full.h (record_full_is_used): Declare.
4096 * record.c (find_record_target): Make extern.
4097 (record_preopen): New function.
4098 * record.h (RECORD_IS_USED): Delete macro.
4099 (find_record_target, record_preopen): Declare functions.
4101 2014-01-14 Yao Qi <yao@codesourcery.com>
4103 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
4104 'len''s type to ULONGEST.
4105 (core_xfer_shared_libraries_aix): Likewise.
4106 * gdbarch.c, gdbarch.h: Regenerated.
4107 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
4108 Change type of 'len' to ULONGEST.
4109 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4110 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
4112 2014-01-14 Yao Qi <yao@codesourcery.com>
4114 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
4115 type of 'len' to ULONGEST.
4116 (linux_xfer_osdata_processgroups): Likewise.
4117 (linux_xfer_osdata_threads): Likewise.
4118 (linux_xfer_osdata_fds): Likewise.
4119 (linux_xfer_osdata_isockets): Likewise.
4120 (linux_xfer_osdata_shm): Likewise.
4121 (linux_xfer_osdata_sem): Likewise.
4122 (linux_xfer_osdata_msg): Likewise.
4123 (linux_common_xfer_osdata): Likewise.
4124 (struct osdata_type) <getter>: Likewise.
4125 * common/linux-osdata.h (linux_common_xfer_osdata): Update
4128 2014-01-14 Yao Qi <yao@codesourcery.com>
4130 * target.h (target_xfer_partial_ftype): Update.
4131 (struct target_ops) <to_xfer_partial>: Change 'len' type to
4133 * aix-thread.c (aix_thread_xfer_partial): Change type of
4134 argument 'len' to ULONGEST.
4135 * auxv.c (procfs_xfer_auxv): Likewise.
4136 (ld_so_xfer_auxv): Likewise.
4137 (memory_xfer_auxv): Likewise.
4138 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4139 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4140 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4141 * corelow.c (core_xfer_partial): Likewise.
4142 * ctf.c (ctf_xfer_partial): Likewise.
4143 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
4145 (darwin_read_dyld_info): Likewise.
4146 (darwin_xfer_partial): Likewise.
4147 * exec.c (section_table_xfer_memory_partial): Likewise.
4148 (exec_xfer_partial): Likewise.
4149 * exec.h (section_table_xfer_memory_partial): Update
4151 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
4152 instead of plongest.
4153 (gnu_xfer_partial): Likewise.
4154 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
4155 (ia64_hpux_xfer_solib_got): Likewise.
4156 (ia64_hpux_xfer_partial): Likewise.
4157 * ia64-linux-nat.c (ia64_linux_xfer_partial):
4158 * inf-ptrace.c (inf_ptrace_xfer_partial):
4159 * inf-ttrace.c (inf_ttrace_xfer_partial):
4160 * linux-nat.c (linux_xfer_siginfo): Likewise.
4161 (linux_nat_xfer_partial): Likewise.
4162 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
4163 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
4164 * monitor.c (monitor_xfer_memory): Likewise.
4165 (monitor_xfer_partial): Likewise.
4166 * procfs.c (procfs_xfer_partial): Likewise.
4167 * record-full.c (record_full_xfer_partial): Likewise.
4168 (record_full_core_xfer_partial): Likewise.
4169 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
4170 instead of plongest.
4171 (gdbsim_xfer_partial): Likewise.
4172 * remote.c (remote_xfer_partial): Likewise.
4173 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4174 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4176 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4177 (rs6000_xfer_shared_libraries): Likewise.
4178 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4179 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4180 (sparc_xfer_partial): Likewise.
4181 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4182 (spu_xfer_partial): Likewise.
4183 * spu-multiarch.c (spu_xfer_partial): Likewise.
4184 * target.c (target_read_live_memory): Likewise.
4185 (memory_xfer_live_readonly_partial): Likewise.
4186 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
4187 (target_xfer_partial, default_xfer_partial): Likewise.
4188 (current_xfer_partial): Likewise.
4189 * tracepoint.c (tfile_xfer_partial): Likewise.
4190 * windows-nat.c (windows_xfer_memory): Likewise. Call
4191 pulongest instead of plongest.
4192 (windows_xfer_partial): Likewise.
4193 (windows_xfer_shared_libraries): Likewise.
4195 2014-01-14 Yao Qi <yao@codesourcery.com>
4197 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
4198 target_xfer_partial_ftype.
4200 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4204 * valops.c (value_struct_elt_bitpos): New function
4205 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
4206 object to 'None' if the field name is an empty string ("").
4207 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
4208 attribute to look for a field when 'name' is 'None'.
4209 (get_field_type): New function
4211 2014-01-13 Doug Evans <dje@google.com>
4214 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
4215 (try_open_dwop_file): Ditto.
4216 * gdb_bfd.c: #include "vec.h".
4217 (bfdp): New typedef.
4218 (struct gdb_bfd_data): New member included_bfds.
4219 (gdb_bfd_unref): Unref all included bfds.
4220 (gdb_bfd_record_inclusion): New function.
4221 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
4223 2014-01-13 Tom Tromey <tromey@redhat.com>
4225 * gdbcore.h (deprecated_core_resize_section_table): Remove.
4227 2014-01-13 Tom Tromey <tromey@redhat.com>
4229 * defs.h (use_windows): Remove.
4230 * gdb.c (main): Update.
4231 * main.c (captured_main, gdb_main): Update.
4232 * main.h (struct captured_main_args) <use_windows>: Remove.
4233 * top.c (use_windows): Remove.
4235 2014-01-13 Tom Tromey <tromey@redhat.com>
4237 * defs.h (deprecated_flush_hook): Remove.
4239 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4242 * linux-thread-db.c (try_thread_db_load): Add parameter
4243 check_auto_load_safe. Move here the file_is_auto_load_safe call.
4244 (try_thread_db_load_from_pdir_1): Move it there from here.
4245 (try_thread_db_load_from_sdir): Update caller.
4246 (try_thread_db_load_from_dir): Move it there from here.
4248 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
4250 * regformats/regdat.sh: Always rewrite the register file.
4252 2014-01-13 Pedro Alves <palves@redhat.com>
4254 * Makefile.in (CHECK_HEADERS): New variable.
4255 (check-headers:): New rule.
4257 2014-01-13 Tom Tromey <tromey@redhat.com>
4259 * cli/cli-setshow.c (do_set_command): Update.
4260 * defs.h (deprecated_set_hook): Remove.
4261 * top.c (deprecated_set_hook): Remove.
4263 2014-01-13 Pedro Alves <palves@redhat.com>
4265 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
4266 the tracepoint if the PC is a pseudo-register.
4268 2014-01-13 Tom Tromey <tromey@redhat.com>
4270 * defs.h (XCALLOC): Remove.
4271 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
4272 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
4273 * dwarf2loc.c (allocate_piece_closure): Likewise.
4274 * elfread.c (elf_symfile_segments): Likewise.
4275 (elf_symfile_segments): Likewise.
4276 * gdbtypes.c (copy_type_recursive): Likewise.
4277 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
4278 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
4279 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
4281 * mt-tdep.c (mt_gdbarch_init): Likewise.
4282 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
4284 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
4285 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
4286 * registry.c (registry_alloc_data): Likewise.
4287 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
4288 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
4289 * serial.c (serial_fdopen_ops): Likewise.
4290 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
4292 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
4293 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
4296 2014-01-13 Tom Tromey <tromey@redhat.com>
4298 * defs.h (XMALLOC): Remove.
4299 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
4300 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
4301 * cli-out.c (struct ui_out *): Likewise.
4302 * cli/cli-dump.c (add_dump_command): Likewise.
4303 (add_dump_command): Likewise.
4304 * complaints.c (get_complaints): Likewise.
4305 (find_complaint): Likewise.
4306 * dwarf2-frame.c (execute_cfa_program): Likewise.
4307 * dwarf2read.c (abbrev_table_read_table): Likewise.
4308 * gdbarch.sh: Likewise.
4309 * gdbarch.c: Rebuild.
4310 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
4311 * interps.c (interp_new): Likewise.
4312 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
4313 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
4314 * mi/mi-console.c (mi_console_file_new): Likewise.
4315 * mi/mi-interp.c (mi_interpreter_init): Likewise.
4316 * mi/mi-out.c (mi_out_new): Likewise.
4317 * mi/mi-parse.c (mi_parse): Likewise.
4318 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
4319 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
4320 * observer.c (xalloc_observer_list_node): Likewise.
4321 * regcache.c (regcache_xmalloc_1): Likewise.
4322 * reggroups.c (reggroup_new): Likewise.
4323 (_initialize_reggroup): Likewise.
4324 * registry.c (register_data_with_cleanup): Likewise.
4325 * remote.c (remote_notif_stop_alloc_reply): Likewise.
4326 * ser-base.c (serial_ttystate): Likewise.
4327 * ser-mingw.c (make_pipe_state): Likewise.
4328 * ser-pipe.c (pipe_open): Likewise.
4329 * serial.c (serial_open): Likewise.
4330 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
4331 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
4332 (tui_alloc_win_info): Likewise.
4333 (tui_add_content_elements): Likewise.
4334 * tui/tui-file.c (tui_file_new): Likewise.
4335 * tui/tui-out.c (tui_out_new): Likewise.
4336 * ui-file.c (mem_file_new): Likewise.
4337 * ui-out.c (push_level): Likewise.
4338 (make_cleanup_ui_out_end): Likewise.
4339 (append_header_to_list): Likewise.
4340 (ui_out_new): Likewise.
4341 * user-regs.c (user_reg_add_builtin): Likewise.
4343 2014-01-13 Tom Tromey <tromey@redhat.com>
4345 * defs.h (XZALLOC): Remove.
4346 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
4347 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
4348 (get_ada_tasks_inferior_data): Likewise.
4349 * auto-load.c (get_auto_load_pspace_data): Likewise.
4350 * auxv.c (get_auxv_inferior_data): Likewise.
4351 * bfd-target.c (target_bfd_reopen): Likewise.
4352 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
4353 (deprecated_insert_raw_breakpoint): Likewise.
4354 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
4355 * corelow.c (core_open): Likewise.
4356 * darwin-nat.c (darwin_check_new_threads): Likewise.
4357 (darwin_attach_pid): Likewise.
4358 * dummy-frame.c (dummy_frame_push): Likewise.
4359 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
4360 * dwarf2loc.c (allocate_piece_closure): Likewise.
4361 * elfread.c (elf_symfile_segments): Likewise.
4362 * eval.c (ptrmath_type_p): Likewise.
4363 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
4364 * gdbtypes.c (alloc_type_arch): Likewise.
4365 (alloc_type_instance): Likewise.
4366 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
4367 * inf-child.c (inf_child_can_use_agent): Likewise.
4368 * inflow.c (get_inflow_inferior_data): Likewise.
4369 * infrun.c (save_infcall_suspend_state): Likewise.
4370 * jit.c (jit_reader_load): Likewise.
4371 (get_jit_objfile_data): Likewise.
4372 (get_jit_program_space_data): Likewise.
4373 (jit_object_open_impl): Likewise.
4374 (jit_symtab_open_impl): Likewise.
4375 (jit_block_open_impl): Likewise.
4376 (jit_frame_sniffer): Likewise.
4377 * linux-fork.c (add_fork): Likewise.
4378 * maint.c (make_command_stats_cleanup): Likewise.
4379 * objfiles.c (get_objfile_pspace_data): Likewise.
4380 * opencl-lang.c (struct lval_closure): Likewise.
4381 * osdata.c (osdata_start_osdata): Likewise.
4382 * progspace.c (new_address_space): Likewise.
4383 (add_program_space): Likewise.
4384 * remote-sim.c (get_sim_inferior_data): Likewise.
4385 * sh-tdep.c (sh_gdbarch_init): Likewise.
4386 * skip.c (Ignore): Likewise.
4387 (skip_delete_command): Likewise.
4388 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4389 (library_list_start_library): Likewise.
4390 (solib_aix_current_sos): Likewise.
4391 * solib-darwin.c (get_darwin_info): Likewise.
4392 (darwin_current_sos): Likewise.
4393 * solib-dsbt.c (get_dsbt_info): Likewise.
4394 * solib-ia64-hpux.c (new_so_list): Likewise.
4395 (ia64_hpux_get_solib_linkage_addr): Likewise.
4396 * solib-spu.c (append_ocl_sos): Likewise.
4397 (spu_current_sos): Likewise.
4398 * solib-svr4.c (get_svr4_info): Likewise.
4399 (svr4_keep_data_in_core): Likewise.
4400 (library_list_start_library): Likewise.
4401 (svr4_default_sos): Likewise.
4402 (svr4_read_so_list): Likewise.
4403 * solib-target.c (library_list_start_library): Likewise.
4404 (solib_target_current_sos): Likewise.
4405 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4406 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4407 * symfile.c (default_symfile_segments): Likewise.
4408 * target-descriptions.c (tdesc_data_init): Likewise.
4409 (tdesc_create_reg): Likewise.
4410 (struct tdesc_type *): Likewise.
4411 (tdesc_create_vector): Likewise.
4412 (tdesc_set_struct_size): Likewise.
4413 (struct tdesc_type *): Likewise.
4414 (tdesc_free_feature): Likewise.
4415 (tdesc_create_feature): Likewise.
4416 * windows-nat.c (windows_add_thread): Likewise.
4417 (windows_make_so): Likewise.
4418 * xml-support.c (gdb_xml_body_text): Likewise.
4419 (gdb_xml_create_parser_and_cleanup): Likewise.
4420 (xml_process_xincludes): Likewise.
4421 * xml-syscall.c (allocate_syscalls_info): Likewise.
4422 (syscall_create_syscall_desc): Likewise.
4424 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4426 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4427 function, with code from i386_stap_parse_special_token.
4428 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4429 (i386_stap_parse_special_token): Move code to the two functions
4432 2014-01-09 Pedro Alves <palves@redhat.com>
4433 Hui Zhu <hui@codesourcery.com>
4436 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4437 bp_err_string. Don't mark the location shlib_disabled if the
4438 error thrown wasn't a generic or memory error. Catch errors
4439 thrown while inserting breakpoints in overlayed code. Output
4440 error message of software breakpoints.
4441 * remote.c (remote_insert_breakpoint): If this breakpoint has
4442 target-side commands but this stub doesn't support Z0 packets,
4443 throw NOT_SUPPORTED_ERROR error.
4444 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4445 * target.h (target_insert_breakpoint): Extend comment.
4446 (target_insert_hw_breakpoint): Add comment.
4448 2014-01-08 Pedro Alves <palves@redhat.com>
4450 * remote.c (remote_add_thread): Add threads silently if starting
4452 (remote_notice_new_inferior): If in all-stop, and starting up,
4453 don't call notice_new_inferior.
4454 (get_current_thread): New function, factored out from ...
4455 (add_current_inferior_and_thread): ... this. Adjust.
4456 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4457 found any thread, then select the remote's current thread as GDB's
4460 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4462 * NEWS: Create a new section for the next release branch.
4463 Rename the section of the current branch, now that it has
4466 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4468 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4469 * version.in: Bump version to 7.7.50.DATE-cvs.
4471 2014-01-08 Yao Qi <yao@codesourcery.com>
4473 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4474 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4475 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4477 2014-01-08 Yao Qi <yao@codesourcery.com>
4479 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4480 return value of bfd_get_filename to symbol_file_add_from_bfd.
4482 2014-01-08 Pierre Muller <muller@sourceware.org>
4485 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4486 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4487 to prim_record_mininal_symbol_and_info.
4488 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4489 in call to prim_record_minimal_symbol_and_info.
4490 (read_pe_exported_syms): Set index field of section_data.
4492 2014-01-07 Andrew Pinski <apinski@cavium.com>
4494 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4495 * features/aarch64.c: Regenerate.
4497 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4499 * target.c (return_null): Define.
4500 (update_current_target): Use it instead of return_zero for
4501 functions that return a pointer.
4503 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4505 * source.c (add_path): Fix check for duplicated paths in the previously
4508 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4510 * ada-lang.c: Remove duplicated include statements.
4511 * alphabsd-nat.c: Ditto.
4512 * amd64-darwin-tdep.c: Ditto.
4513 * amd64fbsd-nat.c: Ditto.
4514 * auto-load.c: Ditto.
4516 * breakpoint.c: Ditto.
4518 * fork-child.c: Ditto.
4519 * gdb_usleep.c: Ditto.
4520 * i386-darwin-tdep.c: Ditto.
4521 * i386fbsd-nat.c: Ditto.
4523 * inferior.c: Ditto.
4525 * linux-nat.c: Ditto.
4526 * linux-tdep.c: Ditto.
4527 * m68kbsd-nat.c: Ditto.
4528 * m68klinux-nat.c: Ditto.
4529 * microblaze-tdep.c: Ditto.
4530 * mips-linux-tdep.c: Ditto.
4531 * mn10300-tdep.c: Ditto.
4532 * nto-tdep.c: Ditto.
4533 * opencl-lang.c: Ditto.
4535 * printcmd.c: Ditto.
4536 * regcache.c: Ditto.
4537 * remote-m32r-sdi.c: Ditto.
4541 * tilegx-linux-nat.c: Ditto.
4542 * tilegx-tdep.c: Ditto.
4543 * tracepoint.c: Ditto.
4545 * vaxbsd-nat.c: Ditto.
4546 * windows-nat.c: Ditto.
4547 * xtensa-tdep.c: Ditto.
4549 2014-01-07 Yao Qi <yao@codesourcery.com>
4551 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4553 2014-01-07 Yao Qi <yao@codesourcery.com>
4554 Joel Brobecker <brobecker@adacore.com>
4556 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4557 (pdc_write_regs): Likewise.
4558 (fetch_regs_kernel_thread): Likewise.
4559 (store_regs_kernel_thread): Likewise.
4561 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4563 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4564 tagged type objects to their actual type.
4566 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4568 * ada-valprint.c (print_field_values): Add "language" parameter.
4569 Update calls to print_field_values and print_variant_part.
4570 Pass new parameter "language" in call to val_print instead
4571 of "current_language". Replace call to ada_val_print by call
4573 (print_variant_part): Add "language" parameter.
4574 (ada_val_print_struct_union): Update call to print_field_values.
4576 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4578 * ada-valprint.c (ui_memcpy): Delete.
4579 (ada_print_floating): Update documentation. Add empty line
4580 between between function documentation and implementation.
4581 Delete variable "buffer". Use ui_file_xstrdup in place of
4582 ui_file_put. Minor adjustments following this change.
4584 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4586 * ada-valprint.c (ada_val_print_string): New function,
4587 extracted from ada_val_print_array.
4588 (ada_val_print_array): Replace extracted code by call
4589 to ada_val_print_string followed by a return. Move
4590 "else" branch to the function's top block.
4592 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4594 * ada-valprint.c (ada_val_print_array): Move implementation
4595 down. Rename parameter "offset" and "val" into "offset_aligned"
4596 and "original_value" respectively. Add parameter "offset".
4598 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4600 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4601 re-organizing the code. Change the "???" message printed
4602 when target type is a TYPE_CODE_UNDEF into
4603 "<ref to undefined type>".
4605 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4607 * ada-valprint.c (print_record): Delete, implementation inlined...
4608 (ada_val_print_struct_union): ... here. Remove call to
4609 ada_check_typedef in inlined implementation.
4611 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4613 * ada-valprint.c (ada_val_print_gnat_array): New function,
4614 extracted from ada_val_print_1;
4615 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4616 (ada_val_print_flt, ada_val_print_struct_union)
4617 (ada_val_print_ref): Likewise.
4618 (ada_val_print_1): Delete variables i and elttype.
4619 Replace extracted-out code by call to corresponding
4622 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4624 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4626 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4628 * ada-valprint.c (ada_val_print_1): Replace calls to
4629 ada_val_print_1 by calls to val_print.
4631 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4633 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4634 Update calls to self accordingly. Replace calls to c_val_print
4635 by calls to val_print.
4637 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4639 * ada-valprint.c (print_record): Delete declaration.
4640 (adjust_type_signedness, ada_val_print_1): Likewise.
4641 (ada_val_print): Move function implementation down.
4642 (print_variant_part, print_field_values, print_record):
4643 Move function implementation up.
4645 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4647 * python/py-type.c (typy_get_name): New function.
4648 (type_object_getset): Add entry for attribute "name".
4649 * NEWS: Add entry mentioning this new attribute.
4651 2014-01-07 Yao Qi <yao@codesourcery.com>
4653 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
4656 2014-01-07 Yao Qi <yao@codesourcery.com>
4658 * gnu-nat.c (info_port_rights): Add qualifier const to
4661 2014-01-07 Yao Qi <yao@codesourcery.com>
4663 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
4665 2014-01-07 Yao Qi <yao@codesourcery.com>
4667 * gnu-nat.c (make_inf) Update declaration.
4668 (make_inf): Make it static.
4669 (inf_set_traced): Likewise.
4670 (inf_port_to_thread, inf_task_died_status): Likewise.
4672 2014-01-07 Yao Qi <yao@codesourcery.com>
4674 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
4676 2014-01-07 Yao Qi <yao@codesourcery.com>
4678 * gnu-nat.c (_initialize_gnu_nat): Declare.
4680 2014-01-07 Yao Qi <yao@codesourcery.com>
4682 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
4684 (struct gdbarch_info) <byte_order>: Change type to
4686 <byte_order_for_code>: Likewise.
4687 * gdbarch.c, gdbarch.h: Regenerated.
4689 2014-01-06 Sasha Smundak <asmundak@google.com>
4691 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
4693 2014-01-06 Tom Tromey <tromey@redhat.com>
4695 * doublest.c (convert_doublest_to_floatformat): Use const, not
4697 * somread.c (som_symtab_read): Likewise.
4699 2014-01-07 Hui Zhu <hui@codesourcery.com>
4701 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
4702 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
4703 (gdb_bfd_fopen): Ditto.
4704 (gdb_bfd_openr): Ditto.
4705 (gdb_bfd_openw): Ditto.
4706 (gdb_bfd_openr_iovec): Ditto.
4707 (gdb_bfd_fdopenr): Ditto.
4708 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
4709 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
4711 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
4713 * symfile-mem.c (symbol_file_add_from_memory): Removed
4714 gdb_bfd_stash_filename.
4716 2014-01-03 Doug Evans <dje@google.com>
4718 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
4721 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4723 Update year range in copyright notice of all files.
4725 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4727 * top.c (print_gdb_version): Set copyright year to 2014.
4729 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4731 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
4733 For older changes see ChangeLog-2013.
4739 version-control: never