1 2014-02-19 Stan Shebs <stan@codesourcery.com>
3 * darwin-nat.c (darwin_xfer_partial): Fix return type.
5 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7 * NEWS: Add entry for the new feature
8 * python/py-value.c (valpy_binop): Call value_x_binop for struct
11 2014-02-19 Stan Shebs <stan@codesourcery.com>
13 * MAINTAINERS: List Yao Qi as nios2 maintainer.
15 2014-02-19 Pedro Alves <palves@redhat.com>
17 * common/ptid.h (struct ptid): Mention that process_stratum
18 targets should prefer ptid.lwp.
20 2014-02-19 Pedro Alves <palves@redhat.com>
22 * remote.c (remote_thread_alive, write_ptid, read_ptid)
23 (read_ptid, remote_newthread_step, remote_threads_extra_info)
24 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
25 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
26 store remote thread ids rather than ptid.tid.
27 (_initialize_remote): Adjust.
29 2014-02-19 Tom Tromey <tromey@redhat.com>
31 * target.c (target_get_unwinder): Rewrite.
32 (target_get_tailcall_unwinder): Rewrite.
33 * record-btrace.c (record_btrace_to_get_unwinder): New function.
34 (record_btrace_to_get_tailcall_unwinder): New function.
35 (init_record_btrace_ops): Update.
36 * target.h (struct target_ops) <to_get_unwinder,
37 to_get_tailcall_unwinder>: Now function pointers. Use
38 TARGET_DEFAULT_RETURN.
40 2014-02-19 Tom Tromey <tromey@redhat.com>
42 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
44 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
46 2014-02-19 Tom Tromey <tromey@redhat.com>
48 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
50 * target-delegates.c: Rebuild.
51 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
53 * target.c (default_target_decr_pc_after_break): Rename from
54 forward_target_decr_pc_after_break. Simplify.
55 (target_decr_pc_after_break): Rely on delegation.
57 2014-02-19 Tom Tromey <tromey@redhat.com>
59 * target.c (update_current_target): Do not INHERIT to_doc or
60 to_magic. Do not de_fault to_open or to_close.
62 2014-02-19 Tom Tromey <tromey@redhat.com>
64 * gcore.h (objfile_find_memory_regions): Declare.
65 * gcore.c (objfile_find_memory_regions): No longer static. Add
67 (_initialize_gcore): Don't call exec_set_find_memory_regions.
68 * exec.c: Include gcore.h.
69 (exec_set_find_memory_regions): Remove.
70 (exec_find_memory_regions): Remove.
71 (exec_do_find_memory_regions): Remove.
72 (init_exec_ops): Update.
73 * defs.h (exec_set_find_memory_regions): Remove.
75 2014-02-19 Tom Tromey <tromey@redhat.com>
77 * target-delegates.c: Rebuild.
78 * target.h (struct target_ops) <to_extra_thread_info,
79 to_thread_name, to_pid_to_exec_file, to_get_section_table,
80 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
81 not 0, in TARGET_DEFAULT_RETURN.
83 2014-02-19 Tom Tromey <tromey@redhat.com>
85 * target.c (complete_target_initialization): Remove casts. Use
86 return_zero_has_execution.
87 (return_zero): Add "ignore" argument.
88 (return_zero_has_execution): New function.
89 (init_dummy_target): Remove casts. Use
90 return_zero_has_execution.
92 2014-02-19 Tom Tromey <tromey@redhat.com>
94 * target.c (update_current_target): Update comments. Do not
97 2014-02-19 Tom Tromey <tromey@redhat.com>
99 * arm-linux-nat.c (arm_linux_read_description): Delegate when
101 * corelow.c (core_read_description): Delegate when needed.
102 * remote.c (remote_read_description): Delegate when needed.
103 * target-delegates.c: Rebuild.
104 * target.c (target_read_description): Rewrite.
105 * target.h (struct target_ops) <to_read_description>: Update
106 comment. Use TARGET_DEFAULT_RETURN.
108 2014-02-19 Tom Tromey <tromey@redhat.com>
110 * target-delegates.c: Rebuild.
111 * target.c (update_current_target): Don't inherit or default
113 (find_default_run_target): Check against delegate_can_run.
114 * target.h (struct target_ops) <to_can_run>: Use
115 TARGET_DEFAULT_RETURN.
117 2014-02-19 Tom Tromey <tromey@redhat.com>
119 * target-delegates.c: Rebuild.
120 * target.c (target_disconnect): Unconditionally delegate.
121 * target.h (struct target_ops) <to_disconnect>: Use
122 TARGET_DEFAULT_NORETURN.
124 2014-02-19 Tom Tromey <tromey@redhat.com>
126 * record.c (record_stop): Unconditionally delegate.
127 * target-delegates.c: Rebuild.
128 * target.c (target_stop_recording): Unconditionally delegate.
129 * target.h (struct target_ops) <to_stop_recording>: Use
130 TARGET_DEFAULT_IGNORE.
132 2014-02-19 Tom Tromey <tromey@redhat.com>
134 * target-delegates.c: Rebuild.
135 * target.c (target_enable_btrace): Unconditionally delegate.
136 * target.h (struct target_ops) <to_enable_btrace>: Use
137 TARGET_DEFAULT_NORETURN.
139 2014-02-19 Tom Tromey <tromey@redhat.com>
141 * target-delegates.c: Rebuild.
142 * target.c (target_read_btrace): Unconditionally delegate.
143 * target.h (struct target_ops) <to_read_btrace>: Use
144 TARGET_DEFAULT_NORETURN.
146 2014-02-19 Tom Tromey <tromey@redhat.com>
148 * target-delegates.c: Rebuild.
149 * target.c (target_teardown_btrace): Unconditionally delegate.
150 * target.h (struct target_ops) <to_teardown_btrace>: Use
151 TARGET_DEFAULT_NORETURN.
153 2014-02-19 Tom Tromey <tromey@redhat.com>
155 * target-delegates.c: Rebuild.
156 * target.c (target_disable_btrace): Unconditionally delegate.
157 * target.h (struct target_ops) <to_disable_btrace>: Use
158 TARGET_DEFAULT_NORETURN.
160 2014-02-19 Tom Tromey <tromey@redhat.com>
162 * target-delegates.c: Rebuild.
163 * target.c (default_search_memory): New function.
164 (simple_search_memory): Update comment.
165 (target_search_memory): Unconditionally delegate.
166 * target.h (struct target_ops) <to_search_memory>: Use
169 2014-02-19 Tom Tromey <tromey@redhat.com>
171 * auxv.c (default_auxv_parse): No longer static.
172 (target_auxv_parse): Unconditionally delegate.
173 * auxv.h (default_auxv_parse): Declare.
174 * target-delegates.c: Rebuild.
175 * target.c: Include auxv.h.
176 * target.h (struct target_ops) <to_auxv_parse>: Use
179 2014-02-19 Tom Tromey <tromey@redhat.com>
181 * target-delegates.c: Rebuild.
182 * target.c (target_memory_map): Unconditionally delegate.
183 * target.h (struct target_ops) <to_memory_map>: Use
184 TARGET_DEFAULT_RETURN.
186 2014-02-19 Tom Tromey <tromey@redhat.com>
188 * target-delegates.c: Rebuild.
189 * target.c (target_thread_alive): Unconditionally delegate.
190 * target.h (struct target_ops) <to_thread_alive>: Use
191 TARGET_DEFAULT_RETURN.
193 2014-02-19 Tom Tromey <tromey@redhat.com>
195 * target-delegates.c: Rebuild.
196 * target.c (target_save_record): Unconditionally delegate.
197 * target.h (struct target_ops) <to_save_record>: Use
198 TARGET_DEFAULT_NORETURN.
200 2014-02-19 Tom Tromey <tromey@redhat.com>
202 * target-delegates.c: Rebuild.
203 * target.c (target_delete_record): Unconditionally delegate.
204 * target.h (struct target_ops) <to_delete_record>: Use
205 TARGET_DEFAULT_NORETURN.
207 2014-02-19 Tom Tromey <tromey@redhat.com>
209 * target-delegates.c: Rebuild.
210 * target.c (target_record_is_replaying): Unconditionally
212 * target.h (struct target_ops) <to_record_is_replaying>: Use
213 TARGET_DEFAULT_RETURN.
215 2014-02-19 Tom Tromey <tromey@redhat.com>
217 * target-delegates.c: Rebuild.
218 * target.c (target_goto_record_begin): Unconditionally delegate.
219 * target.h (struct target_ops) <to_goto_record_begin>: Use
220 TARGET_DEFAULT_NORETURN.
222 2014-02-19 Tom Tromey <tromey@redhat.com>
224 * target-delegates.c: Rebuild.
225 * target.c (target_goto_record_end): Unconditionally delegate.
226 * target.h (struct target_ops) <to_goto_record_end>: Use
227 TARGET_DEFAULT_NORETURN.
229 2014-02-19 Tom Tromey <tromey@redhat.com>
231 * target-delegates.c: Rebuild.
232 * target.c (target_goto_record): Unconditionally delegate.
233 * target.h (struct target_ops) <to_goto_record>: Use
234 TARGET_DEFAULT_NORETURN.
236 2014-02-19 Tom Tromey <tromey@redhat.com>
238 * target-delegates.c: Rebuild.
239 * target.c (target_insn_history): Unconditionally delegate.
240 * target.h (struct target_ops) <to_insn_history>: Use
241 TARGET_DEFAULT_NORETURN.
243 2014-02-19 Tom Tromey <tromey@redhat.com>
245 * target-delegates.c: Rebuild.
246 * target.c (target_insn_history_from): Unconditionally delegate.
247 * target.h (struct target_ops) <to_insn_history_from>: Use
248 TARGET_DEFAULT_NORETURN.
250 2014-02-19 Tom Tromey <tromey@redhat.com>
252 * target-delegates.c: Rebuild.
253 * target.c (target_insn_history_range): Unconditionally delegate.
254 * target.h (struct target_ops) <to_insn_history_range>: Use
255 TARGET_DEFAULT_NORETURN.
257 2014-02-19 Tom Tromey <tromey@redhat.com>
259 * target-delegates.c: Rebuild.
260 * target.c (target_call_history): Unconditionally delegate.
261 * target.h (struct target_ops) <to_call_history>: Use
262 TARGET_DEFAULT_NORETURN.
264 2014-02-19 Tom Tromey <tromey@redhat.com>
266 * target-delegates.c: Rebuild.
267 * target.c (target_call_history_from): Unconditionally delegate.
268 * target.h (struct target_ops) <to_call_history_from>: Use
269 TARGET_DEFAULT_NORETURN.
271 2014-02-19 Tom Tromey <tromey@redhat.com>
273 * target-delegates.c: Rebuild.
274 * target.c (target_call_history_range): Unconditionally delegate.
275 * target.h (struct target_ops) <to_call_history_range>: Use
276 TARGET_DEFAULT_NORETURN.
278 2014-02-19 Tom Tromey <tromey@redhat.com>
280 * target-delegates.c: Rebuild.
281 * target.c (target_verify_memory): Unconditionally delegate.
282 * target.h (struct target_ops) <to_verify_memory>: Use
283 TARGET_DEFAULT_NORETURN.
285 2014-02-19 Tom Tromey <tromey@redhat.com>
287 * target-delegates.c: Rebuild.
288 * target.c (target_core_of_thread): Unconditionally delegate.
289 * target.h (struct target_ops) <to_core_of_thread>: Use
290 TARGET_DEFAULT_RETURN.
292 2014-02-19 Tom Tromey <tromey@redhat.com>
294 * target-delegates.c: Rebuild.
295 * target.c (target_flash_done): Unconditionally delegate.
296 * target.h (struct target_ops) <to_flash_done>: Use
297 TARGET_DEFAULT_NORETURN.
299 2014-02-19 Tom Tromey <tromey@redhat.com>
301 * target-delegates.c: Rebuild.
302 * target.c (target_flash_erase): Unconditionally delegate.
303 * target.h (struct target_ops) <to_flash_erase>: Use
304 TARGET_DEFAULT_NORETURN.
306 2014-02-19 Tom Tromey <tromey@redhat.com>
308 * target-delegates.c: Rebuild.
309 * target.c (target_get_section_table): Unconditionally delegate.
310 * target.h (struct target_ops) <to_get_section_table>: Use
311 TARGET_DEFAULT_RETURN.
313 2014-02-19 Tom Tromey <tromey@redhat.com>
315 * target-delegates.c: Rebuild.
316 * target.c (target_pid_to_str): Unconditionally delegate.
317 (init_dummy_target): Don't initialize to_pid_to_str.
318 (default_pid_to_str): Rename from dummy_pid_to_str.
319 * target.h (struct target_ops) <to_pid_to_str>: Use
322 2014-02-19 Tom Tromey <tromey@redhat.com>
324 * target-delegates.c: Rebuild.
325 * target.c (target_find_new_threads): Unconditionally delegate.
326 * target.h (struct target_ops) <to_find_new_threads>: Use
327 TARGET_DEFAULT_RETURN.
329 2014-02-19 Tom Tromey <tromey@redhat.com>
331 * target-delegates.c: Rebuild.
332 * target.c (target_program_signals): Unconditionally delegate.
333 * target.h (struct target_ops) <to_program_signals>: Use
334 TARGET_DEFAULT_IGNORE.
336 2014-02-19 Tom Tromey <tromey@redhat.com>
338 * target-delegates.c: Rebuild.
339 * target.c (target_pass_signals): Unconditionally delegate.
340 * target.h (struct target_ops) <to_pass_signals>: Use
341 TARGET_DEFAULT_IGNORE.
343 2014-02-19 Tom Tromey <tromey@redhat.com>
345 * target-delegates.c: Rebuild.
346 * target.c (default_mourn_inferior): New function.
347 (target_mourn_inferior): Unconditionally delegate.
348 * target.h (struct target_ops) <to_mourn_inferior>: Use
351 2014-02-19 Tom Tromey <tromey@redhat.com>
353 * target-delegates.c: Rebuild.
354 * target.c (default_follow_fork): New function.
355 (target_follow_fork): Unconditionally delegate.
356 * target.h (struct target_ops) <to_follow_fork>: Use
359 2014-02-19 Tom Tromey <tromey@redhat.com>
361 * target-delegates.c: Rebuild.
362 * target.c (target_kill): Unconditionally delegate.
363 * target.h (struct target_ops) <to_kill>: Use
364 TARGET_DEFAULT_NORETURN.
366 2014-02-19 Tom Tromey <tromey@redhat.com>
368 * target-delegates.c: Rebuild.
369 * target.c (target_masked_watch_num_registers): Unconditionally
371 * target.h (struct target_ops) <to_masked_watch_num_registers>:
372 Use TARGET_DEFAULT_RETURN.
374 2014-02-19 Tom Tromey <tromey@redhat.com>
376 * target-delegates.c: Rebuild.
377 * target.c (target_remove_mask_watchpoint): Unconditionally
379 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
380 TARGET_DEFAULT_RETURN.
382 2014-02-19 Tom Tromey <tromey@redhat.com>
384 * target-delegates.c: Rebuild.
385 * target.c (target_insert_mask_watchpoint): Unconditionally
387 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
388 TARGET_DEFAULT_RETURN.
390 2014-02-19 Tom Tromey <tromey@redhat.com>
392 * target-delegates.c: Rebuild.
393 * target.c (target_ranged_break_num_registers): Unconditionally
395 * target.h (struct target_ops) <to_ranged_break_num_registers>:
396 Use TARGET_DEFAULT_RETURN.
398 2014-02-19 Tom Tromey <tromey@redhat.com>
400 * target-delegates.c: Rebuild.
401 * target.c (target_fetch_registers): Unconditionally delegate.
402 * target.h (struct target_ops) <to_fetch_registers>: Use
403 TARGET_DEFAULT_NORETURN.
405 2014-02-19 Tom Tromey <tromey@redhat.com>
407 * target-delegates.c: Rebuild.
408 * target.c (update_current_target): Don't inherit or default
410 * target.h (struct target_ops) <to_stop>: Use
411 TARGET_DEFAULT_IGNORE.
413 2014-02-19 Tom Tromey <tromey@redhat.com>
415 * target-delegates.c: Rebuild.
416 * target.c (update_current_target): Don't inherit or default
417 to_can_run_breakpoint_commands.
418 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
419 Use TARGET_DEFAULT_RETURN.
421 2014-02-19 Tom Tromey <tromey@redhat.com>
423 * target-delegates.c: Rebuild.
424 * target.c (update_current_target): Don't inherit or default
425 to_supports_evaluation_of_breakpoint_conditions.
426 * target.h (struct target_ops)
427 <to_supports_evaluation_of_breakpoint_conditions>: Use
428 TARGET_DEFAULT_RETURN.
430 2014-02-19 Tom Tromey <tromey@redhat.com>
432 * target-delegates.c: Rebuild.
433 * target.c (update_current_target): Don't inherit or default
434 to_augmented_libraries_svr4_read.
435 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
436 Use TARGET_DEFAULT_RETURN.
438 2014-02-19 Tom Tromey <tromey@redhat.com>
440 * target-delegates.c: Rebuild.
441 * target.c (update_current_target): Don't inherit or default
443 * target.h (struct target_ops) <to_can_use_agent>: Use
444 TARGET_DEFAULT_RETURN.
446 2014-02-19 Tom Tromey <tromey@redhat.com>
448 * target-delegates.c: Rebuild.
449 * target.c (update_current_target): Don't inherit or default
451 * target.h (struct target_ops) <to_use_agent>: Use
452 TARGET_DEFAULT_NORETURN.
454 2014-02-19 Tom Tromey <tromey@redhat.com>
456 * target-delegates.c: Rebuild.
457 * target.c (update_current_target): Don't inherit or default
459 (return_null): Remove.
460 * target.h (struct target_ops) <to_traceframe_info>: Use
461 TARGET_DEFAULT_RETURN.
463 2014-02-19 Tom Tromey <tromey@redhat.com>
465 * target-delegates.c: Rebuild.
466 * target.c (update_current_target): Don't inherit or default
467 to_static_tracepoint_markers_by_strid.
468 * target.h (struct target_ops)
469 <to_static_tracepoint_markers_by_strid>: Use
470 TARGET_DEFAULT_NORETURN.
472 2014-02-19 Tom Tromey <tromey@redhat.com>
474 * target-delegates.c: Rebuild.
475 * target.c (update_current_target): Don't inherit or default
476 to_static_tracepoint_marker_at.
477 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
478 Use TARGET_DEFAULT_RETURN.
480 2014-02-19 Tom Tromey <tromey@redhat.com>
482 * target-delegates.c: Rebuild.
483 * target.c (update_current_target): Don't inherit or default
485 * target.h (struct target_ops) <to_set_permissions>: Use
486 TARGET_DEFAULT_IGNORE.
488 2014-02-19 Tom Tromey <tromey@redhat.com>
490 * target-delegates.c: Rebuild.
491 * target.c (update_current_target): Don't inherit or default
493 * target.h (struct target_ops) <to_get_tib_address>: Use
494 TARGET_DEFAULT_NORETURN.
496 2014-02-19 Tom Tromey <tromey@redhat.com>
498 * target-delegates.c: Rebuild.
499 * target.c (update_current_target): Don't inherit or default
501 * target.h (struct target_ops) <to_set_trace_notes>: Use
502 TARGET_DEFAULT_RETURN.
504 2014-02-19 Tom Tromey <tromey@redhat.com>
506 * target-delegates.c: Rebuild.
507 * target.c (update_current_target): Don't initialize
508 to_set_trace_buffer_size.
509 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
510 TARGET_DEFAULT_IGNORE.
512 2014-02-19 Tom Tromey <tromey@redhat.com>
514 * target-delegates.c: Rebuild.
515 * target.c (update_current_target): Don't inherit or default
516 to_set_circular_trace_buffer.
517 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
518 TARGET_DEFAULT_IGNORE.
520 2014-02-19 Tom Tromey <tromey@redhat.com>
522 * target-delegates.c: Rebuild.
523 * target.c (update_current_target): Don't inherit or default
524 to_set_disconnected_tracing.
525 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
526 TARGET_DEFAULT_IGNORE.
528 2014-02-19 Tom Tromey <tromey@redhat.com>
530 * target-delegates.c: Rebuild.
531 * target.c (update_current_target): Don't inherit or default
532 to_get_min_fast_tracepoint_insn_len.
533 (return_minus_one): Remove.
534 * target.h (struct target_ops)
535 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
537 2014-02-19 Tom Tromey <tromey@redhat.com>
539 * target-delegates.c: Rebuild.
540 * target.c (update_current_target): Don't inherit or default
541 to_get_raw_trace_data.
542 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
543 TARGET_DEFAULT_NORETURN.
545 2014-02-19 Tom Tromey <tromey@redhat.com>
547 * target-delegates.c: Rebuild.
548 * target.c (update_current_target): Don't inherit or default
549 to_upload_trace_state_variables.
550 * target.h (struct target_ops) <to_upload_trace_state_variables>:
551 Use TARGET_DEFAULT_RETURN.
553 2014-02-19 Tom Tromey <tromey@redhat.com>
555 * target-delegates.c: Rebuild.
556 * target.c (update_current_target): Don't inherit or default
557 to_upload_tracepoints.
558 * target.h (struct target_ops) <to_upload_tracepoints>: Use
559 TARGET_DEFAULT_RETURN.
561 2014-02-19 Tom Tromey <tromey@redhat.com>
563 * target-delegates.c: Rebuild.
564 * target.c (update_current_target): Don't inherit or default
566 * target.h (struct target_ops) <to_save_trace_data>: Use
567 TARGET_DEFAULT_NORETURN.
569 2014-02-19 Tom Tromey <tromey@redhat.com>
571 * target-delegates.c: Rebuild.
572 * target.c (update_current_target): Don't inherit or default
573 to_get_trace_state_variable_value.
574 * target.h (struct target_ops)
575 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
577 2014-02-19 Tom Tromey <tromey@redhat.com>
579 * target-delegates.c: Rebuild.
580 * target.c (update_current_target): Don't inherit or default
582 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
584 2014-02-19 Tom Tromey <tromey@redhat.com>
586 * target-delegates.c: Rebuild.
587 * target.c (update_current_target): Don't inherit or default
589 * target.h (struct target_ops) <to_trace_stop>: Use
590 TARGET_DEFAULT_NORETURN.
592 2014-02-19 Tom Tromey <tromey@redhat.com>
594 * target-delegates.c: Rebuild.
595 * target.c (update_current_target): Don't inherit or default
596 to_get_tracepoint_status.
597 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
598 TARGET_DEFAULT_NORETURN.
600 2014-02-19 Tom Tromey <tromey@redhat.com>
602 * target-delegates.c: Rebuild.
603 * target.c (update_current_target): Don't inherit or default
605 * target.h (struct target_ops) <to_get_trace_status>: Use
606 TARGET_DEFAULT_RETURN.
608 2014-02-19 Tom Tromey <tromey@redhat.com>
610 * target-delegates.c: Rebuild.
611 * target.c (update_current_target): Don't inherit or default
613 * target.h (struct target_ops) <to_trace_start>: Use
614 TARGET_DEFAULT_NORETURN.
616 2014-02-19 Tom Tromey <tromey@redhat.com>
618 * target-delegates.c: Rebuild.
619 * target.c (update_current_target): Don't inherit or default
620 to_trace_set_readonly_regions.
621 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
622 Use TARGET_DEFAULT_NORETURN.
624 2014-02-19 Tom Tromey <tromey@redhat.com>
626 * target-delegates.c: Rebuild.
627 * target.c (update_current_target): Don't inherit or default
628 to_disable_tracepoint.
629 * target.h (struct target_ops) <to_disable_tracepoint>: Use
630 TARGET_DEFAULT_NORETURN.
632 2014-02-19 Tom Tromey <tromey@redhat.com>
634 * target-delegates.c: Rebuild.
635 * target.c (update_current_target): Don't inherit or default
636 to_enable_tracepoint.
637 * target.h (struct target_ops) <to_enable_tracepoint>: Use
638 TARGET_DEFAULT_NORETURN.
640 2014-02-19 Tom Tromey <tromey@redhat.com>
642 * target-delegates.c: Rebuild.
643 * target.c (update_current_target): Don't inherit or default
644 to_download_trace_state_variable.
645 * target.h (struct target_ops) <to_download_trace_state_variable>:
646 Use TARGET_DEFAULT_NORETURN.
648 2014-02-19 Tom Tromey <tromey@redhat.com>
650 * target-delegates.c: Rebuild.
651 * target.c (update_current_target): Don't inherit or default
652 to_can_download_tracepoint.
653 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
654 TARGET_DEFAULT_RETURN.
656 2014-02-19 Tom Tromey <tromey@redhat.com>
658 * target-delegates.c: Rebuild.
659 * target.c (update_current_target): Don't inherit or default
660 to_download_tracepoint.
661 * target.h (struct target_ops) <to_download_tracepoint>: Use
662 TARGET_DEFAULT_NORETURN.
664 2014-02-19 Tom Tromey <tromey@redhat.com>
666 * target-delegates.c: Rebuild.
667 * target.c (update_current_target): Don't inherit or default
669 * target.h (struct target_ops) <to_trace_init>: Use
670 TARGET_DEFAULT_RETURN.
672 2014-02-19 Tom Tromey <tromey@redhat.com>
674 * target-delegates.c: Rebuild.
675 * target.c (update_current_target): Don't inherit or default
676 to_supports_string_tracing.
677 * target.h (struct target_ops) <to_supports_string_tracing>: Use
678 TARGET_DEFAULT_RETURN.
680 2014-02-19 Tom Tromey <tromey@redhat.com>
682 * target-delegates.c: Rebuild.
683 * target.c (update_current_target): Don't inherit or default
684 to_supports_enable_disable_tracepoint.
685 * target.h (struct target_ops)
686 <to_supports_enable_disable_tracepoint>: Use
687 TARGET_DEFAULT_RETURN.
689 2014-02-19 Tom Tromey <tromey@redhat.com>
691 * target-delegates.c: Rebuild.
692 * target.c (update_current_target): Don't inherit or default
693 to_supports_multi_process.
694 * target.h (struct target_ops) <to_supports_multi_process>: Use
695 TARGET_DEFAULT_RETURN.
697 2014-02-19 Tom Tromey <tromey@redhat.com>
699 * target-delegates.c: Rebuild.
700 * target.c (update_current_target): Don't inherit or default
701 to_get_ada_task_ptid.
702 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
705 2014-02-19 Tom Tromey <tromey@redhat.com>
707 * target-delegates.c: Rebuild.
708 * target.c (update_current_target): Don't inherit or default
709 to_thread_architecture.
710 * target.h (struct target_ops) <to_thread_architecture>: Use
713 2014-02-19 Tom Tromey <tromey@redhat.com>
715 * target-delegates.c: Rebuild.
716 * target.c (update_current_target): Don't inherit or default
717 to_execution_direction.
718 * target.h (struct target_ops) <to_execution_direction>: Use
721 2014-02-19 Tom Tromey <tromey@redhat.com>
723 * target-delegates.c: Rebuild.
724 * target.c (update_current_target): Don't inherit or default
725 to_can_execute_reverse.
726 * target.h (struct target_ops) <to_can_execute_reverse>: Use
727 TARGET_DEFAULT_RETURN.
728 (target_can_execute_reverse): Unconditionally delegate.
730 2014-02-19 Tom Tromey <tromey@redhat.com>
732 * target-delegates.c: Rebuild.
733 * target.c (update_current_target): Don't inherit or default
735 (dummy_goto_bookmark): Remove.
736 (init_dummy_target): Don't inherit or default to_goto_bookmark.
737 * target.h (struct target_ops) <to_goto_bookmark>: Use
738 TARGET_DEFAULT_NORETURN.
740 2014-02-19 Tom Tromey <tromey@redhat.com>
742 * target-delegates.c: Rebuild.
743 * target.c (update_current_target): Don't inherit or default
745 (dummy_get_bookmark): Remove.
746 (init_dummy_target): Don't inherit or default to_get_bookmark.
747 * target.h (struct target_ops) <to_get_bookmark>: Use
748 TARGET_DEFAULT_NORETURN
750 2014-02-19 Tom Tromey <tromey@redhat.com>
752 * target-delegates.c: Rebuild.
753 * target.c (update_current_target): Don't inherit or default
754 to_make_corefile_notes.
755 (init_dummy_target): Don't initialize to_make_corefile_notes.
756 * target.h (struct target_ops) <to_make_corefile_notes>: Use
759 2014-02-19 Tom Tromey <tromey@redhat.com>
761 * target-delegates.c: Rebuild.
762 * target.c (update_current_target): Don't inherit or default
763 to_find_memory_regions.
764 (init_dummy_target): Don't initialize to_find_memory_regions.
765 * target.h (struct target_ops) <to_find_memory_regions>: Use
768 2014-02-19 Tom Tromey <tromey@redhat.com>
770 * target-delegates.c: Rebuild.
771 * target.c (update_current_target): Don't inherit or default
773 * target.h (struct target_ops) <to_log_command>: Use
774 TARGET_DEFAULT_IGNORE.
775 (target_log_command): Unconditionally delegate.
777 2014-02-19 Tom Tromey <tromey@redhat.com>
779 * target-delegates.c: Rebuild.
780 * target.c (update_current_target): Don't inherit or default
782 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
783 TARGET_DEFAULT_RETURN.
785 2014-02-19 Tom Tromey <tromey@redhat.com>
787 * target-delegates.c: Rebuild.
788 * target.c (update_current_target): Don't inherit or default
790 (target_thread_name): Unconditionally delegate.
791 * target.h (struct target_ops) <to_thread_name>: Use
792 TARGET_DEFAULT_RETURN.
794 2014-02-19 Tom Tromey <tromey@redhat.com>
796 * target-delegates.c: Rebuild.
797 * target.c (update_current_target): Don't inherit or default
798 to_extra_thread_info.
799 * target.h (struct target_ops) <to_extra_thread_info>: Use
800 TARGET_DEFAULT_RETURN.
802 2014-02-19 Tom Tromey <tromey@redhat.com>
804 * target-delegates.c: Rebuild.
805 * target.c (update_current_target): Don't inherit or default
807 * target.h (struct target_ops) <to_has_exited>: Use
808 TARGET_DEFAULT_RETURN..
810 2014-02-19 Tom Tromey <tromey@redhat.com>
812 * target-delegates.c: Rebuild.
813 * target.c (update_current_target): Don't inherit or default
814 to_set_syscall_catchpoint.
815 (return_one): Remove.
816 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
817 TARGET_DEFAULT_RETURN.
819 2014-02-19 Tom Tromey <tromey@redhat.com>
821 * target-delegates.c: Rebuild.
822 * target.c (update_current_target): Don't inherit or default
823 to_insert_exec_catchpoint.
824 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
825 TARGET_DEFAULT_RETURN.
827 2014-01-08 Tom Tromey <tromey@redhat.com>
829 * target-delegates.c: Rebuild.
830 * target.c (update_current_target): Don't inherit or default
831 to_insert_exec_catchpoint.
832 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
833 TARGET_DEFAULT_RETURN.
835 2014-02-19 Tom Tromey <tromey@redhat.com>
837 * target-delegates.c: Rebuild.
838 * target.c (update_current_target): Don't inherit or default
839 to_remove_vfork_catchpoint.
840 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
841 TARGET_DEFAULT_RETURN.
843 2014-02-19 Tom Tromey <tromey@redhat.com>
845 * target-delegates.c: Rebuild.
846 * target.c (update_current_target): Don't inherit or default
847 to_insert_vfork_catchpoint.
848 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
849 TARGET_DEFAULT_RETURN.
851 2014-02-19 Tom Tromey <tromey@redhat.com>
853 * target-delegates.c: Rebuild.
854 * target.c (update_current_target): Don't inherit or default
855 to_remove_fork_catchpoint.
856 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
857 TARGET_DEFAULT_RETURN.
859 2014-02-19 Tom Tromey <tromey@redhat.com>
861 * target-delegates.c: Rebuild.
862 * target.c (update_current_target): Don't inherit or default
863 to_insert_fork_catchpoint.
864 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
865 TARGET_DEFAULT_RETURN.
867 2014-02-19 Tom Tromey <tromey@redhat.com>
869 * target-delegates.c: Rebuild.
870 * target.c (update_current_target): Don't inherit or default
871 to_post_startup_inferior.
872 * target.h (struct target_ops) <to_post_startup_inferior>: Use
873 TARGET_DEFAULT_IGNORE.
875 2014-02-19 Tom Tromey <tromey@redhat.com>
877 * target-delegates.c: Rebuild.
878 * target.c (update_current_target): Don't inherit or default
880 * target.h (struct target_ops) <to_load>: Use
881 TARGET_DEFAULT_NORETURN.
883 2014-02-19 Tom Tromey <tromey@redhat.com>
885 * target-delegates.c: Rebuild.
886 * target.c (update_current_target): Don't inherit or default
888 * target.h (struct target_ops) <to_terminal_info>: Use
891 2014-02-19 Tom Tromey <tromey@redhat.com>
893 * target-delegates.c: Rebuild.
894 * target.c (update_current_target): Don't inherit or default
895 to_terminal_save_ours.
896 * target.h (struct target_ops) <to_terminal_save_ours>: Use
897 TARGET_DEFAULT_IGNORE.
899 2014-02-19 Tom Tromey <tromey@redhat.com>
901 * target-delegates.c: Rebuild.
902 * target.c (update_current_target): Don't inherit or default
904 * target.h (struct target_ops) <to_terminal_ours>: Use
905 TARGET_DEFAULT_IGNORE.
907 2014-02-19 Tom Tromey <tromey@redhat.com>
909 * target-delegates.c: Rebuild.
910 * target.c (update_current_target): Don't inherit or default
911 to_terminal_ours_for_output.
912 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
913 TARGET_DEFAULT_IGNORE.
915 2014-02-19 Tom Tromey <tromey@redhat.com>
917 * target-delegates.c: Rebuild.
918 * target.c (update_current_target): Don't inherit or default
919 to_terminal_inferior.
920 * target.h (struct target_ops) <to_terminal_inferior>: Use
921 TARGET_DEFAULT_IGNORE.
923 2014-02-19 Tom Tromey <tromey@redhat.com>
925 * target-delegates.c: Rebuild.
926 * target.c (update_current_target): Don't inherit or default
928 * target.h (struct target_ops) <to_terminal_init>: Use
929 TARGET_DEFAULT_IGNORE.
931 2014-02-19 Tom Tromey <tromey@redhat.com>
933 * target-delegates.c: Rebuild.
934 * target.c (update_current_target): Don't inherit or default
935 to_can_accel_watchpoint_condition.
936 * target.h (struct target_ops)
937 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
939 2014-02-19 Tom Tromey <tromey@redhat.com>
941 * target-delegates.c: Rebuild.
942 * target.c (update_current_target): Don't inherit or default
943 to_region_ok_for_hw_watchpoint.
944 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
945 Use TARGET_DEFAULT_FUNC.
947 2014-02-19 Tom Tromey <tromey@redhat.com>
949 * target-delegates.c: Rebuild.
950 * target.c (update_current_target): Don't inherit or default
951 to_watchpoint_addr_within_range.
952 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
953 Use TARGET_DEFAULT_FUNC.
955 2014-02-19 Tom Tromey <tromey@redhat.com>
957 * target-delegates.c: Rebuild.
958 * target.c (update_current_target): Don't inherit or default
959 to_remove_watchpoint.
960 * target.h (struct target_ops) <to_remove_watchpoint>: Use
961 TARGET_DEFAULT_NORETURN.
963 2014-02-19 Tom Tromey <tromey@redhat.com>
965 * target-delegates.c: Rebuild.
966 * target.c (update_current_target): Don't inherit or default
967 to_insert_watchpoint.
968 * target.h (struct target_ops) <to_insert_watchpoint>: Use
969 TARGET_DEFAULT_RETURN.
971 2014-02-19 Tom Tromey <tromey@redhat.com>
973 * target-delegates.c: Rebuild.
974 * target.c (update_current_target): Don't inherit or default
975 to_remove_hw_breakpoint.
976 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
977 TARGET_DEFAULT_RETURN.
979 2014-02-19 Tom Tromey <tromey@redhat.com>
981 * target-delegates.c: Rebuild.
982 * target.c (update_current_target): Don't inherit or default
983 to_insert_hw_breakpoint.
984 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
985 TARGET_DEFAULT_RETURN.
987 2014-02-19 Tom Tromey <tromey@redhat.com>
989 * target-delegates.c: Rebuild.
990 * target.c (update_current_target): Don't inherit or default
991 to_can_use_hw_breakpoint.
992 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
993 TARGET_DEFAULT_RETURN.
995 2014-02-19 Tom Tromey <tromey@redhat.com>
997 * target-delegates.c: Rebuild.
998 * target.c (update_current_target): Don't inherit or default
1000 * target.h (struct target_ops) <to_files_info>: Use
1001 TARGET_DEFAULT_IGNORE.
1003 2014-02-19 Tom Tromey <tromey@redhat.com>
1005 * target-delegates.c: Rebuild.
1006 * target.c (update_current_target): Don't inherit or default
1008 * target.h (struct target_ops) <to_store>: Use
1009 TARGET_DEFAULT_NORETURN.
1011 2014-02-19 Tom Tromey <tromey@redhat.com>
1013 * target-delegates.c: Rebuild.
1014 * target.c (update_current_target): Don't inherit or default
1016 * target.h (struct target_ops) <to_post_attach>: Use
1017 TARGET_DEFAULT_IGNORE.
1019 2014-02-19 Tom Tromey <tromey@redhat.com>
1021 * target-delegates.c: Rebuild.
1022 * target.c (update_current_target): Don't inherit or default
1024 (default_rcmd): New function.
1025 (do_monitor_command): Unconditionally delegate.
1026 * target.h (struct target_ops) <to_rmcd>: Use
1027 TARGET_DEFAULT_FUNC.
1029 2014-02-19 Tom Tromey <tromey@redhat.com>
1031 * target-delegates.c: Rebuild.
1032 * target.c (init_dummy_target): Don't initialize to_attach.
1033 (target_attach): Unconditionally delegate.
1034 * target.h (struct target_ops) <to_attach>: Use
1035 TARGET_DEFAULT_FUNC.
1037 2014-02-19 Tom Tromey <tromey@redhat.com>
1039 * target-delegates.c: Rebuild.
1040 * target.c (target_detach): Unconditionally delegate.
1041 (init_dummy_target): Don't initialize to_detach.
1042 * target.h (struct target_ops) <to_detach>: Use
1043 TARGET_DEFAULT_IGNORE.
1045 2014-02-19 Tom Tromey <tromey@redhat.com>
1047 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1049 (target_augmented_libraries_svr4_read): Add argument.
1050 * target.c (update_current_target): Update.
1051 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
1054 2014-02-19 Tom Tromey <tromey@redhat.com>
1056 * target.h (struct target_ops) <to_call_history_range>: Add
1058 * target.c (target_call_history_range): Add argument.
1059 * record-btrace.c (record_btrace_call_history_range): Add 'self'
1061 (record_btrace_call_history_from): Update.
1063 2014-02-19 Tom Tromey <tromey@redhat.com>
1065 * target.h (struct target_ops) <to_call_history_from>: Add
1067 * target.c (target_call_history_from): Add argument.
1068 * record-btrace.c (record_btrace_call_history_from): Add 'self'
1071 2014-02-19 Tom Tromey <tromey@redhat.com>
1073 * target.h (struct target_ops) <to_call_history>: Add argument.
1074 * target.c (target_call_history): Add argument.
1075 * record-btrace.c (record_btrace_call_history): Add 'self'
1078 2014-02-19 Tom Tromey <tromey@redhat.com>
1080 * target.h (struct target_ops) <to_insn_history_range>: Add
1082 * target.c (target_insn_history_range): Add argument.
1083 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
1085 (record_btrace_insn_history_from): Update.
1087 2014-02-19 Tom Tromey <tromey@redhat.com>
1089 * target.h (struct target_ops) <to_insn_history_from>: Add
1091 * target.c (target_insn_history_from): Add argument.
1092 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
1095 2014-02-19 Tom Tromey <tromey@redhat.com>
1097 * target.h (struct target_ops) <to_insn_history>: Add argument.
1098 * target.c (target_insn_history): Add argument.
1099 * record-btrace.c (record_btrace_insn_history): Add 'self'
1102 2014-02-19 Tom Tromey <tromey@redhat.com>
1104 * target.h (struct target_ops) <to_goto_record>: Add argument.
1105 * target.c (target_goto_record): Add argument.
1106 * record-full.c (record_full_goto): Add 'self' argument.
1107 * record-btrace.c (record_btrace_goto): Add 'self' argument.
1109 2014-02-19 Tom Tromey <tromey@redhat.com>
1111 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
1112 * target.c (target_goto_record_end): Add argument.
1113 * record-full.c (record_full_goto_end): Add 'self' argument.
1114 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
1116 2014-02-19 Tom Tromey <tromey@redhat.com>
1118 * target.h (struct target_ops) <to_goto_record_begin>: Add
1120 * target.c (target_goto_record_begin): Add argument.
1121 * record-full.c (record_full_goto_begin): Add 'self' argument.
1122 * record-btrace.c (record_btrace_goto_begin): Add 'self'
1125 2014-02-19 Tom Tromey <tromey@redhat.com>
1127 * target.h (struct target_ops) <to_record_is_replaying>: Add
1129 * target.c (target_record_is_replaying): Add argument.
1130 * record-full.c (record_full_is_replaying): Add 'self' argument.
1131 * record-btrace.c (record_btrace_is_replaying): Add 'self'
1133 (record_btrace_xfer_partial, record_btrace_store_registers)
1134 (record_btrace_prepare_to_store, record_btrace_resume)
1135 (record_btrace_wait, record_btrace_decr_pc_after_break)
1136 (record_btrace_find_new_threads, record_btrace_thread_alive):
1139 2014-02-19 Tom Tromey <tromey@redhat.com>
1141 * target.h (struct target_ops) <to_delete_record>: Add argument.
1142 * target.c (target_delete_record): Add argument.
1143 * record-full.c (record_full_delete): Add 'self' argument.
1145 2014-02-19 Tom Tromey <tromey@redhat.com>
1147 * target.h (struct target_ops) <to_save_record>: Add argument.
1148 * target.c (target_save_record): Add argument.
1149 * record-full.c (record_full_save): Add 'self' argument.
1150 (record_full_save): Add 'self' argument.
1152 2014-02-19 Tom Tromey <tromey@redhat.com>
1154 * target.h (struct target_ops) <to_info_record>: Add argument.
1155 * target.c (target_info_record): Add argument.
1156 * record.c (info_record_command): Add argument.
1157 * record-full.c (record_full_info): Add 'self' argument.
1158 * record-btrace.c (record_btrace_info): Add 'self' argument.
1160 2014-02-19 Tom Tromey <tromey@redhat.com>
1162 * target.h (struct target_ops) <to_stop_recording>: Add argument.
1163 * target.c (target_stop_recording): Add argument.
1164 * record.c (record_stop): Add argument.
1165 * record-btrace.c (record_btrace_stop_recording): Add 'self'
1168 2014-02-19 Tom Tromey <tromey@redhat.com>
1170 * target.h (struct target_ops) <to_read_btrace>: Add argument.
1171 * target.c (struct target_ops) <to_read_btrace>: Add argument.
1172 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
1174 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
1175 (_initialize_amd64_linux_nat): Use it.
1176 * i386-linux-nat.c (i386_linux_read_btrace): New function.
1177 (_initialize_i386_linux_nat): Use it.
1179 2014-02-19 Tom Tromey <tromey@redhat.com>
1181 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
1182 * target.c (target_teardown_btrace): Add argument.
1183 * remote.c (remote_teardown_btrace): Add 'self' argument.
1184 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
1186 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
1189 2014-02-19 Tom Tromey <tromey@redhat.com>
1191 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
1192 * target.c (target_disable_btrace): Add argument.
1193 * remote.c (remote_disable_btrace): Add 'self' argument.
1194 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
1196 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
1199 2014-02-19 Tom Tromey <tromey@redhat.com>
1201 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
1202 * target.c (target_enable_btrace): Add argument.
1203 * remote.c (remote_enable_btrace): Add 'self' argument.
1204 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
1206 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
1209 2014-02-19 Tom Tromey <tromey@redhat.com>
1211 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
1212 (target_can_use_agent): Add argument.
1213 * target.c (update_current_target): Update.
1214 * remote.c (remote_can_use_agent): Add 'self' argument.
1215 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
1217 2014-02-19 Tom Tromey <tromey@redhat.com>
1219 * target.h (struct target_ops) <to_use_agent>: Add argument.
1220 (target_use_agent): Add argument.
1221 * target.c (update_current_target): Update.
1222 * remote.c (remote_use_agent): Add 'self' argument.
1223 * inf-child.c (inf_child_use_agent): Add 'self' argument.
1225 2014-02-19 Tom Tromey <tromey@redhat.com>
1227 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
1228 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
1229 (target_traceframe_info): Add argument.
1230 * target.c (update_current_target): Update.
1231 * remote.c (remote_traceframe_info): Add 'self' argument.
1232 * ctf.c (ctf_traceframe_info): Add 'self' argument.
1234 2014-02-19 Tom Tromey <tromey@redhat.com>
1236 * target.h (target_static_tracepoint_markers_by_strid): Add
1238 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
1240 * target.c (update_current_target): Update.
1241 * remote.c (struct target_ops)
1242 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1243 * linux-nat.c (struct target_ops)
1244 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1246 2014-02-19 Tom Tromey <tromey@redhat.com>
1248 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1250 (target_static_tracepoint_marker_at): Add argument.
1251 * target.c (update_current_target): Update.
1252 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
1255 2014-02-19 Tom Tromey <tromey@redhat.com>
1257 * target.h (struct target_ops) <to_set_permissions>: Add argument.
1258 (target_set_permissions): Add argument.
1259 * target.c (update_current_target): Update.
1260 * remote.c (remote_set_permissions): Add 'self' argument.
1261 (remote_start_remote): Update.
1263 2014-02-19 Tom Tromey <tromey@redhat.com>
1265 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
1266 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
1267 (target_get_tib_address): Add argument.
1268 * target.c (update_current_target): Update.
1269 * remote.c (remote_get_tib_address): Add 'self' argument.
1271 2014-02-19 Tom Tromey <tromey@redhat.com>
1273 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
1274 (target_set_trace_notes): Add argument.
1275 * target.c (update_current_target): Update.
1276 * remote.c (remote_set_trace_notes): Add 'self' argument.
1278 2014-02-19 Tom Tromey <tromey@redhat.com>
1280 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
1282 (target_set_trace_buffer_size): Add argument.
1283 * target.c (update_current_target): Update.
1284 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
1286 2014-02-19 Tom Tromey <tromey@redhat.com>
1288 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
1290 (target_set_circular_trace_buffer): Add argument.
1291 * target.c (update_current_target): Update.
1292 * remote.c (remote_set_circular_trace_buffer): Add 'self'
1295 2014-02-19 Tom Tromey <tromey@redhat.com>
1297 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
1299 (target_set_disconnected_tracing): Add argument.
1300 * target.c (update_current_target): Update.
1301 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
1303 2014-02-19 Tom Tromey <tromey@redhat.com>
1305 * target.h (struct target_ops)
1306 <to_get_min_fast_tracepoint_insn_len>: Add argument.
1307 (target_get_min_fast_tracepoint_insn_len): Add argument.
1308 * target.c (update_current_target): Update.
1309 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
1312 2014-02-19 Tom Tromey <tromey@redhat.com>
1314 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
1316 (target_get_raw_trace_data): Add argument.
1317 * target.c (update_current_target): Update.
1318 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
1320 2014-02-19 Tom Tromey <tromey@redhat.com>
1322 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1324 (target_upload_trace_state_variables): Add argument.
1325 * target.c (update_current_target): Update.
1326 * remote.c (remote_upload_trace_state_variables): Add 'self'
1328 (remote_start_remote): Update.
1330 2014-02-19 Tom Tromey <tromey@redhat.com>
1332 * target.h (struct target_ops) <to_upload_tracepoints>: Add
1334 (target_upload_tracepoints): Add argument.
1335 * target.c (update_current_target): Update.
1336 * remote.c (remote_upload_tracepoints): Add 'self' argument.
1337 (remote_start_remote): Update.
1339 2014-02-19 Tom Tromey <tromey@redhat.com>
1341 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
1342 (target_save_trace_data): Add argument.
1343 * target.c (update_current_target): Update.
1344 * remote.c (remote_save_trace_data): Add 'self' argument.
1346 2014-02-19 Tom Tromey <tromey@redhat.com>
1348 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
1350 * target.h (struct target_ops)
1351 <to_get_trace_state_variable_value>: Add argument.
1352 (target_get_trace_state_variable_value): Add argument.
1353 * target.c (update_current_target): Update.
1354 * remote.c (remote_get_trace_state_variable_value): Add 'self'
1356 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
1358 2014-02-19 Tom Tromey <tromey@redhat.com>
1360 * tracepoint.c (tfile_trace_find): Add 'self' argument.
1361 * target.h (struct target_ops) <to_trace_find>: Add argument.
1362 (target_trace_find): Add argument.
1363 * target.c (update_current_target): Update.
1364 * remote.c (remote_trace_find): Add 'self' argument.
1365 * ctf.c (ctf_trace_find): Add 'self' argument.
1367 2014-02-19 Tom Tromey <tromey@redhat.com>
1369 * target.h (struct target_ops) <to_trace_stop>: Add argument.
1370 (target_trace_stop): Add argument.
1371 * target.c (update_current_target): Update.
1372 * remote.c (remote_trace_stop): Add 'self' argument.
1374 2014-02-19 Tom Tromey <tromey@redhat.com>
1376 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
1377 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
1379 (target_get_tracepoint_status): Add argument.
1380 * target.c (update_current_target): Update.
1381 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
1383 2014-02-19 Tom Tromey <tromey@redhat.com>
1385 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
1386 * target.h (struct target_ops) <to_get_trace_status>: Add
1388 (target_get_trace_status): Add argument.
1389 * target.c (update_current_target): Update.
1390 * remote.c (remote_get_trace_status): Add 'self' argument.
1391 (remote_start_remote, remote_can_download_tracepoint): Update.
1392 * ctf.c (ctf_get_trace_status): Add 'self' argument.
1394 2014-02-19 Tom Tromey <tromey@redhat.com>
1396 * target.h (struct target_ops) <to_trace_start>: Add argument.
1397 (target_trace_start): Add argument.
1398 * target.c (update_current_target): Update.
1399 * remote.c (remote_trace_start): Add 'self' argument.
1401 2014-02-19 Tom Tromey <tromey@redhat.com>
1403 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1405 (target_trace_set_readonly_regions): Add argument.
1406 * target.c (update_current_target): Update.
1407 * remote.c (remote_trace_set_readonly_regions): Add 'self'
1410 2014-02-19 Tom Tromey <tromey@redhat.com>
1412 * target.h (struct target_ops) <to_disable_tracepoint>: Add
1414 (target_disable_tracepoint): Add argument.
1415 * target.c (update_current_target): Update.
1416 * remote.c (remote_disable_tracepoint): Add 'self' argument.
1418 2014-02-19 Tom Tromey <tromey@redhat.com>
1420 * target.h (struct target_ops) <to_enable_tracepoint>: Add
1422 (target_enable_tracepoint): Add argument.
1423 * target.c (update_current_target): Update.
1424 * remote.c (remote_enable_tracepoint): Add 'self' argument.
1426 2014-02-19 Tom Tromey <tromey@redhat.com>
1428 * target.h (struct target_ops) <to_download_trace_state_variable>:
1430 (target_download_trace_state_variable): Add argument.
1431 * target.c (update_current_target): Update.
1432 * remote.c (remote_download_trace_state_variable): Add 'self'
1435 2014-02-19 Tom Tromey <tromey@redhat.com>
1437 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
1439 (target_can_download_tracepoint): Add argument.
1440 * target.c (update_current_target): Update.
1441 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
1443 2014-02-19 Tom Tromey <tromey@redhat.com>
1445 * target.h (struct target_ops) <to_download_tracepoint>: Add
1447 (target_download_tracepoint): Add argument.
1448 * target.c (update_current_target): Update.
1449 * remote.c (remote_download_tracepoint): Add 'self' argument.
1451 2014-02-19 Tom Tromey <tromey@redhat.com>
1453 * target.h (struct target_ops) <to_trace_init>: Add argument.
1454 (target_trace_init): Add argument.
1455 * target.c (update_current_target): Update.
1456 * remote.c (remote_trace_init): Add 'self' argument.
1458 2014-02-19 Tom Tromey <tromey@redhat.com>
1460 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1461 * target.c (target_fileio_readlink): Add argument.
1462 * remote.c (remote_hostio_readlink): Add 'self' argument.
1463 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1465 2014-02-19 Tom Tromey <tromey@redhat.com>
1467 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1468 * target.c (target_fileio_unlink): Add argument.
1469 * remote.c (remote_hostio_unlink): Add 'self' argument.
1470 (remote_file_delete): Update.
1471 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1473 2014-02-19 Tom Tromey <tromey@redhat.com>
1475 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1476 * target.c (target_fileio_close): Add argument.
1477 * remote.c (remote_hostio_close): Add 'self' argument.
1478 (remote_hostio_close_cleanup): Update.
1479 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1481 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1483 2014-02-19 Tom Tromey <tromey@redhat.com>
1485 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1486 * target.c (target_fileio_pread): Add argument.
1487 * remote.c (remote_hostio_pread): Add 'self' argument.
1488 (remote_bfd_iovec_pread, remote_file_get): Update.
1489 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1491 2014-02-19 Tom Tromey <tromey@redhat.com>
1493 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1494 * target.c (target_fileio_pwrite): Add argument.
1495 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1496 (remote_file_put): Update.
1497 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1499 2014-02-19 Tom Tromey <tromey@redhat.com>
1501 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1502 * target.c (target_fileio_open): Add argument.
1503 * remote.c (remote_hostio_open): Add 'self' argument.
1504 (remote_bfd_iovec_open): Add 'self' argument.
1505 (remote_file_put): Add 'self' argument.
1506 (remote_file_get): Add 'self' argument.
1507 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1509 2014-02-19 Tom Tromey <tromey@redhat.com>
1511 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1513 (target_can_run_breakpoint_commands): Add argument.
1514 * target.c (update_current_target): Update.
1515 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1517 (remote_insert_breakpoint): Add 'self' argument.
1518 (remote_insert_hw_breakpoint): Add 'self' argument.
1519 (remote_can_run_breakpoint_commands): Add 'self' argument.
1521 2014-02-19 Tom Tromey <tromey@redhat.com>
1523 * target.h (struct target_ops)
1524 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1525 (target_supports_evaluation_of_breakpoint_conditions): Add
1527 * target.c (update_current_target): Update.
1528 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1530 (remote_insert_breakpoint): Add 'self' argument.
1531 (remote_insert_hw_breakpoint): Add 'self' argument.
1532 (remote_supports_cond_breakpoints): Add 'self' argument.
1534 2014-02-19 Tom Tromey <tromey@redhat.com>
1536 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1538 (target_supports_string_tracing): Add argument.
1539 * target.c (update_current_target): Update.
1540 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1542 2014-02-19 Tom Tromey <tromey@redhat.com>
1544 * target.h (struct target_ops)
1545 <to_supports_disable_randomization>: Add argument.
1546 * target.c (find_default_supports_disable_randomization): Add
1548 (target_supports_disable_randomization): Add argument.
1549 (find_default_supports_disable_randomization): Add 'self'
1551 * remote.c (extended_remote_supports_disable_randomization): Add
1553 (remote_supports_disable_randomization): Add 'self' argument.
1554 (extended_remote_create_inferior): Update.
1555 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1558 2014-02-19 Tom Tromey <tromey@redhat.com>
1560 * target.h (struct target_ops)
1561 <to_supports_enable_disable_tracepoint>: Add argument.
1562 (target_supports_enable_disable_tracepoint): Add argument.
1563 * target.c (update_current_target): Update.
1564 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1567 2014-02-19 Tom Tromey <tromey@redhat.com>
1569 * target.h (struct target_ops) <to_supports_multi_process>: Add
1571 (target_supports_multi_process): Add argument.
1572 * target.c (update_current_target): Update.
1573 * remote.c (remote_supports_multi_process): Add 'self' argument.
1574 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1576 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1579 2014-02-19 Tom Tromey <tromey@redhat.com>
1581 * target.h (struct target_ops) <to_execution_direction>: Add
1583 (target_execution_direction): Add argument.
1584 * target.c (default_execution_direction): Add 'self' argument.
1585 * record-full.c (record_full_execution_direction): Add 'self'
1588 2014-02-19 Tom Tromey <tromey@redhat.com>
1590 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1592 (target_can_execute_reverse): Add argument.
1593 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1594 * record-full.c (record_full_can_execute_reverse): Add 'self'
1596 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1599 2014-02-19 Tom Tromey <tromey@redhat.com>
1601 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1602 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1604 (target_get_ada_task_ptid): Add argument.
1605 * target.c (update_current_target): Update.
1606 (default_get_ada_task_ptid): Add 'self' argument.
1607 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1608 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1609 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1611 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1613 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1615 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1617 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1618 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1621 2014-02-19 Tom Tromey <tromey@redhat.com>
1623 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1624 (target_goto_bookmark): Add argument.
1625 * target.c (dummy_goto_bookmark): Add 'self' argument.
1626 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1628 2014-02-19 Tom Tromey <tromey@redhat.com>
1630 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1631 (target_get_bookmark): Add argument.
1632 * target.c (dummy_get_bookmark): Add 'self' argument.
1633 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1635 2014-02-19 Tom Tromey <tromey@redhat.com>
1637 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1639 (target_make_corefile_notes): Add argument.
1640 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1641 * procfs.c (procfs_make_note_section): Add 'self' argument.
1642 (procfs_make_note_section): Add 'self' argument.
1643 (procfs_make_note_section): Add 'self' argument.
1644 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1646 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1647 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1648 * exec.c (exec_make_note_section): Add 'self' argument.
1649 (exec_make_note_section): Add 'self' argument.
1651 2014-02-19 Tom Tromey <tromey@redhat.com>
1653 * target.h (struct target_ops) <to_find_memory_regions>: Add
1655 (target_find_memory_regions): Add argument.
1656 * target.c (dummy_find_memory_regions): Add 'self' argument.
1657 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1658 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1659 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1660 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1661 * exec. (exec_do_find_memory_regions): New global.
1662 (exec_set_find_memory_regions): Rewrite.
1663 (exec_find_memory_regions): New function.
1664 (init_exec_ops): Use exec_find_memory_regions.
1666 2014-02-19 Tom Tromey <tromey@redhat.com>
1668 * target.h (struct target_ops) <to_supports_non_stop>: Add
1670 * target.c (find_default_supports_non_stop): Add argument.
1671 (target_supports_non_stop): Add argument.
1672 (find_default_supports_non_stop): Add 'self' argument.
1673 * remote.c (remote_supports_non_stop): Add 'self' argument.
1674 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1676 2014-02-19 Tom Tromey <tromey@redhat.com>
1678 * target.h (struct target_ops) <to_log_command>: Add argument.
1679 (target_log_command): Add argument.
1680 * serial.h (serial_log_command): Add 'self' argument.
1681 * serial.c (serial_log_command): Add 'self' argument.
1683 2014-02-19 Tom Tromey <tromey@redhat.com>
1685 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1686 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1688 (target_pid_to_exec_file): Add argument.
1689 * target.c (debug_to_pid_to_exec_file): Add argument.
1690 (update_current_target): Update.
1691 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1692 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1693 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1694 (linux_handle_extended_wait): Update.
1695 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1696 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1697 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1698 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1700 2014-02-19 Tom Tromey <tromey@redhat.com>
1702 * target.h (struct target_ops) <to_rcmd>: Add argument.
1703 (target_rcmd): Add argument.
1704 * target.c (debug_to_rcmd): Add argument.
1705 (update_current_target, do_monitor_command): Update.
1706 * remote.c (remote_rcmd): Add 'self' argument.
1707 * monitor.c (monitor_rcmd): Add 'self' argument.
1709 2014-02-19 Tom Tromey <tromey@redhat.com>
1711 * windows-nat.c (windows_stop): Add 'self' argument.
1712 * target.h (struct target_ops) <to_stop>: Add argument.
1713 * target.c (target_stop): Add argument.
1714 (debug_to_stop): Add argument.
1715 (update_current_target): Update.
1716 * remote.c (remote_stop): Add 'self' argument.
1717 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1718 (gdbsim_cntrl_c): Update.
1719 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1720 * procfs.c (procfs_stop): Add 'self' argument.
1721 * nto-procfs.c (procfs_stop): Add 'self' argument.
1722 * monitor.c (monitor_stop): Add 'self' argument.
1723 (monitor_open): Update.
1724 * linux-nat.c (linux_nat_stop): Add argument.
1725 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1726 * gnu-nat.c (gnu_stop): Add 'self' argument.
1727 * darwin-nat.c (darwin_stop): Add 'self' argument.
1729 2014-02-19 Tom Tromey <tromey@redhat.com>
1731 * target.h (struct target_ops) <to_thread_name>: Add argument.
1732 * target.c (target_thread_name): Add argument.
1733 (update_current_target): Update.
1734 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
1736 2014-02-19 Tom Tromey <tromey@redhat.com>
1738 * target.h (struct target_ops) <to_extra_thread_info>: Add
1740 (target_extra_thread_info): Add argument.
1741 * target.c (update_current_target): Update.
1742 * remote.c (remote_threads_extra_info): Add 'self' argument.
1743 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
1745 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
1746 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
1747 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
1749 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
1751 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
1753 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
1756 2014-02-19 Tom Tromey <tromey@redhat.com>
1758 * target.h (struct target_ops) <to_program_signals>: Add argument.
1759 * target.c (target_program_signals): Add argument.
1760 * remote.c (remote_program_signals): Add 'self' argument.
1762 2014-02-19 Tom Tromey <tromey@redhat.com>
1764 * target.h (struct target_ops) <to_pass_signals>: Add argument.
1765 * target.c (target_pass_signals): Add argument.
1766 * remote.c (remote_pass_signals): Add 'self' argument.
1767 (remote_start_remote): Update.
1768 * procfs.c (procfs_pass_signals): Add 'self' argument.
1769 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
1770 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
1771 (linux_nat_create_inferior, linux_nat_attach): Update.
1773 2014-02-19 Tom Tromey <tromey@redhat.com>
1775 * windows-nat.c (windows_can_run): Add 'self' argument.
1776 * target.h (struct target_ops) <to_can_run>: Add argument.
1777 (target_can_run): Add argument.
1778 * target.c (debug_to_can_run): Add argument.
1779 (update_current_target): Update.
1780 * nto-procfs.c (procfs_can_run): Add 'self' argument.
1781 * inf-child.c (inf_child_can_run): Add 'self' argument.
1782 * go32-nat.c (go32_can_run): Add 'self' argument.
1784 2014-02-19 Tom Tromey <tromey@redhat.com>
1786 * target.h (struct target_ops) <to_has_exited>: Add argument.
1787 (target_has_exited): Add argument.
1788 * target.c (debug_to_has_exited): Add argument.
1789 (update_current_target): Update.
1791 2014-02-19 Tom Tromey <tromey@redhat.com>
1793 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
1795 (target_set_syscall_catchpoint): Add argument.
1796 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
1798 * target.c (update_current_target): Update.
1800 2014-02-19 Tom Tromey <tromey@redhat.com>
1802 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
1804 (target_remove_exec_catchpoint): Add argument.
1805 * target.c (debug_to_remove_exec_catchpoint): Add argument.
1806 (update_current_target): Update.
1807 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
1810 2014-02-19 Tom Tromey <tromey@redhat.com>
1812 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
1814 (target_insert_exec_catchpoint): Add argument.
1815 * target.c (debug_to_insert_exec_catchpoint): Add argument.
1816 (update_current_target): Update.
1817 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
1820 2014-02-19 Tom Tromey <tromey@redhat.com>
1822 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
1824 (target_remove_vfork_catchpoint): Add argument.
1825 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
1826 (update_current_target): Update.
1827 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
1830 2014-02-19 Tom Tromey <tromey@redhat.com>
1832 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
1834 (target_insert_vfork_catchpoint): Add argument.
1835 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
1836 (update_current_target): Update.
1837 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
1840 2014-02-19 Tom Tromey <tromey@redhat.com>
1842 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
1844 (target_remove_fork_catchpoint): Add argument.
1845 * target.c (debug_to_remove_fork_catchpoint): Add argument.
1846 (update_current_target): Update.
1847 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
1850 2014-02-19 Tom Tromey <tromey@redhat.com>
1852 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
1854 (target_insert_fork_catchpoint): Add argument.
1855 * target.c (debug_to_insert_fork_catchpoint): Add argument.
1856 (update_current_target): Update.
1857 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
1860 2014-02-19 Tom Tromey <tromey@redhat.com>
1862 * target.h (struct target_ops) <to_post_startup_inferior>: Add
1864 (target_post_startup_inferior): Add argument.
1865 * target.c (debug_to_post_startup_inferior): Add argument.
1866 (update_current_target): Update.
1867 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
1869 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
1871 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
1873 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
1875 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
1877 (super_post_startup_inferior): Likewise.
1878 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
1880 (super_post_startup_inferior): Likewise.
1881 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
1882 Add 'self' argument.
1883 (super_post_startup_inferior): Likewise.
1885 2014-02-19 Tom Tromey <tromey@redhat.com>
1887 * target.h (struct target_ops) <to_load>: Add argument.
1888 * target.c (target_load): Add argument.
1889 (debug_to_load): Add argument.
1890 (update_current_target): Update.
1891 * remote.c (remote_load): Add 'self' argument.
1892 * remote-sim.c (gdbsim_load): Add 'self' argument.
1893 * remote-mips.c (mips_load): Add 'self' argument.
1894 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
1895 * monitor.c (monitor_load): Add 'self' argument.
1896 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
1898 2014-02-19 Tom Tromey <tromey@redhat.com>
1900 * target.h (struct target_ops) <to_terminal_info>: Add argument.
1901 (target_terminal_info): Add argument.
1902 * target.c (debug_to_terminal_info): Add argument.
1903 (default_terminal_info): Likewise.
1904 * inflow.c (child_terminal_info): Add 'self' argument.
1905 * inferior.h (child_terminal_info): Add 'self' argument.
1906 * go32-nat.c (go32_terminal_info): Add 'self' argument.
1908 2014-02-19 Tom Tromey <tromey@redhat.com>
1910 * target.h (struct target_ops) <to_terminal_save_ours>: Add
1912 (target_terminal_save_ours): Add argument.
1913 * target.c (debug_to_terminal_save_ours): Add argument.
1914 (update_current_target): Update.
1915 * inflow.c (terminal_save_ours): Add 'self' argument.
1916 * inferior.h (terminal_save_ours): Add 'self' argument.
1918 2014-02-19 Tom Tromey <tromey@redhat.com>
1920 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
1921 (target_terminal_ours): Add argument.
1922 * target.c (debug_to_terminal_ours): Add argument.
1923 (update_current_target): Update.
1924 * remote.c (remote_terminal_ours): Add 'self' argument.
1925 (remote_close): Update.
1926 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
1927 * inflow.c (terminal_ours): Add 'self' argument.
1928 * inferior.h (terminal_ours): Add 'self' argument.
1929 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1931 2014-02-19 Pedro Alves <palves@redhat.com>
1932 Tom Tromey <tromey@redhat.com>
1934 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
1936 (target_terminal_ours_for_output): Add argument.
1937 * target.c (debug_to_terminal_ours_for_output): Add argument.
1938 (update_current_target): Update.
1939 * inflow.c (terminal_ours_for_output): Add 'self' argument.
1940 * inferior.h (terminal_ours_for_output): Add 'self' argument.
1941 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
1943 2014-02-19 Tom Tromey <tromey@redhat.com>
1945 * target.h (struct target_ops) <to_terminal_inferior>: Add
1947 * target.c (target_terminal_inferior): Add argument.
1948 (update_current_target): Update.
1949 * remote.c (remote_terminal_inferior): Add 'self' argument.
1950 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
1951 * inflow.c (terminal_inferior): Add 'self' argument.
1952 * inferior.h (terminal_inferior): Add 'self' argument.
1953 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
1954 (go32_terminal_inferior): Add 'self' argument.
1956 2014-02-19 Tom Tromey <tromey@redhat.com>
1958 * target.h (struct target_ops) <to_terminal_init>: Add argument.
1959 (target_terminal_init): Add argument.
1960 * target.c (debug_to_terminal_init): Add argument.
1961 (update_current_target): Update.
1962 * inflow.c (terminal_init_inferior): Add 'self' argument.
1963 * inferior.h (terminal_init_inferior): Add 'self' argument.
1964 * go32-nat.c (go32_terminal_init): Add 'self' argument.
1965 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
1967 2014-02-19 Tom Tromey <tromey@redhat.com>
1969 * target.h (struct target_ops)
1970 <to_can_accel_watchpoint_condition>: Add argument.
1971 (target_can_accel_watchpoint_condition): Add argument.
1972 * target.c (debug_to_can_accel_watchpoint_condition): Add
1974 (update_current_target): Update.
1975 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
1978 2014-02-19 Tom Tromey <tromey@redhat.com>
1980 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1982 (target_region_ok_for_hw_watchpoint): Add argument.
1983 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
1984 (default_region_ok_for_hw_watchpoint): Add argument.
1985 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
1986 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
1988 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
1990 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
1992 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
1994 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
1996 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
1998 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
1999 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
2001 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
2002 Add 'self' argument.
2004 2014-02-19 Tom Tromey <tromey@redhat.com>
2006 * target.h (struct target_ops) <to_insert_watchpoint>: Add
2008 (target_insert_watchpoint): Add argument.
2009 * target.c (debug_to_insert_watchpoint): Add argument.
2010 (update_current_target): Update.
2011 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
2012 * remote.c (remote_insert_watchpoint): Add 'self' argument.
2013 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
2014 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
2015 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
2016 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
2018 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
2019 (procfs_insert_hw_watchpoint): Add 'self' argument.
2020 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
2022 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
2024 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
2026 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
2027 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
2029 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
2032 2014-02-19 Tom Tromey <tromey@redhat.com>
2034 * target.h (struct target_ops) <to_remove_watchpoint>: Add
2036 (target_remove_watchpoint): Add argument.
2037 * target.c (debug_to_remove_watchpoint): Add argument.
2038 (update_current_target): Update.
2039 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
2040 * remote.c (remote_remove_watchpoint): Add 'self' argument.
2041 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
2042 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
2043 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
2044 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
2046 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
2047 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
2049 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
2051 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
2053 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
2054 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
2056 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
2059 2014-02-19 Tom Tromey <tromey@redhat.com>
2061 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
2063 (target_remove_hw_breakpoint): Add argument.
2064 * target.c (debug_to_remove_hw_breakpoint): Add argument.
2065 (update_current_target): Update.
2066 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
2067 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
2069 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
2070 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
2072 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
2075 2014-02-19 Tom Tromey <tromey@redhat.com>
2077 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
2079 (target_insert_hw_breakpoint): Add argument.
2080 * target.c (debug_to_insert_hw_breakpoint): Add argument.
2081 (update_current_target): Update.
2082 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
2083 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
2085 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
2086 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
2087 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
2089 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
2092 2014-02-19 Tom Tromey <tromey@redhat.com>
2094 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
2096 (target_can_use_hardware_watchpoint): Add argument.
2097 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
2098 (update_current_target): Update.
2099 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
2101 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
2103 * remote.c (remote_check_watch_resources): Add 'self' argument.
2104 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
2105 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
2107 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
2108 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
2110 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
2112 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
2114 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
2116 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
2118 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
2120 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
2121 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
2123 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
2126 2014-02-19 Tom Tromey <tromey@redhat.com>
2128 * target.h (struct target_ops) <to_post_attach>: Add argument.
2129 (target_post_attach): Add argument.
2130 * target.c (debug_to_post_attach): Add argument.
2131 (update_current_target): Update.
2132 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
2133 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
2134 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
2135 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
2136 * inf-child.c (inf_child_post_attach): Add 'self' argument.
2138 2014-02-19 Tom Tromey <tromey@redhat.com>
2140 * windows-nat.c (windows_close): Add 'self' argument.
2141 * tracepoint.c (tfile_close): Add 'self' argument.
2142 * target.h (struct target_ops) <to_close>: Add argument.
2143 * target.c (target_close): Add argument.
2144 (update_current_target): Update.
2145 * remote.c (remote_close): Add 'self' argument.
2146 * remote-sim.c (gdbsim_close): Add 'self' argument.
2147 * remote-mips.c (mips_close): Add 'self' argument.
2148 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
2149 * record-full.c (record_full_close): Add 'self' argument.
2150 * record-btrace.c (record_btrace_close): Add 'self' argument.
2151 * monitor.h (monitor_close): Add 'self' argument.
2152 * monitor.c (monitor_close): Add 'self' argument.
2153 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
2154 * linux-nat.c (linux_nat_close): Add argument.
2155 * go32-nat.c (go32_close): Add 'self' argument.
2156 * exec.c (exec_close_1): Add 'self' argument.
2157 * ctf.c (ctf_close): Add 'self' argument.
2158 * corelow.c (core_close): Add 'self' argument.
2159 (core_close_cleanup): Update.
2160 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
2161 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
2163 2014-02-19 Tom Tromey <tromey@redhat.com>
2165 * remote.c (remote_load): New function.
2166 (init_remote_ops): Use it.
2168 2014-02-19 Tom Tromey <tromey@redhat.com>
2170 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
2172 * common/linux-btrace.h (linux_supports_btrace): Update.
2173 * remote.c (remote_supports_btrace): Add "self" argument.
2174 * target-delegates.c: Rebuild.
2175 * target.c (target_supports_btrace): Remove.
2176 * target.h (struct target_ops) <to_supports_btrace>: Add
2177 target_ops argument.
2178 (target_supports_btrace): New define.
2180 2014-02-19 Tom Tromey <tromey@redhat.com>
2182 * record-full.c (record_full_beneath_to_resume_ops)
2183 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
2184 (record_full_beneath_to_wait)
2185 (record_full_beneath_to_store_registers_ops)
2186 (record_full_beneath_to_store_registers)
2187 (record_full_beneath_to_xfer_partial_ops)
2188 (record_full_beneath_to_xfer_partial)
2189 (record_full_beneath_to_insert_breakpoint_ops)
2190 (record_full_beneath_to_insert_breakpoint)
2191 (record_full_beneath_to_remove_breakpoint_ops)
2192 (record_full_beneath_to_remove_breakpoint)
2193 (record_full_beneath_to_stopped_by_watchpoint)
2194 (record_full_beneath_to_stopped_data_address)
2195 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
2196 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
2197 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
2198 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
2199 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
2200 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
2201 (tmp_to_stopped_data_address, tmp_to_async): Remove.
2202 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
2203 (record_full_resume, record_full_wait_1)
2204 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
2205 (record_full_store_registers, record_full_xfer_partial)
2206 (record_full_insert_breakpoint, record_full_remove_breakpoint)
2207 (record_full_async, record_full_core_xfer_partial): Use target
2209 * target-delegates.c: Rebuild.
2210 * target.c (current_xfer_partial): Remove.
2211 (update_current_target): Do not INHERIT or de_fault
2212 to_insert_breakpoint, to_remove_breakpoint,
2213 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
2214 to_is_async_p, to_async. Do not set to_xfer_partial field.
2215 (default_xfer_partial): Simplify.
2216 (current_xfer_partial): Remove.
2217 (target_wait, target_resume): Simplify.
2218 (find_default_can_async_p, find_default_is_async_p): Update.
2219 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
2220 to_xfer_partial, to_stopped_by_watchpoint,
2221 to_stopped_data_address.
2222 (target_store_registers): Simplify.
2223 (forward_target_remove_breakpoint)
2224 (forward_target_insert_breakpoint): Remove.
2225 (target_remove_breakpoint, target_insert_breakpoint)
2226 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
2227 * target.h (struct target_ops) <to_resume, to_wait,
2228 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
2229 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
2230 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
2232 (forward_target_remove_breakpoint)
2233 (forward_target_insert_breakpoint): Remove.
2234 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
2236 (record_btrace_insert_breakpoint): Delegate directly.
2238 2014-02-19 Tom Tromey <tromey@redhat.com>
2241 * target-delegates.c: New file.
2242 * target.c: Include target-delegates.c.
2243 (init_dummy_target): Call install_dummy_methods.
2244 (complete_target_initialization): Call install_delegators.
2245 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
2246 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
2247 * make-target-delegates: New file.
2249 2014-02-19 Tom Tromey <tromey@redhat.com>
2251 * record.c (find_record_target): Use find_target_at.
2252 * target.c (find_target_at): New function.
2253 * target.h (find_target_at): Declare.
2255 2014-02-19 Tom Tromey <tromey@redhat.com>
2257 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
2259 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
2261 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
2262 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
2264 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
2266 * linux-nat.c (save_sigtrap): Update.
2267 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
2268 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
2269 (linux_nat_close): Update.
2270 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
2272 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
2274 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
2275 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
2276 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
2277 (tmp_to_async): Add 'ops' argument.
2278 (record_full_stopped_by_watchpoint, record_full_async)
2279 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
2281 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
2282 (m32r_stopped_by_watchpoint): Add 'ops' argument.
2283 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
2284 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
2285 (remote_is_async_p, remote_async): Add 'ops' argument.
2286 (remote_stopped_data_address): Update.
2287 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
2288 * target.c (update_current_target)
2289 (find_default_can_async_p, find_default_is_async_p): Update.
2290 (init_dummy_target): Update.
2291 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
2292 * target.h (struct target_ops) <to_stopped_by_watchpoint,
2293 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
2294 (target_can_async_p, target_is_async_p, target_async)
2295 (target_stopped_by_watchpoint): Update.
2297 2014-02-19 Yao Qi <yao@codesourcery.com>
2300 * gdbarch.sh: Remove startup_gdbarch.
2301 * gdbarch.c: Regenerated.
2302 * gdbarch.h: Likewise.
2304 2014-02-17 Kevin Buettner <kevinb@redhat.com>
2306 * rl78-tdep.c (rl78_g10_register_name): New function.
2307 (rl78_return_value): Add g10 support.
2308 (rl78_gdbarch_init): Register rl78_g10_register_name for the
2311 2014-02-17 Doug Evans <xdje42@gmail.com>
2313 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
2314 (SUBDIR_GUILE_SRCS): Ditto.
2315 (scm-gsmob.o): Ditto.
2317 2014-02-17 Yao Qi <yao@codesourcery.com>
2319 * gnu-nat.c (ILL_RPC): Declare defined function.
2321 2014-02-17 Yao Qi <yao@codesourcery.com>
2323 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
2324 mach_msg_type_number_t.
2325 (gnu_write_inferior): Likewise.
2327 2014-02-17 Yao Qi <yao@codesourcery.com>
2329 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
2331 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
2332 (inf_validate_procs, inf_signal): Likewise.
2333 (S_exception_raise_request): Likewise.
2334 (do_mach_notify_dead_name): Likewise.
2335 (steal_exc_port): Likewise.
2336 (gnu_read_inferior): Change 'copy_count''s type to
2337 mach_msg_type_number_t.
2338 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
2341 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
2343 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
2344 flag. Adjust all users; in particular...
2345 (gnu_wait): ..., don't decrement its value in here...
2346 (gnu_create_inferior): ..., and instead set the flag in here,
2347 around the startup_inferior call, and call that one with
2348 START_INFERIOR_TRAPS_EXPECTED.
2350 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
2351 (ILL_RPC): ... new macro.
2352 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
2353 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
2354 (do_mach_notify_send_once, S_proc_setmsgport_reply)
2355 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
2356 functions with ILL_RPC macro.
2357 (S_proc_pid2task_reply, S_proc_task2pid_reply)
2358 (S_proc_task2proc_reply, S_proc_proc2task_reply)
2359 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
2360 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
2361 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
2362 (S_proc_getlogin_reply, S_proc_getsid_reply)
2363 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
2364 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
2365 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
2366 (S_proc_getnports_reply, S_proc_is_important_reply)
2367 (S_proc_get_code_reply): New stub functions, generated with
2370 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
2371 collected the type check structures.
2373 * reply_mig_hack.awk: Don't expect to see the auto keyword.
2375 2014-02-14 Doug Evans <dje@google.com>
2377 * target.c (target_write_partial): Fix result type.
2379 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2381 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
2382 the proper offsets to access fpregset_t.
2384 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
2386 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
2387 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
2388 * h8300-tdep.c (setmachinelist): Remove global.
2389 * hppa-tdep.c (hppa_sigtramp): Remove global.
2390 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
2391 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
2392 * ravenscar-thread.c (update_target_observer): Remove global.
2393 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
2395 2014-02-12 Tom Tromey <tromey@redhat.com>
2397 * common/rsp-low.c: Update comments.
2398 * common/rsp-low.h: Update comments.
2400 2014-02-12 Tom Tromey <tromey@redhat.com>
2402 * common/rsp-low.c (convert_ascii_to_int): Remove.
2403 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
2405 2014-02-12 Tom Tromey <tromey@redhat.com>
2407 * common/rsp-low.h (unhexify): Don't declare.
2408 * common/rsp-low.c (unhexify): Remove.
2410 2014-02-12 Tom Tromey <tromey@redhat.com>
2412 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
2413 * common/rsp-low.c (convert_int_to_ascii): Remove.
2415 2014-02-12 Tom Tromey <tromey@redhat.com>
2417 * common/rsp-low.h (hexify): Don't declare.
2418 * common/rsp-low.c (hexify): Remove.
2420 2014-02-12 Tom Tromey <tromey@redhat.com>
2422 * common/rsp-low.c (hexify): Never take strlen of argument.
2424 2014-02-12 Tom Tromey <tromey@redhat.com>
2426 * common/rsp-low.c (bin2hex): Never take strlen of argument.
2427 * remote.c (extended_remote_run, remote_rcmd)
2428 (remote_download_trace_state_variable, remote_save_trace_data)
2429 (remote_set_trace_notes): Update.
2430 * tracepoint.c (encode_source_string, tfile_write_status)
2431 (tfile_write_uploaded_tsv): Update.
2433 2014-02-12 Tom Tromey <tromey@redhat.com>
2435 * tracepoint.c: Include rsp-low.h.
2436 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
2437 * remote.c: Include rsp-low.h.
2438 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
2439 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
2440 (remote_unescape_input): Move to common/rsp-low.c.
2441 * common/rsp-low.h: New file.
2442 * common/rsp-low.c: New file.
2443 * Makefile.in (SFILES): Add common/rsp-low.c.
2444 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
2445 (COMMON_OBS): Add rsp-low.o.
2446 (rsp-low.o): New target.
2448 2014-02-12 Tom Tromey <tromey@redhat.com>
2450 * utils.h: Include print-utils.h.
2451 (host_address_to_string, plongest, pulongest, phex, phex_nz)
2452 (int_string, core_addr_to_string, core_addr_to_string_nz)
2453 (hex_string, hex_string_custom): Don't declare.
2454 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2455 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2456 (hex_string_custom, int_string, core_addr_to_string)
2457 (core_addr_to_string_nz, host_address_to_string): Move to
2458 common/print-utils.c.
2459 * common/print-utils.h: New file.
2460 * common/print-utils.c: New file
2461 * Makefile.in (SFILES): Add common/print-utils.c.
2462 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2463 (COMMON_OBS): Add print-utils.o.
2464 (print-utils.o): New target.
2466 2014-02-12 Tom Tromey <tromey@redhat.com>
2468 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2470 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2472 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2474 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2476 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2477 if a PT_IO ptrace request returns sucessfully but indicates that 0
2478 bytes were transferred.
2480 2014-02-12 Pedro Alves <palves@redhat.com>
2481 Kevin Buettner <kevinb@redhat.com>
2483 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2484 TYPE_INSTANCE_FLAG_CODE_SPACE.
2486 2014-02-12 Pedro Alves <palves@redhat.com>
2488 * h8300-tdep.c (pseudo_from_raw_register)
2489 (raw_from_pseudo_register): New functions.
2490 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2493 2014-02-12 Pedro Alves <palves@redhat.com>
2495 * h8300-tdep.c (h8300_register_sim_regno): New function.
2496 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2497 gdbarch_register_sim_regno hook.
2499 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2501 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2503 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2505 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2507 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2509 * obsd-tdep.h (obsd_init_abi): New prototype.
2510 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2511 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2512 (obsd_init_abi): New functions.
2513 * i386obsd-tdep.c: Include "obsd-tdep.h".
2514 (i386obsd_init_abi): Call obsd_init_abi.
2515 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2516 (amd64obsd_init_abi): Call obsd_init_abi.
2517 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2518 obsd-tdep.c to gdb_target_obs.
2520 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2522 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2523 double float arguments to 16-byte in the argument slots.
2525 2014-02-11 Doug Evans <xdje42@gmail.com>
2527 * configure.ac: Don't crash if pkg-config is not found and guile
2528 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2530 * configure: Regenerate.
2532 2014-02-11 Yao Qi <yao@codesourcery.com>
2534 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2535 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2536 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2537 * gnu-nat.c (gnu_xfer_memory): Likewise.
2538 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2539 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2540 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2541 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2543 2014-02-11 Yao Qi <yao@codesourcery.com>
2545 * target.h (enum target_xfer_error): Rename to ...
2546 (enum target_xfer_status): ... it. New. All users updated.
2547 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2549 (TARGET_XFER_STATUS_ERROR_P): New macro.
2550 (target_xfer_error_to_string): Remove declaration.
2551 (target_xfer_status_to_string): Declare.
2552 (target_xfer_partial_ftype): Adjust it.
2553 (struct target_ops) <to_xfer_partial>: Return
2554 target_xfer_status. Add argument xfered_len. Update
2556 * target.c (target_xfer_error_to_string): Rename to ...
2557 (target_xfer_status_to_string): ... it. New. All callers
2559 (target_read_live_memory): Likewise. Call target_xfer_partial
2560 instead of target_read.
2561 (memory_xfer_live_readonly_partial): Return
2562 target_xfer_status. Add argument xfered_len.
2563 (raw_memory_xfer_partial): Likewise.
2564 (memory_xfer_partial_1): Likewise.
2565 (memory_xfer_partial): Likewise.
2566 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2567 properly. Update debug message.
2568 (default_xfer_partial, current_xfer_partial): Likewise.
2569 (target_write_partial): Likewise.
2570 (target_read_partial): Likewise. All callers updated.
2571 (read_whatever_is_readable): Likewise.
2572 (target_write_with_progress): Likewise.
2573 (target_read_alloc_1): Likewise.
2575 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2576 * auxv.c (procfs_xfer_auxv): Likewise.
2577 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2578 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2579 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2580 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2581 * corefile.c (read_memory): Adjust.
2582 * corelow.c (core_xfer_partial): Likewise.
2583 * ctf.c (ctf_xfer_partial): Likewise.
2584 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2586 (darwin_xfer_partial): Likewise.
2587 * exec.c (section_table_xfer_memory_partial): Likewise. All
2589 (exec_xfer_partial): Likewise.
2590 * exec.h (section_table_xfer_memory_partial): Update
2592 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2594 (gnu_xfer_partial): Likewise.
2595 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2596 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2597 (ia64_hpux_xfer_solib_got): Likewise.
2598 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2599 type of 'partial_len' to ULONGEST.
2600 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2601 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2602 (linux_nat_xfer_partial): Likewise.
2603 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2604 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2605 * monitor.c (monitor_xfer_memory): Likewise.
2606 (monitor_xfer_partial): Likewise.
2607 * procfs.c (procfs_xfer_partial): Likewise.
2608 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2609 * record-full.c (record_full_xfer_partial): Likewise.
2610 (record_full_core_xfer_partial): Likewise.
2611 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2612 (gdbsim_xfer_partial): Likewise.
2613 * remote.c (remote_write_bytes_aux): Likewise. All callers
2615 (remote_write_bytes, remote_read_bytes): Likewise. All
2617 (remote_flash_erase): Likewise. All callers updated.
2618 (remote_write_qxfer): Likewise. All callers updated.
2619 (remote_read_qxfer): Likewise. All callers updated.
2620 (remote_xfer_partial): Likewise.
2621 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2622 (rs6000_xfer_shared_libraries): Likewise.
2623 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2624 (sol_thread_xfer_partial): Likewise.
2625 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2626 (sparc_xfer_partial): Likewise.
2627 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2629 (spu_xfer_partial): Likewise.
2630 * spu-multiarch.c (spu_xfer_partial): Likewise.
2631 * tracepoint.c (tfile_xfer_partial): Likewise.
2632 * windows-nat.c (windows_xfer_memory): Likewise.
2633 (windows_xfer_shared_libraries): Likewise.
2634 (windows_xfer_partial): Likewise.
2635 * valprint.c: Replace 'target_xfer_error' with
2636 'target_xfer_status' in comments.
2638 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2640 Checked in by Joel Brobecker <brobecker@adacore.com>.
2641 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2643 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2645 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2646 function parameters.
2648 2014-02-10 Will Newton <will.newton@linaro.org>
2650 * elfread.c (elf_rel_plt_read): Look for a .got section if
2651 looking up .got.plt fails.
2652 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2653 on address passed to elf_gnu_ifunc_record_cache.
2654 (elf_gnu_ifunc_resolve_addr): Likewise.
2655 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2657 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2659 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2660 (X_RETTURN): New macro.
2661 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2663 * sparc64-tdep.c (sparc64_init_abi): Hook
2664 sparc_in_function_epilogue_p.
2666 2014-02-10 Gary Benson <gbenson@redhat.com>
2668 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2669 Rename name_matcher to symbol_matcher.
2671 2014-02-10 Gary Benson <gbenson@redhat.com>
2673 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2674 Use expand_symtabs_file_matcher_ftype and
2675 expand_symtabs_symbol_matcher_ftype.
2677 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2679 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2680 (struct ada_symbol_cache): New.
2681 (ada_free_symbol_cache): Forward declare.
2682 (struct ada_pspace_data): New.
2683 (ada_pspace_data_handle): New static global.
2684 (get_ada_pspace_data, ada_pspace_data_cleanup)
2685 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2686 (cache_space, cache): Delete, now folded inside struct
2688 (ada_get_symbol_cache): New function.
2689 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2691 (_initialize_ada_language): Remove initialization of cache_space.
2692 Move call to observer_attach_inferior_exit up, grouping it
2693 with the other observer registrations inside this function.
2694 Rename command to be more general. Add call to
2695 register_program_space_data_with_cleanup.
2697 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2699 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2700 ada_new_objfile_observer.
2701 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2702 (_initialize_tasks): Update uses of ada_new_objfile_observer
2703 and ada_tasks_normal_stop_observer.
2705 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2707 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2708 returned by the 'Length attribute to integer.
2710 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2712 * ada-lang.c (_initialize_ada_language): Initialize
2713 cache_space obstack.
2715 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2717 * ada-lang.c (HASH_SIZE): New macro.
2718 (struct cache_entry): New type.
2719 (cache_space, cache): New static globals.
2720 (ada_clear_symbol_cache, find_entry): New functions.
2721 (lookup_cached_symbol, cache_symbol): Implement.
2722 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2723 (_initialize_ada_language): Attach ada_new_objfile_observer
2724 and ada_free_objfile_observer.
2726 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2728 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
2729 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
2730 struct block * parameter.
2731 (ada_lookup_symbol_list_worker): Constify local variable "block".
2732 Remove cast which is no longer necessary.
2734 2014-02-10 Doug Evans <xdje42@gmail.com>
2736 Add Guile as an extension language.
2737 * NEWS: Mention Guile scripting.
2738 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
2739 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
2740 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
2741 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
2742 (CLIBS): Add GUILE_LIBS.
2743 (install-guile): New rule.
2744 (guile.o): New rule.
2745 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
2746 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
2747 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
2748 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
2749 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
2750 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
2751 (scm-type.o, scm-utils.o, scm-value.o): New rules.
2752 * configure.ac: New option --with-guile.
2753 * configure: Regenerate.
2754 * config.in: Regenerate.
2755 * auto-load.c: Remove #include "python/python.h". Add #include
2756 "gdb/section-scripts.h".
2757 (source_section_scripts): Handle Guile scripts.
2758 (_initialize_auto_load): Add name of Guile objfile script to
2759 scripts-directory help text.
2760 * breakpoint.c (condition_command): Tweak comment to include Scheme.
2761 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
2762 (struct breakpoint): New member scm_bp_object.
2763 * defs.h (enum command_control_type): New value guile_control.
2764 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
2766 (show_user): Update comment.
2767 (_initialize_cli_cmds): Update help text for "show user". Update help
2768 text for max-user-call-depth.
2769 * cli/cli-script.c: Remove #include "python/python.h". Add #include
2771 (multi_line_command_p): Add guile_control.
2772 (print_command_lines): Handle guile_control.
2773 (execute_control_command, recurse_read_control_structure): Ditto.
2774 (process_next_line): Recognize "guile" commands.
2775 * disasm.c (gdb_disassemble_info): Make non-static.
2776 * disasm.h: #include "dis-asm.h".
2777 (struct gdbarch): Add forward decl.
2778 (gdb_disassemble_info): Declare.
2779 * extension.c: #include "guile/guile.h".
2780 (extension_languages): Add guile.
2781 (get_ext_lang_defn): Handle EXT_LANG_GDB.
2782 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
2783 * gdbtypes.c (get_unsigned_type_max): New function.
2784 (get_signed_type_minmax): New function.
2785 * gdbtypes.h (get_unsigned_type_max): Declare.
2786 (get_signed_type_minmax): Declare.
2787 * guile/README: New file.
2788 * guile/guile-internal.h: New file.
2789 * guile/guile.c: New file.
2790 * guile/guile.h: New file.
2791 * guile/scm-arch.c: New file.
2792 * guile/scm-auto-load.c: New file.
2793 * guile/scm-block.c: New file.
2794 * guile/scm-breakpoint.c: New file.
2795 * guile/scm-disasm.c: New file.
2796 * guile/scm-exception.c: New file.
2797 * guile/scm-frame.c: New file.
2798 * guile/scm-gsmob.c: New file.
2799 * guile/scm-iterator.c: New file.
2800 * guile/scm-lazy-string.c: New file.
2801 * guile/scm-math.c: New file.
2802 * guile/scm-objfile.c: New file.
2803 * guile/scm-ports.c: New file.
2804 * guile/scm-pretty-print.c: New file.
2805 * guile/scm-safe-call.c: New file.
2806 * guile/scm-string.c: New file.
2807 * guile/scm-symbol.c: New file.
2808 * guile/scm-symtab.c: New file.
2809 * guile/scm-type.c: New file.
2810 * guile/scm-utils.c: New file.
2811 * guile/scm-value.c: New file.
2812 * guile/lib/gdb.scm: New file.
2813 * guile/lib/gdb/boot.scm: New file.
2814 * guile/lib/gdb/experimental.scm: New file.
2815 * guile/lib/gdb/init.scm: New file.
2816 * guile/lib/gdb/iterator.scm: New file.
2817 * guile/lib/gdb/printing.scm: New file.
2818 * guile/lib/gdb/types.scm: New file.
2819 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
2820 (VPATH): Add $(GUILE_SRCDIR).
2821 (GUILE_DIR): New variable.
2822 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
2823 (all): Add stamp-guile dependency.
2824 (stamp-guile): New rule.
2825 (clean-guile, install-guile, uninstall-guile): New rules.
2826 (install-only): Add install-guile dependency.
2827 (uninstall): Add uninstall-guile dependency.
2828 (clean): Add clean-guile dependency.
2830 2014-02-09 Doug Evans <xdje42@gmail.com>
2832 Revert this patch (which I approved, mea culpa).
2834 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2836 * Makefile.in (all-lib): Remove.
2837 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2839 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2841 Fix Python stack corruption.
2842 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
2845 2014-02-08 Mark Kettenis <kettenis@gnu.org>
2847 * Makefile.in (all-lib): Remove.
2848 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
2850 2014-02-07 Doug Evans <dje@google.com>
2852 * extension-priv.h (extension_language_script_ops): Add comment.
2853 (extension_language_ops): Add comment.
2854 (active_ext_lang_state): Fix typo in comment.
2856 2014-02-07 Pedro Alves <palves@redhat.com>
2858 * infrun.c (handle_signal_stop) <signal arrives while stepping
2859 over a breakpoint>: Switch back to the stepping thread.
2861 2014-02-07 Yao Qi <yao@codesourcery.com>
2863 * target.c (target_xfer_partial): Return zero if LEN is zero.
2865 2014-02-07 Yao Qi <yao@codesourcery.com>
2867 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
2868 (ld_so_xfer_auxv): Likewise.
2869 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2870 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2871 * corelow.c (core_xfer_partial): Likewise.
2872 * ctf.c (ctf_xfer_partial): Likewise.
2873 * darwin-nat.c (darwin_read_dyld_info): Likewise.
2874 (darwin_xfer_partial): Likewise.
2875 * exec.c (exec_xfer_partial): Likewise.
2876 * gnu-nat.c (gnu_xfer_partial): Likewise.
2877 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
2878 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2879 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2880 * linux-nat.c (linux_xfer_siginfo): Likewise.
2881 (linux_proc_xfer_spu): Likewise.
2882 * procfs.c (procfs_xfer_partial): Likewise.
2883 * record-full.c (record_full_xfer_partial): Likewise.
2884 (record_full_core_xfer_partial): Likewise.
2885 * remote-sim.c (gdbsim_xfer_partial): Likewise.
2886 * remote.c (remote_write_qxfer): Likewise.
2887 (remote_write_qxfer, remote_read_qxfer): Likewise.
2888 (remote_xfer_partial): Likewise.
2889 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2890 (rs6000_xfer_shared_libraries): Likewise.
2891 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2892 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2893 (spu_xfer_partial): Likewise.
2894 * target.c (memory_xfer_partial_1): Likewise.
2895 * tracepoint.c (tfile_xfer_partial): Likewise.
2896 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
2897 (windows_xfer_partial): Likewise.
2899 2014-02-07 Yao Qi <yao@codesourcery.com>
2901 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
2903 (core_xfer_shared_libraries_aix): Likewise.
2904 * gdbarch.c, gdbarch.h: Regenerated.
2905 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
2906 ULONGEST. Change 'len_avail' type to ULONGEST.
2907 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
2908 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
2910 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
2912 2014-02-07 Yao Qi <yao@codesourcery.com>
2914 * corefile.c (memory_error): Get 'exception' from ERR and pass
2915 'exception' to throw_error.
2917 2014-02-06 Doug Evans <xdje42@gmail.com>
2919 * configure.ac (libpython checking): Remove all but python.o from
2920 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
2921 * configure: Regenerate.
2923 * Makefile.in (SFILES): Add extension.c.
2924 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
2925 (COMMON_OBS): Add extension.o.
2926 * extension.h: New file.
2927 * extension-priv.h: New file.
2928 * extension.c: New file.
2930 * python/python-internal.h: #include "extension.h".
2931 (gdbpy_auto_load_enabled): Declare.
2932 (gdbpy_apply_val_pretty_printer): Declare.
2933 (gdbpy_apply_frame_filter): Declare.
2934 (gdbpy_preserve_values): Declare.
2935 (gdbpy_breakpoint_cond_says_stop): Declare.
2936 (gdbpy_breakpoint_has_cond): Declare.
2937 (void source_python_script_for_objfile): Delete.
2938 * python/python.c: #include "extension-priv.h".
2939 Delete inclusion of "observer.h".
2940 (extension_language_python): Moved here and renamed from
2941 script_language_python in py-auto-load.c.
2942 Redefined to be of type extension_language_defn.
2943 (python_extension_script_ops): New global.
2944 (python_extension_ops): New global.
2945 (struct python_env): New member previous_active.
2946 (restore_python_env): Call restore_active_ext_lang.
2947 (ensure_python_env): Call set_active_ext_lang.
2948 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
2950 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
2952 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
2954 (gdbpy_eval_from_control_command): Renamed from
2955 eval_python_from_control_command, made static. New arg extlang.
2956 (gdbpy_source_script) Renamed from source_python_script, made static.
2958 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
2959 result to int. New arg extlang.
2960 (gdbpy_source_objfile_script): Renamed from
2961 source_python_script_for_objfile, made static. New arg extlang.
2962 (gdbpy_start_type_printers): Renamed from start_type_printers, made
2963 static. New args extlang, extlang_printers. Change result type to
2965 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
2966 static. New arg extlang. Rename arg printers to extlang_printers
2967 and change type to ext_lang_type_printers *.
2968 (gdbpy_free_type_printers): Renamed from free_type_printers, made
2969 static. Replace argument arg with extlang, extlang_printers.
2970 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
2971 (!HAVE_PYTHON, source_python_script): Delete.
2972 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
2973 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
2974 (!HAVE_PYTHON, start_type_printers): Delete.
2975 (!HAVE_PYTHON, apply_type_printers): Delete.
2976 (!HAVE_PYTHON, free_type_printers): Delete.
2977 (_initialize_python): Delete call to observer_attach_before_prompt.
2978 (finalize_python): Set/restore active extension language.
2979 (gdbpy_finish_initialization) Renamed from
2980 finish_python_initialization, made static. New arg extlang.
2981 (gdbpy_initialized): New function.
2982 * python/python.h: #include "extension.h". Delete #include
2983 "value.h", "mi/mi-cmds.h".
2984 (extension_language_python): Declare.
2985 (GDBPY_AUTO_FILE_NAME): Delete.
2986 (enum py_bt_status): Moved to extension.h and renamed to
2988 (enum frame_filter_flags): Moved to extension.h.
2989 (enum py_frame_args): Moved to extension.h and renamed to
2990 ext_lang_frame_args.
2991 (finish_python_initialization): Delete.
2992 (eval_python_from_control_command): Delete.
2993 (source_python_script): Delete.
2994 (apply_val_pretty_printer): Delete.
2995 (apply_frame_filter): Delete.
2996 (preserve_python_values): Delete.
2997 (gdbpy_script_language_defn): Delete.
2998 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
2999 (start_type_printers, apply_type_printers, free_type_printers): Delete.
3001 * auto-load.c: #include "extension.h".
3002 (GDB_AUTO_FILE_NAME): Delete.
3003 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
3004 (script_language_gdb): Delete, moved to extension.c and renamed to
3005 extension_language_gdb.
3006 (source_gdb_script_for_objfile): Delete.
3007 (auto_load_pspace_info): New member unsupported_script_warning_printed.
3008 (loaded_script): Change type of language member to
3009 struct extension_language_defn *.
3010 (init_loaded_scripts_info): Initialize
3011 unsupported_script_warning_printed.
3012 (maybe_add_script): Make static. Change type of language arg to
3013 struct extension_language_defn *.
3014 (clear_section_scripts): Reset unsupported_script_warning_printed.
3015 (auto_load_objfile_script_1): Rewrite to use extension language API.
3016 (auto_load_objfile_script): Make public. Remove support-compiled-in
3017 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
3018 (source_section_scripts): Rewrite to use extension language API.
3019 (load_auto_scripts_for_objfile): Rewrite to use
3020 auto_load_scripts_for_objfile.
3021 (collect_matching_scripts_data): Change type of language member to
3022 struct extension_language_defn *.
3023 (auto_load_info_scripts): Change type of language arg to
3024 struct extension_language_defn *.
3025 (unsupported_script_warning_print): New function.
3026 (script_not_found_warning_print): Make static.
3027 (_initialize_auto_load): Rewrite construction of scripts-directory
3029 * auto-load.h (struct objfile): Add forward decl.
3030 (struct script_language): Delete.
3031 (struct auto_load_pspace_info): Add forward decl.
3032 (struct extension_language_defn): Add forward decl.
3033 (maybe_add_script): Delete.
3034 (auto_load_objfile_script): Declare.
3035 (script_not_found_warning_print): Delete.
3036 (auto_load_info_scripts): Update prototype.
3037 (auto_load_gdb_scripts_enabled): Declare.
3038 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
3039 auto_load_python_scripts_enabled and made public.
3040 (script_language_python): Delete, moved to python.c.
3041 (gdbpy_script_language_defn): Delete.
3042 (info_auto_load_python_scripts): Update to use
3043 extension_language_python.
3045 * breakpoint.c (condition_command): Replace call to
3046 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
3047 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
3048 with call to breakpoint_ext_lang_cond_says_stop.
3049 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
3050 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
3051 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
3052 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
3054 (local_setattro): Print name of extension language with existing
3057 * valprint.c (val_print, value_print): Update to call
3058 apply_ext_lang_val_pretty_printer.
3059 * cp-valprint.c (cp_print_value): Update call to
3060 apply_ext_lang_val_pretty_printer.
3061 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
3062 (gdbpy_apply_val_pretty_printer): Renamed from
3063 apply_val_pretty_printer. New arg extlang.
3064 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
3066 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
3067 extension language API.
3068 * cli/cli-script.c (execute_control_command): Update to call
3069 eval_ext_lang_from_control_command.
3071 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
3072 enum ext_lang_bt_status values. Update call to
3073 apply_ext_lang_frame_filter.
3074 (mi_cmd_stack_list_locals): Ditto.
3075 (mi_cmd_stack_list_args): Ditto.
3076 (mi_cmd_stack_list_variables): Ditto.
3077 * mi/mi-main.c: Delete #include "python/python-internal.h".
3078 Add #include "extension.h".
3079 (mi_cmd_list_features): Replace reference to python internal variable
3080 gdb_python_initialized with call to ext_lang_initialized_p.
3082 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
3083 Update to use enum ext_lang_frame_args. Update to call
3084 apply_ext_lang_frame_filter.
3085 * python/py-framefilter.c (extract_sym): Update to use enum
3087 (extract_value, py_print_type, py_print_value): Ditto.
3088 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
3089 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
3090 (py_print_frame): Ditto.
3091 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
3092 New arg extlang. Update to use enum ext_lang_bt_status.
3094 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
3095 finish_python_initialization. Replace with call to
3096 finish_ext_lang_initialization.
3098 * typeprint.c (do_free_global_table): Update to call
3099 free_ext_lang_type_printers.
3100 (create_global_typedef_table): Update to call
3101 start_ext_lang_type_printers.
3102 (find_global_typedef): Update to call apply_ext_lang_type_printers.
3103 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
3104 (type_print_options): Change type of global_printers from "void *"
3105 to "struct ext_lang_type_printers *".
3107 * value.c (preserve_values): Update to call preserve_ext_lang_values.
3108 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
3109 (gdbpy_preserve_values): Renamed from preserve_python_values.
3111 (!HAVE_PYTHON, preserve_python_values): Delete.
3113 * utils.c (quit_flag): Delete, moved to extension.c.
3114 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
3117 * eval.c: Delete #include "python/python.h".
3118 * main.c: Delete #include "python/python.h".
3120 * defs.h: Update comment.
3122 2014-02-06 Joel Brobecker <brobecker@adacore.com>
3126 2014-02-05 Mark Kettenis <kettenis@gnu.org>
3128 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
3131 2014-02-05 Yao Qi <yao@codesourcery.com>
3133 * remote.c (remote_pass_signals): Remove local 'buf' and use
3135 (remote_program_signals): Likewise.
3137 2014-02-05 Yao Qi <yao@codesourcery.com>
3139 * ctf.c: Include "inferior.h" and "gdbthread.h".
3140 (CTF_PID): A new macro.
3141 (ctf_open): Call inferior_appeared and add_thread_silent.
3142 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
3143 (ctf_thread_alive): New function.
3144 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
3146 2014-02-05 Yao Qi <yao@codesourcery.com>
3150 2013-05-24 Yao Qi <yao@codesourcery.com>
3152 * tracepoint.c (TFILE_PID): Remove.
3153 (tfile_open): Don't add thread and inferior.
3154 (tfile_close): Don't set 'inferior_ptid'. Don't call
3155 exit_inferior_silent.
3156 (tfile_thread_alive): Remove.
3157 (init_tfile_ops): Don't set field 'to_thread_alive' of
3160 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
3162 * remote.c (remote_start_remote): Call remote_check_symbols even
3163 if only symbol-file (not file) has been given.
3165 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3167 * gdbarch.sh (skip_entrypoint): New callback.
3168 * gdbarch.c, gdbarch.h: Regenerate.
3169 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
3170 * infrun.c (fill_in_stop_func): Likewise.
3171 * ppc-linux-tdep.c: Include "elf/ppc64.h".
3172 (ppc_elfv2_elf_make_msymbol_special): New function.
3173 (ppc_elfv2_skip_entrypoint): Likewise.
3174 (ppc_linux_init_abi): Install them for ELFv2.
3176 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3178 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
3179 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
3180 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
3181 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
3182 structures returned in GPRs.
3184 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3186 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
3187 offset to the stack parameter list for the ELFv2 ABI.
3189 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3191 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
3192 set_gdbarch_convert_from_func_ptr_addr and
3193 set_gdbarch_elf_make_msymbol_special for ELFv1.
3194 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
3195 function descriptors on ELFv1.
3196 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
3197 set up r12 at function entry.
3199 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3201 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
3202 (struct gdbarch_tdep): New member elf_abi.
3204 * rs6000-tdep.c: Include "elf/ppc64.h".
3205 (rs6000_gdbarch_init): Detect ELF ABI version.
3207 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3209 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
3210 within a register pair holding a DFP 128-bit value on little-endian.
3211 (ppc64_sysv_abi_return_value_base): Likewise.
3212 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
3213 (dfp_pseudo_register_write): Likewise.
3215 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3217 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
3218 offset on little-endian when passing _Decimal32.
3219 (ppc64_sysv_abi_return_value_base): Likewise for return values.
3221 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3223 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
3224 of the overlapped FP register within the VSX register on little-
3226 (efpr_pseudo_register_write): Likewise.
3228 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3230 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
3231 offset on little-endian when passing small structures.
3233 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3235 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
3236 (struct ppc64_sysv_argpos): New data structure.
3237 (ppc64_sysv_abi_push_float): Remove.
3238 (ppc64_sysv_abi_push_val): New function.
3239 (ppc64_sysv_abi_push_integer): Likewise.
3240 (ppc64_sysv_abi_push_freg): Likewise.
3241 (ppc64_sysv_abi_push_vreg): Likewise.
3242 (ppc64_sysv_abi_push_param): Likewise.
3243 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
3244 (ppc64_sysv_abi_return_value_base): New function.
3245 (ppc64_sysv_abi_return_value): Refactor to use it.
3247 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3249 * NEWS: Document new target powerpc64le-*-linux*.
3251 2014-02-04 Mark Kettenis <kettenis@gnu.org>
3253 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
3254 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
3256 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
3257 register set used in ELF core dumps. Add floating-point register set.
3259 2014-02-03 Kevin Buettner <kevinb@redhat.com>
3261 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
3262 dwarf2_to_gdb[] table using symbolic constants. Adjust
3263 penultimate entry from number representing the PC register
3264 to symbolic constant representing the MDR register. Add
3265 constant for the PC register to the end of the table.
3267 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3269 * bsd-kvm.c: Include <sys/param.h>
3271 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3273 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
3275 2014-01-31 Joel Brobecker <brobecker@adacore.com>
3277 * ada-lang.h (clear_ada_sym_cache): Delete.
3279 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
3281 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
3283 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3285 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
3286 the sigreturn register save area only if the syscall is
3289 2014-01-29 Joel Brobecker <brobecker@adacore.com>
3291 * valops.c (value_slice): Minor reformatting.
3293 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
3295 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
3297 2014-01-28 Joel Brobecker <brobecker@adacore.com>
3299 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
3301 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
3302 (ada_ignore_descriptive_types_p): New static global.
3303 (find_parallel_type_by_descriptive_type): Return immediately
3304 if ada_ignore_descriptive_types_p is set.
3305 (_initialize_ada_language): Register new commands "maintenance
3306 set ada", "maintenance show ada", "maintenance set ada
3307 ignore-descriptive-types" and "maintenance show ada
3308 ignore-descriptive-types".
3309 * NEWS: Add entry for new "maint ada set/show
3310 ignore-descriptive-types" commands.
3312 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
3314 * record-btrace.c (record_btrace_close): Call btrace_teardown
3317 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3319 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
3322 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3324 * ada-typeprint (type_is_full_subrange_of_target_type):
3326 (print_range): Add parameter bounds_prefered_p. If not set,
3327 try printing range types using the name of their base type.
3328 (print_range_type): Add parameter bounds_prefered_p.
3329 Use it in call to print_range.
3330 (print_array_type, ada_print_type): Update calls to print_range
3331 and print_range_type.
3333 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3335 * ada-typeprint.c (print_array_type, print_choices, print_range)
3336 (print_range_bound, print_dynamic_range_bound, print_range_type):
3339 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3341 * ada-typeprint.c (print_range): Add missing empty line
3342 after local declaration.
3344 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3346 * ada-valprint.c (print_optional_low_bound): Get index_type's
3347 target type for as long as it is a TYPE_CODE_RANGE.
3349 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3351 * procfs.c (procfs_make_note_section): Remove assertion and
3354 2014-01-24 Yao Qi <yao@codesourcery.com>
3356 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
3357 * corelow.c (get_core_siginfo): Likewise.
3359 2014-01-24 Yao Qi <yao@codesourcery.com>
3361 * remote.c (remote_write_bytes_aux): Change type of 'len' to
3362 ULONGEST. Don't check 'len' is negative.
3363 (remote_write_bytes): Change type of 'len' to ULONGEST.
3365 2014-01-23 Tom Tromey <tromey@redhat.com>
3368 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
3369 Handle exception from frame.block.
3370 (FrameVars.fetch_frame_locals): Likewise.
3372 2014-01-23 Tom Tromey <tromey@redhat.com>
3375 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
3376 on a NULL pointer. Move "goto error" to correct place.
3378 2014-01-23 Tom Tromey <tromey@redhat.com>
3381 * python/py-framefilter.c (apply_frame_filter): Call
3382 ensure_python_env after computing gdbarch.
3384 2014-01-23 Yao Qi <yao@codesourcery.com>
3386 * target.c (raw_memory_xfer_partial): Change argument type
3387 from void * to gdb_byte *.
3388 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
3390 2014-01-22 Doug Evans <dje@google.com>
3392 New gdbserver option --debug-format=timestamp.
3395 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3397 * syscalls/s390x-linux.xml: New file.
3398 * syscalls/s390-linux.xml: New file.
3399 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
3400 (XML_SYSCALL_FILENAME_S390X): Likewise.
3401 (op_svc): New enum value for SVC opcode.
3402 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
3403 (s390_linux_get_syscall_number): New function.
3404 (s390_gdbarch_init): Register '*get_syscall_number' and the
3405 syscall xml file name.
3406 * data-directory/Makefile.in (SYSCALLS_FILES): Add
3407 "s390-linux.xml" and "s390x-linux.xml".
3408 * NEWS: Announce new feature.
3410 2014-01-22 Baruch Siach <baruch@tkos.co.il>
3412 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
3414 2014-01-22 Pedro Alves <palves@redhat.com>
3416 * xtensa-config.c: Include defs.h.
3418 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3420 * common/common-utils.h: Add "ARI:" comment beside __func__
3423 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3425 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
3426 documentation a bit.
3428 2014-01-21 Roland McGrath <mcgrathr@google.com>
3430 * configure.ac: Call AM_PROG_INSTALL_STRIP.
3431 * configure: Regenerate.
3432 * aclocal.m4: Regenerate.
3433 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
3434 New substituted variables.
3435 (install-strip): New target.
3436 (INSTALL_SCRIPT): New substituted variable.
3437 (FLAGS_TO_PASS): Add it.
3438 (install-only): Use $(INSTALL_SCRIPT) rather than
3439 $(INSTALL_PROGRAM) for gcore.
3441 2014-01-20 Tom Tromey <tromey@redhat.com>
3443 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
3446 2014-01-20 Tom Tromey <tromey@redhat.com>
3448 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
3449 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
3450 (deprecated_cmd_warning, complete_on_cmdlist): Update.
3451 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
3452 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3453 (struct cmd_list_element) <flags>: Remove.
3454 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3455 doc_allocated>: New fields.
3456 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3458 * maint.c (maintenance_do_deprecate): Update.
3459 * top.c (execute_command): Update.
3461 2014-01-20 Baruch Siach <baruch@tkos.co.il>
3463 * xtensa-linux-nat.c: Include asm/ptrace.h.
3465 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3467 * Makefile.in (SFILES): Add d-support.c.
3468 (COMMON_OBS): Add d-support.o.
3469 * d-lang.h (d_parse_symbol): Add comment, now defined in
3471 * d-lang.c (parse_call_convention)
3472 (parse_attributes, parse_function_types)
3473 (parse_function_args, parse_type, parse_identifier)
3474 (call_convention_p, d_parse_symbol): Move functions to ...
3475 * d-support.c: ... New file.
3477 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3479 * d-lang.h (d_parse_symbol): Add declaration.
3480 * d-lang.c (extract_identifiers)
3481 (extract_type_info): Remove functions.
3482 (parse_call_convention, parse_attributes)
3483 (parse_function_types, parse_function_args)
3484 (parse_type, parse_identifier, call_convention_p)
3485 (d_parse_symbol): New functions.
3486 (d_demangle): Use d_parse_symbol to demangle D symbols.
3488 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3490 * d-lang.h (struct builtin_d_type): New data type.
3491 (builtin_d_type): Add declaration.
3492 * d-lang.c (d_language_arch_info, build_d_types)
3493 (builtin_d_type): New functions.
3494 (enum d_primitive_types): New data type.
3495 (d_language_defn): Change c_language_arch_info to
3496 d_language_arch_info.
3497 (d_type_data): New static variable.
3498 (_initialize_d_language): Initialize d_type_data.
3500 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3502 * d-lang.h (d_main_name): Add declaration.
3503 * d-lang.c (d_main_name): New function.
3504 * symtab.c (find_main_name): Add call to d_main_name.
3506 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3508 * d-lang.c (d_language_defn): Change macro_expansion_c to
3511 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3513 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3515 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3517 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3518 gdb_exception" declaration.
3519 * remote.c (getpkt_or_notif_sane): Likewise.
3521 2014-01-17 Doug Evans <dje@google.com>
3523 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3524 function, contents of dirnames_to_char_ptr_vec_append moved here.
3525 (delim_string_to_char_ptr_vec): New function.
3526 (dirnames_to_char_ptr_vec_append): Rewrite.
3527 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3529 2014-01-17 Doug Evans <dje@google.com>
3531 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3533 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3534 #include "common-utils.h".
3535 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3536 * common/vec.h (VEC_ASSERT_PASS): Update.
3537 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3538 (MACH_CHECK_ERROR): Update.
3540 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3542 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3544 * gdbarch.h: Regenerate.
3546 2014-01-16 Tom Tromey <tromey@redhat.com>
3548 * value.c (struct value) <regnum>: Move earlier.
3550 2014-01-16 Tom Tromey <tromey@redhat.com>
3552 * remote.c (extended_remote_create_inferior): Rename from
3553 extended_remote_create_inferior_1. Add "ops" argument. Remove
3556 2014-01-16 Pedro Alves <palves@redhat.com>
3558 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3559 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3562 2014-01-16 Doug Evans <dje@google.com>
3564 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3566 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3568 * btrace.h (btrace_thread_flag): New.
3569 (struct btrace_thread_info) <flags>: New.
3570 * record-btrace.c (record_btrace_resume_thread)
3571 (record_btrace_find_thread_to_move, btrace_step_no_history)
3572 (btrace_step_stopped, record_btrace_start_replaying)
3573 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3574 (record_btrace_find_resume_thread): New.
3575 (record_btrace_resume, record_btrace_wait): Extend.
3576 (record_btrace_can_execute_reverse): New.
3577 (record_btrace_open): Fail in non-stop mode.
3578 (record_btrace_set_replay): Split into this, ...
3579 (record_btrace_stop_replaying): ... this, ...
3580 (record_btrace_clear_histories): ... and this.
3581 (init_record_btrace_ops): Init to_can_execute_reverse.
3582 * NEWS: Announce it.
3584 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3586 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3587 (forward_target_decr_pc_after_break)
3588 (target_decr_pc_after_break): New.
3589 * target.c (forward_target_decr_pc_after_break)
3590 (target_decr_pc_after_break): New.
3591 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3592 instead of gdbarch_decr_pc_after_break.
3593 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3594 instead of gdbarch_decr_pc_after_break.
3595 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3596 instead of gdbarch_decr_pc_after_break.
3597 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3598 instead of gdbarch_decr_pc_after_break.
3599 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3600 instead of gdbarch_decr_pc_after_break.
3601 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3602 instead of gdbarch_decr_pc_after_break.
3604 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3606 * btrace.c: Include regcache.h.
3607 (btrace_add_pc): New.
3608 (btrace_enable): Call btrace_add_pc.
3609 (btrace_is_empty): New.
3610 * btrace.h (btrace_is_empty): New.
3611 * record-btrace.c (require_btrace, record_btrace_info): Call
3614 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3616 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3617 Support delta reads.
3618 (linux_disable_btrace): Change return type.
3619 * common/linux-btrace.h (linux_read_btrace): Change parameters
3620 and return type to allow error reporting. Update users.
3621 (linux_disable_btrace): Change return type. Update users.
3622 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3624 (btrace_error): New.
3625 (btrace_block) <begin>: Comment on BEGIN == 0.
3626 * btrace.c (btrace_compute_ftrace): Start from the end of
3628 (btrace_stitch_trace, btrace_clear_history): New.
3629 (btrace_fetch): Read delta trace, return if replaying.
3630 (btrace_clear): Move clear history code to btrace_clear_history.
3631 (parse_xml_btrace): Throw an error if parsing failed.
3632 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3633 and return type to allow error reporting.
3634 (target_read_btrace): Change parameters and return type to allow
3636 * target.c (target_read_btrace): Update.
3637 * remote.c (remote_read_btrace): Support delta reads. Pass
3639 * NEWS: Announce it.
3641 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3643 * record.h (record_btrace_frame_unwind)
3644 (record_btrace_tailcall_frame_unwind): New declarations.
3645 * dwarf2-frame: Include record.h
3646 (dwarf2_frame_cfa): Throw an error for btrace frames.
3647 * record-btrace.c: Include hashtab.h.
3648 (btrace_get_bfun_name): New.
3649 (btrace_call_history): Call btrace_get_bfun_name.
3650 (struct btrace_frame_cache): New.
3652 (bfcache_hash, bfcache_eq, bfcache_new): New.
3653 (btrace_get_frame_function): New.
3654 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3655 (record_btrace_frame_this_id): Compute own id.
3656 (record_btrace_frame_prev_register): Provide PC, throw_error
3657 for all other registers.
3658 (record_btrace_frame_sniffer): Detect btrace frames.
3659 (record_btrace_tailcall_frame_sniffer): New.
3660 (record_btrace_frame_dealloc_cache): New.
3661 (record_btrace_frame_unwind): Add new functions.
3662 (record_btrace_tailcall_frame_unwind): New.
3663 (_initialize_record_btrace): Allocate cache.
3664 * btrace.c (btrace_clear): Call reinit_frame_cache.
3665 * NEWS: Announce it.
3667 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3669 * record-btrace.c (record_btrace_set_replay)
3670 (record_btrace_goto_begin, record_btrace_goto_end)
3671 (record_btrace_goto): New.
3672 (init_record_btrace_ops): Initialize them.
3673 * NEWS: Announce it.
3675 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3677 * record-btrace.c (record_btrace_find_new_threads)
3678 (record_btrace_thread_alive): New.
3679 (init_record_btrace_ops): Initialize to_find_new_threads and
3682 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3684 * record-btrace.c (record_btrace_resume): New.
3685 (record_btrace_wait): New.
3686 (init_record_btrace_ops): Initialize to_wait and to_resume.
3688 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3690 * record-btrace.c (record_btrace_xfer_partial)
3691 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3692 (record_btrace_allow_memory_access): New.
3693 (init_record_btrace_ops): Initialize new methods.
3694 * target.c (raw_memory_xfer_partial): Bail out if target reports
3695 that this memory is not available.
3697 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3699 * target.h (target_ops) <to_insert_breakpoint>
3700 <to_remove_breakpoint>: Add target_ops parameter.
3701 (forward_target_insert_breakpoint): New.
3702 (forward_target_remove_breakpoint): New.
3703 (memory_remove_breakpoint, memory_insert_breakpoint):
3704 Add target_ops parameter.
3705 * target.c (target_insert_breakpoint): Split into this and ...
3706 (forward_target_insert_breakpoint): ... this.
3707 (target_remove_breakpoint): Split into this and ...
3708 (forward_target_remove_breakpoint): ... this.
3709 (debug_to_insert_breakpoint): Add target_ops parameter.
3710 Call forward_target_insert_breakpoint.
3711 (debug_to_remove_breakpoint): Add target_ops parameter.
3712 Call forward_target_remove_breakpoint.
3713 (update_current_target): Do not inherit or default to_insert_breakpoint
3714 and to_remove_breakpoint.
3715 * corelow.c (ignore): Add target_ops parameter.
3716 * exec.c (ignore): Add target_ops parameter.
3717 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3718 Add target_ops parameter.
3719 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3720 Add target_ops parameter.
3721 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3722 Add target_ops parameter.
3723 * record-full.c (record_full_beneath_to_insert_breakpoint)
3724 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3725 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3726 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
3727 (record_full_core_remove_breakpoint): Add target_ops parameter.
3729 (record_full_beneath_to_insert_breakpoint_ops)
3730 (record_full_beneath_to_remove_breakpoint_ops)
3731 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
3732 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
3733 tmp_to_remove_breakpoint_ops,
3734 record_full_beneath_to_insert_breakpoint_ops, and
3735 record_full_beneath_to_remove_breakpoint_ops.
3736 * remote-m32r-sdi.c (m32r_insert_breakpoint)
3737 (m32r_remove_breakpoint): Add target_ops parameter.
3738 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
3739 Add target_ops parameter.
3740 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
3741 Add target_ops parameter.
3743 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3744 Markus Metzger <markus.t.metzger@intel.com>
3746 * record-btrace.c: Include frame-unwind.h.
3747 (record_btrace_frame_unwind_stop_reason)
3748 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
3749 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
3751 (init_record_btrace_ops): Install it.
3753 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3755 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
3758 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3760 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
3763 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3765 * frame-unwind.c: Include target.h.
3766 (frame_unwind_try_unwinder): New function with code from ...
3767 (frame_unwind_find_by_frame): ... here. New variable
3768 unwinder_from_target, call also target_get_unwinder)
3769 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
3770 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
3771 * target.h (struct target_ops): New fields to_get_unwinder and
3772 to_get_tailcall_unwinder.
3773 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
3775 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3777 * record-btrace.c (record_btrace_fetch_registers)
3778 (record_btrace_store_registers)
3779 (record_btrace_to_prepare_to_store): New.
3780 (init_record_btrace_ops): Add the above.
3782 2014-01-16 Tom Tromey <tromey@redhat.com>
3784 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
3785 * target.h (struct target_ops) <to_prepare_to_store>: Add
3787 (target_prepare_to_store): Add argument.
3788 * target.c (debug_to_prepare_to_store): Add argument.
3789 (update_current_target): Update.
3790 * remote.c (remote_prepare_to_store): Add 'self' argument.
3791 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
3792 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
3793 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
3794 * record-full.c (record_full_core_prepare_to_store): Add 'self'
3796 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
3797 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
3798 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
3799 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
3800 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
3802 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3804 * btrace.h (replay) <replay>: New.
3805 (btrace_is_replaying): New.
3806 * btrace.c (btrace_clear): Free replay iterator.
3807 (btrace_is_replaying): New.
3808 * record-btrace.c (record_btrace_is_replaying): New.
3809 (record_btrace_info): Print insn number if replaying.
3810 (record_btrace_insn_history): Start at replay position.
3811 (record_btrace_call_history): Start at replay position.
3812 (init_record_btrace_ops): Init to_record_is_replaying.
3814 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3816 * record-btrace.c (record_btrace_insn_history_range): Include
3818 (record_btrace_insn_history_from): Adjust range.
3819 (record_btrace_call_history_range): Include
3821 (record_btrace_call_history_from): Adjust range.
3822 * NEWS: Announce changes.
3824 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3826 * record.h (enum record_print_flag)
3827 <record_print_indent_calls>: New.
3828 * record.c (get_call_history_modifiers): Recognize /c modifier.
3829 (_initialize_record): Document /c modifier.
3830 * record-btrace.c (btrace_call_history): Add btinfo parameter.
3831 Reorder fields. Optionally indent the function name. Update
3833 * NEWS: Announce changes.
3835 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3837 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
3839 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3841 * btrace.c (ftrace_new_function): Start counting at one.
3842 * record-btrace.c (record_btrace_info): Adjust number of calls
3844 * NEWS: Announce it.
3846 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3848 * record-btrace.c (btrace_call_history_insn_range): Print
3849 insn range as [begin, end].
3851 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3853 * btrace.h (struct btrace_func_link): New.
3854 (enum btrace_function_flag): New.
3855 (struct btrace_inst): Rename to ...
3856 (struct btrace_insn): ...this. Update all users.
3857 (struct btrace_func) <ibegin, iend>: Remove.
3858 (struct btrace_func_link): New.
3859 (struct btrace_func): Rename to ...
3860 (struct btrace_function): ...this. Update all users.
3861 (struct btrace_function) <segment, flow, up, insn, insn_offset)
3862 (number, level, flags>: New.
3863 (struct btrace_insn_iterator): Rename to ...
3864 (struct btrace_insn_history): ...this.
3866 (struct btrace_insn_iterator, btrace_call_iterator): New.
3867 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
3868 (struct btrace_target_info) <begin, end, level>
3869 <insn_history, call_history>: New.
3870 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3871 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3872 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3873 (btrace_call_number, btrace_call_begin, btrace_call_end)
3874 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3875 (btrace_find_function_by_number, btrace_set_insn_history)
3876 (btrace_set_call_history): New.
3877 * btrace.c (btrace_init_insn_iterator)
3878 (btrace_init_func_iterator, compute_itrace): Remove.
3879 (ftrace_print_function_name, ftrace_print_filename)
3880 (ftrace_skip_file): Change
3882 (ftrace_init_func): Remove.
3883 (ftrace_debug): Use new btrace_function fields.
3884 (ftrace_function_switched): Also consider gaining and
3885 losing symbol information).
3886 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
3887 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
3888 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
3890 (ftrace_new_function): Move. Remove debug print.
3891 (ftrace_update_lines, ftrace_update_insns): New.
3892 (ftrace_update_function): Check for call, ret, and jump.
3893 (compute_ftrace): Renamed to ...
3894 (btrace_compute_ftrace): ...this. Rewritten to compute call
3896 (btrace_fetch, btrace_clear): Updated.
3897 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
3898 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
3899 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
3900 (btrace_call_number, btrace_call_begin, btrace_call_end)
3901 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
3902 (btrace_find_function_by_number, btrace_set_insn_history)
3903 (btrace_set_call_history): New.
3904 * record-btrace.c (require_btrace): Use new btrace thread
3906 (record_btrace_info, btrace_insn_history)
3907 (record_btrace_insn_history, record_btrace_insn_history_range):
3908 Use new btrace thread info fields and new iterator.
3909 (btrace_func_history_src_line): Rename to ...
3910 (btrace_call_history_src_line): ...this. Use new btrace
3912 (btrace_func_history): Rename to ...
3913 (btrace_call_history): ...this. Use new btrace thread info
3914 fields and new iterator.
3915 (record_btrace_call_history, record_btrace_call_history_range):
3916 Use new btrace thread info fields and new iterator.
3918 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3920 * frame.h (frame_id_build_unavailable_stack_special): New.
3921 * frame.c (frame_id_build_unavailable_stack_special): New.
3923 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3925 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
3926 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
3927 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
3929 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
3930 (i386_insn_is_jump, i386_jmp_p): New.
3931 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
3932 insn_is_jump to gdbarch.
3933 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
3934 * gdbarch.h: Regenerated.
3935 * gdbarch.c: Regenerated.
3936 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
3937 (default_insn_is_jump): New.
3938 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
3939 (default_insn_is_jump): New.
3941 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3943 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
3945 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
3946 (btrace_read_type) <btrace_read_new>: Change to ...
3947 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
3949 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3951 * common/linux-btrace.c (linux_read_btrace): Free trace from
3954 2014-01-15 Doug Evans <dje@google.com>
3956 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
3959 2014-01-15 Tom Tromey <tromey@redhat.com>
3961 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
3962 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
3963 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
3964 (set_objfile_main_name): New function.
3965 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
3966 language_of_main>: New fields.
3967 (set_objfile_main_name): Declare.
3968 * symtab.c (find_main_name): Loop over objfiles to find the main
3970 (set_main_name): Now static.
3971 (get_main_info): Add comment.
3972 * symtab.h (set_main_name): Don't declare.
3974 2014-01-15 Tom Tromey <tromey@redhat.com>
3976 * symtab.c (main_progspace_key): New global.
3977 (struct main_info): New.
3978 (name_of_main, language_of_main): Remove.
3979 (get_main_info, main_info_cleanup): New function.
3980 (set_main_name, main_name, main_language): Use get_main_info.
3981 (_initialize_symtab): Initialize main_progspace_key.
3983 2014-01-15 Tom Tromey <tromey@redhat.com>
3985 * dbxread.c (process_one_symbol): Update.
3986 * dwarf2read.c (read_partial_die): Update.
3987 * symfile.c (set_initial_language): Call main_language.
3988 * symtab.c (language_of_main): Now static.
3989 (set_main_name): Add 'lang' parameter.
3990 (find_main_name): Update.
3991 (main_language): New function.
3992 (symtab_observer_executable_changed): Update.
3993 * symtab.h (set_main_name): Update.
3994 (language_of_main): Remove.
3995 (main_language): Declare.
3997 2014-01-15 Tom Tromey <tromey@redhat.com>
3999 * symfile.c (init_entry_point_info): Use new "initialized" field.
4001 * objfiles.h (struct entry_point) <initialized>: New field.
4002 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
4003 (struct objfile) <ei>: ...here. Remove.
4004 * objfiles.c (entry_point_address_query): Update.
4006 2014-01-15 Tom Tromey <tromey@redhat.com>
4008 * objfiles.c (entry_point_address_query): Relocate entry point
4010 (objfile_relocate1): Do not relocate entry point address.
4011 * objfiles.h (struct entry_info) <entry_point>: Update comment.
4012 <the_bfd_section_index>: New field.
4013 * symfile.c (init_entry_point_info): Find the entry point's
4016 2014-01-15 Tom Tromey <tromey@redhat.com>
4018 * solib-frv.c (enable_break): Use entry_point_address_query.
4020 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4022 * NEWS: Add note on improved process record-replay on
4023 arm*-linux* targets.
4025 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4027 * arm-tdep.c (enum arm_record_result): New enum.
4028 (arm_record_unsupported_insn): New function.
4029 (arm_record_coproc_data_proc): Removed.
4030 (thumb2_record_ld_st_multiple): New function.
4031 (thumb2_record_ld_st_dual_ex_tbb): New function.
4032 (thumb2_record_data_proc_sreg_mimm): New function.
4033 (thumb2_record_ps_dest_generic): New function.
4034 (thumb2_record_branch_misc_cntrl): New function.
4035 (thumb2_record_str_single_data): New function.
4036 (thumb2_record_ld_mem_hints): New function.
4037 (thumb2_record_ld_word): New function.
4038 (thumb2_record_lmul_lmla_div): New function.
4039 (thumb2_record_decode_insn_handler): New function.
4040 (decode_insn): Add thumb32 instruction handlers.
4042 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4044 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
4045 (struct arm_linux_record_tdep): Declare.
4046 (arm_canonicalize_syscall): New function.
4047 (arm_all_but_pc_registers_record): New function.
4048 (arm_linux_syscall_record): New function.
4049 (arm_linux_init_abi): Add syscall recording constructs.
4050 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
4051 decoding. (arm_record_coproc_data_proc): Update arm syscall
4053 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
4054 <arm_syscall_record>: New field.
4055 * configure.tgt (arm*-*-linux*): Add linux-record.o to
4058 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4060 * arm-tdep.c (thumb_record_misc): Update to use sp as base
4061 register for push instruction recording.
4063 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4065 * arm-tdep.c (thumb_record_misc): Update to correct logical
4066 error while recording ldm, ldmia and pop instructions.
4068 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4070 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
4072 2014-01-15 Pedro Alves <palves@redhat.com>
4074 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
4075 (go32_resume, go32_fetch_registers, store_register)
4076 (go32_store_registers, go32_prepare_to_store)
4077 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
4078 (go32_create_inferior, go32_can_run, go32_terminal_init)
4079 (go32_terminal_inferior, go32_terminal_ours): Delete forward
4082 2014-01-15 Tom Tromey <tromey@redhat.com>
4084 * target.h (async_callback_ftype): New typedef.
4085 (struct target_ops) <to_async>: Use it.
4087 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4089 * python/py-value.c (get_field_type): Remove unnecessary curly
4090 braces for single-statement if block.
4092 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4094 * python/py-type.c (convert_field): Add missing empty line
4097 2014-01-14 Doug Evans <dje@google.com>
4099 * symfile.h (expand_symtabs_matching): Renamed from
4100 expand_partial_symbol_names. Update prototype.
4101 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4102 * symfile.c (expand_symtabs_matching): Renamed from
4103 expand_partial_symbol_names. New args file_matcher, kind.
4104 Rename arg fun to symbol_matcher.
4105 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4106 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
4107 ada_expand_partial_symbol_name.
4108 (ada_make_symbol_completion_list): Update to call
4109 expand_symtabs_matching.
4110 (ada_add_global_exceptions): Call expand_symtabs_matching.
4111 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
4112 call map_symbol_filenames.
4113 * symtab.c (sources_info): Update to call map_symbol_filenames.
4114 (search_symbols): Call expand_symtabs_matching.
4115 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
4116 (default_make_symbol_completion_list_break_on): Update to call
4117 expand_symtabs_matching.
4118 (make_source_files_completion_list): Update to call
4119 map_symbol_filenames.
4121 2014-01-14 Doug Evans <dje@google.com>
4123 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
4124 (expand_symtabs_symbol_matcher_ftype): New typedef.
4125 (quick_symbol_functions.expand_symtabs_matching): Update to use.
4126 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4127 * symfile.c (expand_partial_symbol_names): Update to use
4128 expand_symtabs_symbol_matcher_ftype.
4129 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
4130 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4131 Arg name_matcher renamed to symbol_matcher.
4132 * psymtab.c (recursively_search_psymtabs): Update to use
4133 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
4135 (expand_symtabs_matching_via_partial): Update to use
4136 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4137 Arg name_matcher renamed to symbol_matcher.
4139 2014-01-14 Doug Evans <dje@google.com>
4141 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
4142 (map_partial_symbol_filenames): Ditto.
4143 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
4144 (map_partial_symbol_filenames): Ditto.
4145 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
4146 (map_partial_symbol_filenames): Ditto.
4147 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
4148 (map_partial_symbol_filenames): Ditto.
4149 * symtab.c: Delete #include "psymtab.h".
4151 2014-01-14 Pedro Alves <palves@redhat.com>
4152 Tom Tromey <tromey@redhat.com>
4154 * infrun.c (use_displaced_stepping): Use find_record_target
4155 instead of RECORD_IS_USED.
4156 (adjust_pc_after_break): Use record_full_is_used instead of
4158 * record-btrace.c (record_btrace_open): Call record_preopen
4159 instead of checking RECORD_IS_USED.
4160 * record-full.c (record_full_shortname)
4161 (record_full_core_shortname): New globals.
4162 (record_full_is_used): New function.
4163 (find_full_open): Call record_preopen instead of checking
4165 (init_record_full_ops): Set the target's shortname to
4166 record_full_shortname.
4167 (init_record_full_core_ops): Set the target's shortname to
4168 record_full_core_shortname.
4169 * record-full.h (record_full_is_used): Declare.
4170 * record.c (find_record_target): Make extern.
4171 (record_preopen): New function.
4172 * record.h (RECORD_IS_USED): Delete macro.
4173 (find_record_target, record_preopen): Declare functions.
4175 2014-01-14 Yao Qi <yao@codesourcery.com>
4177 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
4178 'len''s type to ULONGEST.
4179 (core_xfer_shared_libraries_aix): Likewise.
4180 * gdbarch.c, gdbarch.h: Regenerated.
4181 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
4182 Change type of 'len' to ULONGEST.
4183 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4184 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
4186 2014-01-14 Yao Qi <yao@codesourcery.com>
4188 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
4189 type of 'len' to ULONGEST.
4190 (linux_xfer_osdata_processgroups): Likewise.
4191 (linux_xfer_osdata_threads): Likewise.
4192 (linux_xfer_osdata_fds): Likewise.
4193 (linux_xfer_osdata_isockets): Likewise.
4194 (linux_xfer_osdata_shm): Likewise.
4195 (linux_xfer_osdata_sem): Likewise.
4196 (linux_xfer_osdata_msg): Likewise.
4197 (linux_common_xfer_osdata): Likewise.
4198 (struct osdata_type) <getter>: Likewise.
4199 * common/linux-osdata.h (linux_common_xfer_osdata): Update
4202 2014-01-14 Yao Qi <yao@codesourcery.com>
4204 * target.h (target_xfer_partial_ftype): Update.
4205 (struct target_ops) <to_xfer_partial>: Change 'len' type to
4207 * aix-thread.c (aix_thread_xfer_partial): Change type of
4208 argument 'len' to ULONGEST.
4209 * auxv.c (procfs_xfer_auxv): Likewise.
4210 (ld_so_xfer_auxv): Likewise.
4211 (memory_xfer_auxv): Likewise.
4212 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4213 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4214 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4215 * corelow.c (core_xfer_partial): Likewise.
4216 * ctf.c (ctf_xfer_partial): Likewise.
4217 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
4219 (darwin_read_dyld_info): Likewise.
4220 (darwin_xfer_partial): Likewise.
4221 * exec.c (section_table_xfer_memory_partial): Likewise.
4222 (exec_xfer_partial): Likewise.
4223 * exec.h (section_table_xfer_memory_partial): Update
4225 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
4226 instead of plongest.
4227 (gnu_xfer_partial): Likewise.
4228 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
4229 (ia64_hpux_xfer_solib_got): Likewise.
4230 (ia64_hpux_xfer_partial): Likewise.
4231 * ia64-linux-nat.c (ia64_linux_xfer_partial):
4232 * inf-ptrace.c (inf_ptrace_xfer_partial):
4233 * inf-ttrace.c (inf_ttrace_xfer_partial):
4234 * linux-nat.c (linux_xfer_siginfo): Likewise.
4235 (linux_nat_xfer_partial): Likewise.
4236 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
4237 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
4238 * monitor.c (monitor_xfer_memory): Likewise.
4239 (monitor_xfer_partial): Likewise.
4240 * procfs.c (procfs_xfer_partial): Likewise.
4241 * record-full.c (record_full_xfer_partial): Likewise.
4242 (record_full_core_xfer_partial): Likewise.
4243 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
4244 instead of plongest.
4245 (gdbsim_xfer_partial): Likewise.
4246 * remote.c (remote_xfer_partial): Likewise.
4247 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4248 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4250 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4251 (rs6000_xfer_shared_libraries): Likewise.
4252 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4253 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4254 (sparc_xfer_partial): Likewise.
4255 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4256 (spu_xfer_partial): Likewise.
4257 * spu-multiarch.c (spu_xfer_partial): Likewise.
4258 * target.c (target_read_live_memory): Likewise.
4259 (memory_xfer_live_readonly_partial): Likewise.
4260 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
4261 (target_xfer_partial, default_xfer_partial): Likewise.
4262 (current_xfer_partial): Likewise.
4263 * tracepoint.c (tfile_xfer_partial): Likewise.
4264 * windows-nat.c (windows_xfer_memory): Likewise. Call
4265 pulongest instead of plongest.
4266 (windows_xfer_partial): Likewise.
4267 (windows_xfer_shared_libraries): Likewise.
4269 2014-01-14 Yao Qi <yao@codesourcery.com>
4271 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
4272 target_xfer_partial_ftype.
4274 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4278 * valops.c (value_struct_elt_bitpos): New function
4279 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
4280 object to 'None' if the field name is an empty string ("").
4281 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
4282 attribute to look for a field when 'name' is 'None'.
4283 (get_field_type): New function
4285 2014-01-13 Doug Evans <dje@google.com>
4288 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
4289 (try_open_dwop_file): Ditto.
4290 * gdb_bfd.c: #include "vec.h".
4291 (bfdp): New typedef.
4292 (struct gdb_bfd_data): New member included_bfds.
4293 (gdb_bfd_unref): Unref all included bfds.
4294 (gdb_bfd_record_inclusion): New function.
4295 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
4297 2014-01-13 Tom Tromey <tromey@redhat.com>
4299 * gdbcore.h (deprecated_core_resize_section_table): Remove.
4301 2014-01-13 Tom Tromey <tromey@redhat.com>
4303 * defs.h (use_windows): Remove.
4304 * gdb.c (main): Update.
4305 * main.c (captured_main, gdb_main): Update.
4306 * main.h (struct captured_main_args) <use_windows>: Remove.
4307 * top.c (use_windows): Remove.
4309 2014-01-13 Tom Tromey <tromey@redhat.com>
4311 * defs.h (deprecated_flush_hook): Remove.
4313 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4316 * linux-thread-db.c (try_thread_db_load): Add parameter
4317 check_auto_load_safe. Move here the file_is_auto_load_safe call.
4318 (try_thread_db_load_from_pdir_1): Move it there from here.
4319 (try_thread_db_load_from_sdir): Update caller.
4320 (try_thread_db_load_from_dir): Move it there from here.
4322 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
4324 * regformats/regdat.sh: Always rewrite the register file.
4326 2014-01-13 Pedro Alves <palves@redhat.com>
4328 * Makefile.in (CHECK_HEADERS): New variable.
4329 (check-headers:): New rule.
4331 2014-01-13 Tom Tromey <tromey@redhat.com>
4333 * cli/cli-setshow.c (do_set_command): Update.
4334 * defs.h (deprecated_set_hook): Remove.
4335 * top.c (deprecated_set_hook): Remove.
4337 2014-01-13 Pedro Alves <palves@redhat.com>
4339 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
4340 the tracepoint if the PC is a pseudo-register.
4342 2014-01-13 Tom Tromey <tromey@redhat.com>
4344 * defs.h (XCALLOC): Remove.
4345 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
4346 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
4347 * dwarf2loc.c (allocate_piece_closure): Likewise.
4348 * elfread.c (elf_symfile_segments): Likewise.
4349 (elf_symfile_segments): Likewise.
4350 * gdbtypes.c (copy_type_recursive): Likewise.
4351 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
4352 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
4353 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
4355 * mt-tdep.c (mt_gdbarch_init): Likewise.
4356 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
4358 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
4359 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
4360 * registry.c (registry_alloc_data): Likewise.
4361 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
4362 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
4363 * serial.c (serial_fdopen_ops): Likewise.
4364 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
4366 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
4367 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
4370 2014-01-13 Tom Tromey <tromey@redhat.com>
4372 * defs.h (XMALLOC): Remove.
4373 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
4374 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
4375 * cli-out.c (struct ui_out *): Likewise.
4376 * cli/cli-dump.c (add_dump_command): Likewise.
4377 (add_dump_command): Likewise.
4378 * complaints.c (get_complaints): Likewise.
4379 (find_complaint): Likewise.
4380 * dwarf2-frame.c (execute_cfa_program): Likewise.
4381 * dwarf2read.c (abbrev_table_read_table): Likewise.
4382 * gdbarch.sh: Likewise.
4383 * gdbarch.c: Rebuild.
4384 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
4385 * interps.c (interp_new): Likewise.
4386 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
4387 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
4388 * mi/mi-console.c (mi_console_file_new): Likewise.
4389 * mi/mi-interp.c (mi_interpreter_init): Likewise.
4390 * mi/mi-out.c (mi_out_new): Likewise.
4391 * mi/mi-parse.c (mi_parse): Likewise.
4392 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
4393 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
4394 * observer.c (xalloc_observer_list_node): Likewise.
4395 * regcache.c (regcache_xmalloc_1): Likewise.
4396 * reggroups.c (reggroup_new): Likewise.
4397 (_initialize_reggroup): Likewise.
4398 * registry.c (register_data_with_cleanup): Likewise.
4399 * remote.c (remote_notif_stop_alloc_reply): Likewise.
4400 * ser-base.c (serial_ttystate): Likewise.
4401 * ser-mingw.c (make_pipe_state): Likewise.
4402 * ser-pipe.c (pipe_open): Likewise.
4403 * serial.c (serial_open): Likewise.
4404 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
4405 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
4406 (tui_alloc_win_info): Likewise.
4407 (tui_add_content_elements): Likewise.
4408 * tui/tui-file.c (tui_file_new): Likewise.
4409 * tui/tui-out.c (tui_out_new): Likewise.
4410 * ui-file.c (mem_file_new): Likewise.
4411 * ui-out.c (push_level): Likewise.
4412 (make_cleanup_ui_out_end): Likewise.
4413 (append_header_to_list): Likewise.
4414 (ui_out_new): Likewise.
4415 * user-regs.c (user_reg_add_builtin): Likewise.
4417 2014-01-13 Tom Tromey <tromey@redhat.com>
4419 * defs.h (XZALLOC): Remove.
4420 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
4421 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
4422 (get_ada_tasks_inferior_data): Likewise.
4423 * auto-load.c (get_auto_load_pspace_data): Likewise.
4424 * auxv.c (get_auxv_inferior_data): Likewise.
4425 * bfd-target.c (target_bfd_reopen): Likewise.
4426 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
4427 (deprecated_insert_raw_breakpoint): Likewise.
4428 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
4429 * corelow.c (core_open): Likewise.
4430 * darwin-nat.c (darwin_check_new_threads): Likewise.
4431 (darwin_attach_pid): Likewise.
4432 * dummy-frame.c (dummy_frame_push): Likewise.
4433 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
4434 * dwarf2loc.c (allocate_piece_closure): Likewise.
4435 * elfread.c (elf_symfile_segments): Likewise.
4436 * eval.c (ptrmath_type_p): Likewise.
4437 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
4438 * gdbtypes.c (alloc_type_arch): Likewise.
4439 (alloc_type_instance): Likewise.
4440 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
4441 * inf-child.c (inf_child_can_use_agent): Likewise.
4442 * inflow.c (get_inflow_inferior_data): Likewise.
4443 * infrun.c (save_infcall_suspend_state): Likewise.
4444 * jit.c (jit_reader_load): Likewise.
4445 (get_jit_objfile_data): Likewise.
4446 (get_jit_program_space_data): Likewise.
4447 (jit_object_open_impl): Likewise.
4448 (jit_symtab_open_impl): Likewise.
4449 (jit_block_open_impl): Likewise.
4450 (jit_frame_sniffer): Likewise.
4451 * linux-fork.c (add_fork): Likewise.
4452 * maint.c (make_command_stats_cleanup): Likewise.
4453 * objfiles.c (get_objfile_pspace_data): Likewise.
4454 * opencl-lang.c (struct lval_closure): Likewise.
4455 * osdata.c (osdata_start_osdata): Likewise.
4456 * progspace.c (new_address_space): Likewise.
4457 (add_program_space): Likewise.
4458 * remote-sim.c (get_sim_inferior_data): Likewise.
4459 * sh-tdep.c (sh_gdbarch_init): Likewise.
4460 * skip.c (Ignore): Likewise.
4461 (skip_delete_command): Likewise.
4462 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4463 (library_list_start_library): Likewise.
4464 (solib_aix_current_sos): Likewise.
4465 * solib-darwin.c (get_darwin_info): Likewise.
4466 (darwin_current_sos): Likewise.
4467 * solib-dsbt.c (get_dsbt_info): Likewise.
4468 * solib-ia64-hpux.c (new_so_list): Likewise.
4469 (ia64_hpux_get_solib_linkage_addr): Likewise.
4470 * solib-spu.c (append_ocl_sos): Likewise.
4471 (spu_current_sos): Likewise.
4472 * solib-svr4.c (get_svr4_info): Likewise.
4473 (svr4_keep_data_in_core): Likewise.
4474 (library_list_start_library): Likewise.
4475 (svr4_default_sos): Likewise.
4476 (svr4_read_so_list): Likewise.
4477 * solib-target.c (library_list_start_library): Likewise.
4478 (solib_target_current_sos): Likewise.
4479 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4480 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4481 * symfile.c (default_symfile_segments): Likewise.
4482 * target-descriptions.c (tdesc_data_init): Likewise.
4483 (tdesc_create_reg): Likewise.
4484 (struct tdesc_type *): Likewise.
4485 (tdesc_create_vector): Likewise.
4486 (tdesc_set_struct_size): Likewise.
4487 (struct tdesc_type *): Likewise.
4488 (tdesc_free_feature): Likewise.
4489 (tdesc_create_feature): Likewise.
4490 * windows-nat.c (windows_add_thread): Likewise.
4491 (windows_make_so): Likewise.
4492 * xml-support.c (gdb_xml_body_text): Likewise.
4493 (gdb_xml_create_parser_and_cleanup): Likewise.
4494 (xml_process_xincludes): Likewise.
4495 * xml-syscall.c (allocate_syscalls_info): Likewise.
4496 (syscall_create_syscall_desc): Likewise.
4498 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4500 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4501 function, with code from i386_stap_parse_special_token.
4502 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4503 (i386_stap_parse_special_token): Move code to the two functions
4506 2014-01-09 Pedro Alves <palves@redhat.com>
4507 Hui Zhu <hui@codesourcery.com>
4510 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4511 bp_err_string. Don't mark the location shlib_disabled if the
4512 error thrown wasn't a generic or memory error. Catch errors
4513 thrown while inserting breakpoints in overlayed code. Output
4514 error message of software breakpoints.
4515 * remote.c (remote_insert_breakpoint): If this breakpoint has
4516 target-side commands but this stub doesn't support Z0 packets,
4517 throw NOT_SUPPORTED_ERROR error.
4518 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4519 * target.h (target_insert_breakpoint): Extend comment.
4520 (target_insert_hw_breakpoint): Add comment.
4522 2014-01-08 Pedro Alves <palves@redhat.com>
4524 * remote.c (remote_add_thread): Add threads silently if starting
4526 (remote_notice_new_inferior): If in all-stop, and starting up,
4527 don't call notice_new_inferior.
4528 (get_current_thread): New function, factored out from ...
4529 (add_current_inferior_and_thread): ... this. Adjust.
4530 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4531 found any thread, then select the remote's current thread as GDB's
4534 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4536 * NEWS: Create a new section for the next release branch.
4537 Rename the section of the current branch, now that it has
4540 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4542 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4543 * version.in: Bump version to 7.7.50.DATE-cvs.
4545 2014-01-08 Yao Qi <yao@codesourcery.com>
4547 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4548 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4549 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4551 2014-01-08 Yao Qi <yao@codesourcery.com>
4553 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4554 return value of bfd_get_filename to symbol_file_add_from_bfd.
4556 2014-01-08 Pierre Muller <muller@sourceware.org>
4559 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4560 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4561 to prim_record_mininal_symbol_and_info.
4562 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4563 in call to prim_record_minimal_symbol_and_info.
4564 (read_pe_exported_syms): Set index field of section_data.
4566 2014-01-07 Andrew Pinski <apinski@cavium.com>
4568 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4569 * features/aarch64.c: Regenerate.
4571 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4573 * target.c (return_null): Define.
4574 (update_current_target): Use it instead of return_zero for
4575 functions that return a pointer.
4577 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4579 * source.c (add_path): Fix check for duplicated paths in the previously
4582 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4584 * ada-lang.c: Remove duplicated include statements.
4585 * alphabsd-nat.c: Ditto.
4586 * amd64-darwin-tdep.c: Ditto.
4587 * amd64fbsd-nat.c: Ditto.
4588 * auto-load.c: Ditto.
4590 * breakpoint.c: Ditto.
4592 * fork-child.c: Ditto.
4593 * gdb_usleep.c: Ditto.
4594 * i386-darwin-tdep.c: Ditto.
4595 * i386fbsd-nat.c: Ditto.
4597 * inferior.c: Ditto.
4599 * linux-nat.c: Ditto.
4600 * linux-tdep.c: Ditto.
4601 * m68kbsd-nat.c: Ditto.
4602 * m68klinux-nat.c: Ditto.
4603 * microblaze-tdep.c: Ditto.
4604 * mips-linux-tdep.c: Ditto.
4605 * mn10300-tdep.c: Ditto.
4606 * nto-tdep.c: Ditto.
4607 * opencl-lang.c: Ditto.
4609 * printcmd.c: Ditto.
4610 * regcache.c: Ditto.
4611 * remote-m32r-sdi.c: Ditto.
4615 * tilegx-linux-nat.c: Ditto.
4616 * tilegx-tdep.c: Ditto.
4617 * tracepoint.c: Ditto.
4619 * vaxbsd-nat.c: Ditto.
4620 * windows-nat.c: Ditto.
4621 * xtensa-tdep.c: Ditto.
4623 2014-01-07 Yao Qi <yao@codesourcery.com>
4625 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4627 2014-01-07 Yao Qi <yao@codesourcery.com>
4628 Joel Brobecker <brobecker@adacore.com>
4630 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4631 (pdc_write_regs): Likewise.
4632 (fetch_regs_kernel_thread): Likewise.
4633 (store_regs_kernel_thread): Likewise.
4635 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4637 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4638 tagged type objects to their actual type.
4640 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4642 * ada-valprint.c (print_field_values): Add "language" parameter.
4643 Update calls to print_field_values and print_variant_part.
4644 Pass new parameter "language" in call to val_print instead
4645 of "current_language". Replace call to ada_val_print by call
4647 (print_variant_part): Add "language" parameter.
4648 (ada_val_print_struct_union): Update call to print_field_values.
4650 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4652 * ada-valprint.c (ui_memcpy): Delete.
4653 (ada_print_floating): Update documentation. Add empty line
4654 between between function documentation and implementation.
4655 Delete variable "buffer". Use ui_file_xstrdup in place of
4656 ui_file_put. Minor adjustments following this change.
4658 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4660 * ada-valprint.c (ada_val_print_string): New function,
4661 extracted from ada_val_print_array.
4662 (ada_val_print_array): Replace extracted code by call
4663 to ada_val_print_string followed by a return. Move
4664 "else" branch to the function's top block.
4666 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4668 * ada-valprint.c (ada_val_print_array): Move implementation
4669 down. Rename parameter "offset" and "val" into "offset_aligned"
4670 and "original_value" respectively. Add parameter "offset".
4672 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4674 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4675 re-organizing the code. Change the "???" message printed
4676 when target type is a TYPE_CODE_UNDEF into
4677 "<ref to undefined type>".
4679 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4681 * ada-valprint.c (print_record): Delete, implementation inlined...
4682 (ada_val_print_struct_union): ... here. Remove call to
4683 ada_check_typedef in inlined implementation.
4685 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4687 * ada-valprint.c (ada_val_print_gnat_array): New function,
4688 extracted from ada_val_print_1;
4689 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4690 (ada_val_print_flt, ada_val_print_struct_union)
4691 (ada_val_print_ref): Likewise.
4692 (ada_val_print_1): Delete variables i and elttype.
4693 Replace extracted-out code by call to corresponding
4696 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4698 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4700 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4702 * ada-valprint.c (ada_val_print_1): Replace calls to
4703 ada_val_print_1 by calls to val_print.
4705 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4707 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4708 Update calls to self accordingly. Replace calls to c_val_print
4709 by calls to val_print.
4711 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4713 * ada-valprint.c (print_record): Delete declaration.
4714 (adjust_type_signedness, ada_val_print_1): Likewise.
4715 (ada_val_print): Move function implementation down.
4716 (print_variant_part, print_field_values, print_record):
4717 Move function implementation up.
4719 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4721 * python/py-type.c (typy_get_name): New function.
4722 (type_object_getset): Add entry for attribute "name".
4723 * NEWS: Add entry mentioning this new attribute.
4725 2014-01-07 Yao Qi <yao@codesourcery.com>
4727 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
4730 2014-01-07 Yao Qi <yao@codesourcery.com>
4732 * gnu-nat.c (info_port_rights): Add qualifier const to
4735 2014-01-07 Yao Qi <yao@codesourcery.com>
4737 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
4739 2014-01-07 Yao Qi <yao@codesourcery.com>
4741 * gnu-nat.c (make_inf) Update declaration.
4742 (make_inf): Make it static.
4743 (inf_set_traced): Likewise.
4744 (inf_port_to_thread, inf_task_died_status): Likewise.
4746 2014-01-07 Yao Qi <yao@codesourcery.com>
4748 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
4750 2014-01-07 Yao Qi <yao@codesourcery.com>
4752 * gnu-nat.c (_initialize_gnu_nat): Declare.
4754 2014-01-07 Yao Qi <yao@codesourcery.com>
4756 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
4758 (struct gdbarch_info) <byte_order>: Change type to
4760 <byte_order_for_code>: Likewise.
4761 * gdbarch.c, gdbarch.h: Regenerated.
4763 2014-01-06 Sasha Smundak <asmundak@google.com>
4765 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
4767 2014-01-06 Tom Tromey <tromey@redhat.com>
4769 * doublest.c (convert_doublest_to_floatformat): Use const, not
4771 * somread.c (som_symtab_read): Likewise.
4773 2014-01-07 Hui Zhu <hui@codesourcery.com>
4775 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
4776 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
4777 (gdb_bfd_fopen): Ditto.
4778 (gdb_bfd_openr): Ditto.
4779 (gdb_bfd_openw): Ditto.
4780 (gdb_bfd_openr_iovec): Ditto.
4781 (gdb_bfd_fdopenr): Ditto.
4782 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
4783 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
4785 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
4787 * symfile-mem.c (symbol_file_add_from_memory): Removed
4788 gdb_bfd_stash_filename.
4790 2014-01-03 Doug Evans <dje@google.com>
4792 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
4795 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4797 Update year range in copyright notice of all files.
4799 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4801 * top.c (print_gdb_version): Set copyright year to 2014.
4803 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4805 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
4807 For older changes see ChangeLog-2013.
4813 version-control: never