1 2014-02-24 Pedro Alves <palves@redhat.com>
3 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
4 deprecated_xfer_memory hook.
5 (procfs_xfer_partial): Call procfs_xfer_memory instead
6 of the deprecated_xfer_memory target hook.
7 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
10 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
12 * windows-nat.c (windows_xfer_shared_libraries): Return
13 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
14 requested object is TARGET_OBJECT_LIBRARIES.
16 2014-02-24 Yao Qi <yao@codesourcery.com>
18 * target.h (enum target_xfer_status)
19 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
20 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
22 * corefile.c (memory_error_message): User updated.
23 * exec.c (section_table_read_available_memory): Likewise.
24 * record-btrace.c (record_btrace_xfer_partial): Likewise.
25 * target.c (target_xfer_status_to_string): Likewise.
26 (raw_memory_xfer_partial): Likewise.
27 (memory_xfer_partial_1, target_xfer_partial): Likewise.
28 * valops.c (read_value_memory): Likewise.
29 * exec.h: Update comments.
31 2014-02-24 Yao Qi <yao@codesourcery.com>
33 * target.c (target_xfer_status_to_string): Rename argument err
35 * target.h (target_xfer_status_to_string): Update declaration.
36 Replace target_xfer_error_to_string with
37 target_xfer_status_to_string in comment.
39 2014-02-24 Yao Qi <yao@codesourcery.com>
41 * mips-linux-nat.c (super_close): Update its type.
42 (mips_linux_close): Pass 'self' to super_close.
44 2014-02-24 Yao Qi <yao@codesourcery.com>
46 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
47 * corefile.c (read_memory): Adjusted.
48 * target.c (target_write_with_progress): Adjusted.
50 2014-02-23 Yao Qi <yao@codesourcery.com>
54 2013-10-25 Yao Qi <yao@codesourcery.com>
56 * remote.c (remote_traceframe_info): Return early if
57 traceframe is not selected.
59 2013-07-19 Yao Qi <yao@codesourcery.com>
61 * target.c (update_current_target): Change the default action
62 of 'to_traceframe_info' from tcomplain to return_zero.
63 * target.h (struct target_ops) <to_traceframe_info>: Add more
66 2014-02-23 Yao Qi <yao@codesourcery.com>
68 * valops.c (read_value_memory): Rewrite it. Call
69 target_xfer_partial in a loop.
70 * exec.h (section_table_available_memory): Remove declaration.
72 * exec.c (section_table_available_memory): ... here. Make it
75 2014-02-23 Yao Qi <yao@codesourcery.com>
77 * exec.c (section_table_read_available_memory): New function.
78 * exec.h (section_table_read_available_memory): Declare.
79 * ctf.c (ctf_xfer_partial): Call
80 section_table_read_available_memory.
81 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
83 2014-02-23 Yao Qi <yao@codesourcery.com>
85 * ctf.c (ctf_xfer_partial): Move code to ...
86 * exec.c (exec_read_partial_read_only): ... it. New function.
87 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
88 * tracefile.c: Include "exec.h".
89 * exec.h (exec_read_partial_read_only): Declare.
91 2014-02-23 Yao Qi <yao@codesourcery.com>
93 * tracefile-tfile.c (tfile_has_all_memory): Remove.
94 (tfile_has_memory): Remove.
95 (init_tfile_ops): Don't set fields to_has_all_memory and
96 to_has_memory of tfile_ops.
97 * tracefile.c (tracefile_has_all_memory): New function.
98 (tracefile_has_memory): New function.
99 (init_tracefile_ops): Initialize fields to_has_all_memory and
100 to_has_memory of 'ops'.
102 2014-02-23 Yao Qi <yao@codesourcery.com>
104 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
105 (ctf_thread_alive, ctf_get_trace_status): Remove.
106 (init_ctf_ops): Don't set some fields of ctf_ops. Call
108 * tracefile-tfile.c (tfile_get_trace_status): Remove.
109 (tfile_has_stack, tfile_has_registers): Remove.
110 (tfile_thread_alive): Remove.
111 (init_tfile_ops): Don't set some fields of tfile_ops. Call
113 * tracefile.c (tracefile_has_stack): New function.
114 (tracefile_has_registers): New function.
115 (tracefile_thread_alive): New function.
116 (tracefile_get_trace_status): New function.
117 (init_tracefile_ops): New function.
118 * tracefile.h (init_tracefile_ops): Declare.
120 2014-02-23 Yao Qi <yao@codesourcery.com>
122 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
123 (O_LARGEFILE): Likewise.
124 (tfile_ops): Likewise.
125 (TRACE_HEADER_SIZE): Likewise.
126 (trace_fd, trace_frames_offset, cur_offset): Likewise.
127 (cur_data_size): Likewise.
128 (tfile_read, tfile_open, tfile_interp_line): Likewise.
129 (tfile_close, tfile_files_info): Likewise.
130 (tfile_get_trace_status): Likewise.
131 (tfile_get_tracepoint_status): Likewise.
132 (tfile_get_traceframe_address): Likewise.
133 (tfile_trace_find, match_blocktype): Likewise.
134 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
135 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
136 (tfile_get_trace_state_variable_value): Likewise.
137 (tfile_has_all_memory, tfile_has_memory): Likewise.
138 (tfile_has_stack, tfile_has_registers): Likewise.
139 (tfile_thread_alive, build_traceframe_info): Likewise.
140 (tfile_traceframe_info, init_tfile_ops): Likewise.
141 (_initialize_tracepoint): Don't call init_tfile_ops
142 and add_target_with_completer.
143 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
144 exec.h, completer.h and filenames.h.
145 (_initialize_tracefile_tfile): New function.
147 2014-02-23 Yao Qi <yao@codesourcery.com>
149 * Makefile.in (REMOTE_OBS): Append tracefile.o and
151 (HFILES_NO_SRCDIR): Add tracefile.h.
152 * ctf.c: Include "tracefile.h".
153 * tracefile.h: New file.
154 * tracefile.c: New file
155 * tracefile-tfile.c: New file.
156 * tracepoint.c: Include "tracefile.h".
157 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
158 (stop_reason_names): Add const.
159 (trace_file_writer_xfree): Move it to tracefile.c.
160 (trace_save, trace_save_command, trace_save_tfile): Likewise.
161 (trace_save_ctf): Likewise.
162 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
163 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
164 (tfile_write_header, tfile_write_regblock_type): Likewise.
165 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
166 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
167 (tfile_write_raw_data, tfile_end): Likewise.
168 (tfile_trace_file_writer_new): Likewise.
169 (free_uploaded_tp): Make it extern.
170 (free_uploaded_tsv): Make it extern.
171 (_initialize_tracepoint): Move code to register command 'tsave'
173 * tracepoint.h (stop_reason_names): Declare.
174 (struct trace_frame_write_ops): Move it to tracefile.h.
175 (struct trace_file_write_ops): Likewise.
176 (struct trace_file_writer): Likewise.
177 (free_uploaded_tsvs, free_uploaded_tps): Declare.
179 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
182 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
184 (get_cores_used_by_process): New parameter num_cores, use it.
185 (linux_xfer_osdata_processes): Pass num_cores to it.
186 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
189 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
191 * target.c (memory_xfer_partial): Fix length arg in call to
192 breakpoint_xfer_memory.
194 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
197 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
198 number comes after the + or - signs. Adjust length of register
199 name to be extracted.
201 2014-02-20 Tom Tromey <tromey@redhat.com>
203 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
204 (ada_varobj_ops): Mark "extern".
206 2014-02-20 Tom Tromey <tromey@redhat.com>
208 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
210 2014-02-20 Doug Evans <xdje42@gmail.com>
212 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
214 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
216 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
217 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
219 2014-02-20 lin zuojian <manjian2006@gmail.com>
220 Joel Brobecker <brobecker@adacore.com>
221 Doug Evans <xdje42@gmail.com>
224 * dwarf2read.c (struct die_info): New member in_process.
225 (reset_die_in_process): New function.
226 (process_die): Set it at the start, reset when returning.
227 (inherit_abstract_dies): Only call process_die if origin_child_die
228 not already being processed.
230 2014-02-20 Joel Brobecker <brobecker@adacore.com>
232 * windows-nat.c (handle_unload_dll): Add function documentation.
233 (do_initial_windows_stuff): Add comment explaining why we wait
234 until after inferior initialization has finished before
237 2014-02-20 Joel Brobecker <brobecker@adacore.com>
239 * windows-nat.c (get_module_name): Delete.
240 (windows_get_exec_module_filename): New function, mostly
241 inspired from get_module_name.
242 (windows_pid_to_exec_file): Replace call to get_module_name
243 by call to windows_get_exec_module_filename.
245 2014-02-20 Joel Brobecker <brobecker@adacore.com>
247 * windows-nat.c (handle_load_dll): Rewrite this function's
248 introductory comment. Remove code using get_module_name
249 to get the DLL's name.
251 2014-02-20 Joel Brobecker <brobecker@adacore.com>
253 * windows-nat.c (get_windows_debug_event): Ignore
254 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
255 if windows_initialization_done == 0.
256 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
257 Adjust implementation to always load all DLLs.
258 (do_initial_windows_stuff): Replace call to
259 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
261 2014-02-20 Joel Brobecker <brobecker@adacore.com>
263 * windows-nat.c (_initialize_windows_nat): Deprecate the
264 "dll-symbols" command. Turn the "add-shared-symbol-files"
265 and "assf" aliases into commands, and deprecate them as well.
266 * NEWS: Add entry explaining that "dll-symbols" and its two
267 aliases are now deprecated.
269 2014-02-20 Joel Brobecker <brobecker@adacore.com>
271 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
272 new-line in debug string. Remove trailing spaces.
274 2014-02-19 Stan Shebs <stan@codesourcery.com>
276 * darwin-nat.c (darwin_xfer_partial): Fix return type.
278 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
280 * NEWS: Add entry for the new feature
281 * python/py-value.c (valpy_binop): Call value_x_binop for struct
284 2014-02-19 Stan Shebs <stan@codesourcery.com>
286 * MAINTAINERS: List Yao Qi as nios2 maintainer.
288 2014-02-19 Pedro Alves <palves@redhat.com>
290 * common/ptid.h (struct ptid): Mention that process_stratum
291 targets should prefer ptid.lwp.
293 2014-02-19 Pedro Alves <palves@redhat.com>
295 * remote.c (remote_thread_alive, write_ptid, read_ptid)
296 (read_ptid, remote_newthread_step, remote_threads_extra_info)
297 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
298 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
299 store remote thread ids rather than ptid.tid.
300 (_initialize_remote): Adjust.
302 2014-02-19 Tom Tromey <tromey@redhat.com>
304 * target.c (target_get_unwinder): Rewrite.
305 (target_get_tailcall_unwinder): Rewrite.
306 * record-btrace.c (record_btrace_to_get_unwinder): New function.
307 (record_btrace_to_get_tailcall_unwinder): New function.
308 (init_record_btrace_ops): Update.
309 * target.h (struct target_ops) <to_get_unwinder,
310 to_get_tailcall_unwinder>: Now function pointers. Use
311 TARGET_DEFAULT_RETURN.
313 2014-02-19 Tom Tromey <tromey@redhat.com>
315 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
317 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
319 2014-02-19 Tom Tromey <tromey@redhat.com>
321 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
323 * target-delegates.c: Rebuild.
324 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
326 * target.c (default_target_decr_pc_after_break): Rename from
327 forward_target_decr_pc_after_break. Simplify.
328 (target_decr_pc_after_break): Rely on delegation.
330 2014-02-19 Tom Tromey <tromey@redhat.com>
332 * target.c (update_current_target): Do not INHERIT to_doc or
333 to_magic. Do not de_fault to_open or to_close.
335 2014-02-19 Tom Tromey <tromey@redhat.com>
337 * gcore.h (objfile_find_memory_regions): Declare.
338 * gcore.c (objfile_find_memory_regions): No longer static. Add
340 (_initialize_gcore): Don't call exec_set_find_memory_regions.
341 * exec.c: Include gcore.h.
342 (exec_set_find_memory_regions): Remove.
343 (exec_find_memory_regions): Remove.
344 (exec_do_find_memory_regions): Remove.
345 (init_exec_ops): Update.
346 * defs.h (exec_set_find_memory_regions): Remove.
348 2014-02-19 Tom Tromey <tromey@redhat.com>
350 * target-delegates.c: Rebuild.
351 * target.h (struct target_ops) <to_extra_thread_info,
352 to_thread_name, to_pid_to_exec_file, to_get_section_table,
353 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
354 not 0, in TARGET_DEFAULT_RETURN.
356 2014-02-19 Tom Tromey <tromey@redhat.com>
358 * target.c (complete_target_initialization): Remove casts. Use
359 return_zero_has_execution.
360 (return_zero): Add "ignore" argument.
361 (return_zero_has_execution): New function.
362 (init_dummy_target): Remove casts. Use
363 return_zero_has_execution.
365 2014-02-19 Tom Tromey <tromey@redhat.com>
367 * target.c (update_current_target): Update comments. Do not
370 2014-02-19 Tom Tromey <tromey@redhat.com>
372 * arm-linux-nat.c (arm_linux_read_description): Delegate when
374 * corelow.c (core_read_description): Delegate when needed.
375 * remote.c (remote_read_description): Delegate when needed.
376 * target-delegates.c: Rebuild.
377 * target.c (target_read_description): Rewrite.
378 * target.h (struct target_ops) <to_read_description>: Update
379 comment. Use TARGET_DEFAULT_RETURN.
381 2014-02-19 Tom Tromey <tromey@redhat.com>
383 * target-delegates.c: Rebuild.
384 * target.c (update_current_target): Don't inherit or default
386 (find_default_run_target): Check against delegate_can_run.
387 * target.h (struct target_ops) <to_can_run>: Use
388 TARGET_DEFAULT_RETURN.
390 2014-02-19 Tom Tromey <tromey@redhat.com>
392 * target-delegates.c: Rebuild.
393 * target.c (target_disconnect): Unconditionally delegate.
394 * target.h (struct target_ops) <to_disconnect>: Use
395 TARGET_DEFAULT_NORETURN.
397 2014-02-19 Tom Tromey <tromey@redhat.com>
399 * record.c (record_stop): Unconditionally delegate.
400 * target-delegates.c: Rebuild.
401 * target.c (target_stop_recording): Unconditionally delegate.
402 * target.h (struct target_ops) <to_stop_recording>: Use
403 TARGET_DEFAULT_IGNORE.
405 2014-02-19 Tom Tromey <tromey@redhat.com>
407 * target-delegates.c: Rebuild.
408 * target.c (target_enable_btrace): Unconditionally delegate.
409 * target.h (struct target_ops) <to_enable_btrace>: Use
410 TARGET_DEFAULT_NORETURN.
412 2014-02-19 Tom Tromey <tromey@redhat.com>
414 * target-delegates.c: Rebuild.
415 * target.c (target_read_btrace): Unconditionally delegate.
416 * target.h (struct target_ops) <to_read_btrace>: Use
417 TARGET_DEFAULT_NORETURN.
419 2014-02-19 Tom Tromey <tromey@redhat.com>
421 * target-delegates.c: Rebuild.
422 * target.c (target_teardown_btrace): Unconditionally delegate.
423 * target.h (struct target_ops) <to_teardown_btrace>: Use
424 TARGET_DEFAULT_NORETURN.
426 2014-02-19 Tom Tromey <tromey@redhat.com>
428 * target-delegates.c: Rebuild.
429 * target.c (target_disable_btrace): Unconditionally delegate.
430 * target.h (struct target_ops) <to_disable_btrace>: Use
431 TARGET_DEFAULT_NORETURN.
433 2014-02-19 Tom Tromey <tromey@redhat.com>
435 * target-delegates.c: Rebuild.
436 * target.c (default_search_memory): New function.
437 (simple_search_memory): Update comment.
438 (target_search_memory): Unconditionally delegate.
439 * target.h (struct target_ops) <to_search_memory>: Use
442 2014-02-19 Tom Tromey <tromey@redhat.com>
444 * auxv.c (default_auxv_parse): No longer static.
445 (target_auxv_parse): Unconditionally delegate.
446 * auxv.h (default_auxv_parse): Declare.
447 * target-delegates.c: Rebuild.
448 * target.c: Include auxv.h.
449 * target.h (struct target_ops) <to_auxv_parse>: Use
452 2014-02-19 Tom Tromey <tromey@redhat.com>
454 * target-delegates.c: Rebuild.
455 * target.c (target_memory_map): Unconditionally delegate.
456 * target.h (struct target_ops) <to_memory_map>: Use
457 TARGET_DEFAULT_RETURN.
459 2014-02-19 Tom Tromey <tromey@redhat.com>
461 * target-delegates.c: Rebuild.
462 * target.c (target_thread_alive): Unconditionally delegate.
463 * target.h (struct target_ops) <to_thread_alive>: Use
464 TARGET_DEFAULT_RETURN.
466 2014-02-19 Tom Tromey <tromey@redhat.com>
468 * target-delegates.c: Rebuild.
469 * target.c (target_save_record): Unconditionally delegate.
470 * target.h (struct target_ops) <to_save_record>: Use
471 TARGET_DEFAULT_NORETURN.
473 2014-02-19 Tom Tromey <tromey@redhat.com>
475 * target-delegates.c: Rebuild.
476 * target.c (target_delete_record): Unconditionally delegate.
477 * target.h (struct target_ops) <to_delete_record>: Use
478 TARGET_DEFAULT_NORETURN.
480 2014-02-19 Tom Tromey <tromey@redhat.com>
482 * target-delegates.c: Rebuild.
483 * target.c (target_record_is_replaying): Unconditionally
485 * target.h (struct target_ops) <to_record_is_replaying>: Use
486 TARGET_DEFAULT_RETURN.
488 2014-02-19 Tom Tromey <tromey@redhat.com>
490 * target-delegates.c: Rebuild.
491 * target.c (target_goto_record_begin): Unconditionally delegate.
492 * target.h (struct target_ops) <to_goto_record_begin>: Use
493 TARGET_DEFAULT_NORETURN.
495 2014-02-19 Tom Tromey <tromey@redhat.com>
497 * target-delegates.c: Rebuild.
498 * target.c (target_goto_record_end): Unconditionally delegate.
499 * target.h (struct target_ops) <to_goto_record_end>: Use
500 TARGET_DEFAULT_NORETURN.
502 2014-02-19 Tom Tromey <tromey@redhat.com>
504 * target-delegates.c: Rebuild.
505 * target.c (target_goto_record): Unconditionally delegate.
506 * target.h (struct target_ops) <to_goto_record>: Use
507 TARGET_DEFAULT_NORETURN.
509 2014-02-19 Tom Tromey <tromey@redhat.com>
511 * target-delegates.c: Rebuild.
512 * target.c (target_insn_history): Unconditionally delegate.
513 * target.h (struct target_ops) <to_insn_history>: Use
514 TARGET_DEFAULT_NORETURN.
516 2014-02-19 Tom Tromey <tromey@redhat.com>
518 * target-delegates.c: Rebuild.
519 * target.c (target_insn_history_from): Unconditionally delegate.
520 * target.h (struct target_ops) <to_insn_history_from>: Use
521 TARGET_DEFAULT_NORETURN.
523 2014-02-19 Tom Tromey <tromey@redhat.com>
525 * target-delegates.c: Rebuild.
526 * target.c (target_insn_history_range): Unconditionally delegate.
527 * target.h (struct target_ops) <to_insn_history_range>: Use
528 TARGET_DEFAULT_NORETURN.
530 2014-02-19 Tom Tromey <tromey@redhat.com>
532 * target-delegates.c: Rebuild.
533 * target.c (target_call_history): Unconditionally delegate.
534 * target.h (struct target_ops) <to_call_history>: Use
535 TARGET_DEFAULT_NORETURN.
537 2014-02-19 Tom Tromey <tromey@redhat.com>
539 * target-delegates.c: Rebuild.
540 * target.c (target_call_history_from): Unconditionally delegate.
541 * target.h (struct target_ops) <to_call_history_from>: Use
542 TARGET_DEFAULT_NORETURN.
544 2014-02-19 Tom Tromey <tromey@redhat.com>
546 * target-delegates.c: Rebuild.
547 * target.c (target_call_history_range): Unconditionally delegate.
548 * target.h (struct target_ops) <to_call_history_range>: Use
549 TARGET_DEFAULT_NORETURN.
551 2014-02-19 Tom Tromey <tromey@redhat.com>
553 * target-delegates.c: Rebuild.
554 * target.c (target_verify_memory): Unconditionally delegate.
555 * target.h (struct target_ops) <to_verify_memory>: Use
556 TARGET_DEFAULT_NORETURN.
558 2014-02-19 Tom Tromey <tromey@redhat.com>
560 * target-delegates.c: Rebuild.
561 * target.c (target_core_of_thread): Unconditionally delegate.
562 * target.h (struct target_ops) <to_core_of_thread>: Use
563 TARGET_DEFAULT_RETURN.
565 2014-02-19 Tom Tromey <tromey@redhat.com>
567 * target-delegates.c: Rebuild.
568 * target.c (target_flash_done): Unconditionally delegate.
569 * target.h (struct target_ops) <to_flash_done>: Use
570 TARGET_DEFAULT_NORETURN.
572 2014-02-19 Tom Tromey <tromey@redhat.com>
574 * target-delegates.c: Rebuild.
575 * target.c (target_flash_erase): Unconditionally delegate.
576 * target.h (struct target_ops) <to_flash_erase>: Use
577 TARGET_DEFAULT_NORETURN.
579 2014-02-19 Tom Tromey <tromey@redhat.com>
581 * target-delegates.c: Rebuild.
582 * target.c (target_get_section_table): Unconditionally delegate.
583 * target.h (struct target_ops) <to_get_section_table>: Use
584 TARGET_DEFAULT_RETURN.
586 2014-02-19 Tom Tromey <tromey@redhat.com>
588 * target-delegates.c: Rebuild.
589 * target.c (target_pid_to_str): Unconditionally delegate.
590 (init_dummy_target): Don't initialize to_pid_to_str.
591 (default_pid_to_str): Rename from dummy_pid_to_str.
592 * target.h (struct target_ops) <to_pid_to_str>: Use
595 2014-02-19 Tom Tromey <tromey@redhat.com>
597 * target-delegates.c: Rebuild.
598 * target.c (target_find_new_threads): Unconditionally delegate.
599 * target.h (struct target_ops) <to_find_new_threads>: Use
600 TARGET_DEFAULT_RETURN.
602 2014-02-19 Tom Tromey <tromey@redhat.com>
604 * target-delegates.c: Rebuild.
605 * target.c (target_program_signals): Unconditionally delegate.
606 * target.h (struct target_ops) <to_program_signals>: Use
607 TARGET_DEFAULT_IGNORE.
609 2014-02-19 Tom Tromey <tromey@redhat.com>
611 * target-delegates.c: Rebuild.
612 * target.c (target_pass_signals): Unconditionally delegate.
613 * target.h (struct target_ops) <to_pass_signals>: Use
614 TARGET_DEFAULT_IGNORE.
616 2014-02-19 Tom Tromey <tromey@redhat.com>
618 * target-delegates.c: Rebuild.
619 * target.c (default_mourn_inferior): New function.
620 (target_mourn_inferior): Unconditionally delegate.
621 * target.h (struct target_ops) <to_mourn_inferior>: Use
624 2014-02-19 Tom Tromey <tromey@redhat.com>
626 * target-delegates.c: Rebuild.
627 * target.c (default_follow_fork): New function.
628 (target_follow_fork): Unconditionally delegate.
629 * target.h (struct target_ops) <to_follow_fork>: Use
632 2014-02-19 Tom Tromey <tromey@redhat.com>
634 * target-delegates.c: Rebuild.
635 * target.c (target_kill): Unconditionally delegate.
636 * target.h (struct target_ops) <to_kill>: Use
637 TARGET_DEFAULT_NORETURN.
639 2014-02-19 Tom Tromey <tromey@redhat.com>
641 * target-delegates.c: Rebuild.
642 * target.c (target_masked_watch_num_registers): Unconditionally
644 * target.h (struct target_ops) <to_masked_watch_num_registers>:
645 Use TARGET_DEFAULT_RETURN.
647 2014-02-19 Tom Tromey <tromey@redhat.com>
649 * target-delegates.c: Rebuild.
650 * target.c (target_remove_mask_watchpoint): Unconditionally
652 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
653 TARGET_DEFAULT_RETURN.
655 2014-02-19 Tom Tromey <tromey@redhat.com>
657 * target-delegates.c: Rebuild.
658 * target.c (target_insert_mask_watchpoint): Unconditionally
660 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
661 TARGET_DEFAULT_RETURN.
663 2014-02-19 Tom Tromey <tromey@redhat.com>
665 * target-delegates.c: Rebuild.
666 * target.c (target_ranged_break_num_registers): Unconditionally
668 * target.h (struct target_ops) <to_ranged_break_num_registers>:
669 Use TARGET_DEFAULT_RETURN.
671 2014-02-19 Tom Tromey <tromey@redhat.com>
673 * target-delegates.c: Rebuild.
674 * target.c (target_fetch_registers): Unconditionally delegate.
675 * target.h (struct target_ops) <to_fetch_registers>: Use
676 TARGET_DEFAULT_NORETURN.
678 2014-02-19 Tom Tromey <tromey@redhat.com>
680 * target-delegates.c: Rebuild.
681 * target.c (update_current_target): Don't inherit or default
683 * target.h (struct target_ops) <to_stop>: Use
684 TARGET_DEFAULT_IGNORE.
686 2014-02-19 Tom Tromey <tromey@redhat.com>
688 * target-delegates.c: Rebuild.
689 * target.c (update_current_target): Don't inherit or default
690 to_can_run_breakpoint_commands.
691 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
692 Use TARGET_DEFAULT_RETURN.
694 2014-02-19 Tom Tromey <tromey@redhat.com>
696 * target-delegates.c: Rebuild.
697 * target.c (update_current_target): Don't inherit or default
698 to_supports_evaluation_of_breakpoint_conditions.
699 * target.h (struct target_ops)
700 <to_supports_evaluation_of_breakpoint_conditions>: Use
701 TARGET_DEFAULT_RETURN.
703 2014-02-19 Tom Tromey <tromey@redhat.com>
705 * target-delegates.c: Rebuild.
706 * target.c (update_current_target): Don't inherit or default
707 to_augmented_libraries_svr4_read.
708 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
709 Use TARGET_DEFAULT_RETURN.
711 2014-02-19 Tom Tromey <tromey@redhat.com>
713 * target-delegates.c: Rebuild.
714 * target.c (update_current_target): Don't inherit or default
716 * target.h (struct target_ops) <to_can_use_agent>: Use
717 TARGET_DEFAULT_RETURN.
719 2014-02-19 Tom Tromey <tromey@redhat.com>
721 * target-delegates.c: Rebuild.
722 * target.c (update_current_target): Don't inherit or default
724 * target.h (struct target_ops) <to_use_agent>: Use
725 TARGET_DEFAULT_NORETURN.
727 2014-02-19 Tom Tromey <tromey@redhat.com>
729 * target-delegates.c: Rebuild.
730 * target.c (update_current_target): Don't inherit or default
732 (return_null): Remove.
733 * target.h (struct target_ops) <to_traceframe_info>: Use
734 TARGET_DEFAULT_RETURN.
736 2014-02-19 Tom Tromey <tromey@redhat.com>
738 * target-delegates.c: Rebuild.
739 * target.c (update_current_target): Don't inherit or default
740 to_static_tracepoint_markers_by_strid.
741 * target.h (struct target_ops)
742 <to_static_tracepoint_markers_by_strid>: Use
743 TARGET_DEFAULT_NORETURN.
745 2014-02-19 Tom Tromey <tromey@redhat.com>
747 * target-delegates.c: Rebuild.
748 * target.c (update_current_target): Don't inherit or default
749 to_static_tracepoint_marker_at.
750 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
751 Use TARGET_DEFAULT_RETURN.
753 2014-02-19 Tom Tromey <tromey@redhat.com>
755 * target-delegates.c: Rebuild.
756 * target.c (update_current_target): Don't inherit or default
758 * target.h (struct target_ops) <to_set_permissions>: Use
759 TARGET_DEFAULT_IGNORE.
761 2014-02-19 Tom Tromey <tromey@redhat.com>
763 * target-delegates.c: Rebuild.
764 * target.c (update_current_target): Don't inherit or default
766 * target.h (struct target_ops) <to_get_tib_address>: Use
767 TARGET_DEFAULT_NORETURN.
769 2014-02-19 Tom Tromey <tromey@redhat.com>
771 * target-delegates.c: Rebuild.
772 * target.c (update_current_target): Don't inherit or default
774 * target.h (struct target_ops) <to_set_trace_notes>: Use
775 TARGET_DEFAULT_RETURN.
777 2014-02-19 Tom Tromey <tromey@redhat.com>
779 * target-delegates.c: Rebuild.
780 * target.c (update_current_target): Don't initialize
781 to_set_trace_buffer_size.
782 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
783 TARGET_DEFAULT_IGNORE.
785 2014-02-19 Tom Tromey <tromey@redhat.com>
787 * target-delegates.c: Rebuild.
788 * target.c (update_current_target): Don't inherit or default
789 to_set_circular_trace_buffer.
790 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
791 TARGET_DEFAULT_IGNORE.
793 2014-02-19 Tom Tromey <tromey@redhat.com>
795 * target-delegates.c: Rebuild.
796 * target.c (update_current_target): Don't inherit or default
797 to_set_disconnected_tracing.
798 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
799 TARGET_DEFAULT_IGNORE.
801 2014-02-19 Tom Tromey <tromey@redhat.com>
803 * target-delegates.c: Rebuild.
804 * target.c (update_current_target): Don't inherit or default
805 to_get_min_fast_tracepoint_insn_len.
806 (return_minus_one): Remove.
807 * target.h (struct target_ops)
808 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
810 2014-02-19 Tom Tromey <tromey@redhat.com>
812 * target-delegates.c: Rebuild.
813 * target.c (update_current_target): Don't inherit or default
814 to_get_raw_trace_data.
815 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
816 TARGET_DEFAULT_NORETURN.
818 2014-02-19 Tom Tromey <tromey@redhat.com>
820 * target-delegates.c: Rebuild.
821 * target.c (update_current_target): Don't inherit or default
822 to_upload_trace_state_variables.
823 * target.h (struct target_ops) <to_upload_trace_state_variables>:
824 Use TARGET_DEFAULT_RETURN.
826 2014-02-19 Tom Tromey <tromey@redhat.com>
828 * target-delegates.c: Rebuild.
829 * target.c (update_current_target): Don't inherit or default
830 to_upload_tracepoints.
831 * target.h (struct target_ops) <to_upload_tracepoints>: Use
832 TARGET_DEFAULT_RETURN.
834 2014-02-19 Tom Tromey <tromey@redhat.com>
836 * target-delegates.c: Rebuild.
837 * target.c (update_current_target): Don't inherit or default
839 * target.h (struct target_ops) <to_save_trace_data>: Use
840 TARGET_DEFAULT_NORETURN.
842 2014-02-19 Tom Tromey <tromey@redhat.com>
844 * target-delegates.c: Rebuild.
845 * target.c (update_current_target): Don't inherit or default
846 to_get_trace_state_variable_value.
847 * target.h (struct target_ops)
848 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
850 2014-02-19 Tom Tromey <tromey@redhat.com>
852 * target-delegates.c: Rebuild.
853 * target.c (update_current_target): Don't inherit or default
855 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
857 2014-02-19 Tom Tromey <tromey@redhat.com>
859 * target-delegates.c: Rebuild.
860 * target.c (update_current_target): Don't inherit or default
862 * target.h (struct target_ops) <to_trace_stop>: Use
863 TARGET_DEFAULT_NORETURN.
865 2014-02-19 Tom Tromey <tromey@redhat.com>
867 * target-delegates.c: Rebuild.
868 * target.c (update_current_target): Don't inherit or default
869 to_get_tracepoint_status.
870 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
871 TARGET_DEFAULT_NORETURN.
873 2014-02-19 Tom Tromey <tromey@redhat.com>
875 * target-delegates.c: Rebuild.
876 * target.c (update_current_target): Don't inherit or default
878 * target.h (struct target_ops) <to_get_trace_status>: Use
879 TARGET_DEFAULT_RETURN.
881 2014-02-19 Tom Tromey <tromey@redhat.com>
883 * target-delegates.c: Rebuild.
884 * target.c (update_current_target): Don't inherit or default
886 * target.h (struct target_ops) <to_trace_start>: Use
887 TARGET_DEFAULT_NORETURN.
889 2014-02-19 Tom Tromey <tromey@redhat.com>
891 * target-delegates.c: Rebuild.
892 * target.c (update_current_target): Don't inherit or default
893 to_trace_set_readonly_regions.
894 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
895 Use TARGET_DEFAULT_NORETURN.
897 2014-02-19 Tom Tromey <tromey@redhat.com>
899 * target-delegates.c: Rebuild.
900 * target.c (update_current_target): Don't inherit or default
901 to_disable_tracepoint.
902 * target.h (struct target_ops) <to_disable_tracepoint>: Use
903 TARGET_DEFAULT_NORETURN.
905 2014-02-19 Tom Tromey <tromey@redhat.com>
907 * target-delegates.c: Rebuild.
908 * target.c (update_current_target): Don't inherit or default
909 to_enable_tracepoint.
910 * target.h (struct target_ops) <to_enable_tracepoint>: Use
911 TARGET_DEFAULT_NORETURN.
913 2014-02-19 Tom Tromey <tromey@redhat.com>
915 * target-delegates.c: Rebuild.
916 * target.c (update_current_target): Don't inherit or default
917 to_download_trace_state_variable.
918 * target.h (struct target_ops) <to_download_trace_state_variable>:
919 Use TARGET_DEFAULT_NORETURN.
921 2014-02-19 Tom Tromey <tromey@redhat.com>
923 * target-delegates.c: Rebuild.
924 * target.c (update_current_target): Don't inherit or default
925 to_can_download_tracepoint.
926 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
927 TARGET_DEFAULT_RETURN.
929 2014-02-19 Tom Tromey <tromey@redhat.com>
931 * target-delegates.c: Rebuild.
932 * target.c (update_current_target): Don't inherit or default
933 to_download_tracepoint.
934 * target.h (struct target_ops) <to_download_tracepoint>: Use
935 TARGET_DEFAULT_NORETURN.
937 2014-02-19 Tom Tromey <tromey@redhat.com>
939 * target-delegates.c: Rebuild.
940 * target.c (update_current_target): Don't inherit or default
942 * target.h (struct target_ops) <to_trace_init>: Use
943 TARGET_DEFAULT_RETURN.
945 2014-02-19 Tom Tromey <tromey@redhat.com>
947 * target-delegates.c: Rebuild.
948 * target.c (update_current_target): Don't inherit or default
949 to_supports_string_tracing.
950 * target.h (struct target_ops) <to_supports_string_tracing>: Use
951 TARGET_DEFAULT_RETURN.
953 2014-02-19 Tom Tromey <tromey@redhat.com>
955 * target-delegates.c: Rebuild.
956 * target.c (update_current_target): Don't inherit or default
957 to_supports_enable_disable_tracepoint.
958 * target.h (struct target_ops)
959 <to_supports_enable_disable_tracepoint>: Use
960 TARGET_DEFAULT_RETURN.
962 2014-02-19 Tom Tromey <tromey@redhat.com>
964 * target-delegates.c: Rebuild.
965 * target.c (update_current_target): Don't inherit or default
966 to_supports_multi_process.
967 * target.h (struct target_ops) <to_supports_multi_process>: Use
968 TARGET_DEFAULT_RETURN.
970 2014-02-19 Tom Tromey <tromey@redhat.com>
972 * target-delegates.c: Rebuild.
973 * target.c (update_current_target): Don't inherit or default
974 to_get_ada_task_ptid.
975 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
978 2014-02-19 Tom Tromey <tromey@redhat.com>
980 * target-delegates.c: Rebuild.
981 * target.c (update_current_target): Don't inherit or default
982 to_thread_architecture.
983 * target.h (struct target_ops) <to_thread_architecture>: Use
986 2014-02-19 Tom Tromey <tromey@redhat.com>
988 * target-delegates.c: Rebuild.
989 * target.c (update_current_target): Don't inherit or default
990 to_execution_direction.
991 * target.h (struct target_ops) <to_execution_direction>: Use
994 2014-02-19 Tom Tromey <tromey@redhat.com>
996 * target-delegates.c: Rebuild.
997 * target.c (update_current_target): Don't inherit or default
998 to_can_execute_reverse.
999 * target.h (struct target_ops) <to_can_execute_reverse>: Use
1000 TARGET_DEFAULT_RETURN.
1001 (target_can_execute_reverse): Unconditionally delegate.
1003 2014-02-19 Tom Tromey <tromey@redhat.com>
1005 * target-delegates.c: Rebuild.
1006 * target.c (update_current_target): Don't inherit or default
1008 (dummy_goto_bookmark): Remove.
1009 (init_dummy_target): Don't inherit or default to_goto_bookmark.
1010 * target.h (struct target_ops) <to_goto_bookmark>: Use
1011 TARGET_DEFAULT_NORETURN.
1013 2014-02-19 Tom Tromey <tromey@redhat.com>
1015 * target-delegates.c: Rebuild.
1016 * target.c (update_current_target): Don't inherit or default
1018 (dummy_get_bookmark): Remove.
1019 (init_dummy_target): Don't inherit or default to_get_bookmark.
1020 * target.h (struct target_ops) <to_get_bookmark>: Use
1021 TARGET_DEFAULT_NORETURN
1023 2014-02-19 Tom Tromey <tromey@redhat.com>
1025 * target-delegates.c: Rebuild.
1026 * target.c (update_current_target): Don't inherit or default
1027 to_make_corefile_notes.
1028 (init_dummy_target): Don't initialize to_make_corefile_notes.
1029 * target.h (struct target_ops) <to_make_corefile_notes>: Use
1030 TARGET_DEFAULT_FUNC.
1032 2014-02-19 Tom Tromey <tromey@redhat.com>
1034 * target-delegates.c: Rebuild.
1035 * target.c (update_current_target): Don't inherit or default
1036 to_find_memory_regions.
1037 (init_dummy_target): Don't initialize to_find_memory_regions.
1038 * target.h (struct target_ops) <to_find_memory_regions>: Use
1039 TARGET_DEFAULT_FUNC.
1041 2014-02-19 Tom Tromey <tromey@redhat.com>
1043 * target-delegates.c: Rebuild.
1044 * target.c (update_current_target): Don't inherit or default
1046 * target.h (struct target_ops) <to_log_command>: Use
1047 TARGET_DEFAULT_IGNORE.
1048 (target_log_command): Unconditionally delegate.
1050 2014-02-19 Tom Tromey <tromey@redhat.com>
1052 * target-delegates.c: Rebuild.
1053 * target.c (update_current_target): Don't inherit or default
1054 to_pid_to_exec_file.
1055 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
1056 TARGET_DEFAULT_RETURN.
1058 2014-02-19 Tom Tromey <tromey@redhat.com>
1060 * target-delegates.c: Rebuild.
1061 * target.c (update_current_target): Don't inherit or default
1063 (target_thread_name): Unconditionally delegate.
1064 * target.h (struct target_ops) <to_thread_name>: Use
1065 TARGET_DEFAULT_RETURN.
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_extra_thread_info.
1072 * target.h (struct target_ops) <to_extra_thread_info>: Use
1073 TARGET_DEFAULT_RETURN.
1075 2014-02-19 Tom Tromey <tromey@redhat.com>
1077 * target-delegates.c: Rebuild.
1078 * target.c (update_current_target): Don't inherit or default
1080 * target.h (struct target_ops) <to_has_exited>: Use
1081 TARGET_DEFAULT_RETURN..
1083 2014-02-19 Tom Tromey <tromey@redhat.com>
1085 * target-delegates.c: Rebuild.
1086 * target.c (update_current_target): Don't inherit or default
1087 to_set_syscall_catchpoint.
1088 (return_one): Remove.
1089 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
1090 TARGET_DEFAULT_RETURN.
1092 2014-02-19 Tom Tromey <tromey@redhat.com>
1094 * target-delegates.c: Rebuild.
1095 * target.c (update_current_target): Don't inherit or default
1096 to_insert_exec_catchpoint.
1097 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1098 TARGET_DEFAULT_RETURN.
1100 2014-01-08 Tom Tromey <tromey@redhat.com>
1102 * target-delegates.c: Rebuild.
1103 * target.c (update_current_target): Don't inherit or default
1104 to_insert_exec_catchpoint.
1105 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1106 TARGET_DEFAULT_RETURN.
1108 2014-02-19 Tom Tromey <tromey@redhat.com>
1110 * target-delegates.c: Rebuild.
1111 * target.c (update_current_target): Don't inherit or default
1112 to_remove_vfork_catchpoint.
1113 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
1114 TARGET_DEFAULT_RETURN.
1116 2014-02-19 Tom Tromey <tromey@redhat.com>
1118 * target-delegates.c: Rebuild.
1119 * target.c (update_current_target): Don't inherit or default
1120 to_insert_vfork_catchpoint.
1121 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
1122 TARGET_DEFAULT_RETURN.
1124 2014-02-19 Tom Tromey <tromey@redhat.com>
1126 * target-delegates.c: Rebuild.
1127 * target.c (update_current_target): Don't inherit or default
1128 to_remove_fork_catchpoint.
1129 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
1130 TARGET_DEFAULT_RETURN.
1132 2014-02-19 Tom Tromey <tromey@redhat.com>
1134 * target-delegates.c: Rebuild.
1135 * target.c (update_current_target): Don't inherit or default
1136 to_insert_fork_catchpoint.
1137 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
1138 TARGET_DEFAULT_RETURN.
1140 2014-02-19 Tom Tromey <tromey@redhat.com>
1142 * target-delegates.c: Rebuild.
1143 * target.c (update_current_target): Don't inherit or default
1144 to_post_startup_inferior.
1145 * target.h (struct target_ops) <to_post_startup_inferior>: Use
1146 TARGET_DEFAULT_IGNORE.
1148 2014-02-19 Tom Tromey <tromey@redhat.com>
1150 * target-delegates.c: Rebuild.
1151 * target.c (update_current_target): Don't inherit or default
1153 * target.h (struct target_ops) <to_load>: Use
1154 TARGET_DEFAULT_NORETURN.
1156 2014-02-19 Tom Tromey <tromey@redhat.com>
1158 * target-delegates.c: Rebuild.
1159 * target.c (update_current_target): Don't inherit or default
1161 * target.h (struct target_ops) <to_terminal_info>: Use
1162 TARGET_DEFAULT_FUNC.
1164 2014-02-19 Tom Tromey <tromey@redhat.com>
1166 * target-delegates.c: Rebuild.
1167 * target.c (update_current_target): Don't inherit or default
1168 to_terminal_save_ours.
1169 * target.h (struct target_ops) <to_terminal_save_ours>: Use
1170 TARGET_DEFAULT_IGNORE.
1172 2014-02-19 Tom Tromey <tromey@redhat.com>
1174 * target-delegates.c: Rebuild.
1175 * target.c (update_current_target): Don't inherit or default
1177 * target.h (struct target_ops) <to_terminal_ours>: Use
1178 TARGET_DEFAULT_IGNORE.
1180 2014-02-19 Tom Tromey <tromey@redhat.com>
1182 * target-delegates.c: Rebuild.
1183 * target.c (update_current_target): Don't inherit or default
1184 to_terminal_ours_for_output.
1185 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
1186 TARGET_DEFAULT_IGNORE.
1188 2014-02-19 Tom Tromey <tromey@redhat.com>
1190 * target-delegates.c: Rebuild.
1191 * target.c (update_current_target): Don't inherit or default
1192 to_terminal_inferior.
1193 * target.h (struct target_ops) <to_terminal_inferior>: Use
1194 TARGET_DEFAULT_IGNORE.
1196 2014-02-19 Tom Tromey <tromey@redhat.com>
1198 * target-delegates.c: Rebuild.
1199 * target.c (update_current_target): Don't inherit or default
1201 * target.h (struct target_ops) <to_terminal_init>: Use
1202 TARGET_DEFAULT_IGNORE.
1204 2014-02-19 Tom Tromey <tromey@redhat.com>
1206 * target-delegates.c: Rebuild.
1207 * target.c (update_current_target): Don't inherit or default
1208 to_can_accel_watchpoint_condition.
1209 * target.h (struct target_ops)
1210 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
1212 2014-02-19 Tom Tromey <tromey@redhat.com>
1214 * target-delegates.c: Rebuild.
1215 * target.c (update_current_target): Don't inherit or default
1216 to_region_ok_for_hw_watchpoint.
1217 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1218 Use TARGET_DEFAULT_FUNC.
1220 2014-02-19 Tom Tromey <tromey@redhat.com>
1222 * target-delegates.c: Rebuild.
1223 * target.c (update_current_target): Don't inherit or default
1224 to_watchpoint_addr_within_range.
1225 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
1226 Use TARGET_DEFAULT_FUNC.
1228 2014-02-19 Tom Tromey <tromey@redhat.com>
1230 * target-delegates.c: Rebuild.
1231 * target.c (update_current_target): Don't inherit or default
1232 to_remove_watchpoint.
1233 * target.h (struct target_ops) <to_remove_watchpoint>: Use
1234 TARGET_DEFAULT_NORETURN.
1236 2014-02-19 Tom Tromey <tromey@redhat.com>
1238 * target-delegates.c: Rebuild.
1239 * target.c (update_current_target): Don't inherit or default
1240 to_insert_watchpoint.
1241 * target.h (struct target_ops) <to_insert_watchpoint>: Use
1242 TARGET_DEFAULT_RETURN.
1244 2014-02-19 Tom Tromey <tromey@redhat.com>
1246 * target-delegates.c: Rebuild.
1247 * target.c (update_current_target): Don't inherit or default
1248 to_remove_hw_breakpoint.
1249 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
1250 TARGET_DEFAULT_RETURN.
1252 2014-02-19 Tom Tromey <tromey@redhat.com>
1254 * target-delegates.c: Rebuild.
1255 * target.c (update_current_target): Don't inherit or default
1256 to_insert_hw_breakpoint.
1257 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
1258 TARGET_DEFAULT_RETURN.
1260 2014-02-19 Tom Tromey <tromey@redhat.com>
1262 * target-delegates.c: Rebuild.
1263 * target.c (update_current_target): Don't inherit or default
1264 to_can_use_hw_breakpoint.
1265 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
1266 TARGET_DEFAULT_RETURN.
1268 2014-02-19 Tom Tromey <tromey@redhat.com>
1270 * target-delegates.c: Rebuild.
1271 * target.c (update_current_target): Don't inherit or default
1273 * target.h (struct target_ops) <to_files_info>: Use
1274 TARGET_DEFAULT_IGNORE.
1276 2014-02-19 Tom Tromey <tromey@redhat.com>
1278 * target-delegates.c: Rebuild.
1279 * target.c (update_current_target): Don't inherit or default
1281 * target.h (struct target_ops) <to_store>: Use
1282 TARGET_DEFAULT_NORETURN.
1284 2014-02-19 Tom Tromey <tromey@redhat.com>
1286 * target-delegates.c: Rebuild.
1287 * target.c (update_current_target): Don't inherit or default
1289 * target.h (struct target_ops) <to_post_attach>: Use
1290 TARGET_DEFAULT_IGNORE.
1292 2014-02-19 Tom Tromey <tromey@redhat.com>
1294 * target-delegates.c: Rebuild.
1295 * target.c (update_current_target): Don't inherit or default
1297 (default_rcmd): New function.
1298 (do_monitor_command): Unconditionally delegate.
1299 * target.h (struct target_ops) <to_rmcd>: Use
1300 TARGET_DEFAULT_FUNC.
1302 2014-02-19 Tom Tromey <tromey@redhat.com>
1304 * target-delegates.c: Rebuild.
1305 * target.c (init_dummy_target): Don't initialize to_attach.
1306 (target_attach): Unconditionally delegate.
1307 * target.h (struct target_ops) <to_attach>: Use
1308 TARGET_DEFAULT_FUNC.
1310 2014-02-19 Tom Tromey <tromey@redhat.com>
1312 * target-delegates.c: Rebuild.
1313 * target.c (target_detach): Unconditionally delegate.
1314 (init_dummy_target): Don't initialize to_detach.
1315 * target.h (struct target_ops) <to_detach>: Use
1316 TARGET_DEFAULT_IGNORE.
1318 2014-02-19 Tom Tromey <tromey@redhat.com>
1320 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1322 (target_augmented_libraries_svr4_read): Add argument.
1323 * target.c (update_current_target): Update.
1324 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
1327 2014-02-19 Tom Tromey <tromey@redhat.com>
1329 * target.h (struct target_ops) <to_call_history_range>: Add
1331 * target.c (target_call_history_range): Add argument.
1332 * record-btrace.c (record_btrace_call_history_range): Add 'self'
1334 (record_btrace_call_history_from): Update.
1336 2014-02-19 Tom Tromey <tromey@redhat.com>
1338 * target.h (struct target_ops) <to_call_history_from>: Add
1340 * target.c (target_call_history_from): Add argument.
1341 * record-btrace.c (record_btrace_call_history_from): Add 'self'
1344 2014-02-19 Tom Tromey <tromey@redhat.com>
1346 * target.h (struct target_ops) <to_call_history>: Add argument.
1347 * target.c (target_call_history): Add argument.
1348 * record-btrace.c (record_btrace_call_history): Add 'self'
1351 2014-02-19 Tom Tromey <tromey@redhat.com>
1353 * target.h (struct target_ops) <to_insn_history_range>: Add
1355 * target.c (target_insn_history_range): Add argument.
1356 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
1358 (record_btrace_insn_history_from): Update.
1360 2014-02-19 Tom Tromey <tromey@redhat.com>
1362 * target.h (struct target_ops) <to_insn_history_from>: Add
1364 * target.c (target_insn_history_from): Add argument.
1365 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
1368 2014-02-19 Tom Tromey <tromey@redhat.com>
1370 * target.h (struct target_ops) <to_insn_history>: Add argument.
1371 * target.c (target_insn_history): Add argument.
1372 * record-btrace.c (record_btrace_insn_history): Add 'self'
1375 2014-02-19 Tom Tromey <tromey@redhat.com>
1377 * target.h (struct target_ops) <to_goto_record>: Add argument.
1378 * target.c (target_goto_record): Add argument.
1379 * record-full.c (record_full_goto): Add 'self' argument.
1380 * record-btrace.c (record_btrace_goto): Add 'self' argument.
1382 2014-02-19 Tom Tromey <tromey@redhat.com>
1384 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
1385 * target.c (target_goto_record_end): Add argument.
1386 * record-full.c (record_full_goto_end): Add 'self' argument.
1387 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
1389 2014-02-19 Tom Tromey <tromey@redhat.com>
1391 * target.h (struct target_ops) <to_goto_record_begin>: Add
1393 * target.c (target_goto_record_begin): Add argument.
1394 * record-full.c (record_full_goto_begin): Add 'self' argument.
1395 * record-btrace.c (record_btrace_goto_begin): Add 'self'
1398 2014-02-19 Tom Tromey <tromey@redhat.com>
1400 * target.h (struct target_ops) <to_record_is_replaying>: Add
1402 * target.c (target_record_is_replaying): Add argument.
1403 * record-full.c (record_full_is_replaying): Add 'self' argument.
1404 * record-btrace.c (record_btrace_is_replaying): Add 'self'
1406 (record_btrace_xfer_partial, record_btrace_store_registers)
1407 (record_btrace_prepare_to_store, record_btrace_resume)
1408 (record_btrace_wait, record_btrace_decr_pc_after_break)
1409 (record_btrace_find_new_threads, record_btrace_thread_alive):
1412 2014-02-19 Tom Tromey <tromey@redhat.com>
1414 * target.h (struct target_ops) <to_delete_record>: Add argument.
1415 * target.c (target_delete_record): Add argument.
1416 * record-full.c (record_full_delete): Add 'self' argument.
1418 2014-02-19 Tom Tromey <tromey@redhat.com>
1420 * target.h (struct target_ops) <to_save_record>: Add argument.
1421 * target.c (target_save_record): Add argument.
1422 * record-full.c (record_full_save): Add 'self' argument.
1423 (record_full_save): Add 'self' argument.
1425 2014-02-19 Tom Tromey <tromey@redhat.com>
1427 * target.h (struct target_ops) <to_info_record>: Add argument.
1428 * target.c (target_info_record): Add argument.
1429 * record.c (info_record_command): Add argument.
1430 * record-full.c (record_full_info): Add 'self' argument.
1431 * record-btrace.c (record_btrace_info): Add 'self' argument.
1433 2014-02-19 Tom Tromey <tromey@redhat.com>
1435 * target.h (struct target_ops) <to_stop_recording>: Add argument.
1436 * target.c (target_stop_recording): Add argument.
1437 * record.c (record_stop): Add argument.
1438 * record-btrace.c (record_btrace_stop_recording): Add 'self'
1441 2014-02-19 Tom Tromey <tromey@redhat.com>
1443 * target.h (struct target_ops) <to_read_btrace>: Add argument.
1444 * target.c (struct target_ops) <to_read_btrace>: Add argument.
1445 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
1447 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
1448 (_initialize_amd64_linux_nat): Use it.
1449 * i386-linux-nat.c (i386_linux_read_btrace): New function.
1450 (_initialize_i386_linux_nat): Use it.
1452 2014-02-19 Tom Tromey <tromey@redhat.com>
1454 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
1455 * target.c (target_teardown_btrace): Add argument.
1456 * remote.c (remote_teardown_btrace): Add 'self' argument.
1457 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
1459 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
1462 2014-02-19 Tom Tromey <tromey@redhat.com>
1464 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
1465 * target.c (target_disable_btrace): Add argument.
1466 * remote.c (remote_disable_btrace): Add 'self' argument.
1467 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
1469 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
1472 2014-02-19 Tom Tromey <tromey@redhat.com>
1474 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
1475 * target.c (target_enable_btrace): Add argument.
1476 * remote.c (remote_enable_btrace): Add 'self' argument.
1477 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
1479 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
1482 2014-02-19 Tom Tromey <tromey@redhat.com>
1484 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
1485 (target_can_use_agent): Add argument.
1486 * target.c (update_current_target): Update.
1487 * remote.c (remote_can_use_agent): Add 'self' argument.
1488 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
1490 2014-02-19 Tom Tromey <tromey@redhat.com>
1492 * target.h (struct target_ops) <to_use_agent>: Add argument.
1493 (target_use_agent): Add argument.
1494 * target.c (update_current_target): Update.
1495 * remote.c (remote_use_agent): Add 'self' argument.
1496 * inf-child.c (inf_child_use_agent): Add 'self' argument.
1498 2014-02-19 Tom Tromey <tromey@redhat.com>
1500 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
1501 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
1502 (target_traceframe_info): Add argument.
1503 * target.c (update_current_target): Update.
1504 * remote.c (remote_traceframe_info): Add 'self' argument.
1505 * ctf.c (ctf_traceframe_info): Add 'self' argument.
1507 2014-02-19 Tom Tromey <tromey@redhat.com>
1509 * target.h (target_static_tracepoint_markers_by_strid): Add
1511 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
1513 * target.c (update_current_target): Update.
1514 * remote.c (struct target_ops)
1515 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1516 * linux-nat.c (struct target_ops)
1517 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1519 2014-02-19 Tom Tromey <tromey@redhat.com>
1521 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1523 (target_static_tracepoint_marker_at): Add argument.
1524 * target.c (update_current_target): Update.
1525 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
1528 2014-02-19 Tom Tromey <tromey@redhat.com>
1530 * target.h (struct target_ops) <to_set_permissions>: Add argument.
1531 (target_set_permissions): Add argument.
1532 * target.c (update_current_target): Update.
1533 * remote.c (remote_set_permissions): Add 'self' argument.
1534 (remote_start_remote): Update.
1536 2014-02-19 Tom Tromey <tromey@redhat.com>
1538 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
1539 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
1540 (target_get_tib_address): Add argument.
1541 * target.c (update_current_target): Update.
1542 * remote.c (remote_get_tib_address): Add 'self' argument.
1544 2014-02-19 Tom Tromey <tromey@redhat.com>
1546 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
1547 (target_set_trace_notes): Add argument.
1548 * target.c (update_current_target): Update.
1549 * remote.c (remote_set_trace_notes): Add 'self' argument.
1551 2014-02-19 Tom Tromey <tromey@redhat.com>
1553 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
1555 (target_set_trace_buffer_size): Add argument.
1556 * target.c (update_current_target): Update.
1557 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
1559 2014-02-19 Tom Tromey <tromey@redhat.com>
1561 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
1563 (target_set_circular_trace_buffer): Add argument.
1564 * target.c (update_current_target): Update.
1565 * remote.c (remote_set_circular_trace_buffer): Add 'self'
1568 2014-02-19 Tom Tromey <tromey@redhat.com>
1570 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
1572 (target_set_disconnected_tracing): Add argument.
1573 * target.c (update_current_target): Update.
1574 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
1576 2014-02-19 Tom Tromey <tromey@redhat.com>
1578 * target.h (struct target_ops)
1579 <to_get_min_fast_tracepoint_insn_len>: Add argument.
1580 (target_get_min_fast_tracepoint_insn_len): Add argument.
1581 * target.c (update_current_target): Update.
1582 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
1585 2014-02-19 Tom Tromey <tromey@redhat.com>
1587 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
1589 (target_get_raw_trace_data): Add argument.
1590 * target.c (update_current_target): Update.
1591 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
1593 2014-02-19 Tom Tromey <tromey@redhat.com>
1595 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1597 (target_upload_trace_state_variables): Add argument.
1598 * target.c (update_current_target): Update.
1599 * remote.c (remote_upload_trace_state_variables): Add 'self'
1601 (remote_start_remote): Update.
1603 2014-02-19 Tom Tromey <tromey@redhat.com>
1605 * target.h (struct target_ops) <to_upload_tracepoints>: Add
1607 (target_upload_tracepoints): Add argument.
1608 * target.c (update_current_target): Update.
1609 * remote.c (remote_upload_tracepoints): Add 'self' argument.
1610 (remote_start_remote): Update.
1612 2014-02-19 Tom Tromey <tromey@redhat.com>
1614 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
1615 (target_save_trace_data): Add argument.
1616 * target.c (update_current_target): Update.
1617 * remote.c (remote_save_trace_data): Add 'self' argument.
1619 2014-02-19 Tom Tromey <tromey@redhat.com>
1621 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
1623 * target.h (struct target_ops)
1624 <to_get_trace_state_variable_value>: Add argument.
1625 (target_get_trace_state_variable_value): Add argument.
1626 * target.c (update_current_target): Update.
1627 * remote.c (remote_get_trace_state_variable_value): Add 'self'
1629 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
1631 2014-02-19 Tom Tromey <tromey@redhat.com>
1633 * tracepoint.c (tfile_trace_find): Add 'self' argument.
1634 * target.h (struct target_ops) <to_trace_find>: Add argument.
1635 (target_trace_find): Add argument.
1636 * target.c (update_current_target): Update.
1637 * remote.c (remote_trace_find): Add 'self' argument.
1638 * ctf.c (ctf_trace_find): Add 'self' argument.
1640 2014-02-19 Tom Tromey <tromey@redhat.com>
1642 * target.h (struct target_ops) <to_trace_stop>: Add argument.
1643 (target_trace_stop): Add argument.
1644 * target.c (update_current_target): Update.
1645 * remote.c (remote_trace_stop): Add 'self' argument.
1647 2014-02-19 Tom Tromey <tromey@redhat.com>
1649 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
1650 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
1652 (target_get_tracepoint_status): Add argument.
1653 * target.c (update_current_target): Update.
1654 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
1656 2014-02-19 Tom Tromey <tromey@redhat.com>
1658 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
1659 * target.h (struct target_ops) <to_get_trace_status>: Add
1661 (target_get_trace_status): Add argument.
1662 * target.c (update_current_target): Update.
1663 * remote.c (remote_get_trace_status): Add 'self' argument.
1664 (remote_start_remote, remote_can_download_tracepoint): Update.
1665 * ctf.c (ctf_get_trace_status): Add 'self' argument.
1667 2014-02-19 Tom Tromey <tromey@redhat.com>
1669 * target.h (struct target_ops) <to_trace_start>: Add argument.
1670 (target_trace_start): Add argument.
1671 * target.c (update_current_target): Update.
1672 * remote.c (remote_trace_start): Add 'self' argument.
1674 2014-02-19 Tom Tromey <tromey@redhat.com>
1676 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1678 (target_trace_set_readonly_regions): Add argument.
1679 * target.c (update_current_target): Update.
1680 * remote.c (remote_trace_set_readonly_regions): Add 'self'
1683 2014-02-19 Tom Tromey <tromey@redhat.com>
1685 * target.h (struct target_ops) <to_disable_tracepoint>: Add
1687 (target_disable_tracepoint): Add argument.
1688 * target.c (update_current_target): Update.
1689 * remote.c (remote_disable_tracepoint): Add 'self' argument.
1691 2014-02-19 Tom Tromey <tromey@redhat.com>
1693 * target.h (struct target_ops) <to_enable_tracepoint>: Add
1695 (target_enable_tracepoint): Add argument.
1696 * target.c (update_current_target): Update.
1697 * remote.c (remote_enable_tracepoint): Add 'self' argument.
1699 2014-02-19 Tom Tromey <tromey@redhat.com>
1701 * target.h (struct target_ops) <to_download_trace_state_variable>:
1703 (target_download_trace_state_variable): Add argument.
1704 * target.c (update_current_target): Update.
1705 * remote.c (remote_download_trace_state_variable): Add 'self'
1708 2014-02-19 Tom Tromey <tromey@redhat.com>
1710 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
1712 (target_can_download_tracepoint): Add argument.
1713 * target.c (update_current_target): Update.
1714 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
1716 2014-02-19 Tom Tromey <tromey@redhat.com>
1718 * target.h (struct target_ops) <to_download_tracepoint>: Add
1720 (target_download_tracepoint): Add argument.
1721 * target.c (update_current_target): Update.
1722 * remote.c (remote_download_tracepoint): Add 'self' argument.
1724 2014-02-19 Tom Tromey <tromey@redhat.com>
1726 * target.h (struct target_ops) <to_trace_init>: Add argument.
1727 (target_trace_init): Add argument.
1728 * target.c (update_current_target): Update.
1729 * remote.c (remote_trace_init): Add 'self' argument.
1731 2014-02-19 Tom Tromey <tromey@redhat.com>
1733 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1734 * target.c (target_fileio_readlink): Add argument.
1735 * remote.c (remote_hostio_readlink): Add 'self' argument.
1736 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1738 2014-02-19 Tom Tromey <tromey@redhat.com>
1740 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1741 * target.c (target_fileio_unlink): Add argument.
1742 * remote.c (remote_hostio_unlink): Add 'self' argument.
1743 (remote_file_delete): Update.
1744 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1746 2014-02-19 Tom Tromey <tromey@redhat.com>
1748 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1749 * target.c (target_fileio_close): Add argument.
1750 * remote.c (remote_hostio_close): Add 'self' argument.
1751 (remote_hostio_close_cleanup): Update.
1752 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1754 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1756 2014-02-19 Tom Tromey <tromey@redhat.com>
1758 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1759 * target.c (target_fileio_pread): Add argument.
1760 * remote.c (remote_hostio_pread): Add 'self' argument.
1761 (remote_bfd_iovec_pread, remote_file_get): Update.
1762 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1764 2014-02-19 Tom Tromey <tromey@redhat.com>
1766 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1767 * target.c (target_fileio_pwrite): Add argument.
1768 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1769 (remote_file_put): Update.
1770 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1772 2014-02-19 Tom Tromey <tromey@redhat.com>
1774 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1775 * target.c (target_fileio_open): Add argument.
1776 * remote.c (remote_hostio_open): Add 'self' argument.
1777 (remote_bfd_iovec_open): Add 'self' argument.
1778 (remote_file_put): Add 'self' argument.
1779 (remote_file_get): Add 'self' argument.
1780 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1782 2014-02-19 Tom Tromey <tromey@redhat.com>
1784 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1786 (target_can_run_breakpoint_commands): Add argument.
1787 * target.c (update_current_target): Update.
1788 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1790 (remote_insert_breakpoint): Add 'self' argument.
1791 (remote_insert_hw_breakpoint): Add 'self' argument.
1792 (remote_can_run_breakpoint_commands): Add 'self' argument.
1794 2014-02-19 Tom Tromey <tromey@redhat.com>
1796 * target.h (struct target_ops)
1797 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1798 (target_supports_evaluation_of_breakpoint_conditions): Add
1800 * target.c (update_current_target): Update.
1801 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1803 (remote_insert_breakpoint): Add 'self' argument.
1804 (remote_insert_hw_breakpoint): Add 'self' argument.
1805 (remote_supports_cond_breakpoints): Add 'self' argument.
1807 2014-02-19 Tom Tromey <tromey@redhat.com>
1809 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1811 (target_supports_string_tracing): Add argument.
1812 * target.c (update_current_target): Update.
1813 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1815 2014-02-19 Tom Tromey <tromey@redhat.com>
1817 * target.h (struct target_ops)
1818 <to_supports_disable_randomization>: Add argument.
1819 * target.c (find_default_supports_disable_randomization): Add
1821 (target_supports_disable_randomization): Add argument.
1822 (find_default_supports_disable_randomization): Add 'self'
1824 * remote.c (extended_remote_supports_disable_randomization): Add
1826 (remote_supports_disable_randomization): Add 'self' argument.
1827 (extended_remote_create_inferior): Update.
1828 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1831 2014-02-19 Tom Tromey <tromey@redhat.com>
1833 * target.h (struct target_ops)
1834 <to_supports_enable_disable_tracepoint>: Add argument.
1835 (target_supports_enable_disable_tracepoint): Add argument.
1836 * target.c (update_current_target): Update.
1837 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1840 2014-02-19 Tom Tromey <tromey@redhat.com>
1842 * target.h (struct target_ops) <to_supports_multi_process>: Add
1844 (target_supports_multi_process): Add argument.
1845 * target.c (update_current_target): Update.
1846 * remote.c (remote_supports_multi_process): Add 'self' argument.
1847 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1849 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1852 2014-02-19 Tom Tromey <tromey@redhat.com>
1854 * target.h (struct target_ops) <to_execution_direction>: Add
1856 (target_execution_direction): Add argument.
1857 * target.c (default_execution_direction): Add 'self' argument.
1858 * record-full.c (record_full_execution_direction): Add 'self'
1861 2014-02-19 Tom Tromey <tromey@redhat.com>
1863 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1865 (target_can_execute_reverse): Add argument.
1866 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1867 * record-full.c (record_full_can_execute_reverse): Add 'self'
1869 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1872 2014-02-19 Tom Tromey <tromey@redhat.com>
1874 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1875 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1877 (target_get_ada_task_ptid): Add argument.
1878 * target.c (update_current_target): Update.
1879 (default_get_ada_task_ptid): Add 'self' argument.
1880 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1881 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1882 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1884 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1886 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1888 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1890 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1891 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1894 2014-02-19 Tom Tromey <tromey@redhat.com>
1896 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1897 (target_goto_bookmark): Add argument.
1898 * target.c (dummy_goto_bookmark): Add 'self' argument.
1899 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1901 2014-02-19 Tom Tromey <tromey@redhat.com>
1903 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1904 (target_get_bookmark): Add argument.
1905 * target.c (dummy_get_bookmark): Add 'self' argument.
1906 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1908 2014-02-19 Tom Tromey <tromey@redhat.com>
1910 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1912 (target_make_corefile_notes): Add argument.
1913 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1914 * procfs.c (procfs_make_note_section): Add 'self' argument.
1915 (procfs_make_note_section): Add 'self' argument.
1916 (procfs_make_note_section): Add 'self' argument.
1917 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1919 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1920 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1921 * exec.c (exec_make_note_section): Add 'self' argument.
1922 (exec_make_note_section): Add 'self' argument.
1924 2014-02-19 Tom Tromey <tromey@redhat.com>
1926 * target.h (struct target_ops) <to_find_memory_regions>: Add
1928 (target_find_memory_regions): Add argument.
1929 * target.c (dummy_find_memory_regions): Add 'self' argument.
1930 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1931 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1932 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1933 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1934 * exec. (exec_do_find_memory_regions): New global.
1935 (exec_set_find_memory_regions): Rewrite.
1936 (exec_find_memory_regions): New function.
1937 (init_exec_ops): Use exec_find_memory_regions.
1939 2014-02-19 Tom Tromey <tromey@redhat.com>
1941 * target.h (struct target_ops) <to_supports_non_stop>: Add
1943 * target.c (find_default_supports_non_stop): Add argument.
1944 (target_supports_non_stop): Add argument.
1945 (find_default_supports_non_stop): Add 'self' argument.
1946 * remote.c (remote_supports_non_stop): Add 'self' argument.
1947 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1949 2014-02-19 Tom Tromey <tromey@redhat.com>
1951 * target.h (struct target_ops) <to_log_command>: Add argument.
1952 (target_log_command): Add argument.
1953 * serial.h (serial_log_command): Add 'self' argument.
1954 * serial.c (serial_log_command): Add 'self' argument.
1956 2014-02-19 Tom Tromey <tromey@redhat.com>
1958 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1959 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1961 (target_pid_to_exec_file): Add argument.
1962 * target.c (debug_to_pid_to_exec_file): Add argument.
1963 (update_current_target): Update.
1964 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1965 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1966 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1967 (linux_handle_extended_wait): Update.
1968 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1969 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1970 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1971 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1973 2014-02-19 Tom Tromey <tromey@redhat.com>
1975 * target.h (struct target_ops) <to_rcmd>: Add argument.
1976 (target_rcmd): Add argument.
1977 * target.c (debug_to_rcmd): Add argument.
1978 (update_current_target, do_monitor_command): Update.
1979 * remote.c (remote_rcmd): Add 'self' argument.
1980 * monitor.c (monitor_rcmd): Add 'self' argument.
1982 2014-02-19 Tom Tromey <tromey@redhat.com>
1984 * windows-nat.c (windows_stop): Add 'self' argument.
1985 * target.h (struct target_ops) <to_stop>: Add argument.
1986 * target.c (target_stop): Add argument.
1987 (debug_to_stop): Add argument.
1988 (update_current_target): Update.
1989 * remote.c (remote_stop): Add 'self' argument.
1990 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1991 (gdbsim_cntrl_c): Update.
1992 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1993 * procfs.c (procfs_stop): Add 'self' argument.
1994 * nto-procfs.c (procfs_stop): Add 'self' argument.
1995 * monitor.c (monitor_stop): Add 'self' argument.
1996 (monitor_open): Update.
1997 * linux-nat.c (linux_nat_stop): Add argument.
1998 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1999 * gnu-nat.c (gnu_stop): Add 'self' argument.
2000 * darwin-nat.c (darwin_stop): Add 'self' argument.
2002 2014-02-19 Tom Tromey <tromey@redhat.com>
2004 * target.h (struct target_ops) <to_thread_name>: Add argument.
2005 * target.c (target_thread_name): Add argument.
2006 (update_current_target): Update.
2007 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
2009 2014-02-19 Tom Tromey <tromey@redhat.com>
2011 * target.h (struct target_ops) <to_extra_thread_info>: Add
2013 (target_extra_thread_info): Add argument.
2014 * target.c (update_current_target): Update.
2015 * remote.c (remote_threads_extra_info): Add 'self' argument.
2016 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
2018 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
2019 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
2020 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
2022 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
2024 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
2026 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
2029 2014-02-19 Tom Tromey <tromey@redhat.com>
2031 * target.h (struct target_ops) <to_program_signals>: Add argument.
2032 * target.c (target_program_signals): Add argument.
2033 * remote.c (remote_program_signals): Add 'self' argument.
2035 2014-02-19 Tom Tromey <tromey@redhat.com>
2037 * target.h (struct target_ops) <to_pass_signals>: Add argument.
2038 * target.c (target_pass_signals): Add argument.
2039 * remote.c (remote_pass_signals): Add 'self' argument.
2040 (remote_start_remote): Update.
2041 * procfs.c (procfs_pass_signals): Add 'self' argument.
2042 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
2043 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
2044 (linux_nat_create_inferior, linux_nat_attach): Update.
2046 2014-02-19 Tom Tromey <tromey@redhat.com>
2048 * windows-nat.c (windows_can_run): Add 'self' argument.
2049 * target.h (struct target_ops) <to_can_run>: Add argument.
2050 (target_can_run): Add argument.
2051 * target.c (debug_to_can_run): Add argument.
2052 (update_current_target): Update.
2053 * nto-procfs.c (procfs_can_run): Add 'self' argument.
2054 * inf-child.c (inf_child_can_run): Add 'self' argument.
2055 * go32-nat.c (go32_can_run): Add 'self' argument.
2057 2014-02-19 Tom Tromey <tromey@redhat.com>
2059 * target.h (struct target_ops) <to_has_exited>: Add argument.
2060 (target_has_exited): Add argument.
2061 * target.c (debug_to_has_exited): Add argument.
2062 (update_current_target): Update.
2064 2014-02-19 Tom Tromey <tromey@redhat.com>
2066 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
2068 (target_set_syscall_catchpoint): Add argument.
2069 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
2071 * target.c (update_current_target): Update.
2073 2014-02-19 Tom Tromey <tromey@redhat.com>
2075 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
2077 (target_remove_exec_catchpoint): Add argument.
2078 * target.c (debug_to_remove_exec_catchpoint): Add argument.
2079 (update_current_target): Update.
2080 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
2083 2014-02-19 Tom Tromey <tromey@redhat.com>
2085 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
2087 (target_insert_exec_catchpoint): Add argument.
2088 * target.c (debug_to_insert_exec_catchpoint): Add argument.
2089 (update_current_target): Update.
2090 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
2093 2014-02-19 Tom Tromey <tromey@redhat.com>
2095 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
2097 (target_remove_vfork_catchpoint): Add argument.
2098 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
2099 (update_current_target): Update.
2100 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
2103 2014-02-19 Tom Tromey <tromey@redhat.com>
2105 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
2107 (target_insert_vfork_catchpoint): Add argument.
2108 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
2109 (update_current_target): Update.
2110 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
2113 2014-02-19 Tom Tromey <tromey@redhat.com>
2115 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
2117 (target_remove_fork_catchpoint): Add argument.
2118 * target.c (debug_to_remove_fork_catchpoint): Add argument.
2119 (update_current_target): Update.
2120 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
2123 2014-02-19 Tom Tromey <tromey@redhat.com>
2125 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
2127 (target_insert_fork_catchpoint): Add argument.
2128 * target.c (debug_to_insert_fork_catchpoint): Add argument.
2129 (update_current_target): Update.
2130 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
2133 2014-02-19 Tom Tromey <tromey@redhat.com>
2135 * target.h (struct target_ops) <to_post_startup_inferior>: Add
2137 (target_post_startup_inferior): Add argument.
2138 * target.c (debug_to_post_startup_inferior): Add argument.
2139 (update_current_target): Update.
2140 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
2142 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
2144 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
2146 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
2148 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
2150 (super_post_startup_inferior): Likewise.
2151 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
2153 (super_post_startup_inferior): Likewise.
2154 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
2155 Add 'self' argument.
2156 (super_post_startup_inferior): Likewise.
2158 2014-02-19 Tom Tromey <tromey@redhat.com>
2160 * target.h (struct target_ops) <to_load>: Add argument.
2161 * target.c (target_load): Add argument.
2162 (debug_to_load): Add argument.
2163 (update_current_target): Update.
2164 * remote.c (remote_load): Add 'self' argument.
2165 * remote-sim.c (gdbsim_load): Add 'self' argument.
2166 * remote-mips.c (mips_load): Add 'self' argument.
2167 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
2168 * monitor.c (monitor_load): Add 'self' argument.
2169 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
2171 2014-02-19 Tom Tromey <tromey@redhat.com>
2173 * target.h (struct target_ops) <to_terminal_info>: Add argument.
2174 (target_terminal_info): Add argument.
2175 * target.c (debug_to_terminal_info): Add argument.
2176 (default_terminal_info): Likewise.
2177 * inflow.c (child_terminal_info): Add 'self' argument.
2178 * inferior.h (child_terminal_info): Add 'self' argument.
2179 * go32-nat.c (go32_terminal_info): Add 'self' argument.
2181 2014-02-19 Tom Tromey <tromey@redhat.com>
2183 * target.h (struct target_ops) <to_terminal_save_ours>: Add
2185 (target_terminal_save_ours): Add argument.
2186 * target.c (debug_to_terminal_save_ours): Add argument.
2187 (update_current_target): Update.
2188 * inflow.c (terminal_save_ours): Add 'self' argument.
2189 * inferior.h (terminal_save_ours): Add 'self' argument.
2191 2014-02-19 Tom Tromey <tromey@redhat.com>
2193 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
2194 (target_terminal_ours): Add argument.
2195 * target.c (debug_to_terminal_ours): Add argument.
2196 (update_current_target): Update.
2197 * remote.c (remote_terminal_ours): Add 'self' argument.
2198 (remote_close): Update.
2199 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
2200 * inflow.c (terminal_ours): Add 'self' argument.
2201 * inferior.h (terminal_ours): Add 'self' argument.
2202 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2204 2014-02-19 Pedro Alves <palves@redhat.com>
2205 Tom Tromey <tromey@redhat.com>
2207 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
2209 (target_terminal_ours_for_output): Add argument.
2210 * target.c (debug_to_terminal_ours_for_output): Add argument.
2211 (update_current_target): Update.
2212 * inflow.c (terminal_ours_for_output): Add 'self' argument.
2213 * inferior.h (terminal_ours_for_output): Add 'self' argument.
2214 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2216 2014-02-19 Tom Tromey <tromey@redhat.com>
2218 * target.h (struct target_ops) <to_terminal_inferior>: Add
2220 * target.c (target_terminal_inferior): Add argument.
2221 (update_current_target): Update.
2222 * remote.c (remote_terminal_inferior): Add 'self' argument.
2223 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
2224 * inflow.c (terminal_inferior): Add 'self' argument.
2225 * inferior.h (terminal_inferior): Add 'self' argument.
2226 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
2227 (go32_terminal_inferior): Add 'self' argument.
2229 2014-02-19 Tom Tromey <tromey@redhat.com>
2231 * target.h (struct target_ops) <to_terminal_init>: Add argument.
2232 (target_terminal_init): Add argument.
2233 * target.c (debug_to_terminal_init): Add argument.
2234 (update_current_target): Update.
2235 * inflow.c (terminal_init_inferior): Add 'self' argument.
2236 * inferior.h (terminal_init_inferior): Add 'self' argument.
2237 * go32-nat.c (go32_terminal_init): Add 'self' argument.
2238 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
2240 2014-02-19 Tom Tromey <tromey@redhat.com>
2242 * target.h (struct target_ops)
2243 <to_can_accel_watchpoint_condition>: Add argument.
2244 (target_can_accel_watchpoint_condition): Add argument.
2245 * target.c (debug_to_can_accel_watchpoint_condition): Add
2247 (update_current_target): Update.
2248 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
2251 2014-02-19 Tom Tromey <tromey@redhat.com>
2253 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2255 (target_region_ok_for_hw_watchpoint): Add argument.
2256 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
2257 (default_region_ok_for_hw_watchpoint): Add argument.
2258 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
2259 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
2261 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
2263 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
2265 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
2267 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
2269 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
2271 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
2272 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
2274 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
2275 Add 'self' argument.
2277 2014-02-19 Tom Tromey <tromey@redhat.com>
2279 * target.h (struct target_ops) <to_insert_watchpoint>: Add
2281 (target_insert_watchpoint): Add argument.
2282 * target.c (debug_to_insert_watchpoint): Add argument.
2283 (update_current_target): Update.
2284 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
2285 * remote.c (remote_insert_watchpoint): Add 'self' argument.
2286 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
2287 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
2288 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
2289 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
2291 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
2292 (procfs_insert_hw_watchpoint): Add 'self' argument.
2293 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
2295 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
2297 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
2299 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
2300 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
2302 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
2305 2014-02-19 Tom Tromey <tromey@redhat.com>
2307 * target.h (struct target_ops) <to_remove_watchpoint>: Add
2309 (target_remove_watchpoint): Add argument.
2310 * target.c (debug_to_remove_watchpoint): Add argument.
2311 (update_current_target): Update.
2312 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
2313 * remote.c (remote_remove_watchpoint): Add 'self' argument.
2314 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
2315 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
2316 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
2317 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
2319 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
2320 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
2322 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
2324 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
2326 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
2327 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
2329 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
2332 2014-02-19 Tom Tromey <tromey@redhat.com>
2334 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
2336 (target_remove_hw_breakpoint): Add argument.
2337 * target.c (debug_to_remove_hw_breakpoint): Add argument.
2338 (update_current_target): Update.
2339 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
2340 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
2342 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
2343 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
2345 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
2348 2014-02-19 Tom Tromey <tromey@redhat.com>
2350 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
2352 (target_insert_hw_breakpoint): Add argument.
2353 * target.c (debug_to_insert_hw_breakpoint): Add argument.
2354 (update_current_target): Update.
2355 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
2356 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
2358 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
2359 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
2360 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
2362 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
2365 2014-02-19 Tom Tromey <tromey@redhat.com>
2367 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
2369 (target_can_use_hardware_watchpoint): Add argument.
2370 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
2371 (update_current_target): Update.
2372 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
2374 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
2376 * remote.c (remote_check_watch_resources): Add 'self' argument.
2377 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
2378 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
2380 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
2381 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
2383 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
2385 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
2387 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
2389 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
2391 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
2393 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
2394 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
2396 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
2399 2014-02-19 Tom Tromey <tromey@redhat.com>
2401 * target.h (struct target_ops) <to_post_attach>: Add argument.
2402 (target_post_attach): Add argument.
2403 * target.c (debug_to_post_attach): Add argument.
2404 (update_current_target): Update.
2405 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
2406 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
2407 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
2408 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
2409 * inf-child.c (inf_child_post_attach): Add 'self' argument.
2411 2014-02-19 Tom Tromey <tromey@redhat.com>
2413 * windows-nat.c (windows_close): Add 'self' argument.
2414 * tracepoint.c (tfile_close): Add 'self' argument.
2415 * target.h (struct target_ops) <to_close>: Add argument.
2416 * target.c (target_close): Add argument.
2417 (update_current_target): Update.
2418 * remote.c (remote_close): Add 'self' argument.
2419 * remote-sim.c (gdbsim_close): Add 'self' argument.
2420 * remote-mips.c (mips_close): Add 'self' argument.
2421 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
2422 * record-full.c (record_full_close): Add 'self' argument.
2423 * record-btrace.c (record_btrace_close): Add 'self' argument.
2424 * monitor.h (monitor_close): Add 'self' argument.
2425 * monitor.c (monitor_close): Add 'self' argument.
2426 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
2427 * linux-nat.c (linux_nat_close): Add argument.
2428 * go32-nat.c (go32_close): Add 'self' argument.
2429 * exec.c (exec_close_1): Add 'self' argument.
2430 * ctf.c (ctf_close): Add 'self' argument.
2431 * corelow.c (core_close): Add 'self' argument.
2432 (core_close_cleanup): Update.
2433 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
2434 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
2436 2014-02-19 Tom Tromey <tromey@redhat.com>
2438 * remote.c (remote_load): New function.
2439 (init_remote_ops): Use it.
2441 2014-02-19 Tom Tromey <tromey@redhat.com>
2443 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
2445 * common/linux-btrace.h (linux_supports_btrace): Update.
2446 * remote.c (remote_supports_btrace): Add "self" argument.
2447 * target-delegates.c: Rebuild.
2448 * target.c (target_supports_btrace): Remove.
2449 * target.h (struct target_ops) <to_supports_btrace>: Add
2450 target_ops argument.
2451 (target_supports_btrace): New define.
2453 2014-02-19 Tom Tromey <tromey@redhat.com>
2455 * record-full.c (record_full_beneath_to_resume_ops)
2456 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
2457 (record_full_beneath_to_wait)
2458 (record_full_beneath_to_store_registers_ops)
2459 (record_full_beneath_to_store_registers)
2460 (record_full_beneath_to_xfer_partial_ops)
2461 (record_full_beneath_to_xfer_partial)
2462 (record_full_beneath_to_insert_breakpoint_ops)
2463 (record_full_beneath_to_insert_breakpoint)
2464 (record_full_beneath_to_remove_breakpoint_ops)
2465 (record_full_beneath_to_remove_breakpoint)
2466 (record_full_beneath_to_stopped_by_watchpoint)
2467 (record_full_beneath_to_stopped_data_address)
2468 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
2469 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
2470 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
2471 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
2472 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
2473 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
2474 (tmp_to_stopped_data_address, tmp_to_async): Remove.
2475 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
2476 (record_full_resume, record_full_wait_1)
2477 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
2478 (record_full_store_registers, record_full_xfer_partial)
2479 (record_full_insert_breakpoint, record_full_remove_breakpoint)
2480 (record_full_async, record_full_core_xfer_partial): Use target
2482 * target-delegates.c: Rebuild.
2483 * target.c (current_xfer_partial): Remove.
2484 (update_current_target): Do not INHERIT or de_fault
2485 to_insert_breakpoint, to_remove_breakpoint,
2486 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
2487 to_is_async_p, to_async. Do not set to_xfer_partial field.
2488 (default_xfer_partial): Simplify.
2489 (current_xfer_partial): Remove.
2490 (target_wait, target_resume): Simplify.
2491 (find_default_can_async_p, find_default_is_async_p): Update.
2492 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
2493 to_xfer_partial, to_stopped_by_watchpoint,
2494 to_stopped_data_address.
2495 (target_store_registers): Simplify.
2496 (forward_target_remove_breakpoint)
2497 (forward_target_insert_breakpoint): Remove.
2498 (target_remove_breakpoint, target_insert_breakpoint)
2499 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
2500 * target.h (struct target_ops) <to_resume, to_wait,
2501 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
2502 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
2503 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
2505 (forward_target_remove_breakpoint)
2506 (forward_target_insert_breakpoint): Remove.
2507 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
2509 (record_btrace_insert_breakpoint): Delegate directly.
2511 2014-02-19 Tom Tromey <tromey@redhat.com>
2514 * target-delegates.c: New file.
2515 * target.c: Include target-delegates.c.
2516 (init_dummy_target): Call install_dummy_methods.
2517 (complete_target_initialization): Call install_delegators.
2518 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
2519 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
2520 * make-target-delegates: New file.
2522 2014-02-19 Tom Tromey <tromey@redhat.com>
2524 * record.c (find_record_target): Use find_target_at.
2525 * target.c (find_target_at): New function.
2526 * target.h (find_target_at): Declare.
2528 2014-02-19 Tom Tromey <tromey@redhat.com>
2530 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
2532 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
2534 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
2535 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
2537 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
2539 * linux-nat.c (save_sigtrap): Update.
2540 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
2541 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
2542 (linux_nat_close): Update.
2543 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
2545 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
2547 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
2548 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
2549 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
2550 (tmp_to_async): Add 'ops' argument.
2551 (record_full_stopped_by_watchpoint, record_full_async)
2552 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
2554 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
2555 (m32r_stopped_by_watchpoint): Add 'ops' argument.
2556 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
2557 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
2558 (remote_is_async_p, remote_async): Add 'ops' argument.
2559 (remote_stopped_data_address): Update.
2560 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
2561 * target.c (update_current_target)
2562 (find_default_can_async_p, find_default_is_async_p): Update.
2563 (init_dummy_target): Update.
2564 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
2565 * target.h (struct target_ops) <to_stopped_by_watchpoint,
2566 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
2567 (target_can_async_p, target_is_async_p, target_async)
2568 (target_stopped_by_watchpoint): Update.
2570 2014-02-19 Yao Qi <yao@codesourcery.com>
2573 * gdbarch.sh: Remove startup_gdbarch.
2574 * gdbarch.c: Regenerated.
2575 * gdbarch.h: Likewise.
2577 2014-02-17 Kevin Buettner <kevinb@redhat.com>
2579 * rl78-tdep.c (rl78_g10_register_name): New function.
2580 (rl78_return_value): Add g10 support.
2581 (rl78_gdbarch_init): Register rl78_g10_register_name for the
2584 2014-02-17 Doug Evans <xdje42@gmail.com>
2586 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
2587 (SUBDIR_GUILE_SRCS): Ditto.
2588 (scm-gsmob.o): Ditto.
2590 2014-02-17 Yao Qi <yao@codesourcery.com>
2592 * gnu-nat.c (ILL_RPC): Declare defined function.
2594 2014-02-17 Yao Qi <yao@codesourcery.com>
2596 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
2597 mach_msg_type_number_t.
2598 (gnu_write_inferior): Likewise.
2600 2014-02-17 Yao Qi <yao@codesourcery.com>
2602 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
2604 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
2605 (inf_validate_procs, inf_signal): Likewise.
2606 (S_exception_raise_request): Likewise.
2607 (do_mach_notify_dead_name): Likewise.
2608 (steal_exc_port): Likewise.
2609 (gnu_read_inferior): Change 'copy_count''s type to
2610 mach_msg_type_number_t.
2611 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
2614 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
2616 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
2617 flag. Adjust all users; in particular...
2618 (gnu_wait): ..., don't decrement its value in here...
2619 (gnu_create_inferior): ..., and instead set the flag in here,
2620 around the startup_inferior call, and call that one with
2621 START_INFERIOR_TRAPS_EXPECTED.
2623 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
2624 (ILL_RPC): ... new macro.
2625 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
2626 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
2627 (do_mach_notify_send_once, S_proc_setmsgport_reply)
2628 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
2629 functions with ILL_RPC macro.
2630 (S_proc_pid2task_reply, S_proc_task2pid_reply)
2631 (S_proc_task2proc_reply, S_proc_proc2task_reply)
2632 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
2633 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
2634 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
2635 (S_proc_getlogin_reply, S_proc_getsid_reply)
2636 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
2637 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
2638 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
2639 (S_proc_getnports_reply, S_proc_is_important_reply)
2640 (S_proc_get_code_reply): New stub functions, generated with
2643 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
2644 collected the type check structures.
2646 * reply_mig_hack.awk: Don't expect to see the auto keyword.
2648 2014-02-14 Doug Evans <dje@google.com>
2650 * target.c (target_write_partial): Fix result type.
2652 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2654 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
2655 the proper offsets to access fpregset_t.
2657 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
2659 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
2660 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
2661 * h8300-tdep.c (setmachinelist): Remove global.
2662 * hppa-tdep.c (hppa_sigtramp): Remove global.
2663 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
2664 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
2665 * ravenscar-thread.c (update_target_observer): Remove global.
2666 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
2668 2014-02-12 Tom Tromey <tromey@redhat.com>
2670 * common/rsp-low.c: Update comments.
2671 * common/rsp-low.h: Update comments.
2673 2014-02-12 Tom Tromey <tromey@redhat.com>
2675 * common/rsp-low.c (convert_ascii_to_int): Remove.
2676 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
2678 2014-02-12 Tom Tromey <tromey@redhat.com>
2680 * common/rsp-low.h (unhexify): Don't declare.
2681 * common/rsp-low.c (unhexify): Remove.
2683 2014-02-12 Tom Tromey <tromey@redhat.com>
2685 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
2686 * common/rsp-low.c (convert_int_to_ascii): Remove.
2688 2014-02-12 Tom Tromey <tromey@redhat.com>
2690 * common/rsp-low.h (hexify): Don't declare.
2691 * common/rsp-low.c (hexify): Remove.
2693 2014-02-12 Tom Tromey <tromey@redhat.com>
2695 * common/rsp-low.c (hexify): Never take strlen of argument.
2697 2014-02-12 Tom Tromey <tromey@redhat.com>
2699 * common/rsp-low.c (bin2hex): Never take strlen of argument.
2700 * remote.c (extended_remote_run, remote_rcmd)
2701 (remote_download_trace_state_variable, remote_save_trace_data)
2702 (remote_set_trace_notes): Update.
2703 * tracepoint.c (encode_source_string, tfile_write_status)
2704 (tfile_write_uploaded_tsv): Update.
2706 2014-02-12 Tom Tromey <tromey@redhat.com>
2708 * tracepoint.c: Include rsp-low.h.
2709 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
2710 * remote.c: Include rsp-low.h.
2711 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
2712 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
2713 (remote_unescape_input): Move to common/rsp-low.c.
2714 * common/rsp-low.h: New file.
2715 * common/rsp-low.c: New file.
2716 * Makefile.in (SFILES): Add common/rsp-low.c.
2717 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
2718 (COMMON_OBS): Add rsp-low.o.
2719 (rsp-low.o): New target.
2721 2014-02-12 Tom Tromey <tromey@redhat.com>
2723 * utils.h: Include print-utils.h.
2724 (host_address_to_string, plongest, pulongest, phex, phex_nz)
2725 (int_string, core_addr_to_string, core_addr_to_string_nz)
2726 (hex_string, hex_string_custom): Don't declare.
2727 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2728 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2729 (hex_string_custom, int_string, core_addr_to_string)
2730 (core_addr_to_string_nz, host_address_to_string): Move to
2731 common/print-utils.c.
2732 * common/print-utils.h: New file.
2733 * common/print-utils.c: New file
2734 * Makefile.in (SFILES): Add common/print-utils.c.
2735 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2736 (COMMON_OBS): Add print-utils.o.
2737 (print-utils.o): New target.
2739 2014-02-12 Tom Tromey <tromey@redhat.com>
2741 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2743 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2745 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2747 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2749 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2750 if a PT_IO ptrace request returns sucessfully but indicates that 0
2751 bytes were transferred.
2753 2014-02-12 Pedro Alves <palves@redhat.com>
2754 Kevin Buettner <kevinb@redhat.com>
2756 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2757 TYPE_INSTANCE_FLAG_CODE_SPACE.
2759 2014-02-12 Pedro Alves <palves@redhat.com>
2761 * h8300-tdep.c (pseudo_from_raw_register)
2762 (raw_from_pseudo_register): New functions.
2763 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2766 2014-02-12 Pedro Alves <palves@redhat.com>
2768 * h8300-tdep.c (h8300_register_sim_regno): New function.
2769 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2770 gdbarch_register_sim_regno hook.
2772 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2774 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2776 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2778 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2780 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2782 * obsd-tdep.h (obsd_init_abi): New prototype.
2783 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2784 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2785 (obsd_init_abi): New functions.
2786 * i386obsd-tdep.c: Include "obsd-tdep.h".
2787 (i386obsd_init_abi): Call obsd_init_abi.
2788 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2789 (amd64obsd_init_abi): Call obsd_init_abi.
2790 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2791 obsd-tdep.c to gdb_target_obs.
2793 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2795 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2796 double float arguments to 16-byte in the argument slots.
2798 2014-02-11 Doug Evans <xdje42@gmail.com>
2800 * configure.ac: Don't crash if pkg-config is not found and guile
2801 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2803 * configure: Regenerate.
2805 2014-02-11 Yao Qi <yao@codesourcery.com>
2807 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2808 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2809 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2810 * gnu-nat.c (gnu_xfer_memory): Likewise.
2811 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2812 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2813 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2814 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2816 2014-02-11 Yao Qi <yao@codesourcery.com>
2818 * target.h (enum target_xfer_error): Rename to ...
2819 (enum target_xfer_status): ... it. New. All users updated.
2820 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2822 (TARGET_XFER_STATUS_ERROR_P): New macro.
2823 (target_xfer_error_to_string): Remove declaration.
2824 (target_xfer_status_to_string): Declare.
2825 (target_xfer_partial_ftype): Adjust it.
2826 (struct target_ops) <to_xfer_partial>: Return
2827 target_xfer_status. Add argument xfered_len. Update
2829 * target.c (target_xfer_error_to_string): Rename to ...
2830 (target_xfer_status_to_string): ... it. New. All callers
2832 (target_read_live_memory): Likewise. Call target_xfer_partial
2833 instead of target_read.
2834 (memory_xfer_live_readonly_partial): Return
2835 target_xfer_status. Add argument xfered_len.
2836 (raw_memory_xfer_partial): Likewise.
2837 (memory_xfer_partial_1): Likewise.
2838 (memory_xfer_partial): Likewise.
2839 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2840 properly. Update debug message.
2841 (default_xfer_partial, current_xfer_partial): Likewise.
2842 (target_write_partial): Likewise.
2843 (target_read_partial): Likewise. All callers updated.
2844 (read_whatever_is_readable): Likewise.
2845 (target_write_with_progress): Likewise.
2846 (target_read_alloc_1): Likewise.
2848 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2849 * auxv.c (procfs_xfer_auxv): Likewise.
2850 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2851 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2852 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2853 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2854 * corefile.c (read_memory): Adjust.
2855 * corelow.c (core_xfer_partial): Likewise.
2856 * ctf.c (ctf_xfer_partial): Likewise.
2857 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2859 (darwin_xfer_partial): Likewise.
2860 * exec.c (section_table_xfer_memory_partial): Likewise. All
2862 (exec_xfer_partial): Likewise.
2863 * exec.h (section_table_xfer_memory_partial): Update
2865 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2867 (gnu_xfer_partial): Likewise.
2868 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2869 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2870 (ia64_hpux_xfer_solib_got): Likewise.
2871 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2872 type of 'partial_len' to ULONGEST.
2873 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2874 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2875 (linux_nat_xfer_partial): Likewise.
2876 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2877 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2878 * monitor.c (monitor_xfer_memory): Likewise.
2879 (monitor_xfer_partial): Likewise.
2880 * procfs.c (procfs_xfer_partial): Likewise.
2881 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2882 * record-full.c (record_full_xfer_partial): Likewise.
2883 (record_full_core_xfer_partial): Likewise.
2884 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2885 (gdbsim_xfer_partial): Likewise.
2886 * remote.c (remote_write_bytes_aux): Likewise. All callers
2888 (remote_write_bytes, remote_read_bytes): Likewise. All
2890 (remote_flash_erase): Likewise. All callers updated.
2891 (remote_write_qxfer): Likewise. All callers updated.
2892 (remote_read_qxfer): Likewise. All callers updated.
2893 (remote_xfer_partial): Likewise.
2894 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2895 (rs6000_xfer_shared_libraries): Likewise.
2896 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2897 (sol_thread_xfer_partial): Likewise.
2898 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2899 (sparc_xfer_partial): Likewise.
2900 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2902 (spu_xfer_partial): Likewise.
2903 * spu-multiarch.c (spu_xfer_partial): Likewise.
2904 * tracepoint.c (tfile_xfer_partial): Likewise.
2905 * windows-nat.c (windows_xfer_memory): Likewise.
2906 (windows_xfer_shared_libraries): Likewise.
2907 (windows_xfer_partial): Likewise.
2908 * valprint.c: Replace 'target_xfer_error' with
2909 'target_xfer_status' in comments.
2911 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2913 Checked in by Joel Brobecker <brobecker@adacore.com>.
2914 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2916 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2918 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2919 function parameters.
2921 2014-02-10 Will Newton <will.newton@linaro.org>
2923 * elfread.c (elf_rel_plt_read): Look for a .got section if
2924 looking up .got.plt fails.
2925 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2926 on address passed to elf_gnu_ifunc_record_cache.
2927 (elf_gnu_ifunc_resolve_addr): Likewise.
2928 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2930 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2932 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2933 (X_RETTURN): New macro.
2934 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2936 * sparc64-tdep.c (sparc64_init_abi): Hook
2937 sparc_in_function_epilogue_p.
2939 2014-02-10 Gary Benson <gbenson@redhat.com>
2941 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2942 Rename name_matcher to symbol_matcher.
2944 2014-02-10 Gary Benson <gbenson@redhat.com>
2946 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2947 Use expand_symtabs_file_matcher_ftype and
2948 expand_symtabs_symbol_matcher_ftype.
2950 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2952 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2953 (struct ada_symbol_cache): New.
2954 (ada_free_symbol_cache): Forward declare.
2955 (struct ada_pspace_data): New.
2956 (ada_pspace_data_handle): New static global.
2957 (get_ada_pspace_data, ada_pspace_data_cleanup)
2958 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2959 (cache_space, cache): Delete, now folded inside struct
2961 (ada_get_symbol_cache): New function.
2962 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2964 (_initialize_ada_language): Remove initialization of cache_space.
2965 Move call to observer_attach_inferior_exit up, grouping it
2966 with the other observer registrations inside this function.
2967 Rename command to be more general. Add call to
2968 register_program_space_data_with_cleanup.
2970 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2972 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2973 ada_new_objfile_observer.
2974 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2975 (_initialize_tasks): Update uses of ada_new_objfile_observer
2976 and ada_tasks_normal_stop_observer.
2978 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2980 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2981 returned by the 'Length attribute to integer.
2983 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2985 * ada-lang.c (_initialize_ada_language): Initialize
2986 cache_space obstack.
2988 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2990 * ada-lang.c (HASH_SIZE): New macro.
2991 (struct cache_entry): New type.
2992 (cache_space, cache): New static globals.
2993 (ada_clear_symbol_cache, find_entry): New functions.
2994 (lookup_cached_symbol, cache_symbol): Implement.
2995 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2996 (_initialize_ada_language): Attach ada_new_objfile_observer
2997 and ada_free_objfile_observer.
2999 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3001 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
3002 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
3003 struct block * parameter.
3004 (ada_lookup_symbol_list_worker): Constify local variable "block".
3005 Remove cast which is no longer necessary.
3007 2014-02-10 Doug Evans <xdje42@gmail.com>
3009 Add Guile as an extension language.
3010 * NEWS: Mention Guile scripting.
3011 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
3012 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
3013 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
3014 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
3015 (CLIBS): Add GUILE_LIBS.
3016 (install-guile): New rule.
3017 (guile.o): New rule.
3018 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
3019 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
3020 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
3021 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
3022 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
3023 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
3024 (scm-type.o, scm-utils.o, scm-value.o): New rules.
3025 * configure.ac: New option --with-guile.
3026 * configure: Regenerate.
3027 * config.in: Regenerate.
3028 * auto-load.c: Remove #include "python/python.h". Add #include
3029 "gdb/section-scripts.h".
3030 (source_section_scripts): Handle Guile scripts.
3031 (_initialize_auto_load): Add name of Guile objfile script to
3032 scripts-directory help text.
3033 * breakpoint.c (condition_command): Tweak comment to include Scheme.
3034 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
3035 (struct breakpoint): New member scm_bp_object.
3036 * defs.h (enum command_control_type): New value guile_control.
3037 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
3039 (show_user): Update comment.
3040 (_initialize_cli_cmds): Update help text for "show user". Update help
3041 text for max-user-call-depth.
3042 * cli/cli-script.c: Remove #include "python/python.h". Add #include
3044 (multi_line_command_p): Add guile_control.
3045 (print_command_lines): Handle guile_control.
3046 (execute_control_command, recurse_read_control_structure): Ditto.
3047 (process_next_line): Recognize "guile" commands.
3048 * disasm.c (gdb_disassemble_info): Make non-static.
3049 * disasm.h: #include "dis-asm.h".
3050 (struct gdbarch): Add forward decl.
3051 (gdb_disassemble_info): Declare.
3052 * extension.c: #include "guile/guile.h".
3053 (extension_languages): Add guile.
3054 (get_ext_lang_defn): Handle EXT_LANG_GDB.
3055 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
3056 * gdbtypes.c (get_unsigned_type_max): New function.
3057 (get_signed_type_minmax): New function.
3058 * gdbtypes.h (get_unsigned_type_max): Declare.
3059 (get_signed_type_minmax): Declare.
3060 * guile/README: New file.
3061 * guile/guile-internal.h: New file.
3062 * guile/guile.c: New file.
3063 * guile/guile.h: New file.
3064 * guile/scm-arch.c: New file.
3065 * guile/scm-auto-load.c: New file.
3066 * guile/scm-block.c: New file.
3067 * guile/scm-breakpoint.c: New file.
3068 * guile/scm-disasm.c: New file.
3069 * guile/scm-exception.c: New file.
3070 * guile/scm-frame.c: New file.
3071 * guile/scm-gsmob.c: New file.
3072 * guile/scm-iterator.c: New file.
3073 * guile/scm-lazy-string.c: New file.
3074 * guile/scm-math.c: New file.
3075 * guile/scm-objfile.c: New file.
3076 * guile/scm-ports.c: New file.
3077 * guile/scm-pretty-print.c: New file.
3078 * guile/scm-safe-call.c: New file.
3079 * guile/scm-string.c: New file.
3080 * guile/scm-symbol.c: New file.
3081 * guile/scm-symtab.c: New file.
3082 * guile/scm-type.c: New file.
3083 * guile/scm-utils.c: New file.
3084 * guile/scm-value.c: New file.
3085 * guile/lib/gdb.scm: New file.
3086 * guile/lib/gdb/boot.scm: New file.
3087 * guile/lib/gdb/experimental.scm: New file.
3088 * guile/lib/gdb/init.scm: New file.
3089 * guile/lib/gdb/iterator.scm: New file.
3090 * guile/lib/gdb/printing.scm: New file.
3091 * guile/lib/gdb/types.scm: New file.
3092 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
3093 (VPATH): Add $(GUILE_SRCDIR).
3094 (GUILE_DIR): New variable.
3095 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
3096 (all): Add stamp-guile dependency.
3097 (stamp-guile): New rule.
3098 (clean-guile, install-guile, uninstall-guile): New rules.
3099 (install-only): Add install-guile dependency.
3100 (uninstall): Add uninstall-guile dependency.
3101 (clean): Add clean-guile dependency.
3103 2014-02-09 Doug Evans <xdje42@gmail.com>
3105 Revert this patch (which I approved, mea culpa).
3107 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3109 * Makefile.in (all-lib): Remove.
3110 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3112 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3114 Fix Python stack corruption.
3115 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
3118 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3120 * Makefile.in (all-lib): Remove.
3121 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3123 2014-02-07 Doug Evans <dje@google.com>
3125 * extension-priv.h (extension_language_script_ops): Add comment.
3126 (extension_language_ops): Add comment.
3127 (active_ext_lang_state): Fix typo in comment.
3129 2014-02-07 Pedro Alves <palves@redhat.com>
3131 * infrun.c (handle_signal_stop) <signal arrives while stepping
3132 over a breakpoint>: Switch back to the stepping thread.
3134 2014-02-07 Yao Qi <yao@codesourcery.com>
3136 * target.c (target_xfer_partial): Return zero if LEN is zero.
3138 2014-02-07 Yao Qi <yao@codesourcery.com>
3140 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
3141 (ld_so_xfer_auxv): Likewise.
3142 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3143 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3144 * corelow.c (core_xfer_partial): Likewise.
3145 * ctf.c (ctf_xfer_partial): Likewise.
3146 * darwin-nat.c (darwin_read_dyld_info): Likewise.
3147 (darwin_xfer_partial): Likewise.
3148 * exec.c (exec_xfer_partial): Likewise.
3149 * gnu-nat.c (gnu_xfer_partial): Likewise.
3150 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
3151 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
3152 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
3153 * linux-nat.c (linux_xfer_siginfo): Likewise.
3154 (linux_proc_xfer_spu): Likewise.
3155 * procfs.c (procfs_xfer_partial): Likewise.
3156 * record-full.c (record_full_xfer_partial): Likewise.
3157 (record_full_core_xfer_partial): Likewise.
3158 * remote-sim.c (gdbsim_xfer_partial): Likewise.
3159 * remote.c (remote_write_qxfer): Likewise.
3160 (remote_write_qxfer, remote_read_qxfer): Likewise.
3161 (remote_xfer_partial): Likewise.
3162 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3163 (rs6000_xfer_shared_libraries): Likewise.
3164 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3165 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3166 (spu_xfer_partial): Likewise.
3167 * target.c (memory_xfer_partial_1): Likewise.
3168 * tracepoint.c (tfile_xfer_partial): Likewise.
3169 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
3170 (windows_xfer_partial): Likewise.
3172 2014-02-07 Yao Qi <yao@codesourcery.com>
3174 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
3176 (core_xfer_shared_libraries_aix): Likewise.
3177 * gdbarch.c, gdbarch.h: Regenerated.
3178 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
3179 ULONGEST. Change 'len_avail' type to ULONGEST.
3180 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3181 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3183 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
3185 2014-02-07 Yao Qi <yao@codesourcery.com>
3187 * corefile.c (memory_error): Get 'exception' from ERR and pass
3188 'exception' to throw_error.
3190 2014-02-06 Doug Evans <xdje42@gmail.com>
3192 * configure.ac (libpython checking): Remove all but python.o from
3193 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
3194 * configure: Regenerate.
3196 * Makefile.in (SFILES): Add extension.c.
3197 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
3198 (COMMON_OBS): Add extension.o.
3199 * extension.h: New file.
3200 * extension-priv.h: New file.
3201 * extension.c: New file.
3203 * python/python-internal.h: #include "extension.h".
3204 (gdbpy_auto_load_enabled): Declare.
3205 (gdbpy_apply_val_pretty_printer): Declare.
3206 (gdbpy_apply_frame_filter): Declare.
3207 (gdbpy_preserve_values): Declare.
3208 (gdbpy_breakpoint_cond_says_stop): Declare.
3209 (gdbpy_breakpoint_has_cond): Declare.
3210 (void source_python_script_for_objfile): Delete.
3211 * python/python.c: #include "extension-priv.h".
3212 Delete inclusion of "observer.h".
3213 (extension_language_python): Moved here and renamed from
3214 script_language_python in py-auto-load.c.
3215 Redefined to be of type extension_language_defn.
3216 (python_extension_script_ops): New global.
3217 (python_extension_ops): New global.
3218 (struct python_env): New member previous_active.
3219 (restore_python_env): Call restore_active_ext_lang.
3220 (ensure_python_env): Call set_active_ext_lang.
3221 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
3223 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
3225 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
3227 (gdbpy_eval_from_control_command): Renamed from
3228 eval_python_from_control_command, made static. New arg extlang.
3229 (gdbpy_source_script) Renamed from source_python_script, made static.
3231 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
3232 result to int. New arg extlang.
3233 (gdbpy_source_objfile_script): Renamed from
3234 source_python_script_for_objfile, made static. New arg extlang.
3235 (gdbpy_start_type_printers): Renamed from start_type_printers, made
3236 static. New args extlang, extlang_printers. Change result type to
3238 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
3239 static. New arg extlang. Rename arg printers to extlang_printers
3240 and change type to ext_lang_type_printers *.
3241 (gdbpy_free_type_printers): Renamed from free_type_printers, made
3242 static. Replace argument arg with extlang, extlang_printers.
3243 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
3244 (!HAVE_PYTHON, source_python_script): Delete.
3245 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
3246 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
3247 (!HAVE_PYTHON, start_type_printers): Delete.
3248 (!HAVE_PYTHON, apply_type_printers): Delete.
3249 (!HAVE_PYTHON, free_type_printers): Delete.
3250 (_initialize_python): Delete call to observer_attach_before_prompt.
3251 (finalize_python): Set/restore active extension language.
3252 (gdbpy_finish_initialization) Renamed from
3253 finish_python_initialization, made static. New arg extlang.
3254 (gdbpy_initialized): New function.
3255 * python/python.h: #include "extension.h". Delete #include
3256 "value.h", "mi/mi-cmds.h".
3257 (extension_language_python): Declare.
3258 (GDBPY_AUTO_FILE_NAME): Delete.
3259 (enum py_bt_status): Moved to extension.h and renamed to
3261 (enum frame_filter_flags): Moved to extension.h.
3262 (enum py_frame_args): Moved to extension.h and renamed to
3263 ext_lang_frame_args.
3264 (finish_python_initialization): Delete.
3265 (eval_python_from_control_command): Delete.
3266 (source_python_script): Delete.
3267 (apply_val_pretty_printer): Delete.
3268 (apply_frame_filter): Delete.
3269 (preserve_python_values): Delete.
3270 (gdbpy_script_language_defn): Delete.
3271 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
3272 (start_type_printers, apply_type_printers, free_type_printers): Delete.
3274 * auto-load.c: #include "extension.h".
3275 (GDB_AUTO_FILE_NAME): Delete.
3276 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
3277 (script_language_gdb): Delete, moved to extension.c and renamed to
3278 extension_language_gdb.
3279 (source_gdb_script_for_objfile): Delete.
3280 (auto_load_pspace_info): New member unsupported_script_warning_printed.
3281 (loaded_script): Change type of language member to
3282 struct extension_language_defn *.
3283 (init_loaded_scripts_info): Initialize
3284 unsupported_script_warning_printed.
3285 (maybe_add_script): Make static. Change type of language arg to
3286 struct extension_language_defn *.
3287 (clear_section_scripts): Reset unsupported_script_warning_printed.
3288 (auto_load_objfile_script_1): Rewrite to use extension language API.
3289 (auto_load_objfile_script): Make public. Remove support-compiled-in
3290 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
3291 (source_section_scripts): Rewrite to use extension language API.
3292 (load_auto_scripts_for_objfile): Rewrite to use
3293 auto_load_scripts_for_objfile.
3294 (collect_matching_scripts_data): Change type of language member to
3295 struct extension_language_defn *.
3296 (auto_load_info_scripts): Change type of language arg to
3297 struct extension_language_defn *.
3298 (unsupported_script_warning_print): New function.
3299 (script_not_found_warning_print): Make static.
3300 (_initialize_auto_load): Rewrite construction of scripts-directory
3302 * auto-load.h (struct objfile): Add forward decl.
3303 (struct script_language): Delete.
3304 (struct auto_load_pspace_info): Add forward decl.
3305 (struct extension_language_defn): Add forward decl.
3306 (maybe_add_script): Delete.
3307 (auto_load_objfile_script): Declare.
3308 (script_not_found_warning_print): Delete.
3309 (auto_load_info_scripts): Update prototype.
3310 (auto_load_gdb_scripts_enabled): Declare.
3311 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
3312 auto_load_python_scripts_enabled and made public.
3313 (script_language_python): Delete, moved to python.c.
3314 (gdbpy_script_language_defn): Delete.
3315 (info_auto_load_python_scripts): Update to use
3316 extension_language_python.
3318 * breakpoint.c (condition_command): Replace call to
3319 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
3320 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
3321 with call to breakpoint_ext_lang_cond_says_stop.
3322 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
3323 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
3324 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
3325 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
3327 (local_setattro): Print name of extension language with existing
3330 * valprint.c (val_print, value_print): Update to call
3331 apply_ext_lang_val_pretty_printer.
3332 * cp-valprint.c (cp_print_value): Update call to
3333 apply_ext_lang_val_pretty_printer.
3334 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
3335 (gdbpy_apply_val_pretty_printer): Renamed from
3336 apply_val_pretty_printer. New arg extlang.
3337 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
3339 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
3340 extension language API.
3341 * cli/cli-script.c (execute_control_command): Update to call
3342 eval_ext_lang_from_control_command.
3344 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
3345 enum ext_lang_bt_status values. Update call to
3346 apply_ext_lang_frame_filter.
3347 (mi_cmd_stack_list_locals): Ditto.
3348 (mi_cmd_stack_list_args): Ditto.
3349 (mi_cmd_stack_list_variables): Ditto.
3350 * mi/mi-main.c: Delete #include "python/python-internal.h".
3351 Add #include "extension.h".
3352 (mi_cmd_list_features): Replace reference to python internal variable
3353 gdb_python_initialized with call to ext_lang_initialized_p.
3355 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
3356 Update to use enum ext_lang_frame_args. Update to call
3357 apply_ext_lang_frame_filter.
3358 * python/py-framefilter.c (extract_sym): Update to use enum
3360 (extract_value, py_print_type, py_print_value): Ditto.
3361 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
3362 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
3363 (py_print_frame): Ditto.
3364 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
3365 New arg extlang. Update to use enum ext_lang_bt_status.
3367 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
3368 finish_python_initialization. Replace with call to
3369 finish_ext_lang_initialization.
3371 * typeprint.c (do_free_global_table): Update to call
3372 free_ext_lang_type_printers.
3373 (create_global_typedef_table): Update to call
3374 start_ext_lang_type_printers.
3375 (find_global_typedef): Update to call apply_ext_lang_type_printers.
3376 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
3377 (type_print_options): Change type of global_printers from "void *"
3378 to "struct ext_lang_type_printers *".
3380 * value.c (preserve_values): Update to call preserve_ext_lang_values.
3381 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
3382 (gdbpy_preserve_values): Renamed from preserve_python_values.
3384 (!HAVE_PYTHON, preserve_python_values): Delete.
3386 * utils.c (quit_flag): Delete, moved to extension.c.
3387 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
3390 * eval.c: Delete #include "python/python.h".
3391 * main.c: Delete #include "python/python.h".
3393 * defs.h: Update comment.
3395 2014-02-06 Joel Brobecker <brobecker@adacore.com>
3399 2014-02-05 Mark Kettenis <kettenis@gnu.org>
3401 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
3404 2014-02-05 Yao Qi <yao@codesourcery.com>
3406 * remote.c (remote_pass_signals): Remove local 'buf' and use
3408 (remote_program_signals): Likewise.
3410 2014-02-05 Yao Qi <yao@codesourcery.com>
3412 * ctf.c: Include "inferior.h" and "gdbthread.h".
3413 (CTF_PID): A new macro.
3414 (ctf_open): Call inferior_appeared and add_thread_silent.
3415 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
3416 (ctf_thread_alive): New function.
3417 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
3419 2014-02-05 Yao Qi <yao@codesourcery.com>
3423 2013-05-24 Yao Qi <yao@codesourcery.com>
3425 * tracepoint.c (TFILE_PID): Remove.
3426 (tfile_open): Don't add thread and inferior.
3427 (tfile_close): Don't set 'inferior_ptid'. Don't call
3428 exit_inferior_silent.
3429 (tfile_thread_alive): Remove.
3430 (init_tfile_ops): Don't set field 'to_thread_alive' of
3433 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
3435 * remote.c (remote_start_remote): Call remote_check_symbols even
3436 if only symbol-file (not file) has been given.
3438 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3440 * gdbarch.sh (skip_entrypoint): New callback.
3441 * gdbarch.c, gdbarch.h: Regenerate.
3442 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
3443 * infrun.c (fill_in_stop_func): Likewise.
3444 * ppc-linux-tdep.c: Include "elf/ppc64.h".
3445 (ppc_elfv2_elf_make_msymbol_special): New function.
3446 (ppc_elfv2_skip_entrypoint): Likewise.
3447 (ppc_linux_init_abi): Install them for ELFv2.
3449 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3451 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
3452 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
3453 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
3454 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
3455 structures returned in GPRs.
3457 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3459 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
3460 offset to the stack parameter list for the ELFv2 ABI.
3462 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3464 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
3465 set_gdbarch_convert_from_func_ptr_addr and
3466 set_gdbarch_elf_make_msymbol_special for ELFv1.
3467 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
3468 function descriptors on ELFv1.
3469 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
3470 set up r12 at function entry.
3472 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3474 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
3475 (struct gdbarch_tdep): New member elf_abi.
3477 * rs6000-tdep.c: Include "elf/ppc64.h".
3478 (rs6000_gdbarch_init): Detect ELF ABI version.
3480 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3482 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
3483 within a register pair holding a DFP 128-bit value on little-endian.
3484 (ppc64_sysv_abi_return_value_base): Likewise.
3485 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
3486 (dfp_pseudo_register_write): Likewise.
3488 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3490 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
3491 offset on little-endian when passing _Decimal32.
3492 (ppc64_sysv_abi_return_value_base): Likewise for return values.
3494 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3496 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
3497 of the overlapped FP register within the VSX register on little-
3499 (efpr_pseudo_register_write): Likewise.
3501 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3503 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
3504 offset on little-endian when passing small structures.
3506 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3508 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
3509 (struct ppc64_sysv_argpos): New data structure.
3510 (ppc64_sysv_abi_push_float): Remove.
3511 (ppc64_sysv_abi_push_val): New function.
3512 (ppc64_sysv_abi_push_integer): Likewise.
3513 (ppc64_sysv_abi_push_freg): Likewise.
3514 (ppc64_sysv_abi_push_vreg): Likewise.
3515 (ppc64_sysv_abi_push_param): Likewise.
3516 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
3517 (ppc64_sysv_abi_return_value_base): New function.
3518 (ppc64_sysv_abi_return_value): Refactor to use it.
3520 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3522 * NEWS: Document new target powerpc64le-*-linux*.
3524 2014-02-04 Mark Kettenis <kettenis@gnu.org>
3526 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
3527 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
3529 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
3530 register set used in ELF core dumps. Add floating-point register set.
3532 2014-02-03 Kevin Buettner <kevinb@redhat.com>
3534 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
3535 dwarf2_to_gdb[] table using symbolic constants. Adjust
3536 penultimate entry from number representing the PC register
3537 to symbolic constant representing the MDR register. Add
3538 constant for the PC register to the end of the table.
3540 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3542 * bsd-kvm.c: Include <sys/param.h>
3544 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3546 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
3548 2014-01-31 Joel Brobecker <brobecker@adacore.com>
3550 * ada-lang.h (clear_ada_sym_cache): Delete.
3552 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
3554 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
3556 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3558 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
3559 the sigreturn register save area only if the syscall is
3562 2014-01-29 Joel Brobecker <brobecker@adacore.com>
3564 * valops.c (value_slice): Minor reformatting.
3566 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
3568 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
3570 2014-01-28 Joel Brobecker <brobecker@adacore.com>
3572 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
3574 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
3575 (ada_ignore_descriptive_types_p): New static global.
3576 (find_parallel_type_by_descriptive_type): Return immediately
3577 if ada_ignore_descriptive_types_p is set.
3578 (_initialize_ada_language): Register new commands "maintenance
3579 set ada", "maintenance show ada", "maintenance set ada
3580 ignore-descriptive-types" and "maintenance show ada
3581 ignore-descriptive-types".
3582 * NEWS: Add entry for new "maint ada set/show
3583 ignore-descriptive-types" commands.
3585 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
3587 * record-btrace.c (record_btrace_close): Call btrace_teardown
3590 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3592 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
3595 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3597 * ada-typeprint (type_is_full_subrange_of_target_type):
3599 (print_range): Add parameter bounds_prefered_p. If not set,
3600 try printing range types using the name of their base type.
3601 (print_range_type): Add parameter bounds_prefered_p.
3602 Use it in call to print_range.
3603 (print_array_type, ada_print_type): Update calls to print_range
3604 and print_range_type.
3606 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3608 * ada-typeprint.c (print_array_type, print_choices, print_range)
3609 (print_range_bound, print_dynamic_range_bound, print_range_type):
3612 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3614 * ada-typeprint.c (print_range): Add missing empty line
3615 after local declaration.
3617 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3619 * ada-valprint.c (print_optional_low_bound): Get index_type's
3620 target type for as long as it is a TYPE_CODE_RANGE.
3622 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3624 * procfs.c (procfs_make_note_section): Remove assertion and
3627 2014-01-24 Yao Qi <yao@codesourcery.com>
3629 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
3630 * corelow.c (get_core_siginfo): Likewise.
3632 2014-01-24 Yao Qi <yao@codesourcery.com>
3634 * remote.c (remote_write_bytes_aux): Change type of 'len' to
3635 ULONGEST. Don't check 'len' is negative.
3636 (remote_write_bytes): Change type of 'len' to ULONGEST.
3638 2014-01-23 Tom Tromey <tromey@redhat.com>
3641 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
3642 Handle exception from frame.block.
3643 (FrameVars.fetch_frame_locals): Likewise.
3645 2014-01-23 Tom Tromey <tromey@redhat.com>
3648 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
3649 on a NULL pointer. Move "goto error" to correct place.
3651 2014-01-23 Tom Tromey <tromey@redhat.com>
3654 * python/py-framefilter.c (apply_frame_filter): Call
3655 ensure_python_env after computing gdbarch.
3657 2014-01-23 Yao Qi <yao@codesourcery.com>
3659 * target.c (raw_memory_xfer_partial): Change argument type
3660 from void * to gdb_byte *.
3661 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
3663 2014-01-22 Doug Evans <dje@google.com>
3665 New gdbserver option --debug-format=timestamp.
3668 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3670 * syscalls/s390x-linux.xml: New file.
3671 * syscalls/s390-linux.xml: New file.
3672 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
3673 (XML_SYSCALL_FILENAME_S390X): Likewise.
3674 (op_svc): New enum value for SVC opcode.
3675 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
3676 (s390_linux_get_syscall_number): New function.
3677 (s390_gdbarch_init): Register '*get_syscall_number' and the
3678 syscall xml file name.
3679 * data-directory/Makefile.in (SYSCALLS_FILES): Add
3680 "s390-linux.xml" and "s390x-linux.xml".
3681 * NEWS: Announce new feature.
3683 2014-01-22 Baruch Siach <baruch@tkos.co.il>
3685 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
3687 2014-01-22 Pedro Alves <palves@redhat.com>
3689 * xtensa-config.c: Include defs.h.
3691 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3693 * common/common-utils.h: Add "ARI:" comment beside __func__
3696 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3698 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
3699 documentation a bit.
3701 2014-01-21 Roland McGrath <mcgrathr@google.com>
3703 * configure.ac: Call AM_PROG_INSTALL_STRIP.
3704 * configure: Regenerate.
3705 * aclocal.m4: Regenerate.
3706 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
3707 New substituted variables.
3708 (install-strip): New target.
3709 (INSTALL_SCRIPT): New substituted variable.
3710 (FLAGS_TO_PASS): Add it.
3711 (install-only): Use $(INSTALL_SCRIPT) rather than
3712 $(INSTALL_PROGRAM) for gcore.
3714 2014-01-20 Tom Tromey <tromey@redhat.com>
3716 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
3719 2014-01-20 Tom Tromey <tromey@redhat.com>
3721 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
3722 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
3723 (deprecated_cmd_warning, complete_on_cmdlist): Update.
3724 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
3725 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3726 (struct cmd_list_element) <flags>: Remove.
3727 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3728 doc_allocated>: New fields.
3729 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3731 * maint.c (maintenance_do_deprecate): Update.
3732 * top.c (execute_command): Update.
3734 2014-01-20 Baruch Siach <baruch@tkos.co.il>
3736 * xtensa-linux-nat.c: Include asm/ptrace.h.
3738 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3740 * Makefile.in (SFILES): Add d-support.c.
3741 (COMMON_OBS): Add d-support.o.
3742 * d-lang.h (d_parse_symbol): Add comment, now defined in
3744 * d-lang.c (parse_call_convention)
3745 (parse_attributes, parse_function_types)
3746 (parse_function_args, parse_type, parse_identifier)
3747 (call_convention_p, d_parse_symbol): Move functions to ...
3748 * d-support.c: ... New file.
3750 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3752 * d-lang.h (d_parse_symbol): Add declaration.
3753 * d-lang.c (extract_identifiers)
3754 (extract_type_info): Remove functions.
3755 (parse_call_convention, parse_attributes)
3756 (parse_function_types, parse_function_args)
3757 (parse_type, parse_identifier, call_convention_p)
3758 (d_parse_symbol): New functions.
3759 (d_demangle): Use d_parse_symbol to demangle D symbols.
3761 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3763 * d-lang.h (struct builtin_d_type): New data type.
3764 (builtin_d_type): Add declaration.
3765 * d-lang.c (d_language_arch_info, build_d_types)
3766 (builtin_d_type): New functions.
3767 (enum d_primitive_types): New data type.
3768 (d_language_defn): Change c_language_arch_info to
3769 d_language_arch_info.
3770 (d_type_data): New static variable.
3771 (_initialize_d_language): Initialize d_type_data.
3773 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3775 * d-lang.h (d_main_name): Add declaration.
3776 * d-lang.c (d_main_name): New function.
3777 * symtab.c (find_main_name): Add call to d_main_name.
3779 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3781 * d-lang.c (d_language_defn): Change macro_expansion_c to
3784 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3786 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3788 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3790 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3791 gdb_exception" declaration.
3792 * remote.c (getpkt_or_notif_sane): Likewise.
3794 2014-01-17 Doug Evans <dje@google.com>
3796 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3797 function, contents of dirnames_to_char_ptr_vec_append moved here.
3798 (delim_string_to_char_ptr_vec): New function.
3799 (dirnames_to_char_ptr_vec_append): Rewrite.
3800 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3802 2014-01-17 Doug Evans <dje@google.com>
3804 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3806 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3807 #include "common-utils.h".
3808 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3809 * common/vec.h (VEC_ASSERT_PASS): Update.
3810 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3811 (MACH_CHECK_ERROR): Update.
3813 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3815 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3817 * gdbarch.h: Regenerate.
3819 2014-01-16 Tom Tromey <tromey@redhat.com>
3821 * value.c (struct value) <regnum>: Move earlier.
3823 2014-01-16 Tom Tromey <tromey@redhat.com>
3825 * remote.c (extended_remote_create_inferior): Rename from
3826 extended_remote_create_inferior_1. Add "ops" argument. Remove
3829 2014-01-16 Pedro Alves <palves@redhat.com>
3831 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3832 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3835 2014-01-16 Doug Evans <dje@google.com>
3837 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3839 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3841 * btrace.h (btrace_thread_flag): New.
3842 (struct btrace_thread_info) <flags>: New.
3843 * record-btrace.c (record_btrace_resume_thread)
3844 (record_btrace_find_thread_to_move, btrace_step_no_history)
3845 (btrace_step_stopped, record_btrace_start_replaying)
3846 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3847 (record_btrace_find_resume_thread): New.
3848 (record_btrace_resume, record_btrace_wait): Extend.
3849 (record_btrace_can_execute_reverse): New.
3850 (record_btrace_open): Fail in non-stop mode.
3851 (record_btrace_set_replay): Split into this, ...
3852 (record_btrace_stop_replaying): ... this, ...
3853 (record_btrace_clear_histories): ... and this.
3854 (init_record_btrace_ops): Init to_can_execute_reverse.
3855 * NEWS: Announce it.
3857 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3859 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3860 (forward_target_decr_pc_after_break)
3861 (target_decr_pc_after_break): New.
3862 * target.c (forward_target_decr_pc_after_break)
3863 (target_decr_pc_after_break): New.
3864 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3865 instead of gdbarch_decr_pc_after_break.
3866 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3867 instead of gdbarch_decr_pc_after_break.
3868 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3869 instead of gdbarch_decr_pc_after_break.
3870 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3871 instead of gdbarch_decr_pc_after_break.
3872 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3873 instead of gdbarch_decr_pc_after_break.
3874 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3875 instead of gdbarch_decr_pc_after_break.
3877 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3879 * btrace.c: Include regcache.h.
3880 (btrace_add_pc): New.
3881 (btrace_enable): Call btrace_add_pc.
3882 (btrace_is_empty): New.
3883 * btrace.h (btrace_is_empty): New.
3884 * record-btrace.c (require_btrace, record_btrace_info): Call
3887 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3889 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3890 Support delta reads.
3891 (linux_disable_btrace): Change return type.
3892 * common/linux-btrace.h (linux_read_btrace): Change parameters
3893 and return type to allow error reporting. Update users.
3894 (linux_disable_btrace): Change return type. Update users.
3895 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3897 (btrace_error): New.
3898 (btrace_block) <begin>: Comment on BEGIN == 0.
3899 * btrace.c (btrace_compute_ftrace): Start from the end of
3901 (btrace_stitch_trace, btrace_clear_history): New.
3902 (btrace_fetch): Read delta trace, return if replaying.
3903 (btrace_clear): Move clear history code to btrace_clear_history.
3904 (parse_xml_btrace): Throw an error if parsing failed.
3905 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3906 and return type to allow error reporting.
3907 (target_read_btrace): Change parameters and return type to allow
3909 * target.c (target_read_btrace): Update.
3910 * remote.c (remote_read_btrace): Support delta reads. Pass
3912 * NEWS: Announce it.
3914 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3916 * record.h (record_btrace_frame_unwind)
3917 (record_btrace_tailcall_frame_unwind): New declarations.
3918 * dwarf2-frame: Include record.h
3919 (dwarf2_frame_cfa): Throw an error for btrace frames.
3920 * record-btrace.c: Include hashtab.h.
3921 (btrace_get_bfun_name): New.
3922 (btrace_call_history): Call btrace_get_bfun_name.
3923 (struct btrace_frame_cache): New.
3925 (bfcache_hash, bfcache_eq, bfcache_new): New.
3926 (btrace_get_frame_function): New.
3927 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3928 (record_btrace_frame_this_id): Compute own id.
3929 (record_btrace_frame_prev_register): Provide PC, throw_error
3930 for all other registers.
3931 (record_btrace_frame_sniffer): Detect btrace frames.
3932 (record_btrace_tailcall_frame_sniffer): New.
3933 (record_btrace_frame_dealloc_cache): New.
3934 (record_btrace_frame_unwind): Add new functions.
3935 (record_btrace_tailcall_frame_unwind): New.
3936 (_initialize_record_btrace): Allocate cache.
3937 * btrace.c (btrace_clear): Call reinit_frame_cache.
3938 * NEWS: Announce it.
3940 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3942 * record-btrace.c (record_btrace_set_replay)
3943 (record_btrace_goto_begin, record_btrace_goto_end)
3944 (record_btrace_goto): New.
3945 (init_record_btrace_ops): Initialize them.
3946 * NEWS: Announce it.
3948 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3950 * record-btrace.c (record_btrace_find_new_threads)
3951 (record_btrace_thread_alive): New.
3952 (init_record_btrace_ops): Initialize to_find_new_threads and
3955 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3957 * record-btrace.c (record_btrace_resume): New.
3958 (record_btrace_wait): New.
3959 (init_record_btrace_ops): Initialize to_wait and to_resume.
3961 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3963 * record-btrace.c (record_btrace_xfer_partial)
3964 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3965 (record_btrace_allow_memory_access): New.
3966 (init_record_btrace_ops): Initialize new methods.
3967 * target.c (raw_memory_xfer_partial): Bail out if target reports
3968 that this memory is not available.
3970 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3972 * target.h (target_ops) <to_insert_breakpoint>
3973 <to_remove_breakpoint>: Add target_ops parameter.
3974 (forward_target_insert_breakpoint): New.
3975 (forward_target_remove_breakpoint): New.
3976 (memory_remove_breakpoint, memory_insert_breakpoint):
3977 Add target_ops parameter.
3978 * target.c (target_insert_breakpoint): Split into this and ...
3979 (forward_target_insert_breakpoint): ... this.
3980 (target_remove_breakpoint): Split into this and ...
3981 (forward_target_remove_breakpoint): ... this.
3982 (debug_to_insert_breakpoint): Add target_ops parameter.
3983 Call forward_target_insert_breakpoint.
3984 (debug_to_remove_breakpoint): Add target_ops parameter.
3985 Call forward_target_remove_breakpoint.
3986 (update_current_target): Do not inherit or default to_insert_breakpoint
3987 and to_remove_breakpoint.
3988 * corelow.c (ignore): Add target_ops parameter.
3989 * exec.c (ignore): Add target_ops parameter.
3990 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3991 Add target_ops parameter.
3992 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3993 Add target_ops parameter.
3994 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3995 Add target_ops parameter.
3996 * record-full.c (record_full_beneath_to_insert_breakpoint)
3997 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3998 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3999 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
4000 (record_full_core_remove_breakpoint): Add target_ops parameter.
4002 (record_full_beneath_to_insert_breakpoint_ops)
4003 (record_full_beneath_to_remove_breakpoint_ops)
4004 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
4005 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
4006 tmp_to_remove_breakpoint_ops,
4007 record_full_beneath_to_insert_breakpoint_ops, and
4008 record_full_beneath_to_remove_breakpoint_ops.
4009 * remote-m32r-sdi.c (m32r_insert_breakpoint)
4010 (m32r_remove_breakpoint): Add target_ops parameter.
4011 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
4012 Add target_ops parameter.
4013 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
4014 Add target_ops parameter.
4016 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4017 Markus Metzger <markus.t.metzger@intel.com>
4019 * record-btrace.c: Include frame-unwind.h.
4020 (record_btrace_frame_unwind_stop_reason)
4021 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
4022 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
4024 (init_record_btrace_ops): Install it.
4026 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4028 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
4031 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4033 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
4036 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4038 * frame-unwind.c: Include target.h.
4039 (frame_unwind_try_unwinder): New function with code from ...
4040 (frame_unwind_find_by_frame): ... here. New variable
4041 unwinder_from_target, call also target_get_unwinder)
4042 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
4043 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
4044 * target.h (struct target_ops): New fields to_get_unwinder and
4045 to_get_tailcall_unwinder.
4046 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
4048 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4050 * record-btrace.c (record_btrace_fetch_registers)
4051 (record_btrace_store_registers)
4052 (record_btrace_to_prepare_to_store): New.
4053 (init_record_btrace_ops): Add the above.
4055 2014-01-16 Tom Tromey <tromey@redhat.com>
4057 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
4058 * target.h (struct target_ops) <to_prepare_to_store>: Add
4060 (target_prepare_to_store): Add argument.
4061 * target.c (debug_to_prepare_to_store): Add argument.
4062 (update_current_target): Update.
4063 * remote.c (remote_prepare_to_store): Add 'self' argument.
4064 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
4065 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
4066 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
4067 * record-full.c (record_full_core_prepare_to_store): Add 'self'
4069 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
4070 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
4071 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
4072 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
4073 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
4075 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4077 * btrace.h (replay) <replay>: New.
4078 (btrace_is_replaying): New.
4079 * btrace.c (btrace_clear): Free replay iterator.
4080 (btrace_is_replaying): New.
4081 * record-btrace.c (record_btrace_is_replaying): New.
4082 (record_btrace_info): Print insn number if replaying.
4083 (record_btrace_insn_history): Start at replay position.
4084 (record_btrace_call_history): Start at replay position.
4085 (init_record_btrace_ops): Init to_record_is_replaying.
4087 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4089 * record-btrace.c (record_btrace_insn_history_range): Include
4091 (record_btrace_insn_history_from): Adjust range.
4092 (record_btrace_call_history_range): Include
4094 (record_btrace_call_history_from): Adjust range.
4095 * NEWS: Announce changes.
4097 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4099 * record.h (enum record_print_flag)
4100 <record_print_indent_calls>: New.
4101 * record.c (get_call_history_modifiers): Recognize /c modifier.
4102 (_initialize_record): Document /c modifier.
4103 * record-btrace.c (btrace_call_history): Add btinfo parameter.
4104 Reorder fields. Optionally indent the function name. Update
4106 * NEWS: Announce changes.
4108 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4110 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
4112 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4114 * btrace.c (ftrace_new_function): Start counting at one.
4115 * record-btrace.c (record_btrace_info): Adjust number of calls
4117 * NEWS: Announce it.
4119 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4121 * record-btrace.c (btrace_call_history_insn_range): Print
4122 insn range as [begin, end].
4124 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4126 * btrace.h (struct btrace_func_link): New.
4127 (enum btrace_function_flag): New.
4128 (struct btrace_inst): Rename to ...
4129 (struct btrace_insn): ...this. Update all users.
4130 (struct btrace_func) <ibegin, iend>: Remove.
4131 (struct btrace_func_link): New.
4132 (struct btrace_func): Rename to ...
4133 (struct btrace_function): ...this. Update all users.
4134 (struct btrace_function) <segment, flow, up, insn, insn_offset)
4135 (number, level, flags>: New.
4136 (struct btrace_insn_iterator): Rename to ...
4137 (struct btrace_insn_history): ...this.
4139 (struct btrace_insn_iterator, btrace_call_iterator): New.
4140 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
4141 (struct btrace_target_info) <begin, end, level>
4142 <insn_history, call_history>: New.
4143 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4144 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4145 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4146 (btrace_call_number, btrace_call_begin, btrace_call_end)
4147 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4148 (btrace_find_function_by_number, btrace_set_insn_history)
4149 (btrace_set_call_history): New.
4150 * btrace.c (btrace_init_insn_iterator)
4151 (btrace_init_func_iterator, compute_itrace): Remove.
4152 (ftrace_print_function_name, ftrace_print_filename)
4153 (ftrace_skip_file): Change
4155 (ftrace_init_func): Remove.
4156 (ftrace_debug): Use new btrace_function fields.
4157 (ftrace_function_switched): Also consider gaining and
4158 losing symbol information).
4159 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
4160 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
4161 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
4163 (ftrace_new_function): Move. Remove debug print.
4164 (ftrace_update_lines, ftrace_update_insns): New.
4165 (ftrace_update_function): Check for call, ret, and jump.
4166 (compute_ftrace): Renamed to ...
4167 (btrace_compute_ftrace): ...this. Rewritten to compute call
4169 (btrace_fetch, btrace_clear): Updated.
4170 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4171 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4172 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4173 (btrace_call_number, btrace_call_begin, btrace_call_end)
4174 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4175 (btrace_find_function_by_number, btrace_set_insn_history)
4176 (btrace_set_call_history): New.
4177 * record-btrace.c (require_btrace): Use new btrace thread
4179 (record_btrace_info, btrace_insn_history)
4180 (record_btrace_insn_history, record_btrace_insn_history_range):
4181 Use new btrace thread info fields and new iterator.
4182 (btrace_func_history_src_line): Rename to ...
4183 (btrace_call_history_src_line): ...this. Use new btrace
4185 (btrace_func_history): Rename to ...
4186 (btrace_call_history): ...this. Use new btrace thread info
4187 fields and new iterator.
4188 (record_btrace_call_history, record_btrace_call_history_range):
4189 Use new btrace thread info fields and new iterator.
4191 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4193 * frame.h (frame_id_build_unavailable_stack_special): New.
4194 * frame.c (frame_id_build_unavailable_stack_special): New.
4196 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4198 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
4199 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
4200 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
4202 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
4203 (i386_insn_is_jump, i386_jmp_p): New.
4204 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
4205 insn_is_jump to gdbarch.
4206 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
4207 * gdbarch.h: Regenerated.
4208 * gdbarch.c: Regenerated.
4209 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
4210 (default_insn_is_jump): New.
4211 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
4212 (default_insn_is_jump): New.
4214 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4216 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
4218 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
4219 (btrace_read_type) <btrace_read_new>: Change to ...
4220 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
4222 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4224 * common/linux-btrace.c (linux_read_btrace): Free trace from
4227 2014-01-15 Doug Evans <dje@google.com>
4229 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
4232 2014-01-15 Tom Tromey <tromey@redhat.com>
4234 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
4235 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
4236 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
4237 (set_objfile_main_name): New function.
4238 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
4239 language_of_main>: New fields.
4240 (set_objfile_main_name): Declare.
4241 * symtab.c (find_main_name): Loop over objfiles to find the main
4243 (set_main_name): Now static.
4244 (get_main_info): Add comment.
4245 * symtab.h (set_main_name): Don't declare.
4247 2014-01-15 Tom Tromey <tromey@redhat.com>
4249 * symtab.c (main_progspace_key): New global.
4250 (struct main_info): New.
4251 (name_of_main, language_of_main): Remove.
4252 (get_main_info, main_info_cleanup): New function.
4253 (set_main_name, main_name, main_language): Use get_main_info.
4254 (_initialize_symtab): Initialize main_progspace_key.
4256 2014-01-15 Tom Tromey <tromey@redhat.com>
4258 * dbxread.c (process_one_symbol): Update.
4259 * dwarf2read.c (read_partial_die): Update.
4260 * symfile.c (set_initial_language): Call main_language.
4261 * symtab.c (language_of_main): Now static.
4262 (set_main_name): Add 'lang' parameter.
4263 (find_main_name): Update.
4264 (main_language): New function.
4265 (symtab_observer_executable_changed): Update.
4266 * symtab.h (set_main_name): Update.
4267 (language_of_main): Remove.
4268 (main_language): Declare.
4270 2014-01-15 Tom Tromey <tromey@redhat.com>
4272 * symfile.c (init_entry_point_info): Use new "initialized" field.
4274 * objfiles.h (struct entry_point) <initialized>: New field.
4275 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
4276 (struct objfile) <ei>: ...here. Remove.
4277 * objfiles.c (entry_point_address_query): Update.
4279 2014-01-15 Tom Tromey <tromey@redhat.com>
4281 * objfiles.c (entry_point_address_query): Relocate entry point
4283 (objfile_relocate1): Do not relocate entry point address.
4284 * objfiles.h (struct entry_info) <entry_point>: Update comment.
4285 <the_bfd_section_index>: New field.
4286 * symfile.c (init_entry_point_info): Find the entry point's
4289 2014-01-15 Tom Tromey <tromey@redhat.com>
4291 * solib-frv.c (enable_break): Use entry_point_address_query.
4293 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4295 * NEWS: Add note on improved process record-replay on
4296 arm*-linux* targets.
4298 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4300 * arm-tdep.c (enum arm_record_result): New enum.
4301 (arm_record_unsupported_insn): New function.
4302 (arm_record_coproc_data_proc): Removed.
4303 (thumb2_record_ld_st_multiple): New function.
4304 (thumb2_record_ld_st_dual_ex_tbb): New function.
4305 (thumb2_record_data_proc_sreg_mimm): New function.
4306 (thumb2_record_ps_dest_generic): New function.
4307 (thumb2_record_branch_misc_cntrl): New function.
4308 (thumb2_record_str_single_data): New function.
4309 (thumb2_record_ld_mem_hints): New function.
4310 (thumb2_record_ld_word): New function.
4311 (thumb2_record_lmul_lmla_div): New function.
4312 (thumb2_record_decode_insn_handler): New function.
4313 (decode_insn): Add thumb32 instruction handlers.
4315 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4317 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
4318 (struct arm_linux_record_tdep): Declare.
4319 (arm_canonicalize_syscall): New function.
4320 (arm_all_but_pc_registers_record): New function.
4321 (arm_linux_syscall_record): New function.
4322 (arm_linux_init_abi): Add syscall recording constructs.
4323 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
4324 decoding. (arm_record_coproc_data_proc): Update arm syscall
4326 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
4327 <arm_syscall_record>: New field.
4328 * configure.tgt (arm*-*-linux*): Add linux-record.o to
4331 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4333 * arm-tdep.c (thumb_record_misc): Update to use sp as base
4334 register for push instruction recording.
4336 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4338 * arm-tdep.c (thumb_record_misc): Update to correct logical
4339 error while recording ldm, ldmia and pop instructions.
4341 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4343 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
4345 2014-01-15 Pedro Alves <palves@redhat.com>
4347 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
4348 (go32_resume, go32_fetch_registers, store_register)
4349 (go32_store_registers, go32_prepare_to_store)
4350 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
4351 (go32_create_inferior, go32_can_run, go32_terminal_init)
4352 (go32_terminal_inferior, go32_terminal_ours): Delete forward
4355 2014-01-15 Tom Tromey <tromey@redhat.com>
4357 * target.h (async_callback_ftype): New typedef.
4358 (struct target_ops) <to_async>: Use it.
4360 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4362 * python/py-value.c (get_field_type): Remove unnecessary curly
4363 braces for single-statement if block.
4365 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4367 * python/py-type.c (convert_field): Add missing empty line
4370 2014-01-14 Doug Evans <dje@google.com>
4372 * symfile.h (expand_symtabs_matching): Renamed from
4373 expand_partial_symbol_names. Update prototype.
4374 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4375 * symfile.c (expand_symtabs_matching): Renamed from
4376 expand_partial_symbol_names. New args file_matcher, kind.
4377 Rename arg fun to symbol_matcher.
4378 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4379 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
4380 ada_expand_partial_symbol_name.
4381 (ada_make_symbol_completion_list): Update to call
4382 expand_symtabs_matching.
4383 (ada_add_global_exceptions): Call expand_symtabs_matching.
4384 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
4385 call map_symbol_filenames.
4386 * symtab.c (sources_info): Update to call map_symbol_filenames.
4387 (search_symbols): Call expand_symtabs_matching.
4388 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
4389 (default_make_symbol_completion_list_break_on): Update to call
4390 expand_symtabs_matching.
4391 (make_source_files_completion_list): Update to call
4392 map_symbol_filenames.
4394 2014-01-14 Doug Evans <dje@google.com>
4396 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
4397 (expand_symtabs_symbol_matcher_ftype): New typedef.
4398 (quick_symbol_functions.expand_symtabs_matching): Update to use.
4399 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4400 * symfile.c (expand_partial_symbol_names): Update to use
4401 expand_symtabs_symbol_matcher_ftype.
4402 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
4403 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4404 Arg name_matcher renamed to symbol_matcher.
4405 * psymtab.c (recursively_search_psymtabs): Update to use
4406 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
4408 (expand_symtabs_matching_via_partial): Update to use
4409 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4410 Arg name_matcher renamed to symbol_matcher.
4412 2014-01-14 Doug Evans <dje@google.com>
4414 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
4415 (map_partial_symbol_filenames): Ditto.
4416 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
4417 (map_partial_symbol_filenames): Ditto.
4418 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
4419 (map_partial_symbol_filenames): Ditto.
4420 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
4421 (map_partial_symbol_filenames): Ditto.
4422 * symtab.c: Delete #include "psymtab.h".
4424 2014-01-14 Pedro Alves <palves@redhat.com>
4425 Tom Tromey <tromey@redhat.com>
4427 * infrun.c (use_displaced_stepping): Use find_record_target
4428 instead of RECORD_IS_USED.
4429 (adjust_pc_after_break): Use record_full_is_used instead of
4431 * record-btrace.c (record_btrace_open): Call record_preopen
4432 instead of checking RECORD_IS_USED.
4433 * record-full.c (record_full_shortname)
4434 (record_full_core_shortname): New globals.
4435 (record_full_is_used): New function.
4436 (find_full_open): Call record_preopen instead of checking
4438 (init_record_full_ops): Set the target's shortname to
4439 record_full_shortname.
4440 (init_record_full_core_ops): Set the target's shortname to
4441 record_full_core_shortname.
4442 * record-full.h (record_full_is_used): Declare.
4443 * record.c (find_record_target): Make extern.
4444 (record_preopen): New function.
4445 * record.h (RECORD_IS_USED): Delete macro.
4446 (find_record_target, record_preopen): Declare functions.
4448 2014-01-14 Yao Qi <yao@codesourcery.com>
4450 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
4451 'len''s type to ULONGEST.
4452 (core_xfer_shared_libraries_aix): Likewise.
4453 * gdbarch.c, gdbarch.h: Regenerated.
4454 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
4455 Change type of 'len' to ULONGEST.
4456 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4457 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
4459 2014-01-14 Yao Qi <yao@codesourcery.com>
4461 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
4462 type of 'len' to ULONGEST.
4463 (linux_xfer_osdata_processgroups): Likewise.
4464 (linux_xfer_osdata_threads): Likewise.
4465 (linux_xfer_osdata_fds): Likewise.
4466 (linux_xfer_osdata_isockets): Likewise.
4467 (linux_xfer_osdata_shm): Likewise.
4468 (linux_xfer_osdata_sem): Likewise.
4469 (linux_xfer_osdata_msg): Likewise.
4470 (linux_common_xfer_osdata): Likewise.
4471 (struct osdata_type) <getter>: Likewise.
4472 * common/linux-osdata.h (linux_common_xfer_osdata): Update
4475 2014-01-14 Yao Qi <yao@codesourcery.com>
4477 * target.h (target_xfer_partial_ftype): Update.
4478 (struct target_ops) <to_xfer_partial>: Change 'len' type to
4480 * aix-thread.c (aix_thread_xfer_partial): Change type of
4481 argument 'len' to ULONGEST.
4482 * auxv.c (procfs_xfer_auxv): Likewise.
4483 (ld_so_xfer_auxv): Likewise.
4484 (memory_xfer_auxv): Likewise.
4485 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4486 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4487 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4488 * corelow.c (core_xfer_partial): Likewise.
4489 * ctf.c (ctf_xfer_partial): Likewise.
4490 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
4492 (darwin_read_dyld_info): Likewise.
4493 (darwin_xfer_partial): Likewise.
4494 * exec.c (section_table_xfer_memory_partial): Likewise.
4495 (exec_xfer_partial): Likewise.
4496 * exec.h (section_table_xfer_memory_partial): Update
4498 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
4499 instead of plongest.
4500 (gnu_xfer_partial): Likewise.
4501 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
4502 (ia64_hpux_xfer_solib_got): Likewise.
4503 (ia64_hpux_xfer_partial): Likewise.
4504 * ia64-linux-nat.c (ia64_linux_xfer_partial):
4505 * inf-ptrace.c (inf_ptrace_xfer_partial):
4506 * inf-ttrace.c (inf_ttrace_xfer_partial):
4507 * linux-nat.c (linux_xfer_siginfo): Likewise.
4508 (linux_nat_xfer_partial): Likewise.
4509 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
4510 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
4511 * monitor.c (monitor_xfer_memory): Likewise.
4512 (monitor_xfer_partial): Likewise.
4513 * procfs.c (procfs_xfer_partial): Likewise.
4514 * record-full.c (record_full_xfer_partial): Likewise.
4515 (record_full_core_xfer_partial): Likewise.
4516 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
4517 instead of plongest.
4518 (gdbsim_xfer_partial): Likewise.
4519 * remote.c (remote_xfer_partial): Likewise.
4520 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4521 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4523 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4524 (rs6000_xfer_shared_libraries): Likewise.
4525 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4526 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4527 (sparc_xfer_partial): Likewise.
4528 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4529 (spu_xfer_partial): Likewise.
4530 * spu-multiarch.c (spu_xfer_partial): Likewise.
4531 * target.c (target_read_live_memory): Likewise.
4532 (memory_xfer_live_readonly_partial): Likewise.
4533 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
4534 (target_xfer_partial, default_xfer_partial): Likewise.
4535 (current_xfer_partial): Likewise.
4536 * tracepoint.c (tfile_xfer_partial): Likewise.
4537 * windows-nat.c (windows_xfer_memory): Likewise. Call
4538 pulongest instead of plongest.
4539 (windows_xfer_partial): Likewise.
4540 (windows_xfer_shared_libraries): Likewise.
4542 2014-01-14 Yao Qi <yao@codesourcery.com>
4544 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
4545 target_xfer_partial_ftype.
4547 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4551 * valops.c (value_struct_elt_bitpos): New function
4552 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
4553 object to 'None' if the field name is an empty string ("").
4554 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
4555 attribute to look for a field when 'name' is 'None'.
4556 (get_field_type): New function
4558 2014-01-13 Doug Evans <dje@google.com>
4561 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
4562 (try_open_dwop_file): Ditto.
4563 * gdb_bfd.c: #include "vec.h".
4564 (bfdp): New typedef.
4565 (struct gdb_bfd_data): New member included_bfds.
4566 (gdb_bfd_unref): Unref all included bfds.
4567 (gdb_bfd_record_inclusion): New function.
4568 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
4570 2014-01-13 Tom Tromey <tromey@redhat.com>
4572 * gdbcore.h (deprecated_core_resize_section_table): Remove.
4574 2014-01-13 Tom Tromey <tromey@redhat.com>
4576 * defs.h (use_windows): Remove.
4577 * gdb.c (main): Update.
4578 * main.c (captured_main, gdb_main): Update.
4579 * main.h (struct captured_main_args) <use_windows>: Remove.
4580 * top.c (use_windows): Remove.
4582 2014-01-13 Tom Tromey <tromey@redhat.com>
4584 * defs.h (deprecated_flush_hook): Remove.
4586 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4589 * linux-thread-db.c (try_thread_db_load): Add parameter
4590 check_auto_load_safe. Move here the file_is_auto_load_safe call.
4591 (try_thread_db_load_from_pdir_1): Move it there from here.
4592 (try_thread_db_load_from_sdir): Update caller.
4593 (try_thread_db_load_from_dir): Move it there from here.
4595 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
4597 * regformats/regdat.sh: Always rewrite the register file.
4599 2014-01-13 Pedro Alves <palves@redhat.com>
4601 * Makefile.in (CHECK_HEADERS): New variable.
4602 (check-headers:): New rule.
4604 2014-01-13 Tom Tromey <tromey@redhat.com>
4606 * cli/cli-setshow.c (do_set_command): Update.
4607 * defs.h (deprecated_set_hook): Remove.
4608 * top.c (deprecated_set_hook): Remove.
4610 2014-01-13 Pedro Alves <palves@redhat.com>
4612 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
4613 the tracepoint if the PC is a pseudo-register.
4615 2014-01-13 Tom Tromey <tromey@redhat.com>
4617 * defs.h (XCALLOC): Remove.
4618 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
4619 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
4620 * dwarf2loc.c (allocate_piece_closure): Likewise.
4621 * elfread.c (elf_symfile_segments): Likewise.
4622 (elf_symfile_segments): Likewise.
4623 * gdbtypes.c (copy_type_recursive): Likewise.
4624 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
4625 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
4626 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
4628 * mt-tdep.c (mt_gdbarch_init): Likewise.
4629 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
4631 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
4632 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
4633 * registry.c (registry_alloc_data): Likewise.
4634 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
4635 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
4636 * serial.c (serial_fdopen_ops): Likewise.
4637 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
4639 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
4640 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
4643 2014-01-13 Tom Tromey <tromey@redhat.com>
4645 * defs.h (XMALLOC): Remove.
4646 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
4647 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
4648 * cli-out.c (struct ui_out *): Likewise.
4649 * cli/cli-dump.c (add_dump_command): Likewise.
4650 (add_dump_command): Likewise.
4651 * complaints.c (get_complaints): Likewise.
4652 (find_complaint): Likewise.
4653 * dwarf2-frame.c (execute_cfa_program): Likewise.
4654 * dwarf2read.c (abbrev_table_read_table): Likewise.
4655 * gdbarch.sh: Likewise.
4656 * gdbarch.c: Rebuild.
4657 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
4658 * interps.c (interp_new): Likewise.
4659 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
4660 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
4661 * mi/mi-console.c (mi_console_file_new): Likewise.
4662 * mi/mi-interp.c (mi_interpreter_init): Likewise.
4663 * mi/mi-out.c (mi_out_new): Likewise.
4664 * mi/mi-parse.c (mi_parse): Likewise.
4665 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
4666 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
4667 * observer.c (xalloc_observer_list_node): Likewise.
4668 * regcache.c (regcache_xmalloc_1): Likewise.
4669 * reggroups.c (reggroup_new): Likewise.
4670 (_initialize_reggroup): Likewise.
4671 * registry.c (register_data_with_cleanup): Likewise.
4672 * remote.c (remote_notif_stop_alloc_reply): Likewise.
4673 * ser-base.c (serial_ttystate): Likewise.
4674 * ser-mingw.c (make_pipe_state): Likewise.
4675 * ser-pipe.c (pipe_open): Likewise.
4676 * serial.c (serial_open): Likewise.
4677 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
4678 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
4679 (tui_alloc_win_info): Likewise.
4680 (tui_add_content_elements): Likewise.
4681 * tui/tui-file.c (tui_file_new): Likewise.
4682 * tui/tui-out.c (tui_out_new): Likewise.
4683 * ui-file.c (mem_file_new): Likewise.
4684 * ui-out.c (push_level): Likewise.
4685 (make_cleanup_ui_out_end): Likewise.
4686 (append_header_to_list): Likewise.
4687 (ui_out_new): Likewise.
4688 * user-regs.c (user_reg_add_builtin): Likewise.
4690 2014-01-13 Tom Tromey <tromey@redhat.com>
4692 * defs.h (XZALLOC): Remove.
4693 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
4694 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
4695 (get_ada_tasks_inferior_data): Likewise.
4696 * auto-load.c (get_auto_load_pspace_data): Likewise.
4697 * auxv.c (get_auxv_inferior_data): Likewise.
4698 * bfd-target.c (target_bfd_reopen): Likewise.
4699 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
4700 (deprecated_insert_raw_breakpoint): Likewise.
4701 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
4702 * corelow.c (core_open): Likewise.
4703 * darwin-nat.c (darwin_check_new_threads): Likewise.
4704 (darwin_attach_pid): Likewise.
4705 * dummy-frame.c (dummy_frame_push): Likewise.
4706 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
4707 * dwarf2loc.c (allocate_piece_closure): Likewise.
4708 * elfread.c (elf_symfile_segments): Likewise.
4709 * eval.c (ptrmath_type_p): Likewise.
4710 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
4711 * gdbtypes.c (alloc_type_arch): Likewise.
4712 (alloc_type_instance): Likewise.
4713 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
4714 * inf-child.c (inf_child_can_use_agent): Likewise.
4715 * inflow.c (get_inflow_inferior_data): Likewise.
4716 * infrun.c (save_infcall_suspend_state): Likewise.
4717 * jit.c (jit_reader_load): Likewise.
4718 (get_jit_objfile_data): Likewise.
4719 (get_jit_program_space_data): Likewise.
4720 (jit_object_open_impl): Likewise.
4721 (jit_symtab_open_impl): Likewise.
4722 (jit_block_open_impl): Likewise.
4723 (jit_frame_sniffer): Likewise.
4724 * linux-fork.c (add_fork): Likewise.
4725 * maint.c (make_command_stats_cleanup): Likewise.
4726 * objfiles.c (get_objfile_pspace_data): Likewise.
4727 * opencl-lang.c (struct lval_closure): Likewise.
4728 * osdata.c (osdata_start_osdata): Likewise.
4729 * progspace.c (new_address_space): Likewise.
4730 (add_program_space): Likewise.
4731 * remote-sim.c (get_sim_inferior_data): Likewise.
4732 * sh-tdep.c (sh_gdbarch_init): Likewise.
4733 * skip.c (Ignore): Likewise.
4734 (skip_delete_command): Likewise.
4735 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4736 (library_list_start_library): Likewise.
4737 (solib_aix_current_sos): Likewise.
4738 * solib-darwin.c (get_darwin_info): Likewise.
4739 (darwin_current_sos): Likewise.
4740 * solib-dsbt.c (get_dsbt_info): Likewise.
4741 * solib-ia64-hpux.c (new_so_list): Likewise.
4742 (ia64_hpux_get_solib_linkage_addr): Likewise.
4743 * solib-spu.c (append_ocl_sos): Likewise.
4744 (spu_current_sos): Likewise.
4745 * solib-svr4.c (get_svr4_info): Likewise.
4746 (svr4_keep_data_in_core): Likewise.
4747 (library_list_start_library): Likewise.
4748 (svr4_default_sos): Likewise.
4749 (svr4_read_so_list): Likewise.
4750 * solib-target.c (library_list_start_library): Likewise.
4751 (solib_target_current_sos): Likewise.
4752 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4753 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4754 * symfile.c (default_symfile_segments): Likewise.
4755 * target-descriptions.c (tdesc_data_init): Likewise.
4756 (tdesc_create_reg): Likewise.
4757 (struct tdesc_type *): Likewise.
4758 (tdesc_create_vector): Likewise.
4759 (tdesc_set_struct_size): Likewise.
4760 (struct tdesc_type *): Likewise.
4761 (tdesc_free_feature): Likewise.
4762 (tdesc_create_feature): Likewise.
4763 * windows-nat.c (windows_add_thread): Likewise.
4764 (windows_make_so): Likewise.
4765 * xml-support.c (gdb_xml_body_text): Likewise.
4766 (gdb_xml_create_parser_and_cleanup): Likewise.
4767 (xml_process_xincludes): Likewise.
4768 * xml-syscall.c (allocate_syscalls_info): Likewise.
4769 (syscall_create_syscall_desc): Likewise.
4771 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4773 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4774 function, with code from i386_stap_parse_special_token.
4775 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4776 (i386_stap_parse_special_token): Move code to the two functions
4779 2014-01-09 Pedro Alves <palves@redhat.com>
4780 Hui Zhu <hui@codesourcery.com>
4783 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4784 bp_err_string. Don't mark the location shlib_disabled if the
4785 error thrown wasn't a generic or memory error. Catch errors
4786 thrown while inserting breakpoints in overlayed code. Output
4787 error message of software breakpoints.
4788 * remote.c (remote_insert_breakpoint): If this breakpoint has
4789 target-side commands but this stub doesn't support Z0 packets,
4790 throw NOT_SUPPORTED_ERROR error.
4791 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4792 * target.h (target_insert_breakpoint): Extend comment.
4793 (target_insert_hw_breakpoint): Add comment.
4795 2014-01-08 Pedro Alves <palves@redhat.com>
4797 * remote.c (remote_add_thread): Add threads silently if starting
4799 (remote_notice_new_inferior): If in all-stop, and starting up,
4800 don't call notice_new_inferior.
4801 (get_current_thread): New function, factored out from ...
4802 (add_current_inferior_and_thread): ... this. Adjust.
4803 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4804 found any thread, then select the remote's current thread as GDB's
4807 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4809 * NEWS: Create a new section for the next release branch.
4810 Rename the section of the current branch, now that it has
4813 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4815 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4816 * version.in: Bump version to 7.7.50.DATE-cvs.
4818 2014-01-08 Yao Qi <yao@codesourcery.com>
4820 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4821 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4822 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4824 2014-01-08 Yao Qi <yao@codesourcery.com>
4826 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4827 return value of bfd_get_filename to symbol_file_add_from_bfd.
4829 2014-01-08 Pierre Muller <muller@sourceware.org>
4832 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4833 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4834 to prim_record_mininal_symbol_and_info.
4835 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4836 in call to prim_record_minimal_symbol_and_info.
4837 (read_pe_exported_syms): Set index field of section_data.
4839 2014-01-07 Andrew Pinski <apinski@cavium.com>
4841 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4842 * features/aarch64.c: Regenerate.
4844 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4846 * target.c (return_null): Define.
4847 (update_current_target): Use it instead of return_zero for
4848 functions that return a pointer.
4850 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4852 * source.c (add_path): Fix check for duplicated paths in the previously
4855 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4857 * ada-lang.c: Remove duplicated include statements.
4858 * alphabsd-nat.c: Ditto.
4859 * amd64-darwin-tdep.c: Ditto.
4860 * amd64fbsd-nat.c: Ditto.
4861 * auto-load.c: Ditto.
4863 * breakpoint.c: Ditto.
4865 * fork-child.c: Ditto.
4866 * gdb_usleep.c: Ditto.
4867 * i386-darwin-tdep.c: Ditto.
4868 * i386fbsd-nat.c: Ditto.
4870 * inferior.c: Ditto.
4872 * linux-nat.c: Ditto.
4873 * linux-tdep.c: Ditto.
4874 * m68kbsd-nat.c: Ditto.
4875 * m68klinux-nat.c: Ditto.
4876 * microblaze-tdep.c: Ditto.
4877 * mips-linux-tdep.c: Ditto.
4878 * mn10300-tdep.c: Ditto.
4879 * nto-tdep.c: Ditto.
4880 * opencl-lang.c: Ditto.
4882 * printcmd.c: Ditto.
4883 * regcache.c: Ditto.
4884 * remote-m32r-sdi.c: Ditto.
4888 * tilegx-linux-nat.c: Ditto.
4889 * tilegx-tdep.c: Ditto.
4890 * tracepoint.c: Ditto.
4892 * vaxbsd-nat.c: Ditto.
4893 * windows-nat.c: Ditto.
4894 * xtensa-tdep.c: Ditto.
4896 2014-01-07 Yao Qi <yao@codesourcery.com>
4898 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4900 2014-01-07 Yao Qi <yao@codesourcery.com>
4901 Joel Brobecker <brobecker@adacore.com>
4903 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4904 (pdc_write_regs): Likewise.
4905 (fetch_regs_kernel_thread): Likewise.
4906 (store_regs_kernel_thread): Likewise.
4908 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4910 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4911 tagged type objects to their actual type.
4913 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4915 * ada-valprint.c (print_field_values): Add "language" parameter.
4916 Update calls to print_field_values and print_variant_part.
4917 Pass new parameter "language" in call to val_print instead
4918 of "current_language". Replace call to ada_val_print by call
4920 (print_variant_part): Add "language" parameter.
4921 (ada_val_print_struct_union): Update call to print_field_values.
4923 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4925 * ada-valprint.c (ui_memcpy): Delete.
4926 (ada_print_floating): Update documentation. Add empty line
4927 between between function documentation and implementation.
4928 Delete variable "buffer". Use ui_file_xstrdup in place of
4929 ui_file_put. Minor adjustments following this change.
4931 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4933 * ada-valprint.c (ada_val_print_string): New function,
4934 extracted from ada_val_print_array.
4935 (ada_val_print_array): Replace extracted code by call
4936 to ada_val_print_string followed by a return. Move
4937 "else" branch to the function's top block.
4939 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4941 * ada-valprint.c (ada_val_print_array): Move implementation
4942 down. Rename parameter "offset" and "val" into "offset_aligned"
4943 and "original_value" respectively. Add parameter "offset".
4945 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4947 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4948 re-organizing the code. Change the "???" message printed
4949 when target type is a TYPE_CODE_UNDEF into
4950 "<ref to undefined type>".
4952 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4954 * ada-valprint.c (print_record): Delete, implementation inlined...
4955 (ada_val_print_struct_union): ... here. Remove call to
4956 ada_check_typedef in inlined implementation.
4958 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4960 * ada-valprint.c (ada_val_print_gnat_array): New function,
4961 extracted from ada_val_print_1;
4962 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4963 (ada_val_print_flt, ada_val_print_struct_union)
4964 (ada_val_print_ref): Likewise.
4965 (ada_val_print_1): Delete variables i and elttype.
4966 Replace extracted-out code by call to corresponding
4969 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4971 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4973 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4975 * ada-valprint.c (ada_val_print_1): Replace calls to
4976 ada_val_print_1 by calls to val_print.
4978 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4980 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4981 Update calls to self accordingly. Replace calls to c_val_print
4982 by calls to val_print.
4984 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4986 * ada-valprint.c (print_record): Delete declaration.
4987 (adjust_type_signedness, ada_val_print_1): Likewise.
4988 (ada_val_print): Move function implementation down.
4989 (print_variant_part, print_field_values, print_record):
4990 Move function implementation up.
4992 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4994 * python/py-type.c (typy_get_name): New function.
4995 (type_object_getset): Add entry for attribute "name".
4996 * NEWS: Add entry mentioning this new attribute.
4998 2014-01-07 Yao Qi <yao@codesourcery.com>
5000 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
5003 2014-01-07 Yao Qi <yao@codesourcery.com>
5005 * gnu-nat.c (info_port_rights): Add qualifier const to
5008 2014-01-07 Yao Qi <yao@codesourcery.com>
5010 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
5012 2014-01-07 Yao Qi <yao@codesourcery.com>
5014 * gnu-nat.c (make_inf) Update declaration.
5015 (make_inf): Make it static.
5016 (inf_set_traced): Likewise.
5017 (inf_port_to_thread, inf_task_died_status): Likewise.
5019 2014-01-07 Yao Qi <yao@codesourcery.com>
5021 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
5023 2014-01-07 Yao Qi <yao@codesourcery.com>
5025 * gnu-nat.c (_initialize_gnu_nat): Declare.
5027 2014-01-07 Yao Qi <yao@codesourcery.com>
5029 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
5031 (struct gdbarch_info) <byte_order>: Change type to
5033 <byte_order_for_code>: Likewise.
5034 * gdbarch.c, gdbarch.h: Regenerated.
5036 2014-01-06 Sasha Smundak <asmundak@google.com>
5038 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
5040 2014-01-06 Tom Tromey <tromey@redhat.com>
5042 * doublest.c (convert_doublest_to_floatformat): Use const, not
5044 * somread.c (som_symtab_read): Likewise.
5046 2014-01-07 Hui Zhu <hui@codesourcery.com>
5048 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
5049 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
5050 (gdb_bfd_fopen): Ditto.
5051 (gdb_bfd_openr): Ditto.
5052 (gdb_bfd_openw): Ditto.
5053 (gdb_bfd_openr_iovec): Ditto.
5054 (gdb_bfd_fdopenr): Ditto.
5055 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
5056 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
5058 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
5060 * symfile-mem.c (symbol_file_add_from_memory): Removed
5061 gdb_bfd_stash_filename.
5063 2014-01-03 Doug Evans <dje@google.com>
5065 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
5068 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5070 Update year range in copyright notice of all files.
5072 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5074 * top.c (print_gdb_version): Set copyright year to 2014.
5076 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5078 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
5080 For older changes see ChangeLog-2013.
5086 version-control: never