1 2014-02-24 Doug Evans <dje@google.com>
3 * value.c (record_latest_value): Fix comment.
4 * printcmd.c (print_command_1): Remove code to handle -1 return from
7 2014-02-24 Pedro Alves <palves@redhat.com>
9 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
10 deprecated_xfer_memory hook.
11 (procfs_xfer_partial): Call procfs_xfer_memory instead
12 of the deprecated_xfer_memory target hook.
13 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
16 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
18 * windows-nat.c (windows_xfer_shared_libraries): Return
19 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
20 requested object is TARGET_OBJECT_LIBRARIES.
22 2014-02-24 Yao Qi <yao@codesourcery.com>
24 * target.h (enum target_xfer_status)
25 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
26 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
28 * corefile.c (memory_error_message): User updated.
29 * exec.c (section_table_read_available_memory): Likewise.
30 * record-btrace.c (record_btrace_xfer_partial): Likewise.
31 * target.c (target_xfer_status_to_string): Likewise.
32 (raw_memory_xfer_partial): Likewise.
33 (memory_xfer_partial_1, target_xfer_partial): Likewise.
34 * valops.c (read_value_memory): Likewise.
35 * exec.h: Update comments.
37 2014-02-24 Yao Qi <yao@codesourcery.com>
39 * target.c (target_xfer_status_to_string): Rename argument err
41 * target.h (target_xfer_status_to_string): Update declaration.
42 Replace target_xfer_error_to_string with
43 target_xfer_status_to_string in comment.
45 2014-02-24 Yao Qi <yao@codesourcery.com>
47 * mips-linux-nat.c (super_close): Update its type.
48 (mips_linux_close): Pass 'self' to super_close.
50 2014-02-24 Yao Qi <yao@codesourcery.com>
52 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
53 * corefile.c (read_memory): Adjusted.
54 * target.c (target_write_with_progress): Adjusted.
56 2014-02-23 Yao Qi <yao@codesourcery.com>
60 2013-10-25 Yao Qi <yao@codesourcery.com>
62 * remote.c (remote_traceframe_info): Return early if
63 traceframe is not selected.
65 2013-07-19 Yao Qi <yao@codesourcery.com>
67 * target.c (update_current_target): Change the default action
68 of 'to_traceframe_info' from tcomplain to return_zero.
69 * target.h (struct target_ops) <to_traceframe_info>: Add more
72 2014-02-23 Yao Qi <yao@codesourcery.com>
74 * valops.c (read_value_memory): Rewrite it. Call
75 target_xfer_partial in a loop.
76 * exec.h (section_table_available_memory): Remove declaration.
78 * exec.c (section_table_available_memory): ... here. Make it
81 2014-02-23 Yao Qi <yao@codesourcery.com>
83 * exec.c (section_table_read_available_memory): New function.
84 * exec.h (section_table_read_available_memory): Declare.
85 * ctf.c (ctf_xfer_partial): Call
86 section_table_read_available_memory.
87 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
89 2014-02-23 Yao Qi <yao@codesourcery.com>
91 * ctf.c (ctf_xfer_partial): Move code to ...
92 * exec.c (exec_read_partial_read_only): ... it. New function.
93 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
94 * tracefile.c: Include "exec.h".
95 * exec.h (exec_read_partial_read_only): Declare.
97 2014-02-23 Yao Qi <yao@codesourcery.com>
99 * tracefile-tfile.c (tfile_has_all_memory): Remove.
100 (tfile_has_memory): Remove.
101 (init_tfile_ops): Don't set fields to_has_all_memory and
102 to_has_memory of tfile_ops.
103 * tracefile.c (tracefile_has_all_memory): New function.
104 (tracefile_has_memory): New function.
105 (init_tracefile_ops): Initialize fields to_has_all_memory and
106 to_has_memory of 'ops'.
108 2014-02-23 Yao Qi <yao@codesourcery.com>
110 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
111 (ctf_thread_alive, ctf_get_trace_status): Remove.
112 (init_ctf_ops): Don't set some fields of ctf_ops. Call
114 * tracefile-tfile.c (tfile_get_trace_status): Remove.
115 (tfile_has_stack, tfile_has_registers): Remove.
116 (tfile_thread_alive): Remove.
117 (init_tfile_ops): Don't set some fields of tfile_ops. Call
119 * tracefile.c (tracefile_has_stack): New function.
120 (tracefile_has_registers): New function.
121 (tracefile_thread_alive): New function.
122 (tracefile_get_trace_status): New function.
123 (init_tracefile_ops): New function.
124 * tracefile.h (init_tracefile_ops): Declare.
126 2014-02-23 Yao Qi <yao@codesourcery.com>
128 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
129 (O_LARGEFILE): Likewise.
130 (tfile_ops): Likewise.
131 (TRACE_HEADER_SIZE): Likewise.
132 (trace_fd, trace_frames_offset, cur_offset): Likewise.
133 (cur_data_size): Likewise.
134 (tfile_read, tfile_open, tfile_interp_line): Likewise.
135 (tfile_close, tfile_files_info): Likewise.
136 (tfile_get_trace_status): Likewise.
137 (tfile_get_tracepoint_status): Likewise.
138 (tfile_get_traceframe_address): Likewise.
139 (tfile_trace_find, match_blocktype): Likewise.
140 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
141 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
142 (tfile_get_trace_state_variable_value): Likewise.
143 (tfile_has_all_memory, tfile_has_memory): Likewise.
144 (tfile_has_stack, tfile_has_registers): Likewise.
145 (tfile_thread_alive, build_traceframe_info): Likewise.
146 (tfile_traceframe_info, init_tfile_ops): Likewise.
147 (_initialize_tracepoint): Don't call init_tfile_ops
148 and add_target_with_completer.
149 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
150 exec.h, completer.h and filenames.h.
151 (_initialize_tracefile_tfile): New function.
153 2014-02-23 Yao Qi <yao@codesourcery.com>
155 * Makefile.in (REMOTE_OBS): Append tracefile.o and
157 (HFILES_NO_SRCDIR): Add tracefile.h.
158 * ctf.c: Include "tracefile.h".
159 * tracefile.h: New file.
160 * tracefile.c: New file
161 * tracefile-tfile.c: New file.
162 * tracepoint.c: Include "tracefile.h".
163 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
164 (stop_reason_names): Add const.
165 (trace_file_writer_xfree): Move it to tracefile.c.
166 (trace_save, trace_save_command, trace_save_tfile): Likewise.
167 (trace_save_ctf): Likewise.
168 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
169 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
170 (tfile_write_header, tfile_write_regblock_type): Likewise.
171 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
172 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
173 (tfile_write_raw_data, tfile_end): Likewise.
174 (tfile_trace_file_writer_new): Likewise.
175 (free_uploaded_tp): Make it extern.
176 (free_uploaded_tsv): Make it extern.
177 (_initialize_tracepoint): Move code to register command 'tsave'
179 * tracepoint.h (stop_reason_names): Declare.
180 (struct trace_frame_write_ops): Move it to tracefile.h.
181 (struct trace_file_write_ops): Likewise.
182 (struct trace_file_writer): Likewise.
183 (free_uploaded_tsvs, free_uploaded_tps): Declare.
185 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
188 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
190 (get_cores_used_by_process): New parameter num_cores, use it.
191 (linux_xfer_osdata_processes): Pass num_cores to it.
192 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
195 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
197 * target.c (memory_xfer_partial): Fix length arg in call to
198 breakpoint_xfer_memory.
200 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
203 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
204 number comes after the + or - signs. Adjust length of register
205 name to be extracted.
207 2014-02-20 Tom Tromey <tromey@redhat.com>
209 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
210 (ada_varobj_ops): Mark "extern".
212 2014-02-20 Tom Tromey <tromey@redhat.com>
214 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
216 2014-02-20 Doug Evans <xdje42@gmail.com>
218 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
220 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
222 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
223 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
225 2014-02-20 lin zuojian <manjian2006@gmail.com>
226 Joel Brobecker <brobecker@adacore.com>
227 Doug Evans <xdje42@gmail.com>
230 * dwarf2read.c (struct die_info): New member in_process.
231 (reset_die_in_process): New function.
232 (process_die): Set it at the start, reset when returning.
233 (inherit_abstract_dies): Only call process_die if origin_child_die
234 not already being processed.
236 2014-02-20 Joel Brobecker <brobecker@adacore.com>
238 * windows-nat.c (handle_unload_dll): Add function documentation.
239 (do_initial_windows_stuff): Add comment explaining why we wait
240 until after inferior initialization has finished before
243 2014-02-20 Joel Brobecker <brobecker@adacore.com>
245 * windows-nat.c (get_module_name): Delete.
246 (windows_get_exec_module_filename): New function, mostly
247 inspired from get_module_name.
248 (windows_pid_to_exec_file): Replace call to get_module_name
249 by call to windows_get_exec_module_filename.
251 2014-02-20 Joel Brobecker <brobecker@adacore.com>
253 * windows-nat.c (handle_load_dll): Rewrite this function's
254 introductory comment. Remove code using get_module_name
255 to get the DLL's name.
257 2014-02-20 Joel Brobecker <brobecker@adacore.com>
259 * windows-nat.c (get_windows_debug_event): Ignore
260 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
261 if windows_initialization_done == 0.
262 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
263 Adjust implementation to always load all DLLs.
264 (do_initial_windows_stuff): Replace call to
265 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
267 2014-02-20 Joel Brobecker <brobecker@adacore.com>
269 * windows-nat.c (_initialize_windows_nat): Deprecate the
270 "dll-symbols" command. Turn the "add-shared-symbol-files"
271 and "assf" aliases into commands, and deprecate them as well.
272 * NEWS: Add entry explaining that "dll-symbols" and its two
273 aliases are now deprecated.
275 2014-02-20 Joel Brobecker <brobecker@adacore.com>
277 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
278 new-line in debug string. Remove trailing spaces.
280 2014-02-19 Stan Shebs <stan@codesourcery.com>
282 * darwin-nat.c (darwin_xfer_partial): Fix return type.
284 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
286 * NEWS: Add entry for the new feature
287 * python/py-value.c (valpy_binop): Call value_x_binop for struct
290 2014-02-19 Stan Shebs <stan@codesourcery.com>
292 * MAINTAINERS: List Yao Qi as nios2 maintainer.
294 2014-02-19 Pedro Alves <palves@redhat.com>
296 * common/ptid.h (struct ptid): Mention that process_stratum
297 targets should prefer ptid.lwp.
299 2014-02-19 Pedro Alves <palves@redhat.com>
301 * remote.c (remote_thread_alive, write_ptid, read_ptid)
302 (read_ptid, remote_newthread_step, remote_threads_extra_info)
303 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
304 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
305 store remote thread ids rather than ptid.tid.
306 (_initialize_remote): Adjust.
308 2014-02-19 Tom Tromey <tromey@redhat.com>
310 * target.c (target_get_unwinder): Rewrite.
311 (target_get_tailcall_unwinder): Rewrite.
312 * record-btrace.c (record_btrace_to_get_unwinder): New function.
313 (record_btrace_to_get_tailcall_unwinder): New function.
314 (init_record_btrace_ops): Update.
315 * target.h (struct target_ops) <to_get_unwinder,
316 to_get_tailcall_unwinder>: Now function pointers. Use
317 TARGET_DEFAULT_RETURN.
319 2014-02-19 Tom Tromey <tromey@redhat.com>
321 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
323 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
325 2014-02-19 Tom Tromey <tromey@redhat.com>
327 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
329 * target-delegates.c: Rebuild.
330 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
332 * target.c (default_target_decr_pc_after_break): Rename from
333 forward_target_decr_pc_after_break. Simplify.
334 (target_decr_pc_after_break): Rely on delegation.
336 2014-02-19 Tom Tromey <tromey@redhat.com>
338 * target.c (update_current_target): Do not INHERIT to_doc or
339 to_magic. Do not de_fault to_open or to_close.
341 2014-02-19 Tom Tromey <tromey@redhat.com>
343 * gcore.h (objfile_find_memory_regions): Declare.
344 * gcore.c (objfile_find_memory_regions): No longer static. Add
346 (_initialize_gcore): Don't call exec_set_find_memory_regions.
347 * exec.c: Include gcore.h.
348 (exec_set_find_memory_regions): Remove.
349 (exec_find_memory_regions): Remove.
350 (exec_do_find_memory_regions): Remove.
351 (init_exec_ops): Update.
352 * defs.h (exec_set_find_memory_regions): Remove.
354 2014-02-19 Tom Tromey <tromey@redhat.com>
356 * target-delegates.c: Rebuild.
357 * target.h (struct target_ops) <to_extra_thread_info,
358 to_thread_name, to_pid_to_exec_file, to_get_section_table,
359 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
360 not 0, in TARGET_DEFAULT_RETURN.
362 2014-02-19 Tom Tromey <tromey@redhat.com>
364 * target.c (complete_target_initialization): Remove casts. Use
365 return_zero_has_execution.
366 (return_zero): Add "ignore" argument.
367 (return_zero_has_execution): New function.
368 (init_dummy_target): Remove casts. Use
369 return_zero_has_execution.
371 2014-02-19 Tom Tromey <tromey@redhat.com>
373 * target.c (update_current_target): Update comments. Do not
376 2014-02-19 Tom Tromey <tromey@redhat.com>
378 * arm-linux-nat.c (arm_linux_read_description): Delegate when
380 * corelow.c (core_read_description): Delegate when needed.
381 * remote.c (remote_read_description): Delegate when needed.
382 * target-delegates.c: Rebuild.
383 * target.c (target_read_description): Rewrite.
384 * target.h (struct target_ops) <to_read_description>: Update
385 comment. Use TARGET_DEFAULT_RETURN.
387 2014-02-19 Tom Tromey <tromey@redhat.com>
389 * target-delegates.c: Rebuild.
390 * target.c (update_current_target): Don't inherit or default
392 (find_default_run_target): Check against delegate_can_run.
393 * target.h (struct target_ops) <to_can_run>: Use
394 TARGET_DEFAULT_RETURN.
396 2014-02-19 Tom Tromey <tromey@redhat.com>
398 * target-delegates.c: Rebuild.
399 * target.c (target_disconnect): Unconditionally delegate.
400 * target.h (struct target_ops) <to_disconnect>: Use
401 TARGET_DEFAULT_NORETURN.
403 2014-02-19 Tom Tromey <tromey@redhat.com>
405 * record.c (record_stop): Unconditionally delegate.
406 * target-delegates.c: Rebuild.
407 * target.c (target_stop_recording): Unconditionally delegate.
408 * target.h (struct target_ops) <to_stop_recording>: Use
409 TARGET_DEFAULT_IGNORE.
411 2014-02-19 Tom Tromey <tromey@redhat.com>
413 * target-delegates.c: Rebuild.
414 * target.c (target_enable_btrace): Unconditionally delegate.
415 * target.h (struct target_ops) <to_enable_btrace>: Use
416 TARGET_DEFAULT_NORETURN.
418 2014-02-19 Tom Tromey <tromey@redhat.com>
420 * target-delegates.c: Rebuild.
421 * target.c (target_read_btrace): Unconditionally delegate.
422 * target.h (struct target_ops) <to_read_btrace>: Use
423 TARGET_DEFAULT_NORETURN.
425 2014-02-19 Tom Tromey <tromey@redhat.com>
427 * target-delegates.c: Rebuild.
428 * target.c (target_teardown_btrace): Unconditionally delegate.
429 * target.h (struct target_ops) <to_teardown_btrace>: Use
430 TARGET_DEFAULT_NORETURN.
432 2014-02-19 Tom Tromey <tromey@redhat.com>
434 * target-delegates.c: Rebuild.
435 * target.c (target_disable_btrace): Unconditionally delegate.
436 * target.h (struct target_ops) <to_disable_btrace>: Use
437 TARGET_DEFAULT_NORETURN.
439 2014-02-19 Tom Tromey <tromey@redhat.com>
441 * target-delegates.c: Rebuild.
442 * target.c (default_search_memory): New function.
443 (simple_search_memory): Update comment.
444 (target_search_memory): Unconditionally delegate.
445 * target.h (struct target_ops) <to_search_memory>: Use
448 2014-02-19 Tom Tromey <tromey@redhat.com>
450 * auxv.c (default_auxv_parse): No longer static.
451 (target_auxv_parse): Unconditionally delegate.
452 * auxv.h (default_auxv_parse): Declare.
453 * target-delegates.c: Rebuild.
454 * target.c: Include auxv.h.
455 * target.h (struct target_ops) <to_auxv_parse>: Use
458 2014-02-19 Tom Tromey <tromey@redhat.com>
460 * target-delegates.c: Rebuild.
461 * target.c (target_memory_map): Unconditionally delegate.
462 * target.h (struct target_ops) <to_memory_map>: Use
463 TARGET_DEFAULT_RETURN.
465 2014-02-19 Tom Tromey <tromey@redhat.com>
467 * target-delegates.c: Rebuild.
468 * target.c (target_thread_alive): Unconditionally delegate.
469 * target.h (struct target_ops) <to_thread_alive>: Use
470 TARGET_DEFAULT_RETURN.
472 2014-02-19 Tom Tromey <tromey@redhat.com>
474 * target-delegates.c: Rebuild.
475 * target.c (target_save_record): Unconditionally delegate.
476 * target.h (struct target_ops) <to_save_record>: Use
477 TARGET_DEFAULT_NORETURN.
479 2014-02-19 Tom Tromey <tromey@redhat.com>
481 * target-delegates.c: Rebuild.
482 * target.c (target_delete_record): Unconditionally delegate.
483 * target.h (struct target_ops) <to_delete_record>: Use
484 TARGET_DEFAULT_NORETURN.
486 2014-02-19 Tom Tromey <tromey@redhat.com>
488 * target-delegates.c: Rebuild.
489 * target.c (target_record_is_replaying): Unconditionally
491 * target.h (struct target_ops) <to_record_is_replaying>: Use
492 TARGET_DEFAULT_RETURN.
494 2014-02-19 Tom Tromey <tromey@redhat.com>
496 * target-delegates.c: Rebuild.
497 * target.c (target_goto_record_begin): Unconditionally delegate.
498 * target.h (struct target_ops) <to_goto_record_begin>: Use
499 TARGET_DEFAULT_NORETURN.
501 2014-02-19 Tom Tromey <tromey@redhat.com>
503 * target-delegates.c: Rebuild.
504 * target.c (target_goto_record_end): Unconditionally delegate.
505 * target.h (struct target_ops) <to_goto_record_end>: Use
506 TARGET_DEFAULT_NORETURN.
508 2014-02-19 Tom Tromey <tromey@redhat.com>
510 * target-delegates.c: Rebuild.
511 * target.c (target_goto_record): Unconditionally delegate.
512 * target.h (struct target_ops) <to_goto_record>: Use
513 TARGET_DEFAULT_NORETURN.
515 2014-02-19 Tom Tromey <tromey@redhat.com>
517 * target-delegates.c: Rebuild.
518 * target.c (target_insn_history): Unconditionally delegate.
519 * target.h (struct target_ops) <to_insn_history>: Use
520 TARGET_DEFAULT_NORETURN.
522 2014-02-19 Tom Tromey <tromey@redhat.com>
524 * target-delegates.c: Rebuild.
525 * target.c (target_insn_history_from): Unconditionally delegate.
526 * target.h (struct target_ops) <to_insn_history_from>: Use
527 TARGET_DEFAULT_NORETURN.
529 2014-02-19 Tom Tromey <tromey@redhat.com>
531 * target-delegates.c: Rebuild.
532 * target.c (target_insn_history_range): Unconditionally delegate.
533 * target.h (struct target_ops) <to_insn_history_range>: Use
534 TARGET_DEFAULT_NORETURN.
536 2014-02-19 Tom Tromey <tromey@redhat.com>
538 * target-delegates.c: Rebuild.
539 * target.c (target_call_history): Unconditionally delegate.
540 * target.h (struct target_ops) <to_call_history>: Use
541 TARGET_DEFAULT_NORETURN.
543 2014-02-19 Tom Tromey <tromey@redhat.com>
545 * target-delegates.c: Rebuild.
546 * target.c (target_call_history_from): Unconditionally delegate.
547 * target.h (struct target_ops) <to_call_history_from>: Use
548 TARGET_DEFAULT_NORETURN.
550 2014-02-19 Tom Tromey <tromey@redhat.com>
552 * target-delegates.c: Rebuild.
553 * target.c (target_call_history_range): Unconditionally delegate.
554 * target.h (struct target_ops) <to_call_history_range>: Use
555 TARGET_DEFAULT_NORETURN.
557 2014-02-19 Tom Tromey <tromey@redhat.com>
559 * target-delegates.c: Rebuild.
560 * target.c (target_verify_memory): Unconditionally delegate.
561 * target.h (struct target_ops) <to_verify_memory>: Use
562 TARGET_DEFAULT_NORETURN.
564 2014-02-19 Tom Tromey <tromey@redhat.com>
566 * target-delegates.c: Rebuild.
567 * target.c (target_core_of_thread): Unconditionally delegate.
568 * target.h (struct target_ops) <to_core_of_thread>: Use
569 TARGET_DEFAULT_RETURN.
571 2014-02-19 Tom Tromey <tromey@redhat.com>
573 * target-delegates.c: Rebuild.
574 * target.c (target_flash_done): Unconditionally delegate.
575 * target.h (struct target_ops) <to_flash_done>: Use
576 TARGET_DEFAULT_NORETURN.
578 2014-02-19 Tom Tromey <tromey@redhat.com>
580 * target-delegates.c: Rebuild.
581 * target.c (target_flash_erase): Unconditionally delegate.
582 * target.h (struct target_ops) <to_flash_erase>: Use
583 TARGET_DEFAULT_NORETURN.
585 2014-02-19 Tom Tromey <tromey@redhat.com>
587 * target-delegates.c: Rebuild.
588 * target.c (target_get_section_table): Unconditionally delegate.
589 * target.h (struct target_ops) <to_get_section_table>: Use
590 TARGET_DEFAULT_RETURN.
592 2014-02-19 Tom Tromey <tromey@redhat.com>
594 * target-delegates.c: Rebuild.
595 * target.c (target_pid_to_str): Unconditionally delegate.
596 (init_dummy_target): Don't initialize to_pid_to_str.
597 (default_pid_to_str): Rename from dummy_pid_to_str.
598 * target.h (struct target_ops) <to_pid_to_str>: Use
601 2014-02-19 Tom Tromey <tromey@redhat.com>
603 * target-delegates.c: Rebuild.
604 * target.c (target_find_new_threads): Unconditionally delegate.
605 * target.h (struct target_ops) <to_find_new_threads>: Use
606 TARGET_DEFAULT_RETURN.
608 2014-02-19 Tom Tromey <tromey@redhat.com>
610 * target-delegates.c: Rebuild.
611 * target.c (target_program_signals): Unconditionally delegate.
612 * target.h (struct target_ops) <to_program_signals>: Use
613 TARGET_DEFAULT_IGNORE.
615 2014-02-19 Tom Tromey <tromey@redhat.com>
617 * target-delegates.c: Rebuild.
618 * target.c (target_pass_signals): Unconditionally delegate.
619 * target.h (struct target_ops) <to_pass_signals>: Use
620 TARGET_DEFAULT_IGNORE.
622 2014-02-19 Tom Tromey <tromey@redhat.com>
624 * target-delegates.c: Rebuild.
625 * target.c (default_mourn_inferior): New function.
626 (target_mourn_inferior): Unconditionally delegate.
627 * target.h (struct target_ops) <to_mourn_inferior>: Use
630 2014-02-19 Tom Tromey <tromey@redhat.com>
632 * target-delegates.c: Rebuild.
633 * target.c (default_follow_fork): New function.
634 (target_follow_fork): Unconditionally delegate.
635 * target.h (struct target_ops) <to_follow_fork>: Use
638 2014-02-19 Tom Tromey <tromey@redhat.com>
640 * target-delegates.c: Rebuild.
641 * target.c (target_kill): Unconditionally delegate.
642 * target.h (struct target_ops) <to_kill>: Use
643 TARGET_DEFAULT_NORETURN.
645 2014-02-19 Tom Tromey <tromey@redhat.com>
647 * target-delegates.c: Rebuild.
648 * target.c (target_masked_watch_num_registers): Unconditionally
650 * target.h (struct target_ops) <to_masked_watch_num_registers>:
651 Use TARGET_DEFAULT_RETURN.
653 2014-02-19 Tom Tromey <tromey@redhat.com>
655 * target-delegates.c: Rebuild.
656 * target.c (target_remove_mask_watchpoint): Unconditionally
658 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
659 TARGET_DEFAULT_RETURN.
661 2014-02-19 Tom Tromey <tromey@redhat.com>
663 * target-delegates.c: Rebuild.
664 * target.c (target_insert_mask_watchpoint): Unconditionally
666 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
667 TARGET_DEFAULT_RETURN.
669 2014-02-19 Tom Tromey <tromey@redhat.com>
671 * target-delegates.c: Rebuild.
672 * target.c (target_ranged_break_num_registers): Unconditionally
674 * target.h (struct target_ops) <to_ranged_break_num_registers>:
675 Use TARGET_DEFAULT_RETURN.
677 2014-02-19 Tom Tromey <tromey@redhat.com>
679 * target-delegates.c: Rebuild.
680 * target.c (target_fetch_registers): Unconditionally delegate.
681 * target.h (struct target_ops) <to_fetch_registers>: Use
682 TARGET_DEFAULT_NORETURN.
684 2014-02-19 Tom Tromey <tromey@redhat.com>
686 * target-delegates.c: Rebuild.
687 * target.c (update_current_target): Don't inherit or default
689 * target.h (struct target_ops) <to_stop>: Use
690 TARGET_DEFAULT_IGNORE.
692 2014-02-19 Tom Tromey <tromey@redhat.com>
694 * target-delegates.c: Rebuild.
695 * target.c (update_current_target): Don't inherit or default
696 to_can_run_breakpoint_commands.
697 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
698 Use TARGET_DEFAULT_RETURN.
700 2014-02-19 Tom Tromey <tromey@redhat.com>
702 * target-delegates.c: Rebuild.
703 * target.c (update_current_target): Don't inherit or default
704 to_supports_evaluation_of_breakpoint_conditions.
705 * target.h (struct target_ops)
706 <to_supports_evaluation_of_breakpoint_conditions>: Use
707 TARGET_DEFAULT_RETURN.
709 2014-02-19 Tom Tromey <tromey@redhat.com>
711 * target-delegates.c: Rebuild.
712 * target.c (update_current_target): Don't inherit or default
713 to_augmented_libraries_svr4_read.
714 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
715 Use TARGET_DEFAULT_RETURN.
717 2014-02-19 Tom Tromey <tromey@redhat.com>
719 * target-delegates.c: Rebuild.
720 * target.c (update_current_target): Don't inherit or default
722 * target.h (struct target_ops) <to_can_use_agent>: Use
723 TARGET_DEFAULT_RETURN.
725 2014-02-19 Tom Tromey <tromey@redhat.com>
727 * target-delegates.c: Rebuild.
728 * target.c (update_current_target): Don't inherit or default
730 * target.h (struct target_ops) <to_use_agent>: Use
731 TARGET_DEFAULT_NORETURN.
733 2014-02-19 Tom Tromey <tromey@redhat.com>
735 * target-delegates.c: Rebuild.
736 * target.c (update_current_target): Don't inherit or default
738 (return_null): Remove.
739 * target.h (struct target_ops) <to_traceframe_info>: Use
740 TARGET_DEFAULT_RETURN.
742 2014-02-19 Tom Tromey <tromey@redhat.com>
744 * target-delegates.c: Rebuild.
745 * target.c (update_current_target): Don't inherit or default
746 to_static_tracepoint_markers_by_strid.
747 * target.h (struct target_ops)
748 <to_static_tracepoint_markers_by_strid>: Use
749 TARGET_DEFAULT_NORETURN.
751 2014-02-19 Tom Tromey <tromey@redhat.com>
753 * target-delegates.c: Rebuild.
754 * target.c (update_current_target): Don't inherit or default
755 to_static_tracepoint_marker_at.
756 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
757 Use TARGET_DEFAULT_RETURN.
759 2014-02-19 Tom Tromey <tromey@redhat.com>
761 * target-delegates.c: Rebuild.
762 * target.c (update_current_target): Don't inherit or default
764 * target.h (struct target_ops) <to_set_permissions>: Use
765 TARGET_DEFAULT_IGNORE.
767 2014-02-19 Tom Tromey <tromey@redhat.com>
769 * target-delegates.c: Rebuild.
770 * target.c (update_current_target): Don't inherit or default
772 * target.h (struct target_ops) <to_get_tib_address>: Use
773 TARGET_DEFAULT_NORETURN.
775 2014-02-19 Tom Tromey <tromey@redhat.com>
777 * target-delegates.c: Rebuild.
778 * target.c (update_current_target): Don't inherit or default
780 * target.h (struct target_ops) <to_set_trace_notes>: Use
781 TARGET_DEFAULT_RETURN.
783 2014-02-19 Tom Tromey <tromey@redhat.com>
785 * target-delegates.c: Rebuild.
786 * target.c (update_current_target): Don't initialize
787 to_set_trace_buffer_size.
788 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
789 TARGET_DEFAULT_IGNORE.
791 2014-02-19 Tom Tromey <tromey@redhat.com>
793 * target-delegates.c: Rebuild.
794 * target.c (update_current_target): Don't inherit or default
795 to_set_circular_trace_buffer.
796 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
797 TARGET_DEFAULT_IGNORE.
799 2014-02-19 Tom Tromey <tromey@redhat.com>
801 * target-delegates.c: Rebuild.
802 * target.c (update_current_target): Don't inherit or default
803 to_set_disconnected_tracing.
804 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
805 TARGET_DEFAULT_IGNORE.
807 2014-02-19 Tom Tromey <tromey@redhat.com>
809 * target-delegates.c: Rebuild.
810 * target.c (update_current_target): Don't inherit or default
811 to_get_min_fast_tracepoint_insn_len.
812 (return_minus_one): Remove.
813 * target.h (struct target_ops)
814 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
816 2014-02-19 Tom Tromey <tromey@redhat.com>
818 * target-delegates.c: Rebuild.
819 * target.c (update_current_target): Don't inherit or default
820 to_get_raw_trace_data.
821 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
822 TARGET_DEFAULT_NORETURN.
824 2014-02-19 Tom Tromey <tromey@redhat.com>
826 * target-delegates.c: Rebuild.
827 * target.c (update_current_target): Don't inherit or default
828 to_upload_trace_state_variables.
829 * target.h (struct target_ops) <to_upload_trace_state_variables>:
830 Use TARGET_DEFAULT_RETURN.
832 2014-02-19 Tom Tromey <tromey@redhat.com>
834 * target-delegates.c: Rebuild.
835 * target.c (update_current_target): Don't inherit or default
836 to_upload_tracepoints.
837 * target.h (struct target_ops) <to_upload_tracepoints>: Use
838 TARGET_DEFAULT_RETURN.
840 2014-02-19 Tom Tromey <tromey@redhat.com>
842 * target-delegates.c: Rebuild.
843 * target.c (update_current_target): Don't inherit or default
845 * target.h (struct target_ops) <to_save_trace_data>: Use
846 TARGET_DEFAULT_NORETURN.
848 2014-02-19 Tom Tromey <tromey@redhat.com>
850 * target-delegates.c: Rebuild.
851 * target.c (update_current_target): Don't inherit or default
852 to_get_trace_state_variable_value.
853 * target.h (struct target_ops)
854 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
856 2014-02-19 Tom Tromey <tromey@redhat.com>
858 * target-delegates.c: Rebuild.
859 * target.c (update_current_target): Don't inherit or default
861 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
863 2014-02-19 Tom Tromey <tromey@redhat.com>
865 * target-delegates.c: Rebuild.
866 * target.c (update_current_target): Don't inherit or default
868 * target.h (struct target_ops) <to_trace_stop>: Use
869 TARGET_DEFAULT_NORETURN.
871 2014-02-19 Tom Tromey <tromey@redhat.com>
873 * target-delegates.c: Rebuild.
874 * target.c (update_current_target): Don't inherit or default
875 to_get_tracepoint_status.
876 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
877 TARGET_DEFAULT_NORETURN.
879 2014-02-19 Tom Tromey <tromey@redhat.com>
881 * target-delegates.c: Rebuild.
882 * target.c (update_current_target): Don't inherit or default
884 * target.h (struct target_ops) <to_get_trace_status>: Use
885 TARGET_DEFAULT_RETURN.
887 2014-02-19 Tom Tromey <tromey@redhat.com>
889 * target-delegates.c: Rebuild.
890 * target.c (update_current_target): Don't inherit or default
892 * target.h (struct target_ops) <to_trace_start>: Use
893 TARGET_DEFAULT_NORETURN.
895 2014-02-19 Tom Tromey <tromey@redhat.com>
897 * target-delegates.c: Rebuild.
898 * target.c (update_current_target): Don't inherit or default
899 to_trace_set_readonly_regions.
900 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
901 Use TARGET_DEFAULT_NORETURN.
903 2014-02-19 Tom Tromey <tromey@redhat.com>
905 * target-delegates.c: Rebuild.
906 * target.c (update_current_target): Don't inherit or default
907 to_disable_tracepoint.
908 * target.h (struct target_ops) <to_disable_tracepoint>: Use
909 TARGET_DEFAULT_NORETURN.
911 2014-02-19 Tom Tromey <tromey@redhat.com>
913 * target-delegates.c: Rebuild.
914 * target.c (update_current_target): Don't inherit or default
915 to_enable_tracepoint.
916 * target.h (struct target_ops) <to_enable_tracepoint>: Use
917 TARGET_DEFAULT_NORETURN.
919 2014-02-19 Tom Tromey <tromey@redhat.com>
921 * target-delegates.c: Rebuild.
922 * target.c (update_current_target): Don't inherit or default
923 to_download_trace_state_variable.
924 * target.h (struct target_ops) <to_download_trace_state_variable>:
925 Use TARGET_DEFAULT_NORETURN.
927 2014-02-19 Tom Tromey <tromey@redhat.com>
929 * target-delegates.c: Rebuild.
930 * target.c (update_current_target): Don't inherit or default
931 to_can_download_tracepoint.
932 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
933 TARGET_DEFAULT_RETURN.
935 2014-02-19 Tom Tromey <tromey@redhat.com>
937 * target-delegates.c: Rebuild.
938 * target.c (update_current_target): Don't inherit or default
939 to_download_tracepoint.
940 * target.h (struct target_ops) <to_download_tracepoint>: Use
941 TARGET_DEFAULT_NORETURN.
943 2014-02-19 Tom Tromey <tromey@redhat.com>
945 * target-delegates.c: Rebuild.
946 * target.c (update_current_target): Don't inherit or default
948 * target.h (struct target_ops) <to_trace_init>: Use
949 TARGET_DEFAULT_RETURN.
951 2014-02-19 Tom Tromey <tromey@redhat.com>
953 * target-delegates.c: Rebuild.
954 * target.c (update_current_target): Don't inherit or default
955 to_supports_string_tracing.
956 * target.h (struct target_ops) <to_supports_string_tracing>: Use
957 TARGET_DEFAULT_RETURN.
959 2014-02-19 Tom Tromey <tromey@redhat.com>
961 * target-delegates.c: Rebuild.
962 * target.c (update_current_target): Don't inherit or default
963 to_supports_enable_disable_tracepoint.
964 * target.h (struct target_ops)
965 <to_supports_enable_disable_tracepoint>: Use
966 TARGET_DEFAULT_RETURN.
968 2014-02-19 Tom Tromey <tromey@redhat.com>
970 * target-delegates.c: Rebuild.
971 * target.c (update_current_target): Don't inherit or default
972 to_supports_multi_process.
973 * target.h (struct target_ops) <to_supports_multi_process>: Use
974 TARGET_DEFAULT_RETURN.
976 2014-02-19 Tom Tromey <tromey@redhat.com>
978 * target-delegates.c: Rebuild.
979 * target.c (update_current_target): Don't inherit or default
980 to_get_ada_task_ptid.
981 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
984 2014-02-19 Tom Tromey <tromey@redhat.com>
986 * target-delegates.c: Rebuild.
987 * target.c (update_current_target): Don't inherit or default
988 to_thread_architecture.
989 * target.h (struct target_ops) <to_thread_architecture>: Use
992 2014-02-19 Tom Tromey <tromey@redhat.com>
994 * target-delegates.c: Rebuild.
995 * target.c (update_current_target): Don't inherit or default
996 to_execution_direction.
997 * target.h (struct target_ops) <to_execution_direction>: Use
1000 2014-02-19 Tom Tromey <tromey@redhat.com>
1002 * target-delegates.c: Rebuild.
1003 * target.c (update_current_target): Don't inherit or default
1004 to_can_execute_reverse.
1005 * target.h (struct target_ops) <to_can_execute_reverse>: Use
1006 TARGET_DEFAULT_RETURN.
1007 (target_can_execute_reverse): Unconditionally delegate.
1009 2014-02-19 Tom Tromey <tromey@redhat.com>
1011 * target-delegates.c: Rebuild.
1012 * target.c (update_current_target): Don't inherit or default
1014 (dummy_goto_bookmark): Remove.
1015 (init_dummy_target): Don't inherit or default to_goto_bookmark.
1016 * target.h (struct target_ops) <to_goto_bookmark>: Use
1017 TARGET_DEFAULT_NORETURN.
1019 2014-02-19 Tom Tromey <tromey@redhat.com>
1021 * target-delegates.c: Rebuild.
1022 * target.c (update_current_target): Don't inherit or default
1024 (dummy_get_bookmark): Remove.
1025 (init_dummy_target): Don't inherit or default to_get_bookmark.
1026 * target.h (struct target_ops) <to_get_bookmark>: Use
1027 TARGET_DEFAULT_NORETURN
1029 2014-02-19 Tom Tromey <tromey@redhat.com>
1031 * target-delegates.c: Rebuild.
1032 * target.c (update_current_target): Don't inherit or default
1033 to_make_corefile_notes.
1034 (init_dummy_target): Don't initialize to_make_corefile_notes.
1035 * target.h (struct target_ops) <to_make_corefile_notes>: Use
1036 TARGET_DEFAULT_FUNC.
1038 2014-02-19 Tom Tromey <tromey@redhat.com>
1040 * target-delegates.c: Rebuild.
1041 * target.c (update_current_target): Don't inherit or default
1042 to_find_memory_regions.
1043 (init_dummy_target): Don't initialize to_find_memory_regions.
1044 * target.h (struct target_ops) <to_find_memory_regions>: Use
1045 TARGET_DEFAULT_FUNC.
1047 2014-02-19 Tom Tromey <tromey@redhat.com>
1049 * target-delegates.c: Rebuild.
1050 * target.c (update_current_target): Don't inherit or default
1052 * target.h (struct target_ops) <to_log_command>: Use
1053 TARGET_DEFAULT_IGNORE.
1054 (target_log_command): Unconditionally delegate.
1056 2014-02-19 Tom Tromey <tromey@redhat.com>
1058 * target-delegates.c: Rebuild.
1059 * target.c (update_current_target): Don't inherit or default
1060 to_pid_to_exec_file.
1061 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
1062 TARGET_DEFAULT_RETURN.
1064 2014-02-19 Tom Tromey <tromey@redhat.com>
1066 * target-delegates.c: Rebuild.
1067 * target.c (update_current_target): Don't inherit or default
1069 (target_thread_name): Unconditionally delegate.
1070 * target.h (struct target_ops) <to_thread_name>: Use
1071 TARGET_DEFAULT_RETURN.
1073 2014-02-19 Tom Tromey <tromey@redhat.com>
1075 * target-delegates.c: Rebuild.
1076 * target.c (update_current_target): Don't inherit or default
1077 to_extra_thread_info.
1078 * target.h (struct target_ops) <to_extra_thread_info>: Use
1079 TARGET_DEFAULT_RETURN.
1081 2014-02-19 Tom Tromey <tromey@redhat.com>
1083 * target-delegates.c: Rebuild.
1084 * target.c (update_current_target): Don't inherit or default
1086 * target.h (struct target_ops) <to_has_exited>: Use
1087 TARGET_DEFAULT_RETURN..
1089 2014-02-19 Tom Tromey <tromey@redhat.com>
1091 * target-delegates.c: Rebuild.
1092 * target.c (update_current_target): Don't inherit or default
1093 to_set_syscall_catchpoint.
1094 (return_one): Remove.
1095 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
1096 TARGET_DEFAULT_RETURN.
1098 2014-02-19 Tom Tromey <tromey@redhat.com>
1100 * target-delegates.c: Rebuild.
1101 * target.c (update_current_target): Don't inherit or default
1102 to_insert_exec_catchpoint.
1103 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1104 TARGET_DEFAULT_RETURN.
1106 2014-01-08 Tom Tromey <tromey@redhat.com>
1108 * target-delegates.c: Rebuild.
1109 * target.c (update_current_target): Don't inherit or default
1110 to_insert_exec_catchpoint.
1111 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1112 TARGET_DEFAULT_RETURN.
1114 2014-02-19 Tom Tromey <tromey@redhat.com>
1116 * target-delegates.c: Rebuild.
1117 * target.c (update_current_target): Don't inherit or default
1118 to_remove_vfork_catchpoint.
1119 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
1120 TARGET_DEFAULT_RETURN.
1122 2014-02-19 Tom Tromey <tromey@redhat.com>
1124 * target-delegates.c: Rebuild.
1125 * target.c (update_current_target): Don't inherit or default
1126 to_insert_vfork_catchpoint.
1127 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
1128 TARGET_DEFAULT_RETURN.
1130 2014-02-19 Tom Tromey <tromey@redhat.com>
1132 * target-delegates.c: Rebuild.
1133 * target.c (update_current_target): Don't inherit or default
1134 to_remove_fork_catchpoint.
1135 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
1136 TARGET_DEFAULT_RETURN.
1138 2014-02-19 Tom Tromey <tromey@redhat.com>
1140 * target-delegates.c: Rebuild.
1141 * target.c (update_current_target): Don't inherit or default
1142 to_insert_fork_catchpoint.
1143 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
1144 TARGET_DEFAULT_RETURN.
1146 2014-02-19 Tom Tromey <tromey@redhat.com>
1148 * target-delegates.c: Rebuild.
1149 * target.c (update_current_target): Don't inherit or default
1150 to_post_startup_inferior.
1151 * target.h (struct target_ops) <to_post_startup_inferior>: Use
1152 TARGET_DEFAULT_IGNORE.
1154 2014-02-19 Tom Tromey <tromey@redhat.com>
1156 * target-delegates.c: Rebuild.
1157 * target.c (update_current_target): Don't inherit or default
1159 * target.h (struct target_ops) <to_load>: Use
1160 TARGET_DEFAULT_NORETURN.
1162 2014-02-19 Tom Tromey <tromey@redhat.com>
1164 * target-delegates.c: Rebuild.
1165 * target.c (update_current_target): Don't inherit or default
1167 * target.h (struct target_ops) <to_terminal_info>: Use
1168 TARGET_DEFAULT_FUNC.
1170 2014-02-19 Tom Tromey <tromey@redhat.com>
1172 * target-delegates.c: Rebuild.
1173 * target.c (update_current_target): Don't inherit or default
1174 to_terminal_save_ours.
1175 * target.h (struct target_ops) <to_terminal_save_ours>: Use
1176 TARGET_DEFAULT_IGNORE.
1178 2014-02-19 Tom Tromey <tromey@redhat.com>
1180 * target-delegates.c: Rebuild.
1181 * target.c (update_current_target): Don't inherit or default
1183 * target.h (struct target_ops) <to_terminal_ours>: Use
1184 TARGET_DEFAULT_IGNORE.
1186 2014-02-19 Tom Tromey <tromey@redhat.com>
1188 * target-delegates.c: Rebuild.
1189 * target.c (update_current_target): Don't inherit or default
1190 to_terminal_ours_for_output.
1191 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
1192 TARGET_DEFAULT_IGNORE.
1194 2014-02-19 Tom Tromey <tromey@redhat.com>
1196 * target-delegates.c: Rebuild.
1197 * target.c (update_current_target): Don't inherit or default
1198 to_terminal_inferior.
1199 * target.h (struct target_ops) <to_terminal_inferior>: Use
1200 TARGET_DEFAULT_IGNORE.
1202 2014-02-19 Tom Tromey <tromey@redhat.com>
1204 * target-delegates.c: Rebuild.
1205 * target.c (update_current_target): Don't inherit or default
1207 * target.h (struct target_ops) <to_terminal_init>: Use
1208 TARGET_DEFAULT_IGNORE.
1210 2014-02-19 Tom Tromey <tromey@redhat.com>
1212 * target-delegates.c: Rebuild.
1213 * target.c (update_current_target): Don't inherit or default
1214 to_can_accel_watchpoint_condition.
1215 * target.h (struct target_ops)
1216 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
1218 2014-02-19 Tom Tromey <tromey@redhat.com>
1220 * target-delegates.c: Rebuild.
1221 * target.c (update_current_target): Don't inherit or default
1222 to_region_ok_for_hw_watchpoint.
1223 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1224 Use TARGET_DEFAULT_FUNC.
1226 2014-02-19 Tom Tromey <tromey@redhat.com>
1228 * target-delegates.c: Rebuild.
1229 * target.c (update_current_target): Don't inherit or default
1230 to_watchpoint_addr_within_range.
1231 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
1232 Use TARGET_DEFAULT_FUNC.
1234 2014-02-19 Tom Tromey <tromey@redhat.com>
1236 * target-delegates.c: Rebuild.
1237 * target.c (update_current_target): Don't inherit or default
1238 to_remove_watchpoint.
1239 * target.h (struct target_ops) <to_remove_watchpoint>: Use
1240 TARGET_DEFAULT_NORETURN.
1242 2014-02-19 Tom Tromey <tromey@redhat.com>
1244 * target-delegates.c: Rebuild.
1245 * target.c (update_current_target): Don't inherit or default
1246 to_insert_watchpoint.
1247 * target.h (struct target_ops) <to_insert_watchpoint>: Use
1248 TARGET_DEFAULT_RETURN.
1250 2014-02-19 Tom Tromey <tromey@redhat.com>
1252 * target-delegates.c: Rebuild.
1253 * target.c (update_current_target): Don't inherit or default
1254 to_remove_hw_breakpoint.
1255 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
1256 TARGET_DEFAULT_RETURN.
1258 2014-02-19 Tom Tromey <tromey@redhat.com>
1260 * target-delegates.c: Rebuild.
1261 * target.c (update_current_target): Don't inherit or default
1262 to_insert_hw_breakpoint.
1263 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
1264 TARGET_DEFAULT_RETURN.
1266 2014-02-19 Tom Tromey <tromey@redhat.com>
1268 * target-delegates.c: Rebuild.
1269 * target.c (update_current_target): Don't inherit or default
1270 to_can_use_hw_breakpoint.
1271 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
1272 TARGET_DEFAULT_RETURN.
1274 2014-02-19 Tom Tromey <tromey@redhat.com>
1276 * target-delegates.c: Rebuild.
1277 * target.c (update_current_target): Don't inherit or default
1279 * target.h (struct target_ops) <to_files_info>: Use
1280 TARGET_DEFAULT_IGNORE.
1282 2014-02-19 Tom Tromey <tromey@redhat.com>
1284 * target-delegates.c: Rebuild.
1285 * target.c (update_current_target): Don't inherit or default
1287 * target.h (struct target_ops) <to_store>: Use
1288 TARGET_DEFAULT_NORETURN.
1290 2014-02-19 Tom Tromey <tromey@redhat.com>
1292 * target-delegates.c: Rebuild.
1293 * target.c (update_current_target): Don't inherit or default
1295 * target.h (struct target_ops) <to_post_attach>: Use
1296 TARGET_DEFAULT_IGNORE.
1298 2014-02-19 Tom Tromey <tromey@redhat.com>
1300 * target-delegates.c: Rebuild.
1301 * target.c (update_current_target): Don't inherit or default
1303 (default_rcmd): New function.
1304 (do_monitor_command): Unconditionally delegate.
1305 * target.h (struct target_ops) <to_rmcd>: Use
1306 TARGET_DEFAULT_FUNC.
1308 2014-02-19 Tom Tromey <tromey@redhat.com>
1310 * target-delegates.c: Rebuild.
1311 * target.c (init_dummy_target): Don't initialize to_attach.
1312 (target_attach): Unconditionally delegate.
1313 * target.h (struct target_ops) <to_attach>: Use
1314 TARGET_DEFAULT_FUNC.
1316 2014-02-19 Tom Tromey <tromey@redhat.com>
1318 * target-delegates.c: Rebuild.
1319 * target.c (target_detach): Unconditionally delegate.
1320 (init_dummy_target): Don't initialize to_detach.
1321 * target.h (struct target_ops) <to_detach>: Use
1322 TARGET_DEFAULT_IGNORE.
1324 2014-02-19 Tom Tromey <tromey@redhat.com>
1326 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1328 (target_augmented_libraries_svr4_read): Add argument.
1329 * target.c (update_current_target): Update.
1330 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
1333 2014-02-19 Tom Tromey <tromey@redhat.com>
1335 * target.h (struct target_ops) <to_call_history_range>: Add
1337 * target.c (target_call_history_range): Add argument.
1338 * record-btrace.c (record_btrace_call_history_range): Add 'self'
1340 (record_btrace_call_history_from): Update.
1342 2014-02-19 Tom Tromey <tromey@redhat.com>
1344 * target.h (struct target_ops) <to_call_history_from>: Add
1346 * target.c (target_call_history_from): Add argument.
1347 * record-btrace.c (record_btrace_call_history_from): Add 'self'
1350 2014-02-19 Tom Tromey <tromey@redhat.com>
1352 * target.h (struct target_ops) <to_call_history>: Add argument.
1353 * target.c (target_call_history): Add argument.
1354 * record-btrace.c (record_btrace_call_history): Add 'self'
1357 2014-02-19 Tom Tromey <tromey@redhat.com>
1359 * target.h (struct target_ops) <to_insn_history_range>: Add
1361 * target.c (target_insn_history_range): Add argument.
1362 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
1364 (record_btrace_insn_history_from): Update.
1366 2014-02-19 Tom Tromey <tromey@redhat.com>
1368 * target.h (struct target_ops) <to_insn_history_from>: Add
1370 * target.c (target_insn_history_from): Add argument.
1371 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
1374 2014-02-19 Tom Tromey <tromey@redhat.com>
1376 * target.h (struct target_ops) <to_insn_history>: Add argument.
1377 * target.c (target_insn_history): Add argument.
1378 * record-btrace.c (record_btrace_insn_history): Add 'self'
1381 2014-02-19 Tom Tromey <tromey@redhat.com>
1383 * target.h (struct target_ops) <to_goto_record>: Add argument.
1384 * target.c (target_goto_record): Add argument.
1385 * record-full.c (record_full_goto): Add 'self' argument.
1386 * record-btrace.c (record_btrace_goto): Add 'self' argument.
1388 2014-02-19 Tom Tromey <tromey@redhat.com>
1390 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
1391 * target.c (target_goto_record_end): Add argument.
1392 * record-full.c (record_full_goto_end): Add 'self' argument.
1393 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
1395 2014-02-19 Tom Tromey <tromey@redhat.com>
1397 * target.h (struct target_ops) <to_goto_record_begin>: Add
1399 * target.c (target_goto_record_begin): Add argument.
1400 * record-full.c (record_full_goto_begin): Add 'self' argument.
1401 * record-btrace.c (record_btrace_goto_begin): Add 'self'
1404 2014-02-19 Tom Tromey <tromey@redhat.com>
1406 * target.h (struct target_ops) <to_record_is_replaying>: Add
1408 * target.c (target_record_is_replaying): Add argument.
1409 * record-full.c (record_full_is_replaying): Add 'self' argument.
1410 * record-btrace.c (record_btrace_is_replaying): Add 'self'
1412 (record_btrace_xfer_partial, record_btrace_store_registers)
1413 (record_btrace_prepare_to_store, record_btrace_resume)
1414 (record_btrace_wait, record_btrace_decr_pc_after_break)
1415 (record_btrace_find_new_threads, record_btrace_thread_alive):
1418 2014-02-19 Tom Tromey <tromey@redhat.com>
1420 * target.h (struct target_ops) <to_delete_record>: Add argument.
1421 * target.c (target_delete_record): Add argument.
1422 * record-full.c (record_full_delete): Add 'self' argument.
1424 2014-02-19 Tom Tromey <tromey@redhat.com>
1426 * target.h (struct target_ops) <to_save_record>: Add argument.
1427 * target.c (target_save_record): Add argument.
1428 * record-full.c (record_full_save): Add 'self' argument.
1429 (record_full_save): Add 'self' argument.
1431 2014-02-19 Tom Tromey <tromey@redhat.com>
1433 * target.h (struct target_ops) <to_info_record>: Add argument.
1434 * target.c (target_info_record): Add argument.
1435 * record.c (info_record_command): Add argument.
1436 * record-full.c (record_full_info): Add 'self' argument.
1437 * record-btrace.c (record_btrace_info): Add 'self' argument.
1439 2014-02-19 Tom Tromey <tromey@redhat.com>
1441 * target.h (struct target_ops) <to_stop_recording>: Add argument.
1442 * target.c (target_stop_recording): Add argument.
1443 * record.c (record_stop): Add argument.
1444 * record-btrace.c (record_btrace_stop_recording): Add 'self'
1447 2014-02-19 Tom Tromey <tromey@redhat.com>
1449 * target.h (struct target_ops) <to_read_btrace>: Add argument.
1450 * target.c (struct target_ops) <to_read_btrace>: Add argument.
1451 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
1453 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
1454 (_initialize_amd64_linux_nat): Use it.
1455 * i386-linux-nat.c (i386_linux_read_btrace): New function.
1456 (_initialize_i386_linux_nat): Use it.
1458 2014-02-19 Tom Tromey <tromey@redhat.com>
1460 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
1461 * target.c (target_teardown_btrace): Add argument.
1462 * remote.c (remote_teardown_btrace): Add 'self' argument.
1463 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
1465 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
1468 2014-02-19 Tom Tromey <tromey@redhat.com>
1470 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
1471 * target.c (target_disable_btrace): Add argument.
1472 * remote.c (remote_disable_btrace): Add 'self' argument.
1473 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
1475 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
1478 2014-02-19 Tom Tromey <tromey@redhat.com>
1480 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
1481 * target.c (target_enable_btrace): Add argument.
1482 * remote.c (remote_enable_btrace): Add 'self' argument.
1483 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
1485 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
1488 2014-02-19 Tom Tromey <tromey@redhat.com>
1490 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
1491 (target_can_use_agent): Add argument.
1492 * target.c (update_current_target): Update.
1493 * remote.c (remote_can_use_agent): Add 'self' argument.
1494 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
1496 2014-02-19 Tom Tromey <tromey@redhat.com>
1498 * target.h (struct target_ops) <to_use_agent>: Add argument.
1499 (target_use_agent): Add argument.
1500 * target.c (update_current_target): Update.
1501 * remote.c (remote_use_agent): Add 'self' argument.
1502 * inf-child.c (inf_child_use_agent): Add 'self' argument.
1504 2014-02-19 Tom Tromey <tromey@redhat.com>
1506 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
1507 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
1508 (target_traceframe_info): Add argument.
1509 * target.c (update_current_target): Update.
1510 * remote.c (remote_traceframe_info): Add 'self' argument.
1511 * ctf.c (ctf_traceframe_info): Add 'self' argument.
1513 2014-02-19 Tom Tromey <tromey@redhat.com>
1515 * target.h (target_static_tracepoint_markers_by_strid): Add
1517 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
1519 * target.c (update_current_target): Update.
1520 * remote.c (struct target_ops)
1521 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1522 * linux-nat.c (struct target_ops)
1523 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1525 2014-02-19 Tom Tromey <tromey@redhat.com>
1527 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1529 (target_static_tracepoint_marker_at): Add argument.
1530 * target.c (update_current_target): Update.
1531 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
1534 2014-02-19 Tom Tromey <tromey@redhat.com>
1536 * target.h (struct target_ops) <to_set_permissions>: Add argument.
1537 (target_set_permissions): Add argument.
1538 * target.c (update_current_target): Update.
1539 * remote.c (remote_set_permissions): Add 'self' argument.
1540 (remote_start_remote): Update.
1542 2014-02-19 Tom Tromey <tromey@redhat.com>
1544 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
1545 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
1546 (target_get_tib_address): Add argument.
1547 * target.c (update_current_target): Update.
1548 * remote.c (remote_get_tib_address): Add 'self' argument.
1550 2014-02-19 Tom Tromey <tromey@redhat.com>
1552 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
1553 (target_set_trace_notes): Add argument.
1554 * target.c (update_current_target): Update.
1555 * remote.c (remote_set_trace_notes): Add 'self' argument.
1557 2014-02-19 Tom Tromey <tromey@redhat.com>
1559 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
1561 (target_set_trace_buffer_size): Add argument.
1562 * target.c (update_current_target): Update.
1563 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
1565 2014-02-19 Tom Tromey <tromey@redhat.com>
1567 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
1569 (target_set_circular_trace_buffer): Add argument.
1570 * target.c (update_current_target): Update.
1571 * remote.c (remote_set_circular_trace_buffer): Add 'self'
1574 2014-02-19 Tom Tromey <tromey@redhat.com>
1576 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
1578 (target_set_disconnected_tracing): Add argument.
1579 * target.c (update_current_target): Update.
1580 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
1582 2014-02-19 Tom Tromey <tromey@redhat.com>
1584 * target.h (struct target_ops)
1585 <to_get_min_fast_tracepoint_insn_len>: Add argument.
1586 (target_get_min_fast_tracepoint_insn_len): Add argument.
1587 * target.c (update_current_target): Update.
1588 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
1591 2014-02-19 Tom Tromey <tromey@redhat.com>
1593 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
1595 (target_get_raw_trace_data): Add argument.
1596 * target.c (update_current_target): Update.
1597 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
1599 2014-02-19 Tom Tromey <tromey@redhat.com>
1601 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1603 (target_upload_trace_state_variables): Add argument.
1604 * target.c (update_current_target): Update.
1605 * remote.c (remote_upload_trace_state_variables): Add 'self'
1607 (remote_start_remote): Update.
1609 2014-02-19 Tom Tromey <tromey@redhat.com>
1611 * target.h (struct target_ops) <to_upload_tracepoints>: Add
1613 (target_upload_tracepoints): Add argument.
1614 * target.c (update_current_target): Update.
1615 * remote.c (remote_upload_tracepoints): Add 'self' argument.
1616 (remote_start_remote): Update.
1618 2014-02-19 Tom Tromey <tromey@redhat.com>
1620 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
1621 (target_save_trace_data): Add argument.
1622 * target.c (update_current_target): Update.
1623 * remote.c (remote_save_trace_data): Add 'self' argument.
1625 2014-02-19 Tom Tromey <tromey@redhat.com>
1627 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
1629 * target.h (struct target_ops)
1630 <to_get_trace_state_variable_value>: Add argument.
1631 (target_get_trace_state_variable_value): Add argument.
1632 * target.c (update_current_target): Update.
1633 * remote.c (remote_get_trace_state_variable_value): Add 'self'
1635 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
1637 2014-02-19 Tom Tromey <tromey@redhat.com>
1639 * tracepoint.c (tfile_trace_find): Add 'self' argument.
1640 * target.h (struct target_ops) <to_trace_find>: Add argument.
1641 (target_trace_find): Add argument.
1642 * target.c (update_current_target): Update.
1643 * remote.c (remote_trace_find): Add 'self' argument.
1644 * ctf.c (ctf_trace_find): Add 'self' argument.
1646 2014-02-19 Tom Tromey <tromey@redhat.com>
1648 * target.h (struct target_ops) <to_trace_stop>: Add argument.
1649 (target_trace_stop): Add argument.
1650 * target.c (update_current_target): Update.
1651 * remote.c (remote_trace_stop): Add 'self' argument.
1653 2014-02-19 Tom Tromey <tromey@redhat.com>
1655 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
1656 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
1658 (target_get_tracepoint_status): Add argument.
1659 * target.c (update_current_target): Update.
1660 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
1662 2014-02-19 Tom Tromey <tromey@redhat.com>
1664 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
1665 * target.h (struct target_ops) <to_get_trace_status>: Add
1667 (target_get_trace_status): Add argument.
1668 * target.c (update_current_target): Update.
1669 * remote.c (remote_get_trace_status): Add 'self' argument.
1670 (remote_start_remote, remote_can_download_tracepoint): Update.
1671 * ctf.c (ctf_get_trace_status): Add 'self' argument.
1673 2014-02-19 Tom Tromey <tromey@redhat.com>
1675 * target.h (struct target_ops) <to_trace_start>: Add argument.
1676 (target_trace_start): Add argument.
1677 * target.c (update_current_target): Update.
1678 * remote.c (remote_trace_start): Add 'self' argument.
1680 2014-02-19 Tom Tromey <tromey@redhat.com>
1682 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1684 (target_trace_set_readonly_regions): Add argument.
1685 * target.c (update_current_target): Update.
1686 * remote.c (remote_trace_set_readonly_regions): Add 'self'
1689 2014-02-19 Tom Tromey <tromey@redhat.com>
1691 * target.h (struct target_ops) <to_disable_tracepoint>: Add
1693 (target_disable_tracepoint): Add argument.
1694 * target.c (update_current_target): Update.
1695 * remote.c (remote_disable_tracepoint): Add 'self' argument.
1697 2014-02-19 Tom Tromey <tromey@redhat.com>
1699 * target.h (struct target_ops) <to_enable_tracepoint>: Add
1701 (target_enable_tracepoint): Add argument.
1702 * target.c (update_current_target): Update.
1703 * remote.c (remote_enable_tracepoint): Add 'self' argument.
1705 2014-02-19 Tom Tromey <tromey@redhat.com>
1707 * target.h (struct target_ops) <to_download_trace_state_variable>:
1709 (target_download_trace_state_variable): Add argument.
1710 * target.c (update_current_target): Update.
1711 * remote.c (remote_download_trace_state_variable): Add 'self'
1714 2014-02-19 Tom Tromey <tromey@redhat.com>
1716 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
1718 (target_can_download_tracepoint): Add argument.
1719 * target.c (update_current_target): Update.
1720 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
1722 2014-02-19 Tom Tromey <tromey@redhat.com>
1724 * target.h (struct target_ops) <to_download_tracepoint>: Add
1726 (target_download_tracepoint): Add argument.
1727 * target.c (update_current_target): Update.
1728 * remote.c (remote_download_tracepoint): Add 'self' argument.
1730 2014-02-19 Tom Tromey <tromey@redhat.com>
1732 * target.h (struct target_ops) <to_trace_init>: Add argument.
1733 (target_trace_init): Add argument.
1734 * target.c (update_current_target): Update.
1735 * remote.c (remote_trace_init): Add 'self' argument.
1737 2014-02-19 Tom Tromey <tromey@redhat.com>
1739 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1740 * target.c (target_fileio_readlink): Add argument.
1741 * remote.c (remote_hostio_readlink): Add 'self' argument.
1742 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1744 2014-02-19 Tom Tromey <tromey@redhat.com>
1746 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1747 * target.c (target_fileio_unlink): Add argument.
1748 * remote.c (remote_hostio_unlink): Add 'self' argument.
1749 (remote_file_delete): Update.
1750 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1752 2014-02-19 Tom Tromey <tromey@redhat.com>
1754 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1755 * target.c (target_fileio_close): Add argument.
1756 * remote.c (remote_hostio_close): Add 'self' argument.
1757 (remote_hostio_close_cleanup): Update.
1758 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1760 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1762 2014-02-19 Tom Tromey <tromey@redhat.com>
1764 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1765 * target.c (target_fileio_pread): Add argument.
1766 * remote.c (remote_hostio_pread): Add 'self' argument.
1767 (remote_bfd_iovec_pread, remote_file_get): Update.
1768 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1770 2014-02-19 Tom Tromey <tromey@redhat.com>
1772 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1773 * target.c (target_fileio_pwrite): Add argument.
1774 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1775 (remote_file_put): Update.
1776 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1778 2014-02-19 Tom Tromey <tromey@redhat.com>
1780 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1781 * target.c (target_fileio_open): Add argument.
1782 * remote.c (remote_hostio_open): Add 'self' argument.
1783 (remote_bfd_iovec_open): Add 'self' argument.
1784 (remote_file_put): Add 'self' argument.
1785 (remote_file_get): Add 'self' argument.
1786 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1788 2014-02-19 Tom Tromey <tromey@redhat.com>
1790 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1792 (target_can_run_breakpoint_commands): Add argument.
1793 * target.c (update_current_target): Update.
1794 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1796 (remote_insert_breakpoint): Add 'self' argument.
1797 (remote_insert_hw_breakpoint): Add 'self' argument.
1798 (remote_can_run_breakpoint_commands): Add 'self' argument.
1800 2014-02-19 Tom Tromey <tromey@redhat.com>
1802 * target.h (struct target_ops)
1803 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1804 (target_supports_evaluation_of_breakpoint_conditions): Add
1806 * target.c (update_current_target): Update.
1807 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1809 (remote_insert_breakpoint): Add 'self' argument.
1810 (remote_insert_hw_breakpoint): Add 'self' argument.
1811 (remote_supports_cond_breakpoints): Add 'self' argument.
1813 2014-02-19 Tom Tromey <tromey@redhat.com>
1815 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1817 (target_supports_string_tracing): Add argument.
1818 * target.c (update_current_target): Update.
1819 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1821 2014-02-19 Tom Tromey <tromey@redhat.com>
1823 * target.h (struct target_ops)
1824 <to_supports_disable_randomization>: Add argument.
1825 * target.c (find_default_supports_disable_randomization): Add
1827 (target_supports_disable_randomization): Add argument.
1828 (find_default_supports_disable_randomization): Add 'self'
1830 * remote.c (extended_remote_supports_disable_randomization): Add
1832 (remote_supports_disable_randomization): Add 'self' argument.
1833 (extended_remote_create_inferior): Update.
1834 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1837 2014-02-19 Tom Tromey <tromey@redhat.com>
1839 * target.h (struct target_ops)
1840 <to_supports_enable_disable_tracepoint>: Add argument.
1841 (target_supports_enable_disable_tracepoint): Add argument.
1842 * target.c (update_current_target): Update.
1843 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1846 2014-02-19 Tom Tromey <tromey@redhat.com>
1848 * target.h (struct target_ops) <to_supports_multi_process>: Add
1850 (target_supports_multi_process): Add argument.
1851 * target.c (update_current_target): Update.
1852 * remote.c (remote_supports_multi_process): Add 'self' argument.
1853 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1855 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1858 2014-02-19 Tom Tromey <tromey@redhat.com>
1860 * target.h (struct target_ops) <to_execution_direction>: Add
1862 (target_execution_direction): Add argument.
1863 * target.c (default_execution_direction): Add 'self' argument.
1864 * record-full.c (record_full_execution_direction): Add 'self'
1867 2014-02-19 Tom Tromey <tromey@redhat.com>
1869 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1871 (target_can_execute_reverse): Add argument.
1872 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1873 * record-full.c (record_full_can_execute_reverse): Add 'self'
1875 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1878 2014-02-19 Tom Tromey <tromey@redhat.com>
1880 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1881 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1883 (target_get_ada_task_ptid): Add argument.
1884 * target.c (update_current_target): Update.
1885 (default_get_ada_task_ptid): Add 'self' argument.
1886 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1887 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1888 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1890 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1892 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1894 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1896 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1897 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1900 2014-02-19 Tom Tromey <tromey@redhat.com>
1902 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1903 (target_goto_bookmark): Add argument.
1904 * target.c (dummy_goto_bookmark): Add 'self' argument.
1905 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1907 2014-02-19 Tom Tromey <tromey@redhat.com>
1909 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1910 (target_get_bookmark): Add argument.
1911 * target.c (dummy_get_bookmark): Add 'self' argument.
1912 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1914 2014-02-19 Tom Tromey <tromey@redhat.com>
1916 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1918 (target_make_corefile_notes): Add argument.
1919 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1920 * procfs.c (procfs_make_note_section): Add 'self' argument.
1921 (procfs_make_note_section): Add 'self' argument.
1922 (procfs_make_note_section): Add 'self' argument.
1923 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1925 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1926 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1927 * exec.c (exec_make_note_section): Add 'self' argument.
1928 (exec_make_note_section): Add 'self' argument.
1930 2014-02-19 Tom Tromey <tromey@redhat.com>
1932 * target.h (struct target_ops) <to_find_memory_regions>: Add
1934 (target_find_memory_regions): Add argument.
1935 * target.c (dummy_find_memory_regions): Add 'self' argument.
1936 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1937 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1938 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1939 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1940 * exec. (exec_do_find_memory_regions): New global.
1941 (exec_set_find_memory_regions): Rewrite.
1942 (exec_find_memory_regions): New function.
1943 (init_exec_ops): Use exec_find_memory_regions.
1945 2014-02-19 Tom Tromey <tromey@redhat.com>
1947 * target.h (struct target_ops) <to_supports_non_stop>: Add
1949 * target.c (find_default_supports_non_stop): Add argument.
1950 (target_supports_non_stop): Add argument.
1951 (find_default_supports_non_stop): Add 'self' argument.
1952 * remote.c (remote_supports_non_stop): Add 'self' argument.
1953 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1955 2014-02-19 Tom Tromey <tromey@redhat.com>
1957 * target.h (struct target_ops) <to_log_command>: Add argument.
1958 (target_log_command): Add argument.
1959 * serial.h (serial_log_command): Add 'self' argument.
1960 * serial.c (serial_log_command): Add 'self' argument.
1962 2014-02-19 Tom Tromey <tromey@redhat.com>
1964 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1965 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1967 (target_pid_to_exec_file): Add argument.
1968 * target.c (debug_to_pid_to_exec_file): Add argument.
1969 (update_current_target): Update.
1970 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1971 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1972 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1973 (linux_handle_extended_wait): Update.
1974 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1975 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1976 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1977 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1979 2014-02-19 Tom Tromey <tromey@redhat.com>
1981 * target.h (struct target_ops) <to_rcmd>: Add argument.
1982 (target_rcmd): Add argument.
1983 * target.c (debug_to_rcmd): Add argument.
1984 (update_current_target, do_monitor_command): Update.
1985 * remote.c (remote_rcmd): Add 'self' argument.
1986 * monitor.c (monitor_rcmd): Add 'self' argument.
1988 2014-02-19 Tom Tromey <tromey@redhat.com>
1990 * windows-nat.c (windows_stop): Add 'self' argument.
1991 * target.h (struct target_ops) <to_stop>: Add argument.
1992 * target.c (target_stop): Add argument.
1993 (debug_to_stop): Add argument.
1994 (update_current_target): Update.
1995 * remote.c (remote_stop): Add 'self' argument.
1996 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1997 (gdbsim_cntrl_c): Update.
1998 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1999 * procfs.c (procfs_stop): Add 'self' argument.
2000 * nto-procfs.c (procfs_stop): Add 'self' argument.
2001 * monitor.c (monitor_stop): Add 'self' argument.
2002 (monitor_open): Update.
2003 * linux-nat.c (linux_nat_stop): Add argument.
2004 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
2005 * gnu-nat.c (gnu_stop): Add 'self' argument.
2006 * darwin-nat.c (darwin_stop): Add 'self' argument.
2008 2014-02-19 Tom Tromey <tromey@redhat.com>
2010 * target.h (struct target_ops) <to_thread_name>: Add argument.
2011 * target.c (target_thread_name): Add argument.
2012 (update_current_target): Update.
2013 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
2015 2014-02-19 Tom Tromey <tromey@redhat.com>
2017 * target.h (struct target_ops) <to_extra_thread_info>: Add
2019 (target_extra_thread_info): Add argument.
2020 * target.c (update_current_target): Update.
2021 * remote.c (remote_threads_extra_info): Add 'self' argument.
2022 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
2024 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
2025 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
2026 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
2028 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
2030 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
2032 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
2035 2014-02-19 Tom Tromey <tromey@redhat.com>
2037 * target.h (struct target_ops) <to_program_signals>: Add argument.
2038 * target.c (target_program_signals): Add argument.
2039 * remote.c (remote_program_signals): Add 'self' argument.
2041 2014-02-19 Tom Tromey <tromey@redhat.com>
2043 * target.h (struct target_ops) <to_pass_signals>: Add argument.
2044 * target.c (target_pass_signals): Add argument.
2045 * remote.c (remote_pass_signals): Add 'self' argument.
2046 (remote_start_remote): Update.
2047 * procfs.c (procfs_pass_signals): Add 'self' argument.
2048 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
2049 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
2050 (linux_nat_create_inferior, linux_nat_attach): Update.
2052 2014-02-19 Tom Tromey <tromey@redhat.com>
2054 * windows-nat.c (windows_can_run): Add 'self' argument.
2055 * target.h (struct target_ops) <to_can_run>: Add argument.
2056 (target_can_run): Add argument.
2057 * target.c (debug_to_can_run): Add argument.
2058 (update_current_target): Update.
2059 * nto-procfs.c (procfs_can_run): Add 'self' argument.
2060 * inf-child.c (inf_child_can_run): Add 'self' argument.
2061 * go32-nat.c (go32_can_run): Add 'self' argument.
2063 2014-02-19 Tom Tromey <tromey@redhat.com>
2065 * target.h (struct target_ops) <to_has_exited>: Add argument.
2066 (target_has_exited): Add argument.
2067 * target.c (debug_to_has_exited): Add argument.
2068 (update_current_target): Update.
2070 2014-02-19 Tom Tromey <tromey@redhat.com>
2072 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
2074 (target_set_syscall_catchpoint): Add argument.
2075 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
2077 * target.c (update_current_target): Update.
2079 2014-02-19 Tom Tromey <tromey@redhat.com>
2081 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
2083 (target_remove_exec_catchpoint): Add argument.
2084 * target.c (debug_to_remove_exec_catchpoint): Add argument.
2085 (update_current_target): Update.
2086 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
2089 2014-02-19 Tom Tromey <tromey@redhat.com>
2091 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
2093 (target_insert_exec_catchpoint): Add argument.
2094 * target.c (debug_to_insert_exec_catchpoint): Add argument.
2095 (update_current_target): Update.
2096 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
2099 2014-02-19 Tom Tromey <tromey@redhat.com>
2101 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
2103 (target_remove_vfork_catchpoint): Add argument.
2104 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
2105 (update_current_target): Update.
2106 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
2109 2014-02-19 Tom Tromey <tromey@redhat.com>
2111 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
2113 (target_insert_vfork_catchpoint): Add argument.
2114 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
2115 (update_current_target): Update.
2116 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
2119 2014-02-19 Tom Tromey <tromey@redhat.com>
2121 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
2123 (target_remove_fork_catchpoint): Add argument.
2124 * target.c (debug_to_remove_fork_catchpoint): Add argument.
2125 (update_current_target): Update.
2126 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
2129 2014-02-19 Tom Tromey <tromey@redhat.com>
2131 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
2133 (target_insert_fork_catchpoint): Add argument.
2134 * target.c (debug_to_insert_fork_catchpoint): Add argument.
2135 (update_current_target): Update.
2136 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
2139 2014-02-19 Tom Tromey <tromey@redhat.com>
2141 * target.h (struct target_ops) <to_post_startup_inferior>: Add
2143 (target_post_startup_inferior): Add argument.
2144 * target.c (debug_to_post_startup_inferior): Add argument.
2145 (update_current_target): Update.
2146 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
2148 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
2150 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
2152 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
2154 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
2156 (super_post_startup_inferior): Likewise.
2157 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
2159 (super_post_startup_inferior): Likewise.
2160 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
2161 Add 'self' argument.
2162 (super_post_startup_inferior): Likewise.
2164 2014-02-19 Tom Tromey <tromey@redhat.com>
2166 * target.h (struct target_ops) <to_load>: Add argument.
2167 * target.c (target_load): Add argument.
2168 (debug_to_load): Add argument.
2169 (update_current_target): Update.
2170 * remote.c (remote_load): Add 'self' argument.
2171 * remote-sim.c (gdbsim_load): Add 'self' argument.
2172 * remote-mips.c (mips_load): Add 'self' argument.
2173 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
2174 * monitor.c (monitor_load): Add 'self' argument.
2175 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
2177 2014-02-19 Tom Tromey <tromey@redhat.com>
2179 * target.h (struct target_ops) <to_terminal_info>: Add argument.
2180 (target_terminal_info): Add argument.
2181 * target.c (debug_to_terminal_info): Add argument.
2182 (default_terminal_info): Likewise.
2183 * inflow.c (child_terminal_info): Add 'self' argument.
2184 * inferior.h (child_terminal_info): Add 'self' argument.
2185 * go32-nat.c (go32_terminal_info): Add 'self' argument.
2187 2014-02-19 Tom Tromey <tromey@redhat.com>
2189 * target.h (struct target_ops) <to_terminal_save_ours>: Add
2191 (target_terminal_save_ours): Add argument.
2192 * target.c (debug_to_terminal_save_ours): Add argument.
2193 (update_current_target): Update.
2194 * inflow.c (terminal_save_ours): Add 'self' argument.
2195 * inferior.h (terminal_save_ours): Add 'self' argument.
2197 2014-02-19 Tom Tromey <tromey@redhat.com>
2199 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
2200 (target_terminal_ours): Add argument.
2201 * target.c (debug_to_terminal_ours): Add argument.
2202 (update_current_target): Update.
2203 * remote.c (remote_terminal_ours): Add 'self' argument.
2204 (remote_close): Update.
2205 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
2206 * inflow.c (terminal_ours): Add 'self' argument.
2207 * inferior.h (terminal_ours): Add 'self' argument.
2208 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2210 2014-02-19 Pedro Alves <palves@redhat.com>
2211 Tom Tromey <tromey@redhat.com>
2213 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
2215 (target_terminal_ours_for_output): Add argument.
2216 * target.c (debug_to_terminal_ours_for_output): Add argument.
2217 (update_current_target): Update.
2218 * inflow.c (terminal_ours_for_output): Add 'self' argument.
2219 * inferior.h (terminal_ours_for_output): Add 'self' argument.
2220 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2222 2014-02-19 Tom Tromey <tromey@redhat.com>
2224 * target.h (struct target_ops) <to_terminal_inferior>: Add
2226 * target.c (target_terminal_inferior): Add argument.
2227 (update_current_target): Update.
2228 * remote.c (remote_terminal_inferior): Add 'self' argument.
2229 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
2230 * inflow.c (terminal_inferior): Add 'self' argument.
2231 * inferior.h (terminal_inferior): Add 'self' argument.
2232 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
2233 (go32_terminal_inferior): Add 'self' argument.
2235 2014-02-19 Tom Tromey <tromey@redhat.com>
2237 * target.h (struct target_ops) <to_terminal_init>: Add argument.
2238 (target_terminal_init): Add argument.
2239 * target.c (debug_to_terminal_init): Add argument.
2240 (update_current_target): Update.
2241 * inflow.c (terminal_init_inferior): Add 'self' argument.
2242 * inferior.h (terminal_init_inferior): Add 'self' argument.
2243 * go32-nat.c (go32_terminal_init): Add 'self' argument.
2244 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
2246 2014-02-19 Tom Tromey <tromey@redhat.com>
2248 * target.h (struct target_ops)
2249 <to_can_accel_watchpoint_condition>: Add argument.
2250 (target_can_accel_watchpoint_condition): Add argument.
2251 * target.c (debug_to_can_accel_watchpoint_condition): Add
2253 (update_current_target): Update.
2254 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
2257 2014-02-19 Tom Tromey <tromey@redhat.com>
2259 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2261 (target_region_ok_for_hw_watchpoint): Add argument.
2262 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
2263 (default_region_ok_for_hw_watchpoint): Add argument.
2264 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
2265 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
2267 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
2269 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
2271 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
2273 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
2275 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
2277 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
2278 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
2280 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
2281 Add 'self' argument.
2283 2014-02-19 Tom Tromey <tromey@redhat.com>
2285 * target.h (struct target_ops) <to_insert_watchpoint>: Add
2287 (target_insert_watchpoint): Add argument.
2288 * target.c (debug_to_insert_watchpoint): Add argument.
2289 (update_current_target): Update.
2290 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
2291 * remote.c (remote_insert_watchpoint): Add 'self' argument.
2292 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
2293 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
2294 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
2295 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
2297 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
2298 (procfs_insert_hw_watchpoint): Add 'self' argument.
2299 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
2301 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
2303 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
2305 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
2306 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
2308 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
2311 2014-02-19 Tom Tromey <tromey@redhat.com>
2313 * target.h (struct target_ops) <to_remove_watchpoint>: Add
2315 (target_remove_watchpoint): Add argument.
2316 * target.c (debug_to_remove_watchpoint): Add argument.
2317 (update_current_target): Update.
2318 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
2319 * remote.c (remote_remove_watchpoint): Add 'self' argument.
2320 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
2321 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
2322 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
2323 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
2325 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
2326 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
2328 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
2330 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
2332 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
2333 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
2335 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
2338 2014-02-19 Tom Tromey <tromey@redhat.com>
2340 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
2342 (target_remove_hw_breakpoint): Add argument.
2343 * target.c (debug_to_remove_hw_breakpoint): Add argument.
2344 (update_current_target): Update.
2345 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
2346 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
2348 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
2349 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
2351 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
2354 2014-02-19 Tom Tromey <tromey@redhat.com>
2356 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
2358 (target_insert_hw_breakpoint): Add argument.
2359 * target.c (debug_to_insert_hw_breakpoint): Add argument.
2360 (update_current_target): Update.
2361 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
2362 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
2364 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
2365 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
2366 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
2368 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
2371 2014-02-19 Tom Tromey <tromey@redhat.com>
2373 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
2375 (target_can_use_hardware_watchpoint): Add argument.
2376 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
2377 (update_current_target): Update.
2378 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
2380 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
2382 * remote.c (remote_check_watch_resources): Add 'self' argument.
2383 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
2384 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
2386 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
2387 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
2389 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
2391 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
2393 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
2395 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
2397 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
2399 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
2400 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
2402 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
2405 2014-02-19 Tom Tromey <tromey@redhat.com>
2407 * target.h (struct target_ops) <to_post_attach>: Add argument.
2408 (target_post_attach): Add argument.
2409 * target.c (debug_to_post_attach): Add argument.
2410 (update_current_target): Update.
2411 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
2412 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
2413 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
2414 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
2415 * inf-child.c (inf_child_post_attach): Add 'self' argument.
2417 2014-02-19 Tom Tromey <tromey@redhat.com>
2419 * windows-nat.c (windows_close): Add 'self' argument.
2420 * tracepoint.c (tfile_close): Add 'self' argument.
2421 * target.h (struct target_ops) <to_close>: Add argument.
2422 * target.c (target_close): Add argument.
2423 (update_current_target): Update.
2424 * remote.c (remote_close): Add 'self' argument.
2425 * remote-sim.c (gdbsim_close): Add 'self' argument.
2426 * remote-mips.c (mips_close): Add 'self' argument.
2427 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
2428 * record-full.c (record_full_close): Add 'self' argument.
2429 * record-btrace.c (record_btrace_close): Add 'self' argument.
2430 * monitor.h (monitor_close): Add 'self' argument.
2431 * monitor.c (monitor_close): Add 'self' argument.
2432 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
2433 * linux-nat.c (linux_nat_close): Add argument.
2434 * go32-nat.c (go32_close): Add 'self' argument.
2435 * exec.c (exec_close_1): Add 'self' argument.
2436 * ctf.c (ctf_close): Add 'self' argument.
2437 * corelow.c (core_close): Add 'self' argument.
2438 (core_close_cleanup): Update.
2439 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
2440 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
2442 2014-02-19 Tom Tromey <tromey@redhat.com>
2444 * remote.c (remote_load): New function.
2445 (init_remote_ops): Use it.
2447 2014-02-19 Tom Tromey <tromey@redhat.com>
2449 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
2451 * common/linux-btrace.h (linux_supports_btrace): Update.
2452 * remote.c (remote_supports_btrace): Add "self" argument.
2453 * target-delegates.c: Rebuild.
2454 * target.c (target_supports_btrace): Remove.
2455 * target.h (struct target_ops) <to_supports_btrace>: Add
2456 target_ops argument.
2457 (target_supports_btrace): New define.
2459 2014-02-19 Tom Tromey <tromey@redhat.com>
2461 * record-full.c (record_full_beneath_to_resume_ops)
2462 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
2463 (record_full_beneath_to_wait)
2464 (record_full_beneath_to_store_registers_ops)
2465 (record_full_beneath_to_store_registers)
2466 (record_full_beneath_to_xfer_partial_ops)
2467 (record_full_beneath_to_xfer_partial)
2468 (record_full_beneath_to_insert_breakpoint_ops)
2469 (record_full_beneath_to_insert_breakpoint)
2470 (record_full_beneath_to_remove_breakpoint_ops)
2471 (record_full_beneath_to_remove_breakpoint)
2472 (record_full_beneath_to_stopped_by_watchpoint)
2473 (record_full_beneath_to_stopped_data_address)
2474 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
2475 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
2476 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
2477 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
2478 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
2479 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
2480 (tmp_to_stopped_data_address, tmp_to_async): Remove.
2481 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
2482 (record_full_resume, record_full_wait_1)
2483 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
2484 (record_full_store_registers, record_full_xfer_partial)
2485 (record_full_insert_breakpoint, record_full_remove_breakpoint)
2486 (record_full_async, record_full_core_xfer_partial): Use target
2488 * target-delegates.c: Rebuild.
2489 * target.c (current_xfer_partial): Remove.
2490 (update_current_target): Do not INHERIT or de_fault
2491 to_insert_breakpoint, to_remove_breakpoint,
2492 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
2493 to_is_async_p, to_async. Do not set to_xfer_partial field.
2494 (default_xfer_partial): Simplify.
2495 (current_xfer_partial): Remove.
2496 (target_wait, target_resume): Simplify.
2497 (find_default_can_async_p, find_default_is_async_p): Update.
2498 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
2499 to_xfer_partial, to_stopped_by_watchpoint,
2500 to_stopped_data_address.
2501 (target_store_registers): Simplify.
2502 (forward_target_remove_breakpoint)
2503 (forward_target_insert_breakpoint): Remove.
2504 (target_remove_breakpoint, target_insert_breakpoint)
2505 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
2506 * target.h (struct target_ops) <to_resume, to_wait,
2507 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
2508 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
2509 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
2511 (forward_target_remove_breakpoint)
2512 (forward_target_insert_breakpoint): Remove.
2513 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
2515 (record_btrace_insert_breakpoint): Delegate directly.
2517 2014-02-19 Tom Tromey <tromey@redhat.com>
2520 * target-delegates.c: New file.
2521 * target.c: Include target-delegates.c.
2522 (init_dummy_target): Call install_dummy_methods.
2523 (complete_target_initialization): Call install_delegators.
2524 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
2525 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
2526 * make-target-delegates: New file.
2528 2014-02-19 Tom Tromey <tromey@redhat.com>
2530 * record.c (find_record_target): Use find_target_at.
2531 * target.c (find_target_at): New function.
2532 * target.h (find_target_at): Declare.
2534 2014-02-19 Tom Tromey <tromey@redhat.com>
2536 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
2538 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
2540 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
2541 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
2543 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
2545 * linux-nat.c (save_sigtrap): Update.
2546 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
2547 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
2548 (linux_nat_close): Update.
2549 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
2551 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
2553 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
2554 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
2555 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
2556 (tmp_to_async): Add 'ops' argument.
2557 (record_full_stopped_by_watchpoint, record_full_async)
2558 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
2560 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
2561 (m32r_stopped_by_watchpoint): Add 'ops' argument.
2562 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
2563 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
2564 (remote_is_async_p, remote_async): Add 'ops' argument.
2565 (remote_stopped_data_address): Update.
2566 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
2567 * target.c (update_current_target)
2568 (find_default_can_async_p, find_default_is_async_p): Update.
2569 (init_dummy_target): Update.
2570 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
2571 * target.h (struct target_ops) <to_stopped_by_watchpoint,
2572 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
2573 (target_can_async_p, target_is_async_p, target_async)
2574 (target_stopped_by_watchpoint): Update.
2576 2014-02-19 Yao Qi <yao@codesourcery.com>
2579 * gdbarch.sh: Remove startup_gdbarch.
2580 * gdbarch.c: Regenerated.
2581 * gdbarch.h: Likewise.
2583 2014-02-17 Kevin Buettner <kevinb@redhat.com>
2585 * rl78-tdep.c (rl78_g10_register_name): New function.
2586 (rl78_return_value): Add g10 support.
2587 (rl78_gdbarch_init): Register rl78_g10_register_name for the
2590 2014-02-17 Doug Evans <xdje42@gmail.com>
2592 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
2593 (SUBDIR_GUILE_SRCS): Ditto.
2594 (scm-gsmob.o): Ditto.
2596 2014-02-17 Yao Qi <yao@codesourcery.com>
2598 * gnu-nat.c (ILL_RPC): Declare defined function.
2600 2014-02-17 Yao Qi <yao@codesourcery.com>
2602 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
2603 mach_msg_type_number_t.
2604 (gnu_write_inferior): Likewise.
2606 2014-02-17 Yao Qi <yao@codesourcery.com>
2608 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
2610 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
2611 (inf_validate_procs, inf_signal): Likewise.
2612 (S_exception_raise_request): Likewise.
2613 (do_mach_notify_dead_name): Likewise.
2614 (steal_exc_port): Likewise.
2615 (gnu_read_inferior): Change 'copy_count''s type to
2616 mach_msg_type_number_t.
2617 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
2620 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
2622 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
2623 flag. Adjust all users; in particular...
2624 (gnu_wait): ..., don't decrement its value in here...
2625 (gnu_create_inferior): ..., and instead set the flag in here,
2626 around the startup_inferior call, and call that one with
2627 START_INFERIOR_TRAPS_EXPECTED.
2629 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
2630 (ILL_RPC): ... new macro.
2631 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
2632 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
2633 (do_mach_notify_send_once, S_proc_setmsgport_reply)
2634 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
2635 functions with ILL_RPC macro.
2636 (S_proc_pid2task_reply, S_proc_task2pid_reply)
2637 (S_proc_task2proc_reply, S_proc_proc2task_reply)
2638 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
2639 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
2640 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
2641 (S_proc_getlogin_reply, S_proc_getsid_reply)
2642 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
2643 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
2644 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
2645 (S_proc_getnports_reply, S_proc_is_important_reply)
2646 (S_proc_get_code_reply): New stub functions, generated with
2649 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
2650 collected the type check structures.
2652 * reply_mig_hack.awk: Don't expect to see the auto keyword.
2654 2014-02-14 Doug Evans <dje@google.com>
2656 * target.c (target_write_partial): Fix result type.
2658 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2660 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
2661 the proper offsets to access fpregset_t.
2663 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
2665 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
2666 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
2667 * h8300-tdep.c (setmachinelist): Remove global.
2668 * hppa-tdep.c (hppa_sigtramp): Remove global.
2669 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
2670 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
2671 * ravenscar-thread.c (update_target_observer): Remove global.
2672 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
2674 2014-02-12 Tom Tromey <tromey@redhat.com>
2676 * common/rsp-low.c: Update comments.
2677 * common/rsp-low.h: Update comments.
2679 2014-02-12 Tom Tromey <tromey@redhat.com>
2681 * common/rsp-low.c (convert_ascii_to_int): Remove.
2682 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
2684 2014-02-12 Tom Tromey <tromey@redhat.com>
2686 * common/rsp-low.h (unhexify): Don't declare.
2687 * common/rsp-low.c (unhexify): Remove.
2689 2014-02-12 Tom Tromey <tromey@redhat.com>
2691 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
2692 * common/rsp-low.c (convert_int_to_ascii): Remove.
2694 2014-02-12 Tom Tromey <tromey@redhat.com>
2696 * common/rsp-low.h (hexify): Don't declare.
2697 * common/rsp-low.c (hexify): Remove.
2699 2014-02-12 Tom Tromey <tromey@redhat.com>
2701 * common/rsp-low.c (hexify): Never take strlen of argument.
2703 2014-02-12 Tom Tromey <tromey@redhat.com>
2705 * common/rsp-low.c (bin2hex): Never take strlen of argument.
2706 * remote.c (extended_remote_run, remote_rcmd)
2707 (remote_download_trace_state_variable, remote_save_trace_data)
2708 (remote_set_trace_notes): Update.
2709 * tracepoint.c (encode_source_string, tfile_write_status)
2710 (tfile_write_uploaded_tsv): Update.
2712 2014-02-12 Tom Tromey <tromey@redhat.com>
2714 * tracepoint.c: Include rsp-low.h.
2715 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
2716 * remote.c: Include rsp-low.h.
2717 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
2718 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
2719 (remote_unescape_input): Move to common/rsp-low.c.
2720 * common/rsp-low.h: New file.
2721 * common/rsp-low.c: New file.
2722 * Makefile.in (SFILES): Add common/rsp-low.c.
2723 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
2724 (COMMON_OBS): Add rsp-low.o.
2725 (rsp-low.o): New target.
2727 2014-02-12 Tom Tromey <tromey@redhat.com>
2729 * utils.h: Include print-utils.h.
2730 (host_address_to_string, plongest, pulongest, phex, phex_nz)
2731 (int_string, core_addr_to_string, core_addr_to_string_nz)
2732 (hex_string, hex_string_custom): Don't declare.
2733 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2734 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2735 (hex_string_custom, int_string, core_addr_to_string)
2736 (core_addr_to_string_nz, host_address_to_string): Move to
2737 common/print-utils.c.
2738 * common/print-utils.h: New file.
2739 * common/print-utils.c: New file
2740 * Makefile.in (SFILES): Add common/print-utils.c.
2741 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2742 (COMMON_OBS): Add print-utils.o.
2743 (print-utils.o): New target.
2745 2014-02-12 Tom Tromey <tromey@redhat.com>
2747 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2749 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2751 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2753 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2755 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2756 if a PT_IO ptrace request returns sucessfully but indicates that 0
2757 bytes were transferred.
2759 2014-02-12 Pedro Alves <palves@redhat.com>
2760 Kevin Buettner <kevinb@redhat.com>
2762 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2763 TYPE_INSTANCE_FLAG_CODE_SPACE.
2765 2014-02-12 Pedro Alves <palves@redhat.com>
2767 * h8300-tdep.c (pseudo_from_raw_register)
2768 (raw_from_pseudo_register): New functions.
2769 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2772 2014-02-12 Pedro Alves <palves@redhat.com>
2774 * h8300-tdep.c (h8300_register_sim_regno): New function.
2775 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2776 gdbarch_register_sim_regno hook.
2778 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2780 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2782 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2784 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2786 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2788 * obsd-tdep.h (obsd_init_abi): New prototype.
2789 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2790 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2791 (obsd_init_abi): New functions.
2792 * i386obsd-tdep.c: Include "obsd-tdep.h".
2793 (i386obsd_init_abi): Call obsd_init_abi.
2794 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2795 (amd64obsd_init_abi): Call obsd_init_abi.
2796 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2797 obsd-tdep.c to gdb_target_obs.
2799 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2801 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2802 double float arguments to 16-byte in the argument slots.
2804 2014-02-11 Doug Evans <xdje42@gmail.com>
2806 * configure.ac: Don't crash if pkg-config is not found and guile
2807 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2809 * configure: Regenerate.
2811 2014-02-11 Yao Qi <yao@codesourcery.com>
2813 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2814 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2815 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2816 * gnu-nat.c (gnu_xfer_memory): Likewise.
2817 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2818 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2819 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2820 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2822 2014-02-11 Yao Qi <yao@codesourcery.com>
2824 * target.h (enum target_xfer_error): Rename to ...
2825 (enum target_xfer_status): ... it. New. All users updated.
2826 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2828 (TARGET_XFER_STATUS_ERROR_P): New macro.
2829 (target_xfer_error_to_string): Remove declaration.
2830 (target_xfer_status_to_string): Declare.
2831 (target_xfer_partial_ftype): Adjust it.
2832 (struct target_ops) <to_xfer_partial>: Return
2833 target_xfer_status. Add argument xfered_len. Update
2835 * target.c (target_xfer_error_to_string): Rename to ...
2836 (target_xfer_status_to_string): ... it. New. All callers
2838 (target_read_live_memory): Likewise. Call target_xfer_partial
2839 instead of target_read.
2840 (memory_xfer_live_readonly_partial): Return
2841 target_xfer_status. Add argument xfered_len.
2842 (raw_memory_xfer_partial): Likewise.
2843 (memory_xfer_partial_1): Likewise.
2844 (memory_xfer_partial): Likewise.
2845 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2846 properly. Update debug message.
2847 (default_xfer_partial, current_xfer_partial): Likewise.
2848 (target_write_partial): Likewise.
2849 (target_read_partial): Likewise. All callers updated.
2850 (read_whatever_is_readable): Likewise.
2851 (target_write_with_progress): Likewise.
2852 (target_read_alloc_1): Likewise.
2854 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2855 * auxv.c (procfs_xfer_auxv): Likewise.
2856 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2857 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2858 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2859 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2860 * corefile.c (read_memory): Adjust.
2861 * corelow.c (core_xfer_partial): Likewise.
2862 * ctf.c (ctf_xfer_partial): Likewise.
2863 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2865 (darwin_xfer_partial): Likewise.
2866 * exec.c (section_table_xfer_memory_partial): Likewise. All
2868 (exec_xfer_partial): Likewise.
2869 * exec.h (section_table_xfer_memory_partial): Update
2871 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2873 (gnu_xfer_partial): Likewise.
2874 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2875 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2876 (ia64_hpux_xfer_solib_got): Likewise.
2877 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2878 type of 'partial_len' to ULONGEST.
2879 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2880 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2881 (linux_nat_xfer_partial): Likewise.
2882 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2883 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2884 * monitor.c (monitor_xfer_memory): Likewise.
2885 (monitor_xfer_partial): Likewise.
2886 * procfs.c (procfs_xfer_partial): Likewise.
2887 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2888 * record-full.c (record_full_xfer_partial): Likewise.
2889 (record_full_core_xfer_partial): Likewise.
2890 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2891 (gdbsim_xfer_partial): Likewise.
2892 * remote.c (remote_write_bytes_aux): Likewise. All callers
2894 (remote_write_bytes, remote_read_bytes): Likewise. All
2896 (remote_flash_erase): Likewise. All callers updated.
2897 (remote_write_qxfer): Likewise. All callers updated.
2898 (remote_read_qxfer): Likewise. All callers updated.
2899 (remote_xfer_partial): Likewise.
2900 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2901 (rs6000_xfer_shared_libraries): Likewise.
2902 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2903 (sol_thread_xfer_partial): Likewise.
2904 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2905 (sparc_xfer_partial): Likewise.
2906 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2908 (spu_xfer_partial): Likewise.
2909 * spu-multiarch.c (spu_xfer_partial): Likewise.
2910 * tracepoint.c (tfile_xfer_partial): Likewise.
2911 * windows-nat.c (windows_xfer_memory): Likewise.
2912 (windows_xfer_shared_libraries): Likewise.
2913 (windows_xfer_partial): Likewise.
2914 * valprint.c: Replace 'target_xfer_error' with
2915 'target_xfer_status' in comments.
2917 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2919 Checked in by Joel Brobecker <brobecker@adacore.com>.
2920 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2922 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2924 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2925 function parameters.
2927 2014-02-10 Will Newton <will.newton@linaro.org>
2929 * elfread.c (elf_rel_plt_read): Look for a .got section if
2930 looking up .got.plt fails.
2931 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2932 on address passed to elf_gnu_ifunc_record_cache.
2933 (elf_gnu_ifunc_resolve_addr): Likewise.
2934 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2936 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2938 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2939 (X_RETTURN): New macro.
2940 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2942 * sparc64-tdep.c (sparc64_init_abi): Hook
2943 sparc_in_function_epilogue_p.
2945 2014-02-10 Gary Benson <gbenson@redhat.com>
2947 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2948 Rename name_matcher to symbol_matcher.
2950 2014-02-10 Gary Benson <gbenson@redhat.com>
2952 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2953 Use expand_symtabs_file_matcher_ftype and
2954 expand_symtabs_symbol_matcher_ftype.
2956 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2958 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2959 (struct ada_symbol_cache): New.
2960 (ada_free_symbol_cache): Forward declare.
2961 (struct ada_pspace_data): New.
2962 (ada_pspace_data_handle): New static global.
2963 (get_ada_pspace_data, ada_pspace_data_cleanup)
2964 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2965 (cache_space, cache): Delete, now folded inside struct
2967 (ada_get_symbol_cache): New function.
2968 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2970 (_initialize_ada_language): Remove initialization of cache_space.
2971 Move call to observer_attach_inferior_exit up, grouping it
2972 with the other observer registrations inside this function.
2973 Rename command to be more general. Add call to
2974 register_program_space_data_with_cleanup.
2976 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2978 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2979 ada_new_objfile_observer.
2980 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2981 (_initialize_tasks): Update uses of ada_new_objfile_observer
2982 and ada_tasks_normal_stop_observer.
2984 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2986 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2987 returned by the 'Length attribute to integer.
2989 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2991 * ada-lang.c (_initialize_ada_language): Initialize
2992 cache_space obstack.
2994 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2996 * ada-lang.c (HASH_SIZE): New macro.
2997 (struct cache_entry): New type.
2998 (cache_space, cache): New static globals.
2999 (ada_clear_symbol_cache, find_entry): New functions.
3000 (lookup_cached_symbol, cache_symbol): Implement.
3001 (ada_new_objfile_observer, ada_free_objfile_observer): New.
3002 (_initialize_ada_language): Attach ada_new_objfile_observer
3003 and ada_free_objfile_observer.
3005 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3007 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
3008 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
3009 struct block * parameter.
3010 (ada_lookup_symbol_list_worker): Constify local variable "block".
3011 Remove cast which is no longer necessary.
3013 2014-02-10 Doug Evans <xdje42@gmail.com>
3015 Add Guile as an extension language.
3016 * NEWS: Mention Guile scripting.
3017 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
3018 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
3019 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
3020 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
3021 (CLIBS): Add GUILE_LIBS.
3022 (install-guile): New rule.
3023 (guile.o): New rule.
3024 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
3025 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
3026 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
3027 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
3028 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
3029 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
3030 (scm-type.o, scm-utils.o, scm-value.o): New rules.
3031 * configure.ac: New option --with-guile.
3032 * configure: Regenerate.
3033 * config.in: Regenerate.
3034 * auto-load.c: Remove #include "python/python.h". Add #include
3035 "gdb/section-scripts.h".
3036 (source_section_scripts): Handle Guile scripts.
3037 (_initialize_auto_load): Add name of Guile objfile script to
3038 scripts-directory help text.
3039 * breakpoint.c (condition_command): Tweak comment to include Scheme.
3040 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
3041 (struct breakpoint): New member scm_bp_object.
3042 * defs.h (enum command_control_type): New value guile_control.
3043 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
3045 (show_user): Update comment.
3046 (_initialize_cli_cmds): Update help text for "show user". Update help
3047 text for max-user-call-depth.
3048 * cli/cli-script.c: Remove #include "python/python.h". Add #include
3050 (multi_line_command_p): Add guile_control.
3051 (print_command_lines): Handle guile_control.
3052 (execute_control_command, recurse_read_control_structure): Ditto.
3053 (process_next_line): Recognize "guile" commands.
3054 * disasm.c (gdb_disassemble_info): Make non-static.
3055 * disasm.h: #include "dis-asm.h".
3056 (struct gdbarch): Add forward decl.
3057 (gdb_disassemble_info): Declare.
3058 * extension.c: #include "guile/guile.h".
3059 (extension_languages): Add guile.
3060 (get_ext_lang_defn): Handle EXT_LANG_GDB.
3061 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
3062 * gdbtypes.c (get_unsigned_type_max): New function.
3063 (get_signed_type_minmax): New function.
3064 * gdbtypes.h (get_unsigned_type_max): Declare.
3065 (get_signed_type_minmax): Declare.
3066 * guile/README: New file.
3067 * guile/guile-internal.h: New file.
3068 * guile/guile.c: New file.
3069 * guile/guile.h: New file.
3070 * guile/scm-arch.c: New file.
3071 * guile/scm-auto-load.c: New file.
3072 * guile/scm-block.c: New file.
3073 * guile/scm-breakpoint.c: New file.
3074 * guile/scm-disasm.c: New file.
3075 * guile/scm-exception.c: New file.
3076 * guile/scm-frame.c: New file.
3077 * guile/scm-gsmob.c: New file.
3078 * guile/scm-iterator.c: New file.
3079 * guile/scm-lazy-string.c: New file.
3080 * guile/scm-math.c: New file.
3081 * guile/scm-objfile.c: New file.
3082 * guile/scm-ports.c: New file.
3083 * guile/scm-pretty-print.c: New file.
3084 * guile/scm-safe-call.c: New file.
3085 * guile/scm-string.c: New file.
3086 * guile/scm-symbol.c: New file.
3087 * guile/scm-symtab.c: New file.
3088 * guile/scm-type.c: New file.
3089 * guile/scm-utils.c: New file.
3090 * guile/scm-value.c: New file.
3091 * guile/lib/gdb.scm: New file.
3092 * guile/lib/gdb/boot.scm: New file.
3093 * guile/lib/gdb/experimental.scm: New file.
3094 * guile/lib/gdb/init.scm: New file.
3095 * guile/lib/gdb/iterator.scm: New file.
3096 * guile/lib/gdb/printing.scm: New file.
3097 * guile/lib/gdb/types.scm: New file.
3098 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
3099 (VPATH): Add $(GUILE_SRCDIR).
3100 (GUILE_DIR): New variable.
3101 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
3102 (all): Add stamp-guile dependency.
3103 (stamp-guile): New rule.
3104 (clean-guile, install-guile, uninstall-guile): New rules.
3105 (install-only): Add install-guile dependency.
3106 (uninstall): Add uninstall-guile dependency.
3107 (clean): Add clean-guile dependency.
3109 2014-02-09 Doug Evans <xdje42@gmail.com>
3111 Revert this patch (which I approved, mea culpa).
3113 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3115 * Makefile.in (all-lib): Remove.
3116 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3118 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3120 Fix Python stack corruption.
3121 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
3124 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3126 * Makefile.in (all-lib): Remove.
3127 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3129 2014-02-07 Doug Evans <dje@google.com>
3131 * extension-priv.h (extension_language_script_ops): Add comment.
3132 (extension_language_ops): Add comment.
3133 (active_ext_lang_state): Fix typo in comment.
3135 2014-02-07 Pedro Alves <palves@redhat.com>
3137 * infrun.c (handle_signal_stop) <signal arrives while stepping
3138 over a breakpoint>: Switch back to the stepping thread.
3140 2014-02-07 Yao Qi <yao@codesourcery.com>
3142 * target.c (target_xfer_partial): Return zero if LEN is zero.
3144 2014-02-07 Yao Qi <yao@codesourcery.com>
3146 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
3147 (ld_so_xfer_auxv): Likewise.
3148 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3149 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3150 * corelow.c (core_xfer_partial): Likewise.
3151 * ctf.c (ctf_xfer_partial): Likewise.
3152 * darwin-nat.c (darwin_read_dyld_info): Likewise.
3153 (darwin_xfer_partial): Likewise.
3154 * exec.c (exec_xfer_partial): Likewise.
3155 * gnu-nat.c (gnu_xfer_partial): Likewise.
3156 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
3157 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
3158 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
3159 * linux-nat.c (linux_xfer_siginfo): Likewise.
3160 (linux_proc_xfer_spu): Likewise.
3161 * procfs.c (procfs_xfer_partial): Likewise.
3162 * record-full.c (record_full_xfer_partial): Likewise.
3163 (record_full_core_xfer_partial): Likewise.
3164 * remote-sim.c (gdbsim_xfer_partial): Likewise.
3165 * remote.c (remote_write_qxfer): Likewise.
3166 (remote_write_qxfer, remote_read_qxfer): Likewise.
3167 (remote_xfer_partial): Likewise.
3168 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3169 (rs6000_xfer_shared_libraries): Likewise.
3170 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3171 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3172 (spu_xfer_partial): Likewise.
3173 * target.c (memory_xfer_partial_1): Likewise.
3174 * tracepoint.c (tfile_xfer_partial): Likewise.
3175 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
3176 (windows_xfer_partial): Likewise.
3178 2014-02-07 Yao Qi <yao@codesourcery.com>
3180 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
3182 (core_xfer_shared_libraries_aix): Likewise.
3183 * gdbarch.c, gdbarch.h: Regenerated.
3184 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
3185 ULONGEST. Change 'len_avail' type to ULONGEST.
3186 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3187 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3189 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
3191 2014-02-07 Yao Qi <yao@codesourcery.com>
3193 * corefile.c (memory_error): Get 'exception' from ERR and pass
3194 'exception' to throw_error.
3196 2014-02-06 Doug Evans <xdje42@gmail.com>
3198 * configure.ac (libpython checking): Remove all but python.o from
3199 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
3200 * configure: Regenerate.
3202 * Makefile.in (SFILES): Add extension.c.
3203 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
3204 (COMMON_OBS): Add extension.o.
3205 * extension.h: New file.
3206 * extension-priv.h: New file.
3207 * extension.c: New file.
3209 * python/python-internal.h: #include "extension.h".
3210 (gdbpy_auto_load_enabled): Declare.
3211 (gdbpy_apply_val_pretty_printer): Declare.
3212 (gdbpy_apply_frame_filter): Declare.
3213 (gdbpy_preserve_values): Declare.
3214 (gdbpy_breakpoint_cond_says_stop): Declare.
3215 (gdbpy_breakpoint_has_cond): Declare.
3216 (void source_python_script_for_objfile): Delete.
3217 * python/python.c: #include "extension-priv.h".
3218 Delete inclusion of "observer.h".
3219 (extension_language_python): Moved here and renamed from
3220 script_language_python in py-auto-load.c.
3221 Redefined to be of type extension_language_defn.
3222 (python_extension_script_ops): New global.
3223 (python_extension_ops): New global.
3224 (struct python_env): New member previous_active.
3225 (restore_python_env): Call restore_active_ext_lang.
3226 (ensure_python_env): Call set_active_ext_lang.
3227 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
3229 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
3231 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
3233 (gdbpy_eval_from_control_command): Renamed from
3234 eval_python_from_control_command, made static. New arg extlang.
3235 (gdbpy_source_script) Renamed from source_python_script, made static.
3237 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
3238 result to int. New arg extlang.
3239 (gdbpy_source_objfile_script): Renamed from
3240 source_python_script_for_objfile, made static. New arg extlang.
3241 (gdbpy_start_type_printers): Renamed from start_type_printers, made
3242 static. New args extlang, extlang_printers. Change result type to
3244 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
3245 static. New arg extlang. Rename arg printers to extlang_printers
3246 and change type to ext_lang_type_printers *.
3247 (gdbpy_free_type_printers): Renamed from free_type_printers, made
3248 static. Replace argument arg with extlang, extlang_printers.
3249 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
3250 (!HAVE_PYTHON, source_python_script): Delete.
3251 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
3252 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
3253 (!HAVE_PYTHON, start_type_printers): Delete.
3254 (!HAVE_PYTHON, apply_type_printers): Delete.
3255 (!HAVE_PYTHON, free_type_printers): Delete.
3256 (_initialize_python): Delete call to observer_attach_before_prompt.
3257 (finalize_python): Set/restore active extension language.
3258 (gdbpy_finish_initialization) Renamed from
3259 finish_python_initialization, made static. New arg extlang.
3260 (gdbpy_initialized): New function.
3261 * python/python.h: #include "extension.h". Delete #include
3262 "value.h", "mi/mi-cmds.h".
3263 (extension_language_python): Declare.
3264 (GDBPY_AUTO_FILE_NAME): Delete.
3265 (enum py_bt_status): Moved to extension.h and renamed to
3267 (enum frame_filter_flags): Moved to extension.h.
3268 (enum py_frame_args): Moved to extension.h and renamed to
3269 ext_lang_frame_args.
3270 (finish_python_initialization): Delete.
3271 (eval_python_from_control_command): Delete.
3272 (source_python_script): Delete.
3273 (apply_val_pretty_printer): Delete.
3274 (apply_frame_filter): Delete.
3275 (preserve_python_values): Delete.
3276 (gdbpy_script_language_defn): Delete.
3277 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
3278 (start_type_printers, apply_type_printers, free_type_printers): Delete.
3280 * auto-load.c: #include "extension.h".
3281 (GDB_AUTO_FILE_NAME): Delete.
3282 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
3283 (script_language_gdb): Delete, moved to extension.c and renamed to
3284 extension_language_gdb.
3285 (source_gdb_script_for_objfile): Delete.
3286 (auto_load_pspace_info): New member unsupported_script_warning_printed.
3287 (loaded_script): Change type of language member to
3288 struct extension_language_defn *.
3289 (init_loaded_scripts_info): Initialize
3290 unsupported_script_warning_printed.
3291 (maybe_add_script): Make static. Change type of language arg to
3292 struct extension_language_defn *.
3293 (clear_section_scripts): Reset unsupported_script_warning_printed.
3294 (auto_load_objfile_script_1): Rewrite to use extension language API.
3295 (auto_load_objfile_script): Make public. Remove support-compiled-in
3296 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
3297 (source_section_scripts): Rewrite to use extension language API.
3298 (load_auto_scripts_for_objfile): Rewrite to use
3299 auto_load_scripts_for_objfile.
3300 (collect_matching_scripts_data): Change type of language member to
3301 struct extension_language_defn *.
3302 (auto_load_info_scripts): Change type of language arg to
3303 struct extension_language_defn *.
3304 (unsupported_script_warning_print): New function.
3305 (script_not_found_warning_print): Make static.
3306 (_initialize_auto_load): Rewrite construction of scripts-directory
3308 * auto-load.h (struct objfile): Add forward decl.
3309 (struct script_language): Delete.
3310 (struct auto_load_pspace_info): Add forward decl.
3311 (struct extension_language_defn): Add forward decl.
3312 (maybe_add_script): Delete.
3313 (auto_load_objfile_script): Declare.
3314 (script_not_found_warning_print): Delete.
3315 (auto_load_info_scripts): Update prototype.
3316 (auto_load_gdb_scripts_enabled): Declare.
3317 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
3318 auto_load_python_scripts_enabled and made public.
3319 (script_language_python): Delete, moved to python.c.
3320 (gdbpy_script_language_defn): Delete.
3321 (info_auto_load_python_scripts): Update to use
3322 extension_language_python.
3324 * breakpoint.c (condition_command): Replace call to
3325 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
3326 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
3327 with call to breakpoint_ext_lang_cond_says_stop.
3328 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
3329 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
3330 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
3331 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
3333 (local_setattro): Print name of extension language with existing
3336 * valprint.c (val_print, value_print): Update to call
3337 apply_ext_lang_val_pretty_printer.
3338 * cp-valprint.c (cp_print_value): Update call to
3339 apply_ext_lang_val_pretty_printer.
3340 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
3341 (gdbpy_apply_val_pretty_printer): Renamed from
3342 apply_val_pretty_printer. New arg extlang.
3343 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
3345 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
3346 extension language API.
3347 * cli/cli-script.c (execute_control_command): Update to call
3348 eval_ext_lang_from_control_command.
3350 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
3351 enum ext_lang_bt_status values. Update call to
3352 apply_ext_lang_frame_filter.
3353 (mi_cmd_stack_list_locals): Ditto.
3354 (mi_cmd_stack_list_args): Ditto.
3355 (mi_cmd_stack_list_variables): Ditto.
3356 * mi/mi-main.c: Delete #include "python/python-internal.h".
3357 Add #include "extension.h".
3358 (mi_cmd_list_features): Replace reference to python internal variable
3359 gdb_python_initialized with call to ext_lang_initialized_p.
3361 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
3362 Update to use enum ext_lang_frame_args. Update to call
3363 apply_ext_lang_frame_filter.
3364 * python/py-framefilter.c (extract_sym): Update to use enum
3366 (extract_value, py_print_type, py_print_value): Ditto.
3367 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
3368 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
3369 (py_print_frame): Ditto.
3370 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
3371 New arg extlang. Update to use enum ext_lang_bt_status.
3373 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
3374 finish_python_initialization. Replace with call to
3375 finish_ext_lang_initialization.
3377 * typeprint.c (do_free_global_table): Update to call
3378 free_ext_lang_type_printers.
3379 (create_global_typedef_table): Update to call
3380 start_ext_lang_type_printers.
3381 (find_global_typedef): Update to call apply_ext_lang_type_printers.
3382 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
3383 (type_print_options): Change type of global_printers from "void *"
3384 to "struct ext_lang_type_printers *".
3386 * value.c (preserve_values): Update to call preserve_ext_lang_values.
3387 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
3388 (gdbpy_preserve_values): Renamed from preserve_python_values.
3390 (!HAVE_PYTHON, preserve_python_values): Delete.
3392 * utils.c (quit_flag): Delete, moved to extension.c.
3393 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
3396 * eval.c: Delete #include "python/python.h".
3397 * main.c: Delete #include "python/python.h".
3399 * defs.h: Update comment.
3401 2014-02-06 Joel Brobecker <brobecker@adacore.com>
3405 2014-02-05 Mark Kettenis <kettenis@gnu.org>
3407 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
3410 2014-02-05 Yao Qi <yao@codesourcery.com>
3412 * remote.c (remote_pass_signals): Remove local 'buf' and use
3414 (remote_program_signals): Likewise.
3416 2014-02-05 Yao Qi <yao@codesourcery.com>
3418 * ctf.c: Include "inferior.h" and "gdbthread.h".
3419 (CTF_PID): A new macro.
3420 (ctf_open): Call inferior_appeared and add_thread_silent.
3421 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
3422 (ctf_thread_alive): New function.
3423 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
3425 2014-02-05 Yao Qi <yao@codesourcery.com>
3429 2013-05-24 Yao Qi <yao@codesourcery.com>
3431 * tracepoint.c (TFILE_PID): Remove.
3432 (tfile_open): Don't add thread and inferior.
3433 (tfile_close): Don't set 'inferior_ptid'. Don't call
3434 exit_inferior_silent.
3435 (tfile_thread_alive): Remove.
3436 (init_tfile_ops): Don't set field 'to_thread_alive' of
3439 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
3441 * remote.c (remote_start_remote): Call remote_check_symbols even
3442 if only symbol-file (not file) has been given.
3444 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3446 * gdbarch.sh (skip_entrypoint): New callback.
3447 * gdbarch.c, gdbarch.h: Regenerate.
3448 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
3449 * infrun.c (fill_in_stop_func): Likewise.
3450 * ppc-linux-tdep.c: Include "elf/ppc64.h".
3451 (ppc_elfv2_elf_make_msymbol_special): New function.
3452 (ppc_elfv2_skip_entrypoint): Likewise.
3453 (ppc_linux_init_abi): Install them for ELFv2.
3455 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3457 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
3458 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
3459 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
3460 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
3461 structures returned in GPRs.
3463 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3465 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
3466 offset to the stack parameter list for the ELFv2 ABI.
3468 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3470 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
3471 set_gdbarch_convert_from_func_ptr_addr and
3472 set_gdbarch_elf_make_msymbol_special for ELFv1.
3473 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
3474 function descriptors on ELFv1.
3475 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
3476 set up r12 at function entry.
3478 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3480 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
3481 (struct gdbarch_tdep): New member elf_abi.
3483 * rs6000-tdep.c: Include "elf/ppc64.h".
3484 (rs6000_gdbarch_init): Detect ELF ABI version.
3486 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3488 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
3489 within a register pair holding a DFP 128-bit value on little-endian.
3490 (ppc64_sysv_abi_return_value_base): Likewise.
3491 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
3492 (dfp_pseudo_register_write): Likewise.
3494 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3496 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
3497 offset on little-endian when passing _Decimal32.
3498 (ppc64_sysv_abi_return_value_base): Likewise for return values.
3500 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3502 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
3503 of the overlapped FP register within the VSX register on little-
3505 (efpr_pseudo_register_write): Likewise.
3507 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3509 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
3510 offset on little-endian when passing small structures.
3512 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3514 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
3515 (struct ppc64_sysv_argpos): New data structure.
3516 (ppc64_sysv_abi_push_float): Remove.
3517 (ppc64_sysv_abi_push_val): New function.
3518 (ppc64_sysv_abi_push_integer): Likewise.
3519 (ppc64_sysv_abi_push_freg): Likewise.
3520 (ppc64_sysv_abi_push_vreg): Likewise.
3521 (ppc64_sysv_abi_push_param): Likewise.
3522 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
3523 (ppc64_sysv_abi_return_value_base): New function.
3524 (ppc64_sysv_abi_return_value): Refactor to use it.
3526 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3528 * NEWS: Document new target powerpc64le-*-linux*.
3530 2014-02-04 Mark Kettenis <kettenis@gnu.org>
3532 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
3533 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
3535 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
3536 register set used in ELF core dumps. Add floating-point register set.
3538 2014-02-03 Kevin Buettner <kevinb@redhat.com>
3540 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
3541 dwarf2_to_gdb[] table using symbolic constants. Adjust
3542 penultimate entry from number representing the PC register
3543 to symbolic constant representing the MDR register. Add
3544 constant for the PC register to the end of the table.
3546 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3548 * bsd-kvm.c: Include <sys/param.h>
3550 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3552 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
3554 2014-01-31 Joel Brobecker <brobecker@adacore.com>
3556 * ada-lang.h (clear_ada_sym_cache): Delete.
3558 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
3560 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
3562 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3564 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
3565 the sigreturn register save area only if the syscall is
3568 2014-01-29 Joel Brobecker <brobecker@adacore.com>
3570 * valops.c (value_slice): Minor reformatting.
3572 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
3574 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
3576 2014-01-28 Joel Brobecker <brobecker@adacore.com>
3578 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
3580 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
3581 (ada_ignore_descriptive_types_p): New static global.
3582 (find_parallel_type_by_descriptive_type): Return immediately
3583 if ada_ignore_descriptive_types_p is set.
3584 (_initialize_ada_language): Register new commands "maintenance
3585 set ada", "maintenance show ada", "maintenance set ada
3586 ignore-descriptive-types" and "maintenance show ada
3587 ignore-descriptive-types".
3588 * NEWS: Add entry for new "maint ada set/show
3589 ignore-descriptive-types" commands.
3591 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
3593 * record-btrace.c (record_btrace_close): Call btrace_teardown
3596 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3598 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
3601 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3603 * ada-typeprint (type_is_full_subrange_of_target_type):
3605 (print_range): Add parameter bounds_prefered_p. If not set,
3606 try printing range types using the name of their base type.
3607 (print_range_type): Add parameter bounds_prefered_p.
3608 Use it in call to print_range.
3609 (print_array_type, ada_print_type): Update calls to print_range
3610 and print_range_type.
3612 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3614 * ada-typeprint.c (print_array_type, print_choices, print_range)
3615 (print_range_bound, print_dynamic_range_bound, print_range_type):
3618 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3620 * ada-typeprint.c (print_range): Add missing empty line
3621 after local declaration.
3623 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3625 * ada-valprint.c (print_optional_low_bound): Get index_type's
3626 target type for as long as it is a TYPE_CODE_RANGE.
3628 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3630 * procfs.c (procfs_make_note_section): Remove assertion and
3633 2014-01-24 Yao Qi <yao@codesourcery.com>
3635 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
3636 * corelow.c (get_core_siginfo): Likewise.
3638 2014-01-24 Yao Qi <yao@codesourcery.com>
3640 * remote.c (remote_write_bytes_aux): Change type of 'len' to
3641 ULONGEST. Don't check 'len' is negative.
3642 (remote_write_bytes): Change type of 'len' to ULONGEST.
3644 2014-01-23 Tom Tromey <tromey@redhat.com>
3647 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
3648 Handle exception from frame.block.
3649 (FrameVars.fetch_frame_locals): Likewise.
3651 2014-01-23 Tom Tromey <tromey@redhat.com>
3654 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
3655 on a NULL pointer. Move "goto error" to correct place.
3657 2014-01-23 Tom Tromey <tromey@redhat.com>
3660 * python/py-framefilter.c (apply_frame_filter): Call
3661 ensure_python_env after computing gdbarch.
3663 2014-01-23 Yao Qi <yao@codesourcery.com>
3665 * target.c (raw_memory_xfer_partial): Change argument type
3666 from void * to gdb_byte *.
3667 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
3669 2014-01-22 Doug Evans <dje@google.com>
3671 New gdbserver option --debug-format=timestamp.
3674 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3676 * syscalls/s390x-linux.xml: New file.
3677 * syscalls/s390-linux.xml: New file.
3678 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
3679 (XML_SYSCALL_FILENAME_S390X): Likewise.
3680 (op_svc): New enum value for SVC opcode.
3681 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
3682 (s390_linux_get_syscall_number): New function.
3683 (s390_gdbarch_init): Register '*get_syscall_number' and the
3684 syscall xml file name.
3685 * data-directory/Makefile.in (SYSCALLS_FILES): Add
3686 "s390-linux.xml" and "s390x-linux.xml".
3687 * NEWS: Announce new feature.
3689 2014-01-22 Baruch Siach <baruch@tkos.co.il>
3691 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
3693 2014-01-22 Pedro Alves <palves@redhat.com>
3695 * xtensa-config.c: Include defs.h.
3697 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3699 * common/common-utils.h: Add "ARI:" comment beside __func__
3702 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3704 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
3705 documentation a bit.
3707 2014-01-21 Roland McGrath <mcgrathr@google.com>
3709 * configure.ac: Call AM_PROG_INSTALL_STRIP.
3710 * configure: Regenerate.
3711 * aclocal.m4: Regenerate.
3712 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
3713 New substituted variables.
3714 (install-strip): New target.
3715 (INSTALL_SCRIPT): New substituted variable.
3716 (FLAGS_TO_PASS): Add it.
3717 (install-only): Use $(INSTALL_SCRIPT) rather than
3718 $(INSTALL_PROGRAM) for gcore.
3720 2014-01-20 Tom Tromey <tromey@redhat.com>
3722 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
3725 2014-01-20 Tom Tromey <tromey@redhat.com>
3727 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
3728 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
3729 (deprecated_cmd_warning, complete_on_cmdlist): Update.
3730 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
3731 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3732 (struct cmd_list_element) <flags>: Remove.
3733 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3734 doc_allocated>: New fields.
3735 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3737 * maint.c (maintenance_do_deprecate): Update.
3738 * top.c (execute_command): Update.
3740 2014-01-20 Baruch Siach <baruch@tkos.co.il>
3742 * xtensa-linux-nat.c: Include asm/ptrace.h.
3744 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3746 * Makefile.in (SFILES): Add d-support.c.
3747 (COMMON_OBS): Add d-support.o.
3748 * d-lang.h (d_parse_symbol): Add comment, now defined in
3750 * d-lang.c (parse_call_convention)
3751 (parse_attributes, parse_function_types)
3752 (parse_function_args, parse_type, parse_identifier)
3753 (call_convention_p, d_parse_symbol): Move functions to ...
3754 * d-support.c: ... New file.
3756 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3758 * d-lang.h (d_parse_symbol): Add declaration.
3759 * d-lang.c (extract_identifiers)
3760 (extract_type_info): Remove functions.
3761 (parse_call_convention, parse_attributes)
3762 (parse_function_types, parse_function_args)
3763 (parse_type, parse_identifier, call_convention_p)
3764 (d_parse_symbol): New functions.
3765 (d_demangle): Use d_parse_symbol to demangle D symbols.
3767 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3769 * d-lang.h (struct builtin_d_type): New data type.
3770 (builtin_d_type): Add declaration.
3771 * d-lang.c (d_language_arch_info, build_d_types)
3772 (builtin_d_type): New functions.
3773 (enum d_primitive_types): New data type.
3774 (d_language_defn): Change c_language_arch_info to
3775 d_language_arch_info.
3776 (d_type_data): New static variable.
3777 (_initialize_d_language): Initialize d_type_data.
3779 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3781 * d-lang.h (d_main_name): Add declaration.
3782 * d-lang.c (d_main_name): New function.
3783 * symtab.c (find_main_name): Add call to d_main_name.
3785 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3787 * d-lang.c (d_language_defn): Change macro_expansion_c to
3790 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3792 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3794 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3796 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3797 gdb_exception" declaration.
3798 * remote.c (getpkt_or_notif_sane): Likewise.
3800 2014-01-17 Doug Evans <dje@google.com>
3802 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3803 function, contents of dirnames_to_char_ptr_vec_append moved here.
3804 (delim_string_to_char_ptr_vec): New function.
3805 (dirnames_to_char_ptr_vec_append): Rewrite.
3806 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3808 2014-01-17 Doug Evans <dje@google.com>
3810 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3812 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3813 #include "common-utils.h".
3814 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3815 * common/vec.h (VEC_ASSERT_PASS): Update.
3816 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3817 (MACH_CHECK_ERROR): Update.
3819 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3821 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3823 * gdbarch.h: Regenerate.
3825 2014-01-16 Tom Tromey <tromey@redhat.com>
3827 * value.c (struct value) <regnum>: Move earlier.
3829 2014-01-16 Tom Tromey <tromey@redhat.com>
3831 * remote.c (extended_remote_create_inferior): Rename from
3832 extended_remote_create_inferior_1. Add "ops" argument. Remove
3835 2014-01-16 Pedro Alves <palves@redhat.com>
3837 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3838 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3841 2014-01-16 Doug Evans <dje@google.com>
3843 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3845 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3847 * btrace.h (btrace_thread_flag): New.
3848 (struct btrace_thread_info) <flags>: New.
3849 * record-btrace.c (record_btrace_resume_thread)
3850 (record_btrace_find_thread_to_move, btrace_step_no_history)
3851 (btrace_step_stopped, record_btrace_start_replaying)
3852 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3853 (record_btrace_find_resume_thread): New.
3854 (record_btrace_resume, record_btrace_wait): Extend.
3855 (record_btrace_can_execute_reverse): New.
3856 (record_btrace_open): Fail in non-stop mode.
3857 (record_btrace_set_replay): Split into this, ...
3858 (record_btrace_stop_replaying): ... this, ...
3859 (record_btrace_clear_histories): ... and this.
3860 (init_record_btrace_ops): Init to_can_execute_reverse.
3861 * NEWS: Announce it.
3863 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3865 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3866 (forward_target_decr_pc_after_break)
3867 (target_decr_pc_after_break): New.
3868 * target.c (forward_target_decr_pc_after_break)
3869 (target_decr_pc_after_break): New.
3870 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3871 instead of gdbarch_decr_pc_after_break.
3872 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3873 instead of gdbarch_decr_pc_after_break.
3874 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3875 instead of gdbarch_decr_pc_after_break.
3876 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3877 instead of gdbarch_decr_pc_after_break.
3878 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3879 instead of gdbarch_decr_pc_after_break.
3880 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3881 instead of gdbarch_decr_pc_after_break.
3883 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3885 * btrace.c: Include regcache.h.
3886 (btrace_add_pc): New.
3887 (btrace_enable): Call btrace_add_pc.
3888 (btrace_is_empty): New.
3889 * btrace.h (btrace_is_empty): New.
3890 * record-btrace.c (require_btrace, record_btrace_info): Call
3893 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3895 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3896 Support delta reads.
3897 (linux_disable_btrace): Change return type.
3898 * common/linux-btrace.h (linux_read_btrace): Change parameters
3899 and return type to allow error reporting. Update users.
3900 (linux_disable_btrace): Change return type. Update users.
3901 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3903 (btrace_error): New.
3904 (btrace_block) <begin>: Comment on BEGIN == 0.
3905 * btrace.c (btrace_compute_ftrace): Start from the end of
3907 (btrace_stitch_trace, btrace_clear_history): New.
3908 (btrace_fetch): Read delta trace, return if replaying.
3909 (btrace_clear): Move clear history code to btrace_clear_history.
3910 (parse_xml_btrace): Throw an error if parsing failed.
3911 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3912 and return type to allow error reporting.
3913 (target_read_btrace): Change parameters and return type to allow
3915 * target.c (target_read_btrace): Update.
3916 * remote.c (remote_read_btrace): Support delta reads. Pass
3918 * NEWS: Announce it.
3920 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3922 * record.h (record_btrace_frame_unwind)
3923 (record_btrace_tailcall_frame_unwind): New declarations.
3924 * dwarf2-frame: Include record.h
3925 (dwarf2_frame_cfa): Throw an error for btrace frames.
3926 * record-btrace.c: Include hashtab.h.
3927 (btrace_get_bfun_name): New.
3928 (btrace_call_history): Call btrace_get_bfun_name.
3929 (struct btrace_frame_cache): New.
3931 (bfcache_hash, bfcache_eq, bfcache_new): New.
3932 (btrace_get_frame_function): New.
3933 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3934 (record_btrace_frame_this_id): Compute own id.
3935 (record_btrace_frame_prev_register): Provide PC, throw_error
3936 for all other registers.
3937 (record_btrace_frame_sniffer): Detect btrace frames.
3938 (record_btrace_tailcall_frame_sniffer): New.
3939 (record_btrace_frame_dealloc_cache): New.
3940 (record_btrace_frame_unwind): Add new functions.
3941 (record_btrace_tailcall_frame_unwind): New.
3942 (_initialize_record_btrace): Allocate cache.
3943 * btrace.c (btrace_clear): Call reinit_frame_cache.
3944 * NEWS: Announce it.
3946 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3948 * record-btrace.c (record_btrace_set_replay)
3949 (record_btrace_goto_begin, record_btrace_goto_end)
3950 (record_btrace_goto): New.
3951 (init_record_btrace_ops): Initialize them.
3952 * NEWS: Announce it.
3954 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3956 * record-btrace.c (record_btrace_find_new_threads)
3957 (record_btrace_thread_alive): New.
3958 (init_record_btrace_ops): Initialize to_find_new_threads and
3961 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3963 * record-btrace.c (record_btrace_resume): New.
3964 (record_btrace_wait): New.
3965 (init_record_btrace_ops): Initialize to_wait and to_resume.
3967 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3969 * record-btrace.c (record_btrace_xfer_partial)
3970 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3971 (record_btrace_allow_memory_access): New.
3972 (init_record_btrace_ops): Initialize new methods.
3973 * target.c (raw_memory_xfer_partial): Bail out if target reports
3974 that this memory is not available.
3976 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3978 * target.h (target_ops) <to_insert_breakpoint>
3979 <to_remove_breakpoint>: Add target_ops parameter.
3980 (forward_target_insert_breakpoint): New.
3981 (forward_target_remove_breakpoint): New.
3982 (memory_remove_breakpoint, memory_insert_breakpoint):
3983 Add target_ops parameter.
3984 * target.c (target_insert_breakpoint): Split into this and ...
3985 (forward_target_insert_breakpoint): ... this.
3986 (target_remove_breakpoint): Split into this and ...
3987 (forward_target_remove_breakpoint): ... this.
3988 (debug_to_insert_breakpoint): Add target_ops parameter.
3989 Call forward_target_insert_breakpoint.
3990 (debug_to_remove_breakpoint): Add target_ops parameter.
3991 Call forward_target_remove_breakpoint.
3992 (update_current_target): Do not inherit or default to_insert_breakpoint
3993 and to_remove_breakpoint.
3994 * corelow.c (ignore): Add target_ops parameter.
3995 * exec.c (ignore): Add target_ops parameter.
3996 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3997 Add target_ops parameter.
3998 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3999 Add target_ops parameter.
4000 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
4001 Add target_ops parameter.
4002 * record-full.c (record_full_beneath_to_insert_breakpoint)
4003 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
4004 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
4005 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
4006 (record_full_core_remove_breakpoint): Add target_ops parameter.
4008 (record_full_beneath_to_insert_breakpoint_ops)
4009 (record_full_beneath_to_remove_breakpoint_ops)
4010 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
4011 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
4012 tmp_to_remove_breakpoint_ops,
4013 record_full_beneath_to_insert_breakpoint_ops, and
4014 record_full_beneath_to_remove_breakpoint_ops.
4015 * remote-m32r-sdi.c (m32r_insert_breakpoint)
4016 (m32r_remove_breakpoint): Add target_ops parameter.
4017 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
4018 Add target_ops parameter.
4019 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
4020 Add target_ops parameter.
4022 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4023 Markus Metzger <markus.t.metzger@intel.com>
4025 * record-btrace.c: Include frame-unwind.h.
4026 (record_btrace_frame_unwind_stop_reason)
4027 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
4028 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
4030 (init_record_btrace_ops): Install it.
4032 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4034 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
4037 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4039 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
4042 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4044 * frame-unwind.c: Include target.h.
4045 (frame_unwind_try_unwinder): New function with code from ...
4046 (frame_unwind_find_by_frame): ... here. New variable
4047 unwinder_from_target, call also target_get_unwinder)
4048 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
4049 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
4050 * target.h (struct target_ops): New fields to_get_unwinder and
4051 to_get_tailcall_unwinder.
4052 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
4054 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4056 * record-btrace.c (record_btrace_fetch_registers)
4057 (record_btrace_store_registers)
4058 (record_btrace_to_prepare_to_store): New.
4059 (init_record_btrace_ops): Add the above.
4061 2014-01-16 Tom Tromey <tromey@redhat.com>
4063 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
4064 * target.h (struct target_ops) <to_prepare_to_store>: Add
4066 (target_prepare_to_store): Add argument.
4067 * target.c (debug_to_prepare_to_store): Add argument.
4068 (update_current_target): Update.
4069 * remote.c (remote_prepare_to_store): Add 'self' argument.
4070 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
4071 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
4072 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
4073 * record-full.c (record_full_core_prepare_to_store): Add 'self'
4075 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
4076 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
4077 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
4078 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
4079 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
4081 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4083 * btrace.h (replay) <replay>: New.
4084 (btrace_is_replaying): New.
4085 * btrace.c (btrace_clear): Free replay iterator.
4086 (btrace_is_replaying): New.
4087 * record-btrace.c (record_btrace_is_replaying): New.
4088 (record_btrace_info): Print insn number if replaying.
4089 (record_btrace_insn_history): Start at replay position.
4090 (record_btrace_call_history): Start at replay position.
4091 (init_record_btrace_ops): Init to_record_is_replaying.
4093 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4095 * record-btrace.c (record_btrace_insn_history_range): Include
4097 (record_btrace_insn_history_from): Adjust range.
4098 (record_btrace_call_history_range): Include
4100 (record_btrace_call_history_from): Adjust range.
4101 * NEWS: Announce changes.
4103 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4105 * record.h (enum record_print_flag)
4106 <record_print_indent_calls>: New.
4107 * record.c (get_call_history_modifiers): Recognize /c modifier.
4108 (_initialize_record): Document /c modifier.
4109 * record-btrace.c (btrace_call_history): Add btinfo parameter.
4110 Reorder fields. Optionally indent the function name. Update
4112 * NEWS: Announce changes.
4114 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4116 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
4118 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4120 * btrace.c (ftrace_new_function): Start counting at one.
4121 * record-btrace.c (record_btrace_info): Adjust number of calls
4123 * NEWS: Announce it.
4125 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4127 * record-btrace.c (btrace_call_history_insn_range): Print
4128 insn range as [begin, end].
4130 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4132 * btrace.h (struct btrace_func_link): New.
4133 (enum btrace_function_flag): New.
4134 (struct btrace_inst): Rename to ...
4135 (struct btrace_insn): ...this. Update all users.
4136 (struct btrace_func) <ibegin, iend>: Remove.
4137 (struct btrace_func_link): New.
4138 (struct btrace_func): Rename to ...
4139 (struct btrace_function): ...this. Update all users.
4140 (struct btrace_function) <segment, flow, up, insn, insn_offset)
4141 (number, level, flags>: New.
4142 (struct btrace_insn_iterator): Rename to ...
4143 (struct btrace_insn_history): ...this.
4145 (struct btrace_insn_iterator, btrace_call_iterator): New.
4146 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
4147 (struct btrace_target_info) <begin, end, level>
4148 <insn_history, call_history>: New.
4149 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4150 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4151 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4152 (btrace_call_number, btrace_call_begin, btrace_call_end)
4153 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4154 (btrace_find_function_by_number, btrace_set_insn_history)
4155 (btrace_set_call_history): New.
4156 * btrace.c (btrace_init_insn_iterator)
4157 (btrace_init_func_iterator, compute_itrace): Remove.
4158 (ftrace_print_function_name, ftrace_print_filename)
4159 (ftrace_skip_file): Change
4161 (ftrace_init_func): Remove.
4162 (ftrace_debug): Use new btrace_function fields.
4163 (ftrace_function_switched): Also consider gaining and
4164 losing symbol information).
4165 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
4166 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
4167 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
4169 (ftrace_new_function): Move. Remove debug print.
4170 (ftrace_update_lines, ftrace_update_insns): New.
4171 (ftrace_update_function): Check for call, ret, and jump.
4172 (compute_ftrace): Renamed to ...
4173 (btrace_compute_ftrace): ...this. Rewritten to compute call
4175 (btrace_fetch, btrace_clear): Updated.
4176 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4177 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4178 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4179 (btrace_call_number, btrace_call_begin, btrace_call_end)
4180 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4181 (btrace_find_function_by_number, btrace_set_insn_history)
4182 (btrace_set_call_history): New.
4183 * record-btrace.c (require_btrace): Use new btrace thread
4185 (record_btrace_info, btrace_insn_history)
4186 (record_btrace_insn_history, record_btrace_insn_history_range):
4187 Use new btrace thread info fields and new iterator.
4188 (btrace_func_history_src_line): Rename to ...
4189 (btrace_call_history_src_line): ...this. Use new btrace
4191 (btrace_func_history): Rename to ...
4192 (btrace_call_history): ...this. Use new btrace thread info
4193 fields and new iterator.
4194 (record_btrace_call_history, record_btrace_call_history_range):
4195 Use new btrace thread info fields and new iterator.
4197 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4199 * frame.h (frame_id_build_unavailable_stack_special): New.
4200 * frame.c (frame_id_build_unavailable_stack_special): New.
4202 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4204 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
4205 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
4206 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
4208 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
4209 (i386_insn_is_jump, i386_jmp_p): New.
4210 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
4211 insn_is_jump to gdbarch.
4212 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
4213 * gdbarch.h: Regenerated.
4214 * gdbarch.c: Regenerated.
4215 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
4216 (default_insn_is_jump): New.
4217 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
4218 (default_insn_is_jump): New.
4220 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4222 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
4224 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
4225 (btrace_read_type) <btrace_read_new>: Change to ...
4226 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
4228 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4230 * common/linux-btrace.c (linux_read_btrace): Free trace from
4233 2014-01-15 Doug Evans <dje@google.com>
4235 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
4238 2014-01-15 Tom Tromey <tromey@redhat.com>
4240 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
4241 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
4242 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
4243 (set_objfile_main_name): New function.
4244 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
4245 language_of_main>: New fields.
4246 (set_objfile_main_name): Declare.
4247 * symtab.c (find_main_name): Loop over objfiles to find the main
4249 (set_main_name): Now static.
4250 (get_main_info): Add comment.
4251 * symtab.h (set_main_name): Don't declare.
4253 2014-01-15 Tom Tromey <tromey@redhat.com>
4255 * symtab.c (main_progspace_key): New global.
4256 (struct main_info): New.
4257 (name_of_main, language_of_main): Remove.
4258 (get_main_info, main_info_cleanup): New function.
4259 (set_main_name, main_name, main_language): Use get_main_info.
4260 (_initialize_symtab): Initialize main_progspace_key.
4262 2014-01-15 Tom Tromey <tromey@redhat.com>
4264 * dbxread.c (process_one_symbol): Update.
4265 * dwarf2read.c (read_partial_die): Update.
4266 * symfile.c (set_initial_language): Call main_language.
4267 * symtab.c (language_of_main): Now static.
4268 (set_main_name): Add 'lang' parameter.
4269 (find_main_name): Update.
4270 (main_language): New function.
4271 (symtab_observer_executable_changed): Update.
4272 * symtab.h (set_main_name): Update.
4273 (language_of_main): Remove.
4274 (main_language): Declare.
4276 2014-01-15 Tom Tromey <tromey@redhat.com>
4278 * symfile.c (init_entry_point_info): Use new "initialized" field.
4280 * objfiles.h (struct entry_point) <initialized>: New field.
4281 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
4282 (struct objfile) <ei>: ...here. Remove.
4283 * objfiles.c (entry_point_address_query): Update.
4285 2014-01-15 Tom Tromey <tromey@redhat.com>
4287 * objfiles.c (entry_point_address_query): Relocate entry point
4289 (objfile_relocate1): Do not relocate entry point address.
4290 * objfiles.h (struct entry_info) <entry_point>: Update comment.
4291 <the_bfd_section_index>: New field.
4292 * symfile.c (init_entry_point_info): Find the entry point's
4295 2014-01-15 Tom Tromey <tromey@redhat.com>
4297 * solib-frv.c (enable_break): Use entry_point_address_query.
4299 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4301 * NEWS: Add note on improved process record-replay on
4302 arm*-linux* targets.
4304 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4306 * arm-tdep.c (enum arm_record_result): New enum.
4307 (arm_record_unsupported_insn): New function.
4308 (arm_record_coproc_data_proc): Removed.
4309 (thumb2_record_ld_st_multiple): New function.
4310 (thumb2_record_ld_st_dual_ex_tbb): New function.
4311 (thumb2_record_data_proc_sreg_mimm): New function.
4312 (thumb2_record_ps_dest_generic): New function.
4313 (thumb2_record_branch_misc_cntrl): New function.
4314 (thumb2_record_str_single_data): New function.
4315 (thumb2_record_ld_mem_hints): New function.
4316 (thumb2_record_ld_word): New function.
4317 (thumb2_record_lmul_lmla_div): New function.
4318 (thumb2_record_decode_insn_handler): New function.
4319 (decode_insn): Add thumb32 instruction handlers.
4321 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4323 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
4324 (struct arm_linux_record_tdep): Declare.
4325 (arm_canonicalize_syscall): New function.
4326 (arm_all_but_pc_registers_record): New function.
4327 (arm_linux_syscall_record): New function.
4328 (arm_linux_init_abi): Add syscall recording constructs.
4329 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
4330 decoding. (arm_record_coproc_data_proc): Update arm syscall
4332 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
4333 <arm_syscall_record>: New field.
4334 * configure.tgt (arm*-*-linux*): Add linux-record.o to
4337 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4339 * arm-tdep.c (thumb_record_misc): Update to use sp as base
4340 register for push instruction recording.
4342 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4344 * arm-tdep.c (thumb_record_misc): Update to correct logical
4345 error while recording ldm, ldmia and pop instructions.
4347 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4349 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
4351 2014-01-15 Pedro Alves <palves@redhat.com>
4353 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
4354 (go32_resume, go32_fetch_registers, store_register)
4355 (go32_store_registers, go32_prepare_to_store)
4356 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
4357 (go32_create_inferior, go32_can_run, go32_terminal_init)
4358 (go32_terminal_inferior, go32_terminal_ours): Delete forward
4361 2014-01-15 Tom Tromey <tromey@redhat.com>
4363 * target.h (async_callback_ftype): New typedef.
4364 (struct target_ops) <to_async>: Use it.
4366 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4368 * python/py-value.c (get_field_type): Remove unnecessary curly
4369 braces for single-statement if block.
4371 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4373 * python/py-type.c (convert_field): Add missing empty line
4376 2014-01-14 Doug Evans <dje@google.com>
4378 * symfile.h (expand_symtabs_matching): Renamed from
4379 expand_partial_symbol_names. Update prototype.
4380 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4381 * symfile.c (expand_symtabs_matching): Renamed from
4382 expand_partial_symbol_names. New args file_matcher, kind.
4383 Rename arg fun to symbol_matcher.
4384 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4385 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
4386 ada_expand_partial_symbol_name.
4387 (ada_make_symbol_completion_list): Update to call
4388 expand_symtabs_matching.
4389 (ada_add_global_exceptions): Call expand_symtabs_matching.
4390 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
4391 call map_symbol_filenames.
4392 * symtab.c (sources_info): Update to call map_symbol_filenames.
4393 (search_symbols): Call expand_symtabs_matching.
4394 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
4395 (default_make_symbol_completion_list_break_on): Update to call
4396 expand_symtabs_matching.
4397 (make_source_files_completion_list): Update to call
4398 map_symbol_filenames.
4400 2014-01-14 Doug Evans <dje@google.com>
4402 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
4403 (expand_symtabs_symbol_matcher_ftype): New typedef.
4404 (quick_symbol_functions.expand_symtabs_matching): Update to use.
4405 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4406 * symfile.c (expand_partial_symbol_names): Update to use
4407 expand_symtabs_symbol_matcher_ftype.
4408 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
4409 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4410 Arg name_matcher renamed to symbol_matcher.
4411 * psymtab.c (recursively_search_psymtabs): Update to use
4412 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
4414 (expand_symtabs_matching_via_partial): Update to use
4415 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4416 Arg name_matcher renamed to symbol_matcher.
4418 2014-01-14 Doug Evans <dje@google.com>
4420 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
4421 (map_partial_symbol_filenames): Ditto.
4422 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
4423 (map_partial_symbol_filenames): Ditto.
4424 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
4425 (map_partial_symbol_filenames): Ditto.
4426 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
4427 (map_partial_symbol_filenames): Ditto.
4428 * symtab.c: Delete #include "psymtab.h".
4430 2014-01-14 Pedro Alves <palves@redhat.com>
4431 Tom Tromey <tromey@redhat.com>
4433 * infrun.c (use_displaced_stepping): Use find_record_target
4434 instead of RECORD_IS_USED.
4435 (adjust_pc_after_break): Use record_full_is_used instead of
4437 * record-btrace.c (record_btrace_open): Call record_preopen
4438 instead of checking RECORD_IS_USED.
4439 * record-full.c (record_full_shortname)
4440 (record_full_core_shortname): New globals.
4441 (record_full_is_used): New function.
4442 (find_full_open): Call record_preopen instead of checking
4444 (init_record_full_ops): Set the target's shortname to
4445 record_full_shortname.
4446 (init_record_full_core_ops): Set the target's shortname to
4447 record_full_core_shortname.
4448 * record-full.h (record_full_is_used): Declare.
4449 * record.c (find_record_target): Make extern.
4450 (record_preopen): New function.
4451 * record.h (RECORD_IS_USED): Delete macro.
4452 (find_record_target, record_preopen): Declare functions.
4454 2014-01-14 Yao Qi <yao@codesourcery.com>
4456 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
4457 'len''s type to ULONGEST.
4458 (core_xfer_shared_libraries_aix): Likewise.
4459 * gdbarch.c, gdbarch.h: Regenerated.
4460 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
4461 Change type of 'len' to ULONGEST.
4462 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4463 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
4465 2014-01-14 Yao Qi <yao@codesourcery.com>
4467 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
4468 type of 'len' to ULONGEST.
4469 (linux_xfer_osdata_processgroups): Likewise.
4470 (linux_xfer_osdata_threads): Likewise.
4471 (linux_xfer_osdata_fds): Likewise.
4472 (linux_xfer_osdata_isockets): Likewise.
4473 (linux_xfer_osdata_shm): Likewise.
4474 (linux_xfer_osdata_sem): Likewise.
4475 (linux_xfer_osdata_msg): Likewise.
4476 (linux_common_xfer_osdata): Likewise.
4477 (struct osdata_type) <getter>: Likewise.
4478 * common/linux-osdata.h (linux_common_xfer_osdata): Update
4481 2014-01-14 Yao Qi <yao@codesourcery.com>
4483 * target.h (target_xfer_partial_ftype): Update.
4484 (struct target_ops) <to_xfer_partial>: Change 'len' type to
4486 * aix-thread.c (aix_thread_xfer_partial): Change type of
4487 argument 'len' to ULONGEST.
4488 * auxv.c (procfs_xfer_auxv): Likewise.
4489 (ld_so_xfer_auxv): Likewise.
4490 (memory_xfer_auxv): Likewise.
4491 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4492 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4493 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4494 * corelow.c (core_xfer_partial): Likewise.
4495 * ctf.c (ctf_xfer_partial): Likewise.
4496 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
4498 (darwin_read_dyld_info): Likewise.
4499 (darwin_xfer_partial): Likewise.
4500 * exec.c (section_table_xfer_memory_partial): Likewise.
4501 (exec_xfer_partial): Likewise.
4502 * exec.h (section_table_xfer_memory_partial): Update
4504 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
4505 instead of plongest.
4506 (gnu_xfer_partial): Likewise.
4507 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
4508 (ia64_hpux_xfer_solib_got): Likewise.
4509 (ia64_hpux_xfer_partial): Likewise.
4510 * ia64-linux-nat.c (ia64_linux_xfer_partial):
4511 * inf-ptrace.c (inf_ptrace_xfer_partial):
4512 * inf-ttrace.c (inf_ttrace_xfer_partial):
4513 * linux-nat.c (linux_xfer_siginfo): Likewise.
4514 (linux_nat_xfer_partial): Likewise.
4515 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
4516 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
4517 * monitor.c (monitor_xfer_memory): Likewise.
4518 (monitor_xfer_partial): Likewise.
4519 * procfs.c (procfs_xfer_partial): Likewise.
4520 * record-full.c (record_full_xfer_partial): Likewise.
4521 (record_full_core_xfer_partial): Likewise.
4522 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
4523 instead of plongest.
4524 (gdbsim_xfer_partial): Likewise.
4525 * remote.c (remote_xfer_partial): Likewise.
4526 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4527 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4529 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4530 (rs6000_xfer_shared_libraries): Likewise.
4531 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4532 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4533 (sparc_xfer_partial): Likewise.
4534 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4535 (spu_xfer_partial): Likewise.
4536 * spu-multiarch.c (spu_xfer_partial): Likewise.
4537 * target.c (target_read_live_memory): Likewise.
4538 (memory_xfer_live_readonly_partial): Likewise.
4539 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
4540 (target_xfer_partial, default_xfer_partial): Likewise.
4541 (current_xfer_partial): Likewise.
4542 * tracepoint.c (tfile_xfer_partial): Likewise.
4543 * windows-nat.c (windows_xfer_memory): Likewise. Call
4544 pulongest instead of plongest.
4545 (windows_xfer_partial): Likewise.
4546 (windows_xfer_shared_libraries): Likewise.
4548 2014-01-14 Yao Qi <yao@codesourcery.com>
4550 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
4551 target_xfer_partial_ftype.
4553 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4557 * valops.c (value_struct_elt_bitpos): New function
4558 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
4559 object to 'None' if the field name is an empty string ("").
4560 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
4561 attribute to look for a field when 'name' is 'None'.
4562 (get_field_type): New function
4564 2014-01-13 Doug Evans <dje@google.com>
4567 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
4568 (try_open_dwop_file): Ditto.
4569 * gdb_bfd.c: #include "vec.h".
4570 (bfdp): New typedef.
4571 (struct gdb_bfd_data): New member included_bfds.
4572 (gdb_bfd_unref): Unref all included bfds.
4573 (gdb_bfd_record_inclusion): New function.
4574 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
4576 2014-01-13 Tom Tromey <tromey@redhat.com>
4578 * gdbcore.h (deprecated_core_resize_section_table): Remove.
4580 2014-01-13 Tom Tromey <tromey@redhat.com>
4582 * defs.h (use_windows): Remove.
4583 * gdb.c (main): Update.
4584 * main.c (captured_main, gdb_main): Update.
4585 * main.h (struct captured_main_args) <use_windows>: Remove.
4586 * top.c (use_windows): Remove.
4588 2014-01-13 Tom Tromey <tromey@redhat.com>
4590 * defs.h (deprecated_flush_hook): Remove.
4592 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4595 * linux-thread-db.c (try_thread_db_load): Add parameter
4596 check_auto_load_safe. Move here the file_is_auto_load_safe call.
4597 (try_thread_db_load_from_pdir_1): Move it there from here.
4598 (try_thread_db_load_from_sdir): Update caller.
4599 (try_thread_db_load_from_dir): Move it there from here.
4601 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
4603 * regformats/regdat.sh: Always rewrite the register file.
4605 2014-01-13 Pedro Alves <palves@redhat.com>
4607 * Makefile.in (CHECK_HEADERS): New variable.
4608 (check-headers:): New rule.
4610 2014-01-13 Tom Tromey <tromey@redhat.com>
4612 * cli/cli-setshow.c (do_set_command): Update.
4613 * defs.h (deprecated_set_hook): Remove.
4614 * top.c (deprecated_set_hook): Remove.
4616 2014-01-13 Pedro Alves <palves@redhat.com>
4618 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
4619 the tracepoint if the PC is a pseudo-register.
4621 2014-01-13 Tom Tromey <tromey@redhat.com>
4623 * defs.h (XCALLOC): Remove.
4624 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
4625 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
4626 * dwarf2loc.c (allocate_piece_closure): Likewise.
4627 * elfread.c (elf_symfile_segments): Likewise.
4628 (elf_symfile_segments): Likewise.
4629 * gdbtypes.c (copy_type_recursive): Likewise.
4630 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
4631 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
4632 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
4634 * mt-tdep.c (mt_gdbarch_init): Likewise.
4635 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
4637 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
4638 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
4639 * registry.c (registry_alloc_data): Likewise.
4640 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
4641 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
4642 * serial.c (serial_fdopen_ops): Likewise.
4643 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
4645 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
4646 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
4649 2014-01-13 Tom Tromey <tromey@redhat.com>
4651 * defs.h (XMALLOC): Remove.
4652 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
4653 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
4654 * cli-out.c (struct ui_out *): Likewise.
4655 * cli/cli-dump.c (add_dump_command): Likewise.
4656 (add_dump_command): Likewise.
4657 * complaints.c (get_complaints): Likewise.
4658 (find_complaint): Likewise.
4659 * dwarf2-frame.c (execute_cfa_program): Likewise.
4660 * dwarf2read.c (abbrev_table_read_table): Likewise.
4661 * gdbarch.sh: Likewise.
4662 * gdbarch.c: Rebuild.
4663 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
4664 * interps.c (interp_new): Likewise.
4665 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
4666 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
4667 * mi/mi-console.c (mi_console_file_new): Likewise.
4668 * mi/mi-interp.c (mi_interpreter_init): Likewise.
4669 * mi/mi-out.c (mi_out_new): Likewise.
4670 * mi/mi-parse.c (mi_parse): Likewise.
4671 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
4672 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
4673 * observer.c (xalloc_observer_list_node): Likewise.
4674 * regcache.c (regcache_xmalloc_1): Likewise.
4675 * reggroups.c (reggroup_new): Likewise.
4676 (_initialize_reggroup): Likewise.
4677 * registry.c (register_data_with_cleanup): Likewise.
4678 * remote.c (remote_notif_stop_alloc_reply): Likewise.
4679 * ser-base.c (serial_ttystate): Likewise.
4680 * ser-mingw.c (make_pipe_state): Likewise.
4681 * ser-pipe.c (pipe_open): Likewise.
4682 * serial.c (serial_open): Likewise.
4683 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
4684 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
4685 (tui_alloc_win_info): Likewise.
4686 (tui_add_content_elements): Likewise.
4687 * tui/tui-file.c (tui_file_new): Likewise.
4688 * tui/tui-out.c (tui_out_new): Likewise.
4689 * ui-file.c (mem_file_new): Likewise.
4690 * ui-out.c (push_level): Likewise.
4691 (make_cleanup_ui_out_end): Likewise.
4692 (append_header_to_list): Likewise.
4693 (ui_out_new): Likewise.
4694 * user-regs.c (user_reg_add_builtin): Likewise.
4696 2014-01-13 Tom Tromey <tromey@redhat.com>
4698 * defs.h (XZALLOC): Remove.
4699 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
4700 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
4701 (get_ada_tasks_inferior_data): Likewise.
4702 * auto-load.c (get_auto_load_pspace_data): Likewise.
4703 * auxv.c (get_auxv_inferior_data): Likewise.
4704 * bfd-target.c (target_bfd_reopen): Likewise.
4705 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
4706 (deprecated_insert_raw_breakpoint): Likewise.
4707 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
4708 * corelow.c (core_open): Likewise.
4709 * darwin-nat.c (darwin_check_new_threads): Likewise.
4710 (darwin_attach_pid): Likewise.
4711 * dummy-frame.c (dummy_frame_push): Likewise.
4712 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
4713 * dwarf2loc.c (allocate_piece_closure): Likewise.
4714 * elfread.c (elf_symfile_segments): Likewise.
4715 * eval.c (ptrmath_type_p): Likewise.
4716 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
4717 * gdbtypes.c (alloc_type_arch): Likewise.
4718 (alloc_type_instance): Likewise.
4719 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
4720 * inf-child.c (inf_child_can_use_agent): Likewise.
4721 * inflow.c (get_inflow_inferior_data): Likewise.
4722 * infrun.c (save_infcall_suspend_state): Likewise.
4723 * jit.c (jit_reader_load): Likewise.
4724 (get_jit_objfile_data): Likewise.
4725 (get_jit_program_space_data): Likewise.
4726 (jit_object_open_impl): Likewise.
4727 (jit_symtab_open_impl): Likewise.
4728 (jit_block_open_impl): Likewise.
4729 (jit_frame_sniffer): Likewise.
4730 * linux-fork.c (add_fork): Likewise.
4731 * maint.c (make_command_stats_cleanup): Likewise.
4732 * objfiles.c (get_objfile_pspace_data): Likewise.
4733 * opencl-lang.c (struct lval_closure): Likewise.
4734 * osdata.c (osdata_start_osdata): Likewise.
4735 * progspace.c (new_address_space): Likewise.
4736 (add_program_space): Likewise.
4737 * remote-sim.c (get_sim_inferior_data): Likewise.
4738 * sh-tdep.c (sh_gdbarch_init): Likewise.
4739 * skip.c (Ignore): Likewise.
4740 (skip_delete_command): Likewise.
4741 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4742 (library_list_start_library): Likewise.
4743 (solib_aix_current_sos): Likewise.
4744 * solib-darwin.c (get_darwin_info): Likewise.
4745 (darwin_current_sos): Likewise.
4746 * solib-dsbt.c (get_dsbt_info): Likewise.
4747 * solib-ia64-hpux.c (new_so_list): Likewise.
4748 (ia64_hpux_get_solib_linkage_addr): Likewise.
4749 * solib-spu.c (append_ocl_sos): Likewise.
4750 (spu_current_sos): Likewise.
4751 * solib-svr4.c (get_svr4_info): Likewise.
4752 (svr4_keep_data_in_core): Likewise.
4753 (library_list_start_library): Likewise.
4754 (svr4_default_sos): Likewise.
4755 (svr4_read_so_list): Likewise.
4756 * solib-target.c (library_list_start_library): Likewise.
4757 (solib_target_current_sos): Likewise.
4758 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4759 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4760 * symfile.c (default_symfile_segments): Likewise.
4761 * target-descriptions.c (tdesc_data_init): Likewise.
4762 (tdesc_create_reg): Likewise.
4763 (struct tdesc_type *): Likewise.
4764 (tdesc_create_vector): Likewise.
4765 (tdesc_set_struct_size): Likewise.
4766 (struct tdesc_type *): Likewise.
4767 (tdesc_free_feature): Likewise.
4768 (tdesc_create_feature): Likewise.
4769 * windows-nat.c (windows_add_thread): Likewise.
4770 (windows_make_so): Likewise.
4771 * xml-support.c (gdb_xml_body_text): Likewise.
4772 (gdb_xml_create_parser_and_cleanup): Likewise.
4773 (xml_process_xincludes): Likewise.
4774 * xml-syscall.c (allocate_syscalls_info): Likewise.
4775 (syscall_create_syscall_desc): Likewise.
4777 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4779 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4780 function, with code from i386_stap_parse_special_token.
4781 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4782 (i386_stap_parse_special_token): Move code to the two functions
4785 2014-01-09 Pedro Alves <palves@redhat.com>
4786 Hui Zhu <hui@codesourcery.com>
4789 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4790 bp_err_string. Don't mark the location shlib_disabled if the
4791 error thrown wasn't a generic or memory error. Catch errors
4792 thrown while inserting breakpoints in overlayed code. Output
4793 error message of software breakpoints.
4794 * remote.c (remote_insert_breakpoint): If this breakpoint has
4795 target-side commands but this stub doesn't support Z0 packets,
4796 throw NOT_SUPPORTED_ERROR error.
4797 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4798 * target.h (target_insert_breakpoint): Extend comment.
4799 (target_insert_hw_breakpoint): Add comment.
4801 2014-01-08 Pedro Alves <palves@redhat.com>
4803 * remote.c (remote_add_thread): Add threads silently if starting
4805 (remote_notice_new_inferior): If in all-stop, and starting up,
4806 don't call notice_new_inferior.
4807 (get_current_thread): New function, factored out from ...
4808 (add_current_inferior_and_thread): ... this. Adjust.
4809 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4810 found any thread, then select the remote's current thread as GDB's
4813 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4815 * NEWS: Create a new section for the next release branch.
4816 Rename the section of the current branch, now that it has
4819 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4821 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4822 * version.in: Bump version to 7.7.50.DATE-cvs.
4824 2014-01-08 Yao Qi <yao@codesourcery.com>
4826 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4827 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4828 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4830 2014-01-08 Yao Qi <yao@codesourcery.com>
4832 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4833 return value of bfd_get_filename to symbol_file_add_from_bfd.
4835 2014-01-08 Pierre Muller <muller@sourceware.org>
4838 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4839 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4840 to prim_record_mininal_symbol_and_info.
4841 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4842 in call to prim_record_minimal_symbol_and_info.
4843 (read_pe_exported_syms): Set index field of section_data.
4845 2014-01-07 Andrew Pinski <apinski@cavium.com>
4847 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4848 * features/aarch64.c: Regenerate.
4850 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4852 * target.c (return_null): Define.
4853 (update_current_target): Use it instead of return_zero for
4854 functions that return a pointer.
4856 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4858 * source.c (add_path): Fix check for duplicated paths in the previously
4861 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4863 * ada-lang.c: Remove duplicated include statements.
4864 * alphabsd-nat.c: Ditto.
4865 * amd64-darwin-tdep.c: Ditto.
4866 * amd64fbsd-nat.c: Ditto.
4867 * auto-load.c: Ditto.
4869 * breakpoint.c: Ditto.
4871 * fork-child.c: Ditto.
4872 * gdb_usleep.c: Ditto.
4873 * i386-darwin-tdep.c: Ditto.
4874 * i386fbsd-nat.c: Ditto.
4876 * inferior.c: Ditto.
4878 * linux-nat.c: Ditto.
4879 * linux-tdep.c: Ditto.
4880 * m68kbsd-nat.c: Ditto.
4881 * m68klinux-nat.c: Ditto.
4882 * microblaze-tdep.c: Ditto.
4883 * mips-linux-tdep.c: Ditto.
4884 * mn10300-tdep.c: Ditto.
4885 * nto-tdep.c: Ditto.
4886 * opencl-lang.c: Ditto.
4888 * printcmd.c: Ditto.
4889 * regcache.c: Ditto.
4890 * remote-m32r-sdi.c: Ditto.
4894 * tilegx-linux-nat.c: Ditto.
4895 * tilegx-tdep.c: Ditto.
4896 * tracepoint.c: Ditto.
4898 * vaxbsd-nat.c: Ditto.
4899 * windows-nat.c: Ditto.
4900 * xtensa-tdep.c: Ditto.
4902 2014-01-07 Yao Qi <yao@codesourcery.com>
4904 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4906 2014-01-07 Yao Qi <yao@codesourcery.com>
4907 Joel Brobecker <brobecker@adacore.com>
4909 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4910 (pdc_write_regs): Likewise.
4911 (fetch_regs_kernel_thread): Likewise.
4912 (store_regs_kernel_thread): Likewise.
4914 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4916 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4917 tagged type objects to their actual type.
4919 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4921 * ada-valprint.c (print_field_values): Add "language" parameter.
4922 Update calls to print_field_values and print_variant_part.
4923 Pass new parameter "language" in call to val_print instead
4924 of "current_language". Replace call to ada_val_print by call
4926 (print_variant_part): Add "language" parameter.
4927 (ada_val_print_struct_union): Update call to print_field_values.
4929 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4931 * ada-valprint.c (ui_memcpy): Delete.
4932 (ada_print_floating): Update documentation. Add empty line
4933 between between function documentation and implementation.
4934 Delete variable "buffer". Use ui_file_xstrdup in place of
4935 ui_file_put. Minor adjustments following this change.
4937 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4939 * ada-valprint.c (ada_val_print_string): New function,
4940 extracted from ada_val_print_array.
4941 (ada_val_print_array): Replace extracted code by call
4942 to ada_val_print_string followed by a return. Move
4943 "else" branch to the function's top block.
4945 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4947 * ada-valprint.c (ada_val_print_array): Move implementation
4948 down. Rename parameter "offset" and "val" into "offset_aligned"
4949 and "original_value" respectively. Add parameter "offset".
4951 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4953 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4954 re-organizing the code. Change the "???" message printed
4955 when target type is a TYPE_CODE_UNDEF into
4956 "<ref to undefined type>".
4958 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4960 * ada-valprint.c (print_record): Delete, implementation inlined...
4961 (ada_val_print_struct_union): ... here. Remove call to
4962 ada_check_typedef in inlined implementation.
4964 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4966 * ada-valprint.c (ada_val_print_gnat_array): New function,
4967 extracted from ada_val_print_1;
4968 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4969 (ada_val_print_flt, ada_val_print_struct_union)
4970 (ada_val_print_ref): Likewise.
4971 (ada_val_print_1): Delete variables i and elttype.
4972 Replace extracted-out code by call to corresponding
4975 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4977 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4979 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4981 * ada-valprint.c (ada_val_print_1): Replace calls to
4982 ada_val_print_1 by calls to val_print.
4984 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4986 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4987 Update calls to self accordingly. Replace calls to c_val_print
4988 by calls to val_print.
4990 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4992 * ada-valprint.c (print_record): Delete declaration.
4993 (adjust_type_signedness, ada_val_print_1): Likewise.
4994 (ada_val_print): Move function implementation down.
4995 (print_variant_part, print_field_values, print_record):
4996 Move function implementation up.
4998 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5000 * python/py-type.c (typy_get_name): New function.
5001 (type_object_getset): Add entry for attribute "name".
5002 * NEWS: Add entry mentioning this new attribute.
5004 2014-01-07 Yao Qi <yao@codesourcery.com>
5006 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
5009 2014-01-07 Yao Qi <yao@codesourcery.com>
5011 * gnu-nat.c (info_port_rights): Add qualifier const to
5014 2014-01-07 Yao Qi <yao@codesourcery.com>
5016 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
5018 2014-01-07 Yao Qi <yao@codesourcery.com>
5020 * gnu-nat.c (make_inf) Update declaration.
5021 (make_inf): Make it static.
5022 (inf_set_traced): Likewise.
5023 (inf_port_to_thread, inf_task_died_status): Likewise.
5025 2014-01-07 Yao Qi <yao@codesourcery.com>
5027 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
5029 2014-01-07 Yao Qi <yao@codesourcery.com>
5031 * gnu-nat.c (_initialize_gnu_nat): Declare.
5033 2014-01-07 Yao Qi <yao@codesourcery.com>
5035 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
5037 (struct gdbarch_info) <byte_order>: Change type to
5039 <byte_order_for_code>: Likewise.
5040 * gdbarch.c, gdbarch.h: Regenerated.
5042 2014-01-06 Sasha Smundak <asmundak@google.com>
5044 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
5046 2014-01-06 Tom Tromey <tromey@redhat.com>
5048 * doublest.c (convert_doublest_to_floatformat): Use const, not
5050 * somread.c (som_symtab_read): Likewise.
5052 2014-01-07 Hui Zhu <hui@codesourcery.com>
5054 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
5055 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
5056 (gdb_bfd_fopen): Ditto.
5057 (gdb_bfd_openr): Ditto.
5058 (gdb_bfd_openw): Ditto.
5059 (gdb_bfd_openr_iovec): Ditto.
5060 (gdb_bfd_fdopenr): Ditto.
5061 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
5062 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
5064 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
5066 * symfile-mem.c (symbol_file_add_from_memory): Removed
5067 gdb_bfd_stash_filename.
5069 2014-01-03 Doug Evans <dje@google.com>
5071 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
5074 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5076 Update year range in copyright notice of all files.
5078 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5080 * top.c (print_gdb_version): Set copyright year to 2014.
5082 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5084 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
5086 For older changes see ChangeLog-2013.
5092 version-control: never