1 2014-02-24 Yao Qi <yao@codesourcery.com>
3 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
4 * corefile.c (read_memory): Adjusted.
5 * target.c (target_write_with_progress): Adjusted.
7 2014-02-23 Yao Qi <yao@codesourcery.com>
11 2013-10-25 Yao Qi <yao@codesourcery.com>
13 * remote.c (remote_traceframe_info): Return early if
14 traceframe is not selected.
16 2013-07-19 Yao Qi <yao@codesourcery.com>
18 * target.c (update_current_target): Change the default action
19 of 'to_traceframe_info' from tcomplain to return_zero.
20 * target.h (struct target_ops) <to_traceframe_info>: Add more
23 2014-02-23 Yao Qi <yao@codesourcery.com>
25 * valops.c (read_value_memory): Rewrite it. Call
26 target_xfer_partial in a loop.
27 * exec.h (section_table_available_memory): Remove declaration.
29 * exec.c (section_table_available_memory): ... here. Make it
32 2014-02-23 Yao Qi <yao@codesourcery.com>
34 * exec.c (section_table_read_available_memory): New function.
35 * exec.h (section_table_read_available_memory): Declare.
36 * ctf.c (ctf_xfer_partial): Call
37 section_table_read_available_memory.
38 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
40 2014-02-23 Yao Qi <yao@codesourcery.com>
42 * ctf.c (ctf_xfer_partial): Move code to ...
43 * exec.c (exec_read_partial_read_only): ... it. New function.
44 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
45 * tracefile.c: Include "exec.h".
46 * exec.h (exec_read_partial_read_only): Declare.
48 2014-02-23 Yao Qi <yao@codesourcery.com>
50 * tracefile-tfile.c (tfile_has_all_memory): Remove.
51 (tfile_has_memory): Remove.
52 (init_tfile_ops): Don't set fields to_has_all_memory and
53 to_has_memory of tfile_ops.
54 * tracefile.c (tracefile_has_all_memory): New function.
55 (tracefile_has_memory): New function.
56 (init_tracefile_ops): Initialize fields to_has_all_memory and
57 to_has_memory of 'ops'.
59 2014-02-23 Yao Qi <yao@codesourcery.com>
61 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
62 (ctf_thread_alive, ctf_get_trace_status): Remove.
63 (init_ctf_ops): Don't set some fields of ctf_ops. Call
65 * tracefile-tfile.c (tfile_get_trace_status): Remove.
66 (tfile_has_stack, tfile_has_registers): Remove.
67 (tfile_thread_alive): Remove.
68 (init_tfile_ops): Don't set some fields of tfile_ops. Call
70 * tracefile.c (tracefile_has_stack): New function.
71 (tracefile_has_registers): New function.
72 (tracefile_thread_alive): New function.
73 (tracefile_get_trace_status): New function.
74 (init_tracefile_ops): New function.
75 * tracefile.h (init_tracefile_ops): Declare.
77 2014-02-23 Yao Qi <yao@codesourcery.com>
79 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
80 (O_LARGEFILE): Likewise.
81 (tfile_ops): Likewise.
82 (TRACE_HEADER_SIZE): Likewise.
83 (trace_fd, trace_frames_offset, cur_offset): Likewise.
84 (cur_data_size): Likewise.
85 (tfile_read, tfile_open, tfile_interp_line): Likewise.
86 (tfile_close, tfile_files_info): Likewise.
87 (tfile_get_trace_status): Likewise.
88 (tfile_get_tracepoint_status): Likewise.
89 (tfile_get_traceframe_address): Likewise.
90 (tfile_trace_find, match_blocktype): Likewise.
91 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
92 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
93 (tfile_get_trace_state_variable_value): Likewise.
94 (tfile_has_all_memory, tfile_has_memory): Likewise.
95 (tfile_has_stack, tfile_has_registers): Likewise.
96 (tfile_thread_alive, build_traceframe_info): Likewise.
97 (tfile_traceframe_info, init_tfile_ops): Likewise.
98 (_initialize_tracepoint): Don't call init_tfile_ops
99 and add_target_with_completer.
100 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
101 exec.h, completer.h and filenames.h.
102 (_initialize_tracefile_tfile): New function.
104 2014-02-23 Yao Qi <yao@codesourcery.com>
106 * Makefile.in (REMOTE_OBS): Append tracefile.o and
108 (HFILES_NO_SRCDIR): Add tracefile.h.
109 * ctf.c: Include "tracefile.h".
110 * tracefile.h: New file.
111 * tracefile.c: New file
112 * tracefile-tfile.c: New file.
113 * tracepoint.c: Include "tracefile.h".
114 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
115 (stop_reason_names): Add const.
116 (trace_file_writer_xfree): Move it to tracefile.c.
117 (trace_save, trace_save_command, trace_save_tfile): Likewise.
118 (trace_save_ctf): Likewise.
119 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
120 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
121 (tfile_write_header, tfile_write_regblock_type): Likewise.
122 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
123 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
124 (tfile_write_raw_data, tfile_end): Likewise.
125 (tfile_trace_file_writer_new): Likewise.
126 (free_uploaded_tp): Make it extern.
127 (free_uploaded_tsv): Make it extern.
128 (_initialize_tracepoint): Move code to register command 'tsave'
130 * tracepoint.h (stop_reason_names): Declare.
131 (struct trace_frame_write_ops): Move it to tracefile.h.
132 (struct trace_file_write_ops): Likewise.
133 (struct trace_file_writer): Likewise.
134 (free_uploaded_tsvs, free_uploaded_tps): Declare.
136 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
139 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
141 (get_cores_used_by_process): New parameter num_cores, use it.
142 (linux_xfer_osdata_processes): Pass num_cores to it.
143 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
146 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
148 * target.c (memory_xfer_partial): Fix length arg in call to
149 breakpoint_xfer_memory.
151 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
154 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
155 number comes after the + or - signs. Adjust length of register
156 name to be extracted.
158 2014-02-20 Tom Tromey <tromey@redhat.com>
160 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
161 (ada_varobj_ops): Mark "extern".
163 2014-02-20 Tom Tromey <tromey@redhat.com>
165 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
167 2014-02-20 Doug Evans <xdje42@gmail.com>
169 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
171 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
173 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
174 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
176 2014-02-20 lin zuojian <manjian2006@gmail.com>
177 Joel Brobecker <brobecker@adacore.com>
178 Doug Evans <xdje42@gmail.com>
181 * dwarf2read.c (struct die_info): New member in_process.
182 (reset_die_in_process): New function.
183 (process_die): Set it at the start, reset when returning.
184 (inherit_abstract_dies): Only call process_die if origin_child_die
185 not already being processed.
187 2014-02-20 Joel Brobecker <brobecker@adacore.com>
189 * windows-nat.c (handle_unload_dll): Add function documentation.
190 (do_initial_windows_stuff): Add comment explaining why we wait
191 until after inferior initialization has finished before
194 2014-02-20 Joel Brobecker <brobecker@adacore.com>
196 * windows-nat.c (get_module_name): Delete.
197 (windows_get_exec_module_filename): New function, mostly
198 inspired from get_module_name.
199 (windows_pid_to_exec_file): Replace call to get_module_name
200 by call to windows_get_exec_module_filename.
202 2014-02-20 Joel Brobecker <brobecker@adacore.com>
204 * windows-nat.c (handle_load_dll): Rewrite this function's
205 introductory comment. Remove code using get_module_name
206 to get the DLL's name.
208 2014-02-20 Joel Brobecker <brobecker@adacore.com>
210 * windows-nat.c (get_windows_debug_event): Ignore
211 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
212 if windows_initialization_done == 0.
213 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
214 Adjust implementation to always load all DLLs.
215 (do_initial_windows_stuff): Replace call to
216 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
218 2014-02-20 Joel Brobecker <brobecker@adacore.com>
220 * windows-nat.c (_initialize_windows_nat): Deprecate the
221 "dll-symbols" command. Turn the "add-shared-symbol-files"
222 and "assf" aliases into commands, and deprecate them as well.
223 * NEWS: Add entry explaining that "dll-symbols" and its two
224 aliases are now deprecated.
226 2014-02-20 Joel Brobecker <brobecker@adacore.com>
228 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
229 new-line in debug string. Remove trailing spaces.
231 2014-02-19 Stan Shebs <stan@codesourcery.com>
233 * darwin-nat.c (darwin_xfer_partial): Fix return type.
235 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
237 * NEWS: Add entry for the new feature
238 * python/py-value.c (valpy_binop): Call value_x_binop for struct
241 2014-02-19 Stan Shebs <stan@codesourcery.com>
243 * MAINTAINERS: List Yao Qi as nios2 maintainer.
245 2014-02-19 Pedro Alves <palves@redhat.com>
247 * common/ptid.h (struct ptid): Mention that process_stratum
248 targets should prefer ptid.lwp.
250 2014-02-19 Pedro Alves <palves@redhat.com>
252 * remote.c (remote_thread_alive, write_ptid, read_ptid)
253 (read_ptid, remote_newthread_step, remote_threads_extra_info)
254 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
255 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
256 store remote thread ids rather than ptid.tid.
257 (_initialize_remote): Adjust.
259 2014-02-19 Tom Tromey <tromey@redhat.com>
261 * target.c (target_get_unwinder): Rewrite.
262 (target_get_tailcall_unwinder): Rewrite.
263 * record-btrace.c (record_btrace_to_get_unwinder): New function.
264 (record_btrace_to_get_tailcall_unwinder): New function.
265 (init_record_btrace_ops): Update.
266 * target.h (struct target_ops) <to_get_unwinder,
267 to_get_tailcall_unwinder>: Now function pointers. Use
268 TARGET_DEFAULT_RETURN.
270 2014-02-19 Tom Tromey <tromey@redhat.com>
272 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
274 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
276 2014-02-19 Tom Tromey <tromey@redhat.com>
278 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
280 * target-delegates.c: Rebuild.
281 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
283 * target.c (default_target_decr_pc_after_break): Rename from
284 forward_target_decr_pc_after_break. Simplify.
285 (target_decr_pc_after_break): Rely on delegation.
287 2014-02-19 Tom Tromey <tromey@redhat.com>
289 * target.c (update_current_target): Do not INHERIT to_doc or
290 to_magic. Do not de_fault to_open or to_close.
292 2014-02-19 Tom Tromey <tromey@redhat.com>
294 * gcore.h (objfile_find_memory_regions): Declare.
295 * gcore.c (objfile_find_memory_regions): No longer static. Add
297 (_initialize_gcore): Don't call exec_set_find_memory_regions.
298 * exec.c: Include gcore.h.
299 (exec_set_find_memory_regions): Remove.
300 (exec_find_memory_regions): Remove.
301 (exec_do_find_memory_regions): Remove.
302 (init_exec_ops): Update.
303 * defs.h (exec_set_find_memory_regions): Remove.
305 2014-02-19 Tom Tromey <tromey@redhat.com>
307 * target-delegates.c: Rebuild.
308 * target.h (struct target_ops) <to_extra_thread_info,
309 to_thread_name, to_pid_to_exec_file, to_get_section_table,
310 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
311 not 0, in TARGET_DEFAULT_RETURN.
313 2014-02-19 Tom Tromey <tromey@redhat.com>
315 * target.c (complete_target_initialization): Remove casts. Use
316 return_zero_has_execution.
317 (return_zero): Add "ignore" argument.
318 (return_zero_has_execution): New function.
319 (init_dummy_target): Remove casts. Use
320 return_zero_has_execution.
322 2014-02-19 Tom Tromey <tromey@redhat.com>
324 * target.c (update_current_target): Update comments. Do not
327 2014-02-19 Tom Tromey <tromey@redhat.com>
329 * arm-linux-nat.c (arm_linux_read_description): Delegate when
331 * corelow.c (core_read_description): Delegate when needed.
332 * remote.c (remote_read_description): Delegate when needed.
333 * target-delegates.c: Rebuild.
334 * target.c (target_read_description): Rewrite.
335 * target.h (struct target_ops) <to_read_description>: Update
336 comment. Use TARGET_DEFAULT_RETURN.
338 2014-02-19 Tom Tromey <tromey@redhat.com>
340 * target-delegates.c: Rebuild.
341 * target.c (update_current_target): Don't inherit or default
343 (find_default_run_target): Check against delegate_can_run.
344 * target.h (struct target_ops) <to_can_run>: Use
345 TARGET_DEFAULT_RETURN.
347 2014-02-19 Tom Tromey <tromey@redhat.com>
349 * target-delegates.c: Rebuild.
350 * target.c (target_disconnect): Unconditionally delegate.
351 * target.h (struct target_ops) <to_disconnect>: Use
352 TARGET_DEFAULT_NORETURN.
354 2014-02-19 Tom Tromey <tromey@redhat.com>
356 * record.c (record_stop): Unconditionally delegate.
357 * target-delegates.c: Rebuild.
358 * target.c (target_stop_recording): Unconditionally delegate.
359 * target.h (struct target_ops) <to_stop_recording>: Use
360 TARGET_DEFAULT_IGNORE.
362 2014-02-19 Tom Tromey <tromey@redhat.com>
364 * target-delegates.c: Rebuild.
365 * target.c (target_enable_btrace): Unconditionally delegate.
366 * target.h (struct target_ops) <to_enable_btrace>: Use
367 TARGET_DEFAULT_NORETURN.
369 2014-02-19 Tom Tromey <tromey@redhat.com>
371 * target-delegates.c: Rebuild.
372 * target.c (target_read_btrace): Unconditionally delegate.
373 * target.h (struct target_ops) <to_read_btrace>: Use
374 TARGET_DEFAULT_NORETURN.
376 2014-02-19 Tom Tromey <tromey@redhat.com>
378 * target-delegates.c: Rebuild.
379 * target.c (target_teardown_btrace): Unconditionally delegate.
380 * target.h (struct target_ops) <to_teardown_btrace>: Use
381 TARGET_DEFAULT_NORETURN.
383 2014-02-19 Tom Tromey <tromey@redhat.com>
385 * target-delegates.c: Rebuild.
386 * target.c (target_disable_btrace): Unconditionally delegate.
387 * target.h (struct target_ops) <to_disable_btrace>: Use
388 TARGET_DEFAULT_NORETURN.
390 2014-02-19 Tom Tromey <tromey@redhat.com>
392 * target-delegates.c: Rebuild.
393 * target.c (default_search_memory): New function.
394 (simple_search_memory): Update comment.
395 (target_search_memory): Unconditionally delegate.
396 * target.h (struct target_ops) <to_search_memory>: Use
399 2014-02-19 Tom Tromey <tromey@redhat.com>
401 * auxv.c (default_auxv_parse): No longer static.
402 (target_auxv_parse): Unconditionally delegate.
403 * auxv.h (default_auxv_parse): Declare.
404 * target-delegates.c: Rebuild.
405 * target.c: Include auxv.h.
406 * target.h (struct target_ops) <to_auxv_parse>: Use
409 2014-02-19 Tom Tromey <tromey@redhat.com>
411 * target-delegates.c: Rebuild.
412 * target.c (target_memory_map): Unconditionally delegate.
413 * target.h (struct target_ops) <to_memory_map>: Use
414 TARGET_DEFAULT_RETURN.
416 2014-02-19 Tom Tromey <tromey@redhat.com>
418 * target-delegates.c: Rebuild.
419 * target.c (target_thread_alive): Unconditionally delegate.
420 * target.h (struct target_ops) <to_thread_alive>: Use
421 TARGET_DEFAULT_RETURN.
423 2014-02-19 Tom Tromey <tromey@redhat.com>
425 * target-delegates.c: Rebuild.
426 * target.c (target_save_record): Unconditionally delegate.
427 * target.h (struct target_ops) <to_save_record>: Use
428 TARGET_DEFAULT_NORETURN.
430 2014-02-19 Tom Tromey <tromey@redhat.com>
432 * target-delegates.c: Rebuild.
433 * target.c (target_delete_record): Unconditionally delegate.
434 * target.h (struct target_ops) <to_delete_record>: Use
435 TARGET_DEFAULT_NORETURN.
437 2014-02-19 Tom Tromey <tromey@redhat.com>
439 * target-delegates.c: Rebuild.
440 * target.c (target_record_is_replaying): Unconditionally
442 * target.h (struct target_ops) <to_record_is_replaying>: Use
443 TARGET_DEFAULT_RETURN.
445 2014-02-19 Tom Tromey <tromey@redhat.com>
447 * target-delegates.c: Rebuild.
448 * target.c (target_goto_record_begin): Unconditionally delegate.
449 * target.h (struct target_ops) <to_goto_record_begin>: Use
450 TARGET_DEFAULT_NORETURN.
452 2014-02-19 Tom Tromey <tromey@redhat.com>
454 * target-delegates.c: Rebuild.
455 * target.c (target_goto_record_end): Unconditionally delegate.
456 * target.h (struct target_ops) <to_goto_record_end>: Use
457 TARGET_DEFAULT_NORETURN.
459 2014-02-19 Tom Tromey <tromey@redhat.com>
461 * target-delegates.c: Rebuild.
462 * target.c (target_goto_record): Unconditionally delegate.
463 * target.h (struct target_ops) <to_goto_record>: Use
464 TARGET_DEFAULT_NORETURN.
466 2014-02-19 Tom Tromey <tromey@redhat.com>
468 * target-delegates.c: Rebuild.
469 * target.c (target_insn_history): Unconditionally delegate.
470 * target.h (struct target_ops) <to_insn_history>: Use
471 TARGET_DEFAULT_NORETURN.
473 2014-02-19 Tom Tromey <tromey@redhat.com>
475 * target-delegates.c: Rebuild.
476 * target.c (target_insn_history_from): Unconditionally delegate.
477 * target.h (struct target_ops) <to_insn_history_from>: Use
478 TARGET_DEFAULT_NORETURN.
480 2014-02-19 Tom Tromey <tromey@redhat.com>
482 * target-delegates.c: Rebuild.
483 * target.c (target_insn_history_range): Unconditionally delegate.
484 * target.h (struct target_ops) <to_insn_history_range>: Use
485 TARGET_DEFAULT_NORETURN.
487 2014-02-19 Tom Tromey <tromey@redhat.com>
489 * target-delegates.c: Rebuild.
490 * target.c (target_call_history): Unconditionally delegate.
491 * target.h (struct target_ops) <to_call_history>: Use
492 TARGET_DEFAULT_NORETURN.
494 2014-02-19 Tom Tromey <tromey@redhat.com>
496 * target-delegates.c: Rebuild.
497 * target.c (target_call_history_from): Unconditionally delegate.
498 * target.h (struct target_ops) <to_call_history_from>: Use
499 TARGET_DEFAULT_NORETURN.
501 2014-02-19 Tom Tromey <tromey@redhat.com>
503 * target-delegates.c: Rebuild.
504 * target.c (target_call_history_range): Unconditionally delegate.
505 * target.h (struct target_ops) <to_call_history_range>: Use
506 TARGET_DEFAULT_NORETURN.
508 2014-02-19 Tom Tromey <tromey@redhat.com>
510 * target-delegates.c: Rebuild.
511 * target.c (target_verify_memory): Unconditionally delegate.
512 * target.h (struct target_ops) <to_verify_memory>: Use
513 TARGET_DEFAULT_NORETURN.
515 2014-02-19 Tom Tromey <tromey@redhat.com>
517 * target-delegates.c: Rebuild.
518 * target.c (target_core_of_thread): Unconditionally delegate.
519 * target.h (struct target_ops) <to_core_of_thread>: Use
520 TARGET_DEFAULT_RETURN.
522 2014-02-19 Tom Tromey <tromey@redhat.com>
524 * target-delegates.c: Rebuild.
525 * target.c (target_flash_done): Unconditionally delegate.
526 * target.h (struct target_ops) <to_flash_done>: Use
527 TARGET_DEFAULT_NORETURN.
529 2014-02-19 Tom Tromey <tromey@redhat.com>
531 * target-delegates.c: Rebuild.
532 * target.c (target_flash_erase): Unconditionally delegate.
533 * target.h (struct target_ops) <to_flash_erase>: Use
534 TARGET_DEFAULT_NORETURN.
536 2014-02-19 Tom Tromey <tromey@redhat.com>
538 * target-delegates.c: Rebuild.
539 * target.c (target_get_section_table): Unconditionally delegate.
540 * target.h (struct target_ops) <to_get_section_table>: Use
541 TARGET_DEFAULT_RETURN.
543 2014-02-19 Tom Tromey <tromey@redhat.com>
545 * target-delegates.c: Rebuild.
546 * target.c (target_pid_to_str): Unconditionally delegate.
547 (init_dummy_target): Don't initialize to_pid_to_str.
548 (default_pid_to_str): Rename from dummy_pid_to_str.
549 * target.h (struct target_ops) <to_pid_to_str>: Use
552 2014-02-19 Tom Tromey <tromey@redhat.com>
554 * target-delegates.c: Rebuild.
555 * target.c (target_find_new_threads): Unconditionally delegate.
556 * target.h (struct target_ops) <to_find_new_threads>: Use
557 TARGET_DEFAULT_RETURN.
559 2014-02-19 Tom Tromey <tromey@redhat.com>
561 * target-delegates.c: Rebuild.
562 * target.c (target_program_signals): Unconditionally delegate.
563 * target.h (struct target_ops) <to_program_signals>: Use
564 TARGET_DEFAULT_IGNORE.
566 2014-02-19 Tom Tromey <tromey@redhat.com>
568 * target-delegates.c: Rebuild.
569 * target.c (target_pass_signals): Unconditionally delegate.
570 * target.h (struct target_ops) <to_pass_signals>: Use
571 TARGET_DEFAULT_IGNORE.
573 2014-02-19 Tom Tromey <tromey@redhat.com>
575 * target-delegates.c: Rebuild.
576 * target.c (default_mourn_inferior): New function.
577 (target_mourn_inferior): Unconditionally delegate.
578 * target.h (struct target_ops) <to_mourn_inferior>: Use
581 2014-02-19 Tom Tromey <tromey@redhat.com>
583 * target-delegates.c: Rebuild.
584 * target.c (default_follow_fork): New function.
585 (target_follow_fork): Unconditionally delegate.
586 * target.h (struct target_ops) <to_follow_fork>: Use
589 2014-02-19 Tom Tromey <tromey@redhat.com>
591 * target-delegates.c: Rebuild.
592 * target.c (target_kill): Unconditionally delegate.
593 * target.h (struct target_ops) <to_kill>: Use
594 TARGET_DEFAULT_NORETURN.
596 2014-02-19 Tom Tromey <tromey@redhat.com>
598 * target-delegates.c: Rebuild.
599 * target.c (target_masked_watch_num_registers): Unconditionally
601 * target.h (struct target_ops) <to_masked_watch_num_registers>:
602 Use TARGET_DEFAULT_RETURN.
604 2014-02-19 Tom Tromey <tromey@redhat.com>
606 * target-delegates.c: Rebuild.
607 * target.c (target_remove_mask_watchpoint): Unconditionally
609 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
610 TARGET_DEFAULT_RETURN.
612 2014-02-19 Tom Tromey <tromey@redhat.com>
614 * target-delegates.c: Rebuild.
615 * target.c (target_insert_mask_watchpoint): Unconditionally
617 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
618 TARGET_DEFAULT_RETURN.
620 2014-02-19 Tom Tromey <tromey@redhat.com>
622 * target-delegates.c: Rebuild.
623 * target.c (target_ranged_break_num_registers): Unconditionally
625 * target.h (struct target_ops) <to_ranged_break_num_registers>:
626 Use TARGET_DEFAULT_RETURN.
628 2014-02-19 Tom Tromey <tromey@redhat.com>
630 * target-delegates.c: Rebuild.
631 * target.c (target_fetch_registers): Unconditionally delegate.
632 * target.h (struct target_ops) <to_fetch_registers>: Use
633 TARGET_DEFAULT_NORETURN.
635 2014-02-19 Tom Tromey <tromey@redhat.com>
637 * target-delegates.c: Rebuild.
638 * target.c (update_current_target): Don't inherit or default
640 * target.h (struct target_ops) <to_stop>: Use
641 TARGET_DEFAULT_IGNORE.
643 2014-02-19 Tom Tromey <tromey@redhat.com>
645 * target-delegates.c: Rebuild.
646 * target.c (update_current_target): Don't inherit or default
647 to_can_run_breakpoint_commands.
648 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
649 Use TARGET_DEFAULT_RETURN.
651 2014-02-19 Tom Tromey <tromey@redhat.com>
653 * target-delegates.c: Rebuild.
654 * target.c (update_current_target): Don't inherit or default
655 to_supports_evaluation_of_breakpoint_conditions.
656 * target.h (struct target_ops)
657 <to_supports_evaluation_of_breakpoint_conditions>: Use
658 TARGET_DEFAULT_RETURN.
660 2014-02-19 Tom Tromey <tromey@redhat.com>
662 * target-delegates.c: Rebuild.
663 * target.c (update_current_target): Don't inherit or default
664 to_augmented_libraries_svr4_read.
665 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
666 Use TARGET_DEFAULT_RETURN.
668 2014-02-19 Tom Tromey <tromey@redhat.com>
670 * target-delegates.c: Rebuild.
671 * target.c (update_current_target): Don't inherit or default
673 * target.h (struct target_ops) <to_can_use_agent>: Use
674 TARGET_DEFAULT_RETURN.
676 2014-02-19 Tom Tromey <tromey@redhat.com>
678 * target-delegates.c: Rebuild.
679 * target.c (update_current_target): Don't inherit or default
681 * target.h (struct target_ops) <to_use_agent>: 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 (return_null): Remove.
690 * target.h (struct target_ops) <to_traceframe_info>: Use
691 TARGET_DEFAULT_RETURN.
693 2014-02-19 Tom Tromey <tromey@redhat.com>
695 * target-delegates.c: Rebuild.
696 * target.c (update_current_target): Don't inherit or default
697 to_static_tracepoint_markers_by_strid.
698 * target.h (struct target_ops)
699 <to_static_tracepoint_markers_by_strid>: Use
700 TARGET_DEFAULT_NORETURN.
702 2014-02-19 Tom Tromey <tromey@redhat.com>
704 * target-delegates.c: Rebuild.
705 * target.c (update_current_target): Don't inherit or default
706 to_static_tracepoint_marker_at.
707 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
708 Use TARGET_DEFAULT_RETURN.
710 2014-02-19 Tom Tromey <tromey@redhat.com>
712 * target-delegates.c: Rebuild.
713 * target.c (update_current_target): Don't inherit or default
715 * target.h (struct target_ops) <to_set_permissions>: Use
716 TARGET_DEFAULT_IGNORE.
718 2014-02-19 Tom Tromey <tromey@redhat.com>
720 * target-delegates.c: Rebuild.
721 * target.c (update_current_target): Don't inherit or default
723 * target.h (struct target_ops) <to_get_tib_address>: Use
724 TARGET_DEFAULT_NORETURN.
726 2014-02-19 Tom Tromey <tromey@redhat.com>
728 * target-delegates.c: Rebuild.
729 * target.c (update_current_target): Don't inherit or default
731 * target.h (struct target_ops) <to_set_trace_notes>: Use
732 TARGET_DEFAULT_RETURN.
734 2014-02-19 Tom Tromey <tromey@redhat.com>
736 * target-delegates.c: Rebuild.
737 * target.c (update_current_target): Don't initialize
738 to_set_trace_buffer_size.
739 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
740 TARGET_DEFAULT_IGNORE.
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_set_circular_trace_buffer.
747 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
748 TARGET_DEFAULT_IGNORE.
750 2014-02-19 Tom Tromey <tromey@redhat.com>
752 * target-delegates.c: Rebuild.
753 * target.c (update_current_target): Don't inherit or default
754 to_set_disconnected_tracing.
755 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
756 TARGET_DEFAULT_IGNORE.
758 2014-02-19 Tom Tromey <tromey@redhat.com>
760 * target-delegates.c: Rebuild.
761 * target.c (update_current_target): Don't inherit or default
762 to_get_min_fast_tracepoint_insn_len.
763 (return_minus_one): Remove.
764 * target.h (struct target_ops)
765 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
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
771 to_get_raw_trace_data.
772 * target.h (struct target_ops) <to_get_raw_trace_data>: 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
779 to_upload_trace_state_variables.
780 * target.h (struct target_ops) <to_upload_trace_state_variables>:
781 Use 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 inherit or default
787 to_upload_tracepoints.
788 * target.h (struct target_ops) <to_upload_tracepoints>: Use
789 TARGET_DEFAULT_RETURN.
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
796 * target.h (struct target_ops) <to_save_trace_data>: Use
797 TARGET_DEFAULT_NORETURN.
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_get_trace_state_variable_value.
804 * target.h (struct target_ops)
805 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
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
812 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
814 2014-02-19 Tom Tromey <tromey@redhat.com>
816 * target-delegates.c: Rebuild.
817 * target.c (update_current_target): Don't inherit or default
819 * target.h (struct target_ops) <to_trace_stop>: Use
820 TARGET_DEFAULT_NORETURN.
822 2014-02-19 Tom Tromey <tromey@redhat.com>
824 * target-delegates.c: Rebuild.
825 * target.c (update_current_target): Don't inherit or default
826 to_get_tracepoint_status.
827 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
828 TARGET_DEFAULT_NORETURN.
830 2014-02-19 Tom Tromey <tromey@redhat.com>
832 * target-delegates.c: Rebuild.
833 * target.c (update_current_target): Don't inherit or default
835 * target.h (struct target_ops) <to_get_trace_status>: Use
836 TARGET_DEFAULT_RETURN.
838 2014-02-19 Tom Tromey <tromey@redhat.com>
840 * target-delegates.c: Rebuild.
841 * target.c (update_current_target): Don't inherit or default
843 * target.h (struct target_ops) <to_trace_start>: Use
844 TARGET_DEFAULT_NORETURN.
846 2014-02-19 Tom Tromey <tromey@redhat.com>
848 * target-delegates.c: Rebuild.
849 * target.c (update_current_target): Don't inherit or default
850 to_trace_set_readonly_regions.
851 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
852 Use TARGET_DEFAULT_NORETURN.
854 2014-02-19 Tom Tromey <tromey@redhat.com>
856 * target-delegates.c: Rebuild.
857 * target.c (update_current_target): Don't inherit or default
858 to_disable_tracepoint.
859 * target.h (struct target_ops) <to_disable_tracepoint>: Use
860 TARGET_DEFAULT_NORETURN.
862 2014-02-19 Tom Tromey <tromey@redhat.com>
864 * target-delegates.c: Rebuild.
865 * target.c (update_current_target): Don't inherit or default
866 to_enable_tracepoint.
867 * target.h (struct target_ops) <to_enable_tracepoint>: Use
868 TARGET_DEFAULT_NORETURN.
870 2014-02-19 Tom Tromey <tromey@redhat.com>
872 * target-delegates.c: Rebuild.
873 * target.c (update_current_target): Don't inherit or default
874 to_download_trace_state_variable.
875 * target.h (struct target_ops) <to_download_trace_state_variable>:
876 Use TARGET_DEFAULT_NORETURN.
878 2014-02-19 Tom Tromey <tromey@redhat.com>
880 * target-delegates.c: Rebuild.
881 * target.c (update_current_target): Don't inherit or default
882 to_can_download_tracepoint.
883 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
884 TARGET_DEFAULT_RETURN.
886 2014-02-19 Tom Tromey <tromey@redhat.com>
888 * target-delegates.c: Rebuild.
889 * target.c (update_current_target): Don't inherit or default
890 to_download_tracepoint.
891 * target.h (struct target_ops) <to_download_tracepoint>: Use
892 TARGET_DEFAULT_NORETURN.
894 2014-02-19 Tom Tromey <tromey@redhat.com>
896 * target-delegates.c: Rebuild.
897 * target.c (update_current_target): Don't inherit or default
899 * target.h (struct target_ops) <to_trace_init>: Use
900 TARGET_DEFAULT_RETURN.
902 2014-02-19 Tom Tromey <tromey@redhat.com>
904 * target-delegates.c: Rebuild.
905 * target.c (update_current_target): Don't inherit or default
906 to_supports_string_tracing.
907 * target.h (struct target_ops) <to_supports_string_tracing>: Use
908 TARGET_DEFAULT_RETURN.
910 2014-02-19 Tom Tromey <tromey@redhat.com>
912 * target-delegates.c: Rebuild.
913 * target.c (update_current_target): Don't inherit or default
914 to_supports_enable_disable_tracepoint.
915 * target.h (struct target_ops)
916 <to_supports_enable_disable_tracepoint>: Use
917 TARGET_DEFAULT_RETURN.
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_supports_multi_process.
924 * target.h (struct target_ops) <to_supports_multi_process>: Use
925 TARGET_DEFAULT_RETURN.
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_get_ada_task_ptid.
932 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
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_thread_architecture.
940 * target.h (struct target_ops) <to_thread_architecture>: Use
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
947 to_execution_direction.
948 * target.h (struct target_ops) <to_execution_direction>: Use
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_can_execute_reverse.
956 * target.h (struct target_ops) <to_can_execute_reverse>: Use
957 TARGET_DEFAULT_RETURN.
958 (target_can_execute_reverse): Unconditionally delegate.
960 2014-02-19 Tom Tromey <tromey@redhat.com>
962 * target-delegates.c: Rebuild.
963 * target.c (update_current_target): Don't inherit or default
965 (dummy_goto_bookmark): Remove.
966 (init_dummy_target): Don't inherit or default to_goto_bookmark.
967 * target.h (struct target_ops) <to_goto_bookmark>: Use
968 TARGET_DEFAULT_NORETURN.
970 2014-02-19 Tom Tromey <tromey@redhat.com>
972 * target-delegates.c: Rebuild.
973 * target.c (update_current_target): Don't inherit or default
975 (dummy_get_bookmark): Remove.
976 (init_dummy_target): Don't inherit or default to_get_bookmark.
977 * target.h (struct target_ops) <to_get_bookmark>: Use
978 TARGET_DEFAULT_NORETURN
980 2014-02-19 Tom Tromey <tromey@redhat.com>
982 * target-delegates.c: Rebuild.
983 * target.c (update_current_target): Don't inherit or default
984 to_make_corefile_notes.
985 (init_dummy_target): Don't initialize to_make_corefile_notes.
986 * target.h (struct target_ops) <to_make_corefile_notes>: Use
989 2014-02-19 Tom Tromey <tromey@redhat.com>
991 * target-delegates.c: Rebuild.
992 * target.c (update_current_target): Don't inherit or default
993 to_find_memory_regions.
994 (init_dummy_target): Don't initialize to_find_memory_regions.
995 * target.h (struct target_ops) <to_find_memory_regions>: Use
998 2014-02-19 Tom Tromey <tromey@redhat.com>
1000 * target-delegates.c: Rebuild.
1001 * target.c (update_current_target): Don't inherit or default
1003 * target.h (struct target_ops) <to_log_command>: Use
1004 TARGET_DEFAULT_IGNORE.
1005 (target_log_command): Unconditionally delegate.
1007 2014-02-19 Tom Tromey <tromey@redhat.com>
1009 * target-delegates.c: Rebuild.
1010 * target.c (update_current_target): Don't inherit or default
1011 to_pid_to_exec_file.
1012 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
1013 TARGET_DEFAULT_RETURN.
1015 2014-02-19 Tom Tromey <tromey@redhat.com>
1017 * target-delegates.c: Rebuild.
1018 * target.c (update_current_target): Don't inherit or default
1020 (target_thread_name): Unconditionally delegate.
1021 * target.h (struct target_ops) <to_thread_name>: Use
1022 TARGET_DEFAULT_RETURN.
1024 2014-02-19 Tom Tromey <tromey@redhat.com>
1026 * target-delegates.c: Rebuild.
1027 * target.c (update_current_target): Don't inherit or default
1028 to_extra_thread_info.
1029 * target.h (struct target_ops) <to_extra_thread_info>: Use
1030 TARGET_DEFAULT_RETURN.
1032 2014-02-19 Tom Tromey <tromey@redhat.com>
1034 * target-delegates.c: Rebuild.
1035 * target.c (update_current_target): Don't inherit or default
1037 * target.h (struct target_ops) <to_has_exited>: Use
1038 TARGET_DEFAULT_RETURN..
1040 2014-02-19 Tom Tromey <tromey@redhat.com>
1042 * target-delegates.c: Rebuild.
1043 * target.c (update_current_target): Don't inherit or default
1044 to_set_syscall_catchpoint.
1045 (return_one): Remove.
1046 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
1047 TARGET_DEFAULT_RETURN.
1049 2014-02-19 Tom Tromey <tromey@redhat.com>
1051 * target-delegates.c: Rebuild.
1052 * target.c (update_current_target): Don't inherit or default
1053 to_insert_exec_catchpoint.
1054 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1055 TARGET_DEFAULT_RETURN.
1057 2014-01-08 Tom Tromey <tromey@redhat.com>
1059 * target-delegates.c: Rebuild.
1060 * target.c (update_current_target): Don't inherit or default
1061 to_insert_exec_catchpoint.
1062 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1063 TARGET_DEFAULT_RETURN.
1065 2014-02-19 Tom Tromey <tromey@redhat.com>
1067 * target-delegates.c: Rebuild.
1068 * target.c (update_current_target): Don't inherit or default
1069 to_remove_vfork_catchpoint.
1070 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: 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_insert_vfork_catchpoint.
1078 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: 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
1085 to_remove_fork_catchpoint.
1086 * target.h (struct target_ops) <to_remove_fork_catchpoint>: 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_insert_fork_catchpoint.
1094 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
1095 TARGET_DEFAULT_RETURN.
1097 2014-02-19 Tom Tromey <tromey@redhat.com>
1099 * target-delegates.c: Rebuild.
1100 * target.c (update_current_target): Don't inherit or default
1101 to_post_startup_inferior.
1102 * target.h (struct target_ops) <to_post_startup_inferior>: Use
1103 TARGET_DEFAULT_IGNORE.
1105 2014-02-19 Tom Tromey <tromey@redhat.com>
1107 * target-delegates.c: Rebuild.
1108 * target.c (update_current_target): Don't inherit or default
1110 * target.h (struct target_ops) <to_load>: Use
1111 TARGET_DEFAULT_NORETURN.
1113 2014-02-19 Tom Tromey <tromey@redhat.com>
1115 * target-delegates.c: Rebuild.
1116 * target.c (update_current_target): Don't inherit or default
1118 * target.h (struct target_ops) <to_terminal_info>: Use
1119 TARGET_DEFAULT_FUNC.
1121 2014-02-19 Tom Tromey <tromey@redhat.com>
1123 * target-delegates.c: Rebuild.
1124 * target.c (update_current_target): Don't inherit or default
1125 to_terminal_save_ours.
1126 * target.h (struct target_ops) <to_terminal_save_ours>: Use
1127 TARGET_DEFAULT_IGNORE.
1129 2014-02-19 Tom Tromey <tromey@redhat.com>
1131 * target-delegates.c: Rebuild.
1132 * target.c (update_current_target): Don't inherit or default
1134 * target.h (struct target_ops) <to_terminal_ours>: Use
1135 TARGET_DEFAULT_IGNORE.
1137 2014-02-19 Tom Tromey <tromey@redhat.com>
1139 * target-delegates.c: Rebuild.
1140 * target.c (update_current_target): Don't inherit or default
1141 to_terminal_ours_for_output.
1142 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
1143 TARGET_DEFAULT_IGNORE.
1145 2014-02-19 Tom Tromey <tromey@redhat.com>
1147 * target-delegates.c: Rebuild.
1148 * target.c (update_current_target): Don't inherit or default
1149 to_terminal_inferior.
1150 * target.h (struct target_ops) <to_terminal_inferior>: Use
1151 TARGET_DEFAULT_IGNORE.
1153 2014-02-19 Tom Tromey <tromey@redhat.com>
1155 * target-delegates.c: Rebuild.
1156 * target.c (update_current_target): Don't inherit or default
1158 * target.h (struct target_ops) <to_terminal_init>: Use
1159 TARGET_DEFAULT_IGNORE.
1161 2014-02-19 Tom Tromey <tromey@redhat.com>
1163 * target-delegates.c: Rebuild.
1164 * target.c (update_current_target): Don't inherit or default
1165 to_can_accel_watchpoint_condition.
1166 * target.h (struct target_ops)
1167 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
1169 2014-02-19 Tom Tromey <tromey@redhat.com>
1171 * target-delegates.c: Rebuild.
1172 * target.c (update_current_target): Don't inherit or default
1173 to_region_ok_for_hw_watchpoint.
1174 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1175 Use TARGET_DEFAULT_FUNC.
1177 2014-02-19 Tom Tromey <tromey@redhat.com>
1179 * target-delegates.c: Rebuild.
1180 * target.c (update_current_target): Don't inherit or default
1181 to_watchpoint_addr_within_range.
1182 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
1183 Use TARGET_DEFAULT_FUNC.
1185 2014-02-19 Tom Tromey <tromey@redhat.com>
1187 * target-delegates.c: Rebuild.
1188 * target.c (update_current_target): Don't inherit or default
1189 to_remove_watchpoint.
1190 * target.h (struct target_ops) <to_remove_watchpoint>: Use
1191 TARGET_DEFAULT_NORETURN.
1193 2014-02-19 Tom Tromey <tromey@redhat.com>
1195 * target-delegates.c: Rebuild.
1196 * target.c (update_current_target): Don't inherit or default
1197 to_insert_watchpoint.
1198 * target.h (struct target_ops) <to_insert_watchpoint>: Use
1199 TARGET_DEFAULT_RETURN.
1201 2014-02-19 Tom Tromey <tromey@redhat.com>
1203 * target-delegates.c: Rebuild.
1204 * target.c (update_current_target): Don't inherit or default
1205 to_remove_hw_breakpoint.
1206 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
1207 TARGET_DEFAULT_RETURN.
1209 2014-02-19 Tom Tromey <tromey@redhat.com>
1211 * target-delegates.c: Rebuild.
1212 * target.c (update_current_target): Don't inherit or default
1213 to_insert_hw_breakpoint.
1214 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
1215 TARGET_DEFAULT_RETURN.
1217 2014-02-19 Tom Tromey <tromey@redhat.com>
1219 * target-delegates.c: Rebuild.
1220 * target.c (update_current_target): Don't inherit or default
1221 to_can_use_hw_breakpoint.
1222 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
1223 TARGET_DEFAULT_RETURN.
1225 2014-02-19 Tom Tromey <tromey@redhat.com>
1227 * target-delegates.c: Rebuild.
1228 * target.c (update_current_target): Don't inherit or default
1230 * target.h (struct target_ops) <to_files_info>: Use
1231 TARGET_DEFAULT_IGNORE.
1233 2014-02-19 Tom Tromey <tromey@redhat.com>
1235 * target-delegates.c: Rebuild.
1236 * target.c (update_current_target): Don't inherit or default
1238 * target.h (struct target_ops) <to_store>: Use
1239 TARGET_DEFAULT_NORETURN.
1241 2014-02-19 Tom Tromey <tromey@redhat.com>
1243 * target-delegates.c: Rebuild.
1244 * target.c (update_current_target): Don't inherit or default
1246 * target.h (struct target_ops) <to_post_attach>: Use
1247 TARGET_DEFAULT_IGNORE.
1249 2014-02-19 Tom Tromey <tromey@redhat.com>
1251 * target-delegates.c: Rebuild.
1252 * target.c (update_current_target): Don't inherit or default
1254 (default_rcmd): New function.
1255 (do_monitor_command): Unconditionally delegate.
1256 * target.h (struct target_ops) <to_rmcd>: Use
1257 TARGET_DEFAULT_FUNC.
1259 2014-02-19 Tom Tromey <tromey@redhat.com>
1261 * target-delegates.c: Rebuild.
1262 * target.c (init_dummy_target): Don't initialize to_attach.
1263 (target_attach): Unconditionally delegate.
1264 * target.h (struct target_ops) <to_attach>: Use
1265 TARGET_DEFAULT_FUNC.
1267 2014-02-19 Tom Tromey <tromey@redhat.com>
1269 * target-delegates.c: Rebuild.
1270 * target.c (target_detach): Unconditionally delegate.
1271 (init_dummy_target): Don't initialize to_detach.
1272 * target.h (struct target_ops) <to_detach>: Use
1273 TARGET_DEFAULT_IGNORE.
1275 2014-02-19 Tom Tromey <tromey@redhat.com>
1277 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1279 (target_augmented_libraries_svr4_read): Add argument.
1280 * target.c (update_current_target): Update.
1281 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
1284 2014-02-19 Tom Tromey <tromey@redhat.com>
1286 * target.h (struct target_ops) <to_call_history_range>: Add
1288 * target.c (target_call_history_range): Add argument.
1289 * record-btrace.c (record_btrace_call_history_range): Add 'self'
1291 (record_btrace_call_history_from): Update.
1293 2014-02-19 Tom Tromey <tromey@redhat.com>
1295 * target.h (struct target_ops) <to_call_history_from>: Add
1297 * target.c (target_call_history_from): Add argument.
1298 * record-btrace.c (record_btrace_call_history_from): Add 'self'
1301 2014-02-19 Tom Tromey <tromey@redhat.com>
1303 * target.h (struct target_ops) <to_call_history>: Add argument.
1304 * target.c (target_call_history): Add argument.
1305 * record-btrace.c (record_btrace_call_history): Add 'self'
1308 2014-02-19 Tom Tromey <tromey@redhat.com>
1310 * target.h (struct target_ops) <to_insn_history_range>: Add
1312 * target.c (target_insn_history_range): Add argument.
1313 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
1315 (record_btrace_insn_history_from): Update.
1317 2014-02-19 Tom Tromey <tromey@redhat.com>
1319 * target.h (struct target_ops) <to_insn_history_from>: Add
1321 * target.c (target_insn_history_from): Add argument.
1322 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
1325 2014-02-19 Tom Tromey <tromey@redhat.com>
1327 * target.h (struct target_ops) <to_insn_history>: Add argument.
1328 * target.c (target_insn_history): Add argument.
1329 * record-btrace.c (record_btrace_insn_history): Add 'self'
1332 2014-02-19 Tom Tromey <tromey@redhat.com>
1334 * target.h (struct target_ops) <to_goto_record>: Add argument.
1335 * target.c (target_goto_record): Add argument.
1336 * record-full.c (record_full_goto): Add 'self' argument.
1337 * record-btrace.c (record_btrace_goto): Add 'self' argument.
1339 2014-02-19 Tom Tromey <tromey@redhat.com>
1341 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
1342 * target.c (target_goto_record_end): Add argument.
1343 * record-full.c (record_full_goto_end): Add 'self' argument.
1344 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
1346 2014-02-19 Tom Tromey <tromey@redhat.com>
1348 * target.h (struct target_ops) <to_goto_record_begin>: Add
1350 * target.c (target_goto_record_begin): Add argument.
1351 * record-full.c (record_full_goto_begin): Add 'self' argument.
1352 * record-btrace.c (record_btrace_goto_begin): Add 'self'
1355 2014-02-19 Tom Tromey <tromey@redhat.com>
1357 * target.h (struct target_ops) <to_record_is_replaying>: Add
1359 * target.c (target_record_is_replaying): Add argument.
1360 * record-full.c (record_full_is_replaying): Add 'self' argument.
1361 * record-btrace.c (record_btrace_is_replaying): Add 'self'
1363 (record_btrace_xfer_partial, record_btrace_store_registers)
1364 (record_btrace_prepare_to_store, record_btrace_resume)
1365 (record_btrace_wait, record_btrace_decr_pc_after_break)
1366 (record_btrace_find_new_threads, record_btrace_thread_alive):
1369 2014-02-19 Tom Tromey <tromey@redhat.com>
1371 * target.h (struct target_ops) <to_delete_record>: Add argument.
1372 * target.c (target_delete_record): Add argument.
1373 * record-full.c (record_full_delete): Add 'self' argument.
1375 2014-02-19 Tom Tromey <tromey@redhat.com>
1377 * target.h (struct target_ops) <to_save_record>: Add argument.
1378 * target.c (target_save_record): Add argument.
1379 * record-full.c (record_full_save): Add 'self' argument.
1380 (record_full_save): Add 'self' argument.
1382 2014-02-19 Tom Tromey <tromey@redhat.com>
1384 * target.h (struct target_ops) <to_info_record>: Add argument.
1385 * target.c (target_info_record): Add argument.
1386 * record.c (info_record_command): Add argument.
1387 * record-full.c (record_full_info): Add 'self' argument.
1388 * record-btrace.c (record_btrace_info): Add 'self' argument.
1390 2014-02-19 Tom Tromey <tromey@redhat.com>
1392 * target.h (struct target_ops) <to_stop_recording>: Add argument.
1393 * target.c (target_stop_recording): Add argument.
1394 * record.c (record_stop): Add argument.
1395 * record-btrace.c (record_btrace_stop_recording): Add 'self'
1398 2014-02-19 Tom Tromey <tromey@redhat.com>
1400 * target.h (struct target_ops) <to_read_btrace>: Add argument.
1401 * target.c (struct target_ops) <to_read_btrace>: Add argument.
1402 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
1404 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
1405 (_initialize_amd64_linux_nat): Use it.
1406 * i386-linux-nat.c (i386_linux_read_btrace): New function.
1407 (_initialize_i386_linux_nat): Use it.
1409 2014-02-19 Tom Tromey <tromey@redhat.com>
1411 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
1412 * target.c (target_teardown_btrace): Add argument.
1413 * remote.c (remote_teardown_btrace): Add 'self' argument.
1414 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
1416 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
1419 2014-02-19 Tom Tromey <tromey@redhat.com>
1421 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
1422 * target.c (target_disable_btrace): Add argument.
1423 * remote.c (remote_disable_btrace): Add 'self' argument.
1424 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
1426 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
1429 2014-02-19 Tom Tromey <tromey@redhat.com>
1431 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
1432 * target.c (target_enable_btrace): Add argument.
1433 * remote.c (remote_enable_btrace): Add 'self' argument.
1434 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
1436 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
1439 2014-02-19 Tom Tromey <tromey@redhat.com>
1441 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
1442 (target_can_use_agent): Add argument.
1443 * target.c (update_current_target): Update.
1444 * remote.c (remote_can_use_agent): Add 'self' argument.
1445 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
1447 2014-02-19 Tom Tromey <tromey@redhat.com>
1449 * target.h (struct target_ops) <to_use_agent>: Add argument.
1450 (target_use_agent): Add argument.
1451 * target.c (update_current_target): Update.
1452 * remote.c (remote_use_agent): Add 'self' argument.
1453 * inf-child.c (inf_child_use_agent): Add 'self' argument.
1455 2014-02-19 Tom Tromey <tromey@redhat.com>
1457 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
1458 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
1459 (target_traceframe_info): Add argument.
1460 * target.c (update_current_target): Update.
1461 * remote.c (remote_traceframe_info): Add 'self' argument.
1462 * ctf.c (ctf_traceframe_info): Add 'self' argument.
1464 2014-02-19 Tom Tromey <tromey@redhat.com>
1466 * target.h (target_static_tracepoint_markers_by_strid): Add
1468 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
1470 * target.c (update_current_target): Update.
1471 * remote.c (struct target_ops)
1472 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1473 * linux-nat.c (struct target_ops)
1474 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1476 2014-02-19 Tom Tromey <tromey@redhat.com>
1478 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1480 (target_static_tracepoint_marker_at): Add argument.
1481 * target.c (update_current_target): Update.
1482 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
1485 2014-02-19 Tom Tromey <tromey@redhat.com>
1487 * target.h (struct target_ops) <to_set_permissions>: Add argument.
1488 (target_set_permissions): Add argument.
1489 * target.c (update_current_target): Update.
1490 * remote.c (remote_set_permissions): Add 'self' argument.
1491 (remote_start_remote): Update.
1493 2014-02-19 Tom Tromey <tromey@redhat.com>
1495 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
1496 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
1497 (target_get_tib_address): Add argument.
1498 * target.c (update_current_target): Update.
1499 * remote.c (remote_get_tib_address): Add 'self' argument.
1501 2014-02-19 Tom Tromey <tromey@redhat.com>
1503 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
1504 (target_set_trace_notes): Add argument.
1505 * target.c (update_current_target): Update.
1506 * remote.c (remote_set_trace_notes): Add 'self' argument.
1508 2014-02-19 Tom Tromey <tromey@redhat.com>
1510 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
1512 (target_set_trace_buffer_size): Add argument.
1513 * target.c (update_current_target): Update.
1514 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
1516 2014-02-19 Tom Tromey <tromey@redhat.com>
1518 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
1520 (target_set_circular_trace_buffer): Add argument.
1521 * target.c (update_current_target): Update.
1522 * remote.c (remote_set_circular_trace_buffer): Add 'self'
1525 2014-02-19 Tom Tromey <tromey@redhat.com>
1527 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
1529 (target_set_disconnected_tracing): Add argument.
1530 * target.c (update_current_target): Update.
1531 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
1533 2014-02-19 Tom Tromey <tromey@redhat.com>
1535 * target.h (struct target_ops)
1536 <to_get_min_fast_tracepoint_insn_len>: Add argument.
1537 (target_get_min_fast_tracepoint_insn_len): Add argument.
1538 * target.c (update_current_target): Update.
1539 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
1542 2014-02-19 Tom Tromey <tromey@redhat.com>
1544 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
1546 (target_get_raw_trace_data): Add argument.
1547 * target.c (update_current_target): Update.
1548 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
1550 2014-02-19 Tom Tromey <tromey@redhat.com>
1552 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1554 (target_upload_trace_state_variables): Add argument.
1555 * target.c (update_current_target): Update.
1556 * remote.c (remote_upload_trace_state_variables): Add 'self'
1558 (remote_start_remote): Update.
1560 2014-02-19 Tom Tromey <tromey@redhat.com>
1562 * target.h (struct target_ops) <to_upload_tracepoints>: Add
1564 (target_upload_tracepoints): Add argument.
1565 * target.c (update_current_target): Update.
1566 * remote.c (remote_upload_tracepoints): Add 'self' argument.
1567 (remote_start_remote): Update.
1569 2014-02-19 Tom Tromey <tromey@redhat.com>
1571 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
1572 (target_save_trace_data): Add argument.
1573 * target.c (update_current_target): Update.
1574 * remote.c (remote_save_trace_data): Add 'self' argument.
1576 2014-02-19 Tom Tromey <tromey@redhat.com>
1578 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
1580 * target.h (struct target_ops)
1581 <to_get_trace_state_variable_value>: Add argument.
1582 (target_get_trace_state_variable_value): Add argument.
1583 * target.c (update_current_target): Update.
1584 * remote.c (remote_get_trace_state_variable_value): Add 'self'
1586 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
1588 2014-02-19 Tom Tromey <tromey@redhat.com>
1590 * tracepoint.c (tfile_trace_find): Add 'self' argument.
1591 * target.h (struct target_ops) <to_trace_find>: Add argument.
1592 (target_trace_find): Add argument.
1593 * target.c (update_current_target): Update.
1594 * remote.c (remote_trace_find): Add 'self' argument.
1595 * ctf.c (ctf_trace_find): Add 'self' argument.
1597 2014-02-19 Tom Tromey <tromey@redhat.com>
1599 * target.h (struct target_ops) <to_trace_stop>: Add argument.
1600 (target_trace_stop): Add argument.
1601 * target.c (update_current_target): Update.
1602 * remote.c (remote_trace_stop): Add 'self' argument.
1604 2014-02-19 Tom Tromey <tromey@redhat.com>
1606 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
1607 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
1609 (target_get_tracepoint_status): Add argument.
1610 * target.c (update_current_target): Update.
1611 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
1613 2014-02-19 Tom Tromey <tromey@redhat.com>
1615 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
1616 * target.h (struct target_ops) <to_get_trace_status>: Add
1618 (target_get_trace_status): Add argument.
1619 * target.c (update_current_target): Update.
1620 * remote.c (remote_get_trace_status): Add 'self' argument.
1621 (remote_start_remote, remote_can_download_tracepoint): Update.
1622 * ctf.c (ctf_get_trace_status): Add 'self' argument.
1624 2014-02-19 Tom Tromey <tromey@redhat.com>
1626 * target.h (struct target_ops) <to_trace_start>: Add argument.
1627 (target_trace_start): Add argument.
1628 * target.c (update_current_target): Update.
1629 * remote.c (remote_trace_start): Add 'self' argument.
1631 2014-02-19 Tom Tromey <tromey@redhat.com>
1633 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1635 (target_trace_set_readonly_regions): Add argument.
1636 * target.c (update_current_target): Update.
1637 * remote.c (remote_trace_set_readonly_regions): Add 'self'
1640 2014-02-19 Tom Tromey <tromey@redhat.com>
1642 * target.h (struct target_ops) <to_disable_tracepoint>: Add
1644 (target_disable_tracepoint): Add argument.
1645 * target.c (update_current_target): Update.
1646 * remote.c (remote_disable_tracepoint): Add 'self' argument.
1648 2014-02-19 Tom Tromey <tromey@redhat.com>
1650 * target.h (struct target_ops) <to_enable_tracepoint>: Add
1652 (target_enable_tracepoint): Add argument.
1653 * target.c (update_current_target): Update.
1654 * remote.c (remote_enable_tracepoint): Add 'self' argument.
1656 2014-02-19 Tom Tromey <tromey@redhat.com>
1658 * target.h (struct target_ops) <to_download_trace_state_variable>:
1660 (target_download_trace_state_variable): Add argument.
1661 * target.c (update_current_target): Update.
1662 * remote.c (remote_download_trace_state_variable): Add 'self'
1665 2014-02-19 Tom Tromey <tromey@redhat.com>
1667 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
1669 (target_can_download_tracepoint): Add argument.
1670 * target.c (update_current_target): Update.
1671 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
1673 2014-02-19 Tom Tromey <tromey@redhat.com>
1675 * target.h (struct target_ops) <to_download_tracepoint>: Add
1677 (target_download_tracepoint): Add argument.
1678 * target.c (update_current_target): Update.
1679 * remote.c (remote_download_tracepoint): Add 'self' argument.
1681 2014-02-19 Tom Tromey <tromey@redhat.com>
1683 * target.h (struct target_ops) <to_trace_init>: Add argument.
1684 (target_trace_init): Add argument.
1685 * target.c (update_current_target): Update.
1686 * remote.c (remote_trace_init): Add 'self' argument.
1688 2014-02-19 Tom Tromey <tromey@redhat.com>
1690 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1691 * target.c (target_fileio_readlink): Add argument.
1692 * remote.c (remote_hostio_readlink): Add 'self' argument.
1693 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1695 2014-02-19 Tom Tromey <tromey@redhat.com>
1697 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1698 * target.c (target_fileio_unlink): Add argument.
1699 * remote.c (remote_hostio_unlink): Add 'self' argument.
1700 (remote_file_delete): Update.
1701 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1703 2014-02-19 Tom Tromey <tromey@redhat.com>
1705 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1706 * target.c (target_fileio_close): Add argument.
1707 * remote.c (remote_hostio_close): Add 'self' argument.
1708 (remote_hostio_close_cleanup): Update.
1709 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1711 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1713 2014-02-19 Tom Tromey <tromey@redhat.com>
1715 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1716 * target.c (target_fileio_pread): Add argument.
1717 * remote.c (remote_hostio_pread): Add 'self' argument.
1718 (remote_bfd_iovec_pread, remote_file_get): Update.
1719 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1721 2014-02-19 Tom Tromey <tromey@redhat.com>
1723 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1724 * target.c (target_fileio_pwrite): Add argument.
1725 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1726 (remote_file_put): Update.
1727 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1729 2014-02-19 Tom Tromey <tromey@redhat.com>
1731 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1732 * target.c (target_fileio_open): Add argument.
1733 * remote.c (remote_hostio_open): Add 'self' argument.
1734 (remote_bfd_iovec_open): Add 'self' argument.
1735 (remote_file_put): Add 'self' argument.
1736 (remote_file_get): Add 'self' argument.
1737 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1739 2014-02-19 Tom Tromey <tromey@redhat.com>
1741 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1743 (target_can_run_breakpoint_commands): Add argument.
1744 * target.c (update_current_target): Update.
1745 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1747 (remote_insert_breakpoint): Add 'self' argument.
1748 (remote_insert_hw_breakpoint): Add 'self' argument.
1749 (remote_can_run_breakpoint_commands): Add 'self' argument.
1751 2014-02-19 Tom Tromey <tromey@redhat.com>
1753 * target.h (struct target_ops)
1754 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1755 (target_supports_evaluation_of_breakpoint_conditions): Add
1757 * target.c (update_current_target): Update.
1758 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1760 (remote_insert_breakpoint): Add 'self' argument.
1761 (remote_insert_hw_breakpoint): Add 'self' argument.
1762 (remote_supports_cond_breakpoints): Add 'self' argument.
1764 2014-02-19 Tom Tromey <tromey@redhat.com>
1766 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1768 (target_supports_string_tracing): Add argument.
1769 * target.c (update_current_target): Update.
1770 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1772 2014-02-19 Tom Tromey <tromey@redhat.com>
1774 * target.h (struct target_ops)
1775 <to_supports_disable_randomization>: Add argument.
1776 * target.c (find_default_supports_disable_randomization): Add
1778 (target_supports_disable_randomization): Add argument.
1779 (find_default_supports_disable_randomization): Add 'self'
1781 * remote.c (extended_remote_supports_disable_randomization): Add
1783 (remote_supports_disable_randomization): Add 'self' argument.
1784 (extended_remote_create_inferior): Update.
1785 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1788 2014-02-19 Tom Tromey <tromey@redhat.com>
1790 * target.h (struct target_ops)
1791 <to_supports_enable_disable_tracepoint>: Add argument.
1792 (target_supports_enable_disable_tracepoint): Add argument.
1793 * target.c (update_current_target): Update.
1794 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1797 2014-02-19 Tom Tromey <tromey@redhat.com>
1799 * target.h (struct target_ops) <to_supports_multi_process>: Add
1801 (target_supports_multi_process): Add argument.
1802 * target.c (update_current_target): Update.
1803 * remote.c (remote_supports_multi_process): Add 'self' argument.
1804 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1806 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1809 2014-02-19 Tom Tromey <tromey@redhat.com>
1811 * target.h (struct target_ops) <to_execution_direction>: Add
1813 (target_execution_direction): Add argument.
1814 * target.c (default_execution_direction): Add 'self' argument.
1815 * record-full.c (record_full_execution_direction): Add 'self'
1818 2014-02-19 Tom Tromey <tromey@redhat.com>
1820 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1822 (target_can_execute_reverse): Add argument.
1823 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1824 * record-full.c (record_full_can_execute_reverse): Add 'self'
1826 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1829 2014-02-19 Tom Tromey <tromey@redhat.com>
1831 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1832 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1834 (target_get_ada_task_ptid): Add argument.
1835 * target.c (update_current_target): Update.
1836 (default_get_ada_task_ptid): Add 'self' argument.
1837 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1838 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1839 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1841 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1843 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1845 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1847 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1848 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1851 2014-02-19 Tom Tromey <tromey@redhat.com>
1853 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1854 (target_goto_bookmark): Add argument.
1855 * target.c (dummy_goto_bookmark): Add 'self' argument.
1856 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1858 2014-02-19 Tom Tromey <tromey@redhat.com>
1860 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1861 (target_get_bookmark): Add argument.
1862 * target.c (dummy_get_bookmark): Add 'self' argument.
1863 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1865 2014-02-19 Tom Tromey <tromey@redhat.com>
1867 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1869 (target_make_corefile_notes): Add argument.
1870 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1871 * procfs.c (procfs_make_note_section): Add 'self' argument.
1872 (procfs_make_note_section): Add 'self' argument.
1873 (procfs_make_note_section): Add 'self' argument.
1874 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1876 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1877 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1878 * exec.c (exec_make_note_section): Add 'self' argument.
1879 (exec_make_note_section): Add 'self' argument.
1881 2014-02-19 Tom Tromey <tromey@redhat.com>
1883 * target.h (struct target_ops) <to_find_memory_regions>: Add
1885 (target_find_memory_regions): Add argument.
1886 * target.c (dummy_find_memory_regions): Add 'self' argument.
1887 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1888 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1889 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1890 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1891 * exec. (exec_do_find_memory_regions): New global.
1892 (exec_set_find_memory_regions): Rewrite.
1893 (exec_find_memory_regions): New function.
1894 (init_exec_ops): Use exec_find_memory_regions.
1896 2014-02-19 Tom Tromey <tromey@redhat.com>
1898 * target.h (struct target_ops) <to_supports_non_stop>: Add
1900 * target.c (find_default_supports_non_stop): Add argument.
1901 (target_supports_non_stop): Add argument.
1902 (find_default_supports_non_stop): Add 'self' argument.
1903 * remote.c (remote_supports_non_stop): Add 'self' argument.
1904 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1906 2014-02-19 Tom Tromey <tromey@redhat.com>
1908 * target.h (struct target_ops) <to_log_command>: Add argument.
1909 (target_log_command): Add argument.
1910 * serial.h (serial_log_command): Add 'self' argument.
1911 * serial.c (serial_log_command): Add 'self' argument.
1913 2014-02-19 Tom Tromey <tromey@redhat.com>
1915 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1916 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1918 (target_pid_to_exec_file): Add argument.
1919 * target.c (debug_to_pid_to_exec_file): Add argument.
1920 (update_current_target): Update.
1921 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1922 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1923 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1924 (linux_handle_extended_wait): Update.
1925 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1926 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1927 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1928 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1930 2014-02-19 Tom Tromey <tromey@redhat.com>
1932 * target.h (struct target_ops) <to_rcmd>: Add argument.
1933 (target_rcmd): Add argument.
1934 * target.c (debug_to_rcmd): Add argument.
1935 (update_current_target, do_monitor_command): Update.
1936 * remote.c (remote_rcmd): Add 'self' argument.
1937 * monitor.c (monitor_rcmd): Add 'self' argument.
1939 2014-02-19 Tom Tromey <tromey@redhat.com>
1941 * windows-nat.c (windows_stop): Add 'self' argument.
1942 * target.h (struct target_ops) <to_stop>: Add argument.
1943 * target.c (target_stop): Add argument.
1944 (debug_to_stop): Add argument.
1945 (update_current_target): Update.
1946 * remote.c (remote_stop): Add 'self' argument.
1947 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1948 (gdbsim_cntrl_c): Update.
1949 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1950 * procfs.c (procfs_stop): Add 'self' argument.
1951 * nto-procfs.c (procfs_stop): Add 'self' argument.
1952 * monitor.c (monitor_stop): Add 'self' argument.
1953 (monitor_open): Update.
1954 * linux-nat.c (linux_nat_stop): Add argument.
1955 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1956 * gnu-nat.c (gnu_stop): Add 'self' argument.
1957 * darwin-nat.c (darwin_stop): Add 'self' argument.
1959 2014-02-19 Tom Tromey <tromey@redhat.com>
1961 * target.h (struct target_ops) <to_thread_name>: Add argument.
1962 * target.c (target_thread_name): Add argument.
1963 (update_current_target): Update.
1964 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
1966 2014-02-19 Tom Tromey <tromey@redhat.com>
1968 * target.h (struct target_ops) <to_extra_thread_info>: Add
1970 (target_extra_thread_info): Add argument.
1971 * target.c (update_current_target): Update.
1972 * remote.c (remote_threads_extra_info): Add 'self' argument.
1973 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
1975 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
1976 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
1977 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
1979 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
1981 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
1983 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
1986 2014-02-19 Tom Tromey <tromey@redhat.com>
1988 * target.h (struct target_ops) <to_program_signals>: Add argument.
1989 * target.c (target_program_signals): Add argument.
1990 * remote.c (remote_program_signals): Add 'self' argument.
1992 2014-02-19 Tom Tromey <tromey@redhat.com>
1994 * target.h (struct target_ops) <to_pass_signals>: Add argument.
1995 * target.c (target_pass_signals): Add argument.
1996 * remote.c (remote_pass_signals): Add 'self' argument.
1997 (remote_start_remote): Update.
1998 * procfs.c (procfs_pass_signals): Add 'self' argument.
1999 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
2000 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
2001 (linux_nat_create_inferior, linux_nat_attach): Update.
2003 2014-02-19 Tom Tromey <tromey@redhat.com>
2005 * windows-nat.c (windows_can_run): Add 'self' argument.
2006 * target.h (struct target_ops) <to_can_run>: Add argument.
2007 (target_can_run): Add argument.
2008 * target.c (debug_to_can_run): Add argument.
2009 (update_current_target): Update.
2010 * nto-procfs.c (procfs_can_run): Add 'self' argument.
2011 * inf-child.c (inf_child_can_run): Add 'self' argument.
2012 * go32-nat.c (go32_can_run): Add 'self' argument.
2014 2014-02-19 Tom Tromey <tromey@redhat.com>
2016 * target.h (struct target_ops) <to_has_exited>: Add argument.
2017 (target_has_exited): Add argument.
2018 * target.c (debug_to_has_exited): Add argument.
2019 (update_current_target): Update.
2021 2014-02-19 Tom Tromey <tromey@redhat.com>
2023 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
2025 (target_set_syscall_catchpoint): Add argument.
2026 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
2028 * target.c (update_current_target): Update.
2030 2014-02-19 Tom Tromey <tromey@redhat.com>
2032 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
2034 (target_remove_exec_catchpoint): Add argument.
2035 * target.c (debug_to_remove_exec_catchpoint): Add argument.
2036 (update_current_target): Update.
2037 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
2040 2014-02-19 Tom Tromey <tromey@redhat.com>
2042 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
2044 (target_insert_exec_catchpoint): Add argument.
2045 * target.c (debug_to_insert_exec_catchpoint): Add argument.
2046 (update_current_target): Update.
2047 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
2050 2014-02-19 Tom Tromey <tromey@redhat.com>
2052 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
2054 (target_remove_vfork_catchpoint): Add argument.
2055 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
2056 (update_current_target): Update.
2057 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
2060 2014-02-19 Tom Tromey <tromey@redhat.com>
2062 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
2064 (target_insert_vfork_catchpoint): Add argument.
2065 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
2066 (update_current_target): Update.
2067 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
2070 2014-02-19 Tom Tromey <tromey@redhat.com>
2072 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
2074 (target_remove_fork_catchpoint): Add argument.
2075 * target.c (debug_to_remove_fork_catchpoint): Add argument.
2076 (update_current_target): Update.
2077 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
2080 2014-02-19 Tom Tromey <tromey@redhat.com>
2082 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
2084 (target_insert_fork_catchpoint): Add argument.
2085 * target.c (debug_to_insert_fork_catchpoint): Add argument.
2086 (update_current_target): Update.
2087 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
2090 2014-02-19 Tom Tromey <tromey@redhat.com>
2092 * target.h (struct target_ops) <to_post_startup_inferior>: Add
2094 (target_post_startup_inferior): Add argument.
2095 * target.c (debug_to_post_startup_inferior): Add argument.
2096 (update_current_target): Update.
2097 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
2099 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
2101 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
2103 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
2105 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
2107 (super_post_startup_inferior): Likewise.
2108 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
2110 (super_post_startup_inferior): Likewise.
2111 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
2112 Add 'self' argument.
2113 (super_post_startup_inferior): Likewise.
2115 2014-02-19 Tom Tromey <tromey@redhat.com>
2117 * target.h (struct target_ops) <to_load>: Add argument.
2118 * target.c (target_load): Add argument.
2119 (debug_to_load): Add argument.
2120 (update_current_target): Update.
2121 * remote.c (remote_load): Add 'self' argument.
2122 * remote-sim.c (gdbsim_load): Add 'self' argument.
2123 * remote-mips.c (mips_load): Add 'self' argument.
2124 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
2125 * monitor.c (monitor_load): Add 'self' argument.
2126 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
2128 2014-02-19 Tom Tromey <tromey@redhat.com>
2130 * target.h (struct target_ops) <to_terminal_info>: Add argument.
2131 (target_terminal_info): Add argument.
2132 * target.c (debug_to_terminal_info): Add argument.
2133 (default_terminal_info): Likewise.
2134 * inflow.c (child_terminal_info): Add 'self' argument.
2135 * inferior.h (child_terminal_info): Add 'self' argument.
2136 * go32-nat.c (go32_terminal_info): Add 'self' argument.
2138 2014-02-19 Tom Tromey <tromey@redhat.com>
2140 * target.h (struct target_ops) <to_terminal_save_ours>: Add
2142 (target_terminal_save_ours): Add argument.
2143 * target.c (debug_to_terminal_save_ours): Add argument.
2144 (update_current_target): Update.
2145 * inflow.c (terminal_save_ours): Add 'self' argument.
2146 * inferior.h (terminal_save_ours): Add 'self' argument.
2148 2014-02-19 Tom Tromey <tromey@redhat.com>
2150 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
2151 (target_terminal_ours): Add argument.
2152 * target.c (debug_to_terminal_ours): Add argument.
2153 (update_current_target): Update.
2154 * remote.c (remote_terminal_ours): Add 'self' argument.
2155 (remote_close): Update.
2156 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
2157 * inflow.c (terminal_ours): Add 'self' argument.
2158 * inferior.h (terminal_ours): Add 'self' argument.
2159 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2161 2014-02-19 Pedro Alves <palves@redhat.com>
2162 Tom Tromey <tromey@redhat.com>
2164 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
2166 (target_terminal_ours_for_output): Add argument.
2167 * target.c (debug_to_terminal_ours_for_output): Add argument.
2168 (update_current_target): Update.
2169 * inflow.c (terminal_ours_for_output): Add 'self' argument.
2170 * inferior.h (terminal_ours_for_output): Add 'self' argument.
2171 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2173 2014-02-19 Tom Tromey <tromey@redhat.com>
2175 * target.h (struct target_ops) <to_terminal_inferior>: Add
2177 * target.c (target_terminal_inferior): Add argument.
2178 (update_current_target): Update.
2179 * remote.c (remote_terminal_inferior): Add 'self' argument.
2180 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
2181 * inflow.c (terminal_inferior): Add 'self' argument.
2182 * inferior.h (terminal_inferior): Add 'self' argument.
2183 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
2184 (go32_terminal_inferior): Add 'self' argument.
2186 2014-02-19 Tom Tromey <tromey@redhat.com>
2188 * target.h (struct target_ops) <to_terminal_init>: Add argument.
2189 (target_terminal_init): Add argument.
2190 * target.c (debug_to_terminal_init): Add argument.
2191 (update_current_target): Update.
2192 * inflow.c (terminal_init_inferior): Add 'self' argument.
2193 * inferior.h (terminal_init_inferior): Add 'self' argument.
2194 * go32-nat.c (go32_terminal_init): Add 'self' argument.
2195 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
2197 2014-02-19 Tom Tromey <tromey@redhat.com>
2199 * target.h (struct target_ops)
2200 <to_can_accel_watchpoint_condition>: Add argument.
2201 (target_can_accel_watchpoint_condition): Add argument.
2202 * target.c (debug_to_can_accel_watchpoint_condition): Add
2204 (update_current_target): Update.
2205 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
2208 2014-02-19 Tom Tromey <tromey@redhat.com>
2210 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2212 (target_region_ok_for_hw_watchpoint): Add argument.
2213 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
2214 (default_region_ok_for_hw_watchpoint): Add argument.
2215 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
2216 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
2218 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
2220 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
2222 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
2224 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
2226 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
2228 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
2229 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
2231 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
2232 Add 'self' argument.
2234 2014-02-19 Tom Tromey <tromey@redhat.com>
2236 * target.h (struct target_ops) <to_insert_watchpoint>: Add
2238 (target_insert_watchpoint): Add argument.
2239 * target.c (debug_to_insert_watchpoint): Add argument.
2240 (update_current_target): Update.
2241 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
2242 * remote.c (remote_insert_watchpoint): Add 'self' argument.
2243 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
2244 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
2245 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
2246 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
2248 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
2249 (procfs_insert_hw_watchpoint): Add 'self' argument.
2250 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
2252 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
2254 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
2256 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
2257 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
2259 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
2262 2014-02-19 Tom Tromey <tromey@redhat.com>
2264 * target.h (struct target_ops) <to_remove_watchpoint>: Add
2266 (target_remove_watchpoint): Add argument.
2267 * target.c (debug_to_remove_watchpoint): Add argument.
2268 (update_current_target): Update.
2269 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
2270 * remote.c (remote_remove_watchpoint): Add 'self' argument.
2271 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
2272 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
2273 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
2274 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
2276 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
2277 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
2279 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
2281 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
2283 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
2284 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
2286 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
2289 2014-02-19 Tom Tromey <tromey@redhat.com>
2291 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
2293 (target_remove_hw_breakpoint): Add argument.
2294 * target.c (debug_to_remove_hw_breakpoint): Add argument.
2295 (update_current_target): Update.
2296 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
2297 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
2299 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
2300 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
2302 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
2305 2014-02-19 Tom Tromey <tromey@redhat.com>
2307 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
2309 (target_insert_hw_breakpoint): Add argument.
2310 * target.c (debug_to_insert_hw_breakpoint): Add argument.
2311 (update_current_target): Update.
2312 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
2313 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
2315 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
2316 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
2317 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
2319 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
2322 2014-02-19 Tom Tromey <tromey@redhat.com>
2324 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
2326 (target_can_use_hardware_watchpoint): Add argument.
2327 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
2328 (update_current_target): Update.
2329 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
2331 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
2333 * remote.c (remote_check_watch_resources): Add 'self' argument.
2334 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
2335 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
2337 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
2338 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
2340 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
2342 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
2344 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
2346 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
2348 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
2350 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
2351 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
2353 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
2356 2014-02-19 Tom Tromey <tromey@redhat.com>
2358 * target.h (struct target_ops) <to_post_attach>: Add argument.
2359 (target_post_attach): Add argument.
2360 * target.c (debug_to_post_attach): Add argument.
2361 (update_current_target): Update.
2362 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
2363 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
2364 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
2365 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
2366 * inf-child.c (inf_child_post_attach): Add 'self' argument.
2368 2014-02-19 Tom Tromey <tromey@redhat.com>
2370 * windows-nat.c (windows_close): Add 'self' argument.
2371 * tracepoint.c (tfile_close): Add 'self' argument.
2372 * target.h (struct target_ops) <to_close>: Add argument.
2373 * target.c (target_close): Add argument.
2374 (update_current_target): Update.
2375 * remote.c (remote_close): Add 'self' argument.
2376 * remote-sim.c (gdbsim_close): Add 'self' argument.
2377 * remote-mips.c (mips_close): Add 'self' argument.
2378 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
2379 * record-full.c (record_full_close): Add 'self' argument.
2380 * record-btrace.c (record_btrace_close): Add 'self' argument.
2381 * monitor.h (monitor_close): Add 'self' argument.
2382 * monitor.c (monitor_close): Add 'self' argument.
2383 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
2384 * linux-nat.c (linux_nat_close): Add argument.
2385 * go32-nat.c (go32_close): Add 'self' argument.
2386 * exec.c (exec_close_1): Add 'self' argument.
2387 * ctf.c (ctf_close): Add 'self' argument.
2388 * corelow.c (core_close): Add 'self' argument.
2389 (core_close_cleanup): Update.
2390 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
2391 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
2393 2014-02-19 Tom Tromey <tromey@redhat.com>
2395 * remote.c (remote_load): New function.
2396 (init_remote_ops): Use it.
2398 2014-02-19 Tom Tromey <tromey@redhat.com>
2400 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
2402 * common/linux-btrace.h (linux_supports_btrace): Update.
2403 * remote.c (remote_supports_btrace): Add "self" argument.
2404 * target-delegates.c: Rebuild.
2405 * target.c (target_supports_btrace): Remove.
2406 * target.h (struct target_ops) <to_supports_btrace>: Add
2407 target_ops argument.
2408 (target_supports_btrace): New define.
2410 2014-02-19 Tom Tromey <tromey@redhat.com>
2412 * record-full.c (record_full_beneath_to_resume_ops)
2413 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
2414 (record_full_beneath_to_wait)
2415 (record_full_beneath_to_store_registers_ops)
2416 (record_full_beneath_to_store_registers)
2417 (record_full_beneath_to_xfer_partial_ops)
2418 (record_full_beneath_to_xfer_partial)
2419 (record_full_beneath_to_insert_breakpoint_ops)
2420 (record_full_beneath_to_insert_breakpoint)
2421 (record_full_beneath_to_remove_breakpoint_ops)
2422 (record_full_beneath_to_remove_breakpoint)
2423 (record_full_beneath_to_stopped_by_watchpoint)
2424 (record_full_beneath_to_stopped_data_address)
2425 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
2426 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
2427 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
2428 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
2429 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
2430 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
2431 (tmp_to_stopped_data_address, tmp_to_async): Remove.
2432 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
2433 (record_full_resume, record_full_wait_1)
2434 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
2435 (record_full_store_registers, record_full_xfer_partial)
2436 (record_full_insert_breakpoint, record_full_remove_breakpoint)
2437 (record_full_async, record_full_core_xfer_partial): Use target
2439 * target-delegates.c: Rebuild.
2440 * target.c (current_xfer_partial): Remove.
2441 (update_current_target): Do not INHERIT or de_fault
2442 to_insert_breakpoint, to_remove_breakpoint,
2443 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
2444 to_is_async_p, to_async. Do not set to_xfer_partial field.
2445 (default_xfer_partial): Simplify.
2446 (current_xfer_partial): Remove.
2447 (target_wait, target_resume): Simplify.
2448 (find_default_can_async_p, find_default_is_async_p): Update.
2449 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
2450 to_xfer_partial, to_stopped_by_watchpoint,
2451 to_stopped_data_address.
2452 (target_store_registers): Simplify.
2453 (forward_target_remove_breakpoint)
2454 (forward_target_insert_breakpoint): Remove.
2455 (target_remove_breakpoint, target_insert_breakpoint)
2456 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
2457 * target.h (struct target_ops) <to_resume, to_wait,
2458 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
2459 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
2460 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
2462 (forward_target_remove_breakpoint)
2463 (forward_target_insert_breakpoint): Remove.
2464 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
2466 (record_btrace_insert_breakpoint): Delegate directly.
2468 2014-02-19 Tom Tromey <tromey@redhat.com>
2471 * target-delegates.c: New file.
2472 * target.c: Include target-delegates.c.
2473 (init_dummy_target): Call install_dummy_methods.
2474 (complete_target_initialization): Call install_delegators.
2475 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
2476 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
2477 * make-target-delegates: New file.
2479 2014-02-19 Tom Tromey <tromey@redhat.com>
2481 * record.c (find_record_target): Use find_target_at.
2482 * target.c (find_target_at): New function.
2483 * target.h (find_target_at): Declare.
2485 2014-02-19 Tom Tromey <tromey@redhat.com>
2487 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
2489 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
2491 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
2492 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
2494 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
2496 * linux-nat.c (save_sigtrap): Update.
2497 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
2498 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
2499 (linux_nat_close): Update.
2500 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
2502 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
2504 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
2505 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
2506 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
2507 (tmp_to_async): Add 'ops' argument.
2508 (record_full_stopped_by_watchpoint, record_full_async)
2509 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
2511 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
2512 (m32r_stopped_by_watchpoint): Add 'ops' argument.
2513 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
2514 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
2515 (remote_is_async_p, remote_async): Add 'ops' argument.
2516 (remote_stopped_data_address): Update.
2517 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
2518 * target.c (update_current_target)
2519 (find_default_can_async_p, find_default_is_async_p): Update.
2520 (init_dummy_target): Update.
2521 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
2522 * target.h (struct target_ops) <to_stopped_by_watchpoint,
2523 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
2524 (target_can_async_p, target_is_async_p, target_async)
2525 (target_stopped_by_watchpoint): Update.
2527 2014-02-19 Yao Qi <yao@codesourcery.com>
2530 * gdbarch.sh: Remove startup_gdbarch.
2531 * gdbarch.c: Regenerated.
2532 * gdbarch.h: Likewise.
2534 2014-02-17 Kevin Buettner <kevinb@redhat.com>
2536 * rl78-tdep.c (rl78_g10_register_name): New function.
2537 (rl78_return_value): Add g10 support.
2538 (rl78_gdbarch_init): Register rl78_g10_register_name for the
2541 2014-02-17 Doug Evans <xdje42@gmail.com>
2543 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
2544 (SUBDIR_GUILE_SRCS): Ditto.
2545 (scm-gsmob.o): Ditto.
2547 2014-02-17 Yao Qi <yao@codesourcery.com>
2549 * gnu-nat.c (ILL_RPC): Declare defined function.
2551 2014-02-17 Yao Qi <yao@codesourcery.com>
2553 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
2554 mach_msg_type_number_t.
2555 (gnu_write_inferior): Likewise.
2557 2014-02-17 Yao Qi <yao@codesourcery.com>
2559 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
2561 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
2562 (inf_validate_procs, inf_signal): Likewise.
2563 (S_exception_raise_request): Likewise.
2564 (do_mach_notify_dead_name): Likewise.
2565 (steal_exc_port): Likewise.
2566 (gnu_read_inferior): Change 'copy_count''s type to
2567 mach_msg_type_number_t.
2568 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
2571 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
2573 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
2574 flag. Adjust all users; in particular...
2575 (gnu_wait): ..., don't decrement its value in here...
2576 (gnu_create_inferior): ..., and instead set the flag in here,
2577 around the startup_inferior call, and call that one with
2578 START_INFERIOR_TRAPS_EXPECTED.
2580 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
2581 (ILL_RPC): ... new macro.
2582 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
2583 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
2584 (do_mach_notify_send_once, S_proc_setmsgport_reply)
2585 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
2586 functions with ILL_RPC macro.
2587 (S_proc_pid2task_reply, S_proc_task2pid_reply)
2588 (S_proc_task2proc_reply, S_proc_proc2task_reply)
2589 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
2590 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
2591 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
2592 (S_proc_getlogin_reply, S_proc_getsid_reply)
2593 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
2594 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
2595 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
2596 (S_proc_getnports_reply, S_proc_is_important_reply)
2597 (S_proc_get_code_reply): New stub functions, generated with
2600 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
2601 collected the type check structures.
2603 * reply_mig_hack.awk: Don't expect to see the auto keyword.
2605 2014-02-14 Doug Evans <dje@google.com>
2607 * target.c (target_write_partial): Fix result type.
2609 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2611 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
2612 the proper offsets to access fpregset_t.
2614 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
2616 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
2617 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
2618 * h8300-tdep.c (setmachinelist): Remove global.
2619 * hppa-tdep.c (hppa_sigtramp): Remove global.
2620 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
2621 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
2622 * ravenscar-thread.c (update_target_observer): Remove global.
2623 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
2625 2014-02-12 Tom Tromey <tromey@redhat.com>
2627 * common/rsp-low.c: Update comments.
2628 * common/rsp-low.h: Update comments.
2630 2014-02-12 Tom Tromey <tromey@redhat.com>
2632 * common/rsp-low.c (convert_ascii_to_int): Remove.
2633 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
2635 2014-02-12 Tom Tromey <tromey@redhat.com>
2637 * common/rsp-low.h (unhexify): Don't declare.
2638 * common/rsp-low.c (unhexify): Remove.
2640 2014-02-12 Tom Tromey <tromey@redhat.com>
2642 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
2643 * common/rsp-low.c (convert_int_to_ascii): Remove.
2645 2014-02-12 Tom Tromey <tromey@redhat.com>
2647 * common/rsp-low.h (hexify): Don't declare.
2648 * common/rsp-low.c (hexify): Remove.
2650 2014-02-12 Tom Tromey <tromey@redhat.com>
2652 * common/rsp-low.c (hexify): Never take strlen of argument.
2654 2014-02-12 Tom Tromey <tromey@redhat.com>
2656 * common/rsp-low.c (bin2hex): Never take strlen of argument.
2657 * remote.c (extended_remote_run, remote_rcmd)
2658 (remote_download_trace_state_variable, remote_save_trace_data)
2659 (remote_set_trace_notes): Update.
2660 * tracepoint.c (encode_source_string, tfile_write_status)
2661 (tfile_write_uploaded_tsv): Update.
2663 2014-02-12 Tom Tromey <tromey@redhat.com>
2665 * tracepoint.c: Include rsp-low.h.
2666 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
2667 * remote.c: Include rsp-low.h.
2668 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
2669 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
2670 (remote_unescape_input): Move to common/rsp-low.c.
2671 * common/rsp-low.h: New file.
2672 * common/rsp-low.c: New file.
2673 * Makefile.in (SFILES): Add common/rsp-low.c.
2674 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
2675 (COMMON_OBS): Add rsp-low.o.
2676 (rsp-low.o): New target.
2678 2014-02-12 Tom Tromey <tromey@redhat.com>
2680 * utils.h: Include print-utils.h.
2681 (host_address_to_string, plongest, pulongest, phex, phex_nz)
2682 (int_string, core_addr_to_string, core_addr_to_string_nz)
2683 (hex_string, hex_string_custom): Don't declare.
2684 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2685 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2686 (hex_string_custom, int_string, core_addr_to_string)
2687 (core_addr_to_string_nz, host_address_to_string): Move to
2688 common/print-utils.c.
2689 * common/print-utils.h: New file.
2690 * common/print-utils.c: New file
2691 * Makefile.in (SFILES): Add common/print-utils.c.
2692 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2693 (COMMON_OBS): Add print-utils.o.
2694 (print-utils.o): New target.
2696 2014-02-12 Tom Tromey <tromey@redhat.com>
2698 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2700 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2702 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2704 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2706 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2707 if a PT_IO ptrace request returns sucessfully but indicates that 0
2708 bytes were transferred.
2710 2014-02-12 Pedro Alves <palves@redhat.com>
2711 Kevin Buettner <kevinb@redhat.com>
2713 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2714 TYPE_INSTANCE_FLAG_CODE_SPACE.
2716 2014-02-12 Pedro Alves <palves@redhat.com>
2718 * h8300-tdep.c (pseudo_from_raw_register)
2719 (raw_from_pseudo_register): New functions.
2720 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2723 2014-02-12 Pedro Alves <palves@redhat.com>
2725 * h8300-tdep.c (h8300_register_sim_regno): New function.
2726 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2727 gdbarch_register_sim_regno hook.
2729 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2731 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2733 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2735 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2737 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2739 * obsd-tdep.h (obsd_init_abi): New prototype.
2740 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2741 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2742 (obsd_init_abi): New functions.
2743 * i386obsd-tdep.c: Include "obsd-tdep.h".
2744 (i386obsd_init_abi): Call obsd_init_abi.
2745 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2746 (amd64obsd_init_abi): Call obsd_init_abi.
2747 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2748 obsd-tdep.c to gdb_target_obs.
2750 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2752 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2753 double float arguments to 16-byte in the argument slots.
2755 2014-02-11 Doug Evans <xdje42@gmail.com>
2757 * configure.ac: Don't crash if pkg-config is not found and guile
2758 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2760 * configure: Regenerate.
2762 2014-02-11 Yao Qi <yao@codesourcery.com>
2764 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2765 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2766 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2767 * gnu-nat.c (gnu_xfer_memory): Likewise.
2768 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2769 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2770 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2771 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2773 2014-02-11 Yao Qi <yao@codesourcery.com>
2775 * target.h (enum target_xfer_error): Rename to ...
2776 (enum target_xfer_status): ... it. New. All users updated.
2777 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2779 (TARGET_XFER_STATUS_ERROR_P): New macro.
2780 (target_xfer_error_to_string): Remove declaration.
2781 (target_xfer_status_to_string): Declare.
2782 (target_xfer_partial_ftype): Adjust it.
2783 (struct target_ops) <to_xfer_partial>: Return
2784 target_xfer_status. Add argument xfered_len. Update
2786 * target.c (target_xfer_error_to_string): Rename to ...
2787 (target_xfer_status_to_string): ... it. New. All callers
2789 (target_read_live_memory): Likewise. Call target_xfer_partial
2790 instead of target_read.
2791 (memory_xfer_live_readonly_partial): Return
2792 target_xfer_status. Add argument xfered_len.
2793 (raw_memory_xfer_partial): Likewise.
2794 (memory_xfer_partial_1): Likewise.
2795 (memory_xfer_partial): Likewise.
2796 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2797 properly. Update debug message.
2798 (default_xfer_partial, current_xfer_partial): Likewise.
2799 (target_write_partial): Likewise.
2800 (target_read_partial): Likewise. All callers updated.
2801 (read_whatever_is_readable): Likewise.
2802 (target_write_with_progress): Likewise.
2803 (target_read_alloc_1): Likewise.
2805 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2806 * auxv.c (procfs_xfer_auxv): Likewise.
2807 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2808 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2809 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2810 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2811 * corefile.c (read_memory): Adjust.
2812 * corelow.c (core_xfer_partial): Likewise.
2813 * ctf.c (ctf_xfer_partial): Likewise.
2814 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2816 (darwin_xfer_partial): Likewise.
2817 * exec.c (section_table_xfer_memory_partial): Likewise. All
2819 (exec_xfer_partial): Likewise.
2820 * exec.h (section_table_xfer_memory_partial): Update
2822 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2824 (gnu_xfer_partial): Likewise.
2825 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2826 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2827 (ia64_hpux_xfer_solib_got): Likewise.
2828 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2829 type of 'partial_len' to ULONGEST.
2830 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2831 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2832 (linux_nat_xfer_partial): Likewise.
2833 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2834 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2835 * monitor.c (monitor_xfer_memory): Likewise.
2836 (monitor_xfer_partial): Likewise.
2837 * procfs.c (procfs_xfer_partial): Likewise.
2838 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2839 * record-full.c (record_full_xfer_partial): Likewise.
2840 (record_full_core_xfer_partial): Likewise.
2841 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2842 (gdbsim_xfer_partial): Likewise.
2843 * remote.c (remote_write_bytes_aux): Likewise. All callers
2845 (remote_write_bytes, remote_read_bytes): Likewise. All
2847 (remote_flash_erase): Likewise. All callers updated.
2848 (remote_write_qxfer): Likewise. All callers updated.
2849 (remote_read_qxfer): Likewise. All callers updated.
2850 (remote_xfer_partial): Likewise.
2851 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2852 (rs6000_xfer_shared_libraries): Likewise.
2853 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2854 (sol_thread_xfer_partial): Likewise.
2855 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2856 (sparc_xfer_partial): Likewise.
2857 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2859 (spu_xfer_partial): Likewise.
2860 * spu-multiarch.c (spu_xfer_partial): Likewise.
2861 * tracepoint.c (tfile_xfer_partial): Likewise.
2862 * windows-nat.c (windows_xfer_memory): Likewise.
2863 (windows_xfer_shared_libraries): Likewise.
2864 (windows_xfer_partial): Likewise.
2865 * valprint.c: Replace 'target_xfer_error' with
2866 'target_xfer_status' in comments.
2868 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2870 Checked in by Joel Brobecker <brobecker@adacore.com>.
2871 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2873 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2875 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2876 function parameters.
2878 2014-02-10 Will Newton <will.newton@linaro.org>
2880 * elfread.c (elf_rel_plt_read): Look for a .got section if
2881 looking up .got.plt fails.
2882 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2883 on address passed to elf_gnu_ifunc_record_cache.
2884 (elf_gnu_ifunc_resolve_addr): Likewise.
2885 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2887 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2889 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2890 (X_RETTURN): New macro.
2891 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2893 * sparc64-tdep.c (sparc64_init_abi): Hook
2894 sparc_in_function_epilogue_p.
2896 2014-02-10 Gary Benson <gbenson@redhat.com>
2898 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2899 Rename name_matcher to symbol_matcher.
2901 2014-02-10 Gary Benson <gbenson@redhat.com>
2903 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2904 Use expand_symtabs_file_matcher_ftype and
2905 expand_symtabs_symbol_matcher_ftype.
2907 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2909 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2910 (struct ada_symbol_cache): New.
2911 (ada_free_symbol_cache): Forward declare.
2912 (struct ada_pspace_data): New.
2913 (ada_pspace_data_handle): New static global.
2914 (get_ada_pspace_data, ada_pspace_data_cleanup)
2915 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2916 (cache_space, cache): Delete, now folded inside struct
2918 (ada_get_symbol_cache): New function.
2919 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2921 (_initialize_ada_language): Remove initialization of cache_space.
2922 Move call to observer_attach_inferior_exit up, grouping it
2923 with the other observer registrations inside this function.
2924 Rename command to be more general. Add call to
2925 register_program_space_data_with_cleanup.
2927 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2929 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2930 ada_new_objfile_observer.
2931 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2932 (_initialize_tasks): Update uses of ada_new_objfile_observer
2933 and ada_tasks_normal_stop_observer.
2935 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2937 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2938 returned by the 'Length attribute to integer.
2940 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2942 * ada-lang.c (_initialize_ada_language): Initialize
2943 cache_space obstack.
2945 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2947 * ada-lang.c (HASH_SIZE): New macro.
2948 (struct cache_entry): New type.
2949 (cache_space, cache): New static globals.
2950 (ada_clear_symbol_cache, find_entry): New functions.
2951 (lookup_cached_symbol, cache_symbol): Implement.
2952 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2953 (_initialize_ada_language): Attach ada_new_objfile_observer
2954 and ada_free_objfile_observer.
2956 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2958 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
2959 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
2960 struct block * parameter.
2961 (ada_lookup_symbol_list_worker): Constify local variable "block".
2962 Remove cast which is no longer necessary.
2964 2014-02-10 Doug Evans <xdje42@gmail.com>
2966 Add Guile as an extension language.
2967 * NEWS: Mention Guile scripting.
2968 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
2969 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
2970 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
2971 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
2972 (CLIBS): Add GUILE_LIBS.
2973 (install-guile): New rule.
2974 (guile.o): New rule.
2975 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
2976 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
2977 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
2978 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
2979 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
2980 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
2981 (scm-type.o, scm-utils.o, scm-value.o): New rules.
2982 * configure.ac: New option --with-guile.
2983 * configure: Regenerate.
2984 * config.in: Regenerate.
2985 * auto-load.c: Remove #include "python/python.h". Add #include
2986 "gdb/section-scripts.h".
2987 (source_section_scripts): Handle Guile scripts.
2988 (_initialize_auto_load): Add name of Guile objfile script to
2989 scripts-directory help text.
2990 * breakpoint.c (condition_command): Tweak comment to include Scheme.
2991 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
2992 (struct breakpoint): New member scm_bp_object.
2993 * defs.h (enum command_control_type): New value guile_control.
2994 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
2996 (show_user): Update comment.
2997 (_initialize_cli_cmds): Update help text for "show user". Update help
2998 text for max-user-call-depth.
2999 * cli/cli-script.c: Remove #include "python/python.h". Add #include
3001 (multi_line_command_p): Add guile_control.
3002 (print_command_lines): Handle guile_control.
3003 (execute_control_command, recurse_read_control_structure): Ditto.
3004 (process_next_line): Recognize "guile" commands.
3005 * disasm.c (gdb_disassemble_info): Make non-static.
3006 * disasm.h: #include "dis-asm.h".
3007 (struct gdbarch): Add forward decl.
3008 (gdb_disassemble_info): Declare.
3009 * extension.c: #include "guile/guile.h".
3010 (extension_languages): Add guile.
3011 (get_ext_lang_defn): Handle EXT_LANG_GDB.
3012 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
3013 * gdbtypes.c (get_unsigned_type_max): New function.
3014 (get_signed_type_minmax): New function.
3015 * gdbtypes.h (get_unsigned_type_max): Declare.
3016 (get_signed_type_minmax): Declare.
3017 * guile/README: New file.
3018 * guile/guile-internal.h: New file.
3019 * guile/guile.c: New file.
3020 * guile/guile.h: New file.
3021 * guile/scm-arch.c: New file.
3022 * guile/scm-auto-load.c: New file.
3023 * guile/scm-block.c: New file.
3024 * guile/scm-breakpoint.c: New file.
3025 * guile/scm-disasm.c: New file.
3026 * guile/scm-exception.c: New file.
3027 * guile/scm-frame.c: New file.
3028 * guile/scm-gsmob.c: New file.
3029 * guile/scm-iterator.c: New file.
3030 * guile/scm-lazy-string.c: New file.
3031 * guile/scm-math.c: New file.
3032 * guile/scm-objfile.c: New file.
3033 * guile/scm-ports.c: New file.
3034 * guile/scm-pretty-print.c: New file.
3035 * guile/scm-safe-call.c: New file.
3036 * guile/scm-string.c: New file.
3037 * guile/scm-symbol.c: New file.
3038 * guile/scm-symtab.c: New file.
3039 * guile/scm-type.c: New file.
3040 * guile/scm-utils.c: New file.
3041 * guile/scm-value.c: New file.
3042 * guile/lib/gdb.scm: New file.
3043 * guile/lib/gdb/boot.scm: New file.
3044 * guile/lib/gdb/experimental.scm: New file.
3045 * guile/lib/gdb/init.scm: New file.
3046 * guile/lib/gdb/iterator.scm: New file.
3047 * guile/lib/gdb/printing.scm: New file.
3048 * guile/lib/gdb/types.scm: New file.
3049 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
3050 (VPATH): Add $(GUILE_SRCDIR).
3051 (GUILE_DIR): New variable.
3052 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
3053 (all): Add stamp-guile dependency.
3054 (stamp-guile): New rule.
3055 (clean-guile, install-guile, uninstall-guile): New rules.
3056 (install-only): Add install-guile dependency.
3057 (uninstall): Add uninstall-guile dependency.
3058 (clean): Add clean-guile dependency.
3060 2014-02-09 Doug Evans <xdje42@gmail.com>
3062 Revert this patch (which I approved, mea culpa).
3064 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3066 * Makefile.in (all-lib): Remove.
3067 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3069 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3071 Fix Python stack corruption.
3072 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
3075 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3077 * Makefile.in (all-lib): Remove.
3078 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3080 2014-02-07 Doug Evans <dje@google.com>
3082 * extension-priv.h (extension_language_script_ops): Add comment.
3083 (extension_language_ops): Add comment.
3084 (active_ext_lang_state): Fix typo in comment.
3086 2014-02-07 Pedro Alves <palves@redhat.com>
3088 * infrun.c (handle_signal_stop) <signal arrives while stepping
3089 over a breakpoint>: Switch back to the stepping thread.
3091 2014-02-07 Yao Qi <yao@codesourcery.com>
3093 * target.c (target_xfer_partial): Return zero if LEN is zero.
3095 2014-02-07 Yao Qi <yao@codesourcery.com>
3097 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
3098 (ld_so_xfer_auxv): Likewise.
3099 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3100 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3101 * corelow.c (core_xfer_partial): Likewise.
3102 * ctf.c (ctf_xfer_partial): Likewise.
3103 * darwin-nat.c (darwin_read_dyld_info): Likewise.
3104 (darwin_xfer_partial): Likewise.
3105 * exec.c (exec_xfer_partial): Likewise.
3106 * gnu-nat.c (gnu_xfer_partial): Likewise.
3107 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
3108 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
3109 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
3110 * linux-nat.c (linux_xfer_siginfo): Likewise.
3111 (linux_proc_xfer_spu): Likewise.
3112 * procfs.c (procfs_xfer_partial): Likewise.
3113 * record-full.c (record_full_xfer_partial): Likewise.
3114 (record_full_core_xfer_partial): Likewise.
3115 * remote-sim.c (gdbsim_xfer_partial): Likewise.
3116 * remote.c (remote_write_qxfer): Likewise.
3117 (remote_write_qxfer, remote_read_qxfer): Likewise.
3118 (remote_xfer_partial): Likewise.
3119 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3120 (rs6000_xfer_shared_libraries): Likewise.
3121 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3122 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3123 (spu_xfer_partial): Likewise.
3124 * target.c (memory_xfer_partial_1): Likewise.
3125 * tracepoint.c (tfile_xfer_partial): Likewise.
3126 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
3127 (windows_xfer_partial): Likewise.
3129 2014-02-07 Yao Qi <yao@codesourcery.com>
3131 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
3133 (core_xfer_shared_libraries_aix): Likewise.
3134 * gdbarch.c, gdbarch.h: Regenerated.
3135 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
3136 ULONGEST. Change 'len_avail' type to ULONGEST.
3137 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3138 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3140 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
3142 2014-02-07 Yao Qi <yao@codesourcery.com>
3144 * corefile.c (memory_error): Get 'exception' from ERR and pass
3145 'exception' to throw_error.
3147 2014-02-06 Doug Evans <xdje42@gmail.com>
3149 * configure.ac (libpython checking): Remove all but python.o from
3150 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
3151 * configure: Regenerate.
3153 * Makefile.in (SFILES): Add extension.c.
3154 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
3155 (COMMON_OBS): Add extension.o.
3156 * extension.h: New file.
3157 * extension-priv.h: New file.
3158 * extension.c: New file.
3160 * python/python-internal.h: #include "extension.h".
3161 (gdbpy_auto_load_enabled): Declare.
3162 (gdbpy_apply_val_pretty_printer): Declare.
3163 (gdbpy_apply_frame_filter): Declare.
3164 (gdbpy_preserve_values): Declare.
3165 (gdbpy_breakpoint_cond_says_stop): Declare.
3166 (gdbpy_breakpoint_has_cond): Declare.
3167 (void source_python_script_for_objfile): Delete.
3168 * python/python.c: #include "extension-priv.h".
3169 Delete inclusion of "observer.h".
3170 (extension_language_python): Moved here and renamed from
3171 script_language_python in py-auto-load.c.
3172 Redefined to be of type extension_language_defn.
3173 (python_extension_script_ops): New global.
3174 (python_extension_ops): New global.
3175 (struct python_env): New member previous_active.
3176 (restore_python_env): Call restore_active_ext_lang.
3177 (ensure_python_env): Call set_active_ext_lang.
3178 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
3180 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
3182 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
3184 (gdbpy_eval_from_control_command): Renamed from
3185 eval_python_from_control_command, made static. New arg extlang.
3186 (gdbpy_source_script) Renamed from source_python_script, made static.
3188 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
3189 result to int. New arg extlang.
3190 (gdbpy_source_objfile_script): Renamed from
3191 source_python_script_for_objfile, made static. New arg extlang.
3192 (gdbpy_start_type_printers): Renamed from start_type_printers, made
3193 static. New args extlang, extlang_printers. Change result type to
3195 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
3196 static. New arg extlang. Rename arg printers to extlang_printers
3197 and change type to ext_lang_type_printers *.
3198 (gdbpy_free_type_printers): Renamed from free_type_printers, made
3199 static. Replace argument arg with extlang, extlang_printers.
3200 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
3201 (!HAVE_PYTHON, source_python_script): Delete.
3202 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
3203 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
3204 (!HAVE_PYTHON, start_type_printers): Delete.
3205 (!HAVE_PYTHON, apply_type_printers): Delete.
3206 (!HAVE_PYTHON, free_type_printers): Delete.
3207 (_initialize_python): Delete call to observer_attach_before_prompt.
3208 (finalize_python): Set/restore active extension language.
3209 (gdbpy_finish_initialization) Renamed from
3210 finish_python_initialization, made static. New arg extlang.
3211 (gdbpy_initialized): New function.
3212 * python/python.h: #include "extension.h". Delete #include
3213 "value.h", "mi/mi-cmds.h".
3214 (extension_language_python): Declare.
3215 (GDBPY_AUTO_FILE_NAME): Delete.
3216 (enum py_bt_status): Moved to extension.h and renamed to
3218 (enum frame_filter_flags): Moved to extension.h.
3219 (enum py_frame_args): Moved to extension.h and renamed to
3220 ext_lang_frame_args.
3221 (finish_python_initialization): Delete.
3222 (eval_python_from_control_command): Delete.
3223 (source_python_script): Delete.
3224 (apply_val_pretty_printer): Delete.
3225 (apply_frame_filter): Delete.
3226 (preserve_python_values): Delete.
3227 (gdbpy_script_language_defn): Delete.
3228 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
3229 (start_type_printers, apply_type_printers, free_type_printers): Delete.
3231 * auto-load.c: #include "extension.h".
3232 (GDB_AUTO_FILE_NAME): Delete.
3233 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
3234 (script_language_gdb): Delete, moved to extension.c and renamed to
3235 extension_language_gdb.
3236 (source_gdb_script_for_objfile): Delete.
3237 (auto_load_pspace_info): New member unsupported_script_warning_printed.
3238 (loaded_script): Change type of language member to
3239 struct extension_language_defn *.
3240 (init_loaded_scripts_info): Initialize
3241 unsupported_script_warning_printed.
3242 (maybe_add_script): Make static. Change type of language arg to
3243 struct extension_language_defn *.
3244 (clear_section_scripts): Reset unsupported_script_warning_printed.
3245 (auto_load_objfile_script_1): Rewrite to use extension language API.
3246 (auto_load_objfile_script): Make public. Remove support-compiled-in
3247 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
3248 (source_section_scripts): Rewrite to use extension language API.
3249 (load_auto_scripts_for_objfile): Rewrite to use
3250 auto_load_scripts_for_objfile.
3251 (collect_matching_scripts_data): Change type of language member to
3252 struct extension_language_defn *.
3253 (auto_load_info_scripts): Change type of language arg to
3254 struct extension_language_defn *.
3255 (unsupported_script_warning_print): New function.
3256 (script_not_found_warning_print): Make static.
3257 (_initialize_auto_load): Rewrite construction of scripts-directory
3259 * auto-load.h (struct objfile): Add forward decl.
3260 (struct script_language): Delete.
3261 (struct auto_load_pspace_info): Add forward decl.
3262 (struct extension_language_defn): Add forward decl.
3263 (maybe_add_script): Delete.
3264 (auto_load_objfile_script): Declare.
3265 (script_not_found_warning_print): Delete.
3266 (auto_load_info_scripts): Update prototype.
3267 (auto_load_gdb_scripts_enabled): Declare.
3268 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
3269 auto_load_python_scripts_enabled and made public.
3270 (script_language_python): Delete, moved to python.c.
3271 (gdbpy_script_language_defn): Delete.
3272 (info_auto_load_python_scripts): Update to use
3273 extension_language_python.
3275 * breakpoint.c (condition_command): Replace call to
3276 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
3277 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
3278 with call to breakpoint_ext_lang_cond_says_stop.
3279 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
3280 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
3281 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
3282 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
3284 (local_setattro): Print name of extension language with existing
3287 * valprint.c (val_print, value_print): Update to call
3288 apply_ext_lang_val_pretty_printer.
3289 * cp-valprint.c (cp_print_value): Update call to
3290 apply_ext_lang_val_pretty_printer.
3291 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
3292 (gdbpy_apply_val_pretty_printer): Renamed from
3293 apply_val_pretty_printer. New arg extlang.
3294 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
3296 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
3297 extension language API.
3298 * cli/cli-script.c (execute_control_command): Update to call
3299 eval_ext_lang_from_control_command.
3301 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
3302 enum ext_lang_bt_status values. Update call to
3303 apply_ext_lang_frame_filter.
3304 (mi_cmd_stack_list_locals): Ditto.
3305 (mi_cmd_stack_list_args): Ditto.
3306 (mi_cmd_stack_list_variables): Ditto.
3307 * mi/mi-main.c: Delete #include "python/python-internal.h".
3308 Add #include "extension.h".
3309 (mi_cmd_list_features): Replace reference to python internal variable
3310 gdb_python_initialized with call to ext_lang_initialized_p.
3312 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
3313 Update to use enum ext_lang_frame_args. Update to call
3314 apply_ext_lang_frame_filter.
3315 * python/py-framefilter.c (extract_sym): Update to use enum
3317 (extract_value, py_print_type, py_print_value): Ditto.
3318 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
3319 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
3320 (py_print_frame): Ditto.
3321 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
3322 New arg extlang. Update to use enum ext_lang_bt_status.
3324 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
3325 finish_python_initialization. Replace with call to
3326 finish_ext_lang_initialization.
3328 * typeprint.c (do_free_global_table): Update to call
3329 free_ext_lang_type_printers.
3330 (create_global_typedef_table): Update to call
3331 start_ext_lang_type_printers.
3332 (find_global_typedef): Update to call apply_ext_lang_type_printers.
3333 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
3334 (type_print_options): Change type of global_printers from "void *"
3335 to "struct ext_lang_type_printers *".
3337 * value.c (preserve_values): Update to call preserve_ext_lang_values.
3338 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
3339 (gdbpy_preserve_values): Renamed from preserve_python_values.
3341 (!HAVE_PYTHON, preserve_python_values): Delete.
3343 * utils.c (quit_flag): Delete, moved to extension.c.
3344 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
3347 * eval.c: Delete #include "python/python.h".
3348 * main.c: Delete #include "python/python.h".
3350 * defs.h: Update comment.
3352 2014-02-06 Joel Brobecker <brobecker@adacore.com>
3356 2014-02-05 Mark Kettenis <kettenis@gnu.org>
3358 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
3361 2014-02-05 Yao Qi <yao@codesourcery.com>
3363 * remote.c (remote_pass_signals): Remove local 'buf' and use
3365 (remote_program_signals): Likewise.
3367 2014-02-05 Yao Qi <yao@codesourcery.com>
3369 * ctf.c: Include "inferior.h" and "gdbthread.h".
3370 (CTF_PID): A new macro.
3371 (ctf_open): Call inferior_appeared and add_thread_silent.
3372 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
3373 (ctf_thread_alive): New function.
3374 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
3376 2014-02-05 Yao Qi <yao@codesourcery.com>
3380 2013-05-24 Yao Qi <yao@codesourcery.com>
3382 * tracepoint.c (TFILE_PID): Remove.
3383 (tfile_open): Don't add thread and inferior.
3384 (tfile_close): Don't set 'inferior_ptid'. Don't call
3385 exit_inferior_silent.
3386 (tfile_thread_alive): Remove.
3387 (init_tfile_ops): Don't set field 'to_thread_alive' of
3390 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
3392 * remote.c (remote_start_remote): Call remote_check_symbols even
3393 if only symbol-file (not file) has been given.
3395 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3397 * gdbarch.sh (skip_entrypoint): New callback.
3398 * gdbarch.c, gdbarch.h: Regenerate.
3399 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
3400 * infrun.c (fill_in_stop_func): Likewise.
3401 * ppc-linux-tdep.c: Include "elf/ppc64.h".
3402 (ppc_elfv2_elf_make_msymbol_special): New function.
3403 (ppc_elfv2_skip_entrypoint): Likewise.
3404 (ppc_linux_init_abi): Install them for ELFv2.
3406 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3408 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
3409 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
3410 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
3411 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
3412 structures returned in GPRs.
3414 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3416 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
3417 offset to the stack parameter list for the ELFv2 ABI.
3419 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3421 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
3422 set_gdbarch_convert_from_func_ptr_addr and
3423 set_gdbarch_elf_make_msymbol_special for ELFv1.
3424 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
3425 function descriptors on ELFv1.
3426 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
3427 set up r12 at function entry.
3429 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3431 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
3432 (struct gdbarch_tdep): New member elf_abi.
3434 * rs6000-tdep.c: Include "elf/ppc64.h".
3435 (rs6000_gdbarch_init): Detect ELF ABI version.
3437 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3439 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
3440 within a register pair holding a DFP 128-bit value on little-endian.
3441 (ppc64_sysv_abi_return_value_base): Likewise.
3442 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
3443 (dfp_pseudo_register_write): Likewise.
3445 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3447 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
3448 offset on little-endian when passing _Decimal32.
3449 (ppc64_sysv_abi_return_value_base): Likewise for return values.
3451 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3453 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
3454 of the overlapped FP register within the VSX register on little-
3456 (efpr_pseudo_register_write): Likewise.
3458 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3460 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
3461 offset on little-endian when passing small structures.
3463 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3465 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
3466 (struct ppc64_sysv_argpos): New data structure.
3467 (ppc64_sysv_abi_push_float): Remove.
3468 (ppc64_sysv_abi_push_val): New function.
3469 (ppc64_sysv_abi_push_integer): Likewise.
3470 (ppc64_sysv_abi_push_freg): Likewise.
3471 (ppc64_sysv_abi_push_vreg): Likewise.
3472 (ppc64_sysv_abi_push_param): Likewise.
3473 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
3474 (ppc64_sysv_abi_return_value_base): New function.
3475 (ppc64_sysv_abi_return_value): Refactor to use it.
3477 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3479 * NEWS: Document new target powerpc64le-*-linux*.
3481 2014-02-04 Mark Kettenis <kettenis@gnu.org>
3483 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
3484 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
3486 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
3487 register set used in ELF core dumps. Add floating-point register set.
3489 2014-02-03 Kevin Buettner <kevinb@redhat.com>
3491 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
3492 dwarf2_to_gdb[] table using symbolic constants. Adjust
3493 penultimate entry from number representing the PC register
3494 to symbolic constant representing the MDR register. Add
3495 constant for the PC register to the end of the table.
3497 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3499 * bsd-kvm.c: Include <sys/param.h>
3501 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3503 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
3505 2014-01-31 Joel Brobecker <brobecker@adacore.com>
3507 * ada-lang.h (clear_ada_sym_cache): Delete.
3509 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
3511 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
3513 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3515 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
3516 the sigreturn register save area only if the syscall is
3519 2014-01-29 Joel Brobecker <brobecker@adacore.com>
3521 * valops.c (value_slice): Minor reformatting.
3523 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
3525 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
3527 2014-01-28 Joel Brobecker <brobecker@adacore.com>
3529 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
3531 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
3532 (ada_ignore_descriptive_types_p): New static global.
3533 (find_parallel_type_by_descriptive_type): Return immediately
3534 if ada_ignore_descriptive_types_p is set.
3535 (_initialize_ada_language): Register new commands "maintenance
3536 set ada", "maintenance show ada", "maintenance set ada
3537 ignore-descriptive-types" and "maintenance show ada
3538 ignore-descriptive-types".
3539 * NEWS: Add entry for new "maint ada set/show
3540 ignore-descriptive-types" commands.
3542 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
3544 * record-btrace.c (record_btrace_close): Call btrace_teardown
3547 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3549 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
3552 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3554 * ada-typeprint (type_is_full_subrange_of_target_type):
3556 (print_range): Add parameter bounds_prefered_p. If not set,
3557 try printing range types using the name of their base type.
3558 (print_range_type): Add parameter bounds_prefered_p.
3559 Use it in call to print_range.
3560 (print_array_type, ada_print_type): Update calls to print_range
3561 and print_range_type.
3563 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3565 * ada-typeprint.c (print_array_type, print_choices, print_range)
3566 (print_range_bound, print_dynamic_range_bound, print_range_type):
3569 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3571 * ada-typeprint.c (print_range): Add missing empty line
3572 after local declaration.
3574 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3576 * ada-valprint.c (print_optional_low_bound): Get index_type's
3577 target type for as long as it is a TYPE_CODE_RANGE.
3579 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3581 * procfs.c (procfs_make_note_section): Remove assertion and
3584 2014-01-24 Yao Qi <yao@codesourcery.com>
3586 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
3587 * corelow.c (get_core_siginfo): Likewise.
3589 2014-01-24 Yao Qi <yao@codesourcery.com>
3591 * remote.c (remote_write_bytes_aux): Change type of 'len' to
3592 ULONGEST. Don't check 'len' is negative.
3593 (remote_write_bytes): Change type of 'len' to ULONGEST.
3595 2014-01-23 Tom Tromey <tromey@redhat.com>
3598 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
3599 Handle exception from frame.block.
3600 (FrameVars.fetch_frame_locals): Likewise.
3602 2014-01-23 Tom Tromey <tromey@redhat.com>
3605 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
3606 on a NULL pointer. Move "goto error" to correct place.
3608 2014-01-23 Tom Tromey <tromey@redhat.com>
3611 * python/py-framefilter.c (apply_frame_filter): Call
3612 ensure_python_env after computing gdbarch.
3614 2014-01-23 Yao Qi <yao@codesourcery.com>
3616 * target.c (raw_memory_xfer_partial): Change argument type
3617 from void * to gdb_byte *.
3618 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
3620 2014-01-22 Doug Evans <dje@google.com>
3622 New gdbserver option --debug-format=timestamp.
3625 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3627 * syscalls/s390x-linux.xml: New file.
3628 * syscalls/s390-linux.xml: New file.
3629 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
3630 (XML_SYSCALL_FILENAME_S390X): Likewise.
3631 (op_svc): New enum value for SVC opcode.
3632 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
3633 (s390_linux_get_syscall_number): New function.
3634 (s390_gdbarch_init): Register '*get_syscall_number' and the
3635 syscall xml file name.
3636 * data-directory/Makefile.in (SYSCALLS_FILES): Add
3637 "s390-linux.xml" and "s390x-linux.xml".
3638 * NEWS: Announce new feature.
3640 2014-01-22 Baruch Siach <baruch@tkos.co.il>
3642 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
3644 2014-01-22 Pedro Alves <palves@redhat.com>
3646 * xtensa-config.c: Include defs.h.
3648 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3650 * common/common-utils.h: Add "ARI:" comment beside __func__
3653 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3655 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
3656 documentation a bit.
3658 2014-01-21 Roland McGrath <mcgrathr@google.com>
3660 * configure.ac: Call AM_PROG_INSTALL_STRIP.
3661 * configure: Regenerate.
3662 * aclocal.m4: Regenerate.
3663 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
3664 New substituted variables.
3665 (install-strip): New target.
3666 (INSTALL_SCRIPT): New substituted variable.
3667 (FLAGS_TO_PASS): Add it.
3668 (install-only): Use $(INSTALL_SCRIPT) rather than
3669 $(INSTALL_PROGRAM) for gcore.
3671 2014-01-20 Tom Tromey <tromey@redhat.com>
3673 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
3676 2014-01-20 Tom Tromey <tromey@redhat.com>
3678 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
3679 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
3680 (deprecated_cmd_warning, complete_on_cmdlist): Update.
3681 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
3682 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3683 (struct cmd_list_element) <flags>: Remove.
3684 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3685 doc_allocated>: New fields.
3686 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3688 * maint.c (maintenance_do_deprecate): Update.
3689 * top.c (execute_command): Update.
3691 2014-01-20 Baruch Siach <baruch@tkos.co.il>
3693 * xtensa-linux-nat.c: Include asm/ptrace.h.
3695 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3697 * Makefile.in (SFILES): Add d-support.c.
3698 (COMMON_OBS): Add d-support.o.
3699 * d-lang.h (d_parse_symbol): Add comment, now defined in
3701 * d-lang.c (parse_call_convention)
3702 (parse_attributes, parse_function_types)
3703 (parse_function_args, parse_type, parse_identifier)
3704 (call_convention_p, d_parse_symbol): Move functions to ...
3705 * d-support.c: ... New file.
3707 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3709 * d-lang.h (d_parse_symbol): Add declaration.
3710 * d-lang.c (extract_identifiers)
3711 (extract_type_info): Remove functions.
3712 (parse_call_convention, parse_attributes)
3713 (parse_function_types, parse_function_args)
3714 (parse_type, parse_identifier, call_convention_p)
3715 (d_parse_symbol): New functions.
3716 (d_demangle): Use d_parse_symbol to demangle D symbols.
3718 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3720 * d-lang.h (struct builtin_d_type): New data type.
3721 (builtin_d_type): Add declaration.
3722 * d-lang.c (d_language_arch_info, build_d_types)
3723 (builtin_d_type): New functions.
3724 (enum d_primitive_types): New data type.
3725 (d_language_defn): Change c_language_arch_info to
3726 d_language_arch_info.
3727 (d_type_data): New static variable.
3728 (_initialize_d_language): Initialize d_type_data.
3730 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3732 * d-lang.h (d_main_name): Add declaration.
3733 * d-lang.c (d_main_name): New function.
3734 * symtab.c (find_main_name): Add call to d_main_name.
3736 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3738 * d-lang.c (d_language_defn): Change macro_expansion_c to
3741 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3743 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3745 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3747 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3748 gdb_exception" declaration.
3749 * remote.c (getpkt_or_notif_sane): Likewise.
3751 2014-01-17 Doug Evans <dje@google.com>
3753 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3754 function, contents of dirnames_to_char_ptr_vec_append moved here.
3755 (delim_string_to_char_ptr_vec): New function.
3756 (dirnames_to_char_ptr_vec_append): Rewrite.
3757 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3759 2014-01-17 Doug Evans <dje@google.com>
3761 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3763 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3764 #include "common-utils.h".
3765 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3766 * common/vec.h (VEC_ASSERT_PASS): Update.
3767 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3768 (MACH_CHECK_ERROR): Update.
3770 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3772 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3774 * gdbarch.h: Regenerate.
3776 2014-01-16 Tom Tromey <tromey@redhat.com>
3778 * value.c (struct value) <regnum>: Move earlier.
3780 2014-01-16 Tom Tromey <tromey@redhat.com>
3782 * remote.c (extended_remote_create_inferior): Rename from
3783 extended_remote_create_inferior_1. Add "ops" argument. Remove
3786 2014-01-16 Pedro Alves <palves@redhat.com>
3788 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3789 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3792 2014-01-16 Doug Evans <dje@google.com>
3794 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3796 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3798 * btrace.h (btrace_thread_flag): New.
3799 (struct btrace_thread_info) <flags>: New.
3800 * record-btrace.c (record_btrace_resume_thread)
3801 (record_btrace_find_thread_to_move, btrace_step_no_history)
3802 (btrace_step_stopped, record_btrace_start_replaying)
3803 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3804 (record_btrace_find_resume_thread): New.
3805 (record_btrace_resume, record_btrace_wait): Extend.
3806 (record_btrace_can_execute_reverse): New.
3807 (record_btrace_open): Fail in non-stop mode.
3808 (record_btrace_set_replay): Split into this, ...
3809 (record_btrace_stop_replaying): ... this, ...
3810 (record_btrace_clear_histories): ... and this.
3811 (init_record_btrace_ops): Init to_can_execute_reverse.
3812 * NEWS: Announce it.
3814 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3816 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3817 (forward_target_decr_pc_after_break)
3818 (target_decr_pc_after_break): New.
3819 * target.c (forward_target_decr_pc_after_break)
3820 (target_decr_pc_after_break): New.
3821 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3822 instead of gdbarch_decr_pc_after_break.
3823 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3824 instead of gdbarch_decr_pc_after_break.
3825 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3826 instead of gdbarch_decr_pc_after_break.
3827 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3828 instead of gdbarch_decr_pc_after_break.
3829 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3830 instead of gdbarch_decr_pc_after_break.
3831 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3832 instead of gdbarch_decr_pc_after_break.
3834 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3836 * btrace.c: Include regcache.h.
3837 (btrace_add_pc): New.
3838 (btrace_enable): Call btrace_add_pc.
3839 (btrace_is_empty): New.
3840 * btrace.h (btrace_is_empty): New.
3841 * record-btrace.c (require_btrace, record_btrace_info): Call
3844 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3846 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3847 Support delta reads.
3848 (linux_disable_btrace): Change return type.
3849 * common/linux-btrace.h (linux_read_btrace): Change parameters
3850 and return type to allow error reporting. Update users.
3851 (linux_disable_btrace): Change return type. Update users.
3852 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3854 (btrace_error): New.
3855 (btrace_block) <begin>: Comment on BEGIN == 0.
3856 * btrace.c (btrace_compute_ftrace): Start from the end of
3858 (btrace_stitch_trace, btrace_clear_history): New.
3859 (btrace_fetch): Read delta trace, return if replaying.
3860 (btrace_clear): Move clear history code to btrace_clear_history.
3861 (parse_xml_btrace): Throw an error if parsing failed.
3862 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3863 and return type to allow error reporting.
3864 (target_read_btrace): Change parameters and return type to allow
3866 * target.c (target_read_btrace): Update.
3867 * remote.c (remote_read_btrace): Support delta reads. Pass
3869 * NEWS: Announce it.
3871 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3873 * record.h (record_btrace_frame_unwind)
3874 (record_btrace_tailcall_frame_unwind): New declarations.
3875 * dwarf2-frame: Include record.h
3876 (dwarf2_frame_cfa): Throw an error for btrace frames.
3877 * record-btrace.c: Include hashtab.h.
3878 (btrace_get_bfun_name): New.
3879 (btrace_call_history): Call btrace_get_bfun_name.
3880 (struct btrace_frame_cache): New.
3882 (bfcache_hash, bfcache_eq, bfcache_new): New.
3883 (btrace_get_frame_function): New.
3884 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3885 (record_btrace_frame_this_id): Compute own id.
3886 (record_btrace_frame_prev_register): Provide PC, throw_error
3887 for all other registers.
3888 (record_btrace_frame_sniffer): Detect btrace frames.
3889 (record_btrace_tailcall_frame_sniffer): New.
3890 (record_btrace_frame_dealloc_cache): New.
3891 (record_btrace_frame_unwind): Add new functions.
3892 (record_btrace_tailcall_frame_unwind): New.
3893 (_initialize_record_btrace): Allocate cache.
3894 * btrace.c (btrace_clear): Call reinit_frame_cache.
3895 * NEWS: Announce it.
3897 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3899 * record-btrace.c (record_btrace_set_replay)
3900 (record_btrace_goto_begin, record_btrace_goto_end)
3901 (record_btrace_goto): New.
3902 (init_record_btrace_ops): Initialize them.
3903 * NEWS: Announce it.
3905 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3907 * record-btrace.c (record_btrace_find_new_threads)
3908 (record_btrace_thread_alive): New.
3909 (init_record_btrace_ops): Initialize to_find_new_threads and
3912 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3914 * record-btrace.c (record_btrace_resume): New.
3915 (record_btrace_wait): New.
3916 (init_record_btrace_ops): Initialize to_wait and to_resume.
3918 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3920 * record-btrace.c (record_btrace_xfer_partial)
3921 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3922 (record_btrace_allow_memory_access): New.
3923 (init_record_btrace_ops): Initialize new methods.
3924 * target.c (raw_memory_xfer_partial): Bail out if target reports
3925 that this memory is not available.
3927 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3929 * target.h (target_ops) <to_insert_breakpoint>
3930 <to_remove_breakpoint>: Add target_ops parameter.
3931 (forward_target_insert_breakpoint): New.
3932 (forward_target_remove_breakpoint): New.
3933 (memory_remove_breakpoint, memory_insert_breakpoint):
3934 Add target_ops parameter.
3935 * target.c (target_insert_breakpoint): Split into this and ...
3936 (forward_target_insert_breakpoint): ... this.
3937 (target_remove_breakpoint): Split into this and ...
3938 (forward_target_remove_breakpoint): ... this.
3939 (debug_to_insert_breakpoint): Add target_ops parameter.
3940 Call forward_target_insert_breakpoint.
3941 (debug_to_remove_breakpoint): Add target_ops parameter.
3942 Call forward_target_remove_breakpoint.
3943 (update_current_target): Do not inherit or default to_insert_breakpoint
3944 and to_remove_breakpoint.
3945 * corelow.c (ignore): Add target_ops parameter.
3946 * exec.c (ignore): Add target_ops parameter.
3947 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3948 Add target_ops parameter.
3949 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3950 Add target_ops parameter.
3951 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3952 Add target_ops parameter.
3953 * record-full.c (record_full_beneath_to_insert_breakpoint)
3954 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3955 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3956 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
3957 (record_full_core_remove_breakpoint): Add target_ops parameter.
3959 (record_full_beneath_to_insert_breakpoint_ops)
3960 (record_full_beneath_to_remove_breakpoint_ops)
3961 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
3962 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
3963 tmp_to_remove_breakpoint_ops,
3964 record_full_beneath_to_insert_breakpoint_ops, and
3965 record_full_beneath_to_remove_breakpoint_ops.
3966 * remote-m32r-sdi.c (m32r_insert_breakpoint)
3967 (m32r_remove_breakpoint): Add target_ops parameter.
3968 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
3969 Add target_ops parameter.
3970 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
3971 Add target_ops parameter.
3973 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3974 Markus Metzger <markus.t.metzger@intel.com>
3976 * record-btrace.c: Include frame-unwind.h.
3977 (record_btrace_frame_unwind_stop_reason)
3978 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
3979 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
3981 (init_record_btrace_ops): Install it.
3983 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3985 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
3988 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3990 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
3993 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3995 * frame-unwind.c: Include target.h.
3996 (frame_unwind_try_unwinder): New function with code from ...
3997 (frame_unwind_find_by_frame): ... here. New variable
3998 unwinder_from_target, call also target_get_unwinder)
3999 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
4000 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
4001 * target.h (struct target_ops): New fields to_get_unwinder and
4002 to_get_tailcall_unwinder.
4003 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
4005 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4007 * record-btrace.c (record_btrace_fetch_registers)
4008 (record_btrace_store_registers)
4009 (record_btrace_to_prepare_to_store): New.
4010 (init_record_btrace_ops): Add the above.
4012 2014-01-16 Tom Tromey <tromey@redhat.com>
4014 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
4015 * target.h (struct target_ops) <to_prepare_to_store>: Add
4017 (target_prepare_to_store): Add argument.
4018 * target.c (debug_to_prepare_to_store): Add argument.
4019 (update_current_target): Update.
4020 * remote.c (remote_prepare_to_store): Add 'self' argument.
4021 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
4022 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
4023 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
4024 * record-full.c (record_full_core_prepare_to_store): Add 'self'
4026 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
4027 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
4028 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
4029 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
4030 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
4032 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4034 * btrace.h (replay) <replay>: New.
4035 (btrace_is_replaying): New.
4036 * btrace.c (btrace_clear): Free replay iterator.
4037 (btrace_is_replaying): New.
4038 * record-btrace.c (record_btrace_is_replaying): New.
4039 (record_btrace_info): Print insn number if replaying.
4040 (record_btrace_insn_history): Start at replay position.
4041 (record_btrace_call_history): Start at replay position.
4042 (init_record_btrace_ops): Init to_record_is_replaying.
4044 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4046 * record-btrace.c (record_btrace_insn_history_range): Include
4048 (record_btrace_insn_history_from): Adjust range.
4049 (record_btrace_call_history_range): Include
4051 (record_btrace_call_history_from): Adjust range.
4052 * NEWS: Announce changes.
4054 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4056 * record.h (enum record_print_flag)
4057 <record_print_indent_calls>: New.
4058 * record.c (get_call_history_modifiers): Recognize /c modifier.
4059 (_initialize_record): Document /c modifier.
4060 * record-btrace.c (btrace_call_history): Add btinfo parameter.
4061 Reorder fields. Optionally indent the function name. Update
4063 * NEWS: Announce changes.
4065 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4067 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
4069 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4071 * btrace.c (ftrace_new_function): Start counting at one.
4072 * record-btrace.c (record_btrace_info): Adjust number of calls
4074 * NEWS: Announce it.
4076 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4078 * record-btrace.c (btrace_call_history_insn_range): Print
4079 insn range as [begin, end].
4081 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4083 * btrace.h (struct btrace_func_link): New.
4084 (enum btrace_function_flag): New.
4085 (struct btrace_inst): Rename to ...
4086 (struct btrace_insn): ...this. Update all users.
4087 (struct btrace_func) <ibegin, iend>: Remove.
4088 (struct btrace_func_link): New.
4089 (struct btrace_func): Rename to ...
4090 (struct btrace_function): ...this. Update all users.
4091 (struct btrace_function) <segment, flow, up, insn, insn_offset)
4092 (number, level, flags>: New.
4093 (struct btrace_insn_iterator): Rename to ...
4094 (struct btrace_insn_history): ...this.
4096 (struct btrace_insn_iterator, btrace_call_iterator): New.
4097 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
4098 (struct btrace_target_info) <begin, end, level>
4099 <insn_history, call_history>: New.
4100 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4101 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4102 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4103 (btrace_call_number, btrace_call_begin, btrace_call_end)
4104 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4105 (btrace_find_function_by_number, btrace_set_insn_history)
4106 (btrace_set_call_history): New.
4107 * btrace.c (btrace_init_insn_iterator)
4108 (btrace_init_func_iterator, compute_itrace): Remove.
4109 (ftrace_print_function_name, ftrace_print_filename)
4110 (ftrace_skip_file): Change
4112 (ftrace_init_func): Remove.
4113 (ftrace_debug): Use new btrace_function fields.
4114 (ftrace_function_switched): Also consider gaining and
4115 losing symbol information).
4116 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
4117 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
4118 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
4120 (ftrace_new_function): Move. Remove debug print.
4121 (ftrace_update_lines, ftrace_update_insns): New.
4122 (ftrace_update_function): Check for call, ret, and jump.
4123 (compute_ftrace): Renamed to ...
4124 (btrace_compute_ftrace): ...this. Rewritten to compute call
4126 (btrace_fetch, btrace_clear): Updated.
4127 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4128 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4129 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4130 (btrace_call_number, btrace_call_begin, btrace_call_end)
4131 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4132 (btrace_find_function_by_number, btrace_set_insn_history)
4133 (btrace_set_call_history): New.
4134 * record-btrace.c (require_btrace): Use new btrace thread
4136 (record_btrace_info, btrace_insn_history)
4137 (record_btrace_insn_history, record_btrace_insn_history_range):
4138 Use new btrace thread info fields and new iterator.
4139 (btrace_func_history_src_line): Rename to ...
4140 (btrace_call_history_src_line): ...this. Use new btrace
4142 (btrace_func_history): Rename to ...
4143 (btrace_call_history): ...this. Use new btrace thread info
4144 fields and new iterator.
4145 (record_btrace_call_history, record_btrace_call_history_range):
4146 Use new btrace thread info fields and new iterator.
4148 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4150 * frame.h (frame_id_build_unavailable_stack_special): New.
4151 * frame.c (frame_id_build_unavailable_stack_special): New.
4153 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4155 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
4156 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
4157 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
4159 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
4160 (i386_insn_is_jump, i386_jmp_p): New.
4161 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
4162 insn_is_jump to gdbarch.
4163 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
4164 * gdbarch.h: Regenerated.
4165 * gdbarch.c: Regenerated.
4166 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
4167 (default_insn_is_jump): New.
4168 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
4169 (default_insn_is_jump): New.
4171 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4173 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
4175 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
4176 (btrace_read_type) <btrace_read_new>: Change to ...
4177 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
4179 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4181 * common/linux-btrace.c (linux_read_btrace): Free trace from
4184 2014-01-15 Doug Evans <dje@google.com>
4186 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
4189 2014-01-15 Tom Tromey <tromey@redhat.com>
4191 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
4192 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
4193 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
4194 (set_objfile_main_name): New function.
4195 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
4196 language_of_main>: New fields.
4197 (set_objfile_main_name): Declare.
4198 * symtab.c (find_main_name): Loop over objfiles to find the main
4200 (set_main_name): Now static.
4201 (get_main_info): Add comment.
4202 * symtab.h (set_main_name): Don't declare.
4204 2014-01-15 Tom Tromey <tromey@redhat.com>
4206 * symtab.c (main_progspace_key): New global.
4207 (struct main_info): New.
4208 (name_of_main, language_of_main): Remove.
4209 (get_main_info, main_info_cleanup): New function.
4210 (set_main_name, main_name, main_language): Use get_main_info.
4211 (_initialize_symtab): Initialize main_progspace_key.
4213 2014-01-15 Tom Tromey <tromey@redhat.com>
4215 * dbxread.c (process_one_symbol): Update.
4216 * dwarf2read.c (read_partial_die): Update.
4217 * symfile.c (set_initial_language): Call main_language.
4218 * symtab.c (language_of_main): Now static.
4219 (set_main_name): Add 'lang' parameter.
4220 (find_main_name): Update.
4221 (main_language): New function.
4222 (symtab_observer_executable_changed): Update.
4223 * symtab.h (set_main_name): Update.
4224 (language_of_main): Remove.
4225 (main_language): Declare.
4227 2014-01-15 Tom Tromey <tromey@redhat.com>
4229 * symfile.c (init_entry_point_info): Use new "initialized" field.
4231 * objfiles.h (struct entry_point) <initialized>: New field.
4232 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
4233 (struct objfile) <ei>: ...here. Remove.
4234 * objfiles.c (entry_point_address_query): Update.
4236 2014-01-15 Tom Tromey <tromey@redhat.com>
4238 * objfiles.c (entry_point_address_query): Relocate entry point
4240 (objfile_relocate1): Do not relocate entry point address.
4241 * objfiles.h (struct entry_info) <entry_point>: Update comment.
4242 <the_bfd_section_index>: New field.
4243 * symfile.c (init_entry_point_info): Find the entry point's
4246 2014-01-15 Tom Tromey <tromey@redhat.com>
4248 * solib-frv.c (enable_break): Use entry_point_address_query.
4250 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4252 * NEWS: Add note on improved process record-replay on
4253 arm*-linux* targets.
4255 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4257 * arm-tdep.c (enum arm_record_result): New enum.
4258 (arm_record_unsupported_insn): New function.
4259 (arm_record_coproc_data_proc): Removed.
4260 (thumb2_record_ld_st_multiple): New function.
4261 (thumb2_record_ld_st_dual_ex_tbb): New function.
4262 (thumb2_record_data_proc_sreg_mimm): New function.
4263 (thumb2_record_ps_dest_generic): New function.
4264 (thumb2_record_branch_misc_cntrl): New function.
4265 (thumb2_record_str_single_data): New function.
4266 (thumb2_record_ld_mem_hints): New function.
4267 (thumb2_record_ld_word): New function.
4268 (thumb2_record_lmul_lmla_div): New function.
4269 (thumb2_record_decode_insn_handler): New function.
4270 (decode_insn): Add thumb32 instruction handlers.
4272 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4274 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
4275 (struct arm_linux_record_tdep): Declare.
4276 (arm_canonicalize_syscall): New function.
4277 (arm_all_but_pc_registers_record): New function.
4278 (arm_linux_syscall_record): New function.
4279 (arm_linux_init_abi): Add syscall recording constructs.
4280 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
4281 decoding. (arm_record_coproc_data_proc): Update arm syscall
4283 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
4284 <arm_syscall_record>: New field.
4285 * configure.tgt (arm*-*-linux*): Add linux-record.o to
4288 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4290 * arm-tdep.c (thumb_record_misc): Update to use sp as base
4291 register for push instruction recording.
4293 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4295 * arm-tdep.c (thumb_record_misc): Update to correct logical
4296 error while recording ldm, ldmia and pop instructions.
4298 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4300 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
4302 2014-01-15 Pedro Alves <palves@redhat.com>
4304 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
4305 (go32_resume, go32_fetch_registers, store_register)
4306 (go32_store_registers, go32_prepare_to_store)
4307 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
4308 (go32_create_inferior, go32_can_run, go32_terminal_init)
4309 (go32_terminal_inferior, go32_terminal_ours): Delete forward
4312 2014-01-15 Tom Tromey <tromey@redhat.com>
4314 * target.h (async_callback_ftype): New typedef.
4315 (struct target_ops) <to_async>: Use it.
4317 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4319 * python/py-value.c (get_field_type): Remove unnecessary curly
4320 braces for single-statement if block.
4322 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4324 * python/py-type.c (convert_field): Add missing empty line
4327 2014-01-14 Doug Evans <dje@google.com>
4329 * symfile.h (expand_symtabs_matching): Renamed from
4330 expand_partial_symbol_names. Update prototype.
4331 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4332 * symfile.c (expand_symtabs_matching): Renamed from
4333 expand_partial_symbol_names. New args file_matcher, kind.
4334 Rename arg fun to symbol_matcher.
4335 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4336 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
4337 ada_expand_partial_symbol_name.
4338 (ada_make_symbol_completion_list): Update to call
4339 expand_symtabs_matching.
4340 (ada_add_global_exceptions): Call expand_symtabs_matching.
4341 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
4342 call map_symbol_filenames.
4343 * symtab.c (sources_info): Update to call map_symbol_filenames.
4344 (search_symbols): Call expand_symtabs_matching.
4345 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
4346 (default_make_symbol_completion_list_break_on): Update to call
4347 expand_symtabs_matching.
4348 (make_source_files_completion_list): Update to call
4349 map_symbol_filenames.
4351 2014-01-14 Doug Evans <dje@google.com>
4353 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
4354 (expand_symtabs_symbol_matcher_ftype): New typedef.
4355 (quick_symbol_functions.expand_symtabs_matching): Update to use.
4356 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4357 * symfile.c (expand_partial_symbol_names): Update to use
4358 expand_symtabs_symbol_matcher_ftype.
4359 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
4360 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4361 Arg name_matcher renamed to symbol_matcher.
4362 * psymtab.c (recursively_search_psymtabs): Update to use
4363 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
4365 (expand_symtabs_matching_via_partial): Update to use
4366 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4367 Arg name_matcher renamed to symbol_matcher.
4369 2014-01-14 Doug Evans <dje@google.com>
4371 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
4372 (map_partial_symbol_filenames): Ditto.
4373 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
4374 (map_partial_symbol_filenames): Ditto.
4375 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
4376 (map_partial_symbol_filenames): Ditto.
4377 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
4378 (map_partial_symbol_filenames): Ditto.
4379 * symtab.c: Delete #include "psymtab.h".
4381 2014-01-14 Pedro Alves <palves@redhat.com>
4382 Tom Tromey <tromey@redhat.com>
4384 * infrun.c (use_displaced_stepping): Use find_record_target
4385 instead of RECORD_IS_USED.
4386 (adjust_pc_after_break): Use record_full_is_used instead of
4388 * record-btrace.c (record_btrace_open): Call record_preopen
4389 instead of checking RECORD_IS_USED.
4390 * record-full.c (record_full_shortname)
4391 (record_full_core_shortname): New globals.
4392 (record_full_is_used): New function.
4393 (find_full_open): Call record_preopen instead of checking
4395 (init_record_full_ops): Set the target's shortname to
4396 record_full_shortname.
4397 (init_record_full_core_ops): Set the target's shortname to
4398 record_full_core_shortname.
4399 * record-full.h (record_full_is_used): Declare.
4400 * record.c (find_record_target): Make extern.
4401 (record_preopen): New function.
4402 * record.h (RECORD_IS_USED): Delete macro.
4403 (find_record_target, record_preopen): Declare functions.
4405 2014-01-14 Yao Qi <yao@codesourcery.com>
4407 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
4408 'len''s type to ULONGEST.
4409 (core_xfer_shared_libraries_aix): Likewise.
4410 * gdbarch.c, gdbarch.h: Regenerated.
4411 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
4412 Change type of 'len' to ULONGEST.
4413 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4414 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
4416 2014-01-14 Yao Qi <yao@codesourcery.com>
4418 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
4419 type of 'len' to ULONGEST.
4420 (linux_xfer_osdata_processgroups): Likewise.
4421 (linux_xfer_osdata_threads): Likewise.
4422 (linux_xfer_osdata_fds): Likewise.
4423 (linux_xfer_osdata_isockets): Likewise.
4424 (linux_xfer_osdata_shm): Likewise.
4425 (linux_xfer_osdata_sem): Likewise.
4426 (linux_xfer_osdata_msg): Likewise.
4427 (linux_common_xfer_osdata): Likewise.
4428 (struct osdata_type) <getter>: Likewise.
4429 * common/linux-osdata.h (linux_common_xfer_osdata): Update
4432 2014-01-14 Yao Qi <yao@codesourcery.com>
4434 * target.h (target_xfer_partial_ftype): Update.
4435 (struct target_ops) <to_xfer_partial>: Change 'len' type to
4437 * aix-thread.c (aix_thread_xfer_partial): Change type of
4438 argument 'len' to ULONGEST.
4439 * auxv.c (procfs_xfer_auxv): Likewise.
4440 (ld_so_xfer_auxv): Likewise.
4441 (memory_xfer_auxv): Likewise.
4442 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4443 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4444 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4445 * corelow.c (core_xfer_partial): Likewise.
4446 * ctf.c (ctf_xfer_partial): Likewise.
4447 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
4449 (darwin_read_dyld_info): Likewise.
4450 (darwin_xfer_partial): Likewise.
4451 * exec.c (section_table_xfer_memory_partial): Likewise.
4452 (exec_xfer_partial): Likewise.
4453 * exec.h (section_table_xfer_memory_partial): Update
4455 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
4456 instead of plongest.
4457 (gnu_xfer_partial): Likewise.
4458 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
4459 (ia64_hpux_xfer_solib_got): Likewise.
4460 (ia64_hpux_xfer_partial): Likewise.
4461 * ia64-linux-nat.c (ia64_linux_xfer_partial):
4462 * inf-ptrace.c (inf_ptrace_xfer_partial):
4463 * inf-ttrace.c (inf_ttrace_xfer_partial):
4464 * linux-nat.c (linux_xfer_siginfo): Likewise.
4465 (linux_nat_xfer_partial): Likewise.
4466 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
4467 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
4468 * monitor.c (monitor_xfer_memory): Likewise.
4469 (monitor_xfer_partial): Likewise.
4470 * procfs.c (procfs_xfer_partial): Likewise.
4471 * record-full.c (record_full_xfer_partial): Likewise.
4472 (record_full_core_xfer_partial): Likewise.
4473 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
4474 instead of plongest.
4475 (gdbsim_xfer_partial): Likewise.
4476 * remote.c (remote_xfer_partial): Likewise.
4477 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4478 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4480 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4481 (rs6000_xfer_shared_libraries): Likewise.
4482 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4483 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4484 (sparc_xfer_partial): Likewise.
4485 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4486 (spu_xfer_partial): Likewise.
4487 * spu-multiarch.c (spu_xfer_partial): Likewise.
4488 * target.c (target_read_live_memory): Likewise.
4489 (memory_xfer_live_readonly_partial): Likewise.
4490 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
4491 (target_xfer_partial, default_xfer_partial): Likewise.
4492 (current_xfer_partial): Likewise.
4493 * tracepoint.c (tfile_xfer_partial): Likewise.
4494 * windows-nat.c (windows_xfer_memory): Likewise. Call
4495 pulongest instead of plongest.
4496 (windows_xfer_partial): Likewise.
4497 (windows_xfer_shared_libraries): Likewise.
4499 2014-01-14 Yao Qi <yao@codesourcery.com>
4501 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
4502 target_xfer_partial_ftype.
4504 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4508 * valops.c (value_struct_elt_bitpos): New function
4509 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
4510 object to 'None' if the field name is an empty string ("").
4511 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
4512 attribute to look for a field when 'name' is 'None'.
4513 (get_field_type): New function
4515 2014-01-13 Doug Evans <dje@google.com>
4518 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
4519 (try_open_dwop_file): Ditto.
4520 * gdb_bfd.c: #include "vec.h".
4521 (bfdp): New typedef.
4522 (struct gdb_bfd_data): New member included_bfds.
4523 (gdb_bfd_unref): Unref all included bfds.
4524 (gdb_bfd_record_inclusion): New function.
4525 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
4527 2014-01-13 Tom Tromey <tromey@redhat.com>
4529 * gdbcore.h (deprecated_core_resize_section_table): Remove.
4531 2014-01-13 Tom Tromey <tromey@redhat.com>
4533 * defs.h (use_windows): Remove.
4534 * gdb.c (main): Update.
4535 * main.c (captured_main, gdb_main): Update.
4536 * main.h (struct captured_main_args) <use_windows>: Remove.
4537 * top.c (use_windows): Remove.
4539 2014-01-13 Tom Tromey <tromey@redhat.com>
4541 * defs.h (deprecated_flush_hook): Remove.
4543 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4546 * linux-thread-db.c (try_thread_db_load): Add parameter
4547 check_auto_load_safe. Move here the file_is_auto_load_safe call.
4548 (try_thread_db_load_from_pdir_1): Move it there from here.
4549 (try_thread_db_load_from_sdir): Update caller.
4550 (try_thread_db_load_from_dir): Move it there from here.
4552 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
4554 * regformats/regdat.sh: Always rewrite the register file.
4556 2014-01-13 Pedro Alves <palves@redhat.com>
4558 * Makefile.in (CHECK_HEADERS): New variable.
4559 (check-headers:): New rule.
4561 2014-01-13 Tom Tromey <tromey@redhat.com>
4563 * cli/cli-setshow.c (do_set_command): Update.
4564 * defs.h (deprecated_set_hook): Remove.
4565 * top.c (deprecated_set_hook): Remove.
4567 2014-01-13 Pedro Alves <palves@redhat.com>
4569 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
4570 the tracepoint if the PC is a pseudo-register.
4572 2014-01-13 Tom Tromey <tromey@redhat.com>
4574 * defs.h (XCALLOC): Remove.
4575 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
4576 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
4577 * dwarf2loc.c (allocate_piece_closure): Likewise.
4578 * elfread.c (elf_symfile_segments): Likewise.
4579 (elf_symfile_segments): Likewise.
4580 * gdbtypes.c (copy_type_recursive): Likewise.
4581 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
4582 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
4583 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
4585 * mt-tdep.c (mt_gdbarch_init): Likewise.
4586 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
4588 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
4589 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
4590 * registry.c (registry_alloc_data): Likewise.
4591 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
4592 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
4593 * serial.c (serial_fdopen_ops): Likewise.
4594 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
4596 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
4597 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
4600 2014-01-13 Tom Tromey <tromey@redhat.com>
4602 * defs.h (XMALLOC): Remove.
4603 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
4604 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
4605 * cli-out.c (struct ui_out *): Likewise.
4606 * cli/cli-dump.c (add_dump_command): Likewise.
4607 (add_dump_command): Likewise.
4608 * complaints.c (get_complaints): Likewise.
4609 (find_complaint): Likewise.
4610 * dwarf2-frame.c (execute_cfa_program): Likewise.
4611 * dwarf2read.c (abbrev_table_read_table): Likewise.
4612 * gdbarch.sh: Likewise.
4613 * gdbarch.c: Rebuild.
4614 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
4615 * interps.c (interp_new): Likewise.
4616 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
4617 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
4618 * mi/mi-console.c (mi_console_file_new): Likewise.
4619 * mi/mi-interp.c (mi_interpreter_init): Likewise.
4620 * mi/mi-out.c (mi_out_new): Likewise.
4621 * mi/mi-parse.c (mi_parse): Likewise.
4622 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
4623 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
4624 * observer.c (xalloc_observer_list_node): Likewise.
4625 * regcache.c (regcache_xmalloc_1): Likewise.
4626 * reggroups.c (reggroup_new): Likewise.
4627 (_initialize_reggroup): Likewise.
4628 * registry.c (register_data_with_cleanup): Likewise.
4629 * remote.c (remote_notif_stop_alloc_reply): Likewise.
4630 * ser-base.c (serial_ttystate): Likewise.
4631 * ser-mingw.c (make_pipe_state): Likewise.
4632 * ser-pipe.c (pipe_open): Likewise.
4633 * serial.c (serial_open): Likewise.
4634 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
4635 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
4636 (tui_alloc_win_info): Likewise.
4637 (tui_add_content_elements): Likewise.
4638 * tui/tui-file.c (tui_file_new): Likewise.
4639 * tui/tui-out.c (tui_out_new): Likewise.
4640 * ui-file.c (mem_file_new): Likewise.
4641 * ui-out.c (push_level): Likewise.
4642 (make_cleanup_ui_out_end): Likewise.
4643 (append_header_to_list): Likewise.
4644 (ui_out_new): Likewise.
4645 * user-regs.c (user_reg_add_builtin): Likewise.
4647 2014-01-13 Tom Tromey <tromey@redhat.com>
4649 * defs.h (XZALLOC): Remove.
4650 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
4651 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
4652 (get_ada_tasks_inferior_data): Likewise.
4653 * auto-load.c (get_auto_load_pspace_data): Likewise.
4654 * auxv.c (get_auxv_inferior_data): Likewise.
4655 * bfd-target.c (target_bfd_reopen): Likewise.
4656 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
4657 (deprecated_insert_raw_breakpoint): Likewise.
4658 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
4659 * corelow.c (core_open): Likewise.
4660 * darwin-nat.c (darwin_check_new_threads): Likewise.
4661 (darwin_attach_pid): Likewise.
4662 * dummy-frame.c (dummy_frame_push): Likewise.
4663 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
4664 * dwarf2loc.c (allocate_piece_closure): Likewise.
4665 * elfread.c (elf_symfile_segments): Likewise.
4666 * eval.c (ptrmath_type_p): Likewise.
4667 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
4668 * gdbtypes.c (alloc_type_arch): Likewise.
4669 (alloc_type_instance): Likewise.
4670 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
4671 * inf-child.c (inf_child_can_use_agent): Likewise.
4672 * inflow.c (get_inflow_inferior_data): Likewise.
4673 * infrun.c (save_infcall_suspend_state): Likewise.
4674 * jit.c (jit_reader_load): Likewise.
4675 (get_jit_objfile_data): Likewise.
4676 (get_jit_program_space_data): Likewise.
4677 (jit_object_open_impl): Likewise.
4678 (jit_symtab_open_impl): Likewise.
4679 (jit_block_open_impl): Likewise.
4680 (jit_frame_sniffer): Likewise.
4681 * linux-fork.c (add_fork): Likewise.
4682 * maint.c (make_command_stats_cleanup): Likewise.
4683 * objfiles.c (get_objfile_pspace_data): Likewise.
4684 * opencl-lang.c (struct lval_closure): Likewise.
4685 * osdata.c (osdata_start_osdata): Likewise.
4686 * progspace.c (new_address_space): Likewise.
4687 (add_program_space): Likewise.
4688 * remote-sim.c (get_sim_inferior_data): Likewise.
4689 * sh-tdep.c (sh_gdbarch_init): Likewise.
4690 * skip.c (Ignore): Likewise.
4691 (skip_delete_command): Likewise.
4692 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4693 (library_list_start_library): Likewise.
4694 (solib_aix_current_sos): Likewise.
4695 * solib-darwin.c (get_darwin_info): Likewise.
4696 (darwin_current_sos): Likewise.
4697 * solib-dsbt.c (get_dsbt_info): Likewise.
4698 * solib-ia64-hpux.c (new_so_list): Likewise.
4699 (ia64_hpux_get_solib_linkage_addr): Likewise.
4700 * solib-spu.c (append_ocl_sos): Likewise.
4701 (spu_current_sos): Likewise.
4702 * solib-svr4.c (get_svr4_info): Likewise.
4703 (svr4_keep_data_in_core): Likewise.
4704 (library_list_start_library): Likewise.
4705 (svr4_default_sos): Likewise.
4706 (svr4_read_so_list): Likewise.
4707 * solib-target.c (library_list_start_library): Likewise.
4708 (solib_target_current_sos): Likewise.
4709 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4710 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4711 * symfile.c (default_symfile_segments): Likewise.
4712 * target-descriptions.c (tdesc_data_init): Likewise.
4713 (tdesc_create_reg): Likewise.
4714 (struct tdesc_type *): Likewise.
4715 (tdesc_create_vector): Likewise.
4716 (tdesc_set_struct_size): Likewise.
4717 (struct tdesc_type *): Likewise.
4718 (tdesc_free_feature): Likewise.
4719 (tdesc_create_feature): Likewise.
4720 * windows-nat.c (windows_add_thread): Likewise.
4721 (windows_make_so): Likewise.
4722 * xml-support.c (gdb_xml_body_text): Likewise.
4723 (gdb_xml_create_parser_and_cleanup): Likewise.
4724 (xml_process_xincludes): Likewise.
4725 * xml-syscall.c (allocate_syscalls_info): Likewise.
4726 (syscall_create_syscall_desc): Likewise.
4728 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4730 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4731 function, with code from i386_stap_parse_special_token.
4732 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4733 (i386_stap_parse_special_token): Move code to the two functions
4736 2014-01-09 Pedro Alves <palves@redhat.com>
4737 Hui Zhu <hui@codesourcery.com>
4740 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4741 bp_err_string. Don't mark the location shlib_disabled if the
4742 error thrown wasn't a generic or memory error. Catch errors
4743 thrown while inserting breakpoints in overlayed code. Output
4744 error message of software breakpoints.
4745 * remote.c (remote_insert_breakpoint): If this breakpoint has
4746 target-side commands but this stub doesn't support Z0 packets,
4747 throw NOT_SUPPORTED_ERROR error.
4748 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4749 * target.h (target_insert_breakpoint): Extend comment.
4750 (target_insert_hw_breakpoint): Add comment.
4752 2014-01-08 Pedro Alves <palves@redhat.com>
4754 * remote.c (remote_add_thread): Add threads silently if starting
4756 (remote_notice_new_inferior): If in all-stop, and starting up,
4757 don't call notice_new_inferior.
4758 (get_current_thread): New function, factored out from ...
4759 (add_current_inferior_and_thread): ... this. Adjust.
4760 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4761 found any thread, then select the remote's current thread as GDB's
4764 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4766 * NEWS: Create a new section for the next release branch.
4767 Rename the section of the current branch, now that it has
4770 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4772 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4773 * version.in: Bump version to 7.7.50.DATE-cvs.
4775 2014-01-08 Yao Qi <yao@codesourcery.com>
4777 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4778 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4779 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4781 2014-01-08 Yao Qi <yao@codesourcery.com>
4783 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4784 return value of bfd_get_filename to symbol_file_add_from_bfd.
4786 2014-01-08 Pierre Muller <muller@sourceware.org>
4789 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4790 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4791 to prim_record_mininal_symbol_and_info.
4792 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4793 in call to prim_record_minimal_symbol_and_info.
4794 (read_pe_exported_syms): Set index field of section_data.
4796 2014-01-07 Andrew Pinski <apinski@cavium.com>
4798 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4799 * features/aarch64.c: Regenerate.
4801 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4803 * target.c (return_null): Define.
4804 (update_current_target): Use it instead of return_zero for
4805 functions that return a pointer.
4807 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4809 * source.c (add_path): Fix check for duplicated paths in the previously
4812 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4814 * ada-lang.c: Remove duplicated include statements.
4815 * alphabsd-nat.c: Ditto.
4816 * amd64-darwin-tdep.c: Ditto.
4817 * amd64fbsd-nat.c: Ditto.
4818 * auto-load.c: Ditto.
4820 * breakpoint.c: Ditto.
4822 * fork-child.c: Ditto.
4823 * gdb_usleep.c: Ditto.
4824 * i386-darwin-tdep.c: Ditto.
4825 * i386fbsd-nat.c: Ditto.
4827 * inferior.c: Ditto.
4829 * linux-nat.c: Ditto.
4830 * linux-tdep.c: Ditto.
4831 * m68kbsd-nat.c: Ditto.
4832 * m68klinux-nat.c: Ditto.
4833 * microblaze-tdep.c: Ditto.
4834 * mips-linux-tdep.c: Ditto.
4835 * mn10300-tdep.c: Ditto.
4836 * nto-tdep.c: Ditto.
4837 * opencl-lang.c: Ditto.
4839 * printcmd.c: Ditto.
4840 * regcache.c: Ditto.
4841 * remote-m32r-sdi.c: Ditto.
4845 * tilegx-linux-nat.c: Ditto.
4846 * tilegx-tdep.c: Ditto.
4847 * tracepoint.c: Ditto.
4849 * vaxbsd-nat.c: Ditto.
4850 * windows-nat.c: Ditto.
4851 * xtensa-tdep.c: Ditto.
4853 2014-01-07 Yao Qi <yao@codesourcery.com>
4855 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4857 2014-01-07 Yao Qi <yao@codesourcery.com>
4858 Joel Brobecker <brobecker@adacore.com>
4860 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4861 (pdc_write_regs): Likewise.
4862 (fetch_regs_kernel_thread): Likewise.
4863 (store_regs_kernel_thread): Likewise.
4865 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4867 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4868 tagged type objects to their actual type.
4870 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4872 * ada-valprint.c (print_field_values): Add "language" parameter.
4873 Update calls to print_field_values and print_variant_part.
4874 Pass new parameter "language" in call to val_print instead
4875 of "current_language". Replace call to ada_val_print by call
4877 (print_variant_part): Add "language" parameter.
4878 (ada_val_print_struct_union): Update call to print_field_values.
4880 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4882 * ada-valprint.c (ui_memcpy): Delete.
4883 (ada_print_floating): Update documentation. Add empty line
4884 between between function documentation and implementation.
4885 Delete variable "buffer". Use ui_file_xstrdup in place of
4886 ui_file_put. Minor adjustments following this change.
4888 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4890 * ada-valprint.c (ada_val_print_string): New function,
4891 extracted from ada_val_print_array.
4892 (ada_val_print_array): Replace extracted code by call
4893 to ada_val_print_string followed by a return. Move
4894 "else" branch to the function's top block.
4896 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4898 * ada-valprint.c (ada_val_print_array): Move implementation
4899 down. Rename parameter "offset" and "val" into "offset_aligned"
4900 and "original_value" respectively. Add parameter "offset".
4902 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4904 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4905 re-organizing the code. Change the "???" message printed
4906 when target type is a TYPE_CODE_UNDEF into
4907 "<ref to undefined type>".
4909 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4911 * ada-valprint.c (print_record): Delete, implementation inlined...
4912 (ada_val_print_struct_union): ... here. Remove call to
4913 ada_check_typedef in inlined implementation.
4915 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4917 * ada-valprint.c (ada_val_print_gnat_array): New function,
4918 extracted from ada_val_print_1;
4919 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4920 (ada_val_print_flt, ada_val_print_struct_union)
4921 (ada_val_print_ref): Likewise.
4922 (ada_val_print_1): Delete variables i and elttype.
4923 Replace extracted-out code by call to corresponding
4926 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4928 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4930 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4932 * ada-valprint.c (ada_val_print_1): Replace calls to
4933 ada_val_print_1 by calls to val_print.
4935 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4937 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4938 Update calls to self accordingly. Replace calls to c_val_print
4939 by calls to val_print.
4941 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4943 * ada-valprint.c (print_record): Delete declaration.
4944 (adjust_type_signedness, ada_val_print_1): Likewise.
4945 (ada_val_print): Move function implementation down.
4946 (print_variant_part, print_field_values, print_record):
4947 Move function implementation up.
4949 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4951 * python/py-type.c (typy_get_name): New function.
4952 (type_object_getset): Add entry for attribute "name".
4953 * NEWS: Add entry mentioning this new attribute.
4955 2014-01-07 Yao Qi <yao@codesourcery.com>
4957 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
4960 2014-01-07 Yao Qi <yao@codesourcery.com>
4962 * gnu-nat.c (info_port_rights): Add qualifier const to
4965 2014-01-07 Yao Qi <yao@codesourcery.com>
4967 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
4969 2014-01-07 Yao Qi <yao@codesourcery.com>
4971 * gnu-nat.c (make_inf) Update declaration.
4972 (make_inf): Make it static.
4973 (inf_set_traced): Likewise.
4974 (inf_port_to_thread, inf_task_died_status): Likewise.
4976 2014-01-07 Yao Qi <yao@codesourcery.com>
4978 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
4980 2014-01-07 Yao Qi <yao@codesourcery.com>
4982 * gnu-nat.c (_initialize_gnu_nat): Declare.
4984 2014-01-07 Yao Qi <yao@codesourcery.com>
4986 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
4988 (struct gdbarch_info) <byte_order>: Change type to
4990 <byte_order_for_code>: Likewise.
4991 * gdbarch.c, gdbarch.h: Regenerated.
4993 2014-01-06 Sasha Smundak <asmundak@google.com>
4995 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
4997 2014-01-06 Tom Tromey <tromey@redhat.com>
4999 * doublest.c (convert_doublest_to_floatformat): Use const, not
5001 * somread.c (som_symtab_read): Likewise.
5003 2014-01-07 Hui Zhu <hui@codesourcery.com>
5005 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
5006 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
5007 (gdb_bfd_fopen): Ditto.
5008 (gdb_bfd_openr): Ditto.
5009 (gdb_bfd_openw): Ditto.
5010 (gdb_bfd_openr_iovec): Ditto.
5011 (gdb_bfd_fdopenr): Ditto.
5012 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
5013 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
5015 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
5017 * symfile-mem.c (symbol_file_add_from_memory): Removed
5018 gdb_bfd_stash_filename.
5020 2014-01-03 Doug Evans <dje@google.com>
5022 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
5025 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5027 Update year range in copyright notice of all files.
5029 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5031 * top.c (print_gdb_version): Set copyright year to 2014.
5033 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5035 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
5037 For older changes see ChangeLog-2013.
5043 version-control: never