1 2014-02-19 Tom Tromey <tromey@redhat.com>
3 * target.c (complete_target_initialization): Remove casts. Use
4 return_zero_has_execution.
5 (return_zero): Add "ignore" argument.
6 (return_zero_has_execution): New function.
7 (init_dummy_target): Remove casts. Use
8 return_zero_has_execution.
10 2014-02-19 Tom Tromey <tromey@redhat.com>
12 * target.c (update_current_target): Update comments. Do not
15 2014-02-19 Tom Tromey <tromey@redhat.com>
17 * arm-linux-nat.c (arm_linux_read_description): Delegate when
19 * corelow.c (core_read_description): Delegate when needed.
20 * remote.c (remote_read_description): Delegate when needed.
21 * target-delegates.c: Rebuild.
22 * target.c (target_read_description): Rewrite.
23 * target.h (struct target_ops) <to_read_description>: Update
24 comment. Use TARGET_DEFAULT_RETURN.
26 2014-02-19 Tom Tromey <tromey@redhat.com>
28 * target-delegates.c: Rebuild.
29 * target.c (update_current_target): Don't inherit or default
31 (find_default_run_target): Check against delegate_can_run.
32 * target.h (struct target_ops) <to_can_run>: Use
33 TARGET_DEFAULT_RETURN.
35 2014-02-19 Tom Tromey <tromey@redhat.com>
37 * target-delegates.c: Rebuild.
38 * target.c (target_disconnect): Unconditionally delegate.
39 * target.h (struct target_ops) <to_disconnect>: Use
40 TARGET_DEFAULT_NORETURN.
42 2014-02-19 Tom Tromey <tromey@redhat.com>
44 * record.c (record_stop): Unconditionally delegate.
45 * target-delegates.c: Rebuild.
46 * target.c (target_stop_recording): Unconditionally delegate.
47 * target.h (struct target_ops) <to_stop_recording>: Use
48 TARGET_DEFAULT_IGNORE.
50 2014-02-19 Tom Tromey <tromey@redhat.com>
52 * target-delegates.c: Rebuild.
53 * target.c (target_enable_btrace): Unconditionally delegate.
54 * target.h (struct target_ops) <to_enable_btrace>: Use
55 TARGET_DEFAULT_NORETURN.
57 2014-02-19 Tom Tromey <tromey@redhat.com>
59 * target-delegates.c: Rebuild.
60 * target.c (target_read_btrace): Unconditionally delegate.
61 * target.h (struct target_ops) <to_read_btrace>: Use
62 TARGET_DEFAULT_NORETURN.
64 2014-02-19 Tom Tromey <tromey@redhat.com>
66 * target-delegates.c: Rebuild.
67 * target.c (target_teardown_btrace): Unconditionally delegate.
68 * target.h (struct target_ops) <to_teardown_btrace>: Use
69 TARGET_DEFAULT_NORETURN.
71 2014-02-19 Tom Tromey <tromey@redhat.com>
73 * target-delegates.c: Rebuild.
74 * target.c (target_disable_btrace): Unconditionally delegate.
75 * target.h (struct target_ops) <to_disable_btrace>: Use
76 TARGET_DEFAULT_NORETURN.
78 2014-02-19 Tom Tromey <tromey@redhat.com>
80 * target-delegates.c: Rebuild.
81 * target.c (default_search_memory): New function.
82 (simple_search_memory): Update comment.
83 (target_search_memory): Unconditionally delegate.
84 * target.h (struct target_ops) <to_search_memory>: Use
87 2014-02-19 Tom Tromey <tromey@redhat.com>
89 * auxv.c (default_auxv_parse): No longer static.
90 (target_auxv_parse): Unconditionally delegate.
91 * auxv.h (default_auxv_parse): Declare.
92 * target-delegates.c: Rebuild.
93 * target.c: Include auxv.h.
94 * target.h (struct target_ops) <to_auxv_parse>: Use
97 2014-02-19 Tom Tromey <tromey@redhat.com>
99 * target-delegates.c: Rebuild.
100 * target.c (target_memory_map): Unconditionally delegate.
101 * target.h (struct target_ops) <to_memory_map>: Use
102 TARGET_DEFAULT_RETURN.
104 2014-02-19 Tom Tromey <tromey@redhat.com>
106 * target-delegates.c: Rebuild.
107 * target.c (target_thread_alive): Unconditionally delegate.
108 * target.h (struct target_ops) <to_thread_alive>: Use
109 TARGET_DEFAULT_RETURN.
111 2014-02-19 Tom Tromey <tromey@redhat.com>
113 * target-delegates.c: Rebuild.
114 * target.c (target_save_record): Unconditionally delegate.
115 * target.h (struct target_ops) <to_save_record>: Use
116 TARGET_DEFAULT_NORETURN.
118 2014-02-19 Tom Tromey <tromey@redhat.com>
120 * target-delegates.c: Rebuild.
121 * target.c (target_delete_record): Unconditionally delegate.
122 * target.h (struct target_ops) <to_delete_record>: Use
123 TARGET_DEFAULT_NORETURN.
125 2014-02-19 Tom Tromey <tromey@redhat.com>
127 * target-delegates.c: Rebuild.
128 * target.c (target_record_is_replaying): Unconditionally
130 * target.h (struct target_ops) <to_record_is_replaying>: Use
131 TARGET_DEFAULT_RETURN.
133 2014-02-19 Tom Tromey <tromey@redhat.com>
135 * target-delegates.c: Rebuild.
136 * target.c (target_goto_record_begin): Unconditionally delegate.
137 * target.h (struct target_ops) <to_goto_record_begin>: Use
138 TARGET_DEFAULT_NORETURN.
140 2014-02-19 Tom Tromey <tromey@redhat.com>
142 * target-delegates.c: Rebuild.
143 * target.c (target_goto_record_end): Unconditionally delegate.
144 * target.h (struct target_ops) <to_goto_record_end>: Use
145 TARGET_DEFAULT_NORETURN.
147 2014-02-19 Tom Tromey <tromey@redhat.com>
149 * target-delegates.c: Rebuild.
150 * target.c (target_goto_record): Unconditionally delegate.
151 * target.h (struct target_ops) <to_goto_record>: Use
152 TARGET_DEFAULT_NORETURN.
154 2014-02-19 Tom Tromey <tromey@redhat.com>
156 * target-delegates.c: Rebuild.
157 * target.c (target_insn_history): Unconditionally delegate.
158 * target.h (struct target_ops) <to_insn_history>: Use
159 TARGET_DEFAULT_NORETURN.
161 2014-02-19 Tom Tromey <tromey@redhat.com>
163 * target-delegates.c: Rebuild.
164 * target.c (target_insn_history_from): Unconditionally delegate.
165 * target.h (struct target_ops) <to_insn_history_from>: Use
166 TARGET_DEFAULT_NORETURN.
168 2014-02-19 Tom Tromey <tromey@redhat.com>
170 * target-delegates.c: Rebuild.
171 * target.c (target_insn_history_range): Unconditionally delegate.
172 * target.h (struct target_ops) <to_insn_history_range>: Use
173 TARGET_DEFAULT_NORETURN.
175 2014-02-19 Tom Tromey <tromey@redhat.com>
177 * target-delegates.c: Rebuild.
178 * target.c (target_call_history): Unconditionally delegate.
179 * target.h (struct target_ops) <to_call_history>: Use
180 TARGET_DEFAULT_NORETURN.
182 2014-02-19 Tom Tromey <tromey@redhat.com>
184 * target-delegates.c: Rebuild.
185 * target.c (target_call_history_from): Unconditionally delegate.
186 * target.h (struct target_ops) <to_call_history_from>: Use
187 TARGET_DEFAULT_NORETURN.
189 2014-02-19 Tom Tromey <tromey@redhat.com>
191 * target-delegates.c: Rebuild.
192 * target.c (target_call_history_range): Unconditionally delegate.
193 * target.h (struct target_ops) <to_call_history_range>: Use
194 TARGET_DEFAULT_NORETURN.
196 2014-02-19 Tom Tromey <tromey@redhat.com>
198 * target-delegates.c: Rebuild.
199 * target.c (target_verify_memory): Unconditionally delegate.
200 * target.h (struct target_ops) <to_verify_memory>: Use
201 TARGET_DEFAULT_NORETURN.
203 2014-02-19 Tom Tromey <tromey@redhat.com>
205 * target-delegates.c: Rebuild.
206 * target.c (target_core_of_thread): Unconditionally delegate.
207 * target.h (struct target_ops) <to_core_of_thread>: Use
208 TARGET_DEFAULT_RETURN.
210 2014-02-19 Tom Tromey <tromey@redhat.com>
212 * target-delegates.c: Rebuild.
213 * target.c (target_flash_done): Unconditionally delegate.
214 * target.h (struct target_ops) <to_flash_done>: Use
215 TARGET_DEFAULT_NORETURN.
217 2014-02-19 Tom Tromey <tromey@redhat.com>
219 * target-delegates.c: Rebuild.
220 * target.c (target_flash_erase): Unconditionally delegate.
221 * target.h (struct target_ops) <to_flash_erase>: Use
222 TARGET_DEFAULT_NORETURN.
224 2014-02-19 Tom Tromey <tromey@redhat.com>
226 * target-delegates.c: Rebuild.
227 * target.c (target_get_section_table): Unconditionally delegate.
228 * target.h (struct target_ops) <to_get_section_table>: Use
229 TARGET_DEFAULT_RETURN.
231 2014-02-19 Tom Tromey <tromey@redhat.com>
233 * target-delegates.c: Rebuild.
234 * target.c (target_pid_to_str): Unconditionally delegate.
235 (init_dummy_target): Don't initialize to_pid_to_str.
236 (default_pid_to_str): Rename from dummy_pid_to_str.
237 * target.h (struct target_ops) <to_pid_to_str>: Use
240 2014-02-19 Tom Tromey <tromey@redhat.com>
242 * target-delegates.c: Rebuild.
243 * target.c (target_find_new_threads): Unconditionally delegate.
244 * target.h (struct target_ops) <to_find_new_threads>: Use
245 TARGET_DEFAULT_RETURN.
247 2014-02-19 Tom Tromey <tromey@redhat.com>
249 * target-delegates.c: Rebuild.
250 * target.c (target_program_signals): Unconditionally delegate.
251 * target.h (struct target_ops) <to_program_signals>: Use
252 TARGET_DEFAULT_IGNORE.
254 2014-02-19 Tom Tromey <tromey@redhat.com>
256 * target-delegates.c: Rebuild.
257 * target.c (target_pass_signals): Unconditionally delegate.
258 * target.h (struct target_ops) <to_pass_signals>: Use
259 TARGET_DEFAULT_IGNORE.
261 2014-02-19 Tom Tromey <tromey@redhat.com>
263 * target-delegates.c: Rebuild.
264 * target.c (default_mourn_inferior): New function.
265 (target_mourn_inferior): Unconditionally delegate.
266 * target.h (struct target_ops) <to_mourn_inferior>: Use
269 2014-02-19 Tom Tromey <tromey@redhat.com>
271 * target-delegates.c: Rebuild.
272 * target.c (default_follow_fork): New function.
273 (target_follow_fork): Unconditionally delegate.
274 * target.h (struct target_ops) <to_follow_fork>: Use
277 2014-02-19 Tom Tromey <tromey@redhat.com>
279 * target-delegates.c: Rebuild.
280 * target.c (target_kill): Unconditionally delegate.
281 * target.h (struct target_ops) <to_kill>: Use
282 TARGET_DEFAULT_NORETURN.
284 2014-02-19 Tom Tromey <tromey@redhat.com>
286 * target-delegates.c: Rebuild.
287 * target.c (target_masked_watch_num_registers): Unconditionally
289 * target.h (struct target_ops) <to_masked_watch_num_registers>:
290 Use TARGET_DEFAULT_RETURN.
292 2014-02-19 Tom Tromey <tromey@redhat.com>
294 * target-delegates.c: Rebuild.
295 * target.c (target_remove_mask_watchpoint): Unconditionally
297 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
298 TARGET_DEFAULT_RETURN.
300 2014-02-19 Tom Tromey <tromey@redhat.com>
302 * target-delegates.c: Rebuild.
303 * target.c (target_insert_mask_watchpoint): Unconditionally
305 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
306 TARGET_DEFAULT_RETURN.
308 2014-02-19 Tom Tromey <tromey@redhat.com>
310 * target-delegates.c: Rebuild.
311 * target.c (target_ranged_break_num_registers): Unconditionally
313 * target.h (struct target_ops) <to_ranged_break_num_registers>:
314 Use TARGET_DEFAULT_RETURN.
316 2014-02-19 Tom Tromey <tromey@redhat.com>
318 * target-delegates.c: Rebuild.
319 * target.c (target_fetch_registers): Unconditionally delegate.
320 * target.h (struct target_ops) <to_fetch_registers>: Use
321 TARGET_DEFAULT_NORETURN.
323 2014-02-19 Tom Tromey <tromey@redhat.com>
325 * target-delegates.c: Rebuild.
326 * target.c (update_current_target): Don't inherit or default
328 * target.h (struct target_ops) <to_stop>: Use
329 TARGET_DEFAULT_IGNORE.
331 2014-02-19 Tom Tromey <tromey@redhat.com>
333 * target-delegates.c: Rebuild.
334 * target.c (update_current_target): Don't inherit or default
335 to_can_run_breakpoint_commands.
336 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
337 Use 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
343 to_supports_evaluation_of_breakpoint_conditions.
344 * target.h (struct target_ops)
345 <to_supports_evaluation_of_breakpoint_conditions>: Use
346 TARGET_DEFAULT_RETURN.
348 2014-02-19 Tom Tromey <tromey@redhat.com>
350 * target-delegates.c: Rebuild.
351 * target.c (update_current_target): Don't inherit or default
352 to_augmented_libraries_svr4_read.
353 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
354 Use 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
361 * target.h (struct target_ops) <to_can_use_agent>: Use
362 TARGET_DEFAULT_RETURN.
364 2014-02-19 Tom Tromey <tromey@redhat.com>
366 * target-delegates.c: Rebuild.
367 * target.c (update_current_target): Don't inherit or default
369 * target.h (struct target_ops) <to_use_agent>: Use
370 TARGET_DEFAULT_NORETURN.
372 2014-02-19 Tom Tromey <tromey@redhat.com>
374 * target-delegates.c: Rebuild.
375 * target.c (update_current_target): Don't inherit or default
377 (return_null): Remove.
378 * target.h (struct target_ops) <to_traceframe_info>: Use
379 TARGET_DEFAULT_RETURN.
381 2014-02-19 Tom Tromey <tromey@redhat.com>
383 * target-delegates.c: Rebuild.
384 * target.c (update_current_target): Don't inherit or default
385 to_static_tracepoint_markers_by_strid.
386 * target.h (struct target_ops)
387 <to_static_tracepoint_markers_by_strid>: Use
388 TARGET_DEFAULT_NORETURN.
390 2014-02-19 Tom Tromey <tromey@redhat.com>
392 * target-delegates.c: Rebuild.
393 * target.c (update_current_target): Don't inherit or default
394 to_static_tracepoint_marker_at.
395 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
396 Use TARGET_DEFAULT_RETURN.
398 2014-02-19 Tom Tromey <tromey@redhat.com>
400 * target-delegates.c: Rebuild.
401 * target.c (update_current_target): Don't inherit or default
403 * target.h (struct target_ops) <to_set_permissions>: Use
404 TARGET_DEFAULT_IGNORE.
406 2014-02-19 Tom Tromey <tromey@redhat.com>
408 * target-delegates.c: Rebuild.
409 * target.c (update_current_target): Don't inherit or default
411 * target.h (struct target_ops) <to_get_tib_address>: Use
412 TARGET_DEFAULT_NORETURN.
414 2014-02-19 Tom Tromey <tromey@redhat.com>
416 * target-delegates.c: Rebuild.
417 * target.c (update_current_target): Don't inherit or default
419 * target.h (struct target_ops) <to_set_trace_notes>: Use
420 TARGET_DEFAULT_RETURN.
422 2014-02-19 Tom Tromey <tromey@redhat.com>
424 * target-delegates.c: Rebuild.
425 * target.c (update_current_target): Don't initialize
426 to_set_trace_buffer_size.
427 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
428 TARGET_DEFAULT_IGNORE.
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_set_circular_trace_buffer.
435 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
436 TARGET_DEFAULT_IGNORE.
438 2014-02-19 Tom Tromey <tromey@redhat.com>
440 * target-delegates.c: Rebuild.
441 * target.c (update_current_target): Don't inherit or default
442 to_set_disconnected_tracing.
443 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
444 TARGET_DEFAULT_IGNORE.
446 2014-02-19 Tom Tromey <tromey@redhat.com>
448 * target-delegates.c: Rebuild.
449 * target.c (update_current_target): Don't inherit or default
450 to_get_min_fast_tracepoint_insn_len.
451 (return_minus_one): Remove.
452 * target.h (struct target_ops)
453 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
455 2014-02-19 Tom Tromey <tromey@redhat.com>
457 * target-delegates.c: Rebuild.
458 * target.c (update_current_target): Don't inherit or default
459 to_get_raw_trace_data.
460 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
461 TARGET_DEFAULT_NORETURN.
463 2014-02-19 Tom Tromey <tromey@redhat.com>
465 * target-delegates.c: Rebuild.
466 * target.c (update_current_target): Don't inherit or default
467 to_upload_trace_state_variables.
468 * target.h (struct target_ops) <to_upload_trace_state_variables>:
469 Use TARGET_DEFAULT_RETURN.
471 2014-02-19 Tom Tromey <tromey@redhat.com>
473 * target-delegates.c: Rebuild.
474 * target.c (update_current_target): Don't inherit or default
475 to_upload_tracepoints.
476 * target.h (struct target_ops) <to_upload_tracepoints>: Use
477 TARGET_DEFAULT_RETURN.
479 2014-02-19 Tom Tromey <tromey@redhat.com>
481 * target-delegates.c: Rebuild.
482 * target.c (update_current_target): Don't inherit or default
484 * target.h (struct target_ops) <to_save_trace_data>: Use
485 TARGET_DEFAULT_NORETURN.
487 2014-02-19 Tom Tromey <tromey@redhat.com>
489 * target-delegates.c: Rebuild.
490 * target.c (update_current_target): Don't inherit or default
491 to_get_trace_state_variable_value.
492 * target.h (struct target_ops)
493 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
495 2014-02-19 Tom Tromey <tromey@redhat.com>
497 * target-delegates.c: Rebuild.
498 * target.c (update_current_target): Don't inherit or default
500 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
502 2014-02-19 Tom Tromey <tromey@redhat.com>
504 * target-delegates.c: Rebuild.
505 * target.c (update_current_target): Don't inherit or default
507 * target.h (struct target_ops) <to_trace_stop>: Use
508 TARGET_DEFAULT_NORETURN.
510 2014-02-19 Tom Tromey <tromey@redhat.com>
512 * target-delegates.c: Rebuild.
513 * target.c (update_current_target): Don't inherit or default
514 to_get_tracepoint_status.
515 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
516 TARGET_DEFAULT_NORETURN.
518 2014-02-19 Tom Tromey <tromey@redhat.com>
520 * target-delegates.c: Rebuild.
521 * target.c (update_current_target): Don't inherit or default
523 * target.h (struct target_ops) <to_get_trace_status>: Use
524 TARGET_DEFAULT_RETURN.
526 2014-02-19 Tom Tromey <tromey@redhat.com>
528 * target-delegates.c: Rebuild.
529 * target.c (update_current_target): Don't inherit or default
531 * target.h (struct target_ops) <to_trace_start>: Use
532 TARGET_DEFAULT_NORETURN.
534 2014-02-19 Tom Tromey <tromey@redhat.com>
536 * target-delegates.c: Rebuild.
537 * target.c (update_current_target): Don't inherit or default
538 to_trace_set_readonly_regions.
539 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
540 Use TARGET_DEFAULT_NORETURN.
542 2014-02-19 Tom Tromey <tromey@redhat.com>
544 * target-delegates.c: Rebuild.
545 * target.c (update_current_target): Don't inherit or default
546 to_disable_tracepoint.
547 * target.h (struct target_ops) <to_disable_tracepoint>: Use
548 TARGET_DEFAULT_NORETURN.
550 2014-02-19 Tom Tromey <tromey@redhat.com>
552 * target-delegates.c: Rebuild.
553 * target.c (update_current_target): Don't inherit or default
554 to_enable_tracepoint.
555 * target.h (struct target_ops) <to_enable_tracepoint>: Use
556 TARGET_DEFAULT_NORETURN.
558 2014-02-19 Tom Tromey <tromey@redhat.com>
560 * target-delegates.c: Rebuild.
561 * target.c (update_current_target): Don't inherit or default
562 to_download_trace_state_variable.
563 * target.h (struct target_ops) <to_download_trace_state_variable>:
564 Use TARGET_DEFAULT_NORETURN.
566 2014-02-19 Tom Tromey <tromey@redhat.com>
568 * target-delegates.c: Rebuild.
569 * target.c (update_current_target): Don't inherit or default
570 to_can_download_tracepoint.
571 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
572 TARGET_DEFAULT_RETURN.
574 2014-02-19 Tom Tromey <tromey@redhat.com>
576 * target-delegates.c: Rebuild.
577 * target.c (update_current_target): Don't inherit or default
578 to_download_tracepoint.
579 * target.h (struct target_ops) <to_download_tracepoint>: Use
580 TARGET_DEFAULT_NORETURN.
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
587 * target.h (struct target_ops) <to_trace_init>: 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_supports_string_tracing.
595 * target.h (struct target_ops) <to_supports_string_tracing>: Use
596 TARGET_DEFAULT_RETURN.
598 2014-02-19 Tom Tromey <tromey@redhat.com>
600 * target-delegates.c: Rebuild.
601 * target.c (update_current_target): Don't inherit or default
602 to_supports_enable_disable_tracepoint.
603 * target.h (struct target_ops)
604 <to_supports_enable_disable_tracepoint>: Use
605 TARGET_DEFAULT_RETURN.
607 2014-02-19 Tom Tromey <tromey@redhat.com>
609 * target-delegates.c: Rebuild.
610 * target.c (update_current_target): Don't inherit or default
611 to_supports_multi_process.
612 * target.h (struct target_ops) <to_supports_multi_process>: Use
613 TARGET_DEFAULT_RETURN.
615 2014-02-19 Tom Tromey <tromey@redhat.com>
617 * target-delegates.c: Rebuild.
618 * target.c (update_current_target): Don't inherit or default
619 to_get_ada_task_ptid.
620 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
623 2014-02-19 Tom Tromey <tromey@redhat.com>
625 * target-delegates.c: Rebuild.
626 * target.c (update_current_target): Don't inherit or default
627 to_thread_architecture.
628 * target.h (struct target_ops) <to_thread_architecture>: Use
631 2014-02-19 Tom Tromey <tromey@redhat.com>
633 * target-delegates.c: Rebuild.
634 * target.c (update_current_target): Don't inherit or default
635 to_execution_direction.
636 * target.h (struct target_ops) <to_execution_direction>: Use
639 2014-02-19 Tom Tromey <tromey@redhat.com>
641 * target-delegates.c: Rebuild.
642 * target.c (update_current_target): Don't inherit or default
643 to_can_execute_reverse.
644 * target.h (struct target_ops) <to_can_execute_reverse>: Use
645 TARGET_DEFAULT_RETURN.
646 (target_can_execute_reverse): Unconditionally delegate.
648 2014-02-19 Tom Tromey <tromey@redhat.com>
650 * target-delegates.c: Rebuild.
651 * target.c (update_current_target): Don't inherit or default
653 (dummy_goto_bookmark): Remove.
654 (init_dummy_target): Don't inherit or default to_goto_bookmark.
655 * target.h (struct target_ops) <to_goto_bookmark>: Use
656 TARGET_DEFAULT_NORETURN.
658 2014-02-19 Tom Tromey <tromey@redhat.com>
660 * target-delegates.c: Rebuild.
661 * target.c (update_current_target): Don't inherit or default
663 (dummy_get_bookmark): Remove.
664 (init_dummy_target): Don't inherit or default to_get_bookmark.
665 * target.h (struct target_ops) <to_get_bookmark>: Use
666 TARGET_DEFAULT_NORETURN
668 2014-02-19 Tom Tromey <tromey@redhat.com>
670 * target-delegates.c: Rebuild.
671 * target.c (update_current_target): Don't inherit or default
672 to_make_corefile_notes.
673 (init_dummy_target): Don't initialize to_make_corefile_notes.
674 * target.h (struct target_ops) <to_make_corefile_notes>: Use
677 2014-02-19 Tom Tromey <tromey@redhat.com>
679 * target-delegates.c: Rebuild.
680 * target.c (update_current_target): Don't inherit or default
681 to_find_memory_regions.
682 (init_dummy_target): Don't initialize to_find_memory_regions.
683 * target.h (struct target_ops) <to_find_memory_regions>: Use
686 2014-02-19 Tom Tromey <tromey@redhat.com>
688 * target-delegates.c: Rebuild.
689 * target.c (update_current_target): Don't inherit or default
691 * target.h (struct target_ops) <to_log_command>: Use
692 TARGET_DEFAULT_IGNORE.
693 (target_log_command): Unconditionally delegate.
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_pid_to_exec_file>: 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
708 (target_thread_name): Unconditionally delegate.
709 * target.h (struct target_ops) <to_thread_name>: 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_extra_thread_info.
717 * target.h (struct target_ops) <to_extra_thread_info>: Use
718 TARGET_DEFAULT_RETURN.
720 2014-02-19 Tom Tromey <tromey@redhat.com>
722 * target-delegates.c: Rebuild.
723 * target.c (update_current_target): Don't inherit or default
725 * target.h (struct target_ops) <to_has_exited>: 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_set_syscall_catchpoint.
733 (return_one): Remove.
734 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
735 TARGET_DEFAULT_RETURN.
737 2014-02-19 Tom Tromey <tromey@redhat.com>
739 * target-delegates.c: Rebuild.
740 * target.c (update_current_target): Don't inherit or default
741 to_insert_exec_catchpoint.
742 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
743 TARGET_DEFAULT_RETURN.
745 2014-01-08 Tom Tromey <tromey@redhat.com>
747 * target-delegates.c: Rebuild.
748 * target.c (update_current_target): Don't inherit or default
749 to_insert_exec_catchpoint.
750 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
751 TARGET_DEFAULT_RETURN.
753 2014-02-19 Tom Tromey <tromey@redhat.com>
755 * target-delegates.c: Rebuild.
756 * target.c (update_current_target): Don't inherit or default
757 to_remove_vfork_catchpoint.
758 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
759 TARGET_DEFAULT_RETURN.
761 2014-02-19 Tom Tromey <tromey@redhat.com>
763 * target-delegates.c: Rebuild.
764 * target.c (update_current_target): Don't inherit or default
765 to_insert_vfork_catchpoint.
766 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
767 TARGET_DEFAULT_RETURN.
769 2014-02-19 Tom Tromey <tromey@redhat.com>
771 * target-delegates.c: Rebuild.
772 * target.c (update_current_target): Don't inherit or default
773 to_remove_fork_catchpoint.
774 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
775 TARGET_DEFAULT_RETURN.
777 2014-02-19 Tom Tromey <tromey@redhat.com>
779 * target-delegates.c: Rebuild.
780 * target.c (update_current_target): Don't inherit or default
781 to_insert_fork_catchpoint.
782 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
783 TARGET_DEFAULT_RETURN.
785 2014-02-19 Tom Tromey <tromey@redhat.com>
787 * target-delegates.c: Rebuild.
788 * target.c (update_current_target): Don't inherit or default
789 to_post_startup_inferior.
790 * target.h (struct target_ops) <to_post_startup_inferior>: Use
791 TARGET_DEFAULT_IGNORE.
793 2014-02-19 Tom Tromey <tromey@redhat.com>
795 * target-delegates.c: Rebuild.
796 * target.c (update_current_target): Don't inherit or default
798 * target.h (struct target_ops) <to_load>: Use
799 TARGET_DEFAULT_NORETURN.
801 2014-02-19 Tom Tromey <tromey@redhat.com>
803 * target-delegates.c: Rebuild.
804 * target.c (update_current_target): Don't inherit or default
806 * target.h (struct target_ops) <to_terminal_info>: Use
809 2014-02-19 Tom Tromey <tromey@redhat.com>
811 * target-delegates.c: Rebuild.
812 * target.c (update_current_target): Don't inherit or default
813 to_terminal_save_ours.
814 * target.h (struct target_ops) <to_terminal_save_ours>: Use
815 TARGET_DEFAULT_IGNORE.
817 2014-02-19 Tom Tromey <tromey@redhat.com>
819 * target-delegates.c: Rebuild.
820 * target.c (update_current_target): Don't inherit or default
822 * target.h (struct target_ops) <to_terminal_ours>: Use
823 TARGET_DEFAULT_IGNORE.
825 2014-02-19 Tom Tromey <tromey@redhat.com>
827 * target-delegates.c: Rebuild.
828 * target.c (update_current_target): Don't inherit or default
829 to_terminal_ours_for_output.
830 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
831 TARGET_DEFAULT_IGNORE.
833 2014-02-19 Tom Tromey <tromey@redhat.com>
835 * target-delegates.c: Rebuild.
836 * target.c (update_current_target): Don't inherit or default
837 to_terminal_inferior.
838 * target.h (struct target_ops) <to_terminal_inferior>: Use
839 TARGET_DEFAULT_IGNORE.
841 2014-02-19 Tom Tromey <tromey@redhat.com>
843 * target-delegates.c: Rebuild.
844 * target.c (update_current_target): Don't inherit or default
846 * target.h (struct target_ops) <to_terminal_init>: Use
847 TARGET_DEFAULT_IGNORE.
849 2014-02-19 Tom Tromey <tromey@redhat.com>
851 * target-delegates.c: Rebuild.
852 * target.c (update_current_target): Don't inherit or default
853 to_can_accel_watchpoint_condition.
854 * target.h (struct target_ops)
855 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
857 2014-02-19 Tom Tromey <tromey@redhat.com>
859 * target-delegates.c: Rebuild.
860 * target.c (update_current_target): Don't inherit or default
861 to_region_ok_for_hw_watchpoint.
862 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
863 Use TARGET_DEFAULT_FUNC.
865 2014-02-19 Tom Tromey <tromey@redhat.com>
867 * target-delegates.c: Rebuild.
868 * target.c (update_current_target): Don't inherit or default
869 to_watchpoint_addr_within_range.
870 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
871 Use TARGET_DEFAULT_FUNC.
873 2014-02-19 Tom Tromey <tromey@redhat.com>
875 * target-delegates.c: Rebuild.
876 * target.c (update_current_target): Don't inherit or default
877 to_remove_watchpoint.
878 * target.h (struct target_ops) <to_remove_watchpoint>: Use
879 TARGET_DEFAULT_NORETURN.
881 2014-02-19 Tom Tromey <tromey@redhat.com>
883 * target-delegates.c: Rebuild.
884 * target.c (update_current_target): Don't inherit or default
885 to_insert_watchpoint.
886 * target.h (struct target_ops) <to_insert_watchpoint>: Use
887 TARGET_DEFAULT_RETURN.
889 2014-02-19 Tom Tromey <tromey@redhat.com>
891 * target-delegates.c: Rebuild.
892 * target.c (update_current_target): Don't inherit or default
893 to_remove_hw_breakpoint.
894 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
895 TARGET_DEFAULT_RETURN.
897 2014-02-19 Tom Tromey <tromey@redhat.com>
899 * target-delegates.c: Rebuild.
900 * target.c (update_current_target): Don't inherit or default
901 to_insert_hw_breakpoint.
902 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
903 TARGET_DEFAULT_RETURN.
905 2014-02-19 Tom Tromey <tromey@redhat.com>
907 * target-delegates.c: Rebuild.
908 * target.c (update_current_target): Don't inherit or default
909 to_can_use_hw_breakpoint.
910 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
911 TARGET_DEFAULT_RETURN.
913 2014-02-19 Tom Tromey <tromey@redhat.com>
915 * target-delegates.c: Rebuild.
916 * target.c (update_current_target): Don't inherit or default
918 * target.h (struct target_ops) <to_files_info>: Use
919 TARGET_DEFAULT_IGNORE.
921 2014-02-19 Tom Tromey <tromey@redhat.com>
923 * target-delegates.c: Rebuild.
924 * target.c (update_current_target): Don't inherit or default
926 * target.h (struct target_ops) <to_store>: Use
927 TARGET_DEFAULT_NORETURN.
929 2014-02-19 Tom Tromey <tromey@redhat.com>
931 * target-delegates.c: Rebuild.
932 * target.c (update_current_target): Don't inherit or default
934 * target.h (struct target_ops) <to_post_attach>: Use
935 TARGET_DEFAULT_IGNORE.
937 2014-02-19 Tom Tromey <tromey@redhat.com>
939 * target-delegates.c: Rebuild.
940 * target.c (update_current_target): Don't inherit or default
942 (default_rcmd): New function.
943 (do_monitor_command): Unconditionally delegate.
944 * target.h (struct target_ops) <to_rmcd>: Use
947 2014-02-19 Tom Tromey <tromey@redhat.com>
949 * target-delegates.c: Rebuild.
950 * target.c (init_dummy_target): Don't initialize to_attach.
951 (target_attach): Unconditionally delegate.
952 * target.h (struct target_ops) <to_attach>: Use
955 2014-02-19 Tom Tromey <tromey@redhat.com>
957 * target-delegates.c: Rebuild.
958 * target.c (target_detach): Unconditionally delegate.
959 (init_dummy_target): Don't initialize to_detach.
960 * target.h (struct target_ops) <to_detach>: Use
961 TARGET_DEFAULT_IGNORE.
963 2014-02-19 Tom Tromey <tromey@redhat.com>
965 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
967 (target_augmented_libraries_svr4_read): Add argument.
968 * target.c (update_current_target): Update.
969 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
972 2014-02-19 Tom Tromey <tromey@redhat.com>
974 * target.h (struct target_ops) <to_call_history_range>: Add
976 * target.c (target_call_history_range): Add argument.
977 * record-btrace.c (record_btrace_call_history_range): Add 'self'
979 (record_btrace_call_history_from): Update.
981 2014-02-19 Tom Tromey <tromey@redhat.com>
983 * target.h (struct target_ops) <to_call_history_from>: Add
985 * target.c (target_call_history_from): Add argument.
986 * record-btrace.c (record_btrace_call_history_from): Add 'self'
989 2014-02-19 Tom Tromey <tromey@redhat.com>
991 * target.h (struct target_ops) <to_call_history>: Add argument.
992 * target.c (target_call_history): Add argument.
993 * record-btrace.c (record_btrace_call_history): Add 'self'
996 2014-02-19 Tom Tromey <tromey@redhat.com>
998 * target.h (struct target_ops) <to_insn_history_range>: Add
1000 * target.c (target_insn_history_range): Add argument.
1001 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
1003 (record_btrace_insn_history_from): Update.
1005 2014-02-19 Tom Tromey <tromey@redhat.com>
1007 * target.h (struct target_ops) <to_insn_history_from>: Add
1009 * target.c (target_insn_history_from): Add argument.
1010 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
1013 2014-02-19 Tom Tromey <tromey@redhat.com>
1015 * target.h (struct target_ops) <to_insn_history>: Add argument.
1016 * target.c (target_insn_history): Add argument.
1017 * record-btrace.c (record_btrace_insn_history): Add 'self'
1020 2014-02-19 Tom Tromey <tromey@redhat.com>
1022 * target.h (struct target_ops) <to_goto_record>: Add argument.
1023 * target.c (target_goto_record): Add argument.
1024 * record-full.c (record_full_goto): Add 'self' argument.
1025 * record-btrace.c (record_btrace_goto): Add 'self' argument.
1027 2014-02-19 Tom Tromey <tromey@redhat.com>
1029 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
1030 * target.c (target_goto_record_end): Add argument.
1031 * record-full.c (record_full_goto_end): Add 'self' argument.
1032 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
1034 2014-02-19 Tom Tromey <tromey@redhat.com>
1036 * target.h (struct target_ops) <to_goto_record_begin>: Add
1038 * target.c (target_goto_record_begin): Add argument.
1039 * record-full.c (record_full_goto_begin): Add 'self' argument.
1040 * record-btrace.c (record_btrace_goto_begin): Add 'self'
1043 2014-02-19 Tom Tromey <tromey@redhat.com>
1045 * target.h (struct target_ops) <to_record_is_replaying>: Add
1047 * target.c (target_record_is_replaying): Add argument.
1048 * record-full.c (record_full_is_replaying): Add 'self' argument.
1049 * record-btrace.c (record_btrace_is_replaying): Add 'self'
1051 (record_btrace_xfer_partial, record_btrace_store_registers)
1052 (record_btrace_prepare_to_store, record_btrace_resume)
1053 (record_btrace_wait, record_btrace_decr_pc_after_break)
1054 (record_btrace_find_new_threads, record_btrace_thread_alive):
1057 2014-02-19 Tom Tromey <tromey@redhat.com>
1059 * target.h (struct target_ops) <to_delete_record>: Add argument.
1060 * target.c (target_delete_record): Add argument.
1061 * record-full.c (record_full_delete): Add 'self' argument.
1063 2014-02-19 Tom Tromey <tromey@redhat.com>
1065 * target.h (struct target_ops) <to_save_record>: Add argument.
1066 * target.c (target_save_record): Add argument.
1067 * record-full.c (record_full_save): Add 'self' argument.
1068 (record_full_save): Add 'self' argument.
1070 2014-02-19 Tom Tromey <tromey@redhat.com>
1072 * target.h (struct target_ops) <to_info_record>: Add argument.
1073 * target.c (target_info_record): Add argument.
1074 * record.c (info_record_command): Add argument.
1075 * record-full.c (record_full_info): Add 'self' argument.
1076 * record-btrace.c (record_btrace_info): Add 'self' argument.
1078 2014-02-19 Tom Tromey <tromey@redhat.com>
1080 * target.h (struct target_ops) <to_stop_recording>: Add argument.
1081 * target.c (target_stop_recording): Add argument.
1082 * record.c (record_stop): Add argument.
1083 * record-btrace.c (record_btrace_stop_recording): Add 'self'
1086 2014-02-19 Tom Tromey <tromey@redhat.com>
1088 * target.h (struct target_ops) <to_read_btrace>: Add argument.
1089 * target.c (struct target_ops) <to_read_btrace>: Add argument.
1090 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
1092 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
1093 (_initialize_amd64_linux_nat): Use it.
1094 * i386-linux-nat.c (i386_linux_read_btrace): New function.
1095 (_initialize_i386_linux_nat): Use it.
1097 2014-02-19 Tom Tromey <tromey@redhat.com>
1099 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
1100 * target.c (target_teardown_btrace): Add argument.
1101 * remote.c (remote_teardown_btrace): Add 'self' argument.
1102 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
1104 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
1107 2014-02-19 Tom Tromey <tromey@redhat.com>
1109 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
1110 * target.c (target_disable_btrace): Add argument.
1111 * remote.c (remote_disable_btrace): Add 'self' argument.
1112 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
1114 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
1117 2014-02-19 Tom Tromey <tromey@redhat.com>
1119 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
1120 * target.c (target_enable_btrace): Add argument.
1121 * remote.c (remote_enable_btrace): Add 'self' argument.
1122 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
1124 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
1127 2014-02-19 Tom Tromey <tromey@redhat.com>
1129 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
1130 (target_can_use_agent): Add argument.
1131 * target.c (update_current_target): Update.
1132 * remote.c (remote_can_use_agent): Add 'self' argument.
1133 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
1135 2014-02-19 Tom Tromey <tromey@redhat.com>
1137 * target.h (struct target_ops) <to_use_agent>: Add argument.
1138 (target_use_agent): Add argument.
1139 * target.c (update_current_target): Update.
1140 * remote.c (remote_use_agent): Add 'self' argument.
1141 * inf-child.c (inf_child_use_agent): Add 'self' argument.
1143 2014-02-19 Tom Tromey <tromey@redhat.com>
1145 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
1146 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
1147 (target_traceframe_info): Add argument.
1148 * target.c (update_current_target): Update.
1149 * remote.c (remote_traceframe_info): Add 'self' argument.
1150 * ctf.c (ctf_traceframe_info): Add 'self' argument.
1152 2014-02-19 Tom Tromey <tromey@redhat.com>
1154 * target.h (target_static_tracepoint_markers_by_strid): Add
1156 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
1158 * target.c (update_current_target): Update.
1159 * remote.c (struct target_ops)
1160 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1161 * linux-nat.c (struct target_ops)
1162 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1164 2014-02-19 Tom Tromey <tromey@redhat.com>
1166 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1168 (target_static_tracepoint_marker_at): Add argument.
1169 * target.c (update_current_target): Update.
1170 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
1173 2014-02-19 Tom Tromey <tromey@redhat.com>
1175 * target.h (struct target_ops) <to_set_permissions>: Add argument.
1176 (target_set_permissions): Add argument.
1177 * target.c (update_current_target): Update.
1178 * remote.c (remote_set_permissions): Add 'self' argument.
1179 (remote_start_remote): Update.
1181 2014-02-19 Tom Tromey <tromey@redhat.com>
1183 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
1184 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
1185 (target_get_tib_address): Add argument.
1186 * target.c (update_current_target): Update.
1187 * remote.c (remote_get_tib_address): Add 'self' argument.
1189 2014-02-19 Tom Tromey <tromey@redhat.com>
1191 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
1192 (target_set_trace_notes): Add argument.
1193 * target.c (update_current_target): Update.
1194 * remote.c (remote_set_trace_notes): Add 'self' argument.
1196 2014-02-19 Tom Tromey <tromey@redhat.com>
1198 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
1200 (target_set_trace_buffer_size): Add argument.
1201 * target.c (update_current_target): Update.
1202 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
1204 2014-02-19 Tom Tromey <tromey@redhat.com>
1206 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
1208 (target_set_circular_trace_buffer): Add argument.
1209 * target.c (update_current_target): Update.
1210 * remote.c (remote_set_circular_trace_buffer): Add 'self'
1213 2014-02-19 Tom Tromey <tromey@redhat.com>
1215 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
1217 (target_set_disconnected_tracing): Add argument.
1218 * target.c (update_current_target): Update.
1219 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
1221 2014-02-19 Tom Tromey <tromey@redhat.com>
1223 * target.h (struct target_ops)
1224 <to_get_min_fast_tracepoint_insn_len>: Add argument.
1225 (target_get_min_fast_tracepoint_insn_len): Add argument.
1226 * target.c (update_current_target): Update.
1227 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
1230 2014-02-19 Tom Tromey <tromey@redhat.com>
1232 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
1234 (target_get_raw_trace_data): Add argument.
1235 * target.c (update_current_target): Update.
1236 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
1238 2014-02-19 Tom Tromey <tromey@redhat.com>
1240 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1242 (target_upload_trace_state_variables): Add argument.
1243 * target.c (update_current_target): Update.
1244 * remote.c (remote_upload_trace_state_variables): Add 'self'
1246 (remote_start_remote): Update.
1248 2014-02-19 Tom Tromey <tromey@redhat.com>
1250 * target.h (struct target_ops) <to_upload_tracepoints>: Add
1252 (target_upload_tracepoints): Add argument.
1253 * target.c (update_current_target): Update.
1254 * remote.c (remote_upload_tracepoints): Add 'self' argument.
1255 (remote_start_remote): Update.
1257 2014-02-19 Tom Tromey <tromey@redhat.com>
1259 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
1260 (target_save_trace_data): Add argument.
1261 * target.c (update_current_target): Update.
1262 * remote.c (remote_save_trace_data): Add 'self' argument.
1264 2014-02-19 Tom Tromey <tromey@redhat.com>
1266 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
1268 * target.h (struct target_ops)
1269 <to_get_trace_state_variable_value>: Add argument.
1270 (target_get_trace_state_variable_value): Add argument.
1271 * target.c (update_current_target): Update.
1272 * remote.c (remote_get_trace_state_variable_value): Add 'self'
1274 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
1276 2014-02-19 Tom Tromey <tromey@redhat.com>
1278 * tracepoint.c (tfile_trace_find): Add 'self' argument.
1279 * target.h (struct target_ops) <to_trace_find>: Add argument.
1280 (target_trace_find): Add argument.
1281 * target.c (update_current_target): Update.
1282 * remote.c (remote_trace_find): Add 'self' argument.
1283 * ctf.c (ctf_trace_find): Add 'self' argument.
1285 2014-02-19 Tom Tromey <tromey@redhat.com>
1287 * target.h (struct target_ops) <to_trace_stop>: Add argument.
1288 (target_trace_stop): Add argument.
1289 * target.c (update_current_target): Update.
1290 * remote.c (remote_trace_stop): Add 'self' argument.
1292 2014-02-19 Tom Tromey <tromey@redhat.com>
1294 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
1295 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
1297 (target_get_tracepoint_status): Add argument.
1298 * target.c (update_current_target): Update.
1299 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
1301 2014-02-19 Tom Tromey <tromey@redhat.com>
1303 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
1304 * target.h (struct target_ops) <to_get_trace_status>: Add
1306 (target_get_trace_status): Add argument.
1307 * target.c (update_current_target): Update.
1308 * remote.c (remote_get_trace_status): Add 'self' argument.
1309 (remote_start_remote, remote_can_download_tracepoint): Update.
1310 * ctf.c (ctf_get_trace_status): Add 'self' argument.
1312 2014-02-19 Tom Tromey <tromey@redhat.com>
1314 * target.h (struct target_ops) <to_trace_start>: Add argument.
1315 (target_trace_start): Add argument.
1316 * target.c (update_current_target): Update.
1317 * remote.c (remote_trace_start): Add 'self' argument.
1319 2014-02-19 Tom Tromey <tromey@redhat.com>
1321 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1323 (target_trace_set_readonly_regions): Add argument.
1324 * target.c (update_current_target): Update.
1325 * remote.c (remote_trace_set_readonly_regions): Add 'self'
1328 2014-02-19 Tom Tromey <tromey@redhat.com>
1330 * target.h (struct target_ops) <to_disable_tracepoint>: Add
1332 (target_disable_tracepoint): Add argument.
1333 * target.c (update_current_target): Update.
1334 * remote.c (remote_disable_tracepoint): Add 'self' argument.
1336 2014-02-19 Tom Tromey <tromey@redhat.com>
1338 * target.h (struct target_ops) <to_enable_tracepoint>: Add
1340 (target_enable_tracepoint): Add argument.
1341 * target.c (update_current_target): Update.
1342 * remote.c (remote_enable_tracepoint): Add 'self' argument.
1344 2014-02-19 Tom Tromey <tromey@redhat.com>
1346 * target.h (struct target_ops) <to_download_trace_state_variable>:
1348 (target_download_trace_state_variable): Add argument.
1349 * target.c (update_current_target): Update.
1350 * remote.c (remote_download_trace_state_variable): Add 'self'
1353 2014-02-19 Tom Tromey <tromey@redhat.com>
1355 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
1357 (target_can_download_tracepoint): Add argument.
1358 * target.c (update_current_target): Update.
1359 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
1361 2014-02-19 Tom Tromey <tromey@redhat.com>
1363 * target.h (struct target_ops) <to_download_tracepoint>: Add
1365 (target_download_tracepoint): Add argument.
1366 * target.c (update_current_target): Update.
1367 * remote.c (remote_download_tracepoint): Add 'self' argument.
1369 2014-02-19 Tom Tromey <tromey@redhat.com>
1371 * target.h (struct target_ops) <to_trace_init>: Add argument.
1372 (target_trace_init): Add argument.
1373 * target.c (update_current_target): Update.
1374 * remote.c (remote_trace_init): Add 'self' argument.
1376 2014-02-19 Tom Tromey <tromey@redhat.com>
1378 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1379 * target.c (target_fileio_readlink): Add argument.
1380 * remote.c (remote_hostio_readlink): Add 'self' argument.
1381 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1383 2014-02-19 Tom Tromey <tromey@redhat.com>
1385 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1386 * target.c (target_fileio_unlink): Add argument.
1387 * remote.c (remote_hostio_unlink): Add 'self' argument.
1388 (remote_file_delete): Update.
1389 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1391 2014-02-19 Tom Tromey <tromey@redhat.com>
1393 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1394 * target.c (target_fileio_close): Add argument.
1395 * remote.c (remote_hostio_close): Add 'self' argument.
1396 (remote_hostio_close_cleanup): Update.
1397 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1399 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1401 2014-02-19 Tom Tromey <tromey@redhat.com>
1403 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1404 * target.c (target_fileio_pread): Add argument.
1405 * remote.c (remote_hostio_pread): Add 'self' argument.
1406 (remote_bfd_iovec_pread, remote_file_get): Update.
1407 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1409 2014-02-19 Tom Tromey <tromey@redhat.com>
1411 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1412 * target.c (target_fileio_pwrite): Add argument.
1413 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1414 (remote_file_put): Update.
1415 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1417 2014-02-19 Tom Tromey <tromey@redhat.com>
1419 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1420 * target.c (target_fileio_open): Add argument.
1421 * remote.c (remote_hostio_open): Add 'self' argument.
1422 (remote_bfd_iovec_open): Add 'self' argument.
1423 (remote_file_put): Add 'self' argument.
1424 (remote_file_get): Add 'self' argument.
1425 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1427 2014-02-19 Tom Tromey <tromey@redhat.com>
1429 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1431 (target_can_run_breakpoint_commands): Add argument.
1432 * target.c (update_current_target): Update.
1433 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1435 (remote_insert_breakpoint): Add 'self' argument.
1436 (remote_insert_hw_breakpoint): Add 'self' argument.
1437 (remote_can_run_breakpoint_commands): Add 'self' argument.
1439 2014-02-19 Tom Tromey <tromey@redhat.com>
1441 * target.h (struct target_ops)
1442 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1443 (target_supports_evaluation_of_breakpoint_conditions): Add
1445 * target.c (update_current_target): Update.
1446 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1448 (remote_insert_breakpoint): Add 'self' argument.
1449 (remote_insert_hw_breakpoint): Add 'self' argument.
1450 (remote_supports_cond_breakpoints): Add 'self' argument.
1452 2014-02-19 Tom Tromey <tromey@redhat.com>
1454 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1456 (target_supports_string_tracing): Add argument.
1457 * target.c (update_current_target): Update.
1458 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1460 2014-02-19 Tom Tromey <tromey@redhat.com>
1462 * target.h (struct target_ops)
1463 <to_supports_disable_randomization>: Add argument.
1464 * target.c (find_default_supports_disable_randomization): Add
1466 (target_supports_disable_randomization): Add argument.
1467 (find_default_supports_disable_randomization): Add 'self'
1469 * remote.c (extended_remote_supports_disable_randomization): Add
1471 (remote_supports_disable_randomization): Add 'self' argument.
1472 (extended_remote_create_inferior): Update.
1473 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1476 2014-02-19 Tom Tromey <tromey@redhat.com>
1478 * target.h (struct target_ops)
1479 <to_supports_enable_disable_tracepoint>: Add argument.
1480 (target_supports_enable_disable_tracepoint): Add argument.
1481 * target.c (update_current_target): Update.
1482 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1485 2014-02-19 Tom Tromey <tromey@redhat.com>
1487 * target.h (struct target_ops) <to_supports_multi_process>: Add
1489 (target_supports_multi_process): Add argument.
1490 * target.c (update_current_target): Update.
1491 * remote.c (remote_supports_multi_process): Add 'self' argument.
1492 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1494 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1497 2014-02-19 Tom Tromey <tromey@redhat.com>
1499 * target.h (struct target_ops) <to_execution_direction>: Add
1501 (target_execution_direction): Add argument.
1502 * target.c (default_execution_direction): Add 'self' argument.
1503 * record-full.c (record_full_execution_direction): Add 'self'
1506 2014-02-19 Tom Tromey <tromey@redhat.com>
1508 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1510 (target_can_execute_reverse): Add argument.
1511 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1512 * record-full.c (record_full_can_execute_reverse): Add 'self'
1514 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1517 2014-02-19 Tom Tromey <tromey@redhat.com>
1519 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1520 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1522 (target_get_ada_task_ptid): Add argument.
1523 * target.c (update_current_target): Update.
1524 (default_get_ada_task_ptid): Add 'self' argument.
1525 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1526 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1527 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1529 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1531 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1533 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1535 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1536 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1539 2014-02-19 Tom Tromey <tromey@redhat.com>
1541 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1542 (target_goto_bookmark): Add argument.
1543 * target.c (dummy_goto_bookmark): Add 'self' argument.
1544 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1546 2014-02-19 Tom Tromey <tromey@redhat.com>
1548 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1549 (target_get_bookmark): Add argument.
1550 * target.c (dummy_get_bookmark): Add 'self' argument.
1551 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1553 2014-02-19 Tom Tromey <tromey@redhat.com>
1555 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1557 (target_make_corefile_notes): Add argument.
1558 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1559 * procfs.c (procfs_make_note_section): Add 'self' argument.
1560 (procfs_make_note_section): Add 'self' argument.
1561 (procfs_make_note_section): Add 'self' argument.
1562 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1564 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1565 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1566 * exec.c (exec_make_note_section): Add 'self' argument.
1567 (exec_make_note_section): Add 'self' argument.
1569 2014-02-19 Tom Tromey <tromey@redhat.com>
1571 * target.h (struct target_ops) <to_find_memory_regions>: Add
1573 (target_find_memory_regions): Add argument.
1574 * target.c (dummy_find_memory_regions): Add 'self' argument.
1575 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1576 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1577 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1578 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1579 * exec. (exec_do_find_memory_regions): New global.
1580 (exec_set_find_memory_regions): Rewrite.
1581 (exec_find_memory_regions): New function.
1582 (init_exec_ops): Use exec_find_memory_regions.
1584 2014-02-19 Tom Tromey <tromey@redhat.com>
1586 * target.h (struct target_ops) <to_supports_non_stop>: Add
1588 * target.c (find_default_supports_non_stop): Add argument.
1589 (target_supports_non_stop): Add argument.
1590 (find_default_supports_non_stop): Add 'self' argument.
1591 * remote.c (remote_supports_non_stop): Add 'self' argument.
1592 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1594 2014-02-19 Tom Tromey <tromey@redhat.com>
1596 * target.h (struct target_ops) <to_log_command>: Add argument.
1597 (target_log_command): Add argument.
1598 * serial.h (serial_log_command): Add 'self' argument.
1599 * serial.c (serial_log_command): Add 'self' argument.
1601 2014-02-19 Tom Tromey <tromey@redhat.com>
1603 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1604 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1606 (target_pid_to_exec_file): Add argument.
1607 * target.c (debug_to_pid_to_exec_file): Add argument.
1608 (update_current_target): Update.
1609 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1610 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1611 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1612 (linux_handle_extended_wait): Update.
1613 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1614 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1615 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1616 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1618 2014-02-19 Tom Tromey <tromey@redhat.com>
1620 * target.h (struct target_ops) <to_rcmd>: Add argument.
1621 (target_rcmd): Add argument.
1622 * target.c (debug_to_rcmd): Add argument.
1623 (update_current_target, do_monitor_command): Update.
1624 * remote.c (remote_rcmd): Add 'self' argument.
1625 * monitor.c (monitor_rcmd): Add 'self' argument.
1627 2014-02-19 Tom Tromey <tromey@redhat.com>
1629 * windows-nat.c (windows_stop): Add 'self' argument.
1630 * target.h (struct target_ops) <to_stop>: Add argument.
1631 * target.c (target_stop): Add argument.
1632 (debug_to_stop): Add argument.
1633 (update_current_target): Update.
1634 * remote.c (remote_stop): Add 'self' argument.
1635 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1636 (gdbsim_cntrl_c): Update.
1637 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1638 * procfs.c (procfs_stop): Add 'self' argument.
1639 * nto-procfs.c (procfs_stop): Add 'self' argument.
1640 * monitor.c (monitor_stop): Add 'self' argument.
1641 (monitor_open): Update.
1642 * linux-nat.c (linux_nat_stop): Add argument.
1643 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1644 * gnu-nat.c (gnu_stop): Add 'self' argument.
1645 * darwin-nat.c (darwin_stop): Add 'self' argument.
1647 2014-02-19 Tom Tromey <tromey@redhat.com>
1649 * target.h (struct target_ops) <to_thread_name>: Add argument.
1650 * target.c (target_thread_name): Add argument.
1651 (update_current_target): Update.
1652 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
1654 2014-02-19 Tom Tromey <tromey@redhat.com>
1656 * target.h (struct target_ops) <to_extra_thread_info>: Add
1658 (target_extra_thread_info): Add argument.
1659 * target.c (update_current_target): Update.
1660 * remote.c (remote_threads_extra_info): Add 'self' argument.
1661 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
1663 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
1664 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
1665 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
1667 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
1669 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
1671 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
1674 2014-02-19 Tom Tromey <tromey@redhat.com>
1676 * target.h (struct target_ops) <to_program_signals>: Add argument.
1677 * target.c (target_program_signals): Add argument.
1678 * remote.c (remote_program_signals): Add 'self' argument.
1680 2014-02-19 Tom Tromey <tromey@redhat.com>
1682 * target.h (struct target_ops) <to_pass_signals>: Add argument.
1683 * target.c (target_pass_signals): Add argument.
1684 * remote.c (remote_pass_signals): Add 'self' argument.
1685 (remote_start_remote): Update.
1686 * procfs.c (procfs_pass_signals): Add 'self' argument.
1687 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
1688 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
1689 (linux_nat_create_inferior, linux_nat_attach): Update.
1691 2014-02-19 Tom Tromey <tromey@redhat.com>
1693 * windows-nat.c (windows_can_run): Add 'self' argument.
1694 * target.h (struct target_ops) <to_can_run>: Add argument.
1695 (target_can_run): Add argument.
1696 * target.c (debug_to_can_run): Add argument.
1697 (update_current_target): Update.
1698 * nto-procfs.c (procfs_can_run): Add 'self' argument.
1699 * inf-child.c (inf_child_can_run): Add 'self' argument.
1700 * go32-nat.c (go32_can_run): Add 'self' argument.
1702 2014-02-19 Tom Tromey <tromey@redhat.com>
1704 * target.h (struct target_ops) <to_has_exited>: Add argument.
1705 (target_has_exited): Add argument.
1706 * target.c (debug_to_has_exited): Add argument.
1707 (update_current_target): Update.
1709 2014-02-19 Tom Tromey <tromey@redhat.com>
1711 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
1713 (target_set_syscall_catchpoint): Add argument.
1714 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
1716 * target.c (update_current_target): Update.
1718 2014-02-19 Tom Tromey <tromey@redhat.com>
1720 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
1722 (target_remove_exec_catchpoint): Add argument.
1723 * target.c (debug_to_remove_exec_catchpoint): Add argument.
1724 (update_current_target): Update.
1725 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
1728 2014-02-19 Tom Tromey <tromey@redhat.com>
1730 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
1732 (target_insert_exec_catchpoint): Add argument.
1733 * target.c (debug_to_insert_exec_catchpoint): Add argument.
1734 (update_current_target): Update.
1735 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
1738 2014-02-19 Tom Tromey <tromey@redhat.com>
1740 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
1742 (target_remove_vfork_catchpoint): Add argument.
1743 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
1744 (update_current_target): Update.
1745 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
1748 2014-02-19 Tom Tromey <tromey@redhat.com>
1750 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
1752 (target_insert_vfork_catchpoint): Add argument.
1753 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
1754 (update_current_target): Update.
1755 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
1758 2014-02-19 Tom Tromey <tromey@redhat.com>
1760 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
1762 (target_remove_fork_catchpoint): Add argument.
1763 * target.c (debug_to_remove_fork_catchpoint): Add argument.
1764 (update_current_target): Update.
1765 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
1768 2014-02-19 Tom Tromey <tromey@redhat.com>
1770 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
1772 (target_insert_fork_catchpoint): Add argument.
1773 * target.c (debug_to_insert_fork_catchpoint): Add argument.
1774 (update_current_target): Update.
1775 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
1778 2014-02-19 Tom Tromey <tromey@redhat.com>
1780 * target.h (struct target_ops) <to_post_startup_inferior>: Add
1782 (target_post_startup_inferior): Add argument.
1783 * target.c (debug_to_post_startup_inferior): Add argument.
1784 (update_current_target): Update.
1785 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
1787 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
1789 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
1791 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
1793 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
1795 (super_post_startup_inferior): Likewise.
1796 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
1798 (super_post_startup_inferior): Likewise.
1799 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
1800 Add 'self' argument.
1801 (super_post_startup_inferior): Likewise.
1803 2014-02-19 Tom Tromey <tromey@redhat.com>
1805 * target.h (struct target_ops) <to_load>: Add argument.
1806 * target.c (target_load): Add argument.
1807 (debug_to_load): Add argument.
1808 (update_current_target): Update.
1809 * remote.c (remote_load): Add 'self' argument.
1810 * remote-sim.c (gdbsim_load): Add 'self' argument.
1811 * remote-mips.c (mips_load): Add 'self' argument.
1812 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
1813 * monitor.c (monitor_load): Add 'self' argument.
1814 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
1816 2014-02-19 Tom Tromey <tromey@redhat.com>
1818 * target.h (struct target_ops) <to_terminal_info>: Add argument.
1819 (target_terminal_info): Add argument.
1820 * target.c (debug_to_terminal_info): Add argument.
1821 (default_terminal_info): Likewise.
1822 * inflow.c (child_terminal_info): Add 'self' argument.
1823 * inferior.h (child_terminal_info): Add 'self' argument.
1824 * go32-nat.c (go32_terminal_info): Add 'self' argument.
1826 2014-02-19 Tom Tromey <tromey@redhat.com>
1828 * target.h (struct target_ops) <to_terminal_save_ours>: Add
1830 (target_terminal_save_ours): Add argument.
1831 * target.c (debug_to_terminal_save_ours): Add argument.
1832 (update_current_target): Update.
1833 * inflow.c (terminal_save_ours): Add 'self' argument.
1834 * inferior.h (terminal_save_ours): Add 'self' argument.
1836 2014-02-19 Tom Tromey <tromey@redhat.com>
1838 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
1839 (target_terminal_ours): Add argument.
1840 * target.c (debug_to_terminal_ours): Add argument.
1841 (update_current_target): Update.
1842 * remote.c (remote_terminal_ours): Add 'self' argument.
1843 (remote_close): Update.
1844 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
1845 * inflow.c (terminal_ours): Add 'self' argument.
1846 * inferior.h (terminal_ours): Add 'self' argument.
1847 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1849 2014-02-19 Pedro Alves <palves@redhat.com>
1850 Tom Tromey <tromey@redhat.com>
1852 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
1854 (target_terminal_ours_for_output): Add argument.
1855 * target.c (debug_to_terminal_ours_for_output): Add argument.
1856 (update_current_target): Update.
1857 * inflow.c (terminal_ours_for_output): Add 'self' argument.
1858 * inferior.h (terminal_ours_for_output): Add 'self' argument.
1859 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1861 2014-02-19 Tom Tromey <tromey@redhat.com>
1863 * target.h (struct target_ops) <to_terminal_inferior>: Add
1865 * target.c (target_terminal_inferior): Add argument.
1866 (update_current_target): Update.
1867 * remote.c (remote_terminal_inferior): Add 'self' argument.
1868 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
1869 * inflow.c (terminal_inferior): Add 'self' argument.
1870 * inferior.h (terminal_inferior): Add 'self' argument.
1871 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
1872 (go32_terminal_inferior): Add 'self' argument.
1874 2014-02-19 Tom Tromey <tromey@redhat.com>
1876 * target.h (struct target_ops) <to_terminal_init>: Add argument.
1877 (target_terminal_init): Add argument.
1878 * target.c (debug_to_terminal_init): Add argument.
1879 (update_current_target): Update.
1880 * inflow.c (terminal_init_inferior): Add 'self' argument.
1881 * inferior.h (terminal_init_inferior): Add 'self' argument.
1882 * go32-nat.c (go32_terminal_init): Add 'self' argument.
1883 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
1885 2014-02-19 Tom Tromey <tromey@redhat.com>
1887 * target.h (struct target_ops)
1888 <to_can_accel_watchpoint_condition>: Add argument.
1889 (target_can_accel_watchpoint_condition): Add argument.
1890 * target.c (debug_to_can_accel_watchpoint_condition): Add
1892 (update_current_target): Update.
1893 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
1896 2014-02-19 Tom Tromey <tromey@redhat.com>
1898 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1900 (target_region_ok_for_hw_watchpoint): Add argument.
1901 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
1902 (default_region_ok_for_hw_watchpoint): Add argument.
1903 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
1904 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
1906 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
1908 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
1910 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
1912 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
1914 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
1916 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
1917 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
1919 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
1920 Add 'self' argument.
1922 2014-02-19 Tom Tromey <tromey@redhat.com>
1924 * target.h (struct target_ops) <to_insert_watchpoint>: Add
1926 (target_insert_watchpoint): Add argument.
1927 * target.c (debug_to_insert_watchpoint): Add argument.
1928 (update_current_target): Update.
1929 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
1930 * remote.c (remote_insert_watchpoint): Add 'self' argument.
1931 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
1932 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
1933 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
1934 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
1936 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
1937 (procfs_insert_hw_watchpoint): Add 'self' argument.
1938 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
1940 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
1942 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
1944 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
1945 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
1947 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
1950 2014-02-19 Tom Tromey <tromey@redhat.com>
1952 * target.h (struct target_ops) <to_remove_watchpoint>: Add
1954 (target_remove_watchpoint): Add argument.
1955 * target.c (debug_to_remove_watchpoint): Add argument.
1956 (update_current_target): Update.
1957 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
1958 * remote.c (remote_remove_watchpoint): Add 'self' argument.
1959 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
1960 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
1961 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
1962 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
1964 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
1965 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
1967 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
1969 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
1971 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
1972 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
1974 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
1977 2014-02-19 Tom Tromey <tromey@redhat.com>
1979 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
1981 (target_remove_hw_breakpoint): Add argument.
1982 * target.c (debug_to_remove_hw_breakpoint): Add argument.
1983 (update_current_target): Update.
1984 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
1985 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
1987 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
1988 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
1990 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
1993 2014-02-19 Tom Tromey <tromey@redhat.com>
1995 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
1997 (target_insert_hw_breakpoint): Add argument.
1998 * target.c (debug_to_insert_hw_breakpoint): Add argument.
1999 (update_current_target): Update.
2000 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
2001 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
2003 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
2004 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
2005 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
2007 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
2010 2014-02-19 Tom Tromey <tromey@redhat.com>
2012 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
2014 (target_can_use_hardware_watchpoint): Add argument.
2015 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
2016 (update_current_target): Update.
2017 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
2019 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
2021 * remote.c (remote_check_watch_resources): Add 'self' argument.
2022 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
2023 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
2025 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
2026 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
2028 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
2030 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
2032 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
2034 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
2036 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
2038 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
2039 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
2041 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
2044 2014-02-19 Tom Tromey <tromey@redhat.com>
2046 * target.h (struct target_ops) <to_post_attach>: Add argument.
2047 (target_post_attach): Add argument.
2048 * target.c (debug_to_post_attach): Add argument.
2049 (update_current_target): Update.
2050 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
2051 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
2052 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
2053 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
2054 * inf-child.c (inf_child_post_attach): Add 'self' argument.
2056 2014-02-19 Tom Tromey <tromey@redhat.com>
2058 * windows-nat.c (windows_close): Add 'self' argument.
2059 * tracepoint.c (tfile_close): Add 'self' argument.
2060 * target.h (struct target_ops) <to_close>: Add argument.
2061 * target.c (target_close): Add argument.
2062 (update_current_target): Update.
2063 * remote.c (remote_close): Add 'self' argument.
2064 * remote-sim.c (gdbsim_close): Add 'self' argument.
2065 * remote-mips.c (mips_close): Add 'self' argument.
2066 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
2067 * record-full.c (record_full_close): Add 'self' argument.
2068 * record-btrace.c (record_btrace_close): Add 'self' argument.
2069 * monitor.h (monitor_close): Add 'self' argument.
2070 * monitor.c (monitor_close): Add 'self' argument.
2071 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
2072 * linux-nat.c (linux_nat_close): Add argument.
2073 * go32-nat.c (go32_close): Add 'self' argument.
2074 * exec.c (exec_close_1): Add 'self' argument.
2075 * ctf.c (ctf_close): Add 'self' argument.
2076 * corelow.c (core_close): Add 'self' argument.
2077 (core_close_cleanup): Update.
2078 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
2079 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
2081 2014-02-19 Tom Tromey <tromey@redhat.com>
2083 * remote.c (remote_load): New function.
2084 (init_remote_ops): Use it.
2086 2014-02-19 Tom Tromey <tromey@redhat.com>
2088 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
2090 * common/linux-btrace.h (linux_supports_btrace): Update.
2091 * remote.c (remote_supports_btrace): Add "self" argument.
2092 * target-delegates.c: Rebuild.
2093 * target.c (target_supports_btrace): Remove.
2094 * target.h (struct target_ops) <to_supports_btrace>: Add
2095 target_ops argument.
2096 (target_supports_btrace): New define.
2098 2014-02-19 Tom Tromey <tromey@redhat.com>
2100 * record-full.c (record_full_beneath_to_resume_ops)
2101 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
2102 (record_full_beneath_to_wait)
2103 (record_full_beneath_to_store_registers_ops)
2104 (record_full_beneath_to_store_registers)
2105 (record_full_beneath_to_xfer_partial_ops)
2106 (record_full_beneath_to_xfer_partial)
2107 (record_full_beneath_to_insert_breakpoint_ops)
2108 (record_full_beneath_to_insert_breakpoint)
2109 (record_full_beneath_to_remove_breakpoint_ops)
2110 (record_full_beneath_to_remove_breakpoint)
2111 (record_full_beneath_to_stopped_by_watchpoint)
2112 (record_full_beneath_to_stopped_data_address)
2113 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
2114 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
2115 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
2116 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
2117 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
2118 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
2119 (tmp_to_stopped_data_address, tmp_to_async): Remove.
2120 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
2121 (record_full_resume, record_full_wait_1)
2122 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
2123 (record_full_store_registers, record_full_xfer_partial)
2124 (record_full_insert_breakpoint, record_full_remove_breakpoint)
2125 (record_full_async, record_full_core_xfer_partial): Use target
2127 * target-delegates.c: Rebuild.
2128 * target.c (current_xfer_partial): Remove.
2129 (update_current_target): Do not INHERIT or de_fault
2130 to_insert_breakpoint, to_remove_breakpoint,
2131 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
2132 to_is_async_p, to_async. Do not set to_xfer_partial field.
2133 (default_xfer_partial): Simplify.
2134 (current_xfer_partial): Remove.
2135 (target_wait, target_resume): Simplify.
2136 (find_default_can_async_p, find_default_is_async_p): Update.
2137 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
2138 to_xfer_partial, to_stopped_by_watchpoint,
2139 to_stopped_data_address.
2140 (target_store_registers): Simplify.
2141 (forward_target_remove_breakpoint)
2142 (forward_target_insert_breakpoint): Remove.
2143 (target_remove_breakpoint, target_insert_breakpoint)
2144 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
2145 * target.h (struct target_ops) <to_resume, to_wait,
2146 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
2147 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
2148 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
2150 (forward_target_remove_breakpoint)
2151 (forward_target_insert_breakpoint): Remove.
2152 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
2154 (record_btrace_insert_breakpoint): Delegate directly.
2156 2014-02-19 Tom Tromey <tromey@redhat.com>
2159 * target-delegates.c: New file.
2160 * target.c: Include target-delegates.c.
2161 (init_dummy_target): Call install_dummy_methods.
2162 (complete_target_initialization): Call install_delegators.
2163 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
2164 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
2165 * make-target-delegates: New file.
2167 2014-02-19 Tom Tromey <tromey@redhat.com>
2169 * record.c (find_record_target): Use find_target_at.
2170 * target.c (find_target_at): New function.
2171 * target.h (find_target_at): Declare.
2173 2014-02-19 Tom Tromey <tromey@redhat.com>
2175 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
2177 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
2179 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
2180 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
2182 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
2184 * linux-nat.c (save_sigtrap): Update.
2185 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
2186 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
2187 (linux_nat_close): Update.
2188 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
2190 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
2192 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
2193 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
2194 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
2195 (tmp_to_async): Add 'ops' argument.
2196 (record_full_stopped_by_watchpoint, record_full_async)
2197 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
2199 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
2200 (m32r_stopped_by_watchpoint): Add 'ops' argument.
2201 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
2202 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
2203 (remote_is_async_p, remote_async): Add 'ops' argument.
2204 (remote_stopped_data_address): Update.
2205 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
2206 * target.c (update_current_target)
2207 (find_default_can_async_p, find_default_is_async_p): Update.
2208 (init_dummy_target): Update.
2209 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
2210 * target.h (struct target_ops) <to_stopped_by_watchpoint,
2211 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
2212 (target_can_async_p, target_is_async_p, target_async)
2213 (target_stopped_by_watchpoint): Update.
2215 2014-02-19 Yao Qi <yao@codesourcery.com>
2218 * gdbarch.sh: Remove startup_gdbarch.
2219 * gdbarch.c: Regenerated.
2220 * gdbarch.h: Likewise.
2222 2014-02-17 Kevin Buettner <kevinb@redhat.com>
2224 * rl78-tdep.c (rl78_g10_register_name): New function.
2225 (rl78_return_value): Add g10 support.
2226 (rl78_gdbarch_init): Register rl78_g10_register_name for the
2229 2014-02-17 Doug Evans <xdje42@gmail.com>
2231 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
2232 (SUBDIR_GUILE_SRCS): Ditto.
2233 (scm-gsmob.o): Ditto.
2235 2014-02-17 Yao Qi <yao@codesourcery.com>
2237 * gnu-nat.c (ILL_RPC): Declare defined function.
2239 2014-02-17 Yao Qi <yao@codesourcery.com>
2241 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
2242 mach_msg_type_number_t.
2243 (gnu_write_inferior): Likewise.
2245 2014-02-17 Yao Qi <yao@codesourcery.com>
2247 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
2249 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
2250 (inf_validate_procs, inf_signal): Likewise.
2251 (S_exception_raise_request): Likewise.
2252 (do_mach_notify_dead_name): Likewise.
2253 (steal_exc_port): Likewise.
2254 (gnu_read_inferior): Change 'copy_count''s type to
2255 mach_msg_type_number_t.
2256 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
2259 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
2261 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
2262 flag. Adjust all users; in particular...
2263 (gnu_wait): ..., don't decrement its value in here...
2264 (gnu_create_inferior): ..., and instead set the flag in here,
2265 around the startup_inferior call, and call that one with
2266 START_INFERIOR_TRAPS_EXPECTED.
2268 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
2269 (ILL_RPC): ... new macro.
2270 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
2271 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
2272 (do_mach_notify_send_once, S_proc_setmsgport_reply)
2273 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
2274 functions with ILL_RPC macro.
2275 (S_proc_pid2task_reply, S_proc_task2pid_reply)
2276 (S_proc_task2proc_reply, S_proc_proc2task_reply)
2277 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
2278 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
2279 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
2280 (S_proc_getlogin_reply, S_proc_getsid_reply)
2281 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
2282 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
2283 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
2284 (S_proc_getnports_reply, S_proc_is_important_reply)
2285 (S_proc_get_code_reply): New stub functions, generated with
2288 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
2289 collected the type check structures.
2291 * reply_mig_hack.awk: Don't expect to see the auto keyword.
2293 2014-02-14 Doug Evans <dje@google.com>
2295 * target.c (target_write_partial): Fix result type.
2297 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2299 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
2300 the proper offsets to access fpregset_t.
2302 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
2304 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
2305 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
2306 * h8300-tdep.c (setmachinelist): Remove global.
2307 * hppa-tdep.c (hppa_sigtramp): Remove global.
2308 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
2309 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
2310 * ravenscar-thread.c (update_target_observer): Remove global.
2311 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
2313 2014-02-12 Tom Tromey <tromey@redhat.com>
2315 * common/rsp-low.c: Update comments.
2316 * common/rsp-low.h: Update comments.
2318 2014-02-12 Tom Tromey <tromey@redhat.com>
2320 * common/rsp-low.c (convert_ascii_to_int): Remove.
2321 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
2323 2014-02-12 Tom Tromey <tromey@redhat.com>
2325 * common/rsp-low.h (unhexify): Don't declare.
2326 * common/rsp-low.c (unhexify): Remove.
2328 2014-02-12 Tom Tromey <tromey@redhat.com>
2330 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
2331 * common/rsp-low.c (convert_int_to_ascii): Remove.
2333 2014-02-12 Tom Tromey <tromey@redhat.com>
2335 * common/rsp-low.h (hexify): Don't declare.
2336 * common/rsp-low.c (hexify): Remove.
2338 2014-02-12 Tom Tromey <tromey@redhat.com>
2340 * common/rsp-low.c (hexify): Never take strlen of argument.
2342 2014-02-12 Tom Tromey <tromey@redhat.com>
2344 * common/rsp-low.c (bin2hex): Never take strlen of argument.
2345 * remote.c (extended_remote_run, remote_rcmd)
2346 (remote_download_trace_state_variable, remote_save_trace_data)
2347 (remote_set_trace_notes): Update.
2348 * tracepoint.c (encode_source_string, tfile_write_status)
2349 (tfile_write_uploaded_tsv): Update.
2351 2014-02-12 Tom Tromey <tromey@redhat.com>
2353 * tracepoint.c: Include rsp-low.h.
2354 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
2355 * remote.c: Include rsp-low.h.
2356 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
2357 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
2358 (remote_unescape_input): Move to common/rsp-low.c.
2359 * common/rsp-low.h: New file.
2360 * common/rsp-low.c: New file.
2361 * Makefile.in (SFILES): Add common/rsp-low.c.
2362 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
2363 (COMMON_OBS): Add rsp-low.o.
2364 (rsp-low.o): New target.
2366 2014-02-12 Tom Tromey <tromey@redhat.com>
2368 * utils.h: Include print-utils.h.
2369 (host_address_to_string, plongest, pulongest, phex, phex_nz)
2370 (int_string, core_addr_to_string, core_addr_to_string_nz)
2371 (hex_string, hex_string_custom): Don't declare.
2372 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2373 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2374 (hex_string_custom, int_string, core_addr_to_string)
2375 (core_addr_to_string_nz, host_address_to_string): Move to
2376 common/print-utils.c.
2377 * common/print-utils.h: New file.
2378 * common/print-utils.c: New file
2379 * Makefile.in (SFILES): Add common/print-utils.c.
2380 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2381 (COMMON_OBS): Add print-utils.o.
2382 (print-utils.o): New target.
2384 2014-02-12 Tom Tromey <tromey@redhat.com>
2386 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2388 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2390 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2392 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2394 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2395 if a PT_IO ptrace request returns sucessfully but indicates that 0
2396 bytes were transferred.
2398 2014-02-12 Pedro Alves <palves@redhat.com>
2399 Kevin Buettner <kevinb@redhat.com>
2401 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2402 TYPE_INSTANCE_FLAG_CODE_SPACE.
2404 2014-02-12 Pedro Alves <palves@redhat.com>
2406 * h8300-tdep.c (pseudo_from_raw_register)
2407 (raw_from_pseudo_register): New functions.
2408 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2411 2014-02-12 Pedro Alves <palves@redhat.com>
2413 * h8300-tdep.c (h8300_register_sim_regno): New function.
2414 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2415 gdbarch_register_sim_regno hook.
2417 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2419 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2421 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2423 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2425 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2427 * obsd-tdep.h (obsd_init_abi): New prototype.
2428 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2429 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2430 (obsd_init_abi): New functions.
2431 * i386obsd-tdep.c: Include "obsd-tdep.h".
2432 (i386obsd_init_abi): Call obsd_init_abi.
2433 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2434 (amd64obsd_init_abi): Call obsd_init_abi.
2435 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2436 obsd-tdep.c to gdb_target_obs.
2438 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2440 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2441 double float arguments to 16-byte in the argument slots.
2443 2014-02-11 Doug Evans <xdje42@gmail.com>
2445 * configure.ac: Don't crash if pkg-config is not found and guile
2446 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2448 * configure: Regenerate.
2450 2014-02-11 Yao Qi <yao@codesourcery.com>
2452 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2453 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2454 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2455 * gnu-nat.c (gnu_xfer_memory): Likewise.
2456 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2457 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2458 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2459 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2461 2014-02-11 Yao Qi <yao@codesourcery.com>
2463 * target.h (enum target_xfer_error): Rename to ...
2464 (enum target_xfer_status): ... it. New. All users updated.
2465 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2467 (TARGET_XFER_STATUS_ERROR_P): New macro.
2468 (target_xfer_error_to_string): Remove declaration.
2469 (target_xfer_status_to_string): Declare.
2470 (target_xfer_partial_ftype): Adjust it.
2471 (struct target_ops) <to_xfer_partial>: Return
2472 target_xfer_status. Add argument xfered_len. Update
2474 * target.c (target_xfer_error_to_string): Rename to ...
2475 (target_xfer_status_to_string): ... it. New. All callers
2477 (target_read_live_memory): Likewise. Call target_xfer_partial
2478 instead of target_read.
2479 (memory_xfer_live_readonly_partial): Return
2480 target_xfer_status. Add argument xfered_len.
2481 (raw_memory_xfer_partial): Likewise.
2482 (memory_xfer_partial_1): Likewise.
2483 (memory_xfer_partial): Likewise.
2484 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2485 properly. Update debug message.
2486 (default_xfer_partial, current_xfer_partial): Likewise.
2487 (target_write_partial): Likewise.
2488 (target_read_partial): Likewise. All callers updated.
2489 (read_whatever_is_readable): Likewise.
2490 (target_write_with_progress): Likewise.
2491 (target_read_alloc_1): Likewise.
2493 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2494 * auxv.c (procfs_xfer_auxv): Likewise.
2495 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2496 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2497 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2498 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2499 * corefile.c (read_memory): Adjust.
2500 * corelow.c (core_xfer_partial): Likewise.
2501 * ctf.c (ctf_xfer_partial): Likewise.
2502 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2504 (darwin_xfer_partial): Likewise.
2505 * exec.c (section_table_xfer_memory_partial): Likewise. All
2507 (exec_xfer_partial): Likewise.
2508 * exec.h (section_table_xfer_memory_partial): Update
2510 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2512 (gnu_xfer_partial): Likewise.
2513 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2514 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2515 (ia64_hpux_xfer_solib_got): Likewise.
2516 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2517 type of 'partial_len' to ULONGEST.
2518 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2519 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2520 (linux_nat_xfer_partial): Likewise.
2521 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2522 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2523 * monitor.c (monitor_xfer_memory): Likewise.
2524 (monitor_xfer_partial): Likewise.
2525 * procfs.c (procfs_xfer_partial): Likewise.
2526 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2527 * record-full.c (record_full_xfer_partial): Likewise.
2528 (record_full_core_xfer_partial): Likewise.
2529 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2530 (gdbsim_xfer_partial): Likewise.
2531 * remote.c (remote_write_bytes_aux): Likewise. All callers
2533 (remote_write_bytes, remote_read_bytes): Likewise. All
2535 (remote_flash_erase): Likewise. All callers updated.
2536 (remote_write_qxfer): Likewise. All callers updated.
2537 (remote_read_qxfer): Likewise. All callers updated.
2538 (remote_xfer_partial): Likewise.
2539 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2540 (rs6000_xfer_shared_libraries): Likewise.
2541 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2542 (sol_thread_xfer_partial): Likewise.
2543 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2544 (sparc_xfer_partial): Likewise.
2545 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2547 (spu_xfer_partial): Likewise.
2548 * spu-multiarch.c (spu_xfer_partial): Likewise.
2549 * tracepoint.c (tfile_xfer_partial): Likewise.
2550 * windows-nat.c (windows_xfer_memory): Likewise.
2551 (windows_xfer_shared_libraries): Likewise.
2552 (windows_xfer_partial): Likewise.
2553 * valprint.c: Replace 'target_xfer_error' with
2554 'target_xfer_status' in comments.
2556 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2558 Checked in by Joel Brobecker <brobecker@adacore.com>.
2559 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2561 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2563 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2564 function parameters.
2566 2014-02-10 Will Newton <will.newton@linaro.org>
2568 * elfread.c (elf_rel_plt_read): Look for a .got section if
2569 looking up .got.plt fails.
2570 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2571 on address passed to elf_gnu_ifunc_record_cache.
2572 (elf_gnu_ifunc_resolve_addr): Likewise.
2573 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2575 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2577 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2578 (X_RETTURN): New macro.
2579 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2581 * sparc64-tdep.c (sparc64_init_abi): Hook
2582 sparc_in_function_epilogue_p.
2584 2014-02-10 Gary Benson <gbenson@redhat.com>
2586 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2587 Rename name_matcher to symbol_matcher.
2589 2014-02-10 Gary Benson <gbenson@redhat.com>
2591 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2592 Use expand_symtabs_file_matcher_ftype and
2593 expand_symtabs_symbol_matcher_ftype.
2595 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2597 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2598 (struct ada_symbol_cache): New.
2599 (ada_free_symbol_cache): Forward declare.
2600 (struct ada_pspace_data): New.
2601 (ada_pspace_data_handle): New static global.
2602 (get_ada_pspace_data, ada_pspace_data_cleanup)
2603 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2604 (cache_space, cache): Delete, now folded inside struct
2606 (ada_get_symbol_cache): New function.
2607 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2609 (_initialize_ada_language): Remove initialization of cache_space.
2610 Move call to observer_attach_inferior_exit up, grouping it
2611 with the other observer registrations inside this function.
2612 Rename command to be more general. Add call to
2613 register_program_space_data_with_cleanup.
2615 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2617 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2618 ada_new_objfile_observer.
2619 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2620 (_initialize_tasks): Update uses of ada_new_objfile_observer
2621 and ada_tasks_normal_stop_observer.
2623 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2625 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2626 returned by the 'Length attribute to integer.
2628 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2630 * ada-lang.c (_initialize_ada_language): Initialize
2631 cache_space obstack.
2633 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2635 * ada-lang.c (HASH_SIZE): New macro.
2636 (struct cache_entry): New type.
2637 (cache_space, cache): New static globals.
2638 (ada_clear_symbol_cache, find_entry): New functions.
2639 (lookup_cached_symbol, cache_symbol): Implement.
2640 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2641 (_initialize_ada_language): Attach ada_new_objfile_observer
2642 and ada_free_objfile_observer.
2644 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2646 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
2647 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
2648 struct block * parameter.
2649 (ada_lookup_symbol_list_worker): Constify local variable "block".
2650 Remove cast which is no longer necessary.
2652 2014-02-10 Doug Evans <xdje42@gmail.com>
2654 Add Guile as an extension language.
2655 * NEWS: Mention Guile scripting.
2656 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
2657 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
2658 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
2659 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
2660 (CLIBS): Add GUILE_LIBS.
2661 (install-guile): New rule.
2662 (guile.o): New rule.
2663 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
2664 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
2665 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
2666 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
2667 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
2668 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
2669 (scm-type.o, scm-utils.o, scm-value.o): New rules.
2670 * configure.ac: New option --with-guile.
2671 * configure: Regenerate.
2672 * config.in: Regenerate.
2673 * auto-load.c: Remove #include "python/python.h". Add #include
2674 "gdb/section-scripts.h".
2675 (source_section_scripts): Handle Guile scripts.
2676 (_initialize_auto_load): Add name of Guile objfile script to
2677 scripts-directory help text.
2678 * breakpoint.c (condition_command): Tweak comment to include Scheme.
2679 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
2680 (struct breakpoint): New member scm_bp_object.
2681 * defs.h (enum command_control_type): New value guile_control.
2682 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
2684 (show_user): Update comment.
2685 (_initialize_cli_cmds): Update help text for "show user". Update help
2686 text for max-user-call-depth.
2687 * cli/cli-script.c: Remove #include "python/python.h". Add #include
2689 (multi_line_command_p): Add guile_control.
2690 (print_command_lines): Handle guile_control.
2691 (execute_control_command, recurse_read_control_structure): Ditto.
2692 (process_next_line): Recognize "guile" commands.
2693 * disasm.c (gdb_disassemble_info): Make non-static.
2694 * disasm.h: #include "dis-asm.h".
2695 (struct gdbarch): Add forward decl.
2696 (gdb_disassemble_info): Declare.
2697 * extension.c: #include "guile/guile.h".
2698 (extension_languages): Add guile.
2699 (get_ext_lang_defn): Handle EXT_LANG_GDB.
2700 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
2701 * gdbtypes.c (get_unsigned_type_max): New function.
2702 (get_signed_type_minmax): New function.
2703 * gdbtypes.h (get_unsigned_type_max): Declare.
2704 (get_signed_type_minmax): Declare.
2705 * guile/README: New file.
2706 * guile/guile-internal.h: New file.
2707 * guile/guile.c: New file.
2708 * guile/guile.h: New file.
2709 * guile/scm-arch.c: New file.
2710 * guile/scm-auto-load.c: New file.
2711 * guile/scm-block.c: New file.
2712 * guile/scm-breakpoint.c: New file.
2713 * guile/scm-disasm.c: New file.
2714 * guile/scm-exception.c: New file.
2715 * guile/scm-frame.c: New file.
2716 * guile/scm-gsmob.c: New file.
2717 * guile/scm-iterator.c: New file.
2718 * guile/scm-lazy-string.c: New file.
2719 * guile/scm-math.c: New file.
2720 * guile/scm-objfile.c: New file.
2721 * guile/scm-ports.c: New file.
2722 * guile/scm-pretty-print.c: New file.
2723 * guile/scm-safe-call.c: New file.
2724 * guile/scm-string.c: New file.
2725 * guile/scm-symbol.c: New file.
2726 * guile/scm-symtab.c: New file.
2727 * guile/scm-type.c: New file.
2728 * guile/scm-utils.c: New file.
2729 * guile/scm-value.c: New file.
2730 * guile/lib/gdb.scm: New file.
2731 * guile/lib/gdb/boot.scm: New file.
2732 * guile/lib/gdb/experimental.scm: New file.
2733 * guile/lib/gdb/init.scm: New file.
2734 * guile/lib/gdb/iterator.scm: New file.
2735 * guile/lib/gdb/printing.scm: New file.
2736 * guile/lib/gdb/types.scm: New file.
2737 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
2738 (VPATH): Add $(GUILE_SRCDIR).
2739 (GUILE_DIR): New variable.
2740 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
2741 (all): Add stamp-guile dependency.
2742 (stamp-guile): New rule.
2743 (clean-guile, install-guile, uninstall-guile): New rules.
2744 (install-only): Add install-guile dependency.
2745 (uninstall): Add uninstall-guile dependency.
2746 (clean): Add clean-guile dependency.
2748 2014-02-09 Doug Evans <xdje42@gmail.com>
2750 Revert this patch (which I approved, mea culpa).
2752 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2754 * Makefile.in (all-lib): Remove.
2755 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2757 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2759 Fix Python stack corruption.
2760 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
2763 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2765 * Makefile.in (all-lib): Remove.
2766 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2768 2014-02-07 Doug Evans <dje@google.com>
2770 * extension-priv.h (extension_language_script_ops): Add comment.
2771 (extension_language_ops): Add comment.
2772 (active_ext_lang_state): Fix typo in comment.
2774 2014-02-07 Pedro Alves <palves@redhat.com>
2776 * infrun.c (handle_signal_stop) <signal arrives while stepping
2777 over a breakpoint>: Switch back to the stepping thread.
2779 2014-02-07 Yao Qi <yao@codesourcery.com>
2781 * target.c (target_xfer_partial): Return zero if LEN is zero.
2783 2014-02-07 Yao Qi <yao@codesourcery.com>
2785 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
2786 (ld_so_xfer_auxv): Likewise.
2787 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2788 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2789 * corelow.c (core_xfer_partial): Likewise.
2790 * ctf.c (ctf_xfer_partial): Likewise.
2791 * darwin-nat.c (darwin_read_dyld_info): Likewise.
2792 (darwin_xfer_partial): Likewise.
2793 * exec.c (exec_xfer_partial): Likewise.
2794 * gnu-nat.c (gnu_xfer_partial): Likewise.
2795 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
2796 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2797 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2798 * linux-nat.c (linux_xfer_siginfo): Likewise.
2799 (linux_proc_xfer_spu): Likewise.
2800 * procfs.c (procfs_xfer_partial): Likewise.
2801 * record-full.c (record_full_xfer_partial): Likewise.
2802 (record_full_core_xfer_partial): Likewise.
2803 * remote-sim.c (gdbsim_xfer_partial): Likewise.
2804 * remote.c (remote_write_qxfer): Likewise.
2805 (remote_write_qxfer, remote_read_qxfer): Likewise.
2806 (remote_xfer_partial): Likewise.
2807 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2808 (rs6000_xfer_shared_libraries): Likewise.
2809 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2810 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2811 (spu_xfer_partial): Likewise.
2812 * target.c (memory_xfer_partial_1): Likewise.
2813 * tracepoint.c (tfile_xfer_partial): Likewise.
2814 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
2815 (windows_xfer_partial): Likewise.
2817 2014-02-07 Yao Qi <yao@codesourcery.com>
2819 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
2821 (core_xfer_shared_libraries_aix): Likewise.
2822 * gdbarch.c, gdbarch.h: Regenerated.
2823 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
2824 ULONGEST. Change 'len_avail' type to ULONGEST.
2825 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
2826 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
2828 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
2830 2014-02-07 Yao Qi <yao@codesourcery.com>
2832 * corefile.c (memory_error): Get 'exception' from ERR and pass
2833 'exception' to throw_error.
2835 2014-02-06 Doug Evans <xdje42@gmail.com>
2837 * configure.ac (libpython checking): Remove all but python.o from
2838 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
2839 * configure: Regenerate.
2841 * Makefile.in (SFILES): Add extension.c.
2842 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
2843 (COMMON_OBS): Add extension.o.
2844 * extension.h: New file.
2845 * extension-priv.h: New file.
2846 * extension.c: New file.
2848 * python/python-internal.h: #include "extension.h".
2849 (gdbpy_auto_load_enabled): Declare.
2850 (gdbpy_apply_val_pretty_printer): Declare.
2851 (gdbpy_apply_frame_filter): Declare.
2852 (gdbpy_preserve_values): Declare.
2853 (gdbpy_breakpoint_cond_says_stop): Declare.
2854 (gdbpy_breakpoint_has_cond): Declare.
2855 (void source_python_script_for_objfile): Delete.
2856 * python/python.c: #include "extension-priv.h".
2857 Delete inclusion of "observer.h".
2858 (extension_language_python): Moved here and renamed from
2859 script_language_python in py-auto-load.c.
2860 Redefined to be of type extension_language_defn.
2861 (python_extension_script_ops): New global.
2862 (python_extension_ops): New global.
2863 (struct python_env): New member previous_active.
2864 (restore_python_env): Call restore_active_ext_lang.
2865 (ensure_python_env): Call set_active_ext_lang.
2866 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
2868 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
2870 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
2872 (gdbpy_eval_from_control_command): Renamed from
2873 eval_python_from_control_command, made static. New arg extlang.
2874 (gdbpy_source_script) Renamed from source_python_script, made static.
2876 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
2877 result to int. New arg extlang.
2878 (gdbpy_source_objfile_script): Renamed from
2879 source_python_script_for_objfile, made static. New arg extlang.
2880 (gdbpy_start_type_printers): Renamed from start_type_printers, made
2881 static. New args extlang, extlang_printers. Change result type to
2883 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
2884 static. New arg extlang. Rename arg printers to extlang_printers
2885 and change type to ext_lang_type_printers *.
2886 (gdbpy_free_type_printers): Renamed from free_type_printers, made
2887 static. Replace argument arg with extlang, extlang_printers.
2888 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
2889 (!HAVE_PYTHON, source_python_script): Delete.
2890 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
2891 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
2892 (!HAVE_PYTHON, start_type_printers): Delete.
2893 (!HAVE_PYTHON, apply_type_printers): Delete.
2894 (!HAVE_PYTHON, free_type_printers): Delete.
2895 (_initialize_python): Delete call to observer_attach_before_prompt.
2896 (finalize_python): Set/restore active extension language.
2897 (gdbpy_finish_initialization) Renamed from
2898 finish_python_initialization, made static. New arg extlang.
2899 (gdbpy_initialized): New function.
2900 * python/python.h: #include "extension.h". Delete #include
2901 "value.h", "mi/mi-cmds.h".
2902 (extension_language_python): Declare.
2903 (GDBPY_AUTO_FILE_NAME): Delete.
2904 (enum py_bt_status): Moved to extension.h and renamed to
2906 (enum frame_filter_flags): Moved to extension.h.
2907 (enum py_frame_args): Moved to extension.h and renamed to
2908 ext_lang_frame_args.
2909 (finish_python_initialization): Delete.
2910 (eval_python_from_control_command): Delete.
2911 (source_python_script): Delete.
2912 (apply_val_pretty_printer): Delete.
2913 (apply_frame_filter): Delete.
2914 (preserve_python_values): Delete.
2915 (gdbpy_script_language_defn): Delete.
2916 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
2917 (start_type_printers, apply_type_printers, free_type_printers): Delete.
2919 * auto-load.c: #include "extension.h".
2920 (GDB_AUTO_FILE_NAME): Delete.
2921 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
2922 (script_language_gdb): Delete, moved to extension.c and renamed to
2923 extension_language_gdb.
2924 (source_gdb_script_for_objfile): Delete.
2925 (auto_load_pspace_info): New member unsupported_script_warning_printed.
2926 (loaded_script): Change type of language member to
2927 struct extension_language_defn *.
2928 (init_loaded_scripts_info): Initialize
2929 unsupported_script_warning_printed.
2930 (maybe_add_script): Make static. Change type of language arg to
2931 struct extension_language_defn *.
2932 (clear_section_scripts): Reset unsupported_script_warning_printed.
2933 (auto_load_objfile_script_1): Rewrite to use extension language API.
2934 (auto_load_objfile_script): Make public. Remove support-compiled-in
2935 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
2936 (source_section_scripts): Rewrite to use extension language API.
2937 (load_auto_scripts_for_objfile): Rewrite to use
2938 auto_load_scripts_for_objfile.
2939 (collect_matching_scripts_data): Change type of language member to
2940 struct extension_language_defn *.
2941 (auto_load_info_scripts): Change type of language arg to
2942 struct extension_language_defn *.
2943 (unsupported_script_warning_print): New function.
2944 (script_not_found_warning_print): Make static.
2945 (_initialize_auto_load): Rewrite construction of scripts-directory
2947 * auto-load.h (struct objfile): Add forward decl.
2948 (struct script_language): Delete.
2949 (struct auto_load_pspace_info): Add forward decl.
2950 (struct extension_language_defn): Add forward decl.
2951 (maybe_add_script): Delete.
2952 (auto_load_objfile_script): Declare.
2953 (script_not_found_warning_print): Delete.
2954 (auto_load_info_scripts): Update prototype.
2955 (auto_load_gdb_scripts_enabled): Declare.
2956 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
2957 auto_load_python_scripts_enabled and made public.
2958 (script_language_python): Delete, moved to python.c.
2959 (gdbpy_script_language_defn): Delete.
2960 (info_auto_load_python_scripts): Update to use
2961 extension_language_python.
2963 * breakpoint.c (condition_command): Replace call to
2964 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
2965 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
2966 with call to breakpoint_ext_lang_cond_says_stop.
2967 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
2968 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
2969 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
2970 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
2972 (local_setattro): Print name of extension language with existing
2975 * valprint.c (val_print, value_print): Update to call
2976 apply_ext_lang_val_pretty_printer.
2977 * cp-valprint.c (cp_print_value): Update call to
2978 apply_ext_lang_val_pretty_printer.
2979 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
2980 (gdbpy_apply_val_pretty_printer): Renamed from
2981 apply_val_pretty_printer. New arg extlang.
2982 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
2984 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
2985 extension language API.
2986 * cli/cli-script.c (execute_control_command): Update to call
2987 eval_ext_lang_from_control_command.
2989 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
2990 enum ext_lang_bt_status values. Update call to
2991 apply_ext_lang_frame_filter.
2992 (mi_cmd_stack_list_locals): Ditto.
2993 (mi_cmd_stack_list_args): Ditto.
2994 (mi_cmd_stack_list_variables): Ditto.
2995 * mi/mi-main.c: Delete #include "python/python-internal.h".
2996 Add #include "extension.h".
2997 (mi_cmd_list_features): Replace reference to python internal variable
2998 gdb_python_initialized with call to ext_lang_initialized_p.
3000 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
3001 Update to use enum ext_lang_frame_args. Update to call
3002 apply_ext_lang_frame_filter.
3003 * python/py-framefilter.c (extract_sym): Update to use enum
3005 (extract_value, py_print_type, py_print_value): Ditto.
3006 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
3007 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
3008 (py_print_frame): Ditto.
3009 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
3010 New arg extlang. Update to use enum ext_lang_bt_status.
3012 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
3013 finish_python_initialization. Replace with call to
3014 finish_ext_lang_initialization.
3016 * typeprint.c (do_free_global_table): Update to call
3017 free_ext_lang_type_printers.
3018 (create_global_typedef_table): Update to call
3019 start_ext_lang_type_printers.
3020 (find_global_typedef): Update to call apply_ext_lang_type_printers.
3021 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
3022 (type_print_options): Change type of global_printers from "void *"
3023 to "struct ext_lang_type_printers *".
3025 * value.c (preserve_values): Update to call preserve_ext_lang_values.
3026 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
3027 (gdbpy_preserve_values): Renamed from preserve_python_values.
3029 (!HAVE_PYTHON, preserve_python_values): Delete.
3031 * utils.c (quit_flag): Delete, moved to extension.c.
3032 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
3035 * eval.c: Delete #include "python/python.h".
3036 * main.c: Delete #include "python/python.h".
3038 * defs.h: Update comment.
3040 2014-02-06 Joel Brobecker <brobecker@adacore.com>
3044 2014-02-05 Mark Kettenis <kettenis@gnu.org>
3046 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
3049 2014-02-05 Yao Qi <yao@codesourcery.com>
3051 * remote.c (remote_pass_signals): Remove local 'buf' and use
3053 (remote_program_signals): Likewise.
3055 2014-02-05 Yao Qi <yao@codesourcery.com>
3057 * ctf.c: Include "inferior.h" and "gdbthread.h".
3058 (CTF_PID): A new macro.
3059 (ctf_open): Call inferior_appeared and add_thread_silent.
3060 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
3061 (ctf_thread_alive): New function.
3062 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
3064 2014-02-05 Yao Qi <yao@codesourcery.com>
3068 2013-05-24 Yao Qi <yao@codesourcery.com>
3070 * tracepoint.c (TFILE_PID): Remove.
3071 (tfile_open): Don't add thread and inferior.
3072 (tfile_close): Don't set 'inferior_ptid'. Don't call
3073 exit_inferior_silent.
3074 (tfile_thread_alive): Remove.
3075 (init_tfile_ops): Don't set field 'to_thread_alive' of
3078 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
3080 * remote.c (remote_start_remote): Call remote_check_symbols even
3081 if only symbol-file (not file) has been given.
3083 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3085 * gdbarch.sh (skip_entrypoint): New callback.
3086 * gdbarch.c, gdbarch.h: Regenerate.
3087 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
3088 * infrun.c (fill_in_stop_func): Likewise.
3089 * ppc-linux-tdep.c: Include "elf/ppc64.h".
3090 (ppc_elfv2_elf_make_msymbol_special): New function.
3091 (ppc_elfv2_skip_entrypoint): Likewise.
3092 (ppc_linux_init_abi): Install them for ELFv2.
3094 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3096 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
3097 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
3098 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
3099 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
3100 structures returned in GPRs.
3102 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3104 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
3105 offset to the stack parameter list for the ELFv2 ABI.
3107 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3109 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
3110 set_gdbarch_convert_from_func_ptr_addr and
3111 set_gdbarch_elf_make_msymbol_special for ELFv1.
3112 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
3113 function descriptors on ELFv1.
3114 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
3115 set up r12 at function entry.
3117 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3119 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
3120 (struct gdbarch_tdep): New member elf_abi.
3122 * rs6000-tdep.c: Include "elf/ppc64.h".
3123 (rs6000_gdbarch_init): Detect ELF ABI version.
3125 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3127 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
3128 within a register pair holding a DFP 128-bit value on little-endian.
3129 (ppc64_sysv_abi_return_value_base): Likewise.
3130 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
3131 (dfp_pseudo_register_write): Likewise.
3133 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3135 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
3136 offset on little-endian when passing _Decimal32.
3137 (ppc64_sysv_abi_return_value_base): Likewise for return values.
3139 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3141 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
3142 of the overlapped FP register within the VSX register on little-
3144 (efpr_pseudo_register_write): Likewise.
3146 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3148 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
3149 offset on little-endian when passing small structures.
3151 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3153 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
3154 (struct ppc64_sysv_argpos): New data structure.
3155 (ppc64_sysv_abi_push_float): Remove.
3156 (ppc64_sysv_abi_push_val): New function.
3157 (ppc64_sysv_abi_push_integer): Likewise.
3158 (ppc64_sysv_abi_push_freg): Likewise.
3159 (ppc64_sysv_abi_push_vreg): Likewise.
3160 (ppc64_sysv_abi_push_param): Likewise.
3161 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
3162 (ppc64_sysv_abi_return_value_base): New function.
3163 (ppc64_sysv_abi_return_value): Refactor to use it.
3165 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3167 * NEWS: Document new target powerpc64le-*-linux*.
3169 2014-02-04 Mark Kettenis <kettenis@gnu.org>
3171 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
3172 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
3174 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
3175 register set used in ELF core dumps. Add floating-point register set.
3177 2014-02-03 Kevin Buettner <kevinb@redhat.com>
3179 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
3180 dwarf2_to_gdb[] table using symbolic constants. Adjust
3181 penultimate entry from number representing the PC register
3182 to symbolic constant representing the MDR register. Add
3183 constant for the PC register to the end of the table.
3185 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3187 * bsd-kvm.c: Include <sys/param.h>
3189 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3191 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
3193 2014-01-31 Joel Brobecker <brobecker@adacore.com>
3195 * ada-lang.h (clear_ada_sym_cache): Delete.
3197 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
3199 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
3201 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3203 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
3204 the sigreturn register save area only if the syscall is
3207 2014-01-29 Joel Brobecker <brobecker@adacore.com>
3209 * valops.c (value_slice): Minor reformatting.
3211 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
3213 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
3215 2014-01-28 Joel Brobecker <brobecker@adacore.com>
3217 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
3219 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
3220 (ada_ignore_descriptive_types_p): New static global.
3221 (find_parallel_type_by_descriptive_type): Return immediately
3222 if ada_ignore_descriptive_types_p is set.
3223 (_initialize_ada_language): Register new commands "maintenance
3224 set ada", "maintenance show ada", "maintenance set ada
3225 ignore-descriptive-types" and "maintenance show ada
3226 ignore-descriptive-types".
3227 * NEWS: Add entry for new "maint ada set/show
3228 ignore-descriptive-types" commands.
3230 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
3232 * record-btrace.c (record_btrace_close): Call btrace_teardown
3235 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3237 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
3240 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3242 * ada-typeprint (type_is_full_subrange_of_target_type):
3244 (print_range): Add parameter bounds_prefered_p. If not set,
3245 try printing range types using the name of their base type.
3246 (print_range_type): Add parameter bounds_prefered_p.
3247 Use it in call to print_range.
3248 (print_array_type, ada_print_type): Update calls to print_range
3249 and print_range_type.
3251 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3253 * ada-typeprint.c (print_array_type, print_choices, print_range)
3254 (print_range_bound, print_dynamic_range_bound, print_range_type):
3257 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3259 * ada-typeprint.c (print_range): Add missing empty line
3260 after local declaration.
3262 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3264 * ada-valprint.c (print_optional_low_bound): Get index_type's
3265 target type for as long as it is a TYPE_CODE_RANGE.
3267 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3269 * procfs.c (procfs_make_note_section): Remove assertion and
3272 2014-01-24 Yao Qi <yao@codesourcery.com>
3274 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
3275 * corelow.c (get_core_siginfo): Likewise.
3277 2014-01-24 Yao Qi <yao@codesourcery.com>
3279 * remote.c (remote_write_bytes_aux): Change type of 'len' to
3280 ULONGEST. Don't check 'len' is negative.
3281 (remote_write_bytes): Change type of 'len' to ULONGEST.
3283 2014-01-23 Tom Tromey <tromey@redhat.com>
3286 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
3287 Handle exception from frame.block.
3288 (FrameVars.fetch_frame_locals): Likewise.
3290 2014-01-23 Tom Tromey <tromey@redhat.com>
3293 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
3294 on a NULL pointer. Move "goto error" to correct place.
3296 2014-01-23 Tom Tromey <tromey@redhat.com>
3299 * python/py-framefilter.c (apply_frame_filter): Call
3300 ensure_python_env after computing gdbarch.
3302 2014-01-23 Yao Qi <yao@codesourcery.com>
3304 * target.c (raw_memory_xfer_partial): Change argument type
3305 from void * to gdb_byte *.
3306 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
3308 2014-01-22 Doug Evans <dje@google.com>
3310 New gdbserver option --debug-format=timestamp.
3313 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3315 * syscalls/s390x-linux.xml: New file.
3316 * syscalls/s390-linux.xml: New file.
3317 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
3318 (XML_SYSCALL_FILENAME_S390X): Likewise.
3319 (op_svc): New enum value for SVC opcode.
3320 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
3321 (s390_linux_get_syscall_number): New function.
3322 (s390_gdbarch_init): Register '*get_syscall_number' and the
3323 syscall xml file name.
3324 * data-directory/Makefile.in (SYSCALLS_FILES): Add
3325 "s390-linux.xml" and "s390x-linux.xml".
3326 * NEWS: Announce new feature.
3328 2014-01-22 Baruch Siach <baruch@tkos.co.il>
3330 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
3332 2014-01-22 Pedro Alves <palves@redhat.com>
3334 * xtensa-config.c: Include defs.h.
3336 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3338 * common/common-utils.h: Add "ARI:" comment beside __func__
3341 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3343 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
3344 documentation a bit.
3346 2014-01-21 Roland McGrath <mcgrathr@google.com>
3348 * configure.ac: Call AM_PROG_INSTALL_STRIP.
3349 * configure: Regenerate.
3350 * aclocal.m4: Regenerate.
3351 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
3352 New substituted variables.
3353 (install-strip): New target.
3354 (INSTALL_SCRIPT): New substituted variable.
3355 (FLAGS_TO_PASS): Add it.
3356 (install-only): Use $(INSTALL_SCRIPT) rather than
3357 $(INSTALL_PROGRAM) for gcore.
3359 2014-01-20 Tom Tromey <tromey@redhat.com>
3361 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
3364 2014-01-20 Tom Tromey <tromey@redhat.com>
3366 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
3367 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
3368 (deprecated_cmd_warning, complete_on_cmdlist): Update.
3369 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
3370 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3371 (struct cmd_list_element) <flags>: Remove.
3372 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3373 doc_allocated>: New fields.
3374 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3376 * maint.c (maintenance_do_deprecate): Update.
3377 * top.c (execute_command): Update.
3379 2014-01-20 Baruch Siach <baruch@tkos.co.il>
3381 * xtensa-linux-nat.c: Include asm/ptrace.h.
3383 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3385 * Makefile.in (SFILES): Add d-support.c.
3386 (COMMON_OBS): Add d-support.o.
3387 * d-lang.h (d_parse_symbol): Add comment, now defined in
3389 * d-lang.c (parse_call_convention)
3390 (parse_attributes, parse_function_types)
3391 (parse_function_args, parse_type, parse_identifier)
3392 (call_convention_p, d_parse_symbol): Move functions to ...
3393 * d-support.c: ... New file.
3395 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3397 * d-lang.h (d_parse_symbol): Add declaration.
3398 * d-lang.c (extract_identifiers)
3399 (extract_type_info): Remove functions.
3400 (parse_call_convention, parse_attributes)
3401 (parse_function_types, parse_function_args)
3402 (parse_type, parse_identifier, call_convention_p)
3403 (d_parse_symbol): New functions.
3404 (d_demangle): Use d_parse_symbol to demangle D symbols.
3406 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3408 * d-lang.h (struct builtin_d_type): New data type.
3409 (builtin_d_type): Add declaration.
3410 * d-lang.c (d_language_arch_info, build_d_types)
3411 (builtin_d_type): New functions.
3412 (enum d_primitive_types): New data type.
3413 (d_language_defn): Change c_language_arch_info to
3414 d_language_arch_info.
3415 (d_type_data): New static variable.
3416 (_initialize_d_language): Initialize d_type_data.
3418 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3420 * d-lang.h (d_main_name): Add declaration.
3421 * d-lang.c (d_main_name): New function.
3422 * symtab.c (find_main_name): Add call to d_main_name.
3424 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3426 * d-lang.c (d_language_defn): Change macro_expansion_c to
3429 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3431 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3433 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3435 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3436 gdb_exception" declaration.
3437 * remote.c (getpkt_or_notif_sane): Likewise.
3439 2014-01-17 Doug Evans <dje@google.com>
3441 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3442 function, contents of dirnames_to_char_ptr_vec_append moved here.
3443 (delim_string_to_char_ptr_vec): New function.
3444 (dirnames_to_char_ptr_vec_append): Rewrite.
3445 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3447 2014-01-17 Doug Evans <dje@google.com>
3449 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3451 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3452 #include "common-utils.h".
3453 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3454 * common/vec.h (VEC_ASSERT_PASS): Update.
3455 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3456 (MACH_CHECK_ERROR): Update.
3458 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3460 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3462 * gdbarch.h: Regenerate.
3464 2014-01-16 Tom Tromey <tromey@redhat.com>
3466 * value.c (struct value) <regnum>: Move earlier.
3468 2014-01-16 Tom Tromey <tromey@redhat.com>
3470 * remote.c (extended_remote_create_inferior): Rename from
3471 extended_remote_create_inferior_1. Add "ops" argument. Remove
3474 2014-01-16 Pedro Alves <palves@redhat.com>
3476 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3477 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3480 2014-01-16 Doug Evans <dje@google.com>
3482 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3484 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3486 * btrace.h (btrace_thread_flag): New.
3487 (struct btrace_thread_info) <flags>: New.
3488 * record-btrace.c (record_btrace_resume_thread)
3489 (record_btrace_find_thread_to_move, btrace_step_no_history)
3490 (btrace_step_stopped, record_btrace_start_replaying)
3491 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3492 (record_btrace_find_resume_thread): New.
3493 (record_btrace_resume, record_btrace_wait): Extend.
3494 (record_btrace_can_execute_reverse): New.
3495 (record_btrace_open): Fail in non-stop mode.
3496 (record_btrace_set_replay): Split into this, ...
3497 (record_btrace_stop_replaying): ... this, ...
3498 (record_btrace_clear_histories): ... and this.
3499 (init_record_btrace_ops): Init to_can_execute_reverse.
3500 * NEWS: Announce it.
3502 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3504 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3505 (forward_target_decr_pc_after_break)
3506 (target_decr_pc_after_break): New.
3507 * target.c (forward_target_decr_pc_after_break)
3508 (target_decr_pc_after_break): New.
3509 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3510 instead of gdbarch_decr_pc_after_break.
3511 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3512 instead of gdbarch_decr_pc_after_break.
3513 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3514 instead of gdbarch_decr_pc_after_break.
3515 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3516 instead of gdbarch_decr_pc_after_break.
3517 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3518 instead of gdbarch_decr_pc_after_break.
3519 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3520 instead of gdbarch_decr_pc_after_break.
3522 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3524 * btrace.c: Include regcache.h.
3525 (btrace_add_pc): New.
3526 (btrace_enable): Call btrace_add_pc.
3527 (btrace_is_empty): New.
3528 * btrace.h (btrace_is_empty): New.
3529 * record-btrace.c (require_btrace, record_btrace_info): Call
3532 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3534 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3535 Support delta reads.
3536 (linux_disable_btrace): Change return type.
3537 * common/linux-btrace.h (linux_read_btrace): Change parameters
3538 and return type to allow error reporting. Update users.
3539 (linux_disable_btrace): Change return type. Update users.
3540 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3542 (btrace_error): New.
3543 (btrace_block) <begin>: Comment on BEGIN == 0.
3544 * btrace.c (btrace_compute_ftrace): Start from the end of
3546 (btrace_stitch_trace, btrace_clear_history): New.
3547 (btrace_fetch): Read delta trace, return if replaying.
3548 (btrace_clear): Move clear history code to btrace_clear_history.
3549 (parse_xml_btrace): Throw an error if parsing failed.
3550 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3551 and return type to allow error reporting.
3552 (target_read_btrace): Change parameters and return type to allow
3554 * target.c (target_read_btrace): Update.
3555 * remote.c (remote_read_btrace): Support delta reads. Pass
3557 * NEWS: Announce it.
3559 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3561 * record.h (record_btrace_frame_unwind)
3562 (record_btrace_tailcall_frame_unwind): New declarations.
3563 * dwarf2-frame: Include record.h
3564 (dwarf2_frame_cfa): Throw an error for btrace frames.
3565 * record-btrace.c: Include hashtab.h.
3566 (btrace_get_bfun_name): New.
3567 (btrace_call_history): Call btrace_get_bfun_name.
3568 (struct btrace_frame_cache): New.
3570 (bfcache_hash, bfcache_eq, bfcache_new): New.
3571 (btrace_get_frame_function): New.
3572 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3573 (record_btrace_frame_this_id): Compute own id.
3574 (record_btrace_frame_prev_register): Provide PC, throw_error
3575 for all other registers.
3576 (record_btrace_frame_sniffer): Detect btrace frames.
3577 (record_btrace_tailcall_frame_sniffer): New.
3578 (record_btrace_frame_dealloc_cache): New.
3579 (record_btrace_frame_unwind): Add new functions.
3580 (record_btrace_tailcall_frame_unwind): New.
3581 (_initialize_record_btrace): Allocate cache.
3582 * btrace.c (btrace_clear): Call reinit_frame_cache.
3583 * NEWS: Announce it.
3585 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3587 * record-btrace.c (record_btrace_set_replay)
3588 (record_btrace_goto_begin, record_btrace_goto_end)
3589 (record_btrace_goto): New.
3590 (init_record_btrace_ops): Initialize them.
3591 * NEWS: Announce it.
3593 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3595 * record-btrace.c (record_btrace_find_new_threads)
3596 (record_btrace_thread_alive): New.
3597 (init_record_btrace_ops): Initialize to_find_new_threads and
3600 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3602 * record-btrace.c (record_btrace_resume): New.
3603 (record_btrace_wait): New.
3604 (init_record_btrace_ops): Initialize to_wait and to_resume.
3606 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3608 * record-btrace.c (record_btrace_xfer_partial)
3609 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3610 (record_btrace_allow_memory_access): New.
3611 (init_record_btrace_ops): Initialize new methods.
3612 * target.c (raw_memory_xfer_partial): Bail out if target reports
3613 that this memory is not available.
3615 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3617 * target.h (target_ops) <to_insert_breakpoint>
3618 <to_remove_breakpoint>: Add target_ops parameter.
3619 (forward_target_insert_breakpoint): New.
3620 (forward_target_remove_breakpoint): New.
3621 (memory_remove_breakpoint, memory_insert_breakpoint):
3622 Add target_ops parameter.
3623 * target.c (target_insert_breakpoint): Split into this and ...
3624 (forward_target_insert_breakpoint): ... this.
3625 (target_remove_breakpoint): Split into this and ...
3626 (forward_target_remove_breakpoint): ... this.
3627 (debug_to_insert_breakpoint): Add target_ops parameter.
3628 Call forward_target_insert_breakpoint.
3629 (debug_to_remove_breakpoint): Add target_ops parameter.
3630 Call forward_target_remove_breakpoint.
3631 (update_current_target): Do not inherit or default to_insert_breakpoint
3632 and to_remove_breakpoint.
3633 * corelow.c (ignore): Add target_ops parameter.
3634 * exec.c (ignore): Add target_ops parameter.
3635 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3636 Add target_ops parameter.
3637 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3638 Add target_ops parameter.
3639 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3640 Add target_ops parameter.
3641 * record-full.c (record_full_beneath_to_insert_breakpoint)
3642 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3643 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3644 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
3645 (record_full_core_remove_breakpoint): Add target_ops parameter.
3647 (record_full_beneath_to_insert_breakpoint_ops)
3648 (record_full_beneath_to_remove_breakpoint_ops)
3649 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
3650 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
3651 tmp_to_remove_breakpoint_ops,
3652 record_full_beneath_to_insert_breakpoint_ops, and
3653 record_full_beneath_to_remove_breakpoint_ops.
3654 * remote-m32r-sdi.c (m32r_insert_breakpoint)
3655 (m32r_remove_breakpoint): Add target_ops parameter.
3656 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
3657 Add target_ops parameter.
3658 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
3659 Add target_ops parameter.
3661 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3662 Markus Metzger <markus.t.metzger@intel.com>
3664 * record-btrace.c: Include frame-unwind.h.
3665 (record_btrace_frame_unwind_stop_reason)
3666 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
3667 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
3669 (init_record_btrace_ops): Install it.
3671 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3673 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
3676 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3678 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
3681 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3683 * frame-unwind.c: Include target.h.
3684 (frame_unwind_try_unwinder): New function with code from ...
3685 (frame_unwind_find_by_frame): ... here. New variable
3686 unwinder_from_target, call also target_get_unwinder)
3687 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
3688 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
3689 * target.h (struct target_ops): New fields to_get_unwinder and
3690 to_get_tailcall_unwinder.
3691 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
3693 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3695 * record-btrace.c (record_btrace_fetch_registers)
3696 (record_btrace_store_registers)
3697 (record_btrace_to_prepare_to_store): New.
3698 (init_record_btrace_ops): Add the above.
3700 2014-01-16 Tom Tromey <tromey@redhat.com>
3702 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
3703 * target.h (struct target_ops) <to_prepare_to_store>: Add
3705 (target_prepare_to_store): Add argument.
3706 * target.c (debug_to_prepare_to_store): Add argument.
3707 (update_current_target): Update.
3708 * remote.c (remote_prepare_to_store): Add 'self' argument.
3709 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
3710 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
3711 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
3712 * record-full.c (record_full_core_prepare_to_store): Add 'self'
3714 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
3715 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
3716 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
3717 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
3718 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
3720 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3722 * btrace.h (replay) <replay>: New.
3723 (btrace_is_replaying): New.
3724 * btrace.c (btrace_clear): Free replay iterator.
3725 (btrace_is_replaying): New.
3726 * record-btrace.c (record_btrace_is_replaying): New.
3727 (record_btrace_info): Print insn number if replaying.
3728 (record_btrace_insn_history): Start at replay position.
3729 (record_btrace_call_history): Start at replay position.
3730 (init_record_btrace_ops): Init to_record_is_replaying.
3732 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3734 * record-btrace.c (record_btrace_insn_history_range): Include
3736 (record_btrace_insn_history_from): Adjust range.
3737 (record_btrace_call_history_range): Include
3739 (record_btrace_call_history_from): Adjust range.
3740 * NEWS: Announce changes.
3742 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3744 * record.h (enum record_print_flag)
3745 <record_print_indent_calls>: New.
3746 * record.c (get_call_history_modifiers): Recognize /c modifier.
3747 (_initialize_record): Document /c modifier.
3748 * record-btrace.c (btrace_call_history): Add btinfo parameter.
3749 Reorder fields. Optionally indent the function name. Update
3751 * NEWS: Announce changes.
3753 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3755 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
3757 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3759 * btrace.c (ftrace_new_function): Start counting at one.
3760 * record-btrace.c (record_btrace_info): Adjust number of calls
3762 * NEWS: Announce it.
3764 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3766 * record-btrace.c (btrace_call_history_insn_range): Print
3767 insn range as [begin, end].
3769 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3771 * btrace.h (struct btrace_func_link): New.
3772 (enum btrace_function_flag): New.
3773 (struct btrace_inst): Rename to ...
3774 (struct btrace_insn): ...this. Update all users.
3775 (struct btrace_func) <ibegin, iend>: Remove.
3776 (struct btrace_func_link): New.
3777 (struct btrace_func): Rename to ...
3778 (struct btrace_function): ...this. Update all users.
3779 (struct btrace_function) <segment, flow, up, insn, insn_offset)
3780 (number, level, flags>: New.
3781 (struct btrace_insn_iterator): Rename to ...
3782 (struct btrace_insn_history): ...this.
3784 (struct btrace_insn_iterator, btrace_call_iterator): New.
3785 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
3786 (struct btrace_target_info) <begin, end, level>
3787 <insn_history, call_history>: New.
3788 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3789 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3790 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3791 (btrace_call_number, btrace_call_begin, btrace_call_end)
3792 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3793 (btrace_find_function_by_number, btrace_set_insn_history)
3794 (btrace_set_call_history): New.
3795 * btrace.c (btrace_init_insn_iterator)
3796 (btrace_init_func_iterator, compute_itrace): Remove.
3797 (ftrace_print_function_name, ftrace_print_filename)
3798 (ftrace_skip_file): Change
3800 (ftrace_init_func): Remove.
3801 (ftrace_debug): Use new btrace_function fields.
3802 (ftrace_function_switched): Also consider gaining and
3803 losing symbol information).
3804 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
3805 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
3806 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
3808 (ftrace_new_function): Move. Remove debug print.
3809 (ftrace_update_lines, ftrace_update_insns): New.
3810 (ftrace_update_function): Check for call, ret, and jump.
3811 (compute_ftrace): Renamed to ...
3812 (btrace_compute_ftrace): ...this. Rewritten to compute call
3814 (btrace_fetch, btrace_clear): Updated.
3815 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3816 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3817 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3818 (btrace_call_number, btrace_call_begin, btrace_call_end)
3819 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3820 (btrace_find_function_by_number, btrace_set_insn_history)
3821 (btrace_set_call_history): New.
3822 * record-btrace.c (require_btrace): Use new btrace thread
3824 (record_btrace_info, btrace_insn_history)
3825 (record_btrace_insn_history, record_btrace_insn_history_range):
3826 Use new btrace thread info fields and new iterator.
3827 (btrace_func_history_src_line): Rename to ...
3828 (btrace_call_history_src_line): ...this. Use new btrace
3830 (btrace_func_history): Rename to ...
3831 (btrace_call_history): ...this. Use new btrace thread info
3832 fields and new iterator.
3833 (record_btrace_call_history, record_btrace_call_history_range):
3834 Use new btrace thread info fields and new iterator.
3836 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3838 * frame.h (frame_id_build_unavailable_stack_special): New.
3839 * frame.c (frame_id_build_unavailable_stack_special): New.
3841 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3843 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
3844 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
3845 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
3847 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
3848 (i386_insn_is_jump, i386_jmp_p): New.
3849 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
3850 insn_is_jump to gdbarch.
3851 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
3852 * gdbarch.h: Regenerated.
3853 * gdbarch.c: Regenerated.
3854 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
3855 (default_insn_is_jump): New.
3856 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
3857 (default_insn_is_jump): New.
3859 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3861 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
3863 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
3864 (btrace_read_type) <btrace_read_new>: Change to ...
3865 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
3867 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3869 * common/linux-btrace.c (linux_read_btrace): Free trace from
3872 2014-01-15 Doug Evans <dje@google.com>
3874 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
3877 2014-01-15 Tom Tromey <tromey@redhat.com>
3879 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
3880 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
3881 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
3882 (set_objfile_main_name): New function.
3883 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
3884 language_of_main>: New fields.
3885 (set_objfile_main_name): Declare.
3886 * symtab.c (find_main_name): Loop over objfiles to find the main
3888 (set_main_name): Now static.
3889 (get_main_info): Add comment.
3890 * symtab.h (set_main_name): Don't declare.
3892 2014-01-15 Tom Tromey <tromey@redhat.com>
3894 * symtab.c (main_progspace_key): New global.
3895 (struct main_info): New.
3896 (name_of_main, language_of_main): Remove.
3897 (get_main_info, main_info_cleanup): New function.
3898 (set_main_name, main_name, main_language): Use get_main_info.
3899 (_initialize_symtab): Initialize main_progspace_key.
3901 2014-01-15 Tom Tromey <tromey@redhat.com>
3903 * dbxread.c (process_one_symbol): Update.
3904 * dwarf2read.c (read_partial_die): Update.
3905 * symfile.c (set_initial_language): Call main_language.
3906 * symtab.c (language_of_main): Now static.
3907 (set_main_name): Add 'lang' parameter.
3908 (find_main_name): Update.
3909 (main_language): New function.
3910 (symtab_observer_executable_changed): Update.
3911 * symtab.h (set_main_name): Update.
3912 (language_of_main): Remove.
3913 (main_language): Declare.
3915 2014-01-15 Tom Tromey <tromey@redhat.com>
3917 * symfile.c (init_entry_point_info): Use new "initialized" field.
3919 * objfiles.h (struct entry_point) <initialized>: New field.
3920 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
3921 (struct objfile) <ei>: ...here. Remove.
3922 * objfiles.c (entry_point_address_query): Update.
3924 2014-01-15 Tom Tromey <tromey@redhat.com>
3926 * objfiles.c (entry_point_address_query): Relocate entry point
3928 (objfile_relocate1): Do not relocate entry point address.
3929 * objfiles.h (struct entry_info) <entry_point>: Update comment.
3930 <the_bfd_section_index>: New field.
3931 * symfile.c (init_entry_point_info): Find the entry point's
3934 2014-01-15 Tom Tromey <tromey@redhat.com>
3936 * solib-frv.c (enable_break): Use entry_point_address_query.
3938 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3940 * NEWS: Add note on improved process record-replay on
3941 arm*-linux* targets.
3943 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3945 * arm-tdep.c (enum arm_record_result): New enum.
3946 (arm_record_unsupported_insn): New function.
3947 (arm_record_coproc_data_proc): Removed.
3948 (thumb2_record_ld_st_multiple): New function.
3949 (thumb2_record_ld_st_dual_ex_tbb): New function.
3950 (thumb2_record_data_proc_sreg_mimm): New function.
3951 (thumb2_record_ps_dest_generic): New function.
3952 (thumb2_record_branch_misc_cntrl): New function.
3953 (thumb2_record_str_single_data): New function.
3954 (thumb2_record_ld_mem_hints): New function.
3955 (thumb2_record_ld_word): New function.
3956 (thumb2_record_lmul_lmla_div): New function.
3957 (thumb2_record_decode_insn_handler): New function.
3958 (decode_insn): Add thumb32 instruction handlers.
3960 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3962 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
3963 (struct arm_linux_record_tdep): Declare.
3964 (arm_canonicalize_syscall): New function.
3965 (arm_all_but_pc_registers_record): New function.
3966 (arm_linux_syscall_record): New function.
3967 (arm_linux_init_abi): Add syscall recording constructs.
3968 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
3969 decoding. (arm_record_coproc_data_proc): Update arm syscall
3971 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
3972 <arm_syscall_record>: New field.
3973 * configure.tgt (arm*-*-linux*): Add linux-record.o to
3976 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3978 * arm-tdep.c (thumb_record_misc): Update to use sp as base
3979 register for push instruction recording.
3981 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3983 * arm-tdep.c (thumb_record_misc): Update to correct logical
3984 error while recording ldm, ldmia and pop instructions.
3986 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3988 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
3990 2014-01-15 Pedro Alves <palves@redhat.com>
3992 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
3993 (go32_resume, go32_fetch_registers, store_register)
3994 (go32_store_registers, go32_prepare_to_store)
3995 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
3996 (go32_create_inferior, go32_can_run, go32_terminal_init)
3997 (go32_terminal_inferior, go32_terminal_ours): Delete forward
4000 2014-01-15 Tom Tromey <tromey@redhat.com>
4002 * target.h (async_callback_ftype): New typedef.
4003 (struct target_ops) <to_async>: Use it.
4005 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4007 * python/py-value.c (get_field_type): Remove unnecessary curly
4008 braces for single-statement if block.
4010 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4012 * python/py-type.c (convert_field): Add missing empty line
4015 2014-01-14 Doug Evans <dje@google.com>
4017 * symfile.h (expand_symtabs_matching): Renamed from
4018 expand_partial_symbol_names. Update prototype.
4019 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4020 * symfile.c (expand_symtabs_matching): Renamed from
4021 expand_partial_symbol_names. New args file_matcher, kind.
4022 Rename arg fun to symbol_matcher.
4023 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4024 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
4025 ada_expand_partial_symbol_name.
4026 (ada_make_symbol_completion_list): Update to call
4027 expand_symtabs_matching.
4028 (ada_add_global_exceptions): Call expand_symtabs_matching.
4029 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
4030 call map_symbol_filenames.
4031 * symtab.c (sources_info): Update to call map_symbol_filenames.
4032 (search_symbols): Call expand_symtabs_matching.
4033 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
4034 (default_make_symbol_completion_list_break_on): Update to call
4035 expand_symtabs_matching.
4036 (make_source_files_completion_list): Update to call
4037 map_symbol_filenames.
4039 2014-01-14 Doug Evans <dje@google.com>
4041 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
4042 (expand_symtabs_symbol_matcher_ftype): New typedef.
4043 (quick_symbol_functions.expand_symtabs_matching): Update to use.
4044 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4045 * symfile.c (expand_partial_symbol_names): Update to use
4046 expand_symtabs_symbol_matcher_ftype.
4047 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
4048 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4049 Arg name_matcher renamed to symbol_matcher.
4050 * psymtab.c (recursively_search_psymtabs): Update to use
4051 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
4053 (expand_symtabs_matching_via_partial): Update to use
4054 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4055 Arg name_matcher renamed to symbol_matcher.
4057 2014-01-14 Doug Evans <dje@google.com>
4059 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
4060 (map_partial_symbol_filenames): Ditto.
4061 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
4062 (map_partial_symbol_filenames): Ditto.
4063 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
4064 (map_partial_symbol_filenames): Ditto.
4065 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
4066 (map_partial_symbol_filenames): Ditto.
4067 * symtab.c: Delete #include "psymtab.h".
4069 2014-01-14 Pedro Alves <palves@redhat.com>
4070 Tom Tromey <tromey@redhat.com>
4072 * infrun.c (use_displaced_stepping): Use find_record_target
4073 instead of RECORD_IS_USED.
4074 (adjust_pc_after_break): Use record_full_is_used instead of
4076 * record-btrace.c (record_btrace_open): Call record_preopen
4077 instead of checking RECORD_IS_USED.
4078 * record-full.c (record_full_shortname)
4079 (record_full_core_shortname): New globals.
4080 (record_full_is_used): New function.
4081 (find_full_open): Call record_preopen instead of checking
4083 (init_record_full_ops): Set the target's shortname to
4084 record_full_shortname.
4085 (init_record_full_core_ops): Set the target's shortname to
4086 record_full_core_shortname.
4087 * record-full.h (record_full_is_used): Declare.
4088 * record.c (find_record_target): Make extern.
4089 (record_preopen): New function.
4090 * record.h (RECORD_IS_USED): Delete macro.
4091 (find_record_target, record_preopen): Declare functions.
4093 2014-01-14 Yao Qi <yao@codesourcery.com>
4095 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
4096 'len''s type to ULONGEST.
4097 (core_xfer_shared_libraries_aix): Likewise.
4098 * gdbarch.c, gdbarch.h: Regenerated.
4099 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
4100 Change type of 'len' to ULONGEST.
4101 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4102 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
4104 2014-01-14 Yao Qi <yao@codesourcery.com>
4106 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
4107 type of 'len' to ULONGEST.
4108 (linux_xfer_osdata_processgroups): Likewise.
4109 (linux_xfer_osdata_threads): Likewise.
4110 (linux_xfer_osdata_fds): Likewise.
4111 (linux_xfer_osdata_isockets): Likewise.
4112 (linux_xfer_osdata_shm): Likewise.
4113 (linux_xfer_osdata_sem): Likewise.
4114 (linux_xfer_osdata_msg): Likewise.
4115 (linux_common_xfer_osdata): Likewise.
4116 (struct osdata_type) <getter>: Likewise.
4117 * common/linux-osdata.h (linux_common_xfer_osdata): Update
4120 2014-01-14 Yao Qi <yao@codesourcery.com>
4122 * target.h (target_xfer_partial_ftype): Update.
4123 (struct target_ops) <to_xfer_partial>: Change 'len' type to
4125 * aix-thread.c (aix_thread_xfer_partial): Change type of
4126 argument 'len' to ULONGEST.
4127 * auxv.c (procfs_xfer_auxv): Likewise.
4128 (ld_so_xfer_auxv): Likewise.
4129 (memory_xfer_auxv): Likewise.
4130 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4131 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4132 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4133 * corelow.c (core_xfer_partial): Likewise.
4134 * ctf.c (ctf_xfer_partial): Likewise.
4135 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
4137 (darwin_read_dyld_info): Likewise.
4138 (darwin_xfer_partial): Likewise.
4139 * exec.c (section_table_xfer_memory_partial): Likewise.
4140 (exec_xfer_partial): Likewise.
4141 * exec.h (section_table_xfer_memory_partial): Update
4143 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
4144 instead of plongest.
4145 (gnu_xfer_partial): Likewise.
4146 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
4147 (ia64_hpux_xfer_solib_got): Likewise.
4148 (ia64_hpux_xfer_partial): Likewise.
4149 * ia64-linux-nat.c (ia64_linux_xfer_partial):
4150 * inf-ptrace.c (inf_ptrace_xfer_partial):
4151 * inf-ttrace.c (inf_ttrace_xfer_partial):
4152 * linux-nat.c (linux_xfer_siginfo): Likewise.
4153 (linux_nat_xfer_partial): Likewise.
4154 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
4155 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
4156 * monitor.c (monitor_xfer_memory): Likewise.
4157 (monitor_xfer_partial): Likewise.
4158 * procfs.c (procfs_xfer_partial): Likewise.
4159 * record-full.c (record_full_xfer_partial): Likewise.
4160 (record_full_core_xfer_partial): Likewise.
4161 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
4162 instead of plongest.
4163 (gdbsim_xfer_partial): Likewise.
4164 * remote.c (remote_xfer_partial): Likewise.
4165 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4166 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4168 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4169 (rs6000_xfer_shared_libraries): Likewise.
4170 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4171 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4172 (sparc_xfer_partial): Likewise.
4173 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4174 (spu_xfer_partial): Likewise.
4175 * spu-multiarch.c (spu_xfer_partial): Likewise.
4176 * target.c (target_read_live_memory): Likewise.
4177 (memory_xfer_live_readonly_partial): Likewise.
4178 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
4179 (target_xfer_partial, default_xfer_partial): Likewise.
4180 (current_xfer_partial): Likewise.
4181 * tracepoint.c (tfile_xfer_partial): Likewise.
4182 * windows-nat.c (windows_xfer_memory): Likewise. Call
4183 pulongest instead of plongest.
4184 (windows_xfer_partial): Likewise.
4185 (windows_xfer_shared_libraries): Likewise.
4187 2014-01-14 Yao Qi <yao@codesourcery.com>
4189 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
4190 target_xfer_partial_ftype.
4192 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4196 * valops.c (value_struct_elt_bitpos): New function
4197 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
4198 object to 'None' if the field name is an empty string ("").
4199 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
4200 attribute to look for a field when 'name' is 'None'.
4201 (get_field_type): New function
4203 2014-01-13 Doug Evans <dje@google.com>
4206 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
4207 (try_open_dwop_file): Ditto.
4208 * gdb_bfd.c: #include "vec.h".
4209 (bfdp): New typedef.
4210 (struct gdb_bfd_data): New member included_bfds.
4211 (gdb_bfd_unref): Unref all included bfds.
4212 (gdb_bfd_record_inclusion): New function.
4213 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
4215 2014-01-13 Tom Tromey <tromey@redhat.com>
4217 * gdbcore.h (deprecated_core_resize_section_table): Remove.
4219 2014-01-13 Tom Tromey <tromey@redhat.com>
4221 * defs.h (use_windows): Remove.
4222 * gdb.c (main): Update.
4223 * main.c (captured_main, gdb_main): Update.
4224 * main.h (struct captured_main_args) <use_windows>: Remove.
4225 * top.c (use_windows): Remove.
4227 2014-01-13 Tom Tromey <tromey@redhat.com>
4229 * defs.h (deprecated_flush_hook): Remove.
4231 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4234 * linux-thread-db.c (try_thread_db_load): Add parameter
4235 check_auto_load_safe. Move here the file_is_auto_load_safe call.
4236 (try_thread_db_load_from_pdir_1): Move it there from here.
4237 (try_thread_db_load_from_sdir): Update caller.
4238 (try_thread_db_load_from_dir): Move it there from here.
4240 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
4242 * regformats/regdat.sh: Always rewrite the register file.
4244 2014-01-13 Pedro Alves <palves@redhat.com>
4246 * Makefile.in (CHECK_HEADERS): New variable.
4247 (check-headers:): New rule.
4249 2014-01-13 Tom Tromey <tromey@redhat.com>
4251 * cli/cli-setshow.c (do_set_command): Update.
4252 * defs.h (deprecated_set_hook): Remove.
4253 * top.c (deprecated_set_hook): Remove.
4255 2014-01-13 Pedro Alves <palves@redhat.com>
4257 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
4258 the tracepoint if the PC is a pseudo-register.
4260 2014-01-13 Tom Tromey <tromey@redhat.com>
4262 * defs.h (XCALLOC): Remove.
4263 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
4264 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
4265 * dwarf2loc.c (allocate_piece_closure): Likewise.
4266 * elfread.c (elf_symfile_segments): Likewise.
4267 (elf_symfile_segments): Likewise.
4268 * gdbtypes.c (copy_type_recursive): Likewise.
4269 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
4270 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
4271 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
4273 * mt-tdep.c (mt_gdbarch_init): Likewise.
4274 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
4276 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
4277 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
4278 * registry.c (registry_alloc_data): Likewise.
4279 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
4280 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
4281 * serial.c (serial_fdopen_ops): Likewise.
4282 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
4284 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
4285 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
4288 2014-01-13 Tom Tromey <tromey@redhat.com>
4290 * defs.h (XMALLOC): Remove.
4291 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
4292 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
4293 * cli-out.c (struct ui_out *): Likewise.
4294 * cli/cli-dump.c (add_dump_command): Likewise.
4295 (add_dump_command): Likewise.
4296 * complaints.c (get_complaints): Likewise.
4297 (find_complaint): Likewise.
4298 * dwarf2-frame.c (execute_cfa_program): Likewise.
4299 * dwarf2read.c (abbrev_table_read_table): Likewise.
4300 * gdbarch.sh: Likewise.
4301 * gdbarch.c: Rebuild.
4302 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
4303 * interps.c (interp_new): Likewise.
4304 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
4305 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
4306 * mi/mi-console.c (mi_console_file_new): Likewise.
4307 * mi/mi-interp.c (mi_interpreter_init): Likewise.
4308 * mi/mi-out.c (mi_out_new): Likewise.
4309 * mi/mi-parse.c (mi_parse): Likewise.
4310 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
4311 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
4312 * observer.c (xalloc_observer_list_node): Likewise.
4313 * regcache.c (regcache_xmalloc_1): Likewise.
4314 * reggroups.c (reggroup_new): Likewise.
4315 (_initialize_reggroup): Likewise.
4316 * registry.c (register_data_with_cleanup): Likewise.
4317 * remote.c (remote_notif_stop_alloc_reply): Likewise.
4318 * ser-base.c (serial_ttystate): Likewise.
4319 * ser-mingw.c (make_pipe_state): Likewise.
4320 * ser-pipe.c (pipe_open): Likewise.
4321 * serial.c (serial_open): Likewise.
4322 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
4323 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
4324 (tui_alloc_win_info): Likewise.
4325 (tui_add_content_elements): Likewise.
4326 * tui/tui-file.c (tui_file_new): Likewise.
4327 * tui/tui-out.c (tui_out_new): Likewise.
4328 * ui-file.c (mem_file_new): Likewise.
4329 * ui-out.c (push_level): Likewise.
4330 (make_cleanup_ui_out_end): Likewise.
4331 (append_header_to_list): Likewise.
4332 (ui_out_new): Likewise.
4333 * user-regs.c (user_reg_add_builtin): Likewise.
4335 2014-01-13 Tom Tromey <tromey@redhat.com>
4337 * defs.h (XZALLOC): Remove.
4338 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
4339 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
4340 (get_ada_tasks_inferior_data): Likewise.
4341 * auto-load.c (get_auto_load_pspace_data): Likewise.
4342 * auxv.c (get_auxv_inferior_data): Likewise.
4343 * bfd-target.c (target_bfd_reopen): Likewise.
4344 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
4345 (deprecated_insert_raw_breakpoint): Likewise.
4346 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
4347 * corelow.c (core_open): Likewise.
4348 * darwin-nat.c (darwin_check_new_threads): Likewise.
4349 (darwin_attach_pid): Likewise.
4350 * dummy-frame.c (dummy_frame_push): Likewise.
4351 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
4352 * dwarf2loc.c (allocate_piece_closure): Likewise.
4353 * elfread.c (elf_symfile_segments): Likewise.
4354 * eval.c (ptrmath_type_p): Likewise.
4355 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
4356 * gdbtypes.c (alloc_type_arch): Likewise.
4357 (alloc_type_instance): Likewise.
4358 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
4359 * inf-child.c (inf_child_can_use_agent): Likewise.
4360 * inflow.c (get_inflow_inferior_data): Likewise.
4361 * infrun.c (save_infcall_suspend_state): Likewise.
4362 * jit.c (jit_reader_load): Likewise.
4363 (get_jit_objfile_data): Likewise.
4364 (get_jit_program_space_data): Likewise.
4365 (jit_object_open_impl): Likewise.
4366 (jit_symtab_open_impl): Likewise.
4367 (jit_block_open_impl): Likewise.
4368 (jit_frame_sniffer): Likewise.
4369 * linux-fork.c (add_fork): Likewise.
4370 * maint.c (make_command_stats_cleanup): Likewise.
4371 * objfiles.c (get_objfile_pspace_data): Likewise.
4372 * opencl-lang.c (struct lval_closure): Likewise.
4373 * osdata.c (osdata_start_osdata): Likewise.
4374 * progspace.c (new_address_space): Likewise.
4375 (add_program_space): Likewise.
4376 * remote-sim.c (get_sim_inferior_data): Likewise.
4377 * sh-tdep.c (sh_gdbarch_init): Likewise.
4378 * skip.c (Ignore): Likewise.
4379 (skip_delete_command): Likewise.
4380 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4381 (library_list_start_library): Likewise.
4382 (solib_aix_current_sos): Likewise.
4383 * solib-darwin.c (get_darwin_info): Likewise.
4384 (darwin_current_sos): Likewise.
4385 * solib-dsbt.c (get_dsbt_info): Likewise.
4386 * solib-ia64-hpux.c (new_so_list): Likewise.
4387 (ia64_hpux_get_solib_linkage_addr): Likewise.
4388 * solib-spu.c (append_ocl_sos): Likewise.
4389 (spu_current_sos): Likewise.
4390 * solib-svr4.c (get_svr4_info): Likewise.
4391 (svr4_keep_data_in_core): Likewise.
4392 (library_list_start_library): Likewise.
4393 (svr4_default_sos): Likewise.
4394 (svr4_read_so_list): Likewise.
4395 * solib-target.c (library_list_start_library): Likewise.
4396 (solib_target_current_sos): Likewise.
4397 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4398 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4399 * symfile.c (default_symfile_segments): Likewise.
4400 * target-descriptions.c (tdesc_data_init): Likewise.
4401 (tdesc_create_reg): Likewise.
4402 (struct tdesc_type *): Likewise.
4403 (tdesc_create_vector): Likewise.
4404 (tdesc_set_struct_size): Likewise.
4405 (struct tdesc_type *): Likewise.
4406 (tdesc_free_feature): Likewise.
4407 (tdesc_create_feature): Likewise.
4408 * windows-nat.c (windows_add_thread): Likewise.
4409 (windows_make_so): Likewise.
4410 * xml-support.c (gdb_xml_body_text): Likewise.
4411 (gdb_xml_create_parser_and_cleanup): Likewise.
4412 (xml_process_xincludes): Likewise.
4413 * xml-syscall.c (allocate_syscalls_info): Likewise.
4414 (syscall_create_syscall_desc): Likewise.
4416 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4418 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4419 function, with code from i386_stap_parse_special_token.
4420 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4421 (i386_stap_parse_special_token): Move code to the two functions
4424 2014-01-09 Pedro Alves <palves@redhat.com>
4425 Hui Zhu <hui@codesourcery.com>
4428 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4429 bp_err_string. Don't mark the location shlib_disabled if the
4430 error thrown wasn't a generic or memory error. Catch errors
4431 thrown while inserting breakpoints in overlayed code. Output
4432 error message of software breakpoints.
4433 * remote.c (remote_insert_breakpoint): If this breakpoint has
4434 target-side commands but this stub doesn't support Z0 packets,
4435 throw NOT_SUPPORTED_ERROR error.
4436 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4437 * target.h (target_insert_breakpoint): Extend comment.
4438 (target_insert_hw_breakpoint): Add comment.
4440 2014-01-08 Pedro Alves <palves@redhat.com>
4442 * remote.c (remote_add_thread): Add threads silently if starting
4444 (remote_notice_new_inferior): If in all-stop, and starting up,
4445 don't call notice_new_inferior.
4446 (get_current_thread): New function, factored out from ...
4447 (add_current_inferior_and_thread): ... this. Adjust.
4448 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4449 found any thread, then select the remote's current thread as GDB's
4452 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4454 * NEWS: Create a new section for the next release branch.
4455 Rename the section of the current branch, now that it has
4458 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4460 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4461 * version.in: Bump version to 7.7.50.DATE-cvs.
4463 2014-01-08 Yao Qi <yao@codesourcery.com>
4465 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4466 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4467 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4469 2014-01-08 Yao Qi <yao@codesourcery.com>
4471 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4472 return value of bfd_get_filename to symbol_file_add_from_bfd.
4474 2014-01-08 Pierre Muller <muller@sourceware.org>
4477 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4478 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4479 to prim_record_mininal_symbol_and_info.
4480 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4481 in call to prim_record_minimal_symbol_and_info.
4482 (read_pe_exported_syms): Set index field of section_data.
4484 2014-01-07 Andrew Pinski <apinski@cavium.com>
4486 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4487 * features/aarch64.c: Regenerate.
4489 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4491 * target.c (return_null): Define.
4492 (update_current_target): Use it instead of return_zero for
4493 functions that return a pointer.
4495 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4497 * source.c (add_path): Fix check for duplicated paths in the previously
4500 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4502 * ada-lang.c: Remove duplicated include statements.
4503 * alphabsd-nat.c: Ditto.
4504 * amd64-darwin-tdep.c: Ditto.
4505 * amd64fbsd-nat.c: Ditto.
4506 * auto-load.c: Ditto.
4508 * breakpoint.c: Ditto.
4510 * fork-child.c: Ditto.
4511 * gdb_usleep.c: Ditto.
4512 * i386-darwin-tdep.c: Ditto.
4513 * i386fbsd-nat.c: Ditto.
4515 * inferior.c: Ditto.
4517 * linux-nat.c: Ditto.
4518 * linux-tdep.c: Ditto.
4519 * m68kbsd-nat.c: Ditto.
4520 * m68klinux-nat.c: Ditto.
4521 * microblaze-tdep.c: Ditto.
4522 * mips-linux-tdep.c: Ditto.
4523 * mn10300-tdep.c: Ditto.
4524 * nto-tdep.c: Ditto.
4525 * opencl-lang.c: Ditto.
4527 * printcmd.c: Ditto.
4528 * regcache.c: Ditto.
4529 * remote-m32r-sdi.c: Ditto.
4533 * tilegx-linux-nat.c: Ditto.
4534 * tilegx-tdep.c: Ditto.
4535 * tracepoint.c: Ditto.
4537 * vaxbsd-nat.c: Ditto.
4538 * windows-nat.c: Ditto.
4539 * xtensa-tdep.c: Ditto.
4541 2014-01-07 Yao Qi <yao@codesourcery.com>
4543 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4545 2014-01-07 Yao Qi <yao@codesourcery.com>
4546 Joel Brobecker <brobecker@adacore.com>
4548 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4549 (pdc_write_regs): Likewise.
4550 (fetch_regs_kernel_thread): Likewise.
4551 (store_regs_kernel_thread): Likewise.
4553 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4555 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4556 tagged type objects to their actual type.
4558 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4560 * ada-valprint.c (print_field_values): Add "language" parameter.
4561 Update calls to print_field_values and print_variant_part.
4562 Pass new parameter "language" in call to val_print instead
4563 of "current_language". Replace call to ada_val_print by call
4565 (print_variant_part): Add "language" parameter.
4566 (ada_val_print_struct_union): Update call to print_field_values.
4568 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4570 * ada-valprint.c (ui_memcpy): Delete.
4571 (ada_print_floating): Update documentation. Add empty line
4572 between between function documentation and implementation.
4573 Delete variable "buffer". Use ui_file_xstrdup in place of
4574 ui_file_put. Minor adjustments following this change.
4576 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4578 * ada-valprint.c (ada_val_print_string): New function,
4579 extracted from ada_val_print_array.
4580 (ada_val_print_array): Replace extracted code by call
4581 to ada_val_print_string followed by a return. Move
4582 "else" branch to the function's top block.
4584 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4586 * ada-valprint.c (ada_val_print_array): Move implementation
4587 down. Rename parameter "offset" and "val" into "offset_aligned"
4588 and "original_value" respectively. Add parameter "offset".
4590 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4592 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4593 re-organizing the code. Change the "???" message printed
4594 when target type is a TYPE_CODE_UNDEF into
4595 "<ref to undefined type>".
4597 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4599 * ada-valprint.c (print_record): Delete, implementation inlined...
4600 (ada_val_print_struct_union): ... here. Remove call to
4601 ada_check_typedef in inlined implementation.
4603 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4605 * ada-valprint.c (ada_val_print_gnat_array): New function,
4606 extracted from ada_val_print_1;
4607 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4608 (ada_val_print_flt, ada_val_print_struct_union)
4609 (ada_val_print_ref): Likewise.
4610 (ada_val_print_1): Delete variables i and elttype.
4611 Replace extracted-out code by call to corresponding
4614 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4616 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4618 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4620 * ada-valprint.c (ada_val_print_1): Replace calls to
4621 ada_val_print_1 by calls to val_print.
4623 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4625 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4626 Update calls to self accordingly. Replace calls to c_val_print
4627 by calls to val_print.
4629 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4631 * ada-valprint.c (print_record): Delete declaration.
4632 (adjust_type_signedness, ada_val_print_1): Likewise.
4633 (ada_val_print): Move function implementation down.
4634 (print_variant_part, print_field_values, print_record):
4635 Move function implementation up.
4637 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4639 * python/py-type.c (typy_get_name): New function.
4640 (type_object_getset): Add entry for attribute "name".
4641 * NEWS: Add entry mentioning this new attribute.
4643 2014-01-07 Yao Qi <yao@codesourcery.com>
4645 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
4648 2014-01-07 Yao Qi <yao@codesourcery.com>
4650 * gnu-nat.c (info_port_rights): Add qualifier const to
4653 2014-01-07 Yao Qi <yao@codesourcery.com>
4655 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
4657 2014-01-07 Yao Qi <yao@codesourcery.com>
4659 * gnu-nat.c (make_inf) Update declaration.
4660 (make_inf): Make it static.
4661 (inf_set_traced): Likewise.
4662 (inf_port_to_thread, inf_task_died_status): Likewise.
4664 2014-01-07 Yao Qi <yao@codesourcery.com>
4666 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
4668 2014-01-07 Yao Qi <yao@codesourcery.com>
4670 * gnu-nat.c (_initialize_gnu_nat): Declare.
4672 2014-01-07 Yao Qi <yao@codesourcery.com>
4674 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
4676 (struct gdbarch_info) <byte_order>: Change type to
4678 <byte_order_for_code>: Likewise.
4679 * gdbarch.c, gdbarch.h: Regenerated.
4681 2014-01-06 Sasha Smundak <asmundak@google.com>
4683 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
4685 2014-01-06 Tom Tromey <tromey@redhat.com>
4687 * doublest.c (convert_doublest_to_floatformat): Use const, not
4689 * somread.c (som_symtab_read): Likewise.
4691 2014-01-07 Hui Zhu <hui@codesourcery.com>
4693 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
4694 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
4695 (gdb_bfd_fopen): Ditto.
4696 (gdb_bfd_openr): Ditto.
4697 (gdb_bfd_openw): Ditto.
4698 (gdb_bfd_openr_iovec): Ditto.
4699 (gdb_bfd_fdopenr): Ditto.
4700 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
4701 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
4703 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
4705 * symfile-mem.c (symbol_file_add_from_memory): Removed
4706 gdb_bfd_stash_filename.
4708 2014-01-03 Doug Evans <dje@google.com>
4710 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
4713 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4715 Update year range in copyright notice of all files.
4717 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4719 * top.c (print_gdb_version): Set copyright year to 2014.
4721 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4723 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
4725 For older changes see ChangeLog-2013.
4731 version-control: never