1 2014-02-19 Tom Tromey <tromey@redhat.com>
3 * target-delegates.c: Rebuild.
4 * target.c (target_memory_map): Unconditionally delegate.
5 * target.h (struct target_ops) <to_memory_map>: Use
8 2014-02-19 Tom Tromey <tromey@redhat.com>
10 * target-delegates.c: Rebuild.
11 * target.c (target_thread_alive): Unconditionally delegate.
12 * target.h (struct target_ops) <to_thread_alive>: Use
13 TARGET_DEFAULT_RETURN.
15 2014-02-19 Tom Tromey <tromey@redhat.com>
17 * target-delegates.c: Rebuild.
18 * target.c (target_save_record): Unconditionally delegate.
19 * target.h (struct target_ops) <to_save_record>: Use
20 TARGET_DEFAULT_NORETURN.
22 2014-02-19 Tom Tromey <tromey@redhat.com>
24 * target-delegates.c: Rebuild.
25 * target.c (target_delete_record): Unconditionally delegate.
26 * target.h (struct target_ops) <to_delete_record>: Use
27 TARGET_DEFAULT_NORETURN.
29 2014-02-19 Tom Tromey <tromey@redhat.com>
31 * target-delegates.c: Rebuild.
32 * target.c (target_record_is_replaying): Unconditionally
34 * target.h (struct target_ops) <to_record_is_replaying>: Use
35 TARGET_DEFAULT_RETURN.
37 2014-02-19 Tom Tromey <tromey@redhat.com>
39 * target-delegates.c: Rebuild.
40 * target.c (target_goto_record_begin): Unconditionally delegate.
41 * target.h (struct target_ops) <to_goto_record_begin>: Use
42 TARGET_DEFAULT_NORETURN.
44 2014-02-19 Tom Tromey <tromey@redhat.com>
46 * target-delegates.c: Rebuild.
47 * target.c (target_goto_record_end): Unconditionally delegate.
48 * target.h (struct target_ops) <to_goto_record_end>: Use
49 TARGET_DEFAULT_NORETURN.
51 2014-02-19 Tom Tromey <tromey@redhat.com>
53 * target-delegates.c: Rebuild.
54 * target.c (target_goto_record): Unconditionally delegate.
55 * target.h (struct target_ops) <to_goto_record>: Use
56 TARGET_DEFAULT_NORETURN.
58 2014-02-19 Tom Tromey <tromey@redhat.com>
60 * target-delegates.c: Rebuild.
61 * target.c (target_insn_history): Unconditionally delegate.
62 * target.h (struct target_ops) <to_insn_history>: Use
63 TARGET_DEFAULT_NORETURN.
65 2014-02-19 Tom Tromey <tromey@redhat.com>
67 * target-delegates.c: Rebuild.
68 * target.c (target_insn_history_from): Unconditionally delegate.
69 * target.h (struct target_ops) <to_insn_history_from>: Use
70 TARGET_DEFAULT_NORETURN.
72 2014-02-19 Tom Tromey <tromey@redhat.com>
74 * target-delegates.c: Rebuild.
75 * target.c (target_insn_history_range): Unconditionally delegate.
76 * target.h (struct target_ops) <to_insn_history_range>: Use
77 TARGET_DEFAULT_NORETURN.
79 2014-02-19 Tom Tromey <tromey@redhat.com>
81 * target-delegates.c: Rebuild.
82 * target.c (target_call_history): Unconditionally delegate.
83 * target.h (struct target_ops) <to_call_history>: Use
84 TARGET_DEFAULT_NORETURN.
86 2014-02-19 Tom Tromey <tromey@redhat.com>
88 * target-delegates.c: Rebuild.
89 * target.c (target_call_history_from): Unconditionally delegate.
90 * target.h (struct target_ops) <to_call_history_from>: Use
91 TARGET_DEFAULT_NORETURN.
93 2014-02-19 Tom Tromey <tromey@redhat.com>
95 * target-delegates.c: Rebuild.
96 * target.c (target_call_history_range): Unconditionally delegate.
97 * target.h (struct target_ops) <to_call_history_range>: Use
98 TARGET_DEFAULT_NORETURN.
100 2014-02-19 Tom Tromey <tromey@redhat.com>
102 * target-delegates.c: Rebuild.
103 * target.c (target_verify_memory): Unconditionally delegate.
104 * target.h (struct target_ops) <to_verify_memory>: Use
105 TARGET_DEFAULT_NORETURN.
107 2014-02-19 Tom Tromey <tromey@redhat.com>
109 * target-delegates.c: Rebuild.
110 * target.c (target_core_of_thread): Unconditionally delegate.
111 * target.h (struct target_ops) <to_core_of_thread>: Use
112 TARGET_DEFAULT_RETURN.
114 2014-02-19 Tom Tromey <tromey@redhat.com>
116 * target-delegates.c: Rebuild.
117 * target.c (target_flash_done): Unconditionally delegate.
118 * target.h (struct target_ops) <to_flash_done>: Use
119 TARGET_DEFAULT_NORETURN.
121 2014-02-19 Tom Tromey <tromey@redhat.com>
123 * target-delegates.c: Rebuild.
124 * target.c (target_flash_erase): Unconditionally delegate.
125 * target.h (struct target_ops) <to_flash_erase>: Use
126 TARGET_DEFAULT_NORETURN.
128 2014-02-19 Tom Tromey <tromey@redhat.com>
130 * target-delegates.c: Rebuild.
131 * target.c (target_get_section_table): Unconditionally delegate.
132 * target.h (struct target_ops) <to_get_section_table>: Use
133 TARGET_DEFAULT_RETURN.
135 2014-02-19 Tom Tromey <tromey@redhat.com>
137 * target-delegates.c: Rebuild.
138 * target.c (target_pid_to_str): Unconditionally delegate.
139 (init_dummy_target): Don't initialize to_pid_to_str.
140 (default_pid_to_str): Rename from dummy_pid_to_str.
141 * target.h (struct target_ops) <to_pid_to_str>: Use
144 2014-02-19 Tom Tromey <tromey@redhat.com>
146 * target-delegates.c: Rebuild.
147 * target.c (target_find_new_threads): Unconditionally delegate.
148 * target.h (struct target_ops) <to_find_new_threads>: Use
149 TARGET_DEFAULT_RETURN.
151 2014-02-19 Tom Tromey <tromey@redhat.com>
153 * target-delegates.c: Rebuild.
154 * target.c (target_program_signals): Unconditionally delegate.
155 * target.h (struct target_ops) <to_program_signals>: Use
156 TARGET_DEFAULT_IGNORE.
158 2014-02-19 Tom Tromey <tromey@redhat.com>
160 * target-delegates.c: Rebuild.
161 * target.c (target_pass_signals): Unconditionally delegate.
162 * target.h (struct target_ops) <to_pass_signals>: Use
163 TARGET_DEFAULT_IGNORE.
165 2014-02-19 Tom Tromey <tromey@redhat.com>
167 * target-delegates.c: Rebuild.
168 * target.c (default_mourn_inferior): New function.
169 (target_mourn_inferior): Unconditionally delegate.
170 * target.h (struct target_ops) <to_mourn_inferior>: Use
173 2014-02-19 Tom Tromey <tromey@redhat.com>
175 * target-delegates.c: Rebuild.
176 * target.c (default_follow_fork): New function.
177 (target_follow_fork): Unconditionally delegate.
178 * target.h (struct target_ops) <to_follow_fork>: Use
181 2014-02-19 Tom Tromey <tromey@redhat.com>
183 * target-delegates.c: Rebuild.
184 * target.c (target_kill): Unconditionally delegate.
185 * target.h (struct target_ops) <to_kill>: Use
186 TARGET_DEFAULT_NORETURN.
188 2014-02-19 Tom Tromey <tromey@redhat.com>
190 * target-delegates.c: Rebuild.
191 * target.c (target_masked_watch_num_registers): Unconditionally
193 * target.h (struct target_ops) <to_masked_watch_num_registers>:
194 Use TARGET_DEFAULT_RETURN.
196 2014-02-19 Tom Tromey <tromey@redhat.com>
198 * target-delegates.c: Rebuild.
199 * target.c (target_remove_mask_watchpoint): Unconditionally
201 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
202 TARGET_DEFAULT_RETURN.
204 2014-02-19 Tom Tromey <tromey@redhat.com>
206 * target-delegates.c: Rebuild.
207 * target.c (target_insert_mask_watchpoint): Unconditionally
209 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
210 TARGET_DEFAULT_RETURN.
212 2014-02-19 Tom Tromey <tromey@redhat.com>
214 * target-delegates.c: Rebuild.
215 * target.c (target_ranged_break_num_registers): Unconditionally
217 * target.h (struct target_ops) <to_ranged_break_num_registers>:
218 Use TARGET_DEFAULT_RETURN.
220 2014-02-19 Tom Tromey <tromey@redhat.com>
222 * target-delegates.c: Rebuild.
223 * target.c (target_fetch_registers): Unconditionally delegate.
224 * target.h (struct target_ops) <to_fetch_registers>: Use
225 TARGET_DEFAULT_NORETURN.
227 2014-02-19 Tom Tromey <tromey@redhat.com>
229 * target-delegates.c: Rebuild.
230 * target.c (update_current_target): Don't inherit or default
232 * target.h (struct target_ops) <to_stop>: Use
233 TARGET_DEFAULT_IGNORE.
235 2014-02-19 Tom Tromey <tromey@redhat.com>
237 * target-delegates.c: Rebuild.
238 * target.c (update_current_target): Don't inherit or default
239 to_can_run_breakpoint_commands.
240 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
241 Use TARGET_DEFAULT_RETURN.
243 2014-02-19 Tom Tromey <tromey@redhat.com>
245 * target-delegates.c: Rebuild.
246 * target.c (update_current_target): Don't inherit or default
247 to_supports_evaluation_of_breakpoint_conditions.
248 * target.h (struct target_ops)
249 <to_supports_evaluation_of_breakpoint_conditions>: Use
250 TARGET_DEFAULT_RETURN.
252 2014-02-19 Tom Tromey <tromey@redhat.com>
254 * target-delegates.c: Rebuild.
255 * target.c (update_current_target): Don't inherit or default
256 to_augmented_libraries_svr4_read.
257 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
258 Use TARGET_DEFAULT_RETURN.
260 2014-02-19 Tom Tromey <tromey@redhat.com>
262 * target-delegates.c: Rebuild.
263 * target.c (update_current_target): Don't inherit or default
265 * target.h (struct target_ops) <to_can_use_agent>: Use
266 TARGET_DEFAULT_RETURN.
268 2014-02-19 Tom Tromey <tromey@redhat.com>
270 * target-delegates.c: Rebuild.
271 * target.c (update_current_target): Don't inherit or default
273 * target.h (struct target_ops) <to_use_agent>: Use
274 TARGET_DEFAULT_NORETURN.
276 2014-02-19 Tom Tromey <tromey@redhat.com>
278 * target-delegates.c: Rebuild.
279 * target.c (update_current_target): Don't inherit or default
281 (return_null): Remove.
282 * target.h (struct target_ops) <to_traceframe_info>: Use
283 TARGET_DEFAULT_RETURN.
285 2014-02-19 Tom Tromey <tromey@redhat.com>
287 * target-delegates.c: Rebuild.
288 * target.c (update_current_target): Don't inherit or default
289 to_static_tracepoint_markers_by_strid.
290 * target.h (struct target_ops)
291 <to_static_tracepoint_markers_by_strid>: Use
292 TARGET_DEFAULT_NORETURN.
294 2014-02-19 Tom Tromey <tromey@redhat.com>
296 * target-delegates.c: Rebuild.
297 * target.c (update_current_target): Don't inherit or default
298 to_static_tracepoint_marker_at.
299 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
300 Use TARGET_DEFAULT_RETURN.
302 2014-02-19 Tom Tromey <tromey@redhat.com>
304 * target-delegates.c: Rebuild.
305 * target.c (update_current_target): Don't inherit or default
307 * target.h (struct target_ops) <to_set_permissions>: Use
308 TARGET_DEFAULT_IGNORE.
310 2014-02-19 Tom Tromey <tromey@redhat.com>
312 * target-delegates.c: Rebuild.
313 * target.c (update_current_target): Don't inherit or default
315 * target.h (struct target_ops) <to_get_tib_address>: Use
316 TARGET_DEFAULT_NORETURN.
318 2014-02-19 Tom Tromey <tromey@redhat.com>
320 * target-delegates.c: Rebuild.
321 * target.c (update_current_target): Don't inherit or default
323 * target.h (struct target_ops) <to_set_trace_notes>: Use
324 TARGET_DEFAULT_RETURN.
326 2014-02-19 Tom Tromey <tromey@redhat.com>
328 * target-delegates.c: Rebuild.
329 * target.c (update_current_target): Don't initialize
330 to_set_trace_buffer_size.
331 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
332 TARGET_DEFAULT_IGNORE.
334 2014-02-19 Tom Tromey <tromey@redhat.com>
336 * target-delegates.c: Rebuild.
337 * target.c (update_current_target): Don't inherit or default
338 to_set_circular_trace_buffer.
339 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
340 TARGET_DEFAULT_IGNORE.
342 2014-02-19 Tom Tromey <tromey@redhat.com>
344 * target-delegates.c: Rebuild.
345 * target.c (update_current_target): Don't inherit or default
346 to_set_disconnected_tracing.
347 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
348 TARGET_DEFAULT_IGNORE.
350 2014-02-19 Tom Tromey <tromey@redhat.com>
352 * target-delegates.c: Rebuild.
353 * target.c (update_current_target): Don't inherit or default
354 to_get_min_fast_tracepoint_insn_len.
355 (return_minus_one): Remove.
356 * target.h (struct target_ops)
357 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
359 2014-02-19 Tom Tromey <tromey@redhat.com>
361 * target-delegates.c: Rebuild.
362 * target.c (update_current_target): Don't inherit or default
363 to_get_raw_trace_data.
364 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
365 TARGET_DEFAULT_NORETURN.
367 2014-02-19 Tom Tromey <tromey@redhat.com>
369 * target-delegates.c: Rebuild.
370 * target.c (update_current_target): Don't inherit or default
371 to_upload_trace_state_variables.
372 * target.h (struct target_ops) <to_upload_trace_state_variables>:
373 Use TARGET_DEFAULT_RETURN.
375 2014-02-19 Tom Tromey <tromey@redhat.com>
377 * target-delegates.c: Rebuild.
378 * target.c (update_current_target): Don't inherit or default
379 to_upload_tracepoints.
380 * target.h (struct target_ops) <to_upload_tracepoints>: Use
381 TARGET_DEFAULT_RETURN.
383 2014-02-19 Tom Tromey <tromey@redhat.com>
385 * target-delegates.c: Rebuild.
386 * target.c (update_current_target): Don't inherit or default
388 * target.h (struct target_ops) <to_save_trace_data>: Use
389 TARGET_DEFAULT_NORETURN.
391 2014-02-19 Tom Tromey <tromey@redhat.com>
393 * target-delegates.c: Rebuild.
394 * target.c (update_current_target): Don't inherit or default
395 to_get_trace_state_variable_value.
396 * target.h (struct target_ops)
397 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
399 2014-02-19 Tom Tromey <tromey@redhat.com>
401 * target-delegates.c: Rebuild.
402 * target.c (update_current_target): Don't inherit or default
404 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
406 2014-02-19 Tom Tromey <tromey@redhat.com>
408 * target-delegates.c: Rebuild.
409 * target.c (update_current_target): Don't inherit or default
411 * target.h (struct target_ops) <to_trace_stop>: 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
418 to_get_tracepoint_status.
419 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
420 TARGET_DEFAULT_NORETURN.
422 2014-02-19 Tom Tromey <tromey@redhat.com>
424 * target-delegates.c: Rebuild.
425 * target.c (update_current_target): Don't inherit or default
427 * target.h (struct target_ops) <to_get_trace_status>: Use
428 TARGET_DEFAULT_RETURN.
430 2014-02-19 Tom Tromey <tromey@redhat.com>
432 * target-delegates.c: Rebuild.
433 * target.c (update_current_target): Don't inherit or default
435 * target.h (struct target_ops) <to_trace_start>: Use
436 TARGET_DEFAULT_NORETURN.
438 2014-02-19 Tom Tromey <tromey@redhat.com>
440 * target-delegates.c: Rebuild.
441 * target.c (update_current_target): Don't inherit or default
442 to_trace_set_readonly_regions.
443 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
444 Use TARGET_DEFAULT_NORETURN.
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_disable_tracepoint.
451 * target.h (struct target_ops) <to_disable_tracepoint>: Use
452 TARGET_DEFAULT_NORETURN.
454 2014-02-19 Tom Tromey <tromey@redhat.com>
456 * target-delegates.c: Rebuild.
457 * target.c (update_current_target): Don't inherit or default
458 to_enable_tracepoint.
459 * target.h (struct target_ops) <to_enable_tracepoint>: Use
460 TARGET_DEFAULT_NORETURN.
462 2014-02-19 Tom Tromey <tromey@redhat.com>
464 * target-delegates.c: Rebuild.
465 * target.c (update_current_target): Don't inherit or default
466 to_download_trace_state_variable.
467 * target.h (struct target_ops) <to_download_trace_state_variable>:
468 Use TARGET_DEFAULT_NORETURN.
470 2014-02-19 Tom Tromey <tromey@redhat.com>
472 * target-delegates.c: Rebuild.
473 * target.c (update_current_target): Don't inherit or default
474 to_can_download_tracepoint.
475 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
476 TARGET_DEFAULT_RETURN.
478 2014-02-19 Tom Tromey <tromey@redhat.com>
480 * target-delegates.c: Rebuild.
481 * target.c (update_current_target): Don't inherit or default
482 to_download_tracepoint.
483 * target.h (struct target_ops) <to_download_tracepoint>: Use
484 TARGET_DEFAULT_NORETURN.
486 2014-02-19 Tom Tromey <tromey@redhat.com>
488 * target-delegates.c: Rebuild.
489 * target.c (update_current_target): Don't inherit or default
491 * target.h (struct target_ops) <to_trace_init>: Use
492 TARGET_DEFAULT_RETURN.
494 2014-02-19 Tom Tromey <tromey@redhat.com>
496 * target-delegates.c: Rebuild.
497 * target.c (update_current_target): Don't inherit or default
498 to_supports_string_tracing.
499 * target.h (struct target_ops) <to_supports_string_tracing>: Use
500 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
506 to_supports_enable_disable_tracepoint.
507 * target.h (struct target_ops)
508 <to_supports_enable_disable_tracepoint>: Use
509 TARGET_DEFAULT_RETURN.
511 2014-02-19 Tom Tromey <tromey@redhat.com>
513 * target-delegates.c: Rebuild.
514 * target.c (update_current_target): Don't inherit or default
515 to_supports_multi_process.
516 * target.h (struct target_ops) <to_supports_multi_process>: Use
517 TARGET_DEFAULT_RETURN.
519 2014-02-19 Tom Tromey <tromey@redhat.com>
521 * target-delegates.c: Rebuild.
522 * target.c (update_current_target): Don't inherit or default
523 to_get_ada_task_ptid.
524 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
527 2014-02-19 Tom Tromey <tromey@redhat.com>
529 * target-delegates.c: Rebuild.
530 * target.c (update_current_target): Don't inherit or default
531 to_thread_architecture.
532 * target.h (struct target_ops) <to_thread_architecture>: Use
535 2014-02-19 Tom Tromey <tromey@redhat.com>
537 * target-delegates.c: Rebuild.
538 * target.c (update_current_target): Don't inherit or default
539 to_execution_direction.
540 * target.h (struct target_ops) <to_execution_direction>: Use
543 2014-02-19 Tom Tromey <tromey@redhat.com>
545 * target-delegates.c: Rebuild.
546 * target.c (update_current_target): Don't inherit or default
547 to_can_execute_reverse.
548 * target.h (struct target_ops) <to_can_execute_reverse>: Use
549 TARGET_DEFAULT_RETURN.
550 (target_can_execute_reverse): Unconditionally delegate.
552 2014-02-19 Tom Tromey <tromey@redhat.com>
554 * target-delegates.c: Rebuild.
555 * target.c (update_current_target): Don't inherit or default
557 (dummy_goto_bookmark): Remove.
558 (init_dummy_target): Don't inherit or default to_goto_bookmark.
559 * target.h (struct target_ops) <to_goto_bookmark>: Use
560 TARGET_DEFAULT_NORETURN.
562 2014-02-19 Tom Tromey <tromey@redhat.com>
564 * target-delegates.c: Rebuild.
565 * target.c (update_current_target): Don't inherit or default
567 (dummy_get_bookmark): Remove.
568 (init_dummy_target): Don't inherit or default to_get_bookmark.
569 * target.h (struct target_ops) <to_get_bookmark>: Use
570 TARGET_DEFAULT_NORETURN
572 2014-02-19 Tom Tromey <tromey@redhat.com>
574 * target-delegates.c: Rebuild.
575 * target.c (update_current_target): Don't inherit or default
576 to_make_corefile_notes.
577 (init_dummy_target): Don't initialize to_make_corefile_notes.
578 * target.h (struct target_ops) <to_make_corefile_notes>: Use
581 2014-02-19 Tom Tromey <tromey@redhat.com>
583 * target-delegates.c: Rebuild.
584 * target.c (update_current_target): Don't inherit or default
585 to_find_memory_regions.
586 (init_dummy_target): Don't initialize to_find_memory_regions.
587 * target.h (struct target_ops) <to_find_memory_regions>: Use
590 2014-02-19 Tom Tromey <tromey@redhat.com>
592 * target-delegates.c: Rebuild.
593 * target.c (update_current_target): Don't inherit or default
595 * target.h (struct target_ops) <to_log_command>: Use
596 TARGET_DEFAULT_IGNORE.
597 (target_log_command): Unconditionally delegate.
599 2014-02-19 Tom Tromey <tromey@redhat.com>
601 * target-delegates.c: Rebuild.
602 * target.c (update_current_target): Don't inherit or default
604 * target.h (struct target_ops) <to_pid_to_exec_file>: 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
612 (target_thread_name): Unconditionally delegate.
613 * target.h (struct target_ops) <to_thread_name>: Use
614 TARGET_DEFAULT_RETURN.
616 2014-02-19 Tom Tromey <tromey@redhat.com>
618 * target-delegates.c: Rebuild.
619 * target.c (update_current_target): Don't inherit or default
620 to_extra_thread_info.
621 * target.h (struct target_ops) <to_extra_thread_info>: Use
622 TARGET_DEFAULT_RETURN.
624 2014-02-19 Tom Tromey <tromey@redhat.com>
626 * target-delegates.c: Rebuild.
627 * target.c (update_current_target): Don't inherit or default
629 * target.h (struct target_ops) <to_has_exited>: Use
630 TARGET_DEFAULT_RETURN..
632 2014-02-19 Tom Tromey <tromey@redhat.com>
634 * target-delegates.c: Rebuild.
635 * target.c (update_current_target): Don't inherit or default
636 to_set_syscall_catchpoint.
637 (return_one): Remove.
638 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
639 TARGET_DEFAULT_RETURN.
641 2014-02-19 Tom Tromey <tromey@redhat.com>
643 * target-delegates.c: Rebuild.
644 * target.c (update_current_target): Don't inherit or default
645 to_insert_exec_catchpoint.
646 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
647 TARGET_DEFAULT_RETURN.
649 2014-01-08 Tom Tromey <tromey@redhat.com>
651 * target-delegates.c: Rebuild.
652 * target.c (update_current_target): Don't inherit or default
653 to_insert_exec_catchpoint.
654 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
655 TARGET_DEFAULT_RETURN.
657 2014-02-19 Tom Tromey <tromey@redhat.com>
659 * target-delegates.c: Rebuild.
660 * target.c (update_current_target): Don't inherit or default
661 to_remove_vfork_catchpoint.
662 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
663 TARGET_DEFAULT_RETURN.
665 2014-02-19 Tom Tromey <tromey@redhat.com>
667 * target-delegates.c: Rebuild.
668 * target.c (update_current_target): Don't inherit or default
669 to_insert_vfork_catchpoint.
670 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
671 TARGET_DEFAULT_RETURN.
673 2014-02-19 Tom Tromey <tromey@redhat.com>
675 * target-delegates.c: Rebuild.
676 * target.c (update_current_target): Don't inherit or default
677 to_remove_fork_catchpoint.
678 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
679 TARGET_DEFAULT_RETURN.
681 2014-02-19 Tom Tromey <tromey@redhat.com>
683 * target-delegates.c: Rebuild.
684 * target.c (update_current_target): Don't inherit or default
685 to_insert_fork_catchpoint.
686 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
687 TARGET_DEFAULT_RETURN.
689 2014-02-19 Tom Tromey <tromey@redhat.com>
691 * target-delegates.c: Rebuild.
692 * target.c (update_current_target): Don't inherit or default
693 to_post_startup_inferior.
694 * target.h (struct target_ops) <to_post_startup_inferior>: Use
695 TARGET_DEFAULT_IGNORE.
697 2014-02-19 Tom Tromey <tromey@redhat.com>
699 * target-delegates.c: Rebuild.
700 * target.c (update_current_target): Don't inherit or default
702 * target.h (struct target_ops) <to_load>: Use
703 TARGET_DEFAULT_NORETURN.
705 2014-02-19 Tom Tromey <tromey@redhat.com>
707 * target-delegates.c: Rebuild.
708 * target.c (update_current_target): Don't inherit or default
710 * target.h (struct target_ops) <to_terminal_info>: Use
713 2014-02-19 Tom Tromey <tromey@redhat.com>
715 * target-delegates.c: Rebuild.
716 * target.c (update_current_target): Don't inherit or default
717 to_terminal_save_ours.
718 * target.h (struct target_ops) <to_terminal_save_ours>: Use
719 TARGET_DEFAULT_IGNORE.
721 2014-02-19 Tom Tromey <tromey@redhat.com>
723 * target-delegates.c: Rebuild.
724 * target.c (update_current_target): Don't inherit or default
726 * target.h (struct target_ops) <to_terminal_ours>: Use
727 TARGET_DEFAULT_IGNORE.
729 2014-02-19 Tom Tromey <tromey@redhat.com>
731 * target-delegates.c: Rebuild.
732 * target.c (update_current_target): Don't inherit or default
733 to_terminal_ours_for_output.
734 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
735 TARGET_DEFAULT_IGNORE.
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_terminal_inferior.
742 * target.h (struct target_ops) <to_terminal_inferior>: Use
743 TARGET_DEFAULT_IGNORE.
745 2014-02-19 Tom Tromey <tromey@redhat.com>
747 * target-delegates.c: Rebuild.
748 * target.c (update_current_target): Don't inherit or default
750 * target.h (struct target_ops) <to_terminal_init>: Use
751 TARGET_DEFAULT_IGNORE.
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_can_accel_watchpoint_condition.
758 * target.h (struct target_ops)
759 <to_can_accel_watchpoint_condition>: Use 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_region_ok_for_hw_watchpoint.
766 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
767 Use TARGET_DEFAULT_FUNC.
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_watchpoint_addr_within_range.
774 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
775 Use TARGET_DEFAULT_FUNC.
777 2014-02-19 Tom Tromey <tromey@redhat.com>
779 * target-delegates.c: Rebuild.
780 * target.c (update_current_target): Don't inherit or default
781 to_remove_watchpoint.
782 * target.h (struct target_ops) <to_remove_watchpoint>: Use
783 TARGET_DEFAULT_NORETURN.
785 2014-02-19 Tom Tromey <tromey@redhat.com>
787 * target-delegates.c: Rebuild.
788 * target.c (update_current_target): Don't inherit or default
789 to_insert_watchpoint.
790 * target.h (struct target_ops) <to_insert_watchpoint>: Use
791 TARGET_DEFAULT_RETURN.
793 2014-02-19 Tom Tromey <tromey@redhat.com>
795 * target-delegates.c: Rebuild.
796 * target.c (update_current_target): Don't inherit or default
797 to_remove_hw_breakpoint.
798 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
799 TARGET_DEFAULT_RETURN.
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
805 to_insert_hw_breakpoint.
806 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
807 TARGET_DEFAULT_RETURN.
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_can_use_hw_breakpoint.
814 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
815 TARGET_DEFAULT_RETURN.
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_files_info>: Use
823 TARGET_DEFAULT_IGNORE.
825 2014-02-19 Tom Tromey <tromey@redhat.com>
827 * target-delegates.c: Rebuild.
828 * target.c (update_current_target): Don't inherit or default
830 * target.h (struct target_ops) <to_store>: Use
831 TARGET_DEFAULT_NORETURN.
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
838 * target.h (struct target_ops) <to_post_attach>: 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 (default_rcmd): New function.
847 (do_monitor_command): Unconditionally delegate.
848 * target.h (struct target_ops) <to_rmcd>: Use
851 2014-02-19 Tom Tromey <tromey@redhat.com>
853 * target-delegates.c: Rebuild.
854 * target.c (init_dummy_target): Don't initialize to_attach.
855 (target_attach): Unconditionally delegate.
856 * target.h (struct target_ops) <to_attach>: Use
859 2014-02-19 Tom Tromey <tromey@redhat.com>
861 * target-delegates.c: Rebuild.
862 * target.c (target_detach): Unconditionally delegate.
863 (init_dummy_target): Don't initialize to_detach.
864 * target.h (struct target_ops) <to_detach>: Use
865 TARGET_DEFAULT_IGNORE.
867 2014-02-19 Tom Tromey <tromey@redhat.com>
869 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
871 (target_augmented_libraries_svr4_read): Add argument.
872 * target.c (update_current_target): Update.
873 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
876 2014-02-19 Tom Tromey <tromey@redhat.com>
878 * target.h (struct target_ops) <to_call_history_range>: Add
880 * target.c (target_call_history_range): Add argument.
881 * record-btrace.c (record_btrace_call_history_range): Add 'self'
883 (record_btrace_call_history_from): Update.
885 2014-02-19 Tom Tromey <tromey@redhat.com>
887 * target.h (struct target_ops) <to_call_history_from>: Add
889 * target.c (target_call_history_from): Add argument.
890 * record-btrace.c (record_btrace_call_history_from): Add 'self'
893 2014-02-19 Tom Tromey <tromey@redhat.com>
895 * target.h (struct target_ops) <to_call_history>: Add argument.
896 * target.c (target_call_history): Add argument.
897 * record-btrace.c (record_btrace_call_history): Add 'self'
900 2014-02-19 Tom Tromey <tromey@redhat.com>
902 * target.h (struct target_ops) <to_insn_history_range>: Add
904 * target.c (target_insn_history_range): Add argument.
905 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
907 (record_btrace_insn_history_from): Update.
909 2014-02-19 Tom Tromey <tromey@redhat.com>
911 * target.h (struct target_ops) <to_insn_history_from>: Add
913 * target.c (target_insn_history_from): Add argument.
914 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
917 2014-02-19 Tom Tromey <tromey@redhat.com>
919 * target.h (struct target_ops) <to_insn_history>: Add argument.
920 * target.c (target_insn_history): Add argument.
921 * record-btrace.c (record_btrace_insn_history): Add 'self'
924 2014-02-19 Tom Tromey <tromey@redhat.com>
926 * target.h (struct target_ops) <to_goto_record>: Add argument.
927 * target.c (target_goto_record): Add argument.
928 * record-full.c (record_full_goto): Add 'self' argument.
929 * record-btrace.c (record_btrace_goto): Add 'self' argument.
931 2014-02-19 Tom Tromey <tromey@redhat.com>
933 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
934 * target.c (target_goto_record_end): Add argument.
935 * record-full.c (record_full_goto_end): Add 'self' argument.
936 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
938 2014-02-19 Tom Tromey <tromey@redhat.com>
940 * target.h (struct target_ops) <to_goto_record_begin>: Add
942 * target.c (target_goto_record_begin): Add argument.
943 * record-full.c (record_full_goto_begin): Add 'self' argument.
944 * record-btrace.c (record_btrace_goto_begin): Add 'self'
947 2014-02-19 Tom Tromey <tromey@redhat.com>
949 * target.h (struct target_ops) <to_record_is_replaying>: Add
951 * target.c (target_record_is_replaying): Add argument.
952 * record-full.c (record_full_is_replaying): Add 'self' argument.
953 * record-btrace.c (record_btrace_is_replaying): Add 'self'
955 (record_btrace_xfer_partial, record_btrace_store_registers)
956 (record_btrace_prepare_to_store, record_btrace_resume)
957 (record_btrace_wait, record_btrace_decr_pc_after_break)
958 (record_btrace_find_new_threads, record_btrace_thread_alive):
961 2014-02-19 Tom Tromey <tromey@redhat.com>
963 * target.h (struct target_ops) <to_delete_record>: Add argument.
964 * target.c (target_delete_record): Add argument.
965 * record-full.c (record_full_delete): Add 'self' argument.
967 2014-02-19 Tom Tromey <tromey@redhat.com>
969 * target.h (struct target_ops) <to_save_record>: Add argument.
970 * target.c (target_save_record): Add argument.
971 * record-full.c (record_full_save): Add 'self' argument.
972 (record_full_save): Add 'self' argument.
974 2014-02-19 Tom Tromey <tromey@redhat.com>
976 * target.h (struct target_ops) <to_info_record>: Add argument.
977 * target.c (target_info_record): Add argument.
978 * record.c (info_record_command): Add argument.
979 * record-full.c (record_full_info): Add 'self' argument.
980 * record-btrace.c (record_btrace_info): Add 'self' argument.
982 2014-02-19 Tom Tromey <tromey@redhat.com>
984 * target.h (struct target_ops) <to_stop_recording>: Add argument.
985 * target.c (target_stop_recording): Add argument.
986 * record.c (record_stop): Add argument.
987 * record-btrace.c (record_btrace_stop_recording): Add 'self'
990 2014-02-19 Tom Tromey <tromey@redhat.com>
992 * target.h (struct target_ops) <to_read_btrace>: Add argument.
993 * target.c (struct target_ops) <to_read_btrace>: Add argument.
994 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
996 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
997 (_initialize_amd64_linux_nat): Use it.
998 * i386-linux-nat.c (i386_linux_read_btrace): New function.
999 (_initialize_i386_linux_nat): Use it.
1001 2014-02-19 Tom Tromey <tromey@redhat.com>
1003 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
1004 * target.c (target_teardown_btrace): Add argument.
1005 * remote.c (remote_teardown_btrace): Add 'self' argument.
1006 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
1008 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
1011 2014-02-19 Tom Tromey <tromey@redhat.com>
1013 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
1014 * target.c (target_disable_btrace): Add argument.
1015 * remote.c (remote_disable_btrace): Add 'self' argument.
1016 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
1018 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
1021 2014-02-19 Tom Tromey <tromey@redhat.com>
1023 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
1024 * target.c (target_enable_btrace): Add argument.
1025 * remote.c (remote_enable_btrace): Add 'self' argument.
1026 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
1028 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
1031 2014-02-19 Tom Tromey <tromey@redhat.com>
1033 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
1034 (target_can_use_agent): Add argument.
1035 * target.c (update_current_target): Update.
1036 * remote.c (remote_can_use_agent): Add 'self' argument.
1037 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
1039 2014-02-19 Tom Tromey <tromey@redhat.com>
1041 * target.h (struct target_ops) <to_use_agent>: Add argument.
1042 (target_use_agent): Add argument.
1043 * target.c (update_current_target): Update.
1044 * remote.c (remote_use_agent): Add 'self' argument.
1045 * inf-child.c (inf_child_use_agent): Add 'self' argument.
1047 2014-02-19 Tom Tromey <tromey@redhat.com>
1049 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
1050 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
1051 (target_traceframe_info): Add argument.
1052 * target.c (update_current_target): Update.
1053 * remote.c (remote_traceframe_info): Add 'self' argument.
1054 * ctf.c (ctf_traceframe_info): Add 'self' argument.
1056 2014-02-19 Tom Tromey <tromey@redhat.com>
1058 * target.h (target_static_tracepoint_markers_by_strid): Add
1060 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
1062 * target.c (update_current_target): Update.
1063 * remote.c (struct target_ops)
1064 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1065 * linux-nat.c (struct target_ops)
1066 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1068 2014-02-19 Tom Tromey <tromey@redhat.com>
1070 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1072 (target_static_tracepoint_marker_at): Add argument.
1073 * target.c (update_current_target): Update.
1074 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
1077 2014-02-19 Tom Tromey <tromey@redhat.com>
1079 * target.h (struct target_ops) <to_set_permissions>: Add argument.
1080 (target_set_permissions): Add argument.
1081 * target.c (update_current_target): Update.
1082 * remote.c (remote_set_permissions): Add 'self' argument.
1083 (remote_start_remote): Update.
1085 2014-02-19 Tom Tromey <tromey@redhat.com>
1087 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
1088 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
1089 (target_get_tib_address): Add argument.
1090 * target.c (update_current_target): Update.
1091 * remote.c (remote_get_tib_address): Add 'self' argument.
1093 2014-02-19 Tom Tromey <tromey@redhat.com>
1095 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
1096 (target_set_trace_notes): Add argument.
1097 * target.c (update_current_target): Update.
1098 * remote.c (remote_set_trace_notes): Add 'self' argument.
1100 2014-02-19 Tom Tromey <tromey@redhat.com>
1102 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
1104 (target_set_trace_buffer_size): Add argument.
1105 * target.c (update_current_target): Update.
1106 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
1108 2014-02-19 Tom Tromey <tromey@redhat.com>
1110 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
1112 (target_set_circular_trace_buffer): Add argument.
1113 * target.c (update_current_target): Update.
1114 * remote.c (remote_set_circular_trace_buffer): Add 'self'
1117 2014-02-19 Tom Tromey <tromey@redhat.com>
1119 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
1121 (target_set_disconnected_tracing): Add argument.
1122 * target.c (update_current_target): Update.
1123 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
1125 2014-02-19 Tom Tromey <tromey@redhat.com>
1127 * target.h (struct target_ops)
1128 <to_get_min_fast_tracepoint_insn_len>: Add argument.
1129 (target_get_min_fast_tracepoint_insn_len): Add argument.
1130 * target.c (update_current_target): Update.
1131 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
1134 2014-02-19 Tom Tromey <tromey@redhat.com>
1136 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
1138 (target_get_raw_trace_data): Add argument.
1139 * target.c (update_current_target): Update.
1140 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
1142 2014-02-19 Tom Tromey <tromey@redhat.com>
1144 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1146 (target_upload_trace_state_variables): Add argument.
1147 * target.c (update_current_target): Update.
1148 * remote.c (remote_upload_trace_state_variables): Add 'self'
1150 (remote_start_remote): Update.
1152 2014-02-19 Tom Tromey <tromey@redhat.com>
1154 * target.h (struct target_ops) <to_upload_tracepoints>: Add
1156 (target_upload_tracepoints): Add argument.
1157 * target.c (update_current_target): Update.
1158 * remote.c (remote_upload_tracepoints): Add 'self' argument.
1159 (remote_start_remote): Update.
1161 2014-02-19 Tom Tromey <tromey@redhat.com>
1163 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
1164 (target_save_trace_data): Add argument.
1165 * target.c (update_current_target): Update.
1166 * remote.c (remote_save_trace_data): Add 'self' argument.
1168 2014-02-19 Tom Tromey <tromey@redhat.com>
1170 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
1172 * target.h (struct target_ops)
1173 <to_get_trace_state_variable_value>: Add argument.
1174 (target_get_trace_state_variable_value): Add argument.
1175 * target.c (update_current_target): Update.
1176 * remote.c (remote_get_trace_state_variable_value): Add 'self'
1178 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
1180 2014-02-19 Tom Tromey <tromey@redhat.com>
1182 * tracepoint.c (tfile_trace_find): Add 'self' argument.
1183 * target.h (struct target_ops) <to_trace_find>: Add argument.
1184 (target_trace_find): Add argument.
1185 * target.c (update_current_target): Update.
1186 * remote.c (remote_trace_find): Add 'self' argument.
1187 * ctf.c (ctf_trace_find): Add 'self' argument.
1189 2014-02-19 Tom Tromey <tromey@redhat.com>
1191 * target.h (struct target_ops) <to_trace_stop>: Add argument.
1192 (target_trace_stop): Add argument.
1193 * target.c (update_current_target): Update.
1194 * remote.c (remote_trace_stop): Add 'self' argument.
1196 2014-02-19 Tom Tromey <tromey@redhat.com>
1198 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
1199 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
1201 (target_get_tracepoint_status): Add argument.
1202 * target.c (update_current_target): Update.
1203 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
1205 2014-02-19 Tom Tromey <tromey@redhat.com>
1207 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
1208 * target.h (struct target_ops) <to_get_trace_status>: Add
1210 (target_get_trace_status): Add argument.
1211 * target.c (update_current_target): Update.
1212 * remote.c (remote_get_trace_status): Add 'self' argument.
1213 (remote_start_remote, remote_can_download_tracepoint): Update.
1214 * ctf.c (ctf_get_trace_status): Add 'self' argument.
1216 2014-02-19 Tom Tromey <tromey@redhat.com>
1218 * target.h (struct target_ops) <to_trace_start>: Add argument.
1219 (target_trace_start): Add argument.
1220 * target.c (update_current_target): Update.
1221 * remote.c (remote_trace_start): Add 'self' argument.
1223 2014-02-19 Tom Tromey <tromey@redhat.com>
1225 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1227 (target_trace_set_readonly_regions): Add argument.
1228 * target.c (update_current_target): Update.
1229 * remote.c (remote_trace_set_readonly_regions): Add 'self'
1232 2014-02-19 Tom Tromey <tromey@redhat.com>
1234 * target.h (struct target_ops) <to_disable_tracepoint>: Add
1236 (target_disable_tracepoint): Add argument.
1237 * target.c (update_current_target): Update.
1238 * remote.c (remote_disable_tracepoint): Add 'self' argument.
1240 2014-02-19 Tom Tromey <tromey@redhat.com>
1242 * target.h (struct target_ops) <to_enable_tracepoint>: Add
1244 (target_enable_tracepoint): Add argument.
1245 * target.c (update_current_target): Update.
1246 * remote.c (remote_enable_tracepoint): Add 'self' argument.
1248 2014-02-19 Tom Tromey <tromey@redhat.com>
1250 * target.h (struct target_ops) <to_download_trace_state_variable>:
1252 (target_download_trace_state_variable): Add argument.
1253 * target.c (update_current_target): Update.
1254 * remote.c (remote_download_trace_state_variable): Add 'self'
1257 2014-02-19 Tom Tromey <tromey@redhat.com>
1259 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
1261 (target_can_download_tracepoint): Add argument.
1262 * target.c (update_current_target): Update.
1263 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
1265 2014-02-19 Tom Tromey <tromey@redhat.com>
1267 * target.h (struct target_ops) <to_download_tracepoint>: Add
1269 (target_download_tracepoint): Add argument.
1270 * target.c (update_current_target): Update.
1271 * remote.c (remote_download_tracepoint): Add 'self' argument.
1273 2014-02-19 Tom Tromey <tromey@redhat.com>
1275 * target.h (struct target_ops) <to_trace_init>: Add argument.
1276 (target_trace_init): Add argument.
1277 * target.c (update_current_target): Update.
1278 * remote.c (remote_trace_init): Add 'self' argument.
1280 2014-02-19 Tom Tromey <tromey@redhat.com>
1282 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1283 * target.c (target_fileio_readlink): Add argument.
1284 * remote.c (remote_hostio_readlink): Add 'self' argument.
1285 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1287 2014-02-19 Tom Tromey <tromey@redhat.com>
1289 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1290 * target.c (target_fileio_unlink): Add argument.
1291 * remote.c (remote_hostio_unlink): Add 'self' argument.
1292 (remote_file_delete): Update.
1293 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1295 2014-02-19 Tom Tromey <tromey@redhat.com>
1297 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1298 * target.c (target_fileio_close): Add argument.
1299 * remote.c (remote_hostio_close): Add 'self' argument.
1300 (remote_hostio_close_cleanup): Update.
1301 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1303 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1305 2014-02-19 Tom Tromey <tromey@redhat.com>
1307 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1308 * target.c (target_fileio_pread): Add argument.
1309 * remote.c (remote_hostio_pread): Add 'self' argument.
1310 (remote_bfd_iovec_pread, remote_file_get): Update.
1311 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1313 2014-02-19 Tom Tromey <tromey@redhat.com>
1315 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1316 * target.c (target_fileio_pwrite): Add argument.
1317 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1318 (remote_file_put): Update.
1319 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1321 2014-02-19 Tom Tromey <tromey@redhat.com>
1323 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1324 * target.c (target_fileio_open): Add argument.
1325 * remote.c (remote_hostio_open): Add 'self' argument.
1326 (remote_bfd_iovec_open): Add 'self' argument.
1327 (remote_file_put): Add 'self' argument.
1328 (remote_file_get): Add 'self' argument.
1329 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1331 2014-02-19 Tom Tromey <tromey@redhat.com>
1333 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1335 (target_can_run_breakpoint_commands): Add argument.
1336 * target.c (update_current_target): Update.
1337 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1339 (remote_insert_breakpoint): Add 'self' argument.
1340 (remote_insert_hw_breakpoint): Add 'self' argument.
1341 (remote_can_run_breakpoint_commands): Add 'self' argument.
1343 2014-02-19 Tom Tromey <tromey@redhat.com>
1345 * target.h (struct target_ops)
1346 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1347 (target_supports_evaluation_of_breakpoint_conditions): Add
1349 * target.c (update_current_target): Update.
1350 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1352 (remote_insert_breakpoint): Add 'self' argument.
1353 (remote_insert_hw_breakpoint): Add 'self' argument.
1354 (remote_supports_cond_breakpoints): Add 'self' argument.
1356 2014-02-19 Tom Tromey <tromey@redhat.com>
1358 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1360 (target_supports_string_tracing): Add argument.
1361 * target.c (update_current_target): Update.
1362 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1364 2014-02-19 Tom Tromey <tromey@redhat.com>
1366 * target.h (struct target_ops)
1367 <to_supports_disable_randomization>: Add argument.
1368 * target.c (find_default_supports_disable_randomization): Add
1370 (target_supports_disable_randomization): Add argument.
1371 (find_default_supports_disable_randomization): Add 'self'
1373 * remote.c (extended_remote_supports_disable_randomization): Add
1375 (remote_supports_disable_randomization): Add 'self' argument.
1376 (extended_remote_create_inferior): Update.
1377 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1380 2014-02-19 Tom Tromey <tromey@redhat.com>
1382 * target.h (struct target_ops)
1383 <to_supports_enable_disable_tracepoint>: Add argument.
1384 (target_supports_enable_disable_tracepoint): Add argument.
1385 * target.c (update_current_target): Update.
1386 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1389 2014-02-19 Tom Tromey <tromey@redhat.com>
1391 * target.h (struct target_ops) <to_supports_multi_process>: Add
1393 (target_supports_multi_process): Add argument.
1394 * target.c (update_current_target): Update.
1395 * remote.c (remote_supports_multi_process): Add 'self' argument.
1396 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1398 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1401 2014-02-19 Tom Tromey <tromey@redhat.com>
1403 * target.h (struct target_ops) <to_execution_direction>: Add
1405 (target_execution_direction): Add argument.
1406 * target.c (default_execution_direction): Add 'self' argument.
1407 * record-full.c (record_full_execution_direction): Add 'self'
1410 2014-02-19 Tom Tromey <tromey@redhat.com>
1412 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1414 (target_can_execute_reverse): Add argument.
1415 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1416 * record-full.c (record_full_can_execute_reverse): Add 'self'
1418 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1421 2014-02-19 Tom Tromey <tromey@redhat.com>
1423 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1424 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1426 (target_get_ada_task_ptid): Add argument.
1427 * target.c (update_current_target): Update.
1428 (default_get_ada_task_ptid): Add 'self' argument.
1429 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1430 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1431 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1433 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1435 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1437 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1439 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1440 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1443 2014-02-19 Tom Tromey <tromey@redhat.com>
1445 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1446 (target_goto_bookmark): Add argument.
1447 * target.c (dummy_goto_bookmark): Add 'self' argument.
1448 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1450 2014-02-19 Tom Tromey <tromey@redhat.com>
1452 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1453 (target_get_bookmark): Add argument.
1454 * target.c (dummy_get_bookmark): Add 'self' argument.
1455 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1457 2014-02-19 Tom Tromey <tromey@redhat.com>
1459 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1461 (target_make_corefile_notes): Add argument.
1462 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1463 * procfs.c (procfs_make_note_section): Add 'self' argument.
1464 (procfs_make_note_section): Add 'self' argument.
1465 (procfs_make_note_section): Add 'self' argument.
1466 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1468 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1469 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1470 * exec.c (exec_make_note_section): Add 'self' argument.
1471 (exec_make_note_section): Add 'self' argument.
1473 2014-02-19 Tom Tromey <tromey@redhat.com>
1475 * target.h (struct target_ops) <to_find_memory_regions>: Add
1477 (target_find_memory_regions): Add argument.
1478 * target.c (dummy_find_memory_regions): Add 'self' argument.
1479 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1480 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1481 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1482 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1483 * exec. (exec_do_find_memory_regions): New global.
1484 (exec_set_find_memory_regions): Rewrite.
1485 (exec_find_memory_regions): New function.
1486 (init_exec_ops): Use exec_find_memory_regions.
1488 2014-02-19 Tom Tromey <tromey@redhat.com>
1490 * target.h (struct target_ops) <to_supports_non_stop>: Add
1492 * target.c (find_default_supports_non_stop): Add argument.
1493 (target_supports_non_stop): Add argument.
1494 (find_default_supports_non_stop): Add 'self' argument.
1495 * remote.c (remote_supports_non_stop): Add 'self' argument.
1496 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1498 2014-02-19 Tom Tromey <tromey@redhat.com>
1500 * target.h (struct target_ops) <to_log_command>: Add argument.
1501 (target_log_command): Add argument.
1502 * serial.h (serial_log_command): Add 'self' argument.
1503 * serial.c (serial_log_command): Add 'self' argument.
1505 2014-02-19 Tom Tromey <tromey@redhat.com>
1507 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1508 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1510 (target_pid_to_exec_file): Add argument.
1511 * target.c (debug_to_pid_to_exec_file): Add argument.
1512 (update_current_target): Update.
1513 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1514 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1515 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1516 (linux_handle_extended_wait): Update.
1517 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1518 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1519 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1520 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1522 2014-02-19 Tom Tromey <tromey@redhat.com>
1524 * target.h (struct target_ops) <to_rcmd>: Add argument.
1525 (target_rcmd): Add argument.
1526 * target.c (debug_to_rcmd): Add argument.
1527 (update_current_target, do_monitor_command): Update.
1528 * remote.c (remote_rcmd): Add 'self' argument.
1529 * monitor.c (monitor_rcmd): Add 'self' argument.
1531 2014-02-19 Tom Tromey <tromey@redhat.com>
1533 * windows-nat.c (windows_stop): Add 'self' argument.
1534 * target.h (struct target_ops) <to_stop>: Add argument.
1535 * target.c (target_stop): Add argument.
1536 (debug_to_stop): Add argument.
1537 (update_current_target): Update.
1538 * remote.c (remote_stop): Add 'self' argument.
1539 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1540 (gdbsim_cntrl_c): Update.
1541 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1542 * procfs.c (procfs_stop): Add 'self' argument.
1543 * nto-procfs.c (procfs_stop): Add 'self' argument.
1544 * monitor.c (monitor_stop): Add 'self' argument.
1545 (monitor_open): Update.
1546 * linux-nat.c (linux_nat_stop): Add argument.
1547 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1548 * gnu-nat.c (gnu_stop): Add 'self' argument.
1549 * darwin-nat.c (darwin_stop): Add 'self' argument.
1551 2014-02-19 Tom Tromey <tromey@redhat.com>
1553 * target.h (struct target_ops) <to_thread_name>: Add argument.
1554 * target.c (target_thread_name): Add argument.
1555 (update_current_target): Update.
1556 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
1558 2014-02-19 Tom Tromey <tromey@redhat.com>
1560 * target.h (struct target_ops) <to_extra_thread_info>: Add
1562 (target_extra_thread_info): Add argument.
1563 * target.c (update_current_target): Update.
1564 * remote.c (remote_threads_extra_info): Add 'self' argument.
1565 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
1567 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
1568 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
1569 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
1571 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
1573 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
1575 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
1578 2014-02-19 Tom Tromey <tromey@redhat.com>
1580 * target.h (struct target_ops) <to_program_signals>: Add argument.
1581 * target.c (target_program_signals): Add argument.
1582 * remote.c (remote_program_signals): Add 'self' argument.
1584 2014-02-19 Tom Tromey <tromey@redhat.com>
1586 * target.h (struct target_ops) <to_pass_signals>: Add argument.
1587 * target.c (target_pass_signals): Add argument.
1588 * remote.c (remote_pass_signals): Add 'self' argument.
1589 (remote_start_remote): Update.
1590 * procfs.c (procfs_pass_signals): Add 'self' argument.
1591 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
1592 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
1593 (linux_nat_create_inferior, linux_nat_attach): Update.
1595 2014-02-19 Tom Tromey <tromey@redhat.com>
1597 * windows-nat.c (windows_can_run): Add 'self' argument.
1598 * target.h (struct target_ops) <to_can_run>: Add argument.
1599 (target_can_run): Add argument.
1600 * target.c (debug_to_can_run): Add argument.
1601 (update_current_target): Update.
1602 * nto-procfs.c (procfs_can_run): Add 'self' argument.
1603 * inf-child.c (inf_child_can_run): Add 'self' argument.
1604 * go32-nat.c (go32_can_run): Add 'self' argument.
1606 2014-02-19 Tom Tromey <tromey@redhat.com>
1608 * target.h (struct target_ops) <to_has_exited>: Add argument.
1609 (target_has_exited): Add argument.
1610 * target.c (debug_to_has_exited): Add argument.
1611 (update_current_target): Update.
1613 2014-02-19 Tom Tromey <tromey@redhat.com>
1615 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
1617 (target_set_syscall_catchpoint): Add argument.
1618 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
1620 * target.c (update_current_target): Update.
1622 2014-02-19 Tom Tromey <tromey@redhat.com>
1624 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
1626 (target_remove_exec_catchpoint): Add argument.
1627 * target.c (debug_to_remove_exec_catchpoint): Add argument.
1628 (update_current_target): Update.
1629 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
1632 2014-02-19 Tom Tromey <tromey@redhat.com>
1634 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
1636 (target_insert_exec_catchpoint): Add argument.
1637 * target.c (debug_to_insert_exec_catchpoint): Add argument.
1638 (update_current_target): Update.
1639 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
1642 2014-02-19 Tom Tromey <tromey@redhat.com>
1644 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
1646 (target_remove_vfork_catchpoint): Add argument.
1647 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
1648 (update_current_target): Update.
1649 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
1652 2014-02-19 Tom Tromey <tromey@redhat.com>
1654 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
1656 (target_insert_vfork_catchpoint): Add argument.
1657 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
1658 (update_current_target): Update.
1659 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
1662 2014-02-19 Tom Tromey <tromey@redhat.com>
1664 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
1666 (target_remove_fork_catchpoint): Add argument.
1667 * target.c (debug_to_remove_fork_catchpoint): Add argument.
1668 (update_current_target): Update.
1669 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
1672 2014-02-19 Tom Tromey <tromey@redhat.com>
1674 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
1676 (target_insert_fork_catchpoint): Add argument.
1677 * target.c (debug_to_insert_fork_catchpoint): Add argument.
1678 (update_current_target): Update.
1679 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
1682 2014-02-19 Tom Tromey <tromey@redhat.com>
1684 * target.h (struct target_ops) <to_post_startup_inferior>: Add
1686 (target_post_startup_inferior): Add argument.
1687 * target.c (debug_to_post_startup_inferior): Add argument.
1688 (update_current_target): Update.
1689 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
1691 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
1693 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
1695 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
1697 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
1699 (super_post_startup_inferior): Likewise.
1700 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
1702 (super_post_startup_inferior): Likewise.
1703 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
1704 Add 'self' argument.
1705 (super_post_startup_inferior): Likewise.
1707 2014-02-19 Tom Tromey <tromey@redhat.com>
1709 * target.h (struct target_ops) <to_load>: Add argument.
1710 * target.c (target_load): Add argument.
1711 (debug_to_load): Add argument.
1712 (update_current_target): Update.
1713 * remote.c (remote_load): Add 'self' argument.
1714 * remote-sim.c (gdbsim_load): Add 'self' argument.
1715 * remote-mips.c (mips_load): Add 'self' argument.
1716 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
1717 * monitor.c (monitor_load): Add 'self' argument.
1718 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
1720 2014-02-19 Tom Tromey <tromey@redhat.com>
1722 * target.h (struct target_ops) <to_terminal_info>: Add argument.
1723 (target_terminal_info): Add argument.
1724 * target.c (debug_to_terminal_info): Add argument.
1725 (default_terminal_info): Likewise.
1726 * inflow.c (child_terminal_info): Add 'self' argument.
1727 * inferior.h (child_terminal_info): Add 'self' argument.
1728 * go32-nat.c (go32_terminal_info): Add 'self' argument.
1730 2014-02-19 Tom Tromey <tromey@redhat.com>
1732 * target.h (struct target_ops) <to_terminal_save_ours>: Add
1734 (target_terminal_save_ours): Add argument.
1735 * target.c (debug_to_terminal_save_ours): Add argument.
1736 (update_current_target): Update.
1737 * inflow.c (terminal_save_ours): Add 'self' argument.
1738 * inferior.h (terminal_save_ours): Add 'self' argument.
1740 2014-02-19 Tom Tromey <tromey@redhat.com>
1742 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
1743 (target_terminal_ours): Add argument.
1744 * target.c (debug_to_terminal_ours): Add argument.
1745 (update_current_target): Update.
1746 * remote.c (remote_terminal_ours): Add 'self' argument.
1747 (remote_close): Update.
1748 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
1749 * inflow.c (terminal_ours): Add 'self' argument.
1750 * inferior.h (terminal_ours): Add 'self' argument.
1751 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1753 2014-02-19 Pedro Alves <palves@redhat.com>
1754 Tom Tromey <tromey@redhat.com>
1756 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
1758 (target_terminal_ours_for_output): Add argument.
1759 * target.c (debug_to_terminal_ours_for_output): Add argument.
1760 (update_current_target): Update.
1761 * inflow.c (terminal_ours_for_output): Add 'self' argument.
1762 * inferior.h (terminal_ours_for_output): Add 'self' argument.
1763 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1765 2014-02-19 Tom Tromey <tromey@redhat.com>
1767 * target.h (struct target_ops) <to_terminal_inferior>: Add
1769 * target.c (target_terminal_inferior): Add argument.
1770 (update_current_target): Update.
1771 * remote.c (remote_terminal_inferior): Add 'self' argument.
1772 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
1773 * inflow.c (terminal_inferior): Add 'self' argument.
1774 * inferior.h (terminal_inferior): Add 'self' argument.
1775 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
1776 (go32_terminal_inferior): Add 'self' argument.
1778 2014-02-19 Tom Tromey <tromey@redhat.com>
1780 * target.h (struct target_ops) <to_terminal_init>: Add argument.
1781 (target_terminal_init): Add argument.
1782 * target.c (debug_to_terminal_init): Add argument.
1783 (update_current_target): Update.
1784 * inflow.c (terminal_init_inferior): Add 'self' argument.
1785 * inferior.h (terminal_init_inferior): Add 'self' argument.
1786 * go32-nat.c (go32_terminal_init): Add 'self' argument.
1787 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
1789 2014-02-19 Tom Tromey <tromey@redhat.com>
1791 * target.h (struct target_ops)
1792 <to_can_accel_watchpoint_condition>: Add argument.
1793 (target_can_accel_watchpoint_condition): Add argument.
1794 * target.c (debug_to_can_accel_watchpoint_condition): Add
1796 (update_current_target): Update.
1797 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
1800 2014-02-19 Tom Tromey <tromey@redhat.com>
1802 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1804 (target_region_ok_for_hw_watchpoint): Add argument.
1805 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
1806 (default_region_ok_for_hw_watchpoint): Add argument.
1807 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
1808 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
1810 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
1812 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
1814 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
1816 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
1818 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
1820 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
1821 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
1823 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
1824 Add 'self' argument.
1826 2014-02-19 Tom Tromey <tromey@redhat.com>
1828 * target.h (struct target_ops) <to_insert_watchpoint>: Add
1830 (target_insert_watchpoint): Add argument.
1831 * target.c (debug_to_insert_watchpoint): Add argument.
1832 (update_current_target): Update.
1833 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
1834 * remote.c (remote_insert_watchpoint): Add 'self' argument.
1835 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
1836 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
1837 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
1838 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
1840 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
1841 (procfs_insert_hw_watchpoint): Add 'self' argument.
1842 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
1844 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
1846 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
1848 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
1849 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
1851 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
1854 2014-02-19 Tom Tromey <tromey@redhat.com>
1856 * target.h (struct target_ops) <to_remove_watchpoint>: Add
1858 (target_remove_watchpoint): Add argument.
1859 * target.c (debug_to_remove_watchpoint): Add argument.
1860 (update_current_target): Update.
1861 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
1862 * remote.c (remote_remove_watchpoint): Add 'self' argument.
1863 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
1864 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
1865 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
1866 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
1868 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
1869 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
1871 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
1873 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
1875 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
1876 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
1878 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
1881 2014-02-19 Tom Tromey <tromey@redhat.com>
1883 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
1885 (target_remove_hw_breakpoint): Add argument.
1886 * target.c (debug_to_remove_hw_breakpoint): Add argument.
1887 (update_current_target): Update.
1888 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
1889 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
1891 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
1892 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
1894 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
1897 2014-02-19 Tom Tromey <tromey@redhat.com>
1899 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
1901 (target_insert_hw_breakpoint): Add argument.
1902 * target.c (debug_to_insert_hw_breakpoint): Add argument.
1903 (update_current_target): Update.
1904 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
1905 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
1907 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
1908 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
1909 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
1911 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
1914 2014-02-19 Tom Tromey <tromey@redhat.com>
1916 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
1918 (target_can_use_hardware_watchpoint): Add argument.
1919 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
1920 (update_current_target): Update.
1921 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
1923 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
1925 * remote.c (remote_check_watch_resources): Add 'self' argument.
1926 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
1927 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
1929 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
1930 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
1932 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
1934 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
1936 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
1938 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
1940 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
1942 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
1943 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
1945 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
1948 2014-02-19 Tom Tromey <tromey@redhat.com>
1950 * target.h (struct target_ops) <to_post_attach>: Add argument.
1951 (target_post_attach): Add argument.
1952 * target.c (debug_to_post_attach): Add argument.
1953 (update_current_target): Update.
1954 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
1955 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
1956 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
1957 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
1958 * inf-child.c (inf_child_post_attach): Add 'self' argument.
1960 2014-02-19 Tom Tromey <tromey@redhat.com>
1962 * windows-nat.c (windows_close): Add 'self' argument.
1963 * tracepoint.c (tfile_close): Add 'self' argument.
1964 * target.h (struct target_ops) <to_close>: Add argument.
1965 * target.c (target_close): Add argument.
1966 (update_current_target): Update.
1967 * remote.c (remote_close): Add 'self' argument.
1968 * remote-sim.c (gdbsim_close): Add 'self' argument.
1969 * remote-mips.c (mips_close): Add 'self' argument.
1970 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
1971 * record-full.c (record_full_close): Add 'self' argument.
1972 * record-btrace.c (record_btrace_close): Add 'self' argument.
1973 * monitor.h (monitor_close): Add 'self' argument.
1974 * monitor.c (monitor_close): Add 'self' argument.
1975 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
1976 * linux-nat.c (linux_nat_close): Add argument.
1977 * go32-nat.c (go32_close): Add 'self' argument.
1978 * exec.c (exec_close_1): Add 'self' argument.
1979 * ctf.c (ctf_close): Add 'self' argument.
1980 * corelow.c (core_close): Add 'self' argument.
1981 (core_close_cleanup): Update.
1982 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
1983 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
1985 2014-02-19 Tom Tromey <tromey@redhat.com>
1987 * remote.c (remote_load): New function.
1988 (init_remote_ops): Use it.
1990 2014-02-19 Tom Tromey <tromey@redhat.com>
1992 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
1994 * common/linux-btrace.h (linux_supports_btrace): Update.
1995 * remote.c (remote_supports_btrace): Add "self" argument.
1996 * target-delegates.c: Rebuild.
1997 * target.c (target_supports_btrace): Remove.
1998 * target.h (struct target_ops) <to_supports_btrace>: Add
1999 target_ops argument.
2000 (target_supports_btrace): New define.
2002 2014-02-19 Tom Tromey <tromey@redhat.com>
2004 * record-full.c (record_full_beneath_to_resume_ops)
2005 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
2006 (record_full_beneath_to_wait)
2007 (record_full_beneath_to_store_registers_ops)
2008 (record_full_beneath_to_store_registers)
2009 (record_full_beneath_to_xfer_partial_ops)
2010 (record_full_beneath_to_xfer_partial)
2011 (record_full_beneath_to_insert_breakpoint_ops)
2012 (record_full_beneath_to_insert_breakpoint)
2013 (record_full_beneath_to_remove_breakpoint_ops)
2014 (record_full_beneath_to_remove_breakpoint)
2015 (record_full_beneath_to_stopped_by_watchpoint)
2016 (record_full_beneath_to_stopped_data_address)
2017 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
2018 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
2019 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
2020 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
2021 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
2022 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
2023 (tmp_to_stopped_data_address, tmp_to_async): Remove.
2024 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
2025 (record_full_resume, record_full_wait_1)
2026 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
2027 (record_full_store_registers, record_full_xfer_partial)
2028 (record_full_insert_breakpoint, record_full_remove_breakpoint)
2029 (record_full_async, record_full_core_xfer_partial): Use target
2031 * target-delegates.c: Rebuild.
2032 * target.c (current_xfer_partial): Remove.
2033 (update_current_target): Do not INHERIT or de_fault
2034 to_insert_breakpoint, to_remove_breakpoint,
2035 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
2036 to_is_async_p, to_async. Do not set to_xfer_partial field.
2037 (default_xfer_partial): Simplify.
2038 (current_xfer_partial): Remove.
2039 (target_wait, target_resume): Simplify.
2040 (find_default_can_async_p, find_default_is_async_p): Update.
2041 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
2042 to_xfer_partial, to_stopped_by_watchpoint,
2043 to_stopped_data_address.
2044 (target_store_registers): Simplify.
2045 (forward_target_remove_breakpoint)
2046 (forward_target_insert_breakpoint): Remove.
2047 (target_remove_breakpoint, target_insert_breakpoint)
2048 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
2049 * target.h (struct target_ops) <to_resume, to_wait,
2050 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
2051 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
2052 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
2054 (forward_target_remove_breakpoint)
2055 (forward_target_insert_breakpoint): Remove.
2056 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
2058 (record_btrace_insert_breakpoint): Delegate directly.
2060 2014-02-19 Tom Tromey <tromey@redhat.com>
2063 * target-delegates.c: New file.
2064 * target.c: Include target-delegates.c.
2065 (init_dummy_target): Call install_dummy_methods.
2066 (complete_target_initialization): Call install_delegators.
2067 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
2068 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
2069 * make-target-delegates: New file.
2071 2014-02-19 Tom Tromey <tromey@redhat.com>
2073 * record.c (find_record_target): Use find_target_at.
2074 * target.c (find_target_at): New function.
2075 * target.h (find_target_at): Declare.
2077 2014-02-19 Tom Tromey <tromey@redhat.com>
2079 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
2081 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
2083 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
2084 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
2086 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
2088 * linux-nat.c (save_sigtrap): Update.
2089 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
2090 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
2091 (linux_nat_close): Update.
2092 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
2094 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
2096 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
2097 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
2098 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
2099 (tmp_to_async): Add 'ops' argument.
2100 (record_full_stopped_by_watchpoint, record_full_async)
2101 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
2103 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
2104 (m32r_stopped_by_watchpoint): Add 'ops' argument.
2105 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
2106 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
2107 (remote_is_async_p, remote_async): Add 'ops' argument.
2108 (remote_stopped_data_address): Update.
2109 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
2110 * target.c (update_current_target)
2111 (find_default_can_async_p, find_default_is_async_p): Update.
2112 (init_dummy_target): Update.
2113 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
2114 * target.h (struct target_ops) <to_stopped_by_watchpoint,
2115 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
2116 (target_can_async_p, target_is_async_p, target_async)
2117 (target_stopped_by_watchpoint): Update.
2119 2014-02-19 Yao Qi <yao@codesourcery.com>
2122 * gdbarch.sh: Remove startup_gdbarch.
2123 * gdbarch.c: Regenerated.
2124 * gdbarch.h: Likewise.
2126 2014-02-17 Kevin Buettner <kevinb@redhat.com>
2128 * rl78-tdep.c (rl78_g10_register_name): New function.
2129 (rl78_return_value): Add g10 support.
2130 (rl78_gdbarch_init): Register rl78_g10_register_name for the
2133 2014-02-17 Doug Evans <xdje42@gmail.com>
2135 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
2136 (SUBDIR_GUILE_SRCS): Ditto.
2137 (scm-gsmob.o): Ditto.
2139 2014-02-17 Yao Qi <yao@codesourcery.com>
2141 * gnu-nat.c (ILL_RPC): Declare defined function.
2143 2014-02-17 Yao Qi <yao@codesourcery.com>
2145 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
2146 mach_msg_type_number_t.
2147 (gnu_write_inferior): Likewise.
2149 2014-02-17 Yao Qi <yao@codesourcery.com>
2151 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
2153 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
2154 (inf_validate_procs, inf_signal): Likewise.
2155 (S_exception_raise_request): Likewise.
2156 (do_mach_notify_dead_name): Likewise.
2157 (steal_exc_port): Likewise.
2158 (gnu_read_inferior): Change 'copy_count''s type to
2159 mach_msg_type_number_t.
2160 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
2163 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
2165 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
2166 flag. Adjust all users; in particular...
2167 (gnu_wait): ..., don't decrement its value in here...
2168 (gnu_create_inferior): ..., and instead set the flag in here,
2169 around the startup_inferior call, and call that one with
2170 START_INFERIOR_TRAPS_EXPECTED.
2172 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
2173 (ILL_RPC): ... new macro.
2174 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
2175 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
2176 (do_mach_notify_send_once, S_proc_setmsgport_reply)
2177 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
2178 functions with ILL_RPC macro.
2179 (S_proc_pid2task_reply, S_proc_task2pid_reply)
2180 (S_proc_task2proc_reply, S_proc_proc2task_reply)
2181 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
2182 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
2183 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
2184 (S_proc_getlogin_reply, S_proc_getsid_reply)
2185 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
2186 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
2187 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
2188 (S_proc_getnports_reply, S_proc_is_important_reply)
2189 (S_proc_get_code_reply): New stub functions, generated with
2192 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
2193 collected the type check structures.
2195 * reply_mig_hack.awk: Don't expect to see the auto keyword.
2197 2014-02-14 Doug Evans <dje@google.com>
2199 * target.c (target_write_partial): Fix result type.
2201 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2203 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
2204 the proper offsets to access fpregset_t.
2206 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
2208 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
2209 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
2210 * h8300-tdep.c (setmachinelist): Remove global.
2211 * hppa-tdep.c (hppa_sigtramp): Remove global.
2212 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
2213 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
2214 * ravenscar-thread.c (update_target_observer): Remove global.
2215 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
2217 2014-02-12 Tom Tromey <tromey@redhat.com>
2219 * common/rsp-low.c: Update comments.
2220 * common/rsp-low.h: Update comments.
2222 2014-02-12 Tom Tromey <tromey@redhat.com>
2224 * common/rsp-low.c (convert_ascii_to_int): Remove.
2225 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
2227 2014-02-12 Tom Tromey <tromey@redhat.com>
2229 * common/rsp-low.h (unhexify): Don't declare.
2230 * common/rsp-low.c (unhexify): Remove.
2232 2014-02-12 Tom Tromey <tromey@redhat.com>
2234 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
2235 * common/rsp-low.c (convert_int_to_ascii): Remove.
2237 2014-02-12 Tom Tromey <tromey@redhat.com>
2239 * common/rsp-low.h (hexify): Don't declare.
2240 * common/rsp-low.c (hexify): Remove.
2242 2014-02-12 Tom Tromey <tromey@redhat.com>
2244 * common/rsp-low.c (hexify): Never take strlen of argument.
2246 2014-02-12 Tom Tromey <tromey@redhat.com>
2248 * common/rsp-low.c (bin2hex): Never take strlen of argument.
2249 * remote.c (extended_remote_run, remote_rcmd)
2250 (remote_download_trace_state_variable, remote_save_trace_data)
2251 (remote_set_trace_notes): Update.
2252 * tracepoint.c (encode_source_string, tfile_write_status)
2253 (tfile_write_uploaded_tsv): Update.
2255 2014-02-12 Tom Tromey <tromey@redhat.com>
2257 * tracepoint.c: Include rsp-low.h.
2258 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
2259 * remote.c: Include rsp-low.h.
2260 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
2261 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
2262 (remote_unescape_input): Move to common/rsp-low.c.
2263 * common/rsp-low.h: New file.
2264 * common/rsp-low.c: New file.
2265 * Makefile.in (SFILES): Add common/rsp-low.c.
2266 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
2267 (COMMON_OBS): Add rsp-low.o.
2268 (rsp-low.o): New target.
2270 2014-02-12 Tom Tromey <tromey@redhat.com>
2272 * utils.h: Include print-utils.h.
2273 (host_address_to_string, plongest, pulongest, phex, phex_nz)
2274 (int_string, core_addr_to_string, core_addr_to_string_nz)
2275 (hex_string, hex_string_custom): Don't declare.
2276 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2277 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2278 (hex_string_custom, int_string, core_addr_to_string)
2279 (core_addr_to_string_nz, host_address_to_string): Move to
2280 common/print-utils.c.
2281 * common/print-utils.h: New file.
2282 * common/print-utils.c: New file
2283 * Makefile.in (SFILES): Add common/print-utils.c.
2284 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2285 (COMMON_OBS): Add print-utils.o.
2286 (print-utils.o): New target.
2288 2014-02-12 Tom Tromey <tromey@redhat.com>
2290 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2292 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2294 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2296 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2298 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2299 if a PT_IO ptrace request returns sucessfully but indicates that 0
2300 bytes were transferred.
2302 2014-02-12 Pedro Alves <palves@redhat.com>
2303 Kevin Buettner <kevinb@redhat.com>
2305 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2306 TYPE_INSTANCE_FLAG_CODE_SPACE.
2308 2014-02-12 Pedro Alves <palves@redhat.com>
2310 * h8300-tdep.c (pseudo_from_raw_register)
2311 (raw_from_pseudo_register): New functions.
2312 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2315 2014-02-12 Pedro Alves <palves@redhat.com>
2317 * h8300-tdep.c (h8300_register_sim_regno): New function.
2318 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2319 gdbarch_register_sim_regno hook.
2321 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2323 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2325 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2327 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2329 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2331 * obsd-tdep.h (obsd_init_abi): New prototype.
2332 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2333 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2334 (obsd_init_abi): New functions.
2335 * i386obsd-tdep.c: Include "obsd-tdep.h".
2336 (i386obsd_init_abi): Call obsd_init_abi.
2337 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2338 (amd64obsd_init_abi): Call obsd_init_abi.
2339 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2340 obsd-tdep.c to gdb_target_obs.
2342 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2344 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2345 double float arguments to 16-byte in the argument slots.
2347 2014-02-11 Doug Evans <xdje42@gmail.com>
2349 * configure.ac: Don't crash if pkg-config is not found and guile
2350 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2352 * configure: Regenerate.
2354 2014-02-11 Yao Qi <yao@codesourcery.com>
2356 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2357 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2358 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2359 * gnu-nat.c (gnu_xfer_memory): Likewise.
2360 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2361 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2362 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2363 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2365 2014-02-11 Yao Qi <yao@codesourcery.com>
2367 * target.h (enum target_xfer_error): Rename to ...
2368 (enum target_xfer_status): ... it. New. All users updated.
2369 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2371 (TARGET_XFER_STATUS_ERROR_P): New macro.
2372 (target_xfer_error_to_string): Remove declaration.
2373 (target_xfer_status_to_string): Declare.
2374 (target_xfer_partial_ftype): Adjust it.
2375 (struct target_ops) <to_xfer_partial>: Return
2376 target_xfer_status. Add argument xfered_len. Update
2378 * target.c (target_xfer_error_to_string): Rename to ...
2379 (target_xfer_status_to_string): ... it. New. All callers
2381 (target_read_live_memory): Likewise. Call target_xfer_partial
2382 instead of target_read.
2383 (memory_xfer_live_readonly_partial): Return
2384 target_xfer_status. Add argument xfered_len.
2385 (raw_memory_xfer_partial): Likewise.
2386 (memory_xfer_partial_1): Likewise.
2387 (memory_xfer_partial): Likewise.
2388 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2389 properly. Update debug message.
2390 (default_xfer_partial, current_xfer_partial): Likewise.
2391 (target_write_partial): Likewise.
2392 (target_read_partial): Likewise. All callers updated.
2393 (read_whatever_is_readable): Likewise.
2394 (target_write_with_progress): Likewise.
2395 (target_read_alloc_1): Likewise.
2397 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2398 * auxv.c (procfs_xfer_auxv): Likewise.
2399 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2400 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2401 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2402 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2403 * corefile.c (read_memory): Adjust.
2404 * corelow.c (core_xfer_partial): Likewise.
2405 * ctf.c (ctf_xfer_partial): Likewise.
2406 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2408 (darwin_xfer_partial): Likewise.
2409 * exec.c (section_table_xfer_memory_partial): Likewise. All
2411 (exec_xfer_partial): Likewise.
2412 * exec.h (section_table_xfer_memory_partial): Update
2414 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2416 (gnu_xfer_partial): Likewise.
2417 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2418 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2419 (ia64_hpux_xfer_solib_got): Likewise.
2420 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2421 type of 'partial_len' to ULONGEST.
2422 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2423 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2424 (linux_nat_xfer_partial): Likewise.
2425 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2426 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2427 * monitor.c (monitor_xfer_memory): Likewise.
2428 (monitor_xfer_partial): Likewise.
2429 * procfs.c (procfs_xfer_partial): Likewise.
2430 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2431 * record-full.c (record_full_xfer_partial): Likewise.
2432 (record_full_core_xfer_partial): Likewise.
2433 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2434 (gdbsim_xfer_partial): Likewise.
2435 * remote.c (remote_write_bytes_aux): Likewise. All callers
2437 (remote_write_bytes, remote_read_bytes): Likewise. All
2439 (remote_flash_erase): Likewise. All callers updated.
2440 (remote_write_qxfer): Likewise. All callers updated.
2441 (remote_read_qxfer): Likewise. All callers updated.
2442 (remote_xfer_partial): Likewise.
2443 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2444 (rs6000_xfer_shared_libraries): Likewise.
2445 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2446 (sol_thread_xfer_partial): Likewise.
2447 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2448 (sparc_xfer_partial): Likewise.
2449 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2451 (spu_xfer_partial): Likewise.
2452 * spu-multiarch.c (spu_xfer_partial): Likewise.
2453 * tracepoint.c (tfile_xfer_partial): Likewise.
2454 * windows-nat.c (windows_xfer_memory): Likewise.
2455 (windows_xfer_shared_libraries): Likewise.
2456 (windows_xfer_partial): Likewise.
2457 * valprint.c: Replace 'target_xfer_error' with
2458 'target_xfer_status' in comments.
2460 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2462 Checked in by Joel Brobecker <brobecker@adacore.com>.
2463 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2465 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2467 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2468 function parameters.
2470 2014-02-10 Will Newton <will.newton@linaro.org>
2472 * elfread.c (elf_rel_plt_read): Look for a .got section if
2473 looking up .got.plt fails.
2474 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2475 on address passed to elf_gnu_ifunc_record_cache.
2476 (elf_gnu_ifunc_resolve_addr): Likewise.
2477 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2479 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2481 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2482 (X_RETTURN): New macro.
2483 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2485 * sparc64-tdep.c (sparc64_init_abi): Hook
2486 sparc_in_function_epilogue_p.
2488 2014-02-10 Gary Benson <gbenson@redhat.com>
2490 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2491 Rename name_matcher to symbol_matcher.
2493 2014-02-10 Gary Benson <gbenson@redhat.com>
2495 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2496 Use expand_symtabs_file_matcher_ftype and
2497 expand_symtabs_symbol_matcher_ftype.
2499 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2501 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2502 (struct ada_symbol_cache): New.
2503 (ada_free_symbol_cache): Forward declare.
2504 (struct ada_pspace_data): New.
2505 (ada_pspace_data_handle): New static global.
2506 (get_ada_pspace_data, ada_pspace_data_cleanup)
2507 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2508 (cache_space, cache): Delete, now folded inside struct
2510 (ada_get_symbol_cache): New function.
2511 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2513 (_initialize_ada_language): Remove initialization of cache_space.
2514 Move call to observer_attach_inferior_exit up, grouping it
2515 with the other observer registrations inside this function.
2516 Rename command to be more general. Add call to
2517 register_program_space_data_with_cleanup.
2519 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2521 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2522 ada_new_objfile_observer.
2523 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2524 (_initialize_tasks): Update uses of ada_new_objfile_observer
2525 and ada_tasks_normal_stop_observer.
2527 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2529 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2530 returned by the 'Length attribute to integer.
2532 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2534 * ada-lang.c (_initialize_ada_language): Initialize
2535 cache_space obstack.
2537 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2539 * ada-lang.c (HASH_SIZE): New macro.
2540 (struct cache_entry): New type.
2541 (cache_space, cache): New static globals.
2542 (ada_clear_symbol_cache, find_entry): New functions.
2543 (lookup_cached_symbol, cache_symbol): Implement.
2544 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2545 (_initialize_ada_language): Attach ada_new_objfile_observer
2546 and ada_free_objfile_observer.
2548 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2550 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
2551 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
2552 struct block * parameter.
2553 (ada_lookup_symbol_list_worker): Constify local variable "block".
2554 Remove cast which is no longer necessary.
2556 2014-02-10 Doug Evans <xdje42@gmail.com>
2558 Add Guile as an extension language.
2559 * NEWS: Mention Guile scripting.
2560 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
2561 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
2562 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
2563 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
2564 (CLIBS): Add GUILE_LIBS.
2565 (install-guile): New rule.
2566 (guile.o): New rule.
2567 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
2568 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
2569 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
2570 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
2571 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
2572 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
2573 (scm-type.o, scm-utils.o, scm-value.o): New rules.
2574 * configure.ac: New option --with-guile.
2575 * configure: Regenerate.
2576 * config.in: Regenerate.
2577 * auto-load.c: Remove #include "python/python.h". Add #include
2578 "gdb/section-scripts.h".
2579 (source_section_scripts): Handle Guile scripts.
2580 (_initialize_auto_load): Add name of Guile objfile script to
2581 scripts-directory help text.
2582 * breakpoint.c (condition_command): Tweak comment to include Scheme.
2583 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
2584 (struct breakpoint): New member scm_bp_object.
2585 * defs.h (enum command_control_type): New value guile_control.
2586 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
2588 (show_user): Update comment.
2589 (_initialize_cli_cmds): Update help text for "show user". Update help
2590 text for max-user-call-depth.
2591 * cli/cli-script.c: Remove #include "python/python.h". Add #include
2593 (multi_line_command_p): Add guile_control.
2594 (print_command_lines): Handle guile_control.
2595 (execute_control_command, recurse_read_control_structure): Ditto.
2596 (process_next_line): Recognize "guile" commands.
2597 * disasm.c (gdb_disassemble_info): Make non-static.
2598 * disasm.h: #include "dis-asm.h".
2599 (struct gdbarch): Add forward decl.
2600 (gdb_disassemble_info): Declare.
2601 * extension.c: #include "guile/guile.h".
2602 (extension_languages): Add guile.
2603 (get_ext_lang_defn): Handle EXT_LANG_GDB.
2604 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
2605 * gdbtypes.c (get_unsigned_type_max): New function.
2606 (get_signed_type_minmax): New function.
2607 * gdbtypes.h (get_unsigned_type_max): Declare.
2608 (get_signed_type_minmax): Declare.
2609 * guile/README: New file.
2610 * guile/guile-internal.h: New file.
2611 * guile/guile.c: New file.
2612 * guile/guile.h: New file.
2613 * guile/scm-arch.c: New file.
2614 * guile/scm-auto-load.c: New file.
2615 * guile/scm-block.c: New file.
2616 * guile/scm-breakpoint.c: New file.
2617 * guile/scm-disasm.c: New file.
2618 * guile/scm-exception.c: New file.
2619 * guile/scm-frame.c: New file.
2620 * guile/scm-gsmob.c: New file.
2621 * guile/scm-iterator.c: New file.
2622 * guile/scm-lazy-string.c: New file.
2623 * guile/scm-math.c: New file.
2624 * guile/scm-objfile.c: New file.
2625 * guile/scm-ports.c: New file.
2626 * guile/scm-pretty-print.c: New file.
2627 * guile/scm-safe-call.c: New file.
2628 * guile/scm-string.c: New file.
2629 * guile/scm-symbol.c: New file.
2630 * guile/scm-symtab.c: New file.
2631 * guile/scm-type.c: New file.
2632 * guile/scm-utils.c: New file.
2633 * guile/scm-value.c: New file.
2634 * guile/lib/gdb.scm: New file.
2635 * guile/lib/gdb/boot.scm: New file.
2636 * guile/lib/gdb/experimental.scm: New file.
2637 * guile/lib/gdb/init.scm: New file.
2638 * guile/lib/gdb/iterator.scm: New file.
2639 * guile/lib/gdb/printing.scm: New file.
2640 * guile/lib/gdb/types.scm: New file.
2641 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
2642 (VPATH): Add $(GUILE_SRCDIR).
2643 (GUILE_DIR): New variable.
2644 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
2645 (all): Add stamp-guile dependency.
2646 (stamp-guile): New rule.
2647 (clean-guile, install-guile, uninstall-guile): New rules.
2648 (install-only): Add install-guile dependency.
2649 (uninstall): Add uninstall-guile dependency.
2650 (clean): Add clean-guile dependency.
2652 2014-02-09 Doug Evans <xdje42@gmail.com>
2654 Revert this patch (which I approved, mea culpa).
2656 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2658 * Makefile.in (all-lib): Remove.
2659 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2661 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2663 Fix Python stack corruption.
2664 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
2667 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2669 * Makefile.in (all-lib): Remove.
2670 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2672 2014-02-07 Doug Evans <dje@google.com>
2674 * extension-priv.h (extension_language_script_ops): Add comment.
2675 (extension_language_ops): Add comment.
2676 (active_ext_lang_state): Fix typo in comment.
2678 2014-02-07 Pedro Alves <palves@redhat.com>
2680 * infrun.c (handle_signal_stop) <signal arrives while stepping
2681 over a breakpoint>: Switch back to the stepping thread.
2683 2014-02-07 Yao Qi <yao@codesourcery.com>
2685 * target.c (target_xfer_partial): Return zero if LEN is zero.
2687 2014-02-07 Yao Qi <yao@codesourcery.com>
2689 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
2690 (ld_so_xfer_auxv): Likewise.
2691 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2692 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2693 * corelow.c (core_xfer_partial): Likewise.
2694 * ctf.c (ctf_xfer_partial): Likewise.
2695 * darwin-nat.c (darwin_read_dyld_info): Likewise.
2696 (darwin_xfer_partial): Likewise.
2697 * exec.c (exec_xfer_partial): Likewise.
2698 * gnu-nat.c (gnu_xfer_partial): Likewise.
2699 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
2700 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2701 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2702 * linux-nat.c (linux_xfer_siginfo): Likewise.
2703 (linux_proc_xfer_spu): Likewise.
2704 * procfs.c (procfs_xfer_partial): Likewise.
2705 * record-full.c (record_full_xfer_partial): Likewise.
2706 (record_full_core_xfer_partial): Likewise.
2707 * remote-sim.c (gdbsim_xfer_partial): Likewise.
2708 * remote.c (remote_write_qxfer): Likewise.
2709 (remote_write_qxfer, remote_read_qxfer): Likewise.
2710 (remote_xfer_partial): Likewise.
2711 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2712 (rs6000_xfer_shared_libraries): Likewise.
2713 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2714 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2715 (spu_xfer_partial): Likewise.
2716 * target.c (memory_xfer_partial_1): Likewise.
2717 * tracepoint.c (tfile_xfer_partial): Likewise.
2718 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
2719 (windows_xfer_partial): Likewise.
2721 2014-02-07 Yao Qi <yao@codesourcery.com>
2723 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
2725 (core_xfer_shared_libraries_aix): Likewise.
2726 * gdbarch.c, gdbarch.h: Regenerated.
2727 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
2728 ULONGEST. Change 'len_avail' type to ULONGEST.
2729 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
2730 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
2732 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
2734 2014-02-07 Yao Qi <yao@codesourcery.com>
2736 * corefile.c (memory_error): Get 'exception' from ERR and pass
2737 'exception' to throw_error.
2739 2014-02-06 Doug Evans <xdje42@gmail.com>
2741 * configure.ac (libpython checking): Remove all but python.o from
2742 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
2743 * configure: Regenerate.
2745 * Makefile.in (SFILES): Add extension.c.
2746 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
2747 (COMMON_OBS): Add extension.o.
2748 * extension.h: New file.
2749 * extension-priv.h: New file.
2750 * extension.c: New file.
2752 * python/python-internal.h: #include "extension.h".
2753 (gdbpy_auto_load_enabled): Declare.
2754 (gdbpy_apply_val_pretty_printer): Declare.
2755 (gdbpy_apply_frame_filter): Declare.
2756 (gdbpy_preserve_values): Declare.
2757 (gdbpy_breakpoint_cond_says_stop): Declare.
2758 (gdbpy_breakpoint_has_cond): Declare.
2759 (void source_python_script_for_objfile): Delete.
2760 * python/python.c: #include "extension-priv.h".
2761 Delete inclusion of "observer.h".
2762 (extension_language_python): Moved here and renamed from
2763 script_language_python in py-auto-load.c.
2764 Redefined to be of type extension_language_defn.
2765 (python_extension_script_ops): New global.
2766 (python_extension_ops): New global.
2767 (struct python_env): New member previous_active.
2768 (restore_python_env): Call restore_active_ext_lang.
2769 (ensure_python_env): Call set_active_ext_lang.
2770 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
2772 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
2774 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
2776 (gdbpy_eval_from_control_command): Renamed from
2777 eval_python_from_control_command, made static. New arg extlang.
2778 (gdbpy_source_script) Renamed from source_python_script, made static.
2780 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
2781 result to int. New arg extlang.
2782 (gdbpy_source_objfile_script): Renamed from
2783 source_python_script_for_objfile, made static. New arg extlang.
2784 (gdbpy_start_type_printers): Renamed from start_type_printers, made
2785 static. New args extlang, extlang_printers. Change result type to
2787 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
2788 static. New arg extlang. Rename arg printers to extlang_printers
2789 and change type to ext_lang_type_printers *.
2790 (gdbpy_free_type_printers): Renamed from free_type_printers, made
2791 static. Replace argument arg with extlang, extlang_printers.
2792 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
2793 (!HAVE_PYTHON, source_python_script): Delete.
2794 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
2795 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
2796 (!HAVE_PYTHON, start_type_printers): Delete.
2797 (!HAVE_PYTHON, apply_type_printers): Delete.
2798 (!HAVE_PYTHON, free_type_printers): Delete.
2799 (_initialize_python): Delete call to observer_attach_before_prompt.
2800 (finalize_python): Set/restore active extension language.
2801 (gdbpy_finish_initialization) Renamed from
2802 finish_python_initialization, made static. New arg extlang.
2803 (gdbpy_initialized): New function.
2804 * python/python.h: #include "extension.h". Delete #include
2805 "value.h", "mi/mi-cmds.h".
2806 (extension_language_python): Declare.
2807 (GDBPY_AUTO_FILE_NAME): Delete.
2808 (enum py_bt_status): Moved to extension.h and renamed to
2810 (enum frame_filter_flags): Moved to extension.h.
2811 (enum py_frame_args): Moved to extension.h and renamed to
2812 ext_lang_frame_args.
2813 (finish_python_initialization): Delete.
2814 (eval_python_from_control_command): Delete.
2815 (source_python_script): Delete.
2816 (apply_val_pretty_printer): Delete.
2817 (apply_frame_filter): Delete.
2818 (preserve_python_values): Delete.
2819 (gdbpy_script_language_defn): Delete.
2820 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
2821 (start_type_printers, apply_type_printers, free_type_printers): Delete.
2823 * auto-load.c: #include "extension.h".
2824 (GDB_AUTO_FILE_NAME): Delete.
2825 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
2826 (script_language_gdb): Delete, moved to extension.c and renamed to
2827 extension_language_gdb.
2828 (source_gdb_script_for_objfile): Delete.
2829 (auto_load_pspace_info): New member unsupported_script_warning_printed.
2830 (loaded_script): Change type of language member to
2831 struct extension_language_defn *.
2832 (init_loaded_scripts_info): Initialize
2833 unsupported_script_warning_printed.
2834 (maybe_add_script): Make static. Change type of language arg to
2835 struct extension_language_defn *.
2836 (clear_section_scripts): Reset unsupported_script_warning_printed.
2837 (auto_load_objfile_script_1): Rewrite to use extension language API.
2838 (auto_load_objfile_script): Make public. Remove support-compiled-in
2839 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
2840 (source_section_scripts): Rewrite to use extension language API.
2841 (load_auto_scripts_for_objfile): Rewrite to use
2842 auto_load_scripts_for_objfile.
2843 (collect_matching_scripts_data): Change type of language member to
2844 struct extension_language_defn *.
2845 (auto_load_info_scripts): Change type of language arg to
2846 struct extension_language_defn *.
2847 (unsupported_script_warning_print): New function.
2848 (script_not_found_warning_print): Make static.
2849 (_initialize_auto_load): Rewrite construction of scripts-directory
2851 * auto-load.h (struct objfile): Add forward decl.
2852 (struct script_language): Delete.
2853 (struct auto_load_pspace_info): Add forward decl.
2854 (struct extension_language_defn): Add forward decl.
2855 (maybe_add_script): Delete.
2856 (auto_load_objfile_script): Declare.
2857 (script_not_found_warning_print): Delete.
2858 (auto_load_info_scripts): Update prototype.
2859 (auto_load_gdb_scripts_enabled): Declare.
2860 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
2861 auto_load_python_scripts_enabled and made public.
2862 (script_language_python): Delete, moved to python.c.
2863 (gdbpy_script_language_defn): Delete.
2864 (info_auto_load_python_scripts): Update to use
2865 extension_language_python.
2867 * breakpoint.c (condition_command): Replace call to
2868 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
2869 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
2870 with call to breakpoint_ext_lang_cond_says_stop.
2871 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
2872 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
2873 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
2874 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
2876 (local_setattro): Print name of extension language with existing
2879 * valprint.c (val_print, value_print): Update to call
2880 apply_ext_lang_val_pretty_printer.
2881 * cp-valprint.c (cp_print_value): Update call to
2882 apply_ext_lang_val_pretty_printer.
2883 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
2884 (gdbpy_apply_val_pretty_printer): Renamed from
2885 apply_val_pretty_printer. New arg extlang.
2886 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
2888 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
2889 extension language API.
2890 * cli/cli-script.c (execute_control_command): Update to call
2891 eval_ext_lang_from_control_command.
2893 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
2894 enum ext_lang_bt_status values. Update call to
2895 apply_ext_lang_frame_filter.
2896 (mi_cmd_stack_list_locals): Ditto.
2897 (mi_cmd_stack_list_args): Ditto.
2898 (mi_cmd_stack_list_variables): Ditto.
2899 * mi/mi-main.c: Delete #include "python/python-internal.h".
2900 Add #include "extension.h".
2901 (mi_cmd_list_features): Replace reference to python internal variable
2902 gdb_python_initialized with call to ext_lang_initialized_p.
2904 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
2905 Update to use enum ext_lang_frame_args. Update to call
2906 apply_ext_lang_frame_filter.
2907 * python/py-framefilter.c (extract_sym): Update to use enum
2909 (extract_value, py_print_type, py_print_value): Ditto.
2910 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
2911 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
2912 (py_print_frame): Ditto.
2913 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
2914 New arg extlang. Update to use enum ext_lang_bt_status.
2916 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
2917 finish_python_initialization. Replace with call to
2918 finish_ext_lang_initialization.
2920 * typeprint.c (do_free_global_table): Update to call
2921 free_ext_lang_type_printers.
2922 (create_global_typedef_table): Update to call
2923 start_ext_lang_type_printers.
2924 (find_global_typedef): Update to call apply_ext_lang_type_printers.
2925 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
2926 (type_print_options): Change type of global_printers from "void *"
2927 to "struct ext_lang_type_printers *".
2929 * value.c (preserve_values): Update to call preserve_ext_lang_values.
2930 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
2931 (gdbpy_preserve_values): Renamed from preserve_python_values.
2933 (!HAVE_PYTHON, preserve_python_values): Delete.
2935 * utils.c (quit_flag): Delete, moved to extension.c.
2936 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
2939 * eval.c: Delete #include "python/python.h".
2940 * main.c: Delete #include "python/python.h".
2942 * defs.h: Update comment.
2944 2014-02-06 Joel Brobecker <brobecker@adacore.com>
2948 2014-02-05 Mark Kettenis <kettenis@gnu.org>
2950 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
2953 2014-02-05 Yao Qi <yao@codesourcery.com>
2955 * remote.c (remote_pass_signals): Remove local 'buf' and use
2957 (remote_program_signals): Likewise.
2959 2014-02-05 Yao Qi <yao@codesourcery.com>
2961 * ctf.c: Include "inferior.h" and "gdbthread.h".
2962 (CTF_PID): A new macro.
2963 (ctf_open): Call inferior_appeared and add_thread_silent.
2964 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
2965 (ctf_thread_alive): New function.
2966 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
2968 2014-02-05 Yao Qi <yao@codesourcery.com>
2972 2013-05-24 Yao Qi <yao@codesourcery.com>
2974 * tracepoint.c (TFILE_PID): Remove.
2975 (tfile_open): Don't add thread and inferior.
2976 (tfile_close): Don't set 'inferior_ptid'. Don't call
2977 exit_inferior_silent.
2978 (tfile_thread_alive): Remove.
2979 (init_tfile_ops): Don't set field 'to_thread_alive' of
2982 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
2984 * remote.c (remote_start_remote): Call remote_check_symbols even
2985 if only symbol-file (not file) has been given.
2987 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2989 * gdbarch.sh (skip_entrypoint): New callback.
2990 * gdbarch.c, gdbarch.h: Regenerate.
2991 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
2992 * infrun.c (fill_in_stop_func): Likewise.
2993 * ppc-linux-tdep.c: Include "elf/ppc64.h".
2994 (ppc_elfv2_elf_make_msymbol_special): New function.
2995 (ppc_elfv2_skip_entrypoint): Likewise.
2996 (ppc_linux_init_abi): Install them for ELFv2.
2998 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3000 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
3001 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
3002 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
3003 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
3004 structures returned in GPRs.
3006 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3008 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
3009 offset to the stack parameter list for the ELFv2 ABI.
3011 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3013 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
3014 set_gdbarch_convert_from_func_ptr_addr and
3015 set_gdbarch_elf_make_msymbol_special for ELFv1.
3016 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
3017 function descriptors on ELFv1.
3018 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
3019 set up r12 at function entry.
3021 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3023 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
3024 (struct gdbarch_tdep): New member elf_abi.
3026 * rs6000-tdep.c: Include "elf/ppc64.h".
3027 (rs6000_gdbarch_init): Detect ELF ABI version.
3029 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3031 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
3032 within a register pair holding a DFP 128-bit value on little-endian.
3033 (ppc64_sysv_abi_return_value_base): Likewise.
3034 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
3035 (dfp_pseudo_register_write): Likewise.
3037 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3039 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
3040 offset on little-endian when passing _Decimal32.
3041 (ppc64_sysv_abi_return_value_base): Likewise for return values.
3043 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3045 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
3046 of the overlapped FP register within the VSX register on little-
3048 (efpr_pseudo_register_write): Likewise.
3050 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3052 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
3053 offset on little-endian when passing small structures.
3055 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3057 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
3058 (struct ppc64_sysv_argpos): New data structure.
3059 (ppc64_sysv_abi_push_float): Remove.
3060 (ppc64_sysv_abi_push_val): New function.
3061 (ppc64_sysv_abi_push_integer): Likewise.
3062 (ppc64_sysv_abi_push_freg): Likewise.
3063 (ppc64_sysv_abi_push_vreg): Likewise.
3064 (ppc64_sysv_abi_push_param): Likewise.
3065 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
3066 (ppc64_sysv_abi_return_value_base): New function.
3067 (ppc64_sysv_abi_return_value): Refactor to use it.
3069 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3071 * NEWS: Document new target powerpc64le-*-linux*.
3073 2014-02-04 Mark Kettenis <kettenis@gnu.org>
3075 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
3076 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
3078 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
3079 register set used in ELF core dumps. Add floating-point register set.
3081 2014-02-03 Kevin Buettner <kevinb@redhat.com>
3083 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
3084 dwarf2_to_gdb[] table using symbolic constants. Adjust
3085 penultimate entry from number representing the PC register
3086 to symbolic constant representing the MDR register. Add
3087 constant for the PC register to the end of the table.
3089 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3091 * bsd-kvm.c: Include <sys/param.h>
3093 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3095 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
3097 2014-01-31 Joel Brobecker <brobecker@adacore.com>
3099 * ada-lang.h (clear_ada_sym_cache): Delete.
3101 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
3103 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
3105 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3107 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
3108 the sigreturn register save area only if the syscall is
3111 2014-01-29 Joel Brobecker <brobecker@adacore.com>
3113 * valops.c (value_slice): Minor reformatting.
3115 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
3117 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
3119 2014-01-28 Joel Brobecker <brobecker@adacore.com>
3121 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
3123 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
3124 (ada_ignore_descriptive_types_p): New static global.
3125 (find_parallel_type_by_descriptive_type): Return immediately
3126 if ada_ignore_descriptive_types_p is set.
3127 (_initialize_ada_language): Register new commands "maintenance
3128 set ada", "maintenance show ada", "maintenance set ada
3129 ignore-descriptive-types" and "maintenance show ada
3130 ignore-descriptive-types".
3131 * NEWS: Add entry for new "maint ada set/show
3132 ignore-descriptive-types" commands.
3134 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
3136 * record-btrace.c (record_btrace_close): Call btrace_teardown
3139 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3141 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
3144 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3146 * ada-typeprint (type_is_full_subrange_of_target_type):
3148 (print_range): Add parameter bounds_prefered_p. If not set,
3149 try printing range types using the name of their base type.
3150 (print_range_type): Add parameter bounds_prefered_p.
3151 Use it in call to print_range.
3152 (print_array_type, ada_print_type): Update calls to print_range
3153 and print_range_type.
3155 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3157 * ada-typeprint.c (print_array_type, print_choices, print_range)
3158 (print_range_bound, print_dynamic_range_bound, print_range_type):
3161 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3163 * ada-typeprint.c (print_range): Add missing empty line
3164 after local declaration.
3166 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3168 * ada-valprint.c (print_optional_low_bound): Get index_type's
3169 target type for as long as it is a TYPE_CODE_RANGE.
3171 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3173 * procfs.c (procfs_make_note_section): Remove assertion and
3176 2014-01-24 Yao Qi <yao@codesourcery.com>
3178 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
3179 * corelow.c (get_core_siginfo): Likewise.
3181 2014-01-24 Yao Qi <yao@codesourcery.com>
3183 * remote.c (remote_write_bytes_aux): Change type of 'len' to
3184 ULONGEST. Don't check 'len' is negative.
3185 (remote_write_bytes): Change type of 'len' to ULONGEST.
3187 2014-01-23 Tom Tromey <tromey@redhat.com>
3190 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
3191 Handle exception from frame.block.
3192 (FrameVars.fetch_frame_locals): Likewise.
3194 2014-01-23 Tom Tromey <tromey@redhat.com>
3197 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
3198 on a NULL pointer. Move "goto error" to correct place.
3200 2014-01-23 Tom Tromey <tromey@redhat.com>
3203 * python/py-framefilter.c (apply_frame_filter): Call
3204 ensure_python_env after computing gdbarch.
3206 2014-01-23 Yao Qi <yao@codesourcery.com>
3208 * target.c (raw_memory_xfer_partial): Change argument type
3209 from void * to gdb_byte *.
3210 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
3212 2014-01-22 Doug Evans <dje@google.com>
3214 New gdbserver option --debug-format=timestamp.
3217 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3219 * syscalls/s390x-linux.xml: New file.
3220 * syscalls/s390-linux.xml: New file.
3221 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
3222 (XML_SYSCALL_FILENAME_S390X): Likewise.
3223 (op_svc): New enum value for SVC opcode.
3224 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
3225 (s390_linux_get_syscall_number): New function.
3226 (s390_gdbarch_init): Register '*get_syscall_number' and the
3227 syscall xml file name.
3228 * data-directory/Makefile.in (SYSCALLS_FILES): Add
3229 "s390-linux.xml" and "s390x-linux.xml".
3230 * NEWS: Announce new feature.
3232 2014-01-22 Baruch Siach <baruch@tkos.co.il>
3234 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
3236 2014-01-22 Pedro Alves <palves@redhat.com>
3238 * xtensa-config.c: Include defs.h.
3240 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3242 * common/common-utils.h: Add "ARI:" comment beside __func__
3245 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3247 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
3248 documentation a bit.
3250 2014-01-21 Roland McGrath <mcgrathr@google.com>
3252 * configure.ac: Call AM_PROG_INSTALL_STRIP.
3253 * configure: Regenerate.
3254 * aclocal.m4: Regenerate.
3255 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
3256 New substituted variables.
3257 (install-strip): New target.
3258 (INSTALL_SCRIPT): New substituted variable.
3259 (FLAGS_TO_PASS): Add it.
3260 (install-only): Use $(INSTALL_SCRIPT) rather than
3261 $(INSTALL_PROGRAM) for gcore.
3263 2014-01-20 Tom Tromey <tromey@redhat.com>
3265 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
3268 2014-01-20 Tom Tromey <tromey@redhat.com>
3270 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
3271 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
3272 (deprecated_cmd_warning, complete_on_cmdlist): Update.
3273 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
3274 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3275 (struct cmd_list_element) <flags>: Remove.
3276 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3277 doc_allocated>: New fields.
3278 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3280 * maint.c (maintenance_do_deprecate): Update.
3281 * top.c (execute_command): Update.
3283 2014-01-20 Baruch Siach <baruch@tkos.co.il>
3285 * xtensa-linux-nat.c: Include asm/ptrace.h.
3287 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3289 * Makefile.in (SFILES): Add d-support.c.
3290 (COMMON_OBS): Add d-support.o.
3291 * d-lang.h (d_parse_symbol): Add comment, now defined in
3293 * d-lang.c (parse_call_convention)
3294 (parse_attributes, parse_function_types)
3295 (parse_function_args, parse_type, parse_identifier)
3296 (call_convention_p, d_parse_symbol): Move functions to ...
3297 * d-support.c: ... New file.
3299 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3301 * d-lang.h (d_parse_symbol): Add declaration.
3302 * d-lang.c (extract_identifiers)
3303 (extract_type_info): Remove functions.
3304 (parse_call_convention, parse_attributes)
3305 (parse_function_types, parse_function_args)
3306 (parse_type, parse_identifier, call_convention_p)
3307 (d_parse_symbol): New functions.
3308 (d_demangle): Use d_parse_symbol to demangle D symbols.
3310 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3312 * d-lang.h (struct builtin_d_type): New data type.
3313 (builtin_d_type): Add declaration.
3314 * d-lang.c (d_language_arch_info, build_d_types)
3315 (builtin_d_type): New functions.
3316 (enum d_primitive_types): New data type.
3317 (d_language_defn): Change c_language_arch_info to
3318 d_language_arch_info.
3319 (d_type_data): New static variable.
3320 (_initialize_d_language): Initialize d_type_data.
3322 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3324 * d-lang.h (d_main_name): Add declaration.
3325 * d-lang.c (d_main_name): New function.
3326 * symtab.c (find_main_name): Add call to d_main_name.
3328 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3330 * d-lang.c (d_language_defn): Change macro_expansion_c to
3333 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3335 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3337 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3339 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3340 gdb_exception" declaration.
3341 * remote.c (getpkt_or_notif_sane): Likewise.
3343 2014-01-17 Doug Evans <dje@google.com>
3345 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3346 function, contents of dirnames_to_char_ptr_vec_append moved here.
3347 (delim_string_to_char_ptr_vec): New function.
3348 (dirnames_to_char_ptr_vec_append): Rewrite.
3349 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3351 2014-01-17 Doug Evans <dje@google.com>
3353 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3355 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3356 #include "common-utils.h".
3357 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3358 * common/vec.h (VEC_ASSERT_PASS): Update.
3359 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3360 (MACH_CHECK_ERROR): Update.
3362 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3364 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3366 * gdbarch.h: Regenerate.
3368 2014-01-16 Tom Tromey <tromey@redhat.com>
3370 * value.c (struct value) <regnum>: Move earlier.
3372 2014-01-16 Tom Tromey <tromey@redhat.com>
3374 * remote.c (extended_remote_create_inferior): Rename from
3375 extended_remote_create_inferior_1. Add "ops" argument. Remove
3378 2014-01-16 Pedro Alves <palves@redhat.com>
3380 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3381 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3384 2014-01-16 Doug Evans <dje@google.com>
3386 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3388 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3390 * btrace.h (btrace_thread_flag): New.
3391 (struct btrace_thread_info) <flags>: New.
3392 * record-btrace.c (record_btrace_resume_thread)
3393 (record_btrace_find_thread_to_move, btrace_step_no_history)
3394 (btrace_step_stopped, record_btrace_start_replaying)
3395 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3396 (record_btrace_find_resume_thread): New.
3397 (record_btrace_resume, record_btrace_wait): Extend.
3398 (record_btrace_can_execute_reverse): New.
3399 (record_btrace_open): Fail in non-stop mode.
3400 (record_btrace_set_replay): Split into this, ...
3401 (record_btrace_stop_replaying): ... this, ...
3402 (record_btrace_clear_histories): ... and this.
3403 (init_record_btrace_ops): Init to_can_execute_reverse.
3404 * NEWS: Announce it.
3406 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3408 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3409 (forward_target_decr_pc_after_break)
3410 (target_decr_pc_after_break): New.
3411 * target.c (forward_target_decr_pc_after_break)
3412 (target_decr_pc_after_break): New.
3413 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3414 instead of gdbarch_decr_pc_after_break.
3415 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3416 instead of gdbarch_decr_pc_after_break.
3417 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3418 instead of gdbarch_decr_pc_after_break.
3419 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3420 instead of gdbarch_decr_pc_after_break.
3421 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3422 instead of gdbarch_decr_pc_after_break.
3423 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3424 instead of gdbarch_decr_pc_after_break.
3426 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3428 * btrace.c: Include regcache.h.
3429 (btrace_add_pc): New.
3430 (btrace_enable): Call btrace_add_pc.
3431 (btrace_is_empty): New.
3432 * btrace.h (btrace_is_empty): New.
3433 * record-btrace.c (require_btrace, record_btrace_info): Call
3436 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3438 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3439 Support delta reads.
3440 (linux_disable_btrace): Change return type.
3441 * common/linux-btrace.h (linux_read_btrace): Change parameters
3442 and return type to allow error reporting. Update users.
3443 (linux_disable_btrace): Change return type. Update users.
3444 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3446 (btrace_error): New.
3447 (btrace_block) <begin>: Comment on BEGIN == 0.
3448 * btrace.c (btrace_compute_ftrace): Start from the end of
3450 (btrace_stitch_trace, btrace_clear_history): New.
3451 (btrace_fetch): Read delta trace, return if replaying.
3452 (btrace_clear): Move clear history code to btrace_clear_history.
3453 (parse_xml_btrace): Throw an error if parsing failed.
3454 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3455 and return type to allow error reporting.
3456 (target_read_btrace): Change parameters and return type to allow
3458 * target.c (target_read_btrace): Update.
3459 * remote.c (remote_read_btrace): Support delta reads. Pass
3461 * NEWS: Announce it.
3463 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3465 * record.h (record_btrace_frame_unwind)
3466 (record_btrace_tailcall_frame_unwind): New declarations.
3467 * dwarf2-frame: Include record.h
3468 (dwarf2_frame_cfa): Throw an error for btrace frames.
3469 * record-btrace.c: Include hashtab.h.
3470 (btrace_get_bfun_name): New.
3471 (btrace_call_history): Call btrace_get_bfun_name.
3472 (struct btrace_frame_cache): New.
3474 (bfcache_hash, bfcache_eq, bfcache_new): New.
3475 (btrace_get_frame_function): New.
3476 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3477 (record_btrace_frame_this_id): Compute own id.
3478 (record_btrace_frame_prev_register): Provide PC, throw_error
3479 for all other registers.
3480 (record_btrace_frame_sniffer): Detect btrace frames.
3481 (record_btrace_tailcall_frame_sniffer): New.
3482 (record_btrace_frame_dealloc_cache): New.
3483 (record_btrace_frame_unwind): Add new functions.
3484 (record_btrace_tailcall_frame_unwind): New.
3485 (_initialize_record_btrace): Allocate cache.
3486 * btrace.c (btrace_clear): Call reinit_frame_cache.
3487 * NEWS: Announce it.
3489 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3491 * record-btrace.c (record_btrace_set_replay)
3492 (record_btrace_goto_begin, record_btrace_goto_end)
3493 (record_btrace_goto): New.
3494 (init_record_btrace_ops): Initialize them.
3495 * NEWS: Announce it.
3497 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3499 * record-btrace.c (record_btrace_find_new_threads)
3500 (record_btrace_thread_alive): New.
3501 (init_record_btrace_ops): Initialize to_find_new_threads and
3504 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3506 * record-btrace.c (record_btrace_resume): New.
3507 (record_btrace_wait): New.
3508 (init_record_btrace_ops): Initialize to_wait and to_resume.
3510 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3512 * record-btrace.c (record_btrace_xfer_partial)
3513 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3514 (record_btrace_allow_memory_access): New.
3515 (init_record_btrace_ops): Initialize new methods.
3516 * target.c (raw_memory_xfer_partial): Bail out if target reports
3517 that this memory is not available.
3519 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3521 * target.h (target_ops) <to_insert_breakpoint>
3522 <to_remove_breakpoint>: Add target_ops parameter.
3523 (forward_target_insert_breakpoint): New.
3524 (forward_target_remove_breakpoint): New.
3525 (memory_remove_breakpoint, memory_insert_breakpoint):
3526 Add target_ops parameter.
3527 * target.c (target_insert_breakpoint): Split into this and ...
3528 (forward_target_insert_breakpoint): ... this.
3529 (target_remove_breakpoint): Split into this and ...
3530 (forward_target_remove_breakpoint): ... this.
3531 (debug_to_insert_breakpoint): Add target_ops parameter.
3532 Call forward_target_insert_breakpoint.
3533 (debug_to_remove_breakpoint): Add target_ops parameter.
3534 Call forward_target_remove_breakpoint.
3535 (update_current_target): Do not inherit or default to_insert_breakpoint
3536 and to_remove_breakpoint.
3537 * corelow.c (ignore): Add target_ops parameter.
3538 * exec.c (ignore): Add target_ops parameter.
3539 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3540 Add target_ops parameter.
3541 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3542 Add target_ops parameter.
3543 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3544 Add target_ops parameter.
3545 * record-full.c (record_full_beneath_to_insert_breakpoint)
3546 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3547 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3548 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
3549 (record_full_core_remove_breakpoint): Add target_ops parameter.
3551 (record_full_beneath_to_insert_breakpoint_ops)
3552 (record_full_beneath_to_remove_breakpoint_ops)
3553 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
3554 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
3555 tmp_to_remove_breakpoint_ops,
3556 record_full_beneath_to_insert_breakpoint_ops, and
3557 record_full_beneath_to_remove_breakpoint_ops.
3558 * remote-m32r-sdi.c (m32r_insert_breakpoint)
3559 (m32r_remove_breakpoint): Add target_ops parameter.
3560 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
3561 Add target_ops parameter.
3562 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
3563 Add target_ops parameter.
3565 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3566 Markus Metzger <markus.t.metzger@intel.com>
3568 * record-btrace.c: Include frame-unwind.h.
3569 (record_btrace_frame_unwind_stop_reason)
3570 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
3571 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
3573 (init_record_btrace_ops): Install it.
3575 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3577 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
3580 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3582 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
3585 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3587 * frame-unwind.c: Include target.h.
3588 (frame_unwind_try_unwinder): New function with code from ...
3589 (frame_unwind_find_by_frame): ... here. New variable
3590 unwinder_from_target, call also target_get_unwinder)
3591 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
3592 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
3593 * target.h (struct target_ops): New fields to_get_unwinder and
3594 to_get_tailcall_unwinder.
3595 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
3597 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3599 * record-btrace.c (record_btrace_fetch_registers)
3600 (record_btrace_store_registers)
3601 (record_btrace_to_prepare_to_store): New.
3602 (init_record_btrace_ops): Add the above.
3604 2014-01-16 Tom Tromey <tromey@redhat.com>
3606 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
3607 * target.h (struct target_ops) <to_prepare_to_store>: Add
3609 (target_prepare_to_store): Add argument.
3610 * target.c (debug_to_prepare_to_store): Add argument.
3611 (update_current_target): Update.
3612 * remote.c (remote_prepare_to_store): Add 'self' argument.
3613 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
3614 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
3615 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
3616 * record-full.c (record_full_core_prepare_to_store): Add 'self'
3618 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
3619 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
3620 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
3621 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
3622 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
3624 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3626 * btrace.h (replay) <replay>: New.
3627 (btrace_is_replaying): New.
3628 * btrace.c (btrace_clear): Free replay iterator.
3629 (btrace_is_replaying): New.
3630 * record-btrace.c (record_btrace_is_replaying): New.
3631 (record_btrace_info): Print insn number if replaying.
3632 (record_btrace_insn_history): Start at replay position.
3633 (record_btrace_call_history): Start at replay position.
3634 (init_record_btrace_ops): Init to_record_is_replaying.
3636 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3638 * record-btrace.c (record_btrace_insn_history_range): Include
3640 (record_btrace_insn_history_from): Adjust range.
3641 (record_btrace_call_history_range): Include
3643 (record_btrace_call_history_from): Adjust range.
3644 * NEWS: Announce changes.
3646 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3648 * record.h (enum record_print_flag)
3649 <record_print_indent_calls>: New.
3650 * record.c (get_call_history_modifiers): Recognize /c modifier.
3651 (_initialize_record): Document /c modifier.
3652 * record-btrace.c (btrace_call_history): Add btinfo parameter.
3653 Reorder fields. Optionally indent the function name. Update
3655 * NEWS: Announce changes.
3657 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3659 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
3661 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3663 * btrace.c (ftrace_new_function): Start counting at one.
3664 * record-btrace.c (record_btrace_info): Adjust number of calls
3666 * NEWS: Announce it.
3668 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3670 * record-btrace.c (btrace_call_history_insn_range): Print
3671 insn range as [begin, end].
3673 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3675 * btrace.h (struct btrace_func_link): New.
3676 (enum btrace_function_flag): New.
3677 (struct btrace_inst): Rename to ...
3678 (struct btrace_insn): ...this. Update all users.
3679 (struct btrace_func) <ibegin, iend>: Remove.
3680 (struct btrace_func_link): New.
3681 (struct btrace_func): Rename to ...
3682 (struct btrace_function): ...this. Update all users.
3683 (struct btrace_function) <segment, flow, up, insn, insn_offset)
3684 (number, level, flags>: New.
3685 (struct btrace_insn_iterator): Rename to ...
3686 (struct btrace_insn_history): ...this.
3688 (struct btrace_insn_iterator, btrace_call_iterator): New.
3689 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
3690 (struct btrace_target_info) <begin, end, level>
3691 <insn_history, call_history>: New.
3692 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3693 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3694 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3695 (btrace_call_number, btrace_call_begin, btrace_call_end)
3696 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3697 (btrace_find_function_by_number, btrace_set_insn_history)
3698 (btrace_set_call_history): New.
3699 * btrace.c (btrace_init_insn_iterator)
3700 (btrace_init_func_iterator, compute_itrace): Remove.
3701 (ftrace_print_function_name, ftrace_print_filename)
3702 (ftrace_skip_file): Change
3704 (ftrace_init_func): Remove.
3705 (ftrace_debug): Use new btrace_function fields.
3706 (ftrace_function_switched): Also consider gaining and
3707 losing symbol information).
3708 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
3709 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
3710 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
3712 (ftrace_new_function): Move. Remove debug print.
3713 (ftrace_update_lines, ftrace_update_insns): New.
3714 (ftrace_update_function): Check for call, ret, and jump.
3715 (compute_ftrace): Renamed to ...
3716 (btrace_compute_ftrace): ...this. Rewritten to compute call
3718 (btrace_fetch, btrace_clear): Updated.
3719 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3720 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3721 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3722 (btrace_call_number, btrace_call_begin, btrace_call_end)
3723 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3724 (btrace_find_function_by_number, btrace_set_insn_history)
3725 (btrace_set_call_history): New.
3726 * record-btrace.c (require_btrace): Use new btrace thread
3728 (record_btrace_info, btrace_insn_history)
3729 (record_btrace_insn_history, record_btrace_insn_history_range):
3730 Use new btrace thread info fields and new iterator.
3731 (btrace_func_history_src_line): Rename to ...
3732 (btrace_call_history_src_line): ...this. Use new btrace
3734 (btrace_func_history): Rename to ...
3735 (btrace_call_history): ...this. Use new btrace thread info
3736 fields and new iterator.
3737 (record_btrace_call_history, record_btrace_call_history_range):
3738 Use new btrace thread info fields and new iterator.
3740 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3742 * frame.h (frame_id_build_unavailable_stack_special): New.
3743 * frame.c (frame_id_build_unavailable_stack_special): New.
3745 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3747 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
3748 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
3749 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
3751 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
3752 (i386_insn_is_jump, i386_jmp_p): New.
3753 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
3754 insn_is_jump to gdbarch.
3755 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
3756 * gdbarch.h: Regenerated.
3757 * gdbarch.c: Regenerated.
3758 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
3759 (default_insn_is_jump): New.
3760 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
3761 (default_insn_is_jump): New.
3763 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3765 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
3767 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
3768 (btrace_read_type) <btrace_read_new>: Change to ...
3769 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
3771 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3773 * common/linux-btrace.c (linux_read_btrace): Free trace from
3776 2014-01-15 Doug Evans <dje@google.com>
3778 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
3781 2014-01-15 Tom Tromey <tromey@redhat.com>
3783 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
3784 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
3785 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
3786 (set_objfile_main_name): New function.
3787 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
3788 language_of_main>: New fields.
3789 (set_objfile_main_name): Declare.
3790 * symtab.c (find_main_name): Loop over objfiles to find the main
3792 (set_main_name): Now static.
3793 (get_main_info): Add comment.
3794 * symtab.h (set_main_name): Don't declare.
3796 2014-01-15 Tom Tromey <tromey@redhat.com>
3798 * symtab.c (main_progspace_key): New global.
3799 (struct main_info): New.
3800 (name_of_main, language_of_main): Remove.
3801 (get_main_info, main_info_cleanup): New function.
3802 (set_main_name, main_name, main_language): Use get_main_info.
3803 (_initialize_symtab): Initialize main_progspace_key.
3805 2014-01-15 Tom Tromey <tromey@redhat.com>
3807 * dbxread.c (process_one_symbol): Update.
3808 * dwarf2read.c (read_partial_die): Update.
3809 * symfile.c (set_initial_language): Call main_language.
3810 * symtab.c (language_of_main): Now static.
3811 (set_main_name): Add 'lang' parameter.
3812 (find_main_name): Update.
3813 (main_language): New function.
3814 (symtab_observer_executable_changed): Update.
3815 * symtab.h (set_main_name): Update.
3816 (language_of_main): Remove.
3817 (main_language): Declare.
3819 2014-01-15 Tom Tromey <tromey@redhat.com>
3821 * symfile.c (init_entry_point_info): Use new "initialized" field.
3823 * objfiles.h (struct entry_point) <initialized>: New field.
3824 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
3825 (struct objfile) <ei>: ...here. Remove.
3826 * objfiles.c (entry_point_address_query): Update.
3828 2014-01-15 Tom Tromey <tromey@redhat.com>
3830 * objfiles.c (entry_point_address_query): Relocate entry point
3832 (objfile_relocate1): Do not relocate entry point address.
3833 * objfiles.h (struct entry_info) <entry_point>: Update comment.
3834 <the_bfd_section_index>: New field.
3835 * symfile.c (init_entry_point_info): Find the entry point's
3838 2014-01-15 Tom Tromey <tromey@redhat.com>
3840 * solib-frv.c (enable_break): Use entry_point_address_query.
3842 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3844 * NEWS: Add note on improved process record-replay on
3845 arm*-linux* targets.
3847 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3849 * arm-tdep.c (enum arm_record_result): New enum.
3850 (arm_record_unsupported_insn): New function.
3851 (arm_record_coproc_data_proc): Removed.
3852 (thumb2_record_ld_st_multiple): New function.
3853 (thumb2_record_ld_st_dual_ex_tbb): New function.
3854 (thumb2_record_data_proc_sreg_mimm): New function.
3855 (thumb2_record_ps_dest_generic): New function.
3856 (thumb2_record_branch_misc_cntrl): New function.
3857 (thumb2_record_str_single_data): New function.
3858 (thumb2_record_ld_mem_hints): New function.
3859 (thumb2_record_ld_word): New function.
3860 (thumb2_record_lmul_lmla_div): New function.
3861 (thumb2_record_decode_insn_handler): New function.
3862 (decode_insn): Add thumb32 instruction handlers.
3864 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3866 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
3867 (struct arm_linux_record_tdep): Declare.
3868 (arm_canonicalize_syscall): New function.
3869 (arm_all_but_pc_registers_record): New function.
3870 (arm_linux_syscall_record): New function.
3871 (arm_linux_init_abi): Add syscall recording constructs.
3872 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
3873 decoding. (arm_record_coproc_data_proc): Update arm syscall
3875 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
3876 <arm_syscall_record>: New field.
3877 * configure.tgt (arm*-*-linux*): Add linux-record.o to
3880 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3882 * arm-tdep.c (thumb_record_misc): Update to use sp as base
3883 register for push instruction recording.
3885 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3887 * arm-tdep.c (thumb_record_misc): Update to correct logical
3888 error while recording ldm, ldmia and pop instructions.
3890 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3892 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
3894 2014-01-15 Pedro Alves <palves@redhat.com>
3896 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
3897 (go32_resume, go32_fetch_registers, store_register)
3898 (go32_store_registers, go32_prepare_to_store)
3899 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
3900 (go32_create_inferior, go32_can_run, go32_terminal_init)
3901 (go32_terminal_inferior, go32_terminal_ours): Delete forward
3904 2014-01-15 Tom Tromey <tromey@redhat.com>
3906 * target.h (async_callback_ftype): New typedef.
3907 (struct target_ops) <to_async>: Use it.
3909 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3911 * python/py-value.c (get_field_type): Remove unnecessary curly
3912 braces for single-statement if block.
3914 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3916 * python/py-type.c (convert_field): Add missing empty line
3919 2014-01-14 Doug Evans <dje@google.com>
3921 * symfile.h (expand_symtabs_matching): Renamed from
3922 expand_partial_symbol_names. Update prototype.
3923 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3924 * symfile.c (expand_symtabs_matching): Renamed from
3925 expand_partial_symbol_names. New args file_matcher, kind.
3926 Rename arg fun to symbol_matcher.
3927 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3928 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
3929 ada_expand_partial_symbol_name.
3930 (ada_make_symbol_completion_list): Update to call
3931 expand_symtabs_matching.
3932 (ada_add_global_exceptions): Call expand_symtabs_matching.
3933 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
3934 call map_symbol_filenames.
3935 * symtab.c (sources_info): Update to call map_symbol_filenames.
3936 (search_symbols): Call expand_symtabs_matching.
3937 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
3938 (default_make_symbol_completion_list_break_on): Update to call
3939 expand_symtabs_matching.
3940 (make_source_files_completion_list): Update to call
3941 map_symbol_filenames.
3943 2014-01-14 Doug Evans <dje@google.com>
3945 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
3946 (expand_symtabs_symbol_matcher_ftype): New typedef.
3947 (quick_symbol_functions.expand_symtabs_matching): Update to use.
3948 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3949 * symfile.c (expand_partial_symbol_names): Update to use
3950 expand_symtabs_symbol_matcher_ftype.
3951 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
3952 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3953 Arg name_matcher renamed to symbol_matcher.
3954 * psymtab.c (recursively_search_psymtabs): Update to use
3955 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
3957 (expand_symtabs_matching_via_partial): Update to use
3958 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3959 Arg name_matcher renamed to symbol_matcher.
3961 2014-01-14 Doug Evans <dje@google.com>
3963 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
3964 (map_partial_symbol_filenames): Ditto.
3965 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
3966 (map_partial_symbol_filenames): Ditto.
3967 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
3968 (map_partial_symbol_filenames): Ditto.
3969 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
3970 (map_partial_symbol_filenames): Ditto.
3971 * symtab.c: Delete #include "psymtab.h".
3973 2014-01-14 Pedro Alves <palves@redhat.com>
3974 Tom Tromey <tromey@redhat.com>
3976 * infrun.c (use_displaced_stepping): Use find_record_target
3977 instead of RECORD_IS_USED.
3978 (adjust_pc_after_break): Use record_full_is_used instead of
3980 * record-btrace.c (record_btrace_open): Call record_preopen
3981 instead of checking RECORD_IS_USED.
3982 * record-full.c (record_full_shortname)
3983 (record_full_core_shortname): New globals.
3984 (record_full_is_used): New function.
3985 (find_full_open): Call record_preopen instead of checking
3987 (init_record_full_ops): Set the target's shortname to
3988 record_full_shortname.
3989 (init_record_full_core_ops): Set the target's shortname to
3990 record_full_core_shortname.
3991 * record-full.h (record_full_is_used): Declare.
3992 * record.c (find_record_target): Make extern.
3993 (record_preopen): New function.
3994 * record.h (RECORD_IS_USED): Delete macro.
3995 (find_record_target, record_preopen): Declare functions.
3997 2014-01-14 Yao Qi <yao@codesourcery.com>
3999 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
4000 'len''s type to ULONGEST.
4001 (core_xfer_shared_libraries_aix): Likewise.
4002 * gdbarch.c, gdbarch.h: Regenerated.
4003 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
4004 Change type of 'len' to ULONGEST.
4005 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4006 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
4008 2014-01-14 Yao Qi <yao@codesourcery.com>
4010 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
4011 type of 'len' to ULONGEST.
4012 (linux_xfer_osdata_processgroups): Likewise.
4013 (linux_xfer_osdata_threads): Likewise.
4014 (linux_xfer_osdata_fds): Likewise.
4015 (linux_xfer_osdata_isockets): Likewise.
4016 (linux_xfer_osdata_shm): Likewise.
4017 (linux_xfer_osdata_sem): Likewise.
4018 (linux_xfer_osdata_msg): Likewise.
4019 (linux_common_xfer_osdata): Likewise.
4020 (struct osdata_type) <getter>: Likewise.
4021 * common/linux-osdata.h (linux_common_xfer_osdata): Update
4024 2014-01-14 Yao Qi <yao@codesourcery.com>
4026 * target.h (target_xfer_partial_ftype): Update.
4027 (struct target_ops) <to_xfer_partial>: Change 'len' type to
4029 * aix-thread.c (aix_thread_xfer_partial): Change type of
4030 argument 'len' to ULONGEST.
4031 * auxv.c (procfs_xfer_auxv): Likewise.
4032 (ld_so_xfer_auxv): Likewise.
4033 (memory_xfer_auxv): Likewise.
4034 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4035 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4036 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4037 * corelow.c (core_xfer_partial): Likewise.
4038 * ctf.c (ctf_xfer_partial): Likewise.
4039 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
4041 (darwin_read_dyld_info): Likewise.
4042 (darwin_xfer_partial): Likewise.
4043 * exec.c (section_table_xfer_memory_partial): Likewise.
4044 (exec_xfer_partial): Likewise.
4045 * exec.h (section_table_xfer_memory_partial): Update
4047 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
4048 instead of plongest.
4049 (gnu_xfer_partial): Likewise.
4050 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
4051 (ia64_hpux_xfer_solib_got): Likewise.
4052 (ia64_hpux_xfer_partial): Likewise.
4053 * ia64-linux-nat.c (ia64_linux_xfer_partial):
4054 * inf-ptrace.c (inf_ptrace_xfer_partial):
4055 * inf-ttrace.c (inf_ttrace_xfer_partial):
4056 * linux-nat.c (linux_xfer_siginfo): Likewise.
4057 (linux_nat_xfer_partial): Likewise.
4058 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
4059 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
4060 * monitor.c (monitor_xfer_memory): Likewise.
4061 (monitor_xfer_partial): Likewise.
4062 * procfs.c (procfs_xfer_partial): Likewise.
4063 * record-full.c (record_full_xfer_partial): Likewise.
4064 (record_full_core_xfer_partial): Likewise.
4065 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
4066 instead of plongest.
4067 (gdbsim_xfer_partial): Likewise.
4068 * remote.c (remote_xfer_partial): Likewise.
4069 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4070 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4072 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4073 (rs6000_xfer_shared_libraries): Likewise.
4074 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4075 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4076 (sparc_xfer_partial): Likewise.
4077 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4078 (spu_xfer_partial): Likewise.
4079 * spu-multiarch.c (spu_xfer_partial): Likewise.
4080 * target.c (target_read_live_memory): Likewise.
4081 (memory_xfer_live_readonly_partial): Likewise.
4082 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
4083 (target_xfer_partial, default_xfer_partial): Likewise.
4084 (current_xfer_partial): Likewise.
4085 * tracepoint.c (tfile_xfer_partial): Likewise.
4086 * windows-nat.c (windows_xfer_memory): Likewise. Call
4087 pulongest instead of plongest.
4088 (windows_xfer_partial): Likewise.
4089 (windows_xfer_shared_libraries): Likewise.
4091 2014-01-14 Yao Qi <yao@codesourcery.com>
4093 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
4094 target_xfer_partial_ftype.
4096 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4100 * valops.c (value_struct_elt_bitpos): New function
4101 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
4102 object to 'None' if the field name is an empty string ("").
4103 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
4104 attribute to look for a field when 'name' is 'None'.
4105 (get_field_type): New function
4107 2014-01-13 Doug Evans <dje@google.com>
4110 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
4111 (try_open_dwop_file): Ditto.
4112 * gdb_bfd.c: #include "vec.h".
4113 (bfdp): New typedef.
4114 (struct gdb_bfd_data): New member included_bfds.
4115 (gdb_bfd_unref): Unref all included bfds.
4116 (gdb_bfd_record_inclusion): New function.
4117 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
4119 2014-01-13 Tom Tromey <tromey@redhat.com>
4121 * gdbcore.h (deprecated_core_resize_section_table): Remove.
4123 2014-01-13 Tom Tromey <tromey@redhat.com>
4125 * defs.h (use_windows): Remove.
4126 * gdb.c (main): Update.
4127 * main.c (captured_main, gdb_main): Update.
4128 * main.h (struct captured_main_args) <use_windows>: Remove.
4129 * top.c (use_windows): Remove.
4131 2014-01-13 Tom Tromey <tromey@redhat.com>
4133 * defs.h (deprecated_flush_hook): Remove.
4135 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4138 * linux-thread-db.c (try_thread_db_load): Add parameter
4139 check_auto_load_safe. Move here the file_is_auto_load_safe call.
4140 (try_thread_db_load_from_pdir_1): Move it there from here.
4141 (try_thread_db_load_from_sdir): Update caller.
4142 (try_thread_db_load_from_dir): Move it there from here.
4144 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
4146 * regformats/regdat.sh: Always rewrite the register file.
4148 2014-01-13 Pedro Alves <palves@redhat.com>
4150 * Makefile.in (CHECK_HEADERS): New variable.
4151 (check-headers:): New rule.
4153 2014-01-13 Tom Tromey <tromey@redhat.com>
4155 * cli/cli-setshow.c (do_set_command): Update.
4156 * defs.h (deprecated_set_hook): Remove.
4157 * top.c (deprecated_set_hook): Remove.
4159 2014-01-13 Pedro Alves <palves@redhat.com>
4161 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
4162 the tracepoint if the PC is a pseudo-register.
4164 2014-01-13 Tom Tromey <tromey@redhat.com>
4166 * defs.h (XCALLOC): Remove.
4167 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
4168 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
4169 * dwarf2loc.c (allocate_piece_closure): Likewise.
4170 * elfread.c (elf_symfile_segments): Likewise.
4171 (elf_symfile_segments): Likewise.
4172 * gdbtypes.c (copy_type_recursive): Likewise.
4173 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
4174 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
4175 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
4177 * mt-tdep.c (mt_gdbarch_init): Likewise.
4178 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
4180 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
4181 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
4182 * registry.c (registry_alloc_data): Likewise.
4183 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
4184 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
4185 * serial.c (serial_fdopen_ops): Likewise.
4186 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
4188 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
4189 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
4192 2014-01-13 Tom Tromey <tromey@redhat.com>
4194 * defs.h (XMALLOC): Remove.
4195 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
4196 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
4197 * cli-out.c (struct ui_out *): Likewise.
4198 * cli/cli-dump.c (add_dump_command): Likewise.
4199 (add_dump_command): Likewise.
4200 * complaints.c (get_complaints): Likewise.
4201 (find_complaint): Likewise.
4202 * dwarf2-frame.c (execute_cfa_program): Likewise.
4203 * dwarf2read.c (abbrev_table_read_table): Likewise.
4204 * gdbarch.sh: Likewise.
4205 * gdbarch.c: Rebuild.
4206 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
4207 * interps.c (interp_new): Likewise.
4208 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
4209 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
4210 * mi/mi-console.c (mi_console_file_new): Likewise.
4211 * mi/mi-interp.c (mi_interpreter_init): Likewise.
4212 * mi/mi-out.c (mi_out_new): Likewise.
4213 * mi/mi-parse.c (mi_parse): Likewise.
4214 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
4215 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
4216 * observer.c (xalloc_observer_list_node): Likewise.
4217 * regcache.c (regcache_xmalloc_1): Likewise.
4218 * reggroups.c (reggroup_new): Likewise.
4219 (_initialize_reggroup): Likewise.
4220 * registry.c (register_data_with_cleanup): Likewise.
4221 * remote.c (remote_notif_stop_alloc_reply): Likewise.
4222 * ser-base.c (serial_ttystate): Likewise.
4223 * ser-mingw.c (make_pipe_state): Likewise.
4224 * ser-pipe.c (pipe_open): Likewise.
4225 * serial.c (serial_open): Likewise.
4226 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
4227 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
4228 (tui_alloc_win_info): Likewise.
4229 (tui_add_content_elements): Likewise.
4230 * tui/tui-file.c (tui_file_new): Likewise.
4231 * tui/tui-out.c (tui_out_new): Likewise.
4232 * ui-file.c (mem_file_new): Likewise.
4233 * ui-out.c (push_level): Likewise.
4234 (make_cleanup_ui_out_end): Likewise.
4235 (append_header_to_list): Likewise.
4236 (ui_out_new): Likewise.
4237 * user-regs.c (user_reg_add_builtin): Likewise.
4239 2014-01-13 Tom Tromey <tromey@redhat.com>
4241 * defs.h (XZALLOC): Remove.
4242 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
4243 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
4244 (get_ada_tasks_inferior_data): Likewise.
4245 * auto-load.c (get_auto_load_pspace_data): Likewise.
4246 * auxv.c (get_auxv_inferior_data): Likewise.
4247 * bfd-target.c (target_bfd_reopen): Likewise.
4248 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
4249 (deprecated_insert_raw_breakpoint): Likewise.
4250 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
4251 * corelow.c (core_open): Likewise.
4252 * darwin-nat.c (darwin_check_new_threads): Likewise.
4253 (darwin_attach_pid): Likewise.
4254 * dummy-frame.c (dummy_frame_push): Likewise.
4255 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
4256 * dwarf2loc.c (allocate_piece_closure): Likewise.
4257 * elfread.c (elf_symfile_segments): Likewise.
4258 * eval.c (ptrmath_type_p): Likewise.
4259 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
4260 * gdbtypes.c (alloc_type_arch): Likewise.
4261 (alloc_type_instance): Likewise.
4262 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
4263 * inf-child.c (inf_child_can_use_agent): Likewise.
4264 * inflow.c (get_inflow_inferior_data): Likewise.
4265 * infrun.c (save_infcall_suspend_state): Likewise.
4266 * jit.c (jit_reader_load): Likewise.
4267 (get_jit_objfile_data): Likewise.
4268 (get_jit_program_space_data): Likewise.
4269 (jit_object_open_impl): Likewise.
4270 (jit_symtab_open_impl): Likewise.
4271 (jit_block_open_impl): Likewise.
4272 (jit_frame_sniffer): Likewise.
4273 * linux-fork.c (add_fork): Likewise.
4274 * maint.c (make_command_stats_cleanup): Likewise.
4275 * objfiles.c (get_objfile_pspace_data): Likewise.
4276 * opencl-lang.c (struct lval_closure): Likewise.
4277 * osdata.c (osdata_start_osdata): Likewise.
4278 * progspace.c (new_address_space): Likewise.
4279 (add_program_space): Likewise.
4280 * remote-sim.c (get_sim_inferior_data): Likewise.
4281 * sh-tdep.c (sh_gdbarch_init): Likewise.
4282 * skip.c (Ignore): Likewise.
4283 (skip_delete_command): Likewise.
4284 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4285 (library_list_start_library): Likewise.
4286 (solib_aix_current_sos): Likewise.
4287 * solib-darwin.c (get_darwin_info): Likewise.
4288 (darwin_current_sos): Likewise.
4289 * solib-dsbt.c (get_dsbt_info): Likewise.
4290 * solib-ia64-hpux.c (new_so_list): Likewise.
4291 (ia64_hpux_get_solib_linkage_addr): Likewise.
4292 * solib-spu.c (append_ocl_sos): Likewise.
4293 (spu_current_sos): Likewise.
4294 * solib-svr4.c (get_svr4_info): Likewise.
4295 (svr4_keep_data_in_core): Likewise.
4296 (library_list_start_library): Likewise.
4297 (svr4_default_sos): Likewise.
4298 (svr4_read_so_list): Likewise.
4299 * solib-target.c (library_list_start_library): Likewise.
4300 (solib_target_current_sos): Likewise.
4301 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4302 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4303 * symfile.c (default_symfile_segments): Likewise.
4304 * target-descriptions.c (tdesc_data_init): Likewise.
4305 (tdesc_create_reg): Likewise.
4306 (struct tdesc_type *): Likewise.
4307 (tdesc_create_vector): Likewise.
4308 (tdesc_set_struct_size): Likewise.
4309 (struct tdesc_type *): Likewise.
4310 (tdesc_free_feature): Likewise.
4311 (tdesc_create_feature): Likewise.
4312 * windows-nat.c (windows_add_thread): Likewise.
4313 (windows_make_so): Likewise.
4314 * xml-support.c (gdb_xml_body_text): Likewise.
4315 (gdb_xml_create_parser_and_cleanup): Likewise.
4316 (xml_process_xincludes): Likewise.
4317 * xml-syscall.c (allocate_syscalls_info): Likewise.
4318 (syscall_create_syscall_desc): Likewise.
4320 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4322 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4323 function, with code from i386_stap_parse_special_token.
4324 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4325 (i386_stap_parse_special_token): Move code to the two functions
4328 2014-01-09 Pedro Alves <palves@redhat.com>
4329 Hui Zhu <hui@codesourcery.com>
4332 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4333 bp_err_string. Don't mark the location shlib_disabled if the
4334 error thrown wasn't a generic or memory error. Catch errors
4335 thrown while inserting breakpoints in overlayed code. Output
4336 error message of software breakpoints.
4337 * remote.c (remote_insert_breakpoint): If this breakpoint has
4338 target-side commands but this stub doesn't support Z0 packets,
4339 throw NOT_SUPPORTED_ERROR error.
4340 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4341 * target.h (target_insert_breakpoint): Extend comment.
4342 (target_insert_hw_breakpoint): Add comment.
4344 2014-01-08 Pedro Alves <palves@redhat.com>
4346 * remote.c (remote_add_thread): Add threads silently if starting
4348 (remote_notice_new_inferior): If in all-stop, and starting up,
4349 don't call notice_new_inferior.
4350 (get_current_thread): New function, factored out from ...
4351 (add_current_inferior_and_thread): ... this. Adjust.
4352 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4353 found any thread, then select the remote's current thread as GDB's
4356 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4358 * NEWS: Create a new section for the next release branch.
4359 Rename the section of the current branch, now that it has
4362 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4364 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4365 * version.in: Bump version to 7.7.50.DATE-cvs.
4367 2014-01-08 Yao Qi <yao@codesourcery.com>
4369 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4370 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4371 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4373 2014-01-08 Yao Qi <yao@codesourcery.com>
4375 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4376 return value of bfd_get_filename to symbol_file_add_from_bfd.
4378 2014-01-08 Pierre Muller <muller@sourceware.org>
4381 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4382 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4383 to prim_record_mininal_symbol_and_info.
4384 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4385 in call to prim_record_minimal_symbol_and_info.
4386 (read_pe_exported_syms): Set index field of section_data.
4388 2014-01-07 Andrew Pinski <apinski@cavium.com>
4390 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4391 * features/aarch64.c: Regenerate.
4393 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4395 * target.c (return_null): Define.
4396 (update_current_target): Use it instead of return_zero for
4397 functions that return a pointer.
4399 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4401 * source.c (add_path): Fix check for duplicated paths in the previously
4404 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4406 * ada-lang.c: Remove duplicated include statements.
4407 * alphabsd-nat.c: Ditto.
4408 * amd64-darwin-tdep.c: Ditto.
4409 * amd64fbsd-nat.c: Ditto.
4410 * auto-load.c: Ditto.
4412 * breakpoint.c: Ditto.
4414 * fork-child.c: Ditto.
4415 * gdb_usleep.c: Ditto.
4416 * i386-darwin-tdep.c: Ditto.
4417 * i386fbsd-nat.c: Ditto.
4419 * inferior.c: Ditto.
4421 * linux-nat.c: Ditto.
4422 * linux-tdep.c: Ditto.
4423 * m68kbsd-nat.c: Ditto.
4424 * m68klinux-nat.c: Ditto.
4425 * microblaze-tdep.c: Ditto.
4426 * mips-linux-tdep.c: Ditto.
4427 * mn10300-tdep.c: Ditto.
4428 * nto-tdep.c: Ditto.
4429 * opencl-lang.c: Ditto.
4431 * printcmd.c: Ditto.
4432 * regcache.c: Ditto.
4433 * remote-m32r-sdi.c: Ditto.
4437 * tilegx-linux-nat.c: Ditto.
4438 * tilegx-tdep.c: Ditto.
4439 * tracepoint.c: Ditto.
4441 * vaxbsd-nat.c: Ditto.
4442 * windows-nat.c: Ditto.
4443 * xtensa-tdep.c: Ditto.
4445 2014-01-07 Yao Qi <yao@codesourcery.com>
4447 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4449 2014-01-07 Yao Qi <yao@codesourcery.com>
4450 Joel Brobecker <brobecker@adacore.com>
4452 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4453 (pdc_write_regs): Likewise.
4454 (fetch_regs_kernel_thread): Likewise.
4455 (store_regs_kernel_thread): Likewise.
4457 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4459 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4460 tagged type objects to their actual type.
4462 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4464 * ada-valprint.c (print_field_values): Add "language" parameter.
4465 Update calls to print_field_values and print_variant_part.
4466 Pass new parameter "language" in call to val_print instead
4467 of "current_language". Replace call to ada_val_print by call
4469 (print_variant_part): Add "language" parameter.
4470 (ada_val_print_struct_union): Update call to print_field_values.
4472 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4474 * ada-valprint.c (ui_memcpy): Delete.
4475 (ada_print_floating): Update documentation. Add empty line
4476 between between function documentation and implementation.
4477 Delete variable "buffer". Use ui_file_xstrdup in place of
4478 ui_file_put. Minor adjustments following this change.
4480 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4482 * ada-valprint.c (ada_val_print_string): New function,
4483 extracted from ada_val_print_array.
4484 (ada_val_print_array): Replace extracted code by call
4485 to ada_val_print_string followed by a return. Move
4486 "else" branch to the function's top block.
4488 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4490 * ada-valprint.c (ada_val_print_array): Move implementation
4491 down. Rename parameter "offset" and "val" into "offset_aligned"
4492 and "original_value" respectively. Add parameter "offset".
4494 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4496 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4497 re-organizing the code. Change the "???" message printed
4498 when target type is a TYPE_CODE_UNDEF into
4499 "<ref to undefined type>".
4501 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4503 * ada-valprint.c (print_record): Delete, implementation inlined...
4504 (ada_val_print_struct_union): ... here. Remove call to
4505 ada_check_typedef in inlined implementation.
4507 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4509 * ada-valprint.c (ada_val_print_gnat_array): New function,
4510 extracted from ada_val_print_1;
4511 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4512 (ada_val_print_flt, ada_val_print_struct_union)
4513 (ada_val_print_ref): Likewise.
4514 (ada_val_print_1): Delete variables i and elttype.
4515 Replace extracted-out code by call to corresponding
4518 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4520 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4522 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4524 * ada-valprint.c (ada_val_print_1): Replace calls to
4525 ada_val_print_1 by calls to val_print.
4527 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4529 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4530 Update calls to self accordingly. Replace calls to c_val_print
4531 by calls to val_print.
4533 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4535 * ada-valprint.c (print_record): Delete declaration.
4536 (adjust_type_signedness, ada_val_print_1): Likewise.
4537 (ada_val_print): Move function implementation down.
4538 (print_variant_part, print_field_values, print_record):
4539 Move function implementation up.
4541 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4543 * python/py-type.c (typy_get_name): New function.
4544 (type_object_getset): Add entry for attribute "name".
4545 * NEWS: Add entry mentioning this new attribute.
4547 2014-01-07 Yao Qi <yao@codesourcery.com>
4549 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
4552 2014-01-07 Yao Qi <yao@codesourcery.com>
4554 * gnu-nat.c (info_port_rights): Add qualifier const to
4557 2014-01-07 Yao Qi <yao@codesourcery.com>
4559 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
4561 2014-01-07 Yao Qi <yao@codesourcery.com>
4563 * gnu-nat.c (make_inf) Update declaration.
4564 (make_inf): Make it static.
4565 (inf_set_traced): Likewise.
4566 (inf_port_to_thread, inf_task_died_status): Likewise.
4568 2014-01-07 Yao Qi <yao@codesourcery.com>
4570 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
4572 2014-01-07 Yao Qi <yao@codesourcery.com>
4574 * gnu-nat.c (_initialize_gnu_nat): Declare.
4576 2014-01-07 Yao Qi <yao@codesourcery.com>
4578 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
4580 (struct gdbarch_info) <byte_order>: Change type to
4582 <byte_order_for_code>: Likewise.
4583 * gdbarch.c, gdbarch.h: Regenerated.
4585 2014-01-06 Sasha Smundak <asmundak@google.com>
4587 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
4589 2014-01-06 Tom Tromey <tromey@redhat.com>
4591 * doublest.c (convert_doublest_to_floatformat): Use const, not
4593 * somread.c (som_symtab_read): Likewise.
4595 2014-01-07 Hui Zhu <hui@codesourcery.com>
4597 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
4598 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
4599 (gdb_bfd_fopen): Ditto.
4600 (gdb_bfd_openr): Ditto.
4601 (gdb_bfd_openw): Ditto.
4602 (gdb_bfd_openr_iovec): Ditto.
4603 (gdb_bfd_fdopenr): Ditto.
4604 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
4605 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
4607 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
4609 * symfile-mem.c (symbol_file_add_from_memory): Removed
4610 gdb_bfd_stash_filename.
4612 2014-01-03 Doug Evans <dje@google.com>
4614 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
4617 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4619 Update year range in copyright notice of all files.
4621 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4623 * top.c (print_gdb_version): Set copyright year to 2014.
4625 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4627 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
4629 For older changes see ChangeLog-2013.
4635 version-control: never