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_get_trace_status>: 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_trace_start>: 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
21 to_trace_set_readonly_regions.
22 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
23 Use TARGET_DEFAULT_NORETURN.
25 2014-02-19 Tom Tromey <tromey@redhat.com>
27 * target-delegates.c: Rebuild.
28 * target.c (update_current_target): Don't inherit or default
29 to_disable_tracepoint.
30 * target.h (struct target_ops) <to_disable_tracepoint>: Use
31 TARGET_DEFAULT_NORETURN.
33 2014-02-19 Tom Tromey <tromey@redhat.com>
35 * target-delegates.c: Rebuild.
36 * target.c (update_current_target): Don't inherit or default
38 * target.h (struct target_ops) <to_enable_tracepoint>: Use
39 TARGET_DEFAULT_NORETURN.
41 2014-02-19 Tom Tromey <tromey@redhat.com>
43 * target-delegates.c: Rebuild.
44 * target.c (update_current_target): Don't inherit or default
45 to_download_trace_state_variable.
46 * target.h (struct target_ops) <to_download_trace_state_variable>:
47 Use TARGET_DEFAULT_NORETURN.
49 2014-02-19 Tom Tromey <tromey@redhat.com>
51 * target-delegates.c: Rebuild.
52 * target.c (update_current_target): Don't inherit or default
53 to_can_download_tracepoint.
54 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
55 TARGET_DEFAULT_RETURN.
57 2014-02-19 Tom Tromey <tromey@redhat.com>
59 * target-delegates.c: Rebuild.
60 * target.c (update_current_target): Don't inherit or default
61 to_download_tracepoint.
62 * target.h (struct target_ops) <to_download_tracepoint>: Use
63 TARGET_DEFAULT_NORETURN.
65 2014-02-19 Tom Tromey <tromey@redhat.com>
67 * target-delegates.c: Rebuild.
68 * target.c (update_current_target): Don't inherit or default
70 * target.h (struct target_ops) <to_trace_init>: Use
71 TARGET_DEFAULT_RETURN.
73 2014-02-19 Tom Tromey <tromey@redhat.com>
75 * target-delegates.c: Rebuild.
76 * target.c (update_current_target): Don't inherit or default
77 to_supports_string_tracing.
78 * target.h (struct target_ops) <to_supports_string_tracing>: Use
79 TARGET_DEFAULT_RETURN.
81 2014-02-19 Tom Tromey <tromey@redhat.com>
83 * target-delegates.c: Rebuild.
84 * target.c (update_current_target): Don't inherit or default
85 to_supports_enable_disable_tracepoint.
86 * target.h (struct target_ops)
87 <to_supports_enable_disable_tracepoint>: Use
88 TARGET_DEFAULT_RETURN.
90 2014-02-19 Tom Tromey <tromey@redhat.com>
92 * target-delegates.c: Rebuild.
93 * target.c (update_current_target): Don't inherit or default
94 to_supports_multi_process.
95 * target.h (struct target_ops) <to_supports_multi_process>: Use
96 TARGET_DEFAULT_RETURN.
98 2014-02-19 Tom Tromey <tromey@redhat.com>
100 * target-delegates.c: Rebuild.
101 * target.c (update_current_target): Don't inherit or default
102 to_get_ada_task_ptid.
103 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
106 2014-02-19 Tom Tromey <tromey@redhat.com>
108 * target-delegates.c: Rebuild.
109 * target.c (update_current_target): Don't inherit or default
110 to_thread_architecture.
111 * target.h (struct target_ops) <to_thread_architecture>: Use
114 2014-02-19 Tom Tromey <tromey@redhat.com>
116 * target-delegates.c: Rebuild.
117 * target.c (update_current_target): Don't inherit or default
118 to_execution_direction.
119 * target.h (struct target_ops) <to_execution_direction>: Use
122 2014-02-19 Tom Tromey <tromey@redhat.com>
124 * target-delegates.c: Rebuild.
125 * target.c (update_current_target): Don't inherit or default
126 to_can_execute_reverse.
127 * target.h (struct target_ops) <to_can_execute_reverse>: Use
128 TARGET_DEFAULT_RETURN.
129 (target_can_execute_reverse): Unconditionally delegate.
131 2014-02-19 Tom Tromey <tromey@redhat.com>
133 * target-delegates.c: Rebuild.
134 * target.c (update_current_target): Don't inherit or default
136 (dummy_goto_bookmark): Remove.
137 (init_dummy_target): Don't inherit or default to_goto_bookmark.
138 * target.h (struct target_ops) <to_goto_bookmark>: Use
139 TARGET_DEFAULT_NORETURN.
141 2014-02-19 Tom Tromey <tromey@redhat.com>
143 * target-delegates.c: Rebuild.
144 * target.c (update_current_target): Don't inherit or default
146 (dummy_get_bookmark): Remove.
147 (init_dummy_target): Don't inherit or default to_get_bookmark.
148 * target.h (struct target_ops) <to_get_bookmark>: Use
149 TARGET_DEFAULT_NORETURN
151 2014-02-19 Tom Tromey <tromey@redhat.com>
153 * target-delegates.c: Rebuild.
154 * target.c (update_current_target): Don't inherit or default
155 to_make_corefile_notes.
156 (init_dummy_target): Don't initialize to_make_corefile_notes.
157 * target.h (struct target_ops) <to_make_corefile_notes>: Use
160 2014-02-19 Tom Tromey <tromey@redhat.com>
162 * target-delegates.c: Rebuild.
163 * target.c (update_current_target): Don't inherit or default
164 to_find_memory_regions.
165 (init_dummy_target): Don't initialize to_find_memory_regions.
166 * target.h (struct target_ops) <to_find_memory_regions>: Use
169 2014-02-19 Tom Tromey <tromey@redhat.com>
171 * target-delegates.c: Rebuild.
172 * target.c (update_current_target): Don't inherit or default
174 * target.h (struct target_ops) <to_log_command>: Use
175 TARGET_DEFAULT_IGNORE.
176 (target_log_command): Unconditionally delegate.
178 2014-02-19 Tom Tromey <tromey@redhat.com>
180 * target-delegates.c: Rebuild.
181 * target.c (update_current_target): Don't inherit or default
183 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
184 TARGET_DEFAULT_RETURN.
186 2014-02-19 Tom Tromey <tromey@redhat.com>
188 * target-delegates.c: Rebuild.
189 * target.c (update_current_target): Don't inherit or default
191 (target_thread_name): Unconditionally delegate.
192 * target.h (struct target_ops) <to_thread_name>: Use
193 TARGET_DEFAULT_RETURN.
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_extra_thread_info.
200 * target.h (struct target_ops) <to_extra_thread_info>: Use
201 TARGET_DEFAULT_RETURN.
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
208 * target.h (struct target_ops) <to_has_exited>: Use
209 TARGET_DEFAULT_RETURN..
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_set_syscall_catchpoint.
216 (return_one): Remove.
217 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
218 TARGET_DEFAULT_RETURN.
220 2014-02-19 Tom Tromey <tromey@redhat.com>
222 * target-delegates.c: Rebuild.
223 * target.c (update_current_target): Don't inherit or default
224 to_insert_exec_catchpoint.
225 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
226 TARGET_DEFAULT_RETURN.
228 2014-01-08 Tom Tromey <tromey@redhat.com>
230 * target-delegates.c: Rebuild.
231 * target.c (update_current_target): Don't inherit or default
232 to_insert_exec_catchpoint.
233 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
234 TARGET_DEFAULT_RETURN.
236 2014-02-19 Tom Tromey <tromey@redhat.com>
238 * target-delegates.c: Rebuild.
239 * target.c (update_current_target): Don't inherit or default
240 to_remove_vfork_catchpoint.
241 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
242 TARGET_DEFAULT_RETURN.
244 2014-02-19 Tom Tromey <tromey@redhat.com>
246 * target-delegates.c: Rebuild.
247 * target.c (update_current_target): Don't inherit or default
248 to_insert_vfork_catchpoint.
249 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: 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_remove_fork_catchpoint.
257 * target.h (struct target_ops) <to_remove_fork_catchpoint>: 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_insert_fork_catchpoint.
265 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
266 TARGET_DEFAULT_RETURN.
268 2014-02-19 Tom Tromey <tromey@redhat.com>
270 * target-delegates.c: Rebuild.
271 * target.c (update_current_target): Don't inherit or default
272 to_post_startup_inferior.
273 * target.h (struct target_ops) <to_post_startup_inferior>: Use
274 TARGET_DEFAULT_IGNORE.
276 2014-02-19 Tom Tromey <tromey@redhat.com>
278 * target-delegates.c: Rebuild.
279 * target.c (update_current_target): Don't inherit or default
281 * target.h (struct target_ops) <to_load>: Use
282 TARGET_DEFAULT_NORETURN.
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
289 * target.h (struct target_ops) <to_terminal_info>: Use
292 2014-02-19 Tom Tromey <tromey@redhat.com>
294 * target-delegates.c: Rebuild.
295 * target.c (update_current_target): Don't inherit or default
296 to_terminal_save_ours.
297 * target.h (struct target_ops) <to_terminal_save_ours>: Use
298 TARGET_DEFAULT_IGNORE.
300 2014-02-19 Tom Tromey <tromey@redhat.com>
302 * target-delegates.c: Rebuild.
303 * target.c (update_current_target): Don't inherit or default
305 * target.h (struct target_ops) <to_terminal_ours>: Use
306 TARGET_DEFAULT_IGNORE.
308 2014-02-19 Tom Tromey <tromey@redhat.com>
310 * target-delegates.c: Rebuild.
311 * target.c (update_current_target): Don't inherit or default
312 to_terminal_ours_for_output.
313 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
314 TARGET_DEFAULT_IGNORE.
316 2014-02-19 Tom Tromey <tromey@redhat.com>
318 * target-delegates.c: Rebuild.
319 * target.c (update_current_target): Don't inherit or default
320 to_terminal_inferior.
321 * target.h (struct target_ops) <to_terminal_inferior>: Use
322 TARGET_DEFAULT_IGNORE.
324 2014-02-19 Tom Tromey <tromey@redhat.com>
326 * target-delegates.c: Rebuild.
327 * target.c (update_current_target): Don't inherit or default
329 * target.h (struct target_ops) <to_terminal_init>: Use
330 TARGET_DEFAULT_IGNORE.
332 2014-02-19 Tom Tromey <tromey@redhat.com>
334 * target-delegates.c: Rebuild.
335 * target.c (update_current_target): Don't inherit or default
336 to_can_accel_watchpoint_condition.
337 * target.h (struct target_ops)
338 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
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
344 to_region_ok_for_hw_watchpoint.
345 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
346 Use TARGET_DEFAULT_FUNC.
348 2014-02-19 Tom Tromey <tromey@redhat.com>
350 * target-delegates.c: Rebuild.
351 * target.c (update_current_target): Don't inherit or default
352 to_watchpoint_addr_within_range.
353 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
354 Use TARGET_DEFAULT_FUNC.
356 2014-02-19 Tom Tromey <tromey@redhat.com>
358 * target-delegates.c: Rebuild.
359 * target.c (update_current_target): Don't inherit or default
360 to_remove_watchpoint.
361 * target.h (struct target_ops) <to_remove_watchpoint>: Use
362 TARGET_DEFAULT_NORETURN.
364 2014-02-19 Tom Tromey <tromey@redhat.com>
366 * target-delegates.c: Rebuild.
367 * target.c (update_current_target): Don't inherit or default
368 to_insert_watchpoint.
369 * target.h (struct target_ops) <to_insert_watchpoint>: Use
370 TARGET_DEFAULT_RETURN.
372 2014-02-19 Tom Tromey <tromey@redhat.com>
374 * target-delegates.c: Rebuild.
375 * target.c (update_current_target): Don't inherit or default
376 to_remove_hw_breakpoint.
377 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
378 TARGET_DEFAULT_RETURN.
380 2014-02-19 Tom Tromey <tromey@redhat.com>
382 * target-delegates.c: Rebuild.
383 * target.c (update_current_target): Don't inherit or default
384 to_insert_hw_breakpoint.
385 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
386 TARGET_DEFAULT_RETURN.
388 2014-02-19 Tom Tromey <tromey@redhat.com>
390 * target-delegates.c: Rebuild.
391 * target.c (update_current_target): Don't inherit or default
392 to_can_use_hw_breakpoint.
393 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
394 TARGET_DEFAULT_RETURN.
396 2014-02-19 Tom Tromey <tromey@redhat.com>
398 * target-delegates.c: Rebuild.
399 * target.c (update_current_target): Don't inherit or default
401 * target.h (struct target_ops) <to_files_info>: Use
402 TARGET_DEFAULT_IGNORE.
404 2014-02-19 Tom Tromey <tromey@redhat.com>
406 * target-delegates.c: Rebuild.
407 * target.c (update_current_target): Don't inherit or default
409 * target.h (struct target_ops) <to_store>: Use
410 TARGET_DEFAULT_NORETURN.
412 2014-02-19 Tom Tromey <tromey@redhat.com>
414 * target-delegates.c: Rebuild.
415 * target.c (update_current_target): Don't inherit or default
417 * target.h (struct target_ops) <to_post_attach>: Use
418 TARGET_DEFAULT_IGNORE.
420 2014-02-19 Tom Tromey <tromey@redhat.com>
422 * target-delegates.c: Rebuild.
423 * target.c (update_current_target): Don't inherit or default
425 (default_rcmd): New function.
426 (do_monitor_command): Unconditionally delegate.
427 * target.h (struct target_ops) <to_rmcd>: Use
430 2014-02-19 Tom Tromey <tromey@redhat.com>
432 * target-delegates.c: Rebuild.
433 * target.c (init_dummy_target): Don't initialize to_attach.
434 (target_attach): Unconditionally delegate.
435 * target.h (struct target_ops) <to_attach>: Use
438 2014-02-19 Tom Tromey <tromey@redhat.com>
440 * target-delegates.c: Rebuild.
441 * target.c (target_detach): Unconditionally delegate.
442 (init_dummy_target): Don't initialize to_detach.
443 * target.h (struct target_ops) <to_detach>: Use
444 TARGET_DEFAULT_IGNORE.
446 2014-02-19 Tom Tromey <tromey@redhat.com>
448 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
450 (target_augmented_libraries_svr4_read): Add argument.
451 * target.c (update_current_target): Update.
452 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
455 2014-02-19 Tom Tromey <tromey@redhat.com>
457 * target.h (struct target_ops) <to_call_history_range>: Add
459 * target.c (target_call_history_range): Add argument.
460 * record-btrace.c (record_btrace_call_history_range): Add 'self'
462 (record_btrace_call_history_from): Update.
464 2014-02-19 Tom Tromey <tromey@redhat.com>
466 * target.h (struct target_ops) <to_call_history_from>: Add
468 * target.c (target_call_history_from): Add argument.
469 * record-btrace.c (record_btrace_call_history_from): Add 'self'
472 2014-02-19 Tom Tromey <tromey@redhat.com>
474 * target.h (struct target_ops) <to_call_history>: Add argument.
475 * target.c (target_call_history): Add argument.
476 * record-btrace.c (record_btrace_call_history): Add 'self'
479 2014-02-19 Tom Tromey <tromey@redhat.com>
481 * target.h (struct target_ops) <to_insn_history_range>: Add
483 * target.c (target_insn_history_range): Add argument.
484 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
486 (record_btrace_insn_history_from): Update.
488 2014-02-19 Tom Tromey <tromey@redhat.com>
490 * target.h (struct target_ops) <to_insn_history_from>: Add
492 * target.c (target_insn_history_from): Add argument.
493 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
496 2014-02-19 Tom Tromey <tromey@redhat.com>
498 * target.h (struct target_ops) <to_insn_history>: Add argument.
499 * target.c (target_insn_history): Add argument.
500 * record-btrace.c (record_btrace_insn_history): Add 'self'
503 2014-02-19 Tom Tromey <tromey@redhat.com>
505 * target.h (struct target_ops) <to_goto_record>: Add argument.
506 * target.c (target_goto_record): Add argument.
507 * record-full.c (record_full_goto): Add 'self' argument.
508 * record-btrace.c (record_btrace_goto): Add 'self' argument.
510 2014-02-19 Tom Tromey <tromey@redhat.com>
512 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
513 * target.c (target_goto_record_end): Add argument.
514 * record-full.c (record_full_goto_end): Add 'self' argument.
515 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
517 2014-02-19 Tom Tromey <tromey@redhat.com>
519 * target.h (struct target_ops) <to_goto_record_begin>: Add
521 * target.c (target_goto_record_begin): Add argument.
522 * record-full.c (record_full_goto_begin): Add 'self' argument.
523 * record-btrace.c (record_btrace_goto_begin): Add 'self'
526 2014-02-19 Tom Tromey <tromey@redhat.com>
528 * target.h (struct target_ops) <to_record_is_replaying>: Add
530 * target.c (target_record_is_replaying): Add argument.
531 * record-full.c (record_full_is_replaying): Add 'self' argument.
532 * record-btrace.c (record_btrace_is_replaying): Add 'self'
534 (record_btrace_xfer_partial, record_btrace_store_registers)
535 (record_btrace_prepare_to_store, record_btrace_resume)
536 (record_btrace_wait, record_btrace_decr_pc_after_break)
537 (record_btrace_find_new_threads, record_btrace_thread_alive):
540 2014-02-19 Tom Tromey <tromey@redhat.com>
542 * target.h (struct target_ops) <to_delete_record>: Add argument.
543 * target.c (target_delete_record): Add argument.
544 * record-full.c (record_full_delete): Add 'self' argument.
546 2014-02-19 Tom Tromey <tromey@redhat.com>
548 * target.h (struct target_ops) <to_save_record>: Add argument.
549 * target.c (target_save_record): Add argument.
550 * record-full.c (record_full_save): Add 'self' argument.
551 (record_full_save): Add 'self' argument.
553 2014-02-19 Tom Tromey <tromey@redhat.com>
555 * target.h (struct target_ops) <to_info_record>: Add argument.
556 * target.c (target_info_record): Add argument.
557 * record.c (info_record_command): Add argument.
558 * record-full.c (record_full_info): Add 'self' argument.
559 * record-btrace.c (record_btrace_info): Add 'self' argument.
561 2014-02-19 Tom Tromey <tromey@redhat.com>
563 * target.h (struct target_ops) <to_stop_recording>: Add argument.
564 * target.c (target_stop_recording): Add argument.
565 * record.c (record_stop): Add argument.
566 * record-btrace.c (record_btrace_stop_recording): Add 'self'
569 2014-02-19 Tom Tromey <tromey@redhat.com>
571 * target.h (struct target_ops) <to_read_btrace>: Add argument.
572 * target.c (struct target_ops) <to_read_btrace>: Add argument.
573 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
575 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
576 (_initialize_amd64_linux_nat): Use it.
577 * i386-linux-nat.c (i386_linux_read_btrace): New function.
578 (_initialize_i386_linux_nat): Use it.
580 2014-02-19 Tom Tromey <tromey@redhat.com>
582 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
583 * target.c (target_teardown_btrace): Add argument.
584 * remote.c (remote_teardown_btrace): Add 'self' argument.
585 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
587 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
590 2014-02-19 Tom Tromey <tromey@redhat.com>
592 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
593 * target.c (target_disable_btrace): Add argument.
594 * remote.c (remote_disable_btrace): Add 'self' argument.
595 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
597 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
600 2014-02-19 Tom Tromey <tromey@redhat.com>
602 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
603 * target.c (target_enable_btrace): Add argument.
604 * remote.c (remote_enable_btrace): Add 'self' argument.
605 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
607 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
610 2014-02-19 Tom Tromey <tromey@redhat.com>
612 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
613 (target_can_use_agent): Add argument.
614 * target.c (update_current_target): Update.
615 * remote.c (remote_can_use_agent): Add 'self' argument.
616 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
618 2014-02-19 Tom Tromey <tromey@redhat.com>
620 * target.h (struct target_ops) <to_use_agent>: Add argument.
621 (target_use_agent): Add argument.
622 * target.c (update_current_target): Update.
623 * remote.c (remote_use_agent): Add 'self' argument.
624 * inf-child.c (inf_child_use_agent): Add 'self' argument.
626 2014-02-19 Tom Tromey <tromey@redhat.com>
628 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
629 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
630 (target_traceframe_info): Add argument.
631 * target.c (update_current_target): Update.
632 * remote.c (remote_traceframe_info): Add 'self' argument.
633 * ctf.c (ctf_traceframe_info): Add 'self' argument.
635 2014-02-19 Tom Tromey <tromey@redhat.com>
637 * target.h (target_static_tracepoint_markers_by_strid): Add
639 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
641 * target.c (update_current_target): Update.
642 * remote.c (struct target_ops)
643 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
644 * linux-nat.c (struct target_ops)
645 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
647 2014-02-19 Tom Tromey <tromey@redhat.com>
649 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
651 (target_static_tracepoint_marker_at): Add argument.
652 * target.c (update_current_target): Update.
653 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
656 2014-02-19 Tom Tromey <tromey@redhat.com>
658 * target.h (struct target_ops) <to_set_permissions>: Add argument.
659 (target_set_permissions): Add argument.
660 * target.c (update_current_target): Update.
661 * remote.c (remote_set_permissions): Add 'self' argument.
662 (remote_start_remote): Update.
664 2014-02-19 Tom Tromey <tromey@redhat.com>
666 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
667 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
668 (target_get_tib_address): Add argument.
669 * target.c (update_current_target): Update.
670 * remote.c (remote_get_tib_address): Add 'self' argument.
672 2014-02-19 Tom Tromey <tromey@redhat.com>
674 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
675 (target_set_trace_notes): Add argument.
676 * target.c (update_current_target): Update.
677 * remote.c (remote_set_trace_notes): Add 'self' argument.
679 2014-02-19 Tom Tromey <tromey@redhat.com>
681 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
683 (target_set_trace_buffer_size): Add argument.
684 * target.c (update_current_target): Update.
685 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
687 2014-02-19 Tom Tromey <tromey@redhat.com>
689 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
691 (target_set_circular_trace_buffer): Add argument.
692 * target.c (update_current_target): Update.
693 * remote.c (remote_set_circular_trace_buffer): Add 'self'
696 2014-02-19 Tom Tromey <tromey@redhat.com>
698 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
700 (target_set_disconnected_tracing): Add argument.
701 * target.c (update_current_target): Update.
702 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
704 2014-02-19 Tom Tromey <tromey@redhat.com>
706 * target.h (struct target_ops)
707 <to_get_min_fast_tracepoint_insn_len>: Add argument.
708 (target_get_min_fast_tracepoint_insn_len): Add argument.
709 * target.c (update_current_target): Update.
710 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
713 2014-02-19 Tom Tromey <tromey@redhat.com>
715 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
717 (target_get_raw_trace_data): Add argument.
718 * target.c (update_current_target): Update.
719 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
721 2014-02-19 Tom Tromey <tromey@redhat.com>
723 * target.h (struct target_ops) <to_upload_trace_state_variables>:
725 (target_upload_trace_state_variables): Add argument.
726 * target.c (update_current_target): Update.
727 * remote.c (remote_upload_trace_state_variables): Add 'self'
729 (remote_start_remote): Update.
731 2014-02-19 Tom Tromey <tromey@redhat.com>
733 * target.h (struct target_ops) <to_upload_tracepoints>: Add
735 (target_upload_tracepoints): Add argument.
736 * target.c (update_current_target): Update.
737 * remote.c (remote_upload_tracepoints): Add 'self' argument.
738 (remote_start_remote): Update.
740 2014-02-19 Tom Tromey <tromey@redhat.com>
742 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
743 (target_save_trace_data): Add argument.
744 * target.c (update_current_target): Update.
745 * remote.c (remote_save_trace_data): Add 'self' argument.
747 2014-02-19 Tom Tromey <tromey@redhat.com>
749 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
751 * target.h (struct target_ops)
752 <to_get_trace_state_variable_value>: Add argument.
753 (target_get_trace_state_variable_value): Add argument.
754 * target.c (update_current_target): Update.
755 * remote.c (remote_get_trace_state_variable_value): Add 'self'
757 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
759 2014-02-19 Tom Tromey <tromey@redhat.com>
761 * tracepoint.c (tfile_trace_find): Add 'self' argument.
762 * target.h (struct target_ops) <to_trace_find>: Add argument.
763 (target_trace_find): Add argument.
764 * target.c (update_current_target): Update.
765 * remote.c (remote_trace_find): Add 'self' argument.
766 * ctf.c (ctf_trace_find): Add 'self' argument.
768 2014-02-19 Tom Tromey <tromey@redhat.com>
770 * target.h (struct target_ops) <to_trace_stop>: Add argument.
771 (target_trace_stop): Add argument.
772 * target.c (update_current_target): Update.
773 * remote.c (remote_trace_stop): Add 'self' argument.
775 2014-02-19 Tom Tromey <tromey@redhat.com>
777 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
778 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
780 (target_get_tracepoint_status): Add argument.
781 * target.c (update_current_target): Update.
782 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
784 2014-02-19 Tom Tromey <tromey@redhat.com>
786 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
787 * target.h (struct target_ops) <to_get_trace_status>: Add
789 (target_get_trace_status): Add argument.
790 * target.c (update_current_target): Update.
791 * remote.c (remote_get_trace_status): Add 'self' argument.
792 (remote_start_remote, remote_can_download_tracepoint): Update.
793 * ctf.c (ctf_get_trace_status): Add 'self' argument.
795 2014-02-19 Tom Tromey <tromey@redhat.com>
797 * target.h (struct target_ops) <to_trace_start>: Add argument.
798 (target_trace_start): Add argument.
799 * target.c (update_current_target): Update.
800 * remote.c (remote_trace_start): Add 'self' argument.
802 2014-02-19 Tom Tromey <tromey@redhat.com>
804 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
806 (target_trace_set_readonly_regions): Add argument.
807 * target.c (update_current_target): Update.
808 * remote.c (remote_trace_set_readonly_regions): Add 'self'
811 2014-02-19 Tom Tromey <tromey@redhat.com>
813 * target.h (struct target_ops) <to_disable_tracepoint>: Add
815 (target_disable_tracepoint): Add argument.
816 * target.c (update_current_target): Update.
817 * remote.c (remote_disable_tracepoint): Add 'self' argument.
819 2014-02-19 Tom Tromey <tromey@redhat.com>
821 * target.h (struct target_ops) <to_enable_tracepoint>: Add
823 (target_enable_tracepoint): Add argument.
824 * target.c (update_current_target): Update.
825 * remote.c (remote_enable_tracepoint): Add 'self' argument.
827 2014-02-19 Tom Tromey <tromey@redhat.com>
829 * target.h (struct target_ops) <to_download_trace_state_variable>:
831 (target_download_trace_state_variable): Add argument.
832 * target.c (update_current_target): Update.
833 * remote.c (remote_download_trace_state_variable): Add 'self'
836 2014-02-19 Tom Tromey <tromey@redhat.com>
838 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
840 (target_can_download_tracepoint): Add argument.
841 * target.c (update_current_target): Update.
842 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
844 2014-02-19 Tom Tromey <tromey@redhat.com>
846 * target.h (struct target_ops) <to_download_tracepoint>: Add
848 (target_download_tracepoint): Add argument.
849 * target.c (update_current_target): Update.
850 * remote.c (remote_download_tracepoint): Add 'self' argument.
852 2014-02-19 Tom Tromey <tromey@redhat.com>
854 * target.h (struct target_ops) <to_trace_init>: Add argument.
855 (target_trace_init): Add argument.
856 * target.c (update_current_target): Update.
857 * remote.c (remote_trace_init): Add 'self' argument.
859 2014-02-19 Tom Tromey <tromey@redhat.com>
861 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
862 * target.c (target_fileio_readlink): Add argument.
863 * remote.c (remote_hostio_readlink): Add 'self' argument.
864 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
866 2014-02-19 Tom Tromey <tromey@redhat.com>
868 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
869 * target.c (target_fileio_unlink): Add argument.
870 * remote.c (remote_hostio_unlink): Add 'self' argument.
871 (remote_file_delete): Update.
872 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
874 2014-02-19 Tom Tromey <tromey@redhat.com>
876 * target.h (struct target_ops) <to_fileio_close>: Add argument.
877 * target.c (target_fileio_close): Add argument.
878 * remote.c (remote_hostio_close): Add 'self' argument.
879 (remote_hostio_close_cleanup): Update.
880 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
882 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
884 2014-02-19 Tom Tromey <tromey@redhat.com>
886 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
887 * target.c (target_fileio_pread): Add argument.
888 * remote.c (remote_hostio_pread): Add 'self' argument.
889 (remote_bfd_iovec_pread, remote_file_get): Update.
890 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
892 2014-02-19 Tom Tromey <tromey@redhat.com>
894 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
895 * target.c (target_fileio_pwrite): Add argument.
896 * remote.c (remote_hostio_pwrite): Add 'self' argument.
897 (remote_file_put): Update.
898 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
900 2014-02-19 Tom Tromey <tromey@redhat.com>
902 * target.h (struct target_ops) <to_fileio_open>: Add argument.
903 * target.c (target_fileio_open): Add argument.
904 * remote.c (remote_hostio_open): Add 'self' argument.
905 (remote_bfd_iovec_open): Add 'self' argument.
906 (remote_file_put): Add 'self' argument.
907 (remote_file_get): Add 'self' argument.
908 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
910 2014-02-19 Tom Tromey <tromey@redhat.com>
912 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
914 (target_can_run_breakpoint_commands): Add argument.
915 * target.c (update_current_target): Update.
916 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
918 (remote_insert_breakpoint): Add 'self' argument.
919 (remote_insert_hw_breakpoint): Add 'self' argument.
920 (remote_can_run_breakpoint_commands): Add 'self' argument.
922 2014-02-19 Tom Tromey <tromey@redhat.com>
924 * target.h (struct target_ops)
925 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
926 (target_supports_evaluation_of_breakpoint_conditions): Add
928 * target.c (update_current_target): Update.
929 * remote.c (remote_supports_cond_breakpoints): Add 'self'
931 (remote_insert_breakpoint): Add 'self' argument.
932 (remote_insert_hw_breakpoint): Add 'self' argument.
933 (remote_supports_cond_breakpoints): Add 'self' argument.
935 2014-02-19 Tom Tromey <tromey@redhat.com>
937 * target.h (struct target_ops) <to_supports_string_tracing>: Add
939 (target_supports_string_tracing): Add argument.
940 * target.c (update_current_target): Update.
941 * remote.c (remote_supports_string_tracing): Add 'self' argument.
943 2014-02-19 Tom Tromey <tromey@redhat.com>
945 * target.h (struct target_ops)
946 <to_supports_disable_randomization>: Add argument.
947 * target.c (find_default_supports_disable_randomization): Add
949 (target_supports_disable_randomization): Add argument.
950 (find_default_supports_disable_randomization): Add 'self'
952 * remote.c (extended_remote_supports_disable_randomization): Add
954 (remote_supports_disable_randomization): Add 'self' argument.
955 (extended_remote_create_inferior): Update.
956 * linux-nat.c (linux_nat_supports_disable_randomization): Add
959 2014-02-19 Tom Tromey <tromey@redhat.com>
961 * target.h (struct target_ops)
962 <to_supports_enable_disable_tracepoint>: Add argument.
963 (target_supports_enable_disable_tracepoint): Add argument.
964 * target.c (update_current_target): Update.
965 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
968 2014-02-19 Tom Tromey <tromey@redhat.com>
970 * target.h (struct target_ops) <to_supports_multi_process>: Add
972 (target_supports_multi_process): Add argument.
973 * target.c (update_current_target): Update.
974 * remote.c (remote_supports_multi_process): Add 'self' argument.
975 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
977 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
980 2014-02-19 Tom Tromey <tromey@redhat.com>
982 * target.h (struct target_ops) <to_execution_direction>: Add
984 (target_execution_direction): Add argument.
985 * target.c (default_execution_direction): Add 'self' argument.
986 * record-full.c (record_full_execution_direction): Add 'self'
989 2014-02-19 Tom Tromey <tromey@redhat.com>
991 * target.h (struct target_ops) <to_can_execute_reverse>: Add
993 (target_can_execute_reverse): Add argument.
994 * remote.c (remote_can_execute_reverse): Add 'self' argument.
995 * record-full.c (record_full_can_execute_reverse): Add 'self'
997 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1000 2014-02-19 Tom Tromey <tromey@redhat.com>
1002 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1003 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1005 (target_get_ada_task_ptid): Add argument.
1006 * target.c (update_current_target): Update.
1007 (default_get_ada_task_ptid): Add 'self' argument.
1008 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1009 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1010 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1012 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1014 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1016 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1018 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1019 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1022 2014-02-19 Tom Tromey <tromey@redhat.com>
1024 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1025 (target_goto_bookmark): Add argument.
1026 * target.c (dummy_goto_bookmark): Add 'self' argument.
1027 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1029 2014-02-19 Tom Tromey <tromey@redhat.com>
1031 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1032 (target_get_bookmark): Add argument.
1033 * target.c (dummy_get_bookmark): Add 'self' argument.
1034 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1036 2014-02-19 Tom Tromey <tromey@redhat.com>
1038 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1040 (target_make_corefile_notes): Add argument.
1041 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1042 * procfs.c (procfs_make_note_section): Add 'self' argument.
1043 (procfs_make_note_section): Add 'self' argument.
1044 (procfs_make_note_section): Add 'self' argument.
1045 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1047 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1048 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1049 * exec.c (exec_make_note_section): Add 'self' argument.
1050 (exec_make_note_section): Add 'self' argument.
1052 2014-02-19 Tom Tromey <tromey@redhat.com>
1054 * target.h (struct target_ops) <to_find_memory_regions>: Add
1056 (target_find_memory_regions): Add argument.
1057 * target.c (dummy_find_memory_regions): Add 'self' argument.
1058 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1059 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1060 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1061 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1062 * exec. (exec_do_find_memory_regions): New global.
1063 (exec_set_find_memory_regions): Rewrite.
1064 (exec_find_memory_regions): New function.
1065 (init_exec_ops): Use exec_find_memory_regions.
1067 2014-02-19 Tom Tromey <tromey@redhat.com>
1069 * target.h (struct target_ops) <to_supports_non_stop>: Add
1071 * target.c (find_default_supports_non_stop): Add argument.
1072 (target_supports_non_stop): Add argument.
1073 (find_default_supports_non_stop): Add 'self' argument.
1074 * remote.c (remote_supports_non_stop): Add 'self' argument.
1075 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1077 2014-02-19 Tom Tromey <tromey@redhat.com>
1079 * target.h (struct target_ops) <to_log_command>: Add argument.
1080 (target_log_command): Add argument.
1081 * serial.h (serial_log_command): Add 'self' argument.
1082 * serial.c (serial_log_command): Add 'self' argument.
1084 2014-02-19 Tom Tromey <tromey@redhat.com>
1086 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1087 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1089 (target_pid_to_exec_file): Add argument.
1090 * target.c (debug_to_pid_to_exec_file): Add argument.
1091 (update_current_target): Update.
1092 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1093 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1094 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1095 (linux_handle_extended_wait): Update.
1096 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1097 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1098 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1099 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1101 2014-02-19 Tom Tromey <tromey@redhat.com>
1103 * target.h (struct target_ops) <to_rcmd>: Add argument.
1104 (target_rcmd): Add argument.
1105 * target.c (debug_to_rcmd): Add argument.
1106 (update_current_target, do_monitor_command): Update.
1107 * remote.c (remote_rcmd): Add 'self' argument.
1108 * monitor.c (monitor_rcmd): Add 'self' argument.
1110 2014-02-19 Tom Tromey <tromey@redhat.com>
1112 * windows-nat.c (windows_stop): Add 'self' argument.
1113 * target.h (struct target_ops) <to_stop>: Add argument.
1114 * target.c (target_stop): Add argument.
1115 (debug_to_stop): Add argument.
1116 (update_current_target): Update.
1117 * remote.c (remote_stop): Add 'self' argument.
1118 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1119 (gdbsim_cntrl_c): Update.
1120 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1121 * procfs.c (procfs_stop): Add 'self' argument.
1122 * nto-procfs.c (procfs_stop): Add 'self' argument.
1123 * monitor.c (monitor_stop): Add 'self' argument.
1124 (monitor_open): Update.
1125 * linux-nat.c (linux_nat_stop): Add argument.
1126 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1127 * gnu-nat.c (gnu_stop): Add 'self' argument.
1128 * darwin-nat.c (darwin_stop): Add 'self' argument.
1130 2014-02-19 Tom Tromey <tromey@redhat.com>
1132 * target.h (struct target_ops) <to_thread_name>: Add argument.
1133 * target.c (target_thread_name): Add argument.
1134 (update_current_target): Update.
1135 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
1137 2014-02-19 Tom Tromey <tromey@redhat.com>
1139 * target.h (struct target_ops) <to_extra_thread_info>: Add
1141 (target_extra_thread_info): Add argument.
1142 * target.c (update_current_target): Update.
1143 * remote.c (remote_threads_extra_info): Add 'self' argument.
1144 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
1146 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
1147 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
1148 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
1150 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
1152 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
1154 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
1157 2014-02-19 Tom Tromey <tromey@redhat.com>
1159 * target.h (struct target_ops) <to_program_signals>: Add argument.
1160 * target.c (target_program_signals): Add argument.
1161 * remote.c (remote_program_signals): Add 'self' argument.
1163 2014-02-19 Tom Tromey <tromey@redhat.com>
1165 * target.h (struct target_ops) <to_pass_signals>: Add argument.
1166 * target.c (target_pass_signals): Add argument.
1167 * remote.c (remote_pass_signals): Add 'self' argument.
1168 (remote_start_remote): Update.
1169 * procfs.c (procfs_pass_signals): Add 'self' argument.
1170 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
1171 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
1172 (linux_nat_create_inferior, linux_nat_attach): Update.
1174 2014-02-19 Tom Tromey <tromey@redhat.com>
1176 * windows-nat.c (windows_can_run): Add 'self' argument.
1177 * target.h (struct target_ops) <to_can_run>: Add argument.
1178 (target_can_run): Add argument.
1179 * target.c (debug_to_can_run): Add argument.
1180 (update_current_target): Update.
1181 * nto-procfs.c (procfs_can_run): Add 'self' argument.
1182 * inf-child.c (inf_child_can_run): Add 'self' argument.
1183 * go32-nat.c (go32_can_run): Add 'self' argument.
1185 2014-02-19 Tom Tromey <tromey@redhat.com>
1187 * target.h (struct target_ops) <to_has_exited>: Add argument.
1188 (target_has_exited): Add argument.
1189 * target.c (debug_to_has_exited): Add argument.
1190 (update_current_target): Update.
1192 2014-02-19 Tom Tromey <tromey@redhat.com>
1194 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
1196 (target_set_syscall_catchpoint): Add argument.
1197 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
1199 * target.c (update_current_target): Update.
1201 2014-02-19 Tom Tromey <tromey@redhat.com>
1203 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
1205 (target_remove_exec_catchpoint): Add argument.
1206 * target.c (debug_to_remove_exec_catchpoint): Add argument.
1207 (update_current_target): Update.
1208 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
1211 2014-02-19 Tom Tromey <tromey@redhat.com>
1213 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
1215 (target_insert_exec_catchpoint): Add argument.
1216 * target.c (debug_to_insert_exec_catchpoint): Add argument.
1217 (update_current_target): Update.
1218 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
1221 2014-02-19 Tom Tromey <tromey@redhat.com>
1223 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
1225 (target_remove_vfork_catchpoint): Add argument.
1226 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
1227 (update_current_target): Update.
1228 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
1231 2014-02-19 Tom Tromey <tromey@redhat.com>
1233 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
1235 (target_insert_vfork_catchpoint): Add argument.
1236 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
1237 (update_current_target): Update.
1238 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
1241 2014-02-19 Tom Tromey <tromey@redhat.com>
1243 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
1245 (target_remove_fork_catchpoint): Add argument.
1246 * target.c (debug_to_remove_fork_catchpoint): Add argument.
1247 (update_current_target): Update.
1248 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
1251 2014-02-19 Tom Tromey <tromey@redhat.com>
1253 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
1255 (target_insert_fork_catchpoint): Add argument.
1256 * target.c (debug_to_insert_fork_catchpoint): Add argument.
1257 (update_current_target): Update.
1258 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
1261 2014-02-19 Tom Tromey <tromey@redhat.com>
1263 * target.h (struct target_ops) <to_post_startup_inferior>: Add
1265 (target_post_startup_inferior): Add argument.
1266 * target.c (debug_to_post_startup_inferior): Add argument.
1267 (update_current_target): Update.
1268 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
1270 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
1272 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
1274 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
1276 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
1278 (super_post_startup_inferior): Likewise.
1279 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
1281 (super_post_startup_inferior): Likewise.
1282 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
1283 Add 'self' argument.
1284 (super_post_startup_inferior): Likewise.
1286 2014-02-19 Tom Tromey <tromey@redhat.com>
1288 * target.h (struct target_ops) <to_load>: Add argument.
1289 * target.c (target_load): Add argument.
1290 (debug_to_load): Add argument.
1291 (update_current_target): Update.
1292 * remote.c (remote_load): Add 'self' argument.
1293 * remote-sim.c (gdbsim_load): Add 'self' argument.
1294 * remote-mips.c (mips_load): Add 'self' argument.
1295 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
1296 * monitor.c (monitor_load): Add 'self' argument.
1297 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
1299 2014-02-19 Tom Tromey <tromey@redhat.com>
1301 * target.h (struct target_ops) <to_terminal_info>: Add argument.
1302 (target_terminal_info): Add argument.
1303 * target.c (debug_to_terminal_info): Add argument.
1304 (default_terminal_info): Likewise.
1305 * inflow.c (child_terminal_info): Add 'self' argument.
1306 * inferior.h (child_terminal_info): Add 'self' argument.
1307 * go32-nat.c (go32_terminal_info): Add 'self' argument.
1309 2014-02-19 Tom Tromey <tromey@redhat.com>
1311 * target.h (struct target_ops) <to_terminal_save_ours>: Add
1313 (target_terminal_save_ours): Add argument.
1314 * target.c (debug_to_terminal_save_ours): Add argument.
1315 (update_current_target): Update.
1316 * inflow.c (terminal_save_ours): Add 'self' argument.
1317 * inferior.h (terminal_save_ours): Add 'self' argument.
1319 2014-02-19 Tom Tromey <tromey@redhat.com>
1321 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
1322 (target_terminal_ours): Add argument.
1323 * target.c (debug_to_terminal_ours): Add argument.
1324 (update_current_target): Update.
1325 * remote.c (remote_terminal_ours): Add 'self' argument.
1326 (remote_close): Update.
1327 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
1328 * inflow.c (terminal_ours): Add 'self' argument.
1329 * inferior.h (terminal_ours): Add 'self' argument.
1330 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1332 2014-02-19 Pedro Alves <palves@redhat.com>
1333 Tom Tromey <tromey@redhat.com>
1335 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
1337 (target_terminal_ours_for_output): Add argument.
1338 * target.c (debug_to_terminal_ours_for_output): Add argument.
1339 (update_current_target): Update.
1340 * inflow.c (terminal_ours_for_output): Add 'self' argument.
1341 * inferior.h (terminal_ours_for_output): Add 'self' argument.
1342 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1344 2014-02-19 Tom Tromey <tromey@redhat.com>
1346 * target.h (struct target_ops) <to_terminal_inferior>: Add
1348 * target.c (target_terminal_inferior): Add argument.
1349 (update_current_target): Update.
1350 * remote.c (remote_terminal_inferior): Add 'self' argument.
1351 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
1352 * inflow.c (terminal_inferior): Add 'self' argument.
1353 * inferior.h (terminal_inferior): Add 'self' argument.
1354 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
1355 (go32_terminal_inferior): Add 'self' argument.
1357 2014-02-19 Tom Tromey <tromey@redhat.com>
1359 * target.h (struct target_ops) <to_terminal_init>: Add argument.
1360 (target_terminal_init): Add argument.
1361 * target.c (debug_to_terminal_init): Add argument.
1362 (update_current_target): Update.
1363 * inflow.c (terminal_init_inferior): Add 'self' argument.
1364 * inferior.h (terminal_init_inferior): Add 'self' argument.
1365 * go32-nat.c (go32_terminal_init): Add 'self' argument.
1366 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
1368 2014-02-19 Tom Tromey <tromey@redhat.com>
1370 * target.h (struct target_ops)
1371 <to_can_accel_watchpoint_condition>: Add argument.
1372 (target_can_accel_watchpoint_condition): Add argument.
1373 * target.c (debug_to_can_accel_watchpoint_condition): Add
1375 (update_current_target): Update.
1376 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
1379 2014-02-19 Tom Tromey <tromey@redhat.com>
1381 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1383 (target_region_ok_for_hw_watchpoint): Add argument.
1384 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
1385 (default_region_ok_for_hw_watchpoint): Add argument.
1386 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
1387 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
1389 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
1391 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
1393 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
1395 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
1397 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
1399 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
1400 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
1402 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
1403 Add 'self' argument.
1405 2014-02-19 Tom Tromey <tromey@redhat.com>
1407 * target.h (struct target_ops) <to_insert_watchpoint>: Add
1409 (target_insert_watchpoint): Add argument.
1410 * target.c (debug_to_insert_watchpoint): Add argument.
1411 (update_current_target): Update.
1412 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
1413 * remote.c (remote_insert_watchpoint): Add 'self' argument.
1414 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
1415 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
1416 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
1417 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
1419 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
1420 (procfs_insert_hw_watchpoint): Add 'self' argument.
1421 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
1423 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
1425 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
1427 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
1428 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
1430 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
1433 2014-02-19 Tom Tromey <tromey@redhat.com>
1435 * target.h (struct target_ops) <to_remove_watchpoint>: Add
1437 (target_remove_watchpoint): Add argument.
1438 * target.c (debug_to_remove_watchpoint): Add argument.
1439 (update_current_target): Update.
1440 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
1441 * remote.c (remote_remove_watchpoint): Add 'self' argument.
1442 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
1443 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
1444 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
1445 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
1447 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
1448 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
1450 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
1452 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
1454 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
1455 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
1457 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
1460 2014-02-19 Tom Tromey <tromey@redhat.com>
1462 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
1464 (target_remove_hw_breakpoint): Add argument.
1465 * target.c (debug_to_remove_hw_breakpoint): Add argument.
1466 (update_current_target): Update.
1467 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
1468 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
1470 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
1471 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
1473 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
1476 2014-02-19 Tom Tromey <tromey@redhat.com>
1478 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
1480 (target_insert_hw_breakpoint): Add argument.
1481 * target.c (debug_to_insert_hw_breakpoint): Add argument.
1482 (update_current_target): Update.
1483 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
1484 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
1486 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
1487 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
1488 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
1490 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
1493 2014-02-19 Tom Tromey <tromey@redhat.com>
1495 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
1497 (target_can_use_hardware_watchpoint): Add argument.
1498 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
1499 (update_current_target): Update.
1500 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
1502 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
1504 * remote.c (remote_check_watch_resources): Add 'self' argument.
1505 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
1506 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
1508 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
1509 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
1511 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
1513 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
1515 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
1517 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
1519 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
1521 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
1522 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
1524 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
1527 2014-02-19 Tom Tromey <tromey@redhat.com>
1529 * target.h (struct target_ops) <to_post_attach>: Add argument.
1530 (target_post_attach): Add argument.
1531 * target.c (debug_to_post_attach): Add argument.
1532 (update_current_target): Update.
1533 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
1534 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
1535 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
1536 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
1537 * inf-child.c (inf_child_post_attach): Add 'self' argument.
1539 2014-02-19 Tom Tromey <tromey@redhat.com>
1541 * windows-nat.c (windows_close): Add 'self' argument.
1542 * tracepoint.c (tfile_close): Add 'self' argument.
1543 * target.h (struct target_ops) <to_close>: Add argument.
1544 * target.c (target_close): Add argument.
1545 (update_current_target): Update.
1546 * remote.c (remote_close): Add 'self' argument.
1547 * remote-sim.c (gdbsim_close): Add 'self' argument.
1548 * remote-mips.c (mips_close): Add 'self' argument.
1549 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
1550 * record-full.c (record_full_close): Add 'self' argument.
1551 * record-btrace.c (record_btrace_close): Add 'self' argument.
1552 * monitor.h (monitor_close): Add 'self' argument.
1553 * monitor.c (monitor_close): Add 'self' argument.
1554 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
1555 * linux-nat.c (linux_nat_close): Add argument.
1556 * go32-nat.c (go32_close): Add 'self' argument.
1557 * exec.c (exec_close_1): Add 'self' argument.
1558 * ctf.c (ctf_close): Add 'self' argument.
1559 * corelow.c (core_close): Add 'self' argument.
1560 (core_close_cleanup): Update.
1561 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
1562 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
1564 2014-02-19 Tom Tromey <tromey@redhat.com>
1566 * remote.c (remote_load): New function.
1567 (init_remote_ops): Use it.
1569 2014-02-19 Tom Tromey <tromey@redhat.com>
1571 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
1573 * common/linux-btrace.h (linux_supports_btrace): Update.
1574 * remote.c (remote_supports_btrace): Add "self" argument.
1575 * target-delegates.c: Rebuild.
1576 * target.c (target_supports_btrace): Remove.
1577 * target.h (struct target_ops) <to_supports_btrace>: Add
1578 target_ops argument.
1579 (target_supports_btrace): New define.
1581 2014-02-19 Tom Tromey <tromey@redhat.com>
1583 * record-full.c (record_full_beneath_to_resume_ops)
1584 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
1585 (record_full_beneath_to_wait)
1586 (record_full_beneath_to_store_registers_ops)
1587 (record_full_beneath_to_store_registers)
1588 (record_full_beneath_to_xfer_partial_ops)
1589 (record_full_beneath_to_xfer_partial)
1590 (record_full_beneath_to_insert_breakpoint_ops)
1591 (record_full_beneath_to_insert_breakpoint)
1592 (record_full_beneath_to_remove_breakpoint_ops)
1593 (record_full_beneath_to_remove_breakpoint)
1594 (record_full_beneath_to_stopped_by_watchpoint)
1595 (record_full_beneath_to_stopped_data_address)
1596 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
1597 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
1598 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
1599 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
1600 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
1601 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
1602 (tmp_to_stopped_data_address, tmp_to_async): Remove.
1603 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
1604 (record_full_resume, record_full_wait_1)
1605 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
1606 (record_full_store_registers, record_full_xfer_partial)
1607 (record_full_insert_breakpoint, record_full_remove_breakpoint)
1608 (record_full_async, record_full_core_xfer_partial): Use target
1610 * target-delegates.c: Rebuild.
1611 * target.c (current_xfer_partial): Remove.
1612 (update_current_target): Do not INHERIT or de_fault
1613 to_insert_breakpoint, to_remove_breakpoint,
1614 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
1615 to_is_async_p, to_async. Do not set to_xfer_partial field.
1616 (default_xfer_partial): Simplify.
1617 (current_xfer_partial): Remove.
1618 (target_wait, target_resume): Simplify.
1619 (find_default_can_async_p, find_default_is_async_p): Update.
1620 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
1621 to_xfer_partial, to_stopped_by_watchpoint,
1622 to_stopped_data_address.
1623 (target_store_registers): Simplify.
1624 (forward_target_remove_breakpoint)
1625 (forward_target_insert_breakpoint): Remove.
1626 (target_remove_breakpoint, target_insert_breakpoint)
1627 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
1628 * target.h (struct target_ops) <to_resume, to_wait,
1629 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
1630 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
1631 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
1633 (forward_target_remove_breakpoint)
1634 (forward_target_insert_breakpoint): Remove.
1635 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
1637 (record_btrace_insert_breakpoint): Delegate directly.
1639 2014-02-19 Tom Tromey <tromey@redhat.com>
1642 * target-delegates.c: New file.
1643 * target.c: Include target-delegates.c.
1644 (init_dummy_target): Call install_dummy_methods.
1645 (complete_target_initialization): Call install_delegators.
1646 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
1647 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
1648 * make-target-delegates: New file.
1650 2014-02-19 Tom Tromey <tromey@redhat.com>
1652 * record.c (find_record_target): Use find_target_at.
1653 * target.c (find_target_at): New function.
1654 * target.h (find_target_at): Declare.
1656 2014-02-19 Tom Tromey <tromey@redhat.com>
1658 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
1660 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
1662 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
1663 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
1665 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
1667 * linux-nat.c (save_sigtrap): Update.
1668 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
1669 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
1670 (linux_nat_close): Update.
1671 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
1673 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
1675 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
1676 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
1677 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
1678 (tmp_to_async): Add 'ops' argument.
1679 (record_full_stopped_by_watchpoint, record_full_async)
1680 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
1682 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
1683 (m32r_stopped_by_watchpoint): Add 'ops' argument.
1684 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
1685 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
1686 (remote_is_async_p, remote_async): Add 'ops' argument.
1687 (remote_stopped_data_address): Update.
1688 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
1689 * target.c (update_current_target)
1690 (find_default_can_async_p, find_default_is_async_p): Update.
1691 (init_dummy_target): Update.
1692 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
1693 * target.h (struct target_ops) <to_stopped_by_watchpoint,
1694 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
1695 (target_can_async_p, target_is_async_p, target_async)
1696 (target_stopped_by_watchpoint): Update.
1698 2014-02-19 Yao Qi <yao@codesourcery.com>
1701 * gdbarch.sh: Remove startup_gdbarch.
1702 * gdbarch.c: Regenerated.
1703 * gdbarch.h: Likewise.
1705 2014-02-17 Kevin Buettner <kevinb@redhat.com>
1707 * rl78-tdep.c (rl78_g10_register_name): New function.
1708 (rl78_return_value): Add g10 support.
1709 (rl78_gdbarch_init): Register rl78_g10_register_name for the
1712 2014-02-17 Doug Evans <xdje42@gmail.com>
1714 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
1715 (SUBDIR_GUILE_SRCS): Ditto.
1716 (scm-gsmob.o): Ditto.
1718 2014-02-17 Yao Qi <yao@codesourcery.com>
1720 * gnu-nat.c (ILL_RPC): Declare defined function.
1722 2014-02-17 Yao Qi <yao@codesourcery.com>
1724 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
1725 mach_msg_type_number_t.
1726 (gnu_write_inferior): Likewise.
1728 2014-02-17 Yao Qi <yao@codesourcery.com>
1730 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
1732 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
1733 (inf_validate_procs, inf_signal): Likewise.
1734 (S_exception_raise_request): Likewise.
1735 (do_mach_notify_dead_name): Likewise.
1736 (steal_exc_port): Likewise.
1737 (gnu_read_inferior): Change 'copy_count''s type to
1738 mach_msg_type_number_t.
1739 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
1742 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
1744 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
1745 flag. Adjust all users; in particular...
1746 (gnu_wait): ..., don't decrement its value in here...
1747 (gnu_create_inferior): ..., and instead set the flag in here,
1748 around the startup_inferior call, and call that one with
1749 START_INFERIOR_TRAPS_EXPECTED.
1751 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
1752 (ILL_RPC): ... new macro.
1753 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
1754 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
1755 (do_mach_notify_send_once, S_proc_setmsgport_reply)
1756 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
1757 functions with ILL_RPC macro.
1758 (S_proc_pid2task_reply, S_proc_task2pid_reply)
1759 (S_proc_task2proc_reply, S_proc_proc2task_reply)
1760 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
1761 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
1762 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
1763 (S_proc_getlogin_reply, S_proc_getsid_reply)
1764 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
1765 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
1766 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
1767 (S_proc_getnports_reply, S_proc_is_important_reply)
1768 (S_proc_get_code_reply): New stub functions, generated with
1771 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
1772 collected the type check structures.
1774 * reply_mig_hack.awk: Don't expect to see the auto keyword.
1776 2014-02-14 Doug Evans <dje@google.com>
1778 * target.c (target_write_partial): Fix result type.
1780 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
1782 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
1783 the proper offsets to access fpregset_t.
1785 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
1787 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
1788 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
1789 * h8300-tdep.c (setmachinelist): Remove global.
1790 * hppa-tdep.c (hppa_sigtramp): Remove global.
1791 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
1792 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
1793 * ravenscar-thread.c (update_target_observer): Remove global.
1794 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
1796 2014-02-12 Tom Tromey <tromey@redhat.com>
1798 * common/rsp-low.c: Update comments.
1799 * common/rsp-low.h: Update comments.
1801 2014-02-12 Tom Tromey <tromey@redhat.com>
1803 * common/rsp-low.c (convert_ascii_to_int): Remove.
1804 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
1806 2014-02-12 Tom Tromey <tromey@redhat.com>
1808 * common/rsp-low.h (unhexify): Don't declare.
1809 * common/rsp-low.c (unhexify): Remove.
1811 2014-02-12 Tom Tromey <tromey@redhat.com>
1813 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
1814 * common/rsp-low.c (convert_int_to_ascii): Remove.
1816 2014-02-12 Tom Tromey <tromey@redhat.com>
1818 * common/rsp-low.h (hexify): Don't declare.
1819 * common/rsp-low.c (hexify): Remove.
1821 2014-02-12 Tom Tromey <tromey@redhat.com>
1823 * common/rsp-low.c (hexify): Never take strlen of argument.
1825 2014-02-12 Tom Tromey <tromey@redhat.com>
1827 * common/rsp-low.c (bin2hex): Never take strlen of argument.
1828 * remote.c (extended_remote_run, remote_rcmd)
1829 (remote_download_trace_state_variable, remote_save_trace_data)
1830 (remote_set_trace_notes): Update.
1831 * tracepoint.c (encode_source_string, tfile_write_status)
1832 (tfile_write_uploaded_tsv): Update.
1834 2014-02-12 Tom Tromey <tromey@redhat.com>
1836 * tracepoint.c: Include rsp-low.h.
1837 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
1838 * remote.c: Include rsp-low.h.
1839 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
1840 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
1841 (remote_unescape_input): Move to common/rsp-low.c.
1842 * common/rsp-low.h: New file.
1843 * common/rsp-low.c: New file.
1844 * Makefile.in (SFILES): Add common/rsp-low.c.
1845 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
1846 (COMMON_OBS): Add rsp-low.o.
1847 (rsp-low.o): New target.
1849 2014-02-12 Tom Tromey <tromey@redhat.com>
1851 * utils.h: Include print-utils.h.
1852 (host_address_to_string, plongest, pulongest, phex, phex_nz)
1853 (int_string, core_addr_to_string, core_addr_to_string_nz)
1854 (hex_string, hex_string_custom): Don't declare.
1855 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
1856 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
1857 (hex_string_custom, int_string, core_addr_to_string)
1858 (core_addr_to_string_nz, host_address_to_string): Move to
1859 common/print-utils.c.
1860 * common/print-utils.h: New file.
1861 * common/print-utils.c: New file
1862 * Makefile.in (SFILES): Add common/print-utils.c.
1863 (HFILES_NO_SRCDIR): Add common/print-utils.h.
1864 (COMMON_OBS): Add print-utils.o.
1865 (print-utils.o): New target.
1867 2014-02-12 Tom Tromey <tromey@redhat.com>
1869 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
1871 2014-02-12 Mark Kettenis <kettenis@gnu.org>
1873 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
1875 2014-02-12 Mark Kettenis <kettenis@gnu.org>
1877 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
1878 if a PT_IO ptrace request returns sucessfully but indicates that 0
1879 bytes were transferred.
1881 2014-02-12 Pedro Alves <palves@redhat.com>
1882 Kevin Buettner <kevinb@redhat.com>
1884 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
1885 TYPE_INSTANCE_FLAG_CODE_SPACE.
1887 2014-02-12 Pedro Alves <palves@redhat.com>
1889 * h8300-tdep.c (pseudo_from_raw_register)
1890 (raw_from_pseudo_register): New functions.
1891 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
1894 2014-02-12 Pedro Alves <palves@redhat.com>
1896 * h8300-tdep.c (h8300_register_sim_regno): New function.
1897 (h8300_gdbarch_init): Install h8300_register_sim_regno as
1898 gdbarch_register_sim_regno hook.
1900 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
1902 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
1904 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
1906 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
1908 2014-02-12 Mark Kettenis <kettenis@gnu.org>
1910 * obsd-tdep.h (obsd_init_abi): New prototype.
1911 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
1912 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
1913 (obsd_init_abi): New functions.
1914 * i386obsd-tdep.c: Include "obsd-tdep.h".
1915 (i386obsd_init_abi): Call obsd_init_abi.
1916 * amd64obsd-tdep.c: Include "obsd-tdep.h".
1917 (amd64obsd_init_abi): Call obsd_init_abi.
1918 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
1919 obsd-tdep.c to gdb_target_obs.
1921 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
1923 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
1924 double float arguments to 16-byte in the argument slots.
1926 2014-02-11 Doug Evans <xdje42@gmail.com>
1928 * configure.ac: Don't crash if pkg-config is not found and guile
1929 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
1931 * configure: Regenerate.
1933 2014-02-11 Yao Qi <yao@codesourcery.com>
1935 * aix-thread.c (aix_thread_xfer_partial): Update comments.
1936 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
1937 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
1938 * gnu-nat.c (gnu_xfer_memory): Likewise.
1939 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
1940 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
1941 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
1942 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
1944 2014-02-11 Yao Qi <yao@codesourcery.com>
1946 * target.h (enum target_xfer_error): Rename to ...
1947 (enum target_xfer_status): ... it. New. All users updated.
1948 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
1950 (TARGET_XFER_STATUS_ERROR_P): New macro.
1951 (target_xfer_error_to_string): Remove declaration.
1952 (target_xfer_status_to_string): Declare.
1953 (target_xfer_partial_ftype): Adjust it.
1954 (struct target_ops) <to_xfer_partial>: Return
1955 target_xfer_status. Add argument xfered_len. Update
1957 * target.c (target_xfer_error_to_string): Rename to ...
1958 (target_xfer_status_to_string): ... it. New. All callers
1960 (target_read_live_memory): Likewise. Call target_xfer_partial
1961 instead of target_read.
1962 (memory_xfer_live_readonly_partial): Return
1963 target_xfer_status. Add argument xfered_len.
1964 (raw_memory_xfer_partial): Likewise.
1965 (memory_xfer_partial_1): Likewise.
1966 (memory_xfer_partial): Likewise.
1967 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
1968 properly. Update debug message.
1969 (default_xfer_partial, current_xfer_partial): Likewise.
1970 (target_write_partial): Likewise.
1971 (target_read_partial): Likewise. All callers updated.
1972 (read_whatever_is_readable): Likewise.
1973 (target_write_with_progress): Likewise.
1974 (target_read_alloc_1): Likewise.
1976 * aix-thread.c (aix_thread_xfer_partial): Likewise.
1977 * auxv.c (procfs_xfer_auxv): Likewise.
1978 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
1979 * bfd-target.c (target_bfd_xfer_partial): Likewise.
1980 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
1981 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
1982 * corefile.c (read_memory): Adjust.
1983 * corelow.c (core_xfer_partial): Likewise.
1984 * ctf.c (ctf_xfer_partial): Likewise.
1985 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
1987 (darwin_xfer_partial): Likewise.
1988 * exec.c (section_table_xfer_memory_partial): Likewise. All
1990 (exec_xfer_partial): Likewise.
1991 * exec.h (section_table_xfer_memory_partial): Update
1993 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
1995 (gnu_xfer_partial): Likewise.
1996 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
1997 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
1998 (ia64_hpux_xfer_solib_got): Likewise.
1999 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2000 type of 'partial_len' to ULONGEST.
2001 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2002 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2003 (linux_nat_xfer_partial): Likewise.
2004 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2005 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2006 * monitor.c (monitor_xfer_memory): Likewise.
2007 (monitor_xfer_partial): Likewise.
2008 * procfs.c (procfs_xfer_partial): Likewise.
2009 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2010 * record-full.c (record_full_xfer_partial): Likewise.
2011 (record_full_core_xfer_partial): Likewise.
2012 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2013 (gdbsim_xfer_partial): Likewise.
2014 * remote.c (remote_write_bytes_aux): Likewise. All callers
2016 (remote_write_bytes, remote_read_bytes): Likewise. All
2018 (remote_flash_erase): Likewise. All callers updated.
2019 (remote_write_qxfer): Likewise. All callers updated.
2020 (remote_read_qxfer): Likewise. All callers updated.
2021 (remote_xfer_partial): Likewise.
2022 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2023 (rs6000_xfer_shared_libraries): Likewise.
2024 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2025 (sol_thread_xfer_partial): Likewise.
2026 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2027 (sparc_xfer_partial): Likewise.
2028 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2030 (spu_xfer_partial): Likewise.
2031 * spu-multiarch.c (spu_xfer_partial): Likewise.
2032 * tracepoint.c (tfile_xfer_partial): Likewise.
2033 * windows-nat.c (windows_xfer_memory): Likewise.
2034 (windows_xfer_shared_libraries): Likewise.
2035 (windows_xfer_partial): Likewise.
2036 * valprint.c: Replace 'target_xfer_error' with
2037 'target_xfer_status' in comments.
2039 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2041 Checked in by Joel Brobecker <brobecker@adacore.com>.
2042 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2044 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2046 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2047 function parameters.
2049 2014-02-10 Will Newton <will.newton@linaro.org>
2051 * elfread.c (elf_rel_plt_read): Look for a .got section if
2052 looking up .got.plt fails.
2053 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2054 on address passed to elf_gnu_ifunc_record_cache.
2055 (elf_gnu_ifunc_resolve_addr): Likewise.
2056 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2058 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2060 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2061 (X_RETTURN): New macro.
2062 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2064 * sparc64-tdep.c (sparc64_init_abi): Hook
2065 sparc_in_function_epilogue_p.
2067 2014-02-10 Gary Benson <gbenson@redhat.com>
2069 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2070 Rename name_matcher to symbol_matcher.
2072 2014-02-10 Gary Benson <gbenson@redhat.com>
2074 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2075 Use expand_symtabs_file_matcher_ftype and
2076 expand_symtabs_symbol_matcher_ftype.
2078 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2080 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2081 (struct ada_symbol_cache): New.
2082 (ada_free_symbol_cache): Forward declare.
2083 (struct ada_pspace_data): New.
2084 (ada_pspace_data_handle): New static global.
2085 (get_ada_pspace_data, ada_pspace_data_cleanup)
2086 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2087 (cache_space, cache): Delete, now folded inside struct
2089 (ada_get_symbol_cache): New function.
2090 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2092 (_initialize_ada_language): Remove initialization of cache_space.
2093 Move call to observer_attach_inferior_exit up, grouping it
2094 with the other observer registrations inside this function.
2095 Rename command to be more general. Add call to
2096 register_program_space_data_with_cleanup.
2098 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2100 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2101 ada_new_objfile_observer.
2102 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2103 (_initialize_tasks): Update uses of ada_new_objfile_observer
2104 and ada_tasks_normal_stop_observer.
2106 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2108 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2109 returned by the 'Length attribute to integer.
2111 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2113 * ada-lang.c (_initialize_ada_language): Initialize
2114 cache_space obstack.
2116 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2118 * ada-lang.c (HASH_SIZE): New macro.
2119 (struct cache_entry): New type.
2120 (cache_space, cache): New static globals.
2121 (ada_clear_symbol_cache, find_entry): New functions.
2122 (lookup_cached_symbol, cache_symbol): Implement.
2123 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2124 (_initialize_ada_language): Attach ada_new_objfile_observer
2125 and ada_free_objfile_observer.
2127 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2129 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
2130 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
2131 struct block * parameter.
2132 (ada_lookup_symbol_list_worker): Constify local variable "block".
2133 Remove cast which is no longer necessary.
2135 2014-02-10 Doug Evans <xdje42@gmail.com>
2137 Add Guile as an extension language.
2138 * NEWS: Mention Guile scripting.
2139 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
2140 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
2141 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
2142 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
2143 (CLIBS): Add GUILE_LIBS.
2144 (install-guile): New rule.
2145 (guile.o): New rule.
2146 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
2147 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
2148 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
2149 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
2150 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
2151 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
2152 (scm-type.o, scm-utils.o, scm-value.o): New rules.
2153 * configure.ac: New option --with-guile.
2154 * configure: Regenerate.
2155 * config.in: Regenerate.
2156 * auto-load.c: Remove #include "python/python.h". Add #include
2157 "gdb/section-scripts.h".
2158 (source_section_scripts): Handle Guile scripts.
2159 (_initialize_auto_load): Add name of Guile objfile script to
2160 scripts-directory help text.
2161 * breakpoint.c (condition_command): Tweak comment to include Scheme.
2162 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
2163 (struct breakpoint): New member scm_bp_object.
2164 * defs.h (enum command_control_type): New value guile_control.
2165 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
2167 (show_user): Update comment.
2168 (_initialize_cli_cmds): Update help text for "show user". Update help
2169 text for max-user-call-depth.
2170 * cli/cli-script.c: Remove #include "python/python.h". Add #include
2172 (multi_line_command_p): Add guile_control.
2173 (print_command_lines): Handle guile_control.
2174 (execute_control_command, recurse_read_control_structure): Ditto.
2175 (process_next_line): Recognize "guile" commands.
2176 * disasm.c (gdb_disassemble_info): Make non-static.
2177 * disasm.h: #include "dis-asm.h".
2178 (struct gdbarch): Add forward decl.
2179 (gdb_disassemble_info): Declare.
2180 * extension.c: #include "guile/guile.h".
2181 (extension_languages): Add guile.
2182 (get_ext_lang_defn): Handle EXT_LANG_GDB.
2183 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
2184 * gdbtypes.c (get_unsigned_type_max): New function.
2185 (get_signed_type_minmax): New function.
2186 * gdbtypes.h (get_unsigned_type_max): Declare.
2187 (get_signed_type_minmax): Declare.
2188 * guile/README: New file.
2189 * guile/guile-internal.h: New file.
2190 * guile/guile.c: New file.
2191 * guile/guile.h: New file.
2192 * guile/scm-arch.c: New file.
2193 * guile/scm-auto-load.c: New file.
2194 * guile/scm-block.c: New file.
2195 * guile/scm-breakpoint.c: New file.
2196 * guile/scm-disasm.c: New file.
2197 * guile/scm-exception.c: New file.
2198 * guile/scm-frame.c: New file.
2199 * guile/scm-gsmob.c: New file.
2200 * guile/scm-iterator.c: New file.
2201 * guile/scm-lazy-string.c: New file.
2202 * guile/scm-math.c: New file.
2203 * guile/scm-objfile.c: New file.
2204 * guile/scm-ports.c: New file.
2205 * guile/scm-pretty-print.c: New file.
2206 * guile/scm-safe-call.c: New file.
2207 * guile/scm-string.c: New file.
2208 * guile/scm-symbol.c: New file.
2209 * guile/scm-symtab.c: New file.
2210 * guile/scm-type.c: New file.
2211 * guile/scm-utils.c: New file.
2212 * guile/scm-value.c: New file.
2213 * guile/lib/gdb.scm: New file.
2214 * guile/lib/gdb/boot.scm: New file.
2215 * guile/lib/gdb/experimental.scm: New file.
2216 * guile/lib/gdb/init.scm: New file.
2217 * guile/lib/gdb/iterator.scm: New file.
2218 * guile/lib/gdb/printing.scm: New file.
2219 * guile/lib/gdb/types.scm: New file.
2220 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
2221 (VPATH): Add $(GUILE_SRCDIR).
2222 (GUILE_DIR): New variable.
2223 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
2224 (all): Add stamp-guile dependency.
2225 (stamp-guile): New rule.
2226 (clean-guile, install-guile, uninstall-guile): New rules.
2227 (install-only): Add install-guile dependency.
2228 (uninstall): Add uninstall-guile dependency.
2229 (clean): Add clean-guile dependency.
2231 2014-02-09 Doug Evans <xdje42@gmail.com>
2233 Revert this patch (which I approved, mea culpa).
2235 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2237 * Makefile.in (all-lib): Remove.
2238 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2240 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2242 Fix Python stack corruption.
2243 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
2246 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2248 * Makefile.in (all-lib): Remove.
2249 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2251 2014-02-07 Doug Evans <dje@google.com>
2253 * extension-priv.h (extension_language_script_ops): Add comment.
2254 (extension_language_ops): Add comment.
2255 (active_ext_lang_state): Fix typo in comment.
2257 2014-02-07 Pedro Alves <palves@redhat.com>
2259 * infrun.c (handle_signal_stop) <signal arrives while stepping
2260 over a breakpoint>: Switch back to the stepping thread.
2262 2014-02-07 Yao Qi <yao@codesourcery.com>
2264 * target.c (target_xfer_partial): Return zero if LEN is zero.
2266 2014-02-07 Yao Qi <yao@codesourcery.com>
2268 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
2269 (ld_so_xfer_auxv): Likewise.
2270 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2271 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2272 * corelow.c (core_xfer_partial): Likewise.
2273 * ctf.c (ctf_xfer_partial): Likewise.
2274 * darwin-nat.c (darwin_read_dyld_info): Likewise.
2275 (darwin_xfer_partial): Likewise.
2276 * exec.c (exec_xfer_partial): Likewise.
2277 * gnu-nat.c (gnu_xfer_partial): Likewise.
2278 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
2279 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2280 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2281 * linux-nat.c (linux_xfer_siginfo): Likewise.
2282 (linux_proc_xfer_spu): Likewise.
2283 * procfs.c (procfs_xfer_partial): Likewise.
2284 * record-full.c (record_full_xfer_partial): Likewise.
2285 (record_full_core_xfer_partial): Likewise.
2286 * remote-sim.c (gdbsim_xfer_partial): Likewise.
2287 * remote.c (remote_write_qxfer): Likewise.
2288 (remote_write_qxfer, remote_read_qxfer): Likewise.
2289 (remote_xfer_partial): Likewise.
2290 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2291 (rs6000_xfer_shared_libraries): Likewise.
2292 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2293 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2294 (spu_xfer_partial): Likewise.
2295 * target.c (memory_xfer_partial_1): Likewise.
2296 * tracepoint.c (tfile_xfer_partial): Likewise.
2297 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
2298 (windows_xfer_partial): Likewise.
2300 2014-02-07 Yao Qi <yao@codesourcery.com>
2302 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
2304 (core_xfer_shared_libraries_aix): Likewise.
2305 * gdbarch.c, gdbarch.h: Regenerated.
2306 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
2307 ULONGEST. Change 'len_avail' type to ULONGEST.
2308 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
2309 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
2311 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
2313 2014-02-07 Yao Qi <yao@codesourcery.com>
2315 * corefile.c (memory_error): Get 'exception' from ERR and pass
2316 'exception' to throw_error.
2318 2014-02-06 Doug Evans <xdje42@gmail.com>
2320 * configure.ac (libpython checking): Remove all but python.o from
2321 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
2322 * configure: Regenerate.
2324 * Makefile.in (SFILES): Add extension.c.
2325 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
2326 (COMMON_OBS): Add extension.o.
2327 * extension.h: New file.
2328 * extension-priv.h: New file.
2329 * extension.c: New file.
2331 * python/python-internal.h: #include "extension.h".
2332 (gdbpy_auto_load_enabled): Declare.
2333 (gdbpy_apply_val_pretty_printer): Declare.
2334 (gdbpy_apply_frame_filter): Declare.
2335 (gdbpy_preserve_values): Declare.
2336 (gdbpy_breakpoint_cond_says_stop): Declare.
2337 (gdbpy_breakpoint_has_cond): Declare.
2338 (void source_python_script_for_objfile): Delete.
2339 * python/python.c: #include "extension-priv.h".
2340 Delete inclusion of "observer.h".
2341 (extension_language_python): Moved here and renamed from
2342 script_language_python in py-auto-load.c.
2343 Redefined to be of type extension_language_defn.
2344 (python_extension_script_ops): New global.
2345 (python_extension_ops): New global.
2346 (struct python_env): New member previous_active.
2347 (restore_python_env): Call restore_active_ext_lang.
2348 (ensure_python_env): Call set_active_ext_lang.
2349 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
2351 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
2353 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
2355 (gdbpy_eval_from_control_command): Renamed from
2356 eval_python_from_control_command, made static. New arg extlang.
2357 (gdbpy_source_script) Renamed from source_python_script, made static.
2359 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
2360 result to int. New arg extlang.
2361 (gdbpy_source_objfile_script): Renamed from
2362 source_python_script_for_objfile, made static. New arg extlang.
2363 (gdbpy_start_type_printers): Renamed from start_type_printers, made
2364 static. New args extlang, extlang_printers. Change result type to
2366 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
2367 static. New arg extlang. Rename arg printers to extlang_printers
2368 and change type to ext_lang_type_printers *.
2369 (gdbpy_free_type_printers): Renamed from free_type_printers, made
2370 static. Replace argument arg with extlang, extlang_printers.
2371 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
2372 (!HAVE_PYTHON, source_python_script): Delete.
2373 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
2374 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
2375 (!HAVE_PYTHON, start_type_printers): Delete.
2376 (!HAVE_PYTHON, apply_type_printers): Delete.
2377 (!HAVE_PYTHON, free_type_printers): Delete.
2378 (_initialize_python): Delete call to observer_attach_before_prompt.
2379 (finalize_python): Set/restore active extension language.
2380 (gdbpy_finish_initialization) Renamed from
2381 finish_python_initialization, made static. New arg extlang.
2382 (gdbpy_initialized): New function.
2383 * python/python.h: #include "extension.h". Delete #include
2384 "value.h", "mi/mi-cmds.h".
2385 (extension_language_python): Declare.
2386 (GDBPY_AUTO_FILE_NAME): Delete.
2387 (enum py_bt_status): Moved to extension.h and renamed to
2389 (enum frame_filter_flags): Moved to extension.h.
2390 (enum py_frame_args): Moved to extension.h and renamed to
2391 ext_lang_frame_args.
2392 (finish_python_initialization): Delete.
2393 (eval_python_from_control_command): Delete.
2394 (source_python_script): Delete.
2395 (apply_val_pretty_printer): Delete.
2396 (apply_frame_filter): Delete.
2397 (preserve_python_values): Delete.
2398 (gdbpy_script_language_defn): Delete.
2399 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
2400 (start_type_printers, apply_type_printers, free_type_printers): Delete.
2402 * auto-load.c: #include "extension.h".
2403 (GDB_AUTO_FILE_NAME): Delete.
2404 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
2405 (script_language_gdb): Delete, moved to extension.c and renamed to
2406 extension_language_gdb.
2407 (source_gdb_script_for_objfile): Delete.
2408 (auto_load_pspace_info): New member unsupported_script_warning_printed.
2409 (loaded_script): Change type of language member to
2410 struct extension_language_defn *.
2411 (init_loaded_scripts_info): Initialize
2412 unsupported_script_warning_printed.
2413 (maybe_add_script): Make static. Change type of language arg to
2414 struct extension_language_defn *.
2415 (clear_section_scripts): Reset unsupported_script_warning_printed.
2416 (auto_load_objfile_script_1): Rewrite to use extension language API.
2417 (auto_load_objfile_script): Make public. Remove support-compiled-in
2418 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
2419 (source_section_scripts): Rewrite to use extension language API.
2420 (load_auto_scripts_for_objfile): Rewrite to use
2421 auto_load_scripts_for_objfile.
2422 (collect_matching_scripts_data): Change type of language member to
2423 struct extension_language_defn *.
2424 (auto_load_info_scripts): Change type of language arg to
2425 struct extension_language_defn *.
2426 (unsupported_script_warning_print): New function.
2427 (script_not_found_warning_print): Make static.
2428 (_initialize_auto_load): Rewrite construction of scripts-directory
2430 * auto-load.h (struct objfile): Add forward decl.
2431 (struct script_language): Delete.
2432 (struct auto_load_pspace_info): Add forward decl.
2433 (struct extension_language_defn): Add forward decl.
2434 (maybe_add_script): Delete.
2435 (auto_load_objfile_script): Declare.
2436 (script_not_found_warning_print): Delete.
2437 (auto_load_info_scripts): Update prototype.
2438 (auto_load_gdb_scripts_enabled): Declare.
2439 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
2440 auto_load_python_scripts_enabled and made public.
2441 (script_language_python): Delete, moved to python.c.
2442 (gdbpy_script_language_defn): Delete.
2443 (info_auto_load_python_scripts): Update to use
2444 extension_language_python.
2446 * breakpoint.c (condition_command): Replace call to
2447 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
2448 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
2449 with call to breakpoint_ext_lang_cond_says_stop.
2450 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
2451 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
2452 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
2453 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
2455 (local_setattro): Print name of extension language with existing
2458 * valprint.c (val_print, value_print): Update to call
2459 apply_ext_lang_val_pretty_printer.
2460 * cp-valprint.c (cp_print_value): Update call to
2461 apply_ext_lang_val_pretty_printer.
2462 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
2463 (gdbpy_apply_val_pretty_printer): Renamed from
2464 apply_val_pretty_printer. New arg extlang.
2465 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
2467 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
2468 extension language API.
2469 * cli/cli-script.c (execute_control_command): Update to call
2470 eval_ext_lang_from_control_command.
2472 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
2473 enum ext_lang_bt_status values. Update call to
2474 apply_ext_lang_frame_filter.
2475 (mi_cmd_stack_list_locals): Ditto.
2476 (mi_cmd_stack_list_args): Ditto.
2477 (mi_cmd_stack_list_variables): Ditto.
2478 * mi/mi-main.c: Delete #include "python/python-internal.h".
2479 Add #include "extension.h".
2480 (mi_cmd_list_features): Replace reference to python internal variable
2481 gdb_python_initialized with call to ext_lang_initialized_p.
2483 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
2484 Update to use enum ext_lang_frame_args. Update to call
2485 apply_ext_lang_frame_filter.
2486 * python/py-framefilter.c (extract_sym): Update to use enum
2488 (extract_value, py_print_type, py_print_value): Ditto.
2489 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
2490 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
2491 (py_print_frame): Ditto.
2492 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
2493 New arg extlang. Update to use enum ext_lang_bt_status.
2495 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
2496 finish_python_initialization. Replace with call to
2497 finish_ext_lang_initialization.
2499 * typeprint.c (do_free_global_table): Update to call
2500 free_ext_lang_type_printers.
2501 (create_global_typedef_table): Update to call
2502 start_ext_lang_type_printers.
2503 (find_global_typedef): Update to call apply_ext_lang_type_printers.
2504 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
2505 (type_print_options): Change type of global_printers from "void *"
2506 to "struct ext_lang_type_printers *".
2508 * value.c (preserve_values): Update to call preserve_ext_lang_values.
2509 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
2510 (gdbpy_preserve_values): Renamed from preserve_python_values.
2512 (!HAVE_PYTHON, preserve_python_values): Delete.
2514 * utils.c (quit_flag): Delete, moved to extension.c.
2515 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
2518 * eval.c: Delete #include "python/python.h".
2519 * main.c: Delete #include "python/python.h".
2521 * defs.h: Update comment.
2523 2014-02-06 Joel Brobecker <brobecker@adacore.com>
2527 2014-02-05 Mark Kettenis <kettenis@gnu.org>
2529 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
2532 2014-02-05 Yao Qi <yao@codesourcery.com>
2534 * remote.c (remote_pass_signals): Remove local 'buf' and use
2536 (remote_program_signals): Likewise.
2538 2014-02-05 Yao Qi <yao@codesourcery.com>
2540 * ctf.c: Include "inferior.h" and "gdbthread.h".
2541 (CTF_PID): A new macro.
2542 (ctf_open): Call inferior_appeared and add_thread_silent.
2543 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
2544 (ctf_thread_alive): New function.
2545 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
2547 2014-02-05 Yao Qi <yao@codesourcery.com>
2551 2013-05-24 Yao Qi <yao@codesourcery.com>
2553 * tracepoint.c (TFILE_PID): Remove.
2554 (tfile_open): Don't add thread and inferior.
2555 (tfile_close): Don't set 'inferior_ptid'. Don't call
2556 exit_inferior_silent.
2557 (tfile_thread_alive): Remove.
2558 (init_tfile_ops): Don't set field 'to_thread_alive' of
2561 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
2563 * remote.c (remote_start_remote): Call remote_check_symbols even
2564 if only symbol-file (not file) has been given.
2566 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2568 * gdbarch.sh (skip_entrypoint): New callback.
2569 * gdbarch.c, gdbarch.h: Regenerate.
2570 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
2571 * infrun.c (fill_in_stop_func): Likewise.
2572 * ppc-linux-tdep.c: Include "elf/ppc64.h".
2573 (ppc_elfv2_elf_make_msymbol_special): New function.
2574 (ppc_elfv2_skip_entrypoint): Likewise.
2575 (ppc_linux_init_abi): Install them for ELFv2.
2577 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2579 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
2580 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
2581 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
2582 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
2583 structures returned in GPRs.
2585 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2587 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
2588 offset to the stack parameter list for the ELFv2 ABI.
2590 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2592 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
2593 set_gdbarch_convert_from_func_ptr_addr and
2594 set_gdbarch_elf_make_msymbol_special for ELFv1.
2595 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
2596 function descriptors on ELFv1.
2597 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
2598 set up r12 at function entry.
2600 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2602 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
2603 (struct gdbarch_tdep): New member elf_abi.
2605 * rs6000-tdep.c: Include "elf/ppc64.h".
2606 (rs6000_gdbarch_init): Detect ELF ABI version.
2608 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2610 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
2611 within a register pair holding a DFP 128-bit value on little-endian.
2612 (ppc64_sysv_abi_return_value_base): Likewise.
2613 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
2614 (dfp_pseudo_register_write): Likewise.
2616 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2618 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
2619 offset on little-endian when passing _Decimal32.
2620 (ppc64_sysv_abi_return_value_base): Likewise for return values.
2622 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2624 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
2625 of the overlapped FP register within the VSX register on little-
2627 (efpr_pseudo_register_write): Likewise.
2629 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2631 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
2632 offset on little-endian when passing small structures.
2634 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2636 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
2637 (struct ppc64_sysv_argpos): New data structure.
2638 (ppc64_sysv_abi_push_float): Remove.
2639 (ppc64_sysv_abi_push_val): New function.
2640 (ppc64_sysv_abi_push_integer): Likewise.
2641 (ppc64_sysv_abi_push_freg): Likewise.
2642 (ppc64_sysv_abi_push_vreg): Likewise.
2643 (ppc64_sysv_abi_push_param): Likewise.
2644 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
2645 (ppc64_sysv_abi_return_value_base): New function.
2646 (ppc64_sysv_abi_return_value): Refactor to use it.
2648 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2650 * NEWS: Document new target powerpc64le-*-linux*.
2652 2014-02-04 Mark Kettenis <kettenis@gnu.org>
2654 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
2655 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
2657 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
2658 register set used in ELF core dumps. Add floating-point register set.
2660 2014-02-03 Kevin Buettner <kevinb@redhat.com>
2662 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
2663 dwarf2_to_gdb[] table using symbolic constants. Adjust
2664 penultimate entry from number representing the PC register
2665 to symbolic constant representing the MDR register. Add
2666 constant for the PC register to the end of the table.
2668 2014-02-03 Mark Kettenis <kettenis@gnu.org>
2670 * bsd-kvm.c: Include <sys/param.h>
2672 2014-02-03 Mark Kettenis <kettenis@gnu.org>
2674 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
2676 2014-01-31 Joel Brobecker <brobecker@adacore.com>
2678 * ada-lang.h (clear_ada_sym_cache): Delete.
2680 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
2682 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
2684 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2686 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
2687 the sigreturn register save area only if the syscall is
2690 2014-01-29 Joel Brobecker <brobecker@adacore.com>
2692 * valops.c (value_slice): Minor reformatting.
2694 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
2696 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
2698 2014-01-28 Joel Brobecker <brobecker@adacore.com>
2700 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
2702 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
2703 (ada_ignore_descriptive_types_p): New static global.
2704 (find_parallel_type_by_descriptive_type): Return immediately
2705 if ada_ignore_descriptive_types_p is set.
2706 (_initialize_ada_language): Register new commands "maintenance
2707 set ada", "maintenance show ada", "maintenance set ada
2708 ignore-descriptive-types" and "maintenance show ada
2709 ignore-descriptive-types".
2710 * NEWS: Add entry for new "maint ada set/show
2711 ignore-descriptive-types" commands.
2713 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
2715 * record-btrace.c (record_btrace_close): Call btrace_teardown
2718 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2720 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
2723 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2725 * ada-typeprint (type_is_full_subrange_of_target_type):
2727 (print_range): Add parameter bounds_prefered_p. If not set,
2728 try printing range types using the name of their base type.
2729 (print_range_type): Add parameter bounds_prefered_p.
2730 Use it in call to print_range.
2731 (print_array_type, ada_print_type): Update calls to print_range
2732 and print_range_type.
2734 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2736 * ada-typeprint.c (print_array_type, print_choices, print_range)
2737 (print_range_bound, print_dynamic_range_bound, print_range_type):
2740 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2742 * ada-typeprint.c (print_range): Add missing empty line
2743 after local declaration.
2745 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2747 * ada-valprint.c (print_optional_low_bound): Get index_type's
2748 target type for as long as it is a TYPE_CODE_RANGE.
2750 2014-01-27 Joel Brobecker <brobecker@adacore.com>
2752 * procfs.c (procfs_make_note_section): Remove assertion and
2755 2014-01-24 Yao Qi <yao@codesourcery.com>
2757 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
2758 * corelow.c (get_core_siginfo): Likewise.
2760 2014-01-24 Yao Qi <yao@codesourcery.com>
2762 * remote.c (remote_write_bytes_aux): Change type of 'len' to
2763 ULONGEST. Don't check 'len' is negative.
2764 (remote_write_bytes): Change type of 'len' to ULONGEST.
2766 2014-01-23 Tom Tromey <tromey@redhat.com>
2769 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
2770 Handle exception from frame.block.
2771 (FrameVars.fetch_frame_locals): Likewise.
2773 2014-01-23 Tom Tromey <tromey@redhat.com>
2776 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
2777 on a NULL pointer. Move "goto error" to correct place.
2779 2014-01-23 Tom Tromey <tromey@redhat.com>
2782 * python/py-framefilter.c (apply_frame_filter): Call
2783 ensure_python_env after computing gdbarch.
2785 2014-01-23 Yao Qi <yao@codesourcery.com>
2787 * target.c (raw_memory_xfer_partial): Change argument type
2788 from void * to gdb_byte *.
2789 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
2791 2014-01-22 Doug Evans <dje@google.com>
2793 New gdbserver option --debug-format=timestamp.
2796 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2798 * syscalls/s390x-linux.xml: New file.
2799 * syscalls/s390-linux.xml: New file.
2800 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
2801 (XML_SYSCALL_FILENAME_S390X): Likewise.
2802 (op_svc): New enum value for SVC opcode.
2803 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
2804 (s390_linux_get_syscall_number): New function.
2805 (s390_gdbarch_init): Register '*get_syscall_number' and the
2806 syscall xml file name.
2807 * data-directory/Makefile.in (SYSCALLS_FILES): Add
2808 "s390-linux.xml" and "s390x-linux.xml".
2809 * NEWS: Announce new feature.
2811 2014-01-22 Baruch Siach <baruch@tkos.co.il>
2813 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
2815 2014-01-22 Pedro Alves <palves@redhat.com>
2817 * xtensa-config.c: Include defs.h.
2819 2014-01-22 Joel Brobecker <brobecker@adacore.com>
2821 * common/common-utils.h: Add "ARI:" comment beside __func__
2824 2014-01-22 Joel Brobecker <brobecker@adacore.com>
2826 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
2827 documentation a bit.
2829 2014-01-21 Roland McGrath <mcgrathr@google.com>
2831 * configure.ac: Call AM_PROG_INSTALL_STRIP.
2832 * configure: Regenerate.
2833 * aclocal.m4: Regenerate.
2834 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
2835 New substituted variables.
2836 (install-strip): New target.
2837 (INSTALL_SCRIPT): New substituted variable.
2838 (FLAGS_TO_PASS): Add it.
2839 (install-only): Use $(INSTALL_SCRIPT) rather than
2840 $(INSTALL_PROGRAM) for gcore.
2842 2014-01-20 Tom Tromey <tromey@redhat.com>
2844 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
2847 2014-01-20 Tom Tromey <tromey@redhat.com>
2849 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
2850 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
2851 (deprecated_cmd_warning, complete_on_cmdlist): Update.
2852 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
2853 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
2854 (struct cmd_list_element) <flags>: Remove.
2855 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
2856 doc_allocated>: New fields.
2857 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
2859 * maint.c (maintenance_do_deprecate): Update.
2860 * top.c (execute_command): Update.
2862 2014-01-20 Baruch Siach <baruch@tkos.co.il>
2864 * xtensa-linux-nat.c: Include asm/ptrace.h.
2866 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2868 * Makefile.in (SFILES): Add d-support.c.
2869 (COMMON_OBS): Add d-support.o.
2870 * d-lang.h (d_parse_symbol): Add comment, now defined in
2872 * d-lang.c (parse_call_convention)
2873 (parse_attributes, parse_function_types)
2874 (parse_function_args, parse_type, parse_identifier)
2875 (call_convention_p, d_parse_symbol): Move functions to ...
2876 * d-support.c: ... New file.
2878 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2880 * d-lang.h (d_parse_symbol): Add declaration.
2881 * d-lang.c (extract_identifiers)
2882 (extract_type_info): Remove functions.
2883 (parse_call_convention, parse_attributes)
2884 (parse_function_types, parse_function_args)
2885 (parse_type, parse_identifier, call_convention_p)
2886 (d_parse_symbol): New functions.
2887 (d_demangle): Use d_parse_symbol to demangle D symbols.
2889 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2891 * d-lang.h (struct builtin_d_type): New data type.
2892 (builtin_d_type): Add declaration.
2893 * d-lang.c (d_language_arch_info, build_d_types)
2894 (builtin_d_type): New functions.
2895 (enum d_primitive_types): New data type.
2896 (d_language_defn): Change c_language_arch_info to
2897 d_language_arch_info.
2898 (d_type_data): New static variable.
2899 (_initialize_d_language): Initialize d_type_data.
2901 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2903 * d-lang.h (d_main_name): Add declaration.
2904 * d-lang.c (d_main_name): New function.
2905 * symtab.c (find_main_name): Add call to d_main_name.
2907 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2909 * d-lang.c (d_language_defn): Change macro_expansion_c to
2912 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2914 * MAINTAINERS: Add myself as a write-after-approval maintainer.
2916 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
2918 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
2919 gdb_exception" declaration.
2920 * remote.c (getpkt_or_notif_sane): Likewise.
2922 2014-01-17 Doug Evans <dje@google.com>
2924 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
2925 function, contents of dirnames_to_char_ptr_vec_append moved here.
2926 (delim_string_to_char_ptr_vec): New function.
2927 (dirnames_to_char_ptr_vec_append): Rewrite.
2928 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
2930 2014-01-17 Doug Evans <dje@google.com>
2932 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
2934 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
2935 #include "common-utils.h".
2936 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
2937 * common/vec.h (VEC_ASSERT_PASS): Update.
2938 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
2939 (MACH_CHECK_ERROR): Update.
2941 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
2943 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
2945 * gdbarch.h: Regenerate.
2947 2014-01-16 Tom Tromey <tromey@redhat.com>
2949 * value.c (struct value) <regnum>: Move earlier.
2951 2014-01-16 Tom Tromey <tromey@redhat.com>
2953 * remote.c (extended_remote_create_inferior): Rename from
2954 extended_remote_create_inferior_1. Add "ops" argument. Remove
2957 2014-01-16 Pedro Alves <palves@redhat.com>
2959 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
2960 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
2963 2014-01-16 Doug Evans <dje@google.com>
2965 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
2967 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2969 * btrace.h (btrace_thread_flag): New.
2970 (struct btrace_thread_info) <flags>: New.
2971 * record-btrace.c (record_btrace_resume_thread)
2972 (record_btrace_find_thread_to_move, btrace_step_no_history)
2973 (btrace_step_stopped, record_btrace_start_replaying)
2974 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
2975 (record_btrace_find_resume_thread): New.
2976 (record_btrace_resume, record_btrace_wait): Extend.
2977 (record_btrace_can_execute_reverse): New.
2978 (record_btrace_open): Fail in non-stop mode.
2979 (record_btrace_set_replay): Split into this, ...
2980 (record_btrace_stop_replaying): ... this, ...
2981 (record_btrace_clear_histories): ... and this.
2982 (init_record_btrace_ops): Init to_can_execute_reverse.
2983 * NEWS: Announce it.
2985 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2987 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
2988 (forward_target_decr_pc_after_break)
2989 (target_decr_pc_after_break): New.
2990 * target.c (forward_target_decr_pc_after_break)
2991 (target_decr_pc_after_break): New.
2992 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
2993 instead of gdbarch_decr_pc_after_break.
2994 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
2995 instead of gdbarch_decr_pc_after_break.
2996 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
2997 instead of gdbarch_decr_pc_after_break.
2998 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
2999 instead of gdbarch_decr_pc_after_break.
3000 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3001 instead of gdbarch_decr_pc_after_break.
3002 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3003 instead of gdbarch_decr_pc_after_break.
3005 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3007 * btrace.c: Include regcache.h.
3008 (btrace_add_pc): New.
3009 (btrace_enable): Call btrace_add_pc.
3010 (btrace_is_empty): New.
3011 * btrace.h (btrace_is_empty): New.
3012 * record-btrace.c (require_btrace, record_btrace_info): Call
3015 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3017 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3018 Support delta reads.
3019 (linux_disable_btrace): Change return type.
3020 * common/linux-btrace.h (linux_read_btrace): Change parameters
3021 and return type to allow error reporting. Update users.
3022 (linux_disable_btrace): Change return type. Update users.
3023 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3025 (btrace_error): New.
3026 (btrace_block) <begin>: Comment on BEGIN == 0.
3027 * btrace.c (btrace_compute_ftrace): Start from the end of
3029 (btrace_stitch_trace, btrace_clear_history): New.
3030 (btrace_fetch): Read delta trace, return if replaying.
3031 (btrace_clear): Move clear history code to btrace_clear_history.
3032 (parse_xml_btrace): Throw an error if parsing failed.
3033 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3034 and return type to allow error reporting.
3035 (target_read_btrace): Change parameters and return type to allow
3037 * target.c (target_read_btrace): Update.
3038 * remote.c (remote_read_btrace): Support delta reads. Pass
3040 * NEWS: Announce it.
3042 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3044 * record.h (record_btrace_frame_unwind)
3045 (record_btrace_tailcall_frame_unwind): New declarations.
3046 * dwarf2-frame: Include record.h
3047 (dwarf2_frame_cfa): Throw an error for btrace frames.
3048 * record-btrace.c: Include hashtab.h.
3049 (btrace_get_bfun_name): New.
3050 (btrace_call_history): Call btrace_get_bfun_name.
3051 (struct btrace_frame_cache): New.
3053 (bfcache_hash, bfcache_eq, bfcache_new): New.
3054 (btrace_get_frame_function): New.
3055 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3056 (record_btrace_frame_this_id): Compute own id.
3057 (record_btrace_frame_prev_register): Provide PC, throw_error
3058 for all other registers.
3059 (record_btrace_frame_sniffer): Detect btrace frames.
3060 (record_btrace_tailcall_frame_sniffer): New.
3061 (record_btrace_frame_dealloc_cache): New.
3062 (record_btrace_frame_unwind): Add new functions.
3063 (record_btrace_tailcall_frame_unwind): New.
3064 (_initialize_record_btrace): Allocate cache.
3065 * btrace.c (btrace_clear): Call reinit_frame_cache.
3066 * NEWS: Announce it.
3068 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3070 * record-btrace.c (record_btrace_set_replay)
3071 (record_btrace_goto_begin, record_btrace_goto_end)
3072 (record_btrace_goto): New.
3073 (init_record_btrace_ops): Initialize them.
3074 * NEWS: Announce it.
3076 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3078 * record-btrace.c (record_btrace_find_new_threads)
3079 (record_btrace_thread_alive): New.
3080 (init_record_btrace_ops): Initialize to_find_new_threads and
3083 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3085 * record-btrace.c (record_btrace_resume): New.
3086 (record_btrace_wait): New.
3087 (init_record_btrace_ops): Initialize to_wait and to_resume.
3089 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3091 * record-btrace.c (record_btrace_xfer_partial)
3092 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3093 (record_btrace_allow_memory_access): New.
3094 (init_record_btrace_ops): Initialize new methods.
3095 * target.c (raw_memory_xfer_partial): Bail out if target reports
3096 that this memory is not available.
3098 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3100 * target.h (target_ops) <to_insert_breakpoint>
3101 <to_remove_breakpoint>: Add target_ops parameter.
3102 (forward_target_insert_breakpoint): New.
3103 (forward_target_remove_breakpoint): New.
3104 (memory_remove_breakpoint, memory_insert_breakpoint):
3105 Add target_ops parameter.
3106 * target.c (target_insert_breakpoint): Split into this and ...
3107 (forward_target_insert_breakpoint): ... this.
3108 (target_remove_breakpoint): Split into this and ...
3109 (forward_target_remove_breakpoint): ... this.
3110 (debug_to_insert_breakpoint): Add target_ops parameter.
3111 Call forward_target_insert_breakpoint.
3112 (debug_to_remove_breakpoint): Add target_ops parameter.
3113 Call forward_target_remove_breakpoint.
3114 (update_current_target): Do not inherit or default to_insert_breakpoint
3115 and to_remove_breakpoint.
3116 * corelow.c (ignore): Add target_ops parameter.
3117 * exec.c (ignore): Add target_ops parameter.
3118 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3119 Add target_ops parameter.
3120 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3121 Add target_ops parameter.
3122 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3123 Add target_ops parameter.
3124 * record-full.c (record_full_beneath_to_insert_breakpoint)
3125 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3126 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3127 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
3128 (record_full_core_remove_breakpoint): Add target_ops parameter.
3130 (record_full_beneath_to_insert_breakpoint_ops)
3131 (record_full_beneath_to_remove_breakpoint_ops)
3132 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
3133 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
3134 tmp_to_remove_breakpoint_ops,
3135 record_full_beneath_to_insert_breakpoint_ops, and
3136 record_full_beneath_to_remove_breakpoint_ops.
3137 * remote-m32r-sdi.c (m32r_insert_breakpoint)
3138 (m32r_remove_breakpoint): Add target_ops parameter.
3139 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
3140 Add target_ops parameter.
3141 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
3142 Add target_ops parameter.
3144 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3145 Markus Metzger <markus.t.metzger@intel.com>
3147 * record-btrace.c: Include frame-unwind.h.
3148 (record_btrace_frame_unwind_stop_reason)
3149 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
3150 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
3152 (init_record_btrace_ops): Install it.
3154 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3156 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
3159 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3161 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
3164 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3166 * frame-unwind.c: Include target.h.
3167 (frame_unwind_try_unwinder): New function with code from ...
3168 (frame_unwind_find_by_frame): ... here. New variable
3169 unwinder_from_target, call also target_get_unwinder)
3170 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
3171 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
3172 * target.h (struct target_ops): New fields to_get_unwinder and
3173 to_get_tailcall_unwinder.
3174 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
3176 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3178 * record-btrace.c (record_btrace_fetch_registers)
3179 (record_btrace_store_registers)
3180 (record_btrace_to_prepare_to_store): New.
3181 (init_record_btrace_ops): Add the above.
3183 2014-01-16 Tom Tromey <tromey@redhat.com>
3185 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
3186 * target.h (struct target_ops) <to_prepare_to_store>: Add
3188 (target_prepare_to_store): Add argument.
3189 * target.c (debug_to_prepare_to_store): Add argument.
3190 (update_current_target): Update.
3191 * remote.c (remote_prepare_to_store): Add 'self' argument.
3192 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
3193 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
3194 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
3195 * record-full.c (record_full_core_prepare_to_store): Add 'self'
3197 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
3198 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
3199 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
3200 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
3201 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
3203 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3205 * btrace.h (replay) <replay>: New.
3206 (btrace_is_replaying): New.
3207 * btrace.c (btrace_clear): Free replay iterator.
3208 (btrace_is_replaying): New.
3209 * record-btrace.c (record_btrace_is_replaying): New.
3210 (record_btrace_info): Print insn number if replaying.
3211 (record_btrace_insn_history): Start at replay position.
3212 (record_btrace_call_history): Start at replay position.
3213 (init_record_btrace_ops): Init to_record_is_replaying.
3215 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3217 * record-btrace.c (record_btrace_insn_history_range): Include
3219 (record_btrace_insn_history_from): Adjust range.
3220 (record_btrace_call_history_range): Include
3222 (record_btrace_call_history_from): Adjust range.
3223 * NEWS: Announce changes.
3225 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3227 * record.h (enum record_print_flag)
3228 <record_print_indent_calls>: New.
3229 * record.c (get_call_history_modifiers): Recognize /c modifier.
3230 (_initialize_record): Document /c modifier.
3231 * record-btrace.c (btrace_call_history): Add btinfo parameter.
3232 Reorder fields. Optionally indent the function name. Update
3234 * NEWS: Announce changes.
3236 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3238 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
3240 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3242 * btrace.c (ftrace_new_function): Start counting at one.
3243 * record-btrace.c (record_btrace_info): Adjust number of calls
3245 * NEWS: Announce it.
3247 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3249 * record-btrace.c (btrace_call_history_insn_range): Print
3250 insn range as [begin, end].
3252 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3254 * btrace.h (struct btrace_func_link): New.
3255 (enum btrace_function_flag): New.
3256 (struct btrace_inst): Rename to ...
3257 (struct btrace_insn): ...this. Update all users.
3258 (struct btrace_func) <ibegin, iend>: Remove.
3259 (struct btrace_func_link): New.
3260 (struct btrace_func): Rename to ...
3261 (struct btrace_function): ...this. Update all users.
3262 (struct btrace_function) <segment, flow, up, insn, insn_offset)
3263 (number, level, flags>: New.
3264 (struct btrace_insn_iterator): Rename to ...
3265 (struct btrace_insn_history): ...this.
3267 (struct btrace_insn_iterator, btrace_call_iterator): New.
3268 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
3269 (struct btrace_target_info) <begin, end, level>
3270 <insn_history, call_history>: New.
3271 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3272 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3273 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3274 (btrace_call_number, btrace_call_begin, btrace_call_end)
3275 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3276 (btrace_find_function_by_number, btrace_set_insn_history)
3277 (btrace_set_call_history): New.
3278 * btrace.c (btrace_init_insn_iterator)
3279 (btrace_init_func_iterator, compute_itrace): Remove.
3280 (ftrace_print_function_name, ftrace_print_filename)
3281 (ftrace_skip_file): Change
3283 (ftrace_init_func): Remove.
3284 (ftrace_debug): Use new btrace_function fields.
3285 (ftrace_function_switched): Also consider gaining and
3286 losing symbol information).
3287 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
3288 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
3289 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
3291 (ftrace_new_function): Move. Remove debug print.
3292 (ftrace_update_lines, ftrace_update_insns): New.
3293 (ftrace_update_function): Check for call, ret, and jump.
3294 (compute_ftrace): Renamed to ...
3295 (btrace_compute_ftrace): ...this. Rewritten to compute call
3297 (btrace_fetch, btrace_clear): Updated.
3298 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3299 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3300 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3301 (btrace_call_number, btrace_call_begin, btrace_call_end)
3302 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3303 (btrace_find_function_by_number, btrace_set_insn_history)
3304 (btrace_set_call_history): New.
3305 * record-btrace.c (require_btrace): Use new btrace thread
3307 (record_btrace_info, btrace_insn_history)
3308 (record_btrace_insn_history, record_btrace_insn_history_range):
3309 Use new btrace thread info fields and new iterator.
3310 (btrace_func_history_src_line): Rename to ...
3311 (btrace_call_history_src_line): ...this. Use new btrace
3313 (btrace_func_history): Rename to ...
3314 (btrace_call_history): ...this. Use new btrace thread info
3315 fields and new iterator.
3316 (record_btrace_call_history, record_btrace_call_history_range):
3317 Use new btrace thread info fields and new iterator.
3319 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3321 * frame.h (frame_id_build_unavailable_stack_special): New.
3322 * frame.c (frame_id_build_unavailable_stack_special): New.
3324 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3326 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
3327 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
3328 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
3330 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
3331 (i386_insn_is_jump, i386_jmp_p): New.
3332 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
3333 insn_is_jump to gdbarch.
3334 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
3335 * gdbarch.h: Regenerated.
3336 * gdbarch.c: Regenerated.
3337 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
3338 (default_insn_is_jump): New.
3339 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
3340 (default_insn_is_jump): New.
3342 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3344 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
3346 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
3347 (btrace_read_type) <btrace_read_new>: Change to ...
3348 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
3350 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3352 * common/linux-btrace.c (linux_read_btrace): Free trace from
3355 2014-01-15 Doug Evans <dje@google.com>
3357 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
3360 2014-01-15 Tom Tromey <tromey@redhat.com>
3362 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
3363 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
3364 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
3365 (set_objfile_main_name): New function.
3366 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
3367 language_of_main>: New fields.
3368 (set_objfile_main_name): Declare.
3369 * symtab.c (find_main_name): Loop over objfiles to find the main
3371 (set_main_name): Now static.
3372 (get_main_info): Add comment.
3373 * symtab.h (set_main_name): Don't declare.
3375 2014-01-15 Tom Tromey <tromey@redhat.com>
3377 * symtab.c (main_progspace_key): New global.
3378 (struct main_info): New.
3379 (name_of_main, language_of_main): Remove.
3380 (get_main_info, main_info_cleanup): New function.
3381 (set_main_name, main_name, main_language): Use get_main_info.
3382 (_initialize_symtab): Initialize main_progspace_key.
3384 2014-01-15 Tom Tromey <tromey@redhat.com>
3386 * dbxread.c (process_one_symbol): Update.
3387 * dwarf2read.c (read_partial_die): Update.
3388 * symfile.c (set_initial_language): Call main_language.
3389 * symtab.c (language_of_main): Now static.
3390 (set_main_name): Add 'lang' parameter.
3391 (find_main_name): Update.
3392 (main_language): New function.
3393 (symtab_observer_executable_changed): Update.
3394 * symtab.h (set_main_name): Update.
3395 (language_of_main): Remove.
3396 (main_language): Declare.
3398 2014-01-15 Tom Tromey <tromey@redhat.com>
3400 * symfile.c (init_entry_point_info): Use new "initialized" field.
3402 * objfiles.h (struct entry_point) <initialized>: New field.
3403 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
3404 (struct objfile) <ei>: ...here. Remove.
3405 * objfiles.c (entry_point_address_query): Update.
3407 2014-01-15 Tom Tromey <tromey@redhat.com>
3409 * objfiles.c (entry_point_address_query): Relocate entry point
3411 (objfile_relocate1): Do not relocate entry point address.
3412 * objfiles.h (struct entry_info) <entry_point>: Update comment.
3413 <the_bfd_section_index>: New field.
3414 * symfile.c (init_entry_point_info): Find the entry point's
3417 2014-01-15 Tom Tromey <tromey@redhat.com>
3419 * solib-frv.c (enable_break): Use entry_point_address_query.
3421 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3423 * NEWS: Add note on improved process record-replay on
3424 arm*-linux* targets.
3426 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3428 * arm-tdep.c (enum arm_record_result): New enum.
3429 (arm_record_unsupported_insn): New function.
3430 (arm_record_coproc_data_proc): Removed.
3431 (thumb2_record_ld_st_multiple): New function.
3432 (thumb2_record_ld_st_dual_ex_tbb): New function.
3433 (thumb2_record_data_proc_sreg_mimm): New function.
3434 (thumb2_record_ps_dest_generic): New function.
3435 (thumb2_record_branch_misc_cntrl): New function.
3436 (thumb2_record_str_single_data): New function.
3437 (thumb2_record_ld_mem_hints): New function.
3438 (thumb2_record_ld_word): New function.
3439 (thumb2_record_lmul_lmla_div): New function.
3440 (thumb2_record_decode_insn_handler): New function.
3441 (decode_insn): Add thumb32 instruction handlers.
3443 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3445 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
3446 (struct arm_linux_record_tdep): Declare.
3447 (arm_canonicalize_syscall): New function.
3448 (arm_all_but_pc_registers_record): New function.
3449 (arm_linux_syscall_record): New function.
3450 (arm_linux_init_abi): Add syscall recording constructs.
3451 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
3452 decoding. (arm_record_coproc_data_proc): Update arm syscall
3454 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
3455 <arm_syscall_record>: New field.
3456 * configure.tgt (arm*-*-linux*): Add linux-record.o to
3459 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3461 * arm-tdep.c (thumb_record_misc): Update to use sp as base
3462 register for push instruction recording.
3464 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3466 * arm-tdep.c (thumb_record_misc): Update to correct logical
3467 error while recording ldm, ldmia and pop instructions.
3469 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
3471 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
3473 2014-01-15 Pedro Alves <palves@redhat.com>
3475 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
3476 (go32_resume, go32_fetch_registers, store_register)
3477 (go32_store_registers, go32_prepare_to_store)
3478 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
3479 (go32_create_inferior, go32_can_run, go32_terminal_init)
3480 (go32_terminal_inferior, go32_terminal_ours): Delete forward
3483 2014-01-15 Tom Tromey <tromey@redhat.com>
3485 * target.h (async_callback_ftype): New typedef.
3486 (struct target_ops) <to_async>: Use it.
3488 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3490 * python/py-value.c (get_field_type): Remove unnecessary curly
3491 braces for single-statement if block.
3493 2014-01-15 Joel Brobecker <brobecker@adacore.com>
3495 * python/py-type.c (convert_field): Add missing empty line
3498 2014-01-14 Doug Evans <dje@google.com>
3500 * symfile.h (expand_symtabs_matching): Renamed from
3501 expand_partial_symbol_names. Update prototype.
3502 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3503 * symfile.c (expand_symtabs_matching): Renamed from
3504 expand_partial_symbol_names. New args file_matcher, kind.
3505 Rename arg fun to symbol_matcher.
3506 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
3507 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
3508 ada_expand_partial_symbol_name.
3509 (ada_make_symbol_completion_list): Update to call
3510 expand_symtabs_matching.
3511 (ada_add_global_exceptions): Call expand_symtabs_matching.
3512 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
3513 call map_symbol_filenames.
3514 * symtab.c (sources_info): Update to call map_symbol_filenames.
3515 (search_symbols): Call expand_symtabs_matching.
3516 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
3517 (default_make_symbol_completion_list_break_on): Update to call
3518 expand_symtabs_matching.
3519 (make_source_files_completion_list): Update to call
3520 map_symbol_filenames.
3522 2014-01-14 Doug Evans <dje@google.com>
3524 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
3525 (expand_symtabs_symbol_matcher_ftype): New typedef.
3526 (quick_symbol_functions.expand_symtabs_matching): Update to use.
3527 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3528 * symfile.c (expand_partial_symbol_names): Update to use
3529 expand_symtabs_symbol_matcher_ftype.
3530 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
3531 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3532 Arg name_matcher renamed to symbol_matcher.
3533 * psymtab.c (recursively_search_psymtabs): Update to use
3534 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
3536 (expand_symtabs_matching_via_partial): Update to use
3537 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
3538 Arg name_matcher renamed to symbol_matcher.
3540 2014-01-14 Doug Evans <dje@google.com>
3542 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
3543 (map_partial_symbol_filenames): Ditto.
3544 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
3545 (map_partial_symbol_filenames): Ditto.
3546 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
3547 (map_partial_symbol_filenames): Ditto.
3548 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
3549 (map_partial_symbol_filenames): Ditto.
3550 * symtab.c: Delete #include "psymtab.h".
3552 2014-01-14 Pedro Alves <palves@redhat.com>
3553 Tom Tromey <tromey@redhat.com>
3555 * infrun.c (use_displaced_stepping): Use find_record_target
3556 instead of RECORD_IS_USED.
3557 (adjust_pc_after_break): Use record_full_is_used instead of
3559 * record-btrace.c (record_btrace_open): Call record_preopen
3560 instead of checking RECORD_IS_USED.
3561 * record-full.c (record_full_shortname)
3562 (record_full_core_shortname): New globals.
3563 (record_full_is_used): New function.
3564 (find_full_open): Call record_preopen instead of checking
3566 (init_record_full_ops): Set the target's shortname to
3567 record_full_shortname.
3568 (init_record_full_core_ops): Set the target's shortname to
3569 record_full_core_shortname.
3570 * record-full.h (record_full_is_used): Declare.
3571 * record.c (find_record_target): Make extern.
3572 (record_preopen): New function.
3573 * record.h (RECORD_IS_USED): Delete macro.
3574 (find_record_target, record_preopen): Declare functions.
3576 2014-01-14 Yao Qi <yao@codesourcery.com>
3578 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
3579 'len''s type to ULONGEST.
3580 (core_xfer_shared_libraries_aix): Likewise.
3581 * gdbarch.c, gdbarch.h: Regenerated.
3582 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
3583 Change type of 'len' to ULONGEST.
3584 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3585 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
3587 2014-01-14 Yao Qi <yao@codesourcery.com>
3589 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
3590 type of 'len' to ULONGEST.
3591 (linux_xfer_osdata_processgroups): Likewise.
3592 (linux_xfer_osdata_threads): Likewise.
3593 (linux_xfer_osdata_fds): Likewise.
3594 (linux_xfer_osdata_isockets): Likewise.
3595 (linux_xfer_osdata_shm): Likewise.
3596 (linux_xfer_osdata_sem): Likewise.
3597 (linux_xfer_osdata_msg): Likewise.
3598 (linux_common_xfer_osdata): Likewise.
3599 (struct osdata_type) <getter>: Likewise.
3600 * common/linux-osdata.h (linux_common_xfer_osdata): Update
3603 2014-01-14 Yao Qi <yao@codesourcery.com>
3605 * target.h (target_xfer_partial_ftype): Update.
3606 (struct target_ops) <to_xfer_partial>: Change 'len' type to
3608 * aix-thread.c (aix_thread_xfer_partial): Change type of
3609 argument 'len' to ULONGEST.
3610 * auxv.c (procfs_xfer_auxv): Likewise.
3611 (ld_so_xfer_auxv): Likewise.
3612 (memory_xfer_auxv): Likewise.
3613 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3614 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3615 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
3616 * corelow.c (core_xfer_partial): Likewise.
3617 * ctf.c (ctf_xfer_partial): Likewise.
3618 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
3620 (darwin_read_dyld_info): Likewise.
3621 (darwin_xfer_partial): Likewise.
3622 * exec.c (section_table_xfer_memory_partial): Likewise.
3623 (exec_xfer_partial): Likewise.
3624 * exec.h (section_table_xfer_memory_partial): Update
3626 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
3627 instead of plongest.
3628 (gnu_xfer_partial): Likewise.
3629 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
3630 (ia64_hpux_xfer_solib_got): Likewise.
3631 (ia64_hpux_xfer_partial): Likewise.
3632 * ia64-linux-nat.c (ia64_linux_xfer_partial):
3633 * inf-ptrace.c (inf_ptrace_xfer_partial):
3634 * inf-ttrace.c (inf_ttrace_xfer_partial):
3635 * linux-nat.c (linux_xfer_siginfo): Likewise.
3636 (linux_nat_xfer_partial): Likewise.
3637 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
3638 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
3639 * monitor.c (monitor_xfer_memory): Likewise.
3640 (monitor_xfer_partial): Likewise.
3641 * procfs.c (procfs_xfer_partial): Likewise.
3642 * record-full.c (record_full_xfer_partial): Likewise.
3643 (record_full_core_xfer_partial): Likewise.
3644 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
3645 instead of plongest.
3646 (gdbsim_xfer_partial): Likewise.
3647 * remote.c (remote_xfer_partial): Likewise.
3648 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3649 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3651 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3652 (rs6000_xfer_shared_libraries): Likewise.
3653 * sol-thread.c (sol_thread_xfer_partial): Likewise.
3654 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3655 (sparc_xfer_partial): Likewise.
3656 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3657 (spu_xfer_partial): Likewise.
3658 * spu-multiarch.c (spu_xfer_partial): Likewise.
3659 * target.c (target_read_live_memory): Likewise.
3660 (memory_xfer_live_readonly_partial): Likewise.
3661 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
3662 (target_xfer_partial, default_xfer_partial): Likewise.
3663 (current_xfer_partial): Likewise.
3664 * tracepoint.c (tfile_xfer_partial): Likewise.
3665 * windows-nat.c (windows_xfer_memory): Likewise. Call
3666 pulongest instead of plongest.
3667 (windows_xfer_partial): Likewise.
3668 (windows_xfer_shared_libraries): Likewise.
3670 2014-01-14 Yao Qi <yao@codesourcery.com>
3672 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
3673 target_xfer_partial_ftype.
3675 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
3679 * valops.c (value_struct_elt_bitpos): New function
3680 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
3681 object to 'None' if the field name is an empty string ("").
3682 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
3683 attribute to look for a field when 'name' is 'None'.
3684 (get_field_type): New function
3686 2014-01-13 Doug Evans <dje@google.com>
3689 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
3690 (try_open_dwop_file): Ditto.
3691 * gdb_bfd.c: #include "vec.h".
3692 (bfdp): New typedef.
3693 (struct gdb_bfd_data): New member included_bfds.
3694 (gdb_bfd_unref): Unref all included bfds.
3695 (gdb_bfd_record_inclusion): New function.
3696 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
3698 2014-01-13 Tom Tromey <tromey@redhat.com>
3700 * gdbcore.h (deprecated_core_resize_section_table): Remove.
3702 2014-01-13 Tom Tromey <tromey@redhat.com>
3704 * defs.h (use_windows): Remove.
3705 * gdb.c (main): Update.
3706 * main.c (captured_main, gdb_main): Update.
3707 * main.h (struct captured_main_args) <use_windows>: Remove.
3708 * top.c (use_windows): Remove.
3710 2014-01-13 Tom Tromey <tromey@redhat.com>
3712 * defs.h (deprecated_flush_hook): Remove.
3714 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3717 * linux-thread-db.c (try_thread_db_load): Add parameter
3718 check_auto_load_safe. Move here the file_is_auto_load_safe call.
3719 (try_thread_db_load_from_pdir_1): Move it there from here.
3720 (try_thread_db_load_from_sdir): Update caller.
3721 (try_thread_db_load_from_dir): Move it there from here.
3723 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
3725 * regformats/regdat.sh: Always rewrite the register file.
3727 2014-01-13 Pedro Alves <palves@redhat.com>
3729 * Makefile.in (CHECK_HEADERS): New variable.
3730 (check-headers:): New rule.
3732 2014-01-13 Tom Tromey <tromey@redhat.com>
3734 * cli/cli-setshow.c (do_set_command): Update.
3735 * defs.h (deprecated_set_hook): Remove.
3736 * top.c (deprecated_set_hook): Remove.
3738 2014-01-13 Pedro Alves <palves@redhat.com>
3740 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
3741 the tracepoint if the PC is a pseudo-register.
3743 2014-01-13 Tom Tromey <tromey@redhat.com>
3745 * defs.h (XCALLOC): Remove.
3746 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
3747 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
3748 * dwarf2loc.c (allocate_piece_closure): Likewise.
3749 * elfread.c (elf_symfile_segments): Likewise.
3750 (elf_symfile_segments): Likewise.
3751 * gdbtypes.c (copy_type_recursive): Likewise.
3752 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
3753 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
3754 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
3756 * mt-tdep.c (mt_gdbarch_init): Likewise.
3757 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
3759 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
3760 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
3761 * registry.c (registry_alloc_data): Likewise.
3762 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
3763 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
3764 * serial.c (serial_fdopen_ops): Likewise.
3765 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
3767 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
3768 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
3771 2014-01-13 Tom Tromey <tromey@redhat.com>
3773 * defs.h (XMALLOC): Remove.
3774 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
3775 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
3776 * cli-out.c (struct ui_out *): Likewise.
3777 * cli/cli-dump.c (add_dump_command): Likewise.
3778 (add_dump_command): Likewise.
3779 * complaints.c (get_complaints): Likewise.
3780 (find_complaint): Likewise.
3781 * dwarf2-frame.c (execute_cfa_program): Likewise.
3782 * dwarf2read.c (abbrev_table_read_table): Likewise.
3783 * gdbarch.sh: Likewise.
3784 * gdbarch.c: Rebuild.
3785 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
3786 * interps.c (interp_new): Likewise.
3787 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
3788 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
3789 * mi/mi-console.c (mi_console_file_new): Likewise.
3790 * mi/mi-interp.c (mi_interpreter_init): Likewise.
3791 * mi/mi-out.c (mi_out_new): Likewise.
3792 * mi/mi-parse.c (mi_parse): Likewise.
3793 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
3794 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
3795 * observer.c (xalloc_observer_list_node): Likewise.
3796 * regcache.c (regcache_xmalloc_1): Likewise.
3797 * reggroups.c (reggroup_new): Likewise.
3798 (_initialize_reggroup): Likewise.
3799 * registry.c (register_data_with_cleanup): Likewise.
3800 * remote.c (remote_notif_stop_alloc_reply): Likewise.
3801 * ser-base.c (serial_ttystate): Likewise.
3802 * ser-mingw.c (make_pipe_state): Likewise.
3803 * ser-pipe.c (pipe_open): Likewise.
3804 * serial.c (serial_open): Likewise.
3805 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
3806 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
3807 (tui_alloc_win_info): Likewise.
3808 (tui_add_content_elements): Likewise.
3809 * tui/tui-file.c (tui_file_new): Likewise.
3810 * tui/tui-out.c (tui_out_new): Likewise.
3811 * ui-file.c (mem_file_new): Likewise.
3812 * ui-out.c (push_level): Likewise.
3813 (make_cleanup_ui_out_end): Likewise.
3814 (append_header_to_list): Likewise.
3815 (ui_out_new): Likewise.
3816 * user-regs.c (user_reg_add_builtin): Likewise.
3818 2014-01-13 Tom Tromey <tromey@redhat.com>
3820 * defs.h (XZALLOC): Remove.
3821 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
3822 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
3823 (get_ada_tasks_inferior_data): Likewise.
3824 * auto-load.c (get_auto_load_pspace_data): Likewise.
3825 * auxv.c (get_auxv_inferior_data): Likewise.
3826 * bfd-target.c (target_bfd_reopen): Likewise.
3827 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
3828 (deprecated_insert_raw_breakpoint): Likewise.
3829 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
3830 * corelow.c (core_open): Likewise.
3831 * darwin-nat.c (darwin_check_new_threads): Likewise.
3832 (darwin_attach_pid): Likewise.
3833 * dummy-frame.c (dummy_frame_push): Likewise.
3834 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
3835 * dwarf2loc.c (allocate_piece_closure): Likewise.
3836 * elfread.c (elf_symfile_segments): Likewise.
3837 * eval.c (ptrmath_type_p): Likewise.
3838 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
3839 * gdbtypes.c (alloc_type_arch): Likewise.
3840 (alloc_type_instance): Likewise.
3841 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
3842 * inf-child.c (inf_child_can_use_agent): Likewise.
3843 * inflow.c (get_inflow_inferior_data): Likewise.
3844 * infrun.c (save_infcall_suspend_state): Likewise.
3845 * jit.c (jit_reader_load): Likewise.
3846 (get_jit_objfile_data): Likewise.
3847 (get_jit_program_space_data): Likewise.
3848 (jit_object_open_impl): Likewise.
3849 (jit_symtab_open_impl): Likewise.
3850 (jit_block_open_impl): Likewise.
3851 (jit_frame_sniffer): Likewise.
3852 * linux-fork.c (add_fork): Likewise.
3853 * maint.c (make_command_stats_cleanup): Likewise.
3854 * objfiles.c (get_objfile_pspace_data): Likewise.
3855 * opencl-lang.c (struct lval_closure): Likewise.
3856 * osdata.c (osdata_start_osdata): Likewise.
3857 * progspace.c (new_address_space): Likewise.
3858 (add_program_space): Likewise.
3859 * remote-sim.c (get_sim_inferior_data): Likewise.
3860 * sh-tdep.c (sh_gdbarch_init): Likewise.
3861 * skip.c (Ignore): Likewise.
3862 (skip_delete_command): Likewise.
3863 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
3864 (library_list_start_library): Likewise.
3865 (solib_aix_current_sos): Likewise.
3866 * solib-darwin.c (get_darwin_info): Likewise.
3867 (darwin_current_sos): Likewise.
3868 * solib-dsbt.c (get_dsbt_info): Likewise.
3869 * solib-ia64-hpux.c (new_so_list): Likewise.
3870 (ia64_hpux_get_solib_linkage_addr): Likewise.
3871 * solib-spu.c (append_ocl_sos): Likewise.
3872 (spu_current_sos): Likewise.
3873 * solib-svr4.c (get_svr4_info): Likewise.
3874 (svr4_keep_data_in_core): Likewise.
3875 (library_list_start_library): Likewise.
3876 (svr4_default_sos): Likewise.
3877 (svr4_read_so_list): Likewise.
3878 * solib-target.c (library_list_start_library): Likewise.
3879 (solib_target_current_sos): Likewise.
3880 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
3881 * symfile-debug.c (install_symfile_debug_logging): Likewise.
3882 * symfile.c (default_symfile_segments): Likewise.
3883 * target-descriptions.c (tdesc_data_init): Likewise.
3884 (tdesc_create_reg): Likewise.
3885 (struct tdesc_type *): Likewise.
3886 (tdesc_create_vector): Likewise.
3887 (tdesc_set_struct_size): Likewise.
3888 (struct tdesc_type *): Likewise.
3889 (tdesc_free_feature): Likewise.
3890 (tdesc_create_feature): Likewise.
3891 * windows-nat.c (windows_add_thread): Likewise.
3892 (windows_make_so): Likewise.
3893 * xml-support.c (gdb_xml_body_text): Likewise.
3894 (gdb_xml_create_parser_and_cleanup): Likewise.
3895 (xml_process_xincludes): Likewise.
3896 * xml-syscall.c (allocate_syscalls_info): Likewise.
3897 (syscall_create_syscall_desc): Likewise.
3899 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
3901 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
3902 function, with code from i386_stap_parse_special_token.
3903 (i386_stap_parse_special_token_three_arg_disp): Likewise.
3904 (i386_stap_parse_special_token): Move code to the two functions
3907 2014-01-09 Pedro Alves <palves@redhat.com>
3908 Hui Zhu <hui@codesourcery.com>
3911 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
3912 bp_err_string. Don't mark the location shlib_disabled if the
3913 error thrown wasn't a generic or memory error. Catch errors
3914 thrown while inserting breakpoints in overlayed code. Output
3915 error message of software breakpoints.
3916 * remote.c (remote_insert_breakpoint): If this breakpoint has
3917 target-side commands but this stub doesn't support Z0 packets,
3918 throw NOT_SUPPORTED_ERROR error.
3919 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
3920 * target.h (target_insert_breakpoint): Extend comment.
3921 (target_insert_hw_breakpoint): Add comment.
3923 2014-01-08 Pedro Alves <palves@redhat.com>
3925 * remote.c (remote_add_thread): Add threads silently if starting
3927 (remote_notice_new_inferior): If in all-stop, and starting up,
3928 don't call notice_new_inferior.
3929 (get_current_thread): New function, factored out from ...
3930 (add_current_inferior_and_thread): ... this. Adjust.
3931 (remote_start_remote) <all-stop>: Fetch the thread list. If we
3932 found any thread, then select the remote's current thread as GDB's
3935 2014-01-08 Joel Brobecker <brobecker@adacore.com>
3937 * NEWS: Create a new section for the next release branch.
3938 Rename the section of the current branch, now that it has
3941 2014-01-08 Joel Brobecker <brobecker@adacore.com>
3943 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
3944 * version.in: Bump version to 7.7.50.DATE-cvs.
3946 2014-01-08 Yao Qi <yao@codesourcery.com>
3948 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
3949 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
3950 (spu_xfer_partial): Cast 'buf' to 'const char *'.
3952 2014-01-08 Yao Qi <yao@codesourcery.com>
3954 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
3955 return value of bfd_get_filename to symbol_file_add_from_bfd.
3957 2014-01-08 Pierre Muller <muller@sourceware.org>
3960 * coff-pe-read.c (struct read_pe_section_data): Add index field.
3961 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
3962 to prim_record_mininal_symbol_and_info.
3963 (add_pe_forwarded_sym): Use known section number of forwarded symbol
3964 in call to prim_record_minimal_symbol_and_info.
3965 (read_pe_exported_syms): Set index field of section_data.
3967 2014-01-07 Andrew Pinski <apinski@cavium.com>
3969 * features/aarch64-core.xml (cpsr): Change to be 64bit.
3970 * features/aarch64.c: Regenerate.
3972 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
3974 * target.c (return_null): Define.
3975 (update_current_target): Use it instead of return_zero for
3976 functions that return a pointer.
3978 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3980 * source.c (add_path): Fix check for duplicated paths in the previously
3983 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
3985 * ada-lang.c: Remove duplicated include statements.
3986 * alphabsd-nat.c: Ditto.
3987 * amd64-darwin-tdep.c: Ditto.
3988 * amd64fbsd-nat.c: Ditto.
3989 * auto-load.c: Ditto.
3991 * breakpoint.c: Ditto.
3993 * fork-child.c: Ditto.
3994 * gdb_usleep.c: Ditto.
3995 * i386-darwin-tdep.c: Ditto.
3996 * i386fbsd-nat.c: Ditto.
3998 * inferior.c: Ditto.
4000 * linux-nat.c: Ditto.
4001 * linux-tdep.c: Ditto.
4002 * m68kbsd-nat.c: Ditto.
4003 * m68klinux-nat.c: Ditto.
4004 * microblaze-tdep.c: Ditto.
4005 * mips-linux-tdep.c: Ditto.
4006 * mn10300-tdep.c: Ditto.
4007 * nto-tdep.c: Ditto.
4008 * opencl-lang.c: Ditto.
4010 * printcmd.c: Ditto.
4011 * regcache.c: Ditto.
4012 * remote-m32r-sdi.c: Ditto.
4016 * tilegx-linux-nat.c: Ditto.
4017 * tilegx-tdep.c: Ditto.
4018 * tracepoint.c: Ditto.
4020 * vaxbsd-nat.c: Ditto.
4021 * windows-nat.c: Ditto.
4022 * xtensa-tdep.c: Ditto.
4024 2014-01-07 Yao Qi <yao@codesourcery.com>
4026 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4028 2014-01-07 Yao Qi <yao@codesourcery.com>
4029 Joel Brobecker <brobecker@adacore.com>
4031 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4032 (pdc_write_regs): Likewise.
4033 (fetch_regs_kernel_thread): Likewise.
4034 (store_regs_kernel_thread): Likewise.
4036 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4038 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4039 tagged type objects to their actual type.
4041 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4043 * ada-valprint.c (print_field_values): Add "language" parameter.
4044 Update calls to print_field_values and print_variant_part.
4045 Pass new parameter "language" in call to val_print instead
4046 of "current_language". Replace call to ada_val_print by call
4048 (print_variant_part): Add "language" parameter.
4049 (ada_val_print_struct_union): Update call to print_field_values.
4051 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4053 * ada-valprint.c (ui_memcpy): Delete.
4054 (ada_print_floating): Update documentation. Add empty line
4055 between between function documentation and implementation.
4056 Delete variable "buffer". Use ui_file_xstrdup in place of
4057 ui_file_put. Minor adjustments following this change.
4059 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4061 * ada-valprint.c (ada_val_print_string): New function,
4062 extracted from ada_val_print_array.
4063 (ada_val_print_array): Replace extracted code by call
4064 to ada_val_print_string followed by a return. Move
4065 "else" branch to the function's top block.
4067 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4069 * ada-valprint.c (ada_val_print_array): Move implementation
4070 down. Rename parameter "offset" and "val" into "offset_aligned"
4071 and "original_value" respectively. Add parameter "offset".
4073 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4075 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4076 re-organizing the code. Change the "???" message printed
4077 when target type is a TYPE_CODE_UNDEF into
4078 "<ref to undefined type>".
4080 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4082 * ada-valprint.c (print_record): Delete, implementation inlined...
4083 (ada_val_print_struct_union): ... here. Remove call to
4084 ada_check_typedef in inlined implementation.
4086 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4088 * ada-valprint.c (ada_val_print_gnat_array): New function,
4089 extracted from ada_val_print_1;
4090 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4091 (ada_val_print_flt, ada_val_print_struct_union)
4092 (ada_val_print_ref): Likewise.
4093 (ada_val_print_1): Delete variables i and elttype.
4094 Replace extracted-out code by call to corresponding
4097 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4099 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4101 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4103 * ada-valprint.c (ada_val_print_1): Replace calls to
4104 ada_val_print_1 by calls to val_print.
4106 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4108 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4109 Update calls to self accordingly. Replace calls to c_val_print
4110 by calls to val_print.
4112 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4114 * ada-valprint.c (print_record): Delete declaration.
4115 (adjust_type_signedness, ada_val_print_1): Likewise.
4116 (ada_val_print): Move function implementation down.
4117 (print_variant_part, print_field_values, print_record):
4118 Move function implementation up.
4120 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4122 * python/py-type.c (typy_get_name): New function.
4123 (type_object_getset): Add entry for attribute "name".
4124 * NEWS: Add entry mentioning this new attribute.
4126 2014-01-07 Yao Qi <yao@codesourcery.com>
4128 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
4131 2014-01-07 Yao Qi <yao@codesourcery.com>
4133 * gnu-nat.c (info_port_rights): Add qualifier const to
4136 2014-01-07 Yao Qi <yao@codesourcery.com>
4138 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
4140 2014-01-07 Yao Qi <yao@codesourcery.com>
4142 * gnu-nat.c (make_inf) Update declaration.
4143 (make_inf): Make it static.
4144 (inf_set_traced): Likewise.
4145 (inf_port_to_thread, inf_task_died_status): Likewise.
4147 2014-01-07 Yao Qi <yao@codesourcery.com>
4149 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
4151 2014-01-07 Yao Qi <yao@codesourcery.com>
4153 * gnu-nat.c (_initialize_gnu_nat): Declare.
4155 2014-01-07 Yao Qi <yao@codesourcery.com>
4157 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
4159 (struct gdbarch_info) <byte_order>: Change type to
4161 <byte_order_for_code>: Likewise.
4162 * gdbarch.c, gdbarch.h: Regenerated.
4164 2014-01-06 Sasha Smundak <asmundak@google.com>
4166 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
4168 2014-01-06 Tom Tromey <tromey@redhat.com>
4170 * doublest.c (convert_doublest_to_floatformat): Use const, not
4172 * somread.c (som_symtab_read): Likewise.
4174 2014-01-07 Hui Zhu <hui@codesourcery.com>
4176 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
4177 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
4178 (gdb_bfd_fopen): Ditto.
4179 (gdb_bfd_openr): Ditto.
4180 (gdb_bfd_openw): Ditto.
4181 (gdb_bfd_openr_iovec): Ditto.
4182 (gdb_bfd_fdopenr): Ditto.
4183 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
4184 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
4186 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
4188 * symfile-mem.c (symbol_file_add_from_memory): Removed
4189 gdb_bfd_stash_filename.
4191 2014-01-03 Doug Evans <dje@google.com>
4193 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
4196 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4198 Update year range in copyright notice of all files.
4200 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4202 * top.c (print_gdb_version): Set copyright year to 2014.
4204 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4206 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
4208 For older changes see ChangeLog-2013.
4214 version-control: never