1 2014-02-19 Tom Tromey <tromey@redhat.com>
3 * target-delegates.c: Rebuild.
4 * target.c (update_current_target): Don't inherit or default
6 (find_default_run_target): Check against delegate_can_run.
7 * target.h (struct target_ops) <to_can_run>: Use
10 2014-02-19 Tom Tromey <tromey@redhat.com>
12 * target-delegates.c: Rebuild.
13 * target.c (target_disconnect): Unconditionally delegate.
14 * target.h (struct target_ops) <to_disconnect>: Use
15 TARGET_DEFAULT_NORETURN.
17 2014-02-19 Tom Tromey <tromey@redhat.com>
19 * record.c (record_stop): Unconditionally delegate.
20 * target-delegates.c: Rebuild.
21 * target.c (target_stop_recording): Unconditionally delegate.
22 * target.h (struct target_ops) <to_stop_recording>: Use
23 TARGET_DEFAULT_IGNORE.
25 2014-02-19 Tom Tromey <tromey@redhat.com>
27 * target-delegates.c: Rebuild.
28 * target.c (target_enable_btrace): Unconditionally delegate.
29 * target.h (struct target_ops) <to_enable_btrace>: Use
30 TARGET_DEFAULT_NORETURN.
32 2014-02-19 Tom Tromey <tromey@redhat.com>
34 * target-delegates.c: Rebuild.
35 * target.c (target_read_btrace): Unconditionally delegate.
36 * target.h (struct target_ops) <to_read_btrace>: Use
37 TARGET_DEFAULT_NORETURN.
39 2014-02-19 Tom Tromey <tromey@redhat.com>
41 * target-delegates.c: Rebuild.
42 * target.c (target_teardown_btrace): Unconditionally delegate.
43 * target.h (struct target_ops) <to_teardown_btrace>: Use
44 TARGET_DEFAULT_NORETURN.
46 2014-02-19 Tom Tromey <tromey@redhat.com>
48 * target-delegates.c: Rebuild.
49 * target.c (target_disable_btrace): Unconditionally delegate.
50 * target.h (struct target_ops) <to_disable_btrace>: Use
51 TARGET_DEFAULT_NORETURN.
53 2014-02-19 Tom Tromey <tromey@redhat.com>
55 * target-delegates.c: Rebuild.
56 * target.c (default_search_memory): New function.
57 (simple_search_memory): Update comment.
58 (target_search_memory): Unconditionally delegate.
59 * target.h (struct target_ops) <to_search_memory>: Use
62 2014-02-19 Tom Tromey <tromey@redhat.com>
64 * auxv.c (default_auxv_parse): No longer static.
65 (target_auxv_parse): Unconditionally delegate.
66 * auxv.h (default_auxv_parse): Declare.
67 * target-delegates.c: Rebuild.
68 * target.c: Include auxv.h.
69 * target.h (struct target_ops) <to_auxv_parse>: Use
72 2014-02-19 Tom Tromey <tromey@redhat.com>
74 * target-delegates.c: Rebuild.
75 * target.c (target_memory_map): Unconditionally delegate.
76 * target.h (struct target_ops) <to_memory_map>: Use
77 TARGET_DEFAULT_RETURN.
79 2014-02-19 Tom Tromey <tromey@redhat.com>
81 * target-delegates.c: Rebuild.
82 * target.c (target_thread_alive): Unconditionally delegate.
83 * target.h (struct target_ops) <to_thread_alive>: Use
84 TARGET_DEFAULT_RETURN.
86 2014-02-19 Tom Tromey <tromey@redhat.com>
88 * target-delegates.c: Rebuild.
89 * target.c (target_save_record): Unconditionally delegate.
90 * target.h (struct target_ops) <to_save_record>: Use
91 TARGET_DEFAULT_NORETURN.
93 2014-02-19 Tom Tromey <tromey@redhat.com>
95 * target-delegates.c: Rebuild.
96 * target.c (target_delete_record): Unconditionally delegate.
97 * target.h (struct target_ops) <to_delete_record>: Use
98 TARGET_DEFAULT_NORETURN.
100 2014-02-19 Tom Tromey <tromey@redhat.com>
102 * target-delegates.c: Rebuild.
103 * target.c (target_record_is_replaying): Unconditionally
105 * target.h (struct target_ops) <to_record_is_replaying>: Use
106 TARGET_DEFAULT_RETURN.
108 2014-02-19 Tom Tromey <tromey@redhat.com>
110 * target-delegates.c: Rebuild.
111 * target.c (target_goto_record_begin): Unconditionally delegate.
112 * target.h (struct target_ops) <to_goto_record_begin>: Use
113 TARGET_DEFAULT_NORETURN.
115 2014-02-19 Tom Tromey <tromey@redhat.com>
117 * target-delegates.c: Rebuild.
118 * target.c (target_goto_record_end): Unconditionally delegate.
119 * target.h (struct target_ops) <to_goto_record_end>: Use
120 TARGET_DEFAULT_NORETURN.
122 2014-02-19 Tom Tromey <tromey@redhat.com>
124 * target-delegates.c: Rebuild.
125 * target.c (target_goto_record): Unconditionally delegate.
126 * target.h (struct target_ops) <to_goto_record>: Use
127 TARGET_DEFAULT_NORETURN.
129 2014-02-19 Tom Tromey <tromey@redhat.com>
131 * target-delegates.c: Rebuild.
132 * target.c (target_insn_history): Unconditionally delegate.
133 * target.h (struct target_ops) <to_insn_history>: Use
134 TARGET_DEFAULT_NORETURN.
136 2014-02-19 Tom Tromey <tromey@redhat.com>
138 * target-delegates.c: Rebuild.
139 * target.c (target_insn_history_from): Unconditionally delegate.
140 * target.h (struct target_ops) <to_insn_history_from>: Use
141 TARGET_DEFAULT_NORETURN.
143 2014-02-19 Tom Tromey <tromey@redhat.com>
145 * target-delegates.c: Rebuild.
146 * target.c (target_insn_history_range): Unconditionally delegate.
147 * target.h (struct target_ops) <to_insn_history_range>: Use
148 TARGET_DEFAULT_NORETURN.
150 2014-02-19 Tom Tromey <tromey@redhat.com>
152 * target-delegates.c: Rebuild.
153 * target.c (target_call_history): Unconditionally delegate.
154 * target.h (struct target_ops) <to_call_history>: Use
155 TARGET_DEFAULT_NORETURN.
157 2014-02-19 Tom Tromey <tromey@redhat.com>
159 * target-delegates.c: Rebuild.
160 * target.c (target_call_history_from): Unconditionally delegate.
161 * target.h (struct target_ops) <to_call_history_from>: Use
162 TARGET_DEFAULT_NORETURN.
164 2014-02-19 Tom Tromey <tromey@redhat.com>
166 * target-delegates.c: Rebuild.
167 * target.c (target_call_history_range): Unconditionally delegate.
168 * target.h (struct target_ops) <to_call_history_range>: Use
169 TARGET_DEFAULT_NORETURN.
171 2014-02-19 Tom Tromey <tromey@redhat.com>
173 * target-delegates.c: Rebuild.
174 * target.c (target_verify_memory): Unconditionally delegate.
175 * target.h (struct target_ops) <to_verify_memory>: Use
176 TARGET_DEFAULT_NORETURN.
178 2014-02-19 Tom Tromey <tromey@redhat.com>
180 * target-delegates.c: Rebuild.
181 * target.c (target_core_of_thread): Unconditionally delegate.
182 * target.h (struct target_ops) <to_core_of_thread>: Use
183 TARGET_DEFAULT_RETURN.
185 2014-02-19 Tom Tromey <tromey@redhat.com>
187 * target-delegates.c: Rebuild.
188 * target.c (target_flash_done): Unconditionally delegate.
189 * target.h (struct target_ops) <to_flash_done>: Use
190 TARGET_DEFAULT_NORETURN.
192 2014-02-19 Tom Tromey <tromey@redhat.com>
194 * target-delegates.c: Rebuild.
195 * target.c (target_flash_erase): Unconditionally delegate.
196 * target.h (struct target_ops) <to_flash_erase>: Use
197 TARGET_DEFAULT_NORETURN.
199 2014-02-19 Tom Tromey <tromey@redhat.com>
201 * target-delegates.c: Rebuild.
202 * target.c (target_get_section_table): Unconditionally delegate.
203 * target.h (struct target_ops) <to_get_section_table>: Use
204 TARGET_DEFAULT_RETURN.
206 2014-02-19 Tom Tromey <tromey@redhat.com>
208 * target-delegates.c: Rebuild.
209 * target.c (target_pid_to_str): Unconditionally delegate.
210 (init_dummy_target): Don't initialize to_pid_to_str.
211 (default_pid_to_str): Rename from dummy_pid_to_str.
212 * target.h (struct target_ops) <to_pid_to_str>: Use
215 2014-02-19 Tom Tromey <tromey@redhat.com>
217 * target-delegates.c: Rebuild.
218 * target.c (target_find_new_threads): Unconditionally delegate.
219 * target.h (struct target_ops) <to_find_new_threads>: Use
220 TARGET_DEFAULT_RETURN.
222 2014-02-19 Tom Tromey <tromey@redhat.com>
224 * target-delegates.c: Rebuild.
225 * target.c (target_program_signals): Unconditionally delegate.
226 * target.h (struct target_ops) <to_program_signals>: Use
227 TARGET_DEFAULT_IGNORE.
229 2014-02-19 Tom Tromey <tromey@redhat.com>
231 * target-delegates.c: Rebuild.
232 * target.c (target_pass_signals): Unconditionally delegate.
233 * target.h (struct target_ops) <to_pass_signals>: Use
234 TARGET_DEFAULT_IGNORE.
236 2014-02-19 Tom Tromey <tromey@redhat.com>
238 * target-delegates.c: Rebuild.
239 * target.c (default_mourn_inferior): New function.
240 (target_mourn_inferior): Unconditionally delegate.
241 * target.h (struct target_ops) <to_mourn_inferior>: Use
244 2014-02-19 Tom Tromey <tromey@redhat.com>
246 * target-delegates.c: Rebuild.
247 * target.c (default_follow_fork): New function.
248 (target_follow_fork): Unconditionally delegate.
249 * target.h (struct target_ops) <to_follow_fork>: Use
252 2014-02-19 Tom Tromey <tromey@redhat.com>
254 * target-delegates.c: Rebuild.
255 * target.c (target_kill): Unconditionally delegate.
256 * target.h (struct target_ops) <to_kill>: Use
257 TARGET_DEFAULT_NORETURN.
259 2014-02-19 Tom Tromey <tromey@redhat.com>
261 * target-delegates.c: Rebuild.
262 * target.c (target_masked_watch_num_registers): Unconditionally
264 * target.h (struct target_ops) <to_masked_watch_num_registers>:
265 Use TARGET_DEFAULT_RETURN.
267 2014-02-19 Tom Tromey <tromey@redhat.com>
269 * target-delegates.c: Rebuild.
270 * target.c (target_remove_mask_watchpoint): Unconditionally
272 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
273 TARGET_DEFAULT_RETURN.
275 2014-02-19 Tom Tromey <tromey@redhat.com>
277 * target-delegates.c: Rebuild.
278 * target.c (target_insert_mask_watchpoint): Unconditionally
280 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
281 TARGET_DEFAULT_RETURN.
283 2014-02-19 Tom Tromey <tromey@redhat.com>
285 * target-delegates.c: Rebuild.
286 * target.c (target_ranged_break_num_registers): Unconditionally
288 * target.h (struct target_ops) <to_ranged_break_num_registers>:
289 Use TARGET_DEFAULT_RETURN.
291 2014-02-19 Tom Tromey <tromey@redhat.com>
293 * target-delegates.c: Rebuild.
294 * target.c (target_fetch_registers): Unconditionally delegate.
295 * target.h (struct target_ops) <to_fetch_registers>: Use
296 TARGET_DEFAULT_NORETURN.
298 2014-02-19 Tom Tromey <tromey@redhat.com>
300 * target-delegates.c: Rebuild.
301 * target.c (update_current_target): Don't inherit or default
303 * target.h (struct target_ops) <to_stop>: Use
304 TARGET_DEFAULT_IGNORE.
306 2014-02-19 Tom Tromey <tromey@redhat.com>
308 * target-delegates.c: Rebuild.
309 * target.c (update_current_target): Don't inherit or default
310 to_can_run_breakpoint_commands.
311 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
312 Use TARGET_DEFAULT_RETURN.
314 2014-02-19 Tom Tromey <tromey@redhat.com>
316 * target-delegates.c: Rebuild.
317 * target.c (update_current_target): Don't inherit or default
318 to_supports_evaluation_of_breakpoint_conditions.
319 * target.h (struct target_ops)
320 <to_supports_evaluation_of_breakpoint_conditions>: Use
321 TARGET_DEFAULT_RETURN.
323 2014-02-19 Tom Tromey <tromey@redhat.com>
325 * target-delegates.c: Rebuild.
326 * target.c (update_current_target): Don't inherit or default
327 to_augmented_libraries_svr4_read.
328 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
329 Use TARGET_DEFAULT_RETURN.
331 2014-02-19 Tom Tromey <tromey@redhat.com>
333 * target-delegates.c: Rebuild.
334 * target.c (update_current_target): Don't inherit or default
336 * target.h (struct target_ops) <to_can_use_agent>: Use
337 TARGET_DEFAULT_RETURN.
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
344 * target.h (struct target_ops) <to_use_agent>: Use
345 TARGET_DEFAULT_NORETURN.
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
352 (return_null): Remove.
353 * target.h (struct target_ops) <to_traceframe_info>: 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_static_tracepoint_markers_by_strid.
361 * target.h (struct target_ops)
362 <to_static_tracepoint_markers_by_strid>: Use
363 TARGET_DEFAULT_NORETURN.
365 2014-02-19 Tom Tromey <tromey@redhat.com>
367 * target-delegates.c: Rebuild.
368 * target.c (update_current_target): Don't inherit or default
369 to_static_tracepoint_marker_at.
370 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
371 Use TARGET_DEFAULT_RETURN.
373 2014-02-19 Tom Tromey <tromey@redhat.com>
375 * target-delegates.c: Rebuild.
376 * target.c (update_current_target): Don't inherit or default
378 * target.h (struct target_ops) <to_set_permissions>: Use
379 TARGET_DEFAULT_IGNORE.
381 2014-02-19 Tom Tromey <tromey@redhat.com>
383 * target-delegates.c: Rebuild.
384 * target.c (update_current_target): Don't inherit or default
386 * target.h (struct target_ops) <to_get_tib_address>: Use
387 TARGET_DEFAULT_NORETURN.
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
394 * target.h (struct target_ops) <to_set_trace_notes>: Use
395 TARGET_DEFAULT_RETURN.
397 2014-02-19 Tom Tromey <tromey@redhat.com>
399 * target-delegates.c: Rebuild.
400 * target.c (update_current_target): Don't initialize
401 to_set_trace_buffer_size.
402 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
403 TARGET_DEFAULT_IGNORE.
405 2014-02-19 Tom Tromey <tromey@redhat.com>
407 * target-delegates.c: Rebuild.
408 * target.c (update_current_target): Don't inherit or default
409 to_set_circular_trace_buffer.
410 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
411 TARGET_DEFAULT_IGNORE.
413 2014-02-19 Tom Tromey <tromey@redhat.com>
415 * target-delegates.c: Rebuild.
416 * target.c (update_current_target): Don't inherit or default
417 to_set_disconnected_tracing.
418 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
419 TARGET_DEFAULT_IGNORE.
421 2014-02-19 Tom Tromey <tromey@redhat.com>
423 * target-delegates.c: Rebuild.
424 * target.c (update_current_target): Don't inherit or default
425 to_get_min_fast_tracepoint_insn_len.
426 (return_minus_one): Remove.
427 * target.h (struct target_ops)
428 <to_get_min_fast_tracepoint_insn_len>: Use 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 inherit or default
434 to_get_raw_trace_data.
435 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
436 TARGET_DEFAULT_NORETURN.
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_upload_trace_state_variables.
443 * target.h (struct target_ops) <to_upload_trace_state_variables>:
444 Use TARGET_DEFAULT_RETURN.
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_upload_tracepoints.
451 * target.h (struct target_ops) <to_upload_tracepoints>: Use
452 TARGET_DEFAULT_RETURN.
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
459 * target.h (struct target_ops) <to_save_trace_data>: Use
460 TARGET_DEFAULT_NORETURN.
462 2014-02-19 Tom Tromey <tromey@redhat.com>
464 * target-delegates.c: Rebuild.
465 * target.c (update_current_target): Don't inherit or default
466 to_get_trace_state_variable_value.
467 * target.h (struct target_ops)
468 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
470 2014-02-19 Tom Tromey <tromey@redhat.com>
472 * target-delegates.c: Rebuild.
473 * target.c (update_current_target): Don't inherit or default
475 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
477 2014-02-19 Tom Tromey <tromey@redhat.com>
479 * target-delegates.c: Rebuild.
480 * target.c (update_current_target): Don't inherit or default
482 * target.h (struct target_ops) <to_trace_stop>: Use
483 TARGET_DEFAULT_NORETURN.
485 2014-02-19 Tom Tromey <tromey@redhat.com>
487 * target-delegates.c: Rebuild.
488 * target.c (update_current_target): Don't inherit or default
489 to_get_tracepoint_status.
490 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
491 TARGET_DEFAULT_NORETURN.
493 2014-02-19 Tom Tromey <tromey@redhat.com>
495 * target-delegates.c: Rebuild.
496 * target.c (update_current_target): Don't inherit or default
498 * target.h (struct target_ops) <to_get_trace_status>: Use
499 TARGET_DEFAULT_RETURN.
501 2014-02-19 Tom Tromey <tromey@redhat.com>
503 * target-delegates.c: Rebuild.
504 * target.c (update_current_target): Don't inherit or default
506 * target.h (struct target_ops) <to_trace_start>: Use
507 TARGET_DEFAULT_NORETURN.
509 2014-02-19 Tom Tromey <tromey@redhat.com>
511 * target-delegates.c: Rebuild.
512 * target.c (update_current_target): Don't inherit or default
513 to_trace_set_readonly_regions.
514 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
515 Use TARGET_DEFAULT_NORETURN.
517 2014-02-19 Tom Tromey <tromey@redhat.com>
519 * target-delegates.c: Rebuild.
520 * target.c (update_current_target): Don't inherit or default
521 to_disable_tracepoint.
522 * target.h (struct target_ops) <to_disable_tracepoint>: Use
523 TARGET_DEFAULT_NORETURN.
525 2014-02-19 Tom Tromey <tromey@redhat.com>
527 * target-delegates.c: Rebuild.
528 * target.c (update_current_target): Don't inherit or default
529 to_enable_tracepoint.
530 * target.h (struct target_ops) <to_enable_tracepoint>: Use
531 TARGET_DEFAULT_NORETURN.
533 2014-02-19 Tom Tromey <tromey@redhat.com>
535 * target-delegates.c: Rebuild.
536 * target.c (update_current_target): Don't inherit or default
537 to_download_trace_state_variable.
538 * target.h (struct target_ops) <to_download_trace_state_variable>:
539 Use TARGET_DEFAULT_NORETURN.
541 2014-02-19 Tom Tromey <tromey@redhat.com>
543 * target-delegates.c: Rebuild.
544 * target.c (update_current_target): Don't inherit or default
545 to_can_download_tracepoint.
546 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
547 TARGET_DEFAULT_RETURN.
549 2014-02-19 Tom Tromey <tromey@redhat.com>
551 * target-delegates.c: Rebuild.
552 * target.c (update_current_target): Don't inherit or default
553 to_download_tracepoint.
554 * target.h (struct target_ops) <to_download_tracepoint>: Use
555 TARGET_DEFAULT_NORETURN.
557 2014-02-19 Tom Tromey <tromey@redhat.com>
559 * target-delegates.c: Rebuild.
560 * target.c (update_current_target): Don't inherit or default
562 * target.h (struct target_ops) <to_trace_init>: Use
563 TARGET_DEFAULT_RETURN.
565 2014-02-19 Tom Tromey <tromey@redhat.com>
567 * target-delegates.c: Rebuild.
568 * target.c (update_current_target): Don't inherit or default
569 to_supports_string_tracing.
570 * target.h (struct target_ops) <to_supports_string_tracing>: Use
571 TARGET_DEFAULT_RETURN.
573 2014-02-19 Tom Tromey <tromey@redhat.com>
575 * target-delegates.c: Rebuild.
576 * target.c (update_current_target): Don't inherit or default
577 to_supports_enable_disable_tracepoint.
578 * target.h (struct target_ops)
579 <to_supports_enable_disable_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_supports_multi_process.
587 * target.h (struct target_ops) <to_supports_multi_process>: Use
588 TARGET_DEFAULT_RETURN.
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
594 to_get_ada_task_ptid.
595 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
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_thread_architecture.
603 * target.h (struct target_ops) <to_thread_architecture>: Use
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_execution_direction.
611 * target.h (struct target_ops) <to_execution_direction>: Use
614 2014-02-19 Tom Tromey <tromey@redhat.com>
616 * target-delegates.c: Rebuild.
617 * target.c (update_current_target): Don't inherit or default
618 to_can_execute_reverse.
619 * target.h (struct target_ops) <to_can_execute_reverse>: Use
620 TARGET_DEFAULT_RETURN.
621 (target_can_execute_reverse): Unconditionally delegate.
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
628 (dummy_goto_bookmark): Remove.
629 (init_dummy_target): Don't inherit or default to_goto_bookmark.
630 * target.h (struct target_ops) <to_goto_bookmark>: Use
631 TARGET_DEFAULT_NORETURN.
633 2014-02-19 Tom Tromey <tromey@redhat.com>
635 * target-delegates.c: Rebuild.
636 * target.c (update_current_target): Don't inherit or default
638 (dummy_get_bookmark): Remove.
639 (init_dummy_target): Don't inherit or default to_get_bookmark.
640 * target.h (struct target_ops) <to_get_bookmark>: Use
641 TARGET_DEFAULT_NORETURN
643 2014-02-19 Tom Tromey <tromey@redhat.com>
645 * target-delegates.c: Rebuild.
646 * target.c (update_current_target): Don't inherit or default
647 to_make_corefile_notes.
648 (init_dummy_target): Don't initialize to_make_corefile_notes.
649 * target.h (struct target_ops) <to_make_corefile_notes>: Use
652 2014-02-19 Tom Tromey <tromey@redhat.com>
654 * target-delegates.c: Rebuild.
655 * target.c (update_current_target): Don't inherit or default
656 to_find_memory_regions.
657 (init_dummy_target): Don't initialize to_find_memory_regions.
658 * target.h (struct target_ops) <to_find_memory_regions>: Use
661 2014-02-19 Tom Tromey <tromey@redhat.com>
663 * target-delegates.c: Rebuild.
664 * target.c (update_current_target): Don't inherit or default
666 * target.h (struct target_ops) <to_log_command>: Use
667 TARGET_DEFAULT_IGNORE.
668 (target_log_command): Unconditionally delegate.
670 2014-02-19 Tom Tromey <tromey@redhat.com>
672 * target-delegates.c: Rebuild.
673 * target.c (update_current_target): Don't inherit or default
675 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
676 TARGET_DEFAULT_RETURN.
678 2014-02-19 Tom Tromey <tromey@redhat.com>
680 * target-delegates.c: Rebuild.
681 * target.c (update_current_target): Don't inherit or default
683 (target_thread_name): Unconditionally delegate.
684 * target.h (struct target_ops) <to_thread_name>: Use
685 TARGET_DEFAULT_RETURN.
687 2014-02-19 Tom Tromey <tromey@redhat.com>
689 * target-delegates.c: Rebuild.
690 * target.c (update_current_target): Don't inherit or default
691 to_extra_thread_info.
692 * target.h (struct target_ops) <to_extra_thread_info>: Use
693 TARGET_DEFAULT_RETURN.
695 2014-02-19 Tom Tromey <tromey@redhat.com>
697 * target-delegates.c: Rebuild.
698 * target.c (update_current_target): Don't inherit or default
700 * target.h (struct target_ops) <to_has_exited>: Use
701 TARGET_DEFAULT_RETURN..
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
707 to_set_syscall_catchpoint.
708 (return_one): Remove.
709 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
710 TARGET_DEFAULT_RETURN.
712 2014-02-19 Tom Tromey <tromey@redhat.com>
714 * target-delegates.c: Rebuild.
715 * target.c (update_current_target): Don't inherit or default
716 to_insert_exec_catchpoint.
717 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
718 TARGET_DEFAULT_RETURN.
720 2014-01-08 Tom Tromey <tromey@redhat.com>
722 * target-delegates.c: Rebuild.
723 * target.c (update_current_target): Don't inherit or default
724 to_insert_exec_catchpoint.
725 * target.h (struct target_ops) <to_insert_exec_catchpoint>: 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
732 to_remove_vfork_catchpoint.
733 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: 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_insert_vfork_catchpoint.
741 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
742 TARGET_DEFAULT_RETURN.
744 2014-02-19 Tom Tromey <tromey@redhat.com>
746 * target-delegates.c: Rebuild.
747 * target.c (update_current_target): Don't inherit or default
748 to_remove_fork_catchpoint.
749 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
750 TARGET_DEFAULT_RETURN.
752 2014-02-19 Tom Tromey <tromey@redhat.com>
754 * target-delegates.c: Rebuild.
755 * target.c (update_current_target): Don't inherit or default
756 to_insert_fork_catchpoint.
757 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
758 TARGET_DEFAULT_RETURN.
760 2014-02-19 Tom Tromey <tromey@redhat.com>
762 * target-delegates.c: Rebuild.
763 * target.c (update_current_target): Don't inherit or default
764 to_post_startup_inferior.
765 * target.h (struct target_ops) <to_post_startup_inferior>: Use
766 TARGET_DEFAULT_IGNORE.
768 2014-02-19 Tom Tromey <tromey@redhat.com>
770 * target-delegates.c: Rebuild.
771 * target.c (update_current_target): Don't inherit or default
773 * target.h (struct target_ops) <to_load>: Use
774 TARGET_DEFAULT_NORETURN.
776 2014-02-19 Tom Tromey <tromey@redhat.com>
778 * target-delegates.c: Rebuild.
779 * target.c (update_current_target): Don't inherit or default
781 * target.h (struct target_ops) <to_terminal_info>: Use
784 2014-02-19 Tom Tromey <tromey@redhat.com>
786 * target-delegates.c: Rebuild.
787 * target.c (update_current_target): Don't inherit or default
788 to_terminal_save_ours.
789 * target.h (struct target_ops) <to_terminal_save_ours>: Use
790 TARGET_DEFAULT_IGNORE.
792 2014-02-19 Tom Tromey <tromey@redhat.com>
794 * target-delegates.c: Rebuild.
795 * target.c (update_current_target): Don't inherit or default
797 * target.h (struct target_ops) <to_terminal_ours>: Use
798 TARGET_DEFAULT_IGNORE.
800 2014-02-19 Tom Tromey <tromey@redhat.com>
802 * target-delegates.c: Rebuild.
803 * target.c (update_current_target): Don't inherit or default
804 to_terminal_ours_for_output.
805 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
806 TARGET_DEFAULT_IGNORE.
808 2014-02-19 Tom Tromey <tromey@redhat.com>
810 * target-delegates.c: Rebuild.
811 * target.c (update_current_target): Don't inherit or default
812 to_terminal_inferior.
813 * target.h (struct target_ops) <to_terminal_inferior>: Use
814 TARGET_DEFAULT_IGNORE.
816 2014-02-19 Tom Tromey <tromey@redhat.com>
818 * target-delegates.c: Rebuild.
819 * target.c (update_current_target): Don't inherit or default
821 * target.h (struct target_ops) <to_terminal_init>: Use
822 TARGET_DEFAULT_IGNORE.
824 2014-02-19 Tom Tromey <tromey@redhat.com>
826 * target-delegates.c: Rebuild.
827 * target.c (update_current_target): Don't inherit or default
828 to_can_accel_watchpoint_condition.
829 * target.h (struct target_ops)
830 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
832 2014-02-19 Tom Tromey <tromey@redhat.com>
834 * target-delegates.c: Rebuild.
835 * target.c (update_current_target): Don't inherit or default
836 to_region_ok_for_hw_watchpoint.
837 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
838 Use TARGET_DEFAULT_FUNC.
840 2014-02-19 Tom Tromey <tromey@redhat.com>
842 * target-delegates.c: Rebuild.
843 * target.c (update_current_target): Don't inherit or default
844 to_watchpoint_addr_within_range.
845 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
846 Use TARGET_DEFAULT_FUNC.
848 2014-02-19 Tom Tromey <tromey@redhat.com>
850 * target-delegates.c: Rebuild.
851 * target.c (update_current_target): Don't inherit or default
852 to_remove_watchpoint.
853 * target.h (struct target_ops) <to_remove_watchpoint>: Use
854 TARGET_DEFAULT_NORETURN.
856 2014-02-19 Tom Tromey <tromey@redhat.com>
858 * target-delegates.c: Rebuild.
859 * target.c (update_current_target): Don't inherit or default
860 to_insert_watchpoint.
861 * target.h (struct target_ops) <to_insert_watchpoint>: Use
862 TARGET_DEFAULT_RETURN.
864 2014-02-19 Tom Tromey <tromey@redhat.com>
866 * target-delegates.c: Rebuild.
867 * target.c (update_current_target): Don't inherit or default
868 to_remove_hw_breakpoint.
869 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
870 TARGET_DEFAULT_RETURN.
872 2014-02-19 Tom Tromey <tromey@redhat.com>
874 * target-delegates.c: Rebuild.
875 * target.c (update_current_target): Don't inherit or default
876 to_insert_hw_breakpoint.
877 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
878 TARGET_DEFAULT_RETURN.
880 2014-02-19 Tom Tromey <tromey@redhat.com>
882 * target-delegates.c: Rebuild.
883 * target.c (update_current_target): Don't inherit or default
884 to_can_use_hw_breakpoint.
885 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
886 TARGET_DEFAULT_RETURN.
888 2014-02-19 Tom Tromey <tromey@redhat.com>
890 * target-delegates.c: Rebuild.
891 * target.c (update_current_target): Don't inherit or default
893 * target.h (struct target_ops) <to_files_info>: Use
894 TARGET_DEFAULT_IGNORE.
896 2014-02-19 Tom Tromey <tromey@redhat.com>
898 * target-delegates.c: Rebuild.
899 * target.c (update_current_target): Don't inherit or default
901 * target.h (struct target_ops) <to_store>: Use
902 TARGET_DEFAULT_NORETURN.
904 2014-02-19 Tom Tromey <tromey@redhat.com>
906 * target-delegates.c: Rebuild.
907 * target.c (update_current_target): Don't inherit or default
909 * target.h (struct target_ops) <to_post_attach>: Use
910 TARGET_DEFAULT_IGNORE.
912 2014-02-19 Tom Tromey <tromey@redhat.com>
914 * target-delegates.c: Rebuild.
915 * target.c (update_current_target): Don't inherit or default
917 (default_rcmd): New function.
918 (do_monitor_command): Unconditionally delegate.
919 * target.h (struct target_ops) <to_rmcd>: Use
922 2014-02-19 Tom Tromey <tromey@redhat.com>
924 * target-delegates.c: Rebuild.
925 * target.c (init_dummy_target): Don't initialize to_attach.
926 (target_attach): Unconditionally delegate.
927 * target.h (struct target_ops) <to_attach>: Use
930 2014-02-19 Tom Tromey <tromey@redhat.com>
932 * target-delegates.c: Rebuild.
933 * target.c (target_detach): Unconditionally delegate.
934 (init_dummy_target): Don't initialize to_detach.
935 * target.h (struct target_ops) <to_detach>: Use
936 TARGET_DEFAULT_IGNORE.
938 2014-02-19 Tom Tromey <tromey@redhat.com>
940 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
942 (target_augmented_libraries_svr4_read): Add argument.
943 * target.c (update_current_target): Update.
944 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
947 2014-02-19 Tom Tromey <tromey@redhat.com>
949 * target.h (struct target_ops) <to_call_history_range>: Add
951 * target.c (target_call_history_range): Add argument.
952 * record-btrace.c (record_btrace_call_history_range): Add 'self'
954 (record_btrace_call_history_from): Update.
956 2014-02-19 Tom Tromey <tromey@redhat.com>
958 * target.h (struct target_ops) <to_call_history_from>: Add
960 * target.c (target_call_history_from): Add argument.
961 * record-btrace.c (record_btrace_call_history_from): Add 'self'
964 2014-02-19 Tom Tromey <tromey@redhat.com>
966 * target.h (struct target_ops) <to_call_history>: Add argument.
967 * target.c (target_call_history): Add argument.
968 * record-btrace.c (record_btrace_call_history): Add 'self'
971 2014-02-19 Tom Tromey <tromey@redhat.com>
973 * target.h (struct target_ops) <to_insn_history_range>: Add
975 * target.c (target_insn_history_range): Add argument.
976 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
978 (record_btrace_insn_history_from): Update.
980 2014-02-19 Tom Tromey <tromey@redhat.com>
982 * target.h (struct target_ops) <to_insn_history_from>: Add
984 * target.c (target_insn_history_from): Add argument.
985 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
988 2014-02-19 Tom Tromey <tromey@redhat.com>
990 * target.h (struct target_ops) <to_insn_history>: Add argument.
991 * target.c (target_insn_history): Add argument.
992 * record-btrace.c (record_btrace_insn_history): Add 'self'
995 2014-02-19 Tom Tromey <tromey@redhat.com>
997 * target.h (struct target_ops) <to_goto_record>: Add argument.
998 * target.c (target_goto_record): Add argument.
999 * record-full.c (record_full_goto): Add 'self' argument.
1000 * record-btrace.c (record_btrace_goto): Add 'self' argument.
1002 2014-02-19 Tom Tromey <tromey@redhat.com>
1004 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
1005 * target.c (target_goto_record_end): Add argument.
1006 * record-full.c (record_full_goto_end): Add 'self' argument.
1007 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
1009 2014-02-19 Tom Tromey <tromey@redhat.com>
1011 * target.h (struct target_ops) <to_goto_record_begin>: Add
1013 * target.c (target_goto_record_begin): Add argument.
1014 * record-full.c (record_full_goto_begin): Add 'self' argument.
1015 * record-btrace.c (record_btrace_goto_begin): Add 'self'
1018 2014-02-19 Tom Tromey <tromey@redhat.com>
1020 * target.h (struct target_ops) <to_record_is_replaying>: Add
1022 * target.c (target_record_is_replaying): Add argument.
1023 * record-full.c (record_full_is_replaying): Add 'self' argument.
1024 * record-btrace.c (record_btrace_is_replaying): Add 'self'
1026 (record_btrace_xfer_partial, record_btrace_store_registers)
1027 (record_btrace_prepare_to_store, record_btrace_resume)
1028 (record_btrace_wait, record_btrace_decr_pc_after_break)
1029 (record_btrace_find_new_threads, record_btrace_thread_alive):
1032 2014-02-19 Tom Tromey <tromey@redhat.com>
1034 * target.h (struct target_ops) <to_delete_record>: Add argument.
1035 * target.c (target_delete_record): Add argument.
1036 * record-full.c (record_full_delete): Add 'self' argument.
1038 2014-02-19 Tom Tromey <tromey@redhat.com>
1040 * target.h (struct target_ops) <to_save_record>: Add argument.
1041 * target.c (target_save_record): Add argument.
1042 * record-full.c (record_full_save): Add 'self' argument.
1043 (record_full_save): Add 'self' argument.
1045 2014-02-19 Tom Tromey <tromey@redhat.com>
1047 * target.h (struct target_ops) <to_info_record>: Add argument.
1048 * target.c (target_info_record): Add argument.
1049 * record.c (info_record_command): Add argument.
1050 * record-full.c (record_full_info): Add 'self' argument.
1051 * record-btrace.c (record_btrace_info): Add 'self' argument.
1053 2014-02-19 Tom Tromey <tromey@redhat.com>
1055 * target.h (struct target_ops) <to_stop_recording>: Add argument.
1056 * target.c (target_stop_recording): Add argument.
1057 * record.c (record_stop): Add argument.
1058 * record-btrace.c (record_btrace_stop_recording): Add 'self'
1061 2014-02-19 Tom Tromey <tromey@redhat.com>
1063 * target.h (struct target_ops) <to_read_btrace>: Add argument.
1064 * target.c (struct target_ops) <to_read_btrace>: Add argument.
1065 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
1067 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
1068 (_initialize_amd64_linux_nat): Use it.
1069 * i386-linux-nat.c (i386_linux_read_btrace): New function.
1070 (_initialize_i386_linux_nat): Use it.
1072 2014-02-19 Tom Tromey <tromey@redhat.com>
1074 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
1075 * target.c (target_teardown_btrace): Add argument.
1076 * remote.c (remote_teardown_btrace): Add 'self' argument.
1077 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
1079 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
1082 2014-02-19 Tom Tromey <tromey@redhat.com>
1084 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
1085 * target.c (target_disable_btrace): Add argument.
1086 * remote.c (remote_disable_btrace): Add 'self' argument.
1087 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
1089 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
1092 2014-02-19 Tom Tromey <tromey@redhat.com>
1094 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
1095 * target.c (target_enable_btrace): Add argument.
1096 * remote.c (remote_enable_btrace): Add 'self' argument.
1097 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
1099 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
1102 2014-02-19 Tom Tromey <tromey@redhat.com>
1104 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
1105 (target_can_use_agent): Add argument.
1106 * target.c (update_current_target): Update.
1107 * remote.c (remote_can_use_agent): Add 'self' argument.
1108 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
1110 2014-02-19 Tom Tromey <tromey@redhat.com>
1112 * target.h (struct target_ops) <to_use_agent>: Add argument.
1113 (target_use_agent): Add argument.
1114 * target.c (update_current_target): Update.
1115 * remote.c (remote_use_agent): Add 'self' argument.
1116 * inf-child.c (inf_child_use_agent): Add 'self' argument.
1118 2014-02-19 Tom Tromey <tromey@redhat.com>
1120 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
1121 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
1122 (target_traceframe_info): Add argument.
1123 * target.c (update_current_target): Update.
1124 * remote.c (remote_traceframe_info): Add 'self' argument.
1125 * ctf.c (ctf_traceframe_info): Add 'self' argument.
1127 2014-02-19 Tom Tromey <tromey@redhat.com>
1129 * target.h (target_static_tracepoint_markers_by_strid): Add
1131 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
1133 * target.c (update_current_target): Update.
1134 * remote.c (struct target_ops)
1135 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1136 * linux-nat.c (struct target_ops)
1137 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1139 2014-02-19 Tom Tromey <tromey@redhat.com>
1141 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1143 (target_static_tracepoint_marker_at): Add argument.
1144 * target.c (update_current_target): Update.
1145 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
1148 2014-02-19 Tom Tromey <tromey@redhat.com>
1150 * target.h (struct target_ops) <to_set_permissions>: Add argument.
1151 (target_set_permissions): Add argument.
1152 * target.c (update_current_target): Update.
1153 * remote.c (remote_set_permissions): Add 'self' argument.
1154 (remote_start_remote): Update.
1156 2014-02-19 Tom Tromey <tromey@redhat.com>
1158 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
1159 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
1160 (target_get_tib_address): Add argument.
1161 * target.c (update_current_target): Update.
1162 * remote.c (remote_get_tib_address): Add 'self' argument.
1164 2014-02-19 Tom Tromey <tromey@redhat.com>
1166 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
1167 (target_set_trace_notes): Add argument.
1168 * target.c (update_current_target): Update.
1169 * remote.c (remote_set_trace_notes): Add 'self' argument.
1171 2014-02-19 Tom Tromey <tromey@redhat.com>
1173 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
1175 (target_set_trace_buffer_size): Add argument.
1176 * target.c (update_current_target): Update.
1177 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
1179 2014-02-19 Tom Tromey <tromey@redhat.com>
1181 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
1183 (target_set_circular_trace_buffer): Add argument.
1184 * target.c (update_current_target): Update.
1185 * remote.c (remote_set_circular_trace_buffer): Add 'self'
1188 2014-02-19 Tom Tromey <tromey@redhat.com>
1190 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
1192 (target_set_disconnected_tracing): Add argument.
1193 * target.c (update_current_target): Update.
1194 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
1196 2014-02-19 Tom Tromey <tromey@redhat.com>
1198 * target.h (struct target_ops)
1199 <to_get_min_fast_tracepoint_insn_len>: Add argument.
1200 (target_get_min_fast_tracepoint_insn_len): Add argument.
1201 * target.c (update_current_target): Update.
1202 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
1205 2014-02-19 Tom Tromey <tromey@redhat.com>
1207 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
1209 (target_get_raw_trace_data): Add argument.
1210 * target.c (update_current_target): Update.
1211 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
1213 2014-02-19 Tom Tromey <tromey@redhat.com>
1215 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1217 (target_upload_trace_state_variables): Add argument.
1218 * target.c (update_current_target): Update.
1219 * remote.c (remote_upload_trace_state_variables): Add 'self'
1221 (remote_start_remote): Update.
1223 2014-02-19 Tom Tromey <tromey@redhat.com>
1225 * target.h (struct target_ops) <to_upload_tracepoints>: Add
1227 (target_upload_tracepoints): Add argument.
1228 * target.c (update_current_target): Update.
1229 * remote.c (remote_upload_tracepoints): Add 'self' argument.
1230 (remote_start_remote): Update.
1232 2014-02-19 Tom Tromey <tromey@redhat.com>
1234 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
1235 (target_save_trace_data): Add argument.
1236 * target.c (update_current_target): Update.
1237 * remote.c (remote_save_trace_data): Add 'self' argument.
1239 2014-02-19 Tom Tromey <tromey@redhat.com>
1241 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
1243 * target.h (struct target_ops)
1244 <to_get_trace_state_variable_value>: Add argument.
1245 (target_get_trace_state_variable_value): Add argument.
1246 * target.c (update_current_target): Update.
1247 * remote.c (remote_get_trace_state_variable_value): Add 'self'
1249 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
1251 2014-02-19 Tom Tromey <tromey@redhat.com>
1253 * tracepoint.c (tfile_trace_find): Add 'self' argument.
1254 * target.h (struct target_ops) <to_trace_find>: Add argument.
1255 (target_trace_find): Add argument.
1256 * target.c (update_current_target): Update.
1257 * remote.c (remote_trace_find): Add 'self' argument.
1258 * ctf.c (ctf_trace_find): Add 'self' argument.
1260 2014-02-19 Tom Tromey <tromey@redhat.com>
1262 * target.h (struct target_ops) <to_trace_stop>: Add argument.
1263 (target_trace_stop): Add argument.
1264 * target.c (update_current_target): Update.
1265 * remote.c (remote_trace_stop): Add 'self' argument.
1267 2014-02-19 Tom Tromey <tromey@redhat.com>
1269 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
1270 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
1272 (target_get_tracepoint_status): Add argument.
1273 * target.c (update_current_target): Update.
1274 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
1276 2014-02-19 Tom Tromey <tromey@redhat.com>
1278 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
1279 * target.h (struct target_ops) <to_get_trace_status>: Add
1281 (target_get_trace_status): Add argument.
1282 * target.c (update_current_target): Update.
1283 * remote.c (remote_get_trace_status): Add 'self' argument.
1284 (remote_start_remote, remote_can_download_tracepoint): Update.
1285 * ctf.c (ctf_get_trace_status): Add 'self' argument.
1287 2014-02-19 Tom Tromey <tromey@redhat.com>
1289 * target.h (struct target_ops) <to_trace_start>: Add argument.
1290 (target_trace_start): Add argument.
1291 * target.c (update_current_target): Update.
1292 * remote.c (remote_trace_start): Add 'self' argument.
1294 2014-02-19 Tom Tromey <tromey@redhat.com>
1296 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1298 (target_trace_set_readonly_regions): Add argument.
1299 * target.c (update_current_target): Update.
1300 * remote.c (remote_trace_set_readonly_regions): Add 'self'
1303 2014-02-19 Tom Tromey <tromey@redhat.com>
1305 * target.h (struct target_ops) <to_disable_tracepoint>: Add
1307 (target_disable_tracepoint): Add argument.
1308 * target.c (update_current_target): Update.
1309 * remote.c (remote_disable_tracepoint): Add 'self' argument.
1311 2014-02-19 Tom Tromey <tromey@redhat.com>
1313 * target.h (struct target_ops) <to_enable_tracepoint>: Add
1315 (target_enable_tracepoint): Add argument.
1316 * target.c (update_current_target): Update.
1317 * remote.c (remote_enable_tracepoint): Add 'self' argument.
1319 2014-02-19 Tom Tromey <tromey@redhat.com>
1321 * target.h (struct target_ops) <to_download_trace_state_variable>:
1323 (target_download_trace_state_variable): Add argument.
1324 * target.c (update_current_target): Update.
1325 * remote.c (remote_download_trace_state_variable): Add 'self'
1328 2014-02-19 Tom Tromey <tromey@redhat.com>
1330 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
1332 (target_can_download_tracepoint): Add argument.
1333 * target.c (update_current_target): Update.
1334 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
1336 2014-02-19 Tom Tromey <tromey@redhat.com>
1338 * target.h (struct target_ops) <to_download_tracepoint>: Add
1340 (target_download_tracepoint): Add argument.
1341 * target.c (update_current_target): Update.
1342 * remote.c (remote_download_tracepoint): Add 'self' argument.
1344 2014-02-19 Tom Tromey <tromey@redhat.com>
1346 * target.h (struct target_ops) <to_trace_init>: Add argument.
1347 (target_trace_init): Add argument.
1348 * target.c (update_current_target): Update.
1349 * remote.c (remote_trace_init): Add 'self' argument.
1351 2014-02-19 Tom Tromey <tromey@redhat.com>
1353 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1354 * target.c (target_fileio_readlink): Add argument.
1355 * remote.c (remote_hostio_readlink): Add 'self' argument.
1356 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1358 2014-02-19 Tom Tromey <tromey@redhat.com>
1360 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1361 * target.c (target_fileio_unlink): Add argument.
1362 * remote.c (remote_hostio_unlink): Add 'self' argument.
1363 (remote_file_delete): Update.
1364 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1366 2014-02-19 Tom Tromey <tromey@redhat.com>
1368 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1369 * target.c (target_fileio_close): Add argument.
1370 * remote.c (remote_hostio_close): Add 'self' argument.
1371 (remote_hostio_close_cleanup): Update.
1372 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1374 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1376 2014-02-19 Tom Tromey <tromey@redhat.com>
1378 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1379 * target.c (target_fileio_pread): Add argument.
1380 * remote.c (remote_hostio_pread): Add 'self' argument.
1381 (remote_bfd_iovec_pread, remote_file_get): Update.
1382 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1384 2014-02-19 Tom Tromey <tromey@redhat.com>
1386 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1387 * target.c (target_fileio_pwrite): Add argument.
1388 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1389 (remote_file_put): Update.
1390 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1392 2014-02-19 Tom Tromey <tromey@redhat.com>
1394 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1395 * target.c (target_fileio_open): Add argument.
1396 * remote.c (remote_hostio_open): Add 'self' argument.
1397 (remote_bfd_iovec_open): Add 'self' argument.
1398 (remote_file_put): Add 'self' argument.
1399 (remote_file_get): Add 'self' argument.
1400 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1402 2014-02-19 Tom Tromey <tromey@redhat.com>
1404 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1406 (target_can_run_breakpoint_commands): Add argument.
1407 * target.c (update_current_target): Update.
1408 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1410 (remote_insert_breakpoint): Add 'self' argument.
1411 (remote_insert_hw_breakpoint): Add 'self' argument.
1412 (remote_can_run_breakpoint_commands): Add 'self' argument.
1414 2014-02-19 Tom Tromey <tromey@redhat.com>
1416 * target.h (struct target_ops)
1417 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1418 (target_supports_evaluation_of_breakpoint_conditions): Add
1420 * target.c (update_current_target): Update.
1421 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1423 (remote_insert_breakpoint): Add 'self' argument.
1424 (remote_insert_hw_breakpoint): Add 'self' argument.
1425 (remote_supports_cond_breakpoints): Add 'self' argument.
1427 2014-02-19 Tom Tromey <tromey@redhat.com>
1429 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1431 (target_supports_string_tracing): Add argument.
1432 * target.c (update_current_target): Update.
1433 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1435 2014-02-19 Tom Tromey <tromey@redhat.com>
1437 * target.h (struct target_ops)
1438 <to_supports_disable_randomization>: Add argument.
1439 * target.c (find_default_supports_disable_randomization): Add
1441 (target_supports_disable_randomization): Add argument.
1442 (find_default_supports_disable_randomization): Add 'self'
1444 * remote.c (extended_remote_supports_disable_randomization): Add
1446 (remote_supports_disable_randomization): Add 'self' argument.
1447 (extended_remote_create_inferior): Update.
1448 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1451 2014-02-19 Tom Tromey <tromey@redhat.com>
1453 * target.h (struct target_ops)
1454 <to_supports_enable_disable_tracepoint>: Add argument.
1455 (target_supports_enable_disable_tracepoint): Add argument.
1456 * target.c (update_current_target): Update.
1457 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1460 2014-02-19 Tom Tromey <tromey@redhat.com>
1462 * target.h (struct target_ops) <to_supports_multi_process>: Add
1464 (target_supports_multi_process): Add argument.
1465 * target.c (update_current_target): Update.
1466 * remote.c (remote_supports_multi_process): Add 'self' argument.
1467 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1469 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1472 2014-02-19 Tom Tromey <tromey@redhat.com>
1474 * target.h (struct target_ops) <to_execution_direction>: Add
1476 (target_execution_direction): Add argument.
1477 * target.c (default_execution_direction): Add 'self' argument.
1478 * record-full.c (record_full_execution_direction): Add 'self'
1481 2014-02-19 Tom Tromey <tromey@redhat.com>
1483 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1485 (target_can_execute_reverse): Add argument.
1486 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1487 * record-full.c (record_full_can_execute_reverse): Add 'self'
1489 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1492 2014-02-19 Tom Tromey <tromey@redhat.com>
1494 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1495 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1497 (target_get_ada_task_ptid): Add argument.
1498 * target.c (update_current_target): Update.
1499 (default_get_ada_task_ptid): Add 'self' argument.
1500 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1501 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1502 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1504 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1506 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1508 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1510 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1511 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1514 2014-02-19 Tom Tromey <tromey@redhat.com>
1516 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1517 (target_goto_bookmark): Add argument.
1518 * target.c (dummy_goto_bookmark): Add 'self' argument.
1519 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1521 2014-02-19 Tom Tromey <tromey@redhat.com>
1523 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1524 (target_get_bookmark): Add argument.
1525 * target.c (dummy_get_bookmark): Add 'self' argument.
1526 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1528 2014-02-19 Tom Tromey <tromey@redhat.com>
1530 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1532 (target_make_corefile_notes): Add argument.
1533 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1534 * procfs.c (procfs_make_note_section): Add 'self' argument.
1535 (procfs_make_note_section): Add 'self' argument.
1536 (procfs_make_note_section): Add 'self' argument.
1537 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1539 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1540 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1541 * exec.c (exec_make_note_section): Add 'self' argument.
1542 (exec_make_note_section): Add 'self' argument.
1544 2014-02-19 Tom Tromey <tromey@redhat.com>
1546 * target.h (struct target_ops) <to_find_memory_regions>: Add
1548 (target_find_memory_regions): Add argument.
1549 * target.c (dummy_find_memory_regions): Add 'self' argument.
1550 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1551 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1552 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1553 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1554 * exec. (exec_do_find_memory_regions): New global.
1555 (exec_set_find_memory_regions): Rewrite.
1556 (exec_find_memory_regions): New function.
1557 (init_exec_ops): Use exec_find_memory_regions.
1559 2014-02-19 Tom Tromey <tromey@redhat.com>
1561 * target.h (struct target_ops) <to_supports_non_stop>: Add
1563 * target.c (find_default_supports_non_stop): Add argument.
1564 (target_supports_non_stop): Add argument.
1565 (find_default_supports_non_stop): Add 'self' argument.
1566 * remote.c (remote_supports_non_stop): Add 'self' argument.
1567 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1569 2014-02-19 Tom Tromey <tromey@redhat.com>
1571 * target.h (struct target_ops) <to_log_command>: Add argument.
1572 (target_log_command): Add argument.
1573 * serial.h (serial_log_command): Add 'self' argument.
1574 * serial.c (serial_log_command): Add 'self' argument.
1576 2014-02-19 Tom Tromey <tromey@redhat.com>
1578 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1579 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1581 (target_pid_to_exec_file): Add argument.
1582 * target.c (debug_to_pid_to_exec_file): Add argument.
1583 (update_current_target): Update.
1584 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1585 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1586 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1587 (linux_handle_extended_wait): Update.
1588 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1589 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1590 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1591 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1593 2014-02-19 Tom Tromey <tromey@redhat.com>
1595 * target.h (struct target_ops) <to_rcmd>: Add argument.
1596 (target_rcmd): Add argument.
1597 * target.c (debug_to_rcmd): Add argument.
1598 (update_current_target, do_monitor_command): Update.
1599 * remote.c (remote_rcmd): Add 'self' argument.
1600 * monitor.c (monitor_rcmd): Add 'self' argument.
1602 2014-02-19 Tom Tromey <tromey@redhat.com>
1604 * windows-nat.c (windows_stop): Add 'self' argument.
1605 * target.h (struct target_ops) <to_stop>: Add argument.
1606 * target.c (target_stop): Add argument.
1607 (debug_to_stop): Add argument.
1608 (update_current_target): Update.
1609 * remote.c (remote_stop): Add 'self' argument.
1610 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1611 (gdbsim_cntrl_c): Update.
1612 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1613 * procfs.c (procfs_stop): Add 'self' argument.
1614 * nto-procfs.c (procfs_stop): Add 'self' argument.
1615 * monitor.c (monitor_stop): Add 'self' argument.
1616 (monitor_open): Update.
1617 * linux-nat.c (linux_nat_stop): Add argument.
1618 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1619 * gnu-nat.c (gnu_stop): Add 'self' argument.
1620 * darwin-nat.c (darwin_stop): Add 'self' argument.
1622 2014-02-19 Tom Tromey <tromey@redhat.com>
1624 * target.h (struct target_ops) <to_thread_name>: Add argument.
1625 * target.c (target_thread_name): Add argument.
1626 (update_current_target): Update.
1627 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
1629 2014-02-19 Tom Tromey <tromey@redhat.com>
1631 * target.h (struct target_ops) <to_extra_thread_info>: Add
1633 (target_extra_thread_info): Add argument.
1634 * target.c (update_current_target): Update.
1635 * remote.c (remote_threads_extra_info): Add 'self' argument.
1636 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
1638 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
1639 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
1640 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
1642 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
1644 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
1646 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
1649 2014-02-19 Tom Tromey <tromey@redhat.com>
1651 * target.h (struct target_ops) <to_program_signals>: Add argument.
1652 * target.c (target_program_signals): Add argument.
1653 * remote.c (remote_program_signals): Add 'self' argument.
1655 2014-02-19 Tom Tromey <tromey@redhat.com>
1657 * target.h (struct target_ops) <to_pass_signals>: Add argument.
1658 * target.c (target_pass_signals): Add argument.
1659 * remote.c (remote_pass_signals): Add 'self' argument.
1660 (remote_start_remote): Update.
1661 * procfs.c (procfs_pass_signals): Add 'self' argument.
1662 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
1663 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
1664 (linux_nat_create_inferior, linux_nat_attach): Update.
1666 2014-02-19 Tom Tromey <tromey@redhat.com>
1668 * windows-nat.c (windows_can_run): Add 'self' argument.
1669 * target.h (struct target_ops) <to_can_run>: Add argument.
1670 (target_can_run): Add argument.
1671 * target.c (debug_to_can_run): Add argument.
1672 (update_current_target): Update.
1673 * nto-procfs.c (procfs_can_run): Add 'self' argument.
1674 * inf-child.c (inf_child_can_run): Add 'self' argument.
1675 * go32-nat.c (go32_can_run): Add 'self' argument.
1677 2014-02-19 Tom Tromey <tromey@redhat.com>
1679 * target.h (struct target_ops) <to_has_exited>: Add argument.
1680 (target_has_exited): Add argument.
1681 * target.c (debug_to_has_exited): Add argument.
1682 (update_current_target): Update.
1684 2014-02-19 Tom Tromey <tromey@redhat.com>
1686 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
1688 (target_set_syscall_catchpoint): Add argument.
1689 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
1691 * target.c (update_current_target): Update.
1693 2014-02-19 Tom Tromey <tromey@redhat.com>
1695 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
1697 (target_remove_exec_catchpoint): Add argument.
1698 * target.c (debug_to_remove_exec_catchpoint): Add argument.
1699 (update_current_target): Update.
1700 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
1703 2014-02-19 Tom Tromey <tromey@redhat.com>
1705 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
1707 (target_insert_exec_catchpoint): Add argument.
1708 * target.c (debug_to_insert_exec_catchpoint): Add argument.
1709 (update_current_target): Update.
1710 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
1713 2014-02-19 Tom Tromey <tromey@redhat.com>
1715 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
1717 (target_remove_vfork_catchpoint): Add argument.
1718 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
1719 (update_current_target): Update.
1720 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
1723 2014-02-19 Tom Tromey <tromey@redhat.com>
1725 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
1727 (target_insert_vfork_catchpoint): Add argument.
1728 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
1729 (update_current_target): Update.
1730 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
1733 2014-02-19 Tom Tromey <tromey@redhat.com>
1735 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
1737 (target_remove_fork_catchpoint): Add argument.
1738 * target.c (debug_to_remove_fork_catchpoint): Add argument.
1739 (update_current_target): Update.
1740 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
1743 2014-02-19 Tom Tromey <tromey@redhat.com>
1745 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
1747 (target_insert_fork_catchpoint): Add argument.
1748 * target.c (debug_to_insert_fork_catchpoint): Add argument.
1749 (update_current_target): Update.
1750 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
1753 2014-02-19 Tom Tromey <tromey@redhat.com>
1755 * target.h (struct target_ops) <to_post_startup_inferior>: Add
1757 (target_post_startup_inferior): Add argument.
1758 * target.c (debug_to_post_startup_inferior): Add argument.
1759 (update_current_target): Update.
1760 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
1762 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
1764 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
1766 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
1768 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
1770 (super_post_startup_inferior): Likewise.
1771 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
1773 (super_post_startup_inferior): Likewise.
1774 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
1775 Add 'self' argument.
1776 (super_post_startup_inferior): Likewise.
1778 2014-02-19 Tom Tromey <tromey@redhat.com>
1780 * target.h (struct target_ops) <to_load>: Add argument.
1781 * target.c (target_load): Add argument.
1782 (debug_to_load): Add argument.
1783 (update_current_target): Update.
1784 * remote.c (remote_load): Add 'self' argument.
1785 * remote-sim.c (gdbsim_load): Add 'self' argument.
1786 * remote-mips.c (mips_load): Add 'self' argument.
1787 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
1788 * monitor.c (monitor_load): Add 'self' argument.
1789 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
1791 2014-02-19 Tom Tromey <tromey@redhat.com>
1793 * target.h (struct target_ops) <to_terminal_info>: Add argument.
1794 (target_terminal_info): Add argument.
1795 * target.c (debug_to_terminal_info): Add argument.
1796 (default_terminal_info): Likewise.
1797 * inflow.c (child_terminal_info): Add 'self' argument.
1798 * inferior.h (child_terminal_info): Add 'self' argument.
1799 * go32-nat.c (go32_terminal_info): Add 'self' argument.
1801 2014-02-19 Tom Tromey <tromey@redhat.com>
1803 * target.h (struct target_ops) <to_terminal_save_ours>: Add
1805 (target_terminal_save_ours): Add argument.
1806 * target.c (debug_to_terminal_save_ours): Add argument.
1807 (update_current_target): Update.
1808 * inflow.c (terminal_save_ours): Add 'self' argument.
1809 * inferior.h (terminal_save_ours): Add 'self' argument.
1811 2014-02-19 Tom Tromey <tromey@redhat.com>
1813 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
1814 (target_terminal_ours): Add argument.
1815 * target.c (debug_to_terminal_ours): Add argument.
1816 (update_current_target): Update.
1817 * remote.c (remote_terminal_ours): Add 'self' argument.
1818 (remote_close): Update.
1819 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
1820 * inflow.c (terminal_ours): Add 'self' argument.
1821 * inferior.h (terminal_ours): Add 'self' argument.
1822 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1824 2014-02-19 Pedro Alves <palves@redhat.com>
1825 Tom Tromey <tromey@redhat.com>
1827 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
1829 (target_terminal_ours_for_output): Add argument.
1830 * target.c (debug_to_terminal_ours_for_output): Add argument.
1831 (update_current_target): Update.
1832 * inflow.c (terminal_ours_for_output): Add 'self' argument.
1833 * inferior.h (terminal_ours_for_output): Add 'self' argument.
1834 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1836 2014-02-19 Tom Tromey <tromey@redhat.com>
1838 * target.h (struct target_ops) <to_terminal_inferior>: Add
1840 * target.c (target_terminal_inferior): Add argument.
1841 (update_current_target): Update.
1842 * remote.c (remote_terminal_inferior): Add 'self' argument.
1843 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
1844 * inflow.c (terminal_inferior): Add 'self' argument.
1845 * inferior.h (terminal_inferior): Add 'self' argument.
1846 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
1847 (go32_terminal_inferior): Add 'self' argument.
1849 2014-02-19 Tom Tromey <tromey@redhat.com>
1851 * target.h (struct target_ops) <to_terminal_init>: Add argument.
1852 (target_terminal_init): Add argument.
1853 * target.c (debug_to_terminal_init): Add argument.
1854 (update_current_target): Update.
1855 * inflow.c (terminal_init_inferior): Add 'self' argument.
1856 * inferior.h (terminal_init_inferior): Add 'self' argument.
1857 * go32-nat.c (go32_terminal_init): Add 'self' argument.
1858 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
1860 2014-02-19 Tom Tromey <tromey@redhat.com>
1862 * target.h (struct target_ops)
1863 <to_can_accel_watchpoint_condition>: Add argument.
1864 (target_can_accel_watchpoint_condition): Add argument.
1865 * target.c (debug_to_can_accel_watchpoint_condition): Add
1867 (update_current_target): Update.
1868 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
1871 2014-02-19 Tom Tromey <tromey@redhat.com>
1873 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1875 (target_region_ok_for_hw_watchpoint): Add argument.
1876 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
1877 (default_region_ok_for_hw_watchpoint): Add argument.
1878 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
1879 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
1881 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
1883 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
1885 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
1887 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
1889 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
1891 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
1892 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
1894 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
1895 Add 'self' argument.
1897 2014-02-19 Tom Tromey <tromey@redhat.com>
1899 * target.h (struct target_ops) <to_insert_watchpoint>: Add
1901 (target_insert_watchpoint): Add argument.
1902 * target.c (debug_to_insert_watchpoint): Add argument.
1903 (update_current_target): Update.
1904 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
1905 * remote.c (remote_insert_watchpoint): Add 'self' argument.
1906 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
1907 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
1908 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
1909 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
1911 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
1912 (procfs_insert_hw_watchpoint): Add 'self' argument.
1913 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
1915 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
1917 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
1919 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
1920 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
1922 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
1925 2014-02-19 Tom Tromey <tromey@redhat.com>
1927 * target.h (struct target_ops) <to_remove_watchpoint>: Add
1929 (target_remove_watchpoint): Add argument.
1930 * target.c (debug_to_remove_watchpoint): Add argument.
1931 (update_current_target): Update.
1932 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
1933 * remote.c (remote_remove_watchpoint): Add 'self' argument.
1934 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
1935 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
1936 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
1937 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
1939 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
1940 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
1942 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
1944 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
1946 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
1947 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
1949 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
1952 2014-02-19 Tom Tromey <tromey@redhat.com>
1954 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
1956 (target_remove_hw_breakpoint): Add argument.
1957 * target.c (debug_to_remove_hw_breakpoint): Add argument.
1958 (update_current_target): Update.
1959 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
1960 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
1962 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
1963 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
1965 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
1968 2014-02-19 Tom Tromey <tromey@redhat.com>
1970 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
1972 (target_insert_hw_breakpoint): Add argument.
1973 * target.c (debug_to_insert_hw_breakpoint): Add argument.
1974 (update_current_target): Update.
1975 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
1976 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
1978 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
1979 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
1980 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
1982 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
1985 2014-02-19 Tom Tromey <tromey@redhat.com>
1987 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
1989 (target_can_use_hardware_watchpoint): Add argument.
1990 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
1991 (update_current_target): Update.
1992 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
1994 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
1996 * remote.c (remote_check_watch_resources): Add 'self' argument.
1997 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
1998 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
2000 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
2001 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
2003 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
2005 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
2007 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
2009 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
2011 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
2013 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
2014 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
2016 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
2019 2014-02-19 Tom Tromey <tromey@redhat.com>
2021 * target.h (struct target_ops) <to_post_attach>: Add argument.
2022 (target_post_attach): Add argument.
2023 * target.c (debug_to_post_attach): Add argument.
2024 (update_current_target): Update.
2025 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
2026 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
2027 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
2028 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
2029 * inf-child.c (inf_child_post_attach): Add 'self' argument.
2031 2014-02-19 Tom Tromey <tromey@redhat.com>
2033 * windows-nat.c (windows_close): Add 'self' argument.
2034 * tracepoint.c (tfile_close): Add 'self' argument.
2035 * target.h (struct target_ops) <to_close>: Add argument.
2036 * target.c (target_close): Add argument.
2037 (update_current_target): Update.
2038 * remote.c (remote_close): Add 'self' argument.
2039 * remote-sim.c (gdbsim_close): Add 'self' argument.
2040 * remote-mips.c (mips_close): Add 'self' argument.
2041 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
2042 * record-full.c (record_full_close): Add 'self' argument.
2043 * record-btrace.c (record_btrace_close): Add 'self' argument.
2044 * monitor.h (monitor_close): Add 'self' argument.
2045 * monitor.c (monitor_close): Add 'self' argument.
2046 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
2047 * linux-nat.c (linux_nat_close): Add argument.
2048 * go32-nat.c (go32_close): Add 'self' argument.
2049 * exec.c (exec_close_1): Add 'self' argument.
2050 * ctf.c (ctf_close): Add 'self' argument.
2051 * corelow.c (core_close): Add 'self' argument.
2052 (core_close_cleanup): Update.
2053 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
2054 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
2056 2014-02-19 Tom Tromey <tromey@redhat.com>
2058 * remote.c (remote_load): New function.
2059 (init_remote_ops): Use it.
2061 2014-02-19 Tom Tromey <tromey@redhat.com>
2063 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
2065 * common/linux-btrace.h (linux_supports_btrace): Update.
2066 * remote.c (remote_supports_btrace): Add "self" argument.
2067 * target-delegates.c: Rebuild.
2068 * target.c (target_supports_btrace): Remove.
2069 * target.h (struct target_ops) <to_supports_btrace>: Add
2070 target_ops argument.
2071 (target_supports_btrace): New define.
2073 2014-02-19 Tom Tromey <tromey@redhat.com>
2075 * record-full.c (record_full_beneath_to_resume_ops)
2076 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
2077 (record_full_beneath_to_wait)
2078 (record_full_beneath_to_store_registers_ops)
2079 (record_full_beneath_to_store_registers)
2080 (record_full_beneath_to_xfer_partial_ops)
2081 (record_full_beneath_to_xfer_partial)
2082 (record_full_beneath_to_insert_breakpoint_ops)
2083 (record_full_beneath_to_insert_breakpoint)
2084 (record_full_beneath_to_remove_breakpoint_ops)
2085 (record_full_beneath_to_remove_breakpoint)
2086 (record_full_beneath_to_stopped_by_watchpoint)
2087 (record_full_beneath_to_stopped_data_address)
2088 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
2089 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
2090 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
2091 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
2092 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
2093 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
2094 (tmp_to_stopped_data_address, tmp_to_async): Remove.
2095 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
2096 (record_full_resume, record_full_wait_1)
2097 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
2098 (record_full_store_registers, record_full_xfer_partial)
2099 (record_full_insert_breakpoint, record_full_remove_breakpoint)
2100 (record_full_async, record_full_core_xfer_partial): Use target
2102 * target-delegates.c: Rebuild.
2103 * target.c (current_xfer_partial): Remove.
2104 (update_current_target): Do not INHERIT or de_fault
2105 to_insert_breakpoint, to_remove_breakpoint,
2106 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
2107 to_is_async_p, to_async. Do not set to_xfer_partial field.
2108 (default_xfer_partial): Simplify.
2109 (current_xfer_partial): Remove.
2110 (target_wait, target_resume): Simplify.
2111 (find_default_can_async_p, find_default_is_async_p): Update.
2112 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
2113 to_xfer_partial, to_stopped_by_watchpoint,
2114 to_stopped_data_address.
2115 (target_store_registers): Simplify.
2116 (forward_target_remove_breakpoint)
2117 (forward_target_insert_breakpoint): Remove.
2118 (target_remove_breakpoint, target_insert_breakpoint)
2119 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
2120 * target.h (struct target_ops) <to_resume, to_wait,
2121 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
2122 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
2123 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
2125 (forward_target_remove_breakpoint)
2126 (forward_target_insert_breakpoint): Remove.
2127 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
2129 (record_btrace_insert_breakpoint): Delegate directly.
2131 2014-02-19 Tom Tromey <tromey@redhat.com>
2134 * target-delegates.c: New file.
2135 * target.c: Include target-delegates.c.
2136 (init_dummy_target): Call install_dummy_methods.
2137 (complete_target_initialization): Call install_delegators.
2138 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
2139 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
2140 * make-target-delegates: New file.
2142 2014-02-19 Tom Tromey <tromey@redhat.com>
2144 * record.c (find_record_target): Use find_target_at.
2145 * target.c (find_target_at): New function.
2146 * target.h (find_target_at): Declare.
2148 2014-02-19 Tom Tromey <tromey@redhat.com>
2150 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
2152 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
2154 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
2155 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
2157 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
2159 * linux-nat.c (save_sigtrap): Update.
2160 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
2161 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
2162 (linux_nat_close): Update.
2163 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
2165 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
2167 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
2168 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
2169 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
2170 (tmp_to_async): Add 'ops' argument.
2171 (record_full_stopped_by_watchpoint, record_full_async)
2172 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
2174 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
2175 (m32r_stopped_by_watchpoint): Add 'ops' argument.
2176 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
2177 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
2178 (remote_is_async_p, remote_async): Add 'ops' argument.
2179 (remote_stopped_data_address): Update.
2180 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
2181 * target.c (update_current_target)
2182 (find_default_can_async_p, find_default_is_async_p): Update.
2183 (init_dummy_target): Update.
2184 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
2185 * target.h (struct target_ops) <to_stopped_by_watchpoint,
2186 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
2187 (target_can_async_p, target_is_async_p, target_async)
2188 (target_stopped_by_watchpoint): Update.
2190 2014-02-19 Yao Qi <yao@codesourcery.com>
2193 * gdbarch.sh: Remove startup_gdbarch.
2194 * gdbarch.c: Regenerated.
2195 * gdbarch.h: Likewise.
2197 2014-02-17 Kevin Buettner <kevinb@redhat.com>
2199 * rl78-tdep.c (rl78_g10_register_name): New function.
2200 (rl78_return_value): Add g10 support.
2201 (rl78_gdbarch_init): Register rl78_g10_register_name for the
2204 2014-02-17 Doug Evans <xdje42@gmail.com>
2206 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
2207 (SUBDIR_GUILE_SRCS): Ditto.
2208 (scm-gsmob.o): Ditto.
2210 2014-02-17 Yao Qi <yao@codesourcery.com>
2212 * gnu-nat.c (ILL_RPC): Declare defined function.
2214 2014-02-17 Yao Qi <yao@codesourcery.com>
2216 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
2217 mach_msg_type_number_t.
2218 (gnu_write_inferior): Likewise.
2220 2014-02-17 Yao Qi <yao@codesourcery.com>
2222 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
2224 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
2225 (inf_validate_procs, inf_signal): Likewise.
2226 (S_exception_raise_request): Likewise.
2227 (do_mach_notify_dead_name): Likewise.
2228 (steal_exc_port): Likewise.
2229 (gnu_read_inferior): Change 'copy_count''s type to
2230 mach_msg_type_number_t.
2231 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
2234 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
2236 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
2237 flag. Adjust all users; in particular...
2238 (gnu_wait): ..., don't decrement its value in here...
2239 (gnu_create_inferior): ..., and instead set the flag in here,
2240 around the startup_inferior call, and call that one with
2241 START_INFERIOR_TRAPS_EXPECTED.
2243 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
2244 (ILL_RPC): ... new macro.
2245 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
2246 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
2247 (do_mach_notify_send_once, S_proc_setmsgport_reply)
2248 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
2249 functions with ILL_RPC macro.
2250 (S_proc_pid2task_reply, S_proc_task2pid_reply)
2251 (S_proc_task2proc_reply, S_proc_proc2task_reply)
2252 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
2253 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
2254 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
2255 (S_proc_getlogin_reply, S_proc_getsid_reply)
2256 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
2257 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
2258 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
2259 (S_proc_getnports_reply, S_proc_is_important_reply)
2260 (S_proc_get_code_reply): New stub functions, generated with
2263 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
2264 collected the type check structures.
2266 * reply_mig_hack.awk: Don't expect to see the auto keyword.
2268 2014-02-14 Doug Evans <dje@google.com>
2270 * target.c (target_write_partial): Fix result type.
2272 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2274 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
2275 the proper offsets to access fpregset_t.
2277 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
2279 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
2280 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
2281 * h8300-tdep.c (setmachinelist): Remove global.
2282 * hppa-tdep.c (hppa_sigtramp): Remove global.
2283 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
2284 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
2285 * ravenscar-thread.c (update_target_observer): Remove global.
2286 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
2288 2014-02-12 Tom Tromey <tromey@redhat.com>
2290 * common/rsp-low.c: Update comments.
2291 * common/rsp-low.h: Update comments.
2293 2014-02-12 Tom Tromey <tromey@redhat.com>
2295 * common/rsp-low.c (convert_ascii_to_int): Remove.
2296 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
2298 2014-02-12 Tom Tromey <tromey@redhat.com>
2300 * common/rsp-low.h (unhexify): Don't declare.
2301 * common/rsp-low.c (unhexify): Remove.
2303 2014-02-12 Tom Tromey <tromey@redhat.com>
2305 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
2306 * common/rsp-low.c (convert_int_to_ascii): Remove.
2308 2014-02-12 Tom Tromey <tromey@redhat.com>
2310 * common/rsp-low.h (hexify): Don't declare.
2311 * common/rsp-low.c (hexify): Remove.
2313 2014-02-12 Tom Tromey <tromey@redhat.com>
2315 * common/rsp-low.c (hexify): Never take strlen of argument.
2317 2014-02-12 Tom Tromey <tromey@redhat.com>
2319 * common/rsp-low.c (bin2hex): Never take strlen of argument.
2320 * remote.c (extended_remote_run, remote_rcmd)
2321 (remote_download_trace_state_variable, remote_save_trace_data)
2322 (remote_set_trace_notes): Update.
2323 * tracepoint.c (encode_source_string, tfile_write_status)
2324 (tfile_write_uploaded_tsv): Update.
2326 2014-02-12 Tom Tromey <tromey@redhat.com>
2328 * tracepoint.c: Include rsp-low.h.
2329 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
2330 * remote.c: Include rsp-low.h.
2331 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
2332 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
2333 (remote_unescape_input): Move to common/rsp-low.c.
2334 * common/rsp-low.h: New file.
2335 * common/rsp-low.c: New file.
2336 * Makefile.in (SFILES): Add common/rsp-low.c.
2337 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
2338 (COMMON_OBS): Add rsp-low.o.
2339 (rsp-low.o): New target.
2341 2014-02-12 Tom Tromey <tromey@redhat.com>
2343 * utils.h: Include print-utils.h.
2344 (host_address_to_string, plongest, pulongest, phex, phex_nz)
2345 (int_string, core_addr_to_string, core_addr_to_string_nz)
2346 (hex_string, hex_string_custom): Don't declare.
2347 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2348 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2349 (hex_string_custom, int_string, core_addr_to_string)
2350 (core_addr_to_string_nz, host_address_to_string): Move to
2351 common/print-utils.c.
2352 * common/print-utils.h: New file.
2353 * common/print-utils.c: New file
2354 * Makefile.in (SFILES): Add common/print-utils.c.
2355 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2356 (COMMON_OBS): Add print-utils.o.
2357 (print-utils.o): New target.
2359 2014-02-12 Tom Tromey <tromey@redhat.com>
2361 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2363 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2365 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2367 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2369 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2370 if a PT_IO ptrace request returns sucessfully but indicates that 0
2371 bytes were transferred.
2373 2014-02-12 Pedro Alves <palves@redhat.com>
2374 Kevin Buettner <kevinb@redhat.com>
2376 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2377 TYPE_INSTANCE_FLAG_CODE_SPACE.
2379 2014-02-12 Pedro Alves <palves@redhat.com>
2381 * h8300-tdep.c (pseudo_from_raw_register)
2382 (raw_from_pseudo_register): New functions.
2383 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2386 2014-02-12 Pedro Alves <palves@redhat.com>
2388 * h8300-tdep.c (h8300_register_sim_regno): New function.
2389 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2390 gdbarch_register_sim_regno hook.
2392 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2394 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2396 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2398 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2400 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2402 * obsd-tdep.h (obsd_init_abi): New prototype.
2403 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2404 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2405 (obsd_init_abi): New functions.
2406 * i386obsd-tdep.c: Include "obsd-tdep.h".
2407 (i386obsd_init_abi): Call obsd_init_abi.
2408 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2409 (amd64obsd_init_abi): Call obsd_init_abi.
2410 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2411 obsd-tdep.c to gdb_target_obs.
2413 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2415 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2416 double float arguments to 16-byte in the argument slots.
2418 2014-02-11 Doug Evans <xdje42@gmail.com>
2420 * configure.ac: Don't crash if pkg-config is not found and guile
2421 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2423 * configure: Regenerate.
2425 2014-02-11 Yao Qi <yao@codesourcery.com>
2427 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2428 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2429 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2430 * gnu-nat.c (gnu_xfer_memory): Likewise.
2431 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2432 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2433 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2434 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2436 2014-02-11 Yao Qi <yao@codesourcery.com>
2438 * target.h (enum target_xfer_error): Rename to ...
2439 (enum target_xfer_status): ... it. New. All users updated.
2440 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2442 (TARGET_XFER_STATUS_ERROR_P): New macro.
2443 (target_xfer_error_to_string): Remove declaration.
2444 (target_xfer_status_to_string): Declare.
2445 (target_xfer_partial_ftype): Adjust it.
2446 (struct target_ops) <to_xfer_partial>: Return
2447 target_xfer_status. Add argument xfered_len. Update
2449 * target.c (target_xfer_error_to_string): Rename to ...
2450 (target_xfer_status_to_string): ... it. New. All callers
2452 (target_read_live_memory): Likewise. Call target_xfer_partial
2453 instead of target_read.
2454 (memory_xfer_live_readonly_partial): Return
2455 target_xfer_status. Add argument xfered_len.
2456 (raw_memory_xfer_partial): Likewise.
2457 (memory_xfer_partial_1): Likewise.
2458 (memory_xfer_partial): Likewise.
2459 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2460 properly. Update debug message.
2461 (default_xfer_partial, current_xfer_partial): Likewise.
2462 (target_write_partial): Likewise.
2463 (target_read_partial): Likewise. All callers updated.
2464 (read_whatever_is_readable): Likewise.
2465 (target_write_with_progress): Likewise.
2466 (target_read_alloc_1): Likewise.
2468 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2469 * auxv.c (procfs_xfer_auxv): Likewise.
2470 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2471 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2472 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2473 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2474 * corefile.c (read_memory): Adjust.
2475 * corelow.c (core_xfer_partial): Likewise.
2476 * ctf.c (ctf_xfer_partial): Likewise.
2477 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2479 (darwin_xfer_partial): Likewise.
2480 * exec.c (section_table_xfer_memory_partial): Likewise. All
2482 (exec_xfer_partial): Likewise.
2483 * exec.h (section_table_xfer_memory_partial): Update
2485 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2487 (gnu_xfer_partial): Likewise.
2488 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2489 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2490 (ia64_hpux_xfer_solib_got): Likewise.
2491 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2492 type of 'partial_len' to ULONGEST.
2493 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2494 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2495 (linux_nat_xfer_partial): Likewise.
2496 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2497 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2498 * monitor.c (monitor_xfer_memory): Likewise.
2499 (monitor_xfer_partial): Likewise.
2500 * procfs.c (procfs_xfer_partial): Likewise.
2501 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2502 * record-full.c (record_full_xfer_partial): Likewise.
2503 (record_full_core_xfer_partial): Likewise.
2504 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2505 (gdbsim_xfer_partial): Likewise.
2506 * remote.c (remote_write_bytes_aux): Likewise. All callers
2508 (remote_write_bytes, remote_read_bytes): Likewise. All
2510 (remote_flash_erase): Likewise. All callers updated.
2511 (remote_write_qxfer): Likewise. All callers updated.
2512 (remote_read_qxfer): Likewise. All callers updated.
2513 (remote_xfer_partial): Likewise.
2514 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2515 (rs6000_xfer_shared_libraries): Likewise.
2516 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2517 (sol_thread_xfer_partial): Likewise.
2518 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2519 (sparc_xfer_partial): Likewise.
2520 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2522 (spu_xfer_partial): Likewise.
2523 * spu-multiarch.c (spu_xfer_partial): Likewise.
2524 * tracepoint.c (tfile_xfer_partial): Likewise.
2525 * windows-nat.c (windows_xfer_memory): Likewise.
2526 (windows_xfer_shared_libraries): Likewise.
2527 (windows_xfer_partial): Likewise.
2528 * valprint.c: Replace 'target_xfer_error' with
2529 'target_xfer_status' in comments.
2531 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2533 Checked in by Joel Brobecker <brobecker@adacore.com>.
2534 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2536 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2538 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2539 function parameters.
2541 2014-02-10 Will Newton <will.newton@linaro.org>
2543 * elfread.c (elf_rel_plt_read): Look for a .got section if
2544 looking up .got.plt fails.
2545 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2546 on address passed to elf_gnu_ifunc_record_cache.
2547 (elf_gnu_ifunc_resolve_addr): Likewise.
2548 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2550 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2552 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2553 (X_RETTURN): New macro.
2554 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2556 * sparc64-tdep.c (sparc64_init_abi): Hook
2557 sparc_in_function_epilogue_p.
2559 2014-02-10 Gary Benson <gbenson@redhat.com>
2561 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2562 Rename name_matcher to symbol_matcher.
2564 2014-02-10 Gary Benson <gbenson@redhat.com>
2566 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2567 Use expand_symtabs_file_matcher_ftype and
2568 expand_symtabs_symbol_matcher_ftype.
2570 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2572 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2573 (struct ada_symbol_cache): New.
2574 (ada_free_symbol_cache): Forward declare.
2575 (struct ada_pspace_data): New.
2576 (ada_pspace_data_handle): New static global.
2577 (get_ada_pspace_data, ada_pspace_data_cleanup)
2578 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2579 (cache_space, cache): Delete, now folded inside struct
2581 (ada_get_symbol_cache): New function.
2582 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2584 (_initialize_ada_language): Remove initialization of cache_space.
2585 Move call to observer_attach_inferior_exit up, grouping it
2586 with the other observer registrations inside this function.
2587 Rename command to be more general. Add call to
2588 register_program_space_data_with_cleanup.
2590 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2592 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2593 ada_new_objfile_observer.
2594 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2595 (_initialize_tasks): Update uses of ada_new_objfile_observer
2596 and ada_tasks_normal_stop_observer.
2598 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2600 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2601 returned by the 'Length attribute to integer.
2603 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2605 * ada-lang.c (_initialize_ada_language): Initialize
2606 cache_space obstack.
2608 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2610 * ada-lang.c (HASH_SIZE): New macro.
2611 (struct cache_entry): New type.
2612 (cache_space, cache): New static globals.
2613 (ada_clear_symbol_cache, find_entry): New functions.
2614 (lookup_cached_symbol, cache_symbol): Implement.
2615 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2616 (_initialize_ada_language): Attach ada_new_objfile_observer
2617 and ada_free_objfile_observer.
2619 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2621 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
2622 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
2623 struct block * parameter.
2624 (ada_lookup_symbol_list_worker): Constify local variable "block".
2625 Remove cast which is no longer necessary.
2627 2014-02-10 Doug Evans <xdje42@gmail.com>
2629 Add Guile as an extension language.
2630 * NEWS: Mention Guile scripting.
2631 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
2632 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
2633 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
2634 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
2635 (CLIBS): Add GUILE_LIBS.
2636 (install-guile): New rule.
2637 (guile.o): New rule.
2638 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
2639 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
2640 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
2641 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
2642 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
2643 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
2644 (scm-type.o, scm-utils.o, scm-value.o): New rules.
2645 * configure.ac: New option --with-guile.
2646 * configure: Regenerate.
2647 * config.in: Regenerate.
2648 * auto-load.c: Remove #include "python/python.h". Add #include
2649 "gdb/section-scripts.h".
2650 (source_section_scripts): Handle Guile scripts.
2651 (_initialize_auto_load): Add name of Guile objfile script to
2652 scripts-directory help text.
2653 * breakpoint.c (condition_command): Tweak comment to include Scheme.
2654 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
2655 (struct breakpoint): New member scm_bp_object.
2656 * defs.h (enum command_control_type): New value guile_control.
2657 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
2659 (show_user): Update comment.
2660 (_initialize_cli_cmds): Update help text for "show user". Update help
2661 text for max-user-call-depth.
2662 * cli/cli-script.c: Remove #include "python/python.h". Add #include
2664 (multi_line_command_p): Add guile_control.
2665 (print_command_lines): Handle guile_control.
2666 (execute_control_command, recurse_read_control_structure): Ditto.
2667 (process_next_line): Recognize "guile" commands.
2668 * disasm.c (gdb_disassemble_info): Make non-static.
2669 * disasm.h: #include "dis-asm.h".
2670 (struct gdbarch): Add forward decl.
2671 (gdb_disassemble_info): Declare.
2672 * extension.c: #include "guile/guile.h".
2673 (extension_languages): Add guile.
2674 (get_ext_lang_defn): Handle EXT_LANG_GDB.
2675 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
2676 * gdbtypes.c (get_unsigned_type_max): New function.
2677 (get_signed_type_minmax): New function.
2678 * gdbtypes.h (get_unsigned_type_max): Declare.
2679 (get_signed_type_minmax): Declare.
2680 * guile/README: New file.
2681 * guile/guile-internal.h: New file.
2682 * guile/guile.c: New file.
2683 * guile/guile.h: New file.
2684 * guile/scm-arch.c: New file.
2685 * guile/scm-auto-load.c: New file.
2686 * guile/scm-block.c: New file.
2687 * guile/scm-breakpoint.c: New file.
2688 * guile/scm-disasm.c: New file.
2689 * guile/scm-exception.c: New file.
2690 * guile/scm-frame.c: New file.
2691 * guile/scm-gsmob.c: New file.
2692 * guile/scm-iterator.c: New file.
2693 * guile/scm-lazy-string.c: New file.
2694 * guile/scm-math.c: New file.
2695 * guile/scm-objfile.c: New file.
2696 * guile/scm-ports.c: New file.
2697 * guile/scm-pretty-print.c: New file.
2698 * guile/scm-safe-call.c: New file.
2699 * guile/scm-string.c: New file.
2700 * guile/scm-symbol.c: New file.
2701 * guile/scm-symtab.c: New file.
2702 * guile/scm-type.c: New file.
2703 * guile/scm-utils.c: New file.
2704 * guile/scm-value.c: New file.
2705 * guile/lib/gdb.scm: New file.
2706 * guile/lib/gdb/boot.scm: New file.
2707 * guile/lib/gdb/experimental.scm: New file.
2708 * guile/lib/gdb/init.scm: New file.
2709 * guile/lib/gdb/iterator.scm: New file.
2710 * guile/lib/gdb/printing.scm: New file.
2711 * guile/lib/gdb/types.scm: New file.
2712 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
2713 (VPATH): Add $(GUILE_SRCDIR).
2714 (GUILE_DIR): New variable.
2715 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
2716 (all): Add stamp-guile dependency.
2717 (stamp-guile): New rule.
2718 (clean-guile, install-guile, uninstall-guile): New rules.
2719 (install-only): Add install-guile dependency.
2720 (uninstall): Add uninstall-guile dependency.
2721 (clean): Add clean-guile dependency.
2723 2014-02-09 Doug Evans <xdje42@gmail.com>
2725 Revert this patch (which I approved, mea culpa).
2727 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2729 * Makefile.in (all-lib): Remove.
2730 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2732 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2734 Fix Python stack corruption.
2735 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
2738 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2740 * Makefile.in (all-lib): Remove.
2741 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2743 2014-02-07 Doug Evans <dje@google.com>
2745 * extension-priv.h (extension_language_script_ops): Add comment.
2746 (extension_language_ops): Add comment.
2747 (active_ext_lang_state): Fix typo in comment.
2749 2014-02-07 Pedro Alves <palves@redhat.com>
2751 * infrun.c (handle_signal_stop) <signal arrives while stepping
2752 over a breakpoint>: Switch back to the stepping thread.
2754 2014-02-07 Yao Qi <yao@codesourcery.com>
2756 * target.c (target_xfer_partial): Return zero if LEN is zero.
2758 2014-02-07 Yao Qi <yao@codesourcery.com>
2760 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
2761 (ld_so_xfer_auxv): Likewise.
2762 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2763 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2764 * corelow.c (core_xfer_partial): Likewise.
2765 * ctf.c (ctf_xfer_partial): Likewise.
2766 * darwin-nat.c (darwin_read_dyld_info): Likewise.
2767 (darwin_xfer_partial): Likewise.
2768 * exec.c (exec_xfer_partial): Likewise.
2769 * gnu-nat.c (gnu_xfer_partial): Likewise.
2770 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
2771 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2772 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2773 * linux-nat.c (linux_xfer_siginfo): Likewise.
2774 (linux_proc_xfer_spu): Likewise.
2775 * procfs.c (procfs_xfer_partial): Likewise.
2776 * record-full.c (record_full_xfer_partial): Likewise.
2777 (record_full_core_xfer_partial): Likewise.
2778 * remote-sim.c (gdbsim_xfer_partial): Likewise.
2779 * remote.c (remote_write_qxfer): Likewise.
2780 (remote_write_qxfer, remote_read_qxfer): Likewise.
2781 (remote_xfer_partial): Likewise.
2782 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2783 (rs6000_xfer_shared_libraries): Likewise.
2784 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2785 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2786 (spu_xfer_partial): Likewise.
2787 * target.c (memory_xfer_partial_1): Likewise.
2788 * tracepoint.c (tfile_xfer_partial): Likewise.
2789 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
2790 (windows_xfer_partial): Likewise.
2792 2014-02-07 Yao Qi <yao@codesourcery.com>
2794 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
2796 (core_xfer_shared_libraries_aix): Likewise.
2797 * gdbarch.c, gdbarch.h: Regenerated.
2798 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
2799 ULONGEST. Change 'len_avail' type to ULONGEST.
2800 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
2801 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
2803 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
2805 2014-02-07 Yao Qi <yao@codesourcery.com>
2807 * corefile.c (memory_error): Get 'exception' from ERR and pass
2808 'exception' to throw_error.
2810 2014-02-06 Doug Evans <xdje42@gmail.com>
2812 * configure.ac (libpython checking): Remove all but python.o from
2813 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
2814 * configure: Regenerate.
2816 * Makefile.in (SFILES): Add extension.c.
2817 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
2818 (COMMON_OBS): Add extension.o.
2819 * extension.h: New file.
2820 * extension-priv.h: New file.
2821 * extension.c: New file.
2823 * python/python-internal.h: #include "extension.h".
2824 (gdbpy_auto_load_enabled): Declare.
2825 (gdbpy_apply_val_pretty_printer): Declare.
2826 (gdbpy_apply_frame_filter): Declare.
2827 (gdbpy_preserve_values): Declare.
2828 (gdbpy_breakpoint_cond_says_stop): Declare.
2829 (gdbpy_breakpoint_has_cond): Declare.
2830 (void source_python_script_for_objfile): Delete.
2831 * python/python.c: #include "extension-priv.h".
2832 Delete inclusion of "observer.h".
2833 (extension_language_python): Moved here and renamed from
2834 script_language_python in py-auto-load.c.
2835 Redefined to be of type extension_language_defn.
2836 (python_extension_script_ops): New global.
2837 (python_extension_ops): New global.
2838 (struct python_env): New member previous_active.
2839 (restore_python_env): Call restore_active_ext_lang.
2840 (ensure_python_env): Call set_active_ext_lang.
2841 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
2843 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
2845 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
2847 (gdbpy_eval_from_control_command): Renamed from
2848 eval_python_from_control_command, made static. New arg extlang.
2849 (gdbpy_source_script) Renamed from source_python_script, made static.
2851 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
2852 result to int. New arg extlang.
2853 (gdbpy_source_objfile_script): Renamed from
2854 source_python_script_for_objfile, made static. New arg extlang.
2855 (gdbpy_start_type_printers): Renamed from start_type_printers, made
2856 static. New args extlang, extlang_printers. Change result type to
2858 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
2859 static. New arg extlang. Rename arg printers to extlang_printers
2860 and change type to ext_lang_type_printers *.
2861 (gdbpy_free_type_printers): Renamed from free_type_printers, made
2862 static. Replace argument arg with extlang, extlang_printers.
2863 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
2864 (!HAVE_PYTHON, source_python_script): Delete.
2865 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
2866 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
2867 (!HAVE_PYTHON, start_type_printers): Delete.
2868 (!HAVE_PYTHON, apply_type_printers): Delete.
2869 (!HAVE_PYTHON, free_type_printers): Delete.
2870 (_initialize_python): Delete call to observer_attach_before_prompt.
2871 (finalize_python): Set/restore active extension language.
2872 (gdbpy_finish_initialization) Renamed from
2873 finish_python_initialization, made static. New arg extlang.
2874 (gdbpy_initialized): New function.
2875 * python/python.h: #include "extension.h". Delete #include
2876 "value.h", "mi/mi-cmds.h".
2877 (extension_language_python): Declare.
2878 (GDBPY_AUTO_FILE_NAME): Delete.
2879 (enum py_bt_status): Moved to extension.h and renamed to
2881 (enum frame_filter_flags): Moved to extension.h.
2882 (enum py_frame_args): Moved to extension.h and renamed to
2883 ext_lang_frame_args.
2884 (finish_python_initialization): Delete.
2885 (eval_python_from_control_command): Delete.
2886 (source_python_script): Delete.
2887 (apply_val_pretty_printer): Delete.
2888 (apply_frame_filter): Delete.
2889 (preserve_python_values): Delete.
2890 (gdbpy_script_language_defn): Delete.
2891 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
2892 (start_type_printers, apply_type_printers, free_type_printers): Delete.
2894 * auto-load.c: #include "extension.h".
2895 (GDB_AUTO_FILE_NAME): Delete.
2896 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
2897 (script_language_gdb): Delete, moved to extension.c and renamed to
2898 extension_language_gdb.
2899 (source_gdb_script_for_objfile): Delete.
2900 (auto_load_pspace_info): New member unsupported_script_warning_printed.
2901 (loaded_script): Change type of language member to
2902 struct extension_language_defn *.
2903 (init_loaded_scripts_info): Initialize
2904 unsupported_script_warning_printed.
2905 (maybe_add_script): Make static. Change type of language arg to
2906 struct extension_language_defn *.
2907 (clear_section_scripts): Reset unsupported_script_warning_printed.
2908 (auto_load_objfile_script_1): Rewrite to use extension language API.
2909 (auto_load_objfile_script): Make public. Remove support-compiled-in
2910 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
2911 (source_section_scripts): Rewrite to use extension language API.
2912 (load_auto_scripts_for_objfile): Rewrite to use
2913 auto_load_scripts_for_objfile.
2914 (collect_matching_scripts_data): Change type of language member to
2915 struct extension_language_defn *.
2916 (auto_load_info_scripts): Change type of language arg to
2917 struct extension_language_defn *.
2918 (unsupported_script_warning_print): New function.
2919 (script_not_found_warning_print): Make static.
2920 (_initialize_auto_load): Rewrite construction of scripts-directory
2922 * auto-load.h (struct objfile): Add forward decl.
2923 (struct script_language): Delete.
2924 (struct auto_load_pspace_info): Add forward decl.
2925 (struct extension_language_defn): Add forward decl.
2926 (maybe_add_script): Delete.
2927 (auto_load_objfile_script): Declare.
2928 (script_not_found_warning_print): Delete.
2929 (auto_load_info_scripts): Update prototype.
2930 (auto_load_gdb_scripts_enabled): Declare.
2931 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
2932 auto_load_python_scripts_enabled and made public.
2933 (script_language_python): Delete, moved to python.c.
2934 (gdbpy_script_language_defn): Delete.
2935 (info_auto_load_python_scripts): Update to use
2936 extension_language_python.
2938 * breakpoint.c (condition_command): Replace call to
2939 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
2940 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
2941 with call to breakpoint_ext_lang_cond_says_stop.
2942 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
2943 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
2944 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
2945 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
2947 (local_setattro): Print name of extension language with existing
2950 * valprint.c (val_print, value_print): Update to call
2951 apply_ext_lang_val_pretty_printer.
2952 * cp-valprint.c (cp_print_value): Update call to
2953 apply_ext_lang_val_pretty_printer.
2954 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
2955 (gdbpy_apply_val_pretty_printer): Renamed from
2956 apply_val_pretty_printer. New arg extlang.
2957 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
2959 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
2960 extension language API.
2961 * cli/cli-script.c (execute_control_command): Update to call
2962 eval_ext_lang_from_control_command.
2964 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
2965 enum ext_lang_bt_status values. Update call to
2966 apply_ext_lang_frame_filter.
2967 (mi_cmd_stack_list_locals): Ditto.
2968 (mi_cmd_stack_list_args): Ditto.
2969 (mi_cmd_stack_list_variables): Ditto.
2970 * mi/mi-main.c: Delete #include "python/python-internal.h".
2971 Add #include "extension.h".
2972 (mi_cmd_list_features): Replace reference to python internal variable
2973 gdb_python_initialized with call to ext_lang_initialized_p.
2975 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
2976 Update to use enum ext_lang_frame_args. Update to call
2977 apply_ext_lang_frame_filter.
2978 * python/py-framefilter.c (extract_sym): Update to use enum
2980 (extract_value, py_print_type, py_print_value): Ditto.
2981 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
2982 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
2983 (py_print_frame): Ditto.
2984 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
2985 New arg extlang. Update to use enum ext_lang_bt_status.
2987 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
2988 finish_python_initialization. Replace with call to
2989 finish_ext_lang_initialization.
2991 * typeprint.c (do_free_global_table): Update to call
2992 free_ext_lang_type_printers.
2993 (create_global_typedef_table): Update to call
2994 start_ext_lang_type_printers.
2995 (find_global_typedef): Update to call apply_ext_lang_type_printers.
2996 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
2997 (type_print_options): Change type of global_printers from "void *"
2998 to "struct ext_lang_type_printers *".
3000 * value.c (preserve_values): Update to call preserve_ext_lang_values.
3001 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
3002 (gdbpy_preserve_values): Renamed from preserve_python_values.
3004 (!HAVE_PYTHON, preserve_python_values): Delete.
3006 * utils.c (quit_flag): Delete, moved to extension.c.
3007 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
3010 * eval.c: Delete #include "python/python.h".
3011 * main.c: Delete #include "python/python.h".
3013 * defs.h: Update comment.
3015 2014-02-06 Joel Brobecker <brobecker@adacore.com>
3019 2014-02-05 Mark Kettenis <kettenis@gnu.org>
3021 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
3024 2014-02-05 Yao Qi <yao@codesourcery.com>
3026 * remote.c (remote_pass_signals): Remove local 'buf' and use
3028 (remote_program_signals): Likewise.
3030 2014-02-05 Yao Qi <yao@codesourcery.com>
3032 * ctf.c: Include "inferior.h" and "gdbthread.h".
3033 (CTF_PID): A new macro.
3034 (ctf_open): Call inferior_appeared and add_thread_silent.
3035 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
3036 (ctf_thread_alive): New function.
3037 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
3039 2014-02-05 Yao Qi <yao@codesourcery.com>
3043 2013-05-24 Yao Qi <yao@codesourcery.com>
3045 * tracepoint.c (TFILE_PID): Remove.
3046 (tfile_open): Don't add thread and inferior.
3047 (tfile_close): Don't set 'inferior_ptid'. Don't call
3048 exit_inferior_silent.
3049 (tfile_thread_alive): Remove.
3050 (init_tfile_ops): Don't set field 'to_thread_alive' of
3053 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
3055 * remote.c (remote_start_remote): Call remote_check_symbols even
3056 if only symbol-file (not file) has been given.
3058 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3060 * gdbarch.sh (skip_entrypoint): New callback.
3061 * gdbarch.c, gdbarch.h: Regenerate.
3062 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
3063 * infrun.c (fill_in_stop_func): Likewise.
3064 * ppc-linux-tdep.c: Include "elf/ppc64.h".
3065 (ppc_elfv2_elf_make_msymbol_special): New function.
3066 (ppc_elfv2_skip_entrypoint): Likewise.
3067 (ppc_linux_init_abi): Install them for ELFv2.
3069 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3071 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
3072 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
3073 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
3074 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
3075 structures returned in GPRs.
3077 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3079 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
3080 offset to the stack parameter list for the ELFv2 ABI.
3082 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3084 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
3085 set_gdbarch_convert_from_func_ptr_addr and
3086 set_gdbarch_elf_make_msymbol_special for ELFv1.
3087 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
3088 function descriptors on ELFv1.
3089 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
3090 set up r12 at function entry.
3092 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3094 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
3095 (struct gdbarch_tdep): New member elf_abi.
3097 * rs6000-tdep.c: Include "elf/ppc64.h".
3098 (rs6000_gdbarch_init): Detect ELF ABI version.
3100 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3102 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
3103 within a register pair holding a DFP 128-bit value on little-endian.
3104 (ppc64_sysv_abi_return_value_base): Likewise.
3105 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
3106 (dfp_pseudo_register_write): Likewise.
3108 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3110 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
3111 offset on little-endian when passing _Decimal32.
3112 (ppc64_sysv_abi_return_value_base): Likewise for return values.
3114 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3116 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
3117 of the overlapped FP register within the VSX register on little-
3119 (efpr_pseudo_register_write): Likewise.
3121 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3123 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
3124 offset on little-endian when passing small structures.
3126 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3128 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
3129 (struct ppc64_sysv_argpos): New data structure.
3130 (ppc64_sysv_abi_push_float): Remove.
3131 (ppc64_sysv_abi_push_val): New function.
3132 (ppc64_sysv_abi_push_integer): Likewise.
3133 (ppc64_sysv_abi_push_freg): Likewise.
3134 (ppc64_sysv_abi_push_vreg): Likewise.
3135 (ppc64_sysv_abi_push_param): Likewise.
3136 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
3137 (ppc64_sysv_abi_return_value_base): New function.
3138 (ppc64_sysv_abi_return_value): Refactor to use it.
3140 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3142 * NEWS: Document new target powerpc64le-*-linux*.
3144 2014-02-04 Mark Kettenis <kettenis@gnu.org>
3146 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
3147 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
3149 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
3150 register set used in ELF core dumps. Add floating-point register set.
3152 2014-02-03 Kevin Buettner <kevinb@redhat.com>
3154 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
3155 dwarf2_to_gdb[] table using symbolic constants. Adjust
3156 penultimate entry from number representing the PC register
3157 to symbolic constant representing the MDR register. Add
3158 constant for the PC register to the end of the table.
3160 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3162 * bsd-kvm.c: Include <sys/param.h>
3164 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3166 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
3168 2014-01-31 Joel Brobecker <brobecker@adacore.com>
3170 * ada-lang.h (clear_ada_sym_cache): Delete.
3172 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
3174 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
3176 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3178 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
3179 the sigreturn register save area only if the syscall is
3182 2014-01-29 Joel Brobecker <brobecker@adacore.com>
3184 * valops.c (value_slice): Minor reformatting.
3186 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
3188 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
3190 2014-01-28 Joel Brobecker <brobecker@adacore.com>
3192 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
3194 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
3195 (ada_ignore_descriptive_types_p): New static global.
3196 (find_parallel_type_by_descriptive_type): Return immediately
3197 if ada_ignore_descriptive_types_p is set.
3198 (_initialize_ada_language): Register new commands "maintenance
3199 set ada", "maintenance show ada", "maintenance set ada
3200 ignore-descriptive-types" and "maintenance show ada
3201 ignore-descriptive-types".
3202 * NEWS: Add entry for new "maint ada set/show
3203 ignore-descriptive-types" commands.
3205 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
3207 * record-btrace.c (record_btrace_close): Call btrace_teardown
3210 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3212 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
3215 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3217 * ada-typeprint (type_is_full_subrange_of_target_type):
3219 (print_range): Add parameter bounds_prefered_p. If not set,
3220 try printing range types using the name of their base type.
3221 (print_range_type): Add parameter bounds_prefered_p.
3222 Use it in call to print_range.
3223 (print_array_type, ada_print_type): Update calls to print_range
3224 and print_range_type.
3226 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3228 * ada-typeprint.c (print_array_type, print_choices, print_range)
3229 (print_range_bound, print_dynamic_range_bound, print_range_type):
3232 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3234 * ada-typeprint.c (print_range): Add missing empty line
3235 after local declaration.
3237 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3239 * ada-valprint.c (print_optional_low_bound): Get index_type's
3240 target type for as long as it is a TYPE_CODE_RANGE.
3242 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3244 * procfs.c (procfs_make_note_section): Remove assertion and
3247 2014-01-24 Yao Qi <yao@codesourcery.com>
3249 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
3250 * corelow.c (get_core_siginfo): Likewise.
3252 2014-01-24 Yao Qi <yao@codesourcery.com>
3254 * remote.c (remote_write_bytes_aux): Change type of 'len' to
3255 ULONGEST. Don't check 'len' is negative.
3256 (remote_write_bytes): Change type of 'len' to ULONGEST.
3258 2014-01-23 Tom Tromey <tromey@redhat.com>
3261 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
3262 Handle exception from frame.block.
3263 (FrameVars.fetch_frame_locals): Likewise.
3265 2014-01-23 Tom Tromey <tromey@redhat.com>
3268 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
3269 on a NULL pointer. Move "goto error" to correct place.
3271 2014-01-23 Tom Tromey <tromey@redhat.com>
3274 * python/py-framefilter.c (apply_frame_filter): Call
3275 ensure_python_env after computing gdbarch.
3277 2014-01-23 Yao Qi <yao@codesourcery.com>
3279 * target.c (raw_memory_xfer_partial): Change argument type
3280 from void * to gdb_byte *.
3281 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
3283 2014-01-22 Doug Evans <dje@google.com>
3285 New gdbserver option --debug-format=timestamp.
3288 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3290 * syscalls/s390x-linux.xml: New file.
3291 * syscalls/s390-linux.xml: New file.
3292 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
3293 (XML_SYSCALL_FILENAME_S390X): Likewise.
3294 (op_svc): New enum value for SVC opcode.
3295 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
3296 (s390_linux_get_syscall_number): New function.
3297 (s390_gdbarch_init): Register '*get_syscall_number' and the
3298 syscall xml file name.
3299 * data-directory/Makefile.in (SYSCALLS_FILES): Add
3300 "s390-linux.xml" and "s390x-linux.xml".
3301 * NEWS: Announce new feature.
3303 2014-01-22 Baruch Siach <baruch@tkos.co.il>
3305 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
3307 2014-01-22 Pedro Alves <palves@redhat.com>
3309 * xtensa-config.c: Include defs.h.
3311 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3313 * common/common-utils.h: Add "ARI:" comment beside __func__
3316 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3318 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
3319 documentation a bit.
3321 2014-01-21 Roland McGrath <mcgrathr@google.com>
3323 * configure.ac: Call AM_PROG_INSTALL_STRIP.
3324 * configure: Regenerate.
3325 * aclocal.m4: Regenerate.
3326 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
3327 New substituted variables.
3328 (install-strip): New target.
3329 (INSTALL_SCRIPT): New substituted variable.
3330 (FLAGS_TO_PASS): Add it.
3331 (install-only): Use $(INSTALL_SCRIPT) rather than
3332 $(INSTALL_PROGRAM) for gcore.
3334 2014-01-20 Tom Tromey <tromey@redhat.com>
3336 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
3339 2014-01-20 Tom Tromey <tromey@redhat.com>
3341 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
3342 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
3343 (deprecated_cmd_warning, complete_on_cmdlist): Update.
3344 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
3345 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3346 (struct cmd_list_element) <flags>: Remove.
3347 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3348 doc_allocated>: New fields.
3349 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3351 * maint.c (maintenance_do_deprecate): Update.
3352 * top.c (execute_command): Update.
3354 2014-01-20 Baruch Siach <baruch@tkos.co.il>
3356 * xtensa-linux-nat.c: Include asm/ptrace.h.
3358 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3360 * Makefile.in (SFILES): Add d-support.c.
3361 (COMMON_OBS): Add d-support.o.
3362 * d-lang.h (d_parse_symbol): Add comment, now defined in
3364 * d-lang.c (parse_call_convention)
3365 (parse_attributes, parse_function_types)
3366 (parse_function_args, parse_type, parse_identifier)
3367 (call_convention_p, d_parse_symbol): Move functions to ...
3368 * d-support.c: ... New file.
3370 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3372 * d-lang.h (d_parse_symbol): Add declaration.
3373 * d-lang.c (extract_identifiers)
3374 (extract_type_info): Remove functions.
3375 (parse_call_convention, parse_attributes)
3376 (parse_function_types, parse_function_args)
3377 (parse_type, parse_identifier, call_convention_p)
3378 (d_parse_symbol): New functions.
3379 (d_demangle): Use d_parse_symbol to demangle D symbols.
3381 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3383 * d-lang.h (struct builtin_d_type): New data type.
3384 (builtin_d_type): Add declaration.
3385 * d-lang.c (d_language_arch_info, build_d_types)
3386 (builtin_d_type): New functions.
3387 (enum d_primitive_types): New data type.
3388 (d_language_defn): Change c_language_arch_info to
3389 d_language_arch_info.
3390 (d_type_data): New static variable.
3391 (_initialize_d_language): Initialize d_type_data.
3393 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3395 * d-lang.h (d_main_name): Add declaration.
3396 * d-lang.c (d_main_name): New function.
3397 * symtab.c (find_main_name): Add call to d_main_name.
3399 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3401 * d-lang.c (d_language_defn): Change macro_expansion_c to
3404 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3406 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3408 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3410 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3411 gdb_exception" declaration.
3412 * remote.c (getpkt_or_notif_sane): Likewise.
3414 2014-01-17 Doug Evans <dje@google.com>
3416 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3417 function, contents of dirnames_to_char_ptr_vec_append moved here.
3418 (delim_string_to_char_ptr_vec): New function.
3419 (dirnames_to_char_ptr_vec_append): Rewrite.
3420 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3422 2014-01-17 Doug Evans <dje@google.com>
3424 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3426 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3427 #include "common-utils.h".
3428 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3429 * common/vec.h (VEC_ASSERT_PASS): Update.
3430 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3431 (MACH_CHECK_ERROR): Update.
3433 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3435 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3437 * gdbarch.h: Regenerate.
3439 2014-01-16 Tom Tromey <tromey@redhat.com>
3441 * value.c (struct value) <regnum>: Move earlier.
3443 2014-01-16 Tom Tromey <tromey@redhat.com>
3445 * remote.c (extended_remote_create_inferior): Rename from
3446 extended_remote_create_inferior_1. Add "ops" argument. Remove
3449 2014-01-16 Pedro Alves <palves@redhat.com>
3451 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3452 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3455 2014-01-16 Doug Evans <dje@google.com>
3457 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3459 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3461 * btrace.h (btrace_thread_flag): New.
3462 (struct btrace_thread_info) <flags>: New.
3463 * record-btrace.c (record_btrace_resume_thread)
3464 (record_btrace_find_thread_to_move, btrace_step_no_history)
3465 (btrace_step_stopped, record_btrace_start_replaying)
3466 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3467 (record_btrace_find_resume_thread): New.
3468 (record_btrace_resume, record_btrace_wait): Extend.
3469 (record_btrace_can_execute_reverse): New.
3470 (record_btrace_open): Fail in non-stop mode.
3471 (record_btrace_set_replay): Split into this, ...
3472 (record_btrace_stop_replaying): ... this, ...
3473 (record_btrace_clear_histories): ... and this.
3474 (init_record_btrace_ops): Init to_can_execute_reverse.
3475 * NEWS: Announce it.
3477 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3479 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3480 (forward_target_decr_pc_after_break)
3481 (target_decr_pc_after_break): New.
3482 * target.c (forward_target_decr_pc_after_break)
3483 (target_decr_pc_after_break): New.
3484 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3485 instead of gdbarch_decr_pc_after_break.
3486 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3487 instead of gdbarch_decr_pc_after_break.
3488 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3489 instead of gdbarch_decr_pc_after_break.
3490 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3491 instead of gdbarch_decr_pc_after_break.
3492 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3493 instead of gdbarch_decr_pc_after_break.
3494 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3495 instead of gdbarch_decr_pc_after_break.
3497 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3499 * btrace.c: Include regcache.h.
3500 (btrace_add_pc): New.
3501 (btrace_enable): Call btrace_add_pc.
3502 (btrace_is_empty): New.
3503 * btrace.h (btrace_is_empty): New.
3504 * record-btrace.c (require_btrace, record_btrace_info): Call
3507 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3509 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3510 Support delta reads.
3511 (linux_disable_btrace): Change return type.
3512 * common/linux-btrace.h (linux_read_btrace): Change parameters
3513 and return type to allow error reporting. Update users.
3514 (linux_disable_btrace): Change return type. Update users.
3515 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3517 (btrace_error): New.
3518 (btrace_block) <begin>: Comment on BEGIN == 0.
3519 * btrace.c (btrace_compute_ftrace): Start from the end of
3521 (btrace_stitch_trace, btrace_clear_history): New.
3522 (btrace_fetch): Read delta trace, return if replaying.
3523 (btrace_clear): Move clear history code to btrace_clear_history.
3524 (parse_xml_btrace): Throw an error if parsing failed.
3525 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3526 and return type to allow error reporting.
3527 (target_read_btrace): Change parameters and return type to allow
3529 * target.c (target_read_btrace): Update.
3530 * remote.c (remote_read_btrace): Support delta reads. Pass
3532 * NEWS: Announce it.
3534 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3536 * record.h (record_btrace_frame_unwind)
3537 (record_btrace_tailcall_frame_unwind): New declarations.
3538 * dwarf2-frame: Include record.h
3539 (dwarf2_frame_cfa): Throw an error for btrace frames.
3540 * record-btrace.c: Include hashtab.h.
3541 (btrace_get_bfun_name): New.
3542 (btrace_call_history): Call btrace_get_bfun_name.
3543 (struct btrace_frame_cache): New.
3545 (bfcache_hash, bfcache_eq, bfcache_new): New.
3546 (btrace_get_frame_function): New.
3547 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3548 (record_btrace_frame_this_id): Compute own id.
3549 (record_btrace_frame_prev_register): Provide PC, throw_error
3550 for all other registers.
3551 (record_btrace_frame_sniffer): Detect btrace frames.
3552 (record_btrace_tailcall_frame_sniffer): New.
3553 (record_btrace_frame_dealloc_cache): New.
3554 (record_btrace_frame_unwind): Add new functions.
3555 (record_btrace_tailcall_frame_unwind): New.
3556 (_initialize_record_btrace): Allocate cache.
3557 * btrace.c (btrace_clear): Call reinit_frame_cache.
3558 * NEWS: Announce it.
3560 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3562 * record-btrace.c (record_btrace_set_replay)
3563 (record_btrace_goto_begin, record_btrace_goto_end)
3564 (record_btrace_goto): New.
3565 (init_record_btrace_ops): Initialize them.
3566 * NEWS: Announce it.
3568 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3570 * record-btrace.c (record_btrace_find_new_threads)
3571 (record_btrace_thread_alive): New.
3572 (init_record_btrace_ops): Initialize to_find_new_threads and
3575 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3577 * record-btrace.c (record_btrace_resume): New.
3578 (record_btrace_wait): New.
3579 (init_record_btrace_ops): Initialize to_wait and to_resume.
3581 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3583 * record-btrace.c (record_btrace_xfer_partial)
3584 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3585 (record_btrace_allow_memory_access): New.
3586 (init_record_btrace_ops): Initialize new methods.
3587 * target.c (raw_memory_xfer_partial): Bail out if target reports
3588 that this memory is not available.
3590 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3592 * target.h (target_ops) <to_insert_breakpoint>
3593 <to_remove_breakpoint>: Add target_ops parameter.
3594 (forward_target_insert_breakpoint): New.
3595 (forward_target_remove_breakpoint): New.
3596 (memory_remove_breakpoint, memory_insert_breakpoint):
3597 Add target_ops parameter.
3598 * target.c (target_insert_breakpoint): Split into this and ...
3599 (forward_target_insert_breakpoint): ... this.
3600 (target_remove_breakpoint): Split into this and ...
3601 (forward_target_remove_breakpoint): ... this.
3602 (debug_to_insert_breakpoint): Add target_ops parameter.
3603 Call forward_target_insert_breakpoint.
3604 (debug_to_remove_breakpoint): Add target_ops parameter.
3605 Call forward_target_remove_breakpoint.
3606 (update_current_target): Do not inherit or default to_insert_breakpoint
3607 and to_remove_breakpoint.
3608 * corelow.c (ignore): Add target_ops parameter.
3609 * exec.c (ignore): Add target_ops parameter.
3610 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3611 Add target_ops parameter.
3612 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3613 Add target_ops parameter.
3614 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3615 Add target_ops parameter.
3616 * record-full.c (record_full_beneath_to_insert_breakpoint)
3617 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3618 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3619 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
3620 (record_full_core_remove_breakpoint): Add target_ops parameter.
3622 (record_full_beneath_to_insert_breakpoint_ops)
3623 (record_full_beneath_to_remove_breakpoint_ops)
3624 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
3625 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
3626 tmp_to_remove_breakpoint_ops,
3627 record_full_beneath_to_insert_breakpoint_ops, and
3628 record_full_beneath_to_remove_breakpoint_ops.
3629 * remote-m32r-sdi.c (m32r_insert_breakpoint)
3630 (m32r_remove_breakpoint): Add target_ops parameter.
3631 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
3632 Add target_ops parameter.
3633 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
3634 Add target_ops parameter.
3636 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3637 Markus Metzger <markus.t.metzger@intel.com>
3639 * record-btrace.c: Include frame-unwind.h.
3640 (record_btrace_frame_unwind_stop_reason)
3641 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
3642 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
3644 (init_record_btrace_ops): Install it.
3646 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3648 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
3651 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3653 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
3656 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3658 * frame-unwind.c: Include target.h.
3659 (frame_unwind_try_unwinder): New function with code from ...
3660 (frame_unwind_find_by_frame): ... here. New variable
3661 unwinder_from_target, call also target_get_unwinder)
3662 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
3663 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
3664 * target.h (struct target_ops): New fields to_get_unwinder and
3665 to_get_tailcall_unwinder.
3666 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
3668 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3670 * record-btrace.c (record_btrace_fetch_registers)
3671 (record_btrace_store_registers)
3672 (record_btrace_to_prepare_to_store): New.
3673 (init_record_btrace_ops): Add the above.
3675 2014-01-16 Tom Tromey <tromey@redhat.com>
3677 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
3678 * target.h (struct target_ops) <to_prepare_to_store>: Add
3680 (target_prepare_to_store): Add argument.
3681 * target.c (debug_to_prepare_to_store): Add argument.
3682 (update_current_target): Update.
3683 * remote.c (remote_prepare_to_store): Add 'self' argument.
3684 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
3685 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
3686 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
3687 * record-full.c (record_full_core_prepare_to_store): Add 'self'
3689 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
3690 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
3691 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
3692 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
3693 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
3695 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3697 * btrace.h (replay) <replay>: New.
3698 (btrace_is_replaying): New.
3699 * btrace.c (btrace_clear): Free replay iterator.
3700 (btrace_is_replaying): New.
3701 * record-btrace.c (record_btrace_is_replaying): New.
3702 (record_btrace_info): Print insn number if replaying.
3703 (record_btrace_insn_history): Start at replay position.
3704 (record_btrace_call_history): Start at replay position.
3705 (init_record_btrace_ops): Init to_record_is_replaying.
3707 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3709 * record-btrace.c (record_btrace_insn_history_range): Include
3711 (record_btrace_insn_history_from): Adjust range.
3712 (record_btrace_call_history_range): Include
3714 (record_btrace_call_history_from): Adjust range.
3715 * NEWS: Announce changes.
3717 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3719 * record.h (enum record_print_flag)
3720 <record_print_indent_calls>: New.
3721 * record.c (get_call_history_modifiers): Recognize /c modifier.
3722 (_initialize_record): Document /c modifier.
3723 * record-btrace.c (btrace_call_history): Add btinfo parameter.
3724 Reorder fields. Optionally indent the function name. Update
3726 * NEWS: Announce changes.
3728 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3730 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
3732 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3734 * btrace.c (ftrace_new_function): Start counting at one.
3735 * record-btrace.c (record_btrace_info): Adjust number of calls
3737 * NEWS: Announce it.
3739 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3741 * record-btrace.c (btrace_call_history_insn_range): Print
3742 insn range as [begin, end].
3744 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3746 * btrace.h (struct btrace_func_link): New.
3747 (enum btrace_function_flag): New.
3748 (struct btrace_inst): Rename to ...
3749 (struct btrace_insn): ...this. Update all users.
3750 (struct btrace_func) <ibegin, iend>: Remove.
3751 (struct btrace_func_link): New.
3752 (struct btrace_func): Rename to ...
3753 (struct btrace_function): ...this. Update all users.
3754 (struct btrace_function) <segment, flow, up, insn, insn_offset)
3755 (number, level, flags>: New.
3756 (struct btrace_insn_iterator): Rename to ...
3757 (struct btrace_insn_history): ...this.
3759 (struct btrace_insn_iterator, btrace_call_iterator): New.
3760 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
3761 (struct btrace_target_info) <begin, end, level>
3762 <insn_history, call_history>: New.
3763 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3764 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3765 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3766 (btrace_call_number, btrace_call_begin, btrace_call_end)
3767 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3768 (btrace_find_function_by_number, btrace_set_insn_history)
3769 (btrace_set_call_history): New.
3770 * btrace.c (btrace_init_insn_iterator)
3771 (btrace_init_func_iterator, compute_itrace): Remove.
3772 (ftrace_print_function_name, ftrace_print_filename)
3773 (ftrace_skip_file): Change
3775 (ftrace_init_func): Remove.
3776 (ftrace_debug): Use new btrace_function fields.
3777 (ftrace_function_switched): Also consider gaining and
3778 losing symbol information).
3779 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
3780 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
3781 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
3783 (ftrace_new_function): Move. Remove debug print.
3784 (ftrace_update_lines, ftrace_update_insns): New.
3785 (ftrace_update_function): Check for call, ret, and jump.
3786 (compute_ftrace): Renamed to ...
3787 (btrace_compute_ftrace): ...this. Rewritten to compute call
3789 (btrace_fetch, btrace_clear): Updated.
3790 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3791 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3792 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3793 (btrace_call_number, btrace_call_begin, btrace_call_end)
3794 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3795 (btrace_find_function_by_number, btrace_set_insn_history)
3796 (btrace_set_call_history): New.
3797 * record-btrace.c (require_btrace): Use new btrace thread
3799 (record_btrace_info, btrace_insn_history)
3800 (record_btrace_insn_history, record_btrace_insn_history_range):
3801 Use new btrace thread info fields and new iterator.
3802 (btrace_func_history_src_line): Rename to ...
3803 (btrace_call_history_src_line): ...this. Use new btrace
3805 (btrace_func_history): Rename to ...
3806 (btrace_call_history): ...this. Use new btrace thread info
3807 fields and new iterator.
3808 (record_btrace_call_history, record_btrace_call_history_range):
3809 Use new btrace thread info fields and new iterator.
3811 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3813 * frame.h (frame_id_build_unavailable_stack_special): New.
3814 * frame.c (frame_id_build_unavailable_stack_special): New.
3816 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3818 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
3819 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
3820 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
3822 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
3823 (i386_insn_is_jump, i386_jmp_p): New.
3824 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
3825 insn_is_jump to gdbarch.
3826 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
3827 * gdbarch.h: Regenerated.
3828 * gdbarch.c: Regenerated.
3829 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
3830 (default_insn_is_jump): New.
3831 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
3832 (default_insn_is_jump): New.
3834 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3836 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
3838 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
3839 (btrace_read_type) <btrace_read_new>: Change to ...
3840 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
3842 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3844 * common/linux-btrace.c (linux_read_btrace): Free trace from
3847 2014-01-15 Doug Evans <dje@google.com>
3849 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
3852 2014-01-15 Tom Tromey <tromey@redhat.com>
3854 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
3855 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
3856 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
3857 (set_objfile_main_name): New function.
3858 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
3859 language_of_main>: New fields.
3860 (set_objfile_main_name): Declare.
3861 * symtab.c (find_main_name): Loop over objfiles to find the main
3863 (set_main_name): Now static.
3864 (get_main_info): Add comment.
3865 * symtab.h (set_main_name): Don't declare.
3867 2014-01-15 Tom Tromey <tromey@redhat.com>
3869 * symtab.c (main_progspace_key): New global.
3870 (struct main_info): New.
3871 (name_of_main, language_of_main): Remove.
3872 (get_main_info, main_info_cleanup): New function.
3873 (set_main_name, main_name, main_language): Use get_main_info.
3874 (_initialize_symtab): Initialize main_progspace_key.
3876 2014-01-15 Tom Tromey <tromey@redhat.com>
3878 * dbxread.c (process_one_symbol): Update.
3879 * dwarf2read.c (read_partial_die): Update.
3880 * symfile.c (set_initial_language): Call main_language.
3881 * symtab.c (language_of_main): Now static.
3882 (set_main_name): Add 'lang' parameter.
3883 (find_main_name): Update.
3884 (main_language): New function.
3885 (symtab_observer_executable_changed): Update.
3886 * symtab.h (set_main_name): Update.
3887 (language_of_main): Remove.
3888 (main_language): Declare.
3890 2014-01-15 Tom Tromey <tromey@redhat.com>
3892 * symfile.c (init_entry_point_info): Use new "initialized" field.
3894 * objfiles.h (struct entry_point) <initialized>: New field.
3895 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
3896 (struct objfile) <ei>: ...here. Remove.
3897 * objfiles.c (entry_point_address_query): Update.
3899 2014-01-15 Tom Tromey <tromey@redhat.com>
3901 * objfiles.c (entry_point_address_query): Relocate entry point
3903 (objfile_relocate1): Do not relocate entry point address.
3904 * objfiles.h (struct entry_info) <entry_point>: Update comment.
3905 <the_bfd_section_index>: New field.
3906 * symfile.c (init_entry_point_info): Find the entry point's
3909 2014-01-15 Tom Tromey <tromey@redhat.com>
3911 * solib-frv.c (enable_break): Use entry_point_address_query.
3913 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3915 * NEWS: Add note on improved process record-replay on
3916 arm*-linux* targets.
3918 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3920 * arm-tdep.c (enum arm_record_result): New enum.
3921 (arm_record_unsupported_insn): New function.
3922 (arm_record_coproc_data_proc): Removed.
3923 (thumb2_record_ld_st_multiple): New function.
3924 (thumb2_record_ld_st_dual_ex_tbb): New function.
3925 (thumb2_record_data_proc_sreg_mimm): New function.
3926 (thumb2_record_ps_dest_generic): New function.
3927 (thumb2_record_branch_misc_cntrl): New function.
3928 (thumb2_record_str_single_data): New function.
3929 (thumb2_record_ld_mem_hints): New function.
3930 (thumb2_record_ld_word): New function.
3931 (thumb2_record_lmul_lmla_div): New function.
3932 (thumb2_record_decode_insn_handler): New function.
3933 (decode_insn): Add thumb32 instruction handlers.
3935 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3937 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
3938 (struct arm_linux_record_tdep): Declare.
3939 (arm_canonicalize_syscall): New function.
3940 (arm_all_but_pc_registers_record): New function.
3941 (arm_linux_syscall_record): New function.
3942 (arm_linux_init_abi): Add syscall recording constructs.
3943 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
3944 decoding. (arm_record_coproc_data_proc): Update arm syscall
3946 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
3947 <arm_syscall_record>: New field.
3948 * configure.tgt (arm*-*-linux*): Add linux-record.o to
3951 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3953 * arm-tdep.c (thumb_record_misc): Update to use sp as base
3954 register for push instruction recording.
3956 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3958 * arm-tdep.c (thumb_record_misc): Update to correct logical
3959 error while recording ldm, ldmia and pop instructions.
3961 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3963 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
3965 2014-01-15 Pedro Alves <palves@redhat.com>
3967 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
3968 (go32_resume, go32_fetch_registers, store_register)
3969 (go32_store_registers, go32_prepare_to_store)
3970 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
3971 (go32_create_inferior, go32_can_run, go32_terminal_init)
3972 (go32_terminal_inferior, go32_terminal_ours): Delete forward
3975 2014-01-15 Tom Tromey <tromey@redhat.com>
3977 * target.h (async_callback_ftype): New typedef.
3978 (struct target_ops) <to_async>: Use it.
3980 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3982 * python/py-value.c (get_field_type): Remove unnecessary curly
3983 braces for single-statement if block.
3985 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3987 * python/py-type.c (convert_field): Add missing empty line
3990 2014-01-14 Doug Evans <dje@google.com>
3992 * symfile.h (expand_symtabs_matching): Renamed from
3993 expand_partial_symbol_names. Update prototype.
3994 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3995 * symfile.c (expand_symtabs_matching): Renamed from
3996 expand_partial_symbol_names. New args file_matcher, kind.
3997 Rename arg fun to symbol_matcher.
3998 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3999 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
4000 ada_expand_partial_symbol_name.
4001 (ada_make_symbol_completion_list): Update to call
4002 expand_symtabs_matching.
4003 (ada_add_global_exceptions): Call expand_symtabs_matching.
4004 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
4005 call map_symbol_filenames.
4006 * symtab.c (sources_info): Update to call map_symbol_filenames.
4007 (search_symbols): Call expand_symtabs_matching.
4008 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
4009 (default_make_symbol_completion_list_break_on): Update to call
4010 expand_symtabs_matching.
4011 (make_source_files_completion_list): Update to call
4012 map_symbol_filenames.
4014 2014-01-14 Doug Evans <dje@google.com>
4016 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
4017 (expand_symtabs_symbol_matcher_ftype): New typedef.
4018 (quick_symbol_functions.expand_symtabs_matching): Update to use.
4019 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4020 * symfile.c (expand_partial_symbol_names): Update to use
4021 expand_symtabs_symbol_matcher_ftype.
4022 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
4023 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4024 Arg name_matcher renamed to symbol_matcher.
4025 * psymtab.c (recursively_search_psymtabs): Update to use
4026 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
4028 (expand_symtabs_matching_via_partial): Update to use
4029 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4030 Arg name_matcher renamed to symbol_matcher.
4032 2014-01-14 Doug Evans <dje@google.com>
4034 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
4035 (map_partial_symbol_filenames): Ditto.
4036 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
4037 (map_partial_symbol_filenames): Ditto.
4038 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
4039 (map_partial_symbol_filenames): Ditto.
4040 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
4041 (map_partial_symbol_filenames): Ditto.
4042 * symtab.c: Delete #include "psymtab.h".
4044 2014-01-14 Pedro Alves <palves@redhat.com>
4045 Tom Tromey <tromey@redhat.com>
4047 * infrun.c (use_displaced_stepping): Use find_record_target
4048 instead of RECORD_IS_USED.
4049 (adjust_pc_after_break): Use record_full_is_used instead of
4051 * record-btrace.c (record_btrace_open): Call record_preopen
4052 instead of checking RECORD_IS_USED.
4053 * record-full.c (record_full_shortname)
4054 (record_full_core_shortname): New globals.
4055 (record_full_is_used): New function.
4056 (find_full_open): Call record_preopen instead of checking
4058 (init_record_full_ops): Set the target's shortname to
4059 record_full_shortname.
4060 (init_record_full_core_ops): Set the target's shortname to
4061 record_full_core_shortname.
4062 * record-full.h (record_full_is_used): Declare.
4063 * record.c (find_record_target): Make extern.
4064 (record_preopen): New function.
4065 * record.h (RECORD_IS_USED): Delete macro.
4066 (find_record_target, record_preopen): Declare functions.
4068 2014-01-14 Yao Qi <yao@codesourcery.com>
4070 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
4071 'len''s type to ULONGEST.
4072 (core_xfer_shared_libraries_aix): Likewise.
4073 * gdbarch.c, gdbarch.h: Regenerated.
4074 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
4075 Change type of 'len' to ULONGEST.
4076 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4077 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
4079 2014-01-14 Yao Qi <yao@codesourcery.com>
4081 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
4082 type of 'len' to ULONGEST.
4083 (linux_xfer_osdata_processgroups): Likewise.
4084 (linux_xfer_osdata_threads): Likewise.
4085 (linux_xfer_osdata_fds): Likewise.
4086 (linux_xfer_osdata_isockets): Likewise.
4087 (linux_xfer_osdata_shm): Likewise.
4088 (linux_xfer_osdata_sem): Likewise.
4089 (linux_xfer_osdata_msg): Likewise.
4090 (linux_common_xfer_osdata): Likewise.
4091 (struct osdata_type) <getter>: Likewise.
4092 * common/linux-osdata.h (linux_common_xfer_osdata): Update
4095 2014-01-14 Yao Qi <yao@codesourcery.com>
4097 * target.h (target_xfer_partial_ftype): Update.
4098 (struct target_ops) <to_xfer_partial>: Change 'len' type to
4100 * aix-thread.c (aix_thread_xfer_partial): Change type of
4101 argument 'len' to ULONGEST.
4102 * auxv.c (procfs_xfer_auxv): Likewise.
4103 (ld_so_xfer_auxv): Likewise.
4104 (memory_xfer_auxv): Likewise.
4105 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4106 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4107 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4108 * corelow.c (core_xfer_partial): Likewise.
4109 * ctf.c (ctf_xfer_partial): Likewise.
4110 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
4112 (darwin_read_dyld_info): Likewise.
4113 (darwin_xfer_partial): Likewise.
4114 * exec.c (section_table_xfer_memory_partial): Likewise.
4115 (exec_xfer_partial): Likewise.
4116 * exec.h (section_table_xfer_memory_partial): Update
4118 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
4119 instead of plongest.
4120 (gnu_xfer_partial): Likewise.
4121 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
4122 (ia64_hpux_xfer_solib_got): Likewise.
4123 (ia64_hpux_xfer_partial): Likewise.
4124 * ia64-linux-nat.c (ia64_linux_xfer_partial):
4125 * inf-ptrace.c (inf_ptrace_xfer_partial):
4126 * inf-ttrace.c (inf_ttrace_xfer_partial):
4127 * linux-nat.c (linux_xfer_siginfo): Likewise.
4128 (linux_nat_xfer_partial): Likewise.
4129 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
4130 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
4131 * monitor.c (monitor_xfer_memory): Likewise.
4132 (monitor_xfer_partial): Likewise.
4133 * procfs.c (procfs_xfer_partial): Likewise.
4134 * record-full.c (record_full_xfer_partial): Likewise.
4135 (record_full_core_xfer_partial): Likewise.
4136 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
4137 instead of plongest.
4138 (gdbsim_xfer_partial): Likewise.
4139 * remote.c (remote_xfer_partial): Likewise.
4140 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4141 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4143 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4144 (rs6000_xfer_shared_libraries): Likewise.
4145 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4146 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4147 (sparc_xfer_partial): Likewise.
4148 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4149 (spu_xfer_partial): Likewise.
4150 * spu-multiarch.c (spu_xfer_partial): Likewise.
4151 * target.c (target_read_live_memory): Likewise.
4152 (memory_xfer_live_readonly_partial): Likewise.
4153 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
4154 (target_xfer_partial, default_xfer_partial): Likewise.
4155 (current_xfer_partial): Likewise.
4156 * tracepoint.c (tfile_xfer_partial): Likewise.
4157 * windows-nat.c (windows_xfer_memory): Likewise. Call
4158 pulongest instead of plongest.
4159 (windows_xfer_partial): Likewise.
4160 (windows_xfer_shared_libraries): Likewise.
4162 2014-01-14 Yao Qi <yao@codesourcery.com>
4164 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
4165 target_xfer_partial_ftype.
4167 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4171 * valops.c (value_struct_elt_bitpos): New function
4172 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
4173 object to 'None' if the field name is an empty string ("").
4174 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
4175 attribute to look for a field when 'name' is 'None'.
4176 (get_field_type): New function
4178 2014-01-13 Doug Evans <dje@google.com>
4181 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
4182 (try_open_dwop_file): Ditto.
4183 * gdb_bfd.c: #include "vec.h".
4184 (bfdp): New typedef.
4185 (struct gdb_bfd_data): New member included_bfds.
4186 (gdb_bfd_unref): Unref all included bfds.
4187 (gdb_bfd_record_inclusion): New function.
4188 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
4190 2014-01-13 Tom Tromey <tromey@redhat.com>
4192 * gdbcore.h (deprecated_core_resize_section_table): Remove.
4194 2014-01-13 Tom Tromey <tromey@redhat.com>
4196 * defs.h (use_windows): Remove.
4197 * gdb.c (main): Update.
4198 * main.c (captured_main, gdb_main): Update.
4199 * main.h (struct captured_main_args) <use_windows>: Remove.
4200 * top.c (use_windows): Remove.
4202 2014-01-13 Tom Tromey <tromey@redhat.com>
4204 * defs.h (deprecated_flush_hook): Remove.
4206 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4209 * linux-thread-db.c (try_thread_db_load): Add parameter
4210 check_auto_load_safe. Move here the file_is_auto_load_safe call.
4211 (try_thread_db_load_from_pdir_1): Move it there from here.
4212 (try_thread_db_load_from_sdir): Update caller.
4213 (try_thread_db_load_from_dir): Move it there from here.
4215 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
4217 * regformats/regdat.sh: Always rewrite the register file.
4219 2014-01-13 Pedro Alves <palves@redhat.com>
4221 * Makefile.in (CHECK_HEADERS): New variable.
4222 (check-headers:): New rule.
4224 2014-01-13 Tom Tromey <tromey@redhat.com>
4226 * cli/cli-setshow.c (do_set_command): Update.
4227 * defs.h (deprecated_set_hook): Remove.
4228 * top.c (deprecated_set_hook): Remove.
4230 2014-01-13 Pedro Alves <palves@redhat.com>
4232 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
4233 the tracepoint if the PC is a pseudo-register.
4235 2014-01-13 Tom Tromey <tromey@redhat.com>
4237 * defs.h (XCALLOC): Remove.
4238 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
4239 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
4240 * dwarf2loc.c (allocate_piece_closure): Likewise.
4241 * elfread.c (elf_symfile_segments): Likewise.
4242 (elf_symfile_segments): Likewise.
4243 * gdbtypes.c (copy_type_recursive): Likewise.
4244 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
4245 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
4246 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
4248 * mt-tdep.c (mt_gdbarch_init): Likewise.
4249 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
4251 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
4252 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
4253 * registry.c (registry_alloc_data): Likewise.
4254 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
4255 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
4256 * serial.c (serial_fdopen_ops): Likewise.
4257 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
4259 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
4260 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
4263 2014-01-13 Tom Tromey <tromey@redhat.com>
4265 * defs.h (XMALLOC): Remove.
4266 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
4267 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
4268 * cli-out.c (struct ui_out *): Likewise.
4269 * cli/cli-dump.c (add_dump_command): Likewise.
4270 (add_dump_command): Likewise.
4271 * complaints.c (get_complaints): Likewise.
4272 (find_complaint): Likewise.
4273 * dwarf2-frame.c (execute_cfa_program): Likewise.
4274 * dwarf2read.c (abbrev_table_read_table): Likewise.
4275 * gdbarch.sh: Likewise.
4276 * gdbarch.c: Rebuild.
4277 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
4278 * interps.c (interp_new): Likewise.
4279 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
4280 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
4281 * mi/mi-console.c (mi_console_file_new): Likewise.
4282 * mi/mi-interp.c (mi_interpreter_init): Likewise.
4283 * mi/mi-out.c (mi_out_new): Likewise.
4284 * mi/mi-parse.c (mi_parse): Likewise.
4285 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
4286 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
4287 * observer.c (xalloc_observer_list_node): Likewise.
4288 * regcache.c (regcache_xmalloc_1): Likewise.
4289 * reggroups.c (reggroup_new): Likewise.
4290 (_initialize_reggroup): Likewise.
4291 * registry.c (register_data_with_cleanup): Likewise.
4292 * remote.c (remote_notif_stop_alloc_reply): Likewise.
4293 * ser-base.c (serial_ttystate): Likewise.
4294 * ser-mingw.c (make_pipe_state): Likewise.
4295 * ser-pipe.c (pipe_open): Likewise.
4296 * serial.c (serial_open): Likewise.
4297 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
4298 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
4299 (tui_alloc_win_info): Likewise.
4300 (tui_add_content_elements): Likewise.
4301 * tui/tui-file.c (tui_file_new): Likewise.
4302 * tui/tui-out.c (tui_out_new): Likewise.
4303 * ui-file.c (mem_file_new): Likewise.
4304 * ui-out.c (push_level): Likewise.
4305 (make_cleanup_ui_out_end): Likewise.
4306 (append_header_to_list): Likewise.
4307 (ui_out_new): Likewise.
4308 * user-regs.c (user_reg_add_builtin): Likewise.
4310 2014-01-13 Tom Tromey <tromey@redhat.com>
4312 * defs.h (XZALLOC): Remove.
4313 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
4314 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
4315 (get_ada_tasks_inferior_data): Likewise.
4316 * auto-load.c (get_auto_load_pspace_data): Likewise.
4317 * auxv.c (get_auxv_inferior_data): Likewise.
4318 * bfd-target.c (target_bfd_reopen): Likewise.
4319 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
4320 (deprecated_insert_raw_breakpoint): Likewise.
4321 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
4322 * corelow.c (core_open): Likewise.
4323 * darwin-nat.c (darwin_check_new_threads): Likewise.
4324 (darwin_attach_pid): Likewise.
4325 * dummy-frame.c (dummy_frame_push): Likewise.
4326 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
4327 * dwarf2loc.c (allocate_piece_closure): Likewise.
4328 * elfread.c (elf_symfile_segments): Likewise.
4329 * eval.c (ptrmath_type_p): Likewise.
4330 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
4331 * gdbtypes.c (alloc_type_arch): Likewise.
4332 (alloc_type_instance): Likewise.
4333 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
4334 * inf-child.c (inf_child_can_use_agent): Likewise.
4335 * inflow.c (get_inflow_inferior_data): Likewise.
4336 * infrun.c (save_infcall_suspend_state): Likewise.
4337 * jit.c (jit_reader_load): Likewise.
4338 (get_jit_objfile_data): Likewise.
4339 (get_jit_program_space_data): Likewise.
4340 (jit_object_open_impl): Likewise.
4341 (jit_symtab_open_impl): Likewise.
4342 (jit_block_open_impl): Likewise.
4343 (jit_frame_sniffer): Likewise.
4344 * linux-fork.c (add_fork): Likewise.
4345 * maint.c (make_command_stats_cleanup): Likewise.
4346 * objfiles.c (get_objfile_pspace_data): Likewise.
4347 * opencl-lang.c (struct lval_closure): Likewise.
4348 * osdata.c (osdata_start_osdata): Likewise.
4349 * progspace.c (new_address_space): Likewise.
4350 (add_program_space): Likewise.
4351 * remote-sim.c (get_sim_inferior_data): Likewise.
4352 * sh-tdep.c (sh_gdbarch_init): Likewise.
4353 * skip.c (Ignore): Likewise.
4354 (skip_delete_command): Likewise.
4355 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4356 (library_list_start_library): Likewise.
4357 (solib_aix_current_sos): Likewise.
4358 * solib-darwin.c (get_darwin_info): Likewise.
4359 (darwin_current_sos): Likewise.
4360 * solib-dsbt.c (get_dsbt_info): Likewise.
4361 * solib-ia64-hpux.c (new_so_list): Likewise.
4362 (ia64_hpux_get_solib_linkage_addr): Likewise.
4363 * solib-spu.c (append_ocl_sos): Likewise.
4364 (spu_current_sos): Likewise.
4365 * solib-svr4.c (get_svr4_info): Likewise.
4366 (svr4_keep_data_in_core): Likewise.
4367 (library_list_start_library): Likewise.
4368 (svr4_default_sos): Likewise.
4369 (svr4_read_so_list): Likewise.
4370 * solib-target.c (library_list_start_library): Likewise.
4371 (solib_target_current_sos): Likewise.
4372 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4373 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4374 * symfile.c (default_symfile_segments): Likewise.
4375 * target-descriptions.c (tdesc_data_init): Likewise.
4376 (tdesc_create_reg): Likewise.
4377 (struct tdesc_type *): Likewise.
4378 (tdesc_create_vector): Likewise.
4379 (tdesc_set_struct_size): Likewise.
4380 (struct tdesc_type *): Likewise.
4381 (tdesc_free_feature): Likewise.
4382 (tdesc_create_feature): Likewise.
4383 * windows-nat.c (windows_add_thread): Likewise.
4384 (windows_make_so): Likewise.
4385 * xml-support.c (gdb_xml_body_text): Likewise.
4386 (gdb_xml_create_parser_and_cleanup): Likewise.
4387 (xml_process_xincludes): Likewise.
4388 * xml-syscall.c (allocate_syscalls_info): Likewise.
4389 (syscall_create_syscall_desc): Likewise.
4391 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4393 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4394 function, with code from i386_stap_parse_special_token.
4395 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4396 (i386_stap_parse_special_token): Move code to the two functions
4399 2014-01-09 Pedro Alves <palves@redhat.com>
4400 Hui Zhu <hui@codesourcery.com>
4403 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4404 bp_err_string. Don't mark the location shlib_disabled if the
4405 error thrown wasn't a generic or memory error. Catch errors
4406 thrown while inserting breakpoints in overlayed code. Output
4407 error message of software breakpoints.
4408 * remote.c (remote_insert_breakpoint): If this breakpoint has
4409 target-side commands but this stub doesn't support Z0 packets,
4410 throw NOT_SUPPORTED_ERROR error.
4411 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4412 * target.h (target_insert_breakpoint): Extend comment.
4413 (target_insert_hw_breakpoint): Add comment.
4415 2014-01-08 Pedro Alves <palves@redhat.com>
4417 * remote.c (remote_add_thread): Add threads silently if starting
4419 (remote_notice_new_inferior): If in all-stop, and starting up,
4420 don't call notice_new_inferior.
4421 (get_current_thread): New function, factored out from ...
4422 (add_current_inferior_and_thread): ... this. Adjust.
4423 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4424 found any thread, then select the remote's current thread as GDB's
4427 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4429 * NEWS: Create a new section for the next release branch.
4430 Rename the section of the current branch, now that it has
4433 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4435 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4436 * version.in: Bump version to 7.7.50.DATE-cvs.
4438 2014-01-08 Yao Qi <yao@codesourcery.com>
4440 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4441 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4442 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4444 2014-01-08 Yao Qi <yao@codesourcery.com>
4446 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4447 return value of bfd_get_filename to symbol_file_add_from_bfd.
4449 2014-01-08 Pierre Muller <muller@sourceware.org>
4452 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4453 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4454 to prim_record_mininal_symbol_and_info.
4455 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4456 in call to prim_record_minimal_symbol_and_info.
4457 (read_pe_exported_syms): Set index field of section_data.
4459 2014-01-07 Andrew Pinski <apinski@cavium.com>
4461 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4462 * features/aarch64.c: Regenerate.
4464 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4466 * target.c (return_null): Define.
4467 (update_current_target): Use it instead of return_zero for
4468 functions that return a pointer.
4470 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4472 * source.c (add_path): Fix check for duplicated paths in the previously
4475 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4477 * ada-lang.c: Remove duplicated include statements.
4478 * alphabsd-nat.c: Ditto.
4479 * amd64-darwin-tdep.c: Ditto.
4480 * amd64fbsd-nat.c: Ditto.
4481 * auto-load.c: Ditto.
4483 * breakpoint.c: Ditto.
4485 * fork-child.c: Ditto.
4486 * gdb_usleep.c: Ditto.
4487 * i386-darwin-tdep.c: Ditto.
4488 * i386fbsd-nat.c: Ditto.
4490 * inferior.c: Ditto.
4492 * linux-nat.c: Ditto.
4493 * linux-tdep.c: Ditto.
4494 * m68kbsd-nat.c: Ditto.
4495 * m68klinux-nat.c: Ditto.
4496 * microblaze-tdep.c: Ditto.
4497 * mips-linux-tdep.c: Ditto.
4498 * mn10300-tdep.c: Ditto.
4499 * nto-tdep.c: Ditto.
4500 * opencl-lang.c: Ditto.
4502 * printcmd.c: Ditto.
4503 * regcache.c: Ditto.
4504 * remote-m32r-sdi.c: Ditto.
4508 * tilegx-linux-nat.c: Ditto.
4509 * tilegx-tdep.c: Ditto.
4510 * tracepoint.c: Ditto.
4512 * vaxbsd-nat.c: Ditto.
4513 * windows-nat.c: Ditto.
4514 * xtensa-tdep.c: Ditto.
4516 2014-01-07 Yao Qi <yao@codesourcery.com>
4518 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4520 2014-01-07 Yao Qi <yao@codesourcery.com>
4521 Joel Brobecker <brobecker@adacore.com>
4523 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4524 (pdc_write_regs): Likewise.
4525 (fetch_regs_kernel_thread): Likewise.
4526 (store_regs_kernel_thread): Likewise.
4528 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4530 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4531 tagged type objects to their actual type.
4533 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4535 * ada-valprint.c (print_field_values): Add "language" parameter.
4536 Update calls to print_field_values and print_variant_part.
4537 Pass new parameter "language" in call to val_print instead
4538 of "current_language". Replace call to ada_val_print by call
4540 (print_variant_part): Add "language" parameter.
4541 (ada_val_print_struct_union): Update call to print_field_values.
4543 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4545 * ada-valprint.c (ui_memcpy): Delete.
4546 (ada_print_floating): Update documentation. Add empty line
4547 between between function documentation and implementation.
4548 Delete variable "buffer". Use ui_file_xstrdup in place of
4549 ui_file_put. Minor adjustments following this change.
4551 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4553 * ada-valprint.c (ada_val_print_string): New function,
4554 extracted from ada_val_print_array.
4555 (ada_val_print_array): Replace extracted code by call
4556 to ada_val_print_string followed by a return. Move
4557 "else" branch to the function's top block.
4559 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4561 * ada-valprint.c (ada_val_print_array): Move implementation
4562 down. Rename parameter "offset" and "val" into "offset_aligned"
4563 and "original_value" respectively. Add parameter "offset".
4565 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4567 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4568 re-organizing the code. Change the "???" message printed
4569 when target type is a TYPE_CODE_UNDEF into
4570 "<ref to undefined type>".
4572 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4574 * ada-valprint.c (print_record): Delete, implementation inlined...
4575 (ada_val_print_struct_union): ... here. Remove call to
4576 ada_check_typedef in inlined implementation.
4578 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4580 * ada-valprint.c (ada_val_print_gnat_array): New function,
4581 extracted from ada_val_print_1;
4582 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4583 (ada_val_print_flt, ada_val_print_struct_union)
4584 (ada_val_print_ref): Likewise.
4585 (ada_val_print_1): Delete variables i and elttype.
4586 Replace extracted-out code by call to corresponding
4589 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4591 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4593 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4595 * ada-valprint.c (ada_val_print_1): Replace calls to
4596 ada_val_print_1 by calls to val_print.
4598 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4600 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4601 Update calls to self accordingly. Replace calls to c_val_print
4602 by calls to val_print.
4604 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4606 * ada-valprint.c (print_record): Delete declaration.
4607 (adjust_type_signedness, ada_val_print_1): Likewise.
4608 (ada_val_print): Move function implementation down.
4609 (print_variant_part, print_field_values, print_record):
4610 Move function implementation up.
4612 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4614 * python/py-type.c (typy_get_name): New function.
4615 (type_object_getset): Add entry for attribute "name".
4616 * NEWS: Add entry mentioning this new attribute.
4618 2014-01-07 Yao Qi <yao@codesourcery.com>
4620 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
4623 2014-01-07 Yao Qi <yao@codesourcery.com>
4625 * gnu-nat.c (info_port_rights): Add qualifier const to
4628 2014-01-07 Yao Qi <yao@codesourcery.com>
4630 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
4632 2014-01-07 Yao Qi <yao@codesourcery.com>
4634 * gnu-nat.c (make_inf) Update declaration.
4635 (make_inf): Make it static.
4636 (inf_set_traced): Likewise.
4637 (inf_port_to_thread, inf_task_died_status): Likewise.
4639 2014-01-07 Yao Qi <yao@codesourcery.com>
4641 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
4643 2014-01-07 Yao Qi <yao@codesourcery.com>
4645 * gnu-nat.c (_initialize_gnu_nat): Declare.
4647 2014-01-07 Yao Qi <yao@codesourcery.com>
4649 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
4651 (struct gdbarch_info) <byte_order>: Change type to
4653 <byte_order_for_code>: Likewise.
4654 * gdbarch.c, gdbarch.h: Regenerated.
4656 2014-01-06 Sasha Smundak <asmundak@google.com>
4658 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
4660 2014-01-06 Tom Tromey <tromey@redhat.com>
4662 * doublest.c (convert_doublest_to_floatformat): Use const, not
4664 * somread.c (som_symtab_read): Likewise.
4666 2014-01-07 Hui Zhu <hui@codesourcery.com>
4668 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
4669 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
4670 (gdb_bfd_fopen): Ditto.
4671 (gdb_bfd_openr): Ditto.
4672 (gdb_bfd_openw): Ditto.
4673 (gdb_bfd_openr_iovec): Ditto.
4674 (gdb_bfd_fdopenr): Ditto.
4675 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
4676 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
4678 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
4680 * symfile-mem.c (symbol_file_add_from_memory): Removed
4681 gdb_bfd_stash_filename.
4683 2014-01-03 Doug Evans <dje@google.com>
4685 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
4688 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4690 Update year range in copyright notice of all files.
4692 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4694 * top.c (print_gdb_version): Set copyright year to 2014.
4696 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4698 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
4700 For older changes see ChangeLog-2013.
4706 version-control: never