1 2014-02-26 Pedro Alves <palves@redhat.com>
3 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
4 task-specific breakpoints.
6 2014-02-25 Pedro Alves <palves@redhat.com>
8 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
9 handling of object == TARGET_OBJECT_UNWIND_TABLE.
11 2014-02-25 Stan Shebs <stan@codesourcery.com>
13 * defs.h: Annotate comments for Doxygen.
15 2014-02-25 Tom Tromey <tromey@redhat.com>
17 * target.h (target_ignore): Don't declare.
18 * target.c (target_ignore): Remove.
20 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
23 * auto-load.c (auto_load_objfile_script_1): Change filename to
26 2014-02-25 Joel Brobecker <brobecker@adacore.com>
28 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
29 documentation. Adjust prototype to match the target_ops
30 to_xfer_partial method. Adjust implementation accordingly.
32 2014-02-25 Hui Zhu <hui@codesourcery.com>
34 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
37 2014-02-25 Kevin Buettner <kevinb@redhat.com>
39 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
40 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
41 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
42 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
43 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
44 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
45 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
46 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
48 (rl78_register_type): Use a data pointer type for SP and
49 new pseudo registers mentioned above. Use a 16 bit integer
50 type for all other register pairs.
51 (rl78_register_name, rl78_g10_register_name): Update for
53 (rl78_pseudo_register_read): Likewise.
54 (rl78_pseudo_register_write): Likewise.
55 (rl78_dwarf_reg_to_regnum): Return register numbers representing
56 to the newly added pseudo registers.
58 2014-02-24 Doug Evans <dje@google.com>
60 * value.c (record_latest_value): Fix comment.
61 * printcmd.c (print_command_1): Remove code to handle -1 return from
64 2014-02-24 Pedro Alves <palves@redhat.com>
66 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
67 deprecated_xfer_memory hook.
68 (procfs_xfer_partial): Call procfs_xfer_memory instead
69 of the deprecated_xfer_memory target hook.
70 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
73 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
75 * windows-nat.c (windows_xfer_shared_libraries): Return
76 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
77 requested object is TARGET_OBJECT_LIBRARIES.
79 2014-02-24 Yao Qi <yao@codesourcery.com>
81 * target.h (enum target_xfer_status)
82 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
83 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
85 * corefile.c (memory_error_message): User updated.
86 * exec.c (section_table_read_available_memory): Likewise.
87 * record-btrace.c (record_btrace_xfer_partial): Likewise.
88 * target.c (target_xfer_status_to_string): Likewise.
89 (raw_memory_xfer_partial): Likewise.
90 (memory_xfer_partial_1, target_xfer_partial): Likewise.
91 * valops.c (read_value_memory): Likewise.
92 * exec.h: Update comments.
94 2014-02-24 Yao Qi <yao@codesourcery.com>
96 * target.c (target_xfer_status_to_string): Rename argument err
98 * target.h (target_xfer_status_to_string): Update declaration.
99 Replace target_xfer_error_to_string with
100 target_xfer_status_to_string in comment.
102 2014-02-24 Yao Qi <yao@codesourcery.com>
104 * mips-linux-nat.c (super_close): Update its type.
105 (mips_linux_close): Pass 'self' to super_close.
107 2014-02-24 Yao Qi <yao@codesourcery.com>
109 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
110 * corefile.c (read_memory): Adjusted.
111 * target.c (target_write_with_progress): Adjusted.
113 2014-02-23 Yao Qi <yao@codesourcery.com>
117 2013-10-25 Yao Qi <yao@codesourcery.com>
119 * remote.c (remote_traceframe_info): Return early if
120 traceframe is not selected.
122 2013-07-19 Yao Qi <yao@codesourcery.com>
124 * target.c (update_current_target): Change the default action
125 of 'to_traceframe_info' from tcomplain to return_zero.
126 * target.h (struct target_ops) <to_traceframe_info>: Add more
129 2014-02-23 Yao Qi <yao@codesourcery.com>
131 * valops.c (read_value_memory): Rewrite it. Call
132 target_xfer_partial in a loop.
133 * exec.h (section_table_available_memory): Remove declaration.
135 * exec.c (section_table_available_memory): ... here. Make it
138 2014-02-23 Yao Qi <yao@codesourcery.com>
140 * exec.c (section_table_read_available_memory): New function.
141 * exec.h (section_table_read_available_memory): Declare.
142 * ctf.c (ctf_xfer_partial): Call
143 section_table_read_available_memory.
144 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
146 2014-02-23 Yao Qi <yao@codesourcery.com>
148 * ctf.c (ctf_xfer_partial): Move code to ...
149 * exec.c (exec_read_partial_read_only): ... it. New function.
150 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
151 * tracefile.c: Include "exec.h".
152 * exec.h (exec_read_partial_read_only): Declare.
154 2014-02-23 Yao Qi <yao@codesourcery.com>
156 * tracefile-tfile.c (tfile_has_all_memory): Remove.
157 (tfile_has_memory): Remove.
158 (init_tfile_ops): Don't set fields to_has_all_memory and
159 to_has_memory of tfile_ops.
160 * tracefile.c (tracefile_has_all_memory): New function.
161 (tracefile_has_memory): New function.
162 (init_tracefile_ops): Initialize fields to_has_all_memory and
163 to_has_memory of 'ops'.
165 2014-02-23 Yao Qi <yao@codesourcery.com>
167 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
168 (ctf_thread_alive, ctf_get_trace_status): Remove.
169 (init_ctf_ops): Don't set some fields of ctf_ops. Call
171 * tracefile-tfile.c (tfile_get_trace_status): Remove.
172 (tfile_has_stack, tfile_has_registers): Remove.
173 (tfile_thread_alive): Remove.
174 (init_tfile_ops): Don't set some fields of tfile_ops. Call
176 * tracefile.c (tracefile_has_stack): New function.
177 (tracefile_has_registers): New function.
178 (tracefile_thread_alive): New function.
179 (tracefile_get_trace_status): New function.
180 (init_tracefile_ops): New function.
181 * tracefile.h (init_tracefile_ops): Declare.
183 2014-02-23 Yao Qi <yao@codesourcery.com>
185 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
186 (O_LARGEFILE): Likewise.
187 (tfile_ops): Likewise.
188 (TRACE_HEADER_SIZE): Likewise.
189 (trace_fd, trace_frames_offset, cur_offset): Likewise.
190 (cur_data_size): Likewise.
191 (tfile_read, tfile_open, tfile_interp_line): Likewise.
192 (tfile_close, tfile_files_info): Likewise.
193 (tfile_get_trace_status): Likewise.
194 (tfile_get_tracepoint_status): Likewise.
195 (tfile_get_traceframe_address): Likewise.
196 (tfile_trace_find, match_blocktype): Likewise.
197 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
198 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
199 (tfile_get_trace_state_variable_value): Likewise.
200 (tfile_has_all_memory, tfile_has_memory): Likewise.
201 (tfile_has_stack, tfile_has_registers): Likewise.
202 (tfile_thread_alive, build_traceframe_info): Likewise.
203 (tfile_traceframe_info, init_tfile_ops): Likewise.
204 (_initialize_tracepoint): Don't call init_tfile_ops
205 and add_target_with_completer.
206 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
207 exec.h, completer.h and filenames.h.
208 (_initialize_tracefile_tfile): New function.
210 2014-02-23 Yao Qi <yao@codesourcery.com>
212 * Makefile.in (REMOTE_OBS): Append tracefile.o and
214 (HFILES_NO_SRCDIR): Add tracefile.h.
215 * ctf.c: Include "tracefile.h".
216 * tracefile.h: New file.
217 * tracefile.c: New file
218 * tracefile-tfile.c: New file.
219 * tracepoint.c: Include "tracefile.h".
220 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
221 (stop_reason_names): Add const.
222 (trace_file_writer_xfree): Move it to tracefile.c.
223 (trace_save, trace_save_command, trace_save_tfile): Likewise.
224 (trace_save_ctf): Likewise.
225 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
226 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
227 (tfile_write_header, tfile_write_regblock_type): Likewise.
228 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
229 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
230 (tfile_write_raw_data, tfile_end): Likewise.
231 (tfile_trace_file_writer_new): Likewise.
232 (free_uploaded_tp): Make it extern.
233 (free_uploaded_tsv): Make it extern.
234 (_initialize_tracepoint): Move code to register command 'tsave'
236 * tracepoint.h (stop_reason_names): Declare.
237 (struct trace_frame_write_ops): Move it to tracefile.h.
238 (struct trace_file_write_ops): Likewise.
239 (struct trace_file_writer): Likewise.
240 (free_uploaded_tsvs, free_uploaded_tps): Declare.
242 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
245 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
247 (get_cores_used_by_process): New parameter num_cores, use it.
248 (linux_xfer_osdata_processes): Pass num_cores to it.
249 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
252 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
254 * target.c (memory_xfer_partial): Fix length arg in call to
255 breakpoint_xfer_memory.
257 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
260 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
261 number comes after the + or - signs. Adjust length of register
262 name to be extracted.
264 2014-02-20 Tom Tromey <tromey@redhat.com>
266 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
267 (ada_varobj_ops): Mark "extern".
269 2014-02-20 Tom Tromey <tromey@redhat.com>
271 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
273 2014-02-20 Doug Evans <xdje42@gmail.com>
275 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
277 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
279 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
280 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
282 2014-02-20 lin zuojian <manjian2006@gmail.com>
283 Joel Brobecker <brobecker@adacore.com>
284 Doug Evans <xdje42@gmail.com>
287 * dwarf2read.c (struct die_info): New member in_process.
288 (reset_die_in_process): New function.
289 (process_die): Set it at the start, reset when returning.
290 (inherit_abstract_dies): Only call process_die if origin_child_die
291 not already being processed.
293 2014-02-20 Joel Brobecker <brobecker@adacore.com>
295 * windows-nat.c (handle_unload_dll): Add function documentation.
296 (do_initial_windows_stuff): Add comment explaining why we wait
297 until after inferior initialization has finished before
300 2014-02-20 Joel Brobecker <brobecker@adacore.com>
302 * windows-nat.c (get_module_name): Delete.
303 (windows_get_exec_module_filename): New function, mostly
304 inspired from get_module_name.
305 (windows_pid_to_exec_file): Replace call to get_module_name
306 by call to windows_get_exec_module_filename.
308 2014-02-20 Joel Brobecker <brobecker@adacore.com>
310 * windows-nat.c (handle_load_dll): Rewrite this function's
311 introductory comment. Remove code using get_module_name
312 to get the DLL's name.
314 2014-02-20 Joel Brobecker <brobecker@adacore.com>
316 * windows-nat.c (get_windows_debug_event): Ignore
317 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
318 if windows_initialization_done == 0.
319 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
320 Adjust implementation to always load all DLLs.
321 (do_initial_windows_stuff): Replace call to
322 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
324 2014-02-20 Joel Brobecker <brobecker@adacore.com>
326 * windows-nat.c (_initialize_windows_nat): Deprecate the
327 "dll-symbols" command. Turn the "add-shared-symbol-files"
328 and "assf" aliases into commands, and deprecate them as well.
329 * NEWS: Add entry explaining that "dll-symbols" and its two
330 aliases are now deprecated.
332 2014-02-20 Joel Brobecker <brobecker@adacore.com>
334 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
335 new-line in debug string. Remove trailing spaces.
337 2014-02-19 Stan Shebs <stan@codesourcery.com>
339 * darwin-nat.c (darwin_xfer_partial): Fix return type.
341 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
343 * NEWS: Add entry for the new feature
344 * python/py-value.c (valpy_binop): Call value_x_binop for struct
347 2014-02-19 Stan Shebs <stan@codesourcery.com>
349 * MAINTAINERS: List Yao Qi as nios2 maintainer.
351 2014-02-19 Pedro Alves <palves@redhat.com>
353 * common/ptid.h (struct ptid): Mention that process_stratum
354 targets should prefer ptid.lwp.
356 2014-02-19 Pedro Alves <palves@redhat.com>
358 * remote.c (remote_thread_alive, write_ptid, read_ptid)
359 (read_ptid, remote_newthread_step, remote_threads_extra_info)
360 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
361 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
362 store remote thread ids rather than ptid.tid.
363 (_initialize_remote): Adjust.
365 2014-02-19 Tom Tromey <tromey@redhat.com>
367 * target.c (target_get_unwinder): Rewrite.
368 (target_get_tailcall_unwinder): Rewrite.
369 * record-btrace.c (record_btrace_to_get_unwinder): New function.
370 (record_btrace_to_get_tailcall_unwinder): New function.
371 (init_record_btrace_ops): Update.
372 * target.h (struct target_ops) <to_get_unwinder,
373 to_get_tailcall_unwinder>: Now function pointers. Use
374 TARGET_DEFAULT_RETURN.
376 2014-02-19 Tom Tromey <tromey@redhat.com>
378 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
380 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
382 2014-02-19 Tom Tromey <tromey@redhat.com>
384 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
386 * target-delegates.c: Rebuild.
387 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
389 * target.c (default_target_decr_pc_after_break): Rename from
390 forward_target_decr_pc_after_break. Simplify.
391 (target_decr_pc_after_break): Rely on delegation.
393 2014-02-19 Tom Tromey <tromey@redhat.com>
395 * target.c (update_current_target): Do not INHERIT to_doc or
396 to_magic. Do not de_fault to_open or to_close.
398 2014-02-19 Tom Tromey <tromey@redhat.com>
400 * gcore.h (objfile_find_memory_regions): Declare.
401 * gcore.c (objfile_find_memory_regions): No longer static. Add
403 (_initialize_gcore): Don't call exec_set_find_memory_regions.
404 * exec.c: Include gcore.h.
405 (exec_set_find_memory_regions): Remove.
406 (exec_find_memory_regions): Remove.
407 (exec_do_find_memory_regions): Remove.
408 (init_exec_ops): Update.
409 * defs.h (exec_set_find_memory_regions): Remove.
411 2014-02-19 Tom Tromey <tromey@redhat.com>
413 * target-delegates.c: Rebuild.
414 * target.h (struct target_ops) <to_extra_thread_info,
415 to_thread_name, to_pid_to_exec_file, to_get_section_table,
416 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
417 not 0, in TARGET_DEFAULT_RETURN.
419 2014-02-19 Tom Tromey <tromey@redhat.com>
421 * target.c (complete_target_initialization): Remove casts. Use
422 return_zero_has_execution.
423 (return_zero): Add "ignore" argument.
424 (return_zero_has_execution): New function.
425 (init_dummy_target): Remove casts. Use
426 return_zero_has_execution.
428 2014-02-19 Tom Tromey <tromey@redhat.com>
430 * target.c (update_current_target): Update comments. Do not
433 2014-02-19 Tom Tromey <tromey@redhat.com>
435 * arm-linux-nat.c (arm_linux_read_description): Delegate when
437 * corelow.c (core_read_description): Delegate when needed.
438 * remote.c (remote_read_description): Delegate when needed.
439 * target-delegates.c: Rebuild.
440 * target.c (target_read_description): Rewrite.
441 * target.h (struct target_ops) <to_read_description>: Update
442 comment. Use TARGET_DEFAULT_RETURN.
444 2014-02-19 Tom Tromey <tromey@redhat.com>
446 * target-delegates.c: Rebuild.
447 * target.c (update_current_target): Don't inherit or default
449 (find_default_run_target): Check against delegate_can_run.
450 * target.h (struct target_ops) <to_can_run>: Use
451 TARGET_DEFAULT_RETURN.
453 2014-02-19 Tom Tromey <tromey@redhat.com>
455 * target-delegates.c: Rebuild.
456 * target.c (target_disconnect): Unconditionally delegate.
457 * target.h (struct target_ops) <to_disconnect>: Use
458 TARGET_DEFAULT_NORETURN.
460 2014-02-19 Tom Tromey <tromey@redhat.com>
462 * record.c (record_stop): Unconditionally delegate.
463 * target-delegates.c: Rebuild.
464 * target.c (target_stop_recording): Unconditionally delegate.
465 * target.h (struct target_ops) <to_stop_recording>: Use
466 TARGET_DEFAULT_IGNORE.
468 2014-02-19 Tom Tromey <tromey@redhat.com>
470 * target-delegates.c: Rebuild.
471 * target.c (target_enable_btrace): Unconditionally delegate.
472 * target.h (struct target_ops) <to_enable_btrace>: Use
473 TARGET_DEFAULT_NORETURN.
475 2014-02-19 Tom Tromey <tromey@redhat.com>
477 * target-delegates.c: Rebuild.
478 * target.c (target_read_btrace): Unconditionally delegate.
479 * target.h (struct target_ops) <to_read_btrace>: Use
480 TARGET_DEFAULT_NORETURN.
482 2014-02-19 Tom Tromey <tromey@redhat.com>
484 * target-delegates.c: Rebuild.
485 * target.c (target_teardown_btrace): Unconditionally delegate.
486 * target.h (struct target_ops) <to_teardown_btrace>: Use
487 TARGET_DEFAULT_NORETURN.
489 2014-02-19 Tom Tromey <tromey@redhat.com>
491 * target-delegates.c: Rebuild.
492 * target.c (target_disable_btrace): Unconditionally delegate.
493 * target.h (struct target_ops) <to_disable_btrace>: Use
494 TARGET_DEFAULT_NORETURN.
496 2014-02-19 Tom Tromey <tromey@redhat.com>
498 * target-delegates.c: Rebuild.
499 * target.c (default_search_memory): New function.
500 (simple_search_memory): Update comment.
501 (target_search_memory): Unconditionally delegate.
502 * target.h (struct target_ops) <to_search_memory>: Use
505 2014-02-19 Tom Tromey <tromey@redhat.com>
507 * auxv.c (default_auxv_parse): No longer static.
508 (target_auxv_parse): Unconditionally delegate.
509 * auxv.h (default_auxv_parse): Declare.
510 * target-delegates.c: Rebuild.
511 * target.c: Include auxv.h.
512 * target.h (struct target_ops) <to_auxv_parse>: Use
515 2014-02-19 Tom Tromey <tromey@redhat.com>
517 * target-delegates.c: Rebuild.
518 * target.c (target_memory_map): Unconditionally delegate.
519 * target.h (struct target_ops) <to_memory_map>: Use
520 TARGET_DEFAULT_RETURN.
522 2014-02-19 Tom Tromey <tromey@redhat.com>
524 * target-delegates.c: Rebuild.
525 * target.c (target_thread_alive): Unconditionally delegate.
526 * target.h (struct target_ops) <to_thread_alive>: Use
527 TARGET_DEFAULT_RETURN.
529 2014-02-19 Tom Tromey <tromey@redhat.com>
531 * target-delegates.c: Rebuild.
532 * target.c (target_save_record): Unconditionally delegate.
533 * target.h (struct target_ops) <to_save_record>: Use
534 TARGET_DEFAULT_NORETURN.
536 2014-02-19 Tom Tromey <tromey@redhat.com>
538 * target-delegates.c: Rebuild.
539 * target.c (target_delete_record): Unconditionally delegate.
540 * target.h (struct target_ops) <to_delete_record>: Use
541 TARGET_DEFAULT_NORETURN.
543 2014-02-19 Tom Tromey <tromey@redhat.com>
545 * target-delegates.c: Rebuild.
546 * target.c (target_record_is_replaying): Unconditionally
548 * target.h (struct target_ops) <to_record_is_replaying>: Use
549 TARGET_DEFAULT_RETURN.
551 2014-02-19 Tom Tromey <tromey@redhat.com>
553 * target-delegates.c: Rebuild.
554 * target.c (target_goto_record_begin): Unconditionally delegate.
555 * target.h (struct target_ops) <to_goto_record_begin>: Use
556 TARGET_DEFAULT_NORETURN.
558 2014-02-19 Tom Tromey <tromey@redhat.com>
560 * target-delegates.c: Rebuild.
561 * target.c (target_goto_record_end): Unconditionally delegate.
562 * target.h (struct target_ops) <to_goto_record_end>: Use
563 TARGET_DEFAULT_NORETURN.
565 2014-02-19 Tom Tromey <tromey@redhat.com>
567 * target-delegates.c: Rebuild.
568 * target.c (target_goto_record): Unconditionally delegate.
569 * target.h (struct target_ops) <to_goto_record>: Use
570 TARGET_DEFAULT_NORETURN.
572 2014-02-19 Tom Tromey <tromey@redhat.com>
574 * target-delegates.c: Rebuild.
575 * target.c (target_insn_history): Unconditionally delegate.
576 * target.h (struct target_ops) <to_insn_history>: Use
577 TARGET_DEFAULT_NORETURN.
579 2014-02-19 Tom Tromey <tromey@redhat.com>
581 * target-delegates.c: Rebuild.
582 * target.c (target_insn_history_from): Unconditionally delegate.
583 * target.h (struct target_ops) <to_insn_history_from>: Use
584 TARGET_DEFAULT_NORETURN.
586 2014-02-19 Tom Tromey <tromey@redhat.com>
588 * target-delegates.c: Rebuild.
589 * target.c (target_insn_history_range): Unconditionally delegate.
590 * target.h (struct target_ops) <to_insn_history_range>: Use
591 TARGET_DEFAULT_NORETURN.
593 2014-02-19 Tom Tromey <tromey@redhat.com>
595 * target-delegates.c: Rebuild.
596 * target.c (target_call_history): Unconditionally delegate.
597 * target.h (struct target_ops) <to_call_history>: Use
598 TARGET_DEFAULT_NORETURN.
600 2014-02-19 Tom Tromey <tromey@redhat.com>
602 * target-delegates.c: Rebuild.
603 * target.c (target_call_history_from): Unconditionally delegate.
604 * target.h (struct target_ops) <to_call_history_from>: Use
605 TARGET_DEFAULT_NORETURN.
607 2014-02-19 Tom Tromey <tromey@redhat.com>
609 * target-delegates.c: Rebuild.
610 * target.c (target_call_history_range): Unconditionally delegate.
611 * target.h (struct target_ops) <to_call_history_range>: Use
612 TARGET_DEFAULT_NORETURN.
614 2014-02-19 Tom Tromey <tromey@redhat.com>
616 * target-delegates.c: Rebuild.
617 * target.c (target_verify_memory): Unconditionally delegate.
618 * target.h (struct target_ops) <to_verify_memory>: Use
619 TARGET_DEFAULT_NORETURN.
621 2014-02-19 Tom Tromey <tromey@redhat.com>
623 * target-delegates.c: Rebuild.
624 * target.c (target_core_of_thread): Unconditionally delegate.
625 * target.h (struct target_ops) <to_core_of_thread>: Use
626 TARGET_DEFAULT_RETURN.
628 2014-02-19 Tom Tromey <tromey@redhat.com>
630 * target-delegates.c: Rebuild.
631 * target.c (target_flash_done): Unconditionally delegate.
632 * target.h (struct target_ops) <to_flash_done>: Use
633 TARGET_DEFAULT_NORETURN.
635 2014-02-19 Tom Tromey <tromey@redhat.com>
637 * target-delegates.c: Rebuild.
638 * target.c (target_flash_erase): Unconditionally delegate.
639 * target.h (struct target_ops) <to_flash_erase>: Use
640 TARGET_DEFAULT_NORETURN.
642 2014-02-19 Tom Tromey <tromey@redhat.com>
644 * target-delegates.c: Rebuild.
645 * target.c (target_get_section_table): Unconditionally delegate.
646 * target.h (struct target_ops) <to_get_section_table>: Use
647 TARGET_DEFAULT_RETURN.
649 2014-02-19 Tom Tromey <tromey@redhat.com>
651 * target-delegates.c: Rebuild.
652 * target.c (target_pid_to_str): Unconditionally delegate.
653 (init_dummy_target): Don't initialize to_pid_to_str.
654 (default_pid_to_str): Rename from dummy_pid_to_str.
655 * target.h (struct target_ops) <to_pid_to_str>: Use
658 2014-02-19 Tom Tromey <tromey@redhat.com>
660 * target-delegates.c: Rebuild.
661 * target.c (target_find_new_threads): Unconditionally delegate.
662 * target.h (struct target_ops) <to_find_new_threads>: Use
663 TARGET_DEFAULT_RETURN.
665 2014-02-19 Tom Tromey <tromey@redhat.com>
667 * target-delegates.c: Rebuild.
668 * target.c (target_program_signals): Unconditionally delegate.
669 * target.h (struct target_ops) <to_program_signals>: Use
670 TARGET_DEFAULT_IGNORE.
672 2014-02-19 Tom Tromey <tromey@redhat.com>
674 * target-delegates.c: Rebuild.
675 * target.c (target_pass_signals): Unconditionally delegate.
676 * target.h (struct target_ops) <to_pass_signals>: Use
677 TARGET_DEFAULT_IGNORE.
679 2014-02-19 Tom Tromey <tromey@redhat.com>
681 * target-delegates.c: Rebuild.
682 * target.c (default_mourn_inferior): New function.
683 (target_mourn_inferior): Unconditionally delegate.
684 * target.h (struct target_ops) <to_mourn_inferior>: Use
687 2014-02-19 Tom Tromey <tromey@redhat.com>
689 * target-delegates.c: Rebuild.
690 * target.c (default_follow_fork): New function.
691 (target_follow_fork): Unconditionally delegate.
692 * target.h (struct target_ops) <to_follow_fork>: Use
695 2014-02-19 Tom Tromey <tromey@redhat.com>
697 * target-delegates.c: Rebuild.
698 * target.c (target_kill): Unconditionally delegate.
699 * target.h (struct target_ops) <to_kill>: Use
700 TARGET_DEFAULT_NORETURN.
702 2014-02-19 Tom Tromey <tromey@redhat.com>
704 * target-delegates.c: Rebuild.
705 * target.c (target_masked_watch_num_registers): Unconditionally
707 * target.h (struct target_ops) <to_masked_watch_num_registers>:
708 Use TARGET_DEFAULT_RETURN.
710 2014-02-19 Tom Tromey <tromey@redhat.com>
712 * target-delegates.c: Rebuild.
713 * target.c (target_remove_mask_watchpoint): Unconditionally
715 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
716 TARGET_DEFAULT_RETURN.
718 2014-02-19 Tom Tromey <tromey@redhat.com>
720 * target-delegates.c: Rebuild.
721 * target.c (target_insert_mask_watchpoint): Unconditionally
723 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
724 TARGET_DEFAULT_RETURN.
726 2014-02-19 Tom Tromey <tromey@redhat.com>
728 * target-delegates.c: Rebuild.
729 * target.c (target_ranged_break_num_registers): Unconditionally
731 * target.h (struct target_ops) <to_ranged_break_num_registers>:
732 Use TARGET_DEFAULT_RETURN.
734 2014-02-19 Tom Tromey <tromey@redhat.com>
736 * target-delegates.c: Rebuild.
737 * target.c (target_fetch_registers): Unconditionally delegate.
738 * target.h (struct target_ops) <to_fetch_registers>: Use
739 TARGET_DEFAULT_NORETURN.
741 2014-02-19 Tom Tromey <tromey@redhat.com>
743 * target-delegates.c: Rebuild.
744 * target.c (update_current_target): Don't inherit or default
746 * target.h (struct target_ops) <to_stop>: Use
747 TARGET_DEFAULT_IGNORE.
749 2014-02-19 Tom Tromey <tromey@redhat.com>
751 * target-delegates.c: Rebuild.
752 * target.c (update_current_target): Don't inherit or default
753 to_can_run_breakpoint_commands.
754 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
755 Use TARGET_DEFAULT_RETURN.
757 2014-02-19 Tom Tromey <tromey@redhat.com>
759 * target-delegates.c: Rebuild.
760 * target.c (update_current_target): Don't inherit or default
761 to_supports_evaluation_of_breakpoint_conditions.
762 * target.h (struct target_ops)
763 <to_supports_evaluation_of_breakpoint_conditions>: Use
764 TARGET_DEFAULT_RETURN.
766 2014-02-19 Tom Tromey <tromey@redhat.com>
768 * target-delegates.c: Rebuild.
769 * target.c (update_current_target): Don't inherit or default
770 to_augmented_libraries_svr4_read.
771 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
772 Use TARGET_DEFAULT_RETURN.
774 2014-02-19 Tom Tromey <tromey@redhat.com>
776 * target-delegates.c: Rebuild.
777 * target.c (update_current_target): Don't inherit or default
779 * target.h (struct target_ops) <to_can_use_agent>: Use
780 TARGET_DEFAULT_RETURN.
782 2014-02-19 Tom Tromey <tromey@redhat.com>
784 * target-delegates.c: Rebuild.
785 * target.c (update_current_target): Don't inherit or default
787 * target.h (struct target_ops) <to_use_agent>: Use
788 TARGET_DEFAULT_NORETURN.
790 2014-02-19 Tom Tromey <tromey@redhat.com>
792 * target-delegates.c: Rebuild.
793 * target.c (update_current_target): Don't inherit or default
795 (return_null): Remove.
796 * target.h (struct target_ops) <to_traceframe_info>: Use
797 TARGET_DEFAULT_RETURN.
799 2014-02-19 Tom Tromey <tromey@redhat.com>
801 * target-delegates.c: Rebuild.
802 * target.c (update_current_target): Don't inherit or default
803 to_static_tracepoint_markers_by_strid.
804 * target.h (struct target_ops)
805 <to_static_tracepoint_markers_by_strid>: Use
806 TARGET_DEFAULT_NORETURN.
808 2014-02-19 Tom Tromey <tromey@redhat.com>
810 * target-delegates.c: Rebuild.
811 * target.c (update_current_target): Don't inherit or default
812 to_static_tracepoint_marker_at.
813 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
814 Use TARGET_DEFAULT_RETURN.
816 2014-02-19 Tom Tromey <tromey@redhat.com>
818 * target-delegates.c: Rebuild.
819 * target.c (update_current_target): Don't inherit or default
821 * target.h (struct target_ops) <to_set_permissions>: Use
822 TARGET_DEFAULT_IGNORE.
824 2014-02-19 Tom Tromey <tromey@redhat.com>
826 * target-delegates.c: Rebuild.
827 * target.c (update_current_target): Don't inherit or default
829 * target.h (struct target_ops) <to_get_tib_address>: Use
830 TARGET_DEFAULT_NORETURN.
832 2014-02-19 Tom Tromey <tromey@redhat.com>
834 * target-delegates.c: Rebuild.
835 * target.c (update_current_target): Don't inherit or default
837 * target.h (struct target_ops) <to_set_trace_notes>: Use
838 TARGET_DEFAULT_RETURN.
840 2014-02-19 Tom Tromey <tromey@redhat.com>
842 * target-delegates.c: Rebuild.
843 * target.c (update_current_target): Don't initialize
844 to_set_trace_buffer_size.
845 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
846 TARGET_DEFAULT_IGNORE.
848 2014-02-19 Tom Tromey <tromey@redhat.com>
850 * target-delegates.c: Rebuild.
851 * target.c (update_current_target): Don't inherit or default
852 to_set_circular_trace_buffer.
853 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
854 TARGET_DEFAULT_IGNORE.
856 2014-02-19 Tom Tromey <tromey@redhat.com>
858 * target-delegates.c: Rebuild.
859 * target.c (update_current_target): Don't inherit or default
860 to_set_disconnected_tracing.
861 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
862 TARGET_DEFAULT_IGNORE.
864 2014-02-19 Tom Tromey <tromey@redhat.com>
866 * target-delegates.c: Rebuild.
867 * target.c (update_current_target): Don't inherit or default
868 to_get_min_fast_tracepoint_insn_len.
869 (return_minus_one): Remove.
870 * target.h (struct target_ops)
871 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
873 2014-02-19 Tom Tromey <tromey@redhat.com>
875 * target-delegates.c: Rebuild.
876 * target.c (update_current_target): Don't inherit or default
877 to_get_raw_trace_data.
878 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
879 TARGET_DEFAULT_NORETURN.
881 2014-02-19 Tom Tromey <tromey@redhat.com>
883 * target-delegates.c: Rebuild.
884 * target.c (update_current_target): Don't inherit or default
885 to_upload_trace_state_variables.
886 * target.h (struct target_ops) <to_upload_trace_state_variables>:
887 Use TARGET_DEFAULT_RETURN.
889 2014-02-19 Tom Tromey <tromey@redhat.com>
891 * target-delegates.c: Rebuild.
892 * target.c (update_current_target): Don't inherit or default
893 to_upload_tracepoints.
894 * target.h (struct target_ops) <to_upload_tracepoints>: Use
895 TARGET_DEFAULT_RETURN.
897 2014-02-19 Tom Tromey <tromey@redhat.com>
899 * target-delegates.c: Rebuild.
900 * target.c (update_current_target): Don't inherit or default
902 * target.h (struct target_ops) <to_save_trace_data>: Use
903 TARGET_DEFAULT_NORETURN.
905 2014-02-19 Tom Tromey <tromey@redhat.com>
907 * target-delegates.c: Rebuild.
908 * target.c (update_current_target): Don't inherit or default
909 to_get_trace_state_variable_value.
910 * target.h (struct target_ops)
911 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
913 2014-02-19 Tom Tromey <tromey@redhat.com>
915 * target-delegates.c: Rebuild.
916 * target.c (update_current_target): Don't inherit or default
918 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
920 2014-02-19 Tom Tromey <tromey@redhat.com>
922 * target-delegates.c: Rebuild.
923 * target.c (update_current_target): Don't inherit or default
925 * target.h (struct target_ops) <to_trace_stop>: Use
926 TARGET_DEFAULT_NORETURN.
928 2014-02-19 Tom Tromey <tromey@redhat.com>
930 * target-delegates.c: Rebuild.
931 * target.c (update_current_target): Don't inherit or default
932 to_get_tracepoint_status.
933 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
934 TARGET_DEFAULT_NORETURN.
936 2014-02-19 Tom Tromey <tromey@redhat.com>
938 * target-delegates.c: Rebuild.
939 * target.c (update_current_target): Don't inherit or default
941 * target.h (struct target_ops) <to_get_trace_status>: Use
942 TARGET_DEFAULT_RETURN.
944 2014-02-19 Tom Tromey <tromey@redhat.com>
946 * target-delegates.c: Rebuild.
947 * target.c (update_current_target): Don't inherit or default
949 * target.h (struct target_ops) <to_trace_start>: Use
950 TARGET_DEFAULT_NORETURN.
952 2014-02-19 Tom Tromey <tromey@redhat.com>
954 * target-delegates.c: Rebuild.
955 * target.c (update_current_target): Don't inherit or default
956 to_trace_set_readonly_regions.
957 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
958 Use TARGET_DEFAULT_NORETURN.
960 2014-02-19 Tom Tromey <tromey@redhat.com>
962 * target-delegates.c: Rebuild.
963 * target.c (update_current_target): Don't inherit or default
964 to_disable_tracepoint.
965 * target.h (struct target_ops) <to_disable_tracepoint>: Use
966 TARGET_DEFAULT_NORETURN.
968 2014-02-19 Tom Tromey <tromey@redhat.com>
970 * target-delegates.c: Rebuild.
971 * target.c (update_current_target): Don't inherit or default
972 to_enable_tracepoint.
973 * target.h (struct target_ops) <to_enable_tracepoint>: Use
974 TARGET_DEFAULT_NORETURN.
976 2014-02-19 Tom Tromey <tromey@redhat.com>
978 * target-delegates.c: Rebuild.
979 * target.c (update_current_target): Don't inherit or default
980 to_download_trace_state_variable.
981 * target.h (struct target_ops) <to_download_trace_state_variable>:
982 Use TARGET_DEFAULT_NORETURN.
984 2014-02-19 Tom Tromey <tromey@redhat.com>
986 * target-delegates.c: Rebuild.
987 * target.c (update_current_target): Don't inherit or default
988 to_can_download_tracepoint.
989 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
990 TARGET_DEFAULT_RETURN.
992 2014-02-19 Tom Tromey <tromey@redhat.com>
994 * target-delegates.c: Rebuild.
995 * target.c (update_current_target): Don't inherit or default
996 to_download_tracepoint.
997 * target.h (struct target_ops) <to_download_tracepoint>: Use
998 TARGET_DEFAULT_NORETURN.
1000 2014-02-19 Tom Tromey <tromey@redhat.com>
1002 * target-delegates.c: Rebuild.
1003 * target.c (update_current_target): Don't inherit or default
1005 * target.h (struct target_ops) <to_trace_init>: Use
1006 TARGET_DEFAULT_RETURN.
1008 2014-02-19 Tom Tromey <tromey@redhat.com>
1010 * target-delegates.c: Rebuild.
1011 * target.c (update_current_target): Don't inherit or default
1012 to_supports_string_tracing.
1013 * target.h (struct target_ops) <to_supports_string_tracing>: Use
1014 TARGET_DEFAULT_RETURN.
1016 2014-02-19 Tom Tromey <tromey@redhat.com>
1018 * target-delegates.c: Rebuild.
1019 * target.c (update_current_target): Don't inherit or default
1020 to_supports_enable_disable_tracepoint.
1021 * target.h (struct target_ops)
1022 <to_supports_enable_disable_tracepoint>: Use
1023 TARGET_DEFAULT_RETURN.
1025 2014-02-19 Tom Tromey <tromey@redhat.com>
1027 * target-delegates.c: Rebuild.
1028 * target.c (update_current_target): Don't inherit or default
1029 to_supports_multi_process.
1030 * target.h (struct target_ops) <to_supports_multi_process>: Use
1031 TARGET_DEFAULT_RETURN.
1033 2014-02-19 Tom Tromey <tromey@redhat.com>
1035 * target-delegates.c: Rebuild.
1036 * target.c (update_current_target): Don't inherit or default
1037 to_get_ada_task_ptid.
1038 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
1039 TARGET_DEFAULT_FUNC.
1041 2014-02-19 Tom Tromey <tromey@redhat.com>
1043 * target-delegates.c: Rebuild.
1044 * target.c (update_current_target): Don't inherit or default
1045 to_thread_architecture.
1046 * target.h (struct target_ops) <to_thread_architecture>: Use
1047 TARGET_DEFAULT_FUNC.
1049 2014-02-19 Tom Tromey <tromey@redhat.com>
1051 * target-delegates.c: Rebuild.
1052 * target.c (update_current_target): Don't inherit or default
1053 to_execution_direction.
1054 * target.h (struct target_ops) <to_execution_direction>: Use
1055 TARGET_DEFAULT_FUNC.
1057 2014-02-19 Tom Tromey <tromey@redhat.com>
1059 * target-delegates.c: Rebuild.
1060 * target.c (update_current_target): Don't inherit or default
1061 to_can_execute_reverse.
1062 * target.h (struct target_ops) <to_can_execute_reverse>: Use
1063 TARGET_DEFAULT_RETURN.
1064 (target_can_execute_reverse): Unconditionally delegate.
1066 2014-02-19 Tom Tromey <tromey@redhat.com>
1068 * target-delegates.c: Rebuild.
1069 * target.c (update_current_target): Don't inherit or default
1071 (dummy_goto_bookmark): Remove.
1072 (init_dummy_target): Don't inherit or default to_goto_bookmark.
1073 * target.h (struct target_ops) <to_goto_bookmark>: Use
1074 TARGET_DEFAULT_NORETURN.
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
1081 (dummy_get_bookmark): Remove.
1082 (init_dummy_target): Don't inherit or default to_get_bookmark.
1083 * target.h (struct target_ops) <to_get_bookmark>: Use
1084 TARGET_DEFAULT_NORETURN
1086 2014-02-19 Tom Tromey <tromey@redhat.com>
1088 * target-delegates.c: Rebuild.
1089 * target.c (update_current_target): Don't inherit or default
1090 to_make_corefile_notes.
1091 (init_dummy_target): Don't initialize to_make_corefile_notes.
1092 * target.h (struct target_ops) <to_make_corefile_notes>: Use
1093 TARGET_DEFAULT_FUNC.
1095 2014-02-19 Tom Tromey <tromey@redhat.com>
1097 * target-delegates.c: Rebuild.
1098 * target.c (update_current_target): Don't inherit or default
1099 to_find_memory_regions.
1100 (init_dummy_target): Don't initialize to_find_memory_regions.
1101 * target.h (struct target_ops) <to_find_memory_regions>: Use
1102 TARGET_DEFAULT_FUNC.
1104 2014-02-19 Tom Tromey <tromey@redhat.com>
1106 * target-delegates.c: Rebuild.
1107 * target.c (update_current_target): Don't inherit or default
1109 * target.h (struct target_ops) <to_log_command>: Use
1110 TARGET_DEFAULT_IGNORE.
1111 (target_log_command): Unconditionally delegate.
1113 2014-02-19 Tom Tromey <tromey@redhat.com>
1115 * target-delegates.c: Rebuild.
1116 * target.c (update_current_target): Don't inherit or default
1117 to_pid_to_exec_file.
1118 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
1119 TARGET_DEFAULT_RETURN.
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
1126 (target_thread_name): Unconditionally delegate.
1127 * target.h (struct target_ops) <to_thread_name>: Use
1128 TARGET_DEFAULT_RETURN.
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_extra_thread_info.
1135 * target.h (struct target_ops) <to_extra_thread_info>: Use
1136 TARGET_DEFAULT_RETURN.
1138 2014-02-19 Tom Tromey <tromey@redhat.com>
1140 * target-delegates.c: Rebuild.
1141 * target.c (update_current_target): Don't inherit or default
1143 * target.h (struct target_ops) <to_has_exited>: Use
1144 TARGET_DEFAULT_RETURN..
1146 2014-02-19 Tom Tromey <tromey@redhat.com>
1148 * target-delegates.c: Rebuild.
1149 * target.c (update_current_target): Don't inherit or default
1150 to_set_syscall_catchpoint.
1151 (return_one): Remove.
1152 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
1153 TARGET_DEFAULT_RETURN.
1155 2014-02-19 Tom Tromey <tromey@redhat.com>
1157 * target-delegates.c: Rebuild.
1158 * target.c (update_current_target): Don't inherit or default
1159 to_insert_exec_catchpoint.
1160 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1161 TARGET_DEFAULT_RETURN.
1163 2014-01-08 Tom Tromey <tromey@redhat.com>
1165 * target-delegates.c: Rebuild.
1166 * target.c (update_current_target): Don't inherit or default
1167 to_insert_exec_catchpoint.
1168 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1169 TARGET_DEFAULT_RETURN.
1171 2014-02-19 Tom Tromey <tromey@redhat.com>
1173 * target-delegates.c: Rebuild.
1174 * target.c (update_current_target): Don't inherit or default
1175 to_remove_vfork_catchpoint.
1176 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
1177 TARGET_DEFAULT_RETURN.
1179 2014-02-19 Tom Tromey <tromey@redhat.com>
1181 * target-delegates.c: Rebuild.
1182 * target.c (update_current_target): Don't inherit or default
1183 to_insert_vfork_catchpoint.
1184 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
1185 TARGET_DEFAULT_RETURN.
1187 2014-02-19 Tom Tromey <tromey@redhat.com>
1189 * target-delegates.c: Rebuild.
1190 * target.c (update_current_target): Don't inherit or default
1191 to_remove_fork_catchpoint.
1192 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
1193 TARGET_DEFAULT_RETURN.
1195 2014-02-19 Tom Tromey <tromey@redhat.com>
1197 * target-delegates.c: Rebuild.
1198 * target.c (update_current_target): Don't inherit or default
1199 to_insert_fork_catchpoint.
1200 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
1201 TARGET_DEFAULT_RETURN.
1203 2014-02-19 Tom Tromey <tromey@redhat.com>
1205 * target-delegates.c: Rebuild.
1206 * target.c (update_current_target): Don't inherit or default
1207 to_post_startup_inferior.
1208 * target.h (struct target_ops) <to_post_startup_inferior>: Use
1209 TARGET_DEFAULT_IGNORE.
1211 2014-02-19 Tom Tromey <tromey@redhat.com>
1213 * target-delegates.c: Rebuild.
1214 * target.c (update_current_target): Don't inherit or default
1216 * target.h (struct target_ops) <to_load>: Use
1217 TARGET_DEFAULT_NORETURN.
1219 2014-02-19 Tom Tromey <tromey@redhat.com>
1221 * target-delegates.c: Rebuild.
1222 * target.c (update_current_target): Don't inherit or default
1224 * target.h (struct target_ops) <to_terminal_info>: Use
1225 TARGET_DEFAULT_FUNC.
1227 2014-02-19 Tom Tromey <tromey@redhat.com>
1229 * target-delegates.c: Rebuild.
1230 * target.c (update_current_target): Don't inherit or default
1231 to_terminal_save_ours.
1232 * target.h (struct target_ops) <to_terminal_save_ours>: Use
1233 TARGET_DEFAULT_IGNORE.
1235 2014-02-19 Tom Tromey <tromey@redhat.com>
1237 * target-delegates.c: Rebuild.
1238 * target.c (update_current_target): Don't inherit or default
1240 * target.h (struct target_ops) <to_terminal_ours>: Use
1241 TARGET_DEFAULT_IGNORE.
1243 2014-02-19 Tom Tromey <tromey@redhat.com>
1245 * target-delegates.c: Rebuild.
1246 * target.c (update_current_target): Don't inherit or default
1247 to_terminal_ours_for_output.
1248 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
1249 TARGET_DEFAULT_IGNORE.
1251 2014-02-19 Tom Tromey <tromey@redhat.com>
1253 * target-delegates.c: Rebuild.
1254 * target.c (update_current_target): Don't inherit or default
1255 to_terminal_inferior.
1256 * target.h (struct target_ops) <to_terminal_inferior>: Use
1257 TARGET_DEFAULT_IGNORE.
1259 2014-02-19 Tom Tromey <tromey@redhat.com>
1261 * target-delegates.c: Rebuild.
1262 * target.c (update_current_target): Don't inherit or default
1264 * target.h (struct target_ops) <to_terminal_init>: Use
1265 TARGET_DEFAULT_IGNORE.
1267 2014-02-19 Tom Tromey <tromey@redhat.com>
1269 * target-delegates.c: Rebuild.
1270 * target.c (update_current_target): Don't inherit or default
1271 to_can_accel_watchpoint_condition.
1272 * target.h (struct target_ops)
1273 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
1275 2014-02-19 Tom Tromey <tromey@redhat.com>
1277 * target-delegates.c: Rebuild.
1278 * target.c (update_current_target): Don't inherit or default
1279 to_region_ok_for_hw_watchpoint.
1280 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1281 Use TARGET_DEFAULT_FUNC.
1283 2014-02-19 Tom Tromey <tromey@redhat.com>
1285 * target-delegates.c: Rebuild.
1286 * target.c (update_current_target): Don't inherit or default
1287 to_watchpoint_addr_within_range.
1288 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
1289 Use TARGET_DEFAULT_FUNC.
1291 2014-02-19 Tom Tromey <tromey@redhat.com>
1293 * target-delegates.c: Rebuild.
1294 * target.c (update_current_target): Don't inherit or default
1295 to_remove_watchpoint.
1296 * target.h (struct target_ops) <to_remove_watchpoint>: Use
1297 TARGET_DEFAULT_NORETURN.
1299 2014-02-19 Tom Tromey <tromey@redhat.com>
1301 * target-delegates.c: Rebuild.
1302 * target.c (update_current_target): Don't inherit or default
1303 to_insert_watchpoint.
1304 * target.h (struct target_ops) <to_insert_watchpoint>: Use
1305 TARGET_DEFAULT_RETURN.
1307 2014-02-19 Tom Tromey <tromey@redhat.com>
1309 * target-delegates.c: Rebuild.
1310 * target.c (update_current_target): Don't inherit or default
1311 to_remove_hw_breakpoint.
1312 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
1313 TARGET_DEFAULT_RETURN.
1315 2014-02-19 Tom Tromey <tromey@redhat.com>
1317 * target-delegates.c: Rebuild.
1318 * target.c (update_current_target): Don't inherit or default
1319 to_insert_hw_breakpoint.
1320 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
1321 TARGET_DEFAULT_RETURN.
1323 2014-02-19 Tom Tromey <tromey@redhat.com>
1325 * target-delegates.c: Rebuild.
1326 * target.c (update_current_target): Don't inherit or default
1327 to_can_use_hw_breakpoint.
1328 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
1329 TARGET_DEFAULT_RETURN.
1331 2014-02-19 Tom Tromey <tromey@redhat.com>
1333 * target-delegates.c: Rebuild.
1334 * target.c (update_current_target): Don't inherit or default
1336 * target.h (struct target_ops) <to_files_info>: Use
1337 TARGET_DEFAULT_IGNORE.
1339 2014-02-19 Tom Tromey <tromey@redhat.com>
1341 * target-delegates.c: Rebuild.
1342 * target.c (update_current_target): Don't inherit or default
1344 * target.h (struct target_ops) <to_store>: Use
1345 TARGET_DEFAULT_NORETURN.
1347 2014-02-19 Tom Tromey <tromey@redhat.com>
1349 * target-delegates.c: Rebuild.
1350 * target.c (update_current_target): Don't inherit or default
1352 * target.h (struct target_ops) <to_post_attach>: Use
1353 TARGET_DEFAULT_IGNORE.
1355 2014-02-19 Tom Tromey <tromey@redhat.com>
1357 * target-delegates.c: Rebuild.
1358 * target.c (update_current_target): Don't inherit or default
1360 (default_rcmd): New function.
1361 (do_monitor_command): Unconditionally delegate.
1362 * target.h (struct target_ops) <to_rmcd>: Use
1363 TARGET_DEFAULT_FUNC.
1365 2014-02-19 Tom Tromey <tromey@redhat.com>
1367 * target-delegates.c: Rebuild.
1368 * target.c (init_dummy_target): Don't initialize to_attach.
1369 (target_attach): Unconditionally delegate.
1370 * target.h (struct target_ops) <to_attach>: Use
1371 TARGET_DEFAULT_FUNC.
1373 2014-02-19 Tom Tromey <tromey@redhat.com>
1375 * target-delegates.c: Rebuild.
1376 * target.c (target_detach): Unconditionally delegate.
1377 (init_dummy_target): Don't initialize to_detach.
1378 * target.h (struct target_ops) <to_detach>: Use
1379 TARGET_DEFAULT_IGNORE.
1381 2014-02-19 Tom Tromey <tromey@redhat.com>
1383 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1385 (target_augmented_libraries_svr4_read): Add argument.
1386 * target.c (update_current_target): Update.
1387 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
1390 2014-02-19 Tom Tromey <tromey@redhat.com>
1392 * target.h (struct target_ops) <to_call_history_range>: Add
1394 * target.c (target_call_history_range): Add argument.
1395 * record-btrace.c (record_btrace_call_history_range): Add 'self'
1397 (record_btrace_call_history_from): Update.
1399 2014-02-19 Tom Tromey <tromey@redhat.com>
1401 * target.h (struct target_ops) <to_call_history_from>: Add
1403 * target.c (target_call_history_from): Add argument.
1404 * record-btrace.c (record_btrace_call_history_from): Add 'self'
1407 2014-02-19 Tom Tromey <tromey@redhat.com>
1409 * target.h (struct target_ops) <to_call_history>: Add argument.
1410 * target.c (target_call_history): Add argument.
1411 * record-btrace.c (record_btrace_call_history): Add 'self'
1414 2014-02-19 Tom Tromey <tromey@redhat.com>
1416 * target.h (struct target_ops) <to_insn_history_range>: Add
1418 * target.c (target_insn_history_range): Add argument.
1419 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
1421 (record_btrace_insn_history_from): Update.
1423 2014-02-19 Tom Tromey <tromey@redhat.com>
1425 * target.h (struct target_ops) <to_insn_history_from>: Add
1427 * target.c (target_insn_history_from): Add argument.
1428 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
1431 2014-02-19 Tom Tromey <tromey@redhat.com>
1433 * target.h (struct target_ops) <to_insn_history>: Add argument.
1434 * target.c (target_insn_history): Add argument.
1435 * record-btrace.c (record_btrace_insn_history): Add 'self'
1438 2014-02-19 Tom Tromey <tromey@redhat.com>
1440 * target.h (struct target_ops) <to_goto_record>: Add argument.
1441 * target.c (target_goto_record): Add argument.
1442 * record-full.c (record_full_goto): Add 'self' argument.
1443 * record-btrace.c (record_btrace_goto): Add 'self' argument.
1445 2014-02-19 Tom Tromey <tromey@redhat.com>
1447 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
1448 * target.c (target_goto_record_end): Add argument.
1449 * record-full.c (record_full_goto_end): Add 'self' argument.
1450 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
1452 2014-02-19 Tom Tromey <tromey@redhat.com>
1454 * target.h (struct target_ops) <to_goto_record_begin>: Add
1456 * target.c (target_goto_record_begin): Add argument.
1457 * record-full.c (record_full_goto_begin): Add 'self' argument.
1458 * record-btrace.c (record_btrace_goto_begin): Add 'self'
1461 2014-02-19 Tom Tromey <tromey@redhat.com>
1463 * target.h (struct target_ops) <to_record_is_replaying>: Add
1465 * target.c (target_record_is_replaying): Add argument.
1466 * record-full.c (record_full_is_replaying): Add 'self' argument.
1467 * record-btrace.c (record_btrace_is_replaying): Add 'self'
1469 (record_btrace_xfer_partial, record_btrace_store_registers)
1470 (record_btrace_prepare_to_store, record_btrace_resume)
1471 (record_btrace_wait, record_btrace_decr_pc_after_break)
1472 (record_btrace_find_new_threads, record_btrace_thread_alive):
1475 2014-02-19 Tom Tromey <tromey@redhat.com>
1477 * target.h (struct target_ops) <to_delete_record>: Add argument.
1478 * target.c (target_delete_record): Add argument.
1479 * record-full.c (record_full_delete): Add 'self' argument.
1481 2014-02-19 Tom Tromey <tromey@redhat.com>
1483 * target.h (struct target_ops) <to_save_record>: Add argument.
1484 * target.c (target_save_record): Add argument.
1485 * record-full.c (record_full_save): Add 'self' argument.
1486 (record_full_save): Add 'self' argument.
1488 2014-02-19 Tom Tromey <tromey@redhat.com>
1490 * target.h (struct target_ops) <to_info_record>: Add argument.
1491 * target.c (target_info_record): Add argument.
1492 * record.c (info_record_command): Add argument.
1493 * record-full.c (record_full_info): Add 'self' argument.
1494 * record-btrace.c (record_btrace_info): Add 'self' argument.
1496 2014-02-19 Tom Tromey <tromey@redhat.com>
1498 * target.h (struct target_ops) <to_stop_recording>: Add argument.
1499 * target.c (target_stop_recording): Add argument.
1500 * record.c (record_stop): Add argument.
1501 * record-btrace.c (record_btrace_stop_recording): Add 'self'
1504 2014-02-19 Tom Tromey <tromey@redhat.com>
1506 * target.h (struct target_ops) <to_read_btrace>: Add argument.
1507 * target.c (struct target_ops) <to_read_btrace>: Add argument.
1508 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
1510 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
1511 (_initialize_amd64_linux_nat): Use it.
1512 * i386-linux-nat.c (i386_linux_read_btrace): New function.
1513 (_initialize_i386_linux_nat): Use it.
1515 2014-02-19 Tom Tromey <tromey@redhat.com>
1517 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
1518 * target.c (target_teardown_btrace): Add argument.
1519 * remote.c (remote_teardown_btrace): Add 'self' argument.
1520 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
1522 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
1525 2014-02-19 Tom Tromey <tromey@redhat.com>
1527 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
1528 * target.c (target_disable_btrace): Add argument.
1529 * remote.c (remote_disable_btrace): Add 'self' argument.
1530 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
1532 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
1535 2014-02-19 Tom Tromey <tromey@redhat.com>
1537 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
1538 * target.c (target_enable_btrace): Add argument.
1539 * remote.c (remote_enable_btrace): Add 'self' argument.
1540 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
1542 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
1545 2014-02-19 Tom Tromey <tromey@redhat.com>
1547 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
1548 (target_can_use_agent): Add argument.
1549 * target.c (update_current_target): Update.
1550 * remote.c (remote_can_use_agent): Add 'self' argument.
1551 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
1553 2014-02-19 Tom Tromey <tromey@redhat.com>
1555 * target.h (struct target_ops) <to_use_agent>: Add argument.
1556 (target_use_agent): Add argument.
1557 * target.c (update_current_target): Update.
1558 * remote.c (remote_use_agent): Add 'self' argument.
1559 * inf-child.c (inf_child_use_agent): Add 'self' argument.
1561 2014-02-19 Tom Tromey <tromey@redhat.com>
1563 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
1564 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
1565 (target_traceframe_info): Add argument.
1566 * target.c (update_current_target): Update.
1567 * remote.c (remote_traceframe_info): Add 'self' argument.
1568 * ctf.c (ctf_traceframe_info): Add 'self' argument.
1570 2014-02-19 Tom Tromey <tromey@redhat.com>
1572 * target.h (target_static_tracepoint_markers_by_strid): Add
1574 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
1576 * target.c (update_current_target): Update.
1577 * remote.c (struct target_ops)
1578 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1579 * linux-nat.c (struct target_ops)
1580 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1582 2014-02-19 Tom Tromey <tromey@redhat.com>
1584 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1586 (target_static_tracepoint_marker_at): Add argument.
1587 * target.c (update_current_target): Update.
1588 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
1591 2014-02-19 Tom Tromey <tromey@redhat.com>
1593 * target.h (struct target_ops) <to_set_permissions>: Add argument.
1594 (target_set_permissions): Add argument.
1595 * target.c (update_current_target): Update.
1596 * remote.c (remote_set_permissions): Add 'self' argument.
1597 (remote_start_remote): Update.
1599 2014-02-19 Tom Tromey <tromey@redhat.com>
1601 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
1602 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
1603 (target_get_tib_address): Add argument.
1604 * target.c (update_current_target): Update.
1605 * remote.c (remote_get_tib_address): Add 'self' argument.
1607 2014-02-19 Tom Tromey <tromey@redhat.com>
1609 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
1610 (target_set_trace_notes): Add argument.
1611 * target.c (update_current_target): Update.
1612 * remote.c (remote_set_trace_notes): Add 'self' argument.
1614 2014-02-19 Tom Tromey <tromey@redhat.com>
1616 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
1618 (target_set_trace_buffer_size): Add argument.
1619 * target.c (update_current_target): Update.
1620 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
1622 2014-02-19 Tom Tromey <tromey@redhat.com>
1624 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
1626 (target_set_circular_trace_buffer): Add argument.
1627 * target.c (update_current_target): Update.
1628 * remote.c (remote_set_circular_trace_buffer): Add 'self'
1631 2014-02-19 Tom Tromey <tromey@redhat.com>
1633 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
1635 (target_set_disconnected_tracing): Add argument.
1636 * target.c (update_current_target): Update.
1637 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
1639 2014-02-19 Tom Tromey <tromey@redhat.com>
1641 * target.h (struct target_ops)
1642 <to_get_min_fast_tracepoint_insn_len>: Add argument.
1643 (target_get_min_fast_tracepoint_insn_len): Add argument.
1644 * target.c (update_current_target): Update.
1645 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
1648 2014-02-19 Tom Tromey <tromey@redhat.com>
1650 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
1652 (target_get_raw_trace_data): Add argument.
1653 * target.c (update_current_target): Update.
1654 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
1656 2014-02-19 Tom Tromey <tromey@redhat.com>
1658 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1660 (target_upload_trace_state_variables): Add argument.
1661 * target.c (update_current_target): Update.
1662 * remote.c (remote_upload_trace_state_variables): Add 'self'
1664 (remote_start_remote): Update.
1666 2014-02-19 Tom Tromey <tromey@redhat.com>
1668 * target.h (struct target_ops) <to_upload_tracepoints>: Add
1670 (target_upload_tracepoints): Add argument.
1671 * target.c (update_current_target): Update.
1672 * remote.c (remote_upload_tracepoints): Add 'self' argument.
1673 (remote_start_remote): Update.
1675 2014-02-19 Tom Tromey <tromey@redhat.com>
1677 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
1678 (target_save_trace_data): Add argument.
1679 * target.c (update_current_target): Update.
1680 * remote.c (remote_save_trace_data): Add 'self' argument.
1682 2014-02-19 Tom Tromey <tromey@redhat.com>
1684 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
1686 * target.h (struct target_ops)
1687 <to_get_trace_state_variable_value>: Add argument.
1688 (target_get_trace_state_variable_value): Add argument.
1689 * target.c (update_current_target): Update.
1690 * remote.c (remote_get_trace_state_variable_value): Add 'self'
1692 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
1694 2014-02-19 Tom Tromey <tromey@redhat.com>
1696 * tracepoint.c (tfile_trace_find): Add 'self' argument.
1697 * target.h (struct target_ops) <to_trace_find>: Add argument.
1698 (target_trace_find): Add argument.
1699 * target.c (update_current_target): Update.
1700 * remote.c (remote_trace_find): Add 'self' argument.
1701 * ctf.c (ctf_trace_find): Add 'self' argument.
1703 2014-02-19 Tom Tromey <tromey@redhat.com>
1705 * target.h (struct target_ops) <to_trace_stop>: Add argument.
1706 (target_trace_stop): Add argument.
1707 * target.c (update_current_target): Update.
1708 * remote.c (remote_trace_stop): Add 'self' argument.
1710 2014-02-19 Tom Tromey <tromey@redhat.com>
1712 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
1713 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
1715 (target_get_tracepoint_status): Add argument.
1716 * target.c (update_current_target): Update.
1717 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
1719 2014-02-19 Tom Tromey <tromey@redhat.com>
1721 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
1722 * target.h (struct target_ops) <to_get_trace_status>: Add
1724 (target_get_trace_status): Add argument.
1725 * target.c (update_current_target): Update.
1726 * remote.c (remote_get_trace_status): Add 'self' argument.
1727 (remote_start_remote, remote_can_download_tracepoint): Update.
1728 * ctf.c (ctf_get_trace_status): Add 'self' argument.
1730 2014-02-19 Tom Tromey <tromey@redhat.com>
1732 * target.h (struct target_ops) <to_trace_start>: Add argument.
1733 (target_trace_start): Add argument.
1734 * target.c (update_current_target): Update.
1735 * remote.c (remote_trace_start): Add 'self' argument.
1737 2014-02-19 Tom Tromey <tromey@redhat.com>
1739 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1741 (target_trace_set_readonly_regions): Add argument.
1742 * target.c (update_current_target): Update.
1743 * remote.c (remote_trace_set_readonly_regions): Add 'self'
1746 2014-02-19 Tom Tromey <tromey@redhat.com>
1748 * target.h (struct target_ops) <to_disable_tracepoint>: Add
1750 (target_disable_tracepoint): Add argument.
1751 * target.c (update_current_target): Update.
1752 * remote.c (remote_disable_tracepoint): Add 'self' argument.
1754 2014-02-19 Tom Tromey <tromey@redhat.com>
1756 * target.h (struct target_ops) <to_enable_tracepoint>: Add
1758 (target_enable_tracepoint): Add argument.
1759 * target.c (update_current_target): Update.
1760 * remote.c (remote_enable_tracepoint): Add 'self' argument.
1762 2014-02-19 Tom Tromey <tromey@redhat.com>
1764 * target.h (struct target_ops) <to_download_trace_state_variable>:
1766 (target_download_trace_state_variable): Add argument.
1767 * target.c (update_current_target): Update.
1768 * remote.c (remote_download_trace_state_variable): Add 'self'
1771 2014-02-19 Tom Tromey <tromey@redhat.com>
1773 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
1775 (target_can_download_tracepoint): Add argument.
1776 * target.c (update_current_target): Update.
1777 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
1779 2014-02-19 Tom Tromey <tromey@redhat.com>
1781 * target.h (struct target_ops) <to_download_tracepoint>: Add
1783 (target_download_tracepoint): Add argument.
1784 * target.c (update_current_target): Update.
1785 * remote.c (remote_download_tracepoint): Add 'self' argument.
1787 2014-02-19 Tom Tromey <tromey@redhat.com>
1789 * target.h (struct target_ops) <to_trace_init>: Add argument.
1790 (target_trace_init): Add argument.
1791 * target.c (update_current_target): Update.
1792 * remote.c (remote_trace_init): Add 'self' argument.
1794 2014-02-19 Tom Tromey <tromey@redhat.com>
1796 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1797 * target.c (target_fileio_readlink): Add argument.
1798 * remote.c (remote_hostio_readlink): Add 'self' argument.
1799 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1801 2014-02-19 Tom Tromey <tromey@redhat.com>
1803 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1804 * target.c (target_fileio_unlink): Add argument.
1805 * remote.c (remote_hostio_unlink): Add 'self' argument.
1806 (remote_file_delete): Update.
1807 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1809 2014-02-19 Tom Tromey <tromey@redhat.com>
1811 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1812 * target.c (target_fileio_close): Add argument.
1813 * remote.c (remote_hostio_close): Add 'self' argument.
1814 (remote_hostio_close_cleanup): Update.
1815 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1817 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1819 2014-02-19 Tom Tromey <tromey@redhat.com>
1821 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1822 * target.c (target_fileio_pread): Add argument.
1823 * remote.c (remote_hostio_pread): Add 'self' argument.
1824 (remote_bfd_iovec_pread, remote_file_get): Update.
1825 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1827 2014-02-19 Tom Tromey <tromey@redhat.com>
1829 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1830 * target.c (target_fileio_pwrite): Add argument.
1831 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1832 (remote_file_put): Update.
1833 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1835 2014-02-19 Tom Tromey <tromey@redhat.com>
1837 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1838 * target.c (target_fileio_open): Add argument.
1839 * remote.c (remote_hostio_open): Add 'self' argument.
1840 (remote_bfd_iovec_open): Add 'self' argument.
1841 (remote_file_put): Add 'self' argument.
1842 (remote_file_get): Add 'self' argument.
1843 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1845 2014-02-19 Tom Tromey <tromey@redhat.com>
1847 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1849 (target_can_run_breakpoint_commands): Add argument.
1850 * target.c (update_current_target): Update.
1851 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1853 (remote_insert_breakpoint): Add 'self' argument.
1854 (remote_insert_hw_breakpoint): Add 'self' argument.
1855 (remote_can_run_breakpoint_commands): Add 'self' argument.
1857 2014-02-19 Tom Tromey <tromey@redhat.com>
1859 * target.h (struct target_ops)
1860 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1861 (target_supports_evaluation_of_breakpoint_conditions): Add
1863 * target.c (update_current_target): Update.
1864 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1866 (remote_insert_breakpoint): Add 'self' argument.
1867 (remote_insert_hw_breakpoint): Add 'self' argument.
1868 (remote_supports_cond_breakpoints): Add 'self' argument.
1870 2014-02-19 Tom Tromey <tromey@redhat.com>
1872 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1874 (target_supports_string_tracing): Add argument.
1875 * target.c (update_current_target): Update.
1876 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1878 2014-02-19 Tom Tromey <tromey@redhat.com>
1880 * target.h (struct target_ops)
1881 <to_supports_disable_randomization>: Add argument.
1882 * target.c (find_default_supports_disable_randomization): Add
1884 (target_supports_disable_randomization): Add argument.
1885 (find_default_supports_disable_randomization): Add 'self'
1887 * remote.c (extended_remote_supports_disable_randomization): Add
1889 (remote_supports_disable_randomization): Add 'self' argument.
1890 (extended_remote_create_inferior): Update.
1891 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1894 2014-02-19 Tom Tromey <tromey@redhat.com>
1896 * target.h (struct target_ops)
1897 <to_supports_enable_disable_tracepoint>: Add argument.
1898 (target_supports_enable_disable_tracepoint): Add argument.
1899 * target.c (update_current_target): Update.
1900 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1903 2014-02-19 Tom Tromey <tromey@redhat.com>
1905 * target.h (struct target_ops) <to_supports_multi_process>: Add
1907 (target_supports_multi_process): Add argument.
1908 * target.c (update_current_target): Update.
1909 * remote.c (remote_supports_multi_process): Add 'self' argument.
1910 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1912 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1915 2014-02-19 Tom Tromey <tromey@redhat.com>
1917 * target.h (struct target_ops) <to_execution_direction>: Add
1919 (target_execution_direction): Add argument.
1920 * target.c (default_execution_direction): Add 'self' argument.
1921 * record-full.c (record_full_execution_direction): Add 'self'
1924 2014-02-19 Tom Tromey <tromey@redhat.com>
1926 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1928 (target_can_execute_reverse): Add argument.
1929 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1930 * record-full.c (record_full_can_execute_reverse): Add 'self'
1932 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1935 2014-02-19 Tom Tromey <tromey@redhat.com>
1937 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1938 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1940 (target_get_ada_task_ptid): Add argument.
1941 * target.c (update_current_target): Update.
1942 (default_get_ada_task_ptid): Add 'self' argument.
1943 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1944 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1945 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1947 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1949 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1951 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1953 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1954 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1957 2014-02-19 Tom Tromey <tromey@redhat.com>
1959 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1960 (target_goto_bookmark): Add argument.
1961 * target.c (dummy_goto_bookmark): Add 'self' argument.
1962 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1964 2014-02-19 Tom Tromey <tromey@redhat.com>
1966 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1967 (target_get_bookmark): Add argument.
1968 * target.c (dummy_get_bookmark): Add 'self' argument.
1969 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1971 2014-02-19 Tom Tromey <tromey@redhat.com>
1973 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1975 (target_make_corefile_notes): Add argument.
1976 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1977 * procfs.c (procfs_make_note_section): Add 'self' argument.
1978 (procfs_make_note_section): Add 'self' argument.
1979 (procfs_make_note_section): Add 'self' argument.
1980 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1982 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1983 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1984 * exec.c (exec_make_note_section): Add 'self' argument.
1985 (exec_make_note_section): Add 'self' argument.
1987 2014-02-19 Tom Tromey <tromey@redhat.com>
1989 * target.h (struct target_ops) <to_find_memory_regions>: Add
1991 (target_find_memory_regions): Add argument.
1992 * target.c (dummy_find_memory_regions): Add 'self' argument.
1993 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1994 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1995 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1996 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1997 * exec. (exec_do_find_memory_regions): New global.
1998 (exec_set_find_memory_regions): Rewrite.
1999 (exec_find_memory_regions): New function.
2000 (init_exec_ops): Use exec_find_memory_regions.
2002 2014-02-19 Tom Tromey <tromey@redhat.com>
2004 * target.h (struct target_ops) <to_supports_non_stop>: Add
2006 * target.c (find_default_supports_non_stop): Add argument.
2007 (target_supports_non_stop): Add argument.
2008 (find_default_supports_non_stop): Add 'self' argument.
2009 * remote.c (remote_supports_non_stop): Add 'self' argument.
2010 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
2012 2014-02-19 Tom Tromey <tromey@redhat.com>
2014 * target.h (struct target_ops) <to_log_command>: Add argument.
2015 (target_log_command): Add argument.
2016 * serial.h (serial_log_command): Add 'self' argument.
2017 * serial.c (serial_log_command): Add 'self' argument.
2019 2014-02-19 Tom Tromey <tromey@redhat.com>
2021 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
2022 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
2024 (target_pid_to_exec_file): Add argument.
2025 * target.c (debug_to_pid_to_exec_file): Add argument.
2026 (update_current_target): Update.
2027 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
2028 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
2029 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
2030 (linux_handle_extended_wait): Update.
2031 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
2032 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
2033 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
2034 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
2036 2014-02-19 Tom Tromey <tromey@redhat.com>
2038 * target.h (struct target_ops) <to_rcmd>: Add argument.
2039 (target_rcmd): Add argument.
2040 * target.c (debug_to_rcmd): Add argument.
2041 (update_current_target, do_monitor_command): Update.
2042 * remote.c (remote_rcmd): Add 'self' argument.
2043 * monitor.c (monitor_rcmd): Add 'self' argument.
2045 2014-02-19 Tom Tromey <tromey@redhat.com>
2047 * windows-nat.c (windows_stop): Add 'self' argument.
2048 * target.h (struct target_ops) <to_stop>: Add argument.
2049 * target.c (target_stop): Add argument.
2050 (debug_to_stop): Add argument.
2051 (update_current_target): Update.
2052 * remote.c (remote_stop): Add 'self' argument.
2053 * remote-sim.c (gdbsim_stop): Add 'self' argument.
2054 (gdbsim_cntrl_c): Update.
2055 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
2056 * procfs.c (procfs_stop): Add 'self' argument.
2057 * nto-procfs.c (procfs_stop): Add 'self' argument.
2058 * monitor.c (monitor_stop): Add 'self' argument.
2059 (monitor_open): Update.
2060 * linux-nat.c (linux_nat_stop): Add argument.
2061 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
2062 * gnu-nat.c (gnu_stop): Add 'self' argument.
2063 * darwin-nat.c (darwin_stop): Add 'self' argument.
2065 2014-02-19 Tom Tromey <tromey@redhat.com>
2067 * target.h (struct target_ops) <to_thread_name>: Add argument.
2068 * target.c (target_thread_name): Add argument.
2069 (update_current_target): Update.
2070 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
2072 2014-02-19 Tom Tromey <tromey@redhat.com>
2074 * target.h (struct target_ops) <to_extra_thread_info>: Add
2076 (target_extra_thread_info): Add argument.
2077 * target.c (update_current_target): Update.
2078 * remote.c (remote_threads_extra_info): Add 'self' argument.
2079 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
2081 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
2082 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
2083 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
2085 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
2087 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
2089 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
2092 2014-02-19 Tom Tromey <tromey@redhat.com>
2094 * target.h (struct target_ops) <to_program_signals>: Add argument.
2095 * target.c (target_program_signals): Add argument.
2096 * remote.c (remote_program_signals): Add 'self' argument.
2098 2014-02-19 Tom Tromey <tromey@redhat.com>
2100 * target.h (struct target_ops) <to_pass_signals>: Add argument.
2101 * target.c (target_pass_signals): Add argument.
2102 * remote.c (remote_pass_signals): Add 'self' argument.
2103 (remote_start_remote): Update.
2104 * procfs.c (procfs_pass_signals): Add 'self' argument.
2105 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
2106 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
2107 (linux_nat_create_inferior, linux_nat_attach): Update.
2109 2014-02-19 Tom Tromey <tromey@redhat.com>
2111 * windows-nat.c (windows_can_run): Add 'self' argument.
2112 * target.h (struct target_ops) <to_can_run>: Add argument.
2113 (target_can_run): Add argument.
2114 * target.c (debug_to_can_run): Add argument.
2115 (update_current_target): Update.
2116 * nto-procfs.c (procfs_can_run): Add 'self' argument.
2117 * inf-child.c (inf_child_can_run): Add 'self' argument.
2118 * go32-nat.c (go32_can_run): Add 'self' argument.
2120 2014-02-19 Tom Tromey <tromey@redhat.com>
2122 * target.h (struct target_ops) <to_has_exited>: Add argument.
2123 (target_has_exited): Add argument.
2124 * target.c (debug_to_has_exited): Add argument.
2125 (update_current_target): Update.
2127 2014-02-19 Tom Tromey <tromey@redhat.com>
2129 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
2131 (target_set_syscall_catchpoint): Add argument.
2132 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
2134 * target.c (update_current_target): Update.
2136 2014-02-19 Tom Tromey <tromey@redhat.com>
2138 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
2140 (target_remove_exec_catchpoint): Add argument.
2141 * target.c (debug_to_remove_exec_catchpoint): Add argument.
2142 (update_current_target): Update.
2143 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
2146 2014-02-19 Tom Tromey <tromey@redhat.com>
2148 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
2150 (target_insert_exec_catchpoint): Add argument.
2151 * target.c (debug_to_insert_exec_catchpoint): Add argument.
2152 (update_current_target): Update.
2153 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
2156 2014-02-19 Tom Tromey <tromey@redhat.com>
2158 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
2160 (target_remove_vfork_catchpoint): Add argument.
2161 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
2162 (update_current_target): Update.
2163 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
2166 2014-02-19 Tom Tromey <tromey@redhat.com>
2168 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
2170 (target_insert_vfork_catchpoint): Add argument.
2171 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
2172 (update_current_target): Update.
2173 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
2176 2014-02-19 Tom Tromey <tromey@redhat.com>
2178 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
2180 (target_remove_fork_catchpoint): Add argument.
2181 * target.c (debug_to_remove_fork_catchpoint): Add argument.
2182 (update_current_target): Update.
2183 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
2186 2014-02-19 Tom Tromey <tromey@redhat.com>
2188 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
2190 (target_insert_fork_catchpoint): Add argument.
2191 * target.c (debug_to_insert_fork_catchpoint): Add argument.
2192 (update_current_target): Update.
2193 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
2196 2014-02-19 Tom Tromey <tromey@redhat.com>
2198 * target.h (struct target_ops) <to_post_startup_inferior>: Add
2200 (target_post_startup_inferior): Add argument.
2201 * target.c (debug_to_post_startup_inferior): Add argument.
2202 (update_current_target): Update.
2203 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
2205 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
2207 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
2209 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
2211 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
2213 (super_post_startup_inferior): Likewise.
2214 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
2216 (super_post_startup_inferior): Likewise.
2217 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
2218 Add 'self' argument.
2219 (super_post_startup_inferior): Likewise.
2221 2014-02-19 Tom Tromey <tromey@redhat.com>
2223 * target.h (struct target_ops) <to_load>: Add argument.
2224 * target.c (target_load): Add argument.
2225 (debug_to_load): Add argument.
2226 (update_current_target): Update.
2227 * remote.c (remote_load): Add 'self' argument.
2228 * remote-sim.c (gdbsim_load): Add 'self' argument.
2229 * remote-mips.c (mips_load): Add 'self' argument.
2230 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
2231 * monitor.c (monitor_load): Add 'self' argument.
2232 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
2234 2014-02-19 Tom Tromey <tromey@redhat.com>
2236 * target.h (struct target_ops) <to_terminal_info>: Add argument.
2237 (target_terminal_info): Add argument.
2238 * target.c (debug_to_terminal_info): Add argument.
2239 (default_terminal_info): Likewise.
2240 * inflow.c (child_terminal_info): Add 'self' argument.
2241 * inferior.h (child_terminal_info): Add 'self' argument.
2242 * go32-nat.c (go32_terminal_info): Add 'self' argument.
2244 2014-02-19 Tom Tromey <tromey@redhat.com>
2246 * target.h (struct target_ops) <to_terminal_save_ours>: Add
2248 (target_terminal_save_ours): Add argument.
2249 * target.c (debug_to_terminal_save_ours): Add argument.
2250 (update_current_target): Update.
2251 * inflow.c (terminal_save_ours): Add 'self' argument.
2252 * inferior.h (terminal_save_ours): Add 'self' argument.
2254 2014-02-19 Tom Tromey <tromey@redhat.com>
2256 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
2257 (target_terminal_ours): Add argument.
2258 * target.c (debug_to_terminal_ours): Add argument.
2259 (update_current_target): Update.
2260 * remote.c (remote_terminal_ours): Add 'self' argument.
2261 (remote_close): Update.
2262 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
2263 * inflow.c (terminal_ours): Add 'self' argument.
2264 * inferior.h (terminal_ours): Add 'self' argument.
2265 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2267 2014-02-19 Pedro Alves <palves@redhat.com>
2268 Tom Tromey <tromey@redhat.com>
2270 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
2272 (target_terminal_ours_for_output): Add argument.
2273 * target.c (debug_to_terminal_ours_for_output): Add argument.
2274 (update_current_target): Update.
2275 * inflow.c (terminal_ours_for_output): Add 'self' argument.
2276 * inferior.h (terminal_ours_for_output): Add 'self' argument.
2277 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2279 2014-02-19 Tom Tromey <tromey@redhat.com>
2281 * target.h (struct target_ops) <to_terminal_inferior>: Add
2283 * target.c (target_terminal_inferior): Add argument.
2284 (update_current_target): Update.
2285 * remote.c (remote_terminal_inferior): Add 'self' argument.
2286 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
2287 * inflow.c (terminal_inferior): Add 'self' argument.
2288 * inferior.h (terminal_inferior): Add 'self' argument.
2289 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
2290 (go32_terminal_inferior): Add 'self' argument.
2292 2014-02-19 Tom Tromey <tromey@redhat.com>
2294 * target.h (struct target_ops) <to_terminal_init>: Add argument.
2295 (target_terminal_init): Add argument.
2296 * target.c (debug_to_terminal_init): Add argument.
2297 (update_current_target): Update.
2298 * inflow.c (terminal_init_inferior): Add 'self' argument.
2299 * inferior.h (terminal_init_inferior): Add 'self' argument.
2300 * go32-nat.c (go32_terminal_init): Add 'self' argument.
2301 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
2303 2014-02-19 Tom Tromey <tromey@redhat.com>
2305 * target.h (struct target_ops)
2306 <to_can_accel_watchpoint_condition>: Add argument.
2307 (target_can_accel_watchpoint_condition): Add argument.
2308 * target.c (debug_to_can_accel_watchpoint_condition): Add
2310 (update_current_target): Update.
2311 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
2314 2014-02-19 Tom Tromey <tromey@redhat.com>
2316 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2318 (target_region_ok_for_hw_watchpoint): Add argument.
2319 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
2320 (default_region_ok_for_hw_watchpoint): Add argument.
2321 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
2322 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
2324 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
2326 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
2328 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
2330 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
2332 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
2334 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
2335 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
2337 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
2338 Add 'self' argument.
2340 2014-02-19 Tom Tromey <tromey@redhat.com>
2342 * target.h (struct target_ops) <to_insert_watchpoint>: Add
2344 (target_insert_watchpoint): Add argument.
2345 * target.c (debug_to_insert_watchpoint): Add argument.
2346 (update_current_target): Update.
2347 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
2348 * remote.c (remote_insert_watchpoint): Add 'self' argument.
2349 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
2350 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
2351 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
2352 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
2354 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
2355 (procfs_insert_hw_watchpoint): Add 'self' argument.
2356 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
2358 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
2360 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
2362 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
2363 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
2365 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
2368 2014-02-19 Tom Tromey <tromey@redhat.com>
2370 * target.h (struct target_ops) <to_remove_watchpoint>: Add
2372 (target_remove_watchpoint): Add argument.
2373 * target.c (debug_to_remove_watchpoint): Add argument.
2374 (update_current_target): Update.
2375 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
2376 * remote.c (remote_remove_watchpoint): Add 'self' argument.
2377 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
2378 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
2379 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
2380 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
2382 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
2383 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
2385 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
2387 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
2389 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
2390 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
2392 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
2395 2014-02-19 Tom Tromey <tromey@redhat.com>
2397 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
2399 (target_remove_hw_breakpoint): Add argument.
2400 * target.c (debug_to_remove_hw_breakpoint): Add argument.
2401 (update_current_target): Update.
2402 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
2403 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
2405 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
2406 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
2408 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
2411 2014-02-19 Tom Tromey <tromey@redhat.com>
2413 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
2415 (target_insert_hw_breakpoint): Add argument.
2416 * target.c (debug_to_insert_hw_breakpoint): Add argument.
2417 (update_current_target): Update.
2418 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
2419 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
2421 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
2422 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
2423 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
2425 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
2428 2014-02-19 Tom Tromey <tromey@redhat.com>
2430 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
2432 (target_can_use_hardware_watchpoint): Add argument.
2433 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
2434 (update_current_target): Update.
2435 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
2437 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
2439 * remote.c (remote_check_watch_resources): Add 'self' argument.
2440 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
2441 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
2443 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
2444 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
2446 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
2448 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
2450 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
2452 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
2454 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
2456 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
2457 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
2459 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
2462 2014-02-19 Tom Tromey <tromey@redhat.com>
2464 * target.h (struct target_ops) <to_post_attach>: Add argument.
2465 (target_post_attach): Add argument.
2466 * target.c (debug_to_post_attach): Add argument.
2467 (update_current_target): Update.
2468 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
2469 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
2470 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
2471 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
2472 * inf-child.c (inf_child_post_attach): Add 'self' argument.
2474 2014-02-19 Tom Tromey <tromey@redhat.com>
2476 * windows-nat.c (windows_close): Add 'self' argument.
2477 * tracepoint.c (tfile_close): Add 'self' argument.
2478 * target.h (struct target_ops) <to_close>: Add argument.
2479 * target.c (target_close): Add argument.
2480 (update_current_target): Update.
2481 * remote.c (remote_close): Add 'self' argument.
2482 * remote-sim.c (gdbsim_close): Add 'self' argument.
2483 * remote-mips.c (mips_close): Add 'self' argument.
2484 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
2485 * record-full.c (record_full_close): Add 'self' argument.
2486 * record-btrace.c (record_btrace_close): Add 'self' argument.
2487 * monitor.h (monitor_close): Add 'self' argument.
2488 * monitor.c (monitor_close): Add 'self' argument.
2489 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
2490 * linux-nat.c (linux_nat_close): Add argument.
2491 * go32-nat.c (go32_close): Add 'self' argument.
2492 * exec.c (exec_close_1): Add 'self' argument.
2493 * ctf.c (ctf_close): Add 'self' argument.
2494 * corelow.c (core_close): Add 'self' argument.
2495 (core_close_cleanup): Update.
2496 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
2497 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
2499 2014-02-19 Tom Tromey <tromey@redhat.com>
2501 * remote.c (remote_load): New function.
2502 (init_remote_ops): Use it.
2504 2014-02-19 Tom Tromey <tromey@redhat.com>
2506 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
2508 * common/linux-btrace.h (linux_supports_btrace): Update.
2509 * remote.c (remote_supports_btrace): Add "self" argument.
2510 * target-delegates.c: Rebuild.
2511 * target.c (target_supports_btrace): Remove.
2512 * target.h (struct target_ops) <to_supports_btrace>: Add
2513 target_ops argument.
2514 (target_supports_btrace): New define.
2516 2014-02-19 Tom Tromey <tromey@redhat.com>
2518 * record-full.c (record_full_beneath_to_resume_ops)
2519 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
2520 (record_full_beneath_to_wait)
2521 (record_full_beneath_to_store_registers_ops)
2522 (record_full_beneath_to_store_registers)
2523 (record_full_beneath_to_xfer_partial_ops)
2524 (record_full_beneath_to_xfer_partial)
2525 (record_full_beneath_to_insert_breakpoint_ops)
2526 (record_full_beneath_to_insert_breakpoint)
2527 (record_full_beneath_to_remove_breakpoint_ops)
2528 (record_full_beneath_to_remove_breakpoint)
2529 (record_full_beneath_to_stopped_by_watchpoint)
2530 (record_full_beneath_to_stopped_data_address)
2531 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
2532 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
2533 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
2534 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
2535 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
2536 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
2537 (tmp_to_stopped_data_address, tmp_to_async): Remove.
2538 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
2539 (record_full_resume, record_full_wait_1)
2540 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
2541 (record_full_store_registers, record_full_xfer_partial)
2542 (record_full_insert_breakpoint, record_full_remove_breakpoint)
2543 (record_full_async, record_full_core_xfer_partial): Use target
2545 * target-delegates.c: Rebuild.
2546 * target.c (current_xfer_partial): Remove.
2547 (update_current_target): Do not INHERIT or de_fault
2548 to_insert_breakpoint, to_remove_breakpoint,
2549 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
2550 to_is_async_p, to_async. Do not set to_xfer_partial field.
2551 (default_xfer_partial): Simplify.
2552 (current_xfer_partial): Remove.
2553 (target_wait, target_resume): Simplify.
2554 (find_default_can_async_p, find_default_is_async_p): Update.
2555 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
2556 to_xfer_partial, to_stopped_by_watchpoint,
2557 to_stopped_data_address.
2558 (target_store_registers): Simplify.
2559 (forward_target_remove_breakpoint)
2560 (forward_target_insert_breakpoint): Remove.
2561 (target_remove_breakpoint, target_insert_breakpoint)
2562 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
2563 * target.h (struct target_ops) <to_resume, to_wait,
2564 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
2565 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
2566 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
2568 (forward_target_remove_breakpoint)
2569 (forward_target_insert_breakpoint): Remove.
2570 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
2572 (record_btrace_insert_breakpoint): Delegate directly.
2574 2014-02-19 Tom Tromey <tromey@redhat.com>
2577 * target-delegates.c: New file.
2578 * target.c: Include target-delegates.c.
2579 (init_dummy_target): Call install_dummy_methods.
2580 (complete_target_initialization): Call install_delegators.
2581 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
2582 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
2583 * make-target-delegates: New file.
2585 2014-02-19 Tom Tromey <tromey@redhat.com>
2587 * record.c (find_record_target): Use find_target_at.
2588 * target.c (find_target_at): New function.
2589 * target.h (find_target_at): Declare.
2591 2014-02-19 Tom Tromey <tromey@redhat.com>
2593 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
2595 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
2597 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
2598 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
2600 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
2602 * linux-nat.c (save_sigtrap): Update.
2603 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
2604 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
2605 (linux_nat_close): Update.
2606 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
2608 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
2610 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
2611 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
2612 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
2613 (tmp_to_async): Add 'ops' argument.
2614 (record_full_stopped_by_watchpoint, record_full_async)
2615 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
2617 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
2618 (m32r_stopped_by_watchpoint): Add 'ops' argument.
2619 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
2620 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
2621 (remote_is_async_p, remote_async): Add 'ops' argument.
2622 (remote_stopped_data_address): Update.
2623 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
2624 * target.c (update_current_target)
2625 (find_default_can_async_p, find_default_is_async_p): Update.
2626 (init_dummy_target): Update.
2627 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
2628 * target.h (struct target_ops) <to_stopped_by_watchpoint,
2629 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
2630 (target_can_async_p, target_is_async_p, target_async)
2631 (target_stopped_by_watchpoint): Update.
2633 2014-02-19 Yao Qi <yao@codesourcery.com>
2636 * gdbarch.sh: Remove startup_gdbarch.
2637 * gdbarch.c: Regenerated.
2638 * gdbarch.h: Likewise.
2640 2014-02-17 Kevin Buettner <kevinb@redhat.com>
2642 * rl78-tdep.c (rl78_g10_register_name): New function.
2643 (rl78_return_value): Add g10 support.
2644 (rl78_gdbarch_init): Register rl78_g10_register_name for the
2647 2014-02-17 Doug Evans <xdje42@gmail.com>
2649 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
2650 (SUBDIR_GUILE_SRCS): Ditto.
2651 (scm-gsmob.o): Ditto.
2653 2014-02-17 Yao Qi <yao@codesourcery.com>
2655 * gnu-nat.c (ILL_RPC): Declare defined function.
2657 2014-02-17 Yao Qi <yao@codesourcery.com>
2659 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
2660 mach_msg_type_number_t.
2661 (gnu_write_inferior): Likewise.
2663 2014-02-17 Yao Qi <yao@codesourcery.com>
2665 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
2667 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
2668 (inf_validate_procs, inf_signal): Likewise.
2669 (S_exception_raise_request): Likewise.
2670 (do_mach_notify_dead_name): Likewise.
2671 (steal_exc_port): Likewise.
2672 (gnu_read_inferior): Change 'copy_count''s type to
2673 mach_msg_type_number_t.
2674 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
2677 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
2679 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
2680 flag. Adjust all users; in particular...
2681 (gnu_wait): ..., don't decrement its value in here...
2682 (gnu_create_inferior): ..., and instead set the flag in here,
2683 around the startup_inferior call, and call that one with
2684 START_INFERIOR_TRAPS_EXPECTED.
2686 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
2687 (ILL_RPC): ... new macro.
2688 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
2689 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
2690 (do_mach_notify_send_once, S_proc_setmsgport_reply)
2691 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
2692 functions with ILL_RPC macro.
2693 (S_proc_pid2task_reply, S_proc_task2pid_reply)
2694 (S_proc_task2proc_reply, S_proc_proc2task_reply)
2695 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
2696 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
2697 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
2698 (S_proc_getlogin_reply, S_proc_getsid_reply)
2699 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
2700 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
2701 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
2702 (S_proc_getnports_reply, S_proc_is_important_reply)
2703 (S_proc_get_code_reply): New stub functions, generated with
2706 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
2707 collected the type check structures.
2709 * reply_mig_hack.awk: Don't expect to see the auto keyword.
2711 2014-02-14 Doug Evans <dje@google.com>
2713 * target.c (target_write_partial): Fix result type.
2715 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2717 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
2718 the proper offsets to access fpregset_t.
2720 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
2722 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
2723 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
2724 * h8300-tdep.c (setmachinelist): Remove global.
2725 * hppa-tdep.c (hppa_sigtramp): Remove global.
2726 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
2727 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
2728 * ravenscar-thread.c (update_target_observer): Remove global.
2729 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
2731 2014-02-12 Tom Tromey <tromey@redhat.com>
2733 * common/rsp-low.c: Update comments.
2734 * common/rsp-low.h: Update comments.
2736 2014-02-12 Tom Tromey <tromey@redhat.com>
2738 * common/rsp-low.c (convert_ascii_to_int): Remove.
2739 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
2741 2014-02-12 Tom Tromey <tromey@redhat.com>
2743 * common/rsp-low.h (unhexify): Don't declare.
2744 * common/rsp-low.c (unhexify): Remove.
2746 2014-02-12 Tom Tromey <tromey@redhat.com>
2748 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
2749 * common/rsp-low.c (convert_int_to_ascii): Remove.
2751 2014-02-12 Tom Tromey <tromey@redhat.com>
2753 * common/rsp-low.h (hexify): Don't declare.
2754 * common/rsp-low.c (hexify): Remove.
2756 2014-02-12 Tom Tromey <tromey@redhat.com>
2758 * common/rsp-low.c (hexify): Never take strlen of argument.
2760 2014-02-12 Tom Tromey <tromey@redhat.com>
2762 * common/rsp-low.c (bin2hex): Never take strlen of argument.
2763 * remote.c (extended_remote_run, remote_rcmd)
2764 (remote_download_trace_state_variable, remote_save_trace_data)
2765 (remote_set_trace_notes): Update.
2766 * tracepoint.c (encode_source_string, tfile_write_status)
2767 (tfile_write_uploaded_tsv): Update.
2769 2014-02-12 Tom Tromey <tromey@redhat.com>
2771 * tracepoint.c: Include rsp-low.h.
2772 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
2773 * remote.c: Include rsp-low.h.
2774 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
2775 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
2776 (remote_unescape_input): Move to common/rsp-low.c.
2777 * common/rsp-low.h: New file.
2778 * common/rsp-low.c: New file.
2779 * Makefile.in (SFILES): Add common/rsp-low.c.
2780 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
2781 (COMMON_OBS): Add rsp-low.o.
2782 (rsp-low.o): New target.
2784 2014-02-12 Tom Tromey <tromey@redhat.com>
2786 * utils.h: Include print-utils.h.
2787 (host_address_to_string, plongest, pulongest, phex, phex_nz)
2788 (int_string, core_addr_to_string, core_addr_to_string_nz)
2789 (hex_string, hex_string_custom): Don't declare.
2790 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2791 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2792 (hex_string_custom, int_string, core_addr_to_string)
2793 (core_addr_to_string_nz, host_address_to_string): Move to
2794 common/print-utils.c.
2795 * common/print-utils.h: New file.
2796 * common/print-utils.c: New file
2797 * Makefile.in (SFILES): Add common/print-utils.c.
2798 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2799 (COMMON_OBS): Add print-utils.o.
2800 (print-utils.o): New target.
2802 2014-02-12 Tom Tromey <tromey@redhat.com>
2804 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2806 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2808 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2810 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2812 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2813 if a PT_IO ptrace request returns sucessfully but indicates that 0
2814 bytes were transferred.
2816 2014-02-12 Pedro Alves <palves@redhat.com>
2817 Kevin Buettner <kevinb@redhat.com>
2819 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2820 TYPE_INSTANCE_FLAG_CODE_SPACE.
2822 2014-02-12 Pedro Alves <palves@redhat.com>
2824 * h8300-tdep.c (pseudo_from_raw_register)
2825 (raw_from_pseudo_register): New functions.
2826 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2829 2014-02-12 Pedro Alves <palves@redhat.com>
2831 * h8300-tdep.c (h8300_register_sim_regno): New function.
2832 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2833 gdbarch_register_sim_regno hook.
2835 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2837 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2839 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2841 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2843 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2845 * obsd-tdep.h (obsd_init_abi): New prototype.
2846 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2847 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2848 (obsd_init_abi): New functions.
2849 * i386obsd-tdep.c: Include "obsd-tdep.h".
2850 (i386obsd_init_abi): Call obsd_init_abi.
2851 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2852 (amd64obsd_init_abi): Call obsd_init_abi.
2853 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2854 obsd-tdep.c to gdb_target_obs.
2856 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2858 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2859 double float arguments to 16-byte in the argument slots.
2861 2014-02-11 Doug Evans <xdje42@gmail.com>
2863 * configure.ac: Don't crash if pkg-config is not found and guile
2864 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2866 * configure: Regenerate.
2868 2014-02-11 Yao Qi <yao@codesourcery.com>
2870 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2871 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2872 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2873 * gnu-nat.c (gnu_xfer_memory): Likewise.
2874 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2875 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2876 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2877 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2879 2014-02-11 Yao Qi <yao@codesourcery.com>
2881 * target.h (enum target_xfer_error): Rename to ...
2882 (enum target_xfer_status): ... it. New. All users updated.
2883 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2885 (TARGET_XFER_STATUS_ERROR_P): New macro.
2886 (target_xfer_error_to_string): Remove declaration.
2887 (target_xfer_status_to_string): Declare.
2888 (target_xfer_partial_ftype): Adjust it.
2889 (struct target_ops) <to_xfer_partial>: Return
2890 target_xfer_status. Add argument xfered_len. Update
2892 * target.c (target_xfer_error_to_string): Rename to ...
2893 (target_xfer_status_to_string): ... it. New. All callers
2895 (target_read_live_memory): Likewise. Call target_xfer_partial
2896 instead of target_read.
2897 (memory_xfer_live_readonly_partial): Return
2898 target_xfer_status. Add argument xfered_len.
2899 (raw_memory_xfer_partial): Likewise.
2900 (memory_xfer_partial_1): Likewise.
2901 (memory_xfer_partial): Likewise.
2902 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2903 properly. Update debug message.
2904 (default_xfer_partial, current_xfer_partial): Likewise.
2905 (target_write_partial): Likewise.
2906 (target_read_partial): Likewise. All callers updated.
2907 (read_whatever_is_readable): Likewise.
2908 (target_write_with_progress): Likewise.
2909 (target_read_alloc_1): Likewise.
2911 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2912 * auxv.c (procfs_xfer_auxv): Likewise.
2913 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2914 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2915 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2916 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2917 * corefile.c (read_memory): Adjust.
2918 * corelow.c (core_xfer_partial): Likewise.
2919 * ctf.c (ctf_xfer_partial): Likewise.
2920 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2922 (darwin_xfer_partial): Likewise.
2923 * exec.c (section_table_xfer_memory_partial): Likewise. All
2925 (exec_xfer_partial): Likewise.
2926 * exec.h (section_table_xfer_memory_partial): Update
2928 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2930 (gnu_xfer_partial): Likewise.
2931 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2932 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2933 (ia64_hpux_xfer_solib_got): Likewise.
2934 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2935 type of 'partial_len' to ULONGEST.
2936 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2937 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2938 (linux_nat_xfer_partial): Likewise.
2939 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2940 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2941 * monitor.c (monitor_xfer_memory): Likewise.
2942 (monitor_xfer_partial): Likewise.
2943 * procfs.c (procfs_xfer_partial): Likewise.
2944 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2945 * record-full.c (record_full_xfer_partial): Likewise.
2946 (record_full_core_xfer_partial): Likewise.
2947 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2948 (gdbsim_xfer_partial): Likewise.
2949 * remote.c (remote_write_bytes_aux): Likewise. All callers
2951 (remote_write_bytes, remote_read_bytes): Likewise. All
2953 (remote_flash_erase): Likewise. All callers updated.
2954 (remote_write_qxfer): Likewise. All callers updated.
2955 (remote_read_qxfer): Likewise. All callers updated.
2956 (remote_xfer_partial): Likewise.
2957 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2958 (rs6000_xfer_shared_libraries): Likewise.
2959 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2960 (sol_thread_xfer_partial): Likewise.
2961 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2962 (sparc_xfer_partial): Likewise.
2963 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2965 (spu_xfer_partial): Likewise.
2966 * spu-multiarch.c (spu_xfer_partial): Likewise.
2967 * tracepoint.c (tfile_xfer_partial): Likewise.
2968 * windows-nat.c (windows_xfer_memory): Likewise.
2969 (windows_xfer_shared_libraries): Likewise.
2970 (windows_xfer_partial): Likewise.
2971 * valprint.c: Replace 'target_xfer_error' with
2972 'target_xfer_status' in comments.
2974 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2976 Checked in by Joel Brobecker <brobecker@adacore.com>.
2977 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2979 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2981 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2982 function parameters.
2984 2014-02-10 Will Newton <will.newton@linaro.org>
2986 * elfread.c (elf_rel_plt_read): Look for a .got section if
2987 looking up .got.plt fails.
2988 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2989 on address passed to elf_gnu_ifunc_record_cache.
2990 (elf_gnu_ifunc_resolve_addr): Likewise.
2991 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2993 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2995 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2996 (X_RETTURN): New macro.
2997 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2999 * sparc64-tdep.c (sparc64_init_abi): Hook
3000 sparc_in_function_epilogue_p.
3002 2014-02-10 Gary Benson <gbenson@redhat.com>
3004 * symfile-debug.c (debug_qf_expand_symtabs_matching):
3005 Rename name_matcher to symbol_matcher.
3007 2014-02-10 Gary Benson <gbenson@redhat.com>
3009 * symfile-debug.c (debug_qf_expand_symtabs_matching):
3010 Use expand_symtabs_file_matcher_ftype and
3011 expand_symtabs_symbol_matcher_ftype.
3013 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3015 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
3016 (struct ada_symbol_cache): New.
3017 (ada_free_symbol_cache): Forward declare.
3018 (struct ada_pspace_data): New.
3019 (ada_pspace_data_handle): New static global.
3020 (get_ada_pspace_data, ada_pspace_data_cleanup)
3021 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
3022 (cache_space, cache): Delete, now folded inside struct
3024 (ada_get_symbol_cache): New function.
3025 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
3027 (_initialize_ada_language): Remove initialization of cache_space.
3028 Move call to observer_attach_inferior_exit up, grouping it
3029 with the other observer registrations inside this function.
3030 Rename command to be more general. Add call to
3031 register_program_space_data_with_cleanup.
3033 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3035 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
3036 ada_new_objfile_observer.
3037 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
3038 (_initialize_tasks): Update uses of ada_new_objfile_observer
3039 and ada_tasks_normal_stop_observer.
3041 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3043 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
3044 returned by the 'Length attribute to integer.
3046 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3048 * ada-lang.c (_initialize_ada_language): Initialize
3049 cache_space obstack.
3051 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3053 * ada-lang.c (HASH_SIZE): New macro.
3054 (struct cache_entry): New type.
3055 (cache_space, cache): New static globals.
3056 (ada_clear_symbol_cache, find_entry): New functions.
3057 (lookup_cached_symbol, cache_symbol): Implement.
3058 (ada_new_objfile_observer, ada_free_objfile_observer): New.
3059 (_initialize_ada_language): Attach ada_new_objfile_observer
3060 and ada_free_objfile_observer.
3062 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3064 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
3065 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
3066 struct block * parameter.
3067 (ada_lookup_symbol_list_worker): Constify local variable "block".
3068 Remove cast which is no longer necessary.
3070 2014-02-10 Doug Evans <xdje42@gmail.com>
3072 Add Guile as an extension language.
3073 * NEWS: Mention Guile scripting.
3074 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
3075 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
3076 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
3077 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
3078 (CLIBS): Add GUILE_LIBS.
3079 (install-guile): New rule.
3080 (guile.o): New rule.
3081 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
3082 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
3083 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
3084 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
3085 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
3086 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
3087 (scm-type.o, scm-utils.o, scm-value.o): New rules.
3088 * configure.ac: New option --with-guile.
3089 * configure: Regenerate.
3090 * config.in: Regenerate.
3091 * auto-load.c: Remove #include "python/python.h". Add #include
3092 "gdb/section-scripts.h".
3093 (source_section_scripts): Handle Guile scripts.
3094 (_initialize_auto_load): Add name of Guile objfile script to
3095 scripts-directory help text.
3096 * breakpoint.c (condition_command): Tweak comment to include Scheme.
3097 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
3098 (struct breakpoint): New member scm_bp_object.
3099 * defs.h (enum command_control_type): New value guile_control.
3100 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
3102 (show_user): Update comment.
3103 (_initialize_cli_cmds): Update help text for "show user". Update help
3104 text for max-user-call-depth.
3105 * cli/cli-script.c: Remove #include "python/python.h". Add #include
3107 (multi_line_command_p): Add guile_control.
3108 (print_command_lines): Handle guile_control.
3109 (execute_control_command, recurse_read_control_structure): Ditto.
3110 (process_next_line): Recognize "guile" commands.
3111 * disasm.c (gdb_disassemble_info): Make non-static.
3112 * disasm.h: #include "dis-asm.h".
3113 (struct gdbarch): Add forward decl.
3114 (gdb_disassemble_info): Declare.
3115 * extension.c: #include "guile/guile.h".
3116 (extension_languages): Add guile.
3117 (get_ext_lang_defn): Handle EXT_LANG_GDB.
3118 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
3119 * gdbtypes.c (get_unsigned_type_max): New function.
3120 (get_signed_type_minmax): New function.
3121 * gdbtypes.h (get_unsigned_type_max): Declare.
3122 (get_signed_type_minmax): Declare.
3123 * guile/README: New file.
3124 * guile/guile-internal.h: New file.
3125 * guile/guile.c: New file.
3126 * guile/guile.h: New file.
3127 * guile/scm-arch.c: New file.
3128 * guile/scm-auto-load.c: New file.
3129 * guile/scm-block.c: New file.
3130 * guile/scm-breakpoint.c: New file.
3131 * guile/scm-disasm.c: New file.
3132 * guile/scm-exception.c: New file.
3133 * guile/scm-frame.c: New file.
3134 * guile/scm-gsmob.c: New file.
3135 * guile/scm-iterator.c: New file.
3136 * guile/scm-lazy-string.c: New file.
3137 * guile/scm-math.c: New file.
3138 * guile/scm-objfile.c: New file.
3139 * guile/scm-ports.c: New file.
3140 * guile/scm-pretty-print.c: New file.
3141 * guile/scm-safe-call.c: New file.
3142 * guile/scm-string.c: New file.
3143 * guile/scm-symbol.c: New file.
3144 * guile/scm-symtab.c: New file.
3145 * guile/scm-type.c: New file.
3146 * guile/scm-utils.c: New file.
3147 * guile/scm-value.c: New file.
3148 * guile/lib/gdb.scm: New file.
3149 * guile/lib/gdb/boot.scm: New file.
3150 * guile/lib/gdb/experimental.scm: New file.
3151 * guile/lib/gdb/init.scm: New file.
3152 * guile/lib/gdb/iterator.scm: New file.
3153 * guile/lib/gdb/printing.scm: New file.
3154 * guile/lib/gdb/types.scm: New file.
3155 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
3156 (VPATH): Add $(GUILE_SRCDIR).
3157 (GUILE_DIR): New variable.
3158 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
3159 (all): Add stamp-guile dependency.
3160 (stamp-guile): New rule.
3161 (clean-guile, install-guile, uninstall-guile): New rules.
3162 (install-only): Add install-guile dependency.
3163 (uninstall): Add uninstall-guile dependency.
3164 (clean): Add clean-guile dependency.
3166 2014-02-09 Doug Evans <xdje42@gmail.com>
3168 Revert this patch (which I approved, mea culpa).
3170 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3172 * Makefile.in (all-lib): Remove.
3173 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3175 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3177 Fix Python stack corruption.
3178 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
3181 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3183 * Makefile.in (all-lib): Remove.
3184 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3186 2014-02-07 Doug Evans <dje@google.com>
3188 * extension-priv.h (extension_language_script_ops): Add comment.
3189 (extension_language_ops): Add comment.
3190 (active_ext_lang_state): Fix typo in comment.
3192 2014-02-07 Pedro Alves <palves@redhat.com>
3194 * infrun.c (handle_signal_stop) <signal arrives while stepping
3195 over a breakpoint>: Switch back to the stepping thread.
3197 2014-02-07 Yao Qi <yao@codesourcery.com>
3199 * target.c (target_xfer_partial): Return zero if LEN is zero.
3201 2014-02-07 Yao Qi <yao@codesourcery.com>
3203 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
3204 (ld_so_xfer_auxv): Likewise.
3205 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3206 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3207 * corelow.c (core_xfer_partial): Likewise.
3208 * ctf.c (ctf_xfer_partial): Likewise.
3209 * darwin-nat.c (darwin_read_dyld_info): Likewise.
3210 (darwin_xfer_partial): Likewise.
3211 * exec.c (exec_xfer_partial): Likewise.
3212 * gnu-nat.c (gnu_xfer_partial): Likewise.
3213 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
3214 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
3215 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
3216 * linux-nat.c (linux_xfer_siginfo): Likewise.
3217 (linux_proc_xfer_spu): Likewise.
3218 * procfs.c (procfs_xfer_partial): Likewise.
3219 * record-full.c (record_full_xfer_partial): Likewise.
3220 (record_full_core_xfer_partial): Likewise.
3221 * remote-sim.c (gdbsim_xfer_partial): Likewise.
3222 * remote.c (remote_write_qxfer): Likewise.
3223 (remote_write_qxfer, remote_read_qxfer): Likewise.
3224 (remote_xfer_partial): Likewise.
3225 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3226 (rs6000_xfer_shared_libraries): Likewise.
3227 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3228 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3229 (spu_xfer_partial): Likewise.
3230 * target.c (memory_xfer_partial_1): Likewise.
3231 * tracepoint.c (tfile_xfer_partial): Likewise.
3232 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
3233 (windows_xfer_partial): Likewise.
3235 2014-02-07 Yao Qi <yao@codesourcery.com>
3237 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
3239 (core_xfer_shared_libraries_aix): Likewise.
3240 * gdbarch.c, gdbarch.h: Regenerated.
3241 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
3242 ULONGEST. Change 'len_avail' type to ULONGEST.
3243 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3244 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3246 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
3248 2014-02-07 Yao Qi <yao@codesourcery.com>
3250 * corefile.c (memory_error): Get 'exception' from ERR and pass
3251 'exception' to throw_error.
3253 2014-02-06 Doug Evans <xdje42@gmail.com>
3255 * configure.ac (libpython checking): Remove all but python.o from
3256 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
3257 * configure: Regenerate.
3259 * Makefile.in (SFILES): Add extension.c.
3260 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
3261 (COMMON_OBS): Add extension.o.
3262 * extension.h: New file.
3263 * extension-priv.h: New file.
3264 * extension.c: New file.
3266 * python/python-internal.h: #include "extension.h".
3267 (gdbpy_auto_load_enabled): Declare.
3268 (gdbpy_apply_val_pretty_printer): Declare.
3269 (gdbpy_apply_frame_filter): Declare.
3270 (gdbpy_preserve_values): Declare.
3271 (gdbpy_breakpoint_cond_says_stop): Declare.
3272 (gdbpy_breakpoint_has_cond): Declare.
3273 (void source_python_script_for_objfile): Delete.
3274 * python/python.c: #include "extension-priv.h".
3275 Delete inclusion of "observer.h".
3276 (extension_language_python): Moved here and renamed from
3277 script_language_python in py-auto-load.c.
3278 Redefined to be of type extension_language_defn.
3279 (python_extension_script_ops): New global.
3280 (python_extension_ops): New global.
3281 (struct python_env): New member previous_active.
3282 (restore_python_env): Call restore_active_ext_lang.
3283 (ensure_python_env): Call set_active_ext_lang.
3284 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
3286 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
3288 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
3290 (gdbpy_eval_from_control_command): Renamed from
3291 eval_python_from_control_command, made static. New arg extlang.
3292 (gdbpy_source_script) Renamed from source_python_script, made static.
3294 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
3295 result to int. New arg extlang.
3296 (gdbpy_source_objfile_script): Renamed from
3297 source_python_script_for_objfile, made static. New arg extlang.
3298 (gdbpy_start_type_printers): Renamed from start_type_printers, made
3299 static. New args extlang, extlang_printers. Change result type to
3301 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
3302 static. New arg extlang. Rename arg printers to extlang_printers
3303 and change type to ext_lang_type_printers *.
3304 (gdbpy_free_type_printers): Renamed from free_type_printers, made
3305 static. Replace argument arg with extlang, extlang_printers.
3306 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
3307 (!HAVE_PYTHON, source_python_script): Delete.
3308 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
3309 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
3310 (!HAVE_PYTHON, start_type_printers): Delete.
3311 (!HAVE_PYTHON, apply_type_printers): Delete.
3312 (!HAVE_PYTHON, free_type_printers): Delete.
3313 (_initialize_python): Delete call to observer_attach_before_prompt.
3314 (finalize_python): Set/restore active extension language.
3315 (gdbpy_finish_initialization) Renamed from
3316 finish_python_initialization, made static. New arg extlang.
3317 (gdbpy_initialized): New function.
3318 * python/python.h: #include "extension.h". Delete #include
3319 "value.h", "mi/mi-cmds.h".
3320 (extension_language_python): Declare.
3321 (GDBPY_AUTO_FILE_NAME): Delete.
3322 (enum py_bt_status): Moved to extension.h and renamed to
3324 (enum frame_filter_flags): Moved to extension.h.
3325 (enum py_frame_args): Moved to extension.h and renamed to
3326 ext_lang_frame_args.
3327 (finish_python_initialization): Delete.
3328 (eval_python_from_control_command): Delete.
3329 (source_python_script): Delete.
3330 (apply_val_pretty_printer): Delete.
3331 (apply_frame_filter): Delete.
3332 (preserve_python_values): Delete.
3333 (gdbpy_script_language_defn): Delete.
3334 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
3335 (start_type_printers, apply_type_printers, free_type_printers): Delete.
3337 * auto-load.c: #include "extension.h".
3338 (GDB_AUTO_FILE_NAME): Delete.
3339 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
3340 (script_language_gdb): Delete, moved to extension.c and renamed to
3341 extension_language_gdb.
3342 (source_gdb_script_for_objfile): Delete.
3343 (auto_load_pspace_info): New member unsupported_script_warning_printed.
3344 (loaded_script): Change type of language member to
3345 struct extension_language_defn *.
3346 (init_loaded_scripts_info): Initialize
3347 unsupported_script_warning_printed.
3348 (maybe_add_script): Make static. Change type of language arg to
3349 struct extension_language_defn *.
3350 (clear_section_scripts): Reset unsupported_script_warning_printed.
3351 (auto_load_objfile_script_1): Rewrite to use extension language API.
3352 (auto_load_objfile_script): Make public. Remove support-compiled-in
3353 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
3354 (source_section_scripts): Rewrite to use extension language API.
3355 (load_auto_scripts_for_objfile): Rewrite to use
3356 auto_load_scripts_for_objfile.
3357 (collect_matching_scripts_data): Change type of language member to
3358 struct extension_language_defn *.
3359 (auto_load_info_scripts): Change type of language arg to
3360 struct extension_language_defn *.
3361 (unsupported_script_warning_print): New function.
3362 (script_not_found_warning_print): Make static.
3363 (_initialize_auto_load): Rewrite construction of scripts-directory
3365 * auto-load.h (struct objfile): Add forward decl.
3366 (struct script_language): Delete.
3367 (struct auto_load_pspace_info): Add forward decl.
3368 (struct extension_language_defn): Add forward decl.
3369 (maybe_add_script): Delete.
3370 (auto_load_objfile_script): Declare.
3371 (script_not_found_warning_print): Delete.
3372 (auto_load_info_scripts): Update prototype.
3373 (auto_load_gdb_scripts_enabled): Declare.
3374 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
3375 auto_load_python_scripts_enabled and made public.
3376 (script_language_python): Delete, moved to python.c.
3377 (gdbpy_script_language_defn): Delete.
3378 (info_auto_load_python_scripts): Update to use
3379 extension_language_python.
3381 * breakpoint.c (condition_command): Replace call to
3382 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
3383 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
3384 with call to breakpoint_ext_lang_cond_says_stop.
3385 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
3386 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
3387 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
3388 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
3390 (local_setattro): Print name of extension language with existing
3393 * valprint.c (val_print, value_print): Update to call
3394 apply_ext_lang_val_pretty_printer.
3395 * cp-valprint.c (cp_print_value): Update call to
3396 apply_ext_lang_val_pretty_printer.
3397 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
3398 (gdbpy_apply_val_pretty_printer): Renamed from
3399 apply_val_pretty_printer. New arg extlang.
3400 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
3402 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
3403 extension language API.
3404 * cli/cli-script.c (execute_control_command): Update to call
3405 eval_ext_lang_from_control_command.
3407 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
3408 enum ext_lang_bt_status values. Update call to
3409 apply_ext_lang_frame_filter.
3410 (mi_cmd_stack_list_locals): Ditto.
3411 (mi_cmd_stack_list_args): Ditto.
3412 (mi_cmd_stack_list_variables): Ditto.
3413 * mi/mi-main.c: Delete #include "python/python-internal.h".
3414 Add #include "extension.h".
3415 (mi_cmd_list_features): Replace reference to python internal variable
3416 gdb_python_initialized with call to ext_lang_initialized_p.
3418 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
3419 Update to use enum ext_lang_frame_args. Update to call
3420 apply_ext_lang_frame_filter.
3421 * python/py-framefilter.c (extract_sym): Update to use enum
3423 (extract_value, py_print_type, py_print_value): Ditto.
3424 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
3425 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
3426 (py_print_frame): Ditto.
3427 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
3428 New arg extlang. Update to use enum ext_lang_bt_status.
3430 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
3431 finish_python_initialization. Replace with call to
3432 finish_ext_lang_initialization.
3434 * typeprint.c (do_free_global_table): Update to call
3435 free_ext_lang_type_printers.
3436 (create_global_typedef_table): Update to call
3437 start_ext_lang_type_printers.
3438 (find_global_typedef): Update to call apply_ext_lang_type_printers.
3439 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
3440 (type_print_options): Change type of global_printers from "void *"
3441 to "struct ext_lang_type_printers *".
3443 * value.c (preserve_values): Update to call preserve_ext_lang_values.
3444 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
3445 (gdbpy_preserve_values): Renamed from preserve_python_values.
3447 (!HAVE_PYTHON, preserve_python_values): Delete.
3449 * utils.c (quit_flag): Delete, moved to extension.c.
3450 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
3453 * eval.c: Delete #include "python/python.h".
3454 * main.c: Delete #include "python/python.h".
3456 * defs.h: Update comment.
3458 2014-02-06 Joel Brobecker <brobecker@adacore.com>
3462 2014-02-05 Mark Kettenis <kettenis@gnu.org>
3464 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
3467 2014-02-05 Yao Qi <yao@codesourcery.com>
3469 * remote.c (remote_pass_signals): Remove local 'buf' and use
3471 (remote_program_signals): Likewise.
3473 2014-02-05 Yao Qi <yao@codesourcery.com>
3475 * ctf.c: Include "inferior.h" and "gdbthread.h".
3476 (CTF_PID): A new macro.
3477 (ctf_open): Call inferior_appeared and add_thread_silent.
3478 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
3479 (ctf_thread_alive): New function.
3480 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
3482 2014-02-05 Yao Qi <yao@codesourcery.com>
3486 2013-05-24 Yao Qi <yao@codesourcery.com>
3488 * tracepoint.c (TFILE_PID): Remove.
3489 (tfile_open): Don't add thread and inferior.
3490 (tfile_close): Don't set 'inferior_ptid'. Don't call
3491 exit_inferior_silent.
3492 (tfile_thread_alive): Remove.
3493 (init_tfile_ops): Don't set field 'to_thread_alive' of
3496 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
3498 * remote.c (remote_start_remote): Call remote_check_symbols even
3499 if only symbol-file (not file) has been given.
3501 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3503 * gdbarch.sh (skip_entrypoint): New callback.
3504 * gdbarch.c, gdbarch.h: Regenerate.
3505 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
3506 * infrun.c (fill_in_stop_func): Likewise.
3507 * ppc-linux-tdep.c: Include "elf/ppc64.h".
3508 (ppc_elfv2_elf_make_msymbol_special): New function.
3509 (ppc_elfv2_skip_entrypoint): Likewise.
3510 (ppc_linux_init_abi): Install them for ELFv2.
3512 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3514 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
3515 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
3516 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
3517 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
3518 structures returned in GPRs.
3520 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3522 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
3523 offset to the stack parameter list for the ELFv2 ABI.
3525 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3527 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
3528 set_gdbarch_convert_from_func_ptr_addr and
3529 set_gdbarch_elf_make_msymbol_special for ELFv1.
3530 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
3531 function descriptors on ELFv1.
3532 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
3533 set up r12 at function entry.
3535 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3537 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
3538 (struct gdbarch_tdep): New member elf_abi.
3540 * rs6000-tdep.c: Include "elf/ppc64.h".
3541 (rs6000_gdbarch_init): Detect ELF ABI version.
3543 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3545 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
3546 within a register pair holding a DFP 128-bit value on little-endian.
3547 (ppc64_sysv_abi_return_value_base): Likewise.
3548 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
3549 (dfp_pseudo_register_write): Likewise.
3551 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3553 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
3554 offset on little-endian when passing _Decimal32.
3555 (ppc64_sysv_abi_return_value_base): Likewise for return values.
3557 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3559 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
3560 of the overlapped FP register within the VSX register on little-
3562 (efpr_pseudo_register_write): Likewise.
3564 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3566 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
3567 offset on little-endian when passing small structures.
3569 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3571 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
3572 (struct ppc64_sysv_argpos): New data structure.
3573 (ppc64_sysv_abi_push_float): Remove.
3574 (ppc64_sysv_abi_push_val): New function.
3575 (ppc64_sysv_abi_push_integer): Likewise.
3576 (ppc64_sysv_abi_push_freg): Likewise.
3577 (ppc64_sysv_abi_push_vreg): Likewise.
3578 (ppc64_sysv_abi_push_param): Likewise.
3579 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
3580 (ppc64_sysv_abi_return_value_base): New function.
3581 (ppc64_sysv_abi_return_value): Refactor to use it.
3583 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3585 * NEWS: Document new target powerpc64le-*-linux*.
3587 2014-02-04 Mark Kettenis <kettenis@gnu.org>
3589 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
3590 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
3592 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
3593 register set used in ELF core dumps. Add floating-point register set.
3595 2014-02-03 Kevin Buettner <kevinb@redhat.com>
3597 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
3598 dwarf2_to_gdb[] table using symbolic constants. Adjust
3599 penultimate entry from number representing the PC register
3600 to symbolic constant representing the MDR register. Add
3601 constant for the PC register to the end of the table.
3603 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3605 * bsd-kvm.c: Include <sys/param.h>
3607 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3609 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
3611 2014-01-31 Joel Brobecker <brobecker@adacore.com>
3613 * ada-lang.h (clear_ada_sym_cache): Delete.
3615 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
3617 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
3619 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3621 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
3622 the sigreturn register save area only if the syscall is
3625 2014-01-29 Joel Brobecker <brobecker@adacore.com>
3627 * valops.c (value_slice): Minor reformatting.
3629 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
3631 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
3633 2014-01-28 Joel Brobecker <brobecker@adacore.com>
3635 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
3637 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
3638 (ada_ignore_descriptive_types_p): New static global.
3639 (find_parallel_type_by_descriptive_type): Return immediately
3640 if ada_ignore_descriptive_types_p is set.
3641 (_initialize_ada_language): Register new commands "maintenance
3642 set ada", "maintenance show ada", "maintenance set ada
3643 ignore-descriptive-types" and "maintenance show ada
3644 ignore-descriptive-types".
3645 * NEWS: Add entry for new "maint ada set/show
3646 ignore-descriptive-types" commands.
3648 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
3650 * record-btrace.c (record_btrace_close): Call btrace_teardown
3653 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3655 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
3658 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3660 * ada-typeprint (type_is_full_subrange_of_target_type):
3662 (print_range): Add parameter bounds_prefered_p. If not set,
3663 try printing range types using the name of their base type.
3664 (print_range_type): Add parameter bounds_prefered_p.
3665 Use it in call to print_range.
3666 (print_array_type, ada_print_type): Update calls to print_range
3667 and print_range_type.
3669 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3671 * ada-typeprint.c (print_array_type, print_choices, print_range)
3672 (print_range_bound, print_dynamic_range_bound, print_range_type):
3675 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3677 * ada-typeprint.c (print_range): Add missing empty line
3678 after local declaration.
3680 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3682 * ada-valprint.c (print_optional_low_bound): Get index_type's
3683 target type for as long as it is a TYPE_CODE_RANGE.
3685 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3687 * procfs.c (procfs_make_note_section): Remove assertion and
3690 2014-01-24 Yao Qi <yao@codesourcery.com>
3692 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
3693 * corelow.c (get_core_siginfo): Likewise.
3695 2014-01-24 Yao Qi <yao@codesourcery.com>
3697 * remote.c (remote_write_bytes_aux): Change type of 'len' to
3698 ULONGEST. Don't check 'len' is negative.
3699 (remote_write_bytes): Change type of 'len' to ULONGEST.
3701 2014-01-23 Tom Tromey <tromey@redhat.com>
3704 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
3705 Handle exception from frame.block.
3706 (FrameVars.fetch_frame_locals): Likewise.
3708 2014-01-23 Tom Tromey <tromey@redhat.com>
3711 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
3712 on a NULL pointer. Move "goto error" to correct place.
3714 2014-01-23 Tom Tromey <tromey@redhat.com>
3717 * python/py-framefilter.c (apply_frame_filter): Call
3718 ensure_python_env after computing gdbarch.
3720 2014-01-23 Yao Qi <yao@codesourcery.com>
3722 * target.c (raw_memory_xfer_partial): Change argument type
3723 from void * to gdb_byte *.
3724 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
3726 2014-01-22 Doug Evans <dje@google.com>
3728 New gdbserver option --debug-format=timestamp.
3731 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3733 * syscalls/s390x-linux.xml: New file.
3734 * syscalls/s390-linux.xml: New file.
3735 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
3736 (XML_SYSCALL_FILENAME_S390X): Likewise.
3737 (op_svc): New enum value for SVC opcode.
3738 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
3739 (s390_linux_get_syscall_number): New function.
3740 (s390_gdbarch_init): Register '*get_syscall_number' and the
3741 syscall xml file name.
3742 * data-directory/Makefile.in (SYSCALLS_FILES): Add
3743 "s390-linux.xml" and "s390x-linux.xml".
3744 * NEWS: Announce new feature.
3746 2014-01-22 Baruch Siach <baruch@tkos.co.il>
3748 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
3750 2014-01-22 Pedro Alves <palves@redhat.com>
3752 * xtensa-config.c: Include defs.h.
3754 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3756 * common/common-utils.h: Add "ARI:" comment beside __func__
3759 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3761 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
3762 documentation a bit.
3764 2014-01-21 Roland McGrath <mcgrathr@google.com>
3766 * configure.ac: Call AM_PROG_INSTALL_STRIP.
3767 * configure: Regenerate.
3768 * aclocal.m4: Regenerate.
3769 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
3770 New substituted variables.
3771 (install-strip): New target.
3772 (INSTALL_SCRIPT): New substituted variable.
3773 (FLAGS_TO_PASS): Add it.
3774 (install-only): Use $(INSTALL_SCRIPT) rather than
3775 $(INSTALL_PROGRAM) for gcore.
3777 2014-01-20 Tom Tromey <tromey@redhat.com>
3779 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
3782 2014-01-20 Tom Tromey <tromey@redhat.com>
3784 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
3785 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
3786 (deprecated_cmd_warning, complete_on_cmdlist): Update.
3787 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
3788 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3789 (struct cmd_list_element) <flags>: Remove.
3790 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3791 doc_allocated>: New fields.
3792 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3794 * maint.c (maintenance_do_deprecate): Update.
3795 * top.c (execute_command): Update.
3797 2014-01-20 Baruch Siach <baruch@tkos.co.il>
3799 * xtensa-linux-nat.c: Include asm/ptrace.h.
3801 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3803 * Makefile.in (SFILES): Add d-support.c.
3804 (COMMON_OBS): Add d-support.o.
3805 * d-lang.h (d_parse_symbol): Add comment, now defined in
3807 * d-lang.c (parse_call_convention)
3808 (parse_attributes, parse_function_types)
3809 (parse_function_args, parse_type, parse_identifier)
3810 (call_convention_p, d_parse_symbol): Move functions to ...
3811 * d-support.c: ... New file.
3813 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3815 * d-lang.h (d_parse_symbol): Add declaration.
3816 * d-lang.c (extract_identifiers)
3817 (extract_type_info): Remove functions.
3818 (parse_call_convention, parse_attributes)
3819 (parse_function_types, parse_function_args)
3820 (parse_type, parse_identifier, call_convention_p)
3821 (d_parse_symbol): New functions.
3822 (d_demangle): Use d_parse_symbol to demangle D symbols.
3824 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3826 * d-lang.h (struct builtin_d_type): New data type.
3827 (builtin_d_type): Add declaration.
3828 * d-lang.c (d_language_arch_info, build_d_types)
3829 (builtin_d_type): New functions.
3830 (enum d_primitive_types): New data type.
3831 (d_language_defn): Change c_language_arch_info to
3832 d_language_arch_info.
3833 (d_type_data): New static variable.
3834 (_initialize_d_language): Initialize d_type_data.
3836 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3838 * d-lang.h (d_main_name): Add declaration.
3839 * d-lang.c (d_main_name): New function.
3840 * symtab.c (find_main_name): Add call to d_main_name.
3842 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3844 * d-lang.c (d_language_defn): Change macro_expansion_c to
3847 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3849 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3851 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3853 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3854 gdb_exception" declaration.
3855 * remote.c (getpkt_or_notif_sane): Likewise.
3857 2014-01-17 Doug Evans <dje@google.com>
3859 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3860 function, contents of dirnames_to_char_ptr_vec_append moved here.
3861 (delim_string_to_char_ptr_vec): New function.
3862 (dirnames_to_char_ptr_vec_append): Rewrite.
3863 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3865 2014-01-17 Doug Evans <dje@google.com>
3867 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3869 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3870 #include "common-utils.h".
3871 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3872 * common/vec.h (VEC_ASSERT_PASS): Update.
3873 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3874 (MACH_CHECK_ERROR): Update.
3876 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3878 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3880 * gdbarch.h: Regenerate.
3882 2014-01-16 Tom Tromey <tromey@redhat.com>
3884 * value.c (struct value) <regnum>: Move earlier.
3886 2014-01-16 Tom Tromey <tromey@redhat.com>
3888 * remote.c (extended_remote_create_inferior): Rename from
3889 extended_remote_create_inferior_1. Add "ops" argument. Remove
3892 2014-01-16 Pedro Alves <palves@redhat.com>
3894 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3895 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3898 2014-01-16 Doug Evans <dje@google.com>
3900 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3902 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3904 * btrace.h (btrace_thread_flag): New.
3905 (struct btrace_thread_info) <flags>: New.
3906 * record-btrace.c (record_btrace_resume_thread)
3907 (record_btrace_find_thread_to_move, btrace_step_no_history)
3908 (btrace_step_stopped, record_btrace_start_replaying)
3909 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3910 (record_btrace_find_resume_thread): New.
3911 (record_btrace_resume, record_btrace_wait): Extend.
3912 (record_btrace_can_execute_reverse): New.
3913 (record_btrace_open): Fail in non-stop mode.
3914 (record_btrace_set_replay): Split into this, ...
3915 (record_btrace_stop_replaying): ... this, ...
3916 (record_btrace_clear_histories): ... and this.
3917 (init_record_btrace_ops): Init to_can_execute_reverse.
3918 * NEWS: Announce it.
3920 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3922 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3923 (forward_target_decr_pc_after_break)
3924 (target_decr_pc_after_break): New.
3925 * target.c (forward_target_decr_pc_after_break)
3926 (target_decr_pc_after_break): New.
3927 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3928 instead of gdbarch_decr_pc_after_break.
3929 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3930 instead of gdbarch_decr_pc_after_break.
3931 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3932 instead of gdbarch_decr_pc_after_break.
3933 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3934 instead of gdbarch_decr_pc_after_break.
3935 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3936 instead of gdbarch_decr_pc_after_break.
3937 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3938 instead of gdbarch_decr_pc_after_break.
3940 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3942 * btrace.c: Include regcache.h.
3943 (btrace_add_pc): New.
3944 (btrace_enable): Call btrace_add_pc.
3945 (btrace_is_empty): New.
3946 * btrace.h (btrace_is_empty): New.
3947 * record-btrace.c (require_btrace, record_btrace_info): Call
3950 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3952 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3953 Support delta reads.
3954 (linux_disable_btrace): Change return type.
3955 * common/linux-btrace.h (linux_read_btrace): Change parameters
3956 and return type to allow error reporting. Update users.
3957 (linux_disable_btrace): Change return type. Update users.
3958 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3960 (btrace_error): New.
3961 (btrace_block) <begin>: Comment on BEGIN == 0.
3962 * btrace.c (btrace_compute_ftrace): Start from the end of
3964 (btrace_stitch_trace, btrace_clear_history): New.
3965 (btrace_fetch): Read delta trace, return if replaying.
3966 (btrace_clear): Move clear history code to btrace_clear_history.
3967 (parse_xml_btrace): Throw an error if parsing failed.
3968 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3969 and return type to allow error reporting.
3970 (target_read_btrace): Change parameters and return type to allow
3972 * target.c (target_read_btrace): Update.
3973 * remote.c (remote_read_btrace): Support delta reads. Pass
3975 * NEWS: Announce it.
3977 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3979 * record.h (record_btrace_frame_unwind)
3980 (record_btrace_tailcall_frame_unwind): New declarations.
3981 * dwarf2-frame: Include record.h
3982 (dwarf2_frame_cfa): Throw an error for btrace frames.
3983 * record-btrace.c: Include hashtab.h.
3984 (btrace_get_bfun_name): New.
3985 (btrace_call_history): Call btrace_get_bfun_name.
3986 (struct btrace_frame_cache): New.
3988 (bfcache_hash, bfcache_eq, bfcache_new): New.
3989 (btrace_get_frame_function): New.
3990 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3991 (record_btrace_frame_this_id): Compute own id.
3992 (record_btrace_frame_prev_register): Provide PC, throw_error
3993 for all other registers.
3994 (record_btrace_frame_sniffer): Detect btrace frames.
3995 (record_btrace_tailcall_frame_sniffer): New.
3996 (record_btrace_frame_dealloc_cache): New.
3997 (record_btrace_frame_unwind): Add new functions.
3998 (record_btrace_tailcall_frame_unwind): New.
3999 (_initialize_record_btrace): Allocate cache.
4000 * btrace.c (btrace_clear): Call reinit_frame_cache.
4001 * NEWS: Announce it.
4003 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4005 * record-btrace.c (record_btrace_set_replay)
4006 (record_btrace_goto_begin, record_btrace_goto_end)
4007 (record_btrace_goto): New.
4008 (init_record_btrace_ops): Initialize them.
4009 * NEWS: Announce it.
4011 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4013 * record-btrace.c (record_btrace_find_new_threads)
4014 (record_btrace_thread_alive): New.
4015 (init_record_btrace_ops): Initialize to_find_new_threads and
4018 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4020 * record-btrace.c (record_btrace_resume): New.
4021 (record_btrace_wait): New.
4022 (init_record_btrace_ops): Initialize to_wait and to_resume.
4024 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4026 * record-btrace.c (record_btrace_xfer_partial)
4027 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
4028 (record_btrace_allow_memory_access): New.
4029 (init_record_btrace_ops): Initialize new methods.
4030 * target.c (raw_memory_xfer_partial): Bail out if target reports
4031 that this memory is not available.
4033 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4035 * target.h (target_ops) <to_insert_breakpoint>
4036 <to_remove_breakpoint>: Add target_ops parameter.
4037 (forward_target_insert_breakpoint): New.
4038 (forward_target_remove_breakpoint): New.
4039 (memory_remove_breakpoint, memory_insert_breakpoint):
4040 Add target_ops parameter.
4041 * target.c (target_insert_breakpoint): Split into this and ...
4042 (forward_target_insert_breakpoint): ... this.
4043 (target_remove_breakpoint): Split into this and ...
4044 (forward_target_remove_breakpoint): ... this.
4045 (debug_to_insert_breakpoint): Add target_ops parameter.
4046 Call forward_target_insert_breakpoint.
4047 (debug_to_remove_breakpoint): Add target_ops parameter.
4048 Call forward_target_remove_breakpoint.
4049 (update_current_target): Do not inherit or default to_insert_breakpoint
4050 and to_remove_breakpoint.
4051 * corelow.c (ignore): Add target_ops parameter.
4052 * exec.c (ignore): Add target_ops parameter.
4053 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
4054 Add target_ops parameter.
4055 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
4056 Add target_ops parameter.
4057 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
4058 Add target_ops parameter.
4059 * record-full.c (record_full_beneath_to_insert_breakpoint)
4060 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
4061 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
4062 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
4063 (record_full_core_remove_breakpoint): Add target_ops parameter.
4065 (record_full_beneath_to_insert_breakpoint_ops)
4066 (record_full_beneath_to_remove_breakpoint_ops)
4067 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
4068 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
4069 tmp_to_remove_breakpoint_ops,
4070 record_full_beneath_to_insert_breakpoint_ops, and
4071 record_full_beneath_to_remove_breakpoint_ops.
4072 * remote-m32r-sdi.c (m32r_insert_breakpoint)
4073 (m32r_remove_breakpoint): Add target_ops parameter.
4074 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
4075 Add target_ops parameter.
4076 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
4077 Add target_ops parameter.
4079 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4080 Markus Metzger <markus.t.metzger@intel.com>
4082 * record-btrace.c: Include frame-unwind.h.
4083 (record_btrace_frame_unwind_stop_reason)
4084 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
4085 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
4087 (init_record_btrace_ops): Install it.
4089 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4091 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
4094 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4096 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
4099 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4101 * frame-unwind.c: Include target.h.
4102 (frame_unwind_try_unwinder): New function with code from ...
4103 (frame_unwind_find_by_frame): ... here. New variable
4104 unwinder_from_target, call also target_get_unwinder)
4105 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
4106 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
4107 * target.h (struct target_ops): New fields to_get_unwinder and
4108 to_get_tailcall_unwinder.
4109 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
4111 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4113 * record-btrace.c (record_btrace_fetch_registers)
4114 (record_btrace_store_registers)
4115 (record_btrace_to_prepare_to_store): New.
4116 (init_record_btrace_ops): Add the above.
4118 2014-01-16 Tom Tromey <tromey@redhat.com>
4120 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
4121 * target.h (struct target_ops) <to_prepare_to_store>: Add
4123 (target_prepare_to_store): Add argument.
4124 * target.c (debug_to_prepare_to_store): Add argument.
4125 (update_current_target): Update.
4126 * remote.c (remote_prepare_to_store): Add 'self' argument.
4127 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
4128 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
4129 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
4130 * record-full.c (record_full_core_prepare_to_store): Add 'self'
4132 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
4133 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
4134 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
4135 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
4136 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
4138 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4140 * btrace.h (replay) <replay>: New.
4141 (btrace_is_replaying): New.
4142 * btrace.c (btrace_clear): Free replay iterator.
4143 (btrace_is_replaying): New.
4144 * record-btrace.c (record_btrace_is_replaying): New.
4145 (record_btrace_info): Print insn number if replaying.
4146 (record_btrace_insn_history): Start at replay position.
4147 (record_btrace_call_history): Start at replay position.
4148 (init_record_btrace_ops): Init to_record_is_replaying.
4150 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4152 * record-btrace.c (record_btrace_insn_history_range): Include
4154 (record_btrace_insn_history_from): Adjust range.
4155 (record_btrace_call_history_range): Include
4157 (record_btrace_call_history_from): Adjust range.
4158 * NEWS: Announce changes.
4160 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4162 * record.h (enum record_print_flag)
4163 <record_print_indent_calls>: New.
4164 * record.c (get_call_history_modifiers): Recognize /c modifier.
4165 (_initialize_record): Document /c modifier.
4166 * record-btrace.c (btrace_call_history): Add btinfo parameter.
4167 Reorder fields. Optionally indent the function name. Update
4169 * NEWS: Announce changes.
4171 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4173 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
4175 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4177 * btrace.c (ftrace_new_function): Start counting at one.
4178 * record-btrace.c (record_btrace_info): Adjust number of calls
4180 * NEWS: Announce it.
4182 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4184 * record-btrace.c (btrace_call_history_insn_range): Print
4185 insn range as [begin, end].
4187 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4189 * btrace.h (struct btrace_func_link): New.
4190 (enum btrace_function_flag): New.
4191 (struct btrace_inst): Rename to ...
4192 (struct btrace_insn): ...this. Update all users.
4193 (struct btrace_func) <ibegin, iend>: Remove.
4194 (struct btrace_func_link): New.
4195 (struct btrace_func): Rename to ...
4196 (struct btrace_function): ...this. Update all users.
4197 (struct btrace_function) <segment, flow, up, insn, insn_offset)
4198 (number, level, flags>: New.
4199 (struct btrace_insn_iterator): Rename to ...
4200 (struct btrace_insn_history): ...this.
4202 (struct btrace_insn_iterator, btrace_call_iterator): New.
4203 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
4204 (struct btrace_target_info) <begin, end, level>
4205 <insn_history, call_history>: New.
4206 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4207 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4208 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4209 (btrace_call_number, btrace_call_begin, btrace_call_end)
4210 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4211 (btrace_find_function_by_number, btrace_set_insn_history)
4212 (btrace_set_call_history): New.
4213 * btrace.c (btrace_init_insn_iterator)
4214 (btrace_init_func_iterator, compute_itrace): Remove.
4215 (ftrace_print_function_name, ftrace_print_filename)
4216 (ftrace_skip_file): Change
4218 (ftrace_init_func): Remove.
4219 (ftrace_debug): Use new btrace_function fields.
4220 (ftrace_function_switched): Also consider gaining and
4221 losing symbol information).
4222 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
4223 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
4224 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
4226 (ftrace_new_function): Move. Remove debug print.
4227 (ftrace_update_lines, ftrace_update_insns): New.
4228 (ftrace_update_function): Check for call, ret, and jump.
4229 (compute_ftrace): Renamed to ...
4230 (btrace_compute_ftrace): ...this. Rewritten to compute call
4232 (btrace_fetch, btrace_clear): Updated.
4233 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4234 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4235 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4236 (btrace_call_number, btrace_call_begin, btrace_call_end)
4237 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4238 (btrace_find_function_by_number, btrace_set_insn_history)
4239 (btrace_set_call_history): New.
4240 * record-btrace.c (require_btrace): Use new btrace thread
4242 (record_btrace_info, btrace_insn_history)
4243 (record_btrace_insn_history, record_btrace_insn_history_range):
4244 Use new btrace thread info fields and new iterator.
4245 (btrace_func_history_src_line): Rename to ...
4246 (btrace_call_history_src_line): ...this. Use new btrace
4248 (btrace_func_history): Rename to ...
4249 (btrace_call_history): ...this. Use new btrace thread info
4250 fields and new iterator.
4251 (record_btrace_call_history, record_btrace_call_history_range):
4252 Use new btrace thread info fields and new iterator.
4254 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4256 * frame.h (frame_id_build_unavailable_stack_special): New.
4257 * frame.c (frame_id_build_unavailable_stack_special): New.
4259 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4261 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
4262 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
4263 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
4265 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
4266 (i386_insn_is_jump, i386_jmp_p): New.
4267 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
4268 insn_is_jump to gdbarch.
4269 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
4270 * gdbarch.h: Regenerated.
4271 * gdbarch.c: Regenerated.
4272 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
4273 (default_insn_is_jump): New.
4274 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
4275 (default_insn_is_jump): New.
4277 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4279 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
4281 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
4282 (btrace_read_type) <btrace_read_new>: Change to ...
4283 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
4285 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4287 * common/linux-btrace.c (linux_read_btrace): Free trace from
4290 2014-01-15 Doug Evans <dje@google.com>
4292 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
4295 2014-01-15 Tom Tromey <tromey@redhat.com>
4297 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
4298 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
4299 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
4300 (set_objfile_main_name): New function.
4301 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
4302 language_of_main>: New fields.
4303 (set_objfile_main_name): Declare.
4304 * symtab.c (find_main_name): Loop over objfiles to find the main
4306 (set_main_name): Now static.
4307 (get_main_info): Add comment.
4308 * symtab.h (set_main_name): Don't declare.
4310 2014-01-15 Tom Tromey <tromey@redhat.com>
4312 * symtab.c (main_progspace_key): New global.
4313 (struct main_info): New.
4314 (name_of_main, language_of_main): Remove.
4315 (get_main_info, main_info_cleanup): New function.
4316 (set_main_name, main_name, main_language): Use get_main_info.
4317 (_initialize_symtab): Initialize main_progspace_key.
4319 2014-01-15 Tom Tromey <tromey@redhat.com>
4321 * dbxread.c (process_one_symbol): Update.
4322 * dwarf2read.c (read_partial_die): Update.
4323 * symfile.c (set_initial_language): Call main_language.
4324 * symtab.c (language_of_main): Now static.
4325 (set_main_name): Add 'lang' parameter.
4326 (find_main_name): Update.
4327 (main_language): New function.
4328 (symtab_observer_executable_changed): Update.
4329 * symtab.h (set_main_name): Update.
4330 (language_of_main): Remove.
4331 (main_language): Declare.
4333 2014-01-15 Tom Tromey <tromey@redhat.com>
4335 * symfile.c (init_entry_point_info): Use new "initialized" field.
4337 * objfiles.h (struct entry_point) <initialized>: New field.
4338 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
4339 (struct objfile) <ei>: ...here. Remove.
4340 * objfiles.c (entry_point_address_query): Update.
4342 2014-01-15 Tom Tromey <tromey@redhat.com>
4344 * objfiles.c (entry_point_address_query): Relocate entry point
4346 (objfile_relocate1): Do not relocate entry point address.
4347 * objfiles.h (struct entry_info) <entry_point>: Update comment.
4348 <the_bfd_section_index>: New field.
4349 * symfile.c (init_entry_point_info): Find the entry point's
4352 2014-01-15 Tom Tromey <tromey@redhat.com>
4354 * solib-frv.c (enable_break): Use entry_point_address_query.
4356 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4358 * NEWS: Add note on improved process record-replay on
4359 arm*-linux* targets.
4361 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4363 * arm-tdep.c (enum arm_record_result): New enum.
4364 (arm_record_unsupported_insn): New function.
4365 (arm_record_coproc_data_proc): Removed.
4366 (thumb2_record_ld_st_multiple): New function.
4367 (thumb2_record_ld_st_dual_ex_tbb): New function.
4368 (thumb2_record_data_proc_sreg_mimm): New function.
4369 (thumb2_record_ps_dest_generic): New function.
4370 (thumb2_record_branch_misc_cntrl): New function.
4371 (thumb2_record_str_single_data): New function.
4372 (thumb2_record_ld_mem_hints): New function.
4373 (thumb2_record_ld_word): New function.
4374 (thumb2_record_lmul_lmla_div): New function.
4375 (thumb2_record_decode_insn_handler): New function.
4376 (decode_insn): Add thumb32 instruction handlers.
4378 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4380 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
4381 (struct arm_linux_record_tdep): Declare.
4382 (arm_canonicalize_syscall): New function.
4383 (arm_all_but_pc_registers_record): New function.
4384 (arm_linux_syscall_record): New function.
4385 (arm_linux_init_abi): Add syscall recording constructs.
4386 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
4387 decoding. (arm_record_coproc_data_proc): Update arm syscall
4389 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
4390 <arm_syscall_record>: New field.
4391 * configure.tgt (arm*-*-linux*): Add linux-record.o to
4394 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4396 * arm-tdep.c (thumb_record_misc): Update to use sp as base
4397 register for push instruction recording.
4399 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4401 * arm-tdep.c (thumb_record_misc): Update to correct logical
4402 error while recording ldm, ldmia and pop instructions.
4404 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4406 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
4408 2014-01-15 Pedro Alves <palves@redhat.com>
4410 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
4411 (go32_resume, go32_fetch_registers, store_register)
4412 (go32_store_registers, go32_prepare_to_store)
4413 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
4414 (go32_create_inferior, go32_can_run, go32_terminal_init)
4415 (go32_terminal_inferior, go32_terminal_ours): Delete forward
4418 2014-01-15 Tom Tromey <tromey@redhat.com>
4420 * target.h (async_callback_ftype): New typedef.
4421 (struct target_ops) <to_async>: Use it.
4423 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4425 * python/py-value.c (get_field_type): Remove unnecessary curly
4426 braces for single-statement if block.
4428 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4430 * python/py-type.c (convert_field): Add missing empty line
4433 2014-01-14 Doug Evans <dje@google.com>
4435 * symfile.h (expand_symtabs_matching): Renamed from
4436 expand_partial_symbol_names. Update prototype.
4437 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4438 * symfile.c (expand_symtabs_matching): Renamed from
4439 expand_partial_symbol_names. New args file_matcher, kind.
4440 Rename arg fun to symbol_matcher.
4441 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4442 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
4443 ada_expand_partial_symbol_name.
4444 (ada_make_symbol_completion_list): Update to call
4445 expand_symtabs_matching.
4446 (ada_add_global_exceptions): Call expand_symtabs_matching.
4447 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
4448 call map_symbol_filenames.
4449 * symtab.c (sources_info): Update to call map_symbol_filenames.
4450 (search_symbols): Call expand_symtabs_matching.
4451 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
4452 (default_make_symbol_completion_list_break_on): Update to call
4453 expand_symtabs_matching.
4454 (make_source_files_completion_list): Update to call
4455 map_symbol_filenames.
4457 2014-01-14 Doug Evans <dje@google.com>
4459 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
4460 (expand_symtabs_symbol_matcher_ftype): New typedef.
4461 (quick_symbol_functions.expand_symtabs_matching): Update to use.
4462 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4463 * symfile.c (expand_partial_symbol_names): Update to use
4464 expand_symtabs_symbol_matcher_ftype.
4465 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
4466 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4467 Arg name_matcher renamed to symbol_matcher.
4468 * psymtab.c (recursively_search_psymtabs): Update to use
4469 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
4471 (expand_symtabs_matching_via_partial): Update to use
4472 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4473 Arg name_matcher renamed to symbol_matcher.
4475 2014-01-14 Doug Evans <dje@google.com>
4477 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
4478 (map_partial_symbol_filenames): Ditto.
4479 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
4480 (map_partial_symbol_filenames): Ditto.
4481 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
4482 (map_partial_symbol_filenames): Ditto.
4483 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
4484 (map_partial_symbol_filenames): Ditto.
4485 * symtab.c: Delete #include "psymtab.h".
4487 2014-01-14 Pedro Alves <palves@redhat.com>
4488 Tom Tromey <tromey@redhat.com>
4490 * infrun.c (use_displaced_stepping): Use find_record_target
4491 instead of RECORD_IS_USED.
4492 (adjust_pc_after_break): Use record_full_is_used instead of
4494 * record-btrace.c (record_btrace_open): Call record_preopen
4495 instead of checking RECORD_IS_USED.
4496 * record-full.c (record_full_shortname)
4497 (record_full_core_shortname): New globals.
4498 (record_full_is_used): New function.
4499 (find_full_open): Call record_preopen instead of checking
4501 (init_record_full_ops): Set the target's shortname to
4502 record_full_shortname.
4503 (init_record_full_core_ops): Set the target's shortname to
4504 record_full_core_shortname.
4505 * record-full.h (record_full_is_used): Declare.
4506 * record.c (find_record_target): Make extern.
4507 (record_preopen): New function.
4508 * record.h (RECORD_IS_USED): Delete macro.
4509 (find_record_target, record_preopen): Declare functions.
4511 2014-01-14 Yao Qi <yao@codesourcery.com>
4513 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
4514 'len''s type to ULONGEST.
4515 (core_xfer_shared_libraries_aix): Likewise.
4516 * gdbarch.c, gdbarch.h: Regenerated.
4517 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
4518 Change type of 'len' to ULONGEST.
4519 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4520 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
4522 2014-01-14 Yao Qi <yao@codesourcery.com>
4524 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
4525 type of 'len' to ULONGEST.
4526 (linux_xfer_osdata_processgroups): Likewise.
4527 (linux_xfer_osdata_threads): Likewise.
4528 (linux_xfer_osdata_fds): Likewise.
4529 (linux_xfer_osdata_isockets): Likewise.
4530 (linux_xfer_osdata_shm): Likewise.
4531 (linux_xfer_osdata_sem): Likewise.
4532 (linux_xfer_osdata_msg): Likewise.
4533 (linux_common_xfer_osdata): Likewise.
4534 (struct osdata_type) <getter>: Likewise.
4535 * common/linux-osdata.h (linux_common_xfer_osdata): Update
4538 2014-01-14 Yao Qi <yao@codesourcery.com>
4540 * target.h (target_xfer_partial_ftype): Update.
4541 (struct target_ops) <to_xfer_partial>: Change 'len' type to
4543 * aix-thread.c (aix_thread_xfer_partial): Change type of
4544 argument 'len' to ULONGEST.
4545 * auxv.c (procfs_xfer_auxv): Likewise.
4546 (ld_so_xfer_auxv): Likewise.
4547 (memory_xfer_auxv): Likewise.
4548 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4549 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4550 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4551 * corelow.c (core_xfer_partial): Likewise.
4552 * ctf.c (ctf_xfer_partial): Likewise.
4553 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
4555 (darwin_read_dyld_info): Likewise.
4556 (darwin_xfer_partial): Likewise.
4557 * exec.c (section_table_xfer_memory_partial): Likewise.
4558 (exec_xfer_partial): Likewise.
4559 * exec.h (section_table_xfer_memory_partial): Update
4561 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
4562 instead of plongest.
4563 (gnu_xfer_partial): Likewise.
4564 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
4565 (ia64_hpux_xfer_solib_got): Likewise.
4566 (ia64_hpux_xfer_partial): Likewise.
4567 * ia64-linux-nat.c (ia64_linux_xfer_partial):
4568 * inf-ptrace.c (inf_ptrace_xfer_partial):
4569 * inf-ttrace.c (inf_ttrace_xfer_partial):
4570 * linux-nat.c (linux_xfer_siginfo): Likewise.
4571 (linux_nat_xfer_partial): Likewise.
4572 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
4573 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
4574 * monitor.c (monitor_xfer_memory): Likewise.
4575 (monitor_xfer_partial): Likewise.
4576 * procfs.c (procfs_xfer_partial): Likewise.
4577 * record-full.c (record_full_xfer_partial): Likewise.
4578 (record_full_core_xfer_partial): Likewise.
4579 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
4580 instead of plongest.
4581 (gdbsim_xfer_partial): Likewise.
4582 * remote.c (remote_xfer_partial): Likewise.
4583 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4584 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4586 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4587 (rs6000_xfer_shared_libraries): Likewise.
4588 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4589 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4590 (sparc_xfer_partial): Likewise.
4591 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4592 (spu_xfer_partial): Likewise.
4593 * spu-multiarch.c (spu_xfer_partial): Likewise.
4594 * target.c (target_read_live_memory): Likewise.
4595 (memory_xfer_live_readonly_partial): Likewise.
4596 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
4597 (target_xfer_partial, default_xfer_partial): Likewise.
4598 (current_xfer_partial): Likewise.
4599 * tracepoint.c (tfile_xfer_partial): Likewise.
4600 * windows-nat.c (windows_xfer_memory): Likewise. Call
4601 pulongest instead of plongest.
4602 (windows_xfer_partial): Likewise.
4603 (windows_xfer_shared_libraries): Likewise.
4605 2014-01-14 Yao Qi <yao@codesourcery.com>
4607 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
4608 target_xfer_partial_ftype.
4610 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4614 * valops.c (value_struct_elt_bitpos): New function
4615 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
4616 object to 'None' if the field name is an empty string ("").
4617 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
4618 attribute to look for a field when 'name' is 'None'.
4619 (get_field_type): New function
4621 2014-01-13 Doug Evans <dje@google.com>
4624 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
4625 (try_open_dwop_file): Ditto.
4626 * gdb_bfd.c: #include "vec.h".
4627 (bfdp): New typedef.
4628 (struct gdb_bfd_data): New member included_bfds.
4629 (gdb_bfd_unref): Unref all included bfds.
4630 (gdb_bfd_record_inclusion): New function.
4631 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
4633 2014-01-13 Tom Tromey <tromey@redhat.com>
4635 * gdbcore.h (deprecated_core_resize_section_table): Remove.
4637 2014-01-13 Tom Tromey <tromey@redhat.com>
4639 * defs.h (use_windows): Remove.
4640 * gdb.c (main): Update.
4641 * main.c (captured_main, gdb_main): Update.
4642 * main.h (struct captured_main_args) <use_windows>: Remove.
4643 * top.c (use_windows): Remove.
4645 2014-01-13 Tom Tromey <tromey@redhat.com>
4647 * defs.h (deprecated_flush_hook): Remove.
4649 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4652 * linux-thread-db.c (try_thread_db_load): Add parameter
4653 check_auto_load_safe. Move here the file_is_auto_load_safe call.
4654 (try_thread_db_load_from_pdir_1): Move it there from here.
4655 (try_thread_db_load_from_sdir): Update caller.
4656 (try_thread_db_load_from_dir): Move it there from here.
4658 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
4660 * regformats/regdat.sh: Always rewrite the register file.
4662 2014-01-13 Pedro Alves <palves@redhat.com>
4664 * Makefile.in (CHECK_HEADERS): New variable.
4665 (check-headers:): New rule.
4667 2014-01-13 Tom Tromey <tromey@redhat.com>
4669 * cli/cli-setshow.c (do_set_command): Update.
4670 * defs.h (deprecated_set_hook): Remove.
4671 * top.c (deprecated_set_hook): Remove.
4673 2014-01-13 Pedro Alves <palves@redhat.com>
4675 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
4676 the tracepoint if the PC is a pseudo-register.
4678 2014-01-13 Tom Tromey <tromey@redhat.com>
4680 * defs.h (XCALLOC): Remove.
4681 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
4682 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
4683 * dwarf2loc.c (allocate_piece_closure): Likewise.
4684 * elfread.c (elf_symfile_segments): Likewise.
4685 (elf_symfile_segments): Likewise.
4686 * gdbtypes.c (copy_type_recursive): Likewise.
4687 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
4688 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
4689 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
4691 * mt-tdep.c (mt_gdbarch_init): Likewise.
4692 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
4694 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
4695 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
4696 * registry.c (registry_alloc_data): Likewise.
4697 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
4698 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
4699 * serial.c (serial_fdopen_ops): Likewise.
4700 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
4702 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
4703 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
4706 2014-01-13 Tom Tromey <tromey@redhat.com>
4708 * defs.h (XMALLOC): Remove.
4709 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
4710 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
4711 * cli-out.c (struct ui_out *): Likewise.
4712 * cli/cli-dump.c (add_dump_command): Likewise.
4713 (add_dump_command): Likewise.
4714 * complaints.c (get_complaints): Likewise.
4715 (find_complaint): Likewise.
4716 * dwarf2-frame.c (execute_cfa_program): Likewise.
4717 * dwarf2read.c (abbrev_table_read_table): Likewise.
4718 * gdbarch.sh: Likewise.
4719 * gdbarch.c: Rebuild.
4720 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
4721 * interps.c (interp_new): Likewise.
4722 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
4723 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
4724 * mi/mi-console.c (mi_console_file_new): Likewise.
4725 * mi/mi-interp.c (mi_interpreter_init): Likewise.
4726 * mi/mi-out.c (mi_out_new): Likewise.
4727 * mi/mi-parse.c (mi_parse): Likewise.
4728 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
4729 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
4730 * observer.c (xalloc_observer_list_node): Likewise.
4731 * regcache.c (regcache_xmalloc_1): Likewise.
4732 * reggroups.c (reggroup_new): Likewise.
4733 (_initialize_reggroup): Likewise.
4734 * registry.c (register_data_with_cleanup): Likewise.
4735 * remote.c (remote_notif_stop_alloc_reply): Likewise.
4736 * ser-base.c (serial_ttystate): Likewise.
4737 * ser-mingw.c (make_pipe_state): Likewise.
4738 * ser-pipe.c (pipe_open): Likewise.
4739 * serial.c (serial_open): Likewise.
4740 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
4741 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
4742 (tui_alloc_win_info): Likewise.
4743 (tui_add_content_elements): Likewise.
4744 * tui/tui-file.c (tui_file_new): Likewise.
4745 * tui/tui-out.c (tui_out_new): Likewise.
4746 * ui-file.c (mem_file_new): Likewise.
4747 * ui-out.c (push_level): Likewise.
4748 (make_cleanup_ui_out_end): Likewise.
4749 (append_header_to_list): Likewise.
4750 (ui_out_new): Likewise.
4751 * user-regs.c (user_reg_add_builtin): Likewise.
4753 2014-01-13 Tom Tromey <tromey@redhat.com>
4755 * defs.h (XZALLOC): Remove.
4756 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
4757 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
4758 (get_ada_tasks_inferior_data): Likewise.
4759 * auto-load.c (get_auto_load_pspace_data): Likewise.
4760 * auxv.c (get_auxv_inferior_data): Likewise.
4761 * bfd-target.c (target_bfd_reopen): Likewise.
4762 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
4763 (deprecated_insert_raw_breakpoint): Likewise.
4764 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
4765 * corelow.c (core_open): Likewise.
4766 * darwin-nat.c (darwin_check_new_threads): Likewise.
4767 (darwin_attach_pid): Likewise.
4768 * dummy-frame.c (dummy_frame_push): Likewise.
4769 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
4770 * dwarf2loc.c (allocate_piece_closure): Likewise.
4771 * elfread.c (elf_symfile_segments): Likewise.
4772 * eval.c (ptrmath_type_p): Likewise.
4773 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
4774 * gdbtypes.c (alloc_type_arch): Likewise.
4775 (alloc_type_instance): Likewise.
4776 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
4777 * inf-child.c (inf_child_can_use_agent): Likewise.
4778 * inflow.c (get_inflow_inferior_data): Likewise.
4779 * infrun.c (save_infcall_suspend_state): Likewise.
4780 * jit.c (jit_reader_load): Likewise.
4781 (get_jit_objfile_data): Likewise.
4782 (get_jit_program_space_data): Likewise.
4783 (jit_object_open_impl): Likewise.
4784 (jit_symtab_open_impl): Likewise.
4785 (jit_block_open_impl): Likewise.
4786 (jit_frame_sniffer): Likewise.
4787 * linux-fork.c (add_fork): Likewise.
4788 * maint.c (make_command_stats_cleanup): Likewise.
4789 * objfiles.c (get_objfile_pspace_data): Likewise.
4790 * opencl-lang.c (struct lval_closure): Likewise.
4791 * osdata.c (osdata_start_osdata): Likewise.
4792 * progspace.c (new_address_space): Likewise.
4793 (add_program_space): Likewise.
4794 * remote-sim.c (get_sim_inferior_data): Likewise.
4795 * sh-tdep.c (sh_gdbarch_init): Likewise.
4796 * skip.c (Ignore): Likewise.
4797 (skip_delete_command): Likewise.
4798 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4799 (library_list_start_library): Likewise.
4800 (solib_aix_current_sos): Likewise.
4801 * solib-darwin.c (get_darwin_info): Likewise.
4802 (darwin_current_sos): Likewise.
4803 * solib-dsbt.c (get_dsbt_info): Likewise.
4804 * solib-ia64-hpux.c (new_so_list): Likewise.
4805 (ia64_hpux_get_solib_linkage_addr): Likewise.
4806 * solib-spu.c (append_ocl_sos): Likewise.
4807 (spu_current_sos): Likewise.
4808 * solib-svr4.c (get_svr4_info): Likewise.
4809 (svr4_keep_data_in_core): Likewise.
4810 (library_list_start_library): Likewise.
4811 (svr4_default_sos): Likewise.
4812 (svr4_read_so_list): Likewise.
4813 * solib-target.c (library_list_start_library): Likewise.
4814 (solib_target_current_sos): Likewise.
4815 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4816 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4817 * symfile.c (default_symfile_segments): Likewise.
4818 * target-descriptions.c (tdesc_data_init): Likewise.
4819 (tdesc_create_reg): Likewise.
4820 (struct tdesc_type *): Likewise.
4821 (tdesc_create_vector): Likewise.
4822 (tdesc_set_struct_size): Likewise.
4823 (struct tdesc_type *): Likewise.
4824 (tdesc_free_feature): Likewise.
4825 (tdesc_create_feature): Likewise.
4826 * windows-nat.c (windows_add_thread): Likewise.
4827 (windows_make_so): Likewise.
4828 * xml-support.c (gdb_xml_body_text): Likewise.
4829 (gdb_xml_create_parser_and_cleanup): Likewise.
4830 (xml_process_xincludes): Likewise.
4831 * xml-syscall.c (allocate_syscalls_info): Likewise.
4832 (syscall_create_syscall_desc): Likewise.
4834 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4836 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4837 function, with code from i386_stap_parse_special_token.
4838 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4839 (i386_stap_parse_special_token): Move code to the two functions
4842 2014-01-09 Pedro Alves <palves@redhat.com>
4843 Hui Zhu <hui@codesourcery.com>
4846 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4847 bp_err_string. Don't mark the location shlib_disabled if the
4848 error thrown wasn't a generic or memory error. Catch errors
4849 thrown while inserting breakpoints in overlayed code. Output
4850 error message of software breakpoints.
4851 * remote.c (remote_insert_breakpoint): If this breakpoint has
4852 target-side commands but this stub doesn't support Z0 packets,
4853 throw NOT_SUPPORTED_ERROR error.
4854 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4855 * target.h (target_insert_breakpoint): Extend comment.
4856 (target_insert_hw_breakpoint): Add comment.
4858 2014-01-08 Pedro Alves <palves@redhat.com>
4860 * remote.c (remote_add_thread): Add threads silently if starting
4862 (remote_notice_new_inferior): If in all-stop, and starting up,
4863 don't call notice_new_inferior.
4864 (get_current_thread): New function, factored out from ...
4865 (add_current_inferior_and_thread): ... this. Adjust.
4866 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4867 found any thread, then select the remote's current thread as GDB's
4870 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4872 * NEWS: Create a new section for the next release branch.
4873 Rename the section of the current branch, now that it has
4876 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4878 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4879 * version.in: Bump version to 7.7.50.DATE-cvs.
4881 2014-01-08 Yao Qi <yao@codesourcery.com>
4883 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4884 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4885 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4887 2014-01-08 Yao Qi <yao@codesourcery.com>
4889 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4890 return value of bfd_get_filename to symbol_file_add_from_bfd.
4892 2014-01-08 Pierre Muller <muller@sourceware.org>
4895 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4896 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4897 to prim_record_mininal_symbol_and_info.
4898 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4899 in call to prim_record_minimal_symbol_and_info.
4900 (read_pe_exported_syms): Set index field of section_data.
4902 2014-01-07 Andrew Pinski <apinski@cavium.com>
4904 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4905 * features/aarch64.c: Regenerate.
4907 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4909 * target.c (return_null): Define.
4910 (update_current_target): Use it instead of return_zero for
4911 functions that return a pointer.
4913 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4915 * source.c (add_path): Fix check for duplicated paths in the previously
4918 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4920 * ada-lang.c: Remove duplicated include statements.
4921 * alphabsd-nat.c: Ditto.
4922 * amd64-darwin-tdep.c: Ditto.
4923 * amd64fbsd-nat.c: Ditto.
4924 * auto-load.c: Ditto.
4926 * breakpoint.c: Ditto.
4928 * fork-child.c: Ditto.
4929 * gdb_usleep.c: Ditto.
4930 * i386-darwin-tdep.c: Ditto.
4931 * i386fbsd-nat.c: Ditto.
4933 * inferior.c: Ditto.
4935 * linux-nat.c: Ditto.
4936 * linux-tdep.c: Ditto.
4937 * m68kbsd-nat.c: Ditto.
4938 * m68klinux-nat.c: Ditto.
4939 * microblaze-tdep.c: Ditto.
4940 * mips-linux-tdep.c: Ditto.
4941 * mn10300-tdep.c: Ditto.
4942 * nto-tdep.c: Ditto.
4943 * opencl-lang.c: Ditto.
4945 * printcmd.c: Ditto.
4946 * regcache.c: Ditto.
4947 * remote-m32r-sdi.c: Ditto.
4951 * tilegx-linux-nat.c: Ditto.
4952 * tilegx-tdep.c: Ditto.
4953 * tracepoint.c: Ditto.
4955 * vaxbsd-nat.c: Ditto.
4956 * windows-nat.c: Ditto.
4957 * xtensa-tdep.c: Ditto.
4959 2014-01-07 Yao Qi <yao@codesourcery.com>
4961 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4963 2014-01-07 Yao Qi <yao@codesourcery.com>
4964 Joel Brobecker <brobecker@adacore.com>
4966 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4967 (pdc_write_regs): Likewise.
4968 (fetch_regs_kernel_thread): Likewise.
4969 (store_regs_kernel_thread): Likewise.
4971 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4973 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4974 tagged type objects to their actual type.
4976 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4978 * ada-valprint.c (print_field_values): Add "language" parameter.
4979 Update calls to print_field_values and print_variant_part.
4980 Pass new parameter "language" in call to val_print instead
4981 of "current_language". Replace call to ada_val_print by call
4983 (print_variant_part): Add "language" parameter.
4984 (ada_val_print_struct_union): Update call to print_field_values.
4986 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4988 * ada-valprint.c (ui_memcpy): Delete.
4989 (ada_print_floating): Update documentation. Add empty line
4990 between between function documentation and implementation.
4991 Delete variable "buffer". Use ui_file_xstrdup in place of
4992 ui_file_put. Minor adjustments following this change.
4994 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4996 * ada-valprint.c (ada_val_print_string): New function,
4997 extracted from ada_val_print_array.
4998 (ada_val_print_array): Replace extracted code by call
4999 to ada_val_print_string followed by a return. Move
5000 "else" branch to the function's top block.
5002 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5004 * ada-valprint.c (ada_val_print_array): Move implementation
5005 down. Rename parameter "offset" and "val" into "offset_aligned"
5006 and "original_value" respectively. Add parameter "offset".
5008 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5010 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
5011 re-organizing the code. Change the "???" message printed
5012 when target type is a TYPE_CODE_UNDEF into
5013 "<ref to undefined type>".
5015 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5017 * ada-valprint.c (print_record): Delete, implementation inlined...
5018 (ada_val_print_struct_union): ... here. Remove call to
5019 ada_check_typedef in inlined implementation.
5021 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5023 * ada-valprint.c (ada_val_print_gnat_array): New function,
5024 extracted from ada_val_print_1;
5025 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
5026 (ada_val_print_flt, ada_val_print_struct_union)
5027 (ada_val_print_ref): Likewise.
5028 (ada_val_print_1): Delete variables i and elttype.
5029 Replace extracted-out code by call to corresponding
5032 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5034 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
5036 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5038 * ada-valprint.c (ada_val_print_1): Replace calls to
5039 ada_val_print_1 by calls to val_print.
5041 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5043 * ada-valprint.c (ada_val_print_1): Add parameter "language".
5044 Update calls to self accordingly. Replace calls to c_val_print
5045 by calls to val_print.
5047 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5049 * ada-valprint.c (print_record): Delete declaration.
5050 (adjust_type_signedness, ada_val_print_1): Likewise.
5051 (ada_val_print): Move function implementation down.
5052 (print_variant_part, print_field_values, print_record):
5053 Move function implementation up.
5055 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5057 * python/py-type.c (typy_get_name): New function.
5058 (type_object_getset): Add entry for attribute "name".
5059 * NEWS: Add entry mentioning this new attribute.
5061 2014-01-07 Yao Qi <yao@codesourcery.com>
5063 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
5066 2014-01-07 Yao Qi <yao@codesourcery.com>
5068 * gnu-nat.c (info_port_rights): Add qualifier const to
5071 2014-01-07 Yao Qi <yao@codesourcery.com>
5073 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
5075 2014-01-07 Yao Qi <yao@codesourcery.com>
5077 * gnu-nat.c (make_inf) Update declaration.
5078 (make_inf): Make it static.
5079 (inf_set_traced): Likewise.
5080 (inf_port_to_thread, inf_task_died_status): Likewise.
5082 2014-01-07 Yao Qi <yao@codesourcery.com>
5084 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
5086 2014-01-07 Yao Qi <yao@codesourcery.com>
5088 * gnu-nat.c (_initialize_gnu_nat): Declare.
5090 2014-01-07 Yao Qi <yao@codesourcery.com>
5092 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
5094 (struct gdbarch_info) <byte_order>: Change type to
5096 <byte_order_for_code>: Likewise.
5097 * gdbarch.c, gdbarch.h: Regenerated.
5099 2014-01-06 Sasha Smundak <asmundak@google.com>
5101 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
5103 2014-01-06 Tom Tromey <tromey@redhat.com>
5105 * doublest.c (convert_doublest_to_floatformat): Use const, not
5107 * somread.c (som_symtab_read): Likewise.
5109 2014-01-07 Hui Zhu <hui@codesourcery.com>
5111 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
5112 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
5113 (gdb_bfd_fopen): Ditto.
5114 (gdb_bfd_openr): Ditto.
5115 (gdb_bfd_openw): Ditto.
5116 (gdb_bfd_openr_iovec): Ditto.
5117 (gdb_bfd_fdopenr): Ditto.
5118 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
5119 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
5121 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
5123 * symfile-mem.c (symbol_file_add_from_memory): Removed
5124 gdb_bfd_stash_filename.
5126 2014-01-03 Doug Evans <dje@google.com>
5128 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
5131 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5133 Update year range in copyright notice of all files.
5135 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5137 * top.c (print_gdb_version): Set copyright year to 2014.
5139 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5141 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
5143 For older changes see ChangeLog-2013.
5149 version-control: never