1 2014-02-19 Tom Tromey <tromey@redhat.com>
3 * target-delegates.c: Rebuild.
4 * target.c (update_current_target): Don't inherit or default
6 * target.h (struct target_ops) <to_can_use_agent>: Use
9 2014-02-19 Tom Tromey <tromey@redhat.com>
11 * target-delegates.c: Rebuild.
12 * target.c (update_current_target): Don't inherit or default
14 * target.h (struct target_ops) <to_use_agent>: Use
15 TARGET_DEFAULT_NORETURN.
17 2014-02-19 Tom Tromey <tromey@redhat.com>
19 * target-delegates.c: Rebuild.
20 * target.c (update_current_target): Don't inherit or default
22 (return_null): Remove.
23 * target.h (struct target_ops) <to_traceframe_info>: Use
24 TARGET_DEFAULT_RETURN.
26 2014-02-19 Tom Tromey <tromey@redhat.com>
28 * target-delegates.c: Rebuild.
29 * target.c (update_current_target): Don't inherit or default
30 to_static_tracepoint_markers_by_strid.
31 * target.h (struct target_ops)
32 <to_static_tracepoint_markers_by_strid>: Use
33 TARGET_DEFAULT_NORETURN.
35 2014-02-19 Tom Tromey <tromey@redhat.com>
37 * target-delegates.c: Rebuild.
38 * target.c (update_current_target): Don't inherit or default
39 to_static_tracepoint_marker_at.
40 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
41 Use TARGET_DEFAULT_RETURN.
43 2014-02-19 Tom Tromey <tromey@redhat.com>
45 * target-delegates.c: Rebuild.
46 * target.c (update_current_target): Don't inherit or default
48 * target.h (struct target_ops) <to_set_permissions>: Use
49 TARGET_DEFAULT_IGNORE.
51 2014-02-19 Tom Tromey <tromey@redhat.com>
53 * target-delegates.c: Rebuild.
54 * target.c (update_current_target): Don't inherit or default
56 * target.h (struct target_ops) <to_get_tib_address>: Use
57 TARGET_DEFAULT_NORETURN.
59 2014-02-19 Tom Tromey <tromey@redhat.com>
61 * target-delegates.c: Rebuild.
62 * target.c (update_current_target): Don't inherit or default
64 * target.h (struct target_ops) <to_set_trace_notes>: Use
65 TARGET_DEFAULT_RETURN.
67 2014-02-19 Tom Tromey <tromey@redhat.com>
69 * target-delegates.c: Rebuild.
70 * target.c (update_current_target): Don't initialize
71 to_set_trace_buffer_size.
72 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
73 TARGET_DEFAULT_IGNORE.
75 2014-02-19 Tom Tromey <tromey@redhat.com>
77 * target-delegates.c: Rebuild.
78 * target.c (update_current_target): Don't inherit or default
79 to_set_circular_trace_buffer.
80 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
81 TARGET_DEFAULT_IGNORE.
83 2014-02-19 Tom Tromey <tromey@redhat.com>
85 * target-delegates.c: Rebuild.
86 * target.c (update_current_target): Don't inherit or default
87 to_set_disconnected_tracing.
88 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
89 TARGET_DEFAULT_IGNORE.
91 2014-02-19 Tom Tromey <tromey@redhat.com>
93 * target-delegates.c: Rebuild.
94 * target.c (update_current_target): Don't inherit or default
95 to_get_min_fast_tracepoint_insn_len.
96 (return_minus_one): Remove.
97 * target.h (struct target_ops)
98 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
100 2014-02-19 Tom Tromey <tromey@redhat.com>
102 * target-delegates.c: Rebuild.
103 * target.c (update_current_target): Don't inherit or default
104 to_get_raw_trace_data.
105 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
106 TARGET_DEFAULT_NORETURN.
108 2014-02-19 Tom Tromey <tromey@redhat.com>
110 * target-delegates.c: Rebuild.
111 * target.c (update_current_target): Don't inherit or default
112 to_upload_trace_state_variables.
113 * target.h (struct target_ops) <to_upload_trace_state_variables>:
114 Use TARGET_DEFAULT_RETURN.
116 2014-02-19 Tom Tromey <tromey@redhat.com>
118 * target-delegates.c: Rebuild.
119 * target.c (update_current_target): Don't inherit or default
120 to_upload_tracepoints.
121 * target.h (struct target_ops) <to_upload_tracepoints>: Use
122 TARGET_DEFAULT_RETURN.
124 2014-02-19 Tom Tromey <tromey@redhat.com>
126 * target-delegates.c: Rebuild.
127 * target.c (update_current_target): Don't inherit or default
129 * target.h (struct target_ops) <to_save_trace_data>: Use
130 TARGET_DEFAULT_NORETURN.
132 2014-02-19 Tom Tromey <tromey@redhat.com>
134 * target-delegates.c: Rebuild.
135 * target.c (update_current_target): Don't inherit or default
136 to_get_trace_state_variable_value.
137 * target.h (struct target_ops)
138 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
140 2014-02-19 Tom Tromey <tromey@redhat.com>
142 * target-delegates.c: Rebuild.
143 * target.c (update_current_target): Don't inherit or default
145 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
147 2014-02-19 Tom Tromey <tromey@redhat.com>
149 * target-delegates.c: Rebuild.
150 * target.c (update_current_target): Don't inherit or default
152 * target.h (struct target_ops) <to_trace_stop>: Use
153 TARGET_DEFAULT_NORETURN.
155 2014-02-19 Tom Tromey <tromey@redhat.com>
157 * target-delegates.c: Rebuild.
158 * target.c (update_current_target): Don't inherit or default
159 to_get_tracepoint_status.
160 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
161 TARGET_DEFAULT_NORETURN.
163 2014-02-19 Tom Tromey <tromey@redhat.com>
165 * target-delegates.c: Rebuild.
166 * target.c (update_current_target): Don't inherit or default
168 * target.h (struct target_ops) <to_get_trace_status>: Use
169 TARGET_DEFAULT_RETURN.
171 2014-02-19 Tom Tromey <tromey@redhat.com>
173 * target-delegates.c: Rebuild.
174 * target.c (update_current_target): Don't inherit or default
176 * target.h (struct target_ops) <to_trace_start>: Use
177 TARGET_DEFAULT_NORETURN.
179 2014-02-19 Tom Tromey <tromey@redhat.com>
181 * target-delegates.c: Rebuild.
182 * target.c (update_current_target): Don't inherit or default
183 to_trace_set_readonly_regions.
184 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
185 Use TARGET_DEFAULT_NORETURN.
187 2014-02-19 Tom Tromey <tromey@redhat.com>
189 * target-delegates.c: Rebuild.
190 * target.c (update_current_target): Don't inherit or default
191 to_disable_tracepoint.
192 * target.h (struct target_ops) <to_disable_tracepoint>: Use
193 TARGET_DEFAULT_NORETURN.
195 2014-02-19 Tom Tromey <tromey@redhat.com>
197 * target-delegates.c: Rebuild.
198 * target.c (update_current_target): Don't inherit or default
199 to_enable_tracepoint.
200 * target.h (struct target_ops) <to_enable_tracepoint>: Use
201 TARGET_DEFAULT_NORETURN.
203 2014-02-19 Tom Tromey <tromey@redhat.com>
205 * target-delegates.c: Rebuild.
206 * target.c (update_current_target): Don't inherit or default
207 to_download_trace_state_variable.
208 * target.h (struct target_ops) <to_download_trace_state_variable>:
209 Use TARGET_DEFAULT_NORETURN.
211 2014-02-19 Tom Tromey <tromey@redhat.com>
213 * target-delegates.c: Rebuild.
214 * target.c (update_current_target): Don't inherit or default
215 to_can_download_tracepoint.
216 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
217 TARGET_DEFAULT_RETURN.
219 2014-02-19 Tom Tromey <tromey@redhat.com>
221 * target-delegates.c: Rebuild.
222 * target.c (update_current_target): Don't inherit or default
223 to_download_tracepoint.
224 * target.h (struct target_ops) <to_download_tracepoint>: 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_trace_init>: Use
233 TARGET_DEFAULT_RETURN.
235 2014-02-19 Tom Tromey <tromey@redhat.com>
237 * target-delegates.c: Rebuild.
238 * target.c (update_current_target): Don't inherit or default
239 to_supports_string_tracing.
240 * target.h (struct target_ops) <to_supports_string_tracing>: Use
241 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_enable_disable_tracepoint.
248 * target.h (struct target_ops)
249 <to_supports_enable_disable_tracepoint>: 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_supports_multi_process.
257 * target.h (struct target_ops) <to_supports_multi_process>: Use
258 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
264 to_get_ada_task_ptid.
265 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
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
272 to_thread_architecture.
273 * target.h (struct target_ops) <to_thread_architecture>: Use
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
280 to_execution_direction.
281 * target.h (struct target_ops) <to_execution_direction>: Use
284 2014-02-19 Tom Tromey <tromey@redhat.com>
286 * target-delegates.c: Rebuild.
287 * target.c (update_current_target): Don't inherit or default
288 to_can_execute_reverse.
289 * target.h (struct target_ops) <to_can_execute_reverse>: Use
290 TARGET_DEFAULT_RETURN.
291 (target_can_execute_reverse): Unconditionally delegate.
293 2014-02-19 Tom Tromey <tromey@redhat.com>
295 * target-delegates.c: Rebuild.
296 * target.c (update_current_target): Don't inherit or default
298 (dummy_goto_bookmark): Remove.
299 (init_dummy_target): Don't inherit or default to_goto_bookmark.
300 * target.h (struct target_ops) <to_goto_bookmark>: Use
301 TARGET_DEFAULT_NORETURN.
303 2014-02-19 Tom Tromey <tromey@redhat.com>
305 * target-delegates.c: Rebuild.
306 * target.c (update_current_target): Don't inherit or default
308 (dummy_get_bookmark): Remove.
309 (init_dummy_target): Don't inherit or default to_get_bookmark.
310 * target.h (struct target_ops) <to_get_bookmark>: Use
311 TARGET_DEFAULT_NORETURN
313 2014-02-19 Tom Tromey <tromey@redhat.com>
315 * target-delegates.c: Rebuild.
316 * target.c (update_current_target): Don't inherit or default
317 to_make_corefile_notes.
318 (init_dummy_target): Don't initialize to_make_corefile_notes.
319 * target.h (struct target_ops) <to_make_corefile_notes>: Use
322 2014-02-19 Tom Tromey <tromey@redhat.com>
324 * target-delegates.c: Rebuild.
325 * target.c (update_current_target): Don't inherit or default
326 to_find_memory_regions.
327 (init_dummy_target): Don't initialize to_find_memory_regions.
328 * target.h (struct target_ops) <to_find_memory_regions>: Use
331 2014-02-19 Tom Tromey <tromey@redhat.com>
333 * target-delegates.c: Rebuild.
334 * target.c (update_current_target): Don't inherit or default
336 * target.h (struct target_ops) <to_log_command>: Use
337 TARGET_DEFAULT_IGNORE.
338 (target_log_command): Unconditionally delegate.
340 2014-02-19 Tom Tromey <tromey@redhat.com>
342 * target-delegates.c: Rebuild.
343 * target.c (update_current_target): Don't inherit or default
345 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
346 TARGET_DEFAULT_RETURN.
348 2014-02-19 Tom Tromey <tromey@redhat.com>
350 * target-delegates.c: Rebuild.
351 * target.c (update_current_target): Don't inherit or default
353 (target_thread_name): Unconditionally delegate.
354 * target.h (struct target_ops) <to_thread_name>: Use
355 TARGET_DEFAULT_RETURN.
357 2014-02-19 Tom Tromey <tromey@redhat.com>
359 * target-delegates.c: Rebuild.
360 * target.c (update_current_target): Don't inherit or default
361 to_extra_thread_info.
362 * target.h (struct target_ops) <to_extra_thread_info>: Use
363 TARGET_DEFAULT_RETURN.
365 2014-02-19 Tom Tromey <tromey@redhat.com>
367 * target-delegates.c: Rebuild.
368 * target.c (update_current_target): Don't inherit or default
370 * target.h (struct target_ops) <to_has_exited>: Use
371 TARGET_DEFAULT_RETURN..
373 2014-02-19 Tom Tromey <tromey@redhat.com>
375 * target-delegates.c: Rebuild.
376 * target.c (update_current_target): Don't inherit or default
377 to_set_syscall_catchpoint.
378 (return_one): Remove.
379 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
380 TARGET_DEFAULT_RETURN.
382 2014-02-19 Tom Tromey <tromey@redhat.com>
384 * target-delegates.c: Rebuild.
385 * target.c (update_current_target): Don't inherit or default
386 to_insert_exec_catchpoint.
387 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
388 TARGET_DEFAULT_RETURN.
390 2014-01-08 Tom Tromey <tromey@redhat.com>
392 * target-delegates.c: Rebuild.
393 * target.c (update_current_target): Don't inherit or default
394 to_insert_exec_catchpoint.
395 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
396 TARGET_DEFAULT_RETURN.
398 2014-02-19 Tom Tromey <tromey@redhat.com>
400 * target-delegates.c: Rebuild.
401 * target.c (update_current_target): Don't inherit or default
402 to_remove_vfork_catchpoint.
403 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
404 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
410 to_insert_vfork_catchpoint.
411 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
412 TARGET_DEFAULT_RETURN.
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_remove_fork_catchpoint.
419 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
420 TARGET_DEFAULT_RETURN.
422 2014-02-19 Tom Tromey <tromey@redhat.com>
424 * target-delegates.c: Rebuild.
425 * target.c (update_current_target): Don't inherit or default
426 to_insert_fork_catchpoint.
427 * target.h (struct target_ops) <to_insert_fork_catchpoint>: 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
434 to_post_startup_inferior.
435 * target.h (struct target_ops) <to_post_startup_inferior>: Use
436 TARGET_DEFAULT_IGNORE.
438 2014-02-19 Tom Tromey <tromey@redhat.com>
440 * target-delegates.c: Rebuild.
441 * target.c (update_current_target): Don't inherit or default
443 * target.h (struct target_ops) <to_load>: Use
444 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
451 * target.h (struct target_ops) <to_terminal_info>: Use
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_terminal_save_ours.
459 * target.h (struct target_ops) <to_terminal_save_ours>: Use
460 TARGET_DEFAULT_IGNORE.
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
467 * target.h (struct target_ops) <to_terminal_ours>: Use
468 TARGET_DEFAULT_IGNORE.
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_terminal_ours_for_output.
475 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
476 TARGET_DEFAULT_IGNORE.
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_terminal_inferior.
483 * target.h (struct target_ops) <to_terminal_inferior>: Use
484 TARGET_DEFAULT_IGNORE.
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_terminal_init>: Use
492 TARGET_DEFAULT_IGNORE.
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_can_accel_watchpoint_condition.
499 * target.h (struct target_ops)
500 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
502 2014-02-19 Tom Tromey <tromey@redhat.com>
504 * target-delegates.c: Rebuild.
505 * target.c (update_current_target): Don't inherit or default
506 to_region_ok_for_hw_watchpoint.
507 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
508 Use TARGET_DEFAULT_FUNC.
510 2014-02-19 Tom Tromey <tromey@redhat.com>
512 * target-delegates.c: Rebuild.
513 * target.c (update_current_target): Don't inherit or default
514 to_watchpoint_addr_within_range.
515 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
516 Use TARGET_DEFAULT_FUNC.
518 2014-02-19 Tom Tromey <tromey@redhat.com>
520 * target-delegates.c: Rebuild.
521 * target.c (update_current_target): Don't inherit or default
522 to_remove_watchpoint.
523 * target.h (struct target_ops) <to_remove_watchpoint>: Use
524 TARGET_DEFAULT_NORETURN.
526 2014-02-19 Tom Tromey <tromey@redhat.com>
528 * target-delegates.c: Rebuild.
529 * target.c (update_current_target): Don't inherit or default
530 to_insert_watchpoint.
531 * target.h (struct target_ops) <to_insert_watchpoint>: Use
532 TARGET_DEFAULT_RETURN.
534 2014-02-19 Tom Tromey <tromey@redhat.com>
536 * target-delegates.c: Rebuild.
537 * target.c (update_current_target): Don't inherit or default
538 to_remove_hw_breakpoint.
539 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
540 TARGET_DEFAULT_RETURN.
542 2014-02-19 Tom Tromey <tromey@redhat.com>
544 * target-delegates.c: Rebuild.
545 * target.c (update_current_target): Don't inherit or default
546 to_insert_hw_breakpoint.
547 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
548 TARGET_DEFAULT_RETURN.
550 2014-02-19 Tom Tromey <tromey@redhat.com>
552 * target-delegates.c: Rebuild.
553 * target.c (update_current_target): Don't inherit or default
554 to_can_use_hw_breakpoint.
555 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
556 TARGET_DEFAULT_RETURN.
558 2014-02-19 Tom Tromey <tromey@redhat.com>
560 * target-delegates.c: Rebuild.
561 * target.c (update_current_target): Don't inherit or default
563 * target.h (struct target_ops) <to_files_info>: Use
564 TARGET_DEFAULT_IGNORE.
566 2014-02-19 Tom Tromey <tromey@redhat.com>
568 * target-delegates.c: Rebuild.
569 * target.c (update_current_target): Don't inherit or default
571 * target.h (struct target_ops) <to_store>: Use
572 TARGET_DEFAULT_NORETURN.
574 2014-02-19 Tom Tromey <tromey@redhat.com>
576 * target-delegates.c: Rebuild.
577 * target.c (update_current_target): Don't inherit or default
579 * target.h (struct target_ops) <to_post_attach>: Use
580 TARGET_DEFAULT_IGNORE.
582 2014-02-19 Tom Tromey <tromey@redhat.com>
584 * target-delegates.c: Rebuild.
585 * target.c (update_current_target): Don't inherit or default
587 (default_rcmd): New function.
588 (do_monitor_command): Unconditionally delegate.
589 * target.h (struct target_ops) <to_rmcd>: Use
592 2014-02-19 Tom Tromey <tromey@redhat.com>
594 * target-delegates.c: Rebuild.
595 * target.c (init_dummy_target): Don't initialize to_attach.
596 (target_attach): Unconditionally delegate.
597 * target.h (struct target_ops) <to_attach>: Use
600 2014-02-19 Tom Tromey <tromey@redhat.com>
602 * target-delegates.c: Rebuild.
603 * target.c (target_detach): Unconditionally delegate.
604 (init_dummy_target): Don't initialize to_detach.
605 * target.h (struct target_ops) <to_detach>: Use
606 TARGET_DEFAULT_IGNORE.
608 2014-02-19 Tom Tromey <tromey@redhat.com>
610 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
612 (target_augmented_libraries_svr4_read): Add argument.
613 * target.c (update_current_target): Update.
614 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
617 2014-02-19 Tom Tromey <tromey@redhat.com>
619 * target.h (struct target_ops) <to_call_history_range>: Add
621 * target.c (target_call_history_range): Add argument.
622 * record-btrace.c (record_btrace_call_history_range): Add 'self'
624 (record_btrace_call_history_from): Update.
626 2014-02-19 Tom Tromey <tromey@redhat.com>
628 * target.h (struct target_ops) <to_call_history_from>: Add
630 * target.c (target_call_history_from): Add argument.
631 * record-btrace.c (record_btrace_call_history_from): Add 'self'
634 2014-02-19 Tom Tromey <tromey@redhat.com>
636 * target.h (struct target_ops) <to_call_history>: Add argument.
637 * target.c (target_call_history): Add argument.
638 * record-btrace.c (record_btrace_call_history): Add 'self'
641 2014-02-19 Tom Tromey <tromey@redhat.com>
643 * target.h (struct target_ops) <to_insn_history_range>: Add
645 * target.c (target_insn_history_range): Add argument.
646 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
648 (record_btrace_insn_history_from): Update.
650 2014-02-19 Tom Tromey <tromey@redhat.com>
652 * target.h (struct target_ops) <to_insn_history_from>: Add
654 * target.c (target_insn_history_from): Add argument.
655 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
658 2014-02-19 Tom Tromey <tromey@redhat.com>
660 * target.h (struct target_ops) <to_insn_history>: Add argument.
661 * target.c (target_insn_history): Add argument.
662 * record-btrace.c (record_btrace_insn_history): Add 'self'
665 2014-02-19 Tom Tromey <tromey@redhat.com>
667 * target.h (struct target_ops) <to_goto_record>: Add argument.
668 * target.c (target_goto_record): Add argument.
669 * record-full.c (record_full_goto): Add 'self' argument.
670 * record-btrace.c (record_btrace_goto): Add 'self' argument.
672 2014-02-19 Tom Tromey <tromey@redhat.com>
674 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
675 * target.c (target_goto_record_end): Add argument.
676 * record-full.c (record_full_goto_end): Add 'self' argument.
677 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
679 2014-02-19 Tom Tromey <tromey@redhat.com>
681 * target.h (struct target_ops) <to_goto_record_begin>: Add
683 * target.c (target_goto_record_begin): Add argument.
684 * record-full.c (record_full_goto_begin): Add 'self' argument.
685 * record-btrace.c (record_btrace_goto_begin): Add 'self'
688 2014-02-19 Tom Tromey <tromey@redhat.com>
690 * target.h (struct target_ops) <to_record_is_replaying>: Add
692 * target.c (target_record_is_replaying): Add argument.
693 * record-full.c (record_full_is_replaying): Add 'self' argument.
694 * record-btrace.c (record_btrace_is_replaying): Add 'self'
696 (record_btrace_xfer_partial, record_btrace_store_registers)
697 (record_btrace_prepare_to_store, record_btrace_resume)
698 (record_btrace_wait, record_btrace_decr_pc_after_break)
699 (record_btrace_find_new_threads, record_btrace_thread_alive):
702 2014-02-19 Tom Tromey <tromey@redhat.com>
704 * target.h (struct target_ops) <to_delete_record>: Add argument.
705 * target.c (target_delete_record): Add argument.
706 * record-full.c (record_full_delete): Add 'self' argument.
708 2014-02-19 Tom Tromey <tromey@redhat.com>
710 * target.h (struct target_ops) <to_save_record>: Add argument.
711 * target.c (target_save_record): Add argument.
712 * record-full.c (record_full_save): Add 'self' argument.
713 (record_full_save): Add 'self' argument.
715 2014-02-19 Tom Tromey <tromey@redhat.com>
717 * target.h (struct target_ops) <to_info_record>: Add argument.
718 * target.c (target_info_record): Add argument.
719 * record.c (info_record_command): Add argument.
720 * record-full.c (record_full_info): Add 'self' argument.
721 * record-btrace.c (record_btrace_info): Add 'self' argument.
723 2014-02-19 Tom Tromey <tromey@redhat.com>
725 * target.h (struct target_ops) <to_stop_recording>: Add argument.
726 * target.c (target_stop_recording): Add argument.
727 * record.c (record_stop): Add argument.
728 * record-btrace.c (record_btrace_stop_recording): Add 'self'
731 2014-02-19 Tom Tromey <tromey@redhat.com>
733 * target.h (struct target_ops) <to_read_btrace>: Add argument.
734 * target.c (struct target_ops) <to_read_btrace>: Add argument.
735 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
737 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
738 (_initialize_amd64_linux_nat): Use it.
739 * i386-linux-nat.c (i386_linux_read_btrace): New function.
740 (_initialize_i386_linux_nat): Use it.
742 2014-02-19 Tom Tromey <tromey@redhat.com>
744 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
745 * target.c (target_teardown_btrace): Add argument.
746 * remote.c (remote_teardown_btrace): Add 'self' argument.
747 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
749 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
752 2014-02-19 Tom Tromey <tromey@redhat.com>
754 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
755 * target.c (target_disable_btrace): Add argument.
756 * remote.c (remote_disable_btrace): Add 'self' argument.
757 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
759 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
762 2014-02-19 Tom Tromey <tromey@redhat.com>
764 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
765 * target.c (target_enable_btrace): Add argument.
766 * remote.c (remote_enable_btrace): Add 'self' argument.
767 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
769 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
772 2014-02-19 Tom Tromey <tromey@redhat.com>
774 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
775 (target_can_use_agent): Add argument.
776 * target.c (update_current_target): Update.
777 * remote.c (remote_can_use_agent): Add 'self' argument.
778 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
780 2014-02-19 Tom Tromey <tromey@redhat.com>
782 * target.h (struct target_ops) <to_use_agent>: Add argument.
783 (target_use_agent): Add argument.
784 * target.c (update_current_target): Update.
785 * remote.c (remote_use_agent): Add 'self' argument.
786 * inf-child.c (inf_child_use_agent): Add 'self' argument.
788 2014-02-19 Tom Tromey <tromey@redhat.com>
790 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
791 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
792 (target_traceframe_info): Add argument.
793 * target.c (update_current_target): Update.
794 * remote.c (remote_traceframe_info): Add 'self' argument.
795 * ctf.c (ctf_traceframe_info): Add 'self' argument.
797 2014-02-19 Tom Tromey <tromey@redhat.com>
799 * target.h (target_static_tracepoint_markers_by_strid): Add
801 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
803 * target.c (update_current_target): Update.
804 * remote.c (struct target_ops)
805 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
806 * linux-nat.c (struct target_ops)
807 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
809 2014-02-19 Tom Tromey <tromey@redhat.com>
811 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
813 (target_static_tracepoint_marker_at): Add argument.
814 * target.c (update_current_target): Update.
815 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
818 2014-02-19 Tom Tromey <tromey@redhat.com>
820 * target.h (struct target_ops) <to_set_permissions>: Add argument.
821 (target_set_permissions): Add argument.
822 * target.c (update_current_target): Update.
823 * remote.c (remote_set_permissions): Add 'self' argument.
824 (remote_start_remote): Update.
826 2014-02-19 Tom Tromey <tromey@redhat.com>
828 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
829 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
830 (target_get_tib_address): Add argument.
831 * target.c (update_current_target): Update.
832 * remote.c (remote_get_tib_address): Add 'self' argument.
834 2014-02-19 Tom Tromey <tromey@redhat.com>
836 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
837 (target_set_trace_notes): Add argument.
838 * target.c (update_current_target): Update.
839 * remote.c (remote_set_trace_notes): Add 'self' argument.
841 2014-02-19 Tom Tromey <tromey@redhat.com>
843 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
845 (target_set_trace_buffer_size): Add argument.
846 * target.c (update_current_target): Update.
847 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
849 2014-02-19 Tom Tromey <tromey@redhat.com>
851 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
853 (target_set_circular_trace_buffer): Add argument.
854 * target.c (update_current_target): Update.
855 * remote.c (remote_set_circular_trace_buffer): Add 'self'
858 2014-02-19 Tom Tromey <tromey@redhat.com>
860 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
862 (target_set_disconnected_tracing): Add argument.
863 * target.c (update_current_target): Update.
864 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
866 2014-02-19 Tom Tromey <tromey@redhat.com>
868 * target.h (struct target_ops)
869 <to_get_min_fast_tracepoint_insn_len>: Add argument.
870 (target_get_min_fast_tracepoint_insn_len): Add argument.
871 * target.c (update_current_target): Update.
872 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
875 2014-02-19 Tom Tromey <tromey@redhat.com>
877 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
879 (target_get_raw_trace_data): Add argument.
880 * target.c (update_current_target): Update.
881 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
883 2014-02-19 Tom Tromey <tromey@redhat.com>
885 * target.h (struct target_ops) <to_upload_trace_state_variables>:
887 (target_upload_trace_state_variables): Add argument.
888 * target.c (update_current_target): Update.
889 * remote.c (remote_upload_trace_state_variables): Add 'self'
891 (remote_start_remote): Update.
893 2014-02-19 Tom Tromey <tromey@redhat.com>
895 * target.h (struct target_ops) <to_upload_tracepoints>: Add
897 (target_upload_tracepoints): Add argument.
898 * target.c (update_current_target): Update.
899 * remote.c (remote_upload_tracepoints): Add 'self' argument.
900 (remote_start_remote): Update.
902 2014-02-19 Tom Tromey <tromey@redhat.com>
904 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
905 (target_save_trace_data): Add argument.
906 * target.c (update_current_target): Update.
907 * remote.c (remote_save_trace_data): Add 'self' argument.
909 2014-02-19 Tom Tromey <tromey@redhat.com>
911 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
913 * target.h (struct target_ops)
914 <to_get_trace_state_variable_value>: Add argument.
915 (target_get_trace_state_variable_value): Add argument.
916 * target.c (update_current_target): Update.
917 * remote.c (remote_get_trace_state_variable_value): Add 'self'
919 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
921 2014-02-19 Tom Tromey <tromey@redhat.com>
923 * tracepoint.c (tfile_trace_find): Add 'self' argument.
924 * target.h (struct target_ops) <to_trace_find>: Add argument.
925 (target_trace_find): Add argument.
926 * target.c (update_current_target): Update.
927 * remote.c (remote_trace_find): Add 'self' argument.
928 * ctf.c (ctf_trace_find): Add 'self' argument.
930 2014-02-19 Tom Tromey <tromey@redhat.com>
932 * target.h (struct target_ops) <to_trace_stop>: Add argument.
933 (target_trace_stop): Add argument.
934 * target.c (update_current_target): Update.
935 * remote.c (remote_trace_stop): Add 'self' argument.
937 2014-02-19 Tom Tromey <tromey@redhat.com>
939 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
940 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
942 (target_get_tracepoint_status): Add argument.
943 * target.c (update_current_target): Update.
944 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
946 2014-02-19 Tom Tromey <tromey@redhat.com>
948 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
949 * target.h (struct target_ops) <to_get_trace_status>: Add
951 (target_get_trace_status): Add argument.
952 * target.c (update_current_target): Update.
953 * remote.c (remote_get_trace_status): Add 'self' argument.
954 (remote_start_remote, remote_can_download_tracepoint): Update.
955 * ctf.c (ctf_get_trace_status): Add 'self' argument.
957 2014-02-19 Tom Tromey <tromey@redhat.com>
959 * target.h (struct target_ops) <to_trace_start>: Add argument.
960 (target_trace_start): Add argument.
961 * target.c (update_current_target): Update.
962 * remote.c (remote_trace_start): Add 'self' argument.
964 2014-02-19 Tom Tromey <tromey@redhat.com>
966 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
968 (target_trace_set_readonly_regions): Add argument.
969 * target.c (update_current_target): Update.
970 * remote.c (remote_trace_set_readonly_regions): Add 'self'
973 2014-02-19 Tom Tromey <tromey@redhat.com>
975 * target.h (struct target_ops) <to_disable_tracepoint>: Add
977 (target_disable_tracepoint): Add argument.
978 * target.c (update_current_target): Update.
979 * remote.c (remote_disable_tracepoint): Add 'self' argument.
981 2014-02-19 Tom Tromey <tromey@redhat.com>
983 * target.h (struct target_ops) <to_enable_tracepoint>: Add
985 (target_enable_tracepoint): Add argument.
986 * target.c (update_current_target): Update.
987 * remote.c (remote_enable_tracepoint): Add 'self' argument.
989 2014-02-19 Tom Tromey <tromey@redhat.com>
991 * target.h (struct target_ops) <to_download_trace_state_variable>:
993 (target_download_trace_state_variable): Add argument.
994 * target.c (update_current_target): Update.
995 * remote.c (remote_download_trace_state_variable): Add 'self'
998 2014-02-19 Tom Tromey <tromey@redhat.com>
1000 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
1002 (target_can_download_tracepoint): Add argument.
1003 * target.c (update_current_target): Update.
1004 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
1006 2014-02-19 Tom Tromey <tromey@redhat.com>
1008 * target.h (struct target_ops) <to_download_tracepoint>: Add
1010 (target_download_tracepoint): Add argument.
1011 * target.c (update_current_target): Update.
1012 * remote.c (remote_download_tracepoint): Add 'self' argument.
1014 2014-02-19 Tom Tromey <tromey@redhat.com>
1016 * target.h (struct target_ops) <to_trace_init>: Add argument.
1017 (target_trace_init): Add argument.
1018 * target.c (update_current_target): Update.
1019 * remote.c (remote_trace_init): Add 'self' argument.
1021 2014-02-19 Tom Tromey <tromey@redhat.com>
1023 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1024 * target.c (target_fileio_readlink): Add argument.
1025 * remote.c (remote_hostio_readlink): Add 'self' argument.
1026 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1028 2014-02-19 Tom Tromey <tromey@redhat.com>
1030 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1031 * target.c (target_fileio_unlink): Add argument.
1032 * remote.c (remote_hostio_unlink): Add 'self' argument.
1033 (remote_file_delete): Update.
1034 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1036 2014-02-19 Tom Tromey <tromey@redhat.com>
1038 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1039 * target.c (target_fileio_close): Add argument.
1040 * remote.c (remote_hostio_close): Add 'self' argument.
1041 (remote_hostio_close_cleanup): Update.
1042 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1044 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1046 2014-02-19 Tom Tromey <tromey@redhat.com>
1048 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1049 * target.c (target_fileio_pread): Add argument.
1050 * remote.c (remote_hostio_pread): Add 'self' argument.
1051 (remote_bfd_iovec_pread, remote_file_get): Update.
1052 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1054 2014-02-19 Tom Tromey <tromey@redhat.com>
1056 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1057 * target.c (target_fileio_pwrite): Add argument.
1058 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1059 (remote_file_put): Update.
1060 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1062 2014-02-19 Tom Tromey <tromey@redhat.com>
1064 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1065 * target.c (target_fileio_open): Add argument.
1066 * remote.c (remote_hostio_open): Add 'self' argument.
1067 (remote_bfd_iovec_open): Add 'self' argument.
1068 (remote_file_put): Add 'self' argument.
1069 (remote_file_get): Add 'self' argument.
1070 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1072 2014-02-19 Tom Tromey <tromey@redhat.com>
1074 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1076 (target_can_run_breakpoint_commands): Add argument.
1077 * target.c (update_current_target): Update.
1078 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1080 (remote_insert_breakpoint): Add 'self' argument.
1081 (remote_insert_hw_breakpoint): Add 'self' argument.
1082 (remote_can_run_breakpoint_commands): Add 'self' argument.
1084 2014-02-19 Tom Tromey <tromey@redhat.com>
1086 * target.h (struct target_ops)
1087 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1088 (target_supports_evaluation_of_breakpoint_conditions): Add
1090 * target.c (update_current_target): Update.
1091 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1093 (remote_insert_breakpoint): Add 'self' argument.
1094 (remote_insert_hw_breakpoint): Add 'self' argument.
1095 (remote_supports_cond_breakpoints): Add 'self' argument.
1097 2014-02-19 Tom Tromey <tromey@redhat.com>
1099 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1101 (target_supports_string_tracing): Add argument.
1102 * target.c (update_current_target): Update.
1103 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1105 2014-02-19 Tom Tromey <tromey@redhat.com>
1107 * target.h (struct target_ops)
1108 <to_supports_disable_randomization>: Add argument.
1109 * target.c (find_default_supports_disable_randomization): Add
1111 (target_supports_disable_randomization): Add argument.
1112 (find_default_supports_disable_randomization): Add 'self'
1114 * remote.c (extended_remote_supports_disable_randomization): Add
1116 (remote_supports_disable_randomization): Add 'self' argument.
1117 (extended_remote_create_inferior): Update.
1118 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1121 2014-02-19 Tom Tromey <tromey@redhat.com>
1123 * target.h (struct target_ops)
1124 <to_supports_enable_disable_tracepoint>: Add argument.
1125 (target_supports_enable_disable_tracepoint): Add argument.
1126 * target.c (update_current_target): Update.
1127 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1130 2014-02-19 Tom Tromey <tromey@redhat.com>
1132 * target.h (struct target_ops) <to_supports_multi_process>: Add
1134 (target_supports_multi_process): Add argument.
1135 * target.c (update_current_target): Update.
1136 * remote.c (remote_supports_multi_process): Add 'self' argument.
1137 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1139 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1142 2014-02-19 Tom Tromey <tromey@redhat.com>
1144 * target.h (struct target_ops) <to_execution_direction>: Add
1146 (target_execution_direction): Add argument.
1147 * target.c (default_execution_direction): Add 'self' argument.
1148 * record-full.c (record_full_execution_direction): Add 'self'
1151 2014-02-19 Tom Tromey <tromey@redhat.com>
1153 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1155 (target_can_execute_reverse): Add argument.
1156 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1157 * record-full.c (record_full_can_execute_reverse): Add 'self'
1159 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1162 2014-02-19 Tom Tromey <tromey@redhat.com>
1164 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1165 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1167 (target_get_ada_task_ptid): Add argument.
1168 * target.c (update_current_target): Update.
1169 (default_get_ada_task_ptid): Add 'self' argument.
1170 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1171 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1172 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1174 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1176 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1178 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1180 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1181 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1184 2014-02-19 Tom Tromey <tromey@redhat.com>
1186 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1187 (target_goto_bookmark): Add argument.
1188 * target.c (dummy_goto_bookmark): Add 'self' argument.
1189 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1191 2014-02-19 Tom Tromey <tromey@redhat.com>
1193 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1194 (target_get_bookmark): Add argument.
1195 * target.c (dummy_get_bookmark): Add 'self' argument.
1196 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1198 2014-02-19 Tom Tromey <tromey@redhat.com>
1200 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1202 (target_make_corefile_notes): Add argument.
1203 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1204 * procfs.c (procfs_make_note_section): Add 'self' argument.
1205 (procfs_make_note_section): Add 'self' argument.
1206 (procfs_make_note_section): Add 'self' argument.
1207 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1209 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1210 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1211 * exec.c (exec_make_note_section): Add 'self' argument.
1212 (exec_make_note_section): Add 'self' argument.
1214 2014-02-19 Tom Tromey <tromey@redhat.com>
1216 * target.h (struct target_ops) <to_find_memory_regions>: Add
1218 (target_find_memory_regions): Add argument.
1219 * target.c (dummy_find_memory_regions): Add 'self' argument.
1220 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1221 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1222 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1223 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1224 * exec. (exec_do_find_memory_regions): New global.
1225 (exec_set_find_memory_regions): Rewrite.
1226 (exec_find_memory_regions): New function.
1227 (init_exec_ops): Use exec_find_memory_regions.
1229 2014-02-19 Tom Tromey <tromey@redhat.com>
1231 * target.h (struct target_ops) <to_supports_non_stop>: Add
1233 * target.c (find_default_supports_non_stop): Add argument.
1234 (target_supports_non_stop): Add argument.
1235 (find_default_supports_non_stop): Add 'self' argument.
1236 * remote.c (remote_supports_non_stop): Add 'self' argument.
1237 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1239 2014-02-19 Tom Tromey <tromey@redhat.com>
1241 * target.h (struct target_ops) <to_log_command>: Add argument.
1242 (target_log_command): Add argument.
1243 * serial.h (serial_log_command): Add 'self' argument.
1244 * serial.c (serial_log_command): Add 'self' argument.
1246 2014-02-19 Tom Tromey <tromey@redhat.com>
1248 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1249 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1251 (target_pid_to_exec_file): Add argument.
1252 * target.c (debug_to_pid_to_exec_file): Add argument.
1253 (update_current_target): Update.
1254 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1255 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1256 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1257 (linux_handle_extended_wait): Update.
1258 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1259 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1260 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1261 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1263 2014-02-19 Tom Tromey <tromey@redhat.com>
1265 * target.h (struct target_ops) <to_rcmd>: Add argument.
1266 (target_rcmd): Add argument.
1267 * target.c (debug_to_rcmd): Add argument.
1268 (update_current_target, do_monitor_command): Update.
1269 * remote.c (remote_rcmd): Add 'self' argument.
1270 * monitor.c (monitor_rcmd): Add 'self' argument.
1272 2014-02-19 Tom Tromey <tromey@redhat.com>
1274 * windows-nat.c (windows_stop): Add 'self' argument.
1275 * target.h (struct target_ops) <to_stop>: Add argument.
1276 * target.c (target_stop): Add argument.
1277 (debug_to_stop): Add argument.
1278 (update_current_target): Update.
1279 * remote.c (remote_stop): Add 'self' argument.
1280 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1281 (gdbsim_cntrl_c): Update.
1282 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1283 * procfs.c (procfs_stop): Add 'self' argument.
1284 * nto-procfs.c (procfs_stop): Add 'self' argument.
1285 * monitor.c (monitor_stop): Add 'self' argument.
1286 (monitor_open): Update.
1287 * linux-nat.c (linux_nat_stop): Add argument.
1288 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1289 * gnu-nat.c (gnu_stop): Add 'self' argument.
1290 * darwin-nat.c (darwin_stop): Add 'self' argument.
1292 2014-02-19 Tom Tromey <tromey@redhat.com>
1294 * target.h (struct target_ops) <to_thread_name>: Add argument.
1295 * target.c (target_thread_name): Add argument.
1296 (update_current_target): Update.
1297 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
1299 2014-02-19 Tom Tromey <tromey@redhat.com>
1301 * target.h (struct target_ops) <to_extra_thread_info>: Add
1303 (target_extra_thread_info): Add argument.
1304 * target.c (update_current_target): Update.
1305 * remote.c (remote_threads_extra_info): Add 'self' argument.
1306 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
1308 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
1309 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
1310 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
1312 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
1314 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
1316 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
1319 2014-02-19 Tom Tromey <tromey@redhat.com>
1321 * target.h (struct target_ops) <to_program_signals>: Add argument.
1322 * target.c (target_program_signals): Add argument.
1323 * remote.c (remote_program_signals): Add 'self' argument.
1325 2014-02-19 Tom Tromey <tromey@redhat.com>
1327 * target.h (struct target_ops) <to_pass_signals>: Add argument.
1328 * target.c (target_pass_signals): Add argument.
1329 * remote.c (remote_pass_signals): Add 'self' argument.
1330 (remote_start_remote): Update.
1331 * procfs.c (procfs_pass_signals): Add 'self' argument.
1332 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
1333 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
1334 (linux_nat_create_inferior, linux_nat_attach): Update.
1336 2014-02-19 Tom Tromey <tromey@redhat.com>
1338 * windows-nat.c (windows_can_run): Add 'self' argument.
1339 * target.h (struct target_ops) <to_can_run>: Add argument.
1340 (target_can_run): Add argument.
1341 * target.c (debug_to_can_run): Add argument.
1342 (update_current_target): Update.
1343 * nto-procfs.c (procfs_can_run): Add 'self' argument.
1344 * inf-child.c (inf_child_can_run): Add 'self' argument.
1345 * go32-nat.c (go32_can_run): Add 'self' argument.
1347 2014-02-19 Tom Tromey <tromey@redhat.com>
1349 * target.h (struct target_ops) <to_has_exited>: Add argument.
1350 (target_has_exited): Add argument.
1351 * target.c (debug_to_has_exited): Add argument.
1352 (update_current_target): Update.
1354 2014-02-19 Tom Tromey <tromey@redhat.com>
1356 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
1358 (target_set_syscall_catchpoint): Add argument.
1359 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
1361 * target.c (update_current_target): Update.
1363 2014-02-19 Tom Tromey <tromey@redhat.com>
1365 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
1367 (target_remove_exec_catchpoint): Add argument.
1368 * target.c (debug_to_remove_exec_catchpoint): Add argument.
1369 (update_current_target): Update.
1370 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
1373 2014-02-19 Tom Tromey <tromey@redhat.com>
1375 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
1377 (target_insert_exec_catchpoint): Add argument.
1378 * target.c (debug_to_insert_exec_catchpoint): Add argument.
1379 (update_current_target): Update.
1380 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
1383 2014-02-19 Tom Tromey <tromey@redhat.com>
1385 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
1387 (target_remove_vfork_catchpoint): Add argument.
1388 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
1389 (update_current_target): Update.
1390 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
1393 2014-02-19 Tom Tromey <tromey@redhat.com>
1395 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
1397 (target_insert_vfork_catchpoint): Add argument.
1398 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
1399 (update_current_target): Update.
1400 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
1403 2014-02-19 Tom Tromey <tromey@redhat.com>
1405 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
1407 (target_remove_fork_catchpoint): Add argument.
1408 * target.c (debug_to_remove_fork_catchpoint): Add argument.
1409 (update_current_target): Update.
1410 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
1413 2014-02-19 Tom Tromey <tromey@redhat.com>
1415 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
1417 (target_insert_fork_catchpoint): Add argument.
1418 * target.c (debug_to_insert_fork_catchpoint): Add argument.
1419 (update_current_target): Update.
1420 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
1423 2014-02-19 Tom Tromey <tromey@redhat.com>
1425 * target.h (struct target_ops) <to_post_startup_inferior>: Add
1427 (target_post_startup_inferior): Add argument.
1428 * target.c (debug_to_post_startup_inferior): Add argument.
1429 (update_current_target): Update.
1430 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
1432 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
1434 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
1436 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
1438 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
1440 (super_post_startup_inferior): Likewise.
1441 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
1443 (super_post_startup_inferior): Likewise.
1444 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
1445 Add 'self' argument.
1446 (super_post_startup_inferior): Likewise.
1448 2014-02-19 Tom Tromey <tromey@redhat.com>
1450 * target.h (struct target_ops) <to_load>: Add argument.
1451 * target.c (target_load): Add argument.
1452 (debug_to_load): Add argument.
1453 (update_current_target): Update.
1454 * remote.c (remote_load): Add 'self' argument.
1455 * remote-sim.c (gdbsim_load): Add 'self' argument.
1456 * remote-mips.c (mips_load): Add 'self' argument.
1457 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
1458 * monitor.c (monitor_load): Add 'self' argument.
1459 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
1461 2014-02-19 Tom Tromey <tromey@redhat.com>
1463 * target.h (struct target_ops) <to_terminal_info>: Add argument.
1464 (target_terminal_info): Add argument.
1465 * target.c (debug_to_terminal_info): Add argument.
1466 (default_terminal_info): Likewise.
1467 * inflow.c (child_terminal_info): Add 'self' argument.
1468 * inferior.h (child_terminal_info): Add 'self' argument.
1469 * go32-nat.c (go32_terminal_info): Add 'self' argument.
1471 2014-02-19 Tom Tromey <tromey@redhat.com>
1473 * target.h (struct target_ops) <to_terminal_save_ours>: Add
1475 (target_terminal_save_ours): Add argument.
1476 * target.c (debug_to_terminal_save_ours): Add argument.
1477 (update_current_target): Update.
1478 * inflow.c (terminal_save_ours): Add 'self' argument.
1479 * inferior.h (terminal_save_ours): Add 'self' argument.
1481 2014-02-19 Tom Tromey <tromey@redhat.com>
1483 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
1484 (target_terminal_ours): Add argument.
1485 * target.c (debug_to_terminal_ours): Add argument.
1486 (update_current_target): Update.
1487 * remote.c (remote_terminal_ours): Add 'self' argument.
1488 (remote_close): Update.
1489 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
1490 * inflow.c (terminal_ours): Add 'self' argument.
1491 * inferior.h (terminal_ours): Add 'self' argument.
1492 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1494 2014-02-19 Pedro Alves <palves@redhat.com>
1495 Tom Tromey <tromey@redhat.com>
1497 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
1499 (target_terminal_ours_for_output): Add argument.
1500 * target.c (debug_to_terminal_ours_for_output): Add argument.
1501 (update_current_target): Update.
1502 * inflow.c (terminal_ours_for_output): Add 'self' argument.
1503 * inferior.h (terminal_ours_for_output): Add 'self' argument.
1504 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1506 2014-02-19 Tom Tromey <tromey@redhat.com>
1508 * target.h (struct target_ops) <to_terminal_inferior>: Add
1510 * target.c (target_terminal_inferior): Add argument.
1511 (update_current_target): Update.
1512 * remote.c (remote_terminal_inferior): Add 'self' argument.
1513 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
1514 * inflow.c (terminal_inferior): Add 'self' argument.
1515 * inferior.h (terminal_inferior): Add 'self' argument.
1516 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
1517 (go32_terminal_inferior): Add 'self' argument.
1519 2014-02-19 Tom Tromey <tromey@redhat.com>
1521 * target.h (struct target_ops) <to_terminal_init>: Add argument.
1522 (target_terminal_init): Add argument.
1523 * target.c (debug_to_terminal_init): Add argument.
1524 (update_current_target): Update.
1525 * inflow.c (terminal_init_inferior): Add 'self' argument.
1526 * inferior.h (terminal_init_inferior): Add 'self' argument.
1527 * go32-nat.c (go32_terminal_init): Add 'self' argument.
1528 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
1530 2014-02-19 Tom Tromey <tromey@redhat.com>
1532 * target.h (struct target_ops)
1533 <to_can_accel_watchpoint_condition>: Add argument.
1534 (target_can_accel_watchpoint_condition): Add argument.
1535 * target.c (debug_to_can_accel_watchpoint_condition): Add
1537 (update_current_target): Update.
1538 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
1541 2014-02-19 Tom Tromey <tromey@redhat.com>
1543 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1545 (target_region_ok_for_hw_watchpoint): Add argument.
1546 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
1547 (default_region_ok_for_hw_watchpoint): Add argument.
1548 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
1549 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
1551 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
1553 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
1555 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
1557 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
1559 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
1561 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
1562 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
1564 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
1565 Add 'self' argument.
1567 2014-02-19 Tom Tromey <tromey@redhat.com>
1569 * target.h (struct target_ops) <to_insert_watchpoint>: Add
1571 (target_insert_watchpoint): Add argument.
1572 * target.c (debug_to_insert_watchpoint): Add argument.
1573 (update_current_target): Update.
1574 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
1575 * remote.c (remote_insert_watchpoint): Add 'self' argument.
1576 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
1577 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
1578 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
1579 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
1581 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
1582 (procfs_insert_hw_watchpoint): Add 'self' argument.
1583 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
1585 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
1587 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
1589 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
1590 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
1592 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
1595 2014-02-19 Tom Tromey <tromey@redhat.com>
1597 * target.h (struct target_ops) <to_remove_watchpoint>: Add
1599 (target_remove_watchpoint): Add argument.
1600 * target.c (debug_to_remove_watchpoint): Add argument.
1601 (update_current_target): Update.
1602 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
1603 * remote.c (remote_remove_watchpoint): Add 'self' argument.
1604 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
1605 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
1606 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
1607 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
1609 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
1610 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
1612 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
1614 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
1616 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
1617 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
1619 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
1622 2014-02-19 Tom Tromey <tromey@redhat.com>
1624 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
1626 (target_remove_hw_breakpoint): Add argument.
1627 * target.c (debug_to_remove_hw_breakpoint): Add argument.
1628 (update_current_target): Update.
1629 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
1630 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
1632 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
1633 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
1635 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
1638 2014-02-19 Tom Tromey <tromey@redhat.com>
1640 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
1642 (target_insert_hw_breakpoint): Add argument.
1643 * target.c (debug_to_insert_hw_breakpoint): Add argument.
1644 (update_current_target): Update.
1645 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
1646 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
1648 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
1649 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
1650 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
1652 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
1655 2014-02-19 Tom Tromey <tromey@redhat.com>
1657 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
1659 (target_can_use_hardware_watchpoint): Add argument.
1660 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
1661 (update_current_target): Update.
1662 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
1664 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
1666 * remote.c (remote_check_watch_resources): Add 'self' argument.
1667 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
1668 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
1670 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
1671 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
1673 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
1675 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
1677 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
1679 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
1681 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
1683 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
1684 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
1686 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
1689 2014-02-19 Tom Tromey <tromey@redhat.com>
1691 * target.h (struct target_ops) <to_post_attach>: Add argument.
1692 (target_post_attach): Add argument.
1693 * target.c (debug_to_post_attach): Add argument.
1694 (update_current_target): Update.
1695 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
1696 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
1697 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
1698 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
1699 * inf-child.c (inf_child_post_attach): Add 'self' argument.
1701 2014-02-19 Tom Tromey <tromey@redhat.com>
1703 * windows-nat.c (windows_close): Add 'self' argument.
1704 * tracepoint.c (tfile_close): Add 'self' argument.
1705 * target.h (struct target_ops) <to_close>: Add argument.
1706 * target.c (target_close): Add argument.
1707 (update_current_target): Update.
1708 * remote.c (remote_close): Add 'self' argument.
1709 * remote-sim.c (gdbsim_close): Add 'self' argument.
1710 * remote-mips.c (mips_close): Add 'self' argument.
1711 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
1712 * record-full.c (record_full_close): Add 'self' argument.
1713 * record-btrace.c (record_btrace_close): Add 'self' argument.
1714 * monitor.h (monitor_close): Add 'self' argument.
1715 * monitor.c (monitor_close): Add 'self' argument.
1716 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
1717 * linux-nat.c (linux_nat_close): Add argument.
1718 * go32-nat.c (go32_close): Add 'self' argument.
1719 * exec.c (exec_close_1): Add 'self' argument.
1720 * ctf.c (ctf_close): Add 'self' argument.
1721 * corelow.c (core_close): Add 'self' argument.
1722 (core_close_cleanup): Update.
1723 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
1724 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
1726 2014-02-19 Tom Tromey <tromey@redhat.com>
1728 * remote.c (remote_load): New function.
1729 (init_remote_ops): Use it.
1731 2014-02-19 Tom Tromey <tromey@redhat.com>
1733 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
1735 * common/linux-btrace.h (linux_supports_btrace): Update.
1736 * remote.c (remote_supports_btrace): Add "self" argument.
1737 * target-delegates.c: Rebuild.
1738 * target.c (target_supports_btrace): Remove.
1739 * target.h (struct target_ops) <to_supports_btrace>: Add
1740 target_ops argument.
1741 (target_supports_btrace): New define.
1743 2014-02-19 Tom Tromey <tromey@redhat.com>
1745 * record-full.c (record_full_beneath_to_resume_ops)
1746 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
1747 (record_full_beneath_to_wait)
1748 (record_full_beneath_to_store_registers_ops)
1749 (record_full_beneath_to_store_registers)
1750 (record_full_beneath_to_xfer_partial_ops)
1751 (record_full_beneath_to_xfer_partial)
1752 (record_full_beneath_to_insert_breakpoint_ops)
1753 (record_full_beneath_to_insert_breakpoint)
1754 (record_full_beneath_to_remove_breakpoint_ops)
1755 (record_full_beneath_to_remove_breakpoint)
1756 (record_full_beneath_to_stopped_by_watchpoint)
1757 (record_full_beneath_to_stopped_data_address)
1758 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
1759 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
1760 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
1761 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
1762 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
1763 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
1764 (tmp_to_stopped_data_address, tmp_to_async): Remove.
1765 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
1766 (record_full_resume, record_full_wait_1)
1767 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
1768 (record_full_store_registers, record_full_xfer_partial)
1769 (record_full_insert_breakpoint, record_full_remove_breakpoint)
1770 (record_full_async, record_full_core_xfer_partial): Use target
1772 * target-delegates.c: Rebuild.
1773 * target.c (current_xfer_partial): Remove.
1774 (update_current_target): Do not INHERIT or de_fault
1775 to_insert_breakpoint, to_remove_breakpoint,
1776 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
1777 to_is_async_p, to_async. Do not set to_xfer_partial field.
1778 (default_xfer_partial): Simplify.
1779 (current_xfer_partial): Remove.
1780 (target_wait, target_resume): Simplify.
1781 (find_default_can_async_p, find_default_is_async_p): Update.
1782 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
1783 to_xfer_partial, to_stopped_by_watchpoint,
1784 to_stopped_data_address.
1785 (target_store_registers): Simplify.
1786 (forward_target_remove_breakpoint)
1787 (forward_target_insert_breakpoint): Remove.
1788 (target_remove_breakpoint, target_insert_breakpoint)
1789 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
1790 * target.h (struct target_ops) <to_resume, to_wait,
1791 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
1792 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
1793 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
1795 (forward_target_remove_breakpoint)
1796 (forward_target_insert_breakpoint): Remove.
1797 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
1799 (record_btrace_insert_breakpoint): Delegate directly.
1801 2014-02-19 Tom Tromey <tromey@redhat.com>
1804 * target-delegates.c: New file.
1805 * target.c: Include target-delegates.c.
1806 (init_dummy_target): Call install_dummy_methods.
1807 (complete_target_initialization): Call install_delegators.
1808 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
1809 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
1810 * make-target-delegates: New file.
1812 2014-02-19 Tom Tromey <tromey@redhat.com>
1814 * record.c (find_record_target): Use find_target_at.
1815 * target.c (find_target_at): New function.
1816 * target.h (find_target_at): Declare.
1818 2014-02-19 Tom Tromey <tromey@redhat.com>
1820 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
1822 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
1824 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
1825 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
1827 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
1829 * linux-nat.c (save_sigtrap): Update.
1830 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
1831 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
1832 (linux_nat_close): Update.
1833 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
1835 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
1837 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
1838 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
1839 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
1840 (tmp_to_async): Add 'ops' argument.
1841 (record_full_stopped_by_watchpoint, record_full_async)
1842 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
1844 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
1845 (m32r_stopped_by_watchpoint): Add 'ops' argument.
1846 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
1847 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
1848 (remote_is_async_p, remote_async): Add 'ops' argument.
1849 (remote_stopped_data_address): Update.
1850 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
1851 * target.c (update_current_target)
1852 (find_default_can_async_p, find_default_is_async_p): Update.
1853 (init_dummy_target): Update.
1854 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
1855 * target.h (struct target_ops) <to_stopped_by_watchpoint,
1856 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
1857 (target_can_async_p, target_is_async_p, target_async)
1858 (target_stopped_by_watchpoint): Update.
1860 2014-02-19 Yao Qi <yao@codesourcery.com>
1863 * gdbarch.sh: Remove startup_gdbarch.
1864 * gdbarch.c: Regenerated.
1865 * gdbarch.h: Likewise.
1867 2014-02-17 Kevin Buettner <kevinb@redhat.com>
1869 * rl78-tdep.c (rl78_g10_register_name): New function.
1870 (rl78_return_value): Add g10 support.
1871 (rl78_gdbarch_init): Register rl78_g10_register_name for the
1874 2014-02-17 Doug Evans <xdje42@gmail.com>
1876 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
1877 (SUBDIR_GUILE_SRCS): Ditto.
1878 (scm-gsmob.o): Ditto.
1880 2014-02-17 Yao Qi <yao@codesourcery.com>
1882 * gnu-nat.c (ILL_RPC): Declare defined function.
1884 2014-02-17 Yao Qi <yao@codesourcery.com>
1886 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
1887 mach_msg_type_number_t.
1888 (gnu_write_inferior): Likewise.
1890 2014-02-17 Yao Qi <yao@codesourcery.com>
1892 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
1894 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
1895 (inf_validate_procs, inf_signal): Likewise.
1896 (S_exception_raise_request): Likewise.
1897 (do_mach_notify_dead_name): Likewise.
1898 (steal_exc_port): Likewise.
1899 (gnu_read_inferior): Change 'copy_count''s type to
1900 mach_msg_type_number_t.
1901 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
1904 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
1906 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
1907 flag. Adjust all users; in particular...
1908 (gnu_wait): ..., don't decrement its value in here...
1909 (gnu_create_inferior): ..., and instead set the flag in here,
1910 around the startup_inferior call, and call that one with
1911 START_INFERIOR_TRAPS_EXPECTED.
1913 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
1914 (ILL_RPC): ... new macro.
1915 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
1916 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
1917 (do_mach_notify_send_once, S_proc_setmsgport_reply)
1918 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
1919 functions with ILL_RPC macro.
1920 (S_proc_pid2task_reply, S_proc_task2pid_reply)
1921 (S_proc_task2proc_reply, S_proc_proc2task_reply)
1922 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
1923 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
1924 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
1925 (S_proc_getlogin_reply, S_proc_getsid_reply)
1926 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
1927 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
1928 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
1929 (S_proc_getnports_reply, S_proc_is_important_reply)
1930 (S_proc_get_code_reply): New stub functions, generated with
1933 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
1934 collected the type check structures.
1936 * reply_mig_hack.awk: Don't expect to see the auto keyword.
1938 2014-02-14 Doug Evans <dje@google.com>
1940 * target.c (target_write_partial): Fix result type.
1942 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
1944 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
1945 the proper offsets to access fpregset_t.
1947 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
1949 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
1950 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
1951 * h8300-tdep.c (setmachinelist): Remove global.
1952 * hppa-tdep.c (hppa_sigtramp): Remove global.
1953 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
1954 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
1955 * ravenscar-thread.c (update_target_observer): Remove global.
1956 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
1958 2014-02-12 Tom Tromey <tromey@redhat.com>
1960 * common/rsp-low.c: Update comments.
1961 * common/rsp-low.h: Update comments.
1963 2014-02-12 Tom Tromey <tromey@redhat.com>
1965 * common/rsp-low.c (convert_ascii_to_int): Remove.
1966 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
1968 2014-02-12 Tom Tromey <tromey@redhat.com>
1970 * common/rsp-low.h (unhexify): Don't declare.
1971 * common/rsp-low.c (unhexify): Remove.
1973 2014-02-12 Tom Tromey <tromey@redhat.com>
1975 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
1976 * common/rsp-low.c (convert_int_to_ascii): Remove.
1978 2014-02-12 Tom Tromey <tromey@redhat.com>
1980 * common/rsp-low.h (hexify): Don't declare.
1981 * common/rsp-low.c (hexify): Remove.
1983 2014-02-12 Tom Tromey <tromey@redhat.com>
1985 * common/rsp-low.c (hexify): Never take strlen of argument.
1987 2014-02-12 Tom Tromey <tromey@redhat.com>
1989 * common/rsp-low.c (bin2hex): Never take strlen of argument.
1990 * remote.c (extended_remote_run, remote_rcmd)
1991 (remote_download_trace_state_variable, remote_save_trace_data)
1992 (remote_set_trace_notes): Update.
1993 * tracepoint.c (encode_source_string, tfile_write_status)
1994 (tfile_write_uploaded_tsv): Update.
1996 2014-02-12 Tom Tromey <tromey@redhat.com>
1998 * tracepoint.c: Include rsp-low.h.
1999 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
2000 * remote.c: Include rsp-low.h.
2001 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
2002 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
2003 (remote_unescape_input): Move to common/rsp-low.c.
2004 * common/rsp-low.h: New file.
2005 * common/rsp-low.c: New file.
2006 * Makefile.in (SFILES): Add common/rsp-low.c.
2007 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
2008 (COMMON_OBS): Add rsp-low.o.
2009 (rsp-low.o): New target.
2011 2014-02-12 Tom Tromey <tromey@redhat.com>
2013 * utils.h: Include print-utils.h.
2014 (host_address_to_string, plongest, pulongest, phex, phex_nz)
2015 (int_string, core_addr_to_string, core_addr_to_string_nz)
2016 (hex_string, hex_string_custom): Don't declare.
2017 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2018 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2019 (hex_string_custom, int_string, core_addr_to_string)
2020 (core_addr_to_string_nz, host_address_to_string): Move to
2021 common/print-utils.c.
2022 * common/print-utils.h: New file.
2023 * common/print-utils.c: New file
2024 * Makefile.in (SFILES): Add common/print-utils.c.
2025 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2026 (COMMON_OBS): Add print-utils.o.
2027 (print-utils.o): New target.
2029 2014-02-12 Tom Tromey <tromey@redhat.com>
2031 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2033 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2035 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2037 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2039 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2040 if a PT_IO ptrace request returns sucessfully but indicates that 0
2041 bytes were transferred.
2043 2014-02-12 Pedro Alves <palves@redhat.com>
2044 Kevin Buettner <kevinb@redhat.com>
2046 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2047 TYPE_INSTANCE_FLAG_CODE_SPACE.
2049 2014-02-12 Pedro Alves <palves@redhat.com>
2051 * h8300-tdep.c (pseudo_from_raw_register)
2052 (raw_from_pseudo_register): New functions.
2053 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2056 2014-02-12 Pedro Alves <palves@redhat.com>
2058 * h8300-tdep.c (h8300_register_sim_regno): New function.
2059 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2060 gdbarch_register_sim_regno hook.
2062 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2064 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2066 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2068 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2070 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2072 * obsd-tdep.h (obsd_init_abi): New prototype.
2073 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2074 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2075 (obsd_init_abi): New functions.
2076 * i386obsd-tdep.c: Include "obsd-tdep.h".
2077 (i386obsd_init_abi): Call obsd_init_abi.
2078 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2079 (amd64obsd_init_abi): Call obsd_init_abi.
2080 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2081 obsd-tdep.c to gdb_target_obs.
2083 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2085 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2086 double float arguments to 16-byte in the argument slots.
2088 2014-02-11 Doug Evans <xdje42@gmail.com>
2090 * configure.ac: Don't crash if pkg-config is not found and guile
2091 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2093 * configure: Regenerate.
2095 2014-02-11 Yao Qi <yao@codesourcery.com>
2097 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2098 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2099 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2100 * gnu-nat.c (gnu_xfer_memory): Likewise.
2101 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2102 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2103 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2104 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2106 2014-02-11 Yao Qi <yao@codesourcery.com>
2108 * target.h (enum target_xfer_error): Rename to ...
2109 (enum target_xfer_status): ... it. New. All users updated.
2110 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2112 (TARGET_XFER_STATUS_ERROR_P): New macro.
2113 (target_xfer_error_to_string): Remove declaration.
2114 (target_xfer_status_to_string): Declare.
2115 (target_xfer_partial_ftype): Adjust it.
2116 (struct target_ops) <to_xfer_partial>: Return
2117 target_xfer_status. Add argument xfered_len. Update
2119 * target.c (target_xfer_error_to_string): Rename to ...
2120 (target_xfer_status_to_string): ... it. New. All callers
2122 (target_read_live_memory): Likewise. Call target_xfer_partial
2123 instead of target_read.
2124 (memory_xfer_live_readonly_partial): Return
2125 target_xfer_status. Add argument xfered_len.
2126 (raw_memory_xfer_partial): Likewise.
2127 (memory_xfer_partial_1): Likewise.
2128 (memory_xfer_partial): Likewise.
2129 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2130 properly. Update debug message.
2131 (default_xfer_partial, current_xfer_partial): Likewise.
2132 (target_write_partial): Likewise.
2133 (target_read_partial): Likewise. All callers updated.
2134 (read_whatever_is_readable): Likewise.
2135 (target_write_with_progress): Likewise.
2136 (target_read_alloc_1): Likewise.
2138 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2139 * auxv.c (procfs_xfer_auxv): Likewise.
2140 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2141 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2142 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2143 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2144 * corefile.c (read_memory): Adjust.
2145 * corelow.c (core_xfer_partial): Likewise.
2146 * ctf.c (ctf_xfer_partial): Likewise.
2147 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2149 (darwin_xfer_partial): Likewise.
2150 * exec.c (section_table_xfer_memory_partial): Likewise. All
2152 (exec_xfer_partial): Likewise.
2153 * exec.h (section_table_xfer_memory_partial): Update
2155 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2157 (gnu_xfer_partial): Likewise.
2158 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2159 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2160 (ia64_hpux_xfer_solib_got): Likewise.
2161 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2162 type of 'partial_len' to ULONGEST.
2163 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2164 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2165 (linux_nat_xfer_partial): Likewise.
2166 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2167 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2168 * monitor.c (monitor_xfer_memory): Likewise.
2169 (monitor_xfer_partial): Likewise.
2170 * procfs.c (procfs_xfer_partial): Likewise.
2171 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2172 * record-full.c (record_full_xfer_partial): Likewise.
2173 (record_full_core_xfer_partial): Likewise.
2174 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2175 (gdbsim_xfer_partial): Likewise.
2176 * remote.c (remote_write_bytes_aux): Likewise. All callers
2178 (remote_write_bytes, remote_read_bytes): Likewise. All
2180 (remote_flash_erase): Likewise. All callers updated.
2181 (remote_write_qxfer): Likewise. All callers updated.
2182 (remote_read_qxfer): Likewise. All callers updated.
2183 (remote_xfer_partial): Likewise.
2184 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2185 (rs6000_xfer_shared_libraries): Likewise.
2186 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2187 (sol_thread_xfer_partial): Likewise.
2188 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2189 (sparc_xfer_partial): Likewise.
2190 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2192 (spu_xfer_partial): Likewise.
2193 * spu-multiarch.c (spu_xfer_partial): Likewise.
2194 * tracepoint.c (tfile_xfer_partial): Likewise.
2195 * windows-nat.c (windows_xfer_memory): Likewise.
2196 (windows_xfer_shared_libraries): Likewise.
2197 (windows_xfer_partial): Likewise.
2198 * valprint.c: Replace 'target_xfer_error' with
2199 'target_xfer_status' in comments.
2201 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2203 Checked in by Joel Brobecker <brobecker@adacore.com>.
2204 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2206 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2208 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2209 function parameters.
2211 2014-02-10 Will Newton <will.newton@linaro.org>
2213 * elfread.c (elf_rel_plt_read): Look for a .got section if
2214 looking up .got.plt fails.
2215 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2216 on address passed to elf_gnu_ifunc_record_cache.
2217 (elf_gnu_ifunc_resolve_addr): Likewise.
2218 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2220 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2222 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2223 (X_RETTURN): New macro.
2224 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2226 * sparc64-tdep.c (sparc64_init_abi): Hook
2227 sparc_in_function_epilogue_p.
2229 2014-02-10 Gary Benson <gbenson@redhat.com>
2231 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2232 Rename name_matcher to symbol_matcher.
2234 2014-02-10 Gary Benson <gbenson@redhat.com>
2236 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2237 Use expand_symtabs_file_matcher_ftype and
2238 expand_symtabs_symbol_matcher_ftype.
2240 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2242 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2243 (struct ada_symbol_cache): New.
2244 (ada_free_symbol_cache): Forward declare.
2245 (struct ada_pspace_data): New.
2246 (ada_pspace_data_handle): New static global.
2247 (get_ada_pspace_data, ada_pspace_data_cleanup)
2248 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2249 (cache_space, cache): Delete, now folded inside struct
2251 (ada_get_symbol_cache): New function.
2252 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2254 (_initialize_ada_language): Remove initialization of cache_space.
2255 Move call to observer_attach_inferior_exit up, grouping it
2256 with the other observer registrations inside this function.
2257 Rename command to be more general. Add call to
2258 register_program_space_data_with_cleanup.
2260 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2262 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2263 ada_new_objfile_observer.
2264 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2265 (_initialize_tasks): Update uses of ada_new_objfile_observer
2266 and ada_tasks_normal_stop_observer.
2268 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2270 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2271 returned by the 'Length attribute to integer.
2273 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2275 * ada-lang.c (_initialize_ada_language): Initialize
2276 cache_space obstack.
2278 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2280 * ada-lang.c (HASH_SIZE): New macro.
2281 (struct cache_entry): New type.
2282 (cache_space, cache): New static globals.
2283 (ada_clear_symbol_cache, find_entry): New functions.
2284 (lookup_cached_symbol, cache_symbol): Implement.
2285 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2286 (_initialize_ada_language): Attach ada_new_objfile_observer
2287 and ada_free_objfile_observer.
2289 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2291 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
2292 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
2293 struct block * parameter.
2294 (ada_lookup_symbol_list_worker): Constify local variable "block".
2295 Remove cast which is no longer necessary.
2297 2014-02-10 Doug Evans <xdje42@gmail.com>
2299 Add Guile as an extension language.
2300 * NEWS: Mention Guile scripting.
2301 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
2302 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
2303 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
2304 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
2305 (CLIBS): Add GUILE_LIBS.
2306 (install-guile): New rule.
2307 (guile.o): New rule.
2308 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
2309 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
2310 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
2311 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
2312 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
2313 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
2314 (scm-type.o, scm-utils.o, scm-value.o): New rules.
2315 * configure.ac: New option --with-guile.
2316 * configure: Regenerate.
2317 * config.in: Regenerate.
2318 * auto-load.c: Remove #include "python/python.h". Add #include
2319 "gdb/section-scripts.h".
2320 (source_section_scripts): Handle Guile scripts.
2321 (_initialize_auto_load): Add name of Guile objfile script to
2322 scripts-directory help text.
2323 * breakpoint.c (condition_command): Tweak comment to include Scheme.
2324 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
2325 (struct breakpoint): New member scm_bp_object.
2326 * defs.h (enum command_control_type): New value guile_control.
2327 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
2329 (show_user): Update comment.
2330 (_initialize_cli_cmds): Update help text for "show user". Update help
2331 text for max-user-call-depth.
2332 * cli/cli-script.c: Remove #include "python/python.h". Add #include
2334 (multi_line_command_p): Add guile_control.
2335 (print_command_lines): Handle guile_control.
2336 (execute_control_command, recurse_read_control_structure): Ditto.
2337 (process_next_line): Recognize "guile" commands.
2338 * disasm.c (gdb_disassemble_info): Make non-static.
2339 * disasm.h: #include "dis-asm.h".
2340 (struct gdbarch): Add forward decl.
2341 (gdb_disassemble_info): Declare.
2342 * extension.c: #include "guile/guile.h".
2343 (extension_languages): Add guile.
2344 (get_ext_lang_defn): Handle EXT_LANG_GDB.
2345 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
2346 * gdbtypes.c (get_unsigned_type_max): New function.
2347 (get_signed_type_minmax): New function.
2348 * gdbtypes.h (get_unsigned_type_max): Declare.
2349 (get_signed_type_minmax): Declare.
2350 * guile/README: New file.
2351 * guile/guile-internal.h: New file.
2352 * guile/guile.c: New file.
2353 * guile/guile.h: New file.
2354 * guile/scm-arch.c: New file.
2355 * guile/scm-auto-load.c: New file.
2356 * guile/scm-block.c: New file.
2357 * guile/scm-breakpoint.c: New file.
2358 * guile/scm-disasm.c: New file.
2359 * guile/scm-exception.c: New file.
2360 * guile/scm-frame.c: New file.
2361 * guile/scm-gsmob.c: New file.
2362 * guile/scm-iterator.c: New file.
2363 * guile/scm-lazy-string.c: New file.
2364 * guile/scm-math.c: New file.
2365 * guile/scm-objfile.c: New file.
2366 * guile/scm-ports.c: New file.
2367 * guile/scm-pretty-print.c: New file.
2368 * guile/scm-safe-call.c: New file.
2369 * guile/scm-string.c: New file.
2370 * guile/scm-symbol.c: New file.
2371 * guile/scm-symtab.c: New file.
2372 * guile/scm-type.c: New file.
2373 * guile/scm-utils.c: New file.
2374 * guile/scm-value.c: New file.
2375 * guile/lib/gdb.scm: New file.
2376 * guile/lib/gdb/boot.scm: New file.
2377 * guile/lib/gdb/experimental.scm: New file.
2378 * guile/lib/gdb/init.scm: New file.
2379 * guile/lib/gdb/iterator.scm: New file.
2380 * guile/lib/gdb/printing.scm: New file.
2381 * guile/lib/gdb/types.scm: New file.
2382 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
2383 (VPATH): Add $(GUILE_SRCDIR).
2384 (GUILE_DIR): New variable.
2385 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
2386 (all): Add stamp-guile dependency.
2387 (stamp-guile): New rule.
2388 (clean-guile, install-guile, uninstall-guile): New rules.
2389 (install-only): Add install-guile dependency.
2390 (uninstall): Add uninstall-guile dependency.
2391 (clean): Add clean-guile dependency.
2393 2014-02-09 Doug Evans <xdje42@gmail.com>
2395 Revert this patch (which I approved, mea culpa).
2397 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2399 * Makefile.in (all-lib): Remove.
2400 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2402 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2404 Fix Python stack corruption.
2405 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
2408 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2410 * Makefile.in (all-lib): Remove.
2411 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2413 2014-02-07 Doug Evans <dje@google.com>
2415 * extension-priv.h (extension_language_script_ops): Add comment.
2416 (extension_language_ops): Add comment.
2417 (active_ext_lang_state): Fix typo in comment.
2419 2014-02-07 Pedro Alves <palves@redhat.com>
2421 * infrun.c (handle_signal_stop) <signal arrives while stepping
2422 over a breakpoint>: Switch back to the stepping thread.
2424 2014-02-07 Yao Qi <yao@codesourcery.com>
2426 * target.c (target_xfer_partial): Return zero if LEN is zero.
2428 2014-02-07 Yao Qi <yao@codesourcery.com>
2430 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
2431 (ld_so_xfer_auxv): Likewise.
2432 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2433 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2434 * corelow.c (core_xfer_partial): Likewise.
2435 * ctf.c (ctf_xfer_partial): Likewise.
2436 * darwin-nat.c (darwin_read_dyld_info): Likewise.
2437 (darwin_xfer_partial): Likewise.
2438 * exec.c (exec_xfer_partial): Likewise.
2439 * gnu-nat.c (gnu_xfer_partial): Likewise.
2440 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
2441 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2442 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2443 * linux-nat.c (linux_xfer_siginfo): Likewise.
2444 (linux_proc_xfer_spu): Likewise.
2445 * procfs.c (procfs_xfer_partial): Likewise.
2446 * record-full.c (record_full_xfer_partial): Likewise.
2447 (record_full_core_xfer_partial): Likewise.
2448 * remote-sim.c (gdbsim_xfer_partial): Likewise.
2449 * remote.c (remote_write_qxfer): Likewise.
2450 (remote_write_qxfer, remote_read_qxfer): Likewise.
2451 (remote_xfer_partial): Likewise.
2452 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2453 (rs6000_xfer_shared_libraries): Likewise.
2454 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2455 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2456 (spu_xfer_partial): Likewise.
2457 * target.c (memory_xfer_partial_1): Likewise.
2458 * tracepoint.c (tfile_xfer_partial): Likewise.
2459 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
2460 (windows_xfer_partial): Likewise.
2462 2014-02-07 Yao Qi <yao@codesourcery.com>
2464 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
2466 (core_xfer_shared_libraries_aix): Likewise.
2467 * gdbarch.c, gdbarch.h: Regenerated.
2468 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
2469 ULONGEST. Change 'len_avail' type to ULONGEST.
2470 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
2471 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
2473 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
2475 2014-02-07 Yao Qi <yao@codesourcery.com>
2477 * corefile.c (memory_error): Get 'exception' from ERR and pass
2478 'exception' to throw_error.
2480 2014-02-06 Doug Evans <xdje42@gmail.com>
2482 * configure.ac (libpython checking): Remove all but python.o from
2483 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
2484 * configure: Regenerate.
2486 * Makefile.in (SFILES): Add extension.c.
2487 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
2488 (COMMON_OBS): Add extension.o.
2489 * extension.h: New file.
2490 * extension-priv.h: New file.
2491 * extension.c: New file.
2493 * python/python-internal.h: #include "extension.h".
2494 (gdbpy_auto_load_enabled): Declare.
2495 (gdbpy_apply_val_pretty_printer): Declare.
2496 (gdbpy_apply_frame_filter): Declare.
2497 (gdbpy_preserve_values): Declare.
2498 (gdbpy_breakpoint_cond_says_stop): Declare.
2499 (gdbpy_breakpoint_has_cond): Declare.
2500 (void source_python_script_for_objfile): Delete.
2501 * python/python.c: #include "extension-priv.h".
2502 Delete inclusion of "observer.h".
2503 (extension_language_python): Moved here and renamed from
2504 script_language_python in py-auto-load.c.
2505 Redefined to be of type extension_language_defn.
2506 (python_extension_script_ops): New global.
2507 (python_extension_ops): New global.
2508 (struct python_env): New member previous_active.
2509 (restore_python_env): Call restore_active_ext_lang.
2510 (ensure_python_env): Call set_active_ext_lang.
2511 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
2513 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
2515 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
2517 (gdbpy_eval_from_control_command): Renamed from
2518 eval_python_from_control_command, made static. New arg extlang.
2519 (gdbpy_source_script) Renamed from source_python_script, made static.
2521 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
2522 result to int. New arg extlang.
2523 (gdbpy_source_objfile_script): Renamed from
2524 source_python_script_for_objfile, made static. New arg extlang.
2525 (gdbpy_start_type_printers): Renamed from start_type_printers, made
2526 static. New args extlang, extlang_printers. Change result type to
2528 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
2529 static. New arg extlang. Rename arg printers to extlang_printers
2530 and change type to ext_lang_type_printers *.
2531 (gdbpy_free_type_printers): Renamed from free_type_printers, made
2532 static. Replace argument arg with extlang, extlang_printers.
2533 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
2534 (!HAVE_PYTHON, source_python_script): Delete.
2535 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
2536 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
2537 (!HAVE_PYTHON, start_type_printers): Delete.
2538 (!HAVE_PYTHON, apply_type_printers): Delete.
2539 (!HAVE_PYTHON, free_type_printers): Delete.
2540 (_initialize_python): Delete call to observer_attach_before_prompt.
2541 (finalize_python): Set/restore active extension language.
2542 (gdbpy_finish_initialization) Renamed from
2543 finish_python_initialization, made static. New arg extlang.
2544 (gdbpy_initialized): New function.
2545 * python/python.h: #include "extension.h". Delete #include
2546 "value.h", "mi/mi-cmds.h".
2547 (extension_language_python): Declare.
2548 (GDBPY_AUTO_FILE_NAME): Delete.
2549 (enum py_bt_status): Moved to extension.h and renamed to
2551 (enum frame_filter_flags): Moved to extension.h.
2552 (enum py_frame_args): Moved to extension.h and renamed to
2553 ext_lang_frame_args.
2554 (finish_python_initialization): Delete.
2555 (eval_python_from_control_command): Delete.
2556 (source_python_script): Delete.
2557 (apply_val_pretty_printer): Delete.
2558 (apply_frame_filter): Delete.
2559 (preserve_python_values): Delete.
2560 (gdbpy_script_language_defn): Delete.
2561 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
2562 (start_type_printers, apply_type_printers, free_type_printers): Delete.
2564 * auto-load.c: #include "extension.h".
2565 (GDB_AUTO_FILE_NAME): Delete.
2566 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
2567 (script_language_gdb): Delete, moved to extension.c and renamed to
2568 extension_language_gdb.
2569 (source_gdb_script_for_objfile): Delete.
2570 (auto_load_pspace_info): New member unsupported_script_warning_printed.
2571 (loaded_script): Change type of language member to
2572 struct extension_language_defn *.
2573 (init_loaded_scripts_info): Initialize
2574 unsupported_script_warning_printed.
2575 (maybe_add_script): Make static. Change type of language arg to
2576 struct extension_language_defn *.
2577 (clear_section_scripts): Reset unsupported_script_warning_printed.
2578 (auto_load_objfile_script_1): Rewrite to use extension language API.
2579 (auto_load_objfile_script): Make public. Remove support-compiled-in
2580 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
2581 (source_section_scripts): Rewrite to use extension language API.
2582 (load_auto_scripts_for_objfile): Rewrite to use
2583 auto_load_scripts_for_objfile.
2584 (collect_matching_scripts_data): Change type of language member to
2585 struct extension_language_defn *.
2586 (auto_load_info_scripts): Change type of language arg to
2587 struct extension_language_defn *.
2588 (unsupported_script_warning_print): New function.
2589 (script_not_found_warning_print): Make static.
2590 (_initialize_auto_load): Rewrite construction of scripts-directory
2592 * auto-load.h (struct objfile): Add forward decl.
2593 (struct script_language): Delete.
2594 (struct auto_load_pspace_info): Add forward decl.
2595 (struct extension_language_defn): Add forward decl.
2596 (maybe_add_script): Delete.
2597 (auto_load_objfile_script): Declare.
2598 (script_not_found_warning_print): Delete.
2599 (auto_load_info_scripts): Update prototype.
2600 (auto_load_gdb_scripts_enabled): Declare.
2601 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
2602 auto_load_python_scripts_enabled and made public.
2603 (script_language_python): Delete, moved to python.c.
2604 (gdbpy_script_language_defn): Delete.
2605 (info_auto_load_python_scripts): Update to use
2606 extension_language_python.
2608 * breakpoint.c (condition_command): Replace call to
2609 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
2610 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
2611 with call to breakpoint_ext_lang_cond_says_stop.
2612 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
2613 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
2614 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
2615 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
2617 (local_setattro): Print name of extension language with existing
2620 * valprint.c (val_print, value_print): Update to call
2621 apply_ext_lang_val_pretty_printer.
2622 * cp-valprint.c (cp_print_value): Update call to
2623 apply_ext_lang_val_pretty_printer.
2624 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
2625 (gdbpy_apply_val_pretty_printer): Renamed from
2626 apply_val_pretty_printer. New arg extlang.
2627 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
2629 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
2630 extension language API.
2631 * cli/cli-script.c (execute_control_command): Update to call
2632 eval_ext_lang_from_control_command.
2634 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
2635 enum ext_lang_bt_status values. Update call to
2636 apply_ext_lang_frame_filter.
2637 (mi_cmd_stack_list_locals): Ditto.
2638 (mi_cmd_stack_list_args): Ditto.
2639 (mi_cmd_stack_list_variables): Ditto.
2640 * mi/mi-main.c: Delete #include "python/python-internal.h".
2641 Add #include "extension.h".
2642 (mi_cmd_list_features): Replace reference to python internal variable
2643 gdb_python_initialized with call to ext_lang_initialized_p.
2645 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
2646 Update to use enum ext_lang_frame_args. Update to call
2647 apply_ext_lang_frame_filter.
2648 * python/py-framefilter.c (extract_sym): Update to use enum
2650 (extract_value, py_print_type, py_print_value): Ditto.
2651 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
2652 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
2653 (py_print_frame): Ditto.
2654 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
2655 New arg extlang. Update to use enum ext_lang_bt_status.
2657 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
2658 finish_python_initialization. Replace with call to
2659 finish_ext_lang_initialization.
2661 * typeprint.c (do_free_global_table): Update to call
2662 free_ext_lang_type_printers.
2663 (create_global_typedef_table): Update to call
2664 start_ext_lang_type_printers.
2665 (find_global_typedef): Update to call apply_ext_lang_type_printers.
2666 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
2667 (type_print_options): Change type of global_printers from "void *"
2668 to "struct ext_lang_type_printers *".
2670 * value.c (preserve_values): Update to call preserve_ext_lang_values.
2671 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
2672 (gdbpy_preserve_values): Renamed from preserve_python_values.
2674 (!HAVE_PYTHON, preserve_python_values): Delete.
2676 * utils.c (quit_flag): Delete, moved to extension.c.
2677 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
2680 * eval.c: Delete #include "python/python.h".
2681 * main.c: Delete #include "python/python.h".
2683 * defs.h: Update comment.
2685 2014-02-06 Joel Brobecker <brobecker@adacore.com>
2689 2014-02-05 Mark Kettenis <kettenis@gnu.org>
2691 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
2694 2014-02-05 Yao Qi <yao@codesourcery.com>
2696 * remote.c (remote_pass_signals): Remove local 'buf' and use
2698 (remote_program_signals): Likewise.
2700 2014-02-05 Yao Qi <yao@codesourcery.com>
2702 * ctf.c: Include "inferior.h" and "gdbthread.h".
2703 (CTF_PID): A new macro.
2704 (ctf_open): Call inferior_appeared and add_thread_silent.
2705 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
2706 (ctf_thread_alive): New function.
2707 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
2709 2014-02-05 Yao Qi <yao@codesourcery.com>
2713 2013-05-24 Yao Qi <yao@codesourcery.com>
2715 * tracepoint.c (TFILE_PID): Remove.
2716 (tfile_open): Don't add thread and inferior.
2717 (tfile_close): Don't set 'inferior_ptid'. Don't call
2718 exit_inferior_silent.
2719 (tfile_thread_alive): Remove.
2720 (init_tfile_ops): Don't set field 'to_thread_alive' of
2723 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
2725 * remote.c (remote_start_remote): Call remote_check_symbols even
2726 if only symbol-file (not file) has been given.
2728 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2730 * gdbarch.sh (skip_entrypoint): New callback.
2731 * gdbarch.c, gdbarch.h: Regenerate.
2732 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
2733 * infrun.c (fill_in_stop_func): Likewise.
2734 * ppc-linux-tdep.c: Include "elf/ppc64.h".
2735 (ppc_elfv2_elf_make_msymbol_special): New function.
2736 (ppc_elfv2_skip_entrypoint): Likewise.
2737 (ppc_linux_init_abi): Install them for ELFv2.
2739 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2741 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
2742 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
2743 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
2744 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
2745 structures returned in GPRs.
2747 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2749 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
2750 offset to the stack parameter list for the ELFv2 ABI.
2752 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2754 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
2755 set_gdbarch_convert_from_func_ptr_addr and
2756 set_gdbarch_elf_make_msymbol_special for ELFv1.
2757 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
2758 function descriptors on ELFv1.
2759 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
2760 set up r12 at function entry.
2762 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2764 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
2765 (struct gdbarch_tdep): New member elf_abi.
2767 * rs6000-tdep.c: Include "elf/ppc64.h".
2768 (rs6000_gdbarch_init): Detect ELF ABI version.
2770 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2772 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
2773 within a register pair holding a DFP 128-bit value on little-endian.
2774 (ppc64_sysv_abi_return_value_base): Likewise.
2775 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
2776 (dfp_pseudo_register_write): Likewise.
2778 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2780 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
2781 offset on little-endian when passing _Decimal32.
2782 (ppc64_sysv_abi_return_value_base): Likewise for return values.
2784 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2786 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
2787 of the overlapped FP register within the VSX register on little-
2789 (efpr_pseudo_register_write): Likewise.
2791 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2793 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
2794 offset on little-endian when passing small structures.
2796 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2798 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
2799 (struct ppc64_sysv_argpos): New data structure.
2800 (ppc64_sysv_abi_push_float): Remove.
2801 (ppc64_sysv_abi_push_val): New function.
2802 (ppc64_sysv_abi_push_integer): Likewise.
2803 (ppc64_sysv_abi_push_freg): Likewise.
2804 (ppc64_sysv_abi_push_vreg): Likewise.
2805 (ppc64_sysv_abi_push_param): Likewise.
2806 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
2807 (ppc64_sysv_abi_return_value_base): New function.
2808 (ppc64_sysv_abi_return_value): Refactor to use it.
2810 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2812 * NEWS: Document new target powerpc64le-*-linux*.
2814 2014-02-04 Mark Kettenis <kettenis@gnu.org>
2816 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
2817 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
2819 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
2820 register set used in ELF core dumps. Add floating-point register set.
2822 2014-02-03 Kevin Buettner <kevinb@redhat.com>
2824 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
2825 dwarf2_to_gdb[] table using symbolic constants. Adjust
2826 penultimate entry from number representing the PC register
2827 to symbolic constant representing the MDR register. Add
2828 constant for the PC register to the end of the table.
2830 2014-02-03 Mark Kettenis <kettenis@gnu.org>
2832 * bsd-kvm.c: Include <sys/param.h>
2834 2014-02-03 Mark Kettenis <kettenis@gnu.org>
2836 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
2838 2014-01-31 Joel Brobecker <brobecker@adacore.com>
2840 * ada-lang.h (clear_ada_sym_cache): Delete.
2842 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
2844 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
2846 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2848 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
2849 the sigreturn register save area only if the syscall is
2852 2014-01-29 Joel Brobecker <brobecker@adacore.com>
2854 * valops.c (value_slice): Minor reformatting.
2856 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
2858 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
2860 2014-01-28 Joel Brobecker <brobecker@adacore.com>
2862 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
2864 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
2865 (ada_ignore_descriptive_types_p): New static global.
2866 (find_parallel_type_by_descriptive_type): Return immediately
2867 if ada_ignore_descriptive_types_p is set.
2868 (_initialize_ada_language): Register new commands "maintenance
2869 set ada", "maintenance show ada", "maintenance set ada
2870 ignore-descriptive-types" and "maintenance show ada
2871 ignore-descriptive-types".
2872 * NEWS: Add entry for new "maint ada set/show
2873 ignore-descriptive-types" commands.
2875 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
2877 * record-btrace.c (record_btrace_close): Call btrace_teardown
2880 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2882 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
2885 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2887 * ada-typeprint (type_is_full_subrange_of_target_type):
2889 (print_range): Add parameter bounds_prefered_p. If not set,
2890 try printing range types using the name of their base type.
2891 (print_range_type): Add parameter bounds_prefered_p.
2892 Use it in call to print_range.
2893 (print_array_type, ada_print_type): Update calls to print_range
2894 and print_range_type.
2896 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2898 * ada-typeprint.c (print_array_type, print_choices, print_range)
2899 (print_range_bound, print_dynamic_range_bound, print_range_type):
2902 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2904 * ada-typeprint.c (print_range): Add missing empty line
2905 after local declaration.
2907 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2909 * ada-valprint.c (print_optional_low_bound): Get index_type's
2910 target type for as long as it is a TYPE_CODE_RANGE.
2912 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2914 * procfs.c (procfs_make_note_section): Remove assertion and
2917 2014-01-24 Yao Qi <yao@codesourcery.com>
2919 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
2920 * corelow.c (get_core_siginfo): Likewise.
2922 2014-01-24 Yao Qi <yao@codesourcery.com>
2924 * remote.c (remote_write_bytes_aux): Change type of 'len' to
2925 ULONGEST. Don't check 'len' is negative.
2926 (remote_write_bytes): Change type of 'len' to ULONGEST.
2928 2014-01-23 Tom Tromey <tromey@redhat.com>
2931 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
2932 Handle exception from frame.block.
2933 (FrameVars.fetch_frame_locals): Likewise.
2935 2014-01-23 Tom Tromey <tromey@redhat.com>
2938 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
2939 on a NULL pointer. Move "goto error" to correct place.
2941 2014-01-23 Tom Tromey <tromey@redhat.com>
2944 * python/py-framefilter.c (apply_frame_filter): Call
2945 ensure_python_env after computing gdbarch.
2947 2014-01-23 Yao Qi <yao@codesourcery.com>
2949 * target.c (raw_memory_xfer_partial): Change argument type
2950 from void * to gdb_byte *.
2951 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
2953 2014-01-22 Doug Evans <dje@google.com>
2955 New gdbserver option --debug-format=timestamp.
2958 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2960 * syscalls/s390x-linux.xml: New file.
2961 * syscalls/s390-linux.xml: New file.
2962 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
2963 (XML_SYSCALL_FILENAME_S390X): Likewise.
2964 (op_svc): New enum value for SVC opcode.
2965 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
2966 (s390_linux_get_syscall_number): New function.
2967 (s390_gdbarch_init): Register '*get_syscall_number' and the
2968 syscall xml file name.
2969 * data-directory/Makefile.in (SYSCALLS_FILES): Add
2970 "s390-linux.xml" and "s390x-linux.xml".
2971 * NEWS: Announce new feature.
2973 2014-01-22 Baruch Siach <baruch@tkos.co.il>
2975 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
2977 2014-01-22 Pedro Alves <palves@redhat.com>
2979 * xtensa-config.c: Include defs.h.
2981 2014-01-22 Joel Brobecker <brobecker@adacore.com>
2983 * common/common-utils.h: Add "ARI:" comment beside __func__
2986 2014-01-22 Joel Brobecker <brobecker@adacore.com>
2988 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
2989 documentation a bit.
2991 2014-01-21 Roland McGrath <mcgrathr@google.com>
2993 * configure.ac: Call AM_PROG_INSTALL_STRIP.
2994 * configure: Regenerate.
2995 * aclocal.m4: Regenerate.
2996 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
2997 New substituted variables.
2998 (install-strip): New target.
2999 (INSTALL_SCRIPT): New substituted variable.
3000 (FLAGS_TO_PASS): Add it.
3001 (install-only): Use $(INSTALL_SCRIPT) rather than
3002 $(INSTALL_PROGRAM) for gcore.
3004 2014-01-20 Tom Tromey <tromey@redhat.com>
3006 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
3009 2014-01-20 Tom Tromey <tromey@redhat.com>
3011 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
3012 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
3013 (deprecated_cmd_warning, complete_on_cmdlist): Update.
3014 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
3015 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3016 (struct cmd_list_element) <flags>: Remove.
3017 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3018 doc_allocated>: New fields.
3019 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3021 * maint.c (maintenance_do_deprecate): Update.
3022 * top.c (execute_command): Update.
3024 2014-01-20 Baruch Siach <baruch@tkos.co.il>
3026 * xtensa-linux-nat.c: Include asm/ptrace.h.
3028 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3030 * Makefile.in (SFILES): Add d-support.c.
3031 (COMMON_OBS): Add d-support.o.
3032 * d-lang.h (d_parse_symbol): Add comment, now defined in
3034 * d-lang.c (parse_call_convention)
3035 (parse_attributes, parse_function_types)
3036 (parse_function_args, parse_type, parse_identifier)
3037 (call_convention_p, d_parse_symbol): Move functions to ...
3038 * d-support.c: ... New file.
3040 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3042 * d-lang.h (d_parse_symbol): Add declaration.
3043 * d-lang.c (extract_identifiers)
3044 (extract_type_info): Remove functions.
3045 (parse_call_convention, parse_attributes)
3046 (parse_function_types, parse_function_args)
3047 (parse_type, parse_identifier, call_convention_p)
3048 (d_parse_symbol): New functions.
3049 (d_demangle): Use d_parse_symbol to demangle D symbols.
3051 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3053 * d-lang.h (struct builtin_d_type): New data type.
3054 (builtin_d_type): Add declaration.
3055 * d-lang.c (d_language_arch_info, build_d_types)
3056 (builtin_d_type): New functions.
3057 (enum d_primitive_types): New data type.
3058 (d_language_defn): Change c_language_arch_info to
3059 d_language_arch_info.
3060 (d_type_data): New static variable.
3061 (_initialize_d_language): Initialize d_type_data.
3063 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3065 * d-lang.h (d_main_name): Add declaration.
3066 * d-lang.c (d_main_name): New function.
3067 * symtab.c (find_main_name): Add call to d_main_name.
3069 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3071 * d-lang.c (d_language_defn): Change macro_expansion_c to
3074 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3076 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3078 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3080 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3081 gdb_exception" declaration.
3082 * remote.c (getpkt_or_notif_sane): Likewise.
3084 2014-01-17 Doug Evans <dje@google.com>
3086 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3087 function, contents of dirnames_to_char_ptr_vec_append moved here.
3088 (delim_string_to_char_ptr_vec): New function.
3089 (dirnames_to_char_ptr_vec_append): Rewrite.
3090 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3092 2014-01-17 Doug Evans <dje@google.com>
3094 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3096 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3097 #include "common-utils.h".
3098 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3099 * common/vec.h (VEC_ASSERT_PASS): Update.
3100 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3101 (MACH_CHECK_ERROR): Update.
3103 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3105 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3107 * gdbarch.h: Regenerate.
3109 2014-01-16 Tom Tromey <tromey@redhat.com>
3111 * value.c (struct value) <regnum>: Move earlier.
3113 2014-01-16 Tom Tromey <tromey@redhat.com>
3115 * remote.c (extended_remote_create_inferior): Rename from
3116 extended_remote_create_inferior_1. Add "ops" argument. Remove
3119 2014-01-16 Pedro Alves <palves@redhat.com>
3121 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3122 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3125 2014-01-16 Doug Evans <dje@google.com>
3127 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3129 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3131 * btrace.h (btrace_thread_flag): New.
3132 (struct btrace_thread_info) <flags>: New.
3133 * record-btrace.c (record_btrace_resume_thread)
3134 (record_btrace_find_thread_to_move, btrace_step_no_history)
3135 (btrace_step_stopped, record_btrace_start_replaying)
3136 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3137 (record_btrace_find_resume_thread): New.
3138 (record_btrace_resume, record_btrace_wait): Extend.
3139 (record_btrace_can_execute_reverse): New.
3140 (record_btrace_open): Fail in non-stop mode.
3141 (record_btrace_set_replay): Split into this, ...
3142 (record_btrace_stop_replaying): ... this, ...
3143 (record_btrace_clear_histories): ... and this.
3144 (init_record_btrace_ops): Init to_can_execute_reverse.
3145 * NEWS: Announce it.
3147 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3149 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3150 (forward_target_decr_pc_after_break)
3151 (target_decr_pc_after_break): New.
3152 * target.c (forward_target_decr_pc_after_break)
3153 (target_decr_pc_after_break): New.
3154 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3155 instead of gdbarch_decr_pc_after_break.
3156 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3157 instead of gdbarch_decr_pc_after_break.
3158 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3159 instead of gdbarch_decr_pc_after_break.
3160 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3161 instead of gdbarch_decr_pc_after_break.
3162 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3163 instead of gdbarch_decr_pc_after_break.
3164 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3165 instead of gdbarch_decr_pc_after_break.
3167 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3169 * btrace.c: Include regcache.h.
3170 (btrace_add_pc): New.
3171 (btrace_enable): Call btrace_add_pc.
3172 (btrace_is_empty): New.
3173 * btrace.h (btrace_is_empty): New.
3174 * record-btrace.c (require_btrace, record_btrace_info): Call
3177 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3179 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3180 Support delta reads.
3181 (linux_disable_btrace): Change return type.
3182 * common/linux-btrace.h (linux_read_btrace): Change parameters
3183 and return type to allow error reporting. Update users.
3184 (linux_disable_btrace): Change return type. Update users.
3185 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3187 (btrace_error): New.
3188 (btrace_block) <begin>: Comment on BEGIN == 0.
3189 * btrace.c (btrace_compute_ftrace): Start from the end of
3191 (btrace_stitch_trace, btrace_clear_history): New.
3192 (btrace_fetch): Read delta trace, return if replaying.
3193 (btrace_clear): Move clear history code to btrace_clear_history.
3194 (parse_xml_btrace): Throw an error if parsing failed.
3195 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3196 and return type to allow error reporting.
3197 (target_read_btrace): Change parameters and return type to allow
3199 * target.c (target_read_btrace): Update.
3200 * remote.c (remote_read_btrace): Support delta reads. Pass
3202 * NEWS: Announce it.
3204 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3206 * record.h (record_btrace_frame_unwind)
3207 (record_btrace_tailcall_frame_unwind): New declarations.
3208 * dwarf2-frame: Include record.h
3209 (dwarf2_frame_cfa): Throw an error for btrace frames.
3210 * record-btrace.c: Include hashtab.h.
3211 (btrace_get_bfun_name): New.
3212 (btrace_call_history): Call btrace_get_bfun_name.
3213 (struct btrace_frame_cache): New.
3215 (bfcache_hash, bfcache_eq, bfcache_new): New.
3216 (btrace_get_frame_function): New.
3217 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3218 (record_btrace_frame_this_id): Compute own id.
3219 (record_btrace_frame_prev_register): Provide PC, throw_error
3220 for all other registers.
3221 (record_btrace_frame_sniffer): Detect btrace frames.
3222 (record_btrace_tailcall_frame_sniffer): New.
3223 (record_btrace_frame_dealloc_cache): New.
3224 (record_btrace_frame_unwind): Add new functions.
3225 (record_btrace_tailcall_frame_unwind): New.
3226 (_initialize_record_btrace): Allocate cache.
3227 * btrace.c (btrace_clear): Call reinit_frame_cache.
3228 * NEWS: Announce it.
3230 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3232 * record-btrace.c (record_btrace_set_replay)
3233 (record_btrace_goto_begin, record_btrace_goto_end)
3234 (record_btrace_goto): New.
3235 (init_record_btrace_ops): Initialize them.
3236 * NEWS: Announce it.
3238 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3240 * record-btrace.c (record_btrace_find_new_threads)
3241 (record_btrace_thread_alive): New.
3242 (init_record_btrace_ops): Initialize to_find_new_threads and
3245 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3247 * record-btrace.c (record_btrace_resume): New.
3248 (record_btrace_wait): New.
3249 (init_record_btrace_ops): Initialize to_wait and to_resume.
3251 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3253 * record-btrace.c (record_btrace_xfer_partial)
3254 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3255 (record_btrace_allow_memory_access): New.
3256 (init_record_btrace_ops): Initialize new methods.
3257 * target.c (raw_memory_xfer_partial): Bail out if target reports
3258 that this memory is not available.
3260 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3262 * target.h (target_ops) <to_insert_breakpoint>
3263 <to_remove_breakpoint>: Add target_ops parameter.
3264 (forward_target_insert_breakpoint): New.
3265 (forward_target_remove_breakpoint): New.
3266 (memory_remove_breakpoint, memory_insert_breakpoint):
3267 Add target_ops parameter.
3268 * target.c (target_insert_breakpoint): Split into this and ...
3269 (forward_target_insert_breakpoint): ... this.
3270 (target_remove_breakpoint): Split into this and ...
3271 (forward_target_remove_breakpoint): ... this.
3272 (debug_to_insert_breakpoint): Add target_ops parameter.
3273 Call forward_target_insert_breakpoint.
3274 (debug_to_remove_breakpoint): Add target_ops parameter.
3275 Call forward_target_remove_breakpoint.
3276 (update_current_target): Do not inherit or default to_insert_breakpoint
3277 and to_remove_breakpoint.
3278 * corelow.c (ignore): Add target_ops parameter.
3279 * exec.c (ignore): Add target_ops parameter.
3280 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3281 Add target_ops parameter.
3282 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3283 Add target_ops parameter.
3284 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3285 Add target_ops parameter.
3286 * record-full.c (record_full_beneath_to_insert_breakpoint)
3287 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3288 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3289 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
3290 (record_full_core_remove_breakpoint): Add target_ops parameter.
3292 (record_full_beneath_to_insert_breakpoint_ops)
3293 (record_full_beneath_to_remove_breakpoint_ops)
3294 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
3295 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
3296 tmp_to_remove_breakpoint_ops,
3297 record_full_beneath_to_insert_breakpoint_ops, and
3298 record_full_beneath_to_remove_breakpoint_ops.
3299 * remote-m32r-sdi.c (m32r_insert_breakpoint)
3300 (m32r_remove_breakpoint): Add target_ops parameter.
3301 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
3302 Add target_ops parameter.
3303 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
3304 Add target_ops parameter.
3306 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3307 Markus Metzger <markus.t.metzger@intel.com>
3309 * record-btrace.c: Include frame-unwind.h.
3310 (record_btrace_frame_unwind_stop_reason)
3311 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
3312 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
3314 (init_record_btrace_ops): Install it.
3316 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3318 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
3321 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3323 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
3326 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3328 * frame-unwind.c: Include target.h.
3329 (frame_unwind_try_unwinder): New function with code from ...
3330 (frame_unwind_find_by_frame): ... here. New variable
3331 unwinder_from_target, call also target_get_unwinder)
3332 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
3333 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
3334 * target.h (struct target_ops): New fields to_get_unwinder and
3335 to_get_tailcall_unwinder.
3336 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
3338 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3340 * record-btrace.c (record_btrace_fetch_registers)
3341 (record_btrace_store_registers)
3342 (record_btrace_to_prepare_to_store): New.
3343 (init_record_btrace_ops): Add the above.
3345 2014-01-16 Tom Tromey <tromey@redhat.com>
3347 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
3348 * target.h (struct target_ops) <to_prepare_to_store>: Add
3350 (target_prepare_to_store): Add argument.
3351 * target.c (debug_to_prepare_to_store): Add argument.
3352 (update_current_target): Update.
3353 * remote.c (remote_prepare_to_store): Add 'self' argument.
3354 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
3355 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
3356 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
3357 * record-full.c (record_full_core_prepare_to_store): Add 'self'
3359 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
3360 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
3361 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
3362 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
3363 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
3365 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3367 * btrace.h (replay) <replay>: New.
3368 (btrace_is_replaying): New.
3369 * btrace.c (btrace_clear): Free replay iterator.
3370 (btrace_is_replaying): New.
3371 * record-btrace.c (record_btrace_is_replaying): New.
3372 (record_btrace_info): Print insn number if replaying.
3373 (record_btrace_insn_history): Start at replay position.
3374 (record_btrace_call_history): Start at replay position.
3375 (init_record_btrace_ops): Init to_record_is_replaying.
3377 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3379 * record-btrace.c (record_btrace_insn_history_range): Include
3381 (record_btrace_insn_history_from): Adjust range.
3382 (record_btrace_call_history_range): Include
3384 (record_btrace_call_history_from): Adjust range.
3385 * NEWS: Announce changes.
3387 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3389 * record.h (enum record_print_flag)
3390 <record_print_indent_calls>: New.
3391 * record.c (get_call_history_modifiers): Recognize /c modifier.
3392 (_initialize_record): Document /c modifier.
3393 * record-btrace.c (btrace_call_history): Add btinfo parameter.
3394 Reorder fields. Optionally indent the function name. Update
3396 * NEWS: Announce changes.
3398 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3400 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
3402 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3404 * btrace.c (ftrace_new_function): Start counting at one.
3405 * record-btrace.c (record_btrace_info): Adjust number of calls
3407 * NEWS: Announce it.
3409 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3411 * record-btrace.c (btrace_call_history_insn_range): Print
3412 insn range as [begin, end].
3414 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3416 * btrace.h (struct btrace_func_link): New.
3417 (enum btrace_function_flag): New.
3418 (struct btrace_inst): Rename to ...
3419 (struct btrace_insn): ...this. Update all users.
3420 (struct btrace_func) <ibegin, iend>: Remove.
3421 (struct btrace_func_link): New.
3422 (struct btrace_func): Rename to ...
3423 (struct btrace_function): ...this. Update all users.
3424 (struct btrace_function) <segment, flow, up, insn, insn_offset)
3425 (number, level, flags>: New.
3426 (struct btrace_insn_iterator): Rename to ...
3427 (struct btrace_insn_history): ...this.
3429 (struct btrace_insn_iterator, btrace_call_iterator): New.
3430 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
3431 (struct btrace_target_info) <begin, end, level>
3432 <insn_history, call_history>: New.
3433 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3434 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3435 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3436 (btrace_call_number, btrace_call_begin, btrace_call_end)
3437 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3438 (btrace_find_function_by_number, btrace_set_insn_history)
3439 (btrace_set_call_history): New.
3440 * btrace.c (btrace_init_insn_iterator)
3441 (btrace_init_func_iterator, compute_itrace): Remove.
3442 (ftrace_print_function_name, ftrace_print_filename)
3443 (ftrace_skip_file): Change
3445 (ftrace_init_func): Remove.
3446 (ftrace_debug): Use new btrace_function fields.
3447 (ftrace_function_switched): Also consider gaining and
3448 losing symbol information).
3449 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
3450 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
3451 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
3453 (ftrace_new_function): Move. Remove debug print.
3454 (ftrace_update_lines, ftrace_update_insns): New.
3455 (ftrace_update_function): Check for call, ret, and jump.
3456 (compute_ftrace): Renamed to ...
3457 (btrace_compute_ftrace): ...this. Rewritten to compute call
3459 (btrace_fetch, btrace_clear): Updated.
3460 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3461 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3462 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3463 (btrace_call_number, btrace_call_begin, btrace_call_end)
3464 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3465 (btrace_find_function_by_number, btrace_set_insn_history)
3466 (btrace_set_call_history): New.
3467 * record-btrace.c (require_btrace): Use new btrace thread
3469 (record_btrace_info, btrace_insn_history)
3470 (record_btrace_insn_history, record_btrace_insn_history_range):
3471 Use new btrace thread info fields and new iterator.
3472 (btrace_func_history_src_line): Rename to ...
3473 (btrace_call_history_src_line): ...this. Use new btrace
3475 (btrace_func_history): Rename to ...
3476 (btrace_call_history): ...this. Use new btrace thread info
3477 fields and new iterator.
3478 (record_btrace_call_history, record_btrace_call_history_range):
3479 Use new btrace thread info fields and new iterator.
3481 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3483 * frame.h (frame_id_build_unavailable_stack_special): New.
3484 * frame.c (frame_id_build_unavailable_stack_special): New.
3486 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3488 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
3489 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
3490 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
3492 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
3493 (i386_insn_is_jump, i386_jmp_p): New.
3494 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
3495 insn_is_jump to gdbarch.
3496 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
3497 * gdbarch.h: Regenerated.
3498 * gdbarch.c: Regenerated.
3499 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
3500 (default_insn_is_jump): New.
3501 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
3502 (default_insn_is_jump): New.
3504 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3506 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
3508 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
3509 (btrace_read_type) <btrace_read_new>: Change to ...
3510 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
3512 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3514 * common/linux-btrace.c (linux_read_btrace): Free trace from
3517 2014-01-15 Doug Evans <dje@google.com>
3519 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
3522 2014-01-15 Tom Tromey <tromey@redhat.com>
3524 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
3525 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
3526 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
3527 (set_objfile_main_name): New function.
3528 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
3529 language_of_main>: New fields.
3530 (set_objfile_main_name): Declare.
3531 * symtab.c (find_main_name): Loop over objfiles to find the main
3533 (set_main_name): Now static.
3534 (get_main_info): Add comment.
3535 * symtab.h (set_main_name): Don't declare.
3537 2014-01-15 Tom Tromey <tromey@redhat.com>
3539 * symtab.c (main_progspace_key): New global.
3540 (struct main_info): New.
3541 (name_of_main, language_of_main): Remove.
3542 (get_main_info, main_info_cleanup): New function.
3543 (set_main_name, main_name, main_language): Use get_main_info.
3544 (_initialize_symtab): Initialize main_progspace_key.
3546 2014-01-15 Tom Tromey <tromey@redhat.com>
3548 * dbxread.c (process_one_symbol): Update.
3549 * dwarf2read.c (read_partial_die): Update.
3550 * symfile.c (set_initial_language): Call main_language.
3551 * symtab.c (language_of_main): Now static.
3552 (set_main_name): Add 'lang' parameter.
3553 (find_main_name): Update.
3554 (main_language): New function.
3555 (symtab_observer_executable_changed): Update.
3556 * symtab.h (set_main_name): Update.
3557 (language_of_main): Remove.
3558 (main_language): Declare.
3560 2014-01-15 Tom Tromey <tromey@redhat.com>
3562 * symfile.c (init_entry_point_info): Use new "initialized" field.
3564 * objfiles.h (struct entry_point) <initialized>: New field.
3565 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
3566 (struct objfile) <ei>: ...here. Remove.
3567 * objfiles.c (entry_point_address_query): Update.
3569 2014-01-15 Tom Tromey <tromey@redhat.com>
3571 * objfiles.c (entry_point_address_query): Relocate entry point
3573 (objfile_relocate1): Do not relocate entry point address.
3574 * objfiles.h (struct entry_info) <entry_point>: Update comment.
3575 <the_bfd_section_index>: New field.
3576 * symfile.c (init_entry_point_info): Find the entry point's
3579 2014-01-15 Tom Tromey <tromey@redhat.com>
3581 * solib-frv.c (enable_break): Use entry_point_address_query.
3583 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3585 * NEWS: Add note on improved process record-replay on
3586 arm*-linux* targets.
3588 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3590 * arm-tdep.c (enum arm_record_result): New enum.
3591 (arm_record_unsupported_insn): New function.
3592 (arm_record_coproc_data_proc): Removed.
3593 (thumb2_record_ld_st_multiple): New function.
3594 (thumb2_record_ld_st_dual_ex_tbb): New function.
3595 (thumb2_record_data_proc_sreg_mimm): New function.
3596 (thumb2_record_ps_dest_generic): New function.
3597 (thumb2_record_branch_misc_cntrl): New function.
3598 (thumb2_record_str_single_data): New function.
3599 (thumb2_record_ld_mem_hints): New function.
3600 (thumb2_record_ld_word): New function.
3601 (thumb2_record_lmul_lmla_div): New function.
3602 (thumb2_record_decode_insn_handler): New function.
3603 (decode_insn): Add thumb32 instruction handlers.
3605 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3607 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
3608 (struct arm_linux_record_tdep): Declare.
3609 (arm_canonicalize_syscall): New function.
3610 (arm_all_but_pc_registers_record): New function.
3611 (arm_linux_syscall_record): New function.
3612 (arm_linux_init_abi): Add syscall recording constructs.
3613 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
3614 decoding. (arm_record_coproc_data_proc): Update arm syscall
3616 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
3617 <arm_syscall_record>: New field.
3618 * configure.tgt (arm*-*-linux*): Add linux-record.o to
3621 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3623 * arm-tdep.c (thumb_record_misc): Update to use sp as base
3624 register for push instruction recording.
3626 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3628 * arm-tdep.c (thumb_record_misc): Update to correct logical
3629 error while recording ldm, ldmia and pop instructions.
3631 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3633 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
3635 2014-01-15 Pedro Alves <palves@redhat.com>
3637 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
3638 (go32_resume, go32_fetch_registers, store_register)
3639 (go32_store_registers, go32_prepare_to_store)
3640 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
3641 (go32_create_inferior, go32_can_run, go32_terminal_init)
3642 (go32_terminal_inferior, go32_terminal_ours): Delete forward
3645 2014-01-15 Tom Tromey <tromey@redhat.com>
3647 * target.h (async_callback_ftype): New typedef.
3648 (struct target_ops) <to_async>: Use it.
3650 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3652 * python/py-value.c (get_field_type): Remove unnecessary curly
3653 braces for single-statement if block.
3655 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3657 * python/py-type.c (convert_field): Add missing empty line
3660 2014-01-14 Doug Evans <dje@google.com>
3662 * symfile.h (expand_symtabs_matching): Renamed from
3663 expand_partial_symbol_names. Update prototype.
3664 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3665 * symfile.c (expand_symtabs_matching): Renamed from
3666 expand_partial_symbol_names. New args file_matcher, kind.
3667 Rename arg fun to symbol_matcher.
3668 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3669 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
3670 ada_expand_partial_symbol_name.
3671 (ada_make_symbol_completion_list): Update to call
3672 expand_symtabs_matching.
3673 (ada_add_global_exceptions): Call expand_symtabs_matching.
3674 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
3675 call map_symbol_filenames.
3676 * symtab.c (sources_info): Update to call map_symbol_filenames.
3677 (search_symbols): Call expand_symtabs_matching.
3678 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
3679 (default_make_symbol_completion_list_break_on): Update to call
3680 expand_symtabs_matching.
3681 (make_source_files_completion_list): Update to call
3682 map_symbol_filenames.
3684 2014-01-14 Doug Evans <dje@google.com>
3686 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
3687 (expand_symtabs_symbol_matcher_ftype): New typedef.
3688 (quick_symbol_functions.expand_symtabs_matching): Update to use.
3689 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3690 * symfile.c (expand_partial_symbol_names): Update to use
3691 expand_symtabs_symbol_matcher_ftype.
3692 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
3693 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3694 Arg name_matcher renamed to symbol_matcher.
3695 * psymtab.c (recursively_search_psymtabs): Update to use
3696 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
3698 (expand_symtabs_matching_via_partial): Update to use
3699 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3700 Arg name_matcher renamed to symbol_matcher.
3702 2014-01-14 Doug Evans <dje@google.com>
3704 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
3705 (map_partial_symbol_filenames): Ditto.
3706 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
3707 (map_partial_symbol_filenames): Ditto.
3708 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
3709 (map_partial_symbol_filenames): Ditto.
3710 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
3711 (map_partial_symbol_filenames): Ditto.
3712 * symtab.c: Delete #include "psymtab.h".
3714 2014-01-14 Pedro Alves <palves@redhat.com>
3715 Tom Tromey <tromey@redhat.com>
3717 * infrun.c (use_displaced_stepping): Use find_record_target
3718 instead of RECORD_IS_USED.
3719 (adjust_pc_after_break): Use record_full_is_used instead of
3721 * record-btrace.c (record_btrace_open): Call record_preopen
3722 instead of checking RECORD_IS_USED.
3723 * record-full.c (record_full_shortname)
3724 (record_full_core_shortname): New globals.
3725 (record_full_is_used): New function.
3726 (find_full_open): Call record_preopen instead of checking
3728 (init_record_full_ops): Set the target's shortname to
3729 record_full_shortname.
3730 (init_record_full_core_ops): Set the target's shortname to
3731 record_full_core_shortname.
3732 * record-full.h (record_full_is_used): Declare.
3733 * record.c (find_record_target): Make extern.
3734 (record_preopen): New function.
3735 * record.h (RECORD_IS_USED): Delete macro.
3736 (find_record_target, record_preopen): Declare functions.
3738 2014-01-14 Yao Qi <yao@codesourcery.com>
3740 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
3741 'len''s type to ULONGEST.
3742 (core_xfer_shared_libraries_aix): Likewise.
3743 * gdbarch.c, gdbarch.h: Regenerated.
3744 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
3745 Change type of 'len' to ULONGEST.
3746 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3747 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
3749 2014-01-14 Yao Qi <yao@codesourcery.com>
3751 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
3752 type of 'len' to ULONGEST.
3753 (linux_xfer_osdata_processgroups): Likewise.
3754 (linux_xfer_osdata_threads): Likewise.
3755 (linux_xfer_osdata_fds): Likewise.
3756 (linux_xfer_osdata_isockets): Likewise.
3757 (linux_xfer_osdata_shm): Likewise.
3758 (linux_xfer_osdata_sem): Likewise.
3759 (linux_xfer_osdata_msg): Likewise.
3760 (linux_common_xfer_osdata): Likewise.
3761 (struct osdata_type) <getter>: Likewise.
3762 * common/linux-osdata.h (linux_common_xfer_osdata): Update
3765 2014-01-14 Yao Qi <yao@codesourcery.com>
3767 * target.h (target_xfer_partial_ftype): Update.
3768 (struct target_ops) <to_xfer_partial>: Change 'len' type to
3770 * aix-thread.c (aix_thread_xfer_partial): Change type of
3771 argument 'len' to ULONGEST.
3772 * auxv.c (procfs_xfer_auxv): Likewise.
3773 (ld_so_xfer_auxv): Likewise.
3774 (memory_xfer_auxv): Likewise.
3775 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3776 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3777 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
3778 * corelow.c (core_xfer_partial): Likewise.
3779 * ctf.c (ctf_xfer_partial): Likewise.
3780 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
3782 (darwin_read_dyld_info): Likewise.
3783 (darwin_xfer_partial): Likewise.
3784 * exec.c (section_table_xfer_memory_partial): Likewise.
3785 (exec_xfer_partial): Likewise.
3786 * exec.h (section_table_xfer_memory_partial): Update
3788 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
3789 instead of plongest.
3790 (gnu_xfer_partial): Likewise.
3791 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
3792 (ia64_hpux_xfer_solib_got): Likewise.
3793 (ia64_hpux_xfer_partial): Likewise.
3794 * ia64-linux-nat.c (ia64_linux_xfer_partial):
3795 * inf-ptrace.c (inf_ptrace_xfer_partial):
3796 * inf-ttrace.c (inf_ttrace_xfer_partial):
3797 * linux-nat.c (linux_xfer_siginfo): Likewise.
3798 (linux_nat_xfer_partial): Likewise.
3799 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
3800 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
3801 * monitor.c (monitor_xfer_memory): Likewise.
3802 (monitor_xfer_partial): Likewise.
3803 * procfs.c (procfs_xfer_partial): Likewise.
3804 * record-full.c (record_full_xfer_partial): Likewise.
3805 (record_full_core_xfer_partial): Likewise.
3806 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
3807 instead of plongest.
3808 (gdbsim_xfer_partial): Likewise.
3809 * remote.c (remote_xfer_partial): Likewise.
3810 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3811 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3813 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3814 (rs6000_xfer_shared_libraries): Likewise.
3815 * sol-thread.c (sol_thread_xfer_partial): Likewise.
3816 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3817 (sparc_xfer_partial): Likewise.
3818 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3819 (spu_xfer_partial): Likewise.
3820 * spu-multiarch.c (spu_xfer_partial): Likewise.
3821 * target.c (target_read_live_memory): Likewise.
3822 (memory_xfer_live_readonly_partial): Likewise.
3823 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
3824 (target_xfer_partial, default_xfer_partial): Likewise.
3825 (current_xfer_partial): Likewise.
3826 * tracepoint.c (tfile_xfer_partial): Likewise.
3827 * windows-nat.c (windows_xfer_memory): Likewise. Call
3828 pulongest instead of plongest.
3829 (windows_xfer_partial): Likewise.
3830 (windows_xfer_shared_libraries): Likewise.
3832 2014-01-14 Yao Qi <yao@codesourcery.com>
3834 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
3835 target_xfer_partial_ftype.
3837 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3841 * valops.c (value_struct_elt_bitpos): New function
3842 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
3843 object to 'None' if the field name is an empty string ("").
3844 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
3845 attribute to look for a field when 'name' is 'None'.
3846 (get_field_type): New function
3848 2014-01-13 Doug Evans <dje@google.com>
3851 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
3852 (try_open_dwop_file): Ditto.
3853 * gdb_bfd.c: #include "vec.h".
3854 (bfdp): New typedef.
3855 (struct gdb_bfd_data): New member included_bfds.
3856 (gdb_bfd_unref): Unref all included bfds.
3857 (gdb_bfd_record_inclusion): New function.
3858 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
3860 2014-01-13 Tom Tromey <tromey@redhat.com>
3862 * gdbcore.h (deprecated_core_resize_section_table): Remove.
3864 2014-01-13 Tom Tromey <tromey@redhat.com>
3866 * defs.h (use_windows): Remove.
3867 * gdb.c (main): Update.
3868 * main.c (captured_main, gdb_main): Update.
3869 * main.h (struct captured_main_args) <use_windows>: Remove.
3870 * top.c (use_windows): Remove.
3872 2014-01-13 Tom Tromey <tromey@redhat.com>
3874 * defs.h (deprecated_flush_hook): Remove.
3876 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3879 * linux-thread-db.c (try_thread_db_load): Add parameter
3880 check_auto_load_safe. Move here the file_is_auto_load_safe call.
3881 (try_thread_db_load_from_pdir_1): Move it there from here.
3882 (try_thread_db_load_from_sdir): Update caller.
3883 (try_thread_db_load_from_dir): Move it there from here.
3885 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
3887 * regformats/regdat.sh: Always rewrite the register file.
3889 2014-01-13 Pedro Alves <palves@redhat.com>
3891 * Makefile.in (CHECK_HEADERS): New variable.
3892 (check-headers:): New rule.
3894 2014-01-13 Tom Tromey <tromey@redhat.com>
3896 * cli/cli-setshow.c (do_set_command): Update.
3897 * defs.h (deprecated_set_hook): Remove.
3898 * top.c (deprecated_set_hook): Remove.
3900 2014-01-13 Pedro Alves <palves@redhat.com>
3902 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
3903 the tracepoint if the PC is a pseudo-register.
3905 2014-01-13 Tom Tromey <tromey@redhat.com>
3907 * defs.h (XCALLOC): Remove.
3908 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
3909 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
3910 * dwarf2loc.c (allocate_piece_closure): Likewise.
3911 * elfread.c (elf_symfile_segments): Likewise.
3912 (elf_symfile_segments): Likewise.
3913 * gdbtypes.c (copy_type_recursive): Likewise.
3914 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
3915 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
3916 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
3918 * mt-tdep.c (mt_gdbarch_init): Likewise.
3919 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
3921 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
3922 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
3923 * registry.c (registry_alloc_data): Likewise.
3924 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
3925 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
3926 * serial.c (serial_fdopen_ops): Likewise.
3927 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
3929 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
3930 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
3933 2014-01-13 Tom Tromey <tromey@redhat.com>
3935 * defs.h (XMALLOC): Remove.
3936 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
3937 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
3938 * cli-out.c (struct ui_out *): Likewise.
3939 * cli/cli-dump.c (add_dump_command): Likewise.
3940 (add_dump_command): Likewise.
3941 * complaints.c (get_complaints): Likewise.
3942 (find_complaint): Likewise.
3943 * dwarf2-frame.c (execute_cfa_program): Likewise.
3944 * dwarf2read.c (abbrev_table_read_table): Likewise.
3945 * gdbarch.sh: Likewise.
3946 * gdbarch.c: Rebuild.
3947 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
3948 * interps.c (interp_new): Likewise.
3949 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
3950 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
3951 * mi/mi-console.c (mi_console_file_new): Likewise.
3952 * mi/mi-interp.c (mi_interpreter_init): Likewise.
3953 * mi/mi-out.c (mi_out_new): Likewise.
3954 * mi/mi-parse.c (mi_parse): Likewise.
3955 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
3956 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
3957 * observer.c (xalloc_observer_list_node): Likewise.
3958 * regcache.c (regcache_xmalloc_1): Likewise.
3959 * reggroups.c (reggroup_new): Likewise.
3960 (_initialize_reggroup): Likewise.
3961 * registry.c (register_data_with_cleanup): Likewise.
3962 * remote.c (remote_notif_stop_alloc_reply): Likewise.
3963 * ser-base.c (serial_ttystate): Likewise.
3964 * ser-mingw.c (make_pipe_state): Likewise.
3965 * ser-pipe.c (pipe_open): Likewise.
3966 * serial.c (serial_open): Likewise.
3967 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
3968 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
3969 (tui_alloc_win_info): Likewise.
3970 (tui_add_content_elements): Likewise.
3971 * tui/tui-file.c (tui_file_new): Likewise.
3972 * tui/tui-out.c (tui_out_new): Likewise.
3973 * ui-file.c (mem_file_new): Likewise.
3974 * ui-out.c (push_level): Likewise.
3975 (make_cleanup_ui_out_end): Likewise.
3976 (append_header_to_list): Likewise.
3977 (ui_out_new): Likewise.
3978 * user-regs.c (user_reg_add_builtin): Likewise.
3980 2014-01-13 Tom Tromey <tromey@redhat.com>
3982 * defs.h (XZALLOC): Remove.
3983 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
3984 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
3985 (get_ada_tasks_inferior_data): Likewise.
3986 * auto-load.c (get_auto_load_pspace_data): Likewise.
3987 * auxv.c (get_auxv_inferior_data): Likewise.
3988 * bfd-target.c (target_bfd_reopen): Likewise.
3989 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
3990 (deprecated_insert_raw_breakpoint): Likewise.
3991 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
3992 * corelow.c (core_open): Likewise.
3993 * darwin-nat.c (darwin_check_new_threads): Likewise.
3994 (darwin_attach_pid): Likewise.
3995 * dummy-frame.c (dummy_frame_push): Likewise.
3996 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
3997 * dwarf2loc.c (allocate_piece_closure): Likewise.
3998 * elfread.c (elf_symfile_segments): Likewise.
3999 * eval.c (ptrmath_type_p): Likewise.
4000 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
4001 * gdbtypes.c (alloc_type_arch): Likewise.
4002 (alloc_type_instance): Likewise.
4003 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
4004 * inf-child.c (inf_child_can_use_agent): Likewise.
4005 * inflow.c (get_inflow_inferior_data): Likewise.
4006 * infrun.c (save_infcall_suspend_state): Likewise.
4007 * jit.c (jit_reader_load): Likewise.
4008 (get_jit_objfile_data): Likewise.
4009 (get_jit_program_space_data): Likewise.
4010 (jit_object_open_impl): Likewise.
4011 (jit_symtab_open_impl): Likewise.
4012 (jit_block_open_impl): Likewise.
4013 (jit_frame_sniffer): Likewise.
4014 * linux-fork.c (add_fork): Likewise.
4015 * maint.c (make_command_stats_cleanup): Likewise.
4016 * objfiles.c (get_objfile_pspace_data): Likewise.
4017 * opencl-lang.c (struct lval_closure): Likewise.
4018 * osdata.c (osdata_start_osdata): Likewise.
4019 * progspace.c (new_address_space): Likewise.
4020 (add_program_space): Likewise.
4021 * remote-sim.c (get_sim_inferior_data): Likewise.
4022 * sh-tdep.c (sh_gdbarch_init): Likewise.
4023 * skip.c (Ignore): Likewise.
4024 (skip_delete_command): Likewise.
4025 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4026 (library_list_start_library): Likewise.
4027 (solib_aix_current_sos): Likewise.
4028 * solib-darwin.c (get_darwin_info): Likewise.
4029 (darwin_current_sos): Likewise.
4030 * solib-dsbt.c (get_dsbt_info): Likewise.
4031 * solib-ia64-hpux.c (new_so_list): Likewise.
4032 (ia64_hpux_get_solib_linkage_addr): Likewise.
4033 * solib-spu.c (append_ocl_sos): Likewise.
4034 (spu_current_sos): Likewise.
4035 * solib-svr4.c (get_svr4_info): Likewise.
4036 (svr4_keep_data_in_core): Likewise.
4037 (library_list_start_library): Likewise.
4038 (svr4_default_sos): Likewise.
4039 (svr4_read_so_list): Likewise.
4040 * solib-target.c (library_list_start_library): Likewise.
4041 (solib_target_current_sos): Likewise.
4042 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4043 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4044 * symfile.c (default_symfile_segments): Likewise.
4045 * target-descriptions.c (tdesc_data_init): Likewise.
4046 (tdesc_create_reg): Likewise.
4047 (struct tdesc_type *): Likewise.
4048 (tdesc_create_vector): Likewise.
4049 (tdesc_set_struct_size): Likewise.
4050 (struct tdesc_type *): Likewise.
4051 (tdesc_free_feature): Likewise.
4052 (tdesc_create_feature): Likewise.
4053 * windows-nat.c (windows_add_thread): Likewise.
4054 (windows_make_so): Likewise.
4055 * xml-support.c (gdb_xml_body_text): Likewise.
4056 (gdb_xml_create_parser_and_cleanup): Likewise.
4057 (xml_process_xincludes): Likewise.
4058 * xml-syscall.c (allocate_syscalls_info): Likewise.
4059 (syscall_create_syscall_desc): Likewise.
4061 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4063 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4064 function, with code from i386_stap_parse_special_token.
4065 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4066 (i386_stap_parse_special_token): Move code to the two functions
4069 2014-01-09 Pedro Alves <palves@redhat.com>
4070 Hui Zhu <hui@codesourcery.com>
4073 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4074 bp_err_string. Don't mark the location shlib_disabled if the
4075 error thrown wasn't a generic or memory error. Catch errors
4076 thrown while inserting breakpoints in overlayed code. Output
4077 error message of software breakpoints.
4078 * remote.c (remote_insert_breakpoint): If this breakpoint has
4079 target-side commands but this stub doesn't support Z0 packets,
4080 throw NOT_SUPPORTED_ERROR error.
4081 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4082 * target.h (target_insert_breakpoint): Extend comment.
4083 (target_insert_hw_breakpoint): Add comment.
4085 2014-01-08 Pedro Alves <palves@redhat.com>
4087 * remote.c (remote_add_thread): Add threads silently if starting
4089 (remote_notice_new_inferior): If in all-stop, and starting up,
4090 don't call notice_new_inferior.
4091 (get_current_thread): New function, factored out from ...
4092 (add_current_inferior_and_thread): ... this. Adjust.
4093 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4094 found any thread, then select the remote's current thread as GDB's
4097 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4099 * NEWS: Create a new section for the next release branch.
4100 Rename the section of the current branch, now that it has
4103 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4105 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4106 * version.in: Bump version to 7.7.50.DATE-cvs.
4108 2014-01-08 Yao Qi <yao@codesourcery.com>
4110 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4111 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4112 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4114 2014-01-08 Yao Qi <yao@codesourcery.com>
4116 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4117 return value of bfd_get_filename to symbol_file_add_from_bfd.
4119 2014-01-08 Pierre Muller <muller@sourceware.org>
4122 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4123 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4124 to prim_record_mininal_symbol_and_info.
4125 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4126 in call to prim_record_minimal_symbol_and_info.
4127 (read_pe_exported_syms): Set index field of section_data.
4129 2014-01-07 Andrew Pinski <apinski@cavium.com>
4131 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4132 * features/aarch64.c: Regenerate.
4134 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4136 * target.c (return_null): Define.
4137 (update_current_target): Use it instead of return_zero for
4138 functions that return a pointer.
4140 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4142 * source.c (add_path): Fix check for duplicated paths in the previously
4145 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4147 * ada-lang.c: Remove duplicated include statements.
4148 * alphabsd-nat.c: Ditto.
4149 * amd64-darwin-tdep.c: Ditto.
4150 * amd64fbsd-nat.c: Ditto.
4151 * auto-load.c: Ditto.
4153 * breakpoint.c: Ditto.
4155 * fork-child.c: Ditto.
4156 * gdb_usleep.c: Ditto.
4157 * i386-darwin-tdep.c: Ditto.
4158 * i386fbsd-nat.c: Ditto.
4160 * inferior.c: Ditto.
4162 * linux-nat.c: Ditto.
4163 * linux-tdep.c: Ditto.
4164 * m68kbsd-nat.c: Ditto.
4165 * m68klinux-nat.c: Ditto.
4166 * microblaze-tdep.c: Ditto.
4167 * mips-linux-tdep.c: Ditto.
4168 * mn10300-tdep.c: Ditto.
4169 * nto-tdep.c: Ditto.
4170 * opencl-lang.c: Ditto.
4172 * printcmd.c: Ditto.
4173 * regcache.c: Ditto.
4174 * remote-m32r-sdi.c: Ditto.
4178 * tilegx-linux-nat.c: Ditto.
4179 * tilegx-tdep.c: Ditto.
4180 * tracepoint.c: Ditto.
4182 * vaxbsd-nat.c: Ditto.
4183 * windows-nat.c: Ditto.
4184 * xtensa-tdep.c: Ditto.
4186 2014-01-07 Yao Qi <yao@codesourcery.com>
4188 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4190 2014-01-07 Yao Qi <yao@codesourcery.com>
4191 Joel Brobecker <brobecker@adacore.com>
4193 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4194 (pdc_write_regs): Likewise.
4195 (fetch_regs_kernel_thread): Likewise.
4196 (store_regs_kernel_thread): Likewise.
4198 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4200 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4201 tagged type objects to their actual type.
4203 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4205 * ada-valprint.c (print_field_values): Add "language" parameter.
4206 Update calls to print_field_values and print_variant_part.
4207 Pass new parameter "language" in call to val_print instead
4208 of "current_language". Replace call to ada_val_print by call
4210 (print_variant_part): Add "language" parameter.
4211 (ada_val_print_struct_union): Update call to print_field_values.
4213 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4215 * ada-valprint.c (ui_memcpy): Delete.
4216 (ada_print_floating): Update documentation. Add empty line
4217 between between function documentation and implementation.
4218 Delete variable "buffer". Use ui_file_xstrdup in place of
4219 ui_file_put. Minor adjustments following this change.
4221 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4223 * ada-valprint.c (ada_val_print_string): New function,
4224 extracted from ada_val_print_array.
4225 (ada_val_print_array): Replace extracted code by call
4226 to ada_val_print_string followed by a return. Move
4227 "else" branch to the function's top block.
4229 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4231 * ada-valprint.c (ada_val_print_array): Move implementation
4232 down. Rename parameter "offset" and "val" into "offset_aligned"
4233 and "original_value" respectively. Add parameter "offset".
4235 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4237 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4238 re-organizing the code. Change the "???" message printed
4239 when target type is a TYPE_CODE_UNDEF into
4240 "<ref to undefined type>".
4242 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4244 * ada-valprint.c (print_record): Delete, implementation inlined...
4245 (ada_val_print_struct_union): ... here. Remove call to
4246 ada_check_typedef in inlined implementation.
4248 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4250 * ada-valprint.c (ada_val_print_gnat_array): New function,
4251 extracted from ada_val_print_1;
4252 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4253 (ada_val_print_flt, ada_val_print_struct_union)
4254 (ada_val_print_ref): Likewise.
4255 (ada_val_print_1): Delete variables i and elttype.
4256 Replace extracted-out code by call to corresponding
4259 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4261 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4263 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4265 * ada-valprint.c (ada_val_print_1): Replace calls to
4266 ada_val_print_1 by calls to val_print.
4268 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4270 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4271 Update calls to self accordingly. Replace calls to c_val_print
4272 by calls to val_print.
4274 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4276 * ada-valprint.c (print_record): Delete declaration.
4277 (adjust_type_signedness, ada_val_print_1): Likewise.
4278 (ada_val_print): Move function implementation down.
4279 (print_variant_part, print_field_values, print_record):
4280 Move function implementation up.
4282 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4284 * python/py-type.c (typy_get_name): New function.
4285 (type_object_getset): Add entry for attribute "name".
4286 * NEWS: Add entry mentioning this new attribute.
4288 2014-01-07 Yao Qi <yao@codesourcery.com>
4290 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
4293 2014-01-07 Yao Qi <yao@codesourcery.com>
4295 * gnu-nat.c (info_port_rights): Add qualifier const to
4298 2014-01-07 Yao Qi <yao@codesourcery.com>
4300 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
4302 2014-01-07 Yao Qi <yao@codesourcery.com>
4304 * gnu-nat.c (make_inf) Update declaration.
4305 (make_inf): Make it static.
4306 (inf_set_traced): Likewise.
4307 (inf_port_to_thread, inf_task_died_status): Likewise.
4309 2014-01-07 Yao Qi <yao@codesourcery.com>
4311 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
4313 2014-01-07 Yao Qi <yao@codesourcery.com>
4315 * gnu-nat.c (_initialize_gnu_nat): Declare.
4317 2014-01-07 Yao Qi <yao@codesourcery.com>
4319 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
4321 (struct gdbarch_info) <byte_order>: Change type to
4323 <byte_order_for_code>: Likewise.
4324 * gdbarch.c, gdbarch.h: Regenerated.
4326 2014-01-06 Sasha Smundak <asmundak@google.com>
4328 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
4330 2014-01-06 Tom Tromey <tromey@redhat.com>
4332 * doublest.c (convert_doublest_to_floatformat): Use const, not
4334 * somread.c (som_symtab_read): Likewise.
4336 2014-01-07 Hui Zhu <hui@codesourcery.com>
4338 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
4339 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
4340 (gdb_bfd_fopen): Ditto.
4341 (gdb_bfd_openr): Ditto.
4342 (gdb_bfd_openw): Ditto.
4343 (gdb_bfd_openr_iovec): Ditto.
4344 (gdb_bfd_fdopenr): Ditto.
4345 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
4346 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
4348 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
4350 * symfile-mem.c (symbol_file_add_from_memory): Removed
4351 gdb_bfd_stash_filename.
4353 2014-01-03 Doug Evans <dje@google.com>
4355 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
4358 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4360 Update year range in copyright notice of all files.
4362 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4364 * top.c (print_gdb_version): Set copyright year to 2014.
4366 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4368 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
4370 For older changes see ChangeLog-2013.
4376 version-control: never