1 2014-02-26 Pedro Alves <palves@redhat.com>
3 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
4 to_xfer_partial helper. Rewrite.
5 (procfs_xfer_partial): New function.
6 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
7 Install a to_xfer_partial hook.
9 2014-02-26 Pedro Alves <palves@redhat.com>
11 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
12 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
13 (m32r_xfer_partial): New function.
14 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
15 Install a to_xfer_partial hook.
17 2014-02-26 Pedro Alves <palves@redhat.com>
19 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
21 (mips_xfer_partial): New function.
22 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
23 hook. Install a to_xfer_partial hook.
25 2014-02-26 Joel Brobecker <brobecker@adacore.com>
27 * gdbtypes.h (create_array_type_with_stride): Add declaration.
28 * gdbtypes.c (create_array_type_with_stride): New function,
29 renaming create_array_type, but with an added parameter
31 (create_array_type): Re-implement using
32 create_array_type_with_stride.
33 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
34 and DW_AT_bit_stride attributes.
36 2014-02-26 Pedro Alves <palves@redhat.com>
38 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
39 task-specific breakpoints.
41 2014-02-25 Pedro Alves <palves@redhat.com>
43 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
44 handling of object == TARGET_OBJECT_UNWIND_TABLE.
46 2014-02-25 Stan Shebs <stan@codesourcery.com>
48 * defs.h: Annotate comments for Doxygen.
50 2014-02-25 Tom Tromey <tromey@redhat.com>
52 * target.h (target_ignore): Don't declare.
53 * target.c (target_ignore): Remove.
55 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
58 * auto-load.c (auto_load_objfile_script_1): Change filename to
61 2014-02-25 Joel Brobecker <brobecker@adacore.com>
63 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
64 documentation. Adjust prototype to match the target_ops
65 to_xfer_partial method. Adjust implementation accordingly.
67 2014-02-25 Hui Zhu <hui@codesourcery.com>
69 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
72 2014-02-25 Kevin Buettner <kevinb@redhat.com>
74 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
75 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
76 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
77 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
78 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
79 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
80 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
81 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
83 (rl78_register_type): Use a data pointer type for SP and
84 new pseudo registers mentioned above. Use a 16 bit integer
85 type for all other register pairs.
86 (rl78_register_name, rl78_g10_register_name): Update for
88 (rl78_pseudo_register_read): Likewise.
89 (rl78_pseudo_register_write): Likewise.
90 (rl78_dwarf_reg_to_regnum): Return register numbers representing
91 to the newly added pseudo registers.
93 2014-02-24 Doug Evans <dje@google.com>
95 * value.c (record_latest_value): Fix comment.
96 * printcmd.c (print_command_1): Remove code to handle -1 return from
99 2014-02-24 Pedro Alves <palves@redhat.com>
101 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
102 deprecated_xfer_memory hook.
103 (procfs_xfer_partial): Call procfs_xfer_memory instead
104 of the deprecated_xfer_memory target hook.
105 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
108 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
110 * windows-nat.c (windows_xfer_shared_libraries): Return
111 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
112 requested object is TARGET_OBJECT_LIBRARIES.
114 2014-02-24 Yao Qi <yao@codesourcery.com>
116 * target.h (enum target_xfer_status)
117 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
118 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
120 * corefile.c (memory_error_message): User updated.
121 * exec.c (section_table_read_available_memory): Likewise.
122 * record-btrace.c (record_btrace_xfer_partial): Likewise.
123 * target.c (target_xfer_status_to_string): Likewise.
124 (raw_memory_xfer_partial): Likewise.
125 (memory_xfer_partial_1, target_xfer_partial): Likewise.
126 * valops.c (read_value_memory): Likewise.
127 * exec.h: Update comments.
129 2014-02-24 Yao Qi <yao@codesourcery.com>
131 * target.c (target_xfer_status_to_string): Rename argument err
133 * target.h (target_xfer_status_to_string): Update declaration.
134 Replace target_xfer_error_to_string with
135 target_xfer_status_to_string in comment.
137 2014-02-24 Yao Qi <yao@codesourcery.com>
139 * mips-linux-nat.c (super_close): Update its type.
140 (mips_linux_close): Pass 'self' to super_close.
142 2014-02-24 Yao Qi <yao@codesourcery.com>
144 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
145 * corefile.c (read_memory): Adjusted.
146 * target.c (target_write_with_progress): Adjusted.
148 2014-02-23 Yao Qi <yao@codesourcery.com>
152 2013-10-25 Yao Qi <yao@codesourcery.com>
154 * remote.c (remote_traceframe_info): Return early if
155 traceframe is not selected.
157 2013-07-19 Yao Qi <yao@codesourcery.com>
159 * target.c (update_current_target): Change the default action
160 of 'to_traceframe_info' from tcomplain to return_zero.
161 * target.h (struct target_ops) <to_traceframe_info>: Add more
164 2014-02-23 Yao Qi <yao@codesourcery.com>
166 * valops.c (read_value_memory): Rewrite it. Call
167 target_xfer_partial in a loop.
168 * exec.h (section_table_available_memory): Remove declaration.
170 * exec.c (section_table_available_memory): ... here. Make it
173 2014-02-23 Yao Qi <yao@codesourcery.com>
175 * exec.c (section_table_read_available_memory): New function.
176 * exec.h (section_table_read_available_memory): Declare.
177 * ctf.c (ctf_xfer_partial): Call
178 section_table_read_available_memory.
179 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
181 2014-02-23 Yao Qi <yao@codesourcery.com>
183 * ctf.c (ctf_xfer_partial): Move code to ...
184 * exec.c (exec_read_partial_read_only): ... it. New function.
185 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
186 * tracefile.c: Include "exec.h".
187 * exec.h (exec_read_partial_read_only): Declare.
189 2014-02-23 Yao Qi <yao@codesourcery.com>
191 * tracefile-tfile.c (tfile_has_all_memory): Remove.
192 (tfile_has_memory): Remove.
193 (init_tfile_ops): Don't set fields to_has_all_memory and
194 to_has_memory of tfile_ops.
195 * tracefile.c (tracefile_has_all_memory): New function.
196 (tracefile_has_memory): New function.
197 (init_tracefile_ops): Initialize fields to_has_all_memory and
198 to_has_memory of 'ops'.
200 2014-02-23 Yao Qi <yao@codesourcery.com>
202 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
203 (ctf_thread_alive, ctf_get_trace_status): Remove.
204 (init_ctf_ops): Don't set some fields of ctf_ops. Call
206 * tracefile-tfile.c (tfile_get_trace_status): Remove.
207 (tfile_has_stack, tfile_has_registers): Remove.
208 (tfile_thread_alive): Remove.
209 (init_tfile_ops): Don't set some fields of tfile_ops. Call
211 * tracefile.c (tracefile_has_stack): New function.
212 (tracefile_has_registers): New function.
213 (tracefile_thread_alive): New function.
214 (tracefile_get_trace_status): New function.
215 (init_tracefile_ops): New function.
216 * tracefile.h (init_tracefile_ops): Declare.
218 2014-02-23 Yao Qi <yao@codesourcery.com>
220 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
221 (O_LARGEFILE): Likewise.
222 (tfile_ops): Likewise.
223 (TRACE_HEADER_SIZE): Likewise.
224 (trace_fd, trace_frames_offset, cur_offset): Likewise.
225 (cur_data_size): Likewise.
226 (tfile_read, tfile_open, tfile_interp_line): Likewise.
227 (tfile_close, tfile_files_info): Likewise.
228 (tfile_get_trace_status): Likewise.
229 (tfile_get_tracepoint_status): Likewise.
230 (tfile_get_traceframe_address): Likewise.
231 (tfile_trace_find, match_blocktype): Likewise.
232 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
233 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
234 (tfile_get_trace_state_variable_value): Likewise.
235 (tfile_has_all_memory, tfile_has_memory): Likewise.
236 (tfile_has_stack, tfile_has_registers): Likewise.
237 (tfile_thread_alive, build_traceframe_info): Likewise.
238 (tfile_traceframe_info, init_tfile_ops): Likewise.
239 (_initialize_tracepoint): Don't call init_tfile_ops
240 and add_target_with_completer.
241 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
242 exec.h, completer.h and filenames.h.
243 (_initialize_tracefile_tfile): New function.
245 2014-02-23 Yao Qi <yao@codesourcery.com>
247 * Makefile.in (REMOTE_OBS): Append tracefile.o and
249 (HFILES_NO_SRCDIR): Add tracefile.h.
250 * ctf.c: Include "tracefile.h".
251 * tracefile.h: New file.
252 * tracefile.c: New file
253 * tracefile-tfile.c: New file.
254 * tracepoint.c: Include "tracefile.h".
255 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
256 (stop_reason_names): Add const.
257 (trace_file_writer_xfree): Move it to tracefile.c.
258 (trace_save, trace_save_command, trace_save_tfile): Likewise.
259 (trace_save_ctf): Likewise.
260 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
261 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
262 (tfile_write_header, tfile_write_regblock_type): Likewise.
263 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
264 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
265 (tfile_write_raw_data, tfile_end): Likewise.
266 (tfile_trace_file_writer_new): Likewise.
267 (free_uploaded_tp): Make it extern.
268 (free_uploaded_tsv): Make it extern.
269 (_initialize_tracepoint): Move code to register command 'tsave'
271 * tracepoint.h (stop_reason_names): Declare.
272 (struct trace_frame_write_ops): Move it to tracefile.h.
273 (struct trace_file_write_ops): Likewise.
274 (struct trace_file_writer): Likewise.
275 (free_uploaded_tsvs, free_uploaded_tps): Declare.
277 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
280 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
282 (get_cores_used_by_process): New parameter num_cores, use it.
283 (linux_xfer_osdata_processes): Pass num_cores to it.
284 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
287 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
289 * target.c (memory_xfer_partial): Fix length arg in call to
290 breakpoint_xfer_memory.
292 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
295 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
296 number comes after the + or - signs. Adjust length of register
297 name to be extracted.
299 2014-02-20 Tom Tromey <tromey@redhat.com>
301 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
302 (ada_varobj_ops): Mark "extern".
304 2014-02-20 Tom Tromey <tromey@redhat.com>
306 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
308 2014-02-20 Doug Evans <xdje42@gmail.com>
310 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
312 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
314 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
315 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
317 2014-02-20 lin zuojian <manjian2006@gmail.com>
318 Joel Brobecker <brobecker@adacore.com>
319 Doug Evans <xdje42@gmail.com>
322 * dwarf2read.c (struct die_info): New member in_process.
323 (reset_die_in_process): New function.
324 (process_die): Set it at the start, reset when returning.
325 (inherit_abstract_dies): Only call process_die if origin_child_die
326 not already being processed.
328 2014-02-20 Joel Brobecker <brobecker@adacore.com>
330 * windows-nat.c (handle_unload_dll): Add function documentation.
331 (do_initial_windows_stuff): Add comment explaining why we wait
332 until after inferior initialization has finished before
335 2014-02-20 Joel Brobecker <brobecker@adacore.com>
337 * windows-nat.c (get_module_name): Delete.
338 (windows_get_exec_module_filename): New function, mostly
339 inspired from get_module_name.
340 (windows_pid_to_exec_file): Replace call to get_module_name
341 by call to windows_get_exec_module_filename.
343 2014-02-20 Joel Brobecker <brobecker@adacore.com>
345 * windows-nat.c (handle_load_dll): Rewrite this function's
346 introductory comment. Remove code using get_module_name
347 to get the DLL's name.
349 2014-02-20 Joel Brobecker <brobecker@adacore.com>
351 * windows-nat.c (get_windows_debug_event): Ignore
352 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
353 if windows_initialization_done == 0.
354 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
355 Adjust implementation to always load all DLLs.
356 (do_initial_windows_stuff): Replace call to
357 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
359 2014-02-20 Joel Brobecker <brobecker@adacore.com>
361 * windows-nat.c (_initialize_windows_nat): Deprecate the
362 "dll-symbols" command. Turn the "add-shared-symbol-files"
363 and "assf" aliases into commands, and deprecate them as well.
364 * NEWS: Add entry explaining that "dll-symbols" and its two
365 aliases are now deprecated.
367 2014-02-20 Joel Brobecker <brobecker@adacore.com>
369 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
370 new-line in debug string. Remove trailing spaces.
372 2014-02-19 Stan Shebs <stan@codesourcery.com>
374 * darwin-nat.c (darwin_xfer_partial): Fix return type.
376 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
378 * NEWS: Add entry for the new feature
379 * python/py-value.c (valpy_binop): Call value_x_binop for struct
382 2014-02-19 Stan Shebs <stan@codesourcery.com>
384 * MAINTAINERS: List Yao Qi as nios2 maintainer.
386 2014-02-19 Pedro Alves <palves@redhat.com>
388 * common/ptid.h (struct ptid): Mention that process_stratum
389 targets should prefer ptid.lwp.
391 2014-02-19 Pedro Alves <palves@redhat.com>
393 * remote.c (remote_thread_alive, write_ptid, read_ptid)
394 (read_ptid, remote_newthread_step, remote_threads_extra_info)
395 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
396 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
397 store remote thread ids rather than ptid.tid.
398 (_initialize_remote): Adjust.
400 2014-02-19 Tom Tromey <tromey@redhat.com>
402 * target.c (target_get_unwinder): Rewrite.
403 (target_get_tailcall_unwinder): Rewrite.
404 * record-btrace.c (record_btrace_to_get_unwinder): New function.
405 (record_btrace_to_get_tailcall_unwinder): New function.
406 (init_record_btrace_ops): Update.
407 * target.h (struct target_ops) <to_get_unwinder,
408 to_get_tailcall_unwinder>: Now function pointers. Use
409 TARGET_DEFAULT_RETURN.
411 2014-02-19 Tom Tromey <tromey@redhat.com>
413 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
415 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
417 2014-02-19 Tom Tromey <tromey@redhat.com>
419 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
421 * target-delegates.c: Rebuild.
422 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
424 * target.c (default_target_decr_pc_after_break): Rename from
425 forward_target_decr_pc_after_break. Simplify.
426 (target_decr_pc_after_break): Rely on delegation.
428 2014-02-19 Tom Tromey <tromey@redhat.com>
430 * target.c (update_current_target): Do not INHERIT to_doc or
431 to_magic. Do not de_fault to_open or to_close.
433 2014-02-19 Tom Tromey <tromey@redhat.com>
435 * gcore.h (objfile_find_memory_regions): Declare.
436 * gcore.c (objfile_find_memory_regions): No longer static. Add
438 (_initialize_gcore): Don't call exec_set_find_memory_regions.
439 * exec.c: Include gcore.h.
440 (exec_set_find_memory_regions): Remove.
441 (exec_find_memory_regions): Remove.
442 (exec_do_find_memory_regions): Remove.
443 (init_exec_ops): Update.
444 * defs.h (exec_set_find_memory_regions): Remove.
446 2014-02-19 Tom Tromey <tromey@redhat.com>
448 * target-delegates.c: Rebuild.
449 * target.h (struct target_ops) <to_extra_thread_info,
450 to_thread_name, to_pid_to_exec_file, to_get_section_table,
451 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
452 not 0, in TARGET_DEFAULT_RETURN.
454 2014-02-19 Tom Tromey <tromey@redhat.com>
456 * target.c (complete_target_initialization): Remove casts. Use
457 return_zero_has_execution.
458 (return_zero): Add "ignore" argument.
459 (return_zero_has_execution): New function.
460 (init_dummy_target): Remove casts. Use
461 return_zero_has_execution.
463 2014-02-19 Tom Tromey <tromey@redhat.com>
465 * target.c (update_current_target): Update comments. Do not
468 2014-02-19 Tom Tromey <tromey@redhat.com>
470 * arm-linux-nat.c (arm_linux_read_description): Delegate when
472 * corelow.c (core_read_description): Delegate when needed.
473 * remote.c (remote_read_description): Delegate when needed.
474 * target-delegates.c: Rebuild.
475 * target.c (target_read_description): Rewrite.
476 * target.h (struct target_ops) <to_read_description>: Update
477 comment. Use TARGET_DEFAULT_RETURN.
479 2014-02-19 Tom Tromey <tromey@redhat.com>
481 * target-delegates.c: Rebuild.
482 * target.c (update_current_target): Don't inherit or default
484 (find_default_run_target): Check against delegate_can_run.
485 * target.h (struct target_ops) <to_can_run>: Use
486 TARGET_DEFAULT_RETURN.
488 2014-02-19 Tom Tromey <tromey@redhat.com>
490 * target-delegates.c: Rebuild.
491 * target.c (target_disconnect): Unconditionally delegate.
492 * target.h (struct target_ops) <to_disconnect>: Use
493 TARGET_DEFAULT_NORETURN.
495 2014-02-19 Tom Tromey <tromey@redhat.com>
497 * record.c (record_stop): Unconditionally delegate.
498 * target-delegates.c: Rebuild.
499 * target.c (target_stop_recording): Unconditionally delegate.
500 * target.h (struct target_ops) <to_stop_recording>: Use
501 TARGET_DEFAULT_IGNORE.
503 2014-02-19 Tom Tromey <tromey@redhat.com>
505 * target-delegates.c: Rebuild.
506 * target.c (target_enable_btrace): Unconditionally delegate.
507 * target.h (struct target_ops) <to_enable_btrace>: Use
508 TARGET_DEFAULT_NORETURN.
510 2014-02-19 Tom Tromey <tromey@redhat.com>
512 * target-delegates.c: Rebuild.
513 * target.c (target_read_btrace): Unconditionally delegate.
514 * target.h (struct target_ops) <to_read_btrace>: Use
515 TARGET_DEFAULT_NORETURN.
517 2014-02-19 Tom Tromey <tromey@redhat.com>
519 * target-delegates.c: Rebuild.
520 * target.c (target_teardown_btrace): Unconditionally delegate.
521 * target.h (struct target_ops) <to_teardown_btrace>: Use
522 TARGET_DEFAULT_NORETURN.
524 2014-02-19 Tom Tromey <tromey@redhat.com>
526 * target-delegates.c: Rebuild.
527 * target.c (target_disable_btrace): Unconditionally delegate.
528 * target.h (struct target_ops) <to_disable_btrace>: Use
529 TARGET_DEFAULT_NORETURN.
531 2014-02-19 Tom Tromey <tromey@redhat.com>
533 * target-delegates.c: Rebuild.
534 * target.c (default_search_memory): New function.
535 (simple_search_memory): Update comment.
536 (target_search_memory): Unconditionally delegate.
537 * target.h (struct target_ops) <to_search_memory>: Use
540 2014-02-19 Tom Tromey <tromey@redhat.com>
542 * auxv.c (default_auxv_parse): No longer static.
543 (target_auxv_parse): Unconditionally delegate.
544 * auxv.h (default_auxv_parse): Declare.
545 * target-delegates.c: Rebuild.
546 * target.c: Include auxv.h.
547 * target.h (struct target_ops) <to_auxv_parse>: Use
550 2014-02-19 Tom Tromey <tromey@redhat.com>
552 * target-delegates.c: Rebuild.
553 * target.c (target_memory_map): Unconditionally delegate.
554 * target.h (struct target_ops) <to_memory_map>: Use
555 TARGET_DEFAULT_RETURN.
557 2014-02-19 Tom Tromey <tromey@redhat.com>
559 * target-delegates.c: Rebuild.
560 * target.c (target_thread_alive): Unconditionally delegate.
561 * target.h (struct target_ops) <to_thread_alive>: Use
562 TARGET_DEFAULT_RETURN.
564 2014-02-19 Tom Tromey <tromey@redhat.com>
566 * target-delegates.c: Rebuild.
567 * target.c (target_save_record): Unconditionally delegate.
568 * target.h (struct target_ops) <to_save_record>: Use
569 TARGET_DEFAULT_NORETURN.
571 2014-02-19 Tom Tromey <tromey@redhat.com>
573 * target-delegates.c: Rebuild.
574 * target.c (target_delete_record): Unconditionally delegate.
575 * target.h (struct target_ops) <to_delete_record>: Use
576 TARGET_DEFAULT_NORETURN.
578 2014-02-19 Tom Tromey <tromey@redhat.com>
580 * target-delegates.c: Rebuild.
581 * target.c (target_record_is_replaying): Unconditionally
583 * target.h (struct target_ops) <to_record_is_replaying>: Use
584 TARGET_DEFAULT_RETURN.
586 2014-02-19 Tom Tromey <tromey@redhat.com>
588 * target-delegates.c: Rebuild.
589 * target.c (target_goto_record_begin): Unconditionally delegate.
590 * target.h (struct target_ops) <to_goto_record_begin>: Use
591 TARGET_DEFAULT_NORETURN.
593 2014-02-19 Tom Tromey <tromey@redhat.com>
595 * target-delegates.c: Rebuild.
596 * target.c (target_goto_record_end): Unconditionally delegate.
597 * target.h (struct target_ops) <to_goto_record_end>: Use
598 TARGET_DEFAULT_NORETURN.
600 2014-02-19 Tom Tromey <tromey@redhat.com>
602 * target-delegates.c: Rebuild.
603 * target.c (target_goto_record): Unconditionally delegate.
604 * target.h (struct target_ops) <to_goto_record>: Use
605 TARGET_DEFAULT_NORETURN.
607 2014-02-19 Tom Tromey <tromey@redhat.com>
609 * target-delegates.c: Rebuild.
610 * target.c (target_insn_history): Unconditionally delegate.
611 * target.h (struct target_ops) <to_insn_history>: Use
612 TARGET_DEFAULT_NORETURN.
614 2014-02-19 Tom Tromey <tromey@redhat.com>
616 * target-delegates.c: Rebuild.
617 * target.c (target_insn_history_from): Unconditionally delegate.
618 * target.h (struct target_ops) <to_insn_history_from>: Use
619 TARGET_DEFAULT_NORETURN.
621 2014-02-19 Tom Tromey <tromey@redhat.com>
623 * target-delegates.c: Rebuild.
624 * target.c (target_insn_history_range): Unconditionally delegate.
625 * target.h (struct target_ops) <to_insn_history_range>: Use
626 TARGET_DEFAULT_NORETURN.
628 2014-02-19 Tom Tromey <tromey@redhat.com>
630 * target-delegates.c: Rebuild.
631 * target.c (target_call_history): Unconditionally delegate.
632 * target.h (struct target_ops) <to_call_history>: Use
633 TARGET_DEFAULT_NORETURN.
635 2014-02-19 Tom Tromey <tromey@redhat.com>
637 * target-delegates.c: Rebuild.
638 * target.c (target_call_history_from): Unconditionally delegate.
639 * target.h (struct target_ops) <to_call_history_from>: Use
640 TARGET_DEFAULT_NORETURN.
642 2014-02-19 Tom Tromey <tromey@redhat.com>
644 * target-delegates.c: Rebuild.
645 * target.c (target_call_history_range): Unconditionally delegate.
646 * target.h (struct target_ops) <to_call_history_range>: Use
647 TARGET_DEFAULT_NORETURN.
649 2014-02-19 Tom Tromey <tromey@redhat.com>
651 * target-delegates.c: Rebuild.
652 * target.c (target_verify_memory): Unconditionally delegate.
653 * target.h (struct target_ops) <to_verify_memory>: Use
654 TARGET_DEFAULT_NORETURN.
656 2014-02-19 Tom Tromey <tromey@redhat.com>
658 * target-delegates.c: Rebuild.
659 * target.c (target_core_of_thread): Unconditionally delegate.
660 * target.h (struct target_ops) <to_core_of_thread>: Use
661 TARGET_DEFAULT_RETURN.
663 2014-02-19 Tom Tromey <tromey@redhat.com>
665 * target-delegates.c: Rebuild.
666 * target.c (target_flash_done): Unconditionally delegate.
667 * target.h (struct target_ops) <to_flash_done>: Use
668 TARGET_DEFAULT_NORETURN.
670 2014-02-19 Tom Tromey <tromey@redhat.com>
672 * target-delegates.c: Rebuild.
673 * target.c (target_flash_erase): Unconditionally delegate.
674 * target.h (struct target_ops) <to_flash_erase>: Use
675 TARGET_DEFAULT_NORETURN.
677 2014-02-19 Tom Tromey <tromey@redhat.com>
679 * target-delegates.c: Rebuild.
680 * target.c (target_get_section_table): Unconditionally delegate.
681 * target.h (struct target_ops) <to_get_section_table>: Use
682 TARGET_DEFAULT_RETURN.
684 2014-02-19 Tom Tromey <tromey@redhat.com>
686 * target-delegates.c: Rebuild.
687 * target.c (target_pid_to_str): Unconditionally delegate.
688 (init_dummy_target): Don't initialize to_pid_to_str.
689 (default_pid_to_str): Rename from dummy_pid_to_str.
690 * target.h (struct target_ops) <to_pid_to_str>: Use
693 2014-02-19 Tom Tromey <tromey@redhat.com>
695 * target-delegates.c: Rebuild.
696 * target.c (target_find_new_threads): Unconditionally delegate.
697 * target.h (struct target_ops) <to_find_new_threads>: Use
698 TARGET_DEFAULT_RETURN.
700 2014-02-19 Tom Tromey <tromey@redhat.com>
702 * target-delegates.c: Rebuild.
703 * target.c (target_program_signals): Unconditionally delegate.
704 * target.h (struct target_ops) <to_program_signals>: Use
705 TARGET_DEFAULT_IGNORE.
707 2014-02-19 Tom Tromey <tromey@redhat.com>
709 * target-delegates.c: Rebuild.
710 * target.c (target_pass_signals): Unconditionally delegate.
711 * target.h (struct target_ops) <to_pass_signals>: Use
712 TARGET_DEFAULT_IGNORE.
714 2014-02-19 Tom Tromey <tromey@redhat.com>
716 * target-delegates.c: Rebuild.
717 * target.c (default_mourn_inferior): New function.
718 (target_mourn_inferior): Unconditionally delegate.
719 * target.h (struct target_ops) <to_mourn_inferior>: Use
722 2014-02-19 Tom Tromey <tromey@redhat.com>
724 * target-delegates.c: Rebuild.
725 * target.c (default_follow_fork): New function.
726 (target_follow_fork): Unconditionally delegate.
727 * target.h (struct target_ops) <to_follow_fork>: Use
730 2014-02-19 Tom Tromey <tromey@redhat.com>
732 * target-delegates.c: Rebuild.
733 * target.c (target_kill): Unconditionally delegate.
734 * target.h (struct target_ops) <to_kill>: Use
735 TARGET_DEFAULT_NORETURN.
737 2014-02-19 Tom Tromey <tromey@redhat.com>
739 * target-delegates.c: Rebuild.
740 * target.c (target_masked_watch_num_registers): Unconditionally
742 * target.h (struct target_ops) <to_masked_watch_num_registers>:
743 Use TARGET_DEFAULT_RETURN.
745 2014-02-19 Tom Tromey <tromey@redhat.com>
747 * target-delegates.c: Rebuild.
748 * target.c (target_remove_mask_watchpoint): Unconditionally
750 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
751 TARGET_DEFAULT_RETURN.
753 2014-02-19 Tom Tromey <tromey@redhat.com>
755 * target-delegates.c: Rebuild.
756 * target.c (target_insert_mask_watchpoint): Unconditionally
758 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
759 TARGET_DEFAULT_RETURN.
761 2014-02-19 Tom Tromey <tromey@redhat.com>
763 * target-delegates.c: Rebuild.
764 * target.c (target_ranged_break_num_registers): Unconditionally
766 * target.h (struct target_ops) <to_ranged_break_num_registers>:
767 Use TARGET_DEFAULT_RETURN.
769 2014-02-19 Tom Tromey <tromey@redhat.com>
771 * target-delegates.c: Rebuild.
772 * target.c (target_fetch_registers): Unconditionally delegate.
773 * target.h (struct target_ops) <to_fetch_registers>: Use
774 TARGET_DEFAULT_NORETURN.
776 2014-02-19 Tom Tromey <tromey@redhat.com>
778 * target-delegates.c: Rebuild.
779 * target.c (update_current_target): Don't inherit or default
781 * target.h (struct target_ops) <to_stop>: Use
782 TARGET_DEFAULT_IGNORE.
784 2014-02-19 Tom Tromey <tromey@redhat.com>
786 * target-delegates.c: Rebuild.
787 * target.c (update_current_target): Don't inherit or default
788 to_can_run_breakpoint_commands.
789 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
790 Use TARGET_DEFAULT_RETURN.
792 2014-02-19 Tom Tromey <tromey@redhat.com>
794 * target-delegates.c: Rebuild.
795 * target.c (update_current_target): Don't inherit or default
796 to_supports_evaluation_of_breakpoint_conditions.
797 * target.h (struct target_ops)
798 <to_supports_evaluation_of_breakpoint_conditions>: Use
799 TARGET_DEFAULT_RETURN.
801 2014-02-19 Tom Tromey <tromey@redhat.com>
803 * target-delegates.c: Rebuild.
804 * target.c (update_current_target): Don't inherit or default
805 to_augmented_libraries_svr4_read.
806 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
807 Use TARGET_DEFAULT_RETURN.
809 2014-02-19 Tom Tromey <tromey@redhat.com>
811 * target-delegates.c: Rebuild.
812 * target.c (update_current_target): Don't inherit or default
814 * target.h (struct target_ops) <to_can_use_agent>: Use
815 TARGET_DEFAULT_RETURN.
817 2014-02-19 Tom Tromey <tromey@redhat.com>
819 * target-delegates.c: Rebuild.
820 * target.c (update_current_target): Don't inherit or default
822 * target.h (struct target_ops) <to_use_agent>: Use
823 TARGET_DEFAULT_NORETURN.
825 2014-02-19 Tom Tromey <tromey@redhat.com>
827 * target-delegates.c: Rebuild.
828 * target.c (update_current_target): Don't inherit or default
830 (return_null): Remove.
831 * target.h (struct target_ops) <to_traceframe_info>: Use
832 TARGET_DEFAULT_RETURN.
834 2014-02-19 Tom Tromey <tromey@redhat.com>
836 * target-delegates.c: Rebuild.
837 * target.c (update_current_target): Don't inherit or default
838 to_static_tracepoint_markers_by_strid.
839 * target.h (struct target_ops)
840 <to_static_tracepoint_markers_by_strid>: 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
847 to_static_tracepoint_marker_at.
848 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
849 Use 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_set_permissions>: Use
857 TARGET_DEFAULT_IGNORE.
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
864 * target.h (struct target_ops) <to_get_tib_address>: Use
865 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
872 * target.h (struct target_ops) <to_set_trace_notes>: Use
873 TARGET_DEFAULT_RETURN.
875 2014-02-19 Tom Tromey <tromey@redhat.com>
877 * target-delegates.c: Rebuild.
878 * target.c (update_current_target): Don't initialize
879 to_set_trace_buffer_size.
880 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
881 TARGET_DEFAULT_IGNORE.
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_set_circular_trace_buffer.
888 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
889 TARGET_DEFAULT_IGNORE.
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_set_disconnected_tracing.
896 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
897 TARGET_DEFAULT_IGNORE.
899 2014-02-19 Tom Tromey <tromey@redhat.com>
901 * target-delegates.c: Rebuild.
902 * target.c (update_current_target): Don't inherit or default
903 to_get_min_fast_tracepoint_insn_len.
904 (return_minus_one): Remove.
905 * target.h (struct target_ops)
906 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
908 2014-02-19 Tom Tromey <tromey@redhat.com>
910 * target-delegates.c: Rebuild.
911 * target.c (update_current_target): Don't inherit or default
912 to_get_raw_trace_data.
913 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
914 TARGET_DEFAULT_NORETURN.
916 2014-02-19 Tom Tromey <tromey@redhat.com>
918 * target-delegates.c: Rebuild.
919 * target.c (update_current_target): Don't inherit or default
920 to_upload_trace_state_variables.
921 * target.h (struct target_ops) <to_upload_trace_state_variables>:
922 Use TARGET_DEFAULT_RETURN.
924 2014-02-19 Tom Tromey <tromey@redhat.com>
926 * target-delegates.c: Rebuild.
927 * target.c (update_current_target): Don't inherit or default
928 to_upload_tracepoints.
929 * target.h (struct target_ops) <to_upload_tracepoints>: 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
937 * target.h (struct target_ops) <to_save_trace_data>: Use
938 TARGET_DEFAULT_NORETURN.
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_trace_state_variable_value.
945 * target.h (struct target_ops)
946 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
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
953 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
955 2014-02-19 Tom Tromey <tromey@redhat.com>
957 * target-delegates.c: Rebuild.
958 * target.c (update_current_target): Don't inherit or default
960 * target.h (struct target_ops) <to_trace_stop>: Use
961 TARGET_DEFAULT_NORETURN.
963 2014-02-19 Tom Tromey <tromey@redhat.com>
965 * target-delegates.c: Rebuild.
966 * target.c (update_current_target): Don't inherit or default
967 to_get_tracepoint_status.
968 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
969 TARGET_DEFAULT_NORETURN.
971 2014-02-19 Tom Tromey <tromey@redhat.com>
973 * target-delegates.c: Rebuild.
974 * target.c (update_current_target): Don't inherit or default
976 * target.h (struct target_ops) <to_get_trace_status>: Use
977 TARGET_DEFAULT_RETURN.
979 2014-02-19 Tom Tromey <tromey@redhat.com>
981 * target-delegates.c: Rebuild.
982 * target.c (update_current_target): Don't inherit or default
984 * target.h (struct target_ops) <to_trace_start>: Use
985 TARGET_DEFAULT_NORETURN.
987 2014-02-19 Tom Tromey <tromey@redhat.com>
989 * target-delegates.c: Rebuild.
990 * target.c (update_current_target): Don't inherit or default
991 to_trace_set_readonly_regions.
992 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
993 Use TARGET_DEFAULT_NORETURN.
995 2014-02-19 Tom Tromey <tromey@redhat.com>
997 * target-delegates.c: Rebuild.
998 * target.c (update_current_target): Don't inherit or default
999 to_disable_tracepoint.
1000 * target.h (struct target_ops) <to_disable_tracepoint>: Use
1001 TARGET_DEFAULT_NORETURN.
1003 2014-02-19 Tom Tromey <tromey@redhat.com>
1005 * target-delegates.c: Rebuild.
1006 * target.c (update_current_target): Don't inherit or default
1007 to_enable_tracepoint.
1008 * target.h (struct target_ops) <to_enable_tracepoint>: Use
1009 TARGET_DEFAULT_NORETURN.
1011 2014-02-19 Tom Tromey <tromey@redhat.com>
1013 * target-delegates.c: Rebuild.
1014 * target.c (update_current_target): Don't inherit or default
1015 to_download_trace_state_variable.
1016 * target.h (struct target_ops) <to_download_trace_state_variable>:
1017 Use TARGET_DEFAULT_NORETURN.
1019 2014-02-19 Tom Tromey <tromey@redhat.com>
1021 * target-delegates.c: Rebuild.
1022 * target.c (update_current_target): Don't inherit or default
1023 to_can_download_tracepoint.
1024 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
1025 TARGET_DEFAULT_RETURN.
1027 2014-02-19 Tom Tromey <tromey@redhat.com>
1029 * target-delegates.c: Rebuild.
1030 * target.c (update_current_target): Don't inherit or default
1031 to_download_tracepoint.
1032 * target.h (struct target_ops) <to_download_tracepoint>: Use
1033 TARGET_DEFAULT_NORETURN.
1035 2014-02-19 Tom Tromey <tromey@redhat.com>
1037 * target-delegates.c: Rebuild.
1038 * target.c (update_current_target): Don't inherit or default
1040 * target.h (struct target_ops) <to_trace_init>: Use
1041 TARGET_DEFAULT_RETURN.
1043 2014-02-19 Tom Tromey <tromey@redhat.com>
1045 * target-delegates.c: Rebuild.
1046 * target.c (update_current_target): Don't inherit or default
1047 to_supports_string_tracing.
1048 * target.h (struct target_ops) <to_supports_string_tracing>: Use
1049 TARGET_DEFAULT_RETURN.
1051 2014-02-19 Tom Tromey <tromey@redhat.com>
1053 * target-delegates.c: Rebuild.
1054 * target.c (update_current_target): Don't inherit or default
1055 to_supports_enable_disable_tracepoint.
1056 * target.h (struct target_ops)
1057 <to_supports_enable_disable_tracepoint>: Use
1058 TARGET_DEFAULT_RETURN.
1060 2014-02-19 Tom Tromey <tromey@redhat.com>
1062 * target-delegates.c: Rebuild.
1063 * target.c (update_current_target): Don't inherit or default
1064 to_supports_multi_process.
1065 * target.h (struct target_ops) <to_supports_multi_process>: Use
1066 TARGET_DEFAULT_RETURN.
1068 2014-02-19 Tom Tromey <tromey@redhat.com>
1070 * target-delegates.c: Rebuild.
1071 * target.c (update_current_target): Don't inherit or default
1072 to_get_ada_task_ptid.
1073 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
1074 TARGET_DEFAULT_FUNC.
1076 2014-02-19 Tom Tromey <tromey@redhat.com>
1078 * target-delegates.c: Rebuild.
1079 * target.c (update_current_target): Don't inherit or default
1080 to_thread_architecture.
1081 * target.h (struct target_ops) <to_thread_architecture>: Use
1082 TARGET_DEFAULT_FUNC.
1084 2014-02-19 Tom Tromey <tromey@redhat.com>
1086 * target-delegates.c: Rebuild.
1087 * target.c (update_current_target): Don't inherit or default
1088 to_execution_direction.
1089 * target.h (struct target_ops) <to_execution_direction>: Use
1090 TARGET_DEFAULT_FUNC.
1092 2014-02-19 Tom Tromey <tromey@redhat.com>
1094 * target-delegates.c: Rebuild.
1095 * target.c (update_current_target): Don't inherit or default
1096 to_can_execute_reverse.
1097 * target.h (struct target_ops) <to_can_execute_reverse>: Use
1098 TARGET_DEFAULT_RETURN.
1099 (target_can_execute_reverse): Unconditionally delegate.
1101 2014-02-19 Tom Tromey <tromey@redhat.com>
1103 * target-delegates.c: Rebuild.
1104 * target.c (update_current_target): Don't inherit or default
1106 (dummy_goto_bookmark): Remove.
1107 (init_dummy_target): Don't inherit or default to_goto_bookmark.
1108 * target.h (struct target_ops) <to_goto_bookmark>: Use
1109 TARGET_DEFAULT_NORETURN.
1111 2014-02-19 Tom Tromey <tromey@redhat.com>
1113 * target-delegates.c: Rebuild.
1114 * target.c (update_current_target): Don't inherit or default
1116 (dummy_get_bookmark): Remove.
1117 (init_dummy_target): Don't inherit or default to_get_bookmark.
1118 * target.h (struct target_ops) <to_get_bookmark>: Use
1119 TARGET_DEFAULT_NORETURN
1121 2014-02-19 Tom Tromey <tromey@redhat.com>
1123 * target-delegates.c: Rebuild.
1124 * target.c (update_current_target): Don't inherit or default
1125 to_make_corefile_notes.
1126 (init_dummy_target): Don't initialize to_make_corefile_notes.
1127 * target.h (struct target_ops) <to_make_corefile_notes>: Use
1128 TARGET_DEFAULT_FUNC.
1130 2014-02-19 Tom Tromey <tromey@redhat.com>
1132 * target-delegates.c: Rebuild.
1133 * target.c (update_current_target): Don't inherit or default
1134 to_find_memory_regions.
1135 (init_dummy_target): Don't initialize to_find_memory_regions.
1136 * target.h (struct target_ops) <to_find_memory_regions>: Use
1137 TARGET_DEFAULT_FUNC.
1139 2014-02-19 Tom Tromey <tromey@redhat.com>
1141 * target-delegates.c: Rebuild.
1142 * target.c (update_current_target): Don't inherit or default
1144 * target.h (struct target_ops) <to_log_command>: Use
1145 TARGET_DEFAULT_IGNORE.
1146 (target_log_command): Unconditionally delegate.
1148 2014-02-19 Tom Tromey <tromey@redhat.com>
1150 * target-delegates.c: Rebuild.
1151 * target.c (update_current_target): Don't inherit or default
1152 to_pid_to_exec_file.
1153 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
1154 TARGET_DEFAULT_RETURN.
1156 2014-02-19 Tom Tromey <tromey@redhat.com>
1158 * target-delegates.c: Rebuild.
1159 * target.c (update_current_target): Don't inherit or default
1161 (target_thread_name): Unconditionally delegate.
1162 * target.h (struct target_ops) <to_thread_name>: Use
1163 TARGET_DEFAULT_RETURN.
1165 2014-02-19 Tom Tromey <tromey@redhat.com>
1167 * target-delegates.c: Rebuild.
1168 * target.c (update_current_target): Don't inherit or default
1169 to_extra_thread_info.
1170 * target.h (struct target_ops) <to_extra_thread_info>: Use
1171 TARGET_DEFAULT_RETURN.
1173 2014-02-19 Tom Tromey <tromey@redhat.com>
1175 * target-delegates.c: Rebuild.
1176 * target.c (update_current_target): Don't inherit or default
1178 * target.h (struct target_ops) <to_has_exited>: Use
1179 TARGET_DEFAULT_RETURN..
1181 2014-02-19 Tom Tromey <tromey@redhat.com>
1183 * target-delegates.c: Rebuild.
1184 * target.c (update_current_target): Don't inherit or default
1185 to_set_syscall_catchpoint.
1186 (return_one): Remove.
1187 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
1188 TARGET_DEFAULT_RETURN.
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_insert_exec_catchpoint.
1195 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1196 TARGET_DEFAULT_RETURN.
1198 2014-01-08 Tom Tromey <tromey@redhat.com>
1200 * target-delegates.c: Rebuild.
1201 * target.c (update_current_target): Don't inherit or default
1202 to_insert_exec_catchpoint.
1203 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1204 TARGET_DEFAULT_RETURN.
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_remove_vfork_catchpoint.
1211 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: 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_insert_vfork_catchpoint.
1219 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: 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_remove_fork_catchpoint.
1227 * target.h (struct target_ops) <to_remove_fork_catchpoint>: 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_insert_fork_catchpoint.
1235 * target.h (struct target_ops) <to_insert_fork_catchpoint>: 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
1242 to_post_startup_inferior.
1243 * target.h (struct target_ops) <to_post_startup_inferior>: 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_load>: 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_terminal_info>: Use
1260 TARGET_DEFAULT_FUNC.
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
1266 to_terminal_save_ours.
1267 * target.h (struct target_ops) <to_terminal_save_ours>: Use
1268 TARGET_DEFAULT_IGNORE.
1270 2014-02-19 Tom Tromey <tromey@redhat.com>
1272 * target-delegates.c: Rebuild.
1273 * target.c (update_current_target): Don't inherit or default
1275 * target.h (struct target_ops) <to_terminal_ours>: Use
1276 TARGET_DEFAULT_IGNORE.
1278 2014-02-19 Tom Tromey <tromey@redhat.com>
1280 * target-delegates.c: Rebuild.
1281 * target.c (update_current_target): Don't inherit or default
1282 to_terminal_ours_for_output.
1283 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
1284 TARGET_DEFAULT_IGNORE.
1286 2014-02-19 Tom Tromey <tromey@redhat.com>
1288 * target-delegates.c: Rebuild.
1289 * target.c (update_current_target): Don't inherit or default
1290 to_terminal_inferior.
1291 * target.h (struct target_ops) <to_terminal_inferior>: Use
1292 TARGET_DEFAULT_IGNORE.
1294 2014-02-19 Tom Tromey <tromey@redhat.com>
1296 * target-delegates.c: Rebuild.
1297 * target.c (update_current_target): Don't inherit or default
1299 * target.h (struct target_ops) <to_terminal_init>: Use
1300 TARGET_DEFAULT_IGNORE.
1302 2014-02-19 Tom Tromey <tromey@redhat.com>
1304 * target-delegates.c: Rebuild.
1305 * target.c (update_current_target): Don't inherit or default
1306 to_can_accel_watchpoint_condition.
1307 * target.h (struct target_ops)
1308 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
1310 2014-02-19 Tom Tromey <tromey@redhat.com>
1312 * target-delegates.c: Rebuild.
1313 * target.c (update_current_target): Don't inherit or default
1314 to_region_ok_for_hw_watchpoint.
1315 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1316 Use TARGET_DEFAULT_FUNC.
1318 2014-02-19 Tom Tromey <tromey@redhat.com>
1320 * target-delegates.c: Rebuild.
1321 * target.c (update_current_target): Don't inherit or default
1322 to_watchpoint_addr_within_range.
1323 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
1324 Use TARGET_DEFAULT_FUNC.
1326 2014-02-19 Tom Tromey <tromey@redhat.com>
1328 * target-delegates.c: Rebuild.
1329 * target.c (update_current_target): Don't inherit or default
1330 to_remove_watchpoint.
1331 * target.h (struct target_ops) <to_remove_watchpoint>: Use
1332 TARGET_DEFAULT_NORETURN.
1334 2014-02-19 Tom Tromey <tromey@redhat.com>
1336 * target-delegates.c: Rebuild.
1337 * target.c (update_current_target): Don't inherit or default
1338 to_insert_watchpoint.
1339 * target.h (struct target_ops) <to_insert_watchpoint>: Use
1340 TARGET_DEFAULT_RETURN.
1342 2014-02-19 Tom Tromey <tromey@redhat.com>
1344 * target-delegates.c: Rebuild.
1345 * target.c (update_current_target): Don't inherit or default
1346 to_remove_hw_breakpoint.
1347 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
1348 TARGET_DEFAULT_RETURN.
1350 2014-02-19 Tom Tromey <tromey@redhat.com>
1352 * target-delegates.c: Rebuild.
1353 * target.c (update_current_target): Don't inherit or default
1354 to_insert_hw_breakpoint.
1355 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
1356 TARGET_DEFAULT_RETURN.
1358 2014-02-19 Tom Tromey <tromey@redhat.com>
1360 * target-delegates.c: Rebuild.
1361 * target.c (update_current_target): Don't inherit or default
1362 to_can_use_hw_breakpoint.
1363 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
1364 TARGET_DEFAULT_RETURN.
1366 2014-02-19 Tom Tromey <tromey@redhat.com>
1368 * target-delegates.c: Rebuild.
1369 * target.c (update_current_target): Don't inherit or default
1371 * target.h (struct target_ops) <to_files_info>: Use
1372 TARGET_DEFAULT_IGNORE.
1374 2014-02-19 Tom Tromey <tromey@redhat.com>
1376 * target-delegates.c: Rebuild.
1377 * target.c (update_current_target): Don't inherit or default
1379 * target.h (struct target_ops) <to_store>: Use
1380 TARGET_DEFAULT_NORETURN.
1382 2014-02-19 Tom Tromey <tromey@redhat.com>
1384 * target-delegates.c: Rebuild.
1385 * target.c (update_current_target): Don't inherit or default
1387 * target.h (struct target_ops) <to_post_attach>: Use
1388 TARGET_DEFAULT_IGNORE.
1390 2014-02-19 Tom Tromey <tromey@redhat.com>
1392 * target-delegates.c: Rebuild.
1393 * target.c (update_current_target): Don't inherit or default
1395 (default_rcmd): New function.
1396 (do_monitor_command): Unconditionally delegate.
1397 * target.h (struct target_ops) <to_rmcd>: Use
1398 TARGET_DEFAULT_FUNC.
1400 2014-02-19 Tom Tromey <tromey@redhat.com>
1402 * target-delegates.c: Rebuild.
1403 * target.c (init_dummy_target): Don't initialize to_attach.
1404 (target_attach): Unconditionally delegate.
1405 * target.h (struct target_ops) <to_attach>: Use
1406 TARGET_DEFAULT_FUNC.
1408 2014-02-19 Tom Tromey <tromey@redhat.com>
1410 * target-delegates.c: Rebuild.
1411 * target.c (target_detach): Unconditionally delegate.
1412 (init_dummy_target): Don't initialize to_detach.
1413 * target.h (struct target_ops) <to_detach>: Use
1414 TARGET_DEFAULT_IGNORE.
1416 2014-02-19 Tom Tromey <tromey@redhat.com>
1418 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1420 (target_augmented_libraries_svr4_read): Add argument.
1421 * target.c (update_current_target): Update.
1422 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
1425 2014-02-19 Tom Tromey <tromey@redhat.com>
1427 * target.h (struct target_ops) <to_call_history_range>: Add
1429 * target.c (target_call_history_range): Add argument.
1430 * record-btrace.c (record_btrace_call_history_range): Add 'self'
1432 (record_btrace_call_history_from): Update.
1434 2014-02-19 Tom Tromey <tromey@redhat.com>
1436 * target.h (struct target_ops) <to_call_history_from>: Add
1438 * target.c (target_call_history_from): Add argument.
1439 * record-btrace.c (record_btrace_call_history_from): Add 'self'
1442 2014-02-19 Tom Tromey <tromey@redhat.com>
1444 * target.h (struct target_ops) <to_call_history>: Add argument.
1445 * target.c (target_call_history): Add argument.
1446 * record-btrace.c (record_btrace_call_history): Add 'self'
1449 2014-02-19 Tom Tromey <tromey@redhat.com>
1451 * target.h (struct target_ops) <to_insn_history_range>: Add
1453 * target.c (target_insn_history_range): Add argument.
1454 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
1456 (record_btrace_insn_history_from): Update.
1458 2014-02-19 Tom Tromey <tromey@redhat.com>
1460 * target.h (struct target_ops) <to_insn_history_from>: Add
1462 * target.c (target_insn_history_from): Add argument.
1463 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
1466 2014-02-19 Tom Tromey <tromey@redhat.com>
1468 * target.h (struct target_ops) <to_insn_history>: Add argument.
1469 * target.c (target_insn_history): Add argument.
1470 * record-btrace.c (record_btrace_insn_history): Add 'self'
1473 2014-02-19 Tom Tromey <tromey@redhat.com>
1475 * target.h (struct target_ops) <to_goto_record>: Add argument.
1476 * target.c (target_goto_record): Add argument.
1477 * record-full.c (record_full_goto): Add 'self' argument.
1478 * record-btrace.c (record_btrace_goto): Add 'self' argument.
1480 2014-02-19 Tom Tromey <tromey@redhat.com>
1482 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
1483 * target.c (target_goto_record_end): Add argument.
1484 * record-full.c (record_full_goto_end): Add 'self' argument.
1485 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
1487 2014-02-19 Tom Tromey <tromey@redhat.com>
1489 * target.h (struct target_ops) <to_goto_record_begin>: Add
1491 * target.c (target_goto_record_begin): Add argument.
1492 * record-full.c (record_full_goto_begin): Add 'self' argument.
1493 * record-btrace.c (record_btrace_goto_begin): Add 'self'
1496 2014-02-19 Tom Tromey <tromey@redhat.com>
1498 * target.h (struct target_ops) <to_record_is_replaying>: Add
1500 * target.c (target_record_is_replaying): Add argument.
1501 * record-full.c (record_full_is_replaying): Add 'self' argument.
1502 * record-btrace.c (record_btrace_is_replaying): Add 'self'
1504 (record_btrace_xfer_partial, record_btrace_store_registers)
1505 (record_btrace_prepare_to_store, record_btrace_resume)
1506 (record_btrace_wait, record_btrace_decr_pc_after_break)
1507 (record_btrace_find_new_threads, record_btrace_thread_alive):
1510 2014-02-19 Tom Tromey <tromey@redhat.com>
1512 * target.h (struct target_ops) <to_delete_record>: Add argument.
1513 * target.c (target_delete_record): Add argument.
1514 * record-full.c (record_full_delete): Add 'self' argument.
1516 2014-02-19 Tom Tromey <tromey@redhat.com>
1518 * target.h (struct target_ops) <to_save_record>: Add argument.
1519 * target.c (target_save_record): Add argument.
1520 * record-full.c (record_full_save): Add 'self' argument.
1521 (record_full_save): Add 'self' argument.
1523 2014-02-19 Tom Tromey <tromey@redhat.com>
1525 * target.h (struct target_ops) <to_info_record>: Add argument.
1526 * target.c (target_info_record): Add argument.
1527 * record.c (info_record_command): Add argument.
1528 * record-full.c (record_full_info): Add 'self' argument.
1529 * record-btrace.c (record_btrace_info): Add 'self' argument.
1531 2014-02-19 Tom Tromey <tromey@redhat.com>
1533 * target.h (struct target_ops) <to_stop_recording>: Add argument.
1534 * target.c (target_stop_recording): Add argument.
1535 * record.c (record_stop): Add argument.
1536 * record-btrace.c (record_btrace_stop_recording): Add 'self'
1539 2014-02-19 Tom Tromey <tromey@redhat.com>
1541 * target.h (struct target_ops) <to_read_btrace>: Add argument.
1542 * target.c (struct target_ops) <to_read_btrace>: Add argument.
1543 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
1545 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
1546 (_initialize_amd64_linux_nat): Use it.
1547 * i386-linux-nat.c (i386_linux_read_btrace): New function.
1548 (_initialize_i386_linux_nat): Use it.
1550 2014-02-19 Tom Tromey <tromey@redhat.com>
1552 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
1553 * target.c (target_teardown_btrace): Add argument.
1554 * remote.c (remote_teardown_btrace): Add 'self' argument.
1555 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
1557 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
1560 2014-02-19 Tom Tromey <tromey@redhat.com>
1562 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
1563 * target.c (target_disable_btrace): Add argument.
1564 * remote.c (remote_disable_btrace): Add 'self' argument.
1565 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
1567 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
1570 2014-02-19 Tom Tromey <tromey@redhat.com>
1572 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
1573 * target.c (target_enable_btrace): Add argument.
1574 * remote.c (remote_enable_btrace): Add 'self' argument.
1575 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
1577 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
1580 2014-02-19 Tom Tromey <tromey@redhat.com>
1582 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
1583 (target_can_use_agent): Add argument.
1584 * target.c (update_current_target): Update.
1585 * remote.c (remote_can_use_agent): Add 'self' argument.
1586 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
1588 2014-02-19 Tom Tromey <tromey@redhat.com>
1590 * target.h (struct target_ops) <to_use_agent>: Add argument.
1591 (target_use_agent): Add argument.
1592 * target.c (update_current_target): Update.
1593 * remote.c (remote_use_agent): Add 'self' argument.
1594 * inf-child.c (inf_child_use_agent): Add 'self' argument.
1596 2014-02-19 Tom Tromey <tromey@redhat.com>
1598 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
1599 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
1600 (target_traceframe_info): Add argument.
1601 * target.c (update_current_target): Update.
1602 * remote.c (remote_traceframe_info): Add 'self' argument.
1603 * ctf.c (ctf_traceframe_info): Add 'self' argument.
1605 2014-02-19 Tom Tromey <tromey@redhat.com>
1607 * target.h (target_static_tracepoint_markers_by_strid): Add
1609 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
1611 * target.c (update_current_target): Update.
1612 * remote.c (struct target_ops)
1613 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1614 * linux-nat.c (struct target_ops)
1615 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1617 2014-02-19 Tom Tromey <tromey@redhat.com>
1619 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1621 (target_static_tracepoint_marker_at): Add argument.
1622 * target.c (update_current_target): Update.
1623 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
1626 2014-02-19 Tom Tromey <tromey@redhat.com>
1628 * target.h (struct target_ops) <to_set_permissions>: Add argument.
1629 (target_set_permissions): Add argument.
1630 * target.c (update_current_target): Update.
1631 * remote.c (remote_set_permissions): Add 'self' argument.
1632 (remote_start_remote): Update.
1634 2014-02-19 Tom Tromey <tromey@redhat.com>
1636 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
1637 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
1638 (target_get_tib_address): Add argument.
1639 * target.c (update_current_target): Update.
1640 * remote.c (remote_get_tib_address): Add 'self' argument.
1642 2014-02-19 Tom Tromey <tromey@redhat.com>
1644 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
1645 (target_set_trace_notes): Add argument.
1646 * target.c (update_current_target): Update.
1647 * remote.c (remote_set_trace_notes): Add 'self' argument.
1649 2014-02-19 Tom Tromey <tromey@redhat.com>
1651 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
1653 (target_set_trace_buffer_size): Add argument.
1654 * target.c (update_current_target): Update.
1655 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
1657 2014-02-19 Tom Tromey <tromey@redhat.com>
1659 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
1661 (target_set_circular_trace_buffer): Add argument.
1662 * target.c (update_current_target): Update.
1663 * remote.c (remote_set_circular_trace_buffer): Add 'self'
1666 2014-02-19 Tom Tromey <tromey@redhat.com>
1668 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
1670 (target_set_disconnected_tracing): Add argument.
1671 * target.c (update_current_target): Update.
1672 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
1674 2014-02-19 Tom Tromey <tromey@redhat.com>
1676 * target.h (struct target_ops)
1677 <to_get_min_fast_tracepoint_insn_len>: Add argument.
1678 (target_get_min_fast_tracepoint_insn_len): Add argument.
1679 * target.c (update_current_target): Update.
1680 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
1683 2014-02-19 Tom Tromey <tromey@redhat.com>
1685 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
1687 (target_get_raw_trace_data): Add argument.
1688 * target.c (update_current_target): Update.
1689 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
1691 2014-02-19 Tom Tromey <tromey@redhat.com>
1693 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1695 (target_upload_trace_state_variables): Add argument.
1696 * target.c (update_current_target): Update.
1697 * remote.c (remote_upload_trace_state_variables): Add 'self'
1699 (remote_start_remote): Update.
1701 2014-02-19 Tom Tromey <tromey@redhat.com>
1703 * target.h (struct target_ops) <to_upload_tracepoints>: Add
1705 (target_upload_tracepoints): Add argument.
1706 * target.c (update_current_target): Update.
1707 * remote.c (remote_upload_tracepoints): Add 'self' argument.
1708 (remote_start_remote): Update.
1710 2014-02-19 Tom Tromey <tromey@redhat.com>
1712 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
1713 (target_save_trace_data): Add argument.
1714 * target.c (update_current_target): Update.
1715 * remote.c (remote_save_trace_data): Add 'self' argument.
1717 2014-02-19 Tom Tromey <tromey@redhat.com>
1719 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
1721 * target.h (struct target_ops)
1722 <to_get_trace_state_variable_value>: Add argument.
1723 (target_get_trace_state_variable_value): Add argument.
1724 * target.c (update_current_target): Update.
1725 * remote.c (remote_get_trace_state_variable_value): Add 'self'
1727 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
1729 2014-02-19 Tom Tromey <tromey@redhat.com>
1731 * tracepoint.c (tfile_trace_find): Add 'self' argument.
1732 * target.h (struct target_ops) <to_trace_find>: Add argument.
1733 (target_trace_find): Add argument.
1734 * target.c (update_current_target): Update.
1735 * remote.c (remote_trace_find): Add 'self' argument.
1736 * ctf.c (ctf_trace_find): Add 'self' argument.
1738 2014-02-19 Tom Tromey <tromey@redhat.com>
1740 * target.h (struct target_ops) <to_trace_stop>: Add argument.
1741 (target_trace_stop): Add argument.
1742 * target.c (update_current_target): Update.
1743 * remote.c (remote_trace_stop): Add 'self' argument.
1745 2014-02-19 Tom Tromey <tromey@redhat.com>
1747 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
1748 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
1750 (target_get_tracepoint_status): Add argument.
1751 * target.c (update_current_target): Update.
1752 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
1754 2014-02-19 Tom Tromey <tromey@redhat.com>
1756 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
1757 * target.h (struct target_ops) <to_get_trace_status>: Add
1759 (target_get_trace_status): Add argument.
1760 * target.c (update_current_target): Update.
1761 * remote.c (remote_get_trace_status): Add 'self' argument.
1762 (remote_start_remote, remote_can_download_tracepoint): Update.
1763 * ctf.c (ctf_get_trace_status): Add 'self' argument.
1765 2014-02-19 Tom Tromey <tromey@redhat.com>
1767 * target.h (struct target_ops) <to_trace_start>: Add argument.
1768 (target_trace_start): Add argument.
1769 * target.c (update_current_target): Update.
1770 * remote.c (remote_trace_start): Add 'self' argument.
1772 2014-02-19 Tom Tromey <tromey@redhat.com>
1774 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1776 (target_trace_set_readonly_regions): Add argument.
1777 * target.c (update_current_target): Update.
1778 * remote.c (remote_trace_set_readonly_regions): Add 'self'
1781 2014-02-19 Tom Tromey <tromey@redhat.com>
1783 * target.h (struct target_ops) <to_disable_tracepoint>: Add
1785 (target_disable_tracepoint): Add argument.
1786 * target.c (update_current_target): Update.
1787 * remote.c (remote_disable_tracepoint): Add 'self' argument.
1789 2014-02-19 Tom Tromey <tromey@redhat.com>
1791 * target.h (struct target_ops) <to_enable_tracepoint>: Add
1793 (target_enable_tracepoint): Add argument.
1794 * target.c (update_current_target): Update.
1795 * remote.c (remote_enable_tracepoint): Add 'self' argument.
1797 2014-02-19 Tom Tromey <tromey@redhat.com>
1799 * target.h (struct target_ops) <to_download_trace_state_variable>:
1801 (target_download_trace_state_variable): Add argument.
1802 * target.c (update_current_target): Update.
1803 * remote.c (remote_download_trace_state_variable): Add 'self'
1806 2014-02-19 Tom Tromey <tromey@redhat.com>
1808 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
1810 (target_can_download_tracepoint): Add argument.
1811 * target.c (update_current_target): Update.
1812 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
1814 2014-02-19 Tom Tromey <tromey@redhat.com>
1816 * target.h (struct target_ops) <to_download_tracepoint>: Add
1818 (target_download_tracepoint): Add argument.
1819 * target.c (update_current_target): Update.
1820 * remote.c (remote_download_tracepoint): Add 'self' argument.
1822 2014-02-19 Tom Tromey <tromey@redhat.com>
1824 * target.h (struct target_ops) <to_trace_init>: Add argument.
1825 (target_trace_init): Add argument.
1826 * target.c (update_current_target): Update.
1827 * remote.c (remote_trace_init): Add 'self' argument.
1829 2014-02-19 Tom Tromey <tromey@redhat.com>
1831 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1832 * target.c (target_fileio_readlink): Add argument.
1833 * remote.c (remote_hostio_readlink): Add 'self' argument.
1834 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1836 2014-02-19 Tom Tromey <tromey@redhat.com>
1838 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1839 * target.c (target_fileio_unlink): Add argument.
1840 * remote.c (remote_hostio_unlink): Add 'self' argument.
1841 (remote_file_delete): Update.
1842 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1844 2014-02-19 Tom Tromey <tromey@redhat.com>
1846 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1847 * target.c (target_fileio_close): Add argument.
1848 * remote.c (remote_hostio_close): Add 'self' argument.
1849 (remote_hostio_close_cleanup): Update.
1850 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1852 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1854 2014-02-19 Tom Tromey <tromey@redhat.com>
1856 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1857 * target.c (target_fileio_pread): Add argument.
1858 * remote.c (remote_hostio_pread): Add 'self' argument.
1859 (remote_bfd_iovec_pread, remote_file_get): Update.
1860 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1862 2014-02-19 Tom Tromey <tromey@redhat.com>
1864 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1865 * target.c (target_fileio_pwrite): Add argument.
1866 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1867 (remote_file_put): Update.
1868 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1870 2014-02-19 Tom Tromey <tromey@redhat.com>
1872 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1873 * target.c (target_fileio_open): Add argument.
1874 * remote.c (remote_hostio_open): Add 'self' argument.
1875 (remote_bfd_iovec_open): Add 'self' argument.
1876 (remote_file_put): Add 'self' argument.
1877 (remote_file_get): Add 'self' argument.
1878 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1880 2014-02-19 Tom Tromey <tromey@redhat.com>
1882 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1884 (target_can_run_breakpoint_commands): Add argument.
1885 * target.c (update_current_target): Update.
1886 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1888 (remote_insert_breakpoint): Add 'self' argument.
1889 (remote_insert_hw_breakpoint): Add 'self' argument.
1890 (remote_can_run_breakpoint_commands): Add 'self' argument.
1892 2014-02-19 Tom Tromey <tromey@redhat.com>
1894 * target.h (struct target_ops)
1895 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1896 (target_supports_evaluation_of_breakpoint_conditions): Add
1898 * target.c (update_current_target): Update.
1899 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1901 (remote_insert_breakpoint): Add 'self' argument.
1902 (remote_insert_hw_breakpoint): Add 'self' argument.
1903 (remote_supports_cond_breakpoints): Add 'self' argument.
1905 2014-02-19 Tom Tromey <tromey@redhat.com>
1907 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1909 (target_supports_string_tracing): Add argument.
1910 * target.c (update_current_target): Update.
1911 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1913 2014-02-19 Tom Tromey <tromey@redhat.com>
1915 * target.h (struct target_ops)
1916 <to_supports_disable_randomization>: Add argument.
1917 * target.c (find_default_supports_disable_randomization): Add
1919 (target_supports_disable_randomization): Add argument.
1920 (find_default_supports_disable_randomization): Add 'self'
1922 * remote.c (extended_remote_supports_disable_randomization): Add
1924 (remote_supports_disable_randomization): Add 'self' argument.
1925 (extended_remote_create_inferior): Update.
1926 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1929 2014-02-19 Tom Tromey <tromey@redhat.com>
1931 * target.h (struct target_ops)
1932 <to_supports_enable_disable_tracepoint>: Add argument.
1933 (target_supports_enable_disable_tracepoint): Add argument.
1934 * target.c (update_current_target): Update.
1935 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1938 2014-02-19 Tom Tromey <tromey@redhat.com>
1940 * target.h (struct target_ops) <to_supports_multi_process>: Add
1942 (target_supports_multi_process): Add argument.
1943 * target.c (update_current_target): Update.
1944 * remote.c (remote_supports_multi_process): Add 'self' argument.
1945 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1947 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1950 2014-02-19 Tom Tromey <tromey@redhat.com>
1952 * target.h (struct target_ops) <to_execution_direction>: Add
1954 (target_execution_direction): Add argument.
1955 * target.c (default_execution_direction): Add 'self' argument.
1956 * record-full.c (record_full_execution_direction): Add 'self'
1959 2014-02-19 Tom Tromey <tromey@redhat.com>
1961 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1963 (target_can_execute_reverse): Add argument.
1964 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1965 * record-full.c (record_full_can_execute_reverse): Add 'self'
1967 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1970 2014-02-19 Tom Tromey <tromey@redhat.com>
1972 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1973 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1975 (target_get_ada_task_ptid): Add argument.
1976 * target.c (update_current_target): Update.
1977 (default_get_ada_task_ptid): Add 'self' argument.
1978 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1979 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1980 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1982 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1984 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1986 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1988 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1989 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1992 2014-02-19 Tom Tromey <tromey@redhat.com>
1994 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1995 (target_goto_bookmark): Add argument.
1996 * target.c (dummy_goto_bookmark): Add 'self' argument.
1997 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1999 2014-02-19 Tom Tromey <tromey@redhat.com>
2001 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
2002 (target_get_bookmark): Add argument.
2003 * target.c (dummy_get_bookmark): Add 'self' argument.
2004 * record-full.c (record_full_get_bookmark): Add 'self' argument.
2006 2014-02-19 Tom Tromey <tromey@redhat.com>
2008 * target.h (struct target_ops) <to_make_corefile_notes>: Add
2010 (target_make_corefile_notes): Add argument.
2011 * target.c (dummy_make_corefile_notes): Add 'self' argument.
2012 * procfs.c (procfs_make_note_section): Add 'self' argument.
2013 (procfs_make_note_section): Add 'self' argument.
2014 (procfs_make_note_section): Add 'self' argument.
2015 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
2017 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
2018 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
2019 * exec.c (exec_make_note_section): Add 'self' argument.
2020 (exec_make_note_section): Add 'self' argument.
2022 2014-02-19 Tom Tromey <tromey@redhat.com>
2024 * target.h (struct target_ops) <to_find_memory_regions>: Add
2026 (target_find_memory_regions): Add argument.
2027 * target.c (dummy_find_memory_regions): Add 'self' argument.
2028 * procfs.c (proc_find_memory_regions): Add 'self' argument.
2029 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
2030 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
2031 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
2032 * exec. (exec_do_find_memory_regions): New global.
2033 (exec_set_find_memory_regions): Rewrite.
2034 (exec_find_memory_regions): New function.
2035 (init_exec_ops): Use exec_find_memory_regions.
2037 2014-02-19 Tom Tromey <tromey@redhat.com>
2039 * target.h (struct target_ops) <to_supports_non_stop>: Add
2041 * target.c (find_default_supports_non_stop): Add argument.
2042 (target_supports_non_stop): Add argument.
2043 (find_default_supports_non_stop): Add 'self' argument.
2044 * remote.c (remote_supports_non_stop): Add 'self' argument.
2045 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
2047 2014-02-19 Tom Tromey <tromey@redhat.com>
2049 * target.h (struct target_ops) <to_log_command>: Add argument.
2050 (target_log_command): Add argument.
2051 * serial.h (serial_log_command): Add 'self' argument.
2052 * serial.c (serial_log_command): Add 'self' argument.
2054 2014-02-19 Tom Tromey <tromey@redhat.com>
2056 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
2057 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
2059 (target_pid_to_exec_file): Add argument.
2060 * target.c (debug_to_pid_to_exec_file): Add argument.
2061 (update_current_target): Update.
2062 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
2063 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
2064 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
2065 (linux_handle_extended_wait): Update.
2066 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
2067 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
2068 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
2069 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
2071 2014-02-19 Tom Tromey <tromey@redhat.com>
2073 * target.h (struct target_ops) <to_rcmd>: Add argument.
2074 (target_rcmd): Add argument.
2075 * target.c (debug_to_rcmd): Add argument.
2076 (update_current_target, do_monitor_command): Update.
2077 * remote.c (remote_rcmd): Add 'self' argument.
2078 * monitor.c (monitor_rcmd): Add 'self' argument.
2080 2014-02-19 Tom Tromey <tromey@redhat.com>
2082 * windows-nat.c (windows_stop): Add 'self' argument.
2083 * target.h (struct target_ops) <to_stop>: Add argument.
2084 * target.c (target_stop): Add argument.
2085 (debug_to_stop): Add argument.
2086 (update_current_target): Update.
2087 * remote.c (remote_stop): Add 'self' argument.
2088 * remote-sim.c (gdbsim_stop): Add 'self' argument.
2089 (gdbsim_cntrl_c): Update.
2090 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
2091 * procfs.c (procfs_stop): Add 'self' argument.
2092 * nto-procfs.c (procfs_stop): Add 'self' argument.
2093 * monitor.c (monitor_stop): Add 'self' argument.
2094 (monitor_open): Update.
2095 * linux-nat.c (linux_nat_stop): Add argument.
2096 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
2097 * gnu-nat.c (gnu_stop): Add 'self' argument.
2098 * darwin-nat.c (darwin_stop): Add 'self' argument.
2100 2014-02-19 Tom Tromey <tromey@redhat.com>
2102 * target.h (struct target_ops) <to_thread_name>: Add argument.
2103 * target.c (target_thread_name): Add argument.
2104 (update_current_target): Update.
2105 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
2107 2014-02-19 Tom Tromey <tromey@redhat.com>
2109 * target.h (struct target_ops) <to_extra_thread_info>: Add
2111 (target_extra_thread_info): Add argument.
2112 * target.c (update_current_target): Update.
2113 * remote.c (remote_threads_extra_info): Add 'self' argument.
2114 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
2116 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
2117 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
2118 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
2120 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
2122 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
2124 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
2127 2014-02-19 Tom Tromey <tromey@redhat.com>
2129 * target.h (struct target_ops) <to_program_signals>: Add argument.
2130 * target.c (target_program_signals): Add argument.
2131 * remote.c (remote_program_signals): Add 'self' argument.
2133 2014-02-19 Tom Tromey <tromey@redhat.com>
2135 * target.h (struct target_ops) <to_pass_signals>: Add argument.
2136 * target.c (target_pass_signals): Add argument.
2137 * remote.c (remote_pass_signals): Add 'self' argument.
2138 (remote_start_remote): Update.
2139 * procfs.c (procfs_pass_signals): Add 'self' argument.
2140 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
2141 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
2142 (linux_nat_create_inferior, linux_nat_attach): Update.
2144 2014-02-19 Tom Tromey <tromey@redhat.com>
2146 * windows-nat.c (windows_can_run): Add 'self' argument.
2147 * target.h (struct target_ops) <to_can_run>: Add argument.
2148 (target_can_run): Add argument.
2149 * target.c (debug_to_can_run): Add argument.
2150 (update_current_target): Update.
2151 * nto-procfs.c (procfs_can_run): Add 'self' argument.
2152 * inf-child.c (inf_child_can_run): Add 'self' argument.
2153 * go32-nat.c (go32_can_run): Add 'self' argument.
2155 2014-02-19 Tom Tromey <tromey@redhat.com>
2157 * target.h (struct target_ops) <to_has_exited>: Add argument.
2158 (target_has_exited): Add argument.
2159 * target.c (debug_to_has_exited): Add argument.
2160 (update_current_target): Update.
2162 2014-02-19 Tom Tromey <tromey@redhat.com>
2164 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
2166 (target_set_syscall_catchpoint): Add argument.
2167 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
2169 * target.c (update_current_target): Update.
2171 2014-02-19 Tom Tromey <tromey@redhat.com>
2173 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
2175 (target_remove_exec_catchpoint): Add argument.
2176 * target.c (debug_to_remove_exec_catchpoint): Add argument.
2177 (update_current_target): Update.
2178 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
2181 2014-02-19 Tom Tromey <tromey@redhat.com>
2183 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
2185 (target_insert_exec_catchpoint): Add argument.
2186 * target.c (debug_to_insert_exec_catchpoint): Add argument.
2187 (update_current_target): Update.
2188 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
2191 2014-02-19 Tom Tromey <tromey@redhat.com>
2193 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
2195 (target_remove_vfork_catchpoint): Add argument.
2196 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
2197 (update_current_target): Update.
2198 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
2201 2014-02-19 Tom Tromey <tromey@redhat.com>
2203 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
2205 (target_insert_vfork_catchpoint): Add argument.
2206 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
2207 (update_current_target): Update.
2208 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
2211 2014-02-19 Tom Tromey <tromey@redhat.com>
2213 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
2215 (target_remove_fork_catchpoint): Add argument.
2216 * target.c (debug_to_remove_fork_catchpoint): Add argument.
2217 (update_current_target): Update.
2218 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
2221 2014-02-19 Tom Tromey <tromey@redhat.com>
2223 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
2225 (target_insert_fork_catchpoint): Add argument.
2226 * target.c (debug_to_insert_fork_catchpoint): Add argument.
2227 (update_current_target): Update.
2228 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
2231 2014-02-19 Tom Tromey <tromey@redhat.com>
2233 * target.h (struct target_ops) <to_post_startup_inferior>: Add
2235 (target_post_startup_inferior): Add argument.
2236 * target.c (debug_to_post_startup_inferior): Add argument.
2237 (update_current_target): Update.
2238 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
2240 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
2242 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
2244 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
2246 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
2248 (super_post_startup_inferior): Likewise.
2249 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
2251 (super_post_startup_inferior): Likewise.
2252 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
2253 Add 'self' argument.
2254 (super_post_startup_inferior): Likewise.
2256 2014-02-19 Tom Tromey <tromey@redhat.com>
2258 * target.h (struct target_ops) <to_load>: Add argument.
2259 * target.c (target_load): Add argument.
2260 (debug_to_load): Add argument.
2261 (update_current_target): Update.
2262 * remote.c (remote_load): Add 'self' argument.
2263 * remote-sim.c (gdbsim_load): Add 'self' argument.
2264 * remote-mips.c (mips_load): Add 'self' argument.
2265 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
2266 * monitor.c (monitor_load): Add 'self' argument.
2267 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
2269 2014-02-19 Tom Tromey <tromey@redhat.com>
2271 * target.h (struct target_ops) <to_terminal_info>: Add argument.
2272 (target_terminal_info): Add argument.
2273 * target.c (debug_to_terminal_info): Add argument.
2274 (default_terminal_info): Likewise.
2275 * inflow.c (child_terminal_info): Add 'self' argument.
2276 * inferior.h (child_terminal_info): Add 'self' argument.
2277 * go32-nat.c (go32_terminal_info): Add 'self' argument.
2279 2014-02-19 Tom Tromey <tromey@redhat.com>
2281 * target.h (struct target_ops) <to_terminal_save_ours>: Add
2283 (target_terminal_save_ours): Add argument.
2284 * target.c (debug_to_terminal_save_ours): Add argument.
2285 (update_current_target): Update.
2286 * inflow.c (terminal_save_ours): Add 'self' argument.
2287 * inferior.h (terminal_save_ours): Add 'self' argument.
2289 2014-02-19 Tom Tromey <tromey@redhat.com>
2291 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
2292 (target_terminal_ours): Add argument.
2293 * target.c (debug_to_terminal_ours): Add argument.
2294 (update_current_target): Update.
2295 * remote.c (remote_terminal_ours): Add 'self' argument.
2296 (remote_close): Update.
2297 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
2298 * inflow.c (terminal_ours): Add 'self' argument.
2299 * inferior.h (terminal_ours): Add 'self' argument.
2300 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2302 2014-02-19 Pedro Alves <palves@redhat.com>
2303 Tom Tromey <tromey@redhat.com>
2305 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
2307 (target_terminal_ours_for_output): Add argument.
2308 * target.c (debug_to_terminal_ours_for_output): Add argument.
2309 (update_current_target): Update.
2310 * inflow.c (terminal_ours_for_output): Add 'self' argument.
2311 * inferior.h (terminal_ours_for_output): Add 'self' argument.
2312 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2314 2014-02-19 Tom Tromey <tromey@redhat.com>
2316 * target.h (struct target_ops) <to_terminal_inferior>: Add
2318 * target.c (target_terminal_inferior): Add argument.
2319 (update_current_target): Update.
2320 * remote.c (remote_terminal_inferior): Add 'self' argument.
2321 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
2322 * inflow.c (terminal_inferior): Add 'self' argument.
2323 * inferior.h (terminal_inferior): Add 'self' argument.
2324 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
2325 (go32_terminal_inferior): Add 'self' argument.
2327 2014-02-19 Tom Tromey <tromey@redhat.com>
2329 * target.h (struct target_ops) <to_terminal_init>: Add argument.
2330 (target_terminal_init): Add argument.
2331 * target.c (debug_to_terminal_init): Add argument.
2332 (update_current_target): Update.
2333 * inflow.c (terminal_init_inferior): Add 'self' argument.
2334 * inferior.h (terminal_init_inferior): Add 'self' argument.
2335 * go32-nat.c (go32_terminal_init): Add 'self' argument.
2336 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
2338 2014-02-19 Tom Tromey <tromey@redhat.com>
2340 * target.h (struct target_ops)
2341 <to_can_accel_watchpoint_condition>: Add argument.
2342 (target_can_accel_watchpoint_condition): Add argument.
2343 * target.c (debug_to_can_accel_watchpoint_condition): Add
2345 (update_current_target): Update.
2346 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
2349 2014-02-19 Tom Tromey <tromey@redhat.com>
2351 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2353 (target_region_ok_for_hw_watchpoint): Add argument.
2354 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
2355 (default_region_ok_for_hw_watchpoint): Add argument.
2356 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
2357 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
2359 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
2361 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
2363 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
2365 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
2367 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
2369 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
2370 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
2372 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
2373 Add 'self' argument.
2375 2014-02-19 Tom Tromey <tromey@redhat.com>
2377 * target.h (struct target_ops) <to_insert_watchpoint>: Add
2379 (target_insert_watchpoint): Add argument.
2380 * target.c (debug_to_insert_watchpoint): Add argument.
2381 (update_current_target): Update.
2382 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
2383 * remote.c (remote_insert_watchpoint): Add 'self' argument.
2384 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
2385 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
2386 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
2387 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
2389 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
2390 (procfs_insert_hw_watchpoint): Add 'self' argument.
2391 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
2393 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
2395 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
2397 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
2398 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
2400 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
2403 2014-02-19 Tom Tromey <tromey@redhat.com>
2405 * target.h (struct target_ops) <to_remove_watchpoint>: Add
2407 (target_remove_watchpoint): Add argument.
2408 * target.c (debug_to_remove_watchpoint): Add argument.
2409 (update_current_target): Update.
2410 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
2411 * remote.c (remote_remove_watchpoint): Add 'self' argument.
2412 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
2413 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
2414 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
2415 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
2417 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
2418 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
2420 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
2422 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
2424 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
2425 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
2427 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
2430 2014-02-19 Tom Tromey <tromey@redhat.com>
2432 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
2434 (target_remove_hw_breakpoint): Add argument.
2435 * target.c (debug_to_remove_hw_breakpoint): Add argument.
2436 (update_current_target): Update.
2437 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
2438 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
2440 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
2441 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
2443 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
2446 2014-02-19 Tom Tromey <tromey@redhat.com>
2448 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
2450 (target_insert_hw_breakpoint): Add argument.
2451 * target.c (debug_to_insert_hw_breakpoint): Add argument.
2452 (update_current_target): Update.
2453 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
2454 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
2456 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
2457 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
2458 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
2460 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
2463 2014-02-19 Tom Tromey <tromey@redhat.com>
2465 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
2467 (target_can_use_hardware_watchpoint): Add argument.
2468 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
2469 (update_current_target): Update.
2470 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
2472 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
2474 * remote.c (remote_check_watch_resources): Add 'self' argument.
2475 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
2476 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
2478 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
2479 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
2481 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
2483 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
2485 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
2487 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
2489 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
2491 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
2492 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
2494 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
2497 2014-02-19 Tom Tromey <tromey@redhat.com>
2499 * target.h (struct target_ops) <to_post_attach>: Add argument.
2500 (target_post_attach): Add argument.
2501 * target.c (debug_to_post_attach): Add argument.
2502 (update_current_target): Update.
2503 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
2504 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
2505 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
2506 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
2507 * inf-child.c (inf_child_post_attach): Add 'self' argument.
2509 2014-02-19 Tom Tromey <tromey@redhat.com>
2511 * windows-nat.c (windows_close): Add 'self' argument.
2512 * tracepoint.c (tfile_close): Add 'self' argument.
2513 * target.h (struct target_ops) <to_close>: Add argument.
2514 * target.c (target_close): Add argument.
2515 (update_current_target): Update.
2516 * remote.c (remote_close): Add 'self' argument.
2517 * remote-sim.c (gdbsim_close): Add 'self' argument.
2518 * remote-mips.c (mips_close): Add 'self' argument.
2519 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
2520 * record-full.c (record_full_close): Add 'self' argument.
2521 * record-btrace.c (record_btrace_close): Add 'self' argument.
2522 * monitor.h (monitor_close): Add 'self' argument.
2523 * monitor.c (monitor_close): Add 'self' argument.
2524 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
2525 * linux-nat.c (linux_nat_close): Add argument.
2526 * go32-nat.c (go32_close): Add 'self' argument.
2527 * exec.c (exec_close_1): Add 'self' argument.
2528 * ctf.c (ctf_close): Add 'self' argument.
2529 * corelow.c (core_close): Add 'self' argument.
2530 (core_close_cleanup): Update.
2531 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
2532 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
2534 2014-02-19 Tom Tromey <tromey@redhat.com>
2536 * remote.c (remote_load): New function.
2537 (init_remote_ops): Use it.
2539 2014-02-19 Tom Tromey <tromey@redhat.com>
2541 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
2543 * common/linux-btrace.h (linux_supports_btrace): Update.
2544 * remote.c (remote_supports_btrace): Add "self" argument.
2545 * target-delegates.c: Rebuild.
2546 * target.c (target_supports_btrace): Remove.
2547 * target.h (struct target_ops) <to_supports_btrace>: Add
2548 target_ops argument.
2549 (target_supports_btrace): New define.
2551 2014-02-19 Tom Tromey <tromey@redhat.com>
2553 * record-full.c (record_full_beneath_to_resume_ops)
2554 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
2555 (record_full_beneath_to_wait)
2556 (record_full_beneath_to_store_registers_ops)
2557 (record_full_beneath_to_store_registers)
2558 (record_full_beneath_to_xfer_partial_ops)
2559 (record_full_beneath_to_xfer_partial)
2560 (record_full_beneath_to_insert_breakpoint_ops)
2561 (record_full_beneath_to_insert_breakpoint)
2562 (record_full_beneath_to_remove_breakpoint_ops)
2563 (record_full_beneath_to_remove_breakpoint)
2564 (record_full_beneath_to_stopped_by_watchpoint)
2565 (record_full_beneath_to_stopped_data_address)
2566 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
2567 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
2568 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
2569 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
2570 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
2571 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
2572 (tmp_to_stopped_data_address, tmp_to_async): Remove.
2573 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
2574 (record_full_resume, record_full_wait_1)
2575 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
2576 (record_full_store_registers, record_full_xfer_partial)
2577 (record_full_insert_breakpoint, record_full_remove_breakpoint)
2578 (record_full_async, record_full_core_xfer_partial): Use target
2580 * target-delegates.c: Rebuild.
2581 * target.c (current_xfer_partial): Remove.
2582 (update_current_target): Do not INHERIT or de_fault
2583 to_insert_breakpoint, to_remove_breakpoint,
2584 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
2585 to_is_async_p, to_async. Do not set to_xfer_partial field.
2586 (default_xfer_partial): Simplify.
2587 (current_xfer_partial): Remove.
2588 (target_wait, target_resume): Simplify.
2589 (find_default_can_async_p, find_default_is_async_p): Update.
2590 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
2591 to_xfer_partial, to_stopped_by_watchpoint,
2592 to_stopped_data_address.
2593 (target_store_registers): Simplify.
2594 (forward_target_remove_breakpoint)
2595 (forward_target_insert_breakpoint): Remove.
2596 (target_remove_breakpoint, target_insert_breakpoint)
2597 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
2598 * target.h (struct target_ops) <to_resume, to_wait,
2599 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
2600 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
2601 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
2603 (forward_target_remove_breakpoint)
2604 (forward_target_insert_breakpoint): Remove.
2605 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
2607 (record_btrace_insert_breakpoint): Delegate directly.
2609 2014-02-19 Tom Tromey <tromey@redhat.com>
2612 * target-delegates.c: New file.
2613 * target.c: Include target-delegates.c.
2614 (init_dummy_target): Call install_dummy_methods.
2615 (complete_target_initialization): Call install_delegators.
2616 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
2617 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
2618 * make-target-delegates: New file.
2620 2014-02-19 Tom Tromey <tromey@redhat.com>
2622 * record.c (find_record_target): Use find_target_at.
2623 * target.c (find_target_at): New function.
2624 * target.h (find_target_at): Declare.
2626 2014-02-19 Tom Tromey <tromey@redhat.com>
2628 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
2630 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
2632 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
2633 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
2635 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
2637 * linux-nat.c (save_sigtrap): Update.
2638 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
2639 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
2640 (linux_nat_close): Update.
2641 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
2643 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
2645 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
2646 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
2647 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
2648 (tmp_to_async): Add 'ops' argument.
2649 (record_full_stopped_by_watchpoint, record_full_async)
2650 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
2652 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
2653 (m32r_stopped_by_watchpoint): Add 'ops' argument.
2654 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
2655 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
2656 (remote_is_async_p, remote_async): Add 'ops' argument.
2657 (remote_stopped_data_address): Update.
2658 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
2659 * target.c (update_current_target)
2660 (find_default_can_async_p, find_default_is_async_p): Update.
2661 (init_dummy_target): Update.
2662 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
2663 * target.h (struct target_ops) <to_stopped_by_watchpoint,
2664 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
2665 (target_can_async_p, target_is_async_p, target_async)
2666 (target_stopped_by_watchpoint): Update.
2668 2014-02-19 Yao Qi <yao@codesourcery.com>
2671 * gdbarch.sh: Remove startup_gdbarch.
2672 * gdbarch.c: Regenerated.
2673 * gdbarch.h: Likewise.
2675 2014-02-17 Kevin Buettner <kevinb@redhat.com>
2677 * rl78-tdep.c (rl78_g10_register_name): New function.
2678 (rl78_return_value): Add g10 support.
2679 (rl78_gdbarch_init): Register rl78_g10_register_name for the
2682 2014-02-17 Doug Evans <xdje42@gmail.com>
2684 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
2685 (SUBDIR_GUILE_SRCS): Ditto.
2686 (scm-gsmob.o): Ditto.
2688 2014-02-17 Yao Qi <yao@codesourcery.com>
2690 * gnu-nat.c (ILL_RPC): Declare defined function.
2692 2014-02-17 Yao Qi <yao@codesourcery.com>
2694 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
2695 mach_msg_type_number_t.
2696 (gnu_write_inferior): Likewise.
2698 2014-02-17 Yao Qi <yao@codesourcery.com>
2700 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
2702 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
2703 (inf_validate_procs, inf_signal): Likewise.
2704 (S_exception_raise_request): Likewise.
2705 (do_mach_notify_dead_name): Likewise.
2706 (steal_exc_port): Likewise.
2707 (gnu_read_inferior): Change 'copy_count''s type to
2708 mach_msg_type_number_t.
2709 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
2712 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
2714 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
2715 flag. Adjust all users; in particular...
2716 (gnu_wait): ..., don't decrement its value in here...
2717 (gnu_create_inferior): ..., and instead set the flag in here,
2718 around the startup_inferior call, and call that one with
2719 START_INFERIOR_TRAPS_EXPECTED.
2721 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
2722 (ILL_RPC): ... new macro.
2723 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
2724 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
2725 (do_mach_notify_send_once, S_proc_setmsgport_reply)
2726 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
2727 functions with ILL_RPC macro.
2728 (S_proc_pid2task_reply, S_proc_task2pid_reply)
2729 (S_proc_task2proc_reply, S_proc_proc2task_reply)
2730 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
2731 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
2732 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
2733 (S_proc_getlogin_reply, S_proc_getsid_reply)
2734 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
2735 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
2736 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
2737 (S_proc_getnports_reply, S_proc_is_important_reply)
2738 (S_proc_get_code_reply): New stub functions, generated with
2741 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
2742 collected the type check structures.
2744 * reply_mig_hack.awk: Don't expect to see the auto keyword.
2746 2014-02-14 Doug Evans <dje@google.com>
2748 * target.c (target_write_partial): Fix result type.
2750 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2752 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
2753 the proper offsets to access fpregset_t.
2755 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
2757 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
2758 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
2759 * h8300-tdep.c (setmachinelist): Remove global.
2760 * hppa-tdep.c (hppa_sigtramp): Remove global.
2761 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
2762 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
2763 * ravenscar-thread.c (update_target_observer): Remove global.
2764 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
2766 2014-02-12 Tom Tromey <tromey@redhat.com>
2768 * common/rsp-low.c: Update comments.
2769 * common/rsp-low.h: Update comments.
2771 2014-02-12 Tom Tromey <tromey@redhat.com>
2773 * common/rsp-low.c (convert_ascii_to_int): Remove.
2774 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
2776 2014-02-12 Tom Tromey <tromey@redhat.com>
2778 * common/rsp-low.h (unhexify): Don't declare.
2779 * common/rsp-low.c (unhexify): Remove.
2781 2014-02-12 Tom Tromey <tromey@redhat.com>
2783 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
2784 * common/rsp-low.c (convert_int_to_ascii): Remove.
2786 2014-02-12 Tom Tromey <tromey@redhat.com>
2788 * common/rsp-low.h (hexify): Don't declare.
2789 * common/rsp-low.c (hexify): Remove.
2791 2014-02-12 Tom Tromey <tromey@redhat.com>
2793 * common/rsp-low.c (hexify): Never take strlen of argument.
2795 2014-02-12 Tom Tromey <tromey@redhat.com>
2797 * common/rsp-low.c (bin2hex): Never take strlen of argument.
2798 * remote.c (extended_remote_run, remote_rcmd)
2799 (remote_download_trace_state_variable, remote_save_trace_data)
2800 (remote_set_trace_notes): Update.
2801 * tracepoint.c (encode_source_string, tfile_write_status)
2802 (tfile_write_uploaded_tsv): Update.
2804 2014-02-12 Tom Tromey <tromey@redhat.com>
2806 * tracepoint.c: Include rsp-low.h.
2807 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
2808 * remote.c: Include rsp-low.h.
2809 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
2810 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
2811 (remote_unescape_input): Move to common/rsp-low.c.
2812 * common/rsp-low.h: New file.
2813 * common/rsp-low.c: New file.
2814 * Makefile.in (SFILES): Add common/rsp-low.c.
2815 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
2816 (COMMON_OBS): Add rsp-low.o.
2817 (rsp-low.o): New target.
2819 2014-02-12 Tom Tromey <tromey@redhat.com>
2821 * utils.h: Include print-utils.h.
2822 (host_address_to_string, plongest, pulongest, phex, phex_nz)
2823 (int_string, core_addr_to_string, core_addr_to_string_nz)
2824 (hex_string, hex_string_custom): Don't declare.
2825 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2826 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2827 (hex_string_custom, int_string, core_addr_to_string)
2828 (core_addr_to_string_nz, host_address_to_string): Move to
2829 common/print-utils.c.
2830 * common/print-utils.h: New file.
2831 * common/print-utils.c: New file
2832 * Makefile.in (SFILES): Add common/print-utils.c.
2833 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2834 (COMMON_OBS): Add print-utils.o.
2835 (print-utils.o): New target.
2837 2014-02-12 Tom Tromey <tromey@redhat.com>
2839 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2841 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2843 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2845 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2847 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2848 if a PT_IO ptrace request returns sucessfully but indicates that 0
2849 bytes were transferred.
2851 2014-02-12 Pedro Alves <palves@redhat.com>
2852 Kevin Buettner <kevinb@redhat.com>
2854 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2855 TYPE_INSTANCE_FLAG_CODE_SPACE.
2857 2014-02-12 Pedro Alves <palves@redhat.com>
2859 * h8300-tdep.c (pseudo_from_raw_register)
2860 (raw_from_pseudo_register): New functions.
2861 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2864 2014-02-12 Pedro Alves <palves@redhat.com>
2866 * h8300-tdep.c (h8300_register_sim_regno): New function.
2867 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2868 gdbarch_register_sim_regno hook.
2870 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2872 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2874 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2876 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2878 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2880 * obsd-tdep.h (obsd_init_abi): New prototype.
2881 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2882 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2883 (obsd_init_abi): New functions.
2884 * i386obsd-tdep.c: Include "obsd-tdep.h".
2885 (i386obsd_init_abi): Call obsd_init_abi.
2886 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2887 (amd64obsd_init_abi): Call obsd_init_abi.
2888 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2889 obsd-tdep.c to gdb_target_obs.
2891 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2893 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2894 double float arguments to 16-byte in the argument slots.
2896 2014-02-11 Doug Evans <xdje42@gmail.com>
2898 * configure.ac: Don't crash if pkg-config is not found and guile
2899 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2901 * configure: Regenerate.
2903 2014-02-11 Yao Qi <yao@codesourcery.com>
2905 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2906 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2907 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2908 * gnu-nat.c (gnu_xfer_memory): Likewise.
2909 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2910 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2911 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2912 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2914 2014-02-11 Yao Qi <yao@codesourcery.com>
2916 * target.h (enum target_xfer_error): Rename to ...
2917 (enum target_xfer_status): ... it. New. All users updated.
2918 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2920 (TARGET_XFER_STATUS_ERROR_P): New macro.
2921 (target_xfer_error_to_string): Remove declaration.
2922 (target_xfer_status_to_string): Declare.
2923 (target_xfer_partial_ftype): Adjust it.
2924 (struct target_ops) <to_xfer_partial>: Return
2925 target_xfer_status. Add argument xfered_len. Update
2927 * target.c (target_xfer_error_to_string): Rename to ...
2928 (target_xfer_status_to_string): ... it. New. All callers
2930 (target_read_live_memory): Likewise. Call target_xfer_partial
2931 instead of target_read.
2932 (memory_xfer_live_readonly_partial): Return
2933 target_xfer_status. Add argument xfered_len.
2934 (raw_memory_xfer_partial): Likewise.
2935 (memory_xfer_partial_1): Likewise.
2936 (memory_xfer_partial): Likewise.
2937 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2938 properly. Update debug message.
2939 (default_xfer_partial, current_xfer_partial): Likewise.
2940 (target_write_partial): Likewise.
2941 (target_read_partial): Likewise. All callers updated.
2942 (read_whatever_is_readable): Likewise.
2943 (target_write_with_progress): Likewise.
2944 (target_read_alloc_1): Likewise.
2946 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2947 * auxv.c (procfs_xfer_auxv): Likewise.
2948 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2949 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2950 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2951 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2952 * corefile.c (read_memory): Adjust.
2953 * corelow.c (core_xfer_partial): Likewise.
2954 * ctf.c (ctf_xfer_partial): Likewise.
2955 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2957 (darwin_xfer_partial): Likewise.
2958 * exec.c (section_table_xfer_memory_partial): Likewise. All
2960 (exec_xfer_partial): Likewise.
2961 * exec.h (section_table_xfer_memory_partial): Update
2963 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2965 (gnu_xfer_partial): Likewise.
2966 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2967 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2968 (ia64_hpux_xfer_solib_got): Likewise.
2969 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2970 type of 'partial_len' to ULONGEST.
2971 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2972 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2973 (linux_nat_xfer_partial): Likewise.
2974 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2975 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2976 * monitor.c (monitor_xfer_memory): Likewise.
2977 (monitor_xfer_partial): Likewise.
2978 * procfs.c (procfs_xfer_partial): Likewise.
2979 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2980 * record-full.c (record_full_xfer_partial): Likewise.
2981 (record_full_core_xfer_partial): Likewise.
2982 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2983 (gdbsim_xfer_partial): Likewise.
2984 * remote.c (remote_write_bytes_aux): Likewise. All callers
2986 (remote_write_bytes, remote_read_bytes): Likewise. All
2988 (remote_flash_erase): Likewise. All callers updated.
2989 (remote_write_qxfer): Likewise. All callers updated.
2990 (remote_read_qxfer): Likewise. All callers updated.
2991 (remote_xfer_partial): Likewise.
2992 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2993 (rs6000_xfer_shared_libraries): Likewise.
2994 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2995 (sol_thread_xfer_partial): Likewise.
2996 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2997 (sparc_xfer_partial): Likewise.
2998 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
3000 (spu_xfer_partial): Likewise.
3001 * spu-multiarch.c (spu_xfer_partial): Likewise.
3002 * tracepoint.c (tfile_xfer_partial): Likewise.
3003 * windows-nat.c (windows_xfer_memory): Likewise.
3004 (windows_xfer_shared_libraries): Likewise.
3005 (windows_xfer_partial): Likewise.
3006 * valprint.c: Replace 'target_xfer_error' with
3007 'target_xfer_status' in comments.
3009 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
3011 Checked in by Joel Brobecker <brobecker@adacore.com>.
3012 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
3014 2014-02-11 Joel Brobecker <brobecker@adacore.com>
3016 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
3017 function parameters.
3019 2014-02-10 Will Newton <will.newton@linaro.org>
3021 * elfread.c (elf_rel_plt_read): Look for a .got section if
3022 looking up .got.plt fails.
3023 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
3024 on address passed to elf_gnu_ifunc_record_cache.
3025 (elf_gnu_ifunc_resolve_addr): Likewise.
3026 (elf_gnu_ifunc_resolver_return_stop): Likewise.
3028 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
3030 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
3031 (X_RETTURN): New macro.
3032 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
3034 * sparc64-tdep.c (sparc64_init_abi): Hook
3035 sparc_in_function_epilogue_p.
3037 2014-02-10 Gary Benson <gbenson@redhat.com>
3039 * symfile-debug.c (debug_qf_expand_symtabs_matching):
3040 Rename name_matcher to symbol_matcher.
3042 2014-02-10 Gary Benson <gbenson@redhat.com>
3044 * symfile-debug.c (debug_qf_expand_symtabs_matching):
3045 Use expand_symtabs_file_matcher_ftype and
3046 expand_symtabs_symbol_matcher_ftype.
3048 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3050 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
3051 (struct ada_symbol_cache): New.
3052 (ada_free_symbol_cache): Forward declare.
3053 (struct ada_pspace_data): New.
3054 (ada_pspace_data_handle): New static global.
3055 (get_ada_pspace_data, ada_pspace_data_cleanup)
3056 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
3057 (cache_space, cache): Delete, now folded inside struct
3059 (ada_get_symbol_cache): New function.
3060 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
3062 (_initialize_ada_language): Remove initialization of cache_space.
3063 Move call to observer_attach_inferior_exit up, grouping it
3064 with the other observer registrations inside this function.
3065 Rename command to be more general. Add call to
3066 register_program_space_data_with_cleanup.
3068 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3070 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
3071 ada_new_objfile_observer.
3072 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
3073 (_initialize_tasks): Update uses of ada_new_objfile_observer
3074 and ada_tasks_normal_stop_observer.
3076 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3078 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
3079 returned by the 'Length attribute to integer.
3081 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3083 * ada-lang.c (_initialize_ada_language): Initialize
3084 cache_space obstack.
3086 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3088 * ada-lang.c (HASH_SIZE): New macro.
3089 (struct cache_entry): New type.
3090 (cache_space, cache): New static globals.
3091 (ada_clear_symbol_cache, find_entry): New functions.
3092 (lookup_cached_symbol, cache_symbol): Implement.
3093 (ada_new_objfile_observer, ada_free_objfile_observer): New.
3094 (_initialize_ada_language): Attach ada_new_objfile_observer
3095 and ada_free_objfile_observer.
3097 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3099 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
3100 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
3101 struct block * parameter.
3102 (ada_lookup_symbol_list_worker): Constify local variable "block".
3103 Remove cast which is no longer necessary.
3105 2014-02-10 Doug Evans <xdje42@gmail.com>
3107 Add Guile as an extension language.
3108 * NEWS: Mention Guile scripting.
3109 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
3110 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
3111 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
3112 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
3113 (CLIBS): Add GUILE_LIBS.
3114 (install-guile): New rule.
3115 (guile.o): New rule.
3116 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
3117 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
3118 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
3119 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
3120 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
3121 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
3122 (scm-type.o, scm-utils.o, scm-value.o): New rules.
3123 * configure.ac: New option --with-guile.
3124 * configure: Regenerate.
3125 * config.in: Regenerate.
3126 * auto-load.c: Remove #include "python/python.h". Add #include
3127 "gdb/section-scripts.h".
3128 (source_section_scripts): Handle Guile scripts.
3129 (_initialize_auto_load): Add name of Guile objfile script to
3130 scripts-directory help text.
3131 * breakpoint.c (condition_command): Tweak comment to include Scheme.
3132 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
3133 (struct breakpoint): New member scm_bp_object.
3134 * defs.h (enum command_control_type): New value guile_control.
3135 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
3137 (show_user): Update comment.
3138 (_initialize_cli_cmds): Update help text for "show user". Update help
3139 text for max-user-call-depth.
3140 * cli/cli-script.c: Remove #include "python/python.h". Add #include
3142 (multi_line_command_p): Add guile_control.
3143 (print_command_lines): Handle guile_control.
3144 (execute_control_command, recurse_read_control_structure): Ditto.
3145 (process_next_line): Recognize "guile" commands.
3146 * disasm.c (gdb_disassemble_info): Make non-static.
3147 * disasm.h: #include "dis-asm.h".
3148 (struct gdbarch): Add forward decl.
3149 (gdb_disassemble_info): Declare.
3150 * extension.c: #include "guile/guile.h".
3151 (extension_languages): Add guile.
3152 (get_ext_lang_defn): Handle EXT_LANG_GDB.
3153 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
3154 * gdbtypes.c (get_unsigned_type_max): New function.
3155 (get_signed_type_minmax): New function.
3156 * gdbtypes.h (get_unsigned_type_max): Declare.
3157 (get_signed_type_minmax): Declare.
3158 * guile/README: New file.
3159 * guile/guile-internal.h: New file.
3160 * guile/guile.c: New file.
3161 * guile/guile.h: New file.
3162 * guile/scm-arch.c: New file.
3163 * guile/scm-auto-load.c: New file.
3164 * guile/scm-block.c: New file.
3165 * guile/scm-breakpoint.c: New file.
3166 * guile/scm-disasm.c: New file.
3167 * guile/scm-exception.c: New file.
3168 * guile/scm-frame.c: New file.
3169 * guile/scm-gsmob.c: New file.
3170 * guile/scm-iterator.c: New file.
3171 * guile/scm-lazy-string.c: New file.
3172 * guile/scm-math.c: New file.
3173 * guile/scm-objfile.c: New file.
3174 * guile/scm-ports.c: New file.
3175 * guile/scm-pretty-print.c: New file.
3176 * guile/scm-safe-call.c: New file.
3177 * guile/scm-string.c: New file.
3178 * guile/scm-symbol.c: New file.
3179 * guile/scm-symtab.c: New file.
3180 * guile/scm-type.c: New file.
3181 * guile/scm-utils.c: New file.
3182 * guile/scm-value.c: New file.
3183 * guile/lib/gdb.scm: New file.
3184 * guile/lib/gdb/boot.scm: New file.
3185 * guile/lib/gdb/experimental.scm: New file.
3186 * guile/lib/gdb/init.scm: New file.
3187 * guile/lib/gdb/iterator.scm: New file.
3188 * guile/lib/gdb/printing.scm: New file.
3189 * guile/lib/gdb/types.scm: New file.
3190 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
3191 (VPATH): Add $(GUILE_SRCDIR).
3192 (GUILE_DIR): New variable.
3193 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
3194 (all): Add stamp-guile dependency.
3195 (stamp-guile): New rule.
3196 (clean-guile, install-guile, uninstall-guile): New rules.
3197 (install-only): Add install-guile dependency.
3198 (uninstall): Add uninstall-guile dependency.
3199 (clean): Add clean-guile dependency.
3201 2014-02-09 Doug Evans <xdje42@gmail.com>
3203 Revert this patch (which I approved, mea culpa).
3205 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3207 * Makefile.in (all-lib): Remove.
3208 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3210 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3212 Fix Python stack corruption.
3213 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
3216 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3218 * Makefile.in (all-lib): Remove.
3219 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3221 2014-02-07 Doug Evans <dje@google.com>
3223 * extension-priv.h (extension_language_script_ops): Add comment.
3224 (extension_language_ops): Add comment.
3225 (active_ext_lang_state): Fix typo in comment.
3227 2014-02-07 Pedro Alves <palves@redhat.com>
3229 * infrun.c (handle_signal_stop) <signal arrives while stepping
3230 over a breakpoint>: Switch back to the stepping thread.
3232 2014-02-07 Yao Qi <yao@codesourcery.com>
3234 * target.c (target_xfer_partial): Return zero if LEN is zero.
3236 2014-02-07 Yao Qi <yao@codesourcery.com>
3238 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
3239 (ld_so_xfer_auxv): Likewise.
3240 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3241 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3242 * corelow.c (core_xfer_partial): Likewise.
3243 * ctf.c (ctf_xfer_partial): Likewise.
3244 * darwin-nat.c (darwin_read_dyld_info): Likewise.
3245 (darwin_xfer_partial): Likewise.
3246 * exec.c (exec_xfer_partial): Likewise.
3247 * gnu-nat.c (gnu_xfer_partial): Likewise.
3248 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
3249 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
3250 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
3251 * linux-nat.c (linux_xfer_siginfo): Likewise.
3252 (linux_proc_xfer_spu): Likewise.
3253 * procfs.c (procfs_xfer_partial): Likewise.
3254 * record-full.c (record_full_xfer_partial): Likewise.
3255 (record_full_core_xfer_partial): Likewise.
3256 * remote-sim.c (gdbsim_xfer_partial): Likewise.
3257 * remote.c (remote_write_qxfer): Likewise.
3258 (remote_write_qxfer, remote_read_qxfer): Likewise.
3259 (remote_xfer_partial): Likewise.
3260 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3261 (rs6000_xfer_shared_libraries): Likewise.
3262 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3263 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3264 (spu_xfer_partial): Likewise.
3265 * target.c (memory_xfer_partial_1): Likewise.
3266 * tracepoint.c (tfile_xfer_partial): Likewise.
3267 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
3268 (windows_xfer_partial): Likewise.
3270 2014-02-07 Yao Qi <yao@codesourcery.com>
3272 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
3274 (core_xfer_shared_libraries_aix): Likewise.
3275 * gdbarch.c, gdbarch.h: Regenerated.
3276 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
3277 ULONGEST. Change 'len_avail' type to ULONGEST.
3278 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3279 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3281 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
3283 2014-02-07 Yao Qi <yao@codesourcery.com>
3285 * corefile.c (memory_error): Get 'exception' from ERR and pass
3286 'exception' to throw_error.
3288 2014-02-06 Doug Evans <xdje42@gmail.com>
3290 * configure.ac (libpython checking): Remove all but python.o from
3291 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
3292 * configure: Regenerate.
3294 * Makefile.in (SFILES): Add extension.c.
3295 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
3296 (COMMON_OBS): Add extension.o.
3297 * extension.h: New file.
3298 * extension-priv.h: New file.
3299 * extension.c: New file.
3301 * python/python-internal.h: #include "extension.h".
3302 (gdbpy_auto_load_enabled): Declare.
3303 (gdbpy_apply_val_pretty_printer): Declare.
3304 (gdbpy_apply_frame_filter): Declare.
3305 (gdbpy_preserve_values): Declare.
3306 (gdbpy_breakpoint_cond_says_stop): Declare.
3307 (gdbpy_breakpoint_has_cond): Declare.
3308 (void source_python_script_for_objfile): Delete.
3309 * python/python.c: #include "extension-priv.h".
3310 Delete inclusion of "observer.h".
3311 (extension_language_python): Moved here and renamed from
3312 script_language_python in py-auto-load.c.
3313 Redefined to be of type extension_language_defn.
3314 (python_extension_script_ops): New global.
3315 (python_extension_ops): New global.
3316 (struct python_env): New member previous_active.
3317 (restore_python_env): Call restore_active_ext_lang.
3318 (ensure_python_env): Call set_active_ext_lang.
3319 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
3321 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
3323 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
3325 (gdbpy_eval_from_control_command): Renamed from
3326 eval_python_from_control_command, made static. New arg extlang.
3327 (gdbpy_source_script) Renamed from source_python_script, made static.
3329 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
3330 result to int. New arg extlang.
3331 (gdbpy_source_objfile_script): Renamed from
3332 source_python_script_for_objfile, made static. New arg extlang.
3333 (gdbpy_start_type_printers): Renamed from start_type_printers, made
3334 static. New args extlang, extlang_printers. Change result type to
3336 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
3337 static. New arg extlang. Rename arg printers to extlang_printers
3338 and change type to ext_lang_type_printers *.
3339 (gdbpy_free_type_printers): Renamed from free_type_printers, made
3340 static. Replace argument arg with extlang, extlang_printers.
3341 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
3342 (!HAVE_PYTHON, source_python_script): Delete.
3343 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
3344 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
3345 (!HAVE_PYTHON, start_type_printers): Delete.
3346 (!HAVE_PYTHON, apply_type_printers): Delete.
3347 (!HAVE_PYTHON, free_type_printers): Delete.
3348 (_initialize_python): Delete call to observer_attach_before_prompt.
3349 (finalize_python): Set/restore active extension language.
3350 (gdbpy_finish_initialization) Renamed from
3351 finish_python_initialization, made static. New arg extlang.
3352 (gdbpy_initialized): New function.
3353 * python/python.h: #include "extension.h". Delete #include
3354 "value.h", "mi/mi-cmds.h".
3355 (extension_language_python): Declare.
3356 (GDBPY_AUTO_FILE_NAME): Delete.
3357 (enum py_bt_status): Moved to extension.h and renamed to
3359 (enum frame_filter_flags): Moved to extension.h.
3360 (enum py_frame_args): Moved to extension.h and renamed to
3361 ext_lang_frame_args.
3362 (finish_python_initialization): Delete.
3363 (eval_python_from_control_command): Delete.
3364 (source_python_script): Delete.
3365 (apply_val_pretty_printer): Delete.
3366 (apply_frame_filter): Delete.
3367 (preserve_python_values): Delete.
3368 (gdbpy_script_language_defn): Delete.
3369 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
3370 (start_type_printers, apply_type_printers, free_type_printers): Delete.
3372 * auto-load.c: #include "extension.h".
3373 (GDB_AUTO_FILE_NAME): Delete.
3374 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
3375 (script_language_gdb): Delete, moved to extension.c and renamed to
3376 extension_language_gdb.
3377 (source_gdb_script_for_objfile): Delete.
3378 (auto_load_pspace_info): New member unsupported_script_warning_printed.
3379 (loaded_script): Change type of language member to
3380 struct extension_language_defn *.
3381 (init_loaded_scripts_info): Initialize
3382 unsupported_script_warning_printed.
3383 (maybe_add_script): Make static. Change type of language arg to
3384 struct extension_language_defn *.
3385 (clear_section_scripts): Reset unsupported_script_warning_printed.
3386 (auto_load_objfile_script_1): Rewrite to use extension language API.
3387 (auto_load_objfile_script): Make public. Remove support-compiled-in
3388 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
3389 (source_section_scripts): Rewrite to use extension language API.
3390 (load_auto_scripts_for_objfile): Rewrite to use
3391 auto_load_scripts_for_objfile.
3392 (collect_matching_scripts_data): Change type of language member to
3393 struct extension_language_defn *.
3394 (auto_load_info_scripts): Change type of language arg to
3395 struct extension_language_defn *.
3396 (unsupported_script_warning_print): New function.
3397 (script_not_found_warning_print): Make static.
3398 (_initialize_auto_load): Rewrite construction of scripts-directory
3400 * auto-load.h (struct objfile): Add forward decl.
3401 (struct script_language): Delete.
3402 (struct auto_load_pspace_info): Add forward decl.
3403 (struct extension_language_defn): Add forward decl.
3404 (maybe_add_script): Delete.
3405 (auto_load_objfile_script): Declare.
3406 (script_not_found_warning_print): Delete.
3407 (auto_load_info_scripts): Update prototype.
3408 (auto_load_gdb_scripts_enabled): Declare.
3409 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
3410 auto_load_python_scripts_enabled and made public.
3411 (script_language_python): Delete, moved to python.c.
3412 (gdbpy_script_language_defn): Delete.
3413 (info_auto_load_python_scripts): Update to use
3414 extension_language_python.
3416 * breakpoint.c (condition_command): Replace call to
3417 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
3418 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
3419 with call to breakpoint_ext_lang_cond_says_stop.
3420 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
3421 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
3422 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
3423 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
3425 (local_setattro): Print name of extension language with existing
3428 * valprint.c (val_print, value_print): Update to call
3429 apply_ext_lang_val_pretty_printer.
3430 * cp-valprint.c (cp_print_value): Update call to
3431 apply_ext_lang_val_pretty_printer.
3432 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
3433 (gdbpy_apply_val_pretty_printer): Renamed from
3434 apply_val_pretty_printer. New arg extlang.
3435 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
3437 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
3438 extension language API.
3439 * cli/cli-script.c (execute_control_command): Update to call
3440 eval_ext_lang_from_control_command.
3442 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
3443 enum ext_lang_bt_status values. Update call to
3444 apply_ext_lang_frame_filter.
3445 (mi_cmd_stack_list_locals): Ditto.
3446 (mi_cmd_stack_list_args): Ditto.
3447 (mi_cmd_stack_list_variables): Ditto.
3448 * mi/mi-main.c: Delete #include "python/python-internal.h".
3449 Add #include "extension.h".
3450 (mi_cmd_list_features): Replace reference to python internal variable
3451 gdb_python_initialized with call to ext_lang_initialized_p.
3453 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
3454 Update to use enum ext_lang_frame_args. Update to call
3455 apply_ext_lang_frame_filter.
3456 * python/py-framefilter.c (extract_sym): Update to use enum
3458 (extract_value, py_print_type, py_print_value): Ditto.
3459 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
3460 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
3461 (py_print_frame): Ditto.
3462 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
3463 New arg extlang. Update to use enum ext_lang_bt_status.
3465 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
3466 finish_python_initialization. Replace with call to
3467 finish_ext_lang_initialization.
3469 * typeprint.c (do_free_global_table): Update to call
3470 free_ext_lang_type_printers.
3471 (create_global_typedef_table): Update to call
3472 start_ext_lang_type_printers.
3473 (find_global_typedef): Update to call apply_ext_lang_type_printers.
3474 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
3475 (type_print_options): Change type of global_printers from "void *"
3476 to "struct ext_lang_type_printers *".
3478 * value.c (preserve_values): Update to call preserve_ext_lang_values.
3479 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
3480 (gdbpy_preserve_values): Renamed from preserve_python_values.
3482 (!HAVE_PYTHON, preserve_python_values): Delete.
3484 * utils.c (quit_flag): Delete, moved to extension.c.
3485 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
3488 * eval.c: Delete #include "python/python.h".
3489 * main.c: Delete #include "python/python.h".
3491 * defs.h: Update comment.
3493 2014-02-06 Joel Brobecker <brobecker@adacore.com>
3497 2014-02-05 Mark Kettenis <kettenis@gnu.org>
3499 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
3502 2014-02-05 Yao Qi <yao@codesourcery.com>
3504 * remote.c (remote_pass_signals): Remove local 'buf' and use
3506 (remote_program_signals): Likewise.
3508 2014-02-05 Yao Qi <yao@codesourcery.com>
3510 * ctf.c: Include "inferior.h" and "gdbthread.h".
3511 (CTF_PID): A new macro.
3512 (ctf_open): Call inferior_appeared and add_thread_silent.
3513 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
3514 (ctf_thread_alive): New function.
3515 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
3517 2014-02-05 Yao Qi <yao@codesourcery.com>
3521 2013-05-24 Yao Qi <yao@codesourcery.com>
3523 * tracepoint.c (TFILE_PID): Remove.
3524 (tfile_open): Don't add thread and inferior.
3525 (tfile_close): Don't set 'inferior_ptid'. Don't call
3526 exit_inferior_silent.
3527 (tfile_thread_alive): Remove.
3528 (init_tfile_ops): Don't set field 'to_thread_alive' of
3531 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
3533 * remote.c (remote_start_remote): Call remote_check_symbols even
3534 if only symbol-file (not file) has been given.
3536 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3538 * gdbarch.sh (skip_entrypoint): New callback.
3539 * gdbarch.c, gdbarch.h: Regenerate.
3540 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
3541 * infrun.c (fill_in_stop_func): Likewise.
3542 * ppc-linux-tdep.c: Include "elf/ppc64.h".
3543 (ppc_elfv2_elf_make_msymbol_special): New function.
3544 (ppc_elfv2_skip_entrypoint): Likewise.
3545 (ppc_linux_init_abi): Install them for ELFv2.
3547 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3549 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
3550 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
3551 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
3552 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
3553 structures returned in GPRs.
3555 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3557 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
3558 offset to the stack parameter list for the ELFv2 ABI.
3560 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3562 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
3563 set_gdbarch_convert_from_func_ptr_addr and
3564 set_gdbarch_elf_make_msymbol_special for ELFv1.
3565 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
3566 function descriptors on ELFv1.
3567 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
3568 set up r12 at function entry.
3570 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3572 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
3573 (struct gdbarch_tdep): New member elf_abi.
3575 * rs6000-tdep.c: Include "elf/ppc64.h".
3576 (rs6000_gdbarch_init): Detect ELF ABI version.
3578 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3580 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
3581 within a register pair holding a DFP 128-bit value on little-endian.
3582 (ppc64_sysv_abi_return_value_base): Likewise.
3583 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
3584 (dfp_pseudo_register_write): Likewise.
3586 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3588 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
3589 offset on little-endian when passing _Decimal32.
3590 (ppc64_sysv_abi_return_value_base): Likewise for return values.
3592 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3594 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
3595 of the overlapped FP register within the VSX register on little-
3597 (efpr_pseudo_register_write): Likewise.
3599 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3601 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
3602 offset on little-endian when passing small structures.
3604 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3606 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
3607 (struct ppc64_sysv_argpos): New data structure.
3608 (ppc64_sysv_abi_push_float): Remove.
3609 (ppc64_sysv_abi_push_val): New function.
3610 (ppc64_sysv_abi_push_integer): Likewise.
3611 (ppc64_sysv_abi_push_freg): Likewise.
3612 (ppc64_sysv_abi_push_vreg): Likewise.
3613 (ppc64_sysv_abi_push_param): Likewise.
3614 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
3615 (ppc64_sysv_abi_return_value_base): New function.
3616 (ppc64_sysv_abi_return_value): Refactor to use it.
3618 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3620 * NEWS: Document new target powerpc64le-*-linux*.
3622 2014-02-04 Mark Kettenis <kettenis@gnu.org>
3624 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
3625 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
3627 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
3628 register set used in ELF core dumps. Add floating-point register set.
3630 2014-02-03 Kevin Buettner <kevinb@redhat.com>
3632 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
3633 dwarf2_to_gdb[] table using symbolic constants. Adjust
3634 penultimate entry from number representing the PC register
3635 to symbolic constant representing the MDR register. Add
3636 constant for the PC register to the end of the table.
3638 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3640 * bsd-kvm.c: Include <sys/param.h>
3642 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3644 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
3646 2014-01-31 Joel Brobecker <brobecker@adacore.com>
3648 * ada-lang.h (clear_ada_sym_cache): Delete.
3650 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
3652 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
3654 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3656 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
3657 the sigreturn register save area only if the syscall is
3660 2014-01-29 Joel Brobecker <brobecker@adacore.com>
3662 * valops.c (value_slice): Minor reformatting.
3664 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
3666 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
3668 2014-01-28 Joel Brobecker <brobecker@adacore.com>
3670 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
3672 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
3673 (ada_ignore_descriptive_types_p): New static global.
3674 (find_parallel_type_by_descriptive_type): Return immediately
3675 if ada_ignore_descriptive_types_p is set.
3676 (_initialize_ada_language): Register new commands "maintenance
3677 set ada", "maintenance show ada", "maintenance set ada
3678 ignore-descriptive-types" and "maintenance show ada
3679 ignore-descriptive-types".
3680 * NEWS: Add entry for new "maint ada set/show
3681 ignore-descriptive-types" commands.
3683 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
3685 * record-btrace.c (record_btrace_close): Call btrace_teardown
3688 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3690 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
3693 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3695 * ada-typeprint (type_is_full_subrange_of_target_type):
3697 (print_range): Add parameter bounds_prefered_p. If not set,
3698 try printing range types using the name of their base type.
3699 (print_range_type): Add parameter bounds_prefered_p.
3700 Use it in call to print_range.
3701 (print_array_type, ada_print_type): Update calls to print_range
3702 and print_range_type.
3704 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3706 * ada-typeprint.c (print_array_type, print_choices, print_range)
3707 (print_range_bound, print_dynamic_range_bound, print_range_type):
3710 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3712 * ada-typeprint.c (print_range): Add missing empty line
3713 after local declaration.
3715 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3717 * ada-valprint.c (print_optional_low_bound): Get index_type's
3718 target type for as long as it is a TYPE_CODE_RANGE.
3720 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3722 * procfs.c (procfs_make_note_section): Remove assertion and
3725 2014-01-24 Yao Qi <yao@codesourcery.com>
3727 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
3728 * corelow.c (get_core_siginfo): Likewise.
3730 2014-01-24 Yao Qi <yao@codesourcery.com>
3732 * remote.c (remote_write_bytes_aux): Change type of 'len' to
3733 ULONGEST. Don't check 'len' is negative.
3734 (remote_write_bytes): Change type of 'len' to ULONGEST.
3736 2014-01-23 Tom Tromey <tromey@redhat.com>
3739 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
3740 Handle exception from frame.block.
3741 (FrameVars.fetch_frame_locals): Likewise.
3743 2014-01-23 Tom Tromey <tromey@redhat.com>
3746 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
3747 on a NULL pointer. Move "goto error" to correct place.
3749 2014-01-23 Tom Tromey <tromey@redhat.com>
3752 * python/py-framefilter.c (apply_frame_filter): Call
3753 ensure_python_env after computing gdbarch.
3755 2014-01-23 Yao Qi <yao@codesourcery.com>
3757 * target.c (raw_memory_xfer_partial): Change argument type
3758 from void * to gdb_byte *.
3759 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
3761 2014-01-22 Doug Evans <dje@google.com>
3763 New gdbserver option --debug-format=timestamp.
3766 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3768 * syscalls/s390x-linux.xml: New file.
3769 * syscalls/s390-linux.xml: New file.
3770 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
3771 (XML_SYSCALL_FILENAME_S390X): Likewise.
3772 (op_svc): New enum value for SVC opcode.
3773 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
3774 (s390_linux_get_syscall_number): New function.
3775 (s390_gdbarch_init): Register '*get_syscall_number' and the
3776 syscall xml file name.
3777 * data-directory/Makefile.in (SYSCALLS_FILES): Add
3778 "s390-linux.xml" and "s390x-linux.xml".
3779 * NEWS: Announce new feature.
3781 2014-01-22 Baruch Siach <baruch@tkos.co.il>
3783 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
3785 2014-01-22 Pedro Alves <palves@redhat.com>
3787 * xtensa-config.c: Include defs.h.
3789 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3791 * common/common-utils.h: Add "ARI:" comment beside __func__
3794 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3796 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
3797 documentation a bit.
3799 2014-01-21 Roland McGrath <mcgrathr@google.com>
3801 * configure.ac: Call AM_PROG_INSTALL_STRIP.
3802 * configure: Regenerate.
3803 * aclocal.m4: Regenerate.
3804 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
3805 New substituted variables.
3806 (install-strip): New target.
3807 (INSTALL_SCRIPT): New substituted variable.
3808 (FLAGS_TO_PASS): Add it.
3809 (install-only): Use $(INSTALL_SCRIPT) rather than
3810 $(INSTALL_PROGRAM) for gcore.
3812 2014-01-20 Tom Tromey <tromey@redhat.com>
3814 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
3817 2014-01-20 Tom Tromey <tromey@redhat.com>
3819 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
3820 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
3821 (deprecated_cmd_warning, complete_on_cmdlist): Update.
3822 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
3823 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3824 (struct cmd_list_element) <flags>: Remove.
3825 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3826 doc_allocated>: New fields.
3827 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3829 * maint.c (maintenance_do_deprecate): Update.
3830 * top.c (execute_command): Update.
3832 2014-01-20 Baruch Siach <baruch@tkos.co.il>
3834 * xtensa-linux-nat.c: Include asm/ptrace.h.
3836 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3838 * Makefile.in (SFILES): Add d-support.c.
3839 (COMMON_OBS): Add d-support.o.
3840 * d-lang.h (d_parse_symbol): Add comment, now defined in
3842 * d-lang.c (parse_call_convention)
3843 (parse_attributes, parse_function_types)
3844 (parse_function_args, parse_type, parse_identifier)
3845 (call_convention_p, d_parse_symbol): Move functions to ...
3846 * d-support.c: ... New file.
3848 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3850 * d-lang.h (d_parse_symbol): Add declaration.
3851 * d-lang.c (extract_identifiers)
3852 (extract_type_info): Remove functions.
3853 (parse_call_convention, parse_attributes)
3854 (parse_function_types, parse_function_args)
3855 (parse_type, parse_identifier, call_convention_p)
3856 (d_parse_symbol): New functions.
3857 (d_demangle): Use d_parse_symbol to demangle D symbols.
3859 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3861 * d-lang.h (struct builtin_d_type): New data type.
3862 (builtin_d_type): Add declaration.
3863 * d-lang.c (d_language_arch_info, build_d_types)
3864 (builtin_d_type): New functions.
3865 (enum d_primitive_types): New data type.
3866 (d_language_defn): Change c_language_arch_info to
3867 d_language_arch_info.
3868 (d_type_data): New static variable.
3869 (_initialize_d_language): Initialize d_type_data.
3871 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3873 * d-lang.h (d_main_name): Add declaration.
3874 * d-lang.c (d_main_name): New function.
3875 * symtab.c (find_main_name): Add call to d_main_name.
3877 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3879 * d-lang.c (d_language_defn): Change macro_expansion_c to
3882 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3884 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3886 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3888 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3889 gdb_exception" declaration.
3890 * remote.c (getpkt_or_notif_sane): Likewise.
3892 2014-01-17 Doug Evans <dje@google.com>
3894 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3895 function, contents of dirnames_to_char_ptr_vec_append moved here.
3896 (delim_string_to_char_ptr_vec): New function.
3897 (dirnames_to_char_ptr_vec_append): Rewrite.
3898 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3900 2014-01-17 Doug Evans <dje@google.com>
3902 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3904 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3905 #include "common-utils.h".
3906 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3907 * common/vec.h (VEC_ASSERT_PASS): Update.
3908 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3909 (MACH_CHECK_ERROR): Update.
3911 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3913 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3915 * gdbarch.h: Regenerate.
3917 2014-01-16 Tom Tromey <tromey@redhat.com>
3919 * value.c (struct value) <regnum>: Move earlier.
3921 2014-01-16 Tom Tromey <tromey@redhat.com>
3923 * remote.c (extended_remote_create_inferior): Rename from
3924 extended_remote_create_inferior_1. Add "ops" argument. Remove
3927 2014-01-16 Pedro Alves <palves@redhat.com>
3929 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3930 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3933 2014-01-16 Doug Evans <dje@google.com>
3935 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3937 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3939 * btrace.h (btrace_thread_flag): New.
3940 (struct btrace_thread_info) <flags>: New.
3941 * record-btrace.c (record_btrace_resume_thread)
3942 (record_btrace_find_thread_to_move, btrace_step_no_history)
3943 (btrace_step_stopped, record_btrace_start_replaying)
3944 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3945 (record_btrace_find_resume_thread): New.
3946 (record_btrace_resume, record_btrace_wait): Extend.
3947 (record_btrace_can_execute_reverse): New.
3948 (record_btrace_open): Fail in non-stop mode.
3949 (record_btrace_set_replay): Split into this, ...
3950 (record_btrace_stop_replaying): ... this, ...
3951 (record_btrace_clear_histories): ... and this.
3952 (init_record_btrace_ops): Init to_can_execute_reverse.
3953 * NEWS: Announce it.
3955 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3957 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3958 (forward_target_decr_pc_after_break)
3959 (target_decr_pc_after_break): New.
3960 * target.c (forward_target_decr_pc_after_break)
3961 (target_decr_pc_after_break): New.
3962 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3963 instead of gdbarch_decr_pc_after_break.
3964 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3965 instead of gdbarch_decr_pc_after_break.
3966 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3967 instead of gdbarch_decr_pc_after_break.
3968 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3969 instead of gdbarch_decr_pc_after_break.
3970 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3971 instead of gdbarch_decr_pc_after_break.
3972 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3973 instead of gdbarch_decr_pc_after_break.
3975 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3977 * btrace.c: Include regcache.h.
3978 (btrace_add_pc): New.
3979 (btrace_enable): Call btrace_add_pc.
3980 (btrace_is_empty): New.
3981 * btrace.h (btrace_is_empty): New.
3982 * record-btrace.c (require_btrace, record_btrace_info): Call
3985 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3987 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3988 Support delta reads.
3989 (linux_disable_btrace): Change return type.
3990 * common/linux-btrace.h (linux_read_btrace): Change parameters
3991 and return type to allow error reporting. Update users.
3992 (linux_disable_btrace): Change return type. Update users.
3993 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3995 (btrace_error): New.
3996 (btrace_block) <begin>: Comment on BEGIN == 0.
3997 * btrace.c (btrace_compute_ftrace): Start from the end of
3999 (btrace_stitch_trace, btrace_clear_history): New.
4000 (btrace_fetch): Read delta trace, return if replaying.
4001 (btrace_clear): Move clear history code to btrace_clear_history.
4002 (parse_xml_btrace): Throw an error if parsing failed.
4003 * target.h (struct target_ops) <to_read_btrace>: Change parameters
4004 and return type to allow error reporting.
4005 (target_read_btrace): Change parameters and return type to allow
4007 * target.c (target_read_btrace): Update.
4008 * remote.c (remote_read_btrace): Support delta reads. Pass
4010 * NEWS: Announce it.
4012 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4014 * record.h (record_btrace_frame_unwind)
4015 (record_btrace_tailcall_frame_unwind): New declarations.
4016 * dwarf2-frame: Include record.h
4017 (dwarf2_frame_cfa): Throw an error for btrace frames.
4018 * record-btrace.c: Include hashtab.h.
4019 (btrace_get_bfun_name): New.
4020 (btrace_call_history): Call btrace_get_bfun_name.
4021 (struct btrace_frame_cache): New.
4023 (bfcache_hash, bfcache_eq, bfcache_new): New.
4024 (btrace_get_frame_function): New.
4025 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
4026 (record_btrace_frame_this_id): Compute own id.
4027 (record_btrace_frame_prev_register): Provide PC, throw_error
4028 for all other registers.
4029 (record_btrace_frame_sniffer): Detect btrace frames.
4030 (record_btrace_tailcall_frame_sniffer): New.
4031 (record_btrace_frame_dealloc_cache): New.
4032 (record_btrace_frame_unwind): Add new functions.
4033 (record_btrace_tailcall_frame_unwind): New.
4034 (_initialize_record_btrace): Allocate cache.
4035 * btrace.c (btrace_clear): Call reinit_frame_cache.
4036 * NEWS: Announce it.
4038 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4040 * record-btrace.c (record_btrace_set_replay)
4041 (record_btrace_goto_begin, record_btrace_goto_end)
4042 (record_btrace_goto): New.
4043 (init_record_btrace_ops): Initialize them.
4044 * NEWS: Announce it.
4046 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4048 * record-btrace.c (record_btrace_find_new_threads)
4049 (record_btrace_thread_alive): New.
4050 (init_record_btrace_ops): Initialize to_find_new_threads and
4053 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4055 * record-btrace.c (record_btrace_resume): New.
4056 (record_btrace_wait): New.
4057 (init_record_btrace_ops): Initialize to_wait and to_resume.
4059 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4061 * record-btrace.c (record_btrace_xfer_partial)
4062 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
4063 (record_btrace_allow_memory_access): New.
4064 (init_record_btrace_ops): Initialize new methods.
4065 * target.c (raw_memory_xfer_partial): Bail out if target reports
4066 that this memory is not available.
4068 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4070 * target.h (target_ops) <to_insert_breakpoint>
4071 <to_remove_breakpoint>: Add target_ops parameter.
4072 (forward_target_insert_breakpoint): New.
4073 (forward_target_remove_breakpoint): New.
4074 (memory_remove_breakpoint, memory_insert_breakpoint):
4075 Add target_ops parameter.
4076 * target.c (target_insert_breakpoint): Split into this and ...
4077 (forward_target_insert_breakpoint): ... this.
4078 (target_remove_breakpoint): Split into this and ...
4079 (forward_target_remove_breakpoint): ... this.
4080 (debug_to_insert_breakpoint): Add target_ops parameter.
4081 Call forward_target_insert_breakpoint.
4082 (debug_to_remove_breakpoint): Add target_ops parameter.
4083 Call forward_target_remove_breakpoint.
4084 (update_current_target): Do not inherit or default to_insert_breakpoint
4085 and to_remove_breakpoint.
4086 * corelow.c (ignore): Add target_ops parameter.
4087 * exec.c (ignore): Add target_ops parameter.
4088 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
4089 Add target_ops parameter.
4090 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
4091 Add target_ops parameter.
4092 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
4093 Add target_ops parameter.
4094 * record-full.c (record_full_beneath_to_insert_breakpoint)
4095 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
4096 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
4097 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
4098 (record_full_core_remove_breakpoint): Add target_ops parameter.
4100 (record_full_beneath_to_insert_breakpoint_ops)
4101 (record_full_beneath_to_remove_breakpoint_ops)
4102 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
4103 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
4104 tmp_to_remove_breakpoint_ops,
4105 record_full_beneath_to_insert_breakpoint_ops, and
4106 record_full_beneath_to_remove_breakpoint_ops.
4107 * remote-m32r-sdi.c (m32r_insert_breakpoint)
4108 (m32r_remove_breakpoint): Add target_ops parameter.
4109 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
4110 Add target_ops parameter.
4111 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
4112 Add target_ops parameter.
4114 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4115 Markus Metzger <markus.t.metzger@intel.com>
4117 * record-btrace.c: Include frame-unwind.h.
4118 (record_btrace_frame_unwind_stop_reason)
4119 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
4120 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
4122 (init_record_btrace_ops): Install it.
4124 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4126 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
4129 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4131 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
4134 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4136 * frame-unwind.c: Include target.h.
4137 (frame_unwind_try_unwinder): New function with code from ...
4138 (frame_unwind_find_by_frame): ... here. New variable
4139 unwinder_from_target, call also target_get_unwinder)
4140 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
4141 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
4142 * target.h (struct target_ops): New fields to_get_unwinder and
4143 to_get_tailcall_unwinder.
4144 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
4146 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4148 * record-btrace.c (record_btrace_fetch_registers)
4149 (record_btrace_store_registers)
4150 (record_btrace_to_prepare_to_store): New.
4151 (init_record_btrace_ops): Add the above.
4153 2014-01-16 Tom Tromey <tromey@redhat.com>
4155 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
4156 * target.h (struct target_ops) <to_prepare_to_store>: Add
4158 (target_prepare_to_store): Add argument.
4159 * target.c (debug_to_prepare_to_store): Add argument.
4160 (update_current_target): Update.
4161 * remote.c (remote_prepare_to_store): Add 'self' argument.
4162 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
4163 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
4164 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
4165 * record-full.c (record_full_core_prepare_to_store): Add 'self'
4167 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
4168 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
4169 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
4170 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
4171 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
4173 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4175 * btrace.h (replay) <replay>: New.
4176 (btrace_is_replaying): New.
4177 * btrace.c (btrace_clear): Free replay iterator.
4178 (btrace_is_replaying): New.
4179 * record-btrace.c (record_btrace_is_replaying): New.
4180 (record_btrace_info): Print insn number if replaying.
4181 (record_btrace_insn_history): Start at replay position.
4182 (record_btrace_call_history): Start at replay position.
4183 (init_record_btrace_ops): Init to_record_is_replaying.
4185 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4187 * record-btrace.c (record_btrace_insn_history_range): Include
4189 (record_btrace_insn_history_from): Adjust range.
4190 (record_btrace_call_history_range): Include
4192 (record_btrace_call_history_from): Adjust range.
4193 * NEWS: Announce changes.
4195 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4197 * record.h (enum record_print_flag)
4198 <record_print_indent_calls>: New.
4199 * record.c (get_call_history_modifiers): Recognize /c modifier.
4200 (_initialize_record): Document /c modifier.
4201 * record-btrace.c (btrace_call_history): Add btinfo parameter.
4202 Reorder fields. Optionally indent the function name. Update
4204 * NEWS: Announce changes.
4206 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4208 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
4210 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4212 * btrace.c (ftrace_new_function): Start counting at one.
4213 * record-btrace.c (record_btrace_info): Adjust number of calls
4215 * NEWS: Announce it.
4217 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4219 * record-btrace.c (btrace_call_history_insn_range): Print
4220 insn range as [begin, end].
4222 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4224 * btrace.h (struct btrace_func_link): New.
4225 (enum btrace_function_flag): New.
4226 (struct btrace_inst): Rename to ...
4227 (struct btrace_insn): ...this. Update all users.
4228 (struct btrace_func) <ibegin, iend>: Remove.
4229 (struct btrace_func_link): New.
4230 (struct btrace_func): Rename to ...
4231 (struct btrace_function): ...this. Update all users.
4232 (struct btrace_function) <segment, flow, up, insn, insn_offset)
4233 (number, level, flags>: New.
4234 (struct btrace_insn_iterator): Rename to ...
4235 (struct btrace_insn_history): ...this.
4237 (struct btrace_insn_iterator, btrace_call_iterator): New.
4238 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
4239 (struct btrace_target_info) <begin, end, level>
4240 <insn_history, call_history>: New.
4241 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4242 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4243 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4244 (btrace_call_number, btrace_call_begin, btrace_call_end)
4245 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4246 (btrace_find_function_by_number, btrace_set_insn_history)
4247 (btrace_set_call_history): New.
4248 * btrace.c (btrace_init_insn_iterator)
4249 (btrace_init_func_iterator, compute_itrace): Remove.
4250 (ftrace_print_function_name, ftrace_print_filename)
4251 (ftrace_skip_file): Change
4253 (ftrace_init_func): Remove.
4254 (ftrace_debug): Use new btrace_function fields.
4255 (ftrace_function_switched): Also consider gaining and
4256 losing symbol information).
4257 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
4258 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
4259 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
4261 (ftrace_new_function): Move. Remove debug print.
4262 (ftrace_update_lines, ftrace_update_insns): New.
4263 (ftrace_update_function): Check for call, ret, and jump.
4264 (compute_ftrace): Renamed to ...
4265 (btrace_compute_ftrace): ...this. Rewritten to compute call
4267 (btrace_fetch, btrace_clear): Updated.
4268 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4269 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4270 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4271 (btrace_call_number, btrace_call_begin, btrace_call_end)
4272 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4273 (btrace_find_function_by_number, btrace_set_insn_history)
4274 (btrace_set_call_history): New.
4275 * record-btrace.c (require_btrace): Use new btrace thread
4277 (record_btrace_info, btrace_insn_history)
4278 (record_btrace_insn_history, record_btrace_insn_history_range):
4279 Use new btrace thread info fields and new iterator.
4280 (btrace_func_history_src_line): Rename to ...
4281 (btrace_call_history_src_line): ...this. Use new btrace
4283 (btrace_func_history): Rename to ...
4284 (btrace_call_history): ...this. Use new btrace thread info
4285 fields and new iterator.
4286 (record_btrace_call_history, record_btrace_call_history_range):
4287 Use new btrace thread info fields and new iterator.
4289 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4291 * frame.h (frame_id_build_unavailable_stack_special): New.
4292 * frame.c (frame_id_build_unavailable_stack_special): New.
4294 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4296 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
4297 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
4298 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
4300 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
4301 (i386_insn_is_jump, i386_jmp_p): New.
4302 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
4303 insn_is_jump to gdbarch.
4304 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
4305 * gdbarch.h: Regenerated.
4306 * gdbarch.c: Regenerated.
4307 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
4308 (default_insn_is_jump): New.
4309 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
4310 (default_insn_is_jump): New.
4312 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4314 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
4316 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
4317 (btrace_read_type) <btrace_read_new>: Change to ...
4318 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
4320 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4322 * common/linux-btrace.c (linux_read_btrace): Free trace from
4325 2014-01-15 Doug Evans <dje@google.com>
4327 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
4330 2014-01-15 Tom Tromey <tromey@redhat.com>
4332 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
4333 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
4334 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
4335 (set_objfile_main_name): New function.
4336 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
4337 language_of_main>: New fields.
4338 (set_objfile_main_name): Declare.
4339 * symtab.c (find_main_name): Loop over objfiles to find the main
4341 (set_main_name): Now static.
4342 (get_main_info): Add comment.
4343 * symtab.h (set_main_name): Don't declare.
4345 2014-01-15 Tom Tromey <tromey@redhat.com>
4347 * symtab.c (main_progspace_key): New global.
4348 (struct main_info): New.
4349 (name_of_main, language_of_main): Remove.
4350 (get_main_info, main_info_cleanup): New function.
4351 (set_main_name, main_name, main_language): Use get_main_info.
4352 (_initialize_symtab): Initialize main_progspace_key.
4354 2014-01-15 Tom Tromey <tromey@redhat.com>
4356 * dbxread.c (process_one_symbol): Update.
4357 * dwarf2read.c (read_partial_die): Update.
4358 * symfile.c (set_initial_language): Call main_language.
4359 * symtab.c (language_of_main): Now static.
4360 (set_main_name): Add 'lang' parameter.
4361 (find_main_name): Update.
4362 (main_language): New function.
4363 (symtab_observer_executable_changed): Update.
4364 * symtab.h (set_main_name): Update.
4365 (language_of_main): Remove.
4366 (main_language): Declare.
4368 2014-01-15 Tom Tromey <tromey@redhat.com>
4370 * symfile.c (init_entry_point_info): Use new "initialized" field.
4372 * objfiles.h (struct entry_point) <initialized>: New field.
4373 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
4374 (struct objfile) <ei>: ...here. Remove.
4375 * objfiles.c (entry_point_address_query): Update.
4377 2014-01-15 Tom Tromey <tromey@redhat.com>
4379 * objfiles.c (entry_point_address_query): Relocate entry point
4381 (objfile_relocate1): Do not relocate entry point address.
4382 * objfiles.h (struct entry_info) <entry_point>: Update comment.
4383 <the_bfd_section_index>: New field.
4384 * symfile.c (init_entry_point_info): Find the entry point's
4387 2014-01-15 Tom Tromey <tromey@redhat.com>
4389 * solib-frv.c (enable_break): Use entry_point_address_query.
4391 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4393 * NEWS: Add note on improved process record-replay on
4394 arm*-linux* targets.
4396 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4398 * arm-tdep.c (enum arm_record_result): New enum.
4399 (arm_record_unsupported_insn): New function.
4400 (arm_record_coproc_data_proc): Removed.
4401 (thumb2_record_ld_st_multiple): New function.
4402 (thumb2_record_ld_st_dual_ex_tbb): New function.
4403 (thumb2_record_data_proc_sreg_mimm): New function.
4404 (thumb2_record_ps_dest_generic): New function.
4405 (thumb2_record_branch_misc_cntrl): New function.
4406 (thumb2_record_str_single_data): New function.
4407 (thumb2_record_ld_mem_hints): New function.
4408 (thumb2_record_ld_word): New function.
4409 (thumb2_record_lmul_lmla_div): New function.
4410 (thumb2_record_decode_insn_handler): New function.
4411 (decode_insn): Add thumb32 instruction handlers.
4413 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4415 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
4416 (struct arm_linux_record_tdep): Declare.
4417 (arm_canonicalize_syscall): New function.
4418 (arm_all_but_pc_registers_record): New function.
4419 (arm_linux_syscall_record): New function.
4420 (arm_linux_init_abi): Add syscall recording constructs.
4421 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
4422 decoding. (arm_record_coproc_data_proc): Update arm syscall
4424 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
4425 <arm_syscall_record>: New field.
4426 * configure.tgt (arm*-*-linux*): Add linux-record.o to
4429 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4431 * arm-tdep.c (thumb_record_misc): Update to use sp as base
4432 register for push instruction recording.
4434 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4436 * arm-tdep.c (thumb_record_misc): Update to correct logical
4437 error while recording ldm, ldmia and pop instructions.
4439 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4441 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
4443 2014-01-15 Pedro Alves <palves@redhat.com>
4445 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
4446 (go32_resume, go32_fetch_registers, store_register)
4447 (go32_store_registers, go32_prepare_to_store)
4448 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
4449 (go32_create_inferior, go32_can_run, go32_terminal_init)
4450 (go32_terminal_inferior, go32_terminal_ours): Delete forward
4453 2014-01-15 Tom Tromey <tromey@redhat.com>
4455 * target.h (async_callback_ftype): New typedef.
4456 (struct target_ops) <to_async>: Use it.
4458 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4460 * python/py-value.c (get_field_type): Remove unnecessary curly
4461 braces for single-statement if block.
4463 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4465 * python/py-type.c (convert_field): Add missing empty line
4468 2014-01-14 Doug Evans <dje@google.com>
4470 * symfile.h (expand_symtabs_matching): Renamed from
4471 expand_partial_symbol_names. Update prototype.
4472 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4473 * symfile.c (expand_symtabs_matching): Renamed from
4474 expand_partial_symbol_names. New args file_matcher, kind.
4475 Rename arg fun to symbol_matcher.
4476 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4477 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
4478 ada_expand_partial_symbol_name.
4479 (ada_make_symbol_completion_list): Update to call
4480 expand_symtabs_matching.
4481 (ada_add_global_exceptions): Call expand_symtabs_matching.
4482 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
4483 call map_symbol_filenames.
4484 * symtab.c (sources_info): Update to call map_symbol_filenames.
4485 (search_symbols): Call expand_symtabs_matching.
4486 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
4487 (default_make_symbol_completion_list_break_on): Update to call
4488 expand_symtabs_matching.
4489 (make_source_files_completion_list): Update to call
4490 map_symbol_filenames.
4492 2014-01-14 Doug Evans <dje@google.com>
4494 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
4495 (expand_symtabs_symbol_matcher_ftype): New typedef.
4496 (quick_symbol_functions.expand_symtabs_matching): Update to use.
4497 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4498 * symfile.c (expand_partial_symbol_names): Update to use
4499 expand_symtabs_symbol_matcher_ftype.
4500 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
4501 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4502 Arg name_matcher renamed to symbol_matcher.
4503 * psymtab.c (recursively_search_psymtabs): Update to use
4504 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
4506 (expand_symtabs_matching_via_partial): Update to use
4507 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4508 Arg name_matcher renamed to symbol_matcher.
4510 2014-01-14 Doug Evans <dje@google.com>
4512 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
4513 (map_partial_symbol_filenames): Ditto.
4514 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
4515 (map_partial_symbol_filenames): Ditto.
4516 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
4517 (map_partial_symbol_filenames): Ditto.
4518 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
4519 (map_partial_symbol_filenames): Ditto.
4520 * symtab.c: Delete #include "psymtab.h".
4522 2014-01-14 Pedro Alves <palves@redhat.com>
4523 Tom Tromey <tromey@redhat.com>
4525 * infrun.c (use_displaced_stepping): Use find_record_target
4526 instead of RECORD_IS_USED.
4527 (adjust_pc_after_break): Use record_full_is_used instead of
4529 * record-btrace.c (record_btrace_open): Call record_preopen
4530 instead of checking RECORD_IS_USED.
4531 * record-full.c (record_full_shortname)
4532 (record_full_core_shortname): New globals.
4533 (record_full_is_used): New function.
4534 (find_full_open): Call record_preopen instead of checking
4536 (init_record_full_ops): Set the target's shortname to
4537 record_full_shortname.
4538 (init_record_full_core_ops): Set the target's shortname to
4539 record_full_core_shortname.
4540 * record-full.h (record_full_is_used): Declare.
4541 * record.c (find_record_target): Make extern.
4542 (record_preopen): New function.
4543 * record.h (RECORD_IS_USED): Delete macro.
4544 (find_record_target, record_preopen): Declare functions.
4546 2014-01-14 Yao Qi <yao@codesourcery.com>
4548 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
4549 'len''s type to ULONGEST.
4550 (core_xfer_shared_libraries_aix): Likewise.
4551 * gdbarch.c, gdbarch.h: Regenerated.
4552 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
4553 Change type of 'len' to ULONGEST.
4554 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4555 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
4557 2014-01-14 Yao Qi <yao@codesourcery.com>
4559 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
4560 type of 'len' to ULONGEST.
4561 (linux_xfer_osdata_processgroups): Likewise.
4562 (linux_xfer_osdata_threads): Likewise.
4563 (linux_xfer_osdata_fds): Likewise.
4564 (linux_xfer_osdata_isockets): Likewise.
4565 (linux_xfer_osdata_shm): Likewise.
4566 (linux_xfer_osdata_sem): Likewise.
4567 (linux_xfer_osdata_msg): Likewise.
4568 (linux_common_xfer_osdata): Likewise.
4569 (struct osdata_type) <getter>: Likewise.
4570 * common/linux-osdata.h (linux_common_xfer_osdata): Update
4573 2014-01-14 Yao Qi <yao@codesourcery.com>
4575 * target.h (target_xfer_partial_ftype): Update.
4576 (struct target_ops) <to_xfer_partial>: Change 'len' type to
4578 * aix-thread.c (aix_thread_xfer_partial): Change type of
4579 argument 'len' to ULONGEST.
4580 * auxv.c (procfs_xfer_auxv): Likewise.
4581 (ld_so_xfer_auxv): Likewise.
4582 (memory_xfer_auxv): Likewise.
4583 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4584 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4585 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4586 * corelow.c (core_xfer_partial): Likewise.
4587 * ctf.c (ctf_xfer_partial): Likewise.
4588 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
4590 (darwin_read_dyld_info): Likewise.
4591 (darwin_xfer_partial): Likewise.
4592 * exec.c (section_table_xfer_memory_partial): Likewise.
4593 (exec_xfer_partial): Likewise.
4594 * exec.h (section_table_xfer_memory_partial): Update
4596 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
4597 instead of plongest.
4598 (gnu_xfer_partial): Likewise.
4599 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
4600 (ia64_hpux_xfer_solib_got): Likewise.
4601 (ia64_hpux_xfer_partial): Likewise.
4602 * ia64-linux-nat.c (ia64_linux_xfer_partial):
4603 * inf-ptrace.c (inf_ptrace_xfer_partial):
4604 * inf-ttrace.c (inf_ttrace_xfer_partial):
4605 * linux-nat.c (linux_xfer_siginfo): Likewise.
4606 (linux_nat_xfer_partial): Likewise.
4607 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
4608 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
4609 * monitor.c (monitor_xfer_memory): Likewise.
4610 (monitor_xfer_partial): Likewise.
4611 * procfs.c (procfs_xfer_partial): Likewise.
4612 * record-full.c (record_full_xfer_partial): Likewise.
4613 (record_full_core_xfer_partial): Likewise.
4614 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
4615 instead of plongest.
4616 (gdbsim_xfer_partial): Likewise.
4617 * remote.c (remote_xfer_partial): Likewise.
4618 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4619 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4621 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4622 (rs6000_xfer_shared_libraries): Likewise.
4623 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4624 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4625 (sparc_xfer_partial): Likewise.
4626 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4627 (spu_xfer_partial): Likewise.
4628 * spu-multiarch.c (spu_xfer_partial): Likewise.
4629 * target.c (target_read_live_memory): Likewise.
4630 (memory_xfer_live_readonly_partial): Likewise.
4631 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
4632 (target_xfer_partial, default_xfer_partial): Likewise.
4633 (current_xfer_partial): Likewise.
4634 * tracepoint.c (tfile_xfer_partial): Likewise.
4635 * windows-nat.c (windows_xfer_memory): Likewise. Call
4636 pulongest instead of plongest.
4637 (windows_xfer_partial): Likewise.
4638 (windows_xfer_shared_libraries): Likewise.
4640 2014-01-14 Yao Qi <yao@codesourcery.com>
4642 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
4643 target_xfer_partial_ftype.
4645 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4649 * valops.c (value_struct_elt_bitpos): New function
4650 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
4651 object to 'None' if the field name is an empty string ("").
4652 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
4653 attribute to look for a field when 'name' is 'None'.
4654 (get_field_type): New function
4656 2014-01-13 Doug Evans <dje@google.com>
4659 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
4660 (try_open_dwop_file): Ditto.
4661 * gdb_bfd.c: #include "vec.h".
4662 (bfdp): New typedef.
4663 (struct gdb_bfd_data): New member included_bfds.
4664 (gdb_bfd_unref): Unref all included bfds.
4665 (gdb_bfd_record_inclusion): New function.
4666 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
4668 2014-01-13 Tom Tromey <tromey@redhat.com>
4670 * gdbcore.h (deprecated_core_resize_section_table): Remove.
4672 2014-01-13 Tom Tromey <tromey@redhat.com>
4674 * defs.h (use_windows): Remove.
4675 * gdb.c (main): Update.
4676 * main.c (captured_main, gdb_main): Update.
4677 * main.h (struct captured_main_args) <use_windows>: Remove.
4678 * top.c (use_windows): Remove.
4680 2014-01-13 Tom Tromey <tromey@redhat.com>
4682 * defs.h (deprecated_flush_hook): Remove.
4684 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4687 * linux-thread-db.c (try_thread_db_load): Add parameter
4688 check_auto_load_safe. Move here the file_is_auto_load_safe call.
4689 (try_thread_db_load_from_pdir_1): Move it there from here.
4690 (try_thread_db_load_from_sdir): Update caller.
4691 (try_thread_db_load_from_dir): Move it there from here.
4693 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
4695 * regformats/regdat.sh: Always rewrite the register file.
4697 2014-01-13 Pedro Alves <palves@redhat.com>
4699 * Makefile.in (CHECK_HEADERS): New variable.
4700 (check-headers:): New rule.
4702 2014-01-13 Tom Tromey <tromey@redhat.com>
4704 * cli/cli-setshow.c (do_set_command): Update.
4705 * defs.h (deprecated_set_hook): Remove.
4706 * top.c (deprecated_set_hook): Remove.
4708 2014-01-13 Pedro Alves <palves@redhat.com>
4710 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
4711 the tracepoint if the PC is a pseudo-register.
4713 2014-01-13 Tom Tromey <tromey@redhat.com>
4715 * defs.h (XCALLOC): Remove.
4716 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
4717 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
4718 * dwarf2loc.c (allocate_piece_closure): Likewise.
4719 * elfread.c (elf_symfile_segments): Likewise.
4720 (elf_symfile_segments): Likewise.
4721 * gdbtypes.c (copy_type_recursive): Likewise.
4722 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
4723 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
4724 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
4726 * mt-tdep.c (mt_gdbarch_init): Likewise.
4727 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
4729 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
4730 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
4731 * registry.c (registry_alloc_data): Likewise.
4732 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
4733 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
4734 * serial.c (serial_fdopen_ops): Likewise.
4735 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
4737 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
4738 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
4741 2014-01-13 Tom Tromey <tromey@redhat.com>
4743 * defs.h (XMALLOC): Remove.
4744 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
4745 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
4746 * cli-out.c (struct ui_out *): Likewise.
4747 * cli/cli-dump.c (add_dump_command): Likewise.
4748 (add_dump_command): Likewise.
4749 * complaints.c (get_complaints): Likewise.
4750 (find_complaint): Likewise.
4751 * dwarf2-frame.c (execute_cfa_program): Likewise.
4752 * dwarf2read.c (abbrev_table_read_table): Likewise.
4753 * gdbarch.sh: Likewise.
4754 * gdbarch.c: Rebuild.
4755 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
4756 * interps.c (interp_new): Likewise.
4757 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
4758 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
4759 * mi/mi-console.c (mi_console_file_new): Likewise.
4760 * mi/mi-interp.c (mi_interpreter_init): Likewise.
4761 * mi/mi-out.c (mi_out_new): Likewise.
4762 * mi/mi-parse.c (mi_parse): Likewise.
4763 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
4764 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
4765 * observer.c (xalloc_observer_list_node): Likewise.
4766 * regcache.c (regcache_xmalloc_1): Likewise.
4767 * reggroups.c (reggroup_new): Likewise.
4768 (_initialize_reggroup): Likewise.
4769 * registry.c (register_data_with_cleanup): Likewise.
4770 * remote.c (remote_notif_stop_alloc_reply): Likewise.
4771 * ser-base.c (serial_ttystate): Likewise.
4772 * ser-mingw.c (make_pipe_state): Likewise.
4773 * ser-pipe.c (pipe_open): Likewise.
4774 * serial.c (serial_open): Likewise.
4775 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
4776 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
4777 (tui_alloc_win_info): Likewise.
4778 (tui_add_content_elements): Likewise.
4779 * tui/tui-file.c (tui_file_new): Likewise.
4780 * tui/tui-out.c (tui_out_new): Likewise.
4781 * ui-file.c (mem_file_new): Likewise.
4782 * ui-out.c (push_level): Likewise.
4783 (make_cleanup_ui_out_end): Likewise.
4784 (append_header_to_list): Likewise.
4785 (ui_out_new): Likewise.
4786 * user-regs.c (user_reg_add_builtin): Likewise.
4788 2014-01-13 Tom Tromey <tromey@redhat.com>
4790 * defs.h (XZALLOC): Remove.
4791 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
4792 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
4793 (get_ada_tasks_inferior_data): Likewise.
4794 * auto-load.c (get_auto_load_pspace_data): Likewise.
4795 * auxv.c (get_auxv_inferior_data): Likewise.
4796 * bfd-target.c (target_bfd_reopen): Likewise.
4797 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
4798 (deprecated_insert_raw_breakpoint): Likewise.
4799 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
4800 * corelow.c (core_open): Likewise.
4801 * darwin-nat.c (darwin_check_new_threads): Likewise.
4802 (darwin_attach_pid): Likewise.
4803 * dummy-frame.c (dummy_frame_push): Likewise.
4804 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
4805 * dwarf2loc.c (allocate_piece_closure): Likewise.
4806 * elfread.c (elf_symfile_segments): Likewise.
4807 * eval.c (ptrmath_type_p): Likewise.
4808 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
4809 * gdbtypes.c (alloc_type_arch): Likewise.
4810 (alloc_type_instance): Likewise.
4811 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
4812 * inf-child.c (inf_child_can_use_agent): Likewise.
4813 * inflow.c (get_inflow_inferior_data): Likewise.
4814 * infrun.c (save_infcall_suspend_state): Likewise.
4815 * jit.c (jit_reader_load): Likewise.
4816 (get_jit_objfile_data): Likewise.
4817 (get_jit_program_space_data): Likewise.
4818 (jit_object_open_impl): Likewise.
4819 (jit_symtab_open_impl): Likewise.
4820 (jit_block_open_impl): Likewise.
4821 (jit_frame_sniffer): Likewise.
4822 * linux-fork.c (add_fork): Likewise.
4823 * maint.c (make_command_stats_cleanup): Likewise.
4824 * objfiles.c (get_objfile_pspace_data): Likewise.
4825 * opencl-lang.c (struct lval_closure): Likewise.
4826 * osdata.c (osdata_start_osdata): Likewise.
4827 * progspace.c (new_address_space): Likewise.
4828 (add_program_space): Likewise.
4829 * remote-sim.c (get_sim_inferior_data): Likewise.
4830 * sh-tdep.c (sh_gdbarch_init): Likewise.
4831 * skip.c (Ignore): Likewise.
4832 (skip_delete_command): Likewise.
4833 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4834 (library_list_start_library): Likewise.
4835 (solib_aix_current_sos): Likewise.
4836 * solib-darwin.c (get_darwin_info): Likewise.
4837 (darwin_current_sos): Likewise.
4838 * solib-dsbt.c (get_dsbt_info): Likewise.
4839 * solib-ia64-hpux.c (new_so_list): Likewise.
4840 (ia64_hpux_get_solib_linkage_addr): Likewise.
4841 * solib-spu.c (append_ocl_sos): Likewise.
4842 (spu_current_sos): Likewise.
4843 * solib-svr4.c (get_svr4_info): Likewise.
4844 (svr4_keep_data_in_core): Likewise.
4845 (library_list_start_library): Likewise.
4846 (svr4_default_sos): Likewise.
4847 (svr4_read_so_list): Likewise.
4848 * solib-target.c (library_list_start_library): Likewise.
4849 (solib_target_current_sos): Likewise.
4850 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4851 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4852 * symfile.c (default_symfile_segments): Likewise.
4853 * target-descriptions.c (tdesc_data_init): Likewise.
4854 (tdesc_create_reg): Likewise.
4855 (struct tdesc_type *): Likewise.
4856 (tdesc_create_vector): Likewise.
4857 (tdesc_set_struct_size): Likewise.
4858 (struct tdesc_type *): Likewise.
4859 (tdesc_free_feature): Likewise.
4860 (tdesc_create_feature): Likewise.
4861 * windows-nat.c (windows_add_thread): Likewise.
4862 (windows_make_so): Likewise.
4863 * xml-support.c (gdb_xml_body_text): Likewise.
4864 (gdb_xml_create_parser_and_cleanup): Likewise.
4865 (xml_process_xincludes): Likewise.
4866 * xml-syscall.c (allocate_syscalls_info): Likewise.
4867 (syscall_create_syscall_desc): Likewise.
4869 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4871 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4872 function, with code from i386_stap_parse_special_token.
4873 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4874 (i386_stap_parse_special_token): Move code to the two functions
4877 2014-01-09 Pedro Alves <palves@redhat.com>
4878 Hui Zhu <hui@codesourcery.com>
4881 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4882 bp_err_string. Don't mark the location shlib_disabled if the
4883 error thrown wasn't a generic or memory error. Catch errors
4884 thrown while inserting breakpoints in overlayed code. Output
4885 error message of software breakpoints.
4886 * remote.c (remote_insert_breakpoint): If this breakpoint has
4887 target-side commands but this stub doesn't support Z0 packets,
4888 throw NOT_SUPPORTED_ERROR error.
4889 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4890 * target.h (target_insert_breakpoint): Extend comment.
4891 (target_insert_hw_breakpoint): Add comment.
4893 2014-01-08 Pedro Alves <palves@redhat.com>
4895 * remote.c (remote_add_thread): Add threads silently if starting
4897 (remote_notice_new_inferior): If in all-stop, and starting up,
4898 don't call notice_new_inferior.
4899 (get_current_thread): New function, factored out from ...
4900 (add_current_inferior_and_thread): ... this. Adjust.
4901 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4902 found any thread, then select the remote's current thread as GDB's
4905 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4907 * NEWS: Create a new section for the next release branch.
4908 Rename the section of the current branch, now that it has
4911 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4913 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4914 * version.in: Bump version to 7.7.50.DATE-cvs.
4916 2014-01-08 Yao Qi <yao@codesourcery.com>
4918 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4919 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4920 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4922 2014-01-08 Yao Qi <yao@codesourcery.com>
4924 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4925 return value of bfd_get_filename to symbol_file_add_from_bfd.
4927 2014-01-08 Pierre Muller <muller@sourceware.org>
4930 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4931 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4932 to prim_record_mininal_symbol_and_info.
4933 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4934 in call to prim_record_minimal_symbol_and_info.
4935 (read_pe_exported_syms): Set index field of section_data.
4937 2014-01-07 Andrew Pinski <apinski@cavium.com>
4939 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4940 * features/aarch64.c: Regenerate.
4942 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4944 * target.c (return_null): Define.
4945 (update_current_target): Use it instead of return_zero for
4946 functions that return a pointer.
4948 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4950 * source.c (add_path): Fix check for duplicated paths in the previously
4953 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4955 * ada-lang.c: Remove duplicated include statements.
4956 * alphabsd-nat.c: Ditto.
4957 * amd64-darwin-tdep.c: Ditto.
4958 * amd64fbsd-nat.c: Ditto.
4959 * auto-load.c: Ditto.
4961 * breakpoint.c: Ditto.
4963 * fork-child.c: Ditto.
4964 * gdb_usleep.c: Ditto.
4965 * i386-darwin-tdep.c: Ditto.
4966 * i386fbsd-nat.c: Ditto.
4968 * inferior.c: Ditto.
4970 * linux-nat.c: Ditto.
4971 * linux-tdep.c: Ditto.
4972 * m68kbsd-nat.c: Ditto.
4973 * m68klinux-nat.c: Ditto.
4974 * microblaze-tdep.c: Ditto.
4975 * mips-linux-tdep.c: Ditto.
4976 * mn10300-tdep.c: Ditto.
4977 * nto-tdep.c: Ditto.
4978 * opencl-lang.c: Ditto.
4980 * printcmd.c: Ditto.
4981 * regcache.c: Ditto.
4982 * remote-m32r-sdi.c: Ditto.
4986 * tilegx-linux-nat.c: Ditto.
4987 * tilegx-tdep.c: Ditto.
4988 * tracepoint.c: Ditto.
4990 * vaxbsd-nat.c: Ditto.
4991 * windows-nat.c: Ditto.
4992 * xtensa-tdep.c: Ditto.
4994 2014-01-07 Yao Qi <yao@codesourcery.com>
4996 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4998 2014-01-07 Yao Qi <yao@codesourcery.com>
4999 Joel Brobecker <brobecker@adacore.com>
5001 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
5002 (pdc_write_regs): Likewise.
5003 (fetch_regs_kernel_thread): Likewise.
5004 (store_regs_kernel_thread): Likewise.
5006 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5008 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
5009 tagged type objects to their actual type.
5011 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5013 * ada-valprint.c (print_field_values): Add "language" parameter.
5014 Update calls to print_field_values and print_variant_part.
5015 Pass new parameter "language" in call to val_print instead
5016 of "current_language". Replace call to ada_val_print by call
5018 (print_variant_part): Add "language" parameter.
5019 (ada_val_print_struct_union): Update call to print_field_values.
5021 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5023 * ada-valprint.c (ui_memcpy): Delete.
5024 (ada_print_floating): Update documentation. Add empty line
5025 between between function documentation and implementation.
5026 Delete variable "buffer". Use ui_file_xstrdup in place of
5027 ui_file_put. Minor adjustments following this change.
5029 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5031 * ada-valprint.c (ada_val_print_string): New function,
5032 extracted from ada_val_print_array.
5033 (ada_val_print_array): Replace extracted code by call
5034 to ada_val_print_string followed by a return. Move
5035 "else" branch to the function's top block.
5037 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5039 * ada-valprint.c (ada_val_print_array): Move implementation
5040 down. Rename parameter "offset" and "val" into "offset_aligned"
5041 and "original_value" respectively. Add parameter "offset".
5043 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5045 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
5046 re-organizing the code. Change the "???" message printed
5047 when target type is a TYPE_CODE_UNDEF into
5048 "<ref to undefined type>".
5050 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5052 * ada-valprint.c (print_record): Delete, implementation inlined...
5053 (ada_val_print_struct_union): ... here. Remove call to
5054 ada_check_typedef in inlined implementation.
5056 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5058 * ada-valprint.c (ada_val_print_gnat_array): New function,
5059 extracted from ada_val_print_1;
5060 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
5061 (ada_val_print_flt, ada_val_print_struct_union)
5062 (ada_val_print_ref): Likewise.
5063 (ada_val_print_1): Delete variables i and elttype.
5064 Replace extracted-out code by call to corresponding
5067 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5069 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
5071 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5073 * ada-valprint.c (ada_val_print_1): Replace calls to
5074 ada_val_print_1 by calls to val_print.
5076 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5078 * ada-valprint.c (ada_val_print_1): Add parameter "language".
5079 Update calls to self accordingly. Replace calls to c_val_print
5080 by calls to val_print.
5082 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5084 * ada-valprint.c (print_record): Delete declaration.
5085 (adjust_type_signedness, ada_val_print_1): Likewise.
5086 (ada_val_print): Move function implementation down.
5087 (print_variant_part, print_field_values, print_record):
5088 Move function implementation up.
5090 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5092 * python/py-type.c (typy_get_name): New function.
5093 (type_object_getset): Add entry for attribute "name".
5094 * NEWS: Add entry mentioning this new attribute.
5096 2014-01-07 Yao Qi <yao@codesourcery.com>
5098 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
5101 2014-01-07 Yao Qi <yao@codesourcery.com>
5103 * gnu-nat.c (info_port_rights): Add qualifier const to
5106 2014-01-07 Yao Qi <yao@codesourcery.com>
5108 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
5110 2014-01-07 Yao Qi <yao@codesourcery.com>
5112 * gnu-nat.c (make_inf) Update declaration.
5113 (make_inf): Make it static.
5114 (inf_set_traced): Likewise.
5115 (inf_port_to_thread, inf_task_died_status): Likewise.
5117 2014-01-07 Yao Qi <yao@codesourcery.com>
5119 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
5121 2014-01-07 Yao Qi <yao@codesourcery.com>
5123 * gnu-nat.c (_initialize_gnu_nat): Declare.
5125 2014-01-07 Yao Qi <yao@codesourcery.com>
5127 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
5129 (struct gdbarch_info) <byte_order>: Change type to
5131 <byte_order_for_code>: Likewise.
5132 * gdbarch.c, gdbarch.h: Regenerated.
5134 2014-01-06 Sasha Smundak <asmundak@google.com>
5136 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
5138 2014-01-06 Tom Tromey <tromey@redhat.com>
5140 * doublest.c (convert_doublest_to_floatformat): Use const, not
5142 * somread.c (som_symtab_read): Likewise.
5144 2014-01-07 Hui Zhu <hui@codesourcery.com>
5146 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
5147 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
5148 (gdb_bfd_fopen): Ditto.
5149 (gdb_bfd_openr): Ditto.
5150 (gdb_bfd_openw): Ditto.
5151 (gdb_bfd_openr_iovec): Ditto.
5152 (gdb_bfd_fdopenr): Ditto.
5153 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
5154 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
5156 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
5158 * symfile-mem.c (symbol_file_add_from_memory): Removed
5159 gdb_bfd_stash_filename.
5161 2014-01-03 Doug Evans <dje@google.com>
5163 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
5166 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5168 Update year range in copyright notice of all files.
5170 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5172 * top.c (print_gdb_version): Set copyright year to 2014.
5174 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5176 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
5178 For older changes see ChangeLog-2013.
5184 version-control: never