1 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4 * auto-load.c (auto_load_objfile_script_1): Change filename to
7 2014-02-25 Joel Brobecker <brobecker@adacore.com>
9 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
10 documentation. Adjust prototype to match the target_ops
11 to_xfer_partial method. Adjust implementation accordingly.
13 2014-02-25 Hui Zhu <hui@codesourcery.com>
15 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
18 2014-02-25 Kevin Buettner <kevinb@redhat.com>
20 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
21 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
22 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
23 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
24 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
25 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
26 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
27 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
29 (rl78_register_type): Use a data pointer type for SP and
30 new pseudo registers mentioned above. Use a 16 bit integer
31 type for all other register pairs.
32 (rl78_register_name, rl78_g10_register_name): Update for
34 (rl78_pseudo_register_read): Likewise.
35 (rl78_pseudo_register_write): Likewise.
36 (rl78_dwarf_reg_to_regnum): Return register numbers representing
37 to the newly added pseudo registers.
39 2014-02-24 Doug Evans <dje@google.com>
41 * value.c (record_latest_value): Fix comment.
42 * printcmd.c (print_command_1): Remove code to handle -1 return from
45 2014-02-24 Pedro Alves <palves@redhat.com>
47 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
48 deprecated_xfer_memory hook.
49 (procfs_xfer_partial): Call procfs_xfer_memory instead
50 of the deprecated_xfer_memory target hook.
51 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
54 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
56 * windows-nat.c (windows_xfer_shared_libraries): Return
57 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
58 requested object is TARGET_OBJECT_LIBRARIES.
60 2014-02-24 Yao Qi <yao@codesourcery.com>
62 * target.h (enum target_xfer_status)
63 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
64 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
66 * corefile.c (memory_error_message): User updated.
67 * exec.c (section_table_read_available_memory): Likewise.
68 * record-btrace.c (record_btrace_xfer_partial): Likewise.
69 * target.c (target_xfer_status_to_string): Likewise.
70 (raw_memory_xfer_partial): Likewise.
71 (memory_xfer_partial_1, target_xfer_partial): Likewise.
72 * valops.c (read_value_memory): Likewise.
73 * exec.h: Update comments.
75 2014-02-24 Yao Qi <yao@codesourcery.com>
77 * target.c (target_xfer_status_to_string): Rename argument err
79 * target.h (target_xfer_status_to_string): Update declaration.
80 Replace target_xfer_error_to_string with
81 target_xfer_status_to_string in comment.
83 2014-02-24 Yao Qi <yao@codesourcery.com>
85 * mips-linux-nat.c (super_close): Update its type.
86 (mips_linux_close): Pass 'self' to super_close.
88 2014-02-24 Yao Qi <yao@codesourcery.com>
90 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
91 * corefile.c (read_memory): Adjusted.
92 * target.c (target_write_with_progress): Adjusted.
94 2014-02-23 Yao Qi <yao@codesourcery.com>
98 2013-10-25 Yao Qi <yao@codesourcery.com>
100 * remote.c (remote_traceframe_info): Return early if
101 traceframe is not selected.
103 2013-07-19 Yao Qi <yao@codesourcery.com>
105 * target.c (update_current_target): Change the default action
106 of 'to_traceframe_info' from tcomplain to return_zero.
107 * target.h (struct target_ops) <to_traceframe_info>: Add more
110 2014-02-23 Yao Qi <yao@codesourcery.com>
112 * valops.c (read_value_memory): Rewrite it. Call
113 target_xfer_partial in a loop.
114 * exec.h (section_table_available_memory): Remove declaration.
116 * exec.c (section_table_available_memory): ... here. Make it
119 2014-02-23 Yao Qi <yao@codesourcery.com>
121 * exec.c (section_table_read_available_memory): New function.
122 * exec.h (section_table_read_available_memory): Declare.
123 * ctf.c (ctf_xfer_partial): Call
124 section_table_read_available_memory.
125 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
127 2014-02-23 Yao Qi <yao@codesourcery.com>
129 * ctf.c (ctf_xfer_partial): Move code to ...
130 * exec.c (exec_read_partial_read_only): ... it. New function.
131 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
132 * tracefile.c: Include "exec.h".
133 * exec.h (exec_read_partial_read_only): Declare.
135 2014-02-23 Yao Qi <yao@codesourcery.com>
137 * tracefile-tfile.c (tfile_has_all_memory): Remove.
138 (tfile_has_memory): Remove.
139 (init_tfile_ops): Don't set fields to_has_all_memory and
140 to_has_memory of tfile_ops.
141 * tracefile.c (tracefile_has_all_memory): New function.
142 (tracefile_has_memory): New function.
143 (init_tracefile_ops): Initialize fields to_has_all_memory and
144 to_has_memory of 'ops'.
146 2014-02-23 Yao Qi <yao@codesourcery.com>
148 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
149 (ctf_thread_alive, ctf_get_trace_status): Remove.
150 (init_ctf_ops): Don't set some fields of ctf_ops. Call
152 * tracefile-tfile.c (tfile_get_trace_status): Remove.
153 (tfile_has_stack, tfile_has_registers): Remove.
154 (tfile_thread_alive): Remove.
155 (init_tfile_ops): Don't set some fields of tfile_ops. Call
157 * tracefile.c (tracefile_has_stack): New function.
158 (tracefile_has_registers): New function.
159 (tracefile_thread_alive): New function.
160 (tracefile_get_trace_status): New function.
161 (init_tracefile_ops): New function.
162 * tracefile.h (init_tracefile_ops): Declare.
164 2014-02-23 Yao Qi <yao@codesourcery.com>
166 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
167 (O_LARGEFILE): Likewise.
168 (tfile_ops): Likewise.
169 (TRACE_HEADER_SIZE): Likewise.
170 (trace_fd, trace_frames_offset, cur_offset): Likewise.
171 (cur_data_size): Likewise.
172 (tfile_read, tfile_open, tfile_interp_line): Likewise.
173 (tfile_close, tfile_files_info): Likewise.
174 (tfile_get_trace_status): Likewise.
175 (tfile_get_tracepoint_status): Likewise.
176 (tfile_get_traceframe_address): Likewise.
177 (tfile_trace_find, match_blocktype): Likewise.
178 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
179 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
180 (tfile_get_trace_state_variable_value): Likewise.
181 (tfile_has_all_memory, tfile_has_memory): Likewise.
182 (tfile_has_stack, tfile_has_registers): Likewise.
183 (tfile_thread_alive, build_traceframe_info): Likewise.
184 (tfile_traceframe_info, init_tfile_ops): Likewise.
185 (_initialize_tracepoint): Don't call init_tfile_ops
186 and add_target_with_completer.
187 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
188 exec.h, completer.h and filenames.h.
189 (_initialize_tracefile_tfile): New function.
191 2014-02-23 Yao Qi <yao@codesourcery.com>
193 * Makefile.in (REMOTE_OBS): Append tracefile.o and
195 (HFILES_NO_SRCDIR): Add tracefile.h.
196 * ctf.c: Include "tracefile.h".
197 * tracefile.h: New file.
198 * tracefile.c: New file
199 * tracefile-tfile.c: New file.
200 * tracepoint.c: Include "tracefile.h".
201 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
202 (stop_reason_names): Add const.
203 (trace_file_writer_xfree): Move it to tracefile.c.
204 (trace_save, trace_save_command, trace_save_tfile): Likewise.
205 (trace_save_ctf): Likewise.
206 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
207 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
208 (tfile_write_header, tfile_write_regblock_type): Likewise.
209 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
210 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
211 (tfile_write_raw_data, tfile_end): Likewise.
212 (tfile_trace_file_writer_new): Likewise.
213 (free_uploaded_tp): Make it extern.
214 (free_uploaded_tsv): Make it extern.
215 (_initialize_tracepoint): Move code to register command 'tsave'
217 * tracepoint.h (stop_reason_names): Declare.
218 (struct trace_frame_write_ops): Move it to tracefile.h.
219 (struct trace_file_write_ops): Likewise.
220 (struct trace_file_writer): Likewise.
221 (free_uploaded_tsvs, free_uploaded_tps): Declare.
223 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
226 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
228 (get_cores_used_by_process): New parameter num_cores, use it.
229 (linux_xfer_osdata_processes): Pass num_cores to it.
230 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
233 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
235 * target.c (memory_xfer_partial): Fix length arg in call to
236 breakpoint_xfer_memory.
238 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
241 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
242 number comes after the + or - signs. Adjust length of register
243 name to be extracted.
245 2014-02-20 Tom Tromey <tromey@redhat.com>
247 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
248 (ada_varobj_ops): Mark "extern".
250 2014-02-20 Tom Tromey <tromey@redhat.com>
252 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
254 2014-02-20 Doug Evans <xdje42@gmail.com>
256 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
258 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
260 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
261 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
263 2014-02-20 lin zuojian <manjian2006@gmail.com>
264 Joel Brobecker <brobecker@adacore.com>
265 Doug Evans <xdje42@gmail.com>
268 * dwarf2read.c (struct die_info): New member in_process.
269 (reset_die_in_process): New function.
270 (process_die): Set it at the start, reset when returning.
271 (inherit_abstract_dies): Only call process_die if origin_child_die
272 not already being processed.
274 2014-02-20 Joel Brobecker <brobecker@adacore.com>
276 * windows-nat.c (handle_unload_dll): Add function documentation.
277 (do_initial_windows_stuff): Add comment explaining why we wait
278 until after inferior initialization has finished before
281 2014-02-20 Joel Brobecker <brobecker@adacore.com>
283 * windows-nat.c (get_module_name): Delete.
284 (windows_get_exec_module_filename): New function, mostly
285 inspired from get_module_name.
286 (windows_pid_to_exec_file): Replace call to get_module_name
287 by call to windows_get_exec_module_filename.
289 2014-02-20 Joel Brobecker <brobecker@adacore.com>
291 * windows-nat.c (handle_load_dll): Rewrite this function's
292 introductory comment. Remove code using get_module_name
293 to get the DLL's name.
295 2014-02-20 Joel Brobecker <brobecker@adacore.com>
297 * windows-nat.c (get_windows_debug_event): Ignore
298 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
299 if windows_initialization_done == 0.
300 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
301 Adjust implementation to always load all DLLs.
302 (do_initial_windows_stuff): Replace call to
303 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
305 2014-02-20 Joel Brobecker <brobecker@adacore.com>
307 * windows-nat.c (_initialize_windows_nat): Deprecate the
308 "dll-symbols" command. Turn the "add-shared-symbol-files"
309 and "assf" aliases into commands, and deprecate them as well.
310 * NEWS: Add entry explaining that "dll-symbols" and its two
311 aliases are now deprecated.
313 2014-02-20 Joel Brobecker <brobecker@adacore.com>
315 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
316 new-line in debug string. Remove trailing spaces.
318 2014-02-19 Stan Shebs <stan@codesourcery.com>
320 * darwin-nat.c (darwin_xfer_partial): Fix return type.
322 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
324 * NEWS: Add entry for the new feature
325 * python/py-value.c (valpy_binop): Call value_x_binop for struct
328 2014-02-19 Stan Shebs <stan@codesourcery.com>
330 * MAINTAINERS: List Yao Qi as nios2 maintainer.
332 2014-02-19 Pedro Alves <palves@redhat.com>
334 * common/ptid.h (struct ptid): Mention that process_stratum
335 targets should prefer ptid.lwp.
337 2014-02-19 Pedro Alves <palves@redhat.com>
339 * remote.c (remote_thread_alive, write_ptid, read_ptid)
340 (read_ptid, remote_newthread_step, remote_threads_extra_info)
341 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
342 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
343 store remote thread ids rather than ptid.tid.
344 (_initialize_remote): Adjust.
346 2014-02-19 Tom Tromey <tromey@redhat.com>
348 * target.c (target_get_unwinder): Rewrite.
349 (target_get_tailcall_unwinder): Rewrite.
350 * record-btrace.c (record_btrace_to_get_unwinder): New function.
351 (record_btrace_to_get_tailcall_unwinder): New function.
352 (init_record_btrace_ops): Update.
353 * target.h (struct target_ops) <to_get_unwinder,
354 to_get_tailcall_unwinder>: Now function pointers. Use
355 TARGET_DEFAULT_RETURN.
357 2014-02-19 Tom Tromey <tromey@redhat.com>
359 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
361 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
363 2014-02-19 Tom Tromey <tromey@redhat.com>
365 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
367 * target-delegates.c: Rebuild.
368 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
370 * target.c (default_target_decr_pc_after_break): Rename from
371 forward_target_decr_pc_after_break. Simplify.
372 (target_decr_pc_after_break): Rely on delegation.
374 2014-02-19 Tom Tromey <tromey@redhat.com>
376 * target.c (update_current_target): Do not INHERIT to_doc or
377 to_magic. Do not de_fault to_open or to_close.
379 2014-02-19 Tom Tromey <tromey@redhat.com>
381 * gcore.h (objfile_find_memory_regions): Declare.
382 * gcore.c (objfile_find_memory_regions): No longer static. Add
384 (_initialize_gcore): Don't call exec_set_find_memory_regions.
385 * exec.c: Include gcore.h.
386 (exec_set_find_memory_regions): Remove.
387 (exec_find_memory_regions): Remove.
388 (exec_do_find_memory_regions): Remove.
389 (init_exec_ops): Update.
390 * defs.h (exec_set_find_memory_regions): Remove.
392 2014-02-19 Tom Tromey <tromey@redhat.com>
394 * target-delegates.c: Rebuild.
395 * target.h (struct target_ops) <to_extra_thread_info,
396 to_thread_name, to_pid_to_exec_file, to_get_section_table,
397 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
398 not 0, in TARGET_DEFAULT_RETURN.
400 2014-02-19 Tom Tromey <tromey@redhat.com>
402 * target.c (complete_target_initialization): Remove casts. Use
403 return_zero_has_execution.
404 (return_zero): Add "ignore" argument.
405 (return_zero_has_execution): New function.
406 (init_dummy_target): Remove casts. Use
407 return_zero_has_execution.
409 2014-02-19 Tom Tromey <tromey@redhat.com>
411 * target.c (update_current_target): Update comments. Do not
414 2014-02-19 Tom Tromey <tromey@redhat.com>
416 * arm-linux-nat.c (arm_linux_read_description): Delegate when
418 * corelow.c (core_read_description): Delegate when needed.
419 * remote.c (remote_read_description): Delegate when needed.
420 * target-delegates.c: Rebuild.
421 * target.c (target_read_description): Rewrite.
422 * target.h (struct target_ops) <to_read_description>: Update
423 comment. Use TARGET_DEFAULT_RETURN.
425 2014-02-19 Tom Tromey <tromey@redhat.com>
427 * target-delegates.c: Rebuild.
428 * target.c (update_current_target): Don't inherit or default
430 (find_default_run_target): Check against delegate_can_run.
431 * target.h (struct target_ops) <to_can_run>: Use
432 TARGET_DEFAULT_RETURN.
434 2014-02-19 Tom Tromey <tromey@redhat.com>
436 * target-delegates.c: Rebuild.
437 * target.c (target_disconnect): Unconditionally delegate.
438 * target.h (struct target_ops) <to_disconnect>: Use
439 TARGET_DEFAULT_NORETURN.
441 2014-02-19 Tom Tromey <tromey@redhat.com>
443 * record.c (record_stop): Unconditionally delegate.
444 * target-delegates.c: Rebuild.
445 * target.c (target_stop_recording): Unconditionally delegate.
446 * target.h (struct target_ops) <to_stop_recording>: Use
447 TARGET_DEFAULT_IGNORE.
449 2014-02-19 Tom Tromey <tromey@redhat.com>
451 * target-delegates.c: Rebuild.
452 * target.c (target_enable_btrace): Unconditionally delegate.
453 * target.h (struct target_ops) <to_enable_btrace>: Use
454 TARGET_DEFAULT_NORETURN.
456 2014-02-19 Tom Tromey <tromey@redhat.com>
458 * target-delegates.c: Rebuild.
459 * target.c (target_read_btrace): Unconditionally delegate.
460 * target.h (struct target_ops) <to_read_btrace>: Use
461 TARGET_DEFAULT_NORETURN.
463 2014-02-19 Tom Tromey <tromey@redhat.com>
465 * target-delegates.c: Rebuild.
466 * target.c (target_teardown_btrace): Unconditionally delegate.
467 * target.h (struct target_ops) <to_teardown_btrace>: Use
468 TARGET_DEFAULT_NORETURN.
470 2014-02-19 Tom Tromey <tromey@redhat.com>
472 * target-delegates.c: Rebuild.
473 * target.c (target_disable_btrace): Unconditionally delegate.
474 * target.h (struct target_ops) <to_disable_btrace>: Use
475 TARGET_DEFAULT_NORETURN.
477 2014-02-19 Tom Tromey <tromey@redhat.com>
479 * target-delegates.c: Rebuild.
480 * target.c (default_search_memory): New function.
481 (simple_search_memory): Update comment.
482 (target_search_memory): Unconditionally delegate.
483 * target.h (struct target_ops) <to_search_memory>: Use
486 2014-02-19 Tom Tromey <tromey@redhat.com>
488 * auxv.c (default_auxv_parse): No longer static.
489 (target_auxv_parse): Unconditionally delegate.
490 * auxv.h (default_auxv_parse): Declare.
491 * target-delegates.c: Rebuild.
492 * target.c: Include auxv.h.
493 * target.h (struct target_ops) <to_auxv_parse>: Use
496 2014-02-19 Tom Tromey <tromey@redhat.com>
498 * target-delegates.c: Rebuild.
499 * target.c (target_memory_map): Unconditionally delegate.
500 * target.h (struct target_ops) <to_memory_map>: Use
501 TARGET_DEFAULT_RETURN.
503 2014-02-19 Tom Tromey <tromey@redhat.com>
505 * target-delegates.c: Rebuild.
506 * target.c (target_thread_alive): Unconditionally delegate.
507 * target.h (struct target_ops) <to_thread_alive>: Use
508 TARGET_DEFAULT_RETURN.
510 2014-02-19 Tom Tromey <tromey@redhat.com>
512 * target-delegates.c: Rebuild.
513 * target.c (target_save_record): Unconditionally delegate.
514 * target.h (struct target_ops) <to_save_record>: Use
515 TARGET_DEFAULT_NORETURN.
517 2014-02-19 Tom Tromey <tromey@redhat.com>
519 * target-delegates.c: Rebuild.
520 * target.c (target_delete_record): Unconditionally delegate.
521 * target.h (struct target_ops) <to_delete_record>: Use
522 TARGET_DEFAULT_NORETURN.
524 2014-02-19 Tom Tromey <tromey@redhat.com>
526 * target-delegates.c: Rebuild.
527 * target.c (target_record_is_replaying): Unconditionally
529 * target.h (struct target_ops) <to_record_is_replaying>: Use
530 TARGET_DEFAULT_RETURN.
532 2014-02-19 Tom Tromey <tromey@redhat.com>
534 * target-delegates.c: Rebuild.
535 * target.c (target_goto_record_begin): Unconditionally delegate.
536 * target.h (struct target_ops) <to_goto_record_begin>: Use
537 TARGET_DEFAULT_NORETURN.
539 2014-02-19 Tom Tromey <tromey@redhat.com>
541 * target-delegates.c: Rebuild.
542 * target.c (target_goto_record_end): Unconditionally delegate.
543 * target.h (struct target_ops) <to_goto_record_end>: Use
544 TARGET_DEFAULT_NORETURN.
546 2014-02-19 Tom Tromey <tromey@redhat.com>
548 * target-delegates.c: Rebuild.
549 * target.c (target_goto_record): Unconditionally delegate.
550 * target.h (struct target_ops) <to_goto_record>: Use
551 TARGET_DEFAULT_NORETURN.
553 2014-02-19 Tom Tromey <tromey@redhat.com>
555 * target-delegates.c: Rebuild.
556 * target.c (target_insn_history): Unconditionally delegate.
557 * target.h (struct target_ops) <to_insn_history>: Use
558 TARGET_DEFAULT_NORETURN.
560 2014-02-19 Tom Tromey <tromey@redhat.com>
562 * target-delegates.c: Rebuild.
563 * target.c (target_insn_history_from): Unconditionally delegate.
564 * target.h (struct target_ops) <to_insn_history_from>: Use
565 TARGET_DEFAULT_NORETURN.
567 2014-02-19 Tom Tromey <tromey@redhat.com>
569 * target-delegates.c: Rebuild.
570 * target.c (target_insn_history_range): Unconditionally delegate.
571 * target.h (struct target_ops) <to_insn_history_range>: Use
572 TARGET_DEFAULT_NORETURN.
574 2014-02-19 Tom Tromey <tromey@redhat.com>
576 * target-delegates.c: Rebuild.
577 * target.c (target_call_history): Unconditionally delegate.
578 * target.h (struct target_ops) <to_call_history>: Use
579 TARGET_DEFAULT_NORETURN.
581 2014-02-19 Tom Tromey <tromey@redhat.com>
583 * target-delegates.c: Rebuild.
584 * target.c (target_call_history_from): Unconditionally delegate.
585 * target.h (struct target_ops) <to_call_history_from>: Use
586 TARGET_DEFAULT_NORETURN.
588 2014-02-19 Tom Tromey <tromey@redhat.com>
590 * target-delegates.c: Rebuild.
591 * target.c (target_call_history_range): Unconditionally delegate.
592 * target.h (struct target_ops) <to_call_history_range>: Use
593 TARGET_DEFAULT_NORETURN.
595 2014-02-19 Tom Tromey <tromey@redhat.com>
597 * target-delegates.c: Rebuild.
598 * target.c (target_verify_memory): Unconditionally delegate.
599 * target.h (struct target_ops) <to_verify_memory>: Use
600 TARGET_DEFAULT_NORETURN.
602 2014-02-19 Tom Tromey <tromey@redhat.com>
604 * target-delegates.c: Rebuild.
605 * target.c (target_core_of_thread): Unconditionally delegate.
606 * target.h (struct target_ops) <to_core_of_thread>: Use
607 TARGET_DEFAULT_RETURN.
609 2014-02-19 Tom Tromey <tromey@redhat.com>
611 * target-delegates.c: Rebuild.
612 * target.c (target_flash_done): Unconditionally delegate.
613 * target.h (struct target_ops) <to_flash_done>: Use
614 TARGET_DEFAULT_NORETURN.
616 2014-02-19 Tom Tromey <tromey@redhat.com>
618 * target-delegates.c: Rebuild.
619 * target.c (target_flash_erase): Unconditionally delegate.
620 * target.h (struct target_ops) <to_flash_erase>: Use
621 TARGET_DEFAULT_NORETURN.
623 2014-02-19 Tom Tromey <tromey@redhat.com>
625 * target-delegates.c: Rebuild.
626 * target.c (target_get_section_table): Unconditionally delegate.
627 * target.h (struct target_ops) <to_get_section_table>: Use
628 TARGET_DEFAULT_RETURN.
630 2014-02-19 Tom Tromey <tromey@redhat.com>
632 * target-delegates.c: Rebuild.
633 * target.c (target_pid_to_str): Unconditionally delegate.
634 (init_dummy_target): Don't initialize to_pid_to_str.
635 (default_pid_to_str): Rename from dummy_pid_to_str.
636 * target.h (struct target_ops) <to_pid_to_str>: Use
639 2014-02-19 Tom Tromey <tromey@redhat.com>
641 * target-delegates.c: Rebuild.
642 * target.c (target_find_new_threads): Unconditionally delegate.
643 * target.h (struct target_ops) <to_find_new_threads>: Use
644 TARGET_DEFAULT_RETURN.
646 2014-02-19 Tom Tromey <tromey@redhat.com>
648 * target-delegates.c: Rebuild.
649 * target.c (target_program_signals): Unconditionally delegate.
650 * target.h (struct target_ops) <to_program_signals>: Use
651 TARGET_DEFAULT_IGNORE.
653 2014-02-19 Tom Tromey <tromey@redhat.com>
655 * target-delegates.c: Rebuild.
656 * target.c (target_pass_signals): Unconditionally delegate.
657 * target.h (struct target_ops) <to_pass_signals>: Use
658 TARGET_DEFAULT_IGNORE.
660 2014-02-19 Tom Tromey <tromey@redhat.com>
662 * target-delegates.c: Rebuild.
663 * target.c (default_mourn_inferior): New function.
664 (target_mourn_inferior): Unconditionally delegate.
665 * target.h (struct target_ops) <to_mourn_inferior>: Use
668 2014-02-19 Tom Tromey <tromey@redhat.com>
670 * target-delegates.c: Rebuild.
671 * target.c (default_follow_fork): New function.
672 (target_follow_fork): Unconditionally delegate.
673 * target.h (struct target_ops) <to_follow_fork>: Use
676 2014-02-19 Tom Tromey <tromey@redhat.com>
678 * target-delegates.c: Rebuild.
679 * target.c (target_kill): Unconditionally delegate.
680 * target.h (struct target_ops) <to_kill>: Use
681 TARGET_DEFAULT_NORETURN.
683 2014-02-19 Tom Tromey <tromey@redhat.com>
685 * target-delegates.c: Rebuild.
686 * target.c (target_masked_watch_num_registers): Unconditionally
688 * target.h (struct target_ops) <to_masked_watch_num_registers>:
689 Use TARGET_DEFAULT_RETURN.
691 2014-02-19 Tom Tromey <tromey@redhat.com>
693 * target-delegates.c: Rebuild.
694 * target.c (target_remove_mask_watchpoint): Unconditionally
696 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
697 TARGET_DEFAULT_RETURN.
699 2014-02-19 Tom Tromey <tromey@redhat.com>
701 * target-delegates.c: Rebuild.
702 * target.c (target_insert_mask_watchpoint): Unconditionally
704 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
705 TARGET_DEFAULT_RETURN.
707 2014-02-19 Tom Tromey <tromey@redhat.com>
709 * target-delegates.c: Rebuild.
710 * target.c (target_ranged_break_num_registers): Unconditionally
712 * target.h (struct target_ops) <to_ranged_break_num_registers>:
713 Use TARGET_DEFAULT_RETURN.
715 2014-02-19 Tom Tromey <tromey@redhat.com>
717 * target-delegates.c: Rebuild.
718 * target.c (target_fetch_registers): Unconditionally delegate.
719 * target.h (struct target_ops) <to_fetch_registers>: Use
720 TARGET_DEFAULT_NORETURN.
722 2014-02-19 Tom Tromey <tromey@redhat.com>
724 * target-delegates.c: Rebuild.
725 * target.c (update_current_target): Don't inherit or default
727 * target.h (struct target_ops) <to_stop>: Use
728 TARGET_DEFAULT_IGNORE.
730 2014-02-19 Tom Tromey <tromey@redhat.com>
732 * target-delegates.c: Rebuild.
733 * target.c (update_current_target): Don't inherit or default
734 to_can_run_breakpoint_commands.
735 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
736 Use TARGET_DEFAULT_RETURN.
738 2014-02-19 Tom Tromey <tromey@redhat.com>
740 * target-delegates.c: Rebuild.
741 * target.c (update_current_target): Don't inherit or default
742 to_supports_evaluation_of_breakpoint_conditions.
743 * target.h (struct target_ops)
744 <to_supports_evaluation_of_breakpoint_conditions>: Use
745 TARGET_DEFAULT_RETURN.
747 2014-02-19 Tom Tromey <tromey@redhat.com>
749 * target-delegates.c: Rebuild.
750 * target.c (update_current_target): Don't inherit or default
751 to_augmented_libraries_svr4_read.
752 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
753 Use TARGET_DEFAULT_RETURN.
755 2014-02-19 Tom Tromey <tromey@redhat.com>
757 * target-delegates.c: Rebuild.
758 * target.c (update_current_target): Don't inherit or default
760 * target.h (struct target_ops) <to_can_use_agent>: Use
761 TARGET_DEFAULT_RETURN.
763 2014-02-19 Tom Tromey <tromey@redhat.com>
765 * target-delegates.c: Rebuild.
766 * target.c (update_current_target): Don't inherit or default
768 * target.h (struct target_ops) <to_use_agent>: Use
769 TARGET_DEFAULT_NORETURN.
771 2014-02-19 Tom Tromey <tromey@redhat.com>
773 * target-delegates.c: Rebuild.
774 * target.c (update_current_target): Don't inherit or default
776 (return_null): Remove.
777 * target.h (struct target_ops) <to_traceframe_info>: Use
778 TARGET_DEFAULT_RETURN.
780 2014-02-19 Tom Tromey <tromey@redhat.com>
782 * target-delegates.c: Rebuild.
783 * target.c (update_current_target): Don't inherit or default
784 to_static_tracepoint_markers_by_strid.
785 * target.h (struct target_ops)
786 <to_static_tracepoint_markers_by_strid>: Use
787 TARGET_DEFAULT_NORETURN.
789 2014-02-19 Tom Tromey <tromey@redhat.com>
791 * target-delegates.c: Rebuild.
792 * target.c (update_current_target): Don't inherit or default
793 to_static_tracepoint_marker_at.
794 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
795 Use TARGET_DEFAULT_RETURN.
797 2014-02-19 Tom Tromey <tromey@redhat.com>
799 * target-delegates.c: Rebuild.
800 * target.c (update_current_target): Don't inherit or default
802 * target.h (struct target_ops) <to_set_permissions>: Use
803 TARGET_DEFAULT_IGNORE.
805 2014-02-19 Tom Tromey <tromey@redhat.com>
807 * target-delegates.c: Rebuild.
808 * target.c (update_current_target): Don't inherit or default
810 * target.h (struct target_ops) <to_get_tib_address>: Use
811 TARGET_DEFAULT_NORETURN.
813 2014-02-19 Tom Tromey <tromey@redhat.com>
815 * target-delegates.c: Rebuild.
816 * target.c (update_current_target): Don't inherit or default
818 * target.h (struct target_ops) <to_set_trace_notes>: Use
819 TARGET_DEFAULT_RETURN.
821 2014-02-19 Tom Tromey <tromey@redhat.com>
823 * target-delegates.c: Rebuild.
824 * target.c (update_current_target): Don't initialize
825 to_set_trace_buffer_size.
826 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
827 TARGET_DEFAULT_IGNORE.
829 2014-02-19 Tom Tromey <tromey@redhat.com>
831 * target-delegates.c: Rebuild.
832 * target.c (update_current_target): Don't inherit or default
833 to_set_circular_trace_buffer.
834 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
835 TARGET_DEFAULT_IGNORE.
837 2014-02-19 Tom Tromey <tromey@redhat.com>
839 * target-delegates.c: Rebuild.
840 * target.c (update_current_target): Don't inherit or default
841 to_set_disconnected_tracing.
842 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
843 TARGET_DEFAULT_IGNORE.
845 2014-02-19 Tom Tromey <tromey@redhat.com>
847 * target-delegates.c: Rebuild.
848 * target.c (update_current_target): Don't inherit or default
849 to_get_min_fast_tracepoint_insn_len.
850 (return_minus_one): Remove.
851 * target.h (struct target_ops)
852 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
854 2014-02-19 Tom Tromey <tromey@redhat.com>
856 * target-delegates.c: Rebuild.
857 * target.c (update_current_target): Don't inherit or default
858 to_get_raw_trace_data.
859 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
860 TARGET_DEFAULT_NORETURN.
862 2014-02-19 Tom Tromey <tromey@redhat.com>
864 * target-delegates.c: Rebuild.
865 * target.c (update_current_target): Don't inherit or default
866 to_upload_trace_state_variables.
867 * target.h (struct target_ops) <to_upload_trace_state_variables>:
868 Use TARGET_DEFAULT_RETURN.
870 2014-02-19 Tom Tromey <tromey@redhat.com>
872 * target-delegates.c: Rebuild.
873 * target.c (update_current_target): Don't inherit or default
874 to_upload_tracepoints.
875 * target.h (struct target_ops) <to_upload_tracepoints>: Use
876 TARGET_DEFAULT_RETURN.
878 2014-02-19 Tom Tromey <tromey@redhat.com>
880 * target-delegates.c: Rebuild.
881 * target.c (update_current_target): Don't inherit or default
883 * target.h (struct target_ops) <to_save_trace_data>: Use
884 TARGET_DEFAULT_NORETURN.
886 2014-02-19 Tom Tromey <tromey@redhat.com>
888 * target-delegates.c: Rebuild.
889 * target.c (update_current_target): Don't inherit or default
890 to_get_trace_state_variable_value.
891 * target.h (struct target_ops)
892 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
894 2014-02-19 Tom Tromey <tromey@redhat.com>
896 * target-delegates.c: Rebuild.
897 * target.c (update_current_target): Don't inherit or default
899 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
901 2014-02-19 Tom Tromey <tromey@redhat.com>
903 * target-delegates.c: Rebuild.
904 * target.c (update_current_target): Don't inherit or default
906 * target.h (struct target_ops) <to_trace_stop>: Use
907 TARGET_DEFAULT_NORETURN.
909 2014-02-19 Tom Tromey <tromey@redhat.com>
911 * target-delegates.c: Rebuild.
912 * target.c (update_current_target): Don't inherit or default
913 to_get_tracepoint_status.
914 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
915 TARGET_DEFAULT_NORETURN.
917 2014-02-19 Tom Tromey <tromey@redhat.com>
919 * target-delegates.c: Rebuild.
920 * target.c (update_current_target): Don't inherit or default
922 * target.h (struct target_ops) <to_get_trace_status>: Use
923 TARGET_DEFAULT_RETURN.
925 2014-02-19 Tom Tromey <tromey@redhat.com>
927 * target-delegates.c: Rebuild.
928 * target.c (update_current_target): Don't inherit or default
930 * target.h (struct target_ops) <to_trace_start>: Use
931 TARGET_DEFAULT_NORETURN.
933 2014-02-19 Tom Tromey <tromey@redhat.com>
935 * target-delegates.c: Rebuild.
936 * target.c (update_current_target): Don't inherit or default
937 to_trace_set_readonly_regions.
938 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
939 Use TARGET_DEFAULT_NORETURN.
941 2014-02-19 Tom Tromey <tromey@redhat.com>
943 * target-delegates.c: Rebuild.
944 * target.c (update_current_target): Don't inherit or default
945 to_disable_tracepoint.
946 * target.h (struct target_ops) <to_disable_tracepoint>: Use
947 TARGET_DEFAULT_NORETURN.
949 2014-02-19 Tom Tromey <tromey@redhat.com>
951 * target-delegates.c: Rebuild.
952 * target.c (update_current_target): Don't inherit or default
953 to_enable_tracepoint.
954 * target.h (struct target_ops) <to_enable_tracepoint>: Use
955 TARGET_DEFAULT_NORETURN.
957 2014-02-19 Tom Tromey <tromey@redhat.com>
959 * target-delegates.c: Rebuild.
960 * target.c (update_current_target): Don't inherit or default
961 to_download_trace_state_variable.
962 * target.h (struct target_ops) <to_download_trace_state_variable>:
963 Use TARGET_DEFAULT_NORETURN.
965 2014-02-19 Tom Tromey <tromey@redhat.com>
967 * target-delegates.c: Rebuild.
968 * target.c (update_current_target): Don't inherit or default
969 to_can_download_tracepoint.
970 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
971 TARGET_DEFAULT_RETURN.
973 2014-02-19 Tom Tromey <tromey@redhat.com>
975 * target-delegates.c: Rebuild.
976 * target.c (update_current_target): Don't inherit or default
977 to_download_tracepoint.
978 * target.h (struct target_ops) <to_download_tracepoint>: Use
979 TARGET_DEFAULT_NORETURN.
981 2014-02-19 Tom Tromey <tromey@redhat.com>
983 * target-delegates.c: Rebuild.
984 * target.c (update_current_target): Don't inherit or default
986 * target.h (struct target_ops) <to_trace_init>: Use
987 TARGET_DEFAULT_RETURN.
989 2014-02-19 Tom Tromey <tromey@redhat.com>
991 * target-delegates.c: Rebuild.
992 * target.c (update_current_target): Don't inherit or default
993 to_supports_string_tracing.
994 * target.h (struct target_ops) <to_supports_string_tracing>: Use
995 TARGET_DEFAULT_RETURN.
997 2014-02-19 Tom Tromey <tromey@redhat.com>
999 * target-delegates.c: Rebuild.
1000 * target.c (update_current_target): Don't inherit or default
1001 to_supports_enable_disable_tracepoint.
1002 * target.h (struct target_ops)
1003 <to_supports_enable_disable_tracepoint>: Use
1004 TARGET_DEFAULT_RETURN.
1006 2014-02-19 Tom Tromey <tromey@redhat.com>
1008 * target-delegates.c: Rebuild.
1009 * target.c (update_current_target): Don't inherit or default
1010 to_supports_multi_process.
1011 * target.h (struct target_ops) <to_supports_multi_process>: Use
1012 TARGET_DEFAULT_RETURN.
1014 2014-02-19 Tom Tromey <tromey@redhat.com>
1016 * target-delegates.c: Rebuild.
1017 * target.c (update_current_target): Don't inherit or default
1018 to_get_ada_task_ptid.
1019 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
1020 TARGET_DEFAULT_FUNC.
1022 2014-02-19 Tom Tromey <tromey@redhat.com>
1024 * target-delegates.c: Rebuild.
1025 * target.c (update_current_target): Don't inherit or default
1026 to_thread_architecture.
1027 * target.h (struct target_ops) <to_thread_architecture>: Use
1028 TARGET_DEFAULT_FUNC.
1030 2014-02-19 Tom Tromey <tromey@redhat.com>
1032 * target-delegates.c: Rebuild.
1033 * target.c (update_current_target): Don't inherit or default
1034 to_execution_direction.
1035 * target.h (struct target_ops) <to_execution_direction>: Use
1036 TARGET_DEFAULT_FUNC.
1038 2014-02-19 Tom Tromey <tromey@redhat.com>
1040 * target-delegates.c: Rebuild.
1041 * target.c (update_current_target): Don't inherit or default
1042 to_can_execute_reverse.
1043 * target.h (struct target_ops) <to_can_execute_reverse>: Use
1044 TARGET_DEFAULT_RETURN.
1045 (target_can_execute_reverse): Unconditionally delegate.
1047 2014-02-19 Tom Tromey <tromey@redhat.com>
1049 * target-delegates.c: Rebuild.
1050 * target.c (update_current_target): Don't inherit or default
1052 (dummy_goto_bookmark): Remove.
1053 (init_dummy_target): Don't inherit or default to_goto_bookmark.
1054 * target.h (struct target_ops) <to_goto_bookmark>: Use
1055 TARGET_DEFAULT_NORETURN.
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
1062 (dummy_get_bookmark): Remove.
1063 (init_dummy_target): Don't inherit or default to_get_bookmark.
1064 * target.h (struct target_ops) <to_get_bookmark>: Use
1065 TARGET_DEFAULT_NORETURN
1067 2014-02-19 Tom Tromey <tromey@redhat.com>
1069 * target-delegates.c: Rebuild.
1070 * target.c (update_current_target): Don't inherit or default
1071 to_make_corefile_notes.
1072 (init_dummy_target): Don't initialize to_make_corefile_notes.
1073 * target.h (struct target_ops) <to_make_corefile_notes>: Use
1074 TARGET_DEFAULT_FUNC.
1076 2014-02-19 Tom Tromey <tromey@redhat.com>
1078 * target-delegates.c: Rebuild.
1079 * target.c (update_current_target): Don't inherit or default
1080 to_find_memory_regions.
1081 (init_dummy_target): Don't initialize to_find_memory_regions.
1082 * target.h (struct target_ops) <to_find_memory_regions>: Use
1083 TARGET_DEFAULT_FUNC.
1085 2014-02-19 Tom Tromey <tromey@redhat.com>
1087 * target-delegates.c: Rebuild.
1088 * target.c (update_current_target): Don't inherit or default
1090 * target.h (struct target_ops) <to_log_command>: Use
1091 TARGET_DEFAULT_IGNORE.
1092 (target_log_command): Unconditionally delegate.
1094 2014-02-19 Tom Tromey <tromey@redhat.com>
1096 * target-delegates.c: Rebuild.
1097 * target.c (update_current_target): Don't inherit or default
1098 to_pid_to_exec_file.
1099 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
1100 TARGET_DEFAULT_RETURN.
1102 2014-02-19 Tom Tromey <tromey@redhat.com>
1104 * target-delegates.c: Rebuild.
1105 * target.c (update_current_target): Don't inherit or default
1107 (target_thread_name): Unconditionally delegate.
1108 * target.h (struct target_ops) <to_thread_name>: Use
1109 TARGET_DEFAULT_RETURN.
1111 2014-02-19 Tom Tromey <tromey@redhat.com>
1113 * target-delegates.c: Rebuild.
1114 * target.c (update_current_target): Don't inherit or default
1115 to_extra_thread_info.
1116 * target.h (struct target_ops) <to_extra_thread_info>: Use
1117 TARGET_DEFAULT_RETURN.
1119 2014-02-19 Tom Tromey <tromey@redhat.com>
1121 * target-delegates.c: Rebuild.
1122 * target.c (update_current_target): Don't inherit or default
1124 * target.h (struct target_ops) <to_has_exited>: Use
1125 TARGET_DEFAULT_RETURN..
1127 2014-02-19 Tom Tromey <tromey@redhat.com>
1129 * target-delegates.c: Rebuild.
1130 * target.c (update_current_target): Don't inherit or default
1131 to_set_syscall_catchpoint.
1132 (return_one): Remove.
1133 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
1134 TARGET_DEFAULT_RETURN.
1136 2014-02-19 Tom Tromey <tromey@redhat.com>
1138 * target-delegates.c: Rebuild.
1139 * target.c (update_current_target): Don't inherit or default
1140 to_insert_exec_catchpoint.
1141 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1142 TARGET_DEFAULT_RETURN.
1144 2014-01-08 Tom Tromey <tromey@redhat.com>
1146 * target-delegates.c: Rebuild.
1147 * target.c (update_current_target): Don't inherit or default
1148 to_insert_exec_catchpoint.
1149 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1150 TARGET_DEFAULT_RETURN.
1152 2014-02-19 Tom Tromey <tromey@redhat.com>
1154 * target-delegates.c: Rebuild.
1155 * target.c (update_current_target): Don't inherit or default
1156 to_remove_vfork_catchpoint.
1157 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
1158 TARGET_DEFAULT_RETURN.
1160 2014-02-19 Tom Tromey <tromey@redhat.com>
1162 * target-delegates.c: Rebuild.
1163 * target.c (update_current_target): Don't inherit or default
1164 to_insert_vfork_catchpoint.
1165 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
1166 TARGET_DEFAULT_RETURN.
1168 2014-02-19 Tom Tromey <tromey@redhat.com>
1170 * target-delegates.c: Rebuild.
1171 * target.c (update_current_target): Don't inherit or default
1172 to_remove_fork_catchpoint.
1173 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
1174 TARGET_DEFAULT_RETURN.
1176 2014-02-19 Tom Tromey <tromey@redhat.com>
1178 * target-delegates.c: Rebuild.
1179 * target.c (update_current_target): Don't inherit or default
1180 to_insert_fork_catchpoint.
1181 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
1182 TARGET_DEFAULT_RETURN.
1184 2014-02-19 Tom Tromey <tromey@redhat.com>
1186 * target-delegates.c: Rebuild.
1187 * target.c (update_current_target): Don't inherit or default
1188 to_post_startup_inferior.
1189 * target.h (struct target_ops) <to_post_startup_inferior>: Use
1190 TARGET_DEFAULT_IGNORE.
1192 2014-02-19 Tom Tromey <tromey@redhat.com>
1194 * target-delegates.c: Rebuild.
1195 * target.c (update_current_target): Don't inherit or default
1197 * target.h (struct target_ops) <to_load>: Use
1198 TARGET_DEFAULT_NORETURN.
1200 2014-02-19 Tom Tromey <tromey@redhat.com>
1202 * target-delegates.c: Rebuild.
1203 * target.c (update_current_target): Don't inherit or default
1205 * target.h (struct target_ops) <to_terminal_info>: Use
1206 TARGET_DEFAULT_FUNC.
1208 2014-02-19 Tom Tromey <tromey@redhat.com>
1210 * target-delegates.c: Rebuild.
1211 * target.c (update_current_target): Don't inherit or default
1212 to_terminal_save_ours.
1213 * target.h (struct target_ops) <to_terminal_save_ours>: Use
1214 TARGET_DEFAULT_IGNORE.
1216 2014-02-19 Tom Tromey <tromey@redhat.com>
1218 * target-delegates.c: Rebuild.
1219 * target.c (update_current_target): Don't inherit or default
1221 * target.h (struct target_ops) <to_terminal_ours>: Use
1222 TARGET_DEFAULT_IGNORE.
1224 2014-02-19 Tom Tromey <tromey@redhat.com>
1226 * target-delegates.c: Rebuild.
1227 * target.c (update_current_target): Don't inherit or default
1228 to_terminal_ours_for_output.
1229 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
1230 TARGET_DEFAULT_IGNORE.
1232 2014-02-19 Tom Tromey <tromey@redhat.com>
1234 * target-delegates.c: Rebuild.
1235 * target.c (update_current_target): Don't inherit or default
1236 to_terminal_inferior.
1237 * target.h (struct target_ops) <to_terminal_inferior>: Use
1238 TARGET_DEFAULT_IGNORE.
1240 2014-02-19 Tom Tromey <tromey@redhat.com>
1242 * target-delegates.c: Rebuild.
1243 * target.c (update_current_target): Don't inherit or default
1245 * target.h (struct target_ops) <to_terminal_init>: Use
1246 TARGET_DEFAULT_IGNORE.
1248 2014-02-19 Tom Tromey <tromey@redhat.com>
1250 * target-delegates.c: Rebuild.
1251 * target.c (update_current_target): Don't inherit or default
1252 to_can_accel_watchpoint_condition.
1253 * target.h (struct target_ops)
1254 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
1256 2014-02-19 Tom Tromey <tromey@redhat.com>
1258 * target-delegates.c: Rebuild.
1259 * target.c (update_current_target): Don't inherit or default
1260 to_region_ok_for_hw_watchpoint.
1261 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1262 Use TARGET_DEFAULT_FUNC.
1264 2014-02-19 Tom Tromey <tromey@redhat.com>
1266 * target-delegates.c: Rebuild.
1267 * target.c (update_current_target): Don't inherit or default
1268 to_watchpoint_addr_within_range.
1269 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
1270 Use TARGET_DEFAULT_FUNC.
1272 2014-02-19 Tom Tromey <tromey@redhat.com>
1274 * target-delegates.c: Rebuild.
1275 * target.c (update_current_target): Don't inherit or default
1276 to_remove_watchpoint.
1277 * target.h (struct target_ops) <to_remove_watchpoint>: Use
1278 TARGET_DEFAULT_NORETURN.
1280 2014-02-19 Tom Tromey <tromey@redhat.com>
1282 * target-delegates.c: Rebuild.
1283 * target.c (update_current_target): Don't inherit or default
1284 to_insert_watchpoint.
1285 * target.h (struct target_ops) <to_insert_watchpoint>: Use
1286 TARGET_DEFAULT_RETURN.
1288 2014-02-19 Tom Tromey <tromey@redhat.com>
1290 * target-delegates.c: Rebuild.
1291 * target.c (update_current_target): Don't inherit or default
1292 to_remove_hw_breakpoint.
1293 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
1294 TARGET_DEFAULT_RETURN.
1296 2014-02-19 Tom Tromey <tromey@redhat.com>
1298 * target-delegates.c: Rebuild.
1299 * target.c (update_current_target): Don't inherit or default
1300 to_insert_hw_breakpoint.
1301 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
1302 TARGET_DEFAULT_RETURN.
1304 2014-02-19 Tom Tromey <tromey@redhat.com>
1306 * target-delegates.c: Rebuild.
1307 * target.c (update_current_target): Don't inherit or default
1308 to_can_use_hw_breakpoint.
1309 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
1310 TARGET_DEFAULT_RETURN.
1312 2014-02-19 Tom Tromey <tromey@redhat.com>
1314 * target-delegates.c: Rebuild.
1315 * target.c (update_current_target): Don't inherit or default
1317 * target.h (struct target_ops) <to_files_info>: Use
1318 TARGET_DEFAULT_IGNORE.
1320 2014-02-19 Tom Tromey <tromey@redhat.com>
1322 * target-delegates.c: Rebuild.
1323 * target.c (update_current_target): Don't inherit or default
1325 * target.h (struct target_ops) <to_store>: Use
1326 TARGET_DEFAULT_NORETURN.
1328 2014-02-19 Tom Tromey <tromey@redhat.com>
1330 * target-delegates.c: Rebuild.
1331 * target.c (update_current_target): Don't inherit or default
1333 * target.h (struct target_ops) <to_post_attach>: Use
1334 TARGET_DEFAULT_IGNORE.
1336 2014-02-19 Tom Tromey <tromey@redhat.com>
1338 * target-delegates.c: Rebuild.
1339 * target.c (update_current_target): Don't inherit or default
1341 (default_rcmd): New function.
1342 (do_monitor_command): Unconditionally delegate.
1343 * target.h (struct target_ops) <to_rmcd>: Use
1344 TARGET_DEFAULT_FUNC.
1346 2014-02-19 Tom Tromey <tromey@redhat.com>
1348 * target-delegates.c: Rebuild.
1349 * target.c (init_dummy_target): Don't initialize to_attach.
1350 (target_attach): Unconditionally delegate.
1351 * target.h (struct target_ops) <to_attach>: Use
1352 TARGET_DEFAULT_FUNC.
1354 2014-02-19 Tom Tromey <tromey@redhat.com>
1356 * target-delegates.c: Rebuild.
1357 * target.c (target_detach): Unconditionally delegate.
1358 (init_dummy_target): Don't initialize to_detach.
1359 * target.h (struct target_ops) <to_detach>: Use
1360 TARGET_DEFAULT_IGNORE.
1362 2014-02-19 Tom Tromey <tromey@redhat.com>
1364 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1366 (target_augmented_libraries_svr4_read): Add argument.
1367 * target.c (update_current_target): Update.
1368 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
1371 2014-02-19 Tom Tromey <tromey@redhat.com>
1373 * target.h (struct target_ops) <to_call_history_range>: Add
1375 * target.c (target_call_history_range): Add argument.
1376 * record-btrace.c (record_btrace_call_history_range): Add 'self'
1378 (record_btrace_call_history_from): Update.
1380 2014-02-19 Tom Tromey <tromey@redhat.com>
1382 * target.h (struct target_ops) <to_call_history_from>: Add
1384 * target.c (target_call_history_from): Add argument.
1385 * record-btrace.c (record_btrace_call_history_from): Add 'self'
1388 2014-02-19 Tom Tromey <tromey@redhat.com>
1390 * target.h (struct target_ops) <to_call_history>: Add argument.
1391 * target.c (target_call_history): Add argument.
1392 * record-btrace.c (record_btrace_call_history): Add 'self'
1395 2014-02-19 Tom Tromey <tromey@redhat.com>
1397 * target.h (struct target_ops) <to_insn_history_range>: Add
1399 * target.c (target_insn_history_range): Add argument.
1400 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
1402 (record_btrace_insn_history_from): Update.
1404 2014-02-19 Tom Tromey <tromey@redhat.com>
1406 * target.h (struct target_ops) <to_insn_history_from>: Add
1408 * target.c (target_insn_history_from): Add argument.
1409 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
1412 2014-02-19 Tom Tromey <tromey@redhat.com>
1414 * target.h (struct target_ops) <to_insn_history>: Add argument.
1415 * target.c (target_insn_history): Add argument.
1416 * record-btrace.c (record_btrace_insn_history): Add 'self'
1419 2014-02-19 Tom Tromey <tromey@redhat.com>
1421 * target.h (struct target_ops) <to_goto_record>: Add argument.
1422 * target.c (target_goto_record): Add argument.
1423 * record-full.c (record_full_goto): Add 'self' argument.
1424 * record-btrace.c (record_btrace_goto): Add 'self' argument.
1426 2014-02-19 Tom Tromey <tromey@redhat.com>
1428 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
1429 * target.c (target_goto_record_end): Add argument.
1430 * record-full.c (record_full_goto_end): Add 'self' argument.
1431 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
1433 2014-02-19 Tom Tromey <tromey@redhat.com>
1435 * target.h (struct target_ops) <to_goto_record_begin>: Add
1437 * target.c (target_goto_record_begin): Add argument.
1438 * record-full.c (record_full_goto_begin): Add 'self' argument.
1439 * record-btrace.c (record_btrace_goto_begin): Add 'self'
1442 2014-02-19 Tom Tromey <tromey@redhat.com>
1444 * target.h (struct target_ops) <to_record_is_replaying>: Add
1446 * target.c (target_record_is_replaying): Add argument.
1447 * record-full.c (record_full_is_replaying): Add 'self' argument.
1448 * record-btrace.c (record_btrace_is_replaying): Add 'self'
1450 (record_btrace_xfer_partial, record_btrace_store_registers)
1451 (record_btrace_prepare_to_store, record_btrace_resume)
1452 (record_btrace_wait, record_btrace_decr_pc_after_break)
1453 (record_btrace_find_new_threads, record_btrace_thread_alive):
1456 2014-02-19 Tom Tromey <tromey@redhat.com>
1458 * target.h (struct target_ops) <to_delete_record>: Add argument.
1459 * target.c (target_delete_record): Add argument.
1460 * record-full.c (record_full_delete): Add 'self' argument.
1462 2014-02-19 Tom Tromey <tromey@redhat.com>
1464 * target.h (struct target_ops) <to_save_record>: Add argument.
1465 * target.c (target_save_record): Add argument.
1466 * record-full.c (record_full_save): Add 'self' argument.
1467 (record_full_save): Add 'self' argument.
1469 2014-02-19 Tom Tromey <tromey@redhat.com>
1471 * target.h (struct target_ops) <to_info_record>: Add argument.
1472 * target.c (target_info_record): Add argument.
1473 * record.c (info_record_command): Add argument.
1474 * record-full.c (record_full_info): Add 'self' argument.
1475 * record-btrace.c (record_btrace_info): Add 'self' argument.
1477 2014-02-19 Tom Tromey <tromey@redhat.com>
1479 * target.h (struct target_ops) <to_stop_recording>: Add argument.
1480 * target.c (target_stop_recording): Add argument.
1481 * record.c (record_stop): Add argument.
1482 * record-btrace.c (record_btrace_stop_recording): Add 'self'
1485 2014-02-19 Tom Tromey <tromey@redhat.com>
1487 * target.h (struct target_ops) <to_read_btrace>: Add argument.
1488 * target.c (struct target_ops) <to_read_btrace>: Add argument.
1489 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
1491 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
1492 (_initialize_amd64_linux_nat): Use it.
1493 * i386-linux-nat.c (i386_linux_read_btrace): New function.
1494 (_initialize_i386_linux_nat): Use it.
1496 2014-02-19 Tom Tromey <tromey@redhat.com>
1498 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
1499 * target.c (target_teardown_btrace): Add argument.
1500 * remote.c (remote_teardown_btrace): Add 'self' argument.
1501 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
1503 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
1506 2014-02-19 Tom Tromey <tromey@redhat.com>
1508 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
1509 * target.c (target_disable_btrace): Add argument.
1510 * remote.c (remote_disable_btrace): Add 'self' argument.
1511 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
1513 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
1516 2014-02-19 Tom Tromey <tromey@redhat.com>
1518 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
1519 * target.c (target_enable_btrace): Add argument.
1520 * remote.c (remote_enable_btrace): Add 'self' argument.
1521 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
1523 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
1526 2014-02-19 Tom Tromey <tromey@redhat.com>
1528 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
1529 (target_can_use_agent): Add argument.
1530 * target.c (update_current_target): Update.
1531 * remote.c (remote_can_use_agent): Add 'self' argument.
1532 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
1534 2014-02-19 Tom Tromey <tromey@redhat.com>
1536 * target.h (struct target_ops) <to_use_agent>: Add argument.
1537 (target_use_agent): Add argument.
1538 * target.c (update_current_target): Update.
1539 * remote.c (remote_use_agent): Add 'self' argument.
1540 * inf-child.c (inf_child_use_agent): Add 'self' argument.
1542 2014-02-19 Tom Tromey <tromey@redhat.com>
1544 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
1545 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
1546 (target_traceframe_info): Add argument.
1547 * target.c (update_current_target): Update.
1548 * remote.c (remote_traceframe_info): Add 'self' argument.
1549 * ctf.c (ctf_traceframe_info): Add 'self' argument.
1551 2014-02-19 Tom Tromey <tromey@redhat.com>
1553 * target.h (target_static_tracepoint_markers_by_strid): Add
1555 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
1557 * target.c (update_current_target): Update.
1558 * remote.c (struct target_ops)
1559 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1560 * linux-nat.c (struct target_ops)
1561 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1563 2014-02-19 Tom Tromey <tromey@redhat.com>
1565 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1567 (target_static_tracepoint_marker_at): Add argument.
1568 * target.c (update_current_target): Update.
1569 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
1572 2014-02-19 Tom Tromey <tromey@redhat.com>
1574 * target.h (struct target_ops) <to_set_permissions>: Add argument.
1575 (target_set_permissions): Add argument.
1576 * target.c (update_current_target): Update.
1577 * remote.c (remote_set_permissions): Add 'self' argument.
1578 (remote_start_remote): Update.
1580 2014-02-19 Tom Tromey <tromey@redhat.com>
1582 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
1583 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
1584 (target_get_tib_address): Add argument.
1585 * target.c (update_current_target): Update.
1586 * remote.c (remote_get_tib_address): Add 'self' argument.
1588 2014-02-19 Tom Tromey <tromey@redhat.com>
1590 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
1591 (target_set_trace_notes): Add argument.
1592 * target.c (update_current_target): Update.
1593 * remote.c (remote_set_trace_notes): Add 'self' argument.
1595 2014-02-19 Tom Tromey <tromey@redhat.com>
1597 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
1599 (target_set_trace_buffer_size): Add argument.
1600 * target.c (update_current_target): Update.
1601 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
1603 2014-02-19 Tom Tromey <tromey@redhat.com>
1605 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
1607 (target_set_circular_trace_buffer): Add argument.
1608 * target.c (update_current_target): Update.
1609 * remote.c (remote_set_circular_trace_buffer): Add 'self'
1612 2014-02-19 Tom Tromey <tromey@redhat.com>
1614 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
1616 (target_set_disconnected_tracing): Add argument.
1617 * target.c (update_current_target): Update.
1618 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
1620 2014-02-19 Tom Tromey <tromey@redhat.com>
1622 * target.h (struct target_ops)
1623 <to_get_min_fast_tracepoint_insn_len>: Add argument.
1624 (target_get_min_fast_tracepoint_insn_len): Add argument.
1625 * target.c (update_current_target): Update.
1626 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
1629 2014-02-19 Tom Tromey <tromey@redhat.com>
1631 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
1633 (target_get_raw_trace_data): Add argument.
1634 * target.c (update_current_target): Update.
1635 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
1637 2014-02-19 Tom Tromey <tromey@redhat.com>
1639 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1641 (target_upload_trace_state_variables): Add argument.
1642 * target.c (update_current_target): Update.
1643 * remote.c (remote_upload_trace_state_variables): Add 'self'
1645 (remote_start_remote): Update.
1647 2014-02-19 Tom Tromey <tromey@redhat.com>
1649 * target.h (struct target_ops) <to_upload_tracepoints>: Add
1651 (target_upload_tracepoints): Add argument.
1652 * target.c (update_current_target): Update.
1653 * remote.c (remote_upload_tracepoints): Add 'self' argument.
1654 (remote_start_remote): Update.
1656 2014-02-19 Tom Tromey <tromey@redhat.com>
1658 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
1659 (target_save_trace_data): Add argument.
1660 * target.c (update_current_target): Update.
1661 * remote.c (remote_save_trace_data): Add 'self' argument.
1663 2014-02-19 Tom Tromey <tromey@redhat.com>
1665 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
1667 * target.h (struct target_ops)
1668 <to_get_trace_state_variable_value>: Add argument.
1669 (target_get_trace_state_variable_value): Add argument.
1670 * target.c (update_current_target): Update.
1671 * remote.c (remote_get_trace_state_variable_value): Add 'self'
1673 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
1675 2014-02-19 Tom Tromey <tromey@redhat.com>
1677 * tracepoint.c (tfile_trace_find): Add 'self' argument.
1678 * target.h (struct target_ops) <to_trace_find>: Add argument.
1679 (target_trace_find): Add argument.
1680 * target.c (update_current_target): Update.
1681 * remote.c (remote_trace_find): Add 'self' argument.
1682 * ctf.c (ctf_trace_find): Add 'self' argument.
1684 2014-02-19 Tom Tromey <tromey@redhat.com>
1686 * target.h (struct target_ops) <to_trace_stop>: Add argument.
1687 (target_trace_stop): Add argument.
1688 * target.c (update_current_target): Update.
1689 * remote.c (remote_trace_stop): Add 'self' argument.
1691 2014-02-19 Tom Tromey <tromey@redhat.com>
1693 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
1694 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
1696 (target_get_tracepoint_status): Add argument.
1697 * target.c (update_current_target): Update.
1698 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
1700 2014-02-19 Tom Tromey <tromey@redhat.com>
1702 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
1703 * target.h (struct target_ops) <to_get_trace_status>: Add
1705 (target_get_trace_status): Add argument.
1706 * target.c (update_current_target): Update.
1707 * remote.c (remote_get_trace_status): Add 'self' argument.
1708 (remote_start_remote, remote_can_download_tracepoint): Update.
1709 * ctf.c (ctf_get_trace_status): Add 'self' argument.
1711 2014-02-19 Tom Tromey <tromey@redhat.com>
1713 * target.h (struct target_ops) <to_trace_start>: Add argument.
1714 (target_trace_start): Add argument.
1715 * target.c (update_current_target): Update.
1716 * remote.c (remote_trace_start): Add 'self' argument.
1718 2014-02-19 Tom Tromey <tromey@redhat.com>
1720 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1722 (target_trace_set_readonly_regions): Add argument.
1723 * target.c (update_current_target): Update.
1724 * remote.c (remote_trace_set_readonly_regions): Add 'self'
1727 2014-02-19 Tom Tromey <tromey@redhat.com>
1729 * target.h (struct target_ops) <to_disable_tracepoint>: Add
1731 (target_disable_tracepoint): Add argument.
1732 * target.c (update_current_target): Update.
1733 * remote.c (remote_disable_tracepoint): Add 'self' argument.
1735 2014-02-19 Tom Tromey <tromey@redhat.com>
1737 * target.h (struct target_ops) <to_enable_tracepoint>: Add
1739 (target_enable_tracepoint): Add argument.
1740 * target.c (update_current_target): Update.
1741 * remote.c (remote_enable_tracepoint): Add 'self' argument.
1743 2014-02-19 Tom Tromey <tromey@redhat.com>
1745 * target.h (struct target_ops) <to_download_trace_state_variable>:
1747 (target_download_trace_state_variable): Add argument.
1748 * target.c (update_current_target): Update.
1749 * remote.c (remote_download_trace_state_variable): Add 'self'
1752 2014-02-19 Tom Tromey <tromey@redhat.com>
1754 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
1756 (target_can_download_tracepoint): Add argument.
1757 * target.c (update_current_target): Update.
1758 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
1760 2014-02-19 Tom Tromey <tromey@redhat.com>
1762 * target.h (struct target_ops) <to_download_tracepoint>: Add
1764 (target_download_tracepoint): Add argument.
1765 * target.c (update_current_target): Update.
1766 * remote.c (remote_download_tracepoint): Add 'self' argument.
1768 2014-02-19 Tom Tromey <tromey@redhat.com>
1770 * target.h (struct target_ops) <to_trace_init>: Add argument.
1771 (target_trace_init): Add argument.
1772 * target.c (update_current_target): Update.
1773 * remote.c (remote_trace_init): Add 'self' argument.
1775 2014-02-19 Tom Tromey <tromey@redhat.com>
1777 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1778 * target.c (target_fileio_readlink): Add argument.
1779 * remote.c (remote_hostio_readlink): Add 'self' argument.
1780 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1782 2014-02-19 Tom Tromey <tromey@redhat.com>
1784 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1785 * target.c (target_fileio_unlink): Add argument.
1786 * remote.c (remote_hostio_unlink): Add 'self' argument.
1787 (remote_file_delete): Update.
1788 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1790 2014-02-19 Tom Tromey <tromey@redhat.com>
1792 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1793 * target.c (target_fileio_close): Add argument.
1794 * remote.c (remote_hostio_close): Add 'self' argument.
1795 (remote_hostio_close_cleanup): Update.
1796 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1798 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1800 2014-02-19 Tom Tromey <tromey@redhat.com>
1802 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1803 * target.c (target_fileio_pread): Add argument.
1804 * remote.c (remote_hostio_pread): Add 'self' argument.
1805 (remote_bfd_iovec_pread, remote_file_get): Update.
1806 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1808 2014-02-19 Tom Tromey <tromey@redhat.com>
1810 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1811 * target.c (target_fileio_pwrite): Add argument.
1812 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1813 (remote_file_put): Update.
1814 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1816 2014-02-19 Tom Tromey <tromey@redhat.com>
1818 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1819 * target.c (target_fileio_open): Add argument.
1820 * remote.c (remote_hostio_open): Add 'self' argument.
1821 (remote_bfd_iovec_open): Add 'self' argument.
1822 (remote_file_put): Add 'self' argument.
1823 (remote_file_get): Add 'self' argument.
1824 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1826 2014-02-19 Tom Tromey <tromey@redhat.com>
1828 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1830 (target_can_run_breakpoint_commands): Add argument.
1831 * target.c (update_current_target): Update.
1832 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1834 (remote_insert_breakpoint): Add 'self' argument.
1835 (remote_insert_hw_breakpoint): Add 'self' argument.
1836 (remote_can_run_breakpoint_commands): Add 'self' argument.
1838 2014-02-19 Tom Tromey <tromey@redhat.com>
1840 * target.h (struct target_ops)
1841 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1842 (target_supports_evaluation_of_breakpoint_conditions): Add
1844 * target.c (update_current_target): Update.
1845 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1847 (remote_insert_breakpoint): Add 'self' argument.
1848 (remote_insert_hw_breakpoint): Add 'self' argument.
1849 (remote_supports_cond_breakpoints): Add 'self' argument.
1851 2014-02-19 Tom Tromey <tromey@redhat.com>
1853 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1855 (target_supports_string_tracing): Add argument.
1856 * target.c (update_current_target): Update.
1857 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1859 2014-02-19 Tom Tromey <tromey@redhat.com>
1861 * target.h (struct target_ops)
1862 <to_supports_disable_randomization>: Add argument.
1863 * target.c (find_default_supports_disable_randomization): Add
1865 (target_supports_disable_randomization): Add argument.
1866 (find_default_supports_disable_randomization): Add 'self'
1868 * remote.c (extended_remote_supports_disable_randomization): Add
1870 (remote_supports_disable_randomization): Add 'self' argument.
1871 (extended_remote_create_inferior): Update.
1872 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1875 2014-02-19 Tom Tromey <tromey@redhat.com>
1877 * target.h (struct target_ops)
1878 <to_supports_enable_disable_tracepoint>: Add argument.
1879 (target_supports_enable_disable_tracepoint): Add argument.
1880 * target.c (update_current_target): Update.
1881 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1884 2014-02-19 Tom Tromey <tromey@redhat.com>
1886 * target.h (struct target_ops) <to_supports_multi_process>: Add
1888 (target_supports_multi_process): Add argument.
1889 * target.c (update_current_target): Update.
1890 * remote.c (remote_supports_multi_process): Add 'self' argument.
1891 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1893 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1896 2014-02-19 Tom Tromey <tromey@redhat.com>
1898 * target.h (struct target_ops) <to_execution_direction>: Add
1900 (target_execution_direction): Add argument.
1901 * target.c (default_execution_direction): Add 'self' argument.
1902 * record-full.c (record_full_execution_direction): Add 'self'
1905 2014-02-19 Tom Tromey <tromey@redhat.com>
1907 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1909 (target_can_execute_reverse): Add argument.
1910 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1911 * record-full.c (record_full_can_execute_reverse): Add 'self'
1913 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1916 2014-02-19 Tom Tromey <tromey@redhat.com>
1918 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1919 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1921 (target_get_ada_task_ptid): Add argument.
1922 * target.c (update_current_target): Update.
1923 (default_get_ada_task_ptid): Add 'self' argument.
1924 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1925 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1926 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1928 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1930 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1932 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1934 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1935 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1938 2014-02-19 Tom Tromey <tromey@redhat.com>
1940 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1941 (target_goto_bookmark): Add argument.
1942 * target.c (dummy_goto_bookmark): Add 'self' argument.
1943 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1945 2014-02-19 Tom Tromey <tromey@redhat.com>
1947 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1948 (target_get_bookmark): Add argument.
1949 * target.c (dummy_get_bookmark): Add 'self' argument.
1950 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1952 2014-02-19 Tom Tromey <tromey@redhat.com>
1954 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1956 (target_make_corefile_notes): Add argument.
1957 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1958 * procfs.c (procfs_make_note_section): Add 'self' argument.
1959 (procfs_make_note_section): Add 'self' argument.
1960 (procfs_make_note_section): Add 'self' argument.
1961 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1963 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1964 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1965 * exec.c (exec_make_note_section): Add 'self' argument.
1966 (exec_make_note_section): Add 'self' argument.
1968 2014-02-19 Tom Tromey <tromey@redhat.com>
1970 * target.h (struct target_ops) <to_find_memory_regions>: Add
1972 (target_find_memory_regions): Add argument.
1973 * target.c (dummy_find_memory_regions): Add 'self' argument.
1974 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1975 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1976 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1977 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1978 * exec. (exec_do_find_memory_regions): New global.
1979 (exec_set_find_memory_regions): Rewrite.
1980 (exec_find_memory_regions): New function.
1981 (init_exec_ops): Use exec_find_memory_regions.
1983 2014-02-19 Tom Tromey <tromey@redhat.com>
1985 * target.h (struct target_ops) <to_supports_non_stop>: Add
1987 * target.c (find_default_supports_non_stop): Add argument.
1988 (target_supports_non_stop): Add argument.
1989 (find_default_supports_non_stop): Add 'self' argument.
1990 * remote.c (remote_supports_non_stop): Add 'self' argument.
1991 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1993 2014-02-19 Tom Tromey <tromey@redhat.com>
1995 * target.h (struct target_ops) <to_log_command>: Add argument.
1996 (target_log_command): Add argument.
1997 * serial.h (serial_log_command): Add 'self' argument.
1998 * serial.c (serial_log_command): Add 'self' argument.
2000 2014-02-19 Tom Tromey <tromey@redhat.com>
2002 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
2003 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
2005 (target_pid_to_exec_file): Add argument.
2006 * target.c (debug_to_pid_to_exec_file): Add argument.
2007 (update_current_target): Update.
2008 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
2009 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
2010 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
2011 (linux_handle_extended_wait): Update.
2012 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
2013 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
2014 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
2015 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
2017 2014-02-19 Tom Tromey <tromey@redhat.com>
2019 * target.h (struct target_ops) <to_rcmd>: Add argument.
2020 (target_rcmd): Add argument.
2021 * target.c (debug_to_rcmd): Add argument.
2022 (update_current_target, do_monitor_command): Update.
2023 * remote.c (remote_rcmd): Add 'self' argument.
2024 * monitor.c (monitor_rcmd): Add 'self' argument.
2026 2014-02-19 Tom Tromey <tromey@redhat.com>
2028 * windows-nat.c (windows_stop): Add 'self' argument.
2029 * target.h (struct target_ops) <to_stop>: Add argument.
2030 * target.c (target_stop): Add argument.
2031 (debug_to_stop): Add argument.
2032 (update_current_target): Update.
2033 * remote.c (remote_stop): Add 'self' argument.
2034 * remote-sim.c (gdbsim_stop): Add 'self' argument.
2035 (gdbsim_cntrl_c): Update.
2036 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
2037 * procfs.c (procfs_stop): Add 'self' argument.
2038 * nto-procfs.c (procfs_stop): Add 'self' argument.
2039 * monitor.c (monitor_stop): Add 'self' argument.
2040 (monitor_open): Update.
2041 * linux-nat.c (linux_nat_stop): Add argument.
2042 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
2043 * gnu-nat.c (gnu_stop): Add 'self' argument.
2044 * darwin-nat.c (darwin_stop): Add 'self' argument.
2046 2014-02-19 Tom Tromey <tromey@redhat.com>
2048 * target.h (struct target_ops) <to_thread_name>: Add argument.
2049 * target.c (target_thread_name): Add argument.
2050 (update_current_target): Update.
2051 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
2053 2014-02-19 Tom Tromey <tromey@redhat.com>
2055 * target.h (struct target_ops) <to_extra_thread_info>: Add
2057 (target_extra_thread_info): Add argument.
2058 * target.c (update_current_target): Update.
2059 * remote.c (remote_threads_extra_info): Add 'self' argument.
2060 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
2062 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
2063 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
2064 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
2066 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
2068 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
2070 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
2073 2014-02-19 Tom Tromey <tromey@redhat.com>
2075 * target.h (struct target_ops) <to_program_signals>: Add argument.
2076 * target.c (target_program_signals): Add argument.
2077 * remote.c (remote_program_signals): Add 'self' argument.
2079 2014-02-19 Tom Tromey <tromey@redhat.com>
2081 * target.h (struct target_ops) <to_pass_signals>: Add argument.
2082 * target.c (target_pass_signals): Add argument.
2083 * remote.c (remote_pass_signals): Add 'self' argument.
2084 (remote_start_remote): Update.
2085 * procfs.c (procfs_pass_signals): Add 'self' argument.
2086 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
2087 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
2088 (linux_nat_create_inferior, linux_nat_attach): Update.
2090 2014-02-19 Tom Tromey <tromey@redhat.com>
2092 * windows-nat.c (windows_can_run): Add 'self' argument.
2093 * target.h (struct target_ops) <to_can_run>: Add argument.
2094 (target_can_run): Add argument.
2095 * target.c (debug_to_can_run): Add argument.
2096 (update_current_target): Update.
2097 * nto-procfs.c (procfs_can_run): Add 'self' argument.
2098 * inf-child.c (inf_child_can_run): Add 'self' argument.
2099 * go32-nat.c (go32_can_run): Add 'self' argument.
2101 2014-02-19 Tom Tromey <tromey@redhat.com>
2103 * target.h (struct target_ops) <to_has_exited>: Add argument.
2104 (target_has_exited): Add argument.
2105 * target.c (debug_to_has_exited): Add argument.
2106 (update_current_target): Update.
2108 2014-02-19 Tom Tromey <tromey@redhat.com>
2110 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
2112 (target_set_syscall_catchpoint): Add argument.
2113 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
2115 * target.c (update_current_target): Update.
2117 2014-02-19 Tom Tromey <tromey@redhat.com>
2119 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
2121 (target_remove_exec_catchpoint): Add argument.
2122 * target.c (debug_to_remove_exec_catchpoint): Add argument.
2123 (update_current_target): Update.
2124 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
2127 2014-02-19 Tom Tromey <tromey@redhat.com>
2129 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
2131 (target_insert_exec_catchpoint): Add argument.
2132 * target.c (debug_to_insert_exec_catchpoint): Add argument.
2133 (update_current_target): Update.
2134 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
2137 2014-02-19 Tom Tromey <tromey@redhat.com>
2139 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
2141 (target_remove_vfork_catchpoint): Add argument.
2142 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
2143 (update_current_target): Update.
2144 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
2147 2014-02-19 Tom Tromey <tromey@redhat.com>
2149 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
2151 (target_insert_vfork_catchpoint): Add argument.
2152 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
2153 (update_current_target): Update.
2154 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
2157 2014-02-19 Tom Tromey <tromey@redhat.com>
2159 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
2161 (target_remove_fork_catchpoint): Add argument.
2162 * target.c (debug_to_remove_fork_catchpoint): Add argument.
2163 (update_current_target): Update.
2164 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
2167 2014-02-19 Tom Tromey <tromey@redhat.com>
2169 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
2171 (target_insert_fork_catchpoint): Add argument.
2172 * target.c (debug_to_insert_fork_catchpoint): Add argument.
2173 (update_current_target): Update.
2174 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
2177 2014-02-19 Tom Tromey <tromey@redhat.com>
2179 * target.h (struct target_ops) <to_post_startup_inferior>: Add
2181 (target_post_startup_inferior): Add argument.
2182 * target.c (debug_to_post_startup_inferior): Add argument.
2183 (update_current_target): Update.
2184 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
2186 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
2188 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
2190 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
2192 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
2194 (super_post_startup_inferior): Likewise.
2195 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
2197 (super_post_startup_inferior): Likewise.
2198 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
2199 Add 'self' argument.
2200 (super_post_startup_inferior): Likewise.
2202 2014-02-19 Tom Tromey <tromey@redhat.com>
2204 * target.h (struct target_ops) <to_load>: Add argument.
2205 * target.c (target_load): Add argument.
2206 (debug_to_load): Add argument.
2207 (update_current_target): Update.
2208 * remote.c (remote_load): Add 'self' argument.
2209 * remote-sim.c (gdbsim_load): Add 'self' argument.
2210 * remote-mips.c (mips_load): Add 'self' argument.
2211 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
2212 * monitor.c (monitor_load): Add 'self' argument.
2213 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
2215 2014-02-19 Tom Tromey <tromey@redhat.com>
2217 * target.h (struct target_ops) <to_terminal_info>: Add argument.
2218 (target_terminal_info): Add argument.
2219 * target.c (debug_to_terminal_info): Add argument.
2220 (default_terminal_info): Likewise.
2221 * inflow.c (child_terminal_info): Add 'self' argument.
2222 * inferior.h (child_terminal_info): Add 'self' argument.
2223 * go32-nat.c (go32_terminal_info): Add 'self' argument.
2225 2014-02-19 Tom Tromey <tromey@redhat.com>
2227 * target.h (struct target_ops) <to_terminal_save_ours>: Add
2229 (target_terminal_save_ours): Add argument.
2230 * target.c (debug_to_terminal_save_ours): Add argument.
2231 (update_current_target): Update.
2232 * inflow.c (terminal_save_ours): Add 'self' argument.
2233 * inferior.h (terminal_save_ours): Add 'self' argument.
2235 2014-02-19 Tom Tromey <tromey@redhat.com>
2237 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
2238 (target_terminal_ours): Add argument.
2239 * target.c (debug_to_terminal_ours): Add argument.
2240 (update_current_target): Update.
2241 * remote.c (remote_terminal_ours): Add 'self' argument.
2242 (remote_close): Update.
2243 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
2244 * inflow.c (terminal_ours): Add 'self' argument.
2245 * inferior.h (terminal_ours): Add 'self' argument.
2246 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2248 2014-02-19 Pedro Alves <palves@redhat.com>
2249 Tom Tromey <tromey@redhat.com>
2251 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
2253 (target_terminal_ours_for_output): Add argument.
2254 * target.c (debug_to_terminal_ours_for_output): Add argument.
2255 (update_current_target): Update.
2256 * inflow.c (terminal_ours_for_output): Add 'self' argument.
2257 * inferior.h (terminal_ours_for_output): Add 'self' argument.
2258 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2260 2014-02-19 Tom Tromey <tromey@redhat.com>
2262 * target.h (struct target_ops) <to_terminal_inferior>: Add
2264 * target.c (target_terminal_inferior): Add argument.
2265 (update_current_target): Update.
2266 * remote.c (remote_terminal_inferior): Add 'self' argument.
2267 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
2268 * inflow.c (terminal_inferior): Add 'self' argument.
2269 * inferior.h (terminal_inferior): Add 'self' argument.
2270 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
2271 (go32_terminal_inferior): Add 'self' argument.
2273 2014-02-19 Tom Tromey <tromey@redhat.com>
2275 * target.h (struct target_ops) <to_terminal_init>: Add argument.
2276 (target_terminal_init): Add argument.
2277 * target.c (debug_to_terminal_init): Add argument.
2278 (update_current_target): Update.
2279 * inflow.c (terminal_init_inferior): Add 'self' argument.
2280 * inferior.h (terminal_init_inferior): Add 'self' argument.
2281 * go32-nat.c (go32_terminal_init): Add 'self' argument.
2282 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
2284 2014-02-19 Tom Tromey <tromey@redhat.com>
2286 * target.h (struct target_ops)
2287 <to_can_accel_watchpoint_condition>: Add argument.
2288 (target_can_accel_watchpoint_condition): Add argument.
2289 * target.c (debug_to_can_accel_watchpoint_condition): Add
2291 (update_current_target): Update.
2292 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
2295 2014-02-19 Tom Tromey <tromey@redhat.com>
2297 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2299 (target_region_ok_for_hw_watchpoint): Add argument.
2300 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
2301 (default_region_ok_for_hw_watchpoint): Add argument.
2302 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
2303 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
2305 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
2307 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
2309 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
2311 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
2313 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
2315 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
2316 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
2318 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
2319 Add 'self' argument.
2321 2014-02-19 Tom Tromey <tromey@redhat.com>
2323 * target.h (struct target_ops) <to_insert_watchpoint>: Add
2325 (target_insert_watchpoint): Add argument.
2326 * target.c (debug_to_insert_watchpoint): Add argument.
2327 (update_current_target): Update.
2328 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
2329 * remote.c (remote_insert_watchpoint): Add 'self' argument.
2330 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
2331 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
2332 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
2333 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
2335 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
2336 (procfs_insert_hw_watchpoint): Add 'self' argument.
2337 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
2339 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
2341 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
2343 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
2344 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
2346 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
2349 2014-02-19 Tom Tromey <tromey@redhat.com>
2351 * target.h (struct target_ops) <to_remove_watchpoint>: Add
2353 (target_remove_watchpoint): Add argument.
2354 * target.c (debug_to_remove_watchpoint): Add argument.
2355 (update_current_target): Update.
2356 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
2357 * remote.c (remote_remove_watchpoint): Add 'self' argument.
2358 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
2359 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
2360 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
2361 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
2363 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
2364 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
2366 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
2368 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
2370 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
2371 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
2373 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
2376 2014-02-19 Tom Tromey <tromey@redhat.com>
2378 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
2380 (target_remove_hw_breakpoint): Add argument.
2381 * target.c (debug_to_remove_hw_breakpoint): Add argument.
2382 (update_current_target): Update.
2383 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
2384 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
2386 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
2387 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
2389 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
2392 2014-02-19 Tom Tromey <tromey@redhat.com>
2394 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
2396 (target_insert_hw_breakpoint): Add argument.
2397 * target.c (debug_to_insert_hw_breakpoint): Add argument.
2398 (update_current_target): Update.
2399 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
2400 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
2402 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
2403 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
2404 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
2406 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
2409 2014-02-19 Tom Tromey <tromey@redhat.com>
2411 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
2413 (target_can_use_hardware_watchpoint): Add argument.
2414 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
2415 (update_current_target): Update.
2416 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
2418 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
2420 * remote.c (remote_check_watch_resources): Add 'self' argument.
2421 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
2422 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
2424 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
2425 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
2427 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
2429 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
2431 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
2433 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
2435 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
2437 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
2438 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
2440 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
2443 2014-02-19 Tom Tromey <tromey@redhat.com>
2445 * target.h (struct target_ops) <to_post_attach>: Add argument.
2446 (target_post_attach): Add argument.
2447 * target.c (debug_to_post_attach): Add argument.
2448 (update_current_target): Update.
2449 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
2450 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
2451 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
2452 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
2453 * inf-child.c (inf_child_post_attach): Add 'self' argument.
2455 2014-02-19 Tom Tromey <tromey@redhat.com>
2457 * windows-nat.c (windows_close): Add 'self' argument.
2458 * tracepoint.c (tfile_close): Add 'self' argument.
2459 * target.h (struct target_ops) <to_close>: Add argument.
2460 * target.c (target_close): Add argument.
2461 (update_current_target): Update.
2462 * remote.c (remote_close): Add 'self' argument.
2463 * remote-sim.c (gdbsim_close): Add 'self' argument.
2464 * remote-mips.c (mips_close): Add 'self' argument.
2465 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
2466 * record-full.c (record_full_close): Add 'self' argument.
2467 * record-btrace.c (record_btrace_close): Add 'self' argument.
2468 * monitor.h (monitor_close): Add 'self' argument.
2469 * monitor.c (monitor_close): Add 'self' argument.
2470 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
2471 * linux-nat.c (linux_nat_close): Add argument.
2472 * go32-nat.c (go32_close): Add 'self' argument.
2473 * exec.c (exec_close_1): Add 'self' argument.
2474 * ctf.c (ctf_close): Add 'self' argument.
2475 * corelow.c (core_close): Add 'self' argument.
2476 (core_close_cleanup): Update.
2477 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
2478 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
2480 2014-02-19 Tom Tromey <tromey@redhat.com>
2482 * remote.c (remote_load): New function.
2483 (init_remote_ops): Use it.
2485 2014-02-19 Tom Tromey <tromey@redhat.com>
2487 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
2489 * common/linux-btrace.h (linux_supports_btrace): Update.
2490 * remote.c (remote_supports_btrace): Add "self" argument.
2491 * target-delegates.c: Rebuild.
2492 * target.c (target_supports_btrace): Remove.
2493 * target.h (struct target_ops) <to_supports_btrace>: Add
2494 target_ops argument.
2495 (target_supports_btrace): New define.
2497 2014-02-19 Tom Tromey <tromey@redhat.com>
2499 * record-full.c (record_full_beneath_to_resume_ops)
2500 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
2501 (record_full_beneath_to_wait)
2502 (record_full_beneath_to_store_registers_ops)
2503 (record_full_beneath_to_store_registers)
2504 (record_full_beneath_to_xfer_partial_ops)
2505 (record_full_beneath_to_xfer_partial)
2506 (record_full_beneath_to_insert_breakpoint_ops)
2507 (record_full_beneath_to_insert_breakpoint)
2508 (record_full_beneath_to_remove_breakpoint_ops)
2509 (record_full_beneath_to_remove_breakpoint)
2510 (record_full_beneath_to_stopped_by_watchpoint)
2511 (record_full_beneath_to_stopped_data_address)
2512 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
2513 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
2514 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
2515 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
2516 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
2517 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
2518 (tmp_to_stopped_data_address, tmp_to_async): Remove.
2519 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
2520 (record_full_resume, record_full_wait_1)
2521 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
2522 (record_full_store_registers, record_full_xfer_partial)
2523 (record_full_insert_breakpoint, record_full_remove_breakpoint)
2524 (record_full_async, record_full_core_xfer_partial): Use target
2526 * target-delegates.c: Rebuild.
2527 * target.c (current_xfer_partial): Remove.
2528 (update_current_target): Do not INHERIT or de_fault
2529 to_insert_breakpoint, to_remove_breakpoint,
2530 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
2531 to_is_async_p, to_async. Do not set to_xfer_partial field.
2532 (default_xfer_partial): Simplify.
2533 (current_xfer_partial): Remove.
2534 (target_wait, target_resume): Simplify.
2535 (find_default_can_async_p, find_default_is_async_p): Update.
2536 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
2537 to_xfer_partial, to_stopped_by_watchpoint,
2538 to_stopped_data_address.
2539 (target_store_registers): Simplify.
2540 (forward_target_remove_breakpoint)
2541 (forward_target_insert_breakpoint): Remove.
2542 (target_remove_breakpoint, target_insert_breakpoint)
2543 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
2544 * target.h (struct target_ops) <to_resume, to_wait,
2545 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
2546 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
2547 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
2549 (forward_target_remove_breakpoint)
2550 (forward_target_insert_breakpoint): Remove.
2551 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
2553 (record_btrace_insert_breakpoint): Delegate directly.
2555 2014-02-19 Tom Tromey <tromey@redhat.com>
2558 * target-delegates.c: New file.
2559 * target.c: Include target-delegates.c.
2560 (init_dummy_target): Call install_dummy_methods.
2561 (complete_target_initialization): Call install_delegators.
2562 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
2563 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
2564 * make-target-delegates: New file.
2566 2014-02-19 Tom Tromey <tromey@redhat.com>
2568 * record.c (find_record_target): Use find_target_at.
2569 * target.c (find_target_at): New function.
2570 * target.h (find_target_at): Declare.
2572 2014-02-19 Tom Tromey <tromey@redhat.com>
2574 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
2576 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
2578 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
2579 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
2581 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
2583 * linux-nat.c (save_sigtrap): Update.
2584 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
2585 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
2586 (linux_nat_close): Update.
2587 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
2589 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
2591 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
2592 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
2593 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
2594 (tmp_to_async): Add 'ops' argument.
2595 (record_full_stopped_by_watchpoint, record_full_async)
2596 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
2598 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
2599 (m32r_stopped_by_watchpoint): Add 'ops' argument.
2600 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
2601 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
2602 (remote_is_async_p, remote_async): Add 'ops' argument.
2603 (remote_stopped_data_address): Update.
2604 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
2605 * target.c (update_current_target)
2606 (find_default_can_async_p, find_default_is_async_p): Update.
2607 (init_dummy_target): Update.
2608 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
2609 * target.h (struct target_ops) <to_stopped_by_watchpoint,
2610 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
2611 (target_can_async_p, target_is_async_p, target_async)
2612 (target_stopped_by_watchpoint): Update.
2614 2014-02-19 Yao Qi <yao@codesourcery.com>
2617 * gdbarch.sh: Remove startup_gdbarch.
2618 * gdbarch.c: Regenerated.
2619 * gdbarch.h: Likewise.
2621 2014-02-17 Kevin Buettner <kevinb@redhat.com>
2623 * rl78-tdep.c (rl78_g10_register_name): New function.
2624 (rl78_return_value): Add g10 support.
2625 (rl78_gdbarch_init): Register rl78_g10_register_name for the
2628 2014-02-17 Doug Evans <xdje42@gmail.com>
2630 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
2631 (SUBDIR_GUILE_SRCS): Ditto.
2632 (scm-gsmob.o): Ditto.
2634 2014-02-17 Yao Qi <yao@codesourcery.com>
2636 * gnu-nat.c (ILL_RPC): Declare defined function.
2638 2014-02-17 Yao Qi <yao@codesourcery.com>
2640 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
2641 mach_msg_type_number_t.
2642 (gnu_write_inferior): Likewise.
2644 2014-02-17 Yao Qi <yao@codesourcery.com>
2646 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
2648 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
2649 (inf_validate_procs, inf_signal): Likewise.
2650 (S_exception_raise_request): Likewise.
2651 (do_mach_notify_dead_name): Likewise.
2652 (steal_exc_port): Likewise.
2653 (gnu_read_inferior): Change 'copy_count''s type to
2654 mach_msg_type_number_t.
2655 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
2658 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
2660 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
2661 flag. Adjust all users; in particular...
2662 (gnu_wait): ..., don't decrement its value in here...
2663 (gnu_create_inferior): ..., and instead set the flag in here,
2664 around the startup_inferior call, and call that one with
2665 START_INFERIOR_TRAPS_EXPECTED.
2667 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
2668 (ILL_RPC): ... new macro.
2669 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
2670 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
2671 (do_mach_notify_send_once, S_proc_setmsgport_reply)
2672 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
2673 functions with ILL_RPC macro.
2674 (S_proc_pid2task_reply, S_proc_task2pid_reply)
2675 (S_proc_task2proc_reply, S_proc_proc2task_reply)
2676 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
2677 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
2678 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
2679 (S_proc_getlogin_reply, S_proc_getsid_reply)
2680 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
2681 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
2682 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
2683 (S_proc_getnports_reply, S_proc_is_important_reply)
2684 (S_proc_get_code_reply): New stub functions, generated with
2687 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
2688 collected the type check structures.
2690 * reply_mig_hack.awk: Don't expect to see the auto keyword.
2692 2014-02-14 Doug Evans <dje@google.com>
2694 * target.c (target_write_partial): Fix result type.
2696 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2698 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
2699 the proper offsets to access fpregset_t.
2701 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
2703 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
2704 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
2705 * h8300-tdep.c (setmachinelist): Remove global.
2706 * hppa-tdep.c (hppa_sigtramp): Remove global.
2707 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
2708 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
2709 * ravenscar-thread.c (update_target_observer): Remove global.
2710 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
2712 2014-02-12 Tom Tromey <tromey@redhat.com>
2714 * common/rsp-low.c: Update comments.
2715 * common/rsp-low.h: Update comments.
2717 2014-02-12 Tom Tromey <tromey@redhat.com>
2719 * common/rsp-low.c (convert_ascii_to_int): Remove.
2720 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
2722 2014-02-12 Tom Tromey <tromey@redhat.com>
2724 * common/rsp-low.h (unhexify): Don't declare.
2725 * common/rsp-low.c (unhexify): Remove.
2727 2014-02-12 Tom Tromey <tromey@redhat.com>
2729 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
2730 * common/rsp-low.c (convert_int_to_ascii): Remove.
2732 2014-02-12 Tom Tromey <tromey@redhat.com>
2734 * common/rsp-low.h (hexify): Don't declare.
2735 * common/rsp-low.c (hexify): Remove.
2737 2014-02-12 Tom Tromey <tromey@redhat.com>
2739 * common/rsp-low.c (hexify): Never take strlen of argument.
2741 2014-02-12 Tom Tromey <tromey@redhat.com>
2743 * common/rsp-low.c (bin2hex): Never take strlen of argument.
2744 * remote.c (extended_remote_run, remote_rcmd)
2745 (remote_download_trace_state_variable, remote_save_trace_data)
2746 (remote_set_trace_notes): Update.
2747 * tracepoint.c (encode_source_string, tfile_write_status)
2748 (tfile_write_uploaded_tsv): Update.
2750 2014-02-12 Tom Tromey <tromey@redhat.com>
2752 * tracepoint.c: Include rsp-low.h.
2753 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
2754 * remote.c: Include rsp-low.h.
2755 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
2756 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
2757 (remote_unescape_input): Move to common/rsp-low.c.
2758 * common/rsp-low.h: New file.
2759 * common/rsp-low.c: New file.
2760 * Makefile.in (SFILES): Add common/rsp-low.c.
2761 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
2762 (COMMON_OBS): Add rsp-low.o.
2763 (rsp-low.o): New target.
2765 2014-02-12 Tom Tromey <tromey@redhat.com>
2767 * utils.h: Include print-utils.h.
2768 (host_address_to_string, plongest, pulongest, phex, phex_nz)
2769 (int_string, core_addr_to_string, core_addr_to_string_nz)
2770 (hex_string, hex_string_custom): Don't declare.
2771 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2772 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2773 (hex_string_custom, int_string, core_addr_to_string)
2774 (core_addr_to_string_nz, host_address_to_string): Move to
2775 common/print-utils.c.
2776 * common/print-utils.h: New file.
2777 * common/print-utils.c: New file
2778 * Makefile.in (SFILES): Add common/print-utils.c.
2779 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2780 (COMMON_OBS): Add print-utils.o.
2781 (print-utils.o): New target.
2783 2014-02-12 Tom Tromey <tromey@redhat.com>
2785 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2787 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2789 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2791 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2793 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2794 if a PT_IO ptrace request returns sucessfully but indicates that 0
2795 bytes were transferred.
2797 2014-02-12 Pedro Alves <palves@redhat.com>
2798 Kevin Buettner <kevinb@redhat.com>
2800 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2801 TYPE_INSTANCE_FLAG_CODE_SPACE.
2803 2014-02-12 Pedro Alves <palves@redhat.com>
2805 * h8300-tdep.c (pseudo_from_raw_register)
2806 (raw_from_pseudo_register): New functions.
2807 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2810 2014-02-12 Pedro Alves <palves@redhat.com>
2812 * h8300-tdep.c (h8300_register_sim_regno): New function.
2813 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2814 gdbarch_register_sim_regno hook.
2816 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2818 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2820 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2822 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2824 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2826 * obsd-tdep.h (obsd_init_abi): New prototype.
2827 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2828 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2829 (obsd_init_abi): New functions.
2830 * i386obsd-tdep.c: Include "obsd-tdep.h".
2831 (i386obsd_init_abi): Call obsd_init_abi.
2832 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2833 (amd64obsd_init_abi): Call obsd_init_abi.
2834 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2835 obsd-tdep.c to gdb_target_obs.
2837 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2839 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2840 double float arguments to 16-byte in the argument slots.
2842 2014-02-11 Doug Evans <xdje42@gmail.com>
2844 * configure.ac: Don't crash if pkg-config is not found and guile
2845 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2847 * configure: Regenerate.
2849 2014-02-11 Yao Qi <yao@codesourcery.com>
2851 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2852 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2853 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2854 * gnu-nat.c (gnu_xfer_memory): Likewise.
2855 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2856 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2857 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2858 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2860 2014-02-11 Yao Qi <yao@codesourcery.com>
2862 * target.h (enum target_xfer_error): Rename to ...
2863 (enum target_xfer_status): ... it. New. All users updated.
2864 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2866 (TARGET_XFER_STATUS_ERROR_P): New macro.
2867 (target_xfer_error_to_string): Remove declaration.
2868 (target_xfer_status_to_string): Declare.
2869 (target_xfer_partial_ftype): Adjust it.
2870 (struct target_ops) <to_xfer_partial>: Return
2871 target_xfer_status. Add argument xfered_len. Update
2873 * target.c (target_xfer_error_to_string): Rename to ...
2874 (target_xfer_status_to_string): ... it. New. All callers
2876 (target_read_live_memory): Likewise. Call target_xfer_partial
2877 instead of target_read.
2878 (memory_xfer_live_readonly_partial): Return
2879 target_xfer_status. Add argument xfered_len.
2880 (raw_memory_xfer_partial): Likewise.
2881 (memory_xfer_partial_1): Likewise.
2882 (memory_xfer_partial): Likewise.
2883 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2884 properly. Update debug message.
2885 (default_xfer_partial, current_xfer_partial): Likewise.
2886 (target_write_partial): Likewise.
2887 (target_read_partial): Likewise. All callers updated.
2888 (read_whatever_is_readable): Likewise.
2889 (target_write_with_progress): Likewise.
2890 (target_read_alloc_1): Likewise.
2892 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2893 * auxv.c (procfs_xfer_auxv): Likewise.
2894 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2895 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2896 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2897 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2898 * corefile.c (read_memory): Adjust.
2899 * corelow.c (core_xfer_partial): Likewise.
2900 * ctf.c (ctf_xfer_partial): Likewise.
2901 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2903 (darwin_xfer_partial): Likewise.
2904 * exec.c (section_table_xfer_memory_partial): Likewise. All
2906 (exec_xfer_partial): Likewise.
2907 * exec.h (section_table_xfer_memory_partial): Update
2909 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2911 (gnu_xfer_partial): Likewise.
2912 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2913 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2914 (ia64_hpux_xfer_solib_got): Likewise.
2915 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2916 type of 'partial_len' to ULONGEST.
2917 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2918 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2919 (linux_nat_xfer_partial): Likewise.
2920 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2921 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2922 * monitor.c (monitor_xfer_memory): Likewise.
2923 (monitor_xfer_partial): Likewise.
2924 * procfs.c (procfs_xfer_partial): Likewise.
2925 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2926 * record-full.c (record_full_xfer_partial): Likewise.
2927 (record_full_core_xfer_partial): Likewise.
2928 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2929 (gdbsim_xfer_partial): Likewise.
2930 * remote.c (remote_write_bytes_aux): Likewise. All callers
2932 (remote_write_bytes, remote_read_bytes): Likewise. All
2934 (remote_flash_erase): Likewise. All callers updated.
2935 (remote_write_qxfer): Likewise. All callers updated.
2936 (remote_read_qxfer): Likewise. All callers updated.
2937 (remote_xfer_partial): Likewise.
2938 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2939 (rs6000_xfer_shared_libraries): Likewise.
2940 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2941 (sol_thread_xfer_partial): Likewise.
2942 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2943 (sparc_xfer_partial): Likewise.
2944 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2946 (spu_xfer_partial): Likewise.
2947 * spu-multiarch.c (spu_xfer_partial): Likewise.
2948 * tracepoint.c (tfile_xfer_partial): Likewise.
2949 * windows-nat.c (windows_xfer_memory): Likewise.
2950 (windows_xfer_shared_libraries): Likewise.
2951 (windows_xfer_partial): Likewise.
2952 * valprint.c: Replace 'target_xfer_error' with
2953 'target_xfer_status' in comments.
2955 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2957 Checked in by Joel Brobecker <brobecker@adacore.com>.
2958 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2960 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2962 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2963 function parameters.
2965 2014-02-10 Will Newton <will.newton@linaro.org>
2967 * elfread.c (elf_rel_plt_read): Look for a .got section if
2968 looking up .got.plt fails.
2969 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2970 on address passed to elf_gnu_ifunc_record_cache.
2971 (elf_gnu_ifunc_resolve_addr): Likewise.
2972 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2974 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2976 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2977 (X_RETTURN): New macro.
2978 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2980 * sparc64-tdep.c (sparc64_init_abi): Hook
2981 sparc_in_function_epilogue_p.
2983 2014-02-10 Gary Benson <gbenson@redhat.com>
2985 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2986 Rename name_matcher to symbol_matcher.
2988 2014-02-10 Gary Benson <gbenson@redhat.com>
2990 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2991 Use expand_symtabs_file_matcher_ftype and
2992 expand_symtabs_symbol_matcher_ftype.
2994 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2996 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2997 (struct ada_symbol_cache): New.
2998 (ada_free_symbol_cache): Forward declare.
2999 (struct ada_pspace_data): New.
3000 (ada_pspace_data_handle): New static global.
3001 (get_ada_pspace_data, ada_pspace_data_cleanup)
3002 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
3003 (cache_space, cache): Delete, now folded inside struct
3005 (ada_get_symbol_cache): New function.
3006 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
3008 (_initialize_ada_language): Remove initialization of cache_space.
3009 Move call to observer_attach_inferior_exit up, grouping it
3010 with the other observer registrations inside this function.
3011 Rename command to be more general. Add call to
3012 register_program_space_data_with_cleanup.
3014 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3016 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
3017 ada_new_objfile_observer.
3018 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
3019 (_initialize_tasks): Update uses of ada_new_objfile_observer
3020 and ada_tasks_normal_stop_observer.
3022 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3024 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
3025 returned by the 'Length attribute to integer.
3027 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3029 * ada-lang.c (_initialize_ada_language): Initialize
3030 cache_space obstack.
3032 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3034 * ada-lang.c (HASH_SIZE): New macro.
3035 (struct cache_entry): New type.
3036 (cache_space, cache): New static globals.
3037 (ada_clear_symbol_cache, find_entry): New functions.
3038 (lookup_cached_symbol, cache_symbol): Implement.
3039 (ada_new_objfile_observer, ada_free_objfile_observer): New.
3040 (_initialize_ada_language): Attach ada_new_objfile_observer
3041 and ada_free_objfile_observer.
3043 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3045 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
3046 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
3047 struct block * parameter.
3048 (ada_lookup_symbol_list_worker): Constify local variable "block".
3049 Remove cast which is no longer necessary.
3051 2014-02-10 Doug Evans <xdje42@gmail.com>
3053 Add Guile as an extension language.
3054 * NEWS: Mention Guile scripting.
3055 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
3056 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
3057 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
3058 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
3059 (CLIBS): Add GUILE_LIBS.
3060 (install-guile): New rule.
3061 (guile.o): New rule.
3062 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
3063 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
3064 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
3065 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
3066 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
3067 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
3068 (scm-type.o, scm-utils.o, scm-value.o): New rules.
3069 * configure.ac: New option --with-guile.
3070 * configure: Regenerate.
3071 * config.in: Regenerate.
3072 * auto-load.c: Remove #include "python/python.h". Add #include
3073 "gdb/section-scripts.h".
3074 (source_section_scripts): Handle Guile scripts.
3075 (_initialize_auto_load): Add name of Guile objfile script to
3076 scripts-directory help text.
3077 * breakpoint.c (condition_command): Tweak comment to include Scheme.
3078 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
3079 (struct breakpoint): New member scm_bp_object.
3080 * defs.h (enum command_control_type): New value guile_control.
3081 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
3083 (show_user): Update comment.
3084 (_initialize_cli_cmds): Update help text for "show user". Update help
3085 text for max-user-call-depth.
3086 * cli/cli-script.c: Remove #include "python/python.h". Add #include
3088 (multi_line_command_p): Add guile_control.
3089 (print_command_lines): Handle guile_control.
3090 (execute_control_command, recurse_read_control_structure): Ditto.
3091 (process_next_line): Recognize "guile" commands.
3092 * disasm.c (gdb_disassemble_info): Make non-static.
3093 * disasm.h: #include "dis-asm.h".
3094 (struct gdbarch): Add forward decl.
3095 (gdb_disassemble_info): Declare.
3096 * extension.c: #include "guile/guile.h".
3097 (extension_languages): Add guile.
3098 (get_ext_lang_defn): Handle EXT_LANG_GDB.
3099 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
3100 * gdbtypes.c (get_unsigned_type_max): New function.
3101 (get_signed_type_minmax): New function.
3102 * gdbtypes.h (get_unsigned_type_max): Declare.
3103 (get_signed_type_minmax): Declare.
3104 * guile/README: New file.
3105 * guile/guile-internal.h: New file.
3106 * guile/guile.c: New file.
3107 * guile/guile.h: New file.
3108 * guile/scm-arch.c: New file.
3109 * guile/scm-auto-load.c: New file.
3110 * guile/scm-block.c: New file.
3111 * guile/scm-breakpoint.c: New file.
3112 * guile/scm-disasm.c: New file.
3113 * guile/scm-exception.c: New file.
3114 * guile/scm-frame.c: New file.
3115 * guile/scm-gsmob.c: New file.
3116 * guile/scm-iterator.c: New file.
3117 * guile/scm-lazy-string.c: New file.
3118 * guile/scm-math.c: New file.
3119 * guile/scm-objfile.c: New file.
3120 * guile/scm-ports.c: New file.
3121 * guile/scm-pretty-print.c: New file.
3122 * guile/scm-safe-call.c: New file.
3123 * guile/scm-string.c: New file.
3124 * guile/scm-symbol.c: New file.
3125 * guile/scm-symtab.c: New file.
3126 * guile/scm-type.c: New file.
3127 * guile/scm-utils.c: New file.
3128 * guile/scm-value.c: New file.
3129 * guile/lib/gdb.scm: New file.
3130 * guile/lib/gdb/boot.scm: New file.
3131 * guile/lib/gdb/experimental.scm: New file.
3132 * guile/lib/gdb/init.scm: New file.
3133 * guile/lib/gdb/iterator.scm: New file.
3134 * guile/lib/gdb/printing.scm: New file.
3135 * guile/lib/gdb/types.scm: New file.
3136 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
3137 (VPATH): Add $(GUILE_SRCDIR).
3138 (GUILE_DIR): New variable.
3139 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
3140 (all): Add stamp-guile dependency.
3141 (stamp-guile): New rule.
3142 (clean-guile, install-guile, uninstall-guile): New rules.
3143 (install-only): Add install-guile dependency.
3144 (uninstall): Add uninstall-guile dependency.
3145 (clean): Add clean-guile dependency.
3147 2014-02-09 Doug Evans <xdje42@gmail.com>
3149 Revert this patch (which I approved, mea culpa).
3151 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3153 * Makefile.in (all-lib): Remove.
3154 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3156 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3158 Fix Python stack corruption.
3159 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
3162 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3164 * Makefile.in (all-lib): Remove.
3165 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3167 2014-02-07 Doug Evans <dje@google.com>
3169 * extension-priv.h (extension_language_script_ops): Add comment.
3170 (extension_language_ops): Add comment.
3171 (active_ext_lang_state): Fix typo in comment.
3173 2014-02-07 Pedro Alves <palves@redhat.com>
3175 * infrun.c (handle_signal_stop) <signal arrives while stepping
3176 over a breakpoint>: Switch back to the stepping thread.
3178 2014-02-07 Yao Qi <yao@codesourcery.com>
3180 * target.c (target_xfer_partial): Return zero if LEN is zero.
3182 2014-02-07 Yao Qi <yao@codesourcery.com>
3184 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
3185 (ld_so_xfer_auxv): Likewise.
3186 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3187 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3188 * corelow.c (core_xfer_partial): Likewise.
3189 * ctf.c (ctf_xfer_partial): Likewise.
3190 * darwin-nat.c (darwin_read_dyld_info): Likewise.
3191 (darwin_xfer_partial): Likewise.
3192 * exec.c (exec_xfer_partial): Likewise.
3193 * gnu-nat.c (gnu_xfer_partial): Likewise.
3194 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
3195 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
3196 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
3197 * linux-nat.c (linux_xfer_siginfo): Likewise.
3198 (linux_proc_xfer_spu): Likewise.
3199 * procfs.c (procfs_xfer_partial): Likewise.
3200 * record-full.c (record_full_xfer_partial): Likewise.
3201 (record_full_core_xfer_partial): Likewise.
3202 * remote-sim.c (gdbsim_xfer_partial): Likewise.
3203 * remote.c (remote_write_qxfer): Likewise.
3204 (remote_write_qxfer, remote_read_qxfer): Likewise.
3205 (remote_xfer_partial): Likewise.
3206 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3207 (rs6000_xfer_shared_libraries): Likewise.
3208 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3209 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3210 (spu_xfer_partial): Likewise.
3211 * target.c (memory_xfer_partial_1): Likewise.
3212 * tracepoint.c (tfile_xfer_partial): Likewise.
3213 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
3214 (windows_xfer_partial): Likewise.
3216 2014-02-07 Yao Qi <yao@codesourcery.com>
3218 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
3220 (core_xfer_shared_libraries_aix): Likewise.
3221 * gdbarch.c, gdbarch.h: Regenerated.
3222 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
3223 ULONGEST. Change 'len_avail' type to ULONGEST.
3224 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3225 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3227 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
3229 2014-02-07 Yao Qi <yao@codesourcery.com>
3231 * corefile.c (memory_error): Get 'exception' from ERR and pass
3232 'exception' to throw_error.
3234 2014-02-06 Doug Evans <xdje42@gmail.com>
3236 * configure.ac (libpython checking): Remove all but python.o from
3237 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
3238 * configure: Regenerate.
3240 * Makefile.in (SFILES): Add extension.c.
3241 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
3242 (COMMON_OBS): Add extension.o.
3243 * extension.h: New file.
3244 * extension-priv.h: New file.
3245 * extension.c: New file.
3247 * python/python-internal.h: #include "extension.h".
3248 (gdbpy_auto_load_enabled): Declare.
3249 (gdbpy_apply_val_pretty_printer): Declare.
3250 (gdbpy_apply_frame_filter): Declare.
3251 (gdbpy_preserve_values): Declare.
3252 (gdbpy_breakpoint_cond_says_stop): Declare.
3253 (gdbpy_breakpoint_has_cond): Declare.
3254 (void source_python_script_for_objfile): Delete.
3255 * python/python.c: #include "extension-priv.h".
3256 Delete inclusion of "observer.h".
3257 (extension_language_python): Moved here and renamed from
3258 script_language_python in py-auto-load.c.
3259 Redefined to be of type extension_language_defn.
3260 (python_extension_script_ops): New global.
3261 (python_extension_ops): New global.
3262 (struct python_env): New member previous_active.
3263 (restore_python_env): Call restore_active_ext_lang.
3264 (ensure_python_env): Call set_active_ext_lang.
3265 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
3267 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
3269 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
3271 (gdbpy_eval_from_control_command): Renamed from
3272 eval_python_from_control_command, made static. New arg extlang.
3273 (gdbpy_source_script) Renamed from source_python_script, made static.
3275 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
3276 result to int. New arg extlang.
3277 (gdbpy_source_objfile_script): Renamed from
3278 source_python_script_for_objfile, made static. New arg extlang.
3279 (gdbpy_start_type_printers): Renamed from start_type_printers, made
3280 static. New args extlang, extlang_printers. Change result type to
3282 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
3283 static. New arg extlang. Rename arg printers to extlang_printers
3284 and change type to ext_lang_type_printers *.
3285 (gdbpy_free_type_printers): Renamed from free_type_printers, made
3286 static. Replace argument arg with extlang, extlang_printers.
3287 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
3288 (!HAVE_PYTHON, source_python_script): Delete.
3289 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
3290 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
3291 (!HAVE_PYTHON, start_type_printers): Delete.
3292 (!HAVE_PYTHON, apply_type_printers): Delete.
3293 (!HAVE_PYTHON, free_type_printers): Delete.
3294 (_initialize_python): Delete call to observer_attach_before_prompt.
3295 (finalize_python): Set/restore active extension language.
3296 (gdbpy_finish_initialization) Renamed from
3297 finish_python_initialization, made static. New arg extlang.
3298 (gdbpy_initialized): New function.
3299 * python/python.h: #include "extension.h". Delete #include
3300 "value.h", "mi/mi-cmds.h".
3301 (extension_language_python): Declare.
3302 (GDBPY_AUTO_FILE_NAME): Delete.
3303 (enum py_bt_status): Moved to extension.h and renamed to
3305 (enum frame_filter_flags): Moved to extension.h.
3306 (enum py_frame_args): Moved to extension.h and renamed to
3307 ext_lang_frame_args.
3308 (finish_python_initialization): Delete.
3309 (eval_python_from_control_command): Delete.
3310 (source_python_script): Delete.
3311 (apply_val_pretty_printer): Delete.
3312 (apply_frame_filter): Delete.
3313 (preserve_python_values): Delete.
3314 (gdbpy_script_language_defn): Delete.
3315 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
3316 (start_type_printers, apply_type_printers, free_type_printers): Delete.
3318 * auto-load.c: #include "extension.h".
3319 (GDB_AUTO_FILE_NAME): Delete.
3320 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
3321 (script_language_gdb): Delete, moved to extension.c and renamed to
3322 extension_language_gdb.
3323 (source_gdb_script_for_objfile): Delete.
3324 (auto_load_pspace_info): New member unsupported_script_warning_printed.
3325 (loaded_script): Change type of language member to
3326 struct extension_language_defn *.
3327 (init_loaded_scripts_info): Initialize
3328 unsupported_script_warning_printed.
3329 (maybe_add_script): Make static. Change type of language arg to
3330 struct extension_language_defn *.
3331 (clear_section_scripts): Reset unsupported_script_warning_printed.
3332 (auto_load_objfile_script_1): Rewrite to use extension language API.
3333 (auto_load_objfile_script): Make public. Remove support-compiled-in
3334 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
3335 (source_section_scripts): Rewrite to use extension language API.
3336 (load_auto_scripts_for_objfile): Rewrite to use
3337 auto_load_scripts_for_objfile.
3338 (collect_matching_scripts_data): Change type of language member to
3339 struct extension_language_defn *.
3340 (auto_load_info_scripts): Change type of language arg to
3341 struct extension_language_defn *.
3342 (unsupported_script_warning_print): New function.
3343 (script_not_found_warning_print): Make static.
3344 (_initialize_auto_load): Rewrite construction of scripts-directory
3346 * auto-load.h (struct objfile): Add forward decl.
3347 (struct script_language): Delete.
3348 (struct auto_load_pspace_info): Add forward decl.
3349 (struct extension_language_defn): Add forward decl.
3350 (maybe_add_script): Delete.
3351 (auto_load_objfile_script): Declare.
3352 (script_not_found_warning_print): Delete.
3353 (auto_load_info_scripts): Update prototype.
3354 (auto_load_gdb_scripts_enabled): Declare.
3355 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
3356 auto_load_python_scripts_enabled and made public.
3357 (script_language_python): Delete, moved to python.c.
3358 (gdbpy_script_language_defn): Delete.
3359 (info_auto_load_python_scripts): Update to use
3360 extension_language_python.
3362 * breakpoint.c (condition_command): Replace call to
3363 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
3364 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
3365 with call to breakpoint_ext_lang_cond_says_stop.
3366 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
3367 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
3368 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
3369 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
3371 (local_setattro): Print name of extension language with existing
3374 * valprint.c (val_print, value_print): Update to call
3375 apply_ext_lang_val_pretty_printer.
3376 * cp-valprint.c (cp_print_value): Update call to
3377 apply_ext_lang_val_pretty_printer.
3378 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
3379 (gdbpy_apply_val_pretty_printer): Renamed from
3380 apply_val_pretty_printer. New arg extlang.
3381 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
3383 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
3384 extension language API.
3385 * cli/cli-script.c (execute_control_command): Update to call
3386 eval_ext_lang_from_control_command.
3388 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
3389 enum ext_lang_bt_status values. Update call to
3390 apply_ext_lang_frame_filter.
3391 (mi_cmd_stack_list_locals): Ditto.
3392 (mi_cmd_stack_list_args): Ditto.
3393 (mi_cmd_stack_list_variables): Ditto.
3394 * mi/mi-main.c: Delete #include "python/python-internal.h".
3395 Add #include "extension.h".
3396 (mi_cmd_list_features): Replace reference to python internal variable
3397 gdb_python_initialized with call to ext_lang_initialized_p.
3399 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
3400 Update to use enum ext_lang_frame_args. Update to call
3401 apply_ext_lang_frame_filter.
3402 * python/py-framefilter.c (extract_sym): Update to use enum
3404 (extract_value, py_print_type, py_print_value): Ditto.
3405 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
3406 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
3407 (py_print_frame): Ditto.
3408 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
3409 New arg extlang. Update to use enum ext_lang_bt_status.
3411 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
3412 finish_python_initialization. Replace with call to
3413 finish_ext_lang_initialization.
3415 * typeprint.c (do_free_global_table): Update to call
3416 free_ext_lang_type_printers.
3417 (create_global_typedef_table): Update to call
3418 start_ext_lang_type_printers.
3419 (find_global_typedef): Update to call apply_ext_lang_type_printers.
3420 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
3421 (type_print_options): Change type of global_printers from "void *"
3422 to "struct ext_lang_type_printers *".
3424 * value.c (preserve_values): Update to call preserve_ext_lang_values.
3425 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
3426 (gdbpy_preserve_values): Renamed from preserve_python_values.
3428 (!HAVE_PYTHON, preserve_python_values): Delete.
3430 * utils.c (quit_flag): Delete, moved to extension.c.
3431 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
3434 * eval.c: Delete #include "python/python.h".
3435 * main.c: Delete #include "python/python.h".
3437 * defs.h: Update comment.
3439 2014-02-06 Joel Brobecker <brobecker@adacore.com>
3443 2014-02-05 Mark Kettenis <kettenis@gnu.org>
3445 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
3448 2014-02-05 Yao Qi <yao@codesourcery.com>
3450 * remote.c (remote_pass_signals): Remove local 'buf' and use
3452 (remote_program_signals): Likewise.
3454 2014-02-05 Yao Qi <yao@codesourcery.com>
3456 * ctf.c: Include "inferior.h" and "gdbthread.h".
3457 (CTF_PID): A new macro.
3458 (ctf_open): Call inferior_appeared and add_thread_silent.
3459 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
3460 (ctf_thread_alive): New function.
3461 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
3463 2014-02-05 Yao Qi <yao@codesourcery.com>
3467 2013-05-24 Yao Qi <yao@codesourcery.com>
3469 * tracepoint.c (TFILE_PID): Remove.
3470 (tfile_open): Don't add thread and inferior.
3471 (tfile_close): Don't set 'inferior_ptid'. Don't call
3472 exit_inferior_silent.
3473 (tfile_thread_alive): Remove.
3474 (init_tfile_ops): Don't set field 'to_thread_alive' of
3477 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
3479 * remote.c (remote_start_remote): Call remote_check_symbols even
3480 if only symbol-file (not file) has been given.
3482 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3484 * gdbarch.sh (skip_entrypoint): New callback.
3485 * gdbarch.c, gdbarch.h: Regenerate.
3486 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
3487 * infrun.c (fill_in_stop_func): Likewise.
3488 * ppc-linux-tdep.c: Include "elf/ppc64.h".
3489 (ppc_elfv2_elf_make_msymbol_special): New function.
3490 (ppc_elfv2_skip_entrypoint): Likewise.
3491 (ppc_linux_init_abi): Install them for ELFv2.
3493 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3495 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
3496 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
3497 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
3498 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
3499 structures returned in GPRs.
3501 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3503 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
3504 offset to the stack parameter list for the ELFv2 ABI.
3506 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3508 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
3509 set_gdbarch_convert_from_func_ptr_addr and
3510 set_gdbarch_elf_make_msymbol_special for ELFv1.
3511 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
3512 function descriptors on ELFv1.
3513 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
3514 set up r12 at function entry.
3516 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3518 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
3519 (struct gdbarch_tdep): New member elf_abi.
3521 * rs6000-tdep.c: Include "elf/ppc64.h".
3522 (rs6000_gdbarch_init): Detect ELF ABI version.
3524 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3526 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
3527 within a register pair holding a DFP 128-bit value on little-endian.
3528 (ppc64_sysv_abi_return_value_base): Likewise.
3529 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
3530 (dfp_pseudo_register_write): Likewise.
3532 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3534 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
3535 offset on little-endian when passing _Decimal32.
3536 (ppc64_sysv_abi_return_value_base): Likewise for return values.
3538 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3540 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
3541 of the overlapped FP register within the VSX register on little-
3543 (efpr_pseudo_register_write): Likewise.
3545 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3547 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
3548 offset on little-endian when passing small structures.
3550 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3552 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
3553 (struct ppc64_sysv_argpos): New data structure.
3554 (ppc64_sysv_abi_push_float): Remove.
3555 (ppc64_sysv_abi_push_val): New function.
3556 (ppc64_sysv_abi_push_integer): Likewise.
3557 (ppc64_sysv_abi_push_freg): Likewise.
3558 (ppc64_sysv_abi_push_vreg): Likewise.
3559 (ppc64_sysv_abi_push_param): Likewise.
3560 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
3561 (ppc64_sysv_abi_return_value_base): New function.
3562 (ppc64_sysv_abi_return_value): Refactor to use it.
3564 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3566 * NEWS: Document new target powerpc64le-*-linux*.
3568 2014-02-04 Mark Kettenis <kettenis@gnu.org>
3570 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
3571 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
3573 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
3574 register set used in ELF core dumps. Add floating-point register set.
3576 2014-02-03 Kevin Buettner <kevinb@redhat.com>
3578 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
3579 dwarf2_to_gdb[] table using symbolic constants. Adjust
3580 penultimate entry from number representing the PC register
3581 to symbolic constant representing the MDR register. Add
3582 constant for the PC register to the end of the table.
3584 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3586 * bsd-kvm.c: Include <sys/param.h>
3588 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3590 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
3592 2014-01-31 Joel Brobecker <brobecker@adacore.com>
3594 * ada-lang.h (clear_ada_sym_cache): Delete.
3596 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
3598 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
3600 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3602 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
3603 the sigreturn register save area only if the syscall is
3606 2014-01-29 Joel Brobecker <brobecker@adacore.com>
3608 * valops.c (value_slice): Minor reformatting.
3610 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
3612 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
3614 2014-01-28 Joel Brobecker <brobecker@adacore.com>
3616 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
3618 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
3619 (ada_ignore_descriptive_types_p): New static global.
3620 (find_parallel_type_by_descriptive_type): Return immediately
3621 if ada_ignore_descriptive_types_p is set.
3622 (_initialize_ada_language): Register new commands "maintenance
3623 set ada", "maintenance show ada", "maintenance set ada
3624 ignore-descriptive-types" and "maintenance show ada
3625 ignore-descriptive-types".
3626 * NEWS: Add entry for new "maint ada set/show
3627 ignore-descriptive-types" commands.
3629 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
3631 * record-btrace.c (record_btrace_close): Call btrace_teardown
3634 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3636 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
3639 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3641 * ada-typeprint (type_is_full_subrange_of_target_type):
3643 (print_range): Add parameter bounds_prefered_p. If not set,
3644 try printing range types using the name of their base type.
3645 (print_range_type): Add parameter bounds_prefered_p.
3646 Use it in call to print_range.
3647 (print_array_type, ada_print_type): Update calls to print_range
3648 and print_range_type.
3650 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3652 * ada-typeprint.c (print_array_type, print_choices, print_range)
3653 (print_range_bound, print_dynamic_range_bound, print_range_type):
3656 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3658 * ada-typeprint.c (print_range): Add missing empty line
3659 after local declaration.
3661 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3663 * ada-valprint.c (print_optional_low_bound): Get index_type's
3664 target type for as long as it is a TYPE_CODE_RANGE.
3666 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3668 * procfs.c (procfs_make_note_section): Remove assertion and
3671 2014-01-24 Yao Qi <yao@codesourcery.com>
3673 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
3674 * corelow.c (get_core_siginfo): Likewise.
3676 2014-01-24 Yao Qi <yao@codesourcery.com>
3678 * remote.c (remote_write_bytes_aux): Change type of 'len' to
3679 ULONGEST. Don't check 'len' is negative.
3680 (remote_write_bytes): Change type of 'len' to ULONGEST.
3682 2014-01-23 Tom Tromey <tromey@redhat.com>
3685 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
3686 Handle exception from frame.block.
3687 (FrameVars.fetch_frame_locals): Likewise.
3689 2014-01-23 Tom Tromey <tromey@redhat.com>
3692 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
3693 on a NULL pointer. Move "goto error" to correct place.
3695 2014-01-23 Tom Tromey <tromey@redhat.com>
3698 * python/py-framefilter.c (apply_frame_filter): Call
3699 ensure_python_env after computing gdbarch.
3701 2014-01-23 Yao Qi <yao@codesourcery.com>
3703 * target.c (raw_memory_xfer_partial): Change argument type
3704 from void * to gdb_byte *.
3705 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
3707 2014-01-22 Doug Evans <dje@google.com>
3709 New gdbserver option --debug-format=timestamp.
3712 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3714 * syscalls/s390x-linux.xml: New file.
3715 * syscalls/s390-linux.xml: New file.
3716 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
3717 (XML_SYSCALL_FILENAME_S390X): Likewise.
3718 (op_svc): New enum value for SVC opcode.
3719 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
3720 (s390_linux_get_syscall_number): New function.
3721 (s390_gdbarch_init): Register '*get_syscall_number' and the
3722 syscall xml file name.
3723 * data-directory/Makefile.in (SYSCALLS_FILES): Add
3724 "s390-linux.xml" and "s390x-linux.xml".
3725 * NEWS: Announce new feature.
3727 2014-01-22 Baruch Siach <baruch@tkos.co.il>
3729 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
3731 2014-01-22 Pedro Alves <palves@redhat.com>
3733 * xtensa-config.c: Include defs.h.
3735 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3737 * common/common-utils.h: Add "ARI:" comment beside __func__
3740 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3742 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
3743 documentation a bit.
3745 2014-01-21 Roland McGrath <mcgrathr@google.com>
3747 * configure.ac: Call AM_PROG_INSTALL_STRIP.
3748 * configure: Regenerate.
3749 * aclocal.m4: Regenerate.
3750 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
3751 New substituted variables.
3752 (install-strip): New target.
3753 (INSTALL_SCRIPT): New substituted variable.
3754 (FLAGS_TO_PASS): Add it.
3755 (install-only): Use $(INSTALL_SCRIPT) rather than
3756 $(INSTALL_PROGRAM) for gcore.
3758 2014-01-20 Tom Tromey <tromey@redhat.com>
3760 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
3763 2014-01-20 Tom Tromey <tromey@redhat.com>
3765 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
3766 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
3767 (deprecated_cmd_warning, complete_on_cmdlist): Update.
3768 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
3769 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3770 (struct cmd_list_element) <flags>: Remove.
3771 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3772 doc_allocated>: New fields.
3773 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3775 * maint.c (maintenance_do_deprecate): Update.
3776 * top.c (execute_command): Update.
3778 2014-01-20 Baruch Siach <baruch@tkos.co.il>
3780 * xtensa-linux-nat.c: Include asm/ptrace.h.
3782 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3784 * Makefile.in (SFILES): Add d-support.c.
3785 (COMMON_OBS): Add d-support.o.
3786 * d-lang.h (d_parse_symbol): Add comment, now defined in
3788 * d-lang.c (parse_call_convention)
3789 (parse_attributes, parse_function_types)
3790 (parse_function_args, parse_type, parse_identifier)
3791 (call_convention_p, d_parse_symbol): Move functions to ...
3792 * d-support.c: ... New file.
3794 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3796 * d-lang.h (d_parse_symbol): Add declaration.
3797 * d-lang.c (extract_identifiers)
3798 (extract_type_info): Remove functions.
3799 (parse_call_convention, parse_attributes)
3800 (parse_function_types, parse_function_args)
3801 (parse_type, parse_identifier, call_convention_p)
3802 (d_parse_symbol): New functions.
3803 (d_demangle): Use d_parse_symbol to demangle D symbols.
3805 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3807 * d-lang.h (struct builtin_d_type): New data type.
3808 (builtin_d_type): Add declaration.
3809 * d-lang.c (d_language_arch_info, build_d_types)
3810 (builtin_d_type): New functions.
3811 (enum d_primitive_types): New data type.
3812 (d_language_defn): Change c_language_arch_info to
3813 d_language_arch_info.
3814 (d_type_data): New static variable.
3815 (_initialize_d_language): Initialize d_type_data.
3817 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3819 * d-lang.h (d_main_name): Add declaration.
3820 * d-lang.c (d_main_name): New function.
3821 * symtab.c (find_main_name): Add call to d_main_name.
3823 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3825 * d-lang.c (d_language_defn): Change macro_expansion_c to
3828 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3830 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3832 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3834 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3835 gdb_exception" declaration.
3836 * remote.c (getpkt_or_notif_sane): Likewise.
3838 2014-01-17 Doug Evans <dje@google.com>
3840 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3841 function, contents of dirnames_to_char_ptr_vec_append moved here.
3842 (delim_string_to_char_ptr_vec): New function.
3843 (dirnames_to_char_ptr_vec_append): Rewrite.
3844 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3846 2014-01-17 Doug Evans <dje@google.com>
3848 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3850 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3851 #include "common-utils.h".
3852 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3853 * common/vec.h (VEC_ASSERT_PASS): Update.
3854 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3855 (MACH_CHECK_ERROR): Update.
3857 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3859 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3861 * gdbarch.h: Regenerate.
3863 2014-01-16 Tom Tromey <tromey@redhat.com>
3865 * value.c (struct value) <regnum>: Move earlier.
3867 2014-01-16 Tom Tromey <tromey@redhat.com>
3869 * remote.c (extended_remote_create_inferior): Rename from
3870 extended_remote_create_inferior_1. Add "ops" argument. Remove
3873 2014-01-16 Pedro Alves <palves@redhat.com>
3875 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3876 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3879 2014-01-16 Doug Evans <dje@google.com>
3881 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3883 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3885 * btrace.h (btrace_thread_flag): New.
3886 (struct btrace_thread_info) <flags>: New.
3887 * record-btrace.c (record_btrace_resume_thread)
3888 (record_btrace_find_thread_to_move, btrace_step_no_history)
3889 (btrace_step_stopped, record_btrace_start_replaying)
3890 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3891 (record_btrace_find_resume_thread): New.
3892 (record_btrace_resume, record_btrace_wait): Extend.
3893 (record_btrace_can_execute_reverse): New.
3894 (record_btrace_open): Fail in non-stop mode.
3895 (record_btrace_set_replay): Split into this, ...
3896 (record_btrace_stop_replaying): ... this, ...
3897 (record_btrace_clear_histories): ... and this.
3898 (init_record_btrace_ops): Init to_can_execute_reverse.
3899 * NEWS: Announce it.
3901 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3903 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3904 (forward_target_decr_pc_after_break)
3905 (target_decr_pc_after_break): New.
3906 * target.c (forward_target_decr_pc_after_break)
3907 (target_decr_pc_after_break): New.
3908 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3909 instead of gdbarch_decr_pc_after_break.
3910 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3911 instead of gdbarch_decr_pc_after_break.
3912 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3913 instead of gdbarch_decr_pc_after_break.
3914 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3915 instead of gdbarch_decr_pc_after_break.
3916 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3917 instead of gdbarch_decr_pc_after_break.
3918 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3919 instead of gdbarch_decr_pc_after_break.
3921 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3923 * btrace.c: Include regcache.h.
3924 (btrace_add_pc): New.
3925 (btrace_enable): Call btrace_add_pc.
3926 (btrace_is_empty): New.
3927 * btrace.h (btrace_is_empty): New.
3928 * record-btrace.c (require_btrace, record_btrace_info): Call
3931 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3933 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3934 Support delta reads.
3935 (linux_disable_btrace): Change return type.
3936 * common/linux-btrace.h (linux_read_btrace): Change parameters
3937 and return type to allow error reporting. Update users.
3938 (linux_disable_btrace): Change return type. Update users.
3939 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3941 (btrace_error): New.
3942 (btrace_block) <begin>: Comment on BEGIN == 0.
3943 * btrace.c (btrace_compute_ftrace): Start from the end of
3945 (btrace_stitch_trace, btrace_clear_history): New.
3946 (btrace_fetch): Read delta trace, return if replaying.
3947 (btrace_clear): Move clear history code to btrace_clear_history.
3948 (parse_xml_btrace): Throw an error if parsing failed.
3949 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3950 and return type to allow error reporting.
3951 (target_read_btrace): Change parameters and return type to allow
3953 * target.c (target_read_btrace): Update.
3954 * remote.c (remote_read_btrace): Support delta reads. Pass
3956 * NEWS: Announce it.
3958 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3960 * record.h (record_btrace_frame_unwind)
3961 (record_btrace_tailcall_frame_unwind): New declarations.
3962 * dwarf2-frame: Include record.h
3963 (dwarf2_frame_cfa): Throw an error for btrace frames.
3964 * record-btrace.c: Include hashtab.h.
3965 (btrace_get_bfun_name): New.
3966 (btrace_call_history): Call btrace_get_bfun_name.
3967 (struct btrace_frame_cache): New.
3969 (bfcache_hash, bfcache_eq, bfcache_new): New.
3970 (btrace_get_frame_function): New.
3971 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3972 (record_btrace_frame_this_id): Compute own id.
3973 (record_btrace_frame_prev_register): Provide PC, throw_error
3974 for all other registers.
3975 (record_btrace_frame_sniffer): Detect btrace frames.
3976 (record_btrace_tailcall_frame_sniffer): New.
3977 (record_btrace_frame_dealloc_cache): New.
3978 (record_btrace_frame_unwind): Add new functions.
3979 (record_btrace_tailcall_frame_unwind): New.
3980 (_initialize_record_btrace): Allocate cache.
3981 * btrace.c (btrace_clear): Call reinit_frame_cache.
3982 * NEWS: Announce it.
3984 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3986 * record-btrace.c (record_btrace_set_replay)
3987 (record_btrace_goto_begin, record_btrace_goto_end)
3988 (record_btrace_goto): New.
3989 (init_record_btrace_ops): Initialize them.
3990 * NEWS: Announce it.
3992 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3994 * record-btrace.c (record_btrace_find_new_threads)
3995 (record_btrace_thread_alive): New.
3996 (init_record_btrace_ops): Initialize to_find_new_threads and
3999 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4001 * record-btrace.c (record_btrace_resume): New.
4002 (record_btrace_wait): New.
4003 (init_record_btrace_ops): Initialize to_wait and to_resume.
4005 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4007 * record-btrace.c (record_btrace_xfer_partial)
4008 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
4009 (record_btrace_allow_memory_access): New.
4010 (init_record_btrace_ops): Initialize new methods.
4011 * target.c (raw_memory_xfer_partial): Bail out if target reports
4012 that this memory is not available.
4014 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4016 * target.h (target_ops) <to_insert_breakpoint>
4017 <to_remove_breakpoint>: Add target_ops parameter.
4018 (forward_target_insert_breakpoint): New.
4019 (forward_target_remove_breakpoint): New.
4020 (memory_remove_breakpoint, memory_insert_breakpoint):
4021 Add target_ops parameter.
4022 * target.c (target_insert_breakpoint): Split into this and ...
4023 (forward_target_insert_breakpoint): ... this.
4024 (target_remove_breakpoint): Split into this and ...
4025 (forward_target_remove_breakpoint): ... this.
4026 (debug_to_insert_breakpoint): Add target_ops parameter.
4027 Call forward_target_insert_breakpoint.
4028 (debug_to_remove_breakpoint): Add target_ops parameter.
4029 Call forward_target_remove_breakpoint.
4030 (update_current_target): Do not inherit or default to_insert_breakpoint
4031 and to_remove_breakpoint.
4032 * corelow.c (ignore): Add target_ops parameter.
4033 * exec.c (ignore): Add target_ops parameter.
4034 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
4035 Add target_ops parameter.
4036 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
4037 Add target_ops parameter.
4038 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
4039 Add target_ops parameter.
4040 * record-full.c (record_full_beneath_to_insert_breakpoint)
4041 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
4042 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
4043 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
4044 (record_full_core_remove_breakpoint): Add target_ops parameter.
4046 (record_full_beneath_to_insert_breakpoint_ops)
4047 (record_full_beneath_to_remove_breakpoint_ops)
4048 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
4049 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
4050 tmp_to_remove_breakpoint_ops,
4051 record_full_beneath_to_insert_breakpoint_ops, and
4052 record_full_beneath_to_remove_breakpoint_ops.
4053 * remote-m32r-sdi.c (m32r_insert_breakpoint)
4054 (m32r_remove_breakpoint): Add target_ops parameter.
4055 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
4056 Add target_ops parameter.
4057 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
4058 Add target_ops parameter.
4060 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4061 Markus Metzger <markus.t.metzger@intel.com>
4063 * record-btrace.c: Include frame-unwind.h.
4064 (record_btrace_frame_unwind_stop_reason)
4065 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
4066 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
4068 (init_record_btrace_ops): Install it.
4070 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4072 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
4075 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4077 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
4080 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4082 * frame-unwind.c: Include target.h.
4083 (frame_unwind_try_unwinder): New function with code from ...
4084 (frame_unwind_find_by_frame): ... here. New variable
4085 unwinder_from_target, call also target_get_unwinder)
4086 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
4087 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
4088 * target.h (struct target_ops): New fields to_get_unwinder and
4089 to_get_tailcall_unwinder.
4090 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
4092 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4094 * record-btrace.c (record_btrace_fetch_registers)
4095 (record_btrace_store_registers)
4096 (record_btrace_to_prepare_to_store): New.
4097 (init_record_btrace_ops): Add the above.
4099 2014-01-16 Tom Tromey <tromey@redhat.com>
4101 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
4102 * target.h (struct target_ops) <to_prepare_to_store>: Add
4104 (target_prepare_to_store): Add argument.
4105 * target.c (debug_to_prepare_to_store): Add argument.
4106 (update_current_target): Update.
4107 * remote.c (remote_prepare_to_store): Add 'self' argument.
4108 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
4109 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
4110 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
4111 * record-full.c (record_full_core_prepare_to_store): Add 'self'
4113 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
4114 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
4115 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
4116 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
4117 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
4119 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4121 * btrace.h (replay) <replay>: New.
4122 (btrace_is_replaying): New.
4123 * btrace.c (btrace_clear): Free replay iterator.
4124 (btrace_is_replaying): New.
4125 * record-btrace.c (record_btrace_is_replaying): New.
4126 (record_btrace_info): Print insn number if replaying.
4127 (record_btrace_insn_history): Start at replay position.
4128 (record_btrace_call_history): Start at replay position.
4129 (init_record_btrace_ops): Init to_record_is_replaying.
4131 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4133 * record-btrace.c (record_btrace_insn_history_range): Include
4135 (record_btrace_insn_history_from): Adjust range.
4136 (record_btrace_call_history_range): Include
4138 (record_btrace_call_history_from): Adjust range.
4139 * NEWS: Announce changes.
4141 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4143 * record.h (enum record_print_flag)
4144 <record_print_indent_calls>: New.
4145 * record.c (get_call_history_modifiers): Recognize /c modifier.
4146 (_initialize_record): Document /c modifier.
4147 * record-btrace.c (btrace_call_history): Add btinfo parameter.
4148 Reorder fields. Optionally indent the function name. Update
4150 * NEWS: Announce changes.
4152 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4154 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
4156 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4158 * btrace.c (ftrace_new_function): Start counting at one.
4159 * record-btrace.c (record_btrace_info): Adjust number of calls
4161 * NEWS: Announce it.
4163 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4165 * record-btrace.c (btrace_call_history_insn_range): Print
4166 insn range as [begin, end].
4168 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4170 * btrace.h (struct btrace_func_link): New.
4171 (enum btrace_function_flag): New.
4172 (struct btrace_inst): Rename to ...
4173 (struct btrace_insn): ...this. Update all users.
4174 (struct btrace_func) <ibegin, iend>: Remove.
4175 (struct btrace_func_link): New.
4176 (struct btrace_func): Rename to ...
4177 (struct btrace_function): ...this. Update all users.
4178 (struct btrace_function) <segment, flow, up, insn, insn_offset)
4179 (number, level, flags>: New.
4180 (struct btrace_insn_iterator): Rename to ...
4181 (struct btrace_insn_history): ...this.
4183 (struct btrace_insn_iterator, btrace_call_iterator): New.
4184 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
4185 (struct btrace_target_info) <begin, end, level>
4186 <insn_history, call_history>: New.
4187 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4188 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4189 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4190 (btrace_call_number, btrace_call_begin, btrace_call_end)
4191 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4192 (btrace_find_function_by_number, btrace_set_insn_history)
4193 (btrace_set_call_history): New.
4194 * btrace.c (btrace_init_insn_iterator)
4195 (btrace_init_func_iterator, compute_itrace): Remove.
4196 (ftrace_print_function_name, ftrace_print_filename)
4197 (ftrace_skip_file): Change
4199 (ftrace_init_func): Remove.
4200 (ftrace_debug): Use new btrace_function fields.
4201 (ftrace_function_switched): Also consider gaining and
4202 losing symbol information).
4203 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
4204 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
4205 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
4207 (ftrace_new_function): Move. Remove debug print.
4208 (ftrace_update_lines, ftrace_update_insns): New.
4209 (ftrace_update_function): Check for call, ret, and jump.
4210 (compute_ftrace): Renamed to ...
4211 (btrace_compute_ftrace): ...this. Rewritten to compute call
4213 (btrace_fetch, btrace_clear): Updated.
4214 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4215 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4216 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4217 (btrace_call_number, btrace_call_begin, btrace_call_end)
4218 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4219 (btrace_find_function_by_number, btrace_set_insn_history)
4220 (btrace_set_call_history): New.
4221 * record-btrace.c (require_btrace): Use new btrace thread
4223 (record_btrace_info, btrace_insn_history)
4224 (record_btrace_insn_history, record_btrace_insn_history_range):
4225 Use new btrace thread info fields and new iterator.
4226 (btrace_func_history_src_line): Rename to ...
4227 (btrace_call_history_src_line): ...this. Use new btrace
4229 (btrace_func_history): Rename to ...
4230 (btrace_call_history): ...this. Use new btrace thread info
4231 fields and new iterator.
4232 (record_btrace_call_history, record_btrace_call_history_range):
4233 Use new btrace thread info fields and new iterator.
4235 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4237 * frame.h (frame_id_build_unavailable_stack_special): New.
4238 * frame.c (frame_id_build_unavailable_stack_special): New.
4240 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4242 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
4243 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
4244 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
4246 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
4247 (i386_insn_is_jump, i386_jmp_p): New.
4248 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
4249 insn_is_jump to gdbarch.
4250 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
4251 * gdbarch.h: Regenerated.
4252 * gdbarch.c: Regenerated.
4253 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
4254 (default_insn_is_jump): New.
4255 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
4256 (default_insn_is_jump): New.
4258 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4260 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
4262 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
4263 (btrace_read_type) <btrace_read_new>: Change to ...
4264 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
4266 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4268 * common/linux-btrace.c (linux_read_btrace): Free trace from
4271 2014-01-15 Doug Evans <dje@google.com>
4273 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
4276 2014-01-15 Tom Tromey <tromey@redhat.com>
4278 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
4279 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
4280 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
4281 (set_objfile_main_name): New function.
4282 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
4283 language_of_main>: New fields.
4284 (set_objfile_main_name): Declare.
4285 * symtab.c (find_main_name): Loop over objfiles to find the main
4287 (set_main_name): Now static.
4288 (get_main_info): Add comment.
4289 * symtab.h (set_main_name): Don't declare.
4291 2014-01-15 Tom Tromey <tromey@redhat.com>
4293 * symtab.c (main_progspace_key): New global.
4294 (struct main_info): New.
4295 (name_of_main, language_of_main): Remove.
4296 (get_main_info, main_info_cleanup): New function.
4297 (set_main_name, main_name, main_language): Use get_main_info.
4298 (_initialize_symtab): Initialize main_progspace_key.
4300 2014-01-15 Tom Tromey <tromey@redhat.com>
4302 * dbxread.c (process_one_symbol): Update.
4303 * dwarf2read.c (read_partial_die): Update.
4304 * symfile.c (set_initial_language): Call main_language.
4305 * symtab.c (language_of_main): Now static.
4306 (set_main_name): Add 'lang' parameter.
4307 (find_main_name): Update.
4308 (main_language): New function.
4309 (symtab_observer_executable_changed): Update.
4310 * symtab.h (set_main_name): Update.
4311 (language_of_main): Remove.
4312 (main_language): Declare.
4314 2014-01-15 Tom Tromey <tromey@redhat.com>
4316 * symfile.c (init_entry_point_info): Use new "initialized" field.
4318 * objfiles.h (struct entry_point) <initialized>: New field.
4319 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
4320 (struct objfile) <ei>: ...here. Remove.
4321 * objfiles.c (entry_point_address_query): Update.
4323 2014-01-15 Tom Tromey <tromey@redhat.com>
4325 * objfiles.c (entry_point_address_query): Relocate entry point
4327 (objfile_relocate1): Do not relocate entry point address.
4328 * objfiles.h (struct entry_info) <entry_point>: Update comment.
4329 <the_bfd_section_index>: New field.
4330 * symfile.c (init_entry_point_info): Find the entry point's
4333 2014-01-15 Tom Tromey <tromey@redhat.com>
4335 * solib-frv.c (enable_break): Use entry_point_address_query.
4337 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4339 * NEWS: Add note on improved process record-replay on
4340 arm*-linux* targets.
4342 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4344 * arm-tdep.c (enum arm_record_result): New enum.
4345 (arm_record_unsupported_insn): New function.
4346 (arm_record_coproc_data_proc): Removed.
4347 (thumb2_record_ld_st_multiple): New function.
4348 (thumb2_record_ld_st_dual_ex_tbb): New function.
4349 (thumb2_record_data_proc_sreg_mimm): New function.
4350 (thumb2_record_ps_dest_generic): New function.
4351 (thumb2_record_branch_misc_cntrl): New function.
4352 (thumb2_record_str_single_data): New function.
4353 (thumb2_record_ld_mem_hints): New function.
4354 (thumb2_record_ld_word): New function.
4355 (thumb2_record_lmul_lmla_div): New function.
4356 (thumb2_record_decode_insn_handler): New function.
4357 (decode_insn): Add thumb32 instruction handlers.
4359 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4361 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
4362 (struct arm_linux_record_tdep): Declare.
4363 (arm_canonicalize_syscall): New function.
4364 (arm_all_but_pc_registers_record): New function.
4365 (arm_linux_syscall_record): New function.
4366 (arm_linux_init_abi): Add syscall recording constructs.
4367 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
4368 decoding. (arm_record_coproc_data_proc): Update arm syscall
4370 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
4371 <arm_syscall_record>: New field.
4372 * configure.tgt (arm*-*-linux*): Add linux-record.o to
4375 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4377 * arm-tdep.c (thumb_record_misc): Update to use sp as base
4378 register for push instruction recording.
4380 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4382 * arm-tdep.c (thumb_record_misc): Update to correct logical
4383 error while recording ldm, ldmia and pop instructions.
4385 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4387 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
4389 2014-01-15 Pedro Alves <palves@redhat.com>
4391 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
4392 (go32_resume, go32_fetch_registers, store_register)
4393 (go32_store_registers, go32_prepare_to_store)
4394 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
4395 (go32_create_inferior, go32_can_run, go32_terminal_init)
4396 (go32_terminal_inferior, go32_terminal_ours): Delete forward
4399 2014-01-15 Tom Tromey <tromey@redhat.com>
4401 * target.h (async_callback_ftype): New typedef.
4402 (struct target_ops) <to_async>: Use it.
4404 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4406 * python/py-value.c (get_field_type): Remove unnecessary curly
4407 braces for single-statement if block.
4409 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4411 * python/py-type.c (convert_field): Add missing empty line
4414 2014-01-14 Doug Evans <dje@google.com>
4416 * symfile.h (expand_symtabs_matching): Renamed from
4417 expand_partial_symbol_names. Update prototype.
4418 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4419 * symfile.c (expand_symtabs_matching): Renamed from
4420 expand_partial_symbol_names. New args file_matcher, kind.
4421 Rename arg fun to symbol_matcher.
4422 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4423 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
4424 ada_expand_partial_symbol_name.
4425 (ada_make_symbol_completion_list): Update to call
4426 expand_symtabs_matching.
4427 (ada_add_global_exceptions): Call expand_symtabs_matching.
4428 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
4429 call map_symbol_filenames.
4430 * symtab.c (sources_info): Update to call map_symbol_filenames.
4431 (search_symbols): Call expand_symtabs_matching.
4432 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
4433 (default_make_symbol_completion_list_break_on): Update to call
4434 expand_symtabs_matching.
4435 (make_source_files_completion_list): Update to call
4436 map_symbol_filenames.
4438 2014-01-14 Doug Evans <dje@google.com>
4440 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
4441 (expand_symtabs_symbol_matcher_ftype): New typedef.
4442 (quick_symbol_functions.expand_symtabs_matching): Update to use.
4443 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4444 * symfile.c (expand_partial_symbol_names): Update to use
4445 expand_symtabs_symbol_matcher_ftype.
4446 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
4447 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4448 Arg name_matcher renamed to symbol_matcher.
4449 * psymtab.c (recursively_search_psymtabs): Update to use
4450 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
4452 (expand_symtabs_matching_via_partial): Update to use
4453 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4454 Arg name_matcher renamed to symbol_matcher.
4456 2014-01-14 Doug Evans <dje@google.com>
4458 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
4459 (map_partial_symbol_filenames): Ditto.
4460 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
4461 (map_partial_symbol_filenames): Ditto.
4462 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
4463 (map_partial_symbol_filenames): Ditto.
4464 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
4465 (map_partial_symbol_filenames): Ditto.
4466 * symtab.c: Delete #include "psymtab.h".
4468 2014-01-14 Pedro Alves <palves@redhat.com>
4469 Tom Tromey <tromey@redhat.com>
4471 * infrun.c (use_displaced_stepping): Use find_record_target
4472 instead of RECORD_IS_USED.
4473 (adjust_pc_after_break): Use record_full_is_used instead of
4475 * record-btrace.c (record_btrace_open): Call record_preopen
4476 instead of checking RECORD_IS_USED.
4477 * record-full.c (record_full_shortname)
4478 (record_full_core_shortname): New globals.
4479 (record_full_is_used): New function.
4480 (find_full_open): Call record_preopen instead of checking
4482 (init_record_full_ops): Set the target's shortname to
4483 record_full_shortname.
4484 (init_record_full_core_ops): Set the target's shortname to
4485 record_full_core_shortname.
4486 * record-full.h (record_full_is_used): Declare.
4487 * record.c (find_record_target): Make extern.
4488 (record_preopen): New function.
4489 * record.h (RECORD_IS_USED): Delete macro.
4490 (find_record_target, record_preopen): Declare functions.
4492 2014-01-14 Yao Qi <yao@codesourcery.com>
4494 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
4495 'len''s type to ULONGEST.
4496 (core_xfer_shared_libraries_aix): Likewise.
4497 * gdbarch.c, gdbarch.h: Regenerated.
4498 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
4499 Change type of 'len' to ULONGEST.
4500 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4501 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
4503 2014-01-14 Yao Qi <yao@codesourcery.com>
4505 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
4506 type of 'len' to ULONGEST.
4507 (linux_xfer_osdata_processgroups): Likewise.
4508 (linux_xfer_osdata_threads): Likewise.
4509 (linux_xfer_osdata_fds): Likewise.
4510 (linux_xfer_osdata_isockets): Likewise.
4511 (linux_xfer_osdata_shm): Likewise.
4512 (linux_xfer_osdata_sem): Likewise.
4513 (linux_xfer_osdata_msg): Likewise.
4514 (linux_common_xfer_osdata): Likewise.
4515 (struct osdata_type) <getter>: Likewise.
4516 * common/linux-osdata.h (linux_common_xfer_osdata): Update
4519 2014-01-14 Yao Qi <yao@codesourcery.com>
4521 * target.h (target_xfer_partial_ftype): Update.
4522 (struct target_ops) <to_xfer_partial>: Change 'len' type to
4524 * aix-thread.c (aix_thread_xfer_partial): Change type of
4525 argument 'len' to ULONGEST.
4526 * auxv.c (procfs_xfer_auxv): Likewise.
4527 (ld_so_xfer_auxv): Likewise.
4528 (memory_xfer_auxv): Likewise.
4529 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4530 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4531 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4532 * corelow.c (core_xfer_partial): Likewise.
4533 * ctf.c (ctf_xfer_partial): Likewise.
4534 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
4536 (darwin_read_dyld_info): Likewise.
4537 (darwin_xfer_partial): Likewise.
4538 * exec.c (section_table_xfer_memory_partial): Likewise.
4539 (exec_xfer_partial): Likewise.
4540 * exec.h (section_table_xfer_memory_partial): Update
4542 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
4543 instead of plongest.
4544 (gnu_xfer_partial): Likewise.
4545 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
4546 (ia64_hpux_xfer_solib_got): Likewise.
4547 (ia64_hpux_xfer_partial): Likewise.
4548 * ia64-linux-nat.c (ia64_linux_xfer_partial):
4549 * inf-ptrace.c (inf_ptrace_xfer_partial):
4550 * inf-ttrace.c (inf_ttrace_xfer_partial):
4551 * linux-nat.c (linux_xfer_siginfo): Likewise.
4552 (linux_nat_xfer_partial): Likewise.
4553 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
4554 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
4555 * monitor.c (monitor_xfer_memory): Likewise.
4556 (monitor_xfer_partial): Likewise.
4557 * procfs.c (procfs_xfer_partial): Likewise.
4558 * record-full.c (record_full_xfer_partial): Likewise.
4559 (record_full_core_xfer_partial): Likewise.
4560 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
4561 instead of plongest.
4562 (gdbsim_xfer_partial): Likewise.
4563 * remote.c (remote_xfer_partial): Likewise.
4564 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4565 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4567 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4568 (rs6000_xfer_shared_libraries): Likewise.
4569 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4570 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4571 (sparc_xfer_partial): Likewise.
4572 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4573 (spu_xfer_partial): Likewise.
4574 * spu-multiarch.c (spu_xfer_partial): Likewise.
4575 * target.c (target_read_live_memory): Likewise.
4576 (memory_xfer_live_readonly_partial): Likewise.
4577 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
4578 (target_xfer_partial, default_xfer_partial): Likewise.
4579 (current_xfer_partial): Likewise.
4580 * tracepoint.c (tfile_xfer_partial): Likewise.
4581 * windows-nat.c (windows_xfer_memory): Likewise. Call
4582 pulongest instead of plongest.
4583 (windows_xfer_partial): Likewise.
4584 (windows_xfer_shared_libraries): Likewise.
4586 2014-01-14 Yao Qi <yao@codesourcery.com>
4588 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
4589 target_xfer_partial_ftype.
4591 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4595 * valops.c (value_struct_elt_bitpos): New function
4596 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
4597 object to 'None' if the field name is an empty string ("").
4598 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
4599 attribute to look for a field when 'name' is 'None'.
4600 (get_field_type): New function
4602 2014-01-13 Doug Evans <dje@google.com>
4605 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
4606 (try_open_dwop_file): Ditto.
4607 * gdb_bfd.c: #include "vec.h".
4608 (bfdp): New typedef.
4609 (struct gdb_bfd_data): New member included_bfds.
4610 (gdb_bfd_unref): Unref all included bfds.
4611 (gdb_bfd_record_inclusion): New function.
4612 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
4614 2014-01-13 Tom Tromey <tromey@redhat.com>
4616 * gdbcore.h (deprecated_core_resize_section_table): Remove.
4618 2014-01-13 Tom Tromey <tromey@redhat.com>
4620 * defs.h (use_windows): Remove.
4621 * gdb.c (main): Update.
4622 * main.c (captured_main, gdb_main): Update.
4623 * main.h (struct captured_main_args) <use_windows>: Remove.
4624 * top.c (use_windows): Remove.
4626 2014-01-13 Tom Tromey <tromey@redhat.com>
4628 * defs.h (deprecated_flush_hook): Remove.
4630 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4633 * linux-thread-db.c (try_thread_db_load): Add parameter
4634 check_auto_load_safe. Move here the file_is_auto_load_safe call.
4635 (try_thread_db_load_from_pdir_1): Move it there from here.
4636 (try_thread_db_load_from_sdir): Update caller.
4637 (try_thread_db_load_from_dir): Move it there from here.
4639 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
4641 * regformats/regdat.sh: Always rewrite the register file.
4643 2014-01-13 Pedro Alves <palves@redhat.com>
4645 * Makefile.in (CHECK_HEADERS): New variable.
4646 (check-headers:): New rule.
4648 2014-01-13 Tom Tromey <tromey@redhat.com>
4650 * cli/cli-setshow.c (do_set_command): Update.
4651 * defs.h (deprecated_set_hook): Remove.
4652 * top.c (deprecated_set_hook): Remove.
4654 2014-01-13 Pedro Alves <palves@redhat.com>
4656 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
4657 the tracepoint if the PC is a pseudo-register.
4659 2014-01-13 Tom Tromey <tromey@redhat.com>
4661 * defs.h (XCALLOC): Remove.
4662 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
4663 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
4664 * dwarf2loc.c (allocate_piece_closure): Likewise.
4665 * elfread.c (elf_symfile_segments): Likewise.
4666 (elf_symfile_segments): Likewise.
4667 * gdbtypes.c (copy_type_recursive): Likewise.
4668 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
4669 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
4670 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
4672 * mt-tdep.c (mt_gdbarch_init): Likewise.
4673 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
4675 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
4676 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
4677 * registry.c (registry_alloc_data): Likewise.
4678 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
4679 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
4680 * serial.c (serial_fdopen_ops): Likewise.
4681 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
4683 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
4684 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
4687 2014-01-13 Tom Tromey <tromey@redhat.com>
4689 * defs.h (XMALLOC): Remove.
4690 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
4691 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
4692 * cli-out.c (struct ui_out *): Likewise.
4693 * cli/cli-dump.c (add_dump_command): Likewise.
4694 (add_dump_command): Likewise.
4695 * complaints.c (get_complaints): Likewise.
4696 (find_complaint): Likewise.
4697 * dwarf2-frame.c (execute_cfa_program): Likewise.
4698 * dwarf2read.c (abbrev_table_read_table): Likewise.
4699 * gdbarch.sh: Likewise.
4700 * gdbarch.c: Rebuild.
4701 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
4702 * interps.c (interp_new): Likewise.
4703 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
4704 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
4705 * mi/mi-console.c (mi_console_file_new): Likewise.
4706 * mi/mi-interp.c (mi_interpreter_init): Likewise.
4707 * mi/mi-out.c (mi_out_new): Likewise.
4708 * mi/mi-parse.c (mi_parse): Likewise.
4709 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
4710 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
4711 * observer.c (xalloc_observer_list_node): Likewise.
4712 * regcache.c (regcache_xmalloc_1): Likewise.
4713 * reggroups.c (reggroup_new): Likewise.
4714 (_initialize_reggroup): Likewise.
4715 * registry.c (register_data_with_cleanup): Likewise.
4716 * remote.c (remote_notif_stop_alloc_reply): Likewise.
4717 * ser-base.c (serial_ttystate): Likewise.
4718 * ser-mingw.c (make_pipe_state): Likewise.
4719 * ser-pipe.c (pipe_open): Likewise.
4720 * serial.c (serial_open): Likewise.
4721 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
4722 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
4723 (tui_alloc_win_info): Likewise.
4724 (tui_add_content_elements): Likewise.
4725 * tui/tui-file.c (tui_file_new): Likewise.
4726 * tui/tui-out.c (tui_out_new): Likewise.
4727 * ui-file.c (mem_file_new): Likewise.
4728 * ui-out.c (push_level): Likewise.
4729 (make_cleanup_ui_out_end): Likewise.
4730 (append_header_to_list): Likewise.
4731 (ui_out_new): Likewise.
4732 * user-regs.c (user_reg_add_builtin): Likewise.
4734 2014-01-13 Tom Tromey <tromey@redhat.com>
4736 * defs.h (XZALLOC): Remove.
4737 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
4738 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
4739 (get_ada_tasks_inferior_data): Likewise.
4740 * auto-load.c (get_auto_load_pspace_data): Likewise.
4741 * auxv.c (get_auxv_inferior_data): Likewise.
4742 * bfd-target.c (target_bfd_reopen): Likewise.
4743 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
4744 (deprecated_insert_raw_breakpoint): Likewise.
4745 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
4746 * corelow.c (core_open): Likewise.
4747 * darwin-nat.c (darwin_check_new_threads): Likewise.
4748 (darwin_attach_pid): Likewise.
4749 * dummy-frame.c (dummy_frame_push): Likewise.
4750 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
4751 * dwarf2loc.c (allocate_piece_closure): Likewise.
4752 * elfread.c (elf_symfile_segments): Likewise.
4753 * eval.c (ptrmath_type_p): Likewise.
4754 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
4755 * gdbtypes.c (alloc_type_arch): Likewise.
4756 (alloc_type_instance): Likewise.
4757 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
4758 * inf-child.c (inf_child_can_use_agent): Likewise.
4759 * inflow.c (get_inflow_inferior_data): Likewise.
4760 * infrun.c (save_infcall_suspend_state): Likewise.
4761 * jit.c (jit_reader_load): Likewise.
4762 (get_jit_objfile_data): Likewise.
4763 (get_jit_program_space_data): Likewise.
4764 (jit_object_open_impl): Likewise.
4765 (jit_symtab_open_impl): Likewise.
4766 (jit_block_open_impl): Likewise.
4767 (jit_frame_sniffer): Likewise.
4768 * linux-fork.c (add_fork): Likewise.
4769 * maint.c (make_command_stats_cleanup): Likewise.
4770 * objfiles.c (get_objfile_pspace_data): Likewise.
4771 * opencl-lang.c (struct lval_closure): Likewise.
4772 * osdata.c (osdata_start_osdata): Likewise.
4773 * progspace.c (new_address_space): Likewise.
4774 (add_program_space): Likewise.
4775 * remote-sim.c (get_sim_inferior_data): Likewise.
4776 * sh-tdep.c (sh_gdbarch_init): Likewise.
4777 * skip.c (Ignore): Likewise.
4778 (skip_delete_command): Likewise.
4779 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4780 (library_list_start_library): Likewise.
4781 (solib_aix_current_sos): Likewise.
4782 * solib-darwin.c (get_darwin_info): Likewise.
4783 (darwin_current_sos): Likewise.
4784 * solib-dsbt.c (get_dsbt_info): Likewise.
4785 * solib-ia64-hpux.c (new_so_list): Likewise.
4786 (ia64_hpux_get_solib_linkage_addr): Likewise.
4787 * solib-spu.c (append_ocl_sos): Likewise.
4788 (spu_current_sos): Likewise.
4789 * solib-svr4.c (get_svr4_info): Likewise.
4790 (svr4_keep_data_in_core): Likewise.
4791 (library_list_start_library): Likewise.
4792 (svr4_default_sos): Likewise.
4793 (svr4_read_so_list): Likewise.
4794 * solib-target.c (library_list_start_library): Likewise.
4795 (solib_target_current_sos): Likewise.
4796 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4797 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4798 * symfile.c (default_symfile_segments): Likewise.
4799 * target-descriptions.c (tdesc_data_init): Likewise.
4800 (tdesc_create_reg): Likewise.
4801 (struct tdesc_type *): Likewise.
4802 (tdesc_create_vector): Likewise.
4803 (tdesc_set_struct_size): Likewise.
4804 (struct tdesc_type *): Likewise.
4805 (tdesc_free_feature): Likewise.
4806 (tdesc_create_feature): Likewise.
4807 * windows-nat.c (windows_add_thread): Likewise.
4808 (windows_make_so): Likewise.
4809 * xml-support.c (gdb_xml_body_text): Likewise.
4810 (gdb_xml_create_parser_and_cleanup): Likewise.
4811 (xml_process_xincludes): Likewise.
4812 * xml-syscall.c (allocate_syscalls_info): Likewise.
4813 (syscall_create_syscall_desc): Likewise.
4815 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4817 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4818 function, with code from i386_stap_parse_special_token.
4819 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4820 (i386_stap_parse_special_token): Move code to the two functions
4823 2014-01-09 Pedro Alves <palves@redhat.com>
4824 Hui Zhu <hui@codesourcery.com>
4827 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4828 bp_err_string. Don't mark the location shlib_disabled if the
4829 error thrown wasn't a generic or memory error. Catch errors
4830 thrown while inserting breakpoints in overlayed code. Output
4831 error message of software breakpoints.
4832 * remote.c (remote_insert_breakpoint): If this breakpoint has
4833 target-side commands but this stub doesn't support Z0 packets,
4834 throw NOT_SUPPORTED_ERROR error.
4835 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4836 * target.h (target_insert_breakpoint): Extend comment.
4837 (target_insert_hw_breakpoint): Add comment.
4839 2014-01-08 Pedro Alves <palves@redhat.com>
4841 * remote.c (remote_add_thread): Add threads silently if starting
4843 (remote_notice_new_inferior): If in all-stop, and starting up,
4844 don't call notice_new_inferior.
4845 (get_current_thread): New function, factored out from ...
4846 (add_current_inferior_and_thread): ... this. Adjust.
4847 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4848 found any thread, then select the remote's current thread as GDB's
4851 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4853 * NEWS: Create a new section for the next release branch.
4854 Rename the section of the current branch, now that it has
4857 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4859 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4860 * version.in: Bump version to 7.7.50.DATE-cvs.
4862 2014-01-08 Yao Qi <yao@codesourcery.com>
4864 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4865 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4866 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4868 2014-01-08 Yao Qi <yao@codesourcery.com>
4870 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4871 return value of bfd_get_filename to symbol_file_add_from_bfd.
4873 2014-01-08 Pierre Muller <muller@sourceware.org>
4876 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4877 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4878 to prim_record_mininal_symbol_and_info.
4879 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4880 in call to prim_record_minimal_symbol_and_info.
4881 (read_pe_exported_syms): Set index field of section_data.
4883 2014-01-07 Andrew Pinski <apinski@cavium.com>
4885 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4886 * features/aarch64.c: Regenerate.
4888 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4890 * target.c (return_null): Define.
4891 (update_current_target): Use it instead of return_zero for
4892 functions that return a pointer.
4894 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4896 * source.c (add_path): Fix check for duplicated paths in the previously
4899 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4901 * ada-lang.c: Remove duplicated include statements.
4902 * alphabsd-nat.c: Ditto.
4903 * amd64-darwin-tdep.c: Ditto.
4904 * amd64fbsd-nat.c: Ditto.
4905 * auto-load.c: Ditto.
4907 * breakpoint.c: Ditto.
4909 * fork-child.c: Ditto.
4910 * gdb_usleep.c: Ditto.
4911 * i386-darwin-tdep.c: Ditto.
4912 * i386fbsd-nat.c: Ditto.
4914 * inferior.c: Ditto.
4916 * linux-nat.c: Ditto.
4917 * linux-tdep.c: Ditto.
4918 * m68kbsd-nat.c: Ditto.
4919 * m68klinux-nat.c: Ditto.
4920 * microblaze-tdep.c: Ditto.
4921 * mips-linux-tdep.c: Ditto.
4922 * mn10300-tdep.c: Ditto.
4923 * nto-tdep.c: Ditto.
4924 * opencl-lang.c: Ditto.
4926 * printcmd.c: Ditto.
4927 * regcache.c: Ditto.
4928 * remote-m32r-sdi.c: Ditto.
4932 * tilegx-linux-nat.c: Ditto.
4933 * tilegx-tdep.c: Ditto.
4934 * tracepoint.c: Ditto.
4936 * vaxbsd-nat.c: Ditto.
4937 * windows-nat.c: Ditto.
4938 * xtensa-tdep.c: Ditto.
4940 2014-01-07 Yao Qi <yao@codesourcery.com>
4942 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4944 2014-01-07 Yao Qi <yao@codesourcery.com>
4945 Joel Brobecker <brobecker@adacore.com>
4947 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4948 (pdc_write_regs): Likewise.
4949 (fetch_regs_kernel_thread): Likewise.
4950 (store_regs_kernel_thread): Likewise.
4952 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4954 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4955 tagged type objects to their actual type.
4957 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4959 * ada-valprint.c (print_field_values): Add "language" parameter.
4960 Update calls to print_field_values and print_variant_part.
4961 Pass new parameter "language" in call to val_print instead
4962 of "current_language". Replace call to ada_val_print by call
4964 (print_variant_part): Add "language" parameter.
4965 (ada_val_print_struct_union): Update call to print_field_values.
4967 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4969 * ada-valprint.c (ui_memcpy): Delete.
4970 (ada_print_floating): Update documentation. Add empty line
4971 between between function documentation and implementation.
4972 Delete variable "buffer". Use ui_file_xstrdup in place of
4973 ui_file_put. Minor adjustments following this change.
4975 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4977 * ada-valprint.c (ada_val_print_string): New function,
4978 extracted from ada_val_print_array.
4979 (ada_val_print_array): Replace extracted code by call
4980 to ada_val_print_string followed by a return. Move
4981 "else" branch to the function's top block.
4983 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4985 * ada-valprint.c (ada_val_print_array): Move implementation
4986 down. Rename parameter "offset" and "val" into "offset_aligned"
4987 and "original_value" respectively. Add parameter "offset".
4989 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4991 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4992 re-organizing the code. Change the "???" message printed
4993 when target type is a TYPE_CODE_UNDEF into
4994 "<ref to undefined type>".
4996 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4998 * ada-valprint.c (print_record): Delete, implementation inlined...
4999 (ada_val_print_struct_union): ... here. Remove call to
5000 ada_check_typedef in inlined implementation.
5002 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5004 * ada-valprint.c (ada_val_print_gnat_array): New function,
5005 extracted from ada_val_print_1;
5006 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
5007 (ada_val_print_flt, ada_val_print_struct_union)
5008 (ada_val_print_ref): Likewise.
5009 (ada_val_print_1): Delete variables i and elttype.
5010 Replace extracted-out code by call to corresponding
5013 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5015 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
5017 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5019 * ada-valprint.c (ada_val_print_1): Replace calls to
5020 ada_val_print_1 by calls to val_print.
5022 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5024 * ada-valprint.c (ada_val_print_1): Add parameter "language".
5025 Update calls to self accordingly. Replace calls to c_val_print
5026 by calls to val_print.
5028 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5030 * ada-valprint.c (print_record): Delete declaration.
5031 (adjust_type_signedness, ada_val_print_1): Likewise.
5032 (ada_val_print): Move function implementation down.
5033 (print_variant_part, print_field_values, print_record):
5034 Move function implementation up.
5036 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5038 * python/py-type.c (typy_get_name): New function.
5039 (type_object_getset): Add entry for attribute "name".
5040 * NEWS: Add entry mentioning this new attribute.
5042 2014-01-07 Yao Qi <yao@codesourcery.com>
5044 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
5047 2014-01-07 Yao Qi <yao@codesourcery.com>
5049 * gnu-nat.c (info_port_rights): Add qualifier const to
5052 2014-01-07 Yao Qi <yao@codesourcery.com>
5054 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
5056 2014-01-07 Yao Qi <yao@codesourcery.com>
5058 * gnu-nat.c (make_inf) Update declaration.
5059 (make_inf): Make it static.
5060 (inf_set_traced): Likewise.
5061 (inf_port_to_thread, inf_task_died_status): Likewise.
5063 2014-01-07 Yao Qi <yao@codesourcery.com>
5065 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
5067 2014-01-07 Yao Qi <yao@codesourcery.com>
5069 * gnu-nat.c (_initialize_gnu_nat): Declare.
5071 2014-01-07 Yao Qi <yao@codesourcery.com>
5073 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
5075 (struct gdbarch_info) <byte_order>: Change type to
5077 <byte_order_for_code>: Likewise.
5078 * gdbarch.c, gdbarch.h: Regenerated.
5080 2014-01-06 Sasha Smundak <asmundak@google.com>
5082 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
5084 2014-01-06 Tom Tromey <tromey@redhat.com>
5086 * doublest.c (convert_doublest_to_floatformat): Use const, not
5088 * somread.c (som_symtab_read): Likewise.
5090 2014-01-07 Hui Zhu <hui@codesourcery.com>
5092 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
5093 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
5094 (gdb_bfd_fopen): Ditto.
5095 (gdb_bfd_openr): Ditto.
5096 (gdb_bfd_openw): Ditto.
5097 (gdb_bfd_openr_iovec): Ditto.
5098 (gdb_bfd_fdopenr): Ditto.
5099 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
5100 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
5102 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
5104 * symfile-mem.c (symbol_file_add_from_memory): Removed
5105 gdb_bfd_stash_filename.
5107 2014-01-03 Doug Evans <dje@google.com>
5109 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
5112 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5114 Update year range in copyright notice of all files.
5116 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5118 * top.c (print_gdb_version): Set copyright year to 2014.
5120 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5122 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
5124 For older changes see ChangeLog-2013.
5130 version-control: never