1 2014-02-24 Yao Qi <yao@codesourcery.com>
3 * target.c (target_xfer_status_to_string): Rename argument err
5 * target.h (target_xfer_status_to_string): Update declaration.
6 Replace target_xfer_error_to_string with
7 target_xfer_status_to_string in comment.
9 2014-02-24 Yao Qi <yao@codesourcery.com>
11 * mips-linux-nat.c (super_close): Update its type.
12 (mips_linux_close): Pass 'self' to super_close.
14 2014-02-24 Yao Qi <yao@codesourcery.com>
16 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
17 * corefile.c (read_memory): Adjusted.
18 * target.c (target_write_with_progress): Adjusted.
20 2014-02-23 Yao Qi <yao@codesourcery.com>
24 2013-10-25 Yao Qi <yao@codesourcery.com>
26 * remote.c (remote_traceframe_info): Return early if
27 traceframe is not selected.
29 2013-07-19 Yao Qi <yao@codesourcery.com>
31 * target.c (update_current_target): Change the default action
32 of 'to_traceframe_info' from tcomplain to return_zero.
33 * target.h (struct target_ops) <to_traceframe_info>: Add more
36 2014-02-23 Yao Qi <yao@codesourcery.com>
38 * valops.c (read_value_memory): Rewrite it. Call
39 target_xfer_partial in a loop.
40 * exec.h (section_table_available_memory): Remove declaration.
42 * exec.c (section_table_available_memory): ... here. Make it
45 2014-02-23 Yao Qi <yao@codesourcery.com>
47 * exec.c (section_table_read_available_memory): New function.
48 * exec.h (section_table_read_available_memory): Declare.
49 * ctf.c (ctf_xfer_partial): Call
50 section_table_read_available_memory.
51 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
53 2014-02-23 Yao Qi <yao@codesourcery.com>
55 * ctf.c (ctf_xfer_partial): Move code to ...
56 * exec.c (exec_read_partial_read_only): ... it. New function.
57 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
58 * tracefile.c: Include "exec.h".
59 * exec.h (exec_read_partial_read_only): Declare.
61 2014-02-23 Yao Qi <yao@codesourcery.com>
63 * tracefile-tfile.c (tfile_has_all_memory): Remove.
64 (tfile_has_memory): Remove.
65 (init_tfile_ops): Don't set fields to_has_all_memory and
66 to_has_memory of tfile_ops.
67 * tracefile.c (tracefile_has_all_memory): New function.
68 (tracefile_has_memory): New function.
69 (init_tracefile_ops): Initialize fields to_has_all_memory and
70 to_has_memory of 'ops'.
72 2014-02-23 Yao Qi <yao@codesourcery.com>
74 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
75 (ctf_thread_alive, ctf_get_trace_status): Remove.
76 (init_ctf_ops): Don't set some fields of ctf_ops. Call
78 * tracefile-tfile.c (tfile_get_trace_status): Remove.
79 (tfile_has_stack, tfile_has_registers): Remove.
80 (tfile_thread_alive): Remove.
81 (init_tfile_ops): Don't set some fields of tfile_ops. Call
83 * tracefile.c (tracefile_has_stack): New function.
84 (tracefile_has_registers): New function.
85 (tracefile_thread_alive): New function.
86 (tracefile_get_trace_status): New function.
87 (init_tracefile_ops): New function.
88 * tracefile.h (init_tracefile_ops): Declare.
90 2014-02-23 Yao Qi <yao@codesourcery.com>
92 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
93 (O_LARGEFILE): Likewise.
94 (tfile_ops): Likewise.
95 (TRACE_HEADER_SIZE): Likewise.
96 (trace_fd, trace_frames_offset, cur_offset): Likewise.
97 (cur_data_size): Likewise.
98 (tfile_read, tfile_open, tfile_interp_line): Likewise.
99 (tfile_close, tfile_files_info): Likewise.
100 (tfile_get_trace_status): Likewise.
101 (tfile_get_tracepoint_status): Likewise.
102 (tfile_get_traceframe_address): Likewise.
103 (tfile_trace_find, match_blocktype): Likewise.
104 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
105 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
106 (tfile_get_trace_state_variable_value): Likewise.
107 (tfile_has_all_memory, tfile_has_memory): Likewise.
108 (tfile_has_stack, tfile_has_registers): Likewise.
109 (tfile_thread_alive, build_traceframe_info): Likewise.
110 (tfile_traceframe_info, init_tfile_ops): Likewise.
111 (_initialize_tracepoint): Don't call init_tfile_ops
112 and add_target_with_completer.
113 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
114 exec.h, completer.h and filenames.h.
115 (_initialize_tracefile_tfile): New function.
117 2014-02-23 Yao Qi <yao@codesourcery.com>
119 * Makefile.in (REMOTE_OBS): Append tracefile.o and
121 (HFILES_NO_SRCDIR): Add tracefile.h.
122 * ctf.c: Include "tracefile.h".
123 * tracefile.h: New file.
124 * tracefile.c: New file
125 * tracefile-tfile.c: New file.
126 * tracepoint.c: Include "tracefile.h".
127 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
128 (stop_reason_names): Add const.
129 (trace_file_writer_xfree): Move it to tracefile.c.
130 (trace_save, trace_save_command, trace_save_tfile): Likewise.
131 (trace_save_ctf): Likewise.
132 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
133 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
134 (tfile_write_header, tfile_write_regblock_type): Likewise.
135 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
136 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
137 (tfile_write_raw_data, tfile_end): Likewise.
138 (tfile_trace_file_writer_new): Likewise.
139 (free_uploaded_tp): Make it extern.
140 (free_uploaded_tsv): Make it extern.
141 (_initialize_tracepoint): Move code to register command 'tsave'
143 * tracepoint.h (stop_reason_names): Declare.
144 (struct trace_frame_write_ops): Move it to tracefile.h.
145 (struct trace_file_write_ops): Likewise.
146 (struct trace_file_writer): Likewise.
147 (free_uploaded_tsvs, free_uploaded_tps): Declare.
149 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
152 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
154 (get_cores_used_by_process): New parameter num_cores, use it.
155 (linux_xfer_osdata_processes): Pass num_cores to it.
156 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
159 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
161 * target.c (memory_xfer_partial): Fix length arg in call to
162 breakpoint_xfer_memory.
164 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
167 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
168 number comes after the + or - signs. Adjust length of register
169 name to be extracted.
171 2014-02-20 Tom Tromey <tromey@redhat.com>
173 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
174 (ada_varobj_ops): Mark "extern".
176 2014-02-20 Tom Tromey <tromey@redhat.com>
178 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
180 2014-02-20 Doug Evans <xdje42@gmail.com>
182 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
184 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
186 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
187 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
189 2014-02-20 lin zuojian <manjian2006@gmail.com>
190 Joel Brobecker <brobecker@adacore.com>
191 Doug Evans <xdje42@gmail.com>
194 * dwarf2read.c (struct die_info): New member in_process.
195 (reset_die_in_process): New function.
196 (process_die): Set it at the start, reset when returning.
197 (inherit_abstract_dies): Only call process_die if origin_child_die
198 not already being processed.
200 2014-02-20 Joel Brobecker <brobecker@adacore.com>
202 * windows-nat.c (handle_unload_dll): Add function documentation.
203 (do_initial_windows_stuff): Add comment explaining why we wait
204 until after inferior initialization has finished before
207 2014-02-20 Joel Brobecker <brobecker@adacore.com>
209 * windows-nat.c (get_module_name): Delete.
210 (windows_get_exec_module_filename): New function, mostly
211 inspired from get_module_name.
212 (windows_pid_to_exec_file): Replace call to get_module_name
213 by call to windows_get_exec_module_filename.
215 2014-02-20 Joel Brobecker <brobecker@adacore.com>
217 * windows-nat.c (handle_load_dll): Rewrite this function's
218 introductory comment. Remove code using get_module_name
219 to get the DLL's name.
221 2014-02-20 Joel Brobecker <brobecker@adacore.com>
223 * windows-nat.c (get_windows_debug_event): Ignore
224 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
225 if windows_initialization_done == 0.
226 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
227 Adjust implementation to always load all DLLs.
228 (do_initial_windows_stuff): Replace call to
229 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
231 2014-02-20 Joel Brobecker <brobecker@adacore.com>
233 * windows-nat.c (_initialize_windows_nat): Deprecate the
234 "dll-symbols" command. Turn the "add-shared-symbol-files"
235 and "assf" aliases into commands, and deprecate them as well.
236 * NEWS: Add entry explaining that "dll-symbols" and its two
237 aliases are now deprecated.
239 2014-02-20 Joel Brobecker <brobecker@adacore.com>
241 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
242 new-line in debug string. Remove trailing spaces.
244 2014-02-19 Stan Shebs <stan@codesourcery.com>
246 * darwin-nat.c (darwin_xfer_partial): Fix return type.
248 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
250 * NEWS: Add entry for the new feature
251 * python/py-value.c (valpy_binop): Call value_x_binop for struct
254 2014-02-19 Stan Shebs <stan@codesourcery.com>
256 * MAINTAINERS: List Yao Qi as nios2 maintainer.
258 2014-02-19 Pedro Alves <palves@redhat.com>
260 * common/ptid.h (struct ptid): Mention that process_stratum
261 targets should prefer ptid.lwp.
263 2014-02-19 Pedro Alves <palves@redhat.com>
265 * remote.c (remote_thread_alive, write_ptid, read_ptid)
266 (read_ptid, remote_newthread_step, remote_threads_extra_info)
267 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
268 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
269 store remote thread ids rather than ptid.tid.
270 (_initialize_remote): Adjust.
272 2014-02-19 Tom Tromey <tromey@redhat.com>
274 * target.c (target_get_unwinder): Rewrite.
275 (target_get_tailcall_unwinder): Rewrite.
276 * record-btrace.c (record_btrace_to_get_unwinder): New function.
277 (record_btrace_to_get_tailcall_unwinder): New function.
278 (init_record_btrace_ops): Update.
279 * target.h (struct target_ops) <to_get_unwinder,
280 to_get_tailcall_unwinder>: Now function pointers. Use
281 TARGET_DEFAULT_RETURN.
283 2014-02-19 Tom Tromey <tromey@redhat.com>
285 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
287 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
289 2014-02-19 Tom Tromey <tromey@redhat.com>
291 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
293 * target-delegates.c: Rebuild.
294 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
296 * target.c (default_target_decr_pc_after_break): Rename from
297 forward_target_decr_pc_after_break. Simplify.
298 (target_decr_pc_after_break): Rely on delegation.
300 2014-02-19 Tom Tromey <tromey@redhat.com>
302 * target.c (update_current_target): Do not INHERIT to_doc or
303 to_magic. Do not de_fault to_open or to_close.
305 2014-02-19 Tom Tromey <tromey@redhat.com>
307 * gcore.h (objfile_find_memory_regions): Declare.
308 * gcore.c (objfile_find_memory_regions): No longer static. Add
310 (_initialize_gcore): Don't call exec_set_find_memory_regions.
311 * exec.c: Include gcore.h.
312 (exec_set_find_memory_regions): Remove.
313 (exec_find_memory_regions): Remove.
314 (exec_do_find_memory_regions): Remove.
315 (init_exec_ops): Update.
316 * defs.h (exec_set_find_memory_regions): Remove.
318 2014-02-19 Tom Tromey <tromey@redhat.com>
320 * target-delegates.c: Rebuild.
321 * target.h (struct target_ops) <to_extra_thread_info,
322 to_thread_name, to_pid_to_exec_file, to_get_section_table,
323 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
324 not 0, in TARGET_DEFAULT_RETURN.
326 2014-02-19 Tom Tromey <tromey@redhat.com>
328 * target.c (complete_target_initialization): Remove casts. Use
329 return_zero_has_execution.
330 (return_zero): Add "ignore" argument.
331 (return_zero_has_execution): New function.
332 (init_dummy_target): Remove casts. Use
333 return_zero_has_execution.
335 2014-02-19 Tom Tromey <tromey@redhat.com>
337 * target.c (update_current_target): Update comments. Do not
340 2014-02-19 Tom Tromey <tromey@redhat.com>
342 * arm-linux-nat.c (arm_linux_read_description): Delegate when
344 * corelow.c (core_read_description): Delegate when needed.
345 * remote.c (remote_read_description): Delegate when needed.
346 * target-delegates.c: Rebuild.
347 * target.c (target_read_description): Rewrite.
348 * target.h (struct target_ops) <to_read_description>: Update
349 comment. Use TARGET_DEFAULT_RETURN.
351 2014-02-19 Tom Tromey <tromey@redhat.com>
353 * target-delegates.c: Rebuild.
354 * target.c (update_current_target): Don't inherit or default
356 (find_default_run_target): Check against delegate_can_run.
357 * target.h (struct target_ops) <to_can_run>: Use
358 TARGET_DEFAULT_RETURN.
360 2014-02-19 Tom Tromey <tromey@redhat.com>
362 * target-delegates.c: Rebuild.
363 * target.c (target_disconnect): Unconditionally delegate.
364 * target.h (struct target_ops) <to_disconnect>: Use
365 TARGET_DEFAULT_NORETURN.
367 2014-02-19 Tom Tromey <tromey@redhat.com>
369 * record.c (record_stop): Unconditionally delegate.
370 * target-delegates.c: Rebuild.
371 * target.c (target_stop_recording): Unconditionally delegate.
372 * target.h (struct target_ops) <to_stop_recording>: Use
373 TARGET_DEFAULT_IGNORE.
375 2014-02-19 Tom Tromey <tromey@redhat.com>
377 * target-delegates.c: Rebuild.
378 * target.c (target_enable_btrace): Unconditionally delegate.
379 * target.h (struct target_ops) <to_enable_btrace>: Use
380 TARGET_DEFAULT_NORETURN.
382 2014-02-19 Tom Tromey <tromey@redhat.com>
384 * target-delegates.c: Rebuild.
385 * target.c (target_read_btrace): Unconditionally delegate.
386 * target.h (struct target_ops) <to_read_btrace>: Use
387 TARGET_DEFAULT_NORETURN.
389 2014-02-19 Tom Tromey <tromey@redhat.com>
391 * target-delegates.c: Rebuild.
392 * target.c (target_teardown_btrace): Unconditionally delegate.
393 * target.h (struct target_ops) <to_teardown_btrace>: Use
394 TARGET_DEFAULT_NORETURN.
396 2014-02-19 Tom Tromey <tromey@redhat.com>
398 * target-delegates.c: Rebuild.
399 * target.c (target_disable_btrace): Unconditionally delegate.
400 * target.h (struct target_ops) <to_disable_btrace>: Use
401 TARGET_DEFAULT_NORETURN.
403 2014-02-19 Tom Tromey <tromey@redhat.com>
405 * target-delegates.c: Rebuild.
406 * target.c (default_search_memory): New function.
407 (simple_search_memory): Update comment.
408 (target_search_memory): Unconditionally delegate.
409 * target.h (struct target_ops) <to_search_memory>: Use
412 2014-02-19 Tom Tromey <tromey@redhat.com>
414 * auxv.c (default_auxv_parse): No longer static.
415 (target_auxv_parse): Unconditionally delegate.
416 * auxv.h (default_auxv_parse): Declare.
417 * target-delegates.c: Rebuild.
418 * target.c: Include auxv.h.
419 * target.h (struct target_ops) <to_auxv_parse>: Use
422 2014-02-19 Tom Tromey <tromey@redhat.com>
424 * target-delegates.c: Rebuild.
425 * target.c (target_memory_map): Unconditionally delegate.
426 * target.h (struct target_ops) <to_memory_map>: Use
427 TARGET_DEFAULT_RETURN.
429 2014-02-19 Tom Tromey <tromey@redhat.com>
431 * target-delegates.c: Rebuild.
432 * target.c (target_thread_alive): Unconditionally delegate.
433 * target.h (struct target_ops) <to_thread_alive>: Use
434 TARGET_DEFAULT_RETURN.
436 2014-02-19 Tom Tromey <tromey@redhat.com>
438 * target-delegates.c: Rebuild.
439 * target.c (target_save_record): Unconditionally delegate.
440 * target.h (struct target_ops) <to_save_record>: Use
441 TARGET_DEFAULT_NORETURN.
443 2014-02-19 Tom Tromey <tromey@redhat.com>
445 * target-delegates.c: Rebuild.
446 * target.c (target_delete_record): Unconditionally delegate.
447 * target.h (struct target_ops) <to_delete_record>: Use
448 TARGET_DEFAULT_NORETURN.
450 2014-02-19 Tom Tromey <tromey@redhat.com>
452 * target-delegates.c: Rebuild.
453 * target.c (target_record_is_replaying): Unconditionally
455 * target.h (struct target_ops) <to_record_is_replaying>: Use
456 TARGET_DEFAULT_RETURN.
458 2014-02-19 Tom Tromey <tromey@redhat.com>
460 * target-delegates.c: Rebuild.
461 * target.c (target_goto_record_begin): Unconditionally delegate.
462 * target.h (struct target_ops) <to_goto_record_begin>: Use
463 TARGET_DEFAULT_NORETURN.
465 2014-02-19 Tom Tromey <tromey@redhat.com>
467 * target-delegates.c: Rebuild.
468 * target.c (target_goto_record_end): Unconditionally delegate.
469 * target.h (struct target_ops) <to_goto_record_end>: Use
470 TARGET_DEFAULT_NORETURN.
472 2014-02-19 Tom Tromey <tromey@redhat.com>
474 * target-delegates.c: Rebuild.
475 * target.c (target_goto_record): Unconditionally delegate.
476 * target.h (struct target_ops) <to_goto_record>: Use
477 TARGET_DEFAULT_NORETURN.
479 2014-02-19 Tom Tromey <tromey@redhat.com>
481 * target-delegates.c: Rebuild.
482 * target.c (target_insn_history): Unconditionally delegate.
483 * target.h (struct target_ops) <to_insn_history>: Use
484 TARGET_DEFAULT_NORETURN.
486 2014-02-19 Tom Tromey <tromey@redhat.com>
488 * target-delegates.c: Rebuild.
489 * target.c (target_insn_history_from): Unconditionally delegate.
490 * target.h (struct target_ops) <to_insn_history_from>: Use
491 TARGET_DEFAULT_NORETURN.
493 2014-02-19 Tom Tromey <tromey@redhat.com>
495 * target-delegates.c: Rebuild.
496 * target.c (target_insn_history_range): Unconditionally delegate.
497 * target.h (struct target_ops) <to_insn_history_range>: Use
498 TARGET_DEFAULT_NORETURN.
500 2014-02-19 Tom Tromey <tromey@redhat.com>
502 * target-delegates.c: Rebuild.
503 * target.c (target_call_history): Unconditionally delegate.
504 * target.h (struct target_ops) <to_call_history>: Use
505 TARGET_DEFAULT_NORETURN.
507 2014-02-19 Tom Tromey <tromey@redhat.com>
509 * target-delegates.c: Rebuild.
510 * target.c (target_call_history_from): Unconditionally delegate.
511 * target.h (struct target_ops) <to_call_history_from>: Use
512 TARGET_DEFAULT_NORETURN.
514 2014-02-19 Tom Tromey <tromey@redhat.com>
516 * target-delegates.c: Rebuild.
517 * target.c (target_call_history_range): Unconditionally delegate.
518 * target.h (struct target_ops) <to_call_history_range>: Use
519 TARGET_DEFAULT_NORETURN.
521 2014-02-19 Tom Tromey <tromey@redhat.com>
523 * target-delegates.c: Rebuild.
524 * target.c (target_verify_memory): Unconditionally delegate.
525 * target.h (struct target_ops) <to_verify_memory>: Use
526 TARGET_DEFAULT_NORETURN.
528 2014-02-19 Tom Tromey <tromey@redhat.com>
530 * target-delegates.c: Rebuild.
531 * target.c (target_core_of_thread): Unconditionally delegate.
532 * target.h (struct target_ops) <to_core_of_thread>: Use
533 TARGET_DEFAULT_RETURN.
535 2014-02-19 Tom Tromey <tromey@redhat.com>
537 * target-delegates.c: Rebuild.
538 * target.c (target_flash_done): Unconditionally delegate.
539 * target.h (struct target_ops) <to_flash_done>: Use
540 TARGET_DEFAULT_NORETURN.
542 2014-02-19 Tom Tromey <tromey@redhat.com>
544 * target-delegates.c: Rebuild.
545 * target.c (target_flash_erase): Unconditionally delegate.
546 * target.h (struct target_ops) <to_flash_erase>: Use
547 TARGET_DEFAULT_NORETURN.
549 2014-02-19 Tom Tromey <tromey@redhat.com>
551 * target-delegates.c: Rebuild.
552 * target.c (target_get_section_table): Unconditionally delegate.
553 * target.h (struct target_ops) <to_get_section_table>: Use
554 TARGET_DEFAULT_RETURN.
556 2014-02-19 Tom Tromey <tromey@redhat.com>
558 * target-delegates.c: Rebuild.
559 * target.c (target_pid_to_str): Unconditionally delegate.
560 (init_dummy_target): Don't initialize to_pid_to_str.
561 (default_pid_to_str): Rename from dummy_pid_to_str.
562 * target.h (struct target_ops) <to_pid_to_str>: Use
565 2014-02-19 Tom Tromey <tromey@redhat.com>
567 * target-delegates.c: Rebuild.
568 * target.c (target_find_new_threads): Unconditionally delegate.
569 * target.h (struct target_ops) <to_find_new_threads>: Use
570 TARGET_DEFAULT_RETURN.
572 2014-02-19 Tom Tromey <tromey@redhat.com>
574 * target-delegates.c: Rebuild.
575 * target.c (target_program_signals): Unconditionally delegate.
576 * target.h (struct target_ops) <to_program_signals>: Use
577 TARGET_DEFAULT_IGNORE.
579 2014-02-19 Tom Tromey <tromey@redhat.com>
581 * target-delegates.c: Rebuild.
582 * target.c (target_pass_signals): Unconditionally delegate.
583 * target.h (struct target_ops) <to_pass_signals>: Use
584 TARGET_DEFAULT_IGNORE.
586 2014-02-19 Tom Tromey <tromey@redhat.com>
588 * target-delegates.c: Rebuild.
589 * target.c (default_mourn_inferior): New function.
590 (target_mourn_inferior): Unconditionally delegate.
591 * target.h (struct target_ops) <to_mourn_inferior>: Use
594 2014-02-19 Tom Tromey <tromey@redhat.com>
596 * target-delegates.c: Rebuild.
597 * target.c (default_follow_fork): New function.
598 (target_follow_fork): Unconditionally delegate.
599 * target.h (struct target_ops) <to_follow_fork>: Use
602 2014-02-19 Tom Tromey <tromey@redhat.com>
604 * target-delegates.c: Rebuild.
605 * target.c (target_kill): Unconditionally delegate.
606 * target.h (struct target_ops) <to_kill>: Use
607 TARGET_DEFAULT_NORETURN.
609 2014-02-19 Tom Tromey <tromey@redhat.com>
611 * target-delegates.c: Rebuild.
612 * target.c (target_masked_watch_num_registers): Unconditionally
614 * target.h (struct target_ops) <to_masked_watch_num_registers>:
615 Use TARGET_DEFAULT_RETURN.
617 2014-02-19 Tom Tromey <tromey@redhat.com>
619 * target-delegates.c: Rebuild.
620 * target.c (target_remove_mask_watchpoint): Unconditionally
622 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
623 TARGET_DEFAULT_RETURN.
625 2014-02-19 Tom Tromey <tromey@redhat.com>
627 * target-delegates.c: Rebuild.
628 * target.c (target_insert_mask_watchpoint): Unconditionally
630 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
631 TARGET_DEFAULT_RETURN.
633 2014-02-19 Tom Tromey <tromey@redhat.com>
635 * target-delegates.c: Rebuild.
636 * target.c (target_ranged_break_num_registers): Unconditionally
638 * target.h (struct target_ops) <to_ranged_break_num_registers>:
639 Use TARGET_DEFAULT_RETURN.
641 2014-02-19 Tom Tromey <tromey@redhat.com>
643 * target-delegates.c: Rebuild.
644 * target.c (target_fetch_registers): Unconditionally delegate.
645 * target.h (struct target_ops) <to_fetch_registers>: Use
646 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
653 * target.h (struct target_ops) <to_stop>: Use
654 TARGET_DEFAULT_IGNORE.
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_can_run_breakpoint_commands.
661 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
662 Use TARGET_DEFAULT_RETURN.
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
668 to_supports_evaluation_of_breakpoint_conditions.
669 * target.h (struct target_ops)
670 <to_supports_evaluation_of_breakpoint_conditions>: Use
671 TARGET_DEFAULT_RETURN.
673 2014-02-19 Tom Tromey <tromey@redhat.com>
675 * target-delegates.c: Rebuild.
676 * target.c (update_current_target): Don't inherit or default
677 to_augmented_libraries_svr4_read.
678 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
679 Use TARGET_DEFAULT_RETURN.
681 2014-02-19 Tom Tromey <tromey@redhat.com>
683 * target-delegates.c: Rebuild.
684 * target.c (update_current_target): Don't inherit or default
686 * target.h (struct target_ops) <to_can_use_agent>: 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
694 * target.h (struct target_ops) <to_use_agent>: Use
695 TARGET_DEFAULT_NORETURN.
697 2014-02-19 Tom Tromey <tromey@redhat.com>
699 * target-delegates.c: Rebuild.
700 * target.c (update_current_target): Don't inherit or default
702 (return_null): Remove.
703 * target.h (struct target_ops) <to_traceframe_info>: Use
704 TARGET_DEFAULT_RETURN.
706 2014-02-19 Tom Tromey <tromey@redhat.com>
708 * target-delegates.c: Rebuild.
709 * target.c (update_current_target): Don't inherit or default
710 to_static_tracepoint_markers_by_strid.
711 * target.h (struct target_ops)
712 <to_static_tracepoint_markers_by_strid>: Use
713 TARGET_DEFAULT_NORETURN.
715 2014-02-19 Tom Tromey <tromey@redhat.com>
717 * target-delegates.c: Rebuild.
718 * target.c (update_current_target): Don't inherit or default
719 to_static_tracepoint_marker_at.
720 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
721 Use TARGET_DEFAULT_RETURN.
723 2014-02-19 Tom Tromey <tromey@redhat.com>
725 * target-delegates.c: Rebuild.
726 * target.c (update_current_target): Don't inherit or default
728 * target.h (struct target_ops) <to_set_permissions>: Use
729 TARGET_DEFAULT_IGNORE.
731 2014-02-19 Tom Tromey <tromey@redhat.com>
733 * target-delegates.c: Rebuild.
734 * target.c (update_current_target): Don't inherit or default
736 * target.h (struct target_ops) <to_get_tib_address>: Use
737 TARGET_DEFAULT_NORETURN.
739 2014-02-19 Tom Tromey <tromey@redhat.com>
741 * target-delegates.c: Rebuild.
742 * target.c (update_current_target): Don't inherit or default
744 * target.h (struct target_ops) <to_set_trace_notes>: Use
745 TARGET_DEFAULT_RETURN.
747 2014-02-19 Tom Tromey <tromey@redhat.com>
749 * target-delegates.c: Rebuild.
750 * target.c (update_current_target): Don't initialize
751 to_set_trace_buffer_size.
752 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
753 TARGET_DEFAULT_IGNORE.
755 2014-02-19 Tom Tromey <tromey@redhat.com>
757 * target-delegates.c: Rebuild.
758 * target.c (update_current_target): Don't inherit or default
759 to_set_circular_trace_buffer.
760 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
761 TARGET_DEFAULT_IGNORE.
763 2014-02-19 Tom Tromey <tromey@redhat.com>
765 * target-delegates.c: Rebuild.
766 * target.c (update_current_target): Don't inherit or default
767 to_set_disconnected_tracing.
768 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
769 TARGET_DEFAULT_IGNORE.
771 2014-02-19 Tom Tromey <tromey@redhat.com>
773 * target-delegates.c: Rebuild.
774 * target.c (update_current_target): Don't inherit or default
775 to_get_min_fast_tracepoint_insn_len.
776 (return_minus_one): Remove.
777 * target.h (struct target_ops)
778 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
780 2014-02-19 Tom Tromey <tromey@redhat.com>
782 * target-delegates.c: Rebuild.
783 * target.c (update_current_target): Don't inherit or default
784 to_get_raw_trace_data.
785 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
786 TARGET_DEFAULT_NORETURN.
788 2014-02-19 Tom Tromey <tromey@redhat.com>
790 * target-delegates.c: Rebuild.
791 * target.c (update_current_target): Don't inherit or default
792 to_upload_trace_state_variables.
793 * target.h (struct target_ops) <to_upload_trace_state_variables>:
794 Use TARGET_DEFAULT_RETURN.
796 2014-02-19 Tom Tromey <tromey@redhat.com>
798 * target-delegates.c: Rebuild.
799 * target.c (update_current_target): Don't inherit or default
800 to_upload_tracepoints.
801 * target.h (struct target_ops) <to_upload_tracepoints>: Use
802 TARGET_DEFAULT_RETURN.
804 2014-02-19 Tom Tromey <tromey@redhat.com>
806 * target-delegates.c: Rebuild.
807 * target.c (update_current_target): Don't inherit or default
809 * target.h (struct target_ops) <to_save_trace_data>: Use
810 TARGET_DEFAULT_NORETURN.
812 2014-02-19 Tom Tromey <tromey@redhat.com>
814 * target-delegates.c: Rebuild.
815 * target.c (update_current_target): Don't inherit or default
816 to_get_trace_state_variable_value.
817 * target.h (struct target_ops)
818 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
820 2014-02-19 Tom Tromey <tromey@redhat.com>
822 * target-delegates.c: Rebuild.
823 * target.c (update_current_target): Don't inherit or default
825 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
827 2014-02-19 Tom Tromey <tromey@redhat.com>
829 * target-delegates.c: Rebuild.
830 * target.c (update_current_target): Don't inherit or default
832 * target.h (struct target_ops) <to_trace_stop>: Use
833 TARGET_DEFAULT_NORETURN.
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_get_tracepoint_status.
840 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
841 TARGET_DEFAULT_NORETURN.
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
848 * target.h (struct target_ops) <to_get_trace_status>: 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
856 * target.h (struct target_ops) <to_trace_start>: Use
857 TARGET_DEFAULT_NORETURN.
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_trace_set_readonly_regions.
864 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
865 Use TARGET_DEFAULT_NORETURN.
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_disable_tracepoint.
872 * target.h (struct target_ops) <to_disable_tracepoint>: Use
873 TARGET_DEFAULT_NORETURN.
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
879 to_enable_tracepoint.
880 * target.h (struct target_ops) <to_enable_tracepoint>: 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
887 to_download_trace_state_variable.
888 * target.h (struct target_ops) <to_download_trace_state_variable>:
889 Use TARGET_DEFAULT_NORETURN.
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_can_download_tracepoint.
896 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
897 TARGET_DEFAULT_RETURN.
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
903 to_download_tracepoint.
904 * target.h (struct target_ops) <to_download_tracepoint>: Use
905 TARGET_DEFAULT_NORETURN.
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
912 * target.h (struct target_ops) <to_trace_init>: Use
913 TARGET_DEFAULT_RETURN.
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_supports_string_tracing.
920 * target.h (struct target_ops) <to_supports_string_tracing>: Use
921 TARGET_DEFAULT_RETURN.
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
927 to_supports_enable_disable_tracepoint.
928 * target.h (struct target_ops)
929 <to_supports_enable_disable_tracepoint>: Use
930 TARGET_DEFAULT_RETURN.
932 2014-02-19 Tom Tromey <tromey@redhat.com>
934 * target-delegates.c: Rebuild.
935 * target.c (update_current_target): Don't inherit or default
936 to_supports_multi_process.
937 * target.h (struct target_ops) <to_supports_multi_process>: Use
938 TARGET_DEFAULT_RETURN.
940 2014-02-19 Tom Tromey <tromey@redhat.com>
942 * target-delegates.c: Rebuild.
943 * target.c (update_current_target): Don't inherit or default
944 to_get_ada_task_ptid.
945 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
948 2014-02-19 Tom Tromey <tromey@redhat.com>
950 * target-delegates.c: Rebuild.
951 * target.c (update_current_target): Don't inherit or default
952 to_thread_architecture.
953 * target.h (struct target_ops) <to_thread_architecture>: Use
956 2014-02-19 Tom Tromey <tromey@redhat.com>
958 * target-delegates.c: Rebuild.
959 * target.c (update_current_target): Don't inherit or default
960 to_execution_direction.
961 * target.h (struct target_ops) <to_execution_direction>: Use
964 2014-02-19 Tom Tromey <tromey@redhat.com>
966 * target-delegates.c: Rebuild.
967 * target.c (update_current_target): Don't inherit or default
968 to_can_execute_reverse.
969 * target.h (struct target_ops) <to_can_execute_reverse>: Use
970 TARGET_DEFAULT_RETURN.
971 (target_can_execute_reverse): Unconditionally delegate.
973 2014-02-19 Tom Tromey <tromey@redhat.com>
975 * target-delegates.c: Rebuild.
976 * target.c (update_current_target): Don't inherit or default
978 (dummy_goto_bookmark): Remove.
979 (init_dummy_target): Don't inherit or default to_goto_bookmark.
980 * target.h (struct target_ops) <to_goto_bookmark>: Use
981 TARGET_DEFAULT_NORETURN.
983 2014-02-19 Tom Tromey <tromey@redhat.com>
985 * target-delegates.c: Rebuild.
986 * target.c (update_current_target): Don't inherit or default
988 (dummy_get_bookmark): Remove.
989 (init_dummy_target): Don't inherit or default to_get_bookmark.
990 * target.h (struct target_ops) <to_get_bookmark>: Use
991 TARGET_DEFAULT_NORETURN
993 2014-02-19 Tom Tromey <tromey@redhat.com>
995 * target-delegates.c: Rebuild.
996 * target.c (update_current_target): Don't inherit or default
997 to_make_corefile_notes.
998 (init_dummy_target): Don't initialize to_make_corefile_notes.
999 * target.h (struct target_ops) <to_make_corefile_notes>: Use
1000 TARGET_DEFAULT_FUNC.
1002 2014-02-19 Tom Tromey <tromey@redhat.com>
1004 * target-delegates.c: Rebuild.
1005 * target.c (update_current_target): Don't inherit or default
1006 to_find_memory_regions.
1007 (init_dummy_target): Don't initialize to_find_memory_regions.
1008 * target.h (struct target_ops) <to_find_memory_regions>: Use
1009 TARGET_DEFAULT_FUNC.
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_log_command>: Use
1017 TARGET_DEFAULT_IGNORE.
1018 (target_log_command): Unconditionally delegate.
1020 2014-02-19 Tom Tromey <tromey@redhat.com>
1022 * target-delegates.c: Rebuild.
1023 * target.c (update_current_target): Don't inherit or default
1024 to_pid_to_exec_file.
1025 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
1026 TARGET_DEFAULT_RETURN.
1028 2014-02-19 Tom Tromey <tromey@redhat.com>
1030 * target-delegates.c: Rebuild.
1031 * target.c (update_current_target): Don't inherit or default
1033 (target_thread_name): Unconditionally delegate.
1034 * target.h (struct target_ops) <to_thread_name>: Use
1035 TARGET_DEFAULT_RETURN.
1037 2014-02-19 Tom Tromey <tromey@redhat.com>
1039 * target-delegates.c: Rebuild.
1040 * target.c (update_current_target): Don't inherit or default
1041 to_extra_thread_info.
1042 * target.h (struct target_ops) <to_extra_thread_info>: Use
1043 TARGET_DEFAULT_RETURN.
1045 2014-02-19 Tom Tromey <tromey@redhat.com>
1047 * target-delegates.c: Rebuild.
1048 * target.c (update_current_target): Don't inherit or default
1050 * target.h (struct target_ops) <to_has_exited>: Use
1051 TARGET_DEFAULT_RETURN..
1053 2014-02-19 Tom Tromey <tromey@redhat.com>
1055 * target-delegates.c: Rebuild.
1056 * target.c (update_current_target): Don't inherit or default
1057 to_set_syscall_catchpoint.
1058 (return_one): Remove.
1059 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
1060 TARGET_DEFAULT_RETURN.
1062 2014-02-19 Tom Tromey <tromey@redhat.com>
1064 * target-delegates.c: Rebuild.
1065 * target.c (update_current_target): Don't inherit or default
1066 to_insert_exec_catchpoint.
1067 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1068 TARGET_DEFAULT_RETURN.
1070 2014-01-08 Tom Tromey <tromey@redhat.com>
1072 * target-delegates.c: Rebuild.
1073 * target.c (update_current_target): Don't inherit or default
1074 to_insert_exec_catchpoint.
1075 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1076 TARGET_DEFAULT_RETURN.
1078 2014-02-19 Tom Tromey <tromey@redhat.com>
1080 * target-delegates.c: Rebuild.
1081 * target.c (update_current_target): Don't inherit or default
1082 to_remove_vfork_catchpoint.
1083 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
1084 TARGET_DEFAULT_RETURN.
1086 2014-02-19 Tom Tromey <tromey@redhat.com>
1088 * target-delegates.c: Rebuild.
1089 * target.c (update_current_target): Don't inherit or default
1090 to_insert_vfork_catchpoint.
1091 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
1092 TARGET_DEFAULT_RETURN.
1094 2014-02-19 Tom Tromey <tromey@redhat.com>
1096 * target-delegates.c: Rebuild.
1097 * target.c (update_current_target): Don't inherit or default
1098 to_remove_fork_catchpoint.
1099 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
1100 TARGET_DEFAULT_RETURN.
1102 2014-02-19 Tom Tromey <tromey@redhat.com>
1104 * target-delegates.c: Rebuild.
1105 * target.c (update_current_target): Don't inherit or default
1106 to_insert_fork_catchpoint.
1107 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
1108 TARGET_DEFAULT_RETURN.
1110 2014-02-19 Tom Tromey <tromey@redhat.com>
1112 * target-delegates.c: Rebuild.
1113 * target.c (update_current_target): Don't inherit or default
1114 to_post_startup_inferior.
1115 * target.h (struct target_ops) <to_post_startup_inferior>: Use
1116 TARGET_DEFAULT_IGNORE.
1118 2014-02-19 Tom Tromey <tromey@redhat.com>
1120 * target-delegates.c: Rebuild.
1121 * target.c (update_current_target): Don't inherit or default
1123 * target.h (struct target_ops) <to_load>: Use
1124 TARGET_DEFAULT_NORETURN.
1126 2014-02-19 Tom Tromey <tromey@redhat.com>
1128 * target-delegates.c: Rebuild.
1129 * target.c (update_current_target): Don't inherit or default
1131 * target.h (struct target_ops) <to_terminal_info>: Use
1132 TARGET_DEFAULT_FUNC.
1134 2014-02-19 Tom Tromey <tromey@redhat.com>
1136 * target-delegates.c: Rebuild.
1137 * target.c (update_current_target): Don't inherit or default
1138 to_terminal_save_ours.
1139 * target.h (struct target_ops) <to_terminal_save_ours>: Use
1140 TARGET_DEFAULT_IGNORE.
1142 2014-02-19 Tom Tromey <tromey@redhat.com>
1144 * target-delegates.c: Rebuild.
1145 * target.c (update_current_target): Don't inherit or default
1147 * target.h (struct target_ops) <to_terminal_ours>: Use
1148 TARGET_DEFAULT_IGNORE.
1150 2014-02-19 Tom Tromey <tromey@redhat.com>
1152 * target-delegates.c: Rebuild.
1153 * target.c (update_current_target): Don't inherit or default
1154 to_terminal_ours_for_output.
1155 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
1156 TARGET_DEFAULT_IGNORE.
1158 2014-02-19 Tom Tromey <tromey@redhat.com>
1160 * target-delegates.c: Rebuild.
1161 * target.c (update_current_target): Don't inherit or default
1162 to_terminal_inferior.
1163 * target.h (struct target_ops) <to_terminal_inferior>: Use
1164 TARGET_DEFAULT_IGNORE.
1166 2014-02-19 Tom Tromey <tromey@redhat.com>
1168 * target-delegates.c: Rebuild.
1169 * target.c (update_current_target): Don't inherit or default
1171 * target.h (struct target_ops) <to_terminal_init>: Use
1172 TARGET_DEFAULT_IGNORE.
1174 2014-02-19 Tom Tromey <tromey@redhat.com>
1176 * target-delegates.c: Rebuild.
1177 * target.c (update_current_target): Don't inherit or default
1178 to_can_accel_watchpoint_condition.
1179 * target.h (struct target_ops)
1180 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
1182 2014-02-19 Tom Tromey <tromey@redhat.com>
1184 * target-delegates.c: Rebuild.
1185 * target.c (update_current_target): Don't inherit or default
1186 to_region_ok_for_hw_watchpoint.
1187 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1188 Use TARGET_DEFAULT_FUNC.
1190 2014-02-19 Tom Tromey <tromey@redhat.com>
1192 * target-delegates.c: Rebuild.
1193 * target.c (update_current_target): Don't inherit or default
1194 to_watchpoint_addr_within_range.
1195 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
1196 Use TARGET_DEFAULT_FUNC.
1198 2014-02-19 Tom Tromey <tromey@redhat.com>
1200 * target-delegates.c: Rebuild.
1201 * target.c (update_current_target): Don't inherit or default
1202 to_remove_watchpoint.
1203 * target.h (struct target_ops) <to_remove_watchpoint>: Use
1204 TARGET_DEFAULT_NORETURN.
1206 2014-02-19 Tom Tromey <tromey@redhat.com>
1208 * target-delegates.c: Rebuild.
1209 * target.c (update_current_target): Don't inherit or default
1210 to_insert_watchpoint.
1211 * target.h (struct target_ops) <to_insert_watchpoint>: Use
1212 TARGET_DEFAULT_RETURN.
1214 2014-02-19 Tom Tromey <tromey@redhat.com>
1216 * target-delegates.c: Rebuild.
1217 * target.c (update_current_target): Don't inherit or default
1218 to_remove_hw_breakpoint.
1219 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
1220 TARGET_DEFAULT_RETURN.
1222 2014-02-19 Tom Tromey <tromey@redhat.com>
1224 * target-delegates.c: Rebuild.
1225 * target.c (update_current_target): Don't inherit or default
1226 to_insert_hw_breakpoint.
1227 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
1228 TARGET_DEFAULT_RETURN.
1230 2014-02-19 Tom Tromey <tromey@redhat.com>
1232 * target-delegates.c: Rebuild.
1233 * target.c (update_current_target): Don't inherit or default
1234 to_can_use_hw_breakpoint.
1235 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
1236 TARGET_DEFAULT_RETURN.
1238 2014-02-19 Tom Tromey <tromey@redhat.com>
1240 * target-delegates.c: Rebuild.
1241 * target.c (update_current_target): Don't inherit or default
1243 * target.h (struct target_ops) <to_files_info>: Use
1244 TARGET_DEFAULT_IGNORE.
1246 2014-02-19 Tom Tromey <tromey@redhat.com>
1248 * target-delegates.c: Rebuild.
1249 * target.c (update_current_target): Don't inherit or default
1251 * target.h (struct target_ops) <to_store>: Use
1252 TARGET_DEFAULT_NORETURN.
1254 2014-02-19 Tom Tromey <tromey@redhat.com>
1256 * target-delegates.c: Rebuild.
1257 * target.c (update_current_target): Don't inherit or default
1259 * target.h (struct target_ops) <to_post_attach>: Use
1260 TARGET_DEFAULT_IGNORE.
1262 2014-02-19 Tom Tromey <tromey@redhat.com>
1264 * target-delegates.c: Rebuild.
1265 * target.c (update_current_target): Don't inherit or default
1267 (default_rcmd): New function.
1268 (do_monitor_command): Unconditionally delegate.
1269 * target.h (struct target_ops) <to_rmcd>: Use
1270 TARGET_DEFAULT_FUNC.
1272 2014-02-19 Tom Tromey <tromey@redhat.com>
1274 * target-delegates.c: Rebuild.
1275 * target.c (init_dummy_target): Don't initialize to_attach.
1276 (target_attach): Unconditionally delegate.
1277 * target.h (struct target_ops) <to_attach>: Use
1278 TARGET_DEFAULT_FUNC.
1280 2014-02-19 Tom Tromey <tromey@redhat.com>
1282 * target-delegates.c: Rebuild.
1283 * target.c (target_detach): Unconditionally delegate.
1284 (init_dummy_target): Don't initialize to_detach.
1285 * target.h (struct target_ops) <to_detach>: Use
1286 TARGET_DEFAULT_IGNORE.
1288 2014-02-19 Tom Tromey <tromey@redhat.com>
1290 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1292 (target_augmented_libraries_svr4_read): Add argument.
1293 * target.c (update_current_target): Update.
1294 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
1297 2014-02-19 Tom Tromey <tromey@redhat.com>
1299 * target.h (struct target_ops) <to_call_history_range>: Add
1301 * target.c (target_call_history_range): Add argument.
1302 * record-btrace.c (record_btrace_call_history_range): Add 'self'
1304 (record_btrace_call_history_from): Update.
1306 2014-02-19 Tom Tromey <tromey@redhat.com>
1308 * target.h (struct target_ops) <to_call_history_from>: Add
1310 * target.c (target_call_history_from): Add argument.
1311 * record-btrace.c (record_btrace_call_history_from): Add 'self'
1314 2014-02-19 Tom Tromey <tromey@redhat.com>
1316 * target.h (struct target_ops) <to_call_history>: Add argument.
1317 * target.c (target_call_history): Add argument.
1318 * record-btrace.c (record_btrace_call_history): Add 'self'
1321 2014-02-19 Tom Tromey <tromey@redhat.com>
1323 * target.h (struct target_ops) <to_insn_history_range>: Add
1325 * target.c (target_insn_history_range): Add argument.
1326 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
1328 (record_btrace_insn_history_from): Update.
1330 2014-02-19 Tom Tromey <tromey@redhat.com>
1332 * target.h (struct target_ops) <to_insn_history_from>: Add
1334 * target.c (target_insn_history_from): Add argument.
1335 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
1338 2014-02-19 Tom Tromey <tromey@redhat.com>
1340 * target.h (struct target_ops) <to_insn_history>: Add argument.
1341 * target.c (target_insn_history): Add argument.
1342 * record-btrace.c (record_btrace_insn_history): Add 'self'
1345 2014-02-19 Tom Tromey <tromey@redhat.com>
1347 * target.h (struct target_ops) <to_goto_record>: Add argument.
1348 * target.c (target_goto_record): Add argument.
1349 * record-full.c (record_full_goto): Add 'self' argument.
1350 * record-btrace.c (record_btrace_goto): Add 'self' argument.
1352 2014-02-19 Tom Tromey <tromey@redhat.com>
1354 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
1355 * target.c (target_goto_record_end): Add argument.
1356 * record-full.c (record_full_goto_end): Add 'self' argument.
1357 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
1359 2014-02-19 Tom Tromey <tromey@redhat.com>
1361 * target.h (struct target_ops) <to_goto_record_begin>: Add
1363 * target.c (target_goto_record_begin): Add argument.
1364 * record-full.c (record_full_goto_begin): Add 'self' argument.
1365 * record-btrace.c (record_btrace_goto_begin): Add 'self'
1368 2014-02-19 Tom Tromey <tromey@redhat.com>
1370 * target.h (struct target_ops) <to_record_is_replaying>: Add
1372 * target.c (target_record_is_replaying): Add argument.
1373 * record-full.c (record_full_is_replaying): Add 'self' argument.
1374 * record-btrace.c (record_btrace_is_replaying): Add 'self'
1376 (record_btrace_xfer_partial, record_btrace_store_registers)
1377 (record_btrace_prepare_to_store, record_btrace_resume)
1378 (record_btrace_wait, record_btrace_decr_pc_after_break)
1379 (record_btrace_find_new_threads, record_btrace_thread_alive):
1382 2014-02-19 Tom Tromey <tromey@redhat.com>
1384 * target.h (struct target_ops) <to_delete_record>: Add argument.
1385 * target.c (target_delete_record): Add argument.
1386 * record-full.c (record_full_delete): Add 'self' argument.
1388 2014-02-19 Tom Tromey <tromey@redhat.com>
1390 * target.h (struct target_ops) <to_save_record>: Add argument.
1391 * target.c (target_save_record): Add argument.
1392 * record-full.c (record_full_save): Add 'self' argument.
1393 (record_full_save): Add 'self' argument.
1395 2014-02-19 Tom Tromey <tromey@redhat.com>
1397 * target.h (struct target_ops) <to_info_record>: Add argument.
1398 * target.c (target_info_record): Add argument.
1399 * record.c (info_record_command): Add argument.
1400 * record-full.c (record_full_info): Add 'self' argument.
1401 * record-btrace.c (record_btrace_info): Add 'self' argument.
1403 2014-02-19 Tom Tromey <tromey@redhat.com>
1405 * target.h (struct target_ops) <to_stop_recording>: Add argument.
1406 * target.c (target_stop_recording): Add argument.
1407 * record.c (record_stop): Add argument.
1408 * record-btrace.c (record_btrace_stop_recording): Add 'self'
1411 2014-02-19 Tom Tromey <tromey@redhat.com>
1413 * target.h (struct target_ops) <to_read_btrace>: Add argument.
1414 * target.c (struct target_ops) <to_read_btrace>: Add argument.
1415 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
1417 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
1418 (_initialize_amd64_linux_nat): Use it.
1419 * i386-linux-nat.c (i386_linux_read_btrace): New function.
1420 (_initialize_i386_linux_nat): Use it.
1422 2014-02-19 Tom Tromey <tromey@redhat.com>
1424 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
1425 * target.c (target_teardown_btrace): Add argument.
1426 * remote.c (remote_teardown_btrace): Add 'self' argument.
1427 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
1429 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
1432 2014-02-19 Tom Tromey <tromey@redhat.com>
1434 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
1435 * target.c (target_disable_btrace): Add argument.
1436 * remote.c (remote_disable_btrace): Add 'self' argument.
1437 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
1439 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
1442 2014-02-19 Tom Tromey <tromey@redhat.com>
1444 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
1445 * target.c (target_enable_btrace): Add argument.
1446 * remote.c (remote_enable_btrace): Add 'self' argument.
1447 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
1449 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
1452 2014-02-19 Tom Tromey <tromey@redhat.com>
1454 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
1455 (target_can_use_agent): Add argument.
1456 * target.c (update_current_target): Update.
1457 * remote.c (remote_can_use_agent): Add 'self' argument.
1458 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
1460 2014-02-19 Tom Tromey <tromey@redhat.com>
1462 * target.h (struct target_ops) <to_use_agent>: Add argument.
1463 (target_use_agent): Add argument.
1464 * target.c (update_current_target): Update.
1465 * remote.c (remote_use_agent): Add 'self' argument.
1466 * inf-child.c (inf_child_use_agent): Add 'self' argument.
1468 2014-02-19 Tom Tromey <tromey@redhat.com>
1470 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
1471 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
1472 (target_traceframe_info): Add argument.
1473 * target.c (update_current_target): Update.
1474 * remote.c (remote_traceframe_info): Add 'self' argument.
1475 * ctf.c (ctf_traceframe_info): Add 'self' argument.
1477 2014-02-19 Tom Tromey <tromey@redhat.com>
1479 * target.h (target_static_tracepoint_markers_by_strid): Add
1481 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
1483 * target.c (update_current_target): Update.
1484 * remote.c (struct target_ops)
1485 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1486 * linux-nat.c (struct target_ops)
1487 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1489 2014-02-19 Tom Tromey <tromey@redhat.com>
1491 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1493 (target_static_tracepoint_marker_at): Add argument.
1494 * target.c (update_current_target): Update.
1495 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
1498 2014-02-19 Tom Tromey <tromey@redhat.com>
1500 * target.h (struct target_ops) <to_set_permissions>: Add argument.
1501 (target_set_permissions): Add argument.
1502 * target.c (update_current_target): Update.
1503 * remote.c (remote_set_permissions): Add 'self' argument.
1504 (remote_start_remote): Update.
1506 2014-02-19 Tom Tromey <tromey@redhat.com>
1508 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
1509 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
1510 (target_get_tib_address): Add argument.
1511 * target.c (update_current_target): Update.
1512 * remote.c (remote_get_tib_address): Add 'self' argument.
1514 2014-02-19 Tom Tromey <tromey@redhat.com>
1516 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
1517 (target_set_trace_notes): Add argument.
1518 * target.c (update_current_target): Update.
1519 * remote.c (remote_set_trace_notes): Add 'self' argument.
1521 2014-02-19 Tom Tromey <tromey@redhat.com>
1523 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
1525 (target_set_trace_buffer_size): Add argument.
1526 * target.c (update_current_target): Update.
1527 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
1529 2014-02-19 Tom Tromey <tromey@redhat.com>
1531 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
1533 (target_set_circular_trace_buffer): Add argument.
1534 * target.c (update_current_target): Update.
1535 * remote.c (remote_set_circular_trace_buffer): Add 'self'
1538 2014-02-19 Tom Tromey <tromey@redhat.com>
1540 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
1542 (target_set_disconnected_tracing): Add argument.
1543 * target.c (update_current_target): Update.
1544 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
1546 2014-02-19 Tom Tromey <tromey@redhat.com>
1548 * target.h (struct target_ops)
1549 <to_get_min_fast_tracepoint_insn_len>: Add argument.
1550 (target_get_min_fast_tracepoint_insn_len): Add argument.
1551 * target.c (update_current_target): Update.
1552 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
1555 2014-02-19 Tom Tromey <tromey@redhat.com>
1557 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
1559 (target_get_raw_trace_data): Add argument.
1560 * target.c (update_current_target): Update.
1561 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
1563 2014-02-19 Tom Tromey <tromey@redhat.com>
1565 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1567 (target_upload_trace_state_variables): Add argument.
1568 * target.c (update_current_target): Update.
1569 * remote.c (remote_upload_trace_state_variables): Add 'self'
1571 (remote_start_remote): Update.
1573 2014-02-19 Tom Tromey <tromey@redhat.com>
1575 * target.h (struct target_ops) <to_upload_tracepoints>: Add
1577 (target_upload_tracepoints): Add argument.
1578 * target.c (update_current_target): Update.
1579 * remote.c (remote_upload_tracepoints): Add 'self' argument.
1580 (remote_start_remote): Update.
1582 2014-02-19 Tom Tromey <tromey@redhat.com>
1584 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
1585 (target_save_trace_data): Add argument.
1586 * target.c (update_current_target): Update.
1587 * remote.c (remote_save_trace_data): Add 'self' argument.
1589 2014-02-19 Tom Tromey <tromey@redhat.com>
1591 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
1593 * target.h (struct target_ops)
1594 <to_get_trace_state_variable_value>: Add argument.
1595 (target_get_trace_state_variable_value): Add argument.
1596 * target.c (update_current_target): Update.
1597 * remote.c (remote_get_trace_state_variable_value): Add 'self'
1599 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
1601 2014-02-19 Tom Tromey <tromey@redhat.com>
1603 * tracepoint.c (tfile_trace_find): Add 'self' argument.
1604 * target.h (struct target_ops) <to_trace_find>: Add argument.
1605 (target_trace_find): Add argument.
1606 * target.c (update_current_target): Update.
1607 * remote.c (remote_trace_find): Add 'self' argument.
1608 * ctf.c (ctf_trace_find): Add 'self' argument.
1610 2014-02-19 Tom Tromey <tromey@redhat.com>
1612 * target.h (struct target_ops) <to_trace_stop>: Add argument.
1613 (target_trace_stop): Add argument.
1614 * target.c (update_current_target): Update.
1615 * remote.c (remote_trace_stop): Add 'self' argument.
1617 2014-02-19 Tom Tromey <tromey@redhat.com>
1619 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
1620 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
1622 (target_get_tracepoint_status): Add argument.
1623 * target.c (update_current_target): Update.
1624 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
1626 2014-02-19 Tom Tromey <tromey@redhat.com>
1628 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
1629 * target.h (struct target_ops) <to_get_trace_status>: Add
1631 (target_get_trace_status): Add argument.
1632 * target.c (update_current_target): Update.
1633 * remote.c (remote_get_trace_status): Add 'self' argument.
1634 (remote_start_remote, remote_can_download_tracepoint): Update.
1635 * ctf.c (ctf_get_trace_status): Add 'self' argument.
1637 2014-02-19 Tom Tromey <tromey@redhat.com>
1639 * target.h (struct target_ops) <to_trace_start>: Add argument.
1640 (target_trace_start): Add argument.
1641 * target.c (update_current_target): Update.
1642 * remote.c (remote_trace_start): Add 'self' argument.
1644 2014-02-19 Tom Tromey <tromey@redhat.com>
1646 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1648 (target_trace_set_readonly_regions): Add argument.
1649 * target.c (update_current_target): Update.
1650 * remote.c (remote_trace_set_readonly_regions): Add 'self'
1653 2014-02-19 Tom Tromey <tromey@redhat.com>
1655 * target.h (struct target_ops) <to_disable_tracepoint>: Add
1657 (target_disable_tracepoint): Add argument.
1658 * target.c (update_current_target): Update.
1659 * remote.c (remote_disable_tracepoint): Add 'self' argument.
1661 2014-02-19 Tom Tromey <tromey@redhat.com>
1663 * target.h (struct target_ops) <to_enable_tracepoint>: Add
1665 (target_enable_tracepoint): Add argument.
1666 * target.c (update_current_target): Update.
1667 * remote.c (remote_enable_tracepoint): Add 'self' argument.
1669 2014-02-19 Tom Tromey <tromey@redhat.com>
1671 * target.h (struct target_ops) <to_download_trace_state_variable>:
1673 (target_download_trace_state_variable): Add argument.
1674 * target.c (update_current_target): Update.
1675 * remote.c (remote_download_trace_state_variable): Add 'self'
1678 2014-02-19 Tom Tromey <tromey@redhat.com>
1680 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
1682 (target_can_download_tracepoint): Add argument.
1683 * target.c (update_current_target): Update.
1684 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
1686 2014-02-19 Tom Tromey <tromey@redhat.com>
1688 * target.h (struct target_ops) <to_download_tracepoint>: Add
1690 (target_download_tracepoint): Add argument.
1691 * target.c (update_current_target): Update.
1692 * remote.c (remote_download_tracepoint): Add 'self' argument.
1694 2014-02-19 Tom Tromey <tromey@redhat.com>
1696 * target.h (struct target_ops) <to_trace_init>: Add argument.
1697 (target_trace_init): Add argument.
1698 * target.c (update_current_target): Update.
1699 * remote.c (remote_trace_init): Add 'self' argument.
1701 2014-02-19 Tom Tromey <tromey@redhat.com>
1703 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1704 * target.c (target_fileio_readlink): Add argument.
1705 * remote.c (remote_hostio_readlink): Add 'self' argument.
1706 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1708 2014-02-19 Tom Tromey <tromey@redhat.com>
1710 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1711 * target.c (target_fileio_unlink): Add argument.
1712 * remote.c (remote_hostio_unlink): Add 'self' argument.
1713 (remote_file_delete): Update.
1714 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1716 2014-02-19 Tom Tromey <tromey@redhat.com>
1718 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1719 * target.c (target_fileio_close): Add argument.
1720 * remote.c (remote_hostio_close): Add 'self' argument.
1721 (remote_hostio_close_cleanup): Update.
1722 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1724 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1726 2014-02-19 Tom Tromey <tromey@redhat.com>
1728 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1729 * target.c (target_fileio_pread): Add argument.
1730 * remote.c (remote_hostio_pread): Add 'self' argument.
1731 (remote_bfd_iovec_pread, remote_file_get): Update.
1732 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1734 2014-02-19 Tom Tromey <tromey@redhat.com>
1736 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1737 * target.c (target_fileio_pwrite): Add argument.
1738 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1739 (remote_file_put): Update.
1740 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1742 2014-02-19 Tom Tromey <tromey@redhat.com>
1744 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1745 * target.c (target_fileio_open): Add argument.
1746 * remote.c (remote_hostio_open): Add 'self' argument.
1747 (remote_bfd_iovec_open): Add 'self' argument.
1748 (remote_file_put): Add 'self' argument.
1749 (remote_file_get): Add 'self' argument.
1750 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1752 2014-02-19 Tom Tromey <tromey@redhat.com>
1754 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1756 (target_can_run_breakpoint_commands): Add argument.
1757 * target.c (update_current_target): Update.
1758 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1760 (remote_insert_breakpoint): Add 'self' argument.
1761 (remote_insert_hw_breakpoint): Add 'self' argument.
1762 (remote_can_run_breakpoint_commands): Add 'self' argument.
1764 2014-02-19 Tom Tromey <tromey@redhat.com>
1766 * target.h (struct target_ops)
1767 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1768 (target_supports_evaluation_of_breakpoint_conditions): Add
1770 * target.c (update_current_target): Update.
1771 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1773 (remote_insert_breakpoint): Add 'self' argument.
1774 (remote_insert_hw_breakpoint): Add 'self' argument.
1775 (remote_supports_cond_breakpoints): Add 'self' argument.
1777 2014-02-19 Tom Tromey <tromey@redhat.com>
1779 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1781 (target_supports_string_tracing): Add argument.
1782 * target.c (update_current_target): Update.
1783 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1785 2014-02-19 Tom Tromey <tromey@redhat.com>
1787 * target.h (struct target_ops)
1788 <to_supports_disable_randomization>: Add argument.
1789 * target.c (find_default_supports_disable_randomization): Add
1791 (target_supports_disable_randomization): Add argument.
1792 (find_default_supports_disable_randomization): Add 'self'
1794 * remote.c (extended_remote_supports_disable_randomization): Add
1796 (remote_supports_disable_randomization): Add 'self' argument.
1797 (extended_remote_create_inferior): Update.
1798 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1801 2014-02-19 Tom Tromey <tromey@redhat.com>
1803 * target.h (struct target_ops)
1804 <to_supports_enable_disable_tracepoint>: Add argument.
1805 (target_supports_enable_disable_tracepoint): Add argument.
1806 * target.c (update_current_target): Update.
1807 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1810 2014-02-19 Tom Tromey <tromey@redhat.com>
1812 * target.h (struct target_ops) <to_supports_multi_process>: Add
1814 (target_supports_multi_process): Add argument.
1815 * target.c (update_current_target): Update.
1816 * remote.c (remote_supports_multi_process): Add 'self' argument.
1817 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1819 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1822 2014-02-19 Tom Tromey <tromey@redhat.com>
1824 * target.h (struct target_ops) <to_execution_direction>: Add
1826 (target_execution_direction): Add argument.
1827 * target.c (default_execution_direction): Add 'self' argument.
1828 * record-full.c (record_full_execution_direction): Add 'self'
1831 2014-02-19 Tom Tromey <tromey@redhat.com>
1833 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1835 (target_can_execute_reverse): Add argument.
1836 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1837 * record-full.c (record_full_can_execute_reverse): Add 'self'
1839 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1842 2014-02-19 Tom Tromey <tromey@redhat.com>
1844 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1845 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1847 (target_get_ada_task_ptid): Add argument.
1848 * target.c (update_current_target): Update.
1849 (default_get_ada_task_ptid): Add 'self' argument.
1850 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1851 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1852 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1854 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1856 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1858 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1860 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1861 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1864 2014-02-19 Tom Tromey <tromey@redhat.com>
1866 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1867 (target_goto_bookmark): Add argument.
1868 * target.c (dummy_goto_bookmark): Add 'self' argument.
1869 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1871 2014-02-19 Tom Tromey <tromey@redhat.com>
1873 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1874 (target_get_bookmark): Add argument.
1875 * target.c (dummy_get_bookmark): Add 'self' argument.
1876 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1878 2014-02-19 Tom Tromey <tromey@redhat.com>
1880 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1882 (target_make_corefile_notes): Add argument.
1883 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1884 * procfs.c (procfs_make_note_section): Add 'self' argument.
1885 (procfs_make_note_section): Add 'self' argument.
1886 (procfs_make_note_section): Add 'self' argument.
1887 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1889 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1890 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1891 * exec.c (exec_make_note_section): Add 'self' argument.
1892 (exec_make_note_section): Add 'self' argument.
1894 2014-02-19 Tom Tromey <tromey@redhat.com>
1896 * target.h (struct target_ops) <to_find_memory_regions>: Add
1898 (target_find_memory_regions): Add argument.
1899 * target.c (dummy_find_memory_regions): Add 'self' argument.
1900 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1901 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1902 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1903 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1904 * exec. (exec_do_find_memory_regions): New global.
1905 (exec_set_find_memory_regions): Rewrite.
1906 (exec_find_memory_regions): New function.
1907 (init_exec_ops): Use exec_find_memory_regions.
1909 2014-02-19 Tom Tromey <tromey@redhat.com>
1911 * target.h (struct target_ops) <to_supports_non_stop>: Add
1913 * target.c (find_default_supports_non_stop): Add argument.
1914 (target_supports_non_stop): Add argument.
1915 (find_default_supports_non_stop): Add 'self' argument.
1916 * remote.c (remote_supports_non_stop): Add 'self' argument.
1917 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1919 2014-02-19 Tom Tromey <tromey@redhat.com>
1921 * target.h (struct target_ops) <to_log_command>: Add argument.
1922 (target_log_command): Add argument.
1923 * serial.h (serial_log_command): Add 'self' argument.
1924 * serial.c (serial_log_command): Add 'self' argument.
1926 2014-02-19 Tom Tromey <tromey@redhat.com>
1928 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1929 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1931 (target_pid_to_exec_file): Add argument.
1932 * target.c (debug_to_pid_to_exec_file): Add argument.
1933 (update_current_target): Update.
1934 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1935 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1936 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1937 (linux_handle_extended_wait): Update.
1938 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1939 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1940 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1941 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1943 2014-02-19 Tom Tromey <tromey@redhat.com>
1945 * target.h (struct target_ops) <to_rcmd>: Add argument.
1946 (target_rcmd): Add argument.
1947 * target.c (debug_to_rcmd): Add argument.
1948 (update_current_target, do_monitor_command): Update.
1949 * remote.c (remote_rcmd): Add 'self' argument.
1950 * monitor.c (monitor_rcmd): Add 'self' argument.
1952 2014-02-19 Tom Tromey <tromey@redhat.com>
1954 * windows-nat.c (windows_stop): Add 'self' argument.
1955 * target.h (struct target_ops) <to_stop>: Add argument.
1956 * target.c (target_stop): Add argument.
1957 (debug_to_stop): Add argument.
1958 (update_current_target): Update.
1959 * remote.c (remote_stop): Add 'self' argument.
1960 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1961 (gdbsim_cntrl_c): Update.
1962 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1963 * procfs.c (procfs_stop): Add 'self' argument.
1964 * nto-procfs.c (procfs_stop): Add 'self' argument.
1965 * monitor.c (monitor_stop): Add 'self' argument.
1966 (monitor_open): Update.
1967 * linux-nat.c (linux_nat_stop): Add argument.
1968 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1969 * gnu-nat.c (gnu_stop): Add 'self' argument.
1970 * darwin-nat.c (darwin_stop): Add 'self' argument.
1972 2014-02-19 Tom Tromey <tromey@redhat.com>
1974 * target.h (struct target_ops) <to_thread_name>: Add argument.
1975 * target.c (target_thread_name): Add argument.
1976 (update_current_target): Update.
1977 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
1979 2014-02-19 Tom Tromey <tromey@redhat.com>
1981 * target.h (struct target_ops) <to_extra_thread_info>: Add
1983 (target_extra_thread_info): Add argument.
1984 * target.c (update_current_target): Update.
1985 * remote.c (remote_threads_extra_info): Add 'self' argument.
1986 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
1988 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
1989 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
1990 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
1992 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
1994 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
1996 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
1999 2014-02-19 Tom Tromey <tromey@redhat.com>
2001 * target.h (struct target_ops) <to_program_signals>: Add argument.
2002 * target.c (target_program_signals): Add argument.
2003 * remote.c (remote_program_signals): Add 'self' argument.
2005 2014-02-19 Tom Tromey <tromey@redhat.com>
2007 * target.h (struct target_ops) <to_pass_signals>: Add argument.
2008 * target.c (target_pass_signals): Add argument.
2009 * remote.c (remote_pass_signals): Add 'self' argument.
2010 (remote_start_remote): Update.
2011 * procfs.c (procfs_pass_signals): Add 'self' argument.
2012 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
2013 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
2014 (linux_nat_create_inferior, linux_nat_attach): Update.
2016 2014-02-19 Tom Tromey <tromey@redhat.com>
2018 * windows-nat.c (windows_can_run): Add 'self' argument.
2019 * target.h (struct target_ops) <to_can_run>: Add argument.
2020 (target_can_run): Add argument.
2021 * target.c (debug_to_can_run): Add argument.
2022 (update_current_target): Update.
2023 * nto-procfs.c (procfs_can_run): Add 'self' argument.
2024 * inf-child.c (inf_child_can_run): Add 'self' argument.
2025 * go32-nat.c (go32_can_run): Add 'self' argument.
2027 2014-02-19 Tom Tromey <tromey@redhat.com>
2029 * target.h (struct target_ops) <to_has_exited>: Add argument.
2030 (target_has_exited): Add argument.
2031 * target.c (debug_to_has_exited): Add argument.
2032 (update_current_target): Update.
2034 2014-02-19 Tom Tromey <tromey@redhat.com>
2036 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
2038 (target_set_syscall_catchpoint): Add argument.
2039 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
2041 * target.c (update_current_target): Update.
2043 2014-02-19 Tom Tromey <tromey@redhat.com>
2045 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
2047 (target_remove_exec_catchpoint): Add argument.
2048 * target.c (debug_to_remove_exec_catchpoint): Add argument.
2049 (update_current_target): Update.
2050 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
2053 2014-02-19 Tom Tromey <tromey@redhat.com>
2055 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
2057 (target_insert_exec_catchpoint): Add argument.
2058 * target.c (debug_to_insert_exec_catchpoint): Add argument.
2059 (update_current_target): Update.
2060 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
2063 2014-02-19 Tom Tromey <tromey@redhat.com>
2065 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
2067 (target_remove_vfork_catchpoint): Add argument.
2068 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
2069 (update_current_target): Update.
2070 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
2073 2014-02-19 Tom Tromey <tromey@redhat.com>
2075 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
2077 (target_insert_vfork_catchpoint): Add argument.
2078 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
2079 (update_current_target): Update.
2080 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
2083 2014-02-19 Tom Tromey <tromey@redhat.com>
2085 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
2087 (target_remove_fork_catchpoint): Add argument.
2088 * target.c (debug_to_remove_fork_catchpoint): Add argument.
2089 (update_current_target): Update.
2090 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
2093 2014-02-19 Tom Tromey <tromey@redhat.com>
2095 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
2097 (target_insert_fork_catchpoint): Add argument.
2098 * target.c (debug_to_insert_fork_catchpoint): Add argument.
2099 (update_current_target): Update.
2100 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
2103 2014-02-19 Tom Tromey <tromey@redhat.com>
2105 * target.h (struct target_ops) <to_post_startup_inferior>: Add
2107 (target_post_startup_inferior): Add argument.
2108 * target.c (debug_to_post_startup_inferior): Add argument.
2109 (update_current_target): Update.
2110 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
2112 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
2114 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
2116 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
2118 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
2120 (super_post_startup_inferior): Likewise.
2121 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
2123 (super_post_startup_inferior): Likewise.
2124 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
2125 Add 'self' argument.
2126 (super_post_startup_inferior): Likewise.
2128 2014-02-19 Tom Tromey <tromey@redhat.com>
2130 * target.h (struct target_ops) <to_load>: Add argument.
2131 * target.c (target_load): Add argument.
2132 (debug_to_load): Add argument.
2133 (update_current_target): Update.
2134 * remote.c (remote_load): Add 'self' argument.
2135 * remote-sim.c (gdbsim_load): Add 'self' argument.
2136 * remote-mips.c (mips_load): Add 'self' argument.
2137 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
2138 * monitor.c (monitor_load): Add 'self' argument.
2139 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
2141 2014-02-19 Tom Tromey <tromey@redhat.com>
2143 * target.h (struct target_ops) <to_terminal_info>: Add argument.
2144 (target_terminal_info): Add argument.
2145 * target.c (debug_to_terminal_info): Add argument.
2146 (default_terminal_info): Likewise.
2147 * inflow.c (child_terminal_info): Add 'self' argument.
2148 * inferior.h (child_terminal_info): Add 'self' argument.
2149 * go32-nat.c (go32_terminal_info): Add 'self' argument.
2151 2014-02-19 Tom Tromey <tromey@redhat.com>
2153 * target.h (struct target_ops) <to_terminal_save_ours>: Add
2155 (target_terminal_save_ours): Add argument.
2156 * target.c (debug_to_terminal_save_ours): Add argument.
2157 (update_current_target): Update.
2158 * inflow.c (terminal_save_ours): Add 'self' argument.
2159 * inferior.h (terminal_save_ours): Add 'self' argument.
2161 2014-02-19 Tom Tromey <tromey@redhat.com>
2163 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
2164 (target_terminal_ours): Add argument.
2165 * target.c (debug_to_terminal_ours): Add argument.
2166 (update_current_target): Update.
2167 * remote.c (remote_terminal_ours): Add 'self' argument.
2168 (remote_close): Update.
2169 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
2170 * inflow.c (terminal_ours): Add 'self' argument.
2171 * inferior.h (terminal_ours): Add 'self' argument.
2172 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2174 2014-02-19 Pedro Alves <palves@redhat.com>
2175 Tom Tromey <tromey@redhat.com>
2177 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
2179 (target_terminal_ours_for_output): Add argument.
2180 * target.c (debug_to_terminal_ours_for_output): Add argument.
2181 (update_current_target): Update.
2182 * inflow.c (terminal_ours_for_output): Add 'self' argument.
2183 * inferior.h (terminal_ours_for_output): Add 'self' argument.
2184 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2186 2014-02-19 Tom Tromey <tromey@redhat.com>
2188 * target.h (struct target_ops) <to_terminal_inferior>: Add
2190 * target.c (target_terminal_inferior): Add argument.
2191 (update_current_target): Update.
2192 * remote.c (remote_terminal_inferior): Add 'self' argument.
2193 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
2194 * inflow.c (terminal_inferior): Add 'self' argument.
2195 * inferior.h (terminal_inferior): Add 'self' argument.
2196 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
2197 (go32_terminal_inferior): Add 'self' argument.
2199 2014-02-19 Tom Tromey <tromey@redhat.com>
2201 * target.h (struct target_ops) <to_terminal_init>: Add argument.
2202 (target_terminal_init): Add argument.
2203 * target.c (debug_to_terminal_init): Add argument.
2204 (update_current_target): Update.
2205 * inflow.c (terminal_init_inferior): Add 'self' argument.
2206 * inferior.h (terminal_init_inferior): Add 'self' argument.
2207 * go32-nat.c (go32_terminal_init): Add 'self' argument.
2208 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
2210 2014-02-19 Tom Tromey <tromey@redhat.com>
2212 * target.h (struct target_ops)
2213 <to_can_accel_watchpoint_condition>: Add argument.
2214 (target_can_accel_watchpoint_condition): Add argument.
2215 * target.c (debug_to_can_accel_watchpoint_condition): Add
2217 (update_current_target): Update.
2218 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
2221 2014-02-19 Tom Tromey <tromey@redhat.com>
2223 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2225 (target_region_ok_for_hw_watchpoint): Add argument.
2226 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
2227 (default_region_ok_for_hw_watchpoint): Add argument.
2228 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
2229 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
2231 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
2233 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
2235 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
2237 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
2239 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
2241 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
2242 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
2244 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
2245 Add 'self' argument.
2247 2014-02-19 Tom Tromey <tromey@redhat.com>
2249 * target.h (struct target_ops) <to_insert_watchpoint>: Add
2251 (target_insert_watchpoint): Add argument.
2252 * target.c (debug_to_insert_watchpoint): Add argument.
2253 (update_current_target): Update.
2254 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
2255 * remote.c (remote_insert_watchpoint): Add 'self' argument.
2256 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
2257 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
2258 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
2259 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
2261 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
2262 (procfs_insert_hw_watchpoint): Add 'self' argument.
2263 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
2265 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
2267 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
2269 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
2270 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
2272 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
2275 2014-02-19 Tom Tromey <tromey@redhat.com>
2277 * target.h (struct target_ops) <to_remove_watchpoint>: Add
2279 (target_remove_watchpoint): Add argument.
2280 * target.c (debug_to_remove_watchpoint): Add argument.
2281 (update_current_target): Update.
2282 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
2283 * remote.c (remote_remove_watchpoint): Add 'self' argument.
2284 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
2285 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
2286 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
2287 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
2289 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
2290 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
2292 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
2294 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
2296 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
2297 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
2299 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
2302 2014-02-19 Tom Tromey <tromey@redhat.com>
2304 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
2306 (target_remove_hw_breakpoint): Add argument.
2307 * target.c (debug_to_remove_hw_breakpoint): Add argument.
2308 (update_current_target): Update.
2309 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
2310 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
2312 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
2313 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
2315 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
2318 2014-02-19 Tom Tromey <tromey@redhat.com>
2320 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
2322 (target_insert_hw_breakpoint): Add argument.
2323 * target.c (debug_to_insert_hw_breakpoint): Add argument.
2324 (update_current_target): Update.
2325 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
2326 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
2328 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
2329 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
2330 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
2332 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
2335 2014-02-19 Tom Tromey <tromey@redhat.com>
2337 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
2339 (target_can_use_hardware_watchpoint): Add argument.
2340 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
2341 (update_current_target): Update.
2342 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
2344 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
2346 * remote.c (remote_check_watch_resources): Add 'self' argument.
2347 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
2348 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
2350 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
2351 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
2353 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
2355 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
2357 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
2359 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
2361 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
2363 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
2364 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
2366 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
2369 2014-02-19 Tom Tromey <tromey@redhat.com>
2371 * target.h (struct target_ops) <to_post_attach>: Add argument.
2372 (target_post_attach): Add argument.
2373 * target.c (debug_to_post_attach): Add argument.
2374 (update_current_target): Update.
2375 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
2376 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
2377 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
2378 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
2379 * inf-child.c (inf_child_post_attach): Add 'self' argument.
2381 2014-02-19 Tom Tromey <tromey@redhat.com>
2383 * windows-nat.c (windows_close): Add 'self' argument.
2384 * tracepoint.c (tfile_close): Add 'self' argument.
2385 * target.h (struct target_ops) <to_close>: Add argument.
2386 * target.c (target_close): Add argument.
2387 (update_current_target): Update.
2388 * remote.c (remote_close): Add 'self' argument.
2389 * remote-sim.c (gdbsim_close): Add 'self' argument.
2390 * remote-mips.c (mips_close): Add 'self' argument.
2391 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
2392 * record-full.c (record_full_close): Add 'self' argument.
2393 * record-btrace.c (record_btrace_close): Add 'self' argument.
2394 * monitor.h (monitor_close): Add 'self' argument.
2395 * monitor.c (monitor_close): Add 'self' argument.
2396 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
2397 * linux-nat.c (linux_nat_close): Add argument.
2398 * go32-nat.c (go32_close): Add 'self' argument.
2399 * exec.c (exec_close_1): Add 'self' argument.
2400 * ctf.c (ctf_close): Add 'self' argument.
2401 * corelow.c (core_close): Add 'self' argument.
2402 (core_close_cleanup): Update.
2403 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
2404 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
2406 2014-02-19 Tom Tromey <tromey@redhat.com>
2408 * remote.c (remote_load): New function.
2409 (init_remote_ops): Use it.
2411 2014-02-19 Tom Tromey <tromey@redhat.com>
2413 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
2415 * common/linux-btrace.h (linux_supports_btrace): Update.
2416 * remote.c (remote_supports_btrace): Add "self" argument.
2417 * target-delegates.c: Rebuild.
2418 * target.c (target_supports_btrace): Remove.
2419 * target.h (struct target_ops) <to_supports_btrace>: Add
2420 target_ops argument.
2421 (target_supports_btrace): New define.
2423 2014-02-19 Tom Tromey <tromey@redhat.com>
2425 * record-full.c (record_full_beneath_to_resume_ops)
2426 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
2427 (record_full_beneath_to_wait)
2428 (record_full_beneath_to_store_registers_ops)
2429 (record_full_beneath_to_store_registers)
2430 (record_full_beneath_to_xfer_partial_ops)
2431 (record_full_beneath_to_xfer_partial)
2432 (record_full_beneath_to_insert_breakpoint_ops)
2433 (record_full_beneath_to_insert_breakpoint)
2434 (record_full_beneath_to_remove_breakpoint_ops)
2435 (record_full_beneath_to_remove_breakpoint)
2436 (record_full_beneath_to_stopped_by_watchpoint)
2437 (record_full_beneath_to_stopped_data_address)
2438 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
2439 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
2440 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
2441 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
2442 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
2443 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
2444 (tmp_to_stopped_data_address, tmp_to_async): Remove.
2445 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
2446 (record_full_resume, record_full_wait_1)
2447 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
2448 (record_full_store_registers, record_full_xfer_partial)
2449 (record_full_insert_breakpoint, record_full_remove_breakpoint)
2450 (record_full_async, record_full_core_xfer_partial): Use target
2452 * target-delegates.c: Rebuild.
2453 * target.c (current_xfer_partial): Remove.
2454 (update_current_target): Do not INHERIT or de_fault
2455 to_insert_breakpoint, to_remove_breakpoint,
2456 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
2457 to_is_async_p, to_async. Do not set to_xfer_partial field.
2458 (default_xfer_partial): Simplify.
2459 (current_xfer_partial): Remove.
2460 (target_wait, target_resume): Simplify.
2461 (find_default_can_async_p, find_default_is_async_p): Update.
2462 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
2463 to_xfer_partial, to_stopped_by_watchpoint,
2464 to_stopped_data_address.
2465 (target_store_registers): Simplify.
2466 (forward_target_remove_breakpoint)
2467 (forward_target_insert_breakpoint): Remove.
2468 (target_remove_breakpoint, target_insert_breakpoint)
2469 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
2470 * target.h (struct target_ops) <to_resume, to_wait,
2471 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
2472 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
2473 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
2475 (forward_target_remove_breakpoint)
2476 (forward_target_insert_breakpoint): Remove.
2477 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
2479 (record_btrace_insert_breakpoint): Delegate directly.
2481 2014-02-19 Tom Tromey <tromey@redhat.com>
2484 * target-delegates.c: New file.
2485 * target.c: Include target-delegates.c.
2486 (init_dummy_target): Call install_dummy_methods.
2487 (complete_target_initialization): Call install_delegators.
2488 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
2489 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
2490 * make-target-delegates: New file.
2492 2014-02-19 Tom Tromey <tromey@redhat.com>
2494 * record.c (find_record_target): Use find_target_at.
2495 * target.c (find_target_at): New function.
2496 * target.h (find_target_at): Declare.
2498 2014-02-19 Tom Tromey <tromey@redhat.com>
2500 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
2502 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
2504 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
2505 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
2507 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
2509 * linux-nat.c (save_sigtrap): Update.
2510 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
2511 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
2512 (linux_nat_close): Update.
2513 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
2515 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
2517 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
2518 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
2519 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
2520 (tmp_to_async): Add 'ops' argument.
2521 (record_full_stopped_by_watchpoint, record_full_async)
2522 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
2524 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
2525 (m32r_stopped_by_watchpoint): Add 'ops' argument.
2526 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
2527 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
2528 (remote_is_async_p, remote_async): Add 'ops' argument.
2529 (remote_stopped_data_address): Update.
2530 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
2531 * target.c (update_current_target)
2532 (find_default_can_async_p, find_default_is_async_p): Update.
2533 (init_dummy_target): Update.
2534 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
2535 * target.h (struct target_ops) <to_stopped_by_watchpoint,
2536 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
2537 (target_can_async_p, target_is_async_p, target_async)
2538 (target_stopped_by_watchpoint): Update.
2540 2014-02-19 Yao Qi <yao@codesourcery.com>
2543 * gdbarch.sh: Remove startup_gdbarch.
2544 * gdbarch.c: Regenerated.
2545 * gdbarch.h: Likewise.
2547 2014-02-17 Kevin Buettner <kevinb@redhat.com>
2549 * rl78-tdep.c (rl78_g10_register_name): New function.
2550 (rl78_return_value): Add g10 support.
2551 (rl78_gdbarch_init): Register rl78_g10_register_name for the
2554 2014-02-17 Doug Evans <xdje42@gmail.com>
2556 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
2557 (SUBDIR_GUILE_SRCS): Ditto.
2558 (scm-gsmob.o): Ditto.
2560 2014-02-17 Yao Qi <yao@codesourcery.com>
2562 * gnu-nat.c (ILL_RPC): Declare defined function.
2564 2014-02-17 Yao Qi <yao@codesourcery.com>
2566 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
2567 mach_msg_type_number_t.
2568 (gnu_write_inferior): Likewise.
2570 2014-02-17 Yao Qi <yao@codesourcery.com>
2572 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
2574 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
2575 (inf_validate_procs, inf_signal): Likewise.
2576 (S_exception_raise_request): Likewise.
2577 (do_mach_notify_dead_name): Likewise.
2578 (steal_exc_port): Likewise.
2579 (gnu_read_inferior): Change 'copy_count''s type to
2580 mach_msg_type_number_t.
2581 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
2584 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
2586 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
2587 flag. Adjust all users; in particular...
2588 (gnu_wait): ..., don't decrement its value in here...
2589 (gnu_create_inferior): ..., and instead set the flag in here,
2590 around the startup_inferior call, and call that one with
2591 START_INFERIOR_TRAPS_EXPECTED.
2593 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
2594 (ILL_RPC): ... new macro.
2595 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
2596 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
2597 (do_mach_notify_send_once, S_proc_setmsgport_reply)
2598 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
2599 functions with ILL_RPC macro.
2600 (S_proc_pid2task_reply, S_proc_task2pid_reply)
2601 (S_proc_task2proc_reply, S_proc_proc2task_reply)
2602 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
2603 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
2604 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
2605 (S_proc_getlogin_reply, S_proc_getsid_reply)
2606 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
2607 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
2608 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
2609 (S_proc_getnports_reply, S_proc_is_important_reply)
2610 (S_proc_get_code_reply): New stub functions, generated with
2613 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
2614 collected the type check structures.
2616 * reply_mig_hack.awk: Don't expect to see the auto keyword.
2618 2014-02-14 Doug Evans <dje@google.com>
2620 * target.c (target_write_partial): Fix result type.
2622 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2624 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
2625 the proper offsets to access fpregset_t.
2627 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
2629 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
2630 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
2631 * h8300-tdep.c (setmachinelist): Remove global.
2632 * hppa-tdep.c (hppa_sigtramp): Remove global.
2633 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
2634 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
2635 * ravenscar-thread.c (update_target_observer): Remove global.
2636 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
2638 2014-02-12 Tom Tromey <tromey@redhat.com>
2640 * common/rsp-low.c: Update comments.
2641 * common/rsp-low.h: Update comments.
2643 2014-02-12 Tom Tromey <tromey@redhat.com>
2645 * common/rsp-low.c (convert_ascii_to_int): Remove.
2646 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
2648 2014-02-12 Tom Tromey <tromey@redhat.com>
2650 * common/rsp-low.h (unhexify): Don't declare.
2651 * common/rsp-low.c (unhexify): Remove.
2653 2014-02-12 Tom Tromey <tromey@redhat.com>
2655 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
2656 * common/rsp-low.c (convert_int_to_ascii): Remove.
2658 2014-02-12 Tom Tromey <tromey@redhat.com>
2660 * common/rsp-low.h (hexify): Don't declare.
2661 * common/rsp-low.c (hexify): Remove.
2663 2014-02-12 Tom Tromey <tromey@redhat.com>
2665 * common/rsp-low.c (hexify): Never take strlen of argument.
2667 2014-02-12 Tom Tromey <tromey@redhat.com>
2669 * common/rsp-low.c (bin2hex): Never take strlen of argument.
2670 * remote.c (extended_remote_run, remote_rcmd)
2671 (remote_download_trace_state_variable, remote_save_trace_data)
2672 (remote_set_trace_notes): Update.
2673 * tracepoint.c (encode_source_string, tfile_write_status)
2674 (tfile_write_uploaded_tsv): Update.
2676 2014-02-12 Tom Tromey <tromey@redhat.com>
2678 * tracepoint.c: Include rsp-low.h.
2679 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
2680 * remote.c: Include rsp-low.h.
2681 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
2682 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
2683 (remote_unescape_input): Move to common/rsp-low.c.
2684 * common/rsp-low.h: New file.
2685 * common/rsp-low.c: New file.
2686 * Makefile.in (SFILES): Add common/rsp-low.c.
2687 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
2688 (COMMON_OBS): Add rsp-low.o.
2689 (rsp-low.o): New target.
2691 2014-02-12 Tom Tromey <tromey@redhat.com>
2693 * utils.h: Include print-utils.h.
2694 (host_address_to_string, plongest, pulongest, phex, phex_nz)
2695 (int_string, core_addr_to_string, core_addr_to_string_nz)
2696 (hex_string, hex_string_custom): Don't declare.
2697 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2698 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2699 (hex_string_custom, int_string, core_addr_to_string)
2700 (core_addr_to_string_nz, host_address_to_string): Move to
2701 common/print-utils.c.
2702 * common/print-utils.h: New file.
2703 * common/print-utils.c: New file
2704 * Makefile.in (SFILES): Add common/print-utils.c.
2705 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2706 (COMMON_OBS): Add print-utils.o.
2707 (print-utils.o): New target.
2709 2014-02-12 Tom Tromey <tromey@redhat.com>
2711 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2713 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2715 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2717 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2719 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2720 if a PT_IO ptrace request returns sucessfully but indicates that 0
2721 bytes were transferred.
2723 2014-02-12 Pedro Alves <palves@redhat.com>
2724 Kevin Buettner <kevinb@redhat.com>
2726 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2727 TYPE_INSTANCE_FLAG_CODE_SPACE.
2729 2014-02-12 Pedro Alves <palves@redhat.com>
2731 * h8300-tdep.c (pseudo_from_raw_register)
2732 (raw_from_pseudo_register): New functions.
2733 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2736 2014-02-12 Pedro Alves <palves@redhat.com>
2738 * h8300-tdep.c (h8300_register_sim_regno): New function.
2739 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2740 gdbarch_register_sim_regno hook.
2742 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2744 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2746 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2748 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2750 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2752 * obsd-tdep.h (obsd_init_abi): New prototype.
2753 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2754 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2755 (obsd_init_abi): New functions.
2756 * i386obsd-tdep.c: Include "obsd-tdep.h".
2757 (i386obsd_init_abi): Call obsd_init_abi.
2758 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2759 (amd64obsd_init_abi): Call obsd_init_abi.
2760 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2761 obsd-tdep.c to gdb_target_obs.
2763 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2765 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2766 double float arguments to 16-byte in the argument slots.
2768 2014-02-11 Doug Evans <xdje42@gmail.com>
2770 * configure.ac: Don't crash if pkg-config is not found and guile
2771 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2773 * configure: Regenerate.
2775 2014-02-11 Yao Qi <yao@codesourcery.com>
2777 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2778 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2779 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2780 * gnu-nat.c (gnu_xfer_memory): Likewise.
2781 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2782 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2783 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2784 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2786 2014-02-11 Yao Qi <yao@codesourcery.com>
2788 * target.h (enum target_xfer_error): Rename to ...
2789 (enum target_xfer_status): ... it. New. All users updated.
2790 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2792 (TARGET_XFER_STATUS_ERROR_P): New macro.
2793 (target_xfer_error_to_string): Remove declaration.
2794 (target_xfer_status_to_string): Declare.
2795 (target_xfer_partial_ftype): Adjust it.
2796 (struct target_ops) <to_xfer_partial>: Return
2797 target_xfer_status. Add argument xfered_len. Update
2799 * target.c (target_xfer_error_to_string): Rename to ...
2800 (target_xfer_status_to_string): ... it. New. All callers
2802 (target_read_live_memory): Likewise. Call target_xfer_partial
2803 instead of target_read.
2804 (memory_xfer_live_readonly_partial): Return
2805 target_xfer_status. Add argument xfered_len.
2806 (raw_memory_xfer_partial): Likewise.
2807 (memory_xfer_partial_1): Likewise.
2808 (memory_xfer_partial): Likewise.
2809 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2810 properly. Update debug message.
2811 (default_xfer_partial, current_xfer_partial): Likewise.
2812 (target_write_partial): Likewise.
2813 (target_read_partial): Likewise. All callers updated.
2814 (read_whatever_is_readable): Likewise.
2815 (target_write_with_progress): Likewise.
2816 (target_read_alloc_1): Likewise.
2818 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2819 * auxv.c (procfs_xfer_auxv): Likewise.
2820 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2821 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2822 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2823 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2824 * corefile.c (read_memory): Adjust.
2825 * corelow.c (core_xfer_partial): Likewise.
2826 * ctf.c (ctf_xfer_partial): Likewise.
2827 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2829 (darwin_xfer_partial): Likewise.
2830 * exec.c (section_table_xfer_memory_partial): Likewise. All
2832 (exec_xfer_partial): Likewise.
2833 * exec.h (section_table_xfer_memory_partial): Update
2835 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2837 (gnu_xfer_partial): Likewise.
2838 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2839 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2840 (ia64_hpux_xfer_solib_got): Likewise.
2841 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2842 type of 'partial_len' to ULONGEST.
2843 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2844 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2845 (linux_nat_xfer_partial): Likewise.
2846 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2847 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2848 * monitor.c (monitor_xfer_memory): Likewise.
2849 (monitor_xfer_partial): Likewise.
2850 * procfs.c (procfs_xfer_partial): Likewise.
2851 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2852 * record-full.c (record_full_xfer_partial): Likewise.
2853 (record_full_core_xfer_partial): Likewise.
2854 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2855 (gdbsim_xfer_partial): Likewise.
2856 * remote.c (remote_write_bytes_aux): Likewise. All callers
2858 (remote_write_bytes, remote_read_bytes): Likewise. All
2860 (remote_flash_erase): Likewise. All callers updated.
2861 (remote_write_qxfer): Likewise. All callers updated.
2862 (remote_read_qxfer): Likewise. All callers updated.
2863 (remote_xfer_partial): Likewise.
2864 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2865 (rs6000_xfer_shared_libraries): Likewise.
2866 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2867 (sol_thread_xfer_partial): Likewise.
2868 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2869 (sparc_xfer_partial): Likewise.
2870 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2872 (spu_xfer_partial): Likewise.
2873 * spu-multiarch.c (spu_xfer_partial): Likewise.
2874 * tracepoint.c (tfile_xfer_partial): Likewise.
2875 * windows-nat.c (windows_xfer_memory): Likewise.
2876 (windows_xfer_shared_libraries): Likewise.
2877 (windows_xfer_partial): Likewise.
2878 * valprint.c: Replace 'target_xfer_error' with
2879 'target_xfer_status' in comments.
2881 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2883 Checked in by Joel Brobecker <brobecker@adacore.com>.
2884 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2886 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2888 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2889 function parameters.
2891 2014-02-10 Will Newton <will.newton@linaro.org>
2893 * elfread.c (elf_rel_plt_read): Look for a .got section if
2894 looking up .got.plt fails.
2895 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2896 on address passed to elf_gnu_ifunc_record_cache.
2897 (elf_gnu_ifunc_resolve_addr): Likewise.
2898 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2900 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2902 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2903 (X_RETTURN): New macro.
2904 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2906 * sparc64-tdep.c (sparc64_init_abi): Hook
2907 sparc_in_function_epilogue_p.
2909 2014-02-10 Gary Benson <gbenson@redhat.com>
2911 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2912 Rename name_matcher to symbol_matcher.
2914 2014-02-10 Gary Benson <gbenson@redhat.com>
2916 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2917 Use expand_symtabs_file_matcher_ftype and
2918 expand_symtabs_symbol_matcher_ftype.
2920 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2922 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2923 (struct ada_symbol_cache): New.
2924 (ada_free_symbol_cache): Forward declare.
2925 (struct ada_pspace_data): New.
2926 (ada_pspace_data_handle): New static global.
2927 (get_ada_pspace_data, ada_pspace_data_cleanup)
2928 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2929 (cache_space, cache): Delete, now folded inside struct
2931 (ada_get_symbol_cache): New function.
2932 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2934 (_initialize_ada_language): Remove initialization of cache_space.
2935 Move call to observer_attach_inferior_exit up, grouping it
2936 with the other observer registrations inside this function.
2937 Rename command to be more general. Add call to
2938 register_program_space_data_with_cleanup.
2940 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2942 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2943 ada_new_objfile_observer.
2944 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2945 (_initialize_tasks): Update uses of ada_new_objfile_observer
2946 and ada_tasks_normal_stop_observer.
2948 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2950 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2951 returned by the 'Length attribute to integer.
2953 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2955 * ada-lang.c (_initialize_ada_language): Initialize
2956 cache_space obstack.
2958 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2960 * ada-lang.c (HASH_SIZE): New macro.
2961 (struct cache_entry): New type.
2962 (cache_space, cache): New static globals.
2963 (ada_clear_symbol_cache, find_entry): New functions.
2964 (lookup_cached_symbol, cache_symbol): Implement.
2965 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2966 (_initialize_ada_language): Attach ada_new_objfile_observer
2967 and ada_free_objfile_observer.
2969 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2971 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
2972 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
2973 struct block * parameter.
2974 (ada_lookup_symbol_list_worker): Constify local variable "block".
2975 Remove cast which is no longer necessary.
2977 2014-02-10 Doug Evans <xdje42@gmail.com>
2979 Add Guile as an extension language.
2980 * NEWS: Mention Guile scripting.
2981 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
2982 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
2983 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
2984 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
2985 (CLIBS): Add GUILE_LIBS.
2986 (install-guile): New rule.
2987 (guile.o): New rule.
2988 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
2989 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
2990 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
2991 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
2992 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
2993 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
2994 (scm-type.o, scm-utils.o, scm-value.o): New rules.
2995 * configure.ac: New option --with-guile.
2996 * configure: Regenerate.
2997 * config.in: Regenerate.
2998 * auto-load.c: Remove #include "python/python.h". Add #include
2999 "gdb/section-scripts.h".
3000 (source_section_scripts): Handle Guile scripts.
3001 (_initialize_auto_load): Add name of Guile objfile script to
3002 scripts-directory help text.
3003 * breakpoint.c (condition_command): Tweak comment to include Scheme.
3004 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
3005 (struct breakpoint): New member scm_bp_object.
3006 * defs.h (enum command_control_type): New value guile_control.
3007 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
3009 (show_user): Update comment.
3010 (_initialize_cli_cmds): Update help text for "show user". Update help
3011 text for max-user-call-depth.
3012 * cli/cli-script.c: Remove #include "python/python.h". Add #include
3014 (multi_line_command_p): Add guile_control.
3015 (print_command_lines): Handle guile_control.
3016 (execute_control_command, recurse_read_control_structure): Ditto.
3017 (process_next_line): Recognize "guile" commands.
3018 * disasm.c (gdb_disassemble_info): Make non-static.
3019 * disasm.h: #include "dis-asm.h".
3020 (struct gdbarch): Add forward decl.
3021 (gdb_disassemble_info): Declare.
3022 * extension.c: #include "guile/guile.h".
3023 (extension_languages): Add guile.
3024 (get_ext_lang_defn): Handle EXT_LANG_GDB.
3025 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
3026 * gdbtypes.c (get_unsigned_type_max): New function.
3027 (get_signed_type_minmax): New function.
3028 * gdbtypes.h (get_unsigned_type_max): Declare.
3029 (get_signed_type_minmax): Declare.
3030 * guile/README: New file.
3031 * guile/guile-internal.h: New file.
3032 * guile/guile.c: New file.
3033 * guile/guile.h: New file.
3034 * guile/scm-arch.c: New file.
3035 * guile/scm-auto-load.c: New file.
3036 * guile/scm-block.c: New file.
3037 * guile/scm-breakpoint.c: New file.
3038 * guile/scm-disasm.c: New file.
3039 * guile/scm-exception.c: New file.
3040 * guile/scm-frame.c: New file.
3041 * guile/scm-gsmob.c: New file.
3042 * guile/scm-iterator.c: New file.
3043 * guile/scm-lazy-string.c: New file.
3044 * guile/scm-math.c: New file.
3045 * guile/scm-objfile.c: New file.
3046 * guile/scm-ports.c: New file.
3047 * guile/scm-pretty-print.c: New file.
3048 * guile/scm-safe-call.c: New file.
3049 * guile/scm-string.c: New file.
3050 * guile/scm-symbol.c: New file.
3051 * guile/scm-symtab.c: New file.
3052 * guile/scm-type.c: New file.
3053 * guile/scm-utils.c: New file.
3054 * guile/scm-value.c: New file.
3055 * guile/lib/gdb.scm: New file.
3056 * guile/lib/gdb/boot.scm: New file.
3057 * guile/lib/gdb/experimental.scm: New file.
3058 * guile/lib/gdb/init.scm: New file.
3059 * guile/lib/gdb/iterator.scm: New file.
3060 * guile/lib/gdb/printing.scm: New file.
3061 * guile/lib/gdb/types.scm: New file.
3062 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
3063 (VPATH): Add $(GUILE_SRCDIR).
3064 (GUILE_DIR): New variable.
3065 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
3066 (all): Add stamp-guile dependency.
3067 (stamp-guile): New rule.
3068 (clean-guile, install-guile, uninstall-guile): New rules.
3069 (install-only): Add install-guile dependency.
3070 (uninstall): Add uninstall-guile dependency.
3071 (clean): Add clean-guile dependency.
3073 2014-02-09 Doug Evans <xdje42@gmail.com>
3075 Revert this patch (which I approved, mea culpa).
3077 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3079 * Makefile.in (all-lib): Remove.
3080 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3082 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3084 Fix Python stack corruption.
3085 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
3088 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3090 * Makefile.in (all-lib): Remove.
3091 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3093 2014-02-07 Doug Evans <dje@google.com>
3095 * extension-priv.h (extension_language_script_ops): Add comment.
3096 (extension_language_ops): Add comment.
3097 (active_ext_lang_state): Fix typo in comment.
3099 2014-02-07 Pedro Alves <palves@redhat.com>
3101 * infrun.c (handle_signal_stop) <signal arrives while stepping
3102 over a breakpoint>: Switch back to the stepping thread.
3104 2014-02-07 Yao Qi <yao@codesourcery.com>
3106 * target.c (target_xfer_partial): Return zero if LEN is zero.
3108 2014-02-07 Yao Qi <yao@codesourcery.com>
3110 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
3111 (ld_so_xfer_auxv): Likewise.
3112 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3113 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3114 * corelow.c (core_xfer_partial): Likewise.
3115 * ctf.c (ctf_xfer_partial): Likewise.
3116 * darwin-nat.c (darwin_read_dyld_info): Likewise.
3117 (darwin_xfer_partial): Likewise.
3118 * exec.c (exec_xfer_partial): Likewise.
3119 * gnu-nat.c (gnu_xfer_partial): Likewise.
3120 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
3121 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
3122 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
3123 * linux-nat.c (linux_xfer_siginfo): Likewise.
3124 (linux_proc_xfer_spu): Likewise.
3125 * procfs.c (procfs_xfer_partial): Likewise.
3126 * record-full.c (record_full_xfer_partial): Likewise.
3127 (record_full_core_xfer_partial): Likewise.
3128 * remote-sim.c (gdbsim_xfer_partial): Likewise.
3129 * remote.c (remote_write_qxfer): Likewise.
3130 (remote_write_qxfer, remote_read_qxfer): Likewise.
3131 (remote_xfer_partial): Likewise.
3132 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3133 (rs6000_xfer_shared_libraries): Likewise.
3134 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3135 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3136 (spu_xfer_partial): Likewise.
3137 * target.c (memory_xfer_partial_1): Likewise.
3138 * tracepoint.c (tfile_xfer_partial): Likewise.
3139 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
3140 (windows_xfer_partial): Likewise.
3142 2014-02-07 Yao Qi <yao@codesourcery.com>
3144 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
3146 (core_xfer_shared_libraries_aix): Likewise.
3147 * gdbarch.c, gdbarch.h: Regenerated.
3148 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
3149 ULONGEST. Change 'len_avail' type to ULONGEST.
3150 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3151 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3153 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
3155 2014-02-07 Yao Qi <yao@codesourcery.com>
3157 * corefile.c (memory_error): Get 'exception' from ERR and pass
3158 'exception' to throw_error.
3160 2014-02-06 Doug Evans <xdje42@gmail.com>
3162 * configure.ac (libpython checking): Remove all but python.o from
3163 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
3164 * configure: Regenerate.
3166 * Makefile.in (SFILES): Add extension.c.
3167 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
3168 (COMMON_OBS): Add extension.o.
3169 * extension.h: New file.
3170 * extension-priv.h: New file.
3171 * extension.c: New file.
3173 * python/python-internal.h: #include "extension.h".
3174 (gdbpy_auto_load_enabled): Declare.
3175 (gdbpy_apply_val_pretty_printer): Declare.
3176 (gdbpy_apply_frame_filter): Declare.
3177 (gdbpy_preserve_values): Declare.
3178 (gdbpy_breakpoint_cond_says_stop): Declare.
3179 (gdbpy_breakpoint_has_cond): Declare.
3180 (void source_python_script_for_objfile): Delete.
3181 * python/python.c: #include "extension-priv.h".
3182 Delete inclusion of "observer.h".
3183 (extension_language_python): Moved here and renamed from
3184 script_language_python in py-auto-load.c.
3185 Redefined to be of type extension_language_defn.
3186 (python_extension_script_ops): New global.
3187 (python_extension_ops): New global.
3188 (struct python_env): New member previous_active.
3189 (restore_python_env): Call restore_active_ext_lang.
3190 (ensure_python_env): Call set_active_ext_lang.
3191 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
3193 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
3195 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
3197 (gdbpy_eval_from_control_command): Renamed from
3198 eval_python_from_control_command, made static. New arg extlang.
3199 (gdbpy_source_script) Renamed from source_python_script, made static.
3201 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
3202 result to int. New arg extlang.
3203 (gdbpy_source_objfile_script): Renamed from
3204 source_python_script_for_objfile, made static. New arg extlang.
3205 (gdbpy_start_type_printers): Renamed from start_type_printers, made
3206 static. New args extlang, extlang_printers. Change result type to
3208 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
3209 static. New arg extlang. Rename arg printers to extlang_printers
3210 and change type to ext_lang_type_printers *.
3211 (gdbpy_free_type_printers): Renamed from free_type_printers, made
3212 static. Replace argument arg with extlang, extlang_printers.
3213 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
3214 (!HAVE_PYTHON, source_python_script): Delete.
3215 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
3216 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
3217 (!HAVE_PYTHON, start_type_printers): Delete.
3218 (!HAVE_PYTHON, apply_type_printers): Delete.
3219 (!HAVE_PYTHON, free_type_printers): Delete.
3220 (_initialize_python): Delete call to observer_attach_before_prompt.
3221 (finalize_python): Set/restore active extension language.
3222 (gdbpy_finish_initialization) Renamed from
3223 finish_python_initialization, made static. New arg extlang.
3224 (gdbpy_initialized): New function.
3225 * python/python.h: #include "extension.h". Delete #include
3226 "value.h", "mi/mi-cmds.h".
3227 (extension_language_python): Declare.
3228 (GDBPY_AUTO_FILE_NAME): Delete.
3229 (enum py_bt_status): Moved to extension.h and renamed to
3231 (enum frame_filter_flags): Moved to extension.h.
3232 (enum py_frame_args): Moved to extension.h and renamed to
3233 ext_lang_frame_args.
3234 (finish_python_initialization): Delete.
3235 (eval_python_from_control_command): Delete.
3236 (source_python_script): Delete.
3237 (apply_val_pretty_printer): Delete.
3238 (apply_frame_filter): Delete.
3239 (preserve_python_values): Delete.
3240 (gdbpy_script_language_defn): Delete.
3241 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
3242 (start_type_printers, apply_type_printers, free_type_printers): Delete.
3244 * auto-load.c: #include "extension.h".
3245 (GDB_AUTO_FILE_NAME): Delete.
3246 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
3247 (script_language_gdb): Delete, moved to extension.c and renamed to
3248 extension_language_gdb.
3249 (source_gdb_script_for_objfile): Delete.
3250 (auto_load_pspace_info): New member unsupported_script_warning_printed.
3251 (loaded_script): Change type of language member to
3252 struct extension_language_defn *.
3253 (init_loaded_scripts_info): Initialize
3254 unsupported_script_warning_printed.
3255 (maybe_add_script): Make static. Change type of language arg to
3256 struct extension_language_defn *.
3257 (clear_section_scripts): Reset unsupported_script_warning_printed.
3258 (auto_load_objfile_script_1): Rewrite to use extension language API.
3259 (auto_load_objfile_script): Make public. Remove support-compiled-in
3260 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
3261 (source_section_scripts): Rewrite to use extension language API.
3262 (load_auto_scripts_for_objfile): Rewrite to use
3263 auto_load_scripts_for_objfile.
3264 (collect_matching_scripts_data): Change type of language member to
3265 struct extension_language_defn *.
3266 (auto_load_info_scripts): Change type of language arg to
3267 struct extension_language_defn *.
3268 (unsupported_script_warning_print): New function.
3269 (script_not_found_warning_print): Make static.
3270 (_initialize_auto_load): Rewrite construction of scripts-directory
3272 * auto-load.h (struct objfile): Add forward decl.
3273 (struct script_language): Delete.
3274 (struct auto_load_pspace_info): Add forward decl.
3275 (struct extension_language_defn): Add forward decl.
3276 (maybe_add_script): Delete.
3277 (auto_load_objfile_script): Declare.
3278 (script_not_found_warning_print): Delete.
3279 (auto_load_info_scripts): Update prototype.
3280 (auto_load_gdb_scripts_enabled): Declare.
3281 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
3282 auto_load_python_scripts_enabled and made public.
3283 (script_language_python): Delete, moved to python.c.
3284 (gdbpy_script_language_defn): Delete.
3285 (info_auto_load_python_scripts): Update to use
3286 extension_language_python.
3288 * breakpoint.c (condition_command): Replace call to
3289 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
3290 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
3291 with call to breakpoint_ext_lang_cond_says_stop.
3292 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
3293 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
3294 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
3295 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
3297 (local_setattro): Print name of extension language with existing
3300 * valprint.c (val_print, value_print): Update to call
3301 apply_ext_lang_val_pretty_printer.
3302 * cp-valprint.c (cp_print_value): Update call to
3303 apply_ext_lang_val_pretty_printer.
3304 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
3305 (gdbpy_apply_val_pretty_printer): Renamed from
3306 apply_val_pretty_printer. New arg extlang.
3307 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
3309 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
3310 extension language API.
3311 * cli/cli-script.c (execute_control_command): Update to call
3312 eval_ext_lang_from_control_command.
3314 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
3315 enum ext_lang_bt_status values. Update call to
3316 apply_ext_lang_frame_filter.
3317 (mi_cmd_stack_list_locals): Ditto.
3318 (mi_cmd_stack_list_args): Ditto.
3319 (mi_cmd_stack_list_variables): Ditto.
3320 * mi/mi-main.c: Delete #include "python/python-internal.h".
3321 Add #include "extension.h".
3322 (mi_cmd_list_features): Replace reference to python internal variable
3323 gdb_python_initialized with call to ext_lang_initialized_p.
3325 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
3326 Update to use enum ext_lang_frame_args. Update to call
3327 apply_ext_lang_frame_filter.
3328 * python/py-framefilter.c (extract_sym): Update to use enum
3330 (extract_value, py_print_type, py_print_value): Ditto.
3331 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
3332 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
3333 (py_print_frame): Ditto.
3334 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
3335 New arg extlang. Update to use enum ext_lang_bt_status.
3337 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
3338 finish_python_initialization. Replace with call to
3339 finish_ext_lang_initialization.
3341 * typeprint.c (do_free_global_table): Update to call
3342 free_ext_lang_type_printers.
3343 (create_global_typedef_table): Update to call
3344 start_ext_lang_type_printers.
3345 (find_global_typedef): Update to call apply_ext_lang_type_printers.
3346 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
3347 (type_print_options): Change type of global_printers from "void *"
3348 to "struct ext_lang_type_printers *".
3350 * value.c (preserve_values): Update to call preserve_ext_lang_values.
3351 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
3352 (gdbpy_preserve_values): Renamed from preserve_python_values.
3354 (!HAVE_PYTHON, preserve_python_values): Delete.
3356 * utils.c (quit_flag): Delete, moved to extension.c.
3357 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
3360 * eval.c: Delete #include "python/python.h".
3361 * main.c: Delete #include "python/python.h".
3363 * defs.h: Update comment.
3365 2014-02-06 Joel Brobecker <brobecker@adacore.com>
3369 2014-02-05 Mark Kettenis <kettenis@gnu.org>
3371 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
3374 2014-02-05 Yao Qi <yao@codesourcery.com>
3376 * remote.c (remote_pass_signals): Remove local 'buf' and use
3378 (remote_program_signals): Likewise.
3380 2014-02-05 Yao Qi <yao@codesourcery.com>
3382 * ctf.c: Include "inferior.h" and "gdbthread.h".
3383 (CTF_PID): A new macro.
3384 (ctf_open): Call inferior_appeared and add_thread_silent.
3385 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
3386 (ctf_thread_alive): New function.
3387 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
3389 2014-02-05 Yao Qi <yao@codesourcery.com>
3393 2013-05-24 Yao Qi <yao@codesourcery.com>
3395 * tracepoint.c (TFILE_PID): Remove.
3396 (tfile_open): Don't add thread and inferior.
3397 (tfile_close): Don't set 'inferior_ptid'. Don't call
3398 exit_inferior_silent.
3399 (tfile_thread_alive): Remove.
3400 (init_tfile_ops): Don't set field 'to_thread_alive' of
3403 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
3405 * remote.c (remote_start_remote): Call remote_check_symbols even
3406 if only symbol-file (not file) has been given.
3408 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3410 * gdbarch.sh (skip_entrypoint): New callback.
3411 * gdbarch.c, gdbarch.h: Regenerate.
3412 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
3413 * infrun.c (fill_in_stop_func): Likewise.
3414 * ppc-linux-tdep.c: Include "elf/ppc64.h".
3415 (ppc_elfv2_elf_make_msymbol_special): New function.
3416 (ppc_elfv2_skip_entrypoint): Likewise.
3417 (ppc_linux_init_abi): Install them for ELFv2.
3419 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3421 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
3422 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
3423 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
3424 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
3425 structures returned in GPRs.
3427 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3429 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
3430 offset to the stack parameter list for the ELFv2 ABI.
3432 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3434 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
3435 set_gdbarch_convert_from_func_ptr_addr and
3436 set_gdbarch_elf_make_msymbol_special for ELFv1.
3437 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
3438 function descriptors on ELFv1.
3439 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
3440 set up r12 at function entry.
3442 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3444 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
3445 (struct gdbarch_tdep): New member elf_abi.
3447 * rs6000-tdep.c: Include "elf/ppc64.h".
3448 (rs6000_gdbarch_init): Detect ELF ABI version.
3450 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3452 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
3453 within a register pair holding a DFP 128-bit value on little-endian.
3454 (ppc64_sysv_abi_return_value_base): Likewise.
3455 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
3456 (dfp_pseudo_register_write): Likewise.
3458 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3460 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
3461 offset on little-endian when passing _Decimal32.
3462 (ppc64_sysv_abi_return_value_base): Likewise for return values.
3464 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3466 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
3467 of the overlapped FP register within the VSX register on little-
3469 (efpr_pseudo_register_write): Likewise.
3471 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3473 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
3474 offset on little-endian when passing small structures.
3476 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3478 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
3479 (struct ppc64_sysv_argpos): New data structure.
3480 (ppc64_sysv_abi_push_float): Remove.
3481 (ppc64_sysv_abi_push_val): New function.
3482 (ppc64_sysv_abi_push_integer): Likewise.
3483 (ppc64_sysv_abi_push_freg): Likewise.
3484 (ppc64_sysv_abi_push_vreg): Likewise.
3485 (ppc64_sysv_abi_push_param): Likewise.
3486 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
3487 (ppc64_sysv_abi_return_value_base): New function.
3488 (ppc64_sysv_abi_return_value): Refactor to use it.
3490 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3492 * NEWS: Document new target powerpc64le-*-linux*.
3494 2014-02-04 Mark Kettenis <kettenis@gnu.org>
3496 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
3497 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
3499 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
3500 register set used in ELF core dumps. Add floating-point register set.
3502 2014-02-03 Kevin Buettner <kevinb@redhat.com>
3504 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
3505 dwarf2_to_gdb[] table using symbolic constants. Adjust
3506 penultimate entry from number representing the PC register
3507 to symbolic constant representing the MDR register. Add
3508 constant for the PC register to the end of the table.
3510 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3512 * bsd-kvm.c: Include <sys/param.h>
3514 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3516 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
3518 2014-01-31 Joel Brobecker <brobecker@adacore.com>
3520 * ada-lang.h (clear_ada_sym_cache): Delete.
3522 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
3524 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
3526 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3528 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
3529 the sigreturn register save area only if the syscall is
3532 2014-01-29 Joel Brobecker <brobecker@adacore.com>
3534 * valops.c (value_slice): Minor reformatting.
3536 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
3538 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
3540 2014-01-28 Joel Brobecker <brobecker@adacore.com>
3542 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
3544 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
3545 (ada_ignore_descriptive_types_p): New static global.
3546 (find_parallel_type_by_descriptive_type): Return immediately
3547 if ada_ignore_descriptive_types_p is set.
3548 (_initialize_ada_language): Register new commands "maintenance
3549 set ada", "maintenance show ada", "maintenance set ada
3550 ignore-descriptive-types" and "maintenance show ada
3551 ignore-descriptive-types".
3552 * NEWS: Add entry for new "maint ada set/show
3553 ignore-descriptive-types" commands.
3555 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
3557 * record-btrace.c (record_btrace_close): Call btrace_teardown
3560 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3562 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
3565 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3567 * ada-typeprint (type_is_full_subrange_of_target_type):
3569 (print_range): Add parameter bounds_prefered_p. If not set,
3570 try printing range types using the name of their base type.
3571 (print_range_type): Add parameter bounds_prefered_p.
3572 Use it in call to print_range.
3573 (print_array_type, ada_print_type): Update calls to print_range
3574 and print_range_type.
3576 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3578 * ada-typeprint.c (print_array_type, print_choices, print_range)
3579 (print_range_bound, print_dynamic_range_bound, print_range_type):
3582 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3584 * ada-typeprint.c (print_range): Add missing empty line
3585 after local declaration.
3587 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3589 * ada-valprint.c (print_optional_low_bound): Get index_type's
3590 target type for as long as it is a TYPE_CODE_RANGE.
3592 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3594 * procfs.c (procfs_make_note_section): Remove assertion and
3597 2014-01-24 Yao Qi <yao@codesourcery.com>
3599 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
3600 * corelow.c (get_core_siginfo): Likewise.
3602 2014-01-24 Yao Qi <yao@codesourcery.com>
3604 * remote.c (remote_write_bytes_aux): Change type of 'len' to
3605 ULONGEST. Don't check 'len' is negative.
3606 (remote_write_bytes): Change type of 'len' to ULONGEST.
3608 2014-01-23 Tom Tromey <tromey@redhat.com>
3611 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
3612 Handle exception from frame.block.
3613 (FrameVars.fetch_frame_locals): Likewise.
3615 2014-01-23 Tom Tromey <tromey@redhat.com>
3618 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
3619 on a NULL pointer. Move "goto error" to correct place.
3621 2014-01-23 Tom Tromey <tromey@redhat.com>
3624 * python/py-framefilter.c (apply_frame_filter): Call
3625 ensure_python_env after computing gdbarch.
3627 2014-01-23 Yao Qi <yao@codesourcery.com>
3629 * target.c (raw_memory_xfer_partial): Change argument type
3630 from void * to gdb_byte *.
3631 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
3633 2014-01-22 Doug Evans <dje@google.com>
3635 New gdbserver option --debug-format=timestamp.
3638 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3640 * syscalls/s390x-linux.xml: New file.
3641 * syscalls/s390-linux.xml: New file.
3642 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
3643 (XML_SYSCALL_FILENAME_S390X): Likewise.
3644 (op_svc): New enum value for SVC opcode.
3645 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
3646 (s390_linux_get_syscall_number): New function.
3647 (s390_gdbarch_init): Register '*get_syscall_number' and the
3648 syscall xml file name.
3649 * data-directory/Makefile.in (SYSCALLS_FILES): Add
3650 "s390-linux.xml" and "s390x-linux.xml".
3651 * NEWS: Announce new feature.
3653 2014-01-22 Baruch Siach <baruch@tkos.co.il>
3655 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
3657 2014-01-22 Pedro Alves <palves@redhat.com>
3659 * xtensa-config.c: Include defs.h.
3661 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3663 * common/common-utils.h: Add "ARI:" comment beside __func__
3666 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3668 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
3669 documentation a bit.
3671 2014-01-21 Roland McGrath <mcgrathr@google.com>
3673 * configure.ac: Call AM_PROG_INSTALL_STRIP.
3674 * configure: Regenerate.
3675 * aclocal.m4: Regenerate.
3676 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
3677 New substituted variables.
3678 (install-strip): New target.
3679 (INSTALL_SCRIPT): New substituted variable.
3680 (FLAGS_TO_PASS): Add it.
3681 (install-only): Use $(INSTALL_SCRIPT) rather than
3682 $(INSTALL_PROGRAM) for gcore.
3684 2014-01-20 Tom Tromey <tromey@redhat.com>
3686 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
3689 2014-01-20 Tom Tromey <tromey@redhat.com>
3691 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
3692 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
3693 (deprecated_cmd_warning, complete_on_cmdlist): Update.
3694 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
3695 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3696 (struct cmd_list_element) <flags>: Remove.
3697 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3698 doc_allocated>: New fields.
3699 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3701 * maint.c (maintenance_do_deprecate): Update.
3702 * top.c (execute_command): Update.
3704 2014-01-20 Baruch Siach <baruch@tkos.co.il>
3706 * xtensa-linux-nat.c: Include asm/ptrace.h.
3708 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3710 * Makefile.in (SFILES): Add d-support.c.
3711 (COMMON_OBS): Add d-support.o.
3712 * d-lang.h (d_parse_symbol): Add comment, now defined in
3714 * d-lang.c (parse_call_convention)
3715 (parse_attributes, parse_function_types)
3716 (parse_function_args, parse_type, parse_identifier)
3717 (call_convention_p, d_parse_symbol): Move functions to ...
3718 * d-support.c: ... New file.
3720 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3722 * d-lang.h (d_parse_symbol): Add declaration.
3723 * d-lang.c (extract_identifiers)
3724 (extract_type_info): Remove functions.
3725 (parse_call_convention, parse_attributes)
3726 (parse_function_types, parse_function_args)
3727 (parse_type, parse_identifier, call_convention_p)
3728 (d_parse_symbol): New functions.
3729 (d_demangle): Use d_parse_symbol to demangle D symbols.
3731 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3733 * d-lang.h (struct builtin_d_type): New data type.
3734 (builtin_d_type): Add declaration.
3735 * d-lang.c (d_language_arch_info, build_d_types)
3736 (builtin_d_type): New functions.
3737 (enum d_primitive_types): New data type.
3738 (d_language_defn): Change c_language_arch_info to
3739 d_language_arch_info.
3740 (d_type_data): New static variable.
3741 (_initialize_d_language): Initialize d_type_data.
3743 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3745 * d-lang.h (d_main_name): Add declaration.
3746 * d-lang.c (d_main_name): New function.
3747 * symtab.c (find_main_name): Add call to d_main_name.
3749 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3751 * d-lang.c (d_language_defn): Change macro_expansion_c to
3754 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3756 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3758 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3760 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3761 gdb_exception" declaration.
3762 * remote.c (getpkt_or_notif_sane): Likewise.
3764 2014-01-17 Doug Evans <dje@google.com>
3766 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3767 function, contents of dirnames_to_char_ptr_vec_append moved here.
3768 (delim_string_to_char_ptr_vec): New function.
3769 (dirnames_to_char_ptr_vec_append): Rewrite.
3770 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3772 2014-01-17 Doug Evans <dje@google.com>
3774 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3776 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3777 #include "common-utils.h".
3778 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3779 * common/vec.h (VEC_ASSERT_PASS): Update.
3780 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3781 (MACH_CHECK_ERROR): Update.
3783 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3785 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3787 * gdbarch.h: Regenerate.
3789 2014-01-16 Tom Tromey <tromey@redhat.com>
3791 * value.c (struct value) <regnum>: Move earlier.
3793 2014-01-16 Tom Tromey <tromey@redhat.com>
3795 * remote.c (extended_remote_create_inferior): Rename from
3796 extended_remote_create_inferior_1. Add "ops" argument. Remove
3799 2014-01-16 Pedro Alves <palves@redhat.com>
3801 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3802 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3805 2014-01-16 Doug Evans <dje@google.com>
3807 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3809 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3811 * btrace.h (btrace_thread_flag): New.
3812 (struct btrace_thread_info) <flags>: New.
3813 * record-btrace.c (record_btrace_resume_thread)
3814 (record_btrace_find_thread_to_move, btrace_step_no_history)
3815 (btrace_step_stopped, record_btrace_start_replaying)
3816 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3817 (record_btrace_find_resume_thread): New.
3818 (record_btrace_resume, record_btrace_wait): Extend.
3819 (record_btrace_can_execute_reverse): New.
3820 (record_btrace_open): Fail in non-stop mode.
3821 (record_btrace_set_replay): Split into this, ...
3822 (record_btrace_stop_replaying): ... this, ...
3823 (record_btrace_clear_histories): ... and this.
3824 (init_record_btrace_ops): Init to_can_execute_reverse.
3825 * NEWS: Announce it.
3827 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3829 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3830 (forward_target_decr_pc_after_break)
3831 (target_decr_pc_after_break): New.
3832 * target.c (forward_target_decr_pc_after_break)
3833 (target_decr_pc_after_break): New.
3834 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3835 instead of gdbarch_decr_pc_after_break.
3836 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3837 instead of gdbarch_decr_pc_after_break.
3838 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3839 instead of gdbarch_decr_pc_after_break.
3840 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3841 instead of gdbarch_decr_pc_after_break.
3842 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3843 instead of gdbarch_decr_pc_after_break.
3844 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3845 instead of gdbarch_decr_pc_after_break.
3847 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3849 * btrace.c: Include regcache.h.
3850 (btrace_add_pc): New.
3851 (btrace_enable): Call btrace_add_pc.
3852 (btrace_is_empty): New.
3853 * btrace.h (btrace_is_empty): New.
3854 * record-btrace.c (require_btrace, record_btrace_info): Call
3857 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3859 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3860 Support delta reads.
3861 (linux_disable_btrace): Change return type.
3862 * common/linux-btrace.h (linux_read_btrace): Change parameters
3863 and return type to allow error reporting. Update users.
3864 (linux_disable_btrace): Change return type. Update users.
3865 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3867 (btrace_error): New.
3868 (btrace_block) <begin>: Comment on BEGIN == 0.
3869 * btrace.c (btrace_compute_ftrace): Start from the end of
3871 (btrace_stitch_trace, btrace_clear_history): New.
3872 (btrace_fetch): Read delta trace, return if replaying.
3873 (btrace_clear): Move clear history code to btrace_clear_history.
3874 (parse_xml_btrace): Throw an error if parsing failed.
3875 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3876 and return type to allow error reporting.
3877 (target_read_btrace): Change parameters and return type to allow
3879 * target.c (target_read_btrace): Update.
3880 * remote.c (remote_read_btrace): Support delta reads. Pass
3882 * NEWS: Announce it.
3884 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3886 * record.h (record_btrace_frame_unwind)
3887 (record_btrace_tailcall_frame_unwind): New declarations.
3888 * dwarf2-frame: Include record.h
3889 (dwarf2_frame_cfa): Throw an error for btrace frames.
3890 * record-btrace.c: Include hashtab.h.
3891 (btrace_get_bfun_name): New.
3892 (btrace_call_history): Call btrace_get_bfun_name.
3893 (struct btrace_frame_cache): New.
3895 (bfcache_hash, bfcache_eq, bfcache_new): New.
3896 (btrace_get_frame_function): New.
3897 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3898 (record_btrace_frame_this_id): Compute own id.
3899 (record_btrace_frame_prev_register): Provide PC, throw_error
3900 for all other registers.
3901 (record_btrace_frame_sniffer): Detect btrace frames.
3902 (record_btrace_tailcall_frame_sniffer): New.
3903 (record_btrace_frame_dealloc_cache): New.
3904 (record_btrace_frame_unwind): Add new functions.
3905 (record_btrace_tailcall_frame_unwind): New.
3906 (_initialize_record_btrace): Allocate cache.
3907 * btrace.c (btrace_clear): Call reinit_frame_cache.
3908 * NEWS: Announce it.
3910 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3912 * record-btrace.c (record_btrace_set_replay)
3913 (record_btrace_goto_begin, record_btrace_goto_end)
3914 (record_btrace_goto): New.
3915 (init_record_btrace_ops): Initialize them.
3916 * NEWS: Announce it.
3918 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3920 * record-btrace.c (record_btrace_find_new_threads)
3921 (record_btrace_thread_alive): New.
3922 (init_record_btrace_ops): Initialize to_find_new_threads and
3925 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3927 * record-btrace.c (record_btrace_resume): New.
3928 (record_btrace_wait): New.
3929 (init_record_btrace_ops): Initialize to_wait and to_resume.
3931 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3933 * record-btrace.c (record_btrace_xfer_partial)
3934 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3935 (record_btrace_allow_memory_access): New.
3936 (init_record_btrace_ops): Initialize new methods.
3937 * target.c (raw_memory_xfer_partial): Bail out if target reports
3938 that this memory is not available.
3940 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3942 * target.h (target_ops) <to_insert_breakpoint>
3943 <to_remove_breakpoint>: Add target_ops parameter.
3944 (forward_target_insert_breakpoint): New.
3945 (forward_target_remove_breakpoint): New.
3946 (memory_remove_breakpoint, memory_insert_breakpoint):
3947 Add target_ops parameter.
3948 * target.c (target_insert_breakpoint): Split into this and ...
3949 (forward_target_insert_breakpoint): ... this.
3950 (target_remove_breakpoint): Split into this and ...
3951 (forward_target_remove_breakpoint): ... this.
3952 (debug_to_insert_breakpoint): Add target_ops parameter.
3953 Call forward_target_insert_breakpoint.
3954 (debug_to_remove_breakpoint): Add target_ops parameter.
3955 Call forward_target_remove_breakpoint.
3956 (update_current_target): Do not inherit or default to_insert_breakpoint
3957 and to_remove_breakpoint.
3958 * corelow.c (ignore): Add target_ops parameter.
3959 * exec.c (ignore): Add target_ops parameter.
3960 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3961 Add target_ops parameter.
3962 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3963 Add target_ops parameter.
3964 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3965 Add target_ops parameter.
3966 * record-full.c (record_full_beneath_to_insert_breakpoint)
3967 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3968 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3969 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
3970 (record_full_core_remove_breakpoint): Add target_ops parameter.
3972 (record_full_beneath_to_insert_breakpoint_ops)
3973 (record_full_beneath_to_remove_breakpoint_ops)
3974 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
3975 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
3976 tmp_to_remove_breakpoint_ops,
3977 record_full_beneath_to_insert_breakpoint_ops, and
3978 record_full_beneath_to_remove_breakpoint_ops.
3979 * remote-m32r-sdi.c (m32r_insert_breakpoint)
3980 (m32r_remove_breakpoint): Add target_ops parameter.
3981 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
3982 Add target_ops parameter.
3983 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
3984 Add target_ops parameter.
3986 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3987 Markus Metzger <markus.t.metzger@intel.com>
3989 * record-btrace.c: Include frame-unwind.h.
3990 (record_btrace_frame_unwind_stop_reason)
3991 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
3992 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
3994 (init_record_btrace_ops): Install it.
3996 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3998 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
4001 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4003 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
4006 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4008 * frame-unwind.c: Include target.h.
4009 (frame_unwind_try_unwinder): New function with code from ...
4010 (frame_unwind_find_by_frame): ... here. New variable
4011 unwinder_from_target, call also target_get_unwinder)
4012 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
4013 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
4014 * target.h (struct target_ops): New fields to_get_unwinder and
4015 to_get_tailcall_unwinder.
4016 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
4018 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4020 * record-btrace.c (record_btrace_fetch_registers)
4021 (record_btrace_store_registers)
4022 (record_btrace_to_prepare_to_store): New.
4023 (init_record_btrace_ops): Add the above.
4025 2014-01-16 Tom Tromey <tromey@redhat.com>
4027 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
4028 * target.h (struct target_ops) <to_prepare_to_store>: Add
4030 (target_prepare_to_store): Add argument.
4031 * target.c (debug_to_prepare_to_store): Add argument.
4032 (update_current_target): Update.
4033 * remote.c (remote_prepare_to_store): Add 'self' argument.
4034 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
4035 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
4036 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
4037 * record-full.c (record_full_core_prepare_to_store): Add 'self'
4039 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
4040 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
4041 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
4042 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
4043 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
4045 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4047 * btrace.h (replay) <replay>: New.
4048 (btrace_is_replaying): New.
4049 * btrace.c (btrace_clear): Free replay iterator.
4050 (btrace_is_replaying): New.
4051 * record-btrace.c (record_btrace_is_replaying): New.
4052 (record_btrace_info): Print insn number if replaying.
4053 (record_btrace_insn_history): Start at replay position.
4054 (record_btrace_call_history): Start at replay position.
4055 (init_record_btrace_ops): Init to_record_is_replaying.
4057 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4059 * record-btrace.c (record_btrace_insn_history_range): Include
4061 (record_btrace_insn_history_from): Adjust range.
4062 (record_btrace_call_history_range): Include
4064 (record_btrace_call_history_from): Adjust range.
4065 * NEWS: Announce changes.
4067 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4069 * record.h (enum record_print_flag)
4070 <record_print_indent_calls>: New.
4071 * record.c (get_call_history_modifiers): Recognize /c modifier.
4072 (_initialize_record): Document /c modifier.
4073 * record-btrace.c (btrace_call_history): Add btinfo parameter.
4074 Reorder fields. Optionally indent the function name. Update
4076 * NEWS: Announce changes.
4078 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4080 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
4082 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4084 * btrace.c (ftrace_new_function): Start counting at one.
4085 * record-btrace.c (record_btrace_info): Adjust number of calls
4087 * NEWS: Announce it.
4089 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4091 * record-btrace.c (btrace_call_history_insn_range): Print
4092 insn range as [begin, end].
4094 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4096 * btrace.h (struct btrace_func_link): New.
4097 (enum btrace_function_flag): New.
4098 (struct btrace_inst): Rename to ...
4099 (struct btrace_insn): ...this. Update all users.
4100 (struct btrace_func) <ibegin, iend>: Remove.
4101 (struct btrace_func_link): New.
4102 (struct btrace_func): Rename to ...
4103 (struct btrace_function): ...this. Update all users.
4104 (struct btrace_function) <segment, flow, up, insn, insn_offset)
4105 (number, level, flags>: New.
4106 (struct btrace_insn_iterator): Rename to ...
4107 (struct btrace_insn_history): ...this.
4109 (struct btrace_insn_iterator, btrace_call_iterator): New.
4110 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
4111 (struct btrace_target_info) <begin, end, level>
4112 <insn_history, call_history>: New.
4113 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4114 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4115 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4116 (btrace_call_number, btrace_call_begin, btrace_call_end)
4117 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4118 (btrace_find_function_by_number, btrace_set_insn_history)
4119 (btrace_set_call_history): New.
4120 * btrace.c (btrace_init_insn_iterator)
4121 (btrace_init_func_iterator, compute_itrace): Remove.
4122 (ftrace_print_function_name, ftrace_print_filename)
4123 (ftrace_skip_file): Change
4125 (ftrace_init_func): Remove.
4126 (ftrace_debug): Use new btrace_function fields.
4127 (ftrace_function_switched): Also consider gaining and
4128 losing symbol information).
4129 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
4130 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
4131 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
4133 (ftrace_new_function): Move. Remove debug print.
4134 (ftrace_update_lines, ftrace_update_insns): New.
4135 (ftrace_update_function): Check for call, ret, and jump.
4136 (compute_ftrace): Renamed to ...
4137 (btrace_compute_ftrace): ...this. Rewritten to compute call
4139 (btrace_fetch, btrace_clear): Updated.
4140 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4141 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4142 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4143 (btrace_call_number, btrace_call_begin, btrace_call_end)
4144 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4145 (btrace_find_function_by_number, btrace_set_insn_history)
4146 (btrace_set_call_history): New.
4147 * record-btrace.c (require_btrace): Use new btrace thread
4149 (record_btrace_info, btrace_insn_history)
4150 (record_btrace_insn_history, record_btrace_insn_history_range):
4151 Use new btrace thread info fields and new iterator.
4152 (btrace_func_history_src_line): Rename to ...
4153 (btrace_call_history_src_line): ...this. Use new btrace
4155 (btrace_func_history): Rename to ...
4156 (btrace_call_history): ...this. Use new btrace thread info
4157 fields and new iterator.
4158 (record_btrace_call_history, record_btrace_call_history_range):
4159 Use new btrace thread info fields and new iterator.
4161 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4163 * frame.h (frame_id_build_unavailable_stack_special): New.
4164 * frame.c (frame_id_build_unavailable_stack_special): New.
4166 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4168 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
4169 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
4170 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
4172 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
4173 (i386_insn_is_jump, i386_jmp_p): New.
4174 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
4175 insn_is_jump to gdbarch.
4176 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
4177 * gdbarch.h: Regenerated.
4178 * gdbarch.c: Regenerated.
4179 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
4180 (default_insn_is_jump): New.
4181 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
4182 (default_insn_is_jump): New.
4184 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4186 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
4188 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
4189 (btrace_read_type) <btrace_read_new>: Change to ...
4190 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
4192 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4194 * common/linux-btrace.c (linux_read_btrace): Free trace from
4197 2014-01-15 Doug Evans <dje@google.com>
4199 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
4202 2014-01-15 Tom Tromey <tromey@redhat.com>
4204 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
4205 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
4206 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
4207 (set_objfile_main_name): New function.
4208 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
4209 language_of_main>: New fields.
4210 (set_objfile_main_name): Declare.
4211 * symtab.c (find_main_name): Loop over objfiles to find the main
4213 (set_main_name): Now static.
4214 (get_main_info): Add comment.
4215 * symtab.h (set_main_name): Don't declare.
4217 2014-01-15 Tom Tromey <tromey@redhat.com>
4219 * symtab.c (main_progspace_key): New global.
4220 (struct main_info): New.
4221 (name_of_main, language_of_main): Remove.
4222 (get_main_info, main_info_cleanup): New function.
4223 (set_main_name, main_name, main_language): Use get_main_info.
4224 (_initialize_symtab): Initialize main_progspace_key.
4226 2014-01-15 Tom Tromey <tromey@redhat.com>
4228 * dbxread.c (process_one_symbol): Update.
4229 * dwarf2read.c (read_partial_die): Update.
4230 * symfile.c (set_initial_language): Call main_language.
4231 * symtab.c (language_of_main): Now static.
4232 (set_main_name): Add 'lang' parameter.
4233 (find_main_name): Update.
4234 (main_language): New function.
4235 (symtab_observer_executable_changed): Update.
4236 * symtab.h (set_main_name): Update.
4237 (language_of_main): Remove.
4238 (main_language): Declare.
4240 2014-01-15 Tom Tromey <tromey@redhat.com>
4242 * symfile.c (init_entry_point_info): Use new "initialized" field.
4244 * objfiles.h (struct entry_point) <initialized>: New field.
4245 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
4246 (struct objfile) <ei>: ...here. Remove.
4247 * objfiles.c (entry_point_address_query): Update.
4249 2014-01-15 Tom Tromey <tromey@redhat.com>
4251 * objfiles.c (entry_point_address_query): Relocate entry point
4253 (objfile_relocate1): Do not relocate entry point address.
4254 * objfiles.h (struct entry_info) <entry_point>: Update comment.
4255 <the_bfd_section_index>: New field.
4256 * symfile.c (init_entry_point_info): Find the entry point's
4259 2014-01-15 Tom Tromey <tromey@redhat.com>
4261 * solib-frv.c (enable_break): Use entry_point_address_query.
4263 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4265 * NEWS: Add note on improved process record-replay on
4266 arm*-linux* targets.
4268 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4270 * arm-tdep.c (enum arm_record_result): New enum.
4271 (arm_record_unsupported_insn): New function.
4272 (arm_record_coproc_data_proc): Removed.
4273 (thumb2_record_ld_st_multiple): New function.
4274 (thumb2_record_ld_st_dual_ex_tbb): New function.
4275 (thumb2_record_data_proc_sreg_mimm): New function.
4276 (thumb2_record_ps_dest_generic): New function.
4277 (thumb2_record_branch_misc_cntrl): New function.
4278 (thumb2_record_str_single_data): New function.
4279 (thumb2_record_ld_mem_hints): New function.
4280 (thumb2_record_ld_word): New function.
4281 (thumb2_record_lmul_lmla_div): New function.
4282 (thumb2_record_decode_insn_handler): New function.
4283 (decode_insn): Add thumb32 instruction handlers.
4285 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4287 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
4288 (struct arm_linux_record_tdep): Declare.
4289 (arm_canonicalize_syscall): New function.
4290 (arm_all_but_pc_registers_record): New function.
4291 (arm_linux_syscall_record): New function.
4292 (arm_linux_init_abi): Add syscall recording constructs.
4293 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
4294 decoding. (arm_record_coproc_data_proc): Update arm syscall
4296 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
4297 <arm_syscall_record>: New field.
4298 * configure.tgt (arm*-*-linux*): Add linux-record.o to
4301 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4303 * arm-tdep.c (thumb_record_misc): Update to use sp as base
4304 register for push instruction recording.
4306 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4308 * arm-tdep.c (thumb_record_misc): Update to correct logical
4309 error while recording ldm, ldmia and pop instructions.
4311 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4313 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
4315 2014-01-15 Pedro Alves <palves@redhat.com>
4317 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
4318 (go32_resume, go32_fetch_registers, store_register)
4319 (go32_store_registers, go32_prepare_to_store)
4320 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
4321 (go32_create_inferior, go32_can_run, go32_terminal_init)
4322 (go32_terminal_inferior, go32_terminal_ours): Delete forward
4325 2014-01-15 Tom Tromey <tromey@redhat.com>
4327 * target.h (async_callback_ftype): New typedef.
4328 (struct target_ops) <to_async>: Use it.
4330 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4332 * python/py-value.c (get_field_type): Remove unnecessary curly
4333 braces for single-statement if block.
4335 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4337 * python/py-type.c (convert_field): Add missing empty line
4340 2014-01-14 Doug Evans <dje@google.com>
4342 * symfile.h (expand_symtabs_matching): Renamed from
4343 expand_partial_symbol_names. Update prototype.
4344 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4345 * symfile.c (expand_symtabs_matching): Renamed from
4346 expand_partial_symbol_names. New args file_matcher, kind.
4347 Rename arg fun to symbol_matcher.
4348 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4349 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
4350 ada_expand_partial_symbol_name.
4351 (ada_make_symbol_completion_list): Update to call
4352 expand_symtabs_matching.
4353 (ada_add_global_exceptions): Call expand_symtabs_matching.
4354 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
4355 call map_symbol_filenames.
4356 * symtab.c (sources_info): Update to call map_symbol_filenames.
4357 (search_symbols): Call expand_symtabs_matching.
4358 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
4359 (default_make_symbol_completion_list_break_on): Update to call
4360 expand_symtabs_matching.
4361 (make_source_files_completion_list): Update to call
4362 map_symbol_filenames.
4364 2014-01-14 Doug Evans <dje@google.com>
4366 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
4367 (expand_symtabs_symbol_matcher_ftype): New typedef.
4368 (quick_symbol_functions.expand_symtabs_matching): Update to use.
4369 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4370 * symfile.c (expand_partial_symbol_names): Update to use
4371 expand_symtabs_symbol_matcher_ftype.
4372 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
4373 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4374 Arg name_matcher renamed to symbol_matcher.
4375 * psymtab.c (recursively_search_psymtabs): Update to use
4376 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
4378 (expand_symtabs_matching_via_partial): Update to use
4379 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4380 Arg name_matcher renamed to symbol_matcher.
4382 2014-01-14 Doug Evans <dje@google.com>
4384 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
4385 (map_partial_symbol_filenames): Ditto.
4386 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
4387 (map_partial_symbol_filenames): Ditto.
4388 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
4389 (map_partial_symbol_filenames): Ditto.
4390 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
4391 (map_partial_symbol_filenames): Ditto.
4392 * symtab.c: Delete #include "psymtab.h".
4394 2014-01-14 Pedro Alves <palves@redhat.com>
4395 Tom Tromey <tromey@redhat.com>
4397 * infrun.c (use_displaced_stepping): Use find_record_target
4398 instead of RECORD_IS_USED.
4399 (adjust_pc_after_break): Use record_full_is_used instead of
4401 * record-btrace.c (record_btrace_open): Call record_preopen
4402 instead of checking RECORD_IS_USED.
4403 * record-full.c (record_full_shortname)
4404 (record_full_core_shortname): New globals.
4405 (record_full_is_used): New function.
4406 (find_full_open): Call record_preopen instead of checking
4408 (init_record_full_ops): Set the target's shortname to
4409 record_full_shortname.
4410 (init_record_full_core_ops): Set the target's shortname to
4411 record_full_core_shortname.
4412 * record-full.h (record_full_is_used): Declare.
4413 * record.c (find_record_target): Make extern.
4414 (record_preopen): New function.
4415 * record.h (RECORD_IS_USED): Delete macro.
4416 (find_record_target, record_preopen): Declare functions.
4418 2014-01-14 Yao Qi <yao@codesourcery.com>
4420 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
4421 'len''s type to ULONGEST.
4422 (core_xfer_shared_libraries_aix): Likewise.
4423 * gdbarch.c, gdbarch.h: Regenerated.
4424 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
4425 Change type of 'len' to ULONGEST.
4426 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4427 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
4429 2014-01-14 Yao Qi <yao@codesourcery.com>
4431 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
4432 type of 'len' to ULONGEST.
4433 (linux_xfer_osdata_processgroups): Likewise.
4434 (linux_xfer_osdata_threads): Likewise.
4435 (linux_xfer_osdata_fds): Likewise.
4436 (linux_xfer_osdata_isockets): Likewise.
4437 (linux_xfer_osdata_shm): Likewise.
4438 (linux_xfer_osdata_sem): Likewise.
4439 (linux_xfer_osdata_msg): Likewise.
4440 (linux_common_xfer_osdata): Likewise.
4441 (struct osdata_type) <getter>: Likewise.
4442 * common/linux-osdata.h (linux_common_xfer_osdata): Update
4445 2014-01-14 Yao Qi <yao@codesourcery.com>
4447 * target.h (target_xfer_partial_ftype): Update.
4448 (struct target_ops) <to_xfer_partial>: Change 'len' type to
4450 * aix-thread.c (aix_thread_xfer_partial): Change type of
4451 argument 'len' to ULONGEST.
4452 * auxv.c (procfs_xfer_auxv): Likewise.
4453 (ld_so_xfer_auxv): Likewise.
4454 (memory_xfer_auxv): Likewise.
4455 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4456 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4457 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4458 * corelow.c (core_xfer_partial): Likewise.
4459 * ctf.c (ctf_xfer_partial): Likewise.
4460 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
4462 (darwin_read_dyld_info): Likewise.
4463 (darwin_xfer_partial): Likewise.
4464 * exec.c (section_table_xfer_memory_partial): Likewise.
4465 (exec_xfer_partial): Likewise.
4466 * exec.h (section_table_xfer_memory_partial): Update
4468 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
4469 instead of plongest.
4470 (gnu_xfer_partial): Likewise.
4471 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
4472 (ia64_hpux_xfer_solib_got): Likewise.
4473 (ia64_hpux_xfer_partial): Likewise.
4474 * ia64-linux-nat.c (ia64_linux_xfer_partial):
4475 * inf-ptrace.c (inf_ptrace_xfer_partial):
4476 * inf-ttrace.c (inf_ttrace_xfer_partial):
4477 * linux-nat.c (linux_xfer_siginfo): Likewise.
4478 (linux_nat_xfer_partial): Likewise.
4479 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
4480 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
4481 * monitor.c (monitor_xfer_memory): Likewise.
4482 (monitor_xfer_partial): Likewise.
4483 * procfs.c (procfs_xfer_partial): Likewise.
4484 * record-full.c (record_full_xfer_partial): Likewise.
4485 (record_full_core_xfer_partial): Likewise.
4486 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
4487 instead of plongest.
4488 (gdbsim_xfer_partial): Likewise.
4489 * remote.c (remote_xfer_partial): Likewise.
4490 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4491 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4493 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4494 (rs6000_xfer_shared_libraries): Likewise.
4495 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4496 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4497 (sparc_xfer_partial): Likewise.
4498 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4499 (spu_xfer_partial): Likewise.
4500 * spu-multiarch.c (spu_xfer_partial): Likewise.
4501 * target.c (target_read_live_memory): Likewise.
4502 (memory_xfer_live_readonly_partial): Likewise.
4503 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
4504 (target_xfer_partial, default_xfer_partial): Likewise.
4505 (current_xfer_partial): Likewise.
4506 * tracepoint.c (tfile_xfer_partial): Likewise.
4507 * windows-nat.c (windows_xfer_memory): Likewise. Call
4508 pulongest instead of plongest.
4509 (windows_xfer_partial): Likewise.
4510 (windows_xfer_shared_libraries): Likewise.
4512 2014-01-14 Yao Qi <yao@codesourcery.com>
4514 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
4515 target_xfer_partial_ftype.
4517 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4521 * valops.c (value_struct_elt_bitpos): New function
4522 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
4523 object to 'None' if the field name is an empty string ("").
4524 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
4525 attribute to look for a field when 'name' is 'None'.
4526 (get_field_type): New function
4528 2014-01-13 Doug Evans <dje@google.com>
4531 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
4532 (try_open_dwop_file): Ditto.
4533 * gdb_bfd.c: #include "vec.h".
4534 (bfdp): New typedef.
4535 (struct gdb_bfd_data): New member included_bfds.
4536 (gdb_bfd_unref): Unref all included bfds.
4537 (gdb_bfd_record_inclusion): New function.
4538 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
4540 2014-01-13 Tom Tromey <tromey@redhat.com>
4542 * gdbcore.h (deprecated_core_resize_section_table): Remove.
4544 2014-01-13 Tom Tromey <tromey@redhat.com>
4546 * defs.h (use_windows): Remove.
4547 * gdb.c (main): Update.
4548 * main.c (captured_main, gdb_main): Update.
4549 * main.h (struct captured_main_args) <use_windows>: Remove.
4550 * top.c (use_windows): Remove.
4552 2014-01-13 Tom Tromey <tromey@redhat.com>
4554 * defs.h (deprecated_flush_hook): Remove.
4556 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4559 * linux-thread-db.c (try_thread_db_load): Add parameter
4560 check_auto_load_safe. Move here the file_is_auto_load_safe call.
4561 (try_thread_db_load_from_pdir_1): Move it there from here.
4562 (try_thread_db_load_from_sdir): Update caller.
4563 (try_thread_db_load_from_dir): Move it there from here.
4565 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
4567 * regformats/regdat.sh: Always rewrite the register file.
4569 2014-01-13 Pedro Alves <palves@redhat.com>
4571 * Makefile.in (CHECK_HEADERS): New variable.
4572 (check-headers:): New rule.
4574 2014-01-13 Tom Tromey <tromey@redhat.com>
4576 * cli/cli-setshow.c (do_set_command): Update.
4577 * defs.h (deprecated_set_hook): Remove.
4578 * top.c (deprecated_set_hook): Remove.
4580 2014-01-13 Pedro Alves <palves@redhat.com>
4582 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
4583 the tracepoint if the PC is a pseudo-register.
4585 2014-01-13 Tom Tromey <tromey@redhat.com>
4587 * defs.h (XCALLOC): Remove.
4588 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
4589 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
4590 * dwarf2loc.c (allocate_piece_closure): Likewise.
4591 * elfread.c (elf_symfile_segments): Likewise.
4592 (elf_symfile_segments): Likewise.
4593 * gdbtypes.c (copy_type_recursive): Likewise.
4594 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
4595 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
4596 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
4598 * mt-tdep.c (mt_gdbarch_init): Likewise.
4599 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
4601 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
4602 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
4603 * registry.c (registry_alloc_data): Likewise.
4604 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
4605 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
4606 * serial.c (serial_fdopen_ops): Likewise.
4607 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
4609 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
4610 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
4613 2014-01-13 Tom Tromey <tromey@redhat.com>
4615 * defs.h (XMALLOC): Remove.
4616 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
4617 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
4618 * cli-out.c (struct ui_out *): Likewise.
4619 * cli/cli-dump.c (add_dump_command): Likewise.
4620 (add_dump_command): Likewise.
4621 * complaints.c (get_complaints): Likewise.
4622 (find_complaint): Likewise.
4623 * dwarf2-frame.c (execute_cfa_program): Likewise.
4624 * dwarf2read.c (abbrev_table_read_table): Likewise.
4625 * gdbarch.sh: Likewise.
4626 * gdbarch.c: Rebuild.
4627 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
4628 * interps.c (interp_new): Likewise.
4629 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
4630 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
4631 * mi/mi-console.c (mi_console_file_new): Likewise.
4632 * mi/mi-interp.c (mi_interpreter_init): Likewise.
4633 * mi/mi-out.c (mi_out_new): Likewise.
4634 * mi/mi-parse.c (mi_parse): Likewise.
4635 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
4636 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
4637 * observer.c (xalloc_observer_list_node): Likewise.
4638 * regcache.c (regcache_xmalloc_1): Likewise.
4639 * reggroups.c (reggroup_new): Likewise.
4640 (_initialize_reggroup): Likewise.
4641 * registry.c (register_data_with_cleanup): Likewise.
4642 * remote.c (remote_notif_stop_alloc_reply): Likewise.
4643 * ser-base.c (serial_ttystate): Likewise.
4644 * ser-mingw.c (make_pipe_state): Likewise.
4645 * ser-pipe.c (pipe_open): Likewise.
4646 * serial.c (serial_open): Likewise.
4647 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
4648 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
4649 (tui_alloc_win_info): Likewise.
4650 (tui_add_content_elements): Likewise.
4651 * tui/tui-file.c (tui_file_new): Likewise.
4652 * tui/tui-out.c (tui_out_new): Likewise.
4653 * ui-file.c (mem_file_new): Likewise.
4654 * ui-out.c (push_level): Likewise.
4655 (make_cleanup_ui_out_end): Likewise.
4656 (append_header_to_list): Likewise.
4657 (ui_out_new): Likewise.
4658 * user-regs.c (user_reg_add_builtin): Likewise.
4660 2014-01-13 Tom Tromey <tromey@redhat.com>
4662 * defs.h (XZALLOC): Remove.
4663 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
4664 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
4665 (get_ada_tasks_inferior_data): Likewise.
4666 * auto-load.c (get_auto_load_pspace_data): Likewise.
4667 * auxv.c (get_auxv_inferior_data): Likewise.
4668 * bfd-target.c (target_bfd_reopen): Likewise.
4669 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
4670 (deprecated_insert_raw_breakpoint): Likewise.
4671 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
4672 * corelow.c (core_open): Likewise.
4673 * darwin-nat.c (darwin_check_new_threads): Likewise.
4674 (darwin_attach_pid): Likewise.
4675 * dummy-frame.c (dummy_frame_push): Likewise.
4676 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
4677 * dwarf2loc.c (allocate_piece_closure): Likewise.
4678 * elfread.c (elf_symfile_segments): Likewise.
4679 * eval.c (ptrmath_type_p): Likewise.
4680 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
4681 * gdbtypes.c (alloc_type_arch): Likewise.
4682 (alloc_type_instance): Likewise.
4683 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
4684 * inf-child.c (inf_child_can_use_agent): Likewise.
4685 * inflow.c (get_inflow_inferior_data): Likewise.
4686 * infrun.c (save_infcall_suspend_state): Likewise.
4687 * jit.c (jit_reader_load): Likewise.
4688 (get_jit_objfile_data): Likewise.
4689 (get_jit_program_space_data): Likewise.
4690 (jit_object_open_impl): Likewise.
4691 (jit_symtab_open_impl): Likewise.
4692 (jit_block_open_impl): Likewise.
4693 (jit_frame_sniffer): Likewise.
4694 * linux-fork.c (add_fork): Likewise.
4695 * maint.c (make_command_stats_cleanup): Likewise.
4696 * objfiles.c (get_objfile_pspace_data): Likewise.
4697 * opencl-lang.c (struct lval_closure): Likewise.
4698 * osdata.c (osdata_start_osdata): Likewise.
4699 * progspace.c (new_address_space): Likewise.
4700 (add_program_space): Likewise.
4701 * remote-sim.c (get_sim_inferior_data): Likewise.
4702 * sh-tdep.c (sh_gdbarch_init): Likewise.
4703 * skip.c (Ignore): Likewise.
4704 (skip_delete_command): Likewise.
4705 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4706 (library_list_start_library): Likewise.
4707 (solib_aix_current_sos): Likewise.
4708 * solib-darwin.c (get_darwin_info): Likewise.
4709 (darwin_current_sos): Likewise.
4710 * solib-dsbt.c (get_dsbt_info): Likewise.
4711 * solib-ia64-hpux.c (new_so_list): Likewise.
4712 (ia64_hpux_get_solib_linkage_addr): Likewise.
4713 * solib-spu.c (append_ocl_sos): Likewise.
4714 (spu_current_sos): Likewise.
4715 * solib-svr4.c (get_svr4_info): Likewise.
4716 (svr4_keep_data_in_core): Likewise.
4717 (library_list_start_library): Likewise.
4718 (svr4_default_sos): Likewise.
4719 (svr4_read_so_list): Likewise.
4720 * solib-target.c (library_list_start_library): Likewise.
4721 (solib_target_current_sos): Likewise.
4722 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4723 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4724 * symfile.c (default_symfile_segments): Likewise.
4725 * target-descriptions.c (tdesc_data_init): Likewise.
4726 (tdesc_create_reg): Likewise.
4727 (struct tdesc_type *): Likewise.
4728 (tdesc_create_vector): Likewise.
4729 (tdesc_set_struct_size): Likewise.
4730 (struct tdesc_type *): Likewise.
4731 (tdesc_free_feature): Likewise.
4732 (tdesc_create_feature): Likewise.
4733 * windows-nat.c (windows_add_thread): Likewise.
4734 (windows_make_so): Likewise.
4735 * xml-support.c (gdb_xml_body_text): Likewise.
4736 (gdb_xml_create_parser_and_cleanup): Likewise.
4737 (xml_process_xincludes): Likewise.
4738 * xml-syscall.c (allocate_syscalls_info): Likewise.
4739 (syscall_create_syscall_desc): Likewise.
4741 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4743 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4744 function, with code from i386_stap_parse_special_token.
4745 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4746 (i386_stap_parse_special_token): Move code to the two functions
4749 2014-01-09 Pedro Alves <palves@redhat.com>
4750 Hui Zhu <hui@codesourcery.com>
4753 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4754 bp_err_string. Don't mark the location shlib_disabled if the
4755 error thrown wasn't a generic or memory error. Catch errors
4756 thrown while inserting breakpoints in overlayed code. Output
4757 error message of software breakpoints.
4758 * remote.c (remote_insert_breakpoint): If this breakpoint has
4759 target-side commands but this stub doesn't support Z0 packets,
4760 throw NOT_SUPPORTED_ERROR error.
4761 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4762 * target.h (target_insert_breakpoint): Extend comment.
4763 (target_insert_hw_breakpoint): Add comment.
4765 2014-01-08 Pedro Alves <palves@redhat.com>
4767 * remote.c (remote_add_thread): Add threads silently if starting
4769 (remote_notice_new_inferior): If in all-stop, and starting up,
4770 don't call notice_new_inferior.
4771 (get_current_thread): New function, factored out from ...
4772 (add_current_inferior_and_thread): ... this. Adjust.
4773 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4774 found any thread, then select the remote's current thread as GDB's
4777 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4779 * NEWS: Create a new section for the next release branch.
4780 Rename the section of the current branch, now that it has
4783 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4785 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4786 * version.in: Bump version to 7.7.50.DATE-cvs.
4788 2014-01-08 Yao Qi <yao@codesourcery.com>
4790 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4791 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4792 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4794 2014-01-08 Yao Qi <yao@codesourcery.com>
4796 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4797 return value of bfd_get_filename to symbol_file_add_from_bfd.
4799 2014-01-08 Pierre Muller <muller@sourceware.org>
4802 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4803 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4804 to prim_record_mininal_symbol_and_info.
4805 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4806 in call to prim_record_minimal_symbol_and_info.
4807 (read_pe_exported_syms): Set index field of section_data.
4809 2014-01-07 Andrew Pinski <apinski@cavium.com>
4811 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4812 * features/aarch64.c: Regenerate.
4814 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4816 * target.c (return_null): Define.
4817 (update_current_target): Use it instead of return_zero for
4818 functions that return a pointer.
4820 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4822 * source.c (add_path): Fix check for duplicated paths in the previously
4825 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4827 * ada-lang.c: Remove duplicated include statements.
4828 * alphabsd-nat.c: Ditto.
4829 * amd64-darwin-tdep.c: Ditto.
4830 * amd64fbsd-nat.c: Ditto.
4831 * auto-load.c: Ditto.
4833 * breakpoint.c: Ditto.
4835 * fork-child.c: Ditto.
4836 * gdb_usleep.c: Ditto.
4837 * i386-darwin-tdep.c: Ditto.
4838 * i386fbsd-nat.c: Ditto.
4840 * inferior.c: Ditto.
4842 * linux-nat.c: Ditto.
4843 * linux-tdep.c: Ditto.
4844 * m68kbsd-nat.c: Ditto.
4845 * m68klinux-nat.c: Ditto.
4846 * microblaze-tdep.c: Ditto.
4847 * mips-linux-tdep.c: Ditto.
4848 * mn10300-tdep.c: Ditto.
4849 * nto-tdep.c: Ditto.
4850 * opencl-lang.c: Ditto.
4852 * printcmd.c: Ditto.
4853 * regcache.c: Ditto.
4854 * remote-m32r-sdi.c: Ditto.
4858 * tilegx-linux-nat.c: Ditto.
4859 * tilegx-tdep.c: Ditto.
4860 * tracepoint.c: Ditto.
4862 * vaxbsd-nat.c: Ditto.
4863 * windows-nat.c: Ditto.
4864 * xtensa-tdep.c: Ditto.
4866 2014-01-07 Yao Qi <yao@codesourcery.com>
4868 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4870 2014-01-07 Yao Qi <yao@codesourcery.com>
4871 Joel Brobecker <brobecker@adacore.com>
4873 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4874 (pdc_write_regs): Likewise.
4875 (fetch_regs_kernel_thread): Likewise.
4876 (store_regs_kernel_thread): Likewise.
4878 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4880 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4881 tagged type objects to their actual type.
4883 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4885 * ada-valprint.c (print_field_values): Add "language" parameter.
4886 Update calls to print_field_values and print_variant_part.
4887 Pass new parameter "language" in call to val_print instead
4888 of "current_language". Replace call to ada_val_print by call
4890 (print_variant_part): Add "language" parameter.
4891 (ada_val_print_struct_union): Update call to print_field_values.
4893 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4895 * ada-valprint.c (ui_memcpy): Delete.
4896 (ada_print_floating): Update documentation. Add empty line
4897 between between function documentation and implementation.
4898 Delete variable "buffer". Use ui_file_xstrdup in place of
4899 ui_file_put. Minor adjustments following this change.
4901 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4903 * ada-valprint.c (ada_val_print_string): New function,
4904 extracted from ada_val_print_array.
4905 (ada_val_print_array): Replace extracted code by call
4906 to ada_val_print_string followed by a return. Move
4907 "else" branch to the function's top block.
4909 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4911 * ada-valprint.c (ada_val_print_array): Move implementation
4912 down. Rename parameter "offset" and "val" into "offset_aligned"
4913 and "original_value" respectively. Add parameter "offset".
4915 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4917 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4918 re-organizing the code. Change the "???" message printed
4919 when target type is a TYPE_CODE_UNDEF into
4920 "<ref to undefined type>".
4922 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4924 * ada-valprint.c (print_record): Delete, implementation inlined...
4925 (ada_val_print_struct_union): ... here. Remove call to
4926 ada_check_typedef in inlined implementation.
4928 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4930 * ada-valprint.c (ada_val_print_gnat_array): New function,
4931 extracted from ada_val_print_1;
4932 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4933 (ada_val_print_flt, ada_val_print_struct_union)
4934 (ada_val_print_ref): Likewise.
4935 (ada_val_print_1): Delete variables i and elttype.
4936 Replace extracted-out code by call to corresponding
4939 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4941 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4943 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4945 * ada-valprint.c (ada_val_print_1): Replace calls to
4946 ada_val_print_1 by calls to val_print.
4948 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4950 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4951 Update calls to self accordingly. Replace calls to c_val_print
4952 by calls to val_print.
4954 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4956 * ada-valprint.c (print_record): Delete declaration.
4957 (adjust_type_signedness, ada_val_print_1): Likewise.
4958 (ada_val_print): Move function implementation down.
4959 (print_variant_part, print_field_values, print_record):
4960 Move function implementation up.
4962 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4964 * python/py-type.c (typy_get_name): New function.
4965 (type_object_getset): Add entry for attribute "name".
4966 * NEWS: Add entry mentioning this new attribute.
4968 2014-01-07 Yao Qi <yao@codesourcery.com>
4970 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
4973 2014-01-07 Yao Qi <yao@codesourcery.com>
4975 * gnu-nat.c (info_port_rights): Add qualifier const to
4978 2014-01-07 Yao Qi <yao@codesourcery.com>
4980 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
4982 2014-01-07 Yao Qi <yao@codesourcery.com>
4984 * gnu-nat.c (make_inf) Update declaration.
4985 (make_inf): Make it static.
4986 (inf_set_traced): Likewise.
4987 (inf_port_to_thread, inf_task_died_status): Likewise.
4989 2014-01-07 Yao Qi <yao@codesourcery.com>
4991 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
4993 2014-01-07 Yao Qi <yao@codesourcery.com>
4995 * gnu-nat.c (_initialize_gnu_nat): Declare.
4997 2014-01-07 Yao Qi <yao@codesourcery.com>
4999 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
5001 (struct gdbarch_info) <byte_order>: Change type to
5003 <byte_order_for_code>: Likewise.
5004 * gdbarch.c, gdbarch.h: Regenerated.
5006 2014-01-06 Sasha Smundak <asmundak@google.com>
5008 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
5010 2014-01-06 Tom Tromey <tromey@redhat.com>
5012 * doublest.c (convert_doublest_to_floatformat): Use const, not
5014 * somread.c (som_symtab_read): Likewise.
5016 2014-01-07 Hui Zhu <hui@codesourcery.com>
5018 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
5019 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
5020 (gdb_bfd_fopen): Ditto.
5021 (gdb_bfd_openr): Ditto.
5022 (gdb_bfd_openw): Ditto.
5023 (gdb_bfd_openr_iovec): Ditto.
5024 (gdb_bfd_fdopenr): Ditto.
5025 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
5026 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
5028 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
5030 * symfile-mem.c (symbol_file_add_from_memory): Removed
5031 gdb_bfd_stash_filename.
5033 2014-01-03 Doug Evans <dje@google.com>
5035 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
5038 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5040 Update year range in copyright notice of all files.
5042 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5044 * top.c (print_gdb_version): Set copyright year to 2014.
5046 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5048 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
5050 For older changes see ChangeLog-2013.
5056 version-control: never