1 2014-02-23 Yao Qi <yao@codesourcery.com>
3 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
4 (ctf_thread_alive, ctf_get_trace_status): Remove.
5 (init_ctf_ops): Don't set some fields of ctf_ops. Call
7 * tracefile-tfile.c (tfile_get_trace_status): Remove.
8 (tfile_has_stack, tfile_has_registers): Remove.
9 (tfile_thread_alive): Remove.
10 (init_tfile_ops): Don't set some fields of tfile_ops. Call
12 * tracefile.c (tracefile_has_stack): New function.
13 (tracefile_has_registers): New function.
14 (tracefile_thread_alive): New function.
15 (tracefile_get_trace_status): New function.
16 (init_tracefile_ops): New function.
17 * tracefile.h (init_tracefile_ops): Declare.
19 2014-02-23 Yao Qi <yao@codesourcery.com>
21 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
22 (O_LARGEFILE): Likewise.
23 (tfile_ops): Likewise.
24 (TRACE_HEADER_SIZE): Likewise.
25 (trace_fd, trace_frames_offset, cur_offset): Likewise.
26 (cur_data_size): Likewise.
27 (tfile_read, tfile_open, tfile_interp_line): Likewise.
28 (tfile_close, tfile_files_info): Likewise.
29 (tfile_get_trace_status): Likewise.
30 (tfile_get_tracepoint_status): Likewise.
31 (tfile_get_traceframe_address): Likewise.
32 (tfile_trace_find, match_blocktype): Likewise.
33 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
34 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
35 (tfile_get_trace_state_variable_value): Likewise.
36 (tfile_has_all_memory, tfile_has_memory): Likewise.
37 (tfile_has_stack, tfile_has_registers): Likewise.
38 (tfile_thread_alive, build_traceframe_info): Likewise.
39 (tfile_traceframe_info, init_tfile_ops): Likewise.
40 (_initialize_tracepoint): Don't call init_tfile_ops
41 and add_target_with_completer.
42 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
43 exec.h, completer.h and filenames.h.
44 (_initialize_tracefile_tfile): New function.
46 2014-02-23 Yao Qi <yao@codesourcery.com>
48 * Makefile.in (REMOTE_OBS): Append tracefile.o and
50 (HFILES_NO_SRCDIR): Add tracefile.h.
51 * ctf.c: Include "tracefile.h".
52 * tracefile.h: New file.
53 * tracefile.c: New file
54 * tracefile-tfile.c: New file.
55 * tracepoint.c: Include "tracefile.h".
56 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
57 (stop_reason_names): Add const.
58 (trace_file_writer_xfree): Move it to tracefile.c.
59 (trace_save, trace_save_command, trace_save_tfile): Likewise.
60 (trace_save_ctf): Likewise.
61 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
62 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
63 (tfile_write_header, tfile_write_regblock_type): Likewise.
64 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
65 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
66 (tfile_write_raw_data, tfile_end): Likewise.
67 (tfile_trace_file_writer_new): Likewise.
68 (free_uploaded_tp): Make it extern.
69 (free_uploaded_tsv): Make it extern.
70 (_initialize_tracepoint): Move code to register command 'tsave'
72 * tracepoint.h (stop_reason_names): Declare.
73 (struct trace_frame_write_ops): Move it to tracefile.h.
74 (struct trace_file_write_ops): Likewise.
75 (struct trace_file_writer): Likewise.
76 (free_uploaded_tsvs, free_uploaded_tps): Declare.
78 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
81 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
83 (get_cores_used_by_process): New parameter num_cores, use it.
84 (linux_xfer_osdata_processes): Pass num_cores to it.
85 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
88 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
90 * target.c (memory_xfer_partial): Fix length arg in call to
91 breakpoint_xfer_memory.
93 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
96 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
97 number comes after the + or - signs. Adjust length of register
100 2014-02-20 Tom Tromey <tromey@redhat.com>
102 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
103 (ada_varobj_ops): Mark "extern".
105 2014-02-20 Tom Tromey <tromey@redhat.com>
107 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
109 2014-02-20 Doug Evans <xdje42@gmail.com>
111 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
113 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
115 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
116 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
118 2014-02-20 lin zuojian <manjian2006@gmail.com>
119 Joel Brobecker <brobecker@adacore.com>
120 Doug Evans <xdje42@gmail.com>
123 * dwarf2read.c (struct die_info): New member in_process.
124 (reset_die_in_process): New function.
125 (process_die): Set it at the start, reset when returning.
126 (inherit_abstract_dies): Only call process_die if origin_child_die
127 not already being processed.
129 2014-02-20 Joel Brobecker <brobecker@adacore.com>
131 * windows-nat.c (handle_unload_dll): Add function documentation.
132 (do_initial_windows_stuff): Add comment explaining why we wait
133 until after inferior initialization has finished before
136 2014-02-20 Joel Brobecker <brobecker@adacore.com>
138 * windows-nat.c (get_module_name): Delete.
139 (windows_get_exec_module_filename): New function, mostly
140 inspired from get_module_name.
141 (windows_pid_to_exec_file): Replace call to get_module_name
142 by call to windows_get_exec_module_filename.
144 2014-02-20 Joel Brobecker <brobecker@adacore.com>
146 * windows-nat.c (handle_load_dll): Rewrite this function's
147 introductory comment. Remove code using get_module_name
148 to get the DLL's name.
150 2014-02-20 Joel Brobecker <brobecker@adacore.com>
152 * windows-nat.c (get_windows_debug_event): Ignore
153 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
154 if windows_initialization_done == 0.
155 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
156 Adjust implementation to always load all DLLs.
157 (do_initial_windows_stuff): Replace call to
158 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
160 2014-02-20 Joel Brobecker <brobecker@adacore.com>
162 * windows-nat.c (_initialize_windows_nat): Deprecate the
163 "dll-symbols" command. Turn the "add-shared-symbol-files"
164 and "assf" aliases into commands, and deprecate them as well.
165 * NEWS: Add entry explaining that "dll-symbols" and its two
166 aliases are now deprecated.
168 2014-02-20 Joel Brobecker <brobecker@adacore.com>
170 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
171 new-line in debug string. Remove trailing spaces.
173 2014-02-19 Stan Shebs <stan@codesourcery.com>
175 * darwin-nat.c (darwin_xfer_partial): Fix return type.
177 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
179 * NEWS: Add entry for the new feature
180 * python/py-value.c (valpy_binop): Call value_x_binop for struct
183 2014-02-19 Stan Shebs <stan@codesourcery.com>
185 * MAINTAINERS: List Yao Qi as nios2 maintainer.
187 2014-02-19 Pedro Alves <palves@redhat.com>
189 * common/ptid.h (struct ptid): Mention that process_stratum
190 targets should prefer ptid.lwp.
192 2014-02-19 Pedro Alves <palves@redhat.com>
194 * remote.c (remote_thread_alive, write_ptid, read_ptid)
195 (read_ptid, remote_newthread_step, remote_threads_extra_info)
196 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
197 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
198 store remote thread ids rather than ptid.tid.
199 (_initialize_remote): Adjust.
201 2014-02-19 Tom Tromey <tromey@redhat.com>
203 * target.c (target_get_unwinder): Rewrite.
204 (target_get_tailcall_unwinder): Rewrite.
205 * record-btrace.c (record_btrace_to_get_unwinder): New function.
206 (record_btrace_to_get_tailcall_unwinder): New function.
207 (init_record_btrace_ops): Update.
208 * target.h (struct target_ops) <to_get_unwinder,
209 to_get_tailcall_unwinder>: Now function pointers. Use
210 TARGET_DEFAULT_RETURN.
212 2014-02-19 Tom Tromey <tromey@redhat.com>
214 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
216 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
218 2014-02-19 Tom Tromey <tromey@redhat.com>
220 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
222 * target-delegates.c: Rebuild.
223 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
225 * target.c (default_target_decr_pc_after_break): Rename from
226 forward_target_decr_pc_after_break. Simplify.
227 (target_decr_pc_after_break): Rely on delegation.
229 2014-02-19 Tom Tromey <tromey@redhat.com>
231 * target.c (update_current_target): Do not INHERIT to_doc or
232 to_magic. Do not de_fault to_open or to_close.
234 2014-02-19 Tom Tromey <tromey@redhat.com>
236 * gcore.h (objfile_find_memory_regions): Declare.
237 * gcore.c (objfile_find_memory_regions): No longer static. Add
239 (_initialize_gcore): Don't call exec_set_find_memory_regions.
240 * exec.c: Include gcore.h.
241 (exec_set_find_memory_regions): Remove.
242 (exec_find_memory_regions): Remove.
243 (exec_do_find_memory_regions): Remove.
244 (init_exec_ops): Update.
245 * defs.h (exec_set_find_memory_regions): Remove.
247 2014-02-19 Tom Tromey <tromey@redhat.com>
249 * target-delegates.c: Rebuild.
250 * target.h (struct target_ops) <to_extra_thread_info,
251 to_thread_name, to_pid_to_exec_file, to_get_section_table,
252 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
253 not 0, in TARGET_DEFAULT_RETURN.
255 2014-02-19 Tom Tromey <tromey@redhat.com>
257 * target.c (complete_target_initialization): Remove casts. Use
258 return_zero_has_execution.
259 (return_zero): Add "ignore" argument.
260 (return_zero_has_execution): New function.
261 (init_dummy_target): Remove casts. Use
262 return_zero_has_execution.
264 2014-02-19 Tom Tromey <tromey@redhat.com>
266 * target.c (update_current_target): Update comments. Do not
269 2014-02-19 Tom Tromey <tromey@redhat.com>
271 * arm-linux-nat.c (arm_linux_read_description): Delegate when
273 * corelow.c (core_read_description): Delegate when needed.
274 * remote.c (remote_read_description): Delegate when needed.
275 * target-delegates.c: Rebuild.
276 * target.c (target_read_description): Rewrite.
277 * target.h (struct target_ops) <to_read_description>: Update
278 comment. Use TARGET_DEFAULT_RETURN.
280 2014-02-19 Tom Tromey <tromey@redhat.com>
282 * target-delegates.c: Rebuild.
283 * target.c (update_current_target): Don't inherit or default
285 (find_default_run_target): Check against delegate_can_run.
286 * target.h (struct target_ops) <to_can_run>: Use
287 TARGET_DEFAULT_RETURN.
289 2014-02-19 Tom Tromey <tromey@redhat.com>
291 * target-delegates.c: Rebuild.
292 * target.c (target_disconnect): Unconditionally delegate.
293 * target.h (struct target_ops) <to_disconnect>: Use
294 TARGET_DEFAULT_NORETURN.
296 2014-02-19 Tom Tromey <tromey@redhat.com>
298 * record.c (record_stop): Unconditionally delegate.
299 * target-delegates.c: Rebuild.
300 * target.c (target_stop_recording): Unconditionally delegate.
301 * target.h (struct target_ops) <to_stop_recording>: Use
302 TARGET_DEFAULT_IGNORE.
304 2014-02-19 Tom Tromey <tromey@redhat.com>
306 * target-delegates.c: Rebuild.
307 * target.c (target_enable_btrace): Unconditionally delegate.
308 * target.h (struct target_ops) <to_enable_btrace>: Use
309 TARGET_DEFAULT_NORETURN.
311 2014-02-19 Tom Tromey <tromey@redhat.com>
313 * target-delegates.c: Rebuild.
314 * target.c (target_read_btrace): Unconditionally delegate.
315 * target.h (struct target_ops) <to_read_btrace>: Use
316 TARGET_DEFAULT_NORETURN.
318 2014-02-19 Tom Tromey <tromey@redhat.com>
320 * target-delegates.c: Rebuild.
321 * target.c (target_teardown_btrace): Unconditionally delegate.
322 * target.h (struct target_ops) <to_teardown_btrace>: Use
323 TARGET_DEFAULT_NORETURN.
325 2014-02-19 Tom Tromey <tromey@redhat.com>
327 * target-delegates.c: Rebuild.
328 * target.c (target_disable_btrace): Unconditionally delegate.
329 * target.h (struct target_ops) <to_disable_btrace>: Use
330 TARGET_DEFAULT_NORETURN.
332 2014-02-19 Tom Tromey <tromey@redhat.com>
334 * target-delegates.c: Rebuild.
335 * target.c (default_search_memory): New function.
336 (simple_search_memory): Update comment.
337 (target_search_memory): Unconditionally delegate.
338 * target.h (struct target_ops) <to_search_memory>: Use
341 2014-02-19 Tom Tromey <tromey@redhat.com>
343 * auxv.c (default_auxv_parse): No longer static.
344 (target_auxv_parse): Unconditionally delegate.
345 * auxv.h (default_auxv_parse): Declare.
346 * target-delegates.c: Rebuild.
347 * target.c: Include auxv.h.
348 * target.h (struct target_ops) <to_auxv_parse>: Use
351 2014-02-19 Tom Tromey <tromey@redhat.com>
353 * target-delegates.c: Rebuild.
354 * target.c (target_memory_map): Unconditionally delegate.
355 * target.h (struct target_ops) <to_memory_map>: Use
356 TARGET_DEFAULT_RETURN.
358 2014-02-19 Tom Tromey <tromey@redhat.com>
360 * target-delegates.c: Rebuild.
361 * target.c (target_thread_alive): Unconditionally delegate.
362 * target.h (struct target_ops) <to_thread_alive>: Use
363 TARGET_DEFAULT_RETURN.
365 2014-02-19 Tom Tromey <tromey@redhat.com>
367 * target-delegates.c: Rebuild.
368 * target.c (target_save_record): Unconditionally delegate.
369 * target.h (struct target_ops) <to_save_record>: Use
370 TARGET_DEFAULT_NORETURN.
372 2014-02-19 Tom Tromey <tromey@redhat.com>
374 * target-delegates.c: Rebuild.
375 * target.c (target_delete_record): Unconditionally delegate.
376 * target.h (struct target_ops) <to_delete_record>: Use
377 TARGET_DEFAULT_NORETURN.
379 2014-02-19 Tom Tromey <tromey@redhat.com>
381 * target-delegates.c: Rebuild.
382 * target.c (target_record_is_replaying): Unconditionally
384 * target.h (struct target_ops) <to_record_is_replaying>: Use
385 TARGET_DEFAULT_RETURN.
387 2014-02-19 Tom Tromey <tromey@redhat.com>
389 * target-delegates.c: Rebuild.
390 * target.c (target_goto_record_begin): Unconditionally delegate.
391 * target.h (struct target_ops) <to_goto_record_begin>: Use
392 TARGET_DEFAULT_NORETURN.
394 2014-02-19 Tom Tromey <tromey@redhat.com>
396 * target-delegates.c: Rebuild.
397 * target.c (target_goto_record_end): Unconditionally delegate.
398 * target.h (struct target_ops) <to_goto_record_end>: Use
399 TARGET_DEFAULT_NORETURN.
401 2014-02-19 Tom Tromey <tromey@redhat.com>
403 * target-delegates.c: Rebuild.
404 * target.c (target_goto_record): Unconditionally delegate.
405 * target.h (struct target_ops) <to_goto_record>: Use
406 TARGET_DEFAULT_NORETURN.
408 2014-02-19 Tom Tromey <tromey@redhat.com>
410 * target-delegates.c: Rebuild.
411 * target.c (target_insn_history): Unconditionally delegate.
412 * target.h (struct target_ops) <to_insn_history>: Use
413 TARGET_DEFAULT_NORETURN.
415 2014-02-19 Tom Tromey <tromey@redhat.com>
417 * target-delegates.c: Rebuild.
418 * target.c (target_insn_history_from): Unconditionally delegate.
419 * target.h (struct target_ops) <to_insn_history_from>: Use
420 TARGET_DEFAULT_NORETURN.
422 2014-02-19 Tom Tromey <tromey@redhat.com>
424 * target-delegates.c: Rebuild.
425 * target.c (target_insn_history_range): Unconditionally delegate.
426 * target.h (struct target_ops) <to_insn_history_range>: Use
427 TARGET_DEFAULT_NORETURN.
429 2014-02-19 Tom Tromey <tromey@redhat.com>
431 * target-delegates.c: Rebuild.
432 * target.c (target_call_history): Unconditionally delegate.
433 * target.h (struct target_ops) <to_call_history>: Use
434 TARGET_DEFAULT_NORETURN.
436 2014-02-19 Tom Tromey <tromey@redhat.com>
438 * target-delegates.c: Rebuild.
439 * target.c (target_call_history_from): Unconditionally delegate.
440 * target.h (struct target_ops) <to_call_history_from>: Use
441 TARGET_DEFAULT_NORETURN.
443 2014-02-19 Tom Tromey <tromey@redhat.com>
445 * target-delegates.c: Rebuild.
446 * target.c (target_call_history_range): Unconditionally delegate.
447 * target.h (struct target_ops) <to_call_history_range>: Use
448 TARGET_DEFAULT_NORETURN.
450 2014-02-19 Tom Tromey <tromey@redhat.com>
452 * target-delegates.c: Rebuild.
453 * target.c (target_verify_memory): Unconditionally delegate.
454 * target.h (struct target_ops) <to_verify_memory>: Use
455 TARGET_DEFAULT_NORETURN.
457 2014-02-19 Tom Tromey <tromey@redhat.com>
459 * target-delegates.c: Rebuild.
460 * target.c (target_core_of_thread): Unconditionally delegate.
461 * target.h (struct target_ops) <to_core_of_thread>: Use
462 TARGET_DEFAULT_RETURN.
464 2014-02-19 Tom Tromey <tromey@redhat.com>
466 * target-delegates.c: Rebuild.
467 * target.c (target_flash_done): Unconditionally delegate.
468 * target.h (struct target_ops) <to_flash_done>: Use
469 TARGET_DEFAULT_NORETURN.
471 2014-02-19 Tom Tromey <tromey@redhat.com>
473 * target-delegates.c: Rebuild.
474 * target.c (target_flash_erase): Unconditionally delegate.
475 * target.h (struct target_ops) <to_flash_erase>: Use
476 TARGET_DEFAULT_NORETURN.
478 2014-02-19 Tom Tromey <tromey@redhat.com>
480 * target-delegates.c: Rebuild.
481 * target.c (target_get_section_table): Unconditionally delegate.
482 * target.h (struct target_ops) <to_get_section_table>: Use
483 TARGET_DEFAULT_RETURN.
485 2014-02-19 Tom Tromey <tromey@redhat.com>
487 * target-delegates.c: Rebuild.
488 * target.c (target_pid_to_str): Unconditionally delegate.
489 (init_dummy_target): Don't initialize to_pid_to_str.
490 (default_pid_to_str): Rename from dummy_pid_to_str.
491 * target.h (struct target_ops) <to_pid_to_str>: Use
494 2014-02-19 Tom Tromey <tromey@redhat.com>
496 * target-delegates.c: Rebuild.
497 * target.c (target_find_new_threads): Unconditionally delegate.
498 * target.h (struct target_ops) <to_find_new_threads>: Use
499 TARGET_DEFAULT_RETURN.
501 2014-02-19 Tom Tromey <tromey@redhat.com>
503 * target-delegates.c: Rebuild.
504 * target.c (target_program_signals): Unconditionally delegate.
505 * target.h (struct target_ops) <to_program_signals>: Use
506 TARGET_DEFAULT_IGNORE.
508 2014-02-19 Tom Tromey <tromey@redhat.com>
510 * target-delegates.c: Rebuild.
511 * target.c (target_pass_signals): Unconditionally delegate.
512 * target.h (struct target_ops) <to_pass_signals>: Use
513 TARGET_DEFAULT_IGNORE.
515 2014-02-19 Tom Tromey <tromey@redhat.com>
517 * target-delegates.c: Rebuild.
518 * target.c (default_mourn_inferior): New function.
519 (target_mourn_inferior): Unconditionally delegate.
520 * target.h (struct target_ops) <to_mourn_inferior>: Use
523 2014-02-19 Tom Tromey <tromey@redhat.com>
525 * target-delegates.c: Rebuild.
526 * target.c (default_follow_fork): New function.
527 (target_follow_fork): Unconditionally delegate.
528 * target.h (struct target_ops) <to_follow_fork>: Use
531 2014-02-19 Tom Tromey <tromey@redhat.com>
533 * target-delegates.c: Rebuild.
534 * target.c (target_kill): Unconditionally delegate.
535 * target.h (struct target_ops) <to_kill>: Use
536 TARGET_DEFAULT_NORETURN.
538 2014-02-19 Tom Tromey <tromey@redhat.com>
540 * target-delegates.c: Rebuild.
541 * target.c (target_masked_watch_num_registers): Unconditionally
543 * target.h (struct target_ops) <to_masked_watch_num_registers>:
544 Use TARGET_DEFAULT_RETURN.
546 2014-02-19 Tom Tromey <tromey@redhat.com>
548 * target-delegates.c: Rebuild.
549 * target.c (target_remove_mask_watchpoint): Unconditionally
551 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
552 TARGET_DEFAULT_RETURN.
554 2014-02-19 Tom Tromey <tromey@redhat.com>
556 * target-delegates.c: Rebuild.
557 * target.c (target_insert_mask_watchpoint): Unconditionally
559 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
560 TARGET_DEFAULT_RETURN.
562 2014-02-19 Tom Tromey <tromey@redhat.com>
564 * target-delegates.c: Rebuild.
565 * target.c (target_ranged_break_num_registers): Unconditionally
567 * target.h (struct target_ops) <to_ranged_break_num_registers>:
568 Use TARGET_DEFAULT_RETURN.
570 2014-02-19 Tom Tromey <tromey@redhat.com>
572 * target-delegates.c: Rebuild.
573 * target.c (target_fetch_registers): Unconditionally delegate.
574 * target.h (struct target_ops) <to_fetch_registers>: Use
575 TARGET_DEFAULT_NORETURN.
577 2014-02-19 Tom Tromey <tromey@redhat.com>
579 * target-delegates.c: Rebuild.
580 * target.c (update_current_target): Don't inherit or default
582 * target.h (struct target_ops) <to_stop>: Use
583 TARGET_DEFAULT_IGNORE.
585 2014-02-19 Tom Tromey <tromey@redhat.com>
587 * target-delegates.c: Rebuild.
588 * target.c (update_current_target): Don't inherit or default
589 to_can_run_breakpoint_commands.
590 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
591 Use TARGET_DEFAULT_RETURN.
593 2014-02-19 Tom Tromey <tromey@redhat.com>
595 * target-delegates.c: Rebuild.
596 * target.c (update_current_target): Don't inherit or default
597 to_supports_evaluation_of_breakpoint_conditions.
598 * target.h (struct target_ops)
599 <to_supports_evaluation_of_breakpoint_conditions>: Use
600 TARGET_DEFAULT_RETURN.
602 2014-02-19 Tom Tromey <tromey@redhat.com>
604 * target-delegates.c: Rebuild.
605 * target.c (update_current_target): Don't inherit or default
606 to_augmented_libraries_svr4_read.
607 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
608 Use TARGET_DEFAULT_RETURN.
610 2014-02-19 Tom Tromey <tromey@redhat.com>
612 * target-delegates.c: Rebuild.
613 * target.c (update_current_target): Don't inherit or default
615 * target.h (struct target_ops) <to_can_use_agent>: Use
616 TARGET_DEFAULT_RETURN.
618 2014-02-19 Tom Tromey <tromey@redhat.com>
620 * target-delegates.c: Rebuild.
621 * target.c (update_current_target): Don't inherit or default
623 * target.h (struct target_ops) <to_use_agent>: Use
624 TARGET_DEFAULT_NORETURN.
626 2014-02-19 Tom Tromey <tromey@redhat.com>
628 * target-delegates.c: Rebuild.
629 * target.c (update_current_target): Don't inherit or default
631 (return_null): Remove.
632 * target.h (struct target_ops) <to_traceframe_info>: Use
633 TARGET_DEFAULT_RETURN.
635 2014-02-19 Tom Tromey <tromey@redhat.com>
637 * target-delegates.c: Rebuild.
638 * target.c (update_current_target): Don't inherit or default
639 to_static_tracepoint_markers_by_strid.
640 * target.h (struct target_ops)
641 <to_static_tracepoint_markers_by_strid>: Use
642 TARGET_DEFAULT_NORETURN.
644 2014-02-19 Tom Tromey <tromey@redhat.com>
646 * target-delegates.c: Rebuild.
647 * target.c (update_current_target): Don't inherit or default
648 to_static_tracepoint_marker_at.
649 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
650 Use TARGET_DEFAULT_RETURN.
652 2014-02-19 Tom Tromey <tromey@redhat.com>
654 * target-delegates.c: Rebuild.
655 * target.c (update_current_target): Don't inherit or default
657 * target.h (struct target_ops) <to_set_permissions>: Use
658 TARGET_DEFAULT_IGNORE.
660 2014-02-19 Tom Tromey <tromey@redhat.com>
662 * target-delegates.c: Rebuild.
663 * target.c (update_current_target): Don't inherit or default
665 * target.h (struct target_ops) <to_get_tib_address>: Use
666 TARGET_DEFAULT_NORETURN.
668 2014-02-19 Tom Tromey <tromey@redhat.com>
670 * target-delegates.c: Rebuild.
671 * target.c (update_current_target): Don't inherit or default
673 * target.h (struct target_ops) <to_set_trace_notes>: Use
674 TARGET_DEFAULT_RETURN.
676 2014-02-19 Tom Tromey <tromey@redhat.com>
678 * target-delegates.c: Rebuild.
679 * target.c (update_current_target): Don't initialize
680 to_set_trace_buffer_size.
681 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
682 TARGET_DEFAULT_IGNORE.
684 2014-02-19 Tom Tromey <tromey@redhat.com>
686 * target-delegates.c: Rebuild.
687 * target.c (update_current_target): Don't inherit or default
688 to_set_circular_trace_buffer.
689 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
690 TARGET_DEFAULT_IGNORE.
692 2014-02-19 Tom Tromey <tromey@redhat.com>
694 * target-delegates.c: Rebuild.
695 * target.c (update_current_target): Don't inherit or default
696 to_set_disconnected_tracing.
697 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
698 TARGET_DEFAULT_IGNORE.
700 2014-02-19 Tom Tromey <tromey@redhat.com>
702 * target-delegates.c: Rebuild.
703 * target.c (update_current_target): Don't inherit or default
704 to_get_min_fast_tracepoint_insn_len.
705 (return_minus_one): Remove.
706 * target.h (struct target_ops)
707 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
709 2014-02-19 Tom Tromey <tromey@redhat.com>
711 * target-delegates.c: Rebuild.
712 * target.c (update_current_target): Don't inherit or default
713 to_get_raw_trace_data.
714 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
715 TARGET_DEFAULT_NORETURN.
717 2014-02-19 Tom Tromey <tromey@redhat.com>
719 * target-delegates.c: Rebuild.
720 * target.c (update_current_target): Don't inherit or default
721 to_upload_trace_state_variables.
722 * target.h (struct target_ops) <to_upload_trace_state_variables>:
723 Use TARGET_DEFAULT_RETURN.
725 2014-02-19 Tom Tromey <tromey@redhat.com>
727 * target-delegates.c: Rebuild.
728 * target.c (update_current_target): Don't inherit or default
729 to_upload_tracepoints.
730 * target.h (struct target_ops) <to_upload_tracepoints>: Use
731 TARGET_DEFAULT_RETURN.
733 2014-02-19 Tom Tromey <tromey@redhat.com>
735 * target-delegates.c: Rebuild.
736 * target.c (update_current_target): Don't inherit or default
738 * target.h (struct target_ops) <to_save_trace_data>: Use
739 TARGET_DEFAULT_NORETURN.
741 2014-02-19 Tom Tromey <tromey@redhat.com>
743 * target-delegates.c: Rebuild.
744 * target.c (update_current_target): Don't inherit or default
745 to_get_trace_state_variable_value.
746 * target.h (struct target_ops)
747 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
749 2014-02-19 Tom Tromey <tromey@redhat.com>
751 * target-delegates.c: Rebuild.
752 * target.c (update_current_target): Don't inherit or default
754 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
756 2014-02-19 Tom Tromey <tromey@redhat.com>
758 * target-delegates.c: Rebuild.
759 * target.c (update_current_target): Don't inherit or default
761 * target.h (struct target_ops) <to_trace_stop>: Use
762 TARGET_DEFAULT_NORETURN.
764 2014-02-19 Tom Tromey <tromey@redhat.com>
766 * target-delegates.c: Rebuild.
767 * target.c (update_current_target): Don't inherit or default
768 to_get_tracepoint_status.
769 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
770 TARGET_DEFAULT_NORETURN.
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
777 * target.h (struct target_ops) <to_get_trace_status>: Use
778 TARGET_DEFAULT_RETURN.
780 2014-02-19 Tom Tromey <tromey@redhat.com>
782 * target-delegates.c: Rebuild.
783 * target.c (update_current_target): Don't inherit or default
785 * target.h (struct target_ops) <to_trace_start>: Use
786 TARGET_DEFAULT_NORETURN.
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_trace_set_readonly_regions.
793 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
794 Use TARGET_DEFAULT_NORETURN.
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
800 to_disable_tracepoint.
801 * target.h (struct target_ops) <to_disable_tracepoint>: 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_enable_tracepoint.
809 * target.h (struct target_ops) <to_enable_tracepoint>: Use
810 TARGET_DEFAULT_NORETURN.
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
816 to_download_trace_state_variable.
817 * target.h (struct target_ops) <to_download_trace_state_variable>:
818 Use TARGET_DEFAULT_NORETURN.
820 2014-02-19 Tom Tromey <tromey@redhat.com>
822 * target-delegates.c: Rebuild.
823 * target.c (update_current_target): Don't inherit or default
824 to_can_download_tracepoint.
825 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
826 TARGET_DEFAULT_RETURN.
828 2014-02-19 Tom Tromey <tromey@redhat.com>
830 * target-delegates.c: Rebuild.
831 * target.c (update_current_target): Don't inherit or default
832 to_download_tracepoint.
833 * target.h (struct target_ops) <to_download_tracepoint>: Use
834 TARGET_DEFAULT_NORETURN.
836 2014-02-19 Tom Tromey <tromey@redhat.com>
838 * target-delegates.c: Rebuild.
839 * target.c (update_current_target): Don't inherit or default
841 * target.h (struct target_ops) <to_trace_init>: Use
842 TARGET_DEFAULT_RETURN.
844 2014-02-19 Tom Tromey <tromey@redhat.com>
846 * target-delegates.c: Rebuild.
847 * target.c (update_current_target): Don't inherit or default
848 to_supports_string_tracing.
849 * target.h (struct target_ops) <to_supports_string_tracing>: Use
850 TARGET_DEFAULT_RETURN.
852 2014-02-19 Tom Tromey <tromey@redhat.com>
854 * target-delegates.c: Rebuild.
855 * target.c (update_current_target): Don't inherit or default
856 to_supports_enable_disable_tracepoint.
857 * target.h (struct target_ops)
858 <to_supports_enable_disable_tracepoint>: Use
859 TARGET_DEFAULT_RETURN.
861 2014-02-19 Tom Tromey <tromey@redhat.com>
863 * target-delegates.c: Rebuild.
864 * target.c (update_current_target): Don't inherit or default
865 to_supports_multi_process.
866 * target.h (struct target_ops) <to_supports_multi_process>: Use
867 TARGET_DEFAULT_RETURN.
869 2014-02-19 Tom Tromey <tromey@redhat.com>
871 * target-delegates.c: Rebuild.
872 * target.c (update_current_target): Don't inherit or default
873 to_get_ada_task_ptid.
874 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
877 2014-02-19 Tom Tromey <tromey@redhat.com>
879 * target-delegates.c: Rebuild.
880 * target.c (update_current_target): Don't inherit or default
881 to_thread_architecture.
882 * target.h (struct target_ops) <to_thread_architecture>: Use
885 2014-02-19 Tom Tromey <tromey@redhat.com>
887 * target-delegates.c: Rebuild.
888 * target.c (update_current_target): Don't inherit or default
889 to_execution_direction.
890 * target.h (struct target_ops) <to_execution_direction>: Use
893 2014-02-19 Tom Tromey <tromey@redhat.com>
895 * target-delegates.c: Rebuild.
896 * target.c (update_current_target): Don't inherit or default
897 to_can_execute_reverse.
898 * target.h (struct target_ops) <to_can_execute_reverse>: Use
899 TARGET_DEFAULT_RETURN.
900 (target_can_execute_reverse): Unconditionally delegate.
902 2014-02-19 Tom Tromey <tromey@redhat.com>
904 * target-delegates.c: Rebuild.
905 * target.c (update_current_target): Don't inherit or default
907 (dummy_goto_bookmark): Remove.
908 (init_dummy_target): Don't inherit or default to_goto_bookmark.
909 * target.h (struct target_ops) <to_goto_bookmark>: Use
910 TARGET_DEFAULT_NORETURN.
912 2014-02-19 Tom Tromey <tromey@redhat.com>
914 * target-delegates.c: Rebuild.
915 * target.c (update_current_target): Don't inherit or default
917 (dummy_get_bookmark): Remove.
918 (init_dummy_target): Don't inherit or default to_get_bookmark.
919 * target.h (struct target_ops) <to_get_bookmark>: Use
920 TARGET_DEFAULT_NORETURN
922 2014-02-19 Tom Tromey <tromey@redhat.com>
924 * target-delegates.c: Rebuild.
925 * target.c (update_current_target): Don't inherit or default
926 to_make_corefile_notes.
927 (init_dummy_target): Don't initialize to_make_corefile_notes.
928 * target.h (struct target_ops) <to_make_corefile_notes>: Use
931 2014-02-19 Tom Tromey <tromey@redhat.com>
933 * target-delegates.c: Rebuild.
934 * target.c (update_current_target): Don't inherit or default
935 to_find_memory_regions.
936 (init_dummy_target): Don't initialize to_find_memory_regions.
937 * target.h (struct target_ops) <to_find_memory_regions>: 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
945 * target.h (struct target_ops) <to_log_command>: Use
946 TARGET_DEFAULT_IGNORE.
947 (target_log_command): Unconditionally delegate.
949 2014-02-19 Tom Tromey <tromey@redhat.com>
951 * target-delegates.c: Rebuild.
952 * target.c (update_current_target): Don't inherit or default
954 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
955 TARGET_DEFAULT_RETURN.
957 2014-02-19 Tom Tromey <tromey@redhat.com>
959 * target-delegates.c: Rebuild.
960 * target.c (update_current_target): Don't inherit or default
962 (target_thread_name): Unconditionally delegate.
963 * target.h (struct target_ops) <to_thread_name>: Use
964 TARGET_DEFAULT_RETURN.
966 2014-02-19 Tom Tromey <tromey@redhat.com>
968 * target-delegates.c: Rebuild.
969 * target.c (update_current_target): Don't inherit or default
970 to_extra_thread_info.
971 * target.h (struct target_ops) <to_extra_thread_info>: Use
972 TARGET_DEFAULT_RETURN.
974 2014-02-19 Tom Tromey <tromey@redhat.com>
976 * target-delegates.c: Rebuild.
977 * target.c (update_current_target): Don't inherit or default
979 * target.h (struct target_ops) <to_has_exited>: Use
980 TARGET_DEFAULT_RETURN..
982 2014-02-19 Tom Tromey <tromey@redhat.com>
984 * target-delegates.c: Rebuild.
985 * target.c (update_current_target): Don't inherit or default
986 to_set_syscall_catchpoint.
987 (return_one): Remove.
988 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
989 TARGET_DEFAULT_RETURN.
991 2014-02-19 Tom Tromey <tromey@redhat.com>
993 * target-delegates.c: Rebuild.
994 * target.c (update_current_target): Don't inherit or default
995 to_insert_exec_catchpoint.
996 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
997 TARGET_DEFAULT_RETURN.
999 2014-01-08 Tom Tromey <tromey@redhat.com>
1001 * target-delegates.c: Rebuild.
1002 * target.c (update_current_target): Don't inherit or default
1003 to_insert_exec_catchpoint.
1004 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1005 TARGET_DEFAULT_RETURN.
1007 2014-02-19 Tom Tromey <tromey@redhat.com>
1009 * target-delegates.c: Rebuild.
1010 * target.c (update_current_target): Don't inherit or default
1011 to_remove_vfork_catchpoint.
1012 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
1013 TARGET_DEFAULT_RETURN.
1015 2014-02-19 Tom Tromey <tromey@redhat.com>
1017 * target-delegates.c: Rebuild.
1018 * target.c (update_current_target): Don't inherit or default
1019 to_insert_vfork_catchpoint.
1020 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
1021 TARGET_DEFAULT_RETURN.
1023 2014-02-19 Tom Tromey <tromey@redhat.com>
1025 * target-delegates.c: Rebuild.
1026 * target.c (update_current_target): Don't inherit or default
1027 to_remove_fork_catchpoint.
1028 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
1029 TARGET_DEFAULT_RETURN.
1031 2014-02-19 Tom Tromey <tromey@redhat.com>
1033 * target-delegates.c: Rebuild.
1034 * target.c (update_current_target): Don't inherit or default
1035 to_insert_fork_catchpoint.
1036 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
1037 TARGET_DEFAULT_RETURN.
1039 2014-02-19 Tom Tromey <tromey@redhat.com>
1041 * target-delegates.c: Rebuild.
1042 * target.c (update_current_target): Don't inherit or default
1043 to_post_startup_inferior.
1044 * target.h (struct target_ops) <to_post_startup_inferior>: Use
1045 TARGET_DEFAULT_IGNORE.
1047 2014-02-19 Tom Tromey <tromey@redhat.com>
1049 * target-delegates.c: Rebuild.
1050 * target.c (update_current_target): Don't inherit or default
1052 * target.h (struct target_ops) <to_load>: Use
1053 TARGET_DEFAULT_NORETURN.
1055 2014-02-19 Tom Tromey <tromey@redhat.com>
1057 * target-delegates.c: Rebuild.
1058 * target.c (update_current_target): Don't inherit or default
1060 * target.h (struct target_ops) <to_terminal_info>: Use
1061 TARGET_DEFAULT_FUNC.
1063 2014-02-19 Tom Tromey <tromey@redhat.com>
1065 * target-delegates.c: Rebuild.
1066 * target.c (update_current_target): Don't inherit or default
1067 to_terminal_save_ours.
1068 * target.h (struct target_ops) <to_terminal_save_ours>: Use
1069 TARGET_DEFAULT_IGNORE.
1071 2014-02-19 Tom Tromey <tromey@redhat.com>
1073 * target-delegates.c: Rebuild.
1074 * target.c (update_current_target): Don't inherit or default
1076 * target.h (struct target_ops) <to_terminal_ours>: Use
1077 TARGET_DEFAULT_IGNORE.
1079 2014-02-19 Tom Tromey <tromey@redhat.com>
1081 * target-delegates.c: Rebuild.
1082 * target.c (update_current_target): Don't inherit or default
1083 to_terminal_ours_for_output.
1084 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
1085 TARGET_DEFAULT_IGNORE.
1087 2014-02-19 Tom Tromey <tromey@redhat.com>
1089 * target-delegates.c: Rebuild.
1090 * target.c (update_current_target): Don't inherit or default
1091 to_terminal_inferior.
1092 * target.h (struct target_ops) <to_terminal_inferior>: Use
1093 TARGET_DEFAULT_IGNORE.
1095 2014-02-19 Tom Tromey <tromey@redhat.com>
1097 * target-delegates.c: Rebuild.
1098 * target.c (update_current_target): Don't inherit or default
1100 * target.h (struct target_ops) <to_terminal_init>: Use
1101 TARGET_DEFAULT_IGNORE.
1103 2014-02-19 Tom Tromey <tromey@redhat.com>
1105 * target-delegates.c: Rebuild.
1106 * target.c (update_current_target): Don't inherit or default
1107 to_can_accel_watchpoint_condition.
1108 * target.h (struct target_ops)
1109 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
1111 2014-02-19 Tom Tromey <tromey@redhat.com>
1113 * target-delegates.c: Rebuild.
1114 * target.c (update_current_target): Don't inherit or default
1115 to_region_ok_for_hw_watchpoint.
1116 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1117 Use TARGET_DEFAULT_FUNC.
1119 2014-02-19 Tom Tromey <tromey@redhat.com>
1121 * target-delegates.c: Rebuild.
1122 * target.c (update_current_target): Don't inherit or default
1123 to_watchpoint_addr_within_range.
1124 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
1125 Use TARGET_DEFAULT_FUNC.
1127 2014-02-19 Tom Tromey <tromey@redhat.com>
1129 * target-delegates.c: Rebuild.
1130 * target.c (update_current_target): Don't inherit or default
1131 to_remove_watchpoint.
1132 * target.h (struct target_ops) <to_remove_watchpoint>: Use
1133 TARGET_DEFAULT_NORETURN.
1135 2014-02-19 Tom Tromey <tromey@redhat.com>
1137 * target-delegates.c: Rebuild.
1138 * target.c (update_current_target): Don't inherit or default
1139 to_insert_watchpoint.
1140 * target.h (struct target_ops) <to_insert_watchpoint>: Use
1141 TARGET_DEFAULT_RETURN.
1143 2014-02-19 Tom Tromey <tromey@redhat.com>
1145 * target-delegates.c: Rebuild.
1146 * target.c (update_current_target): Don't inherit or default
1147 to_remove_hw_breakpoint.
1148 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
1149 TARGET_DEFAULT_RETURN.
1151 2014-02-19 Tom Tromey <tromey@redhat.com>
1153 * target-delegates.c: Rebuild.
1154 * target.c (update_current_target): Don't inherit or default
1155 to_insert_hw_breakpoint.
1156 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
1157 TARGET_DEFAULT_RETURN.
1159 2014-02-19 Tom Tromey <tromey@redhat.com>
1161 * target-delegates.c: Rebuild.
1162 * target.c (update_current_target): Don't inherit or default
1163 to_can_use_hw_breakpoint.
1164 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
1165 TARGET_DEFAULT_RETURN.
1167 2014-02-19 Tom Tromey <tromey@redhat.com>
1169 * target-delegates.c: Rebuild.
1170 * target.c (update_current_target): Don't inherit or default
1172 * target.h (struct target_ops) <to_files_info>: Use
1173 TARGET_DEFAULT_IGNORE.
1175 2014-02-19 Tom Tromey <tromey@redhat.com>
1177 * target-delegates.c: Rebuild.
1178 * target.c (update_current_target): Don't inherit or default
1180 * target.h (struct target_ops) <to_store>: Use
1181 TARGET_DEFAULT_NORETURN.
1183 2014-02-19 Tom Tromey <tromey@redhat.com>
1185 * target-delegates.c: Rebuild.
1186 * target.c (update_current_target): Don't inherit or default
1188 * target.h (struct target_ops) <to_post_attach>: Use
1189 TARGET_DEFAULT_IGNORE.
1191 2014-02-19 Tom Tromey <tromey@redhat.com>
1193 * target-delegates.c: Rebuild.
1194 * target.c (update_current_target): Don't inherit or default
1196 (default_rcmd): New function.
1197 (do_monitor_command): Unconditionally delegate.
1198 * target.h (struct target_ops) <to_rmcd>: Use
1199 TARGET_DEFAULT_FUNC.
1201 2014-02-19 Tom Tromey <tromey@redhat.com>
1203 * target-delegates.c: Rebuild.
1204 * target.c (init_dummy_target): Don't initialize to_attach.
1205 (target_attach): Unconditionally delegate.
1206 * target.h (struct target_ops) <to_attach>: Use
1207 TARGET_DEFAULT_FUNC.
1209 2014-02-19 Tom Tromey <tromey@redhat.com>
1211 * target-delegates.c: Rebuild.
1212 * target.c (target_detach): Unconditionally delegate.
1213 (init_dummy_target): Don't initialize to_detach.
1214 * target.h (struct target_ops) <to_detach>: Use
1215 TARGET_DEFAULT_IGNORE.
1217 2014-02-19 Tom Tromey <tromey@redhat.com>
1219 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1221 (target_augmented_libraries_svr4_read): Add argument.
1222 * target.c (update_current_target): Update.
1223 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
1226 2014-02-19 Tom Tromey <tromey@redhat.com>
1228 * target.h (struct target_ops) <to_call_history_range>: Add
1230 * target.c (target_call_history_range): Add argument.
1231 * record-btrace.c (record_btrace_call_history_range): Add 'self'
1233 (record_btrace_call_history_from): Update.
1235 2014-02-19 Tom Tromey <tromey@redhat.com>
1237 * target.h (struct target_ops) <to_call_history_from>: Add
1239 * target.c (target_call_history_from): Add argument.
1240 * record-btrace.c (record_btrace_call_history_from): Add 'self'
1243 2014-02-19 Tom Tromey <tromey@redhat.com>
1245 * target.h (struct target_ops) <to_call_history>: Add argument.
1246 * target.c (target_call_history): Add argument.
1247 * record-btrace.c (record_btrace_call_history): Add 'self'
1250 2014-02-19 Tom Tromey <tromey@redhat.com>
1252 * target.h (struct target_ops) <to_insn_history_range>: Add
1254 * target.c (target_insn_history_range): Add argument.
1255 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
1257 (record_btrace_insn_history_from): Update.
1259 2014-02-19 Tom Tromey <tromey@redhat.com>
1261 * target.h (struct target_ops) <to_insn_history_from>: Add
1263 * target.c (target_insn_history_from): Add argument.
1264 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
1267 2014-02-19 Tom Tromey <tromey@redhat.com>
1269 * target.h (struct target_ops) <to_insn_history>: Add argument.
1270 * target.c (target_insn_history): Add argument.
1271 * record-btrace.c (record_btrace_insn_history): Add 'self'
1274 2014-02-19 Tom Tromey <tromey@redhat.com>
1276 * target.h (struct target_ops) <to_goto_record>: Add argument.
1277 * target.c (target_goto_record): Add argument.
1278 * record-full.c (record_full_goto): Add 'self' argument.
1279 * record-btrace.c (record_btrace_goto): Add 'self' argument.
1281 2014-02-19 Tom Tromey <tromey@redhat.com>
1283 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
1284 * target.c (target_goto_record_end): Add argument.
1285 * record-full.c (record_full_goto_end): Add 'self' argument.
1286 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
1288 2014-02-19 Tom Tromey <tromey@redhat.com>
1290 * target.h (struct target_ops) <to_goto_record_begin>: Add
1292 * target.c (target_goto_record_begin): Add argument.
1293 * record-full.c (record_full_goto_begin): Add 'self' argument.
1294 * record-btrace.c (record_btrace_goto_begin): Add 'self'
1297 2014-02-19 Tom Tromey <tromey@redhat.com>
1299 * target.h (struct target_ops) <to_record_is_replaying>: Add
1301 * target.c (target_record_is_replaying): Add argument.
1302 * record-full.c (record_full_is_replaying): Add 'self' argument.
1303 * record-btrace.c (record_btrace_is_replaying): Add 'self'
1305 (record_btrace_xfer_partial, record_btrace_store_registers)
1306 (record_btrace_prepare_to_store, record_btrace_resume)
1307 (record_btrace_wait, record_btrace_decr_pc_after_break)
1308 (record_btrace_find_new_threads, record_btrace_thread_alive):
1311 2014-02-19 Tom Tromey <tromey@redhat.com>
1313 * target.h (struct target_ops) <to_delete_record>: Add argument.
1314 * target.c (target_delete_record): Add argument.
1315 * record-full.c (record_full_delete): Add 'self' argument.
1317 2014-02-19 Tom Tromey <tromey@redhat.com>
1319 * target.h (struct target_ops) <to_save_record>: Add argument.
1320 * target.c (target_save_record): Add argument.
1321 * record-full.c (record_full_save): Add 'self' argument.
1322 (record_full_save): Add 'self' argument.
1324 2014-02-19 Tom Tromey <tromey@redhat.com>
1326 * target.h (struct target_ops) <to_info_record>: Add argument.
1327 * target.c (target_info_record): Add argument.
1328 * record.c (info_record_command): Add argument.
1329 * record-full.c (record_full_info): Add 'self' argument.
1330 * record-btrace.c (record_btrace_info): Add 'self' argument.
1332 2014-02-19 Tom Tromey <tromey@redhat.com>
1334 * target.h (struct target_ops) <to_stop_recording>: Add argument.
1335 * target.c (target_stop_recording): Add argument.
1336 * record.c (record_stop): Add argument.
1337 * record-btrace.c (record_btrace_stop_recording): Add 'self'
1340 2014-02-19 Tom Tromey <tromey@redhat.com>
1342 * target.h (struct target_ops) <to_read_btrace>: Add argument.
1343 * target.c (struct target_ops) <to_read_btrace>: Add argument.
1344 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
1346 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
1347 (_initialize_amd64_linux_nat): Use it.
1348 * i386-linux-nat.c (i386_linux_read_btrace): New function.
1349 (_initialize_i386_linux_nat): Use it.
1351 2014-02-19 Tom Tromey <tromey@redhat.com>
1353 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
1354 * target.c (target_teardown_btrace): Add argument.
1355 * remote.c (remote_teardown_btrace): Add 'self' argument.
1356 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
1358 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
1361 2014-02-19 Tom Tromey <tromey@redhat.com>
1363 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
1364 * target.c (target_disable_btrace): Add argument.
1365 * remote.c (remote_disable_btrace): Add 'self' argument.
1366 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
1368 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
1371 2014-02-19 Tom Tromey <tromey@redhat.com>
1373 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
1374 * target.c (target_enable_btrace): Add argument.
1375 * remote.c (remote_enable_btrace): Add 'self' argument.
1376 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
1378 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
1381 2014-02-19 Tom Tromey <tromey@redhat.com>
1383 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
1384 (target_can_use_agent): Add argument.
1385 * target.c (update_current_target): Update.
1386 * remote.c (remote_can_use_agent): Add 'self' argument.
1387 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
1389 2014-02-19 Tom Tromey <tromey@redhat.com>
1391 * target.h (struct target_ops) <to_use_agent>: Add argument.
1392 (target_use_agent): Add argument.
1393 * target.c (update_current_target): Update.
1394 * remote.c (remote_use_agent): Add 'self' argument.
1395 * inf-child.c (inf_child_use_agent): Add 'self' argument.
1397 2014-02-19 Tom Tromey <tromey@redhat.com>
1399 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
1400 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
1401 (target_traceframe_info): Add argument.
1402 * target.c (update_current_target): Update.
1403 * remote.c (remote_traceframe_info): Add 'self' argument.
1404 * ctf.c (ctf_traceframe_info): Add 'self' argument.
1406 2014-02-19 Tom Tromey <tromey@redhat.com>
1408 * target.h (target_static_tracepoint_markers_by_strid): Add
1410 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
1412 * target.c (update_current_target): Update.
1413 * remote.c (struct target_ops)
1414 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1415 * linux-nat.c (struct target_ops)
1416 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1418 2014-02-19 Tom Tromey <tromey@redhat.com>
1420 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1422 (target_static_tracepoint_marker_at): Add argument.
1423 * target.c (update_current_target): Update.
1424 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
1427 2014-02-19 Tom Tromey <tromey@redhat.com>
1429 * target.h (struct target_ops) <to_set_permissions>: Add argument.
1430 (target_set_permissions): Add argument.
1431 * target.c (update_current_target): Update.
1432 * remote.c (remote_set_permissions): Add 'self' argument.
1433 (remote_start_remote): Update.
1435 2014-02-19 Tom Tromey <tromey@redhat.com>
1437 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
1438 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
1439 (target_get_tib_address): Add argument.
1440 * target.c (update_current_target): Update.
1441 * remote.c (remote_get_tib_address): Add 'self' argument.
1443 2014-02-19 Tom Tromey <tromey@redhat.com>
1445 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
1446 (target_set_trace_notes): Add argument.
1447 * target.c (update_current_target): Update.
1448 * remote.c (remote_set_trace_notes): Add 'self' argument.
1450 2014-02-19 Tom Tromey <tromey@redhat.com>
1452 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
1454 (target_set_trace_buffer_size): Add argument.
1455 * target.c (update_current_target): Update.
1456 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
1458 2014-02-19 Tom Tromey <tromey@redhat.com>
1460 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
1462 (target_set_circular_trace_buffer): Add argument.
1463 * target.c (update_current_target): Update.
1464 * remote.c (remote_set_circular_trace_buffer): Add 'self'
1467 2014-02-19 Tom Tromey <tromey@redhat.com>
1469 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
1471 (target_set_disconnected_tracing): Add argument.
1472 * target.c (update_current_target): Update.
1473 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
1475 2014-02-19 Tom Tromey <tromey@redhat.com>
1477 * target.h (struct target_ops)
1478 <to_get_min_fast_tracepoint_insn_len>: Add argument.
1479 (target_get_min_fast_tracepoint_insn_len): Add argument.
1480 * target.c (update_current_target): Update.
1481 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
1484 2014-02-19 Tom Tromey <tromey@redhat.com>
1486 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
1488 (target_get_raw_trace_data): Add argument.
1489 * target.c (update_current_target): Update.
1490 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
1492 2014-02-19 Tom Tromey <tromey@redhat.com>
1494 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1496 (target_upload_trace_state_variables): Add argument.
1497 * target.c (update_current_target): Update.
1498 * remote.c (remote_upload_trace_state_variables): Add 'self'
1500 (remote_start_remote): Update.
1502 2014-02-19 Tom Tromey <tromey@redhat.com>
1504 * target.h (struct target_ops) <to_upload_tracepoints>: Add
1506 (target_upload_tracepoints): Add argument.
1507 * target.c (update_current_target): Update.
1508 * remote.c (remote_upload_tracepoints): Add 'self' argument.
1509 (remote_start_remote): Update.
1511 2014-02-19 Tom Tromey <tromey@redhat.com>
1513 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
1514 (target_save_trace_data): Add argument.
1515 * target.c (update_current_target): Update.
1516 * remote.c (remote_save_trace_data): Add 'self' argument.
1518 2014-02-19 Tom Tromey <tromey@redhat.com>
1520 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
1522 * target.h (struct target_ops)
1523 <to_get_trace_state_variable_value>: Add argument.
1524 (target_get_trace_state_variable_value): Add argument.
1525 * target.c (update_current_target): Update.
1526 * remote.c (remote_get_trace_state_variable_value): Add 'self'
1528 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
1530 2014-02-19 Tom Tromey <tromey@redhat.com>
1532 * tracepoint.c (tfile_trace_find): Add 'self' argument.
1533 * target.h (struct target_ops) <to_trace_find>: Add argument.
1534 (target_trace_find): Add argument.
1535 * target.c (update_current_target): Update.
1536 * remote.c (remote_trace_find): Add 'self' argument.
1537 * ctf.c (ctf_trace_find): Add 'self' argument.
1539 2014-02-19 Tom Tromey <tromey@redhat.com>
1541 * target.h (struct target_ops) <to_trace_stop>: Add argument.
1542 (target_trace_stop): Add argument.
1543 * target.c (update_current_target): Update.
1544 * remote.c (remote_trace_stop): Add 'self' argument.
1546 2014-02-19 Tom Tromey <tromey@redhat.com>
1548 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
1549 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
1551 (target_get_tracepoint_status): Add argument.
1552 * target.c (update_current_target): Update.
1553 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
1555 2014-02-19 Tom Tromey <tromey@redhat.com>
1557 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
1558 * target.h (struct target_ops) <to_get_trace_status>: Add
1560 (target_get_trace_status): Add argument.
1561 * target.c (update_current_target): Update.
1562 * remote.c (remote_get_trace_status): Add 'self' argument.
1563 (remote_start_remote, remote_can_download_tracepoint): Update.
1564 * ctf.c (ctf_get_trace_status): Add 'self' argument.
1566 2014-02-19 Tom Tromey <tromey@redhat.com>
1568 * target.h (struct target_ops) <to_trace_start>: Add argument.
1569 (target_trace_start): Add argument.
1570 * target.c (update_current_target): Update.
1571 * remote.c (remote_trace_start): Add 'self' argument.
1573 2014-02-19 Tom Tromey <tromey@redhat.com>
1575 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1577 (target_trace_set_readonly_regions): Add argument.
1578 * target.c (update_current_target): Update.
1579 * remote.c (remote_trace_set_readonly_regions): Add 'self'
1582 2014-02-19 Tom Tromey <tromey@redhat.com>
1584 * target.h (struct target_ops) <to_disable_tracepoint>: Add
1586 (target_disable_tracepoint): Add argument.
1587 * target.c (update_current_target): Update.
1588 * remote.c (remote_disable_tracepoint): Add 'self' argument.
1590 2014-02-19 Tom Tromey <tromey@redhat.com>
1592 * target.h (struct target_ops) <to_enable_tracepoint>: Add
1594 (target_enable_tracepoint): Add argument.
1595 * target.c (update_current_target): Update.
1596 * remote.c (remote_enable_tracepoint): Add 'self' argument.
1598 2014-02-19 Tom Tromey <tromey@redhat.com>
1600 * target.h (struct target_ops) <to_download_trace_state_variable>:
1602 (target_download_trace_state_variable): Add argument.
1603 * target.c (update_current_target): Update.
1604 * remote.c (remote_download_trace_state_variable): Add 'self'
1607 2014-02-19 Tom Tromey <tromey@redhat.com>
1609 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
1611 (target_can_download_tracepoint): Add argument.
1612 * target.c (update_current_target): Update.
1613 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
1615 2014-02-19 Tom Tromey <tromey@redhat.com>
1617 * target.h (struct target_ops) <to_download_tracepoint>: Add
1619 (target_download_tracepoint): Add argument.
1620 * target.c (update_current_target): Update.
1621 * remote.c (remote_download_tracepoint): Add 'self' argument.
1623 2014-02-19 Tom Tromey <tromey@redhat.com>
1625 * target.h (struct target_ops) <to_trace_init>: Add argument.
1626 (target_trace_init): Add argument.
1627 * target.c (update_current_target): Update.
1628 * remote.c (remote_trace_init): Add 'self' argument.
1630 2014-02-19 Tom Tromey <tromey@redhat.com>
1632 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1633 * target.c (target_fileio_readlink): Add argument.
1634 * remote.c (remote_hostio_readlink): Add 'self' argument.
1635 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1637 2014-02-19 Tom Tromey <tromey@redhat.com>
1639 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1640 * target.c (target_fileio_unlink): Add argument.
1641 * remote.c (remote_hostio_unlink): Add 'self' argument.
1642 (remote_file_delete): Update.
1643 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1645 2014-02-19 Tom Tromey <tromey@redhat.com>
1647 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1648 * target.c (target_fileio_close): Add argument.
1649 * remote.c (remote_hostio_close): Add 'self' argument.
1650 (remote_hostio_close_cleanup): Update.
1651 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1653 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1655 2014-02-19 Tom Tromey <tromey@redhat.com>
1657 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1658 * target.c (target_fileio_pread): Add argument.
1659 * remote.c (remote_hostio_pread): Add 'self' argument.
1660 (remote_bfd_iovec_pread, remote_file_get): Update.
1661 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1663 2014-02-19 Tom Tromey <tromey@redhat.com>
1665 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1666 * target.c (target_fileio_pwrite): Add argument.
1667 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1668 (remote_file_put): Update.
1669 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1671 2014-02-19 Tom Tromey <tromey@redhat.com>
1673 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1674 * target.c (target_fileio_open): Add argument.
1675 * remote.c (remote_hostio_open): Add 'self' argument.
1676 (remote_bfd_iovec_open): Add 'self' argument.
1677 (remote_file_put): Add 'self' argument.
1678 (remote_file_get): Add 'self' argument.
1679 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1681 2014-02-19 Tom Tromey <tromey@redhat.com>
1683 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1685 (target_can_run_breakpoint_commands): Add argument.
1686 * target.c (update_current_target): Update.
1687 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1689 (remote_insert_breakpoint): Add 'self' argument.
1690 (remote_insert_hw_breakpoint): Add 'self' argument.
1691 (remote_can_run_breakpoint_commands): Add 'self' argument.
1693 2014-02-19 Tom Tromey <tromey@redhat.com>
1695 * target.h (struct target_ops)
1696 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1697 (target_supports_evaluation_of_breakpoint_conditions): Add
1699 * target.c (update_current_target): Update.
1700 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1702 (remote_insert_breakpoint): Add 'self' argument.
1703 (remote_insert_hw_breakpoint): Add 'self' argument.
1704 (remote_supports_cond_breakpoints): Add 'self' argument.
1706 2014-02-19 Tom Tromey <tromey@redhat.com>
1708 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1710 (target_supports_string_tracing): Add argument.
1711 * target.c (update_current_target): Update.
1712 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1714 2014-02-19 Tom Tromey <tromey@redhat.com>
1716 * target.h (struct target_ops)
1717 <to_supports_disable_randomization>: Add argument.
1718 * target.c (find_default_supports_disable_randomization): Add
1720 (target_supports_disable_randomization): Add argument.
1721 (find_default_supports_disable_randomization): Add 'self'
1723 * remote.c (extended_remote_supports_disable_randomization): Add
1725 (remote_supports_disable_randomization): Add 'self' argument.
1726 (extended_remote_create_inferior): Update.
1727 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1730 2014-02-19 Tom Tromey <tromey@redhat.com>
1732 * target.h (struct target_ops)
1733 <to_supports_enable_disable_tracepoint>: Add argument.
1734 (target_supports_enable_disable_tracepoint): Add argument.
1735 * target.c (update_current_target): Update.
1736 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1739 2014-02-19 Tom Tromey <tromey@redhat.com>
1741 * target.h (struct target_ops) <to_supports_multi_process>: Add
1743 (target_supports_multi_process): Add argument.
1744 * target.c (update_current_target): Update.
1745 * remote.c (remote_supports_multi_process): Add 'self' argument.
1746 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1748 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1751 2014-02-19 Tom Tromey <tromey@redhat.com>
1753 * target.h (struct target_ops) <to_execution_direction>: Add
1755 (target_execution_direction): Add argument.
1756 * target.c (default_execution_direction): Add 'self' argument.
1757 * record-full.c (record_full_execution_direction): Add 'self'
1760 2014-02-19 Tom Tromey <tromey@redhat.com>
1762 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1764 (target_can_execute_reverse): Add argument.
1765 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1766 * record-full.c (record_full_can_execute_reverse): Add 'self'
1768 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1771 2014-02-19 Tom Tromey <tromey@redhat.com>
1773 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1774 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1776 (target_get_ada_task_ptid): Add argument.
1777 * target.c (update_current_target): Update.
1778 (default_get_ada_task_ptid): Add 'self' argument.
1779 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1780 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1781 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1783 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1785 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1787 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1789 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1790 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1793 2014-02-19 Tom Tromey <tromey@redhat.com>
1795 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1796 (target_goto_bookmark): Add argument.
1797 * target.c (dummy_goto_bookmark): Add 'self' argument.
1798 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1800 2014-02-19 Tom Tromey <tromey@redhat.com>
1802 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1803 (target_get_bookmark): Add argument.
1804 * target.c (dummy_get_bookmark): Add 'self' argument.
1805 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1807 2014-02-19 Tom Tromey <tromey@redhat.com>
1809 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1811 (target_make_corefile_notes): Add argument.
1812 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1813 * procfs.c (procfs_make_note_section): Add 'self' argument.
1814 (procfs_make_note_section): Add 'self' argument.
1815 (procfs_make_note_section): Add 'self' argument.
1816 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1818 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1819 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1820 * exec.c (exec_make_note_section): Add 'self' argument.
1821 (exec_make_note_section): Add 'self' argument.
1823 2014-02-19 Tom Tromey <tromey@redhat.com>
1825 * target.h (struct target_ops) <to_find_memory_regions>: Add
1827 (target_find_memory_regions): Add argument.
1828 * target.c (dummy_find_memory_regions): Add 'self' argument.
1829 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1830 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1831 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1832 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1833 * exec. (exec_do_find_memory_regions): New global.
1834 (exec_set_find_memory_regions): Rewrite.
1835 (exec_find_memory_regions): New function.
1836 (init_exec_ops): Use exec_find_memory_regions.
1838 2014-02-19 Tom Tromey <tromey@redhat.com>
1840 * target.h (struct target_ops) <to_supports_non_stop>: Add
1842 * target.c (find_default_supports_non_stop): Add argument.
1843 (target_supports_non_stop): Add argument.
1844 (find_default_supports_non_stop): Add 'self' argument.
1845 * remote.c (remote_supports_non_stop): Add 'self' argument.
1846 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1848 2014-02-19 Tom Tromey <tromey@redhat.com>
1850 * target.h (struct target_ops) <to_log_command>: Add argument.
1851 (target_log_command): Add argument.
1852 * serial.h (serial_log_command): Add 'self' argument.
1853 * serial.c (serial_log_command): Add 'self' argument.
1855 2014-02-19 Tom Tromey <tromey@redhat.com>
1857 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1858 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1860 (target_pid_to_exec_file): Add argument.
1861 * target.c (debug_to_pid_to_exec_file): Add argument.
1862 (update_current_target): Update.
1863 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1864 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1865 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1866 (linux_handle_extended_wait): Update.
1867 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1868 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1869 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1870 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1872 2014-02-19 Tom Tromey <tromey@redhat.com>
1874 * target.h (struct target_ops) <to_rcmd>: Add argument.
1875 (target_rcmd): Add argument.
1876 * target.c (debug_to_rcmd): Add argument.
1877 (update_current_target, do_monitor_command): Update.
1878 * remote.c (remote_rcmd): Add 'self' argument.
1879 * monitor.c (monitor_rcmd): Add 'self' argument.
1881 2014-02-19 Tom Tromey <tromey@redhat.com>
1883 * windows-nat.c (windows_stop): Add 'self' argument.
1884 * target.h (struct target_ops) <to_stop>: Add argument.
1885 * target.c (target_stop): Add argument.
1886 (debug_to_stop): Add argument.
1887 (update_current_target): Update.
1888 * remote.c (remote_stop): Add 'self' argument.
1889 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1890 (gdbsim_cntrl_c): Update.
1891 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1892 * procfs.c (procfs_stop): Add 'self' argument.
1893 * nto-procfs.c (procfs_stop): Add 'self' argument.
1894 * monitor.c (monitor_stop): Add 'self' argument.
1895 (monitor_open): Update.
1896 * linux-nat.c (linux_nat_stop): Add argument.
1897 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1898 * gnu-nat.c (gnu_stop): Add 'self' argument.
1899 * darwin-nat.c (darwin_stop): Add 'self' argument.
1901 2014-02-19 Tom Tromey <tromey@redhat.com>
1903 * target.h (struct target_ops) <to_thread_name>: Add argument.
1904 * target.c (target_thread_name): Add argument.
1905 (update_current_target): Update.
1906 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
1908 2014-02-19 Tom Tromey <tromey@redhat.com>
1910 * target.h (struct target_ops) <to_extra_thread_info>: Add
1912 (target_extra_thread_info): Add argument.
1913 * target.c (update_current_target): Update.
1914 * remote.c (remote_threads_extra_info): Add 'self' argument.
1915 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
1917 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
1918 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
1919 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
1921 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
1923 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
1925 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
1928 2014-02-19 Tom Tromey <tromey@redhat.com>
1930 * target.h (struct target_ops) <to_program_signals>: Add argument.
1931 * target.c (target_program_signals): Add argument.
1932 * remote.c (remote_program_signals): Add 'self' argument.
1934 2014-02-19 Tom Tromey <tromey@redhat.com>
1936 * target.h (struct target_ops) <to_pass_signals>: Add argument.
1937 * target.c (target_pass_signals): Add argument.
1938 * remote.c (remote_pass_signals): Add 'self' argument.
1939 (remote_start_remote): Update.
1940 * procfs.c (procfs_pass_signals): Add 'self' argument.
1941 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
1942 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
1943 (linux_nat_create_inferior, linux_nat_attach): Update.
1945 2014-02-19 Tom Tromey <tromey@redhat.com>
1947 * windows-nat.c (windows_can_run): Add 'self' argument.
1948 * target.h (struct target_ops) <to_can_run>: Add argument.
1949 (target_can_run): Add argument.
1950 * target.c (debug_to_can_run): Add argument.
1951 (update_current_target): Update.
1952 * nto-procfs.c (procfs_can_run): Add 'self' argument.
1953 * inf-child.c (inf_child_can_run): Add 'self' argument.
1954 * go32-nat.c (go32_can_run): Add 'self' argument.
1956 2014-02-19 Tom Tromey <tromey@redhat.com>
1958 * target.h (struct target_ops) <to_has_exited>: Add argument.
1959 (target_has_exited): Add argument.
1960 * target.c (debug_to_has_exited): Add argument.
1961 (update_current_target): Update.
1963 2014-02-19 Tom Tromey <tromey@redhat.com>
1965 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
1967 (target_set_syscall_catchpoint): Add argument.
1968 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
1970 * target.c (update_current_target): Update.
1972 2014-02-19 Tom Tromey <tromey@redhat.com>
1974 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
1976 (target_remove_exec_catchpoint): Add argument.
1977 * target.c (debug_to_remove_exec_catchpoint): Add argument.
1978 (update_current_target): Update.
1979 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
1982 2014-02-19 Tom Tromey <tromey@redhat.com>
1984 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
1986 (target_insert_exec_catchpoint): Add argument.
1987 * target.c (debug_to_insert_exec_catchpoint): Add argument.
1988 (update_current_target): Update.
1989 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
1992 2014-02-19 Tom Tromey <tromey@redhat.com>
1994 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
1996 (target_remove_vfork_catchpoint): Add argument.
1997 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
1998 (update_current_target): Update.
1999 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
2002 2014-02-19 Tom Tromey <tromey@redhat.com>
2004 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
2006 (target_insert_vfork_catchpoint): Add argument.
2007 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
2008 (update_current_target): Update.
2009 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
2012 2014-02-19 Tom Tromey <tromey@redhat.com>
2014 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
2016 (target_remove_fork_catchpoint): Add argument.
2017 * target.c (debug_to_remove_fork_catchpoint): Add argument.
2018 (update_current_target): Update.
2019 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
2022 2014-02-19 Tom Tromey <tromey@redhat.com>
2024 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
2026 (target_insert_fork_catchpoint): Add argument.
2027 * target.c (debug_to_insert_fork_catchpoint): Add argument.
2028 (update_current_target): Update.
2029 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
2032 2014-02-19 Tom Tromey <tromey@redhat.com>
2034 * target.h (struct target_ops) <to_post_startup_inferior>: Add
2036 (target_post_startup_inferior): Add argument.
2037 * target.c (debug_to_post_startup_inferior): Add argument.
2038 (update_current_target): Update.
2039 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
2041 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
2043 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
2045 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
2047 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
2049 (super_post_startup_inferior): Likewise.
2050 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
2052 (super_post_startup_inferior): Likewise.
2053 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
2054 Add 'self' argument.
2055 (super_post_startup_inferior): Likewise.
2057 2014-02-19 Tom Tromey <tromey@redhat.com>
2059 * target.h (struct target_ops) <to_load>: Add argument.
2060 * target.c (target_load): Add argument.
2061 (debug_to_load): Add argument.
2062 (update_current_target): Update.
2063 * remote.c (remote_load): Add 'self' argument.
2064 * remote-sim.c (gdbsim_load): Add 'self' argument.
2065 * remote-mips.c (mips_load): Add 'self' argument.
2066 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
2067 * monitor.c (monitor_load): Add 'self' argument.
2068 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
2070 2014-02-19 Tom Tromey <tromey@redhat.com>
2072 * target.h (struct target_ops) <to_terminal_info>: Add argument.
2073 (target_terminal_info): Add argument.
2074 * target.c (debug_to_terminal_info): Add argument.
2075 (default_terminal_info): Likewise.
2076 * inflow.c (child_terminal_info): Add 'self' argument.
2077 * inferior.h (child_terminal_info): Add 'self' argument.
2078 * go32-nat.c (go32_terminal_info): Add 'self' argument.
2080 2014-02-19 Tom Tromey <tromey@redhat.com>
2082 * target.h (struct target_ops) <to_terminal_save_ours>: Add
2084 (target_terminal_save_ours): Add argument.
2085 * target.c (debug_to_terminal_save_ours): Add argument.
2086 (update_current_target): Update.
2087 * inflow.c (terminal_save_ours): Add 'self' argument.
2088 * inferior.h (terminal_save_ours): Add 'self' argument.
2090 2014-02-19 Tom Tromey <tromey@redhat.com>
2092 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
2093 (target_terminal_ours): Add argument.
2094 * target.c (debug_to_terminal_ours): Add argument.
2095 (update_current_target): Update.
2096 * remote.c (remote_terminal_ours): Add 'self' argument.
2097 (remote_close): Update.
2098 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
2099 * inflow.c (terminal_ours): Add 'self' argument.
2100 * inferior.h (terminal_ours): Add 'self' argument.
2101 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2103 2014-02-19 Pedro Alves <palves@redhat.com>
2104 Tom Tromey <tromey@redhat.com>
2106 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
2108 (target_terminal_ours_for_output): Add argument.
2109 * target.c (debug_to_terminal_ours_for_output): Add argument.
2110 (update_current_target): Update.
2111 * inflow.c (terminal_ours_for_output): Add 'self' argument.
2112 * inferior.h (terminal_ours_for_output): Add 'self' argument.
2113 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2115 2014-02-19 Tom Tromey <tromey@redhat.com>
2117 * target.h (struct target_ops) <to_terminal_inferior>: Add
2119 * target.c (target_terminal_inferior): Add argument.
2120 (update_current_target): Update.
2121 * remote.c (remote_terminal_inferior): Add 'self' argument.
2122 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
2123 * inflow.c (terminal_inferior): Add 'self' argument.
2124 * inferior.h (terminal_inferior): Add 'self' argument.
2125 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
2126 (go32_terminal_inferior): Add 'self' argument.
2128 2014-02-19 Tom Tromey <tromey@redhat.com>
2130 * target.h (struct target_ops) <to_terminal_init>: Add argument.
2131 (target_terminal_init): Add argument.
2132 * target.c (debug_to_terminal_init): Add argument.
2133 (update_current_target): Update.
2134 * inflow.c (terminal_init_inferior): Add 'self' argument.
2135 * inferior.h (terminal_init_inferior): Add 'self' argument.
2136 * go32-nat.c (go32_terminal_init): Add 'self' argument.
2137 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
2139 2014-02-19 Tom Tromey <tromey@redhat.com>
2141 * target.h (struct target_ops)
2142 <to_can_accel_watchpoint_condition>: Add argument.
2143 (target_can_accel_watchpoint_condition): Add argument.
2144 * target.c (debug_to_can_accel_watchpoint_condition): Add
2146 (update_current_target): Update.
2147 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
2150 2014-02-19 Tom Tromey <tromey@redhat.com>
2152 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2154 (target_region_ok_for_hw_watchpoint): Add argument.
2155 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
2156 (default_region_ok_for_hw_watchpoint): Add argument.
2157 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
2158 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
2160 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
2162 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
2164 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
2166 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
2168 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
2170 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
2171 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
2173 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
2174 Add 'self' argument.
2176 2014-02-19 Tom Tromey <tromey@redhat.com>
2178 * target.h (struct target_ops) <to_insert_watchpoint>: Add
2180 (target_insert_watchpoint): Add argument.
2181 * target.c (debug_to_insert_watchpoint): Add argument.
2182 (update_current_target): Update.
2183 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
2184 * remote.c (remote_insert_watchpoint): Add 'self' argument.
2185 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
2186 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
2187 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
2188 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
2190 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
2191 (procfs_insert_hw_watchpoint): Add 'self' argument.
2192 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
2194 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
2196 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
2198 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
2199 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
2201 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
2204 2014-02-19 Tom Tromey <tromey@redhat.com>
2206 * target.h (struct target_ops) <to_remove_watchpoint>: Add
2208 (target_remove_watchpoint): Add argument.
2209 * target.c (debug_to_remove_watchpoint): Add argument.
2210 (update_current_target): Update.
2211 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
2212 * remote.c (remote_remove_watchpoint): Add 'self' argument.
2213 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
2214 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
2215 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
2216 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
2218 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
2219 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
2221 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
2223 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
2225 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
2226 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
2228 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
2231 2014-02-19 Tom Tromey <tromey@redhat.com>
2233 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
2235 (target_remove_hw_breakpoint): Add argument.
2236 * target.c (debug_to_remove_hw_breakpoint): Add argument.
2237 (update_current_target): Update.
2238 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
2239 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
2241 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
2242 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
2244 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
2247 2014-02-19 Tom Tromey <tromey@redhat.com>
2249 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
2251 (target_insert_hw_breakpoint): Add argument.
2252 * target.c (debug_to_insert_hw_breakpoint): Add argument.
2253 (update_current_target): Update.
2254 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
2255 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
2257 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
2258 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
2259 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
2261 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
2264 2014-02-19 Tom Tromey <tromey@redhat.com>
2266 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
2268 (target_can_use_hardware_watchpoint): Add argument.
2269 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
2270 (update_current_target): Update.
2271 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
2273 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
2275 * remote.c (remote_check_watch_resources): Add 'self' argument.
2276 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
2277 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
2279 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
2280 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
2282 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
2284 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
2286 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
2288 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
2290 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
2292 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
2293 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
2295 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
2298 2014-02-19 Tom Tromey <tromey@redhat.com>
2300 * target.h (struct target_ops) <to_post_attach>: Add argument.
2301 (target_post_attach): Add argument.
2302 * target.c (debug_to_post_attach): Add argument.
2303 (update_current_target): Update.
2304 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
2305 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
2306 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
2307 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
2308 * inf-child.c (inf_child_post_attach): Add 'self' argument.
2310 2014-02-19 Tom Tromey <tromey@redhat.com>
2312 * windows-nat.c (windows_close): Add 'self' argument.
2313 * tracepoint.c (tfile_close): Add 'self' argument.
2314 * target.h (struct target_ops) <to_close>: Add argument.
2315 * target.c (target_close): Add argument.
2316 (update_current_target): Update.
2317 * remote.c (remote_close): Add 'self' argument.
2318 * remote-sim.c (gdbsim_close): Add 'self' argument.
2319 * remote-mips.c (mips_close): Add 'self' argument.
2320 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
2321 * record-full.c (record_full_close): Add 'self' argument.
2322 * record-btrace.c (record_btrace_close): Add 'self' argument.
2323 * monitor.h (monitor_close): Add 'self' argument.
2324 * monitor.c (monitor_close): Add 'self' argument.
2325 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
2326 * linux-nat.c (linux_nat_close): Add argument.
2327 * go32-nat.c (go32_close): Add 'self' argument.
2328 * exec.c (exec_close_1): Add 'self' argument.
2329 * ctf.c (ctf_close): Add 'self' argument.
2330 * corelow.c (core_close): Add 'self' argument.
2331 (core_close_cleanup): Update.
2332 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
2333 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
2335 2014-02-19 Tom Tromey <tromey@redhat.com>
2337 * remote.c (remote_load): New function.
2338 (init_remote_ops): Use it.
2340 2014-02-19 Tom Tromey <tromey@redhat.com>
2342 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
2344 * common/linux-btrace.h (linux_supports_btrace): Update.
2345 * remote.c (remote_supports_btrace): Add "self" argument.
2346 * target-delegates.c: Rebuild.
2347 * target.c (target_supports_btrace): Remove.
2348 * target.h (struct target_ops) <to_supports_btrace>: Add
2349 target_ops argument.
2350 (target_supports_btrace): New define.
2352 2014-02-19 Tom Tromey <tromey@redhat.com>
2354 * record-full.c (record_full_beneath_to_resume_ops)
2355 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
2356 (record_full_beneath_to_wait)
2357 (record_full_beneath_to_store_registers_ops)
2358 (record_full_beneath_to_store_registers)
2359 (record_full_beneath_to_xfer_partial_ops)
2360 (record_full_beneath_to_xfer_partial)
2361 (record_full_beneath_to_insert_breakpoint_ops)
2362 (record_full_beneath_to_insert_breakpoint)
2363 (record_full_beneath_to_remove_breakpoint_ops)
2364 (record_full_beneath_to_remove_breakpoint)
2365 (record_full_beneath_to_stopped_by_watchpoint)
2366 (record_full_beneath_to_stopped_data_address)
2367 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
2368 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
2369 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
2370 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
2371 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
2372 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
2373 (tmp_to_stopped_data_address, tmp_to_async): Remove.
2374 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
2375 (record_full_resume, record_full_wait_1)
2376 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
2377 (record_full_store_registers, record_full_xfer_partial)
2378 (record_full_insert_breakpoint, record_full_remove_breakpoint)
2379 (record_full_async, record_full_core_xfer_partial): Use target
2381 * target-delegates.c: Rebuild.
2382 * target.c (current_xfer_partial): Remove.
2383 (update_current_target): Do not INHERIT or de_fault
2384 to_insert_breakpoint, to_remove_breakpoint,
2385 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
2386 to_is_async_p, to_async. Do not set to_xfer_partial field.
2387 (default_xfer_partial): Simplify.
2388 (current_xfer_partial): Remove.
2389 (target_wait, target_resume): Simplify.
2390 (find_default_can_async_p, find_default_is_async_p): Update.
2391 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
2392 to_xfer_partial, to_stopped_by_watchpoint,
2393 to_stopped_data_address.
2394 (target_store_registers): Simplify.
2395 (forward_target_remove_breakpoint)
2396 (forward_target_insert_breakpoint): Remove.
2397 (target_remove_breakpoint, target_insert_breakpoint)
2398 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
2399 * target.h (struct target_ops) <to_resume, to_wait,
2400 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
2401 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
2402 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
2404 (forward_target_remove_breakpoint)
2405 (forward_target_insert_breakpoint): Remove.
2406 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
2408 (record_btrace_insert_breakpoint): Delegate directly.
2410 2014-02-19 Tom Tromey <tromey@redhat.com>
2413 * target-delegates.c: New file.
2414 * target.c: Include target-delegates.c.
2415 (init_dummy_target): Call install_dummy_methods.
2416 (complete_target_initialization): Call install_delegators.
2417 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
2418 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
2419 * make-target-delegates: New file.
2421 2014-02-19 Tom Tromey <tromey@redhat.com>
2423 * record.c (find_record_target): Use find_target_at.
2424 * target.c (find_target_at): New function.
2425 * target.h (find_target_at): Declare.
2427 2014-02-19 Tom Tromey <tromey@redhat.com>
2429 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
2431 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
2433 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
2434 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
2436 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
2438 * linux-nat.c (save_sigtrap): Update.
2439 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
2440 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
2441 (linux_nat_close): Update.
2442 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
2444 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
2446 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
2447 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
2448 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
2449 (tmp_to_async): Add 'ops' argument.
2450 (record_full_stopped_by_watchpoint, record_full_async)
2451 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
2453 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
2454 (m32r_stopped_by_watchpoint): Add 'ops' argument.
2455 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
2456 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
2457 (remote_is_async_p, remote_async): Add 'ops' argument.
2458 (remote_stopped_data_address): Update.
2459 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
2460 * target.c (update_current_target)
2461 (find_default_can_async_p, find_default_is_async_p): Update.
2462 (init_dummy_target): Update.
2463 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
2464 * target.h (struct target_ops) <to_stopped_by_watchpoint,
2465 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
2466 (target_can_async_p, target_is_async_p, target_async)
2467 (target_stopped_by_watchpoint): Update.
2469 2014-02-19 Yao Qi <yao@codesourcery.com>
2472 * gdbarch.sh: Remove startup_gdbarch.
2473 * gdbarch.c: Regenerated.
2474 * gdbarch.h: Likewise.
2476 2014-02-17 Kevin Buettner <kevinb@redhat.com>
2478 * rl78-tdep.c (rl78_g10_register_name): New function.
2479 (rl78_return_value): Add g10 support.
2480 (rl78_gdbarch_init): Register rl78_g10_register_name for the
2483 2014-02-17 Doug Evans <xdje42@gmail.com>
2485 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
2486 (SUBDIR_GUILE_SRCS): Ditto.
2487 (scm-gsmob.o): Ditto.
2489 2014-02-17 Yao Qi <yao@codesourcery.com>
2491 * gnu-nat.c (ILL_RPC): Declare defined function.
2493 2014-02-17 Yao Qi <yao@codesourcery.com>
2495 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
2496 mach_msg_type_number_t.
2497 (gnu_write_inferior): Likewise.
2499 2014-02-17 Yao Qi <yao@codesourcery.com>
2501 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
2503 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
2504 (inf_validate_procs, inf_signal): Likewise.
2505 (S_exception_raise_request): Likewise.
2506 (do_mach_notify_dead_name): Likewise.
2507 (steal_exc_port): Likewise.
2508 (gnu_read_inferior): Change 'copy_count''s type to
2509 mach_msg_type_number_t.
2510 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
2513 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
2515 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
2516 flag. Adjust all users; in particular...
2517 (gnu_wait): ..., don't decrement its value in here...
2518 (gnu_create_inferior): ..., and instead set the flag in here,
2519 around the startup_inferior call, and call that one with
2520 START_INFERIOR_TRAPS_EXPECTED.
2522 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
2523 (ILL_RPC): ... new macro.
2524 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
2525 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
2526 (do_mach_notify_send_once, S_proc_setmsgport_reply)
2527 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
2528 functions with ILL_RPC macro.
2529 (S_proc_pid2task_reply, S_proc_task2pid_reply)
2530 (S_proc_task2proc_reply, S_proc_proc2task_reply)
2531 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
2532 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
2533 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
2534 (S_proc_getlogin_reply, S_proc_getsid_reply)
2535 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
2536 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
2537 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
2538 (S_proc_getnports_reply, S_proc_is_important_reply)
2539 (S_proc_get_code_reply): New stub functions, generated with
2542 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
2543 collected the type check structures.
2545 * reply_mig_hack.awk: Don't expect to see the auto keyword.
2547 2014-02-14 Doug Evans <dje@google.com>
2549 * target.c (target_write_partial): Fix result type.
2551 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2553 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
2554 the proper offsets to access fpregset_t.
2556 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
2558 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
2559 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
2560 * h8300-tdep.c (setmachinelist): Remove global.
2561 * hppa-tdep.c (hppa_sigtramp): Remove global.
2562 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
2563 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
2564 * ravenscar-thread.c (update_target_observer): Remove global.
2565 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
2567 2014-02-12 Tom Tromey <tromey@redhat.com>
2569 * common/rsp-low.c: Update comments.
2570 * common/rsp-low.h: Update comments.
2572 2014-02-12 Tom Tromey <tromey@redhat.com>
2574 * common/rsp-low.c (convert_ascii_to_int): Remove.
2575 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
2577 2014-02-12 Tom Tromey <tromey@redhat.com>
2579 * common/rsp-low.h (unhexify): Don't declare.
2580 * common/rsp-low.c (unhexify): Remove.
2582 2014-02-12 Tom Tromey <tromey@redhat.com>
2584 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
2585 * common/rsp-low.c (convert_int_to_ascii): Remove.
2587 2014-02-12 Tom Tromey <tromey@redhat.com>
2589 * common/rsp-low.h (hexify): Don't declare.
2590 * common/rsp-low.c (hexify): Remove.
2592 2014-02-12 Tom Tromey <tromey@redhat.com>
2594 * common/rsp-low.c (hexify): Never take strlen of argument.
2596 2014-02-12 Tom Tromey <tromey@redhat.com>
2598 * common/rsp-low.c (bin2hex): Never take strlen of argument.
2599 * remote.c (extended_remote_run, remote_rcmd)
2600 (remote_download_trace_state_variable, remote_save_trace_data)
2601 (remote_set_trace_notes): Update.
2602 * tracepoint.c (encode_source_string, tfile_write_status)
2603 (tfile_write_uploaded_tsv): Update.
2605 2014-02-12 Tom Tromey <tromey@redhat.com>
2607 * tracepoint.c: Include rsp-low.h.
2608 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
2609 * remote.c: Include rsp-low.h.
2610 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
2611 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
2612 (remote_unescape_input): Move to common/rsp-low.c.
2613 * common/rsp-low.h: New file.
2614 * common/rsp-low.c: New file.
2615 * Makefile.in (SFILES): Add common/rsp-low.c.
2616 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
2617 (COMMON_OBS): Add rsp-low.o.
2618 (rsp-low.o): New target.
2620 2014-02-12 Tom Tromey <tromey@redhat.com>
2622 * utils.h: Include print-utils.h.
2623 (host_address_to_string, plongest, pulongest, phex, phex_nz)
2624 (int_string, core_addr_to_string, core_addr_to_string_nz)
2625 (hex_string, hex_string_custom): Don't declare.
2626 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2627 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2628 (hex_string_custom, int_string, core_addr_to_string)
2629 (core_addr_to_string_nz, host_address_to_string): Move to
2630 common/print-utils.c.
2631 * common/print-utils.h: New file.
2632 * common/print-utils.c: New file
2633 * Makefile.in (SFILES): Add common/print-utils.c.
2634 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2635 (COMMON_OBS): Add print-utils.o.
2636 (print-utils.o): New target.
2638 2014-02-12 Tom Tromey <tromey@redhat.com>
2640 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2642 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2644 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2646 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2648 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2649 if a PT_IO ptrace request returns sucessfully but indicates that 0
2650 bytes were transferred.
2652 2014-02-12 Pedro Alves <palves@redhat.com>
2653 Kevin Buettner <kevinb@redhat.com>
2655 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2656 TYPE_INSTANCE_FLAG_CODE_SPACE.
2658 2014-02-12 Pedro Alves <palves@redhat.com>
2660 * h8300-tdep.c (pseudo_from_raw_register)
2661 (raw_from_pseudo_register): New functions.
2662 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2665 2014-02-12 Pedro Alves <palves@redhat.com>
2667 * h8300-tdep.c (h8300_register_sim_regno): New function.
2668 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2669 gdbarch_register_sim_regno hook.
2671 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2673 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2675 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2677 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2679 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2681 * obsd-tdep.h (obsd_init_abi): New prototype.
2682 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2683 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2684 (obsd_init_abi): New functions.
2685 * i386obsd-tdep.c: Include "obsd-tdep.h".
2686 (i386obsd_init_abi): Call obsd_init_abi.
2687 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2688 (amd64obsd_init_abi): Call obsd_init_abi.
2689 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2690 obsd-tdep.c to gdb_target_obs.
2692 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2694 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2695 double float arguments to 16-byte in the argument slots.
2697 2014-02-11 Doug Evans <xdje42@gmail.com>
2699 * configure.ac: Don't crash if pkg-config is not found and guile
2700 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2702 * configure: Regenerate.
2704 2014-02-11 Yao Qi <yao@codesourcery.com>
2706 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2707 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2708 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2709 * gnu-nat.c (gnu_xfer_memory): Likewise.
2710 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2711 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2712 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2713 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2715 2014-02-11 Yao Qi <yao@codesourcery.com>
2717 * target.h (enum target_xfer_error): Rename to ...
2718 (enum target_xfer_status): ... it. New. All users updated.
2719 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2721 (TARGET_XFER_STATUS_ERROR_P): New macro.
2722 (target_xfer_error_to_string): Remove declaration.
2723 (target_xfer_status_to_string): Declare.
2724 (target_xfer_partial_ftype): Adjust it.
2725 (struct target_ops) <to_xfer_partial>: Return
2726 target_xfer_status. Add argument xfered_len. Update
2728 * target.c (target_xfer_error_to_string): Rename to ...
2729 (target_xfer_status_to_string): ... it. New. All callers
2731 (target_read_live_memory): Likewise. Call target_xfer_partial
2732 instead of target_read.
2733 (memory_xfer_live_readonly_partial): Return
2734 target_xfer_status. Add argument xfered_len.
2735 (raw_memory_xfer_partial): Likewise.
2736 (memory_xfer_partial_1): Likewise.
2737 (memory_xfer_partial): Likewise.
2738 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2739 properly. Update debug message.
2740 (default_xfer_partial, current_xfer_partial): Likewise.
2741 (target_write_partial): Likewise.
2742 (target_read_partial): Likewise. All callers updated.
2743 (read_whatever_is_readable): Likewise.
2744 (target_write_with_progress): Likewise.
2745 (target_read_alloc_1): Likewise.
2747 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2748 * auxv.c (procfs_xfer_auxv): Likewise.
2749 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2750 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2751 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2752 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2753 * corefile.c (read_memory): Adjust.
2754 * corelow.c (core_xfer_partial): Likewise.
2755 * ctf.c (ctf_xfer_partial): Likewise.
2756 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2758 (darwin_xfer_partial): Likewise.
2759 * exec.c (section_table_xfer_memory_partial): Likewise. All
2761 (exec_xfer_partial): Likewise.
2762 * exec.h (section_table_xfer_memory_partial): Update
2764 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2766 (gnu_xfer_partial): Likewise.
2767 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2768 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2769 (ia64_hpux_xfer_solib_got): Likewise.
2770 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2771 type of 'partial_len' to ULONGEST.
2772 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2773 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2774 (linux_nat_xfer_partial): Likewise.
2775 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2776 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2777 * monitor.c (monitor_xfer_memory): Likewise.
2778 (monitor_xfer_partial): Likewise.
2779 * procfs.c (procfs_xfer_partial): Likewise.
2780 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2781 * record-full.c (record_full_xfer_partial): Likewise.
2782 (record_full_core_xfer_partial): Likewise.
2783 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2784 (gdbsim_xfer_partial): Likewise.
2785 * remote.c (remote_write_bytes_aux): Likewise. All callers
2787 (remote_write_bytes, remote_read_bytes): Likewise. All
2789 (remote_flash_erase): Likewise. All callers updated.
2790 (remote_write_qxfer): Likewise. All callers updated.
2791 (remote_read_qxfer): Likewise. All callers updated.
2792 (remote_xfer_partial): Likewise.
2793 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2794 (rs6000_xfer_shared_libraries): Likewise.
2795 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2796 (sol_thread_xfer_partial): Likewise.
2797 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2798 (sparc_xfer_partial): Likewise.
2799 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2801 (spu_xfer_partial): Likewise.
2802 * spu-multiarch.c (spu_xfer_partial): Likewise.
2803 * tracepoint.c (tfile_xfer_partial): Likewise.
2804 * windows-nat.c (windows_xfer_memory): Likewise.
2805 (windows_xfer_shared_libraries): Likewise.
2806 (windows_xfer_partial): Likewise.
2807 * valprint.c: Replace 'target_xfer_error' with
2808 'target_xfer_status' in comments.
2810 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2812 Checked in by Joel Brobecker <brobecker@adacore.com>.
2813 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2815 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2817 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2818 function parameters.
2820 2014-02-10 Will Newton <will.newton@linaro.org>
2822 * elfread.c (elf_rel_plt_read): Look for a .got section if
2823 looking up .got.plt fails.
2824 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2825 on address passed to elf_gnu_ifunc_record_cache.
2826 (elf_gnu_ifunc_resolve_addr): Likewise.
2827 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2829 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2831 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2832 (X_RETTURN): New macro.
2833 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2835 * sparc64-tdep.c (sparc64_init_abi): Hook
2836 sparc_in_function_epilogue_p.
2838 2014-02-10 Gary Benson <gbenson@redhat.com>
2840 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2841 Rename name_matcher to symbol_matcher.
2843 2014-02-10 Gary Benson <gbenson@redhat.com>
2845 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2846 Use expand_symtabs_file_matcher_ftype and
2847 expand_symtabs_symbol_matcher_ftype.
2849 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2851 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2852 (struct ada_symbol_cache): New.
2853 (ada_free_symbol_cache): Forward declare.
2854 (struct ada_pspace_data): New.
2855 (ada_pspace_data_handle): New static global.
2856 (get_ada_pspace_data, ada_pspace_data_cleanup)
2857 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2858 (cache_space, cache): Delete, now folded inside struct
2860 (ada_get_symbol_cache): New function.
2861 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2863 (_initialize_ada_language): Remove initialization of cache_space.
2864 Move call to observer_attach_inferior_exit up, grouping it
2865 with the other observer registrations inside this function.
2866 Rename command to be more general. Add call to
2867 register_program_space_data_with_cleanup.
2869 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2871 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2872 ada_new_objfile_observer.
2873 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2874 (_initialize_tasks): Update uses of ada_new_objfile_observer
2875 and ada_tasks_normal_stop_observer.
2877 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2879 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2880 returned by the 'Length attribute to integer.
2882 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2884 * ada-lang.c (_initialize_ada_language): Initialize
2885 cache_space obstack.
2887 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2889 * ada-lang.c (HASH_SIZE): New macro.
2890 (struct cache_entry): New type.
2891 (cache_space, cache): New static globals.
2892 (ada_clear_symbol_cache, find_entry): New functions.
2893 (lookup_cached_symbol, cache_symbol): Implement.
2894 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2895 (_initialize_ada_language): Attach ada_new_objfile_observer
2896 and ada_free_objfile_observer.
2898 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2900 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
2901 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
2902 struct block * parameter.
2903 (ada_lookup_symbol_list_worker): Constify local variable "block".
2904 Remove cast which is no longer necessary.
2906 2014-02-10 Doug Evans <xdje42@gmail.com>
2908 Add Guile as an extension language.
2909 * NEWS: Mention Guile scripting.
2910 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
2911 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
2912 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
2913 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
2914 (CLIBS): Add GUILE_LIBS.
2915 (install-guile): New rule.
2916 (guile.o): New rule.
2917 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
2918 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
2919 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
2920 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
2921 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
2922 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
2923 (scm-type.o, scm-utils.o, scm-value.o): New rules.
2924 * configure.ac: New option --with-guile.
2925 * configure: Regenerate.
2926 * config.in: Regenerate.
2927 * auto-load.c: Remove #include "python/python.h". Add #include
2928 "gdb/section-scripts.h".
2929 (source_section_scripts): Handle Guile scripts.
2930 (_initialize_auto_load): Add name of Guile objfile script to
2931 scripts-directory help text.
2932 * breakpoint.c (condition_command): Tweak comment to include Scheme.
2933 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
2934 (struct breakpoint): New member scm_bp_object.
2935 * defs.h (enum command_control_type): New value guile_control.
2936 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
2938 (show_user): Update comment.
2939 (_initialize_cli_cmds): Update help text for "show user". Update help
2940 text for max-user-call-depth.
2941 * cli/cli-script.c: Remove #include "python/python.h". Add #include
2943 (multi_line_command_p): Add guile_control.
2944 (print_command_lines): Handle guile_control.
2945 (execute_control_command, recurse_read_control_structure): Ditto.
2946 (process_next_line): Recognize "guile" commands.
2947 * disasm.c (gdb_disassemble_info): Make non-static.
2948 * disasm.h: #include "dis-asm.h".
2949 (struct gdbarch): Add forward decl.
2950 (gdb_disassemble_info): Declare.
2951 * extension.c: #include "guile/guile.h".
2952 (extension_languages): Add guile.
2953 (get_ext_lang_defn): Handle EXT_LANG_GDB.
2954 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
2955 * gdbtypes.c (get_unsigned_type_max): New function.
2956 (get_signed_type_minmax): New function.
2957 * gdbtypes.h (get_unsigned_type_max): Declare.
2958 (get_signed_type_minmax): Declare.
2959 * guile/README: New file.
2960 * guile/guile-internal.h: New file.
2961 * guile/guile.c: New file.
2962 * guile/guile.h: New file.
2963 * guile/scm-arch.c: New file.
2964 * guile/scm-auto-load.c: New file.
2965 * guile/scm-block.c: New file.
2966 * guile/scm-breakpoint.c: New file.
2967 * guile/scm-disasm.c: New file.
2968 * guile/scm-exception.c: New file.
2969 * guile/scm-frame.c: New file.
2970 * guile/scm-gsmob.c: New file.
2971 * guile/scm-iterator.c: New file.
2972 * guile/scm-lazy-string.c: New file.
2973 * guile/scm-math.c: New file.
2974 * guile/scm-objfile.c: New file.
2975 * guile/scm-ports.c: New file.
2976 * guile/scm-pretty-print.c: New file.
2977 * guile/scm-safe-call.c: New file.
2978 * guile/scm-string.c: New file.
2979 * guile/scm-symbol.c: New file.
2980 * guile/scm-symtab.c: New file.
2981 * guile/scm-type.c: New file.
2982 * guile/scm-utils.c: New file.
2983 * guile/scm-value.c: New file.
2984 * guile/lib/gdb.scm: New file.
2985 * guile/lib/gdb/boot.scm: New file.
2986 * guile/lib/gdb/experimental.scm: New file.
2987 * guile/lib/gdb/init.scm: New file.
2988 * guile/lib/gdb/iterator.scm: New file.
2989 * guile/lib/gdb/printing.scm: New file.
2990 * guile/lib/gdb/types.scm: New file.
2991 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
2992 (VPATH): Add $(GUILE_SRCDIR).
2993 (GUILE_DIR): New variable.
2994 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
2995 (all): Add stamp-guile dependency.
2996 (stamp-guile): New rule.
2997 (clean-guile, install-guile, uninstall-guile): New rules.
2998 (install-only): Add install-guile dependency.
2999 (uninstall): Add uninstall-guile dependency.
3000 (clean): Add clean-guile dependency.
3002 2014-02-09 Doug Evans <xdje42@gmail.com>
3004 Revert this patch (which I approved, mea culpa).
3006 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3008 * Makefile.in (all-lib): Remove.
3009 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3011 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3013 Fix Python stack corruption.
3014 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
3017 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3019 * Makefile.in (all-lib): Remove.
3020 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3022 2014-02-07 Doug Evans <dje@google.com>
3024 * extension-priv.h (extension_language_script_ops): Add comment.
3025 (extension_language_ops): Add comment.
3026 (active_ext_lang_state): Fix typo in comment.
3028 2014-02-07 Pedro Alves <palves@redhat.com>
3030 * infrun.c (handle_signal_stop) <signal arrives while stepping
3031 over a breakpoint>: Switch back to the stepping thread.
3033 2014-02-07 Yao Qi <yao@codesourcery.com>
3035 * target.c (target_xfer_partial): Return zero if LEN is zero.
3037 2014-02-07 Yao Qi <yao@codesourcery.com>
3039 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
3040 (ld_so_xfer_auxv): Likewise.
3041 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3042 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3043 * corelow.c (core_xfer_partial): Likewise.
3044 * ctf.c (ctf_xfer_partial): Likewise.
3045 * darwin-nat.c (darwin_read_dyld_info): Likewise.
3046 (darwin_xfer_partial): Likewise.
3047 * exec.c (exec_xfer_partial): Likewise.
3048 * gnu-nat.c (gnu_xfer_partial): Likewise.
3049 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
3050 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
3051 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
3052 * linux-nat.c (linux_xfer_siginfo): Likewise.
3053 (linux_proc_xfer_spu): Likewise.
3054 * procfs.c (procfs_xfer_partial): Likewise.
3055 * record-full.c (record_full_xfer_partial): Likewise.
3056 (record_full_core_xfer_partial): Likewise.
3057 * remote-sim.c (gdbsim_xfer_partial): Likewise.
3058 * remote.c (remote_write_qxfer): Likewise.
3059 (remote_write_qxfer, remote_read_qxfer): Likewise.
3060 (remote_xfer_partial): Likewise.
3061 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3062 (rs6000_xfer_shared_libraries): Likewise.
3063 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3064 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3065 (spu_xfer_partial): Likewise.
3066 * target.c (memory_xfer_partial_1): Likewise.
3067 * tracepoint.c (tfile_xfer_partial): Likewise.
3068 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
3069 (windows_xfer_partial): Likewise.
3071 2014-02-07 Yao Qi <yao@codesourcery.com>
3073 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
3075 (core_xfer_shared_libraries_aix): Likewise.
3076 * gdbarch.c, gdbarch.h: Regenerated.
3077 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
3078 ULONGEST. Change 'len_avail' type to ULONGEST.
3079 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3080 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3082 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
3084 2014-02-07 Yao Qi <yao@codesourcery.com>
3086 * corefile.c (memory_error): Get 'exception' from ERR and pass
3087 'exception' to throw_error.
3089 2014-02-06 Doug Evans <xdje42@gmail.com>
3091 * configure.ac (libpython checking): Remove all but python.o from
3092 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
3093 * configure: Regenerate.
3095 * Makefile.in (SFILES): Add extension.c.
3096 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
3097 (COMMON_OBS): Add extension.o.
3098 * extension.h: New file.
3099 * extension-priv.h: New file.
3100 * extension.c: New file.
3102 * python/python-internal.h: #include "extension.h".
3103 (gdbpy_auto_load_enabled): Declare.
3104 (gdbpy_apply_val_pretty_printer): Declare.
3105 (gdbpy_apply_frame_filter): Declare.
3106 (gdbpy_preserve_values): Declare.
3107 (gdbpy_breakpoint_cond_says_stop): Declare.
3108 (gdbpy_breakpoint_has_cond): Declare.
3109 (void source_python_script_for_objfile): Delete.
3110 * python/python.c: #include "extension-priv.h".
3111 Delete inclusion of "observer.h".
3112 (extension_language_python): Moved here and renamed from
3113 script_language_python in py-auto-load.c.
3114 Redefined to be of type extension_language_defn.
3115 (python_extension_script_ops): New global.
3116 (python_extension_ops): New global.
3117 (struct python_env): New member previous_active.
3118 (restore_python_env): Call restore_active_ext_lang.
3119 (ensure_python_env): Call set_active_ext_lang.
3120 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
3122 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
3124 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
3126 (gdbpy_eval_from_control_command): Renamed from
3127 eval_python_from_control_command, made static. New arg extlang.
3128 (gdbpy_source_script) Renamed from source_python_script, made static.
3130 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
3131 result to int. New arg extlang.
3132 (gdbpy_source_objfile_script): Renamed from
3133 source_python_script_for_objfile, made static. New arg extlang.
3134 (gdbpy_start_type_printers): Renamed from start_type_printers, made
3135 static. New args extlang, extlang_printers. Change result type to
3137 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
3138 static. New arg extlang. Rename arg printers to extlang_printers
3139 and change type to ext_lang_type_printers *.
3140 (gdbpy_free_type_printers): Renamed from free_type_printers, made
3141 static. Replace argument arg with extlang, extlang_printers.
3142 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
3143 (!HAVE_PYTHON, source_python_script): Delete.
3144 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
3145 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
3146 (!HAVE_PYTHON, start_type_printers): Delete.
3147 (!HAVE_PYTHON, apply_type_printers): Delete.
3148 (!HAVE_PYTHON, free_type_printers): Delete.
3149 (_initialize_python): Delete call to observer_attach_before_prompt.
3150 (finalize_python): Set/restore active extension language.
3151 (gdbpy_finish_initialization) Renamed from
3152 finish_python_initialization, made static. New arg extlang.
3153 (gdbpy_initialized): New function.
3154 * python/python.h: #include "extension.h". Delete #include
3155 "value.h", "mi/mi-cmds.h".
3156 (extension_language_python): Declare.
3157 (GDBPY_AUTO_FILE_NAME): Delete.
3158 (enum py_bt_status): Moved to extension.h and renamed to
3160 (enum frame_filter_flags): Moved to extension.h.
3161 (enum py_frame_args): Moved to extension.h and renamed to
3162 ext_lang_frame_args.
3163 (finish_python_initialization): Delete.
3164 (eval_python_from_control_command): Delete.
3165 (source_python_script): Delete.
3166 (apply_val_pretty_printer): Delete.
3167 (apply_frame_filter): Delete.
3168 (preserve_python_values): Delete.
3169 (gdbpy_script_language_defn): Delete.
3170 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
3171 (start_type_printers, apply_type_printers, free_type_printers): Delete.
3173 * auto-load.c: #include "extension.h".
3174 (GDB_AUTO_FILE_NAME): Delete.
3175 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
3176 (script_language_gdb): Delete, moved to extension.c and renamed to
3177 extension_language_gdb.
3178 (source_gdb_script_for_objfile): Delete.
3179 (auto_load_pspace_info): New member unsupported_script_warning_printed.
3180 (loaded_script): Change type of language member to
3181 struct extension_language_defn *.
3182 (init_loaded_scripts_info): Initialize
3183 unsupported_script_warning_printed.
3184 (maybe_add_script): Make static. Change type of language arg to
3185 struct extension_language_defn *.
3186 (clear_section_scripts): Reset unsupported_script_warning_printed.
3187 (auto_load_objfile_script_1): Rewrite to use extension language API.
3188 (auto_load_objfile_script): Make public. Remove support-compiled-in
3189 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
3190 (source_section_scripts): Rewrite to use extension language API.
3191 (load_auto_scripts_for_objfile): Rewrite to use
3192 auto_load_scripts_for_objfile.
3193 (collect_matching_scripts_data): Change type of language member to
3194 struct extension_language_defn *.
3195 (auto_load_info_scripts): Change type of language arg to
3196 struct extension_language_defn *.
3197 (unsupported_script_warning_print): New function.
3198 (script_not_found_warning_print): Make static.
3199 (_initialize_auto_load): Rewrite construction of scripts-directory
3201 * auto-load.h (struct objfile): Add forward decl.
3202 (struct script_language): Delete.
3203 (struct auto_load_pspace_info): Add forward decl.
3204 (struct extension_language_defn): Add forward decl.
3205 (maybe_add_script): Delete.
3206 (auto_load_objfile_script): Declare.
3207 (script_not_found_warning_print): Delete.
3208 (auto_load_info_scripts): Update prototype.
3209 (auto_load_gdb_scripts_enabled): Declare.
3210 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
3211 auto_load_python_scripts_enabled and made public.
3212 (script_language_python): Delete, moved to python.c.
3213 (gdbpy_script_language_defn): Delete.
3214 (info_auto_load_python_scripts): Update to use
3215 extension_language_python.
3217 * breakpoint.c (condition_command): Replace call to
3218 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
3219 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
3220 with call to breakpoint_ext_lang_cond_says_stop.
3221 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
3222 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
3223 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
3224 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
3226 (local_setattro): Print name of extension language with existing
3229 * valprint.c (val_print, value_print): Update to call
3230 apply_ext_lang_val_pretty_printer.
3231 * cp-valprint.c (cp_print_value): Update call to
3232 apply_ext_lang_val_pretty_printer.
3233 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
3234 (gdbpy_apply_val_pretty_printer): Renamed from
3235 apply_val_pretty_printer. New arg extlang.
3236 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
3238 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
3239 extension language API.
3240 * cli/cli-script.c (execute_control_command): Update to call
3241 eval_ext_lang_from_control_command.
3243 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
3244 enum ext_lang_bt_status values. Update call to
3245 apply_ext_lang_frame_filter.
3246 (mi_cmd_stack_list_locals): Ditto.
3247 (mi_cmd_stack_list_args): Ditto.
3248 (mi_cmd_stack_list_variables): Ditto.
3249 * mi/mi-main.c: Delete #include "python/python-internal.h".
3250 Add #include "extension.h".
3251 (mi_cmd_list_features): Replace reference to python internal variable
3252 gdb_python_initialized with call to ext_lang_initialized_p.
3254 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
3255 Update to use enum ext_lang_frame_args. Update to call
3256 apply_ext_lang_frame_filter.
3257 * python/py-framefilter.c (extract_sym): Update to use enum
3259 (extract_value, py_print_type, py_print_value): Ditto.
3260 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
3261 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
3262 (py_print_frame): Ditto.
3263 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
3264 New arg extlang. Update to use enum ext_lang_bt_status.
3266 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
3267 finish_python_initialization. Replace with call to
3268 finish_ext_lang_initialization.
3270 * typeprint.c (do_free_global_table): Update to call
3271 free_ext_lang_type_printers.
3272 (create_global_typedef_table): Update to call
3273 start_ext_lang_type_printers.
3274 (find_global_typedef): Update to call apply_ext_lang_type_printers.
3275 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
3276 (type_print_options): Change type of global_printers from "void *"
3277 to "struct ext_lang_type_printers *".
3279 * value.c (preserve_values): Update to call preserve_ext_lang_values.
3280 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
3281 (gdbpy_preserve_values): Renamed from preserve_python_values.
3283 (!HAVE_PYTHON, preserve_python_values): Delete.
3285 * utils.c (quit_flag): Delete, moved to extension.c.
3286 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
3289 * eval.c: Delete #include "python/python.h".
3290 * main.c: Delete #include "python/python.h".
3292 * defs.h: Update comment.
3294 2014-02-06 Joel Brobecker <brobecker@adacore.com>
3298 2014-02-05 Mark Kettenis <kettenis@gnu.org>
3300 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
3303 2014-02-05 Yao Qi <yao@codesourcery.com>
3305 * remote.c (remote_pass_signals): Remove local 'buf' and use
3307 (remote_program_signals): Likewise.
3309 2014-02-05 Yao Qi <yao@codesourcery.com>
3311 * ctf.c: Include "inferior.h" and "gdbthread.h".
3312 (CTF_PID): A new macro.
3313 (ctf_open): Call inferior_appeared and add_thread_silent.
3314 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
3315 (ctf_thread_alive): New function.
3316 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
3318 2014-02-05 Yao Qi <yao@codesourcery.com>
3322 2013-05-24 Yao Qi <yao@codesourcery.com>
3324 * tracepoint.c (TFILE_PID): Remove.
3325 (tfile_open): Don't add thread and inferior.
3326 (tfile_close): Don't set 'inferior_ptid'. Don't call
3327 exit_inferior_silent.
3328 (tfile_thread_alive): Remove.
3329 (init_tfile_ops): Don't set field 'to_thread_alive' of
3332 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
3334 * remote.c (remote_start_remote): Call remote_check_symbols even
3335 if only symbol-file (not file) has been given.
3337 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3339 * gdbarch.sh (skip_entrypoint): New callback.
3340 * gdbarch.c, gdbarch.h: Regenerate.
3341 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
3342 * infrun.c (fill_in_stop_func): Likewise.
3343 * ppc-linux-tdep.c: Include "elf/ppc64.h".
3344 (ppc_elfv2_elf_make_msymbol_special): New function.
3345 (ppc_elfv2_skip_entrypoint): Likewise.
3346 (ppc_linux_init_abi): Install them for ELFv2.
3348 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3350 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
3351 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
3352 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
3353 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
3354 structures returned in GPRs.
3356 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3358 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
3359 offset to the stack parameter list for the ELFv2 ABI.
3361 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3363 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
3364 set_gdbarch_convert_from_func_ptr_addr and
3365 set_gdbarch_elf_make_msymbol_special for ELFv1.
3366 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
3367 function descriptors on ELFv1.
3368 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
3369 set up r12 at function entry.
3371 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3373 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
3374 (struct gdbarch_tdep): New member elf_abi.
3376 * rs6000-tdep.c: Include "elf/ppc64.h".
3377 (rs6000_gdbarch_init): Detect ELF ABI version.
3379 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3381 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
3382 within a register pair holding a DFP 128-bit value on little-endian.
3383 (ppc64_sysv_abi_return_value_base): Likewise.
3384 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
3385 (dfp_pseudo_register_write): Likewise.
3387 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3389 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
3390 offset on little-endian when passing _Decimal32.
3391 (ppc64_sysv_abi_return_value_base): Likewise for return values.
3393 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3395 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
3396 of the overlapped FP register within the VSX register on little-
3398 (efpr_pseudo_register_write): Likewise.
3400 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3402 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
3403 offset on little-endian when passing small structures.
3405 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3407 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
3408 (struct ppc64_sysv_argpos): New data structure.
3409 (ppc64_sysv_abi_push_float): Remove.
3410 (ppc64_sysv_abi_push_val): New function.
3411 (ppc64_sysv_abi_push_integer): Likewise.
3412 (ppc64_sysv_abi_push_freg): Likewise.
3413 (ppc64_sysv_abi_push_vreg): Likewise.
3414 (ppc64_sysv_abi_push_param): Likewise.
3415 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
3416 (ppc64_sysv_abi_return_value_base): New function.
3417 (ppc64_sysv_abi_return_value): Refactor to use it.
3419 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3421 * NEWS: Document new target powerpc64le-*-linux*.
3423 2014-02-04 Mark Kettenis <kettenis@gnu.org>
3425 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
3426 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
3428 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
3429 register set used in ELF core dumps. Add floating-point register set.
3431 2014-02-03 Kevin Buettner <kevinb@redhat.com>
3433 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
3434 dwarf2_to_gdb[] table using symbolic constants. Adjust
3435 penultimate entry from number representing the PC register
3436 to symbolic constant representing the MDR register. Add
3437 constant for the PC register to the end of the table.
3439 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3441 * bsd-kvm.c: Include <sys/param.h>
3443 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3445 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
3447 2014-01-31 Joel Brobecker <brobecker@adacore.com>
3449 * ada-lang.h (clear_ada_sym_cache): Delete.
3451 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
3453 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
3455 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3457 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
3458 the sigreturn register save area only if the syscall is
3461 2014-01-29 Joel Brobecker <brobecker@adacore.com>
3463 * valops.c (value_slice): Minor reformatting.
3465 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
3467 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
3469 2014-01-28 Joel Brobecker <brobecker@adacore.com>
3471 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
3473 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
3474 (ada_ignore_descriptive_types_p): New static global.
3475 (find_parallel_type_by_descriptive_type): Return immediately
3476 if ada_ignore_descriptive_types_p is set.
3477 (_initialize_ada_language): Register new commands "maintenance
3478 set ada", "maintenance show ada", "maintenance set ada
3479 ignore-descriptive-types" and "maintenance show ada
3480 ignore-descriptive-types".
3481 * NEWS: Add entry for new "maint ada set/show
3482 ignore-descriptive-types" commands.
3484 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
3486 * record-btrace.c (record_btrace_close): Call btrace_teardown
3489 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3491 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
3494 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3496 * ada-typeprint (type_is_full_subrange_of_target_type):
3498 (print_range): Add parameter bounds_prefered_p. If not set,
3499 try printing range types using the name of their base type.
3500 (print_range_type): Add parameter bounds_prefered_p.
3501 Use it in call to print_range.
3502 (print_array_type, ada_print_type): Update calls to print_range
3503 and print_range_type.
3505 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3507 * ada-typeprint.c (print_array_type, print_choices, print_range)
3508 (print_range_bound, print_dynamic_range_bound, print_range_type):
3511 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3513 * ada-typeprint.c (print_range): Add missing empty line
3514 after local declaration.
3516 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3518 * ada-valprint.c (print_optional_low_bound): Get index_type's
3519 target type for as long as it is a TYPE_CODE_RANGE.
3521 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3523 * procfs.c (procfs_make_note_section): Remove assertion and
3526 2014-01-24 Yao Qi <yao@codesourcery.com>
3528 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
3529 * corelow.c (get_core_siginfo): Likewise.
3531 2014-01-24 Yao Qi <yao@codesourcery.com>
3533 * remote.c (remote_write_bytes_aux): Change type of 'len' to
3534 ULONGEST. Don't check 'len' is negative.
3535 (remote_write_bytes): Change type of 'len' to ULONGEST.
3537 2014-01-23 Tom Tromey <tromey@redhat.com>
3540 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
3541 Handle exception from frame.block.
3542 (FrameVars.fetch_frame_locals): Likewise.
3544 2014-01-23 Tom Tromey <tromey@redhat.com>
3547 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
3548 on a NULL pointer. Move "goto error" to correct place.
3550 2014-01-23 Tom Tromey <tromey@redhat.com>
3553 * python/py-framefilter.c (apply_frame_filter): Call
3554 ensure_python_env after computing gdbarch.
3556 2014-01-23 Yao Qi <yao@codesourcery.com>
3558 * target.c (raw_memory_xfer_partial): Change argument type
3559 from void * to gdb_byte *.
3560 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
3562 2014-01-22 Doug Evans <dje@google.com>
3564 New gdbserver option --debug-format=timestamp.
3567 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3569 * syscalls/s390x-linux.xml: New file.
3570 * syscalls/s390-linux.xml: New file.
3571 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
3572 (XML_SYSCALL_FILENAME_S390X): Likewise.
3573 (op_svc): New enum value for SVC opcode.
3574 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
3575 (s390_linux_get_syscall_number): New function.
3576 (s390_gdbarch_init): Register '*get_syscall_number' and the
3577 syscall xml file name.
3578 * data-directory/Makefile.in (SYSCALLS_FILES): Add
3579 "s390-linux.xml" and "s390x-linux.xml".
3580 * NEWS: Announce new feature.
3582 2014-01-22 Baruch Siach <baruch@tkos.co.il>
3584 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
3586 2014-01-22 Pedro Alves <palves@redhat.com>
3588 * xtensa-config.c: Include defs.h.
3590 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3592 * common/common-utils.h: Add "ARI:" comment beside __func__
3595 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3597 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
3598 documentation a bit.
3600 2014-01-21 Roland McGrath <mcgrathr@google.com>
3602 * configure.ac: Call AM_PROG_INSTALL_STRIP.
3603 * configure: Regenerate.
3604 * aclocal.m4: Regenerate.
3605 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
3606 New substituted variables.
3607 (install-strip): New target.
3608 (INSTALL_SCRIPT): New substituted variable.
3609 (FLAGS_TO_PASS): Add it.
3610 (install-only): Use $(INSTALL_SCRIPT) rather than
3611 $(INSTALL_PROGRAM) for gcore.
3613 2014-01-20 Tom Tromey <tromey@redhat.com>
3615 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
3618 2014-01-20 Tom Tromey <tromey@redhat.com>
3620 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
3621 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
3622 (deprecated_cmd_warning, complete_on_cmdlist): Update.
3623 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
3624 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3625 (struct cmd_list_element) <flags>: Remove.
3626 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3627 doc_allocated>: New fields.
3628 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3630 * maint.c (maintenance_do_deprecate): Update.
3631 * top.c (execute_command): Update.
3633 2014-01-20 Baruch Siach <baruch@tkos.co.il>
3635 * xtensa-linux-nat.c: Include asm/ptrace.h.
3637 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3639 * Makefile.in (SFILES): Add d-support.c.
3640 (COMMON_OBS): Add d-support.o.
3641 * d-lang.h (d_parse_symbol): Add comment, now defined in
3643 * d-lang.c (parse_call_convention)
3644 (parse_attributes, parse_function_types)
3645 (parse_function_args, parse_type, parse_identifier)
3646 (call_convention_p, d_parse_symbol): Move functions to ...
3647 * d-support.c: ... New file.
3649 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3651 * d-lang.h (d_parse_symbol): Add declaration.
3652 * d-lang.c (extract_identifiers)
3653 (extract_type_info): Remove functions.
3654 (parse_call_convention, parse_attributes)
3655 (parse_function_types, parse_function_args)
3656 (parse_type, parse_identifier, call_convention_p)
3657 (d_parse_symbol): New functions.
3658 (d_demangle): Use d_parse_symbol to demangle D symbols.
3660 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3662 * d-lang.h (struct builtin_d_type): New data type.
3663 (builtin_d_type): Add declaration.
3664 * d-lang.c (d_language_arch_info, build_d_types)
3665 (builtin_d_type): New functions.
3666 (enum d_primitive_types): New data type.
3667 (d_language_defn): Change c_language_arch_info to
3668 d_language_arch_info.
3669 (d_type_data): New static variable.
3670 (_initialize_d_language): Initialize d_type_data.
3672 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3674 * d-lang.h (d_main_name): Add declaration.
3675 * d-lang.c (d_main_name): New function.
3676 * symtab.c (find_main_name): Add call to d_main_name.
3678 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3680 * d-lang.c (d_language_defn): Change macro_expansion_c to
3683 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3685 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3687 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3689 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3690 gdb_exception" declaration.
3691 * remote.c (getpkt_or_notif_sane): Likewise.
3693 2014-01-17 Doug Evans <dje@google.com>
3695 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3696 function, contents of dirnames_to_char_ptr_vec_append moved here.
3697 (delim_string_to_char_ptr_vec): New function.
3698 (dirnames_to_char_ptr_vec_append): Rewrite.
3699 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3701 2014-01-17 Doug Evans <dje@google.com>
3703 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3705 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3706 #include "common-utils.h".
3707 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3708 * common/vec.h (VEC_ASSERT_PASS): Update.
3709 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3710 (MACH_CHECK_ERROR): Update.
3712 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3714 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3716 * gdbarch.h: Regenerate.
3718 2014-01-16 Tom Tromey <tromey@redhat.com>
3720 * value.c (struct value) <regnum>: Move earlier.
3722 2014-01-16 Tom Tromey <tromey@redhat.com>
3724 * remote.c (extended_remote_create_inferior): Rename from
3725 extended_remote_create_inferior_1. Add "ops" argument. Remove
3728 2014-01-16 Pedro Alves <palves@redhat.com>
3730 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3731 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3734 2014-01-16 Doug Evans <dje@google.com>
3736 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3738 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3740 * btrace.h (btrace_thread_flag): New.
3741 (struct btrace_thread_info) <flags>: New.
3742 * record-btrace.c (record_btrace_resume_thread)
3743 (record_btrace_find_thread_to_move, btrace_step_no_history)
3744 (btrace_step_stopped, record_btrace_start_replaying)
3745 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3746 (record_btrace_find_resume_thread): New.
3747 (record_btrace_resume, record_btrace_wait): Extend.
3748 (record_btrace_can_execute_reverse): New.
3749 (record_btrace_open): Fail in non-stop mode.
3750 (record_btrace_set_replay): Split into this, ...
3751 (record_btrace_stop_replaying): ... this, ...
3752 (record_btrace_clear_histories): ... and this.
3753 (init_record_btrace_ops): Init to_can_execute_reverse.
3754 * NEWS: Announce it.
3756 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3758 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3759 (forward_target_decr_pc_after_break)
3760 (target_decr_pc_after_break): New.
3761 * target.c (forward_target_decr_pc_after_break)
3762 (target_decr_pc_after_break): New.
3763 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3764 instead of gdbarch_decr_pc_after_break.
3765 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3766 instead of gdbarch_decr_pc_after_break.
3767 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3768 instead of gdbarch_decr_pc_after_break.
3769 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3770 instead of gdbarch_decr_pc_after_break.
3771 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3772 instead of gdbarch_decr_pc_after_break.
3773 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3774 instead of gdbarch_decr_pc_after_break.
3776 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3778 * btrace.c: Include regcache.h.
3779 (btrace_add_pc): New.
3780 (btrace_enable): Call btrace_add_pc.
3781 (btrace_is_empty): New.
3782 * btrace.h (btrace_is_empty): New.
3783 * record-btrace.c (require_btrace, record_btrace_info): Call
3786 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3788 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3789 Support delta reads.
3790 (linux_disable_btrace): Change return type.
3791 * common/linux-btrace.h (linux_read_btrace): Change parameters
3792 and return type to allow error reporting. Update users.
3793 (linux_disable_btrace): Change return type. Update users.
3794 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3796 (btrace_error): New.
3797 (btrace_block) <begin>: Comment on BEGIN == 0.
3798 * btrace.c (btrace_compute_ftrace): Start from the end of
3800 (btrace_stitch_trace, btrace_clear_history): New.
3801 (btrace_fetch): Read delta trace, return if replaying.
3802 (btrace_clear): Move clear history code to btrace_clear_history.
3803 (parse_xml_btrace): Throw an error if parsing failed.
3804 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3805 and return type to allow error reporting.
3806 (target_read_btrace): Change parameters and return type to allow
3808 * target.c (target_read_btrace): Update.
3809 * remote.c (remote_read_btrace): Support delta reads. Pass
3811 * NEWS: Announce it.
3813 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3815 * record.h (record_btrace_frame_unwind)
3816 (record_btrace_tailcall_frame_unwind): New declarations.
3817 * dwarf2-frame: Include record.h
3818 (dwarf2_frame_cfa): Throw an error for btrace frames.
3819 * record-btrace.c: Include hashtab.h.
3820 (btrace_get_bfun_name): New.
3821 (btrace_call_history): Call btrace_get_bfun_name.
3822 (struct btrace_frame_cache): New.
3824 (bfcache_hash, bfcache_eq, bfcache_new): New.
3825 (btrace_get_frame_function): New.
3826 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3827 (record_btrace_frame_this_id): Compute own id.
3828 (record_btrace_frame_prev_register): Provide PC, throw_error
3829 for all other registers.
3830 (record_btrace_frame_sniffer): Detect btrace frames.
3831 (record_btrace_tailcall_frame_sniffer): New.
3832 (record_btrace_frame_dealloc_cache): New.
3833 (record_btrace_frame_unwind): Add new functions.
3834 (record_btrace_tailcall_frame_unwind): New.
3835 (_initialize_record_btrace): Allocate cache.
3836 * btrace.c (btrace_clear): Call reinit_frame_cache.
3837 * NEWS: Announce it.
3839 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3841 * record-btrace.c (record_btrace_set_replay)
3842 (record_btrace_goto_begin, record_btrace_goto_end)
3843 (record_btrace_goto): New.
3844 (init_record_btrace_ops): Initialize them.
3845 * NEWS: Announce it.
3847 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3849 * record-btrace.c (record_btrace_find_new_threads)
3850 (record_btrace_thread_alive): New.
3851 (init_record_btrace_ops): Initialize to_find_new_threads and
3854 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3856 * record-btrace.c (record_btrace_resume): New.
3857 (record_btrace_wait): New.
3858 (init_record_btrace_ops): Initialize to_wait and to_resume.
3860 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3862 * record-btrace.c (record_btrace_xfer_partial)
3863 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3864 (record_btrace_allow_memory_access): New.
3865 (init_record_btrace_ops): Initialize new methods.
3866 * target.c (raw_memory_xfer_partial): Bail out if target reports
3867 that this memory is not available.
3869 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3871 * target.h (target_ops) <to_insert_breakpoint>
3872 <to_remove_breakpoint>: Add target_ops parameter.
3873 (forward_target_insert_breakpoint): New.
3874 (forward_target_remove_breakpoint): New.
3875 (memory_remove_breakpoint, memory_insert_breakpoint):
3876 Add target_ops parameter.
3877 * target.c (target_insert_breakpoint): Split into this and ...
3878 (forward_target_insert_breakpoint): ... this.
3879 (target_remove_breakpoint): Split into this and ...
3880 (forward_target_remove_breakpoint): ... this.
3881 (debug_to_insert_breakpoint): Add target_ops parameter.
3882 Call forward_target_insert_breakpoint.
3883 (debug_to_remove_breakpoint): Add target_ops parameter.
3884 Call forward_target_remove_breakpoint.
3885 (update_current_target): Do not inherit or default to_insert_breakpoint
3886 and to_remove_breakpoint.
3887 * corelow.c (ignore): Add target_ops parameter.
3888 * exec.c (ignore): Add target_ops parameter.
3889 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3890 Add target_ops parameter.
3891 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3892 Add target_ops parameter.
3893 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3894 Add target_ops parameter.
3895 * record-full.c (record_full_beneath_to_insert_breakpoint)
3896 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3897 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3898 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
3899 (record_full_core_remove_breakpoint): Add target_ops parameter.
3901 (record_full_beneath_to_insert_breakpoint_ops)
3902 (record_full_beneath_to_remove_breakpoint_ops)
3903 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
3904 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
3905 tmp_to_remove_breakpoint_ops,
3906 record_full_beneath_to_insert_breakpoint_ops, and
3907 record_full_beneath_to_remove_breakpoint_ops.
3908 * remote-m32r-sdi.c (m32r_insert_breakpoint)
3909 (m32r_remove_breakpoint): Add target_ops parameter.
3910 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
3911 Add target_ops parameter.
3912 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
3913 Add target_ops parameter.
3915 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3916 Markus Metzger <markus.t.metzger@intel.com>
3918 * record-btrace.c: Include frame-unwind.h.
3919 (record_btrace_frame_unwind_stop_reason)
3920 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
3921 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
3923 (init_record_btrace_ops): Install it.
3925 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3927 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
3930 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3932 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
3935 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3937 * frame-unwind.c: Include target.h.
3938 (frame_unwind_try_unwinder): New function with code from ...
3939 (frame_unwind_find_by_frame): ... here. New variable
3940 unwinder_from_target, call also target_get_unwinder)
3941 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
3942 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
3943 * target.h (struct target_ops): New fields to_get_unwinder and
3944 to_get_tailcall_unwinder.
3945 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
3947 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3949 * record-btrace.c (record_btrace_fetch_registers)
3950 (record_btrace_store_registers)
3951 (record_btrace_to_prepare_to_store): New.
3952 (init_record_btrace_ops): Add the above.
3954 2014-01-16 Tom Tromey <tromey@redhat.com>
3956 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
3957 * target.h (struct target_ops) <to_prepare_to_store>: Add
3959 (target_prepare_to_store): Add argument.
3960 * target.c (debug_to_prepare_to_store): Add argument.
3961 (update_current_target): Update.
3962 * remote.c (remote_prepare_to_store): Add 'self' argument.
3963 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
3964 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
3965 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
3966 * record-full.c (record_full_core_prepare_to_store): Add 'self'
3968 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
3969 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
3970 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
3971 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
3972 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
3974 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3976 * btrace.h (replay) <replay>: New.
3977 (btrace_is_replaying): New.
3978 * btrace.c (btrace_clear): Free replay iterator.
3979 (btrace_is_replaying): New.
3980 * record-btrace.c (record_btrace_is_replaying): New.
3981 (record_btrace_info): Print insn number if replaying.
3982 (record_btrace_insn_history): Start at replay position.
3983 (record_btrace_call_history): Start at replay position.
3984 (init_record_btrace_ops): Init to_record_is_replaying.
3986 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3988 * record-btrace.c (record_btrace_insn_history_range): Include
3990 (record_btrace_insn_history_from): Adjust range.
3991 (record_btrace_call_history_range): Include
3993 (record_btrace_call_history_from): Adjust range.
3994 * NEWS: Announce changes.
3996 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3998 * record.h (enum record_print_flag)
3999 <record_print_indent_calls>: New.
4000 * record.c (get_call_history_modifiers): Recognize /c modifier.
4001 (_initialize_record): Document /c modifier.
4002 * record-btrace.c (btrace_call_history): Add btinfo parameter.
4003 Reorder fields. Optionally indent the function name. Update
4005 * NEWS: Announce changes.
4007 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4009 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
4011 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4013 * btrace.c (ftrace_new_function): Start counting at one.
4014 * record-btrace.c (record_btrace_info): Adjust number of calls
4016 * NEWS: Announce it.
4018 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4020 * record-btrace.c (btrace_call_history_insn_range): Print
4021 insn range as [begin, end].
4023 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4025 * btrace.h (struct btrace_func_link): New.
4026 (enum btrace_function_flag): New.
4027 (struct btrace_inst): Rename to ...
4028 (struct btrace_insn): ...this. Update all users.
4029 (struct btrace_func) <ibegin, iend>: Remove.
4030 (struct btrace_func_link): New.
4031 (struct btrace_func): Rename to ...
4032 (struct btrace_function): ...this. Update all users.
4033 (struct btrace_function) <segment, flow, up, insn, insn_offset)
4034 (number, level, flags>: New.
4035 (struct btrace_insn_iterator): Rename to ...
4036 (struct btrace_insn_history): ...this.
4038 (struct btrace_insn_iterator, btrace_call_iterator): New.
4039 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
4040 (struct btrace_target_info) <begin, end, level>
4041 <insn_history, call_history>: New.
4042 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4043 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4044 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4045 (btrace_call_number, btrace_call_begin, btrace_call_end)
4046 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4047 (btrace_find_function_by_number, btrace_set_insn_history)
4048 (btrace_set_call_history): New.
4049 * btrace.c (btrace_init_insn_iterator)
4050 (btrace_init_func_iterator, compute_itrace): Remove.
4051 (ftrace_print_function_name, ftrace_print_filename)
4052 (ftrace_skip_file): Change
4054 (ftrace_init_func): Remove.
4055 (ftrace_debug): Use new btrace_function fields.
4056 (ftrace_function_switched): Also consider gaining and
4057 losing symbol information).
4058 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
4059 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
4060 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
4062 (ftrace_new_function): Move. Remove debug print.
4063 (ftrace_update_lines, ftrace_update_insns): New.
4064 (ftrace_update_function): Check for call, ret, and jump.
4065 (compute_ftrace): Renamed to ...
4066 (btrace_compute_ftrace): ...this. Rewritten to compute call
4068 (btrace_fetch, btrace_clear): Updated.
4069 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4070 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4071 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4072 (btrace_call_number, btrace_call_begin, btrace_call_end)
4073 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4074 (btrace_find_function_by_number, btrace_set_insn_history)
4075 (btrace_set_call_history): New.
4076 * record-btrace.c (require_btrace): Use new btrace thread
4078 (record_btrace_info, btrace_insn_history)
4079 (record_btrace_insn_history, record_btrace_insn_history_range):
4080 Use new btrace thread info fields and new iterator.
4081 (btrace_func_history_src_line): Rename to ...
4082 (btrace_call_history_src_line): ...this. Use new btrace
4084 (btrace_func_history): Rename to ...
4085 (btrace_call_history): ...this. Use new btrace thread info
4086 fields and new iterator.
4087 (record_btrace_call_history, record_btrace_call_history_range):
4088 Use new btrace thread info fields and new iterator.
4090 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4092 * frame.h (frame_id_build_unavailable_stack_special): New.
4093 * frame.c (frame_id_build_unavailable_stack_special): New.
4095 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4097 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
4098 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
4099 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
4101 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
4102 (i386_insn_is_jump, i386_jmp_p): New.
4103 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
4104 insn_is_jump to gdbarch.
4105 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
4106 * gdbarch.h: Regenerated.
4107 * gdbarch.c: Regenerated.
4108 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
4109 (default_insn_is_jump): New.
4110 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
4111 (default_insn_is_jump): New.
4113 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4115 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
4117 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
4118 (btrace_read_type) <btrace_read_new>: Change to ...
4119 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
4121 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4123 * common/linux-btrace.c (linux_read_btrace): Free trace from
4126 2014-01-15 Doug Evans <dje@google.com>
4128 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
4131 2014-01-15 Tom Tromey <tromey@redhat.com>
4133 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
4134 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
4135 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
4136 (set_objfile_main_name): New function.
4137 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
4138 language_of_main>: New fields.
4139 (set_objfile_main_name): Declare.
4140 * symtab.c (find_main_name): Loop over objfiles to find the main
4142 (set_main_name): Now static.
4143 (get_main_info): Add comment.
4144 * symtab.h (set_main_name): Don't declare.
4146 2014-01-15 Tom Tromey <tromey@redhat.com>
4148 * symtab.c (main_progspace_key): New global.
4149 (struct main_info): New.
4150 (name_of_main, language_of_main): Remove.
4151 (get_main_info, main_info_cleanup): New function.
4152 (set_main_name, main_name, main_language): Use get_main_info.
4153 (_initialize_symtab): Initialize main_progspace_key.
4155 2014-01-15 Tom Tromey <tromey@redhat.com>
4157 * dbxread.c (process_one_symbol): Update.
4158 * dwarf2read.c (read_partial_die): Update.
4159 * symfile.c (set_initial_language): Call main_language.
4160 * symtab.c (language_of_main): Now static.
4161 (set_main_name): Add 'lang' parameter.
4162 (find_main_name): Update.
4163 (main_language): New function.
4164 (symtab_observer_executable_changed): Update.
4165 * symtab.h (set_main_name): Update.
4166 (language_of_main): Remove.
4167 (main_language): Declare.
4169 2014-01-15 Tom Tromey <tromey@redhat.com>
4171 * symfile.c (init_entry_point_info): Use new "initialized" field.
4173 * objfiles.h (struct entry_point) <initialized>: New field.
4174 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
4175 (struct objfile) <ei>: ...here. Remove.
4176 * objfiles.c (entry_point_address_query): Update.
4178 2014-01-15 Tom Tromey <tromey@redhat.com>
4180 * objfiles.c (entry_point_address_query): Relocate entry point
4182 (objfile_relocate1): Do not relocate entry point address.
4183 * objfiles.h (struct entry_info) <entry_point>: Update comment.
4184 <the_bfd_section_index>: New field.
4185 * symfile.c (init_entry_point_info): Find the entry point's
4188 2014-01-15 Tom Tromey <tromey@redhat.com>
4190 * solib-frv.c (enable_break): Use entry_point_address_query.
4192 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4194 * NEWS: Add note on improved process record-replay on
4195 arm*-linux* targets.
4197 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4199 * arm-tdep.c (enum arm_record_result): New enum.
4200 (arm_record_unsupported_insn): New function.
4201 (arm_record_coproc_data_proc): Removed.
4202 (thumb2_record_ld_st_multiple): New function.
4203 (thumb2_record_ld_st_dual_ex_tbb): New function.
4204 (thumb2_record_data_proc_sreg_mimm): New function.
4205 (thumb2_record_ps_dest_generic): New function.
4206 (thumb2_record_branch_misc_cntrl): New function.
4207 (thumb2_record_str_single_data): New function.
4208 (thumb2_record_ld_mem_hints): New function.
4209 (thumb2_record_ld_word): New function.
4210 (thumb2_record_lmul_lmla_div): New function.
4211 (thumb2_record_decode_insn_handler): New function.
4212 (decode_insn): Add thumb32 instruction handlers.
4214 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4216 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
4217 (struct arm_linux_record_tdep): Declare.
4218 (arm_canonicalize_syscall): New function.
4219 (arm_all_but_pc_registers_record): New function.
4220 (arm_linux_syscall_record): New function.
4221 (arm_linux_init_abi): Add syscall recording constructs.
4222 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
4223 decoding. (arm_record_coproc_data_proc): Update arm syscall
4225 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
4226 <arm_syscall_record>: New field.
4227 * configure.tgt (arm*-*-linux*): Add linux-record.o to
4230 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4232 * arm-tdep.c (thumb_record_misc): Update to use sp as base
4233 register for push instruction recording.
4235 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4237 * arm-tdep.c (thumb_record_misc): Update to correct logical
4238 error while recording ldm, ldmia and pop instructions.
4240 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4242 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
4244 2014-01-15 Pedro Alves <palves@redhat.com>
4246 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
4247 (go32_resume, go32_fetch_registers, store_register)
4248 (go32_store_registers, go32_prepare_to_store)
4249 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
4250 (go32_create_inferior, go32_can_run, go32_terminal_init)
4251 (go32_terminal_inferior, go32_terminal_ours): Delete forward
4254 2014-01-15 Tom Tromey <tromey@redhat.com>
4256 * target.h (async_callback_ftype): New typedef.
4257 (struct target_ops) <to_async>: Use it.
4259 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4261 * python/py-value.c (get_field_type): Remove unnecessary curly
4262 braces for single-statement if block.
4264 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4266 * python/py-type.c (convert_field): Add missing empty line
4269 2014-01-14 Doug Evans <dje@google.com>
4271 * symfile.h (expand_symtabs_matching): Renamed from
4272 expand_partial_symbol_names. Update prototype.
4273 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4274 * symfile.c (expand_symtabs_matching): Renamed from
4275 expand_partial_symbol_names. New args file_matcher, kind.
4276 Rename arg fun to symbol_matcher.
4277 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4278 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
4279 ada_expand_partial_symbol_name.
4280 (ada_make_symbol_completion_list): Update to call
4281 expand_symtabs_matching.
4282 (ada_add_global_exceptions): Call expand_symtabs_matching.
4283 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
4284 call map_symbol_filenames.
4285 * symtab.c (sources_info): Update to call map_symbol_filenames.
4286 (search_symbols): Call expand_symtabs_matching.
4287 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
4288 (default_make_symbol_completion_list_break_on): Update to call
4289 expand_symtabs_matching.
4290 (make_source_files_completion_list): Update to call
4291 map_symbol_filenames.
4293 2014-01-14 Doug Evans <dje@google.com>
4295 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
4296 (expand_symtabs_symbol_matcher_ftype): New typedef.
4297 (quick_symbol_functions.expand_symtabs_matching): Update to use.
4298 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4299 * symfile.c (expand_partial_symbol_names): Update to use
4300 expand_symtabs_symbol_matcher_ftype.
4301 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
4302 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4303 Arg name_matcher renamed to symbol_matcher.
4304 * psymtab.c (recursively_search_psymtabs): Update to use
4305 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
4307 (expand_symtabs_matching_via_partial): Update to use
4308 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4309 Arg name_matcher renamed to symbol_matcher.
4311 2014-01-14 Doug Evans <dje@google.com>
4313 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
4314 (map_partial_symbol_filenames): Ditto.
4315 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
4316 (map_partial_symbol_filenames): Ditto.
4317 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
4318 (map_partial_symbol_filenames): Ditto.
4319 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
4320 (map_partial_symbol_filenames): Ditto.
4321 * symtab.c: Delete #include "psymtab.h".
4323 2014-01-14 Pedro Alves <palves@redhat.com>
4324 Tom Tromey <tromey@redhat.com>
4326 * infrun.c (use_displaced_stepping): Use find_record_target
4327 instead of RECORD_IS_USED.
4328 (adjust_pc_after_break): Use record_full_is_used instead of
4330 * record-btrace.c (record_btrace_open): Call record_preopen
4331 instead of checking RECORD_IS_USED.
4332 * record-full.c (record_full_shortname)
4333 (record_full_core_shortname): New globals.
4334 (record_full_is_used): New function.
4335 (find_full_open): Call record_preopen instead of checking
4337 (init_record_full_ops): Set the target's shortname to
4338 record_full_shortname.
4339 (init_record_full_core_ops): Set the target's shortname to
4340 record_full_core_shortname.
4341 * record-full.h (record_full_is_used): Declare.
4342 * record.c (find_record_target): Make extern.
4343 (record_preopen): New function.
4344 * record.h (RECORD_IS_USED): Delete macro.
4345 (find_record_target, record_preopen): Declare functions.
4347 2014-01-14 Yao Qi <yao@codesourcery.com>
4349 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
4350 'len''s type to ULONGEST.
4351 (core_xfer_shared_libraries_aix): Likewise.
4352 * gdbarch.c, gdbarch.h: Regenerated.
4353 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
4354 Change type of 'len' to ULONGEST.
4355 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4356 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
4358 2014-01-14 Yao Qi <yao@codesourcery.com>
4360 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
4361 type of 'len' to ULONGEST.
4362 (linux_xfer_osdata_processgroups): Likewise.
4363 (linux_xfer_osdata_threads): Likewise.
4364 (linux_xfer_osdata_fds): Likewise.
4365 (linux_xfer_osdata_isockets): Likewise.
4366 (linux_xfer_osdata_shm): Likewise.
4367 (linux_xfer_osdata_sem): Likewise.
4368 (linux_xfer_osdata_msg): Likewise.
4369 (linux_common_xfer_osdata): Likewise.
4370 (struct osdata_type) <getter>: Likewise.
4371 * common/linux-osdata.h (linux_common_xfer_osdata): Update
4374 2014-01-14 Yao Qi <yao@codesourcery.com>
4376 * target.h (target_xfer_partial_ftype): Update.
4377 (struct target_ops) <to_xfer_partial>: Change 'len' type to
4379 * aix-thread.c (aix_thread_xfer_partial): Change type of
4380 argument 'len' to ULONGEST.
4381 * auxv.c (procfs_xfer_auxv): Likewise.
4382 (ld_so_xfer_auxv): Likewise.
4383 (memory_xfer_auxv): Likewise.
4384 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4385 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4386 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4387 * corelow.c (core_xfer_partial): Likewise.
4388 * ctf.c (ctf_xfer_partial): Likewise.
4389 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
4391 (darwin_read_dyld_info): Likewise.
4392 (darwin_xfer_partial): Likewise.
4393 * exec.c (section_table_xfer_memory_partial): Likewise.
4394 (exec_xfer_partial): Likewise.
4395 * exec.h (section_table_xfer_memory_partial): Update
4397 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
4398 instead of plongest.
4399 (gnu_xfer_partial): Likewise.
4400 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
4401 (ia64_hpux_xfer_solib_got): Likewise.
4402 (ia64_hpux_xfer_partial): Likewise.
4403 * ia64-linux-nat.c (ia64_linux_xfer_partial):
4404 * inf-ptrace.c (inf_ptrace_xfer_partial):
4405 * inf-ttrace.c (inf_ttrace_xfer_partial):
4406 * linux-nat.c (linux_xfer_siginfo): Likewise.
4407 (linux_nat_xfer_partial): Likewise.
4408 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
4409 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
4410 * monitor.c (monitor_xfer_memory): Likewise.
4411 (monitor_xfer_partial): Likewise.
4412 * procfs.c (procfs_xfer_partial): Likewise.
4413 * record-full.c (record_full_xfer_partial): Likewise.
4414 (record_full_core_xfer_partial): Likewise.
4415 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
4416 instead of plongest.
4417 (gdbsim_xfer_partial): Likewise.
4418 * remote.c (remote_xfer_partial): Likewise.
4419 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4420 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4422 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4423 (rs6000_xfer_shared_libraries): Likewise.
4424 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4425 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4426 (sparc_xfer_partial): Likewise.
4427 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4428 (spu_xfer_partial): Likewise.
4429 * spu-multiarch.c (spu_xfer_partial): Likewise.
4430 * target.c (target_read_live_memory): Likewise.
4431 (memory_xfer_live_readonly_partial): Likewise.
4432 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
4433 (target_xfer_partial, default_xfer_partial): Likewise.
4434 (current_xfer_partial): Likewise.
4435 * tracepoint.c (tfile_xfer_partial): Likewise.
4436 * windows-nat.c (windows_xfer_memory): Likewise. Call
4437 pulongest instead of plongest.
4438 (windows_xfer_partial): Likewise.
4439 (windows_xfer_shared_libraries): Likewise.
4441 2014-01-14 Yao Qi <yao@codesourcery.com>
4443 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
4444 target_xfer_partial_ftype.
4446 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4450 * valops.c (value_struct_elt_bitpos): New function
4451 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
4452 object to 'None' if the field name is an empty string ("").
4453 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
4454 attribute to look for a field when 'name' is 'None'.
4455 (get_field_type): New function
4457 2014-01-13 Doug Evans <dje@google.com>
4460 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
4461 (try_open_dwop_file): Ditto.
4462 * gdb_bfd.c: #include "vec.h".
4463 (bfdp): New typedef.
4464 (struct gdb_bfd_data): New member included_bfds.
4465 (gdb_bfd_unref): Unref all included bfds.
4466 (gdb_bfd_record_inclusion): New function.
4467 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
4469 2014-01-13 Tom Tromey <tromey@redhat.com>
4471 * gdbcore.h (deprecated_core_resize_section_table): Remove.
4473 2014-01-13 Tom Tromey <tromey@redhat.com>
4475 * defs.h (use_windows): Remove.
4476 * gdb.c (main): Update.
4477 * main.c (captured_main, gdb_main): Update.
4478 * main.h (struct captured_main_args) <use_windows>: Remove.
4479 * top.c (use_windows): Remove.
4481 2014-01-13 Tom Tromey <tromey@redhat.com>
4483 * defs.h (deprecated_flush_hook): Remove.
4485 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4488 * linux-thread-db.c (try_thread_db_load): Add parameter
4489 check_auto_load_safe. Move here the file_is_auto_load_safe call.
4490 (try_thread_db_load_from_pdir_1): Move it there from here.
4491 (try_thread_db_load_from_sdir): Update caller.
4492 (try_thread_db_load_from_dir): Move it there from here.
4494 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
4496 * regformats/regdat.sh: Always rewrite the register file.
4498 2014-01-13 Pedro Alves <palves@redhat.com>
4500 * Makefile.in (CHECK_HEADERS): New variable.
4501 (check-headers:): New rule.
4503 2014-01-13 Tom Tromey <tromey@redhat.com>
4505 * cli/cli-setshow.c (do_set_command): Update.
4506 * defs.h (deprecated_set_hook): Remove.
4507 * top.c (deprecated_set_hook): Remove.
4509 2014-01-13 Pedro Alves <palves@redhat.com>
4511 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
4512 the tracepoint if the PC is a pseudo-register.
4514 2014-01-13 Tom Tromey <tromey@redhat.com>
4516 * defs.h (XCALLOC): Remove.
4517 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
4518 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
4519 * dwarf2loc.c (allocate_piece_closure): Likewise.
4520 * elfread.c (elf_symfile_segments): Likewise.
4521 (elf_symfile_segments): Likewise.
4522 * gdbtypes.c (copy_type_recursive): Likewise.
4523 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
4524 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
4525 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
4527 * mt-tdep.c (mt_gdbarch_init): Likewise.
4528 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
4530 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
4531 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
4532 * registry.c (registry_alloc_data): Likewise.
4533 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
4534 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
4535 * serial.c (serial_fdopen_ops): Likewise.
4536 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
4538 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
4539 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
4542 2014-01-13 Tom Tromey <tromey@redhat.com>
4544 * defs.h (XMALLOC): Remove.
4545 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
4546 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
4547 * cli-out.c (struct ui_out *): Likewise.
4548 * cli/cli-dump.c (add_dump_command): Likewise.
4549 (add_dump_command): Likewise.
4550 * complaints.c (get_complaints): Likewise.
4551 (find_complaint): Likewise.
4552 * dwarf2-frame.c (execute_cfa_program): Likewise.
4553 * dwarf2read.c (abbrev_table_read_table): Likewise.
4554 * gdbarch.sh: Likewise.
4555 * gdbarch.c: Rebuild.
4556 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
4557 * interps.c (interp_new): Likewise.
4558 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
4559 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
4560 * mi/mi-console.c (mi_console_file_new): Likewise.
4561 * mi/mi-interp.c (mi_interpreter_init): Likewise.
4562 * mi/mi-out.c (mi_out_new): Likewise.
4563 * mi/mi-parse.c (mi_parse): Likewise.
4564 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
4565 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
4566 * observer.c (xalloc_observer_list_node): Likewise.
4567 * regcache.c (regcache_xmalloc_1): Likewise.
4568 * reggroups.c (reggroup_new): Likewise.
4569 (_initialize_reggroup): Likewise.
4570 * registry.c (register_data_with_cleanup): Likewise.
4571 * remote.c (remote_notif_stop_alloc_reply): Likewise.
4572 * ser-base.c (serial_ttystate): Likewise.
4573 * ser-mingw.c (make_pipe_state): Likewise.
4574 * ser-pipe.c (pipe_open): Likewise.
4575 * serial.c (serial_open): Likewise.
4576 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
4577 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
4578 (tui_alloc_win_info): Likewise.
4579 (tui_add_content_elements): Likewise.
4580 * tui/tui-file.c (tui_file_new): Likewise.
4581 * tui/tui-out.c (tui_out_new): Likewise.
4582 * ui-file.c (mem_file_new): Likewise.
4583 * ui-out.c (push_level): Likewise.
4584 (make_cleanup_ui_out_end): Likewise.
4585 (append_header_to_list): Likewise.
4586 (ui_out_new): Likewise.
4587 * user-regs.c (user_reg_add_builtin): Likewise.
4589 2014-01-13 Tom Tromey <tromey@redhat.com>
4591 * defs.h (XZALLOC): Remove.
4592 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
4593 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
4594 (get_ada_tasks_inferior_data): Likewise.
4595 * auto-load.c (get_auto_load_pspace_data): Likewise.
4596 * auxv.c (get_auxv_inferior_data): Likewise.
4597 * bfd-target.c (target_bfd_reopen): Likewise.
4598 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
4599 (deprecated_insert_raw_breakpoint): Likewise.
4600 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
4601 * corelow.c (core_open): Likewise.
4602 * darwin-nat.c (darwin_check_new_threads): Likewise.
4603 (darwin_attach_pid): Likewise.
4604 * dummy-frame.c (dummy_frame_push): Likewise.
4605 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
4606 * dwarf2loc.c (allocate_piece_closure): Likewise.
4607 * elfread.c (elf_symfile_segments): Likewise.
4608 * eval.c (ptrmath_type_p): Likewise.
4609 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
4610 * gdbtypes.c (alloc_type_arch): Likewise.
4611 (alloc_type_instance): Likewise.
4612 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
4613 * inf-child.c (inf_child_can_use_agent): Likewise.
4614 * inflow.c (get_inflow_inferior_data): Likewise.
4615 * infrun.c (save_infcall_suspend_state): Likewise.
4616 * jit.c (jit_reader_load): Likewise.
4617 (get_jit_objfile_data): Likewise.
4618 (get_jit_program_space_data): Likewise.
4619 (jit_object_open_impl): Likewise.
4620 (jit_symtab_open_impl): Likewise.
4621 (jit_block_open_impl): Likewise.
4622 (jit_frame_sniffer): Likewise.
4623 * linux-fork.c (add_fork): Likewise.
4624 * maint.c (make_command_stats_cleanup): Likewise.
4625 * objfiles.c (get_objfile_pspace_data): Likewise.
4626 * opencl-lang.c (struct lval_closure): Likewise.
4627 * osdata.c (osdata_start_osdata): Likewise.
4628 * progspace.c (new_address_space): Likewise.
4629 (add_program_space): Likewise.
4630 * remote-sim.c (get_sim_inferior_data): Likewise.
4631 * sh-tdep.c (sh_gdbarch_init): Likewise.
4632 * skip.c (Ignore): Likewise.
4633 (skip_delete_command): Likewise.
4634 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4635 (library_list_start_library): Likewise.
4636 (solib_aix_current_sos): Likewise.
4637 * solib-darwin.c (get_darwin_info): Likewise.
4638 (darwin_current_sos): Likewise.
4639 * solib-dsbt.c (get_dsbt_info): Likewise.
4640 * solib-ia64-hpux.c (new_so_list): Likewise.
4641 (ia64_hpux_get_solib_linkage_addr): Likewise.
4642 * solib-spu.c (append_ocl_sos): Likewise.
4643 (spu_current_sos): Likewise.
4644 * solib-svr4.c (get_svr4_info): Likewise.
4645 (svr4_keep_data_in_core): Likewise.
4646 (library_list_start_library): Likewise.
4647 (svr4_default_sos): Likewise.
4648 (svr4_read_so_list): Likewise.
4649 * solib-target.c (library_list_start_library): Likewise.
4650 (solib_target_current_sos): Likewise.
4651 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4652 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4653 * symfile.c (default_symfile_segments): Likewise.
4654 * target-descriptions.c (tdesc_data_init): Likewise.
4655 (tdesc_create_reg): Likewise.
4656 (struct tdesc_type *): Likewise.
4657 (tdesc_create_vector): Likewise.
4658 (tdesc_set_struct_size): Likewise.
4659 (struct tdesc_type *): Likewise.
4660 (tdesc_free_feature): Likewise.
4661 (tdesc_create_feature): Likewise.
4662 * windows-nat.c (windows_add_thread): Likewise.
4663 (windows_make_so): Likewise.
4664 * xml-support.c (gdb_xml_body_text): Likewise.
4665 (gdb_xml_create_parser_and_cleanup): Likewise.
4666 (xml_process_xincludes): Likewise.
4667 * xml-syscall.c (allocate_syscalls_info): Likewise.
4668 (syscall_create_syscall_desc): Likewise.
4670 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4672 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4673 function, with code from i386_stap_parse_special_token.
4674 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4675 (i386_stap_parse_special_token): Move code to the two functions
4678 2014-01-09 Pedro Alves <palves@redhat.com>
4679 Hui Zhu <hui@codesourcery.com>
4682 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4683 bp_err_string. Don't mark the location shlib_disabled if the
4684 error thrown wasn't a generic or memory error. Catch errors
4685 thrown while inserting breakpoints in overlayed code. Output
4686 error message of software breakpoints.
4687 * remote.c (remote_insert_breakpoint): If this breakpoint has
4688 target-side commands but this stub doesn't support Z0 packets,
4689 throw NOT_SUPPORTED_ERROR error.
4690 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4691 * target.h (target_insert_breakpoint): Extend comment.
4692 (target_insert_hw_breakpoint): Add comment.
4694 2014-01-08 Pedro Alves <palves@redhat.com>
4696 * remote.c (remote_add_thread): Add threads silently if starting
4698 (remote_notice_new_inferior): If in all-stop, and starting up,
4699 don't call notice_new_inferior.
4700 (get_current_thread): New function, factored out from ...
4701 (add_current_inferior_and_thread): ... this. Adjust.
4702 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4703 found any thread, then select the remote's current thread as GDB's
4706 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4708 * NEWS: Create a new section for the next release branch.
4709 Rename the section of the current branch, now that it has
4712 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4714 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4715 * version.in: Bump version to 7.7.50.DATE-cvs.
4717 2014-01-08 Yao Qi <yao@codesourcery.com>
4719 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4720 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4721 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4723 2014-01-08 Yao Qi <yao@codesourcery.com>
4725 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4726 return value of bfd_get_filename to symbol_file_add_from_bfd.
4728 2014-01-08 Pierre Muller <muller@sourceware.org>
4731 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4732 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4733 to prim_record_mininal_symbol_and_info.
4734 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4735 in call to prim_record_minimal_symbol_and_info.
4736 (read_pe_exported_syms): Set index field of section_data.
4738 2014-01-07 Andrew Pinski <apinski@cavium.com>
4740 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4741 * features/aarch64.c: Regenerate.
4743 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4745 * target.c (return_null): Define.
4746 (update_current_target): Use it instead of return_zero for
4747 functions that return a pointer.
4749 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4751 * source.c (add_path): Fix check for duplicated paths in the previously
4754 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4756 * ada-lang.c: Remove duplicated include statements.
4757 * alphabsd-nat.c: Ditto.
4758 * amd64-darwin-tdep.c: Ditto.
4759 * amd64fbsd-nat.c: Ditto.
4760 * auto-load.c: Ditto.
4762 * breakpoint.c: Ditto.
4764 * fork-child.c: Ditto.
4765 * gdb_usleep.c: Ditto.
4766 * i386-darwin-tdep.c: Ditto.
4767 * i386fbsd-nat.c: Ditto.
4769 * inferior.c: Ditto.
4771 * linux-nat.c: Ditto.
4772 * linux-tdep.c: Ditto.
4773 * m68kbsd-nat.c: Ditto.
4774 * m68klinux-nat.c: Ditto.
4775 * microblaze-tdep.c: Ditto.
4776 * mips-linux-tdep.c: Ditto.
4777 * mn10300-tdep.c: Ditto.
4778 * nto-tdep.c: Ditto.
4779 * opencl-lang.c: Ditto.
4781 * printcmd.c: Ditto.
4782 * regcache.c: Ditto.
4783 * remote-m32r-sdi.c: Ditto.
4787 * tilegx-linux-nat.c: Ditto.
4788 * tilegx-tdep.c: Ditto.
4789 * tracepoint.c: Ditto.
4791 * vaxbsd-nat.c: Ditto.
4792 * windows-nat.c: Ditto.
4793 * xtensa-tdep.c: Ditto.
4795 2014-01-07 Yao Qi <yao@codesourcery.com>
4797 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4799 2014-01-07 Yao Qi <yao@codesourcery.com>
4800 Joel Brobecker <brobecker@adacore.com>
4802 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4803 (pdc_write_regs): Likewise.
4804 (fetch_regs_kernel_thread): Likewise.
4805 (store_regs_kernel_thread): Likewise.
4807 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4809 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4810 tagged type objects to their actual type.
4812 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4814 * ada-valprint.c (print_field_values): Add "language" parameter.
4815 Update calls to print_field_values and print_variant_part.
4816 Pass new parameter "language" in call to val_print instead
4817 of "current_language". Replace call to ada_val_print by call
4819 (print_variant_part): Add "language" parameter.
4820 (ada_val_print_struct_union): Update call to print_field_values.
4822 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4824 * ada-valprint.c (ui_memcpy): Delete.
4825 (ada_print_floating): Update documentation. Add empty line
4826 between between function documentation and implementation.
4827 Delete variable "buffer". Use ui_file_xstrdup in place of
4828 ui_file_put. Minor adjustments following this change.
4830 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4832 * ada-valprint.c (ada_val_print_string): New function,
4833 extracted from ada_val_print_array.
4834 (ada_val_print_array): Replace extracted code by call
4835 to ada_val_print_string followed by a return. Move
4836 "else" branch to the function's top block.
4838 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4840 * ada-valprint.c (ada_val_print_array): Move implementation
4841 down. Rename parameter "offset" and "val" into "offset_aligned"
4842 and "original_value" respectively. Add parameter "offset".
4844 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4846 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4847 re-organizing the code. Change the "???" message printed
4848 when target type is a TYPE_CODE_UNDEF into
4849 "<ref to undefined type>".
4851 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4853 * ada-valprint.c (print_record): Delete, implementation inlined...
4854 (ada_val_print_struct_union): ... here. Remove call to
4855 ada_check_typedef in inlined implementation.
4857 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4859 * ada-valprint.c (ada_val_print_gnat_array): New function,
4860 extracted from ada_val_print_1;
4861 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4862 (ada_val_print_flt, ada_val_print_struct_union)
4863 (ada_val_print_ref): Likewise.
4864 (ada_val_print_1): Delete variables i and elttype.
4865 Replace extracted-out code by call to corresponding
4868 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4870 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4872 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4874 * ada-valprint.c (ada_val_print_1): Replace calls to
4875 ada_val_print_1 by calls to val_print.
4877 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4879 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4880 Update calls to self accordingly. Replace calls to c_val_print
4881 by calls to val_print.
4883 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4885 * ada-valprint.c (print_record): Delete declaration.
4886 (adjust_type_signedness, ada_val_print_1): Likewise.
4887 (ada_val_print): Move function implementation down.
4888 (print_variant_part, print_field_values, print_record):
4889 Move function implementation up.
4891 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4893 * python/py-type.c (typy_get_name): New function.
4894 (type_object_getset): Add entry for attribute "name".
4895 * NEWS: Add entry mentioning this new attribute.
4897 2014-01-07 Yao Qi <yao@codesourcery.com>
4899 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
4902 2014-01-07 Yao Qi <yao@codesourcery.com>
4904 * gnu-nat.c (info_port_rights): Add qualifier const to
4907 2014-01-07 Yao Qi <yao@codesourcery.com>
4909 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
4911 2014-01-07 Yao Qi <yao@codesourcery.com>
4913 * gnu-nat.c (make_inf) Update declaration.
4914 (make_inf): Make it static.
4915 (inf_set_traced): Likewise.
4916 (inf_port_to_thread, inf_task_died_status): Likewise.
4918 2014-01-07 Yao Qi <yao@codesourcery.com>
4920 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
4922 2014-01-07 Yao Qi <yao@codesourcery.com>
4924 * gnu-nat.c (_initialize_gnu_nat): Declare.
4926 2014-01-07 Yao Qi <yao@codesourcery.com>
4928 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
4930 (struct gdbarch_info) <byte_order>: Change type to
4932 <byte_order_for_code>: Likewise.
4933 * gdbarch.c, gdbarch.h: Regenerated.
4935 2014-01-06 Sasha Smundak <asmundak@google.com>
4937 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
4939 2014-01-06 Tom Tromey <tromey@redhat.com>
4941 * doublest.c (convert_doublest_to_floatformat): Use const, not
4943 * somread.c (som_symtab_read): Likewise.
4945 2014-01-07 Hui Zhu <hui@codesourcery.com>
4947 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
4948 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
4949 (gdb_bfd_fopen): Ditto.
4950 (gdb_bfd_openr): Ditto.
4951 (gdb_bfd_openw): Ditto.
4952 (gdb_bfd_openr_iovec): Ditto.
4953 (gdb_bfd_fdopenr): Ditto.
4954 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
4955 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
4957 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
4959 * symfile-mem.c (symbol_file_add_from_memory): Removed
4960 gdb_bfd_stash_filename.
4962 2014-01-03 Doug Evans <dje@google.com>
4964 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
4967 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4969 Update year range in copyright notice of all files.
4971 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4973 * top.c (print_gdb_version): Set copyright year to 2014.
4975 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4977 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
4979 For older changes see ChangeLog-2013.
4985 version-control: never