1 2014-02-24 Yao Qi <yao@codesourcery.com>
3 * mips-linux-nat.c (super_close): Update its type.
4 (mips_linux_close): Pass 'self' to super_close.
6 2014-02-24 Yao Qi <yao@codesourcery.com>
8 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
9 * corefile.c (read_memory): Adjusted.
10 * target.c (target_write_with_progress): Adjusted.
12 2014-02-23 Yao Qi <yao@codesourcery.com>
16 2013-10-25 Yao Qi <yao@codesourcery.com>
18 * remote.c (remote_traceframe_info): Return early if
19 traceframe is not selected.
21 2013-07-19 Yao Qi <yao@codesourcery.com>
23 * target.c (update_current_target): Change the default action
24 of 'to_traceframe_info' from tcomplain to return_zero.
25 * target.h (struct target_ops) <to_traceframe_info>: Add more
28 2014-02-23 Yao Qi <yao@codesourcery.com>
30 * valops.c (read_value_memory): Rewrite it. Call
31 target_xfer_partial in a loop.
32 * exec.h (section_table_available_memory): Remove declaration.
34 * exec.c (section_table_available_memory): ... here. Make it
37 2014-02-23 Yao Qi <yao@codesourcery.com>
39 * exec.c (section_table_read_available_memory): New function.
40 * exec.h (section_table_read_available_memory): Declare.
41 * ctf.c (ctf_xfer_partial): Call
42 section_table_read_available_memory.
43 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
45 2014-02-23 Yao Qi <yao@codesourcery.com>
47 * ctf.c (ctf_xfer_partial): Move code to ...
48 * exec.c (exec_read_partial_read_only): ... it. New function.
49 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
50 * tracefile.c: Include "exec.h".
51 * exec.h (exec_read_partial_read_only): Declare.
53 2014-02-23 Yao Qi <yao@codesourcery.com>
55 * tracefile-tfile.c (tfile_has_all_memory): Remove.
56 (tfile_has_memory): Remove.
57 (init_tfile_ops): Don't set fields to_has_all_memory and
58 to_has_memory of tfile_ops.
59 * tracefile.c (tracefile_has_all_memory): New function.
60 (tracefile_has_memory): New function.
61 (init_tracefile_ops): Initialize fields to_has_all_memory and
62 to_has_memory of 'ops'.
64 2014-02-23 Yao Qi <yao@codesourcery.com>
66 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
67 (ctf_thread_alive, ctf_get_trace_status): Remove.
68 (init_ctf_ops): Don't set some fields of ctf_ops. Call
70 * tracefile-tfile.c (tfile_get_trace_status): Remove.
71 (tfile_has_stack, tfile_has_registers): Remove.
72 (tfile_thread_alive): Remove.
73 (init_tfile_ops): Don't set some fields of tfile_ops. Call
75 * tracefile.c (tracefile_has_stack): New function.
76 (tracefile_has_registers): New function.
77 (tracefile_thread_alive): New function.
78 (tracefile_get_trace_status): New function.
79 (init_tracefile_ops): New function.
80 * tracefile.h (init_tracefile_ops): Declare.
82 2014-02-23 Yao Qi <yao@codesourcery.com>
84 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
85 (O_LARGEFILE): Likewise.
86 (tfile_ops): Likewise.
87 (TRACE_HEADER_SIZE): Likewise.
88 (trace_fd, trace_frames_offset, cur_offset): Likewise.
89 (cur_data_size): Likewise.
90 (tfile_read, tfile_open, tfile_interp_line): Likewise.
91 (tfile_close, tfile_files_info): Likewise.
92 (tfile_get_trace_status): Likewise.
93 (tfile_get_tracepoint_status): Likewise.
94 (tfile_get_traceframe_address): Likewise.
95 (tfile_trace_find, match_blocktype): Likewise.
96 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
97 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
98 (tfile_get_trace_state_variable_value): Likewise.
99 (tfile_has_all_memory, tfile_has_memory): Likewise.
100 (tfile_has_stack, tfile_has_registers): Likewise.
101 (tfile_thread_alive, build_traceframe_info): Likewise.
102 (tfile_traceframe_info, init_tfile_ops): Likewise.
103 (_initialize_tracepoint): Don't call init_tfile_ops
104 and add_target_with_completer.
105 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
106 exec.h, completer.h and filenames.h.
107 (_initialize_tracefile_tfile): New function.
109 2014-02-23 Yao Qi <yao@codesourcery.com>
111 * Makefile.in (REMOTE_OBS): Append tracefile.o and
113 (HFILES_NO_SRCDIR): Add tracefile.h.
114 * ctf.c: Include "tracefile.h".
115 * tracefile.h: New file.
116 * tracefile.c: New file
117 * tracefile-tfile.c: New file.
118 * tracepoint.c: Include "tracefile.h".
119 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
120 (stop_reason_names): Add const.
121 (trace_file_writer_xfree): Move it to tracefile.c.
122 (trace_save, trace_save_command, trace_save_tfile): Likewise.
123 (trace_save_ctf): Likewise.
124 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
125 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
126 (tfile_write_header, tfile_write_regblock_type): Likewise.
127 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
128 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
129 (tfile_write_raw_data, tfile_end): Likewise.
130 (tfile_trace_file_writer_new): Likewise.
131 (free_uploaded_tp): Make it extern.
132 (free_uploaded_tsv): Make it extern.
133 (_initialize_tracepoint): Move code to register command 'tsave'
135 * tracepoint.h (stop_reason_names): Declare.
136 (struct trace_frame_write_ops): Move it to tracefile.h.
137 (struct trace_file_write_ops): Likewise.
138 (struct trace_file_writer): Likewise.
139 (free_uploaded_tsvs, free_uploaded_tps): Declare.
141 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
144 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
146 (get_cores_used_by_process): New parameter num_cores, use it.
147 (linux_xfer_osdata_processes): Pass num_cores to it.
148 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
151 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
153 * target.c (memory_xfer_partial): Fix length arg in call to
154 breakpoint_xfer_memory.
156 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
159 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
160 number comes after the + or - signs. Adjust length of register
161 name to be extracted.
163 2014-02-20 Tom Tromey <tromey@redhat.com>
165 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
166 (ada_varobj_ops): Mark "extern".
168 2014-02-20 Tom Tromey <tromey@redhat.com>
170 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
172 2014-02-20 Doug Evans <xdje42@gmail.com>
174 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
176 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
178 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
179 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
181 2014-02-20 lin zuojian <manjian2006@gmail.com>
182 Joel Brobecker <brobecker@adacore.com>
183 Doug Evans <xdje42@gmail.com>
186 * dwarf2read.c (struct die_info): New member in_process.
187 (reset_die_in_process): New function.
188 (process_die): Set it at the start, reset when returning.
189 (inherit_abstract_dies): Only call process_die if origin_child_die
190 not already being processed.
192 2014-02-20 Joel Brobecker <brobecker@adacore.com>
194 * windows-nat.c (handle_unload_dll): Add function documentation.
195 (do_initial_windows_stuff): Add comment explaining why we wait
196 until after inferior initialization has finished before
199 2014-02-20 Joel Brobecker <brobecker@adacore.com>
201 * windows-nat.c (get_module_name): Delete.
202 (windows_get_exec_module_filename): New function, mostly
203 inspired from get_module_name.
204 (windows_pid_to_exec_file): Replace call to get_module_name
205 by call to windows_get_exec_module_filename.
207 2014-02-20 Joel Brobecker <brobecker@adacore.com>
209 * windows-nat.c (handle_load_dll): Rewrite this function's
210 introductory comment. Remove code using get_module_name
211 to get the DLL's name.
213 2014-02-20 Joel Brobecker <brobecker@adacore.com>
215 * windows-nat.c (get_windows_debug_event): Ignore
216 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
217 if windows_initialization_done == 0.
218 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
219 Adjust implementation to always load all DLLs.
220 (do_initial_windows_stuff): Replace call to
221 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
223 2014-02-20 Joel Brobecker <brobecker@adacore.com>
225 * windows-nat.c (_initialize_windows_nat): Deprecate the
226 "dll-symbols" command. Turn the "add-shared-symbol-files"
227 and "assf" aliases into commands, and deprecate them as well.
228 * NEWS: Add entry explaining that "dll-symbols" and its two
229 aliases are now deprecated.
231 2014-02-20 Joel Brobecker <brobecker@adacore.com>
233 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
234 new-line in debug string. Remove trailing spaces.
236 2014-02-19 Stan Shebs <stan@codesourcery.com>
238 * darwin-nat.c (darwin_xfer_partial): Fix return type.
240 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
242 * NEWS: Add entry for the new feature
243 * python/py-value.c (valpy_binop): Call value_x_binop for struct
246 2014-02-19 Stan Shebs <stan@codesourcery.com>
248 * MAINTAINERS: List Yao Qi as nios2 maintainer.
250 2014-02-19 Pedro Alves <palves@redhat.com>
252 * common/ptid.h (struct ptid): Mention that process_stratum
253 targets should prefer ptid.lwp.
255 2014-02-19 Pedro Alves <palves@redhat.com>
257 * remote.c (remote_thread_alive, write_ptid, read_ptid)
258 (read_ptid, remote_newthread_step, remote_threads_extra_info)
259 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
260 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
261 store remote thread ids rather than ptid.tid.
262 (_initialize_remote): Adjust.
264 2014-02-19 Tom Tromey <tromey@redhat.com>
266 * target.c (target_get_unwinder): Rewrite.
267 (target_get_tailcall_unwinder): Rewrite.
268 * record-btrace.c (record_btrace_to_get_unwinder): New function.
269 (record_btrace_to_get_tailcall_unwinder): New function.
270 (init_record_btrace_ops): Update.
271 * target.h (struct target_ops) <to_get_unwinder,
272 to_get_tailcall_unwinder>: Now function pointers. Use
273 TARGET_DEFAULT_RETURN.
275 2014-02-19 Tom Tromey <tromey@redhat.com>
277 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
279 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
281 2014-02-19 Tom Tromey <tromey@redhat.com>
283 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
285 * target-delegates.c: Rebuild.
286 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
288 * target.c (default_target_decr_pc_after_break): Rename from
289 forward_target_decr_pc_after_break. Simplify.
290 (target_decr_pc_after_break): Rely on delegation.
292 2014-02-19 Tom Tromey <tromey@redhat.com>
294 * target.c (update_current_target): Do not INHERIT to_doc or
295 to_magic. Do not de_fault to_open or to_close.
297 2014-02-19 Tom Tromey <tromey@redhat.com>
299 * gcore.h (objfile_find_memory_regions): Declare.
300 * gcore.c (objfile_find_memory_regions): No longer static. Add
302 (_initialize_gcore): Don't call exec_set_find_memory_regions.
303 * exec.c: Include gcore.h.
304 (exec_set_find_memory_regions): Remove.
305 (exec_find_memory_regions): Remove.
306 (exec_do_find_memory_regions): Remove.
307 (init_exec_ops): Update.
308 * defs.h (exec_set_find_memory_regions): Remove.
310 2014-02-19 Tom Tromey <tromey@redhat.com>
312 * target-delegates.c: Rebuild.
313 * target.h (struct target_ops) <to_extra_thread_info,
314 to_thread_name, to_pid_to_exec_file, to_get_section_table,
315 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
316 not 0, in TARGET_DEFAULT_RETURN.
318 2014-02-19 Tom Tromey <tromey@redhat.com>
320 * target.c (complete_target_initialization): Remove casts. Use
321 return_zero_has_execution.
322 (return_zero): Add "ignore" argument.
323 (return_zero_has_execution): New function.
324 (init_dummy_target): Remove casts. Use
325 return_zero_has_execution.
327 2014-02-19 Tom Tromey <tromey@redhat.com>
329 * target.c (update_current_target): Update comments. Do not
332 2014-02-19 Tom Tromey <tromey@redhat.com>
334 * arm-linux-nat.c (arm_linux_read_description): Delegate when
336 * corelow.c (core_read_description): Delegate when needed.
337 * remote.c (remote_read_description): Delegate when needed.
338 * target-delegates.c: Rebuild.
339 * target.c (target_read_description): Rewrite.
340 * target.h (struct target_ops) <to_read_description>: Update
341 comment. Use TARGET_DEFAULT_RETURN.
343 2014-02-19 Tom Tromey <tromey@redhat.com>
345 * target-delegates.c: Rebuild.
346 * target.c (update_current_target): Don't inherit or default
348 (find_default_run_target): Check against delegate_can_run.
349 * target.h (struct target_ops) <to_can_run>: Use
350 TARGET_DEFAULT_RETURN.
352 2014-02-19 Tom Tromey <tromey@redhat.com>
354 * target-delegates.c: Rebuild.
355 * target.c (target_disconnect): Unconditionally delegate.
356 * target.h (struct target_ops) <to_disconnect>: Use
357 TARGET_DEFAULT_NORETURN.
359 2014-02-19 Tom Tromey <tromey@redhat.com>
361 * record.c (record_stop): Unconditionally delegate.
362 * target-delegates.c: Rebuild.
363 * target.c (target_stop_recording): Unconditionally delegate.
364 * target.h (struct target_ops) <to_stop_recording>: Use
365 TARGET_DEFAULT_IGNORE.
367 2014-02-19 Tom Tromey <tromey@redhat.com>
369 * target-delegates.c: Rebuild.
370 * target.c (target_enable_btrace): Unconditionally delegate.
371 * target.h (struct target_ops) <to_enable_btrace>: Use
372 TARGET_DEFAULT_NORETURN.
374 2014-02-19 Tom Tromey <tromey@redhat.com>
376 * target-delegates.c: Rebuild.
377 * target.c (target_read_btrace): Unconditionally delegate.
378 * target.h (struct target_ops) <to_read_btrace>: Use
379 TARGET_DEFAULT_NORETURN.
381 2014-02-19 Tom Tromey <tromey@redhat.com>
383 * target-delegates.c: Rebuild.
384 * target.c (target_teardown_btrace): Unconditionally delegate.
385 * target.h (struct target_ops) <to_teardown_btrace>: Use
386 TARGET_DEFAULT_NORETURN.
388 2014-02-19 Tom Tromey <tromey@redhat.com>
390 * target-delegates.c: Rebuild.
391 * target.c (target_disable_btrace): Unconditionally delegate.
392 * target.h (struct target_ops) <to_disable_btrace>: Use
393 TARGET_DEFAULT_NORETURN.
395 2014-02-19 Tom Tromey <tromey@redhat.com>
397 * target-delegates.c: Rebuild.
398 * target.c (default_search_memory): New function.
399 (simple_search_memory): Update comment.
400 (target_search_memory): Unconditionally delegate.
401 * target.h (struct target_ops) <to_search_memory>: Use
404 2014-02-19 Tom Tromey <tromey@redhat.com>
406 * auxv.c (default_auxv_parse): No longer static.
407 (target_auxv_parse): Unconditionally delegate.
408 * auxv.h (default_auxv_parse): Declare.
409 * target-delegates.c: Rebuild.
410 * target.c: Include auxv.h.
411 * target.h (struct target_ops) <to_auxv_parse>: Use
414 2014-02-19 Tom Tromey <tromey@redhat.com>
416 * target-delegates.c: Rebuild.
417 * target.c (target_memory_map): Unconditionally delegate.
418 * target.h (struct target_ops) <to_memory_map>: Use
419 TARGET_DEFAULT_RETURN.
421 2014-02-19 Tom Tromey <tromey@redhat.com>
423 * target-delegates.c: Rebuild.
424 * target.c (target_thread_alive): Unconditionally delegate.
425 * target.h (struct target_ops) <to_thread_alive>: Use
426 TARGET_DEFAULT_RETURN.
428 2014-02-19 Tom Tromey <tromey@redhat.com>
430 * target-delegates.c: Rebuild.
431 * target.c (target_save_record): Unconditionally delegate.
432 * target.h (struct target_ops) <to_save_record>: Use
433 TARGET_DEFAULT_NORETURN.
435 2014-02-19 Tom Tromey <tromey@redhat.com>
437 * target-delegates.c: Rebuild.
438 * target.c (target_delete_record): Unconditionally delegate.
439 * target.h (struct target_ops) <to_delete_record>: Use
440 TARGET_DEFAULT_NORETURN.
442 2014-02-19 Tom Tromey <tromey@redhat.com>
444 * target-delegates.c: Rebuild.
445 * target.c (target_record_is_replaying): Unconditionally
447 * target.h (struct target_ops) <to_record_is_replaying>: Use
448 TARGET_DEFAULT_RETURN.
450 2014-02-19 Tom Tromey <tromey@redhat.com>
452 * target-delegates.c: Rebuild.
453 * target.c (target_goto_record_begin): Unconditionally delegate.
454 * target.h (struct target_ops) <to_goto_record_begin>: Use
455 TARGET_DEFAULT_NORETURN.
457 2014-02-19 Tom Tromey <tromey@redhat.com>
459 * target-delegates.c: Rebuild.
460 * target.c (target_goto_record_end): Unconditionally delegate.
461 * target.h (struct target_ops) <to_goto_record_end>: Use
462 TARGET_DEFAULT_NORETURN.
464 2014-02-19 Tom Tromey <tromey@redhat.com>
466 * target-delegates.c: Rebuild.
467 * target.c (target_goto_record): Unconditionally delegate.
468 * target.h (struct target_ops) <to_goto_record>: Use
469 TARGET_DEFAULT_NORETURN.
471 2014-02-19 Tom Tromey <tromey@redhat.com>
473 * target-delegates.c: Rebuild.
474 * target.c (target_insn_history): Unconditionally delegate.
475 * target.h (struct target_ops) <to_insn_history>: Use
476 TARGET_DEFAULT_NORETURN.
478 2014-02-19 Tom Tromey <tromey@redhat.com>
480 * target-delegates.c: Rebuild.
481 * target.c (target_insn_history_from): Unconditionally delegate.
482 * target.h (struct target_ops) <to_insn_history_from>: Use
483 TARGET_DEFAULT_NORETURN.
485 2014-02-19 Tom Tromey <tromey@redhat.com>
487 * target-delegates.c: Rebuild.
488 * target.c (target_insn_history_range): Unconditionally delegate.
489 * target.h (struct target_ops) <to_insn_history_range>: Use
490 TARGET_DEFAULT_NORETURN.
492 2014-02-19 Tom Tromey <tromey@redhat.com>
494 * target-delegates.c: Rebuild.
495 * target.c (target_call_history): Unconditionally delegate.
496 * target.h (struct target_ops) <to_call_history>: Use
497 TARGET_DEFAULT_NORETURN.
499 2014-02-19 Tom Tromey <tromey@redhat.com>
501 * target-delegates.c: Rebuild.
502 * target.c (target_call_history_from): Unconditionally delegate.
503 * target.h (struct target_ops) <to_call_history_from>: Use
504 TARGET_DEFAULT_NORETURN.
506 2014-02-19 Tom Tromey <tromey@redhat.com>
508 * target-delegates.c: Rebuild.
509 * target.c (target_call_history_range): Unconditionally delegate.
510 * target.h (struct target_ops) <to_call_history_range>: Use
511 TARGET_DEFAULT_NORETURN.
513 2014-02-19 Tom Tromey <tromey@redhat.com>
515 * target-delegates.c: Rebuild.
516 * target.c (target_verify_memory): Unconditionally delegate.
517 * target.h (struct target_ops) <to_verify_memory>: Use
518 TARGET_DEFAULT_NORETURN.
520 2014-02-19 Tom Tromey <tromey@redhat.com>
522 * target-delegates.c: Rebuild.
523 * target.c (target_core_of_thread): Unconditionally delegate.
524 * target.h (struct target_ops) <to_core_of_thread>: Use
525 TARGET_DEFAULT_RETURN.
527 2014-02-19 Tom Tromey <tromey@redhat.com>
529 * target-delegates.c: Rebuild.
530 * target.c (target_flash_done): Unconditionally delegate.
531 * target.h (struct target_ops) <to_flash_done>: Use
532 TARGET_DEFAULT_NORETURN.
534 2014-02-19 Tom Tromey <tromey@redhat.com>
536 * target-delegates.c: Rebuild.
537 * target.c (target_flash_erase): Unconditionally delegate.
538 * target.h (struct target_ops) <to_flash_erase>: Use
539 TARGET_DEFAULT_NORETURN.
541 2014-02-19 Tom Tromey <tromey@redhat.com>
543 * target-delegates.c: Rebuild.
544 * target.c (target_get_section_table): Unconditionally delegate.
545 * target.h (struct target_ops) <to_get_section_table>: Use
546 TARGET_DEFAULT_RETURN.
548 2014-02-19 Tom Tromey <tromey@redhat.com>
550 * target-delegates.c: Rebuild.
551 * target.c (target_pid_to_str): Unconditionally delegate.
552 (init_dummy_target): Don't initialize to_pid_to_str.
553 (default_pid_to_str): Rename from dummy_pid_to_str.
554 * target.h (struct target_ops) <to_pid_to_str>: Use
557 2014-02-19 Tom Tromey <tromey@redhat.com>
559 * target-delegates.c: Rebuild.
560 * target.c (target_find_new_threads): Unconditionally delegate.
561 * target.h (struct target_ops) <to_find_new_threads>: Use
562 TARGET_DEFAULT_RETURN.
564 2014-02-19 Tom Tromey <tromey@redhat.com>
566 * target-delegates.c: Rebuild.
567 * target.c (target_program_signals): Unconditionally delegate.
568 * target.h (struct target_ops) <to_program_signals>: Use
569 TARGET_DEFAULT_IGNORE.
571 2014-02-19 Tom Tromey <tromey@redhat.com>
573 * target-delegates.c: Rebuild.
574 * target.c (target_pass_signals): Unconditionally delegate.
575 * target.h (struct target_ops) <to_pass_signals>: Use
576 TARGET_DEFAULT_IGNORE.
578 2014-02-19 Tom Tromey <tromey@redhat.com>
580 * target-delegates.c: Rebuild.
581 * target.c (default_mourn_inferior): New function.
582 (target_mourn_inferior): Unconditionally delegate.
583 * target.h (struct target_ops) <to_mourn_inferior>: Use
586 2014-02-19 Tom Tromey <tromey@redhat.com>
588 * target-delegates.c: Rebuild.
589 * target.c (default_follow_fork): New function.
590 (target_follow_fork): Unconditionally delegate.
591 * target.h (struct target_ops) <to_follow_fork>: Use
594 2014-02-19 Tom Tromey <tromey@redhat.com>
596 * target-delegates.c: Rebuild.
597 * target.c (target_kill): Unconditionally delegate.
598 * target.h (struct target_ops) <to_kill>: Use
599 TARGET_DEFAULT_NORETURN.
601 2014-02-19 Tom Tromey <tromey@redhat.com>
603 * target-delegates.c: Rebuild.
604 * target.c (target_masked_watch_num_registers): Unconditionally
606 * target.h (struct target_ops) <to_masked_watch_num_registers>:
607 Use TARGET_DEFAULT_RETURN.
609 2014-02-19 Tom Tromey <tromey@redhat.com>
611 * target-delegates.c: Rebuild.
612 * target.c (target_remove_mask_watchpoint): Unconditionally
614 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
615 TARGET_DEFAULT_RETURN.
617 2014-02-19 Tom Tromey <tromey@redhat.com>
619 * target-delegates.c: Rebuild.
620 * target.c (target_insert_mask_watchpoint): Unconditionally
622 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
623 TARGET_DEFAULT_RETURN.
625 2014-02-19 Tom Tromey <tromey@redhat.com>
627 * target-delegates.c: Rebuild.
628 * target.c (target_ranged_break_num_registers): Unconditionally
630 * target.h (struct target_ops) <to_ranged_break_num_registers>:
631 Use TARGET_DEFAULT_RETURN.
633 2014-02-19 Tom Tromey <tromey@redhat.com>
635 * target-delegates.c: Rebuild.
636 * target.c (target_fetch_registers): Unconditionally delegate.
637 * target.h (struct target_ops) <to_fetch_registers>: Use
638 TARGET_DEFAULT_NORETURN.
640 2014-02-19 Tom Tromey <tromey@redhat.com>
642 * target-delegates.c: Rebuild.
643 * target.c (update_current_target): Don't inherit or default
645 * target.h (struct target_ops) <to_stop>: Use
646 TARGET_DEFAULT_IGNORE.
648 2014-02-19 Tom Tromey <tromey@redhat.com>
650 * target-delegates.c: Rebuild.
651 * target.c (update_current_target): Don't inherit or default
652 to_can_run_breakpoint_commands.
653 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
654 Use TARGET_DEFAULT_RETURN.
656 2014-02-19 Tom Tromey <tromey@redhat.com>
658 * target-delegates.c: Rebuild.
659 * target.c (update_current_target): Don't inherit or default
660 to_supports_evaluation_of_breakpoint_conditions.
661 * target.h (struct target_ops)
662 <to_supports_evaluation_of_breakpoint_conditions>: Use
663 TARGET_DEFAULT_RETURN.
665 2014-02-19 Tom Tromey <tromey@redhat.com>
667 * target-delegates.c: Rebuild.
668 * target.c (update_current_target): Don't inherit or default
669 to_augmented_libraries_svr4_read.
670 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
671 Use TARGET_DEFAULT_RETURN.
673 2014-02-19 Tom Tromey <tromey@redhat.com>
675 * target-delegates.c: Rebuild.
676 * target.c (update_current_target): Don't inherit or default
678 * target.h (struct target_ops) <to_can_use_agent>: Use
679 TARGET_DEFAULT_RETURN.
681 2014-02-19 Tom Tromey <tromey@redhat.com>
683 * target-delegates.c: Rebuild.
684 * target.c (update_current_target): Don't inherit or default
686 * target.h (struct target_ops) <to_use_agent>: Use
687 TARGET_DEFAULT_NORETURN.
689 2014-02-19 Tom Tromey <tromey@redhat.com>
691 * target-delegates.c: Rebuild.
692 * target.c (update_current_target): Don't inherit or default
694 (return_null): Remove.
695 * target.h (struct target_ops) <to_traceframe_info>: Use
696 TARGET_DEFAULT_RETURN.
698 2014-02-19 Tom Tromey <tromey@redhat.com>
700 * target-delegates.c: Rebuild.
701 * target.c (update_current_target): Don't inherit or default
702 to_static_tracepoint_markers_by_strid.
703 * target.h (struct target_ops)
704 <to_static_tracepoint_markers_by_strid>: Use
705 TARGET_DEFAULT_NORETURN.
707 2014-02-19 Tom Tromey <tromey@redhat.com>
709 * target-delegates.c: Rebuild.
710 * target.c (update_current_target): Don't inherit or default
711 to_static_tracepoint_marker_at.
712 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
713 Use TARGET_DEFAULT_RETURN.
715 2014-02-19 Tom Tromey <tromey@redhat.com>
717 * target-delegates.c: Rebuild.
718 * target.c (update_current_target): Don't inherit or default
720 * target.h (struct target_ops) <to_set_permissions>: Use
721 TARGET_DEFAULT_IGNORE.
723 2014-02-19 Tom Tromey <tromey@redhat.com>
725 * target-delegates.c: Rebuild.
726 * target.c (update_current_target): Don't inherit or default
728 * target.h (struct target_ops) <to_get_tib_address>: Use
729 TARGET_DEFAULT_NORETURN.
731 2014-02-19 Tom Tromey <tromey@redhat.com>
733 * target-delegates.c: Rebuild.
734 * target.c (update_current_target): Don't inherit or default
736 * target.h (struct target_ops) <to_set_trace_notes>: Use
737 TARGET_DEFAULT_RETURN.
739 2014-02-19 Tom Tromey <tromey@redhat.com>
741 * target-delegates.c: Rebuild.
742 * target.c (update_current_target): Don't initialize
743 to_set_trace_buffer_size.
744 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
745 TARGET_DEFAULT_IGNORE.
747 2014-02-19 Tom Tromey <tromey@redhat.com>
749 * target-delegates.c: Rebuild.
750 * target.c (update_current_target): Don't inherit or default
751 to_set_circular_trace_buffer.
752 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
753 TARGET_DEFAULT_IGNORE.
755 2014-02-19 Tom Tromey <tromey@redhat.com>
757 * target-delegates.c: Rebuild.
758 * target.c (update_current_target): Don't inherit or default
759 to_set_disconnected_tracing.
760 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
761 TARGET_DEFAULT_IGNORE.
763 2014-02-19 Tom Tromey <tromey@redhat.com>
765 * target-delegates.c: Rebuild.
766 * target.c (update_current_target): Don't inherit or default
767 to_get_min_fast_tracepoint_insn_len.
768 (return_minus_one): Remove.
769 * target.h (struct target_ops)
770 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
772 2014-02-19 Tom Tromey <tromey@redhat.com>
774 * target-delegates.c: Rebuild.
775 * target.c (update_current_target): Don't inherit or default
776 to_get_raw_trace_data.
777 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
778 TARGET_DEFAULT_NORETURN.
780 2014-02-19 Tom Tromey <tromey@redhat.com>
782 * target-delegates.c: Rebuild.
783 * target.c (update_current_target): Don't inherit or default
784 to_upload_trace_state_variables.
785 * target.h (struct target_ops) <to_upload_trace_state_variables>:
786 Use TARGET_DEFAULT_RETURN.
788 2014-02-19 Tom Tromey <tromey@redhat.com>
790 * target-delegates.c: Rebuild.
791 * target.c (update_current_target): Don't inherit or default
792 to_upload_tracepoints.
793 * target.h (struct target_ops) <to_upload_tracepoints>: Use
794 TARGET_DEFAULT_RETURN.
796 2014-02-19 Tom Tromey <tromey@redhat.com>
798 * target-delegates.c: Rebuild.
799 * target.c (update_current_target): Don't inherit or default
801 * target.h (struct target_ops) <to_save_trace_data>: Use
802 TARGET_DEFAULT_NORETURN.
804 2014-02-19 Tom Tromey <tromey@redhat.com>
806 * target-delegates.c: Rebuild.
807 * target.c (update_current_target): Don't inherit or default
808 to_get_trace_state_variable_value.
809 * target.h (struct target_ops)
810 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
812 2014-02-19 Tom Tromey <tromey@redhat.com>
814 * target-delegates.c: Rebuild.
815 * target.c (update_current_target): Don't inherit or default
817 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
819 2014-02-19 Tom Tromey <tromey@redhat.com>
821 * target-delegates.c: Rebuild.
822 * target.c (update_current_target): Don't inherit or default
824 * target.h (struct target_ops) <to_trace_stop>: Use
825 TARGET_DEFAULT_NORETURN.
827 2014-02-19 Tom Tromey <tromey@redhat.com>
829 * target-delegates.c: Rebuild.
830 * target.c (update_current_target): Don't inherit or default
831 to_get_tracepoint_status.
832 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
833 TARGET_DEFAULT_NORETURN.
835 2014-02-19 Tom Tromey <tromey@redhat.com>
837 * target-delegates.c: Rebuild.
838 * target.c (update_current_target): Don't inherit or default
840 * target.h (struct target_ops) <to_get_trace_status>: Use
841 TARGET_DEFAULT_RETURN.
843 2014-02-19 Tom Tromey <tromey@redhat.com>
845 * target-delegates.c: Rebuild.
846 * target.c (update_current_target): Don't inherit or default
848 * target.h (struct target_ops) <to_trace_start>: Use
849 TARGET_DEFAULT_NORETURN.
851 2014-02-19 Tom Tromey <tromey@redhat.com>
853 * target-delegates.c: Rebuild.
854 * target.c (update_current_target): Don't inherit or default
855 to_trace_set_readonly_regions.
856 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
857 Use TARGET_DEFAULT_NORETURN.
859 2014-02-19 Tom Tromey <tromey@redhat.com>
861 * target-delegates.c: Rebuild.
862 * target.c (update_current_target): Don't inherit or default
863 to_disable_tracepoint.
864 * target.h (struct target_ops) <to_disable_tracepoint>: Use
865 TARGET_DEFAULT_NORETURN.
867 2014-02-19 Tom Tromey <tromey@redhat.com>
869 * target-delegates.c: Rebuild.
870 * target.c (update_current_target): Don't inherit or default
871 to_enable_tracepoint.
872 * target.h (struct target_ops) <to_enable_tracepoint>: Use
873 TARGET_DEFAULT_NORETURN.
875 2014-02-19 Tom Tromey <tromey@redhat.com>
877 * target-delegates.c: Rebuild.
878 * target.c (update_current_target): Don't inherit or default
879 to_download_trace_state_variable.
880 * target.h (struct target_ops) <to_download_trace_state_variable>:
881 Use TARGET_DEFAULT_NORETURN.
883 2014-02-19 Tom Tromey <tromey@redhat.com>
885 * target-delegates.c: Rebuild.
886 * target.c (update_current_target): Don't inherit or default
887 to_can_download_tracepoint.
888 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
889 TARGET_DEFAULT_RETURN.
891 2014-02-19 Tom Tromey <tromey@redhat.com>
893 * target-delegates.c: Rebuild.
894 * target.c (update_current_target): Don't inherit or default
895 to_download_tracepoint.
896 * target.h (struct target_ops) <to_download_tracepoint>: Use
897 TARGET_DEFAULT_NORETURN.
899 2014-02-19 Tom Tromey <tromey@redhat.com>
901 * target-delegates.c: Rebuild.
902 * target.c (update_current_target): Don't inherit or default
904 * target.h (struct target_ops) <to_trace_init>: Use
905 TARGET_DEFAULT_RETURN.
907 2014-02-19 Tom Tromey <tromey@redhat.com>
909 * target-delegates.c: Rebuild.
910 * target.c (update_current_target): Don't inherit or default
911 to_supports_string_tracing.
912 * target.h (struct target_ops) <to_supports_string_tracing>: Use
913 TARGET_DEFAULT_RETURN.
915 2014-02-19 Tom Tromey <tromey@redhat.com>
917 * target-delegates.c: Rebuild.
918 * target.c (update_current_target): Don't inherit or default
919 to_supports_enable_disable_tracepoint.
920 * target.h (struct target_ops)
921 <to_supports_enable_disable_tracepoint>: Use
922 TARGET_DEFAULT_RETURN.
924 2014-02-19 Tom Tromey <tromey@redhat.com>
926 * target-delegates.c: Rebuild.
927 * target.c (update_current_target): Don't inherit or default
928 to_supports_multi_process.
929 * target.h (struct target_ops) <to_supports_multi_process>: Use
930 TARGET_DEFAULT_RETURN.
932 2014-02-19 Tom Tromey <tromey@redhat.com>
934 * target-delegates.c: Rebuild.
935 * target.c (update_current_target): Don't inherit or default
936 to_get_ada_task_ptid.
937 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
940 2014-02-19 Tom Tromey <tromey@redhat.com>
942 * target-delegates.c: Rebuild.
943 * target.c (update_current_target): Don't inherit or default
944 to_thread_architecture.
945 * target.h (struct target_ops) <to_thread_architecture>: Use
948 2014-02-19 Tom Tromey <tromey@redhat.com>
950 * target-delegates.c: Rebuild.
951 * target.c (update_current_target): Don't inherit or default
952 to_execution_direction.
953 * target.h (struct target_ops) <to_execution_direction>: Use
956 2014-02-19 Tom Tromey <tromey@redhat.com>
958 * target-delegates.c: Rebuild.
959 * target.c (update_current_target): Don't inherit or default
960 to_can_execute_reverse.
961 * target.h (struct target_ops) <to_can_execute_reverse>: Use
962 TARGET_DEFAULT_RETURN.
963 (target_can_execute_reverse): Unconditionally delegate.
965 2014-02-19 Tom Tromey <tromey@redhat.com>
967 * target-delegates.c: Rebuild.
968 * target.c (update_current_target): Don't inherit or default
970 (dummy_goto_bookmark): Remove.
971 (init_dummy_target): Don't inherit or default to_goto_bookmark.
972 * target.h (struct target_ops) <to_goto_bookmark>: Use
973 TARGET_DEFAULT_NORETURN.
975 2014-02-19 Tom Tromey <tromey@redhat.com>
977 * target-delegates.c: Rebuild.
978 * target.c (update_current_target): Don't inherit or default
980 (dummy_get_bookmark): Remove.
981 (init_dummy_target): Don't inherit or default to_get_bookmark.
982 * target.h (struct target_ops) <to_get_bookmark>: Use
983 TARGET_DEFAULT_NORETURN
985 2014-02-19 Tom Tromey <tromey@redhat.com>
987 * target-delegates.c: Rebuild.
988 * target.c (update_current_target): Don't inherit or default
989 to_make_corefile_notes.
990 (init_dummy_target): Don't initialize to_make_corefile_notes.
991 * target.h (struct target_ops) <to_make_corefile_notes>: Use
994 2014-02-19 Tom Tromey <tromey@redhat.com>
996 * target-delegates.c: Rebuild.
997 * target.c (update_current_target): Don't inherit or default
998 to_find_memory_regions.
999 (init_dummy_target): Don't initialize to_find_memory_regions.
1000 * target.h (struct target_ops) <to_find_memory_regions>: Use
1001 TARGET_DEFAULT_FUNC.
1003 2014-02-19 Tom Tromey <tromey@redhat.com>
1005 * target-delegates.c: Rebuild.
1006 * target.c (update_current_target): Don't inherit or default
1008 * target.h (struct target_ops) <to_log_command>: Use
1009 TARGET_DEFAULT_IGNORE.
1010 (target_log_command): Unconditionally delegate.
1012 2014-02-19 Tom Tromey <tromey@redhat.com>
1014 * target-delegates.c: Rebuild.
1015 * target.c (update_current_target): Don't inherit or default
1016 to_pid_to_exec_file.
1017 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
1018 TARGET_DEFAULT_RETURN.
1020 2014-02-19 Tom Tromey <tromey@redhat.com>
1022 * target-delegates.c: Rebuild.
1023 * target.c (update_current_target): Don't inherit or default
1025 (target_thread_name): Unconditionally delegate.
1026 * target.h (struct target_ops) <to_thread_name>: Use
1027 TARGET_DEFAULT_RETURN.
1029 2014-02-19 Tom Tromey <tromey@redhat.com>
1031 * target-delegates.c: Rebuild.
1032 * target.c (update_current_target): Don't inherit or default
1033 to_extra_thread_info.
1034 * target.h (struct target_ops) <to_extra_thread_info>: Use
1035 TARGET_DEFAULT_RETURN.
1037 2014-02-19 Tom Tromey <tromey@redhat.com>
1039 * target-delegates.c: Rebuild.
1040 * target.c (update_current_target): Don't inherit or default
1042 * target.h (struct target_ops) <to_has_exited>: Use
1043 TARGET_DEFAULT_RETURN..
1045 2014-02-19 Tom Tromey <tromey@redhat.com>
1047 * target-delegates.c: Rebuild.
1048 * target.c (update_current_target): Don't inherit or default
1049 to_set_syscall_catchpoint.
1050 (return_one): Remove.
1051 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
1052 TARGET_DEFAULT_RETURN.
1054 2014-02-19 Tom Tromey <tromey@redhat.com>
1056 * target-delegates.c: Rebuild.
1057 * target.c (update_current_target): Don't inherit or default
1058 to_insert_exec_catchpoint.
1059 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1060 TARGET_DEFAULT_RETURN.
1062 2014-01-08 Tom Tromey <tromey@redhat.com>
1064 * target-delegates.c: Rebuild.
1065 * target.c (update_current_target): Don't inherit or default
1066 to_insert_exec_catchpoint.
1067 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1068 TARGET_DEFAULT_RETURN.
1070 2014-02-19 Tom Tromey <tromey@redhat.com>
1072 * target-delegates.c: Rebuild.
1073 * target.c (update_current_target): Don't inherit or default
1074 to_remove_vfork_catchpoint.
1075 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
1076 TARGET_DEFAULT_RETURN.
1078 2014-02-19 Tom Tromey <tromey@redhat.com>
1080 * target-delegates.c: Rebuild.
1081 * target.c (update_current_target): Don't inherit or default
1082 to_insert_vfork_catchpoint.
1083 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
1084 TARGET_DEFAULT_RETURN.
1086 2014-02-19 Tom Tromey <tromey@redhat.com>
1088 * target-delegates.c: Rebuild.
1089 * target.c (update_current_target): Don't inherit or default
1090 to_remove_fork_catchpoint.
1091 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
1092 TARGET_DEFAULT_RETURN.
1094 2014-02-19 Tom Tromey <tromey@redhat.com>
1096 * target-delegates.c: Rebuild.
1097 * target.c (update_current_target): Don't inherit or default
1098 to_insert_fork_catchpoint.
1099 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
1100 TARGET_DEFAULT_RETURN.
1102 2014-02-19 Tom Tromey <tromey@redhat.com>
1104 * target-delegates.c: Rebuild.
1105 * target.c (update_current_target): Don't inherit or default
1106 to_post_startup_inferior.
1107 * target.h (struct target_ops) <to_post_startup_inferior>: Use
1108 TARGET_DEFAULT_IGNORE.
1110 2014-02-19 Tom Tromey <tromey@redhat.com>
1112 * target-delegates.c: Rebuild.
1113 * target.c (update_current_target): Don't inherit or default
1115 * target.h (struct target_ops) <to_load>: Use
1116 TARGET_DEFAULT_NORETURN.
1118 2014-02-19 Tom Tromey <tromey@redhat.com>
1120 * target-delegates.c: Rebuild.
1121 * target.c (update_current_target): Don't inherit or default
1123 * target.h (struct target_ops) <to_terminal_info>: Use
1124 TARGET_DEFAULT_FUNC.
1126 2014-02-19 Tom Tromey <tromey@redhat.com>
1128 * target-delegates.c: Rebuild.
1129 * target.c (update_current_target): Don't inherit or default
1130 to_terminal_save_ours.
1131 * target.h (struct target_ops) <to_terminal_save_ours>: Use
1132 TARGET_DEFAULT_IGNORE.
1134 2014-02-19 Tom Tromey <tromey@redhat.com>
1136 * target-delegates.c: Rebuild.
1137 * target.c (update_current_target): Don't inherit or default
1139 * target.h (struct target_ops) <to_terminal_ours>: Use
1140 TARGET_DEFAULT_IGNORE.
1142 2014-02-19 Tom Tromey <tromey@redhat.com>
1144 * target-delegates.c: Rebuild.
1145 * target.c (update_current_target): Don't inherit or default
1146 to_terminal_ours_for_output.
1147 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
1148 TARGET_DEFAULT_IGNORE.
1150 2014-02-19 Tom Tromey <tromey@redhat.com>
1152 * target-delegates.c: Rebuild.
1153 * target.c (update_current_target): Don't inherit or default
1154 to_terminal_inferior.
1155 * target.h (struct target_ops) <to_terminal_inferior>: Use
1156 TARGET_DEFAULT_IGNORE.
1158 2014-02-19 Tom Tromey <tromey@redhat.com>
1160 * target-delegates.c: Rebuild.
1161 * target.c (update_current_target): Don't inherit or default
1163 * target.h (struct target_ops) <to_terminal_init>: Use
1164 TARGET_DEFAULT_IGNORE.
1166 2014-02-19 Tom Tromey <tromey@redhat.com>
1168 * target-delegates.c: Rebuild.
1169 * target.c (update_current_target): Don't inherit or default
1170 to_can_accel_watchpoint_condition.
1171 * target.h (struct target_ops)
1172 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
1174 2014-02-19 Tom Tromey <tromey@redhat.com>
1176 * target-delegates.c: Rebuild.
1177 * target.c (update_current_target): Don't inherit or default
1178 to_region_ok_for_hw_watchpoint.
1179 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1180 Use TARGET_DEFAULT_FUNC.
1182 2014-02-19 Tom Tromey <tromey@redhat.com>
1184 * target-delegates.c: Rebuild.
1185 * target.c (update_current_target): Don't inherit or default
1186 to_watchpoint_addr_within_range.
1187 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
1188 Use TARGET_DEFAULT_FUNC.
1190 2014-02-19 Tom Tromey <tromey@redhat.com>
1192 * target-delegates.c: Rebuild.
1193 * target.c (update_current_target): Don't inherit or default
1194 to_remove_watchpoint.
1195 * target.h (struct target_ops) <to_remove_watchpoint>: Use
1196 TARGET_DEFAULT_NORETURN.
1198 2014-02-19 Tom Tromey <tromey@redhat.com>
1200 * target-delegates.c: Rebuild.
1201 * target.c (update_current_target): Don't inherit or default
1202 to_insert_watchpoint.
1203 * target.h (struct target_ops) <to_insert_watchpoint>: Use
1204 TARGET_DEFAULT_RETURN.
1206 2014-02-19 Tom Tromey <tromey@redhat.com>
1208 * target-delegates.c: Rebuild.
1209 * target.c (update_current_target): Don't inherit or default
1210 to_remove_hw_breakpoint.
1211 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
1212 TARGET_DEFAULT_RETURN.
1214 2014-02-19 Tom Tromey <tromey@redhat.com>
1216 * target-delegates.c: Rebuild.
1217 * target.c (update_current_target): Don't inherit or default
1218 to_insert_hw_breakpoint.
1219 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
1220 TARGET_DEFAULT_RETURN.
1222 2014-02-19 Tom Tromey <tromey@redhat.com>
1224 * target-delegates.c: Rebuild.
1225 * target.c (update_current_target): Don't inherit or default
1226 to_can_use_hw_breakpoint.
1227 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
1228 TARGET_DEFAULT_RETURN.
1230 2014-02-19 Tom Tromey <tromey@redhat.com>
1232 * target-delegates.c: Rebuild.
1233 * target.c (update_current_target): Don't inherit or default
1235 * target.h (struct target_ops) <to_files_info>: Use
1236 TARGET_DEFAULT_IGNORE.
1238 2014-02-19 Tom Tromey <tromey@redhat.com>
1240 * target-delegates.c: Rebuild.
1241 * target.c (update_current_target): Don't inherit or default
1243 * target.h (struct target_ops) <to_store>: Use
1244 TARGET_DEFAULT_NORETURN.
1246 2014-02-19 Tom Tromey <tromey@redhat.com>
1248 * target-delegates.c: Rebuild.
1249 * target.c (update_current_target): Don't inherit or default
1251 * target.h (struct target_ops) <to_post_attach>: Use
1252 TARGET_DEFAULT_IGNORE.
1254 2014-02-19 Tom Tromey <tromey@redhat.com>
1256 * target-delegates.c: Rebuild.
1257 * target.c (update_current_target): Don't inherit or default
1259 (default_rcmd): New function.
1260 (do_monitor_command): Unconditionally delegate.
1261 * target.h (struct target_ops) <to_rmcd>: Use
1262 TARGET_DEFAULT_FUNC.
1264 2014-02-19 Tom Tromey <tromey@redhat.com>
1266 * target-delegates.c: Rebuild.
1267 * target.c (init_dummy_target): Don't initialize to_attach.
1268 (target_attach): Unconditionally delegate.
1269 * target.h (struct target_ops) <to_attach>: Use
1270 TARGET_DEFAULT_FUNC.
1272 2014-02-19 Tom Tromey <tromey@redhat.com>
1274 * target-delegates.c: Rebuild.
1275 * target.c (target_detach): Unconditionally delegate.
1276 (init_dummy_target): Don't initialize to_detach.
1277 * target.h (struct target_ops) <to_detach>: Use
1278 TARGET_DEFAULT_IGNORE.
1280 2014-02-19 Tom Tromey <tromey@redhat.com>
1282 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1284 (target_augmented_libraries_svr4_read): Add argument.
1285 * target.c (update_current_target): Update.
1286 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
1289 2014-02-19 Tom Tromey <tromey@redhat.com>
1291 * target.h (struct target_ops) <to_call_history_range>: Add
1293 * target.c (target_call_history_range): Add argument.
1294 * record-btrace.c (record_btrace_call_history_range): Add 'self'
1296 (record_btrace_call_history_from): Update.
1298 2014-02-19 Tom Tromey <tromey@redhat.com>
1300 * target.h (struct target_ops) <to_call_history_from>: Add
1302 * target.c (target_call_history_from): Add argument.
1303 * record-btrace.c (record_btrace_call_history_from): Add 'self'
1306 2014-02-19 Tom Tromey <tromey@redhat.com>
1308 * target.h (struct target_ops) <to_call_history>: Add argument.
1309 * target.c (target_call_history): Add argument.
1310 * record-btrace.c (record_btrace_call_history): Add 'self'
1313 2014-02-19 Tom Tromey <tromey@redhat.com>
1315 * target.h (struct target_ops) <to_insn_history_range>: Add
1317 * target.c (target_insn_history_range): Add argument.
1318 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
1320 (record_btrace_insn_history_from): Update.
1322 2014-02-19 Tom Tromey <tromey@redhat.com>
1324 * target.h (struct target_ops) <to_insn_history_from>: Add
1326 * target.c (target_insn_history_from): Add argument.
1327 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
1330 2014-02-19 Tom Tromey <tromey@redhat.com>
1332 * target.h (struct target_ops) <to_insn_history>: Add argument.
1333 * target.c (target_insn_history): Add argument.
1334 * record-btrace.c (record_btrace_insn_history): Add 'self'
1337 2014-02-19 Tom Tromey <tromey@redhat.com>
1339 * target.h (struct target_ops) <to_goto_record>: Add argument.
1340 * target.c (target_goto_record): Add argument.
1341 * record-full.c (record_full_goto): Add 'self' argument.
1342 * record-btrace.c (record_btrace_goto): Add 'self' argument.
1344 2014-02-19 Tom Tromey <tromey@redhat.com>
1346 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
1347 * target.c (target_goto_record_end): Add argument.
1348 * record-full.c (record_full_goto_end): Add 'self' argument.
1349 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
1351 2014-02-19 Tom Tromey <tromey@redhat.com>
1353 * target.h (struct target_ops) <to_goto_record_begin>: Add
1355 * target.c (target_goto_record_begin): Add argument.
1356 * record-full.c (record_full_goto_begin): Add 'self' argument.
1357 * record-btrace.c (record_btrace_goto_begin): Add 'self'
1360 2014-02-19 Tom Tromey <tromey@redhat.com>
1362 * target.h (struct target_ops) <to_record_is_replaying>: Add
1364 * target.c (target_record_is_replaying): Add argument.
1365 * record-full.c (record_full_is_replaying): Add 'self' argument.
1366 * record-btrace.c (record_btrace_is_replaying): Add 'self'
1368 (record_btrace_xfer_partial, record_btrace_store_registers)
1369 (record_btrace_prepare_to_store, record_btrace_resume)
1370 (record_btrace_wait, record_btrace_decr_pc_after_break)
1371 (record_btrace_find_new_threads, record_btrace_thread_alive):
1374 2014-02-19 Tom Tromey <tromey@redhat.com>
1376 * target.h (struct target_ops) <to_delete_record>: Add argument.
1377 * target.c (target_delete_record): Add argument.
1378 * record-full.c (record_full_delete): Add 'self' argument.
1380 2014-02-19 Tom Tromey <tromey@redhat.com>
1382 * target.h (struct target_ops) <to_save_record>: Add argument.
1383 * target.c (target_save_record): Add argument.
1384 * record-full.c (record_full_save): Add 'self' argument.
1385 (record_full_save): Add 'self' argument.
1387 2014-02-19 Tom Tromey <tromey@redhat.com>
1389 * target.h (struct target_ops) <to_info_record>: Add argument.
1390 * target.c (target_info_record): Add argument.
1391 * record.c (info_record_command): Add argument.
1392 * record-full.c (record_full_info): Add 'self' argument.
1393 * record-btrace.c (record_btrace_info): Add 'self' argument.
1395 2014-02-19 Tom Tromey <tromey@redhat.com>
1397 * target.h (struct target_ops) <to_stop_recording>: Add argument.
1398 * target.c (target_stop_recording): Add argument.
1399 * record.c (record_stop): Add argument.
1400 * record-btrace.c (record_btrace_stop_recording): Add 'self'
1403 2014-02-19 Tom Tromey <tromey@redhat.com>
1405 * target.h (struct target_ops) <to_read_btrace>: Add argument.
1406 * target.c (struct target_ops) <to_read_btrace>: Add argument.
1407 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
1409 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
1410 (_initialize_amd64_linux_nat): Use it.
1411 * i386-linux-nat.c (i386_linux_read_btrace): New function.
1412 (_initialize_i386_linux_nat): Use it.
1414 2014-02-19 Tom Tromey <tromey@redhat.com>
1416 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
1417 * target.c (target_teardown_btrace): Add argument.
1418 * remote.c (remote_teardown_btrace): Add 'self' argument.
1419 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
1421 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
1424 2014-02-19 Tom Tromey <tromey@redhat.com>
1426 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
1427 * target.c (target_disable_btrace): Add argument.
1428 * remote.c (remote_disable_btrace): Add 'self' argument.
1429 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
1431 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
1434 2014-02-19 Tom Tromey <tromey@redhat.com>
1436 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
1437 * target.c (target_enable_btrace): Add argument.
1438 * remote.c (remote_enable_btrace): Add 'self' argument.
1439 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
1441 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
1444 2014-02-19 Tom Tromey <tromey@redhat.com>
1446 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
1447 (target_can_use_agent): Add argument.
1448 * target.c (update_current_target): Update.
1449 * remote.c (remote_can_use_agent): Add 'self' argument.
1450 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
1452 2014-02-19 Tom Tromey <tromey@redhat.com>
1454 * target.h (struct target_ops) <to_use_agent>: Add argument.
1455 (target_use_agent): Add argument.
1456 * target.c (update_current_target): Update.
1457 * remote.c (remote_use_agent): Add 'self' argument.
1458 * inf-child.c (inf_child_use_agent): Add 'self' argument.
1460 2014-02-19 Tom Tromey <tromey@redhat.com>
1462 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
1463 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
1464 (target_traceframe_info): Add argument.
1465 * target.c (update_current_target): Update.
1466 * remote.c (remote_traceframe_info): Add 'self' argument.
1467 * ctf.c (ctf_traceframe_info): Add 'self' argument.
1469 2014-02-19 Tom Tromey <tromey@redhat.com>
1471 * target.h (target_static_tracepoint_markers_by_strid): Add
1473 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
1475 * target.c (update_current_target): Update.
1476 * remote.c (struct target_ops)
1477 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1478 * linux-nat.c (struct target_ops)
1479 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1481 2014-02-19 Tom Tromey <tromey@redhat.com>
1483 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1485 (target_static_tracepoint_marker_at): Add argument.
1486 * target.c (update_current_target): Update.
1487 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
1490 2014-02-19 Tom Tromey <tromey@redhat.com>
1492 * target.h (struct target_ops) <to_set_permissions>: Add argument.
1493 (target_set_permissions): Add argument.
1494 * target.c (update_current_target): Update.
1495 * remote.c (remote_set_permissions): Add 'self' argument.
1496 (remote_start_remote): Update.
1498 2014-02-19 Tom Tromey <tromey@redhat.com>
1500 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
1501 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
1502 (target_get_tib_address): Add argument.
1503 * target.c (update_current_target): Update.
1504 * remote.c (remote_get_tib_address): Add 'self' argument.
1506 2014-02-19 Tom Tromey <tromey@redhat.com>
1508 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
1509 (target_set_trace_notes): Add argument.
1510 * target.c (update_current_target): Update.
1511 * remote.c (remote_set_trace_notes): Add 'self' argument.
1513 2014-02-19 Tom Tromey <tromey@redhat.com>
1515 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
1517 (target_set_trace_buffer_size): Add argument.
1518 * target.c (update_current_target): Update.
1519 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
1521 2014-02-19 Tom Tromey <tromey@redhat.com>
1523 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
1525 (target_set_circular_trace_buffer): Add argument.
1526 * target.c (update_current_target): Update.
1527 * remote.c (remote_set_circular_trace_buffer): Add 'self'
1530 2014-02-19 Tom Tromey <tromey@redhat.com>
1532 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
1534 (target_set_disconnected_tracing): Add argument.
1535 * target.c (update_current_target): Update.
1536 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
1538 2014-02-19 Tom Tromey <tromey@redhat.com>
1540 * target.h (struct target_ops)
1541 <to_get_min_fast_tracepoint_insn_len>: Add argument.
1542 (target_get_min_fast_tracepoint_insn_len): Add argument.
1543 * target.c (update_current_target): Update.
1544 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
1547 2014-02-19 Tom Tromey <tromey@redhat.com>
1549 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
1551 (target_get_raw_trace_data): Add argument.
1552 * target.c (update_current_target): Update.
1553 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
1555 2014-02-19 Tom Tromey <tromey@redhat.com>
1557 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1559 (target_upload_trace_state_variables): Add argument.
1560 * target.c (update_current_target): Update.
1561 * remote.c (remote_upload_trace_state_variables): Add 'self'
1563 (remote_start_remote): Update.
1565 2014-02-19 Tom Tromey <tromey@redhat.com>
1567 * target.h (struct target_ops) <to_upload_tracepoints>: Add
1569 (target_upload_tracepoints): Add argument.
1570 * target.c (update_current_target): Update.
1571 * remote.c (remote_upload_tracepoints): Add 'self' argument.
1572 (remote_start_remote): Update.
1574 2014-02-19 Tom Tromey <tromey@redhat.com>
1576 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
1577 (target_save_trace_data): Add argument.
1578 * target.c (update_current_target): Update.
1579 * remote.c (remote_save_trace_data): Add 'self' argument.
1581 2014-02-19 Tom Tromey <tromey@redhat.com>
1583 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
1585 * target.h (struct target_ops)
1586 <to_get_trace_state_variable_value>: Add argument.
1587 (target_get_trace_state_variable_value): Add argument.
1588 * target.c (update_current_target): Update.
1589 * remote.c (remote_get_trace_state_variable_value): Add 'self'
1591 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
1593 2014-02-19 Tom Tromey <tromey@redhat.com>
1595 * tracepoint.c (tfile_trace_find): Add 'self' argument.
1596 * target.h (struct target_ops) <to_trace_find>: Add argument.
1597 (target_trace_find): Add argument.
1598 * target.c (update_current_target): Update.
1599 * remote.c (remote_trace_find): Add 'self' argument.
1600 * ctf.c (ctf_trace_find): Add 'self' argument.
1602 2014-02-19 Tom Tromey <tromey@redhat.com>
1604 * target.h (struct target_ops) <to_trace_stop>: Add argument.
1605 (target_trace_stop): Add argument.
1606 * target.c (update_current_target): Update.
1607 * remote.c (remote_trace_stop): Add 'self' argument.
1609 2014-02-19 Tom Tromey <tromey@redhat.com>
1611 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
1612 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
1614 (target_get_tracepoint_status): Add argument.
1615 * target.c (update_current_target): Update.
1616 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
1618 2014-02-19 Tom Tromey <tromey@redhat.com>
1620 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
1621 * target.h (struct target_ops) <to_get_trace_status>: Add
1623 (target_get_trace_status): Add argument.
1624 * target.c (update_current_target): Update.
1625 * remote.c (remote_get_trace_status): Add 'self' argument.
1626 (remote_start_remote, remote_can_download_tracepoint): Update.
1627 * ctf.c (ctf_get_trace_status): Add 'self' argument.
1629 2014-02-19 Tom Tromey <tromey@redhat.com>
1631 * target.h (struct target_ops) <to_trace_start>: Add argument.
1632 (target_trace_start): Add argument.
1633 * target.c (update_current_target): Update.
1634 * remote.c (remote_trace_start): Add 'self' argument.
1636 2014-02-19 Tom Tromey <tromey@redhat.com>
1638 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1640 (target_trace_set_readonly_regions): Add argument.
1641 * target.c (update_current_target): Update.
1642 * remote.c (remote_trace_set_readonly_regions): Add 'self'
1645 2014-02-19 Tom Tromey <tromey@redhat.com>
1647 * target.h (struct target_ops) <to_disable_tracepoint>: Add
1649 (target_disable_tracepoint): Add argument.
1650 * target.c (update_current_target): Update.
1651 * remote.c (remote_disable_tracepoint): Add 'self' argument.
1653 2014-02-19 Tom Tromey <tromey@redhat.com>
1655 * target.h (struct target_ops) <to_enable_tracepoint>: Add
1657 (target_enable_tracepoint): Add argument.
1658 * target.c (update_current_target): Update.
1659 * remote.c (remote_enable_tracepoint): Add 'self' argument.
1661 2014-02-19 Tom Tromey <tromey@redhat.com>
1663 * target.h (struct target_ops) <to_download_trace_state_variable>:
1665 (target_download_trace_state_variable): Add argument.
1666 * target.c (update_current_target): Update.
1667 * remote.c (remote_download_trace_state_variable): Add 'self'
1670 2014-02-19 Tom Tromey <tromey@redhat.com>
1672 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
1674 (target_can_download_tracepoint): Add argument.
1675 * target.c (update_current_target): Update.
1676 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
1678 2014-02-19 Tom Tromey <tromey@redhat.com>
1680 * target.h (struct target_ops) <to_download_tracepoint>: Add
1682 (target_download_tracepoint): Add argument.
1683 * target.c (update_current_target): Update.
1684 * remote.c (remote_download_tracepoint): Add 'self' argument.
1686 2014-02-19 Tom Tromey <tromey@redhat.com>
1688 * target.h (struct target_ops) <to_trace_init>: Add argument.
1689 (target_trace_init): Add argument.
1690 * target.c (update_current_target): Update.
1691 * remote.c (remote_trace_init): Add 'self' argument.
1693 2014-02-19 Tom Tromey <tromey@redhat.com>
1695 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1696 * target.c (target_fileio_readlink): Add argument.
1697 * remote.c (remote_hostio_readlink): Add 'self' argument.
1698 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1700 2014-02-19 Tom Tromey <tromey@redhat.com>
1702 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1703 * target.c (target_fileio_unlink): Add argument.
1704 * remote.c (remote_hostio_unlink): Add 'self' argument.
1705 (remote_file_delete): Update.
1706 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1708 2014-02-19 Tom Tromey <tromey@redhat.com>
1710 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1711 * target.c (target_fileio_close): Add argument.
1712 * remote.c (remote_hostio_close): Add 'self' argument.
1713 (remote_hostio_close_cleanup): Update.
1714 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1716 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1718 2014-02-19 Tom Tromey <tromey@redhat.com>
1720 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1721 * target.c (target_fileio_pread): Add argument.
1722 * remote.c (remote_hostio_pread): Add 'self' argument.
1723 (remote_bfd_iovec_pread, remote_file_get): Update.
1724 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1726 2014-02-19 Tom Tromey <tromey@redhat.com>
1728 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1729 * target.c (target_fileio_pwrite): Add argument.
1730 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1731 (remote_file_put): Update.
1732 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1734 2014-02-19 Tom Tromey <tromey@redhat.com>
1736 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1737 * target.c (target_fileio_open): Add argument.
1738 * remote.c (remote_hostio_open): Add 'self' argument.
1739 (remote_bfd_iovec_open): Add 'self' argument.
1740 (remote_file_put): Add 'self' argument.
1741 (remote_file_get): Add 'self' argument.
1742 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1744 2014-02-19 Tom Tromey <tromey@redhat.com>
1746 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1748 (target_can_run_breakpoint_commands): Add argument.
1749 * target.c (update_current_target): Update.
1750 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1752 (remote_insert_breakpoint): Add 'self' argument.
1753 (remote_insert_hw_breakpoint): Add 'self' argument.
1754 (remote_can_run_breakpoint_commands): Add 'self' argument.
1756 2014-02-19 Tom Tromey <tromey@redhat.com>
1758 * target.h (struct target_ops)
1759 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1760 (target_supports_evaluation_of_breakpoint_conditions): Add
1762 * target.c (update_current_target): Update.
1763 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1765 (remote_insert_breakpoint): Add 'self' argument.
1766 (remote_insert_hw_breakpoint): Add 'self' argument.
1767 (remote_supports_cond_breakpoints): Add 'self' argument.
1769 2014-02-19 Tom Tromey <tromey@redhat.com>
1771 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1773 (target_supports_string_tracing): Add argument.
1774 * target.c (update_current_target): Update.
1775 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1777 2014-02-19 Tom Tromey <tromey@redhat.com>
1779 * target.h (struct target_ops)
1780 <to_supports_disable_randomization>: Add argument.
1781 * target.c (find_default_supports_disable_randomization): Add
1783 (target_supports_disable_randomization): Add argument.
1784 (find_default_supports_disable_randomization): Add 'self'
1786 * remote.c (extended_remote_supports_disable_randomization): Add
1788 (remote_supports_disable_randomization): Add 'self' argument.
1789 (extended_remote_create_inferior): Update.
1790 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1793 2014-02-19 Tom Tromey <tromey@redhat.com>
1795 * target.h (struct target_ops)
1796 <to_supports_enable_disable_tracepoint>: Add argument.
1797 (target_supports_enable_disable_tracepoint): Add argument.
1798 * target.c (update_current_target): Update.
1799 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1802 2014-02-19 Tom Tromey <tromey@redhat.com>
1804 * target.h (struct target_ops) <to_supports_multi_process>: Add
1806 (target_supports_multi_process): Add argument.
1807 * target.c (update_current_target): Update.
1808 * remote.c (remote_supports_multi_process): Add 'self' argument.
1809 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1811 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1814 2014-02-19 Tom Tromey <tromey@redhat.com>
1816 * target.h (struct target_ops) <to_execution_direction>: Add
1818 (target_execution_direction): Add argument.
1819 * target.c (default_execution_direction): Add 'self' argument.
1820 * record-full.c (record_full_execution_direction): Add 'self'
1823 2014-02-19 Tom Tromey <tromey@redhat.com>
1825 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1827 (target_can_execute_reverse): Add argument.
1828 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1829 * record-full.c (record_full_can_execute_reverse): Add 'self'
1831 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1834 2014-02-19 Tom Tromey <tromey@redhat.com>
1836 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1837 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1839 (target_get_ada_task_ptid): Add argument.
1840 * target.c (update_current_target): Update.
1841 (default_get_ada_task_ptid): Add 'self' argument.
1842 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1843 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1844 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1846 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1848 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1850 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1852 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1853 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1856 2014-02-19 Tom Tromey <tromey@redhat.com>
1858 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1859 (target_goto_bookmark): Add argument.
1860 * target.c (dummy_goto_bookmark): Add 'self' argument.
1861 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1863 2014-02-19 Tom Tromey <tromey@redhat.com>
1865 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1866 (target_get_bookmark): Add argument.
1867 * target.c (dummy_get_bookmark): Add 'self' argument.
1868 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1870 2014-02-19 Tom Tromey <tromey@redhat.com>
1872 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1874 (target_make_corefile_notes): Add argument.
1875 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1876 * procfs.c (procfs_make_note_section): Add 'self' argument.
1877 (procfs_make_note_section): Add 'self' argument.
1878 (procfs_make_note_section): Add 'self' argument.
1879 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1881 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1882 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1883 * exec.c (exec_make_note_section): Add 'self' argument.
1884 (exec_make_note_section): Add 'self' argument.
1886 2014-02-19 Tom Tromey <tromey@redhat.com>
1888 * target.h (struct target_ops) <to_find_memory_regions>: Add
1890 (target_find_memory_regions): Add argument.
1891 * target.c (dummy_find_memory_regions): Add 'self' argument.
1892 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1893 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1894 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1895 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1896 * exec. (exec_do_find_memory_regions): New global.
1897 (exec_set_find_memory_regions): Rewrite.
1898 (exec_find_memory_regions): New function.
1899 (init_exec_ops): Use exec_find_memory_regions.
1901 2014-02-19 Tom Tromey <tromey@redhat.com>
1903 * target.h (struct target_ops) <to_supports_non_stop>: Add
1905 * target.c (find_default_supports_non_stop): Add argument.
1906 (target_supports_non_stop): Add argument.
1907 (find_default_supports_non_stop): Add 'self' argument.
1908 * remote.c (remote_supports_non_stop): Add 'self' argument.
1909 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1911 2014-02-19 Tom Tromey <tromey@redhat.com>
1913 * target.h (struct target_ops) <to_log_command>: Add argument.
1914 (target_log_command): Add argument.
1915 * serial.h (serial_log_command): Add 'self' argument.
1916 * serial.c (serial_log_command): Add 'self' argument.
1918 2014-02-19 Tom Tromey <tromey@redhat.com>
1920 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1921 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1923 (target_pid_to_exec_file): Add argument.
1924 * target.c (debug_to_pid_to_exec_file): Add argument.
1925 (update_current_target): Update.
1926 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1927 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1928 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1929 (linux_handle_extended_wait): Update.
1930 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1931 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1932 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1933 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1935 2014-02-19 Tom Tromey <tromey@redhat.com>
1937 * target.h (struct target_ops) <to_rcmd>: Add argument.
1938 (target_rcmd): Add argument.
1939 * target.c (debug_to_rcmd): Add argument.
1940 (update_current_target, do_monitor_command): Update.
1941 * remote.c (remote_rcmd): Add 'self' argument.
1942 * monitor.c (monitor_rcmd): Add 'self' argument.
1944 2014-02-19 Tom Tromey <tromey@redhat.com>
1946 * windows-nat.c (windows_stop): Add 'self' argument.
1947 * target.h (struct target_ops) <to_stop>: Add argument.
1948 * target.c (target_stop): Add argument.
1949 (debug_to_stop): Add argument.
1950 (update_current_target): Update.
1951 * remote.c (remote_stop): Add 'self' argument.
1952 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1953 (gdbsim_cntrl_c): Update.
1954 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1955 * procfs.c (procfs_stop): Add 'self' argument.
1956 * nto-procfs.c (procfs_stop): Add 'self' argument.
1957 * monitor.c (monitor_stop): Add 'self' argument.
1958 (monitor_open): Update.
1959 * linux-nat.c (linux_nat_stop): Add argument.
1960 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1961 * gnu-nat.c (gnu_stop): Add 'self' argument.
1962 * darwin-nat.c (darwin_stop): Add 'self' argument.
1964 2014-02-19 Tom Tromey <tromey@redhat.com>
1966 * target.h (struct target_ops) <to_thread_name>: Add argument.
1967 * target.c (target_thread_name): Add argument.
1968 (update_current_target): Update.
1969 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
1971 2014-02-19 Tom Tromey <tromey@redhat.com>
1973 * target.h (struct target_ops) <to_extra_thread_info>: Add
1975 (target_extra_thread_info): Add argument.
1976 * target.c (update_current_target): Update.
1977 * remote.c (remote_threads_extra_info): Add 'self' argument.
1978 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
1980 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
1981 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
1982 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
1984 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
1986 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
1988 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
1991 2014-02-19 Tom Tromey <tromey@redhat.com>
1993 * target.h (struct target_ops) <to_program_signals>: Add argument.
1994 * target.c (target_program_signals): Add argument.
1995 * remote.c (remote_program_signals): Add 'self' argument.
1997 2014-02-19 Tom Tromey <tromey@redhat.com>
1999 * target.h (struct target_ops) <to_pass_signals>: Add argument.
2000 * target.c (target_pass_signals): Add argument.
2001 * remote.c (remote_pass_signals): Add 'self' argument.
2002 (remote_start_remote): Update.
2003 * procfs.c (procfs_pass_signals): Add 'self' argument.
2004 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
2005 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
2006 (linux_nat_create_inferior, linux_nat_attach): Update.
2008 2014-02-19 Tom Tromey <tromey@redhat.com>
2010 * windows-nat.c (windows_can_run): Add 'self' argument.
2011 * target.h (struct target_ops) <to_can_run>: Add argument.
2012 (target_can_run): Add argument.
2013 * target.c (debug_to_can_run): Add argument.
2014 (update_current_target): Update.
2015 * nto-procfs.c (procfs_can_run): Add 'self' argument.
2016 * inf-child.c (inf_child_can_run): Add 'self' argument.
2017 * go32-nat.c (go32_can_run): Add 'self' argument.
2019 2014-02-19 Tom Tromey <tromey@redhat.com>
2021 * target.h (struct target_ops) <to_has_exited>: Add argument.
2022 (target_has_exited): Add argument.
2023 * target.c (debug_to_has_exited): Add argument.
2024 (update_current_target): Update.
2026 2014-02-19 Tom Tromey <tromey@redhat.com>
2028 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
2030 (target_set_syscall_catchpoint): Add argument.
2031 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
2033 * target.c (update_current_target): Update.
2035 2014-02-19 Tom Tromey <tromey@redhat.com>
2037 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
2039 (target_remove_exec_catchpoint): Add argument.
2040 * target.c (debug_to_remove_exec_catchpoint): Add argument.
2041 (update_current_target): Update.
2042 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
2045 2014-02-19 Tom Tromey <tromey@redhat.com>
2047 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
2049 (target_insert_exec_catchpoint): Add argument.
2050 * target.c (debug_to_insert_exec_catchpoint): Add argument.
2051 (update_current_target): Update.
2052 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
2055 2014-02-19 Tom Tromey <tromey@redhat.com>
2057 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
2059 (target_remove_vfork_catchpoint): Add argument.
2060 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
2061 (update_current_target): Update.
2062 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
2065 2014-02-19 Tom Tromey <tromey@redhat.com>
2067 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
2069 (target_insert_vfork_catchpoint): Add argument.
2070 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
2071 (update_current_target): Update.
2072 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
2075 2014-02-19 Tom Tromey <tromey@redhat.com>
2077 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
2079 (target_remove_fork_catchpoint): Add argument.
2080 * target.c (debug_to_remove_fork_catchpoint): Add argument.
2081 (update_current_target): Update.
2082 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
2085 2014-02-19 Tom Tromey <tromey@redhat.com>
2087 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
2089 (target_insert_fork_catchpoint): Add argument.
2090 * target.c (debug_to_insert_fork_catchpoint): Add argument.
2091 (update_current_target): Update.
2092 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
2095 2014-02-19 Tom Tromey <tromey@redhat.com>
2097 * target.h (struct target_ops) <to_post_startup_inferior>: Add
2099 (target_post_startup_inferior): Add argument.
2100 * target.c (debug_to_post_startup_inferior): Add argument.
2101 (update_current_target): Update.
2102 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
2104 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
2106 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
2108 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
2110 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
2112 (super_post_startup_inferior): Likewise.
2113 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
2115 (super_post_startup_inferior): Likewise.
2116 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
2117 Add 'self' argument.
2118 (super_post_startup_inferior): Likewise.
2120 2014-02-19 Tom Tromey <tromey@redhat.com>
2122 * target.h (struct target_ops) <to_load>: Add argument.
2123 * target.c (target_load): Add argument.
2124 (debug_to_load): Add argument.
2125 (update_current_target): Update.
2126 * remote.c (remote_load): Add 'self' argument.
2127 * remote-sim.c (gdbsim_load): Add 'self' argument.
2128 * remote-mips.c (mips_load): Add 'self' argument.
2129 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
2130 * monitor.c (monitor_load): Add 'self' argument.
2131 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
2133 2014-02-19 Tom Tromey <tromey@redhat.com>
2135 * target.h (struct target_ops) <to_terminal_info>: Add argument.
2136 (target_terminal_info): Add argument.
2137 * target.c (debug_to_terminal_info): Add argument.
2138 (default_terminal_info): Likewise.
2139 * inflow.c (child_terminal_info): Add 'self' argument.
2140 * inferior.h (child_terminal_info): Add 'self' argument.
2141 * go32-nat.c (go32_terminal_info): Add 'self' argument.
2143 2014-02-19 Tom Tromey <tromey@redhat.com>
2145 * target.h (struct target_ops) <to_terminal_save_ours>: Add
2147 (target_terminal_save_ours): Add argument.
2148 * target.c (debug_to_terminal_save_ours): Add argument.
2149 (update_current_target): Update.
2150 * inflow.c (terminal_save_ours): Add 'self' argument.
2151 * inferior.h (terminal_save_ours): Add 'self' argument.
2153 2014-02-19 Tom Tromey <tromey@redhat.com>
2155 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
2156 (target_terminal_ours): Add argument.
2157 * target.c (debug_to_terminal_ours): Add argument.
2158 (update_current_target): Update.
2159 * remote.c (remote_terminal_ours): Add 'self' argument.
2160 (remote_close): Update.
2161 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
2162 * inflow.c (terminal_ours): Add 'self' argument.
2163 * inferior.h (terminal_ours): Add 'self' argument.
2164 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2166 2014-02-19 Pedro Alves <palves@redhat.com>
2167 Tom Tromey <tromey@redhat.com>
2169 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
2171 (target_terminal_ours_for_output): Add argument.
2172 * target.c (debug_to_terminal_ours_for_output): Add argument.
2173 (update_current_target): Update.
2174 * inflow.c (terminal_ours_for_output): Add 'self' argument.
2175 * inferior.h (terminal_ours_for_output): Add 'self' argument.
2176 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2178 2014-02-19 Tom Tromey <tromey@redhat.com>
2180 * target.h (struct target_ops) <to_terminal_inferior>: Add
2182 * target.c (target_terminal_inferior): Add argument.
2183 (update_current_target): Update.
2184 * remote.c (remote_terminal_inferior): Add 'self' argument.
2185 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
2186 * inflow.c (terminal_inferior): Add 'self' argument.
2187 * inferior.h (terminal_inferior): Add 'self' argument.
2188 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
2189 (go32_terminal_inferior): Add 'self' argument.
2191 2014-02-19 Tom Tromey <tromey@redhat.com>
2193 * target.h (struct target_ops) <to_terminal_init>: Add argument.
2194 (target_terminal_init): Add argument.
2195 * target.c (debug_to_terminal_init): Add argument.
2196 (update_current_target): Update.
2197 * inflow.c (terminal_init_inferior): Add 'self' argument.
2198 * inferior.h (terminal_init_inferior): Add 'self' argument.
2199 * go32-nat.c (go32_terminal_init): Add 'self' argument.
2200 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
2202 2014-02-19 Tom Tromey <tromey@redhat.com>
2204 * target.h (struct target_ops)
2205 <to_can_accel_watchpoint_condition>: Add argument.
2206 (target_can_accel_watchpoint_condition): Add argument.
2207 * target.c (debug_to_can_accel_watchpoint_condition): Add
2209 (update_current_target): Update.
2210 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
2213 2014-02-19 Tom Tromey <tromey@redhat.com>
2215 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2217 (target_region_ok_for_hw_watchpoint): Add argument.
2218 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
2219 (default_region_ok_for_hw_watchpoint): Add argument.
2220 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
2221 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
2223 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
2225 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
2227 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
2229 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
2231 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
2233 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
2234 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
2236 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
2237 Add 'self' argument.
2239 2014-02-19 Tom Tromey <tromey@redhat.com>
2241 * target.h (struct target_ops) <to_insert_watchpoint>: Add
2243 (target_insert_watchpoint): Add argument.
2244 * target.c (debug_to_insert_watchpoint): Add argument.
2245 (update_current_target): Update.
2246 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
2247 * remote.c (remote_insert_watchpoint): Add 'self' argument.
2248 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
2249 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
2250 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
2251 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
2253 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
2254 (procfs_insert_hw_watchpoint): Add 'self' argument.
2255 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
2257 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
2259 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
2261 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
2262 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
2264 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
2267 2014-02-19 Tom Tromey <tromey@redhat.com>
2269 * target.h (struct target_ops) <to_remove_watchpoint>: Add
2271 (target_remove_watchpoint): Add argument.
2272 * target.c (debug_to_remove_watchpoint): Add argument.
2273 (update_current_target): Update.
2274 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
2275 * remote.c (remote_remove_watchpoint): Add 'self' argument.
2276 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
2277 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
2278 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
2279 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
2281 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
2282 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
2284 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
2286 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
2288 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
2289 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
2291 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
2294 2014-02-19 Tom Tromey <tromey@redhat.com>
2296 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
2298 (target_remove_hw_breakpoint): Add argument.
2299 * target.c (debug_to_remove_hw_breakpoint): Add argument.
2300 (update_current_target): Update.
2301 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
2302 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
2304 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
2305 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
2307 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
2310 2014-02-19 Tom Tromey <tromey@redhat.com>
2312 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
2314 (target_insert_hw_breakpoint): Add argument.
2315 * target.c (debug_to_insert_hw_breakpoint): Add argument.
2316 (update_current_target): Update.
2317 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
2318 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
2320 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
2321 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
2322 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
2324 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
2327 2014-02-19 Tom Tromey <tromey@redhat.com>
2329 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
2331 (target_can_use_hardware_watchpoint): Add argument.
2332 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
2333 (update_current_target): Update.
2334 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
2336 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
2338 * remote.c (remote_check_watch_resources): Add 'self' argument.
2339 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
2340 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
2342 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
2343 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
2345 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
2347 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
2349 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
2351 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
2353 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
2355 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
2356 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
2358 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
2361 2014-02-19 Tom Tromey <tromey@redhat.com>
2363 * target.h (struct target_ops) <to_post_attach>: Add argument.
2364 (target_post_attach): Add argument.
2365 * target.c (debug_to_post_attach): Add argument.
2366 (update_current_target): Update.
2367 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
2368 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
2369 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
2370 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
2371 * inf-child.c (inf_child_post_attach): Add 'self' argument.
2373 2014-02-19 Tom Tromey <tromey@redhat.com>
2375 * windows-nat.c (windows_close): Add 'self' argument.
2376 * tracepoint.c (tfile_close): Add 'self' argument.
2377 * target.h (struct target_ops) <to_close>: Add argument.
2378 * target.c (target_close): Add argument.
2379 (update_current_target): Update.
2380 * remote.c (remote_close): Add 'self' argument.
2381 * remote-sim.c (gdbsim_close): Add 'self' argument.
2382 * remote-mips.c (mips_close): Add 'self' argument.
2383 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
2384 * record-full.c (record_full_close): Add 'self' argument.
2385 * record-btrace.c (record_btrace_close): Add 'self' argument.
2386 * monitor.h (monitor_close): Add 'self' argument.
2387 * monitor.c (monitor_close): Add 'self' argument.
2388 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
2389 * linux-nat.c (linux_nat_close): Add argument.
2390 * go32-nat.c (go32_close): Add 'self' argument.
2391 * exec.c (exec_close_1): Add 'self' argument.
2392 * ctf.c (ctf_close): Add 'self' argument.
2393 * corelow.c (core_close): Add 'self' argument.
2394 (core_close_cleanup): Update.
2395 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
2396 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
2398 2014-02-19 Tom Tromey <tromey@redhat.com>
2400 * remote.c (remote_load): New function.
2401 (init_remote_ops): Use it.
2403 2014-02-19 Tom Tromey <tromey@redhat.com>
2405 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
2407 * common/linux-btrace.h (linux_supports_btrace): Update.
2408 * remote.c (remote_supports_btrace): Add "self" argument.
2409 * target-delegates.c: Rebuild.
2410 * target.c (target_supports_btrace): Remove.
2411 * target.h (struct target_ops) <to_supports_btrace>: Add
2412 target_ops argument.
2413 (target_supports_btrace): New define.
2415 2014-02-19 Tom Tromey <tromey@redhat.com>
2417 * record-full.c (record_full_beneath_to_resume_ops)
2418 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
2419 (record_full_beneath_to_wait)
2420 (record_full_beneath_to_store_registers_ops)
2421 (record_full_beneath_to_store_registers)
2422 (record_full_beneath_to_xfer_partial_ops)
2423 (record_full_beneath_to_xfer_partial)
2424 (record_full_beneath_to_insert_breakpoint_ops)
2425 (record_full_beneath_to_insert_breakpoint)
2426 (record_full_beneath_to_remove_breakpoint_ops)
2427 (record_full_beneath_to_remove_breakpoint)
2428 (record_full_beneath_to_stopped_by_watchpoint)
2429 (record_full_beneath_to_stopped_data_address)
2430 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
2431 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
2432 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
2433 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
2434 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
2435 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
2436 (tmp_to_stopped_data_address, tmp_to_async): Remove.
2437 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
2438 (record_full_resume, record_full_wait_1)
2439 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
2440 (record_full_store_registers, record_full_xfer_partial)
2441 (record_full_insert_breakpoint, record_full_remove_breakpoint)
2442 (record_full_async, record_full_core_xfer_partial): Use target
2444 * target-delegates.c: Rebuild.
2445 * target.c (current_xfer_partial): Remove.
2446 (update_current_target): Do not INHERIT or de_fault
2447 to_insert_breakpoint, to_remove_breakpoint,
2448 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
2449 to_is_async_p, to_async. Do not set to_xfer_partial field.
2450 (default_xfer_partial): Simplify.
2451 (current_xfer_partial): Remove.
2452 (target_wait, target_resume): Simplify.
2453 (find_default_can_async_p, find_default_is_async_p): Update.
2454 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
2455 to_xfer_partial, to_stopped_by_watchpoint,
2456 to_stopped_data_address.
2457 (target_store_registers): Simplify.
2458 (forward_target_remove_breakpoint)
2459 (forward_target_insert_breakpoint): Remove.
2460 (target_remove_breakpoint, target_insert_breakpoint)
2461 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
2462 * target.h (struct target_ops) <to_resume, to_wait,
2463 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
2464 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
2465 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
2467 (forward_target_remove_breakpoint)
2468 (forward_target_insert_breakpoint): Remove.
2469 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
2471 (record_btrace_insert_breakpoint): Delegate directly.
2473 2014-02-19 Tom Tromey <tromey@redhat.com>
2476 * target-delegates.c: New file.
2477 * target.c: Include target-delegates.c.
2478 (init_dummy_target): Call install_dummy_methods.
2479 (complete_target_initialization): Call install_delegators.
2480 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
2481 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
2482 * make-target-delegates: New file.
2484 2014-02-19 Tom Tromey <tromey@redhat.com>
2486 * record.c (find_record_target): Use find_target_at.
2487 * target.c (find_target_at): New function.
2488 * target.h (find_target_at): Declare.
2490 2014-02-19 Tom Tromey <tromey@redhat.com>
2492 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
2494 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
2496 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
2497 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
2499 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
2501 * linux-nat.c (save_sigtrap): Update.
2502 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
2503 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
2504 (linux_nat_close): Update.
2505 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
2507 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
2509 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
2510 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
2511 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
2512 (tmp_to_async): Add 'ops' argument.
2513 (record_full_stopped_by_watchpoint, record_full_async)
2514 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
2516 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
2517 (m32r_stopped_by_watchpoint): Add 'ops' argument.
2518 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
2519 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
2520 (remote_is_async_p, remote_async): Add 'ops' argument.
2521 (remote_stopped_data_address): Update.
2522 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
2523 * target.c (update_current_target)
2524 (find_default_can_async_p, find_default_is_async_p): Update.
2525 (init_dummy_target): Update.
2526 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
2527 * target.h (struct target_ops) <to_stopped_by_watchpoint,
2528 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
2529 (target_can_async_p, target_is_async_p, target_async)
2530 (target_stopped_by_watchpoint): Update.
2532 2014-02-19 Yao Qi <yao@codesourcery.com>
2535 * gdbarch.sh: Remove startup_gdbarch.
2536 * gdbarch.c: Regenerated.
2537 * gdbarch.h: Likewise.
2539 2014-02-17 Kevin Buettner <kevinb@redhat.com>
2541 * rl78-tdep.c (rl78_g10_register_name): New function.
2542 (rl78_return_value): Add g10 support.
2543 (rl78_gdbarch_init): Register rl78_g10_register_name for the
2546 2014-02-17 Doug Evans <xdje42@gmail.com>
2548 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
2549 (SUBDIR_GUILE_SRCS): Ditto.
2550 (scm-gsmob.o): Ditto.
2552 2014-02-17 Yao Qi <yao@codesourcery.com>
2554 * gnu-nat.c (ILL_RPC): Declare defined function.
2556 2014-02-17 Yao Qi <yao@codesourcery.com>
2558 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
2559 mach_msg_type_number_t.
2560 (gnu_write_inferior): Likewise.
2562 2014-02-17 Yao Qi <yao@codesourcery.com>
2564 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
2566 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
2567 (inf_validate_procs, inf_signal): Likewise.
2568 (S_exception_raise_request): Likewise.
2569 (do_mach_notify_dead_name): Likewise.
2570 (steal_exc_port): Likewise.
2571 (gnu_read_inferior): Change 'copy_count''s type to
2572 mach_msg_type_number_t.
2573 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
2576 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
2578 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
2579 flag. Adjust all users; in particular...
2580 (gnu_wait): ..., don't decrement its value in here...
2581 (gnu_create_inferior): ..., and instead set the flag in here,
2582 around the startup_inferior call, and call that one with
2583 START_INFERIOR_TRAPS_EXPECTED.
2585 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
2586 (ILL_RPC): ... new macro.
2587 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
2588 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
2589 (do_mach_notify_send_once, S_proc_setmsgport_reply)
2590 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
2591 functions with ILL_RPC macro.
2592 (S_proc_pid2task_reply, S_proc_task2pid_reply)
2593 (S_proc_task2proc_reply, S_proc_proc2task_reply)
2594 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
2595 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
2596 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
2597 (S_proc_getlogin_reply, S_proc_getsid_reply)
2598 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
2599 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
2600 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
2601 (S_proc_getnports_reply, S_proc_is_important_reply)
2602 (S_proc_get_code_reply): New stub functions, generated with
2605 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
2606 collected the type check structures.
2608 * reply_mig_hack.awk: Don't expect to see the auto keyword.
2610 2014-02-14 Doug Evans <dje@google.com>
2612 * target.c (target_write_partial): Fix result type.
2614 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2616 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
2617 the proper offsets to access fpregset_t.
2619 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
2621 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
2622 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
2623 * h8300-tdep.c (setmachinelist): Remove global.
2624 * hppa-tdep.c (hppa_sigtramp): Remove global.
2625 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
2626 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
2627 * ravenscar-thread.c (update_target_observer): Remove global.
2628 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
2630 2014-02-12 Tom Tromey <tromey@redhat.com>
2632 * common/rsp-low.c: Update comments.
2633 * common/rsp-low.h: Update comments.
2635 2014-02-12 Tom Tromey <tromey@redhat.com>
2637 * common/rsp-low.c (convert_ascii_to_int): Remove.
2638 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
2640 2014-02-12 Tom Tromey <tromey@redhat.com>
2642 * common/rsp-low.h (unhexify): Don't declare.
2643 * common/rsp-low.c (unhexify): Remove.
2645 2014-02-12 Tom Tromey <tromey@redhat.com>
2647 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
2648 * common/rsp-low.c (convert_int_to_ascii): Remove.
2650 2014-02-12 Tom Tromey <tromey@redhat.com>
2652 * common/rsp-low.h (hexify): Don't declare.
2653 * common/rsp-low.c (hexify): Remove.
2655 2014-02-12 Tom Tromey <tromey@redhat.com>
2657 * common/rsp-low.c (hexify): Never take strlen of argument.
2659 2014-02-12 Tom Tromey <tromey@redhat.com>
2661 * common/rsp-low.c (bin2hex): Never take strlen of argument.
2662 * remote.c (extended_remote_run, remote_rcmd)
2663 (remote_download_trace_state_variable, remote_save_trace_data)
2664 (remote_set_trace_notes): Update.
2665 * tracepoint.c (encode_source_string, tfile_write_status)
2666 (tfile_write_uploaded_tsv): Update.
2668 2014-02-12 Tom Tromey <tromey@redhat.com>
2670 * tracepoint.c: Include rsp-low.h.
2671 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
2672 * remote.c: Include rsp-low.h.
2673 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
2674 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
2675 (remote_unescape_input): Move to common/rsp-low.c.
2676 * common/rsp-low.h: New file.
2677 * common/rsp-low.c: New file.
2678 * Makefile.in (SFILES): Add common/rsp-low.c.
2679 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
2680 (COMMON_OBS): Add rsp-low.o.
2681 (rsp-low.o): New target.
2683 2014-02-12 Tom Tromey <tromey@redhat.com>
2685 * utils.h: Include print-utils.h.
2686 (host_address_to_string, plongest, pulongest, phex, phex_nz)
2687 (int_string, core_addr_to_string, core_addr_to_string_nz)
2688 (hex_string, hex_string_custom): Don't declare.
2689 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2690 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2691 (hex_string_custom, int_string, core_addr_to_string)
2692 (core_addr_to_string_nz, host_address_to_string): Move to
2693 common/print-utils.c.
2694 * common/print-utils.h: New file.
2695 * common/print-utils.c: New file
2696 * Makefile.in (SFILES): Add common/print-utils.c.
2697 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2698 (COMMON_OBS): Add print-utils.o.
2699 (print-utils.o): New target.
2701 2014-02-12 Tom Tromey <tromey@redhat.com>
2703 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2705 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2707 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2709 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2711 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2712 if a PT_IO ptrace request returns sucessfully but indicates that 0
2713 bytes were transferred.
2715 2014-02-12 Pedro Alves <palves@redhat.com>
2716 Kevin Buettner <kevinb@redhat.com>
2718 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2719 TYPE_INSTANCE_FLAG_CODE_SPACE.
2721 2014-02-12 Pedro Alves <palves@redhat.com>
2723 * h8300-tdep.c (pseudo_from_raw_register)
2724 (raw_from_pseudo_register): New functions.
2725 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2728 2014-02-12 Pedro Alves <palves@redhat.com>
2730 * h8300-tdep.c (h8300_register_sim_regno): New function.
2731 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2732 gdbarch_register_sim_regno hook.
2734 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2736 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2738 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2740 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2742 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2744 * obsd-tdep.h (obsd_init_abi): New prototype.
2745 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2746 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2747 (obsd_init_abi): New functions.
2748 * i386obsd-tdep.c: Include "obsd-tdep.h".
2749 (i386obsd_init_abi): Call obsd_init_abi.
2750 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2751 (amd64obsd_init_abi): Call obsd_init_abi.
2752 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2753 obsd-tdep.c to gdb_target_obs.
2755 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2757 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2758 double float arguments to 16-byte in the argument slots.
2760 2014-02-11 Doug Evans <xdje42@gmail.com>
2762 * configure.ac: Don't crash if pkg-config is not found and guile
2763 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2765 * configure: Regenerate.
2767 2014-02-11 Yao Qi <yao@codesourcery.com>
2769 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2770 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2771 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2772 * gnu-nat.c (gnu_xfer_memory): Likewise.
2773 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2774 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2775 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2776 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2778 2014-02-11 Yao Qi <yao@codesourcery.com>
2780 * target.h (enum target_xfer_error): Rename to ...
2781 (enum target_xfer_status): ... it. New. All users updated.
2782 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2784 (TARGET_XFER_STATUS_ERROR_P): New macro.
2785 (target_xfer_error_to_string): Remove declaration.
2786 (target_xfer_status_to_string): Declare.
2787 (target_xfer_partial_ftype): Adjust it.
2788 (struct target_ops) <to_xfer_partial>: Return
2789 target_xfer_status. Add argument xfered_len. Update
2791 * target.c (target_xfer_error_to_string): Rename to ...
2792 (target_xfer_status_to_string): ... it. New. All callers
2794 (target_read_live_memory): Likewise. Call target_xfer_partial
2795 instead of target_read.
2796 (memory_xfer_live_readonly_partial): Return
2797 target_xfer_status. Add argument xfered_len.
2798 (raw_memory_xfer_partial): Likewise.
2799 (memory_xfer_partial_1): Likewise.
2800 (memory_xfer_partial): Likewise.
2801 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2802 properly. Update debug message.
2803 (default_xfer_partial, current_xfer_partial): Likewise.
2804 (target_write_partial): Likewise.
2805 (target_read_partial): Likewise. All callers updated.
2806 (read_whatever_is_readable): Likewise.
2807 (target_write_with_progress): Likewise.
2808 (target_read_alloc_1): Likewise.
2810 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2811 * auxv.c (procfs_xfer_auxv): Likewise.
2812 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2813 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2814 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2815 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2816 * corefile.c (read_memory): Adjust.
2817 * corelow.c (core_xfer_partial): Likewise.
2818 * ctf.c (ctf_xfer_partial): Likewise.
2819 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2821 (darwin_xfer_partial): Likewise.
2822 * exec.c (section_table_xfer_memory_partial): Likewise. All
2824 (exec_xfer_partial): Likewise.
2825 * exec.h (section_table_xfer_memory_partial): Update
2827 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2829 (gnu_xfer_partial): Likewise.
2830 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2831 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2832 (ia64_hpux_xfer_solib_got): Likewise.
2833 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2834 type of 'partial_len' to ULONGEST.
2835 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2836 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2837 (linux_nat_xfer_partial): Likewise.
2838 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2839 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2840 * monitor.c (monitor_xfer_memory): Likewise.
2841 (monitor_xfer_partial): Likewise.
2842 * procfs.c (procfs_xfer_partial): Likewise.
2843 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2844 * record-full.c (record_full_xfer_partial): Likewise.
2845 (record_full_core_xfer_partial): Likewise.
2846 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2847 (gdbsim_xfer_partial): Likewise.
2848 * remote.c (remote_write_bytes_aux): Likewise. All callers
2850 (remote_write_bytes, remote_read_bytes): Likewise. All
2852 (remote_flash_erase): Likewise. All callers updated.
2853 (remote_write_qxfer): Likewise. All callers updated.
2854 (remote_read_qxfer): Likewise. All callers updated.
2855 (remote_xfer_partial): Likewise.
2856 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2857 (rs6000_xfer_shared_libraries): Likewise.
2858 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2859 (sol_thread_xfer_partial): Likewise.
2860 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2861 (sparc_xfer_partial): Likewise.
2862 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2864 (spu_xfer_partial): Likewise.
2865 * spu-multiarch.c (spu_xfer_partial): Likewise.
2866 * tracepoint.c (tfile_xfer_partial): Likewise.
2867 * windows-nat.c (windows_xfer_memory): Likewise.
2868 (windows_xfer_shared_libraries): Likewise.
2869 (windows_xfer_partial): Likewise.
2870 * valprint.c: Replace 'target_xfer_error' with
2871 'target_xfer_status' in comments.
2873 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2875 Checked in by Joel Brobecker <brobecker@adacore.com>.
2876 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2878 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2880 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2881 function parameters.
2883 2014-02-10 Will Newton <will.newton@linaro.org>
2885 * elfread.c (elf_rel_plt_read): Look for a .got section if
2886 looking up .got.plt fails.
2887 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2888 on address passed to elf_gnu_ifunc_record_cache.
2889 (elf_gnu_ifunc_resolve_addr): Likewise.
2890 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2892 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2894 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2895 (X_RETTURN): New macro.
2896 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2898 * sparc64-tdep.c (sparc64_init_abi): Hook
2899 sparc_in_function_epilogue_p.
2901 2014-02-10 Gary Benson <gbenson@redhat.com>
2903 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2904 Rename name_matcher to symbol_matcher.
2906 2014-02-10 Gary Benson <gbenson@redhat.com>
2908 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2909 Use expand_symtabs_file_matcher_ftype and
2910 expand_symtabs_symbol_matcher_ftype.
2912 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2914 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2915 (struct ada_symbol_cache): New.
2916 (ada_free_symbol_cache): Forward declare.
2917 (struct ada_pspace_data): New.
2918 (ada_pspace_data_handle): New static global.
2919 (get_ada_pspace_data, ada_pspace_data_cleanup)
2920 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2921 (cache_space, cache): Delete, now folded inside struct
2923 (ada_get_symbol_cache): New function.
2924 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2926 (_initialize_ada_language): Remove initialization of cache_space.
2927 Move call to observer_attach_inferior_exit up, grouping it
2928 with the other observer registrations inside this function.
2929 Rename command to be more general. Add call to
2930 register_program_space_data_with_cleanup.
2932 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2934 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2935 ada_new_objfile_observer.
2936 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2937 (_initialize_tasks): Update uses of ada_new_objfile_observer
2938 and ada_tasks_normal_stop_observer.
2940 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2942 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2943 returned by the 'Length attribute to integer.
2945 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2947 * ada-lang.c (_initialize_ada_language): Initialize
2948 cache_space obstack.
2950 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2952 * ada-lang.c (HASH_SIZE): New macro.
2953 (struct cache_entry): New type.
2954 (cache_space, cache): New static globals.
2955 (ada_clear_symbol_cache, find_entry): New functions.
2956 (lookup_cached_symbol, cache_symbol): Implement.
2957 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2958 (_initialize_ada_language): Attach ada_new_objfile_observer
2959 and ada_free_objfile_observer.
2961 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2963 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
2964 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
2965 struct block * parameter.
2966 (ada_lookup_symbol_list_worker): Constify local variable "block".
2967 Remove cast which is no longer necessary.
2969 2014-02-10 Doug Evans <xdje42@gmail.com>
2971 Add Guile as an extension language.
2972 * NEWS: Mention Guile scripting.
2973 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
2974 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
2975 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
2976 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
2977 (CLIBS): Add GUILE_LIBS.
2978 (install-guile): New rule.
2979 (guile.o): New rule.
2980 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
2981 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
2982 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
2983 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
2984 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
2985 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
2986 (scm-type.o, scm-utils.o, scm-value.o): New rules.
2987 * configure.ac: New option --with-guile.
2988 * configure: Regenerate.
2989 * config.in: Regenerate.
2990 * auto-load.c: Remove #include "python/python.h". Add #include
2991 "gdb/section-scripts.h".
2992 (source_section_scripts): Handle Guile scripts.
2993 (_initialize_auto_load): Add name of Guile objfile script to
2994 scripts-directory help text.
2995 * breakpoint.c (condition_command): Tweak comment to include Scheme.
2996 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
2997 (struct breakpoint): New member scm_bp_object.
2998 * defs.h (enum command_control_type): New value guile_control.
2999 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
3001 (show_user): Update comment.
3002 (_initialize_cli_cmds): Update help text for "show user". Update help
3003 text for max-user-call-depth.
3004 * cli/cli-script.c: Remove #include "python/python.h". Add #include
3006 (multi_line_command_p): Add guile_control.
3007 (print_command_lines): Handle guile_control.
3008 (execute_control_command, recurse_read_control_structure): Ditto.
3009 (process_next_line): Recognize "guile" commands.
3010 * disasm.c (gdb_disassemble_info): Make non-static.
3011 * disasm.h: #include "dis-asm.h".
3012 (struct gdbarch): Add forward decl.
3013 (gdb_disassemble_info): Declare.
3014 * extension.c: #include "guile/guile.h".
3015 (extension_languages): Add guile.
3016 (get_ext_lang_defn): Handle EXT_LANG_GDB.
3017 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
3018 * gdbtypes.c (get_unsigned_type_max): New function.
3019 (get_signed_type_minmax): New function.
3020 * gdbtypes.h (get_unsigned_type_max): Declare.
3021 (get_signed_type_minmax): Declare.
3022 * guile/README: New file.
3023 * guile/guile-internal.h: New file.
3024 * guile/guile.c: New file.
3025 * guile/guile.h: New file.
3026 * guile/scm-arch.c: New file.
3027 * guile/scm-auto-load.c: New file.
3028 * guile/scm-block.c: New file.
3029 * guile/scm-breakpoint.c: New file.
3030 * guile/scm-disasm.c: New file.
3031 * guile/scm-exception.c: New file.
3032 * guile/scm-frame.c: New file.
3033 * guile/scm-gsmob.c: New file.
3034 * guile/scm-iterator.c: New file.
3035 * guile/scm-lazy-string.c: New file.
3036 * guile/scm-math.c: New file.
3037 * guile/scm-objfile.c: New file.
3038 * guile/scm-ports.c: New file.
3039 * guile/scm-pretty-print.c: New file.
3040 * guile/scm-safe-call.c: New file.
3041 * guile/scm-string.c: New file.
3042 * guile/scm-symbol.c: New file.
3043 * guile/scm-symtab.c: New file.
3044 * guile/scm-type.c: New file.
3045 * guile/scm-utils.c: New file.
3046 * guile/scm-value.c: New file.
3047 * guile/lib/gdb.scm: New file.
3048 * guile/lib/gdb/boot.scm: New file.
3049 * guile/lib/gdb/experimental.scm: New file.
3050 * guile/lib/gdb/init.scm: New file.
3051 * guile/lib/gdb/iterator.scm: New file.
3052 * guile/lib/gdb/printing.scm: New file.
3053 * guile/lib/gdb/types.scm: New file.
3054 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
3055 (VPATH): Add $(GUILE_SRCDIR).
3056 (GUILE_DIR): New variable.
3057 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
3058 (all): Add stamp-guile dependency.
3059 (stamp-guile): New rule.
3060 (clean-guile, install-guile, uninstall-guile): New rules.
3061 (install-only): Add install-guile dependency.
3062 (uninstall): Add uninstall-guile dependency.
3063 (clean): Add clean-guile dependency.
3065 2014-02-09 Doug Evans <xdje42@gmail.com>
3067 Revert this patch (which I approved, mea culpa).
3069 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3071 * Makefile.in (all-lib): Remove.
3072 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3074 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3076 Fix Python stack corruption.
3077 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
3080 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3082 * Makefile.in (all-lib): Remove.
3083 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3085 2014-02-07 Doug Evans <dje@google.com>
3087 * extension-priv.h (extension_language_script_ops): Add comment.
3088 (extension_language_ops): Add comment.
3089 (active_ext_lang_state): Fix typo in comment.
3091 2014-02-07 Pedro Alves <palves@redhat.com>
3093 * infrun.c (handle_signal_stop) <signal arrives while stepping
3094 over a breakpoint>: Switch back to the stepping thread.
3096 2014-02-07 Yao Qi <yao@codesourcery.com>
3098 * target.c (target_xfer_partial): Return zero if LEN is zero.
3100 2014-02-07 Yao Qi <yao@codesourcery.com>
3102 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
3103 (ld_so_xfer_auxv): Likewise.
3104 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3105 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3106 * corelow.c (core_xfer_partial): Likewise.
3107 * ctf.c (ctf_xfer_partial): Likewise.
3108 * darwin-nat.c (darwin_read_dyld_info): Likewise.
3109 (darwin_xfer_partial): Likewise.
3110 * exec.c (exec_xfer_partial): Likewise.
3111 * gnu-nat.c (gnu_xfer_partial): Likewise.
3112 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
3113 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
3114 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
3115 * linux-nat.c (linux_xfer_siginfo): Likewise.
3116 (linux_proc_xfer_spu): Likewise.
3117 * procfs.c (procfs_xfer_partial): Likewise.
3118 * record-full.c (record_full_xfer_partial): Likewise.
3119 (record_full_core_xfer_partial): Likewise.
3120 * remote-sim.c (gdbsim_xfer_partial): Likewise.
3121 * remote.c (remote_write_qxfer): Likewise.
3122 (remote_write_qxfer, remote_read_qxfer): Likewise.
3123 (remote_xfer_partial): Likewise.
3124 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3125 (rs6000_xfer_shared_libraries): Likewise.
3126 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3127 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3128 (spu_xfer_partial): Likewise.
3129 * target.c (memory_xfer_partial_1): Likewise.
3130 * tracepoint.c (tfile_xfer_partial): Likewise.
3131 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
3132 (windows_xfer_partial): Likewise.
3134 2014-02-07 Yao Qi <yao@codesourcery.com>
3136 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
3138 (core_xfer_shared_libraries_aix): Likewise.
3139 * gdbarch.c, gdbarch.h: Regenerated.
3140 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
3141 ULONGEST. Change 'len_avail' type to ULONGEST.
3142 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3143 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3145 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
3147 2014-02-07 Yao Qi <yao@codesourcery.com>
3149 * corefile.c (memory_error): Get 'exception' from ERR and pass
3150 'exception' to throw_error.
3152 2014-02-06 Doug Evans <xdje42@gmail.com>
3154 * configure.ac (libpython checking): Remove all but python.o from
3155 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
3156 * configure: Regenerate.
3158 * Makefile.in (SFILES): Add extension.c.
3159 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
3160 (COMMON_OBS): Add extension.o.
3161 * extension.h: New file.
3162 * extension-priv.h: New file.
3163 * extension.c: New file.
3165 * python/python-internal.h: #include "extension.h".
3166 (gdbpy_auto_load_enabled): Declare.
3167 (gdbpy_apply_val_pretty_printer): Declare.
3168 (gdbpy_apply_frame_filter): Declare.
3169 (gdbpy_preserve_values): Declare.
3170 (gdbpy_breakpoint_cond_says_stop): Declare.
3171 (gdbpy_breakpoint_has_cond): Declare.
3172 (void source_python_script_for_objfile): Delete.
3173 * python/python.c: #include "extension-priv.h".
3174 Delete inclusion of "observer.h".
3175 (extension_language_python): Moved here and renamed from
3176 script_language_python in py-auto-load.c.
3177 Redefined to be of type extension_language_defn.
3178 (python_extension_script_ops): New global.
3179 (python_extension_ops): New global.
3180 (struct python_env): New member previous_active.
3181 (restore_python_env): Call restore_active_ext_lang.
3182 (ensure_python_env): Call set_active_ext_lang.
3183 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
3185 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
3187 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
3189 (gdbpy_eval_from_control_command): Renamed from
3190 eval_python_from_control_command, made static. New arg extlang.
3191 (gdbpy_source_script) Renamed from source_python_script, made static.
3193 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
3194 result to int. New arg extlang.
3195 (gdbpy_source_objfile_script): Renamed from
3196 source_python_script_for_objfile, made static. New arg extlang.
3197 (gdbpy_start_type_printers): Renamed from start_type_printers, made
3198 static. New args extlang, extlang_printers. Change result type to
3200 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
3201 static. New arg extlang. Rename arg printers to extlang_printers
3202 and change type to ext_lang_type_printers *.
3203 (gdbpy_free_type_printers): Renamed from free_type_printers, made
3204 static. Replace argument arg with extlang, extlang_printers.
3205 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
3206 (!HAVE_PYTHON, source_python_script): Delete.
3207 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
3208 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
3209 (!HAVE_PYTHON, start_type_printers): Delete.
3210 (!HAVE_PYTHON, apply_type_printers): Delete.
3211 (!HAVE_PYTHON, free_type_printers): Delete.
3212 (_initialize_python): Delete call to observer_attach_before_prompt.
3213 (finalize_python): Set/restore active extension language.
3214 (gdbpy_finish_initialization) Renamed from
3215 finish_python_initialization, made static. New arg extlang.
3216 (gdbpy_initialized): New function.
3217 * python/python.h: #include "extension.h". Delete #include
3218 "value.h", "mi/mi-cmds.h".
3219 (extension_language_python): Declare.
3220 (GDBPY_AUTO_FILE_NAME): Delete.
3221 (enum py_bt_status): Moved to extension.h and renamed to
3223 (enum frame_filter_flags): Moved to extension.h.
3224 (enum py_frame_args): Moved to extension.h and renamed to
3225 ext_lang_frame_args.
3226 (finish_python_initialization): Delete.
3227 (eval_python_from_control_command): Delete.
3228 (source_python_script): Delete.
3229 (apply_val_pretty_printer): Delete.
3230 (apply_frame_filter): Delete.
3231 (preserve_python_values): Delete.
3232 (gdbpy_script_language_defn): Delete.
3233 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
3234 (start_type_printers, apply_type_printers, free_type_printers): Delete.
3236 * auto-load.c: #include "extension.h".
3237 (GDB_AUTO_FILE_NAME): Delete.
3238 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
3239 (script_language_gdb): Delete, moved to extension.c and renamed to
3240 extension_language_gdb.
3241 (source_gdb_script_for_objfile): Delete.
3242 (auto_load_pspace_info): New member unsupported_script_warning_printed.
3243 (loaded_script): Change type of language member to
3244 struct extension_language_defn *.
3245 (init_loaded_scripts_info): Initialize
3246 unsupported_script_warning_printed.
3247 (maybe_add_script): Make static. Change type of language arg to
3248 struct extension_language_defn *.
3249 (clear_section_scripts): Reset unsupported_script_warning_printed.
3250 (auto_load_objfile_script_1): Rewrite to use extension language API.
3251 (auto_load_objfile_script): Make public. Remove support-compiled-in
3252 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
3253 (source_section_scripts): Rewrite to use extension language API.
3254 (load_auto_scripts_for_objfile): Rewrite to use
3255 auto_load_scripts_for_objfile.
3256 (collect_matching_scripts_data): Change type of language member to
3257 struct extension_language_defn *.
3258 (auto_load_info_scripts): Change type of language arg to
3259 struct extension_language_defn *.
3260 (unsupported_script_warning_print): New function.
3261 (script_not_found_warning_print): Make static.
3262 (_initialize_auto_load): Rewrite construction of scripts-directory
3264 * auto-load.h (struct objfile): Add forward decl.
3265 (struct script_language): Delete.
3266 (struct auto_load_pspace_info): Add forward decl.
3267 (struct extension_language_defn): Add forward decl.
3268 (maybe_add_script): Delete.
3269 (auto_load_objfile_script): Declare.
3270 (script_not_found_warning_print): Delete.
3271 (auto_load_info_scripts): Update prototype.
3272 (auto_load_gdb_scripts_enabled): Declare.
3273 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
3274 auto_load_python_scripts_enabled and made public.
3275 (script_language_python): Delete, moved to python.c.
3276 (gdbpy_script_language_defn): Delete.
3277 (info_auto_load_python_scripts): Update to use
3278 extension_language_python.
3280 * breakpoint.c (condition_command): Replace call to
3281 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
3282 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
3283 with call to breakpoint_ext_lang_cond_says_stop.
3284 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
3285 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
3286 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
3287 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
3289 (local_setattro): Print name of extension language with existing
3292 * valprint.c (val_print, value_print): Update to call
3293 apply_ext_lang_val_pretty_printer.
3294 * cp-valprint.c (cp_print_value): Update call to
3295 apply_ext_lang_val_pretty_printer.
3296 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
3297 (gdbpy_apply_val_pretty_printer): Renamed from
3298 apply_val_pretty_printer. New arg extlang.
3299 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
3301 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
3302 extension language API.
3303 * cli/cli-script.c (execute_control_command): Update to call
3304 eval_ext_lang_from_control_command.
3306 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
3307 enum ext_lang_bt_status values. Update call to
3308 apply_ext_lang_frame_filter.
3309 (mi_cmd_stack_list_locals): Ditto.
3310 (mi_cmd_stack_list_args): Ditto.
3311 (mi_cmd_stack_list_variables): Ditto.
3312 * mi/mi-main.c: Delete #include "python/python-internal.h".
3313 Add #include "extension.h".
3314 (mi_cmd_list_features): Replace reference to python internal variable
3315 gdb_python_initialized with call to ext_lang_initialized_p.
3317 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
3318 Update to use enum ext_lang_frame_args. Update to call
3319 apply_ext_lang_frame_filter.
3320 * python/py-framefilter.c (extract_sym): Update to use enum
3322 (extract_value, py_print_type, py_print_value): Ditto.
3323 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
3324 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
3325 (py_print_frame): Ditto.
3326 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
3327 New arg extlang. Update to use enum ext_lang_bt_status.
3329 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
3330 finish_python_initialization. Replace with call to
3331 finish_ext_lang_initialization.
3333 * typeprint.c (do_free_global_table): Update to call
3334 free_ext_lang_type_printers.
3335 (create_global_typedef_table): Update to call
3336 start_ext_lang_type_printers.
3337 (find_global_typedef): Update to call apply_ext_lang_type_printers.
3338 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
3339 (type_print_options): Change type of global_printers from "void *"
3340 to "struct ext_lang_type_printers *".
3342 * value.c (preserve_values): Update to call preserve_ext_lang_values.
3343 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
3344 (gdbpy_preserve_values): Renamed from preserve_python_values.
3346 (!HAVE_PYTHON, preserve_python_values): Delete.
3348 * utils.c (quit_flag): Delete, moved to extension.c.
3349 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
3352 * eval.c: Delete #include "python/python.h".
3353 * main.c: Delete #include "python/python.h".
3355 * defs.h: Update comment.
3357 2014-02-06 Joel Brobecker <brobecker@adacore.com>
3361 2014-02-05 Mark Kettenis <kettenis@gnu.org>
3363 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
3366 2014-02-05 Yao Qi <yao@codesourcery.com>
3368 * remote.c (remote_pass_signals): Remove local 'buf' and use
3370 (remote_program_signals): Likewise.
3372 2014-02-05 Yao Qi <yao@codesourcery.com>
3374 * ctf.c: Include "inferior.h" and "gdbthread.h".
3375 (CTF_PID): A new macro.
3376 (ctf_open): Call inferior_appeared and add_thread_silent.
3377 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
3378 (ctf_thread_alive): New function.
3379 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
3381 2014-02-05 Yao Qi <yao@codesourcery.com>
3385 2013-05-24 Yao Qi <yao@codesourcery.com>
3387 * tracepoint.c (TFILE_PID): Remove.
3388 (tfile_open): Don't add thread and inferior.
3389 (tfile_close): Don't set 'inferior_ptid'. Don't call
3390 exit_inferior_silent.
3391 (tfile_thread_alive): Remove.
3392 (init_tfile_ops): Don't set field 'to_thread_alive' of
3395 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
3397 * remote.c (remote_start_remote): Call remote_check_symbols even
3398 if only symbol-file (not file) has been given.
3400 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3402 * gdbarch.sh (skip_entrypoint): New callback.
3403 * gdbarch.c, gdbarch.h: Regenerate.
3404 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
3405 * infrun.c (fill_in_stop_func): Likewise.
3406 * ppc-linux-tdep.c: Include "elf/ppc64.h".
3407 (ppc_elfv2_elf_make_msymbol_special): New function.
3408 (ppc_elfv2_skip_entrypoint): Likewise.
3409 (ppc_linux_init_abi): Install them for ELFv2.
3411 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3413 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
3414 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
3415 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
3416 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
3417 structures returned in GPRs.
3419 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3421 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
3422 offset to the stack parameter list for the ELFv2 ABI.
3424 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3426 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
3427 set_gdbarch_convert_from_func_ptr_addr and
3428 set_gdbarch_elf_make_msymbol_special for ELFv1.
3429 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
3430 function descriptors on ELFv1.
3431 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
3432 set up r12 at function entry.
3434 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3436 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
3437 (struct gdbarch_tdep): New member elf_abi.
3439 * rs6000-tdep.c: Include "elf/ppc64.h".
3440 (rs6000_gdbarch_init): Detect ELF ABI version.
3442 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3444 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
3445 within a register pair holding a DFP 128-bit value on little-endian.
3446 (ppc64_sysv_abi_return_value_base): Likewise.
3447 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
3448 (dfp_pseudo_register_write): Likewise.
3450 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3452 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
3453 offset on little-endian when passing _Decimal32.
3454 (ppc64_sysv_abi_return_value_base): Likewise for return values.
3456 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3458 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
3459 of the overlapped FP register within the VSX register on little-
3461 (efpr_pseudo_register_write): Likewise.
3463 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3465 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
3466 offset on little-endian when passing small structures.
3468 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3470 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
3471 (struct ppc64_sysv_argpos): New data structure.
3472 (ppc64_sysv_abi_push_float): Remove.
3473 (ppc64_sysv_abi_push_val): New function.
3474 (ppc64_sysv_abi_push_integer): Likewise.
3475 (ppc64_sysv_abi_push_freg): Likewise.
3476 (ppc64_sysv_abi_push_vreg): Likewise.
3477 (ppc64_sysv_abi_push_param): Likewise.
3478 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
3479 (ppc64_sysv_abi_return_value_base): New function.
3480 (ppc64_sysv_abi_return_value): Refactor to use it.
3482 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3484 * NEWS: Document new target powerpc64le-*-linux*.
3486 2014-02-04 Mark Kettenis <kettenis@gnu.org>
3488 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
3489 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
3491 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
3492 register set used in ELF core dumps. Add floating-point register set.
3494 2014-02-03 Kevin Buettner <kevinb@redhat.com>
3496 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
3497 dwarf2_to_gdb[] table using symbolic constants. Adjust
3498 penultimate entry from number representing the PC register
3499 to symbolic constant representing the MDR register. Add
3500 constant for the PC register to the end of the table.
3502 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3504 * bsd-kvm.c: Include <sys/param.h>
3506 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3508 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
3510 2014-01-31 Joel Brobecker <brobecker@adacore.com>
3512 * ada-lang.h (clear_ada_sym_cache): Delete.
3514 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
3516 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
3518 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3520 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
3521 the sigreturn register save area only if the syscall is
3524 2014-01-29 Joel Brobecker <brobecker@adacore.com>
3526 * valops.c (value_slice): Minor reformatting.
3528 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
3530 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
3532 2014-01-28 Joel Brobecker <brobecker@adacore.com>
3534 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
3536 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
3537 (ada_ignore_descriptive_types_p): New static global.
3538 (find_parallel_type_by_descriptive_type): Return immediately
3539 if ada_ignore_descriptive_types_p is set.
3540 (_initialize_ada_language): Register new commands "maintenance
3541 set ada", "maintenance show ada", "maintenance set ada
3542 ignore-descriptive-types" and "maintenance show ada
3543 ignore-descriptive-types".
3544 * NEWS: Add entry for new "maint ada set/show
3545 ignore-descriptive-types" commands.
3547 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
3549 * record-btrace.c (record_btrace_close): Call btrace_teardown
3552 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3554 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
3557 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3559 * ada-typeprint (type_is_full_subrange_of_target_type):
3561 (print_range): Add parameter bounds_prefered_p. If not set,
3562 try printing range types using the name of their base type.
3563 (print_range_type): Add parameter bounds_prefered_p.
3564 Use it in call to print_range.
3565 (print_array_type, ada_print_type): Update calls to print_range
3566 and print_range_type.
3568 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3570 * ada-typeprint.c (print_array_type, print_choices, print_range)
3571 (print_range_bound, print_dynamic_range_bound, print_range_type):
3574 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3576 * ada-typeprint.c (print_range): Add missing empty line
3577 after local declaration.
3579 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3581 * ada-valprint.c (print_optional_low_bound): Get index_type's
3582 target type for as long as it is a TYPE_CODE_RANGE.
3584 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3586 * procfs.c (procfs_make_note_section): Remove assertion and
3589 2014-01-24 Yao Qi <yao@codesourcery.com>
3591 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
3592 * corelow.c (get_core_siginfo): Likewise.
3594 2014-01-24 Yao Qi <yao@codesourcery.com>
3596 * remote.c (remote_write_bytes_aux): Change type of 'len' to
3597 ULONGEST. Don't check 'len' is negative.
3598 (remote_write_bytes): Change type of 'len' to ULONGEST.
3600 2014-01-23 Tom Tromey <tromey@redhat.com>
3603 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
3604 Handle exception from frame.block.
3605 (FrameVars.fetch_frame_locals): Likewise.
3607 2014-01-23 Tom Tromey <tromey@redhat.com>
3610 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
3611 on a NULL pointer. Move "goto error" to correct place.
3613 2014-01-23 Tom Tromey <tromey@redhat.com>
3616 * python/py-framefilter.c (apply_frame_filter): Call
3617 ensure_python_env after computing gdbarch.
3619 2014-01-23 Yao Qi <yao@codesourcery.com>
3621 * target.c (raw_memory_xfer_partial): Change argument type
3622 from void * to gdb_byte *.
3623 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
3625 2014-01-22 Doug Evans <dje@google.com>
3627 New gdbserver option --debug-format=timestamp.
3630 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3632 * syscalls/s390x-linux.xml: New file.
3633 * syscalls/s390-linux.xml: New file.
3634 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
3635 (XML_SYSCALL_FILENAME_S390X): Likewise.
3636 (op_svc): New enum value for SVC opcode.
3637 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
3638 (s390_linux_get_syscall_number): New function.
3639 (s390_gdbarch_init): Register '*get_syscall_number' and the
3640 syscall xml file name.
3641 * data-directory/Makefile.in (SYSCALLS_FILES): Add
3642 "s390-linux.xml" and "s390x-linux.xml".
3643 * NEWS: Announce new feature.
3645 2014-01-22 Baruch Siach <baruch@tkos.co.il>
3647 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
3649 2014-01-22 Pedro Alves <palves@redhat.com>
3651 * xtensa-config.c: Include defs.h.
3653 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3655 * common/common-utils.h: Add "ARI:" comment beside __func__
3658 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3660 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
3661 documentation a bit.
3663 2014-01-21 Roland McGrath <mcgrathr@google.com>
3665 * configure.ac: Call AM_PROG_INSTALL_STRIP.
3666 * configure: Regenerate.
3667 * aclocal.m4: Regenerate.
3668 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
3669 New substituted variables.
3670 (install-strip): New target.
3671 (INSTALL_SCRIPT): New substituted variable.
3672 (FLAGS_TO_PASS): Add it.
3673 (install-only): Use $(INSTALL_SCRIPT) rather than
3674 $(INSTALL_PROGRAM) for gcore.
3676 2014-01-20 Tom Tromey <tromey@redhat.com>
3678 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
3681 2014-01-20 Tom Tromey <tromey@redhat.com>
3683 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
3684 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
3685 (deprecated_cmd_warning, complete_on_cmdlist): Update.
3686 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
3687 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3688 (struct cmd_list_element) <flags>: Remove.
3689 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3690 doc_allocated>: New fields.
3691 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3693 * maint.c (maintenance_do_deprecate): Update.
3694 * top.c (execute_command): Update.
3696 2014-01-20 Baruch Siach <baruch@tkos.co.il>
3698 * xtensa-linux-nat.c: Include asm/ptrace.h.
3700 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3702 * Makefile.in (SFILES): Add d-support.c.
3703 (COMMON_OBS): Add d-support.o.
3704 * d-lang.h (d_parse_symbol): Add comment, now defined in
3706 * d-lang.c (parse_call_convention)
3707 (parse_attributes, parse_function_types)
3708 (parse_function_args, parse_type, parse_identifier)
3709 (call_convention_p, d_parse_symbol): Move functions to ...
3710 * d-support.c: ... New file.
3712 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3714 * d-lang.h (d_parse_symbol): Add declaration.
3715 * d-lang.c (extract_identifiers)
3716 (extract_type_info): Remove functions.
3717 (parse_call_convention, parse_attributes)
3718 (parse_function_types, parse_function_args)
3719 (parse_type, parse_identifier, call_convention_p)
3720 (d_parse_symbol): New functions.
3721 (d_demangle): Use d_parse_symbol to demangle D symbols.
3723 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3725 * d-lang.h (struct builtin_d_type): New data type.
3726 (builtin_d_type): Add declaration.
3727 * d-lang.c (d_language_arch_info, build_d_types)
3728 (builtin_d_type): New functions.
3729 (enum d_primitive_types): New data type.
3730 (d_language_defn): Change c_language_arch_info to
3731 d_language_arch_info.
3732 (d_type_data): New static variable.
3733 (_initialize_d_language): Initialize d_type_data.
3735 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3737 * d-lang.h (d_main_name): Add declaration.
3738 * d-lang.c (d_main_name): New function.
3739 * symtab.c (find_main_name): Add call to d_main_name.
3741 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3743 * d-lang.c (d_language_defn): Change macro_expansion_c to
3746 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3748 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3750 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3752 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3753 gdb_exception" declaration.
3754 * remote.c (getpkt_or_notif_sane): Likewise.
3756 2014-01-17 Doug Evans <dje@google.com>
3758 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3759 function, contents of dirnames_to_char_ptr_vec_append moved here.
3760 (delim_string_to_char_ptr_vec): New function.
3761 (dirnames_to_char_ptr_vec_append): Rewrite.
3762 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3764 2014-01-17 Doug Evans <dje@google.com>
3766 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3768 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3769 #include "common-utils.h".
3770 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3771 * common/vec.h (VEC_ASSERT_PASS): Update.
3772 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3773 (MACH_CHECK_ERROR): Update.
3775 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3777 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3779 * gdbarch.h: Regenerate.
3781 2014-01-16 Tom Tromey <tromey@redhat.com>
3783 * value.c (struct value) <regnum>: Move earlier.
3785 2014-01-16 Tom Tromey <tromey@redhat.com>
3787 * remote.c (extended_remote_create_inferior): Rename from
3788 extended_remote_create_inferior_1. Add "ops" argument. Remove
3791 2014-01-16 Pedro Alves <palves@redhat.com>
3793 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3794 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3797 2014-01-16 Doug Evans <dje@google.com>
3799 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3801 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3803 * btrace.h (btrace_thread_flag): New.
3804 (struct btrace_thread_info) <flags>: New.
3805 * record-btrace.c (record_btrace_resume_thread)
3806 (record_btrace_find_thread_to_move, btrace_step_no_history)
3807 (btrace_step_stopped, record_btrace_start_replaying)
3808 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3809 (record_btrace_find_resume_thread): New.
3810 (record_btrace_resume, record_btrace_wait): Extend.
3811 (record_btrace_can_execute_reverse): New.
3812 (record_btrace_open): Fail in non-stop mode.
3813 (record_btrace_set_replay): Split into this, ...
3814 (record_btrace_stop_replaying): ... this, ...
3815 (record_btrace_clear_histories): ... and this.
3816 (init_record_btrace_ops): Init to_can_execute_reverse.
3817 * NEWS: Announce it.
3819 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3821 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3822 (forward_target_decr_pc_after_break)
3823 (target_decr_pc_after_break): New.
3824 * target.c (forward_target_decr_pc_after_break)
3825 (target_decr_pc_after_break): New.
3826 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3827 instead of gdbarch_decr_pc_after_break.
3828 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3829 instead of gdbarch_decr_pc_after_break.
3830 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3831 instead of gdbarch_decr_pc_after_break.
3832 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3833 instead of gdbarch_decr_pc_after_break.
3834 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3835 instead of gdbarch_decr_pc_after_break.
3836 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3837 instead of gdbarch_decr_pc_after_break.
3839 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3841 * btrace.c: Include regcache.h.
3842 (btrace_add_pc): New.
3843 (btrace_enable): Call btrace_add_pc.
3844 (btrace_is_empty): New.
3845 * btrace.h (btrace_is_empty): New.
3846 * record-btrace.c (require_btrace, record_btrace_info): Call
3849 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3851 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3852 Support delta reads.
3853 (linux_disable_btrace): Change return type.
3854 * common/linux-btrace.h (linux_read_btrace): Change parameters
3855 and return type to allow error reporting. Update users.
3856 (linux_disable_btrace): Change return type. Update users.
3857 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3859 (btrace_error): New.
3860 (btrace_block) <begin>: Comment on BEGIN == 0.
3861 * btrace.c (btrace_compute_ftrace): Start from the end of
3863 (btrace_stitch_trace, btrace_clear_history): New.
3864 (btrace_fetch): Read delta trace, return if replaying.
3865 (btrace_clear): Move clear history code to btrace_clear_history.
3866 (parse_xml_btrace): Throw an error if parsing failed.
3867 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3868 and return type to allow error reporting.
3869 (target_read_btrace): Change parameters and return type to allow
3871 * target.c (target_read_btrace): Update.
3872 * remote.c (remote_read_btrace): Support delta reads. Pass
3874 * NEWS: Announce it.
3876 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3878 * record.h (record_btrace_frame_unwind)
3879 (record_btrace_tailcall_frame_unwind): New declarations.
3880 * dwarf2-frame: Include record.h
3881 (dwarf2_frame_cfa): Throw an error for btrace frames.
3882 * record-btrace.c: Include hashtab.h.
3883 (btrace_get_bfun_name): New.
3884 (btrace_call_history): Call btrace_get_bfun_name.
3885 (struct btrace_frame_cache): New.
3887 (bfcache_hash, bfcache_eq, bfcache_new): New.
3888 (btrace_get_frame_function): New.
3889 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3890 (record_btrace_frame_this_id): Compute own id.
3891 (record_btrace_frame_prev_register): Provide PC, throw_error
3892 for all other registers.
3893 (record_btrace_frame_sniffer): Detect btrace frames.
3894 (record_btrace_tailcall_frame_sniffer): New.
3895 (record_btrace_frame_dealloc_cache): New.
3896 (record_btrace_frame_unwind): Add new functions.
3897 (record_btrace_tailcall_frame_unwind): New.
3898 (_initialize_record_btrace): Allocate cache.
3899 * btrace.c (btrace_clear): Call reinit_frame_cache.
3900 * NEWS: Announce it.
3902 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3904 * record-btrace.c (record_btrace_set_replay)
3905 (record_btrace_goto_begin, record_btrace_goto_end)
3906 (record_btrace_goto): New.
3907 (init_record_btrace_ops): Initialize them.
3908 * NEWS: Announce it.
3910 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3912 * record-btrace.c (record_btrace_find_new_threads)
3913 (record_btrace_thread_alive): New.
3914 (init_record_btrace_ops): Initialize to_find_new_threads and
3917 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3919 * record-btrace.c (record_btrace_resume): New.
3920 (record_btrace_wait): New.
3921 (init_record_btrace_ops): Initialize to_wait and to_resume.
3923 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3925 * record-btrace.c (record_btrace_xfer_partial)
3926 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3927 (record_btrace_allow_memory_access): New.
3928 (init_record_btrace_ops): Initialize new methods.
3929 * target.c (raw_memory_xfer_partial): Bail out if target reports
3930 that this memory is not available.
3932 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3934 * target.h (target_ops) <to_insert_breakpoint>
3935 <to_remove_breakpoint>: Add target_ops parameter.
3936 (forward_target_insert_breakpoint): New.
3937 (forward_target_remove_breakpoint): New.
3938 (memory_remove_breakpoint, memory_insert_breakpoint):
3939 Add target_ops parameter.
3940 * target.c (target_insert_breakpoint): Split into this and ...
3941 (forward_target_insert_breakpoint): ... this.
3942 (target_remove_breakpoint): Split into this and ...
3943 (forward_target_remove_breakpoint): ... this.
3944 (debug_to_insert_breakpoint): Add target_ops parameter.
3945 Call forward_target_insert_breakpoint.
3946 (debug_to_remove_breakpoint): Add target_ops parameter.
3947 Call forward_target_remove_breakpoint.
3948 (update_current_target): Do not inherit or default to_insert_breakpoint
3949 and to_remove_breakpoint.
3950 * corelow.c (ignore): Add target_ops parameter.
3951 * exec.c (ignore): Add target_ops parameter.
3952 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3953 Add target_ops parameter.
3954 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3955 Add target_ops parameter.
3956 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3957 Add target_ops parameter.
3958 * record-full.c (record_full_beneath_to_insert_breakpoint)
3959 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3960 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3961 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
3962 (record_full_core_remove_breakpoint): Add target_ops parameter.
3964 (record_full_beneath_to_insert_breakpoint_ops)
3965 (record_full_beneath_to_remove_breakpoint_ops)
3966 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
3967 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
3968 tmp_to_remove_breakpoint_ops,
3969 record_full_beneath_to_insert_breakpoint_ops, and
3970 record_full_beneath_to_remove_breakpoint_ops.
3971 * remote-m32r-sdi.c (m32r_insert_breakpoint)
3972 (m32r_remove_breakpoint): Add target_ops parameter.
3973 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
3974 Add target_ops parameter.
3975 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
3976 Add target_ops parameter.
3978 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3979 Markus Metzger <markus.t.metzger@intel.com>
3981 * record-btrace.c: Include frame-unwind.h.
3982 (record_btrace_frame_unwind_stop_reason)
3983 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
3984 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
3986 (init_record_btrace_ops): Install it.
3988 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3990 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
3993 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3995 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
3998 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4000 * frame-unwind.c: Include target.h.
4001 (frame_unwind_try_unwinder): New function with code from ...
4002 (frame_unwind_find_by_frame): ... here. New variable
4003 unwinder_from_target, call also target_get_unwinder)
4004 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
4005 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
4006 * target.h (struct target_ops): New fields to_get_unwinder and
4007 to_get_tailcall_unwinder.
4008 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
4010 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4012 * record-btrace.c (record_btrace_fetch_registers)
4013 (record_btrace_store_registers)
4014 (record_btrace_to_prepare_to_store): New.
4015 (init_record_btrace_ops): Add the above.
4017 2014-01-16 Tom Tromey <tromey@redhat.com>
4019 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
4020 * target.h (struct target_ops) <to_prepare_to_store>: Add
4022 (target_prepare_to_store): Add argument.
4023 * target.c (debug_to_prepare_to_store): Add argument.
4024 (update_current_target): Update.
4025 * remote.c (remote_prepare_to_store): Add 'self' argument.
4026 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
4027 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
4028 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
4029 * record-full.c (record_full_core_prepare_to_store): Add 'self'
4031 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
4032 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
4033 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
4034 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
4035 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
4037 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4039 * btrace.h (replay) <replay>: New.
4040 (btrace_is_replaying): New.
4041 * btrace.c (btrace_clear): Free replay iterator.
4042 (btrace_is_replaying): New.
4043 * record-btrace.c (record_btrace_is_replaying): New.
4044 (record_btrace_info): Print insn number if replaying.
4045 (record_btrace_insn_history): Start at replay position.
4046 (record_btrace_call_history): Start at replay position.
4047 (init_record_btrace_ops): Init to_record_is_replaying.
4049 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4051 * record-btrace.c (record_btrace_insn_history_range): Include
4053 (record_btrace_insn_history_from): Adjust range.
4054 (record_btrace_call_history_range): Include
4056 (record_btrace_call_history_from): Adjust range.
4057 * NEWS: Announce changes.
4059 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4061 * record.h (enum record_print_flag)
4062 <record_print_indent_calls>: New.
4063 * record.c (get_call_history_modifiers): Recognize /c modifier.
4064 (_initialize_record): Document /c modifier.
4065 * record-btrace.c (btrace_call_history): Add btinfo parameter.
4066 Reorder fields. Optionally indent the function name. Update
4068 * NEWS: Announce changes.
4070 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4072 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
4074 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4076 * btrace.c (ftrace_new_function): Start counting at one.
4077 * record-btrace.c (record_btrace_info): Adjust number of calls
4079 * NEWS: Announce it.
4081 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4083 * record-btrace.c (btrace_call_history_insn_range): Print
4084 insn range as [begin, end].
4086 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4088 * btrace.h (struct btrace_func_link): New.
4089 (enum btrace_function_flag): New.
4090 (struct btrace_inst): Rename to ...
4091 (struct btrace_insn): ...this. Update all users.
4092 (struct btrace_func) <ibegin, iend>: Remove.
4093 (struct btrace_func_link): New.
4094 (struct btrace_func): Rename to ...
4095 (struct btrace_function): ...this. Update all users.
4096 (struct btrace_function) <segment, flow, up, insn, insn_offset)
4097 (number, level, flags>: New.
4098 (struct btrace_insn_iterator): Rename to ...
4099 (struct btrace_insn_history): ...this.
4101 (struct btrace_insn_iterator, btrace_call_iterator): New.
4102 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
4103 (struct btrace_target_info) <begin, end, level>
4104 <insn_history, call_history>: New.
4105 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4106 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4107 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4108 (btrace_call_number, btrace_call_begin, btrace_call_end)
4109 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4110 (btrace_find_function_by_number, btrace_set_insn_history)
4111 (btrace_set_call_history): New.
4112 * btrace.c (btrace_init_insn_iterator)
4113 (btrace_init_func_iterator, compute_itrace): Remove.
4114 (ftrace_print_function_name, ftrace_print_filename)
4115 (ftrace_skip_file): Change
4117 (ftrace_init_func): Remove.
4118 (ftrace_debug): Use new btrace_function fields.
4119 (ftrace_function_switched): Also consider gaining and
4120 losing symbol information).
4121 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
4122 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
4123 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
4125 (ftrace_new_function): Move. Remove debug print.
4126 (ftrace_update_lines, ftrace_update_insns): New.
4127 (ftrace_update_function): Check for call, ret, and jump.
4128 (compute_ftrace): Renamed to ...
4129 (btrace_compute_ftrace): ...this. Rewritten to compute call
4131 (btrace_fetch, btrace_clear): Updated.
4132 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4133 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4134 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4135 (btrace_call_number, btrace_call_begin, btrace_call_end)
4136 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4137 (btrace_find_function_by_number, btrace_set_insn_history)
4138 (btrace_set_call_history): New.
4139 * record-btrace.c (require_btrace): Use new btrace thread
4141 (record_btrace_info, btrace_insn_history)
4142 (record_btrace_insn_history, record_btrace_insn_history_range):
4143 Use new btrace thread info fields and new iterator.
4144 (btrace_func_history_src_line): Rename to ...
4145 (btrace_call_history_src_line): ...this. Use new btrace
4147 (btrace_func_history): Rename to ...
4148 (btrace_call_history): ...this. Use new btrace thread info
4149 fields and new iterator.
4150 (record_btrace_call_history, record_btrace_call_history_range):
4151 Use new btrace thread info fields and new iterator.
4153 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4155 * frame.h (frame_id_build_unavailable_stack_special): New.
4156 * frame.c (frame_id_build_unavailable_stack_special): New.
4158 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4160 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
4161 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
4162 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
4164 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
4165 (i386_insn_is_jump, i386_jmp_p): New.
4166 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
4167 insn_is_jump to gdbarch.
4168 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
4169 * gdbarch.h: Regenerated.
4170 * gdbarch.c: Regenerated.
4171 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
4172 (default_insn_is_jump): New.
4173 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
4174 (default_insn_is_jump): New.
4176 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4178 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
4180 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
4181 (btrace_read_type) <btrace_read_new>: Change to ...
4182 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
4184 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4186 * common/linux-btrace.c (linux_read_btrace): Free trace from
4189 2014-01-15 Doug Evans <dje@google.com>
4191 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
4194 2014-01-15 Tom Tromey <tromey@redhat.com>
4196 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
4197 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
4198 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
4199 (set_objfile_main_name): New function.
4200 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
4201 language_of_main>: New fields.
4202 (set_objfile_main_name): Declare.
4203 * symtab.c (find_main_name): Loop over objfiles to find the main
4205 (set_main_name): Now static.
4206 (get_main_info): Add comment.
4207 * symtab.h (set_main_name): Don't declare.
4209 2014-01-15 Tom Tromey <tromey@redhat.com>
4211 * symtab.c (main_progspace_key): New global.
4212 (struct main_info): New.
4213 (name_of_main, language_of_main): Remove.
4214 (get_main_info, main_info_cleanup): New function.
4215 (set_main_name, main_name, main_language): Use get_main_info.
4216 (_initialize_symtab): Initialize main_progspace_key.
4218 2014-01-15 Tom Tromey <tromey@redhat.com>
4220 * dbxread.c (process_one_symbol): Update.
4221 * dwarf2read.c (read_partial_die): Update.
4222 * symfile.c (set_initial_language): Call main_language.
4223 * symtab.c (language_of_main): Now static.
4224 (set_main_name): Add 'lang' parameter.
4225 (find_main_name): Update.
4226 (main_language): New function.
4227 (symtab_observer_executable_changed): Update.
4228 * symtab.h (set_main_name): Update.
4229 (language_of_main): Remove.
4230 (main_language): Declare.
4232 2014-01-15 Tom Tromey <tromey@redhat.com>
4234 * symfile.c (init_entry_point_info): Use new "initialized" field.
4236 * objfiles.h (struct entry_point) <initialized>: New field.
4237 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
4238 (struct objfile) <ei>: ...here. Remove.
4239 * objfiles.c (entry_point_address_query): Update.
4241 2014-01-15 Tom Tromey <tromey@redhat.com>
4243 * objfiles.c (entry_point_address_query): Relocate entry point
4245 (objfile_relocate1): Do not relocate entry point address.
4246 * objfiles.h (struct entry_info) <entry_point>: Update comment.
4247 <the_bfd_section_index>: New field.
4248 * symfile.c (init_entry_point_info): Find the entry point's
4251 2014-01-15 Tom Tromey <tromey@redhat.com>
4253 * solib-frv.c (enable_break): Use entry_point_address_query.
4255 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4257 * NEWS: Add note on improved process record-replay on
4258 arm*-linux* targets.
4260 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4262 * arm-tdep.c (enum arm_record_result): New enum.
4263 (arm_record_unsupported_insn): New function.
4264 (arm_record_coproc_data_proc): Removed.
4265 (thumb2_record_ld_st_multiple): New function.
4266 (thumb2_record_ld_st_dual_ex_tbb): New function.
4267 (thumb2_record_data_proc_sreg_mimm): New function.
4268 (thumb2_record_ps_dest_generic): New function.
4269 (thumb2_record_branch_misc_cntrl): New function.
4270 (thumb2_record_str_single_data): New function.
4271 (thumb2_record_ld_mem_hints): New function.
4272 (thumb2_record_ld_word): New function.
4273 (thumb2_record_lmul_lmla_div): New function.
4274 (thumb2_record_decode_insn_handler): New function.
4275 (decode_insn): Add thumb32 instruction handlers.
4277 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4279 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
4280 (struct arm_linux_record_tdep): Declare.
4281 (arm_canonicalize_syscall): New function.
4282 (arm_all_but_pc_registers_record): New function.
4283 (arm_linux_syscall_record): New function.
4284 (arm_linux_init_abi): Add syscall recording constructs.
4285 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
4286 decoding. (arm_record_coproc_data_proc): Update arm syscall
4288 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
4289 <arm_syscall_record>: New field.
4290 * configure.tgt (arm*-*-linux*): Add linux-record.o to
4293 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4295 * arm-tdep.c (thumb_record_misc): Update to use sp as base
4296 register for push instruction recording.
4298 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4300 * arm-tdep.c (thumb_record_misc): Update to correct logical
4301 error while recording ldm, ldmia and pop instructions.
4303 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4305 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
4307 2014-01-15 Pedro Alves <palves@redhat.com>
4309 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
4310 (go32_resume, go32_fetch_registers, store_register)
4311 (go32_store_registers, go32_prepare_to_store)
4312 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
4313 (go32_create_inferior, go32_can_run, go32_terminal_init)
4314 (go32_terminal_inferior, go32_terminal_ours): Delete forward
4317 2014-01-15 Tom Tromey <tromey@redhat.com>
4319 * target.h (async_callback_ftype): New typedef.
4320 (struct target_ops) <to_async>: Use it.
4322 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4324 * python/py-value.c (get_field_type): Remove unnecessary curly
4325 braces for single-statement if block.
4327 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4329 * python/py-type.c (convert_field): Add missing empty line
4332 2014-01-14 Doug Evans <dje@google.com>
4334 * symfile.h (expand_symtabs_matching): Renamed from
4335 expand_partial_symbol_names. Update prototype.
4336 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4337 * symfile.c (expand_symtabs_matching): Renamed from
4338 expand_partial_symbol_names. New args file_matcher, kind.
4339 Rename arg fun to symbol_matcher.
4340 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4341 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
4342 ada_expand_partial_symbol_name.
4343 (ada_make_symbol_completion_list): Update to call
4344 expand_symtabs_matching.
4345 (ada_add_global_exceptions): Call expand_symtabs_matching.
4346 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
4347 call map_symbol_filenames.
4348 * symtab.c (sources_info): Update to call map_symbol_filenames.
4349 (search_symbols): Call expand_symtabs_matching.
4350 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
4351 (default_make_symbol_completion_list_break_on): Update to call
4352 expand_symtabs_matching.
4353 (make_source_files_completion_list): Update to call
4354 map_symbol_filenames.
4356 2014-01-14 Doug Evans <dje@google.com>
4358 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
4359 (expand_symtabs_symbol_matcher_ftype): New typedef.
4360 (quick_symbol_functions.expand_symtabs_matching): Update to use.
4361 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4362 * symfile.c (expand_partial_symbol_names): Update to use
4363 expand_symtabs_symbol_matcher_ftype.
4364 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
4365 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4366 Arg name_matcher renamed to symbol_matcher.
4367 * psymtab.c (recursively_search_psymtabs): Update to use
4368 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
4370 (expand_symtabs_matching_via_partial): Update to use
4371 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4372 Arg name_matcher renamed to symbol_matcher.
4374 2014-01-14 Doug Evans <dje@google.com>
4376 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
4377 (map_partial_symbol_filenames): Ditto.
4378 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
4379 (map_partial_symbol_filenames): Ditto.
4380 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
4381 (map_partial_symbol_filenames): Ditto.
4382 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
4383 (map_partial_symbol_filenames): Ditto.
4384 * symtab.c: Delete #include "psymtab.h".
4386 2014-01-14 Pedro Alves <palves@redhat.com>
4387 Tom Tromey <tromey@redhat.com>
4389 * infrun.c (use_displaced_stepping): Use find_record_target
4390 instead of RECORD_IS_USED.
4391 (adjust_pc_after_break): Use record_full_is_used instead of
4393 * record-btrace.c (record_btrace_open): Call record_preopen
4394 instead of checking RECORD_IS_USED.
4395 * record-full.c (record_full_shortname)
4396 (record_full_core_shortname): New globals.
4397 (record_full_is_used): New function.
4398 (find_full_open): Call record_preopen instead of checking
4400 (init_record_full_ops): Set the target's shortname to
4401 record_full_shortname.
4402 (init_record_full_core_ops): Set the target's shortname to
4403 record_full_core_shortname.
4404 * record-full.h (record_full_is_used): Declare.
4405 * record.c (find_record_target): Make extern.
4406 (record_preopen): New function.
4407 * record.h (RECORD_IS_USED): Delete macro.
4408 (find_record_target, record_preopen): Declare functions.
4410 2014-01-14 Yao Qi <yao@codesourcery.com>
4412 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
4413 'len''s type to ULONGEST.
4414 (core_xfer_shared_libraries_aix): Likewise.
4415 * gdbarch.c, gdbarch.h: Regenerated.
4416 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
4417 Change type of 'len' to ULONGEST.
4418 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4419 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
4421 2014-01-14 Yao Qi <yao@codesourcery.com>
4423 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
4424 type of 'len' to ULONGEST.
4425 (linux_xfer_osdata_processgroups): Likewise.
4426 (linux_xfer_osdata_threads): Likewise.
4427 (linux_xfer_osdata_fds): Likewise.
4428 (linux_xfer_osdata_isockets): Likewise.
4429 (linux_xfer_osdata_shm): Likewise.
4430 (linux_xfer_osdata_sem): Likewise.
4431 (linux_xfer_osdata_msg): Likewise.
4432 (linux_common_xfer_osdata): Likewise.
4433 (struct osdata_type) <getter>: Likewise.
4434 * common/linux-osdata.h (linux_common_xfer_osdata): Update
4437 2014-01-14 Yao Qi <yao@codesourcery.com>
4439 * target.h (target_xfer_partial_ftype): Update.
4440 (struct target_ops) <to_xfer_partial>: Change 'len' type to
4442 * aix-thread.c (aix_thread_xfer_partial): Change type of
4443 argument 'len' to ULONGEST.
4444 * auxv.c (procfs_xfer_auxv): Likewise.
4445 (ld_so_xfer_auxv): Likewise.
4446 (memory_xfer_auxv): Likewise.
4447 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4448 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4449 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4450 * corelow.c (core_xfer_partial): Likewise.
4451 * ctf.c (ctf_xfer_partial): Likewise.
4452 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
4454 (darwin_read_dyld_info): Likewise.
4455 (darwin_xfer_partial): Likewise.
4456 * exec.c (section_table_xfer_memory_partial): Likewise.
4457 (exec_xfer_partial): Likewise.
4458 * exec.h (section_table_xfer_memory_partial): Update
4460 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
4461 instead of plongest.
4462 (gnu_xfer_partial): Likewise.
4463 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
4464 (ia64_hpux_xfer_solib_got): Likewise.
4465 (ia64_hpux_xfer_partial): Likewise.
4466 * ia64-linux-nat.c (ia64_linux_xfer_partial):
4467 * inf-ptrace.c (inf_ptrace_xfer_partial):
4468 * inf-ttrace.c (inf_ttrace_xfer_partial):
4469 * linux-nat.c (linux_xfer_siginfo): Likewise.
4470 (linux_nat_xfer_partial): Likewise.
4471 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
4472 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
4473 * monitor.c (monitor_xfer_memory): Likewise.
4474 (monitor_xfer_partial): Likewise.
4475 * procfs.c (procfs_xfer_partial): Likewise.
4476 * record-full.c (record_full_xfer_partial): Likewise.
4477 (record_full_core_xfer_partial): Likewise.
4478 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
4479 instead of plongest.
4480 (gdbsim_xfer_partial): Likewise.
4481 * remote.c (remote_xfer_partial): Likewise.
4482 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4483 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4485 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4486 (rs6000_xfer_shared_libraries): Likewise.
4487 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4488 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4489 (sparc_xfer_partial): Likewise.
4490 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4491 (spu_xfer_partial): Likewise.
4492 * spu-multiarch.c (spu_xfer_partial): Likewise.
4493 * target.c (target_read_live_memory): Likewise.
4494 (memory_xfer_live_readonly_partial): Likewise.
4495 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
4496 (target_xfer_partial, default_xfer_partial): Likewise.
4497 (current_xfer_partial): Likewise.
4498 * tracepoint.c (tfile_xfer_partial): Likewise.
4499 * windows-nat.c (windows_xfer_memory): Likewise. Call
4500 pulongest instead of plongest.
4501 (windows_xfer_partial): Likewise.
4502 (windows_xfer_shared_libraries): Likewise.
4504 2014-01-14 Yao Qi <yao@codesourcery.com>
4506 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
4507 target_xfer_partial_ftype.
4509 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4513 * valops.c (value_struct_elt_bitpos): New function
4514 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
4515 object to 'None' if the field name is an empty string ("").
4516 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
4517 attribute to look for a field when 'name' is 'None'.
4518 (get_field_type): New function
4520 2014-01-13 Doug Evans <dje@google.com>
4523 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
4524 (try_open_dwop_file): Ditto.
4525 * gdb_bfd.c: #include "vec.h".
4526 (bfdp): New typedef.
4527 (struct gdb_bfd_data): New member included_bfds.
4528 (gdb_bfd_unref): Unref all included bfds.
4529 (gdb_bfd_record_inclusion): New function.
4530 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
4532 2014-01-13 Tom Tromey <tromey@redhat.com>
4534 * gdbcore.h (deprecated_core_resize_section_table): Remove.
4536 2014-01-13 Tom Tromey <tromey@redhat.com>
4538 * defs.h (use_windows): Remove.
4539 * gdb.c (main): Update.
4540 * main.c (captured_main, gdb_main): Update.
4541 * main.h (struct captured_main_args) <use_windows>: Remove.
4542 * top.c (use_windows): Remove.
4544 2014-01-13 Tom Tromey <tromey@redhat.com>
4546 * defs.h (deprecated_flush_hook): Remove.
4548 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4551 * linux-thread-db.c (try_thread_db_load): Add parameter
4552 check_auto_load_safe. Move here the file_is_auto_load_safe call.
4553 (try_thread_db_load_from_pdir_1): Move it there from here.
4554 (try_thread_db_load_from_sdir): Update caller.
4555 (try_thread_db_load_from_dir): Move it there from here.
4557 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
4559 * regformats/regdat.sh: Always rewrite the register file.
4561 2014-01-13 Pedro Alves <palves@redhat.com>
4563 * Makefile.in (CHECK_HEADERS): New variable.
4564 (check-headers:): New rule.
4566 2014-01-13 Tom Tromey <tromey@redhat.com>
4568 * cli/cli-setshow.c (do_set_command): Update.
4569 * defs.h (deprecated_set_hook): Remove.
4570 * top.c (deprecated_set_hook): Remove.
4572 2014-01-13 Pedro Alves <palves@redhat.com>
4574 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
4575 the tracepoint if the PC is a pseudo-register.
4577 2014-01-13 Tom Tromey <tromey@redhat.com>
4579 * defs.h (XCALLOC): Remove.
4580 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
4581 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
4582 * dwarf2loc.c (allocate_piece_closure): Likewise.
4583 * elfread.c (elf_symfile_segments): Likewise.
4584 (elf_symfile_segments): Likewise.
4585 * gdbtypes.c (copy_type_recursive): Likewise.
4586 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
4587 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
4588 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
4590 * mt-tdep.c (mt_gdbarch_init): Likewise.
4591 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
4593 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
4594 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
4595 * registry.c (registry_alloc_data): Likewise.
4596 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
4597 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
4598 * serial.c (serial_fdopen_ops): Likewise.
4599 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
4601 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
4602 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
4605 2014-01-13 Tom Tromey <tromey@redhat.com>
4607 * defs.h (XMALLOC): Remove.
4608 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
4609 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
4610 * cli-out.c (struct ui_out *): Likewise.
4611 * cli/cli-dump.c (add_dump_command): Likewise.
4612 (add_dump_command): Likewise.
4613 * complaints.c (get_complaints): Likewise.
4614 (find_complaint): Likewise.
4615 * dwarf2-frame.c (execute_cfa_program): Likewise.
4616 * dwarf2read.c (abbrev_table_read_table): Likewise.
4617 * gdbarch.sh: Likewise.
4618 * gdbarch.c: Rebuild.
4619 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
4620 * interps.c (interp_new): Likewise.
4621 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
4622 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
4623 * mi/mi-console.c (mi_console_file_new): Likewise.
4624 * mi/mi-interp.c (mi_interpreter_init): Likewise.
4625 * mi/mi-out.c (mi_out_new): Likewise.
4626 * mi/mi-parse.c (mi_parse): Likewise.
4627 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
4628 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
4629 * observer.c (xalloc_observer_list_node): Likewise.
4630 * regcache.c (regcache_xmalloc_1): Likewise.
4631 * reggroups.c (reggroup_new): Likewise.
4632 (_initialize_reggroup): Likewise.
4633 * registry.c (register_data_with_cleanup): Likewise.
4634 * remote.c (remote_notif_stop_alloc_reply): Likewise.
4635 * ser-base.c (serial_ttystate): Likewise.
4636 * ser-mingw.c (make_pipe_state): Likewise.
4637 * ser-pipe.c (pipe_open): Likewise.
4638 * serial.c (serial_open): Likewise.
4639 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
4640 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
4641 (tui_alloc_win_info): Likewise.
4642 (tui_add_content_elements): Likewise.
4643 * tui/tui-file.c (tui_file_new): Likewise.
4644 * tui/tui-out.c (tui_out_new): Likewise.
4645 * ui-file.c (mem_file_new): Likewise.
4646 * ui-out.c (push_level): Likewise.
4647 (make_cleanup_ui_out_end): Likewise.
4648 (append_header_to_list): Likewise.
4649 (ui_out_new): Likewise.
4650 * user-regs.c (user_reg_add_builtin): Likewise.
4652 2014-01-13 Tom Tromey <tromey@redhat.com>
4654 * defs.h (XZALLOC): Remove.
4655 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
4656 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
4657 (get_ada_tasks_inferior_data): Likewise.
4658 * auto-load.c (get_auto_load_pspace_data): Likewise.
4659 * auxv.c (get_auxv_inferior_data): Likewise.
4660 * bfd-target.c (target_bfd_reopen): Likewise.
4661 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
4662 (deprecated_insert_raw_breakpoint): Likewise.
4663 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
4664 * corelow.c (core_open): Likewise.
4665 * darwin-nat.c (darwin_check_new_threads): Likewise.
4666 (darwin_attach_pid): Likewise.
4667 * dummy-frame.c (dummy_frame_push): Likewise.
4668 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
4669 * dwarf2loc.c (allocate_piece_closure): Likewise.
4670 * elfread.c (elf_symfile_segments): Likewise.
4671 * eval.c (ptrmath_type_p): Likewise.
4672 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
4673 * gdbtypes.c (alloc_type_arch): Likewise.
4674 (alloc_type_instance): Likewise.
4675 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
4676 * inf-child.c (inf_child_can_use_agent): Likewise.
4677 * inflow.c (get_inflow_inferior_data): Likewise.
4678 * infrun.c (save_infcall_suspend_state): Likewise.
4679 * jit.c (jit_reader_load): Likewise.
4680 (get_jit_objfile_data): Likewise.
4681 (get_jit_program_space_data): Likewise.
4682 (jit_object_open_impl): Likewise.
4683 (jit_symtab_open_impl): Likewise.
4684 (jit_block_open_impl): Likewise.
4685 (jit_frame_sniffer): Likewise.
4686 * linux-fork.c (add_fork): Likewise.
4687 * maint.c (make_command_stats_cleanup): Likewise.
4688 * objfiles.c (get_objfile_pspace_data): Likewise.
4689 * opencl-lang.c (struct lval_closure): Likewise.
4690 * osdata.c (osdata_start_osdata): Likewise.
4691 * progspace.c (new_address_space): Likewise.
4692 (add_program_space): Likewise.
4693 * remote-sim.c (get_sim_inferior_data): Likewise.
4694 * sh-tdep.c (sh_gdbarch_init): Likewise.
4695 * skip.c (Ignore): Likewise.
4696 (skip_delete_command): Likewise.
4697 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4698 (library_list_start_library): Likewise.
4699 (solib_aix_current_sos): Likewise.
4700 * solib-darwin.c (get_darwin_info): Likewise.
4701 (darwin_current_sos): Likewise.
4702 * solib-dsbt.c (get_dsbt_info): Likewise.
4703 * solib-ia64-hpux.c (new_so_list): Likewise.
4704 (ia64_hpux_get_solib_linkage_addr): Likewise.
4705 * solib-spu.c (append_ocl_sos): Likewise.
4706 (spu_current_sos): Likewise.
4707 * solib-svr4.c (get_svr4_info): Likewise.
4708 (svr4_keep_data_in_core): Likewise.
4709 (library_list_start_library): Likewise.
4710 (svr4_default_sos): Likewise.
4711 (svr4_read_so_list): Likewise.
4712 * solib-target.c (library_list_start_library): Likewise.
4713 (solib_target_current_sos): Likewise.
4714 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4715 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4716 * symfile.c (default_symfile_segments): Likewise.
4717 * target-descriptions.c (tdesc_data_init): Likewise.
4718 (tdesc_create_reg): Likewise.
4719 (struct tdesc_type *): Likewise.
4720 (tdesc_create_vector): Likewise.
4721 (tdesc_set_struct_size): Likewise.
4722 (struct tdesc_type *): Likewise.
4723 (tdesc_free_feature): Likewise.
4724 (tdesc_create_feature): Likewise.
4725 * windows-nat.c (windows_add_thread): Likewise.
4726 (windows_make_so): Likewise.
4727 * xml-support.c (gdb_xml_body_text): Likewise.
4728 (gdb_xml_create_parser_and_cleanup): Likewise.
4729 (xml_process_xincludes): Likewise.
4730 * xml-syscall.c (allocate_syscalls_info): Likewise.
4731 (syscall_create_syscall_desc): Likewise.
4733 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4735 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4736 function, with code from i386_stap_parse_special_token.
4737 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4738 (i386_stap_parse_special_token): Move code to the two functions
4741 2014-01-09 Pedro Alves <palves@redhat.com>
4742 Hui Zhu <hui@codesourcery.com>
4745 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4746 bp_err_string. Don't mark the location shlib_disabled if the
4747 error thrown wasn't a generic or memory error. Catch errors
4748 thrown while inserting breakpoints in overlayed code. Output
4749 error message of software breakpoints.
4750 * remote.c (remote_insert_breakpoint): If this breakpoint has
4751 target-side commands but this stub doesn't support Z0 packets,
4752 throw NOT_SUPPORTED_ERROR error.
4753 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4754 * target.h (target_insert_breakpoint): Extend comment.
4755 (target_insert_hw_breakpoint): Add comment.
4757 2014-01-08 Pedro Alves <palves@redhat.com>
4759 * remote.c (remote_add_thread): Add threads silently if starting
4761 (remote_notice_new_inferior): If in all-stop, and starting up,
4762 don't call notice_new_inferior.
4763 (get_current_thread): New function, factored out from ...
4764 (add_current_inferior_and_thread): ... this. Adjust.
4765 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4766 found any thread, then select the remote's current thread as GDB's
4769 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4771 * NEWS: Create a new section for the next release branch.
4772 Rename the section of the current branch, now that it has
4775 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4777 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4778 * version.in: Bump version to 7.7.50.DATE-cvs.
4780 2014-01-08 Yao Qi <yao@codesourcery.com>
4782 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4783 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4784 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4786 2014-01-08 Yao Qi <yao@codesourcery.com>
4788 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4789 return value of bfd_get_filename to symbol_file_add_from_bfd.
4791 2014-01-08 Pierre Muller <muller@sourceware.org>
4794 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4795 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4796 to prim_record_mininal_symbol_and_info.
4797 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4798 in call to prim_record_minimal_symbol_and_info.
4799 (read_pe_exported_syms): Set index field of section_data.
4801 2014-01-07 Andrew Pinski <apinski@cavium.com>
4803 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4804 * features/aarch64.c: Regenerate.
4806 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4808 * target.c (return_null): Define.
4809 (update_current_target): Use it instead of return_zero for
4810 functions that return a pointer.
4812 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4814 * source.c (add_path): Fix check for duplicated paths in the previously
4817 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4819 * ada-lang.c: Remove duplicated include statements.
4820 * alphabsd-nat.c: Ditto.
4821 * amd64-darwin-tdep.c: Ditto.
4822 * amd64fbsd-nat.c: Ditto.
4823 * auto-load.c: Ditto.
4825 * breakpoint.c: Ditto.
4827 * fork-child.c: Ditto.
4828 * gdb_usleep.c: Ditto.
4829 * i386-darwin-tdep.c: Ditto.
4830 * i386fbsd-nat.c: Ditto.
4832 * inferior.c: Ditto.
4834 * linux-nat.c: Ditto.
4835 * linux-tdep.c: Ditto.
4836 * m68kbsd-nat.c: Ditto.
4837 * m68klinux-nat.c: Ditto.
4838 * microblaze-tdep.c: Ditto.
4839 * mips-linux-tdep.c: Ditto.
4840 * mn10300-tdep.c: Ditto.
4841 * nto-tdep.c: Ditto.
4842 * opencl-lang.c: Ditto.
4844 * printcmd.c: Ditto.
4845 * regcache.c: Ditto.
4846 * remote-m32r-sdi.c: Ditto.
4850 * tilegx-linux-nat.c: Ditto.
4851 * tilegx-tdep.c: Ditto.
4852 * tracepoint.c: Ditto.
4854 * vaxbsd-nat.c: Ditto.
4855 * windows-nat.c: Ditto.
4856 * xtensa-tdep.c: Ditto.
4858 2014-01-07 Yao Qi <yao@codesourcery.com>
4860 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4862 2014-01-07 Yao Qi <yao@codesourcery.com>
4863 Joel Brobecker <brobecker@adacore.com>
4865 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4866 (pdc_write_regs): Likewise.
4867 (fetch_regs_kernel_thread): Likewise.
4868 (store_regs_kernel_thread): Likewise.
4870 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4872 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4873 tagged type objects to their actual type.
4875 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4877 * ada-valprint.c (print_field_values): Add "language" parameter.
4878 Update calls to print_field_values and print_variant_part.
4879 Pass new parameter "language" in call to val_print instead
4880 of "current_language". Replace call to ada_val_print by call
4882 (print_variant_part): Add "language" parameter.
4883 (ada_val_print_struct_union): Update call to print_field_values.
4885 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4887 * ada-valprint.c (ui_memcpy): Delete.
4888 (ada_print_floating): Update documentation. Add empty line
4889 between between function documentation and implementation.
4890 Delete variable "buffer". Use ui_file_xstrdup in place of
4891 ui_file_put. Minor adjustments following this change.
4893 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4895 * ada-valprint.c (ada_val_print_string): New function,
4896 extracted from ada_val_print_array.
4897 (ada_val_print_array): Replace extracted code by call
4898 to ada_val_print_string followed by a return. Move
4899 "else" branch to the function's top block.
4901 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4903 * ada-valprint.c (ada_val_print_array): Move implementation
4904 down. Rename parameter "offset" and "val" into "offset_aligned"
4905 and "original_value" respectively. Add parameter "offset".
4907 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4909 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4910 re-organizing the code. Change the "???" message printed
4911 when target type is a TYPE_CODE_UNDEF into
4912 "<ref to undefined type>".
4914 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4916 * ada-valprint.c (print_record): Delete, implementation inlined...
4917 (ada_val_print_struct_union): ... here. Remove call to
4918 ada_check_typedef in inlined implementation.
4920 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4922 * ada-valprint.c (ada_val_print_gnat_array): New function,
4923 extracted from ada_val_print_1;
4924 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4925 (ada_val_print_flt, ada_val_print_struct_union)
4926 (ada_val_print_ref): Likewise.
4927 (ada_val_print_1): Delete variables i and elttype.
4928 Replace extracted-out code by call to corresponding
4931 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4933 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4935 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4937 * ada-valprint.c (ada_val_print_1): Replace calls to
4938 ada_val_print_1 by calls to val_print.
4940 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4942 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4943 Update calls to self accordingly. Replace calls to c_val_print
4944 by calls to val_print.
4946 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4948 * ada-valprint.c (print_record): Delete declaration.
4949 (adjust_type_signedness, ada_val_print_1): Likewise.
4950 (ada_val_print): Move function implementation down.
4951 (print_variant_part, print_field_values, print_record):
4952 Move function implementation up.
4954 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4956 * python/py-type.c (typy_get_name): New function.
4957 (type_object_getset): Add entry for attribute "name".
4958 * NEWS: Add entry mentioning this new attribute.
4960 2014-01-07 Yao Qi <yao@codesourcery.com>
4962 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
4965 2014-01-07 Yao Qi <yao@codesourcery.com>
4967 * gnu-nat.c (info_port_rights): Add qualifier const to
4970 2014-01-07 Yao Qi <yao@codesourcery.com>
4972 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
4974 2014-01-07 Yao Qi <yao@codesourcery.com>
4976 * gnu-nat.c (make_inf) Update declaration.
4977 (make_inf): Make it static.
4978 (inf_set_traced): Likewise.
4979 (inf_port_to_thread, inf_task_died_status): Likewise.
4981 2014-01-07 Yao Qi <yao@codesourcery.com>
4983 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
4985 2014-01-07 Yao Qi <yao@codesourcery.com>
4987 * gnu-nat.c (_initialize_gnu_nat): Declare.
4989 2014-01-07 Yao Qi <yao@codesourcery.com>
4991 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
4993 (struct gdbarch_info) <byte_order>: Change type to
4995 <byte_order_for_code>: Likewise.
4996 * gdbarch.c, gdbarch.h: Regenerated.
4998 2014-01-06 Sasha Smundak <asmundak@google.com>
5000 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
5002 2014-01-06 Tom Tromey <tromey@redhat.com>
5004 * doublest.c (convert_doublest_to_floatformat): Use const, not
5006 * somread.c (som_symtab_read): Likewise.
5008 2014-01-07 Hui Zhu <hui@codesourcery.com>
5010 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
5011 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
5012 (gdb_bfd_fopen): Ditto.
5013 (gdb_bfd_openr): Ditto.
5014 (gdb_bfd_openw): Ditto.
5015 (gdb_bfd_openr_iovec): Ditto.
5016 (gdb_bfd_fdopenr): Ditto.
5017 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
5018 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
5020 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
5022 * symfile-mem.c (symbol_file_add_from_memory): Removed
5023 gdb_bfd_stash_filename.
5025 2014-01-03 Doug Evans <dje@google.com>
5027 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
5030 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5032 Update year range in copyright notice of all files.
5034 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5036 * top.c (print_gdb_version): Set copyright year to 2014.
5038 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5040 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
5042 For older changes see ChangeLog-2013.
5048 version-control: never