1 2014-02-23 Yao Qi <yao@codesourcery.com>
3 * exec.c (section_table_read_available_memory): New function.
4 * exec.h (section_table_read_available_memory): Declare.
5 * ctf.c (ctf_xfer_partial): Call
6 section_table_read_available_memory.
7 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
9 2014-02-23 Yao Qi <yao@codesourcery.com>
11 * ctf.c (ctf_xfer_partial): Move code to ...
12 * exec.c (exec_read_partial_read_only): ... it. New function.
13 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
14 * tracefile.c: Include "exec.h".
15 * exec.h (exec_read_partial_read_only): Declare.
17 2014-02-23 Yao Qi <yao@codesourcery.com>
19 * tracefile-tfile.c (tfile_has_all_memory): Remove.
20 (tfile_has_memory): Remove.
21 (init_tfile_ops): Don't set fields to_has_all_memory and
22 to_has_memory of tfile_ops.
23 * tracefile.c (tracefile_has_all_memory): New function.
24 (tracefile_has_memory): New function.
25 (init_tracefile_ops): Initialize fields to_has_all_memory and
26 to_has_memory of 'ops'.
28 2014-02-23 Yao Qi <yao@codesourcery.com>
30 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
31 (ctf_thread_alive, ctf_get_trace_status): Remove.
32 (init_ctf_ops): Don't set some fields of ctf_ops. Call
34 * tracefile-tfile.c (tfile_get_trace_status): Remove.
35 (tfile_has_stack, tfile_has_registers): Remove.
36 (tfile_thread_alive): Remove.
37 (init_tfile_ops): Don't set some fields of tfile_ops. Call
39 * tracefile.c (tracefile_has_stack): New function.
40 (tracefile_has_registers): New function.
41 (tracefile_thread_alive): New function.
42 (tracefile_get_trace_status): New function.
43 (init_tracefile_ops): New function.
44 * tracefile.h (init_tracefile_ops): Declare.
46 2014-02-23 Yao Qi <yao@codesourcery.com>
48 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
49 (O_LARGEFILE): Likewise.
50 (tfile_ops): Likewise.
51 (TRACE_HEADER_SIZE): Likewise.
52 (trace_fd, trace_frames_offset, cur_offset): Likewise.
53 (cur_data_size): Likewise.
54 (tfile_read, tfile_open, tfile_interp_line): Likewise.
55 (tfile_close, tfile_files_info): Likewise.
56 (tfile_get_trace_status): Likewise.
57 (tfile_get_tracepoint_status): Likewise.
58 (tfile_get_traceframe_address): Likewise.
59 (tfile_trace_find, match_blocktype): Likewise.
60 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
61 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
62 (tfile_get_trace_state_variable_value): Likewise.
63 (tfile_has_all_memory, tfile_has_memory): Likewise.
64 (tfile_has_stack, tfile_has_registers): Likewise.
65 (tfile_thread_alive, build_traceframe_info): Likewise.
66 (tfile_traceframe_info, init_tfile_ops): Likewise.
67 (_initialize_tracepoint): Don't call init_tfile_ops
68 and add_target_with_completer.
69 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
70 exec.h, completer.h and filenames.h.
71 (_initialize_tracefile_tfile): New function.
73 2014-02-23 Yao Qi <yao@codesourcery.com>
75 * Makefile.in (REMOTE_OBS): Append tracefile.o and
77 (HFILES_NO_SRCDIR): Add tracefile.h.
78 * ctf.c: Include "tracefile.h".
79 * tracefile.h: New file.
80 * tracefile.c: New file
81 * tracefile-tfile.c: New file.
82 * tracepoint.c: Include "tracefile.h".
83 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
84 (stop_reason_names): Add const.
85 (trace_file_writer_xfree): Move it to tracefile.c.
86 (trace_save, trace_save_command, trace_save_tfile): Likewise.
87 (trace_save_ctf): Likewise.
88 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
89 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
90 (tfile_write_header, tfile_write_regblock_type): Likewise.
91 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
92 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
93 (tfile_write_raw_data, tfile_end): Likewise.
94 (tfile_trace_file_writer_new): Likewise.
95 (free_uploaded_tp): Make it extern.
96 (free_uploaded_tsv): Make it extern.
97 (_initialize_tracepoint): Move code to register command 'tsave'
99 * tracepoint.h (stop_reason_names): Declare.
100 (struct trace_frame_write_ops): Move it to tracefile.h.
101 (struct trace_file_write_ops): Likewise.
102 (struct trace_file_writer): Likewise.
103 (free_uploaded_tsvs, free_uploaded_tps): Declare.
105 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
108 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
110 (get_cores_used_by_process): New parameter num_cores, use it.
111 (linux_xfer_osdata_processes): Pass num_cores to it.
112 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
115 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
117 * target.c (memory_xfer_partial): Fix length arg in call to
118 breakpoint_xfer_memory.
120 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
123 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
124 number comes after the + or - signs. Adjust length of register
125 name to be extracted.
127 2014-02-20 Tom Tromey <tromey@redhat.com>
129 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
130 (ada_varobj_ops): Mark "extern".
132 2014-02-20 Tom Tromey <tromey@redhat.com>
134 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
136 2014-02-20 Doug Evans <xdje42@gmail.com>
138 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
140 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
142 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
143 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
145 2014-02-20 lin zuojian <manjian2006@gmail.com>
146 Joel Brobecker <brobecker@adacore.com>
147 Doug Evans <xdje42@gmail.com>
150 * dwarf2read.c (struct die_info): New member in_process.
151 (reset_die_in_process): New function.
152 (process_die): Set it at the start, reset when returning.
153 (inherit_abstract_dies): Only call process_die if origin_child_die
154 not already being processed.
156 2014-02-20 Joel Brobecker <brobecker@adacore.com>
158 * windows-nat.c (handle_unload_dll): Add function documentation.
159 (do_initial_windows_stuff): Add comment explaining why we wait
160 until after inferior initialization has finished before
163 2014-02-20 Joel Brobecker <brobecker@adacore.com>
165 * windows-nat.c (get_module_name): Delete.
166 (windows_get_exec_module_filename): New function, mostly
167 inspired from get_module_name.
168 (windows_pid_to_exec_file): Replace call to get_module_name
169 by call to windows_get_exec_module_filename.
171 2014-02-20 Joel Brobecker <brobecker@adacore.com>
173 * windows-nat.c (handle_load_dll): Rewrite this function's
174 introductory comment. Remove code using get_module_name
175 to get the DLL's name.
177 2014-02-20 Joel Brobecker <brobecker@adacore.com>
179 * windows-nat.c (get_windows_debug_event): Ignore
180 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
181 if windows_initialization_done == 0.
182 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
183 Adjust implementation to always load all DLLs.
184 (do_initial_windows_stuff): Replace call to
185 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
187 2014-02-20 Joel Brobecker <brobecker@adacore.com>
189 * windows-nat.c (_initialize_windows_nat): Deprecate the
190 "dll-symbols" command. Turn the "add-shared-symbol-files"
191 and "assf" aliases into commands, and deprecate them as well.
192 * NEWS: Add entry explaining that "dll-symbols" and its two
193 aliases are now deprecated.
195 2014-02-20 Joel Brobecker <brobecker@adacore.com>
197 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
198 new-line in debug string. Remove trailing spaces.
200 2014-02-19 Stan Shebs <stan@codesourcery.com>
202 * darwin-nat.c (darwin_xfer_partial): Fix return type.
204 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
206 * NEWS: Add entry for the new feature
207 * python/py-value.c (valpy_binop): Call value_x_binop for struct
210 2014-02-19 Stan Shebs <stan@codesourcery.com>
212 * MAINTAINERS: List Yao Qi as nios2 maintainer.
214 2014-02-19 Pedro Alves <palves@redhat.com>
216 * common/ptid.h (struct ptid): Mention that process_stratum
217 targets should prefer ptid.lwp.
219 2014-02-19 Pedro Alves <palves@redhat.com>
221 * remote.c (remote_thread_alive, write_ptid, read_ptid)
222 (read_ptid, remote_newthread_step, remote_threads_extra_info)
223 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
224 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
225 store remote thread ids rather than ptid.tid.
226 (_initialize_remote): Adjust.
228 2014-02-19 Tom Tromey <tromey@redhat.com>
230 * target.c (target_get_unwinder): Rewrite.
231 (target_get_tailcall_unwinder): Rewrite.
232 * record-btrace.c (record_btrace_to_get_unwinder): New function.
233 (record_btrace_to_get_tailcall_unwinder): New function.
234 (init_record_btrace_ops): Update.
235 * target.h (struct target_ops) <to_get_unwinder,
236 to_get_tailcall_unwinder>: Now function pointers. Use
237 TARGET_DEFAULT_RETURN.
239 2014-02-19 Tom Tromey <tromey@redhat.com>
241 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
243 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
245 2014-02-19 Tom Tromey <tromey@redhat.com>
247 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
249 * target-delegates.c: Rebuild.
250 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
252 * target.c (default_target_decr_pc_after_break): Rename from
253 forward_target_decr_pc_after_break. Simplify.
254 (target_decr_pc_after_break): Rely on delegation.
256 2014-02-19 Tom Tromey <tromey@redhat.com>
258 * target.c (update_current_target): Do not INHERIT to_doc or
259 to_magic. Do not de_fault to_open or to_close.
261 2014-02-19 Tom Tromey <tromey@redhat.com>
263 * gcore.h (objfile_find_memory_regions): Declare.
264 * gcore.c (objfile_find_memory_regions): No longer static. Add
266 (_initialize_gcore): Don't call exec_set_find_memory_regions.
267 * exec.c: Include gcore.h.
268 (exec_set_find_memory_regions): Remove.
269 (exec_find_memory_regions): Remove.
270 (exec_do_find_memory_regions): Remove.
271 (init_exec_ops): Update.
272 * defs.h (exec_set_find_memory_regions): Remove.
274 2014-02-19 Tom Tromey <tromey@redhat.com>
276 * target-delegates.c: Rebuild.
277 * target.h (struct target_ops) <to_extra_thread_info,
278 to_thread_name, to_pid_to_exec_file, to_get_section_table,
279 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
280 not 0, in TARGET_DEFAULT_RETURN.
282 2014-02-19 Tom Tromey <tromey@redhat.com>
284 * target.c (complete_target_initialization): Remove casts. Use
285 return_zero_has_execution.
286 (return_zero): Add "ignore" argument.
287 (return_zero_has_execution): New function.
288 (init_dummy_target): Remove casts. Use
289 return_zero_has_execution.
291 2014-02-19 Tom Tromey <tromey@redhat.com>
293 * target.c (update_current_target): Update comments. Do not
296 2014-02-19 Tom Tromey <tromey@redhat.com>
298 * arm-linux-nat.c (arm_linux_read_description): Delegate when
300 * corelow.c (core_read_description): Delegate when needed.
301 * remote.c (remote_read_description): Delegate when needed.
302 * target-delegates.c: Rebuild.
303 * target.c (target_read_description): Rewrite.
304 * target.h (struct target_ops) <to_read_description>: Update
305 comment. Use TARGET_DEFAULT_RETURN.
307 2014-02-19 Tom Tromey <tromey@redhat.com>
309 * target-delegates.c: Rebuild.
310 * target.c (update_current_target): Don't inherit or default
312 (find_default_run_target): Check against delegate_can_run.
313 * target.h (struct target_ops) <to_can_run>: Use
314 TARGET_DEFAULT_RETURN.
316 2014-02-19 Tom Tromey <tromey@redhat.com>
318 * target-delegates.c: Rebuild.
319 * target.c (target_disconnect): Unconditionally delegate.
320 * target.h (struct target_ops) <to_disconnect>: Use
321 TARGET_DEFAULT_NORETURN.
323 2014-02-19 Tom Tromey <tromey@redhat.com>
325 * record.c (record_stop): Unconditionally delegate.
326 * target-delegates.c: Rebuild.
327 * target.c (target_stop_recording): Unconditionally delegate.
328 * target.h (struct target_ops) <to_stop_recording>: Use
329 TARGET_DEFAULT_IGNORE.
331 2014-02-19 Tom Tromey <tromey@redhat.com>
333 * target-delegates.c: Rebuild.
334 * target.c (target_enable_btrace): Unconditionally delegate.
335 * target.h (struct target_ops) <to_enable_btrace>: Use
336 TARGET_DEFAULT_NORETURN.
338 2014-02-19 Tom Tromey <tromey@redhat.com>
340 * target-delegates.c: Rebuild.
341 * target.c (target_read_btrace): Unconditionally delegate.
342 * target.h (struct target_ops) <to_read_btrace>: Use
343 TARGET_DEFAULT_NORETURN.
345 2014-02-19 Tom Tromey <tromey@redhat.com>
347 * target-delegates.c: Rebuild.
348 * target.c (target_teardown_btrace): Unconditionally delegate.
349 * target.h (struct target_ops) <to_teardown_btrace>: Use
350 TARGET_DEFAULT_NORETURN.
352 2014-02-19 Tom Tromey <tromey@redhat.com>
354 * target-delegates.c: Rebuild.
355 * target.c (target_disable_btrace): Unconditionally delegate.
356 * target.h (struct target_ops) <to_disable_btrace>: Use
357 TARGET_DEFAULT_NORETURN.
359 2014-02-19 Tom Tromey <tromey@redhat.com>
361 * target-delegates.c: Rebuild.
362 * target.c (default_search_memory): New function.
363 (simple_search_memory): Update comment.
364 (target_search_memory): Unconditionally delegate.
365 * target.h (struct target_ops) <to_search_memory>: Use
368 2014-02-19 Tom Tromey <tromey@redhat.com>
370 * auxv.c (default_auxv_parse): No longer static.
371 (target_auxv_parse): Unconditionally delegate.
372 * auxv.h (default_auxv_parse): Declare.
373 * target-delegates.c: Rebuild.
374 * target.c: Include auxv.h.
375 * target.h (struct target_ops) <to_auxv_parse>: Use
378 2014-02-19 Tom Tromey <tromey@redhat.com>
380 * target-delegates.c: Rebuild.
381 * target.c (target_memory_map): Unconditionally delegate.
382 * target.h (struct target_ops) <to_memory_map>: Use
383 TARGET_DEFAULT_RETURN.
385 2014-02-19 Tom Tromey <tromey@redhat.com>
387 * target-delegates.c: Rebuild.
388 * target.c (target_thread_alive): Unconditionally delegate.
389 * target.h (struct target_ops) <to_thread_alive>: Use
390 TARGET_DEFAULT_RETURN.
392 2014-02-19 Tom Tromey <tromey@redhat.com>
394 * target-delegates.c: Rebuild.
395 * target.c (target_save_record): Unconditionally delegate.
396 * target.h (struct target_ops) <to_save_record>: Use
397 TARGET_DEFAULT_NORETURN.
399 2014-02-19 Tom Tromey <tromey@redhat.com>
401 * target-delegates.c: Rebuild.
402 * target.c (target_delete_record): Unconditionally delegate.
403 * target.h (struct target_ops) <to_delete_record>: Use
404 TARGET_DEFAULT_NORETURN.
406 2014-02-19 Tom Tromey <tromey@redhat.com>
408 * target-delegates.c: Rebuild.
409 * target.c (target_record_is_replaying): Unconditionally
411 * target.h (struct target_ops) <to_record_is_replaying>: Use
412 TARGET_DEFAULT_RETURN.
414 2014-02-19 Tom Tromey <tromey@redhat.com>
416 * target-delegates.c: Rebuild.
417 * target.c (target_goto_record_begin): Unconditionally delegate.
418 * target.h (struct target_ops) <to_goto_record_begin>: Use
419 TARGET_DEFAULT_NORETURN.
421 2014-02-19 Tom Tromey <tromey@redhat.com>
423 * target-delegates.c: Rebuild.
424 * target.c (target_goto_record_end): Unconditionally delegate.
425 * target.h (struct target_ops) <to_goto_record_end>: Use
426 TARGET_DEFAULT_NORETURN.
428 2014-02-19 Tom Tromey <tromey@redhat.com>
430 * target-delegates.c: Rebuild.
431 * target.c (target_goto_record): Unconditionally delegate.
432 * target.h (struct target_ops) <to_goto_record>: Use
433 TARGET_DEFAULT_NORETURN.
435 2014-02-19 Tom Tromey <tromey@redhat.com>
437 * target-delegates.c: Rebuild.
438 * target.c (target_insn_history): Unconditionally delegate.
439 * target.h (struct target_ops) <to_insn_history>: Use
440 TARGET_DEFAULT_NORETURN.
442 2014-02-19 Tom Tromey <tromey@redhat.com>
444 * target-delegates.c: Rebuild.
445 * target.c (target_insn_history_from): Unconditionally delegate.
446 * target.h (struct target_ops) <to_insn_history_from>: Use
447 TARGET_DEFAULT_NORETURN.
449 2014-02-19 Tom Tromey <tromey@redhat.com>
451 * target-delegates.c: Rebuild.
452 * target.c (target_insn_history_range): Unconditionally delegate.
453 * target.h (struct target_ops) <to_insn_history_range>: Use
454 TARGET_DEFAULT_NORETURN.
456 2014-02-19 Tom Tromey <tromey@redhat.com>
458 * target-delegates.c: Rebuild.
459 * target.c (target_call_history): Unconditionally delegate.
460 * target.h (struct target_ops) <to_call_history>: Use
461 TARGET_DEFAULT_NORETURN.
463 2014-02-19 Tom Tromey <tromey@redhat.com>
465 * target-delegates.c: Rebuild.
466 * target.c (target_call_history_from): Unconditionally delegate.
467 * target.h (struct target_ops) <to_call_history_from>: Use
468 TARGET_DEFAULT_NORETURN.
470 2014-02-19 Tom Tromey <tromey@redhat.com>
472 * target-delegates.c: Rebuild.
473 * target.c (target_call_history_range): Unconditionally delegate.
474 * target.h (struct target_ops) <to_call_history_range>: Use
475 TARGET_DEFAULT_NORETURN.
477 2014-02-19 Tom Tromey <tromey@redhat.com>
479 * target-delegates.c: Rebuild.
480 * target.c (target_verify_memory): Unconditionally delegate.
481 * target.h (struct target_ops) <to_verify_memory>: Use
482 TARGET_DEFAULT_NORETURN.
484 2014-02-19 Tom Tromey <tromey@redhat.com>
486 * target-delegates.c: Rebuild.
487 * target.c (target_core_of_thread): Unconditionally delegate.
488 * target.h (struct target_ops) <to_core_of_thread>: Use
489 TARGET_DEFAULT_RETURN.
491 2014-02-19 Tom Tromey <tromey@redhat.com>
493 * target-delegates.c: Rebuild.
494 * target.c (target_flash_done): Unconditionally delegate.
495 * target.h (struct target_ops) <to_flash_done>: Use
496 TARGET_DEFAULT_NORETURN.
498 2014-02-19 Tom Tromey <tromey@redhat.com>
500 * target-delegates.c: Rebuild.
501 * target.c (target_flash_erase): Unconditionally delegate.
502 * target.h (struct target_ops) <to_flash_erase>: Use
503 TARGET_DEFAULT_NORETURN.
505 2014-02-19 Tom Tromey <tromey@redhat.com>
507 * target-delegates.c: Rebuild.
508 * target.c (target_get_section_table): Unconditionally delegate.
509 * target.h (struct target_ops) <to_get_section_table>: Use
510 TARGET_DEFAULT_RETURN.
512 2014-02-19 Tom Tromey <tromey@redhat.com>
514 * target-delegates.c: Rebuild.
515 * target.c (target_pid_to_str): Unconditionally delegate.
516 (init_dummy_target): Don't initialize to_pid_to_str.
517 (default_pid_to_str): Rename from dummy_pid_to_str.
518 * target.h (struct target_ops) <to_pid_to_str>: Use
521 2014-02-19 Tom Tromey <tromey@redhat.com>
523 * target-delegates.c: Rebuild.
524 * target.c (target_find_new_threads): Unconditionally delegate.
525 * target.h (struct target_ops) <to_find_new_threads>: Use
526 TARGET_DEFAULT_RETURN.
528 2014-02-19 Tom Tromey <tromey@redhat.com>
530 * target-delegates.c: Rebuild.
531 * target.c (target_program_signals): Unconditionally delegate.
532 * target.h (struct target_ops) <to_program_signals>: Use
533 TARGET_DEFAULT_IGNORE.
535 2014-02-19 Tom Tromey <tromey@redhat.com>
537 * target-delegates.c: Rebuild.
538 * target.c (target_pass_signals): Unconditionally delegate.
539 * target.h (struct target_ops) <to_pass_signals>: Use
540 TARGET_DEFAULT_IGNORE.
542 2014-02-19 Tom Tromey <tromey@redhat.com>
544 * target-delegates.c: Rebuild.
545 * target.c (default_mourn_inferior): New function.
546 (target_mourn_inferior): Unconditionally delegate.
547 * target.h (struct target_ops) <to_mourn_inferior>: Use
550 2014-02-19 Tom Tromey <tromey@redhat.com>
552 * target-delegates.c: Rebuild.
553 * target.c (default_follow_fork): New function.
554 (target_follow_fork): Unconditionally delegate.
555 * target.h (struct target_ops) <to_follow_fork>: Use
558 2014-02-19 Tom Tromey <tromey@redhat.com>
560 * target-delegates.c: Rebuild.
561 * target.c (target_kill): Unconditionally delegate.
562 * target.h (struct target_ops) <to_kill>: Use
563 TARGET_DEFAULT_NORETURN.
565 2014-02-19 Tom Tromey <tromey@redhat.com>
567 * target-delegates.c: Rebuild.
568 * target.c (target_masked_watch_num_registers): Unconditionally
570 * target.h (struct target_ops) <to_masked_watch_num_registers>:
571 Use TARGET_DEFAULT_RETURN.
573 2014-02-19 Tom Tromey <tromey@redhat.com>
575 * target-delegates.c: Rebuild.
576 * target.c (target_remove_mask_watchpoint): Unconditionally
578 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
579 TARGET_DEFAULT_RETURN.
581 2014-02-19 Tom Tromey <tromey@redhat.com>
583 * target-delegates.c: Rebuild.
584 * target.c (target_insert_mask_watchpoint): Unconditionally
586 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
587 TARGET_DEFAULT_RETURN.
589 2014-02-19 Tom Tromey <tromey@redhat.com>
591 * target-delegates.c: Rebuild.
592 * target.c (target_ranged_break_num_registers): Unconditionally
594 * target.h (struct target_ops) <to_ranged_break_num_registers>:
595 Use TARGET_DEFAULT_RETURN.
597 2014-02-19 Tom Tromey <tromey@redhat.com>
599 * target-delegates.c: Rebuild.
600 * target.c (target_fetch_registers): Unconditionally delegate.
601 * target.h (struct target_ops) <to_fetch_registers>: Use
602 TARGET_DEFAULT_NORETURN.
604 2014-02-19 Tom Tromey <tromey@redhat.com>
606 * target-delegates.c: Rebuild.
607 * target.c (update_current_target): Don't inherit or default
609 * target.h (struct target_ops) <to_stop>: Use
610 TARGET_DEFAULT_IGNORE.
612 2014-02-19 Tom Tromey <tromey@redhat.com>
614 * target-delegates.c: Rebuild.
615 * target.c (update_current_target): Don't inherit or default
616 to_can_run_breakpoint_commands.
617 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
618 Use TARGET_DEFAULT_RETURN.
620 2014-02-19 Tom Tromey <tromey@redhat.com>
622 * target-delegates.c: Rebuild.
623 * target.c (update_current_target): Don't inherit or default
624 to_supports_evaluation_of_breakpoint_conditions.
625 * target.h (struct target_ops)
626 <to_supports_evaluation_of_breakpoint_conditions>: Use
627 TARGET_DEFAULT_RETURN.
629 2014-02-19 Tom Tromey <tromey@redhat.com>
631 * target-delegates.c: Rebuild.
632 * target.c (update_current_target): Don't inherit or default
633 to_augmented_libraries_svr4_read.
634 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
635 Use TARGET_DEFAULT_RETURN.
637 2014-02-19 Tom Tromey <tromey@redhat.com>
639 * target-delegates.c: Rebuild.
640 * target.c (update_current_target): Don't inherit or default
642 * target.h (struct target_ops) <to_can_use_agent>: Use
643 TARGET_DEFAULT_RETURN.
645 2014-02-19 Tom Tromey <tromey@redhat.com>
647 * target-delegates.c: Rebuild.
648 * target.c (update_current_target): Don't inherit or default
650 * target.h (struct target_ops) <to_use_agent>: Use
651 TARGET_DEFAULT_NORETURN.
653 2014-02-19 Tom Tromey <tromey@redhat.com>
655 * target-delegates.c: Rebuild.
656 * target.c (update_current_target): Don't inherit or default
658 (return_null): Remove.
659 * target.h (struct target_ops) <to_traceframe_info>: Use
660 TARGET_DEFAULT_RETURN.
662 2014-02-19 Tom Tromey <tromey@redhat.com>
664 * target-delegates.c: Rebuild.
665 * target.c (update_current_target): Don't inherit or default
666 to_static_tracepoint_markers_by_strid.
667 * target.h (struct target_ops)
668 <to_static_tracepoint_markers_by_strid>: Use
669 TARGET_DEFAULT_NORETURN.
671 2014-02-19 Tom Tromey <tromey@redhat.com>
673 * target-delegates.c: Rebuild.
674 * target.c (update_current_target): Don't inherit or default
675 to_static_tracepoint_marker_at.
676 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
677 Use TARGET_DEFAULT_RETURN.
679 2014-02-19 Tom Tromey <tromey@redhat.com>
681 * target-delegates.c: Rebuild.
682 * target.c (update_current_target): Don't inherit or default
684 * target.h (struct target_ops) <to_set_permissions>: Use
685 TARGET_DEFAULT_IGNORE.
687 2014-02-19 Tom Tromey <tromey@redhat.com>
689 * target-delegates.c: Rebuild.
690 * target.c (update_current_target): Don't inherit or default
692 * target.h (struct target_ops) <to_get_tib_address>: Use
693 TARGET_DEFAULT_NORETURN.
695 2014-02-19 Tom Tromey <tromey@redhat.com>
697 * target-delegates.c: Rebuild.
698 * target.c (update_current_target): Don't inherit or default
700 * target.h (struct target_ops) <to_set_trace_notes>: Use
701 TARGET_DEFAULT_RETURN.
703 2014-02-19 Tom Tromey <tromey@redhat.com>
705 * target-delegates.c: Rebuild.
706 * target.c (update_current_target): Don't initialize
707 to_set_trace_buffer_size.
708 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
709 TARGET_DEFAULT_IGNORE.
711 2014-02-19 Tom Tromey <tromey@redhat.com>
713 * target-delegates.c: Rebuild.
714 * target.c (update_current_target): Don't inherit or default
715 to_set_circular_trace_buffer.
716 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
717 TARGET_DEFAULT_IGNORE.
719 2014-02-19 Tom Tromey <tromey@redhat.com>
721 * target-delegates.c: Rebuild.
722 * target.c (update_current_target): Don't inherit or default
723 to_set_disconnected_tracing.
724 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
725 TARGET_DEFAULT_IGNORE.
727 2014-02-19 Tom Tromey <tromey@redhat.com>
729 * target-delegates.c: Rebuild.
730 * target.c (update_current_target): Don't inherit or default
731 to_get_min_fast_tracepoint_insn_len.
732 (return_minus_one): Remove.
733 * target.h (struct target_ops)
734 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
736 2014-02-19 Tom Tromey <tromey@redhat.com>
738 * target-delegates.c: Rebuild.
739 * target.c (update_current_target): Don't inherit or default
740 to_get_raw_trace_data.
741 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
742 TARGET_DEFAULT_NORETURN.
744 2014-02-19 Tom Tromey <tromey@redhat.com>
746 * target-delegates.c: Rebuild.
747 * target.c (update_current_target): Don't inherit or default
748 to_upload_trace_state_variables.
749 * target.h (struct target_ops) <to_upload_trace_state_variables>:
750 Use TARGET_DEFAULT_RETURN.
752 2014-02-19 Tom Tromey <tromey@redhat.com>
754 * target-delegates.c: Rebuild.
755 * target.c (update_current_target): Don't inherit or default
756 to_upload_tracepoints.
757 * target.h (struct target_ops) <to_upload_tracepoints>: Use
758 TARGET_DEFAULT_RETURN.
760 2014-02-19 Tom Tromey <tromey@redhat.com>
762 * target-delegates.c: Rebuild.
763 * target.c (update_current_target): Don't inherit or default
765 * target.h (struct target_ops) <to_save_trace_data>: Use
766 TARGET_DEFAULT_NORETURN.
768 2014-02-19 Tom Tromey <tromey@redhat.com>
770 * target-delegates.c: Rebuild.
771 * target.c (update_current_target): Don't inherit or default
772 to_get_trace_state_variable_value.
773 * target.h (struct target_ops)
774 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
776 2014-02-19 Tom Tromey <tromey@redhat.com>
778 * target-delegates.c: Rebuild.
779 * target.c (update_current_target): Don't inherit or default
781 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
783 2014-02-19 Tom Tromey <tromey@redhat.com>
785 * target-delegates.c: Rebuild.
786 * target.c (update_current_target): Don't inherit or default
788 * target.h (struct target_ops) <to_trace_stop>: Use
789 TARGET_DEFAULT_NORETURN.
791 2014-02-19 Tom Tromey <tromey@redhat.com>
793 * target-delegates.c: Rebuild.
794 * target.c (update_current_target): Don't inherit or default
795 to_get_tracepoint_status.
796 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
797 TARGET_DEFAULT_NORETURN.
799 2014-02-19 Tom Tromey <tromey@redhat.com>
801 * target-delegates.c: Rebuild.
802 * target.c (update_current_target): Don't inherit or default
804 * target.h (struct target_ops) <to_get_trace_status>: Use
805 TARGET_DEFAULT_RETURN.
807 2014-02-19 Tom Tromey <tromey@redhat.com>
809 * target-delegates.c: Rebuild.
810 * target.c (update_current_target): Don't inherit or default
812 * target.h (struct target_ops) <to_trace_start>: Use
813 TARGET_DEFAULT_NORETURN.
815 2014-02-19 Tom Tromey <tromey@redhat.com>
817 * target-delegates.c: Rebuild.
818 * target.c (update_current_target): Don't inherit or default
819 to_trace_set_readonly_regions.
820 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
821 Use TARGET_DEFAULT_NORETURN.
823 2014-02-19 Tom Tromey <tromey@redhat.com>
825 * target-delegates.c: Rebuild.
826 * target.c (update_current_target): Don't inherit or default
827 to_disable_tracepoint.
828 * target.h (struct target_ops) <to_disable_tracepoint>: Use
829 TARGET_DEFAULT_NORETURN.
831 2014-02-19 Tom Tromey <tromey@redhat.com>
833 * target-delegates.c: Rebuild.
834 * target.c (update_current_target): Don't inherit or default
835 to_enable_tracepoint.
836 * target.h (struct target_ops) <to_enable_tracepoint>: Use
837 TARGET_DEFAULT_NORETURN.
839 2014-02-19 Tom Tromey <tromey@redhat.com>
841 * target-delegates.c: Rebuild.
842 * target.c (update_current_target): Don't inherit or default
843 to_download_trace_state_variable.
844 * target.h (struct target_ops) <to_download_trace_state_variable>:
845 Use TARGET_DEFAULT_NORETURN.
847 2014-02-19 Tom Tromey <tromey@redhat.com>
849 * target-delegates.c: Rebuild.
850 * target.c (update_current_target): Don't inherit or default
851 to_can_download_tracepoint.
852 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
853 TARGET_DEFAULT_RETURN.
855 2014-02-19 Tom Tromey <tromey@redhat.com>
857 * target-delegates.c: Rebuild.
858 * target.c (update_current_target): Don't inherit or default
859 to_download_tracepoint.
860 * target.h (struct target_ops) <to_download_tracepoint>: Use
861 TARGET_DEFAULT_NORETURN.
863 2014-02-19 Tom Tromey <tromey@redhat.com>
865 * target-delegates.c: Rebuild.
866 * target.c (update_current_target): Don't inherit or default
868 * target.h (struct target_ops) <to_trace_init>: Use
869 TARGET_DEFAULT_RETURN.
871 2014-02-19 Tom Tromey <tromey@redhat.com>
873 * target-delegates.c: Rebuild.
874 * target.c (update_current_target): Don't inherit or default
875 to_supports_string_tracing.
876 * target.h (struct target_ops) <to_supports_string_tracing>: Use
877 TARGET_DEFAULT_RETURN.
879 2014-02-19 Tom Tromey <tromey@redhat.com>
881 * target-delegates.c: Rebuild.
882 * target.c (update_current_target): Don't inherit or default
883 to_supports_enable_disable_tracepoint.
884 * target.h (struct target_ops)
885 <to_supports_enable_disable_tracepoint>: Use
886 TARGET_DEFAULT_RETURN.
888 2014-02-19 Tom Tromey <tromey@redhat.com>
890 * target-delegates.c: Rebuild.
891 * target.c (update_current_target): Don't inherit or default
892 to_supports_multi_process.
893 * target.h (struct target_ops) <to_supports_multi_process>: Use
894 TARGET_DEFAULT_RETURN.
896 2014-02-19 Tom Tromey <tromey@redhat.com>
898 * target-delegates.c: Rebuild.
899 * target.c (update_current_target): Don't inherit or default
900 to_get_ada_task_ptid.
901 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
904 2014-02-19 Tom Tromey <tromey@redhat.com>
906 * target-delegates.c: Rebuild.
907 * target.c (update_current_target): Don't inherit or default
908 to_thread_architecture.
909 * target.h (struct target_ops) <to_thread_architecture>: Use
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
916 to_execution_direction.
917 * target.h (struct target_ops) <to_execution_direction>: Use
920 2014-02-19 Tom Tromey <tromey@redhat.com>
922 * target-delegates.c: Rebuild.
923 * target.c (update_current_target): Don't inherit or default
924 to_can_execute_reverse.
925 * target.h (struct target_ops) <to_can_execute_reverse>: Use
926 TARGET_DEFAULT_RETURN.
927 (target_can_execute_reverse): Unconditionally delegate.
929 2014-02-19 Tom Tromey <tromey@redhat.com>
931 * target-delegates.c: Rebuild.
932 * target.c (update_current_target): Don't inherit or default
934 (dummy_goto_bookmark): Remove.
935 (init_dummy_target): Don't inherit or default to_goto_bookmark.
936 * target.h (struct target_ops) <to_goto_bookmark>: Use
937 TARGET_DEFAULT_NORETURN.
939 2014-02-19 Tom Tromey <tromey@redhat.com>
941 * target-delegates.c: Rebuild.
942 * target.c (update_current_target): Don't inherit or default
944 (dummy_get_bookmark): Remove.
945 (init_dummy_target): Don't inherit or default to_get_bookmark.
946 * target.h (struct target_ops) <to_get_bookmark>: Use
947 TARGET_DEFAULT_NORETURN
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
953 to_make_corefile_notes.
954 (init_dummy_target): Don't initialize to_make_corefile_notes.
955 * target.h (struct target_ops) <to_make_corefile_notes>: Use
958 2014-02-19 Tom Tromey <tromey@redhat.com>
960 * target-delegates.c: Rebuild.
961 * target.c (update_current_target): Don't inherit or default
962 to_find_memory_regions.
963 (init_dummy_target): Don't initialize to_find_memory_regions.
964 * target.h (struct target_ops) <to_find_memory_regions>: Use
967 2014-02-19 Tom Tromey <tromey@redhat.com>
969 * target-delegates.c: Rebuild.
970 * target.c (update_current_target): Don't inherit or default
972 * target.h (struct target_ops) <to_log_command>: Use
973 TARGET_DEFAULT_IGNORE.
974 (target_log_command): Unconditionally delegate.
976 2014-02-19 Tom Tromey <tromey@redhat.com>
978 * target-delegates.c: Rebuild.
979 * target.c (update_current_target): Don't inherit or default
981 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
982 TARGET_DEFAULT_RETURN.
984 2014-02-19 Tom Tromey <tromey@redhat.com>
986 * target-delegates.c: Rebuild.
987 * target.c (update_current_target): Don't inherit or default
989 (target_thread_name): Unconditionally delegate.
990 * target.h (struct target_ops) <to_thread_name>: Use
991 TARGET_DEFAULT_RETURN.
993 2014-02-19 Tom Tromey <tromey@redhat.com>
995 * target-delegates.c: Rebuild.
996 * target.c (update_current_target): Don't inherit or default
997 to_extra_thread_info.
998 * target.h (struct target_ops) <to_extra_thread_info>: Use
999 TARGET_DEFAULT_RETURN.
1001 2014-02-19 Tom Tromey <tromey@redhat.com>
1003 * target-delegates.c: Rebuild.
1004 * target.c (update_current_target): Don't inherit or default
1006 * target.h (struct target_ops) <to_has_exited>: Use
1007 TARGET_DEFAULT_RETURN..
1009 2014-02-19 Tom Tromey <tromey@redhat.com>
1011 * target-delegates.c: Rebuild.
1012 * target.c (update_current_target): Don't inherit or default
1013 to_set_syscall_catchpoint.
1014 (return_one): Remove.
1015 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
1016 TARGET_DEFAULT_RETURN.
1018 2014-02-19 Tom Tromey <tromey@redhat.com>
1020 * target-delegates.c: Rebuild.
1021 * target.c (update_current_target): Don't inherit or default
1022 to_insert_exec_catchpoint.
1023 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1024 TARGET_DEFAULT_RETURN.
1026 2014-01-08 Tom Tromey <tromey@redhat.com>
1028 * target-delegates.c: Rebuild.
1029 * target.c (update_current_target): Don't inherit or default
1030 to_insert_exec_catchpoint.
1031 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1032 TARGET_DEFAULT_RETURN.
1034 2014-02-19 Tom Tromey <tromey@redhat.com>
1036 * target-delegates.c: Rebuild.
1037 * target.c (update_current_target): Don't inherit or default
1038 to_remove_vfork_catchpoint.
1039 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
1040 TARGET_DEFAULT_RETURN.
1042 2014-02-19 Tom Tromey <tromey@redhat.com>
1044 * target-delegates.c: Rebuild.
1045 * target.c (update_current_target): Don't inherit or default
1046 to_insert_vfork_catchpoint.
1047 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
1048 TARGET_DEFAULT_RETURN.
1050 2014-02-19 Tom Tromey <tromey@redhat.com>
1052 * target-delegates.c: Rebuild.
1053 * target.c (update_current_target): Don't inherit or default
1054 to_remove_fork_catchpoint.
1055 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
1056 TARGET_DEFAULT_RETURN.
1058 2014-02-19 Tom Tromey <tromey@redhat.com>
1060 * target-delegates.c: Rebuild.
1061 * target.c (update_current_target): Don't inherit or default
1062 to_insert_fork_catchpoint.
1063 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
1064 TARGET_DEFAULT_RETURN.
1066 2014-02-19 Tom Tromey <tromey@redhat.com>
1068 * target-delegates.c: Rebuild.
1069 * target.c (update_current_target): Don't inherit or default
1070 to_post_startup_inferior.
1071 * target.h (struct target_ops) <to_post_startup_inferior>: Use
1072 TARGET_DEFAULT_IGNORE.
1074 2014-02-19 Tom Tromey <tromey@redhat.com>
1076 * target-delegates.c: Rebuild.
1077 * target.c (update_current_target): Don't inherit or default
1079 * target.h (struct target_ops) <to_load>: Use
1080 TARGET_DEFAULT_NORETURN.
1082 2014-02-19 Tom Tromey <tromey@redhat.com>
1084 * target-delegates.c: Rebuild.
1085 * target.c (update_current_target): Don't inherit or default
1087 * target.h (struct target_ops) <to_terminal_info>: Use
1088 TARGET_DEFAULT_FUNC.
1090 2014-02-19 Tom Tromey <tromey@redhat.com>
1092 * target-delegates.c: Rebuild.
1093 * target.c (update_current_target): Don't inherit or default
1094 to_terminal_save_ours.
1095 * target.h (struct target_ops) <to_terminal_save_ours>: Use
1096 TARGET_DEFAULT_IGNORE.
1098 2014-02-19 Tom Tromey <tromey@redhat.com>
1100 * target-delegates.c: Rebuild.
1101 * target.c (update_current_target): Don't inherit or default
1103 * target.h (struct target_ops) <to_terminal_ours>: Use
1104 TARGET_DEFAULT_IGNORE.
1106 2014-02-19 Tom Tromey <tromey@redhat.com>
1108 * target-delegates.c: Rebuild.
1109 * target.c (update_current_target): Don't inherit or default
1110 to_terminal_ours_for_output.
1111 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
1112 TARGET_DEFAULT_IGNORE.
1114 2014-02-19 Tom Tromey <tromey@redhat.com>
1116 * target-delegates.c: Rebuild.
1117 * target.c (update_current_target): Don't inherit or default
1118 to_terminal_inferior.
1119 * target.h (struct target_ops) <to_terminal_inferior>: Use
1120 TARGET_DEFAULT_IGNORE.
1122 2014-02-19 Tom Tromey <tromey@redhat.com>
1124 * target-delegates.c: Rebuild.
1125 * target.c (update_current_target): Don't inherit or default
1127 * target.h (struct target_ops) <to_terminal_init>: Use
1128 TARGET_DEFAULT_IGNORE.
1130 2014-02-19 Tom Tromey <tromey@redhat.com>
1132 * target-delegates.c: Rebuild.
1133 * target.c (update_current_target): Don't inherit or default
1134 to_can_accel_watchpoint_condition.
1135 * target.h (struct target_ops)
1136 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
1138 2014-02-19 Tom Tromey <tromey@redhat.com>
1140 * target-delegates.c: Rebuild.
1141 * target.c (update_current_target): Don't inherit or default
1142 to_region_ok_for_hw_watchpoint.
1143 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1144 Use TARGET_DEFAULT_FUNC.
1146 2014-02-19 Tom Tromey <tromey@redhat.com>
1148 * target-delegates.c: Rebuild.
1149 * target.c (update_current_target): Don't inherit or default
1150 to_watchpoint_addr_within_range.
1151 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
1152 Use TARGET_DEFAULT_FUNC.
1154 2014-02-19 Tom Tromey <tromey@redhat.com>
1156 * target-delegates.c: Rebuild.
1157 * target.c (update_current_target): Don't inherit or default
1158 to_remove_watchpoint.
1159 * target.h (struct target_ops) <to_remove_watchpoint>: Use
1160 TARGET_DEFAULT_NORETURN.
1162 2014-02-19 Tom Tromey <tromey@redhat.com>
1164 * target-delegates.c: Rebuild.
1165 * target.c (update_current_target): Don't inherit or default
1166 to_insert_watchpoint.
1167 * target.h (struct target_ops) <to_insert_watchpoint>: Use
1168 TARGET_DEFAULT_RETURN.
1170 2014-02-19 Tom Tromey <tromey@redhat.com>
1172 * target-delegates.c: Rebuild.
1173 * target.c (update_current_target): Don't inherit or default
1174 to_remove_hw_breakpoint.
1175 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
1176 TARGET_DEFAULT_RETURN.
1178 2014-02-19 Tom Tromey <tromey@redhat.com>
1180 * target-delegates.c: Rebuild.
1181 * target.c (update_current_target): Don't inherit or default
1182 to_insert_hw_breakpoint.
1183 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
1184 TARGET_DEFAULT_RETURN.
1186 2014-02-19 Tom Tromey <tromey@redhat.com>
1188 * target-delegates.c: Rebuild.
1189 * target.c (update_current_target): Don't inherit or default
1190 to_can_use_hw_breakpoint.
1191 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
1192 TARGET_DEFAULT_RETURN.
1194 2014-02-19 Tom Tromey <tromey@redhat.com>
1196 * target-delegates.c: Rebuild.
1197 * target.c (update_current_target): Don't inherit or default
1199 * target.h (struct target_ops) <to_files_info>: Use
1200 TARGET_DEFAULT_IGNORE.
1202 2014-02-19 Tom Tromey <tromey@redhat.com>
1204 * target-delegates.c: Rebuild.
1205 * target.c (update_current_target): Don't inherit or default
1207 * target.h (struct target_ops) <to_store>: Use
1208 TARGET_DEFAULT_NORETURN.
1210 2014-02-19 Tom Tromey <tromey@redhat.com>
1212 * target-delegates.c: Rebuild.
1213 * target.c (update_current_target): Don't inherit or default
1215 * target.h (struct target_ops) <to_post_attach>: Use
1216 TARGET_DEFAULT_IGNORE.
1218 2014-02-19 Tom Tromey <tromey@redhat.com>
1220 * target-delegates.c: Rebuild.
1221 * target.c (update_current_target): Don't inherit or default
1223 (default_rcmd): New function.
1224 (do_monitor_command): Unconditionally delegate.
1225 * target.h (struct target_ops) <to_rmcd>: Use
1226 TARGET_DEFAULT_FUNC.
1228 2014-02-19 Tom Tromey <tromey@redhat.com>
1230 * target-delegates.c: Rebuild.
1231 * target.c (init_dummy_target): Don't initialize to_attach.
1232 (target_attach): Unconditionally delegate.
1233 * target.h (struct target_ops) <to_attach>: Use
1234 TARGET_DEFAULT_FUNC.
1236 2014-02-19 Tom Tromey <tromey@redhat.com>
1238 * target-delegates.c: Rebuild.
1239 * target.c (target_detach): Unconditionally delegate.
1240 (init_dummy_target): Don't initialize to_detach.
1241 * target.h (struct target_ops) <to_detach>: Use
1242 TARGET_DEFAULT_IGNORE.
1244 2014-02-19 Tom Tromey <tromey@redhat.com>
1246 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1248 (target_augmented_libraries_svr4_read): Add argument.
1249 * target.c (update_current_target): Update.
1250 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
1253 2014-02-19 Tom Tromey <tromey@redhat.com>
1255 * target.h (struct target_ops) <to_call_history_range>: Add
1257 * target.c (target_call_history_range): Add argument.
1258 * record-btrace.c (record_btrace_call_history_range): Add 'self'
1260 (record_btrace_call_history_from): Update.
1262 2014-02-19 Tom Tromey <tromey@redhat.com>
1264 * target.h (struct target_ops) <to_call_history_from>: Add
1266 * target.c (target_call_history_from): Add argument.
1267 * record-btrace.c (record_btrace_call_history_from): Add 'self'
1270 2014-02-19 Tom Tromey <tromey@redhat.com>
1272 * target.h (struct target_ops) <to_call_history>: Add argument.
1273 * target.c (target_call_history): Add argument.
1274 * record-btrace.c (record_btrace_call_history): Add 'self'
1277 2014-02-19 Tom Tromey <tromey@redhat.com>
1279 * target.h (struct target_ops) <to_insn_history_range>: Add
1281 * target.c (target_insn_history_range): Add argument.
1282 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
1284 (record_btrace_insn_history_from): Update.
1286 2014-02-19 Tom Tromey <tromey@redhat.com>
1288 * target.h (struct target_ops) <to_insn_history_from>: Add
1290 * target.c (target_insn_history_from): Add argument.
1291 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
1294 2014-02-19 Tom Tromey <tromey@redhat.com>
1296 * target.h (struct target_ops) <to_insn_history>: Add argument.
1297 * target.c (target_insn_history): Add argument.
1298 * record-btrace.c (record_btrace_insn_history): Add 'self'
1301 2014-02-19 Tom Tromey <tromey@redhat.com>
1303 * target.h (struct target_ops) <to_goto_record>: Add argument.
1304 * target.c (target_goto_record): Add argument.
1305 * record-full.c (record_full_goto): Add 'self' argument.
1306 * record-btrace.c (record_btrace_goto): Add 'self' argument.
1308 2014-02-19 Tom Tromey <tromey@redhat.com>
1310 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
1311 * target.c (target_goto_record_end): Add argument.
1312 * record-full.c (record_full_goto_end): Add 'self' argument.
1313 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
1315 2014-02-19 Tom Tromey <tromey@redhat.com>
1317 * target.h (struct target_ops) <to_goto_record_begin>: Add
1319 * target.c (target_goto_record_begin): Add argument.
1320 * record-full.c (record_full_goto_begin): Add 'self' argument.
1321 * record-btrace.c (record_btrace_goto_begin): Add 'self'
1324 2014-02-19 Tom Tromey <tromey@redhat.com>
1326 * target.h (struct target_ops) <to_record_is_replaying>: Add
1328 * target.c (target_record_is_replaying): Add argument.
1329 * record-full.c (record_full_is_replaying): Add 'self' argument.
1330 * record-btrace.c (record_btrace_is_replaying): Add 'self'
1332 (record_btrace_xfer_partial, record_btrace_store_registers)
1333 (record_btrace_prepare_to_store, record_btrace_resume)
1334 (record_btrace_wait, record_btrace_decr_pc_after_break)
1335 (record_btrace_find_new_threads, record_btrace_thread_alive):
1338 2014-02-19 Tom Tromey <tromey@redhat.com>
1340 * target.h (struct target_ops) <to_delete_record>: Add argument.
1341 * target.c (target_delete_record): Add argument.
1342 * record-full.c (record_full_delete): Add 'self' argument.
1344 2014-02-19 Tom Tromey <tromey@redhat.com>
1346 * target.h (struct target_ops) <to_save_record>: Add argument.
1347 * target.c (target_save_record): Add argument.
1348 * record-full.c (record_full_save): Add 'self' argument.
1349 (record_full_save): Add 'self' argument.
1351 2014-02-19 Tom Tromey <tromey@redhat.com>
1353 * target.h (struct target_ops) <to_info_record>: Add argument.
1354 * target.c (target_info_record): Add argument.
1355 * record.c (info_record_command): Add argument.
1356 * record-full.c (record_full_info): Add 'self' argument.
1357 * record-btrace.c (record_btrace_info): Add 'self' argument.
1359 2014-02-19 Tom Tromey <tromey@redhat.com>
1361 * target.h (struct target_ops) <to_stop_recording>: Add argument.
1362 * target.c (target_stop_recording): Add argument.
1363 * record.c (record_stop): Add argument.
1364 * record-btrace.c (record_btrace_stop_recording): Add 'self'
1367 2014-02-19 Tom Tromey <tromey@redhat.com>
1369 * target.h (struct target_ops) <to_read_btrace>: Add argument.
1370 * target.c (struct target_ops) <to_read_btrace>: Add argument.
1371 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
1373 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
1374 (_initialize_amd64_linux_nat): Use it.
1375 * i386-linux-nat.c (i386_linux_read_btrace): New function.
1376 (_initialize_i386_linux_nat): Use it.
1378 2014-02-19 Tom Tromey <tromey@redhat.com>
1380 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
1381 * target.c (target_teardown_btrace): Add argument.
1382 * remote.c (remote_teardown_btrace): Add 'self' argument.
1383 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
1385 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
1388 2014-02-19 Tom Tromey <tromey@redhat.com>
1390 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
1391 * target.c (target_disable_btrace): Add argument.
1392 * remote.c (remote_disable_btrace): Add 'self' argument.
1393 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
1395 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
1398 2014-02-19 Tom Tromey <tromey@redhat.com>
1400 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
1401 * target.c (target_enable_btrace): Add argument.
1402 * remote.c (remote_enable_btrace): Add 'self' argument.
1403 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
1405 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
1408 2014-02-19 Tom Tromey <tromey@redhat.com>
1410 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
1411 (target_can_use_agent): Add argument.
1412 * target.c (update_current_target): Update.
1413 * remote.c (remote_can_use_agent): Add 'self' argument.
1414 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
1416 2014-02-19 Tom Tromey <tromey@redhat.com>
1418 * target.h (struct target_ops) <to_use_agent>: Add argument.
1419 (target_use_agent): Add argument.
1420 * target.c (update_current_target): Update.
1421 * remote.c (remote_use_agent): Add 'self' argument.
1422 * inf-child.c (inf_child_use_agent): Add 'self' argument.
1424 2014-02-19 Tom Tromey <tromey@redhat.com>
1426 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
1427 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
1428 (target_traceframe_info): Add argument.
1429 * target.c (update_current_target): Update.
1430 * remote.c (remote_traceframe_info): Add 'self' argument.
1431 * ctf.c (ctf_traceframe_info): Add 'self' argument.
1433 2014-02-19 Tom Tromey <tromey@redhat.com>
1435 * target.h (target_static_tracepoint_markers_by_strid): Add
1437 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
1439 * target.c (update_current_target): Update.
1440 * remote.c (struct target_ops)
1441 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1442 * linux-nat.c (struct target_ops)
1443 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1445 2014-02-19 Tom Tromey <tromey@redhat.com>
1447 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1449 (target_static_tracepoint_marker_at): Add argument.
1450 * target.c (update_current_target): Update.
1451 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
1454 2014-02-19 Tom Tromey <tromey@redhat.com>
1456 * target.h (struct target_ops) <to_set_permissions>: Add argument.
1457 (target_set_permissions): Add argument.
1458 * target.c (update_current_target): Update.
1459 * remote.c (remote_set_permissions): Add 'self' argument.
1460 (remote_start_remote): Update.
1462 2014-02-19 Tom Tromey <tromey@redhat.com>
1464 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
1465 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
1466 (target_get_tib_address): Add argument.
1467 * target.c (update_current_target): Update.
1468 * remote.c (remote_get_tib_address): Add 'self' argument.
1470 2014-02-19 Tom Tromey <tromey@redhat.com>
1472 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
1473 (target_set_trace_notes): Add argument.
1474 * target.c (update_current_target): Update.
1475 * remote.c (remote_set_trace_notes): Add 'self' argument.
1477 2014-02-19 Tom Tromey <tromey@redhat.com>
1479 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
1481 (target_set_trace_buffer_size): Add argument.
1482 * target.c (update_current_target): Update.
1483 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
1485 2014-02-19 Tom Tromey <tromey@redhat.com>
1487 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
1489 (target_set_circular_trace_buffer): Add argument.
1490 * target.c (update_current_target): Update.
1491 * remote.c (remote_set_circular_trace_buffer): Add 'self'
1494 2014-02-19 Tom Tromey <tromey@redhat.com>
1496 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
1498 (target_set_disconnected_tracing): Add argument.
1499 * target.c (update_current_target): Update.
1500 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
1502 2014-02-19 Tom Tromey <tromey@redhat.com>
1504 * target.h (struct target_ops)
1505 <to_get_min_fast_tracepoint_insn_len>: Add argument.
1506 (target_get_min_fast_tracepoint_insn_len): Add argument.
1507 * target.c (update_current_target): Update.
1508 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
1511 2014-02-19 Tom Tromey <tromey@redhat.com>
1513 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
1515 (target_get_raw_trace_data): Add argument.
1516 * target.c (update_current_target): Update.
1517 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
1519 2014-02-19 Tom Tromey <tromey@redhat.com>
1521 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1523 (target_upload_trace_state_variables): Add argument.
1524 * target.c (update_current_target): Update.
1525 * remote.c (remote_upload_trace_state_variables): Add 'self'
1527 (remote_start_remote): Update.
1529 2014-02-19 Tom Tromey <tromey@redhat.com>
1531 * target.h (struct target_ops) <to_upload_tracepoints>: Add
1533 (target_upload_tracepoints): Add argument.
1534 * target.c (update_current_target): Update.
1535 * remote.c (remote_upload_tracepoints): Add 'self' argument.
1536 (remote_start_remote): Update.
1538 2014-02-19 Tom Tromey <tromey@redhat.com>
1540 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
1541 (target_save_trace_data): Add argument.
1542 * target.c (update_current_target): Update.
1543 * remote.c (remote_save_trace_data): Add 'self' argument.
1545 2014-02-19 Tom Tromey <tromey@redhat.com>
1547 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
1549 * target.h (struct target_ops)
1550 <to_get_trace_state_variable_value>: Add argument.
1551 (target_get_trace_state_variable_value): Add argument.
1552 * target.c (update_current_target): Update.
1553 * remote.c (remote_get_trace_state_variable_value): Add 'self'
1555 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
1557 2014-02-19 Tom Tromey <tromey@redhat.com>
1559 * tracepoint.c (tfile_trace_find): Add 'self' argument.
1560 * target.h (struct target_ops) <to_trace_find>: Add argument.
1561 (target_trace_find): Add argument.
1562 * target.c (update_current_target): Update.
1563 * remote.c (remote_trace_find): Add 'self' argument.
1564 * ctf.c (ctf_trace_find): Add 'self' argument.
1566 2014-02-19 Tom Tromey <tromey@redhat.com>
1568 * target.h (struct target_ops) <to_trace_stop>: Add argument.
1569 (target_trace_stop): Add argument.
1570 * target.c (update_current_target): Update.
1571 * remote.c (remote_trace_stop): Add 'self' argument.
1573 2014-02-19 Tom Tromey <tromey@redhat.com>
1575 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
1576 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
1578 (target_get_tracepoint_status): Add argument.
1579 * target.c (update_current_target): Update.
1580 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
1582 2014-02-19 Tom Tromey <tromey@redhat.com>
1584 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
1585 * target.h (struct target_ops) <to_get_trace_status>: Add
1587 (target_get_trace_status): Add argument.
1588 * target.c (update_current_target): Update.
1589 * remote.c (remote_get_trace_status): Add 'self' argument.
1590 (remote_start_remote, remote_can_download_tracepoint): Update.
1591 * ctf.c (ctf_get_trace_status): Add 'self' argument.
1593 2014-02-19 Tom Tromey <tromey@redhat.com>
1595 * target.h (struct target_ops) <to_trace_start>: Add argument.
1596 (target_trace_start): Add argument.
1597 * target.c (update_current_target): Update.
1598 * remote.c (remote_trace_start): Add 'self' argument.
1600 2014-02-19 Tom Tromey <tromey@redhat.com>
1602 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1604 (target_trace_set_readonly_regions): Add argument.
1605 * target.c (update_current_target): Update.
1606 * remote.c (remote_trace_set_readonly_regions): Add 'self'
1609 2014-02-19 Tom Tromey <tromey@redhat.com>
1611 * target.h (struct target_ops) <to_disable_tracepoint>: Add
1613 (target_disable_tracepoint): Add argument.
1614 * target.c (update_current_target): Update.
1615 * remote.c (remote_disable_tracepoint): Add 'self' argument.
1617 2014-02-19 Tom Tromey <tromey@redhat.com>
1619 * target.h (struct target_ops) <to_enable_tracepoint>: Add
1621 (target_enable_tracepoint): Add argument.
1622 * target.c (update_current_target): Update.
1623 * remote.c (remote_enable_tracepoint): Add 'self' argument.
1625 2014-02-19 Tom Tromey <tromey@redhat.com>
1627 * target.h (struct target_ops) <to_download_trace_state_variable>:
1629 (target_download_trace_state_variable): Add argument.
1630 * target.c (update_current_target): Update.
1631 * remote.c (remote_download_trace_state_variable): Add 'self'
1634 2014-02-19 Tom Tromey <tromey@redhat.com>
1636 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
1638 (target_can_download_tracepoint): Add argument.
1639 * target.c (update_current_target): Update.
1640 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
1642 2014-02-19 Tom Tromey <tromey@redhat.com>
1644 * target.h (struct target_ops) <to_download_tracepoint>: Add
1646 (target_download_tracepoint): Add argument.
1647 * target.c (update_current_target): Update.
1648 * remote.c (remote_download_tracepoint): Add 'self' argument.
1650 2014-02-19 Tom Tromey <tromey@redhat.com>
1652 * target.h (struct target_ops) <to_trace_init>: Add argument.
1653 (target_trace_init): Add argument.
1654 * target.c (update_current_target): Update.
1655 * remote.c (remote_trace_init): Add 'self' argument.
1657 2014-02-19 Tom Tromey <tromey@redhat.com>
1659 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1660 * target.c (target_fileio_readlink): Add argument.
1661 * remote.c (remote_hostio_readlink): Add 'self' argument.
1662 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1664 2014-02-19 Tom Tromey <tromey@redhat.com>
1666 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1667 * target.c (target_fileio_unlink): Add argument.
1668 * remote.c (remote_hostio_unlink): Add 'self' argument.
1669 (remote_file_delete): Update.
1670 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1672 2014-02-19 Tom Tromey <tromey@redhat.com>
1674 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1675 * target.c (target_fileio_close): Add argument.
1676 * remote.c (remote_hostio_close): Add 'self' argument.
1677 (remote_hostio_close_cleanup): Update.
1678 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1680 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1682 2014-02-19 Tom Tromey <tromey@redhat.com>
1684 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1685 * target.c (target_fileio_pread): Add argument.
1686 * remote.c (remote_hostio_pread): Add 'self' argument.
1687 (remote_bfd_iovec_pread, remote_file_get): Update.
1688 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1690 2014-02-19 Tom Tromey <tromey@redhat.com>
1692 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1693 * target.c (target_fileio_pwrite): Add argument.
1694 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1695 (remote_file_put): Update.
1696 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1698 2014-02-19 Tom Tromey <tromey@redhat.com>
1700 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1701 * target.c (target_fileio_open): Add argument.
1702 * remote.c (remote_hostio_open): Add 'self' argument.
1703 (remote_bfd_iovec_open): Add 'self' argument.
1704 (remote_file_put): Add 'self' argument.
1705 (remote_file_get): Add 'self' argument.
1706 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1708 2014-02-19 Tom Tromey <tromey@redhat.com>
1710 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1712 (target_can_run_breakpoint_commands): Add argument.
1713 * target.c (update_current_target): Update.
1714 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1716 (remote_insert_breakpoint): Add 'self' argument.
1717 (remote_insert_hw_breakpoint): Add 'self' argument.
1718 (remote_can_run_breakpoint_commands): Add 'self' argument.
1720 2014-02-19 Tom Tromey <tromey@redhat.com>
1722 * target.h (struct target_ops)
1723 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1724 (target_supports_evaluation_of_breakpoint_conditions): Add
1726 * target.c (update_current_target): Update.
1727 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1729 (remote_insert_breakpoint): Add 'self' argument.
1730 (remote_insert_hw_breakpoint): Add 'self' argument.
1731 (remote_supports_cond_breakpoints): Add 'self' argument.
1733 2014-02-19 Tom Tromey <tromey@redhat.com>
1735 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1737 (target_supports_string_tracing): Add argument.
1738 * target.c (update_current_target): Update.
1739 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1741 2014-02-19 Tom Tromey <tromey@redhat.com>
1743 * target.h (struct target_ops)
1744 <to_supports_disable_randomization>: Add argument.
1745 * target.c (find_default_supports_disable_randomization): Add
1747 (target_supports_disable_randomization): Add argument.
1748 (find_default_supports_disable_randomization): Add 'self'
1750 * remote.c (extended_remote_supports_disable_randomization): Add
1752 (remote_supports_disable_randomization): Add 'self' argument.
1753 (extended_remote_create_inferior): Update.
1754 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1757 2014-02-19 Tom Tromey <tromey@redhat.com>
1759 * target.h (struct target_ops)
1760 <to_supports_enable_disable_tracepoint>: Add argument.
1761 (target_supports_enable_disable_tracepoint): Add argument.
1762 * target.c (update_current_target): Update.
1763 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1766 2014-02-19 Tom Tromey <tromey@redhat.com>
1768 * target.h (struct target_ops) <to_supports_multi_process>: Add
1770 (target_supports_multi_process): Add argument.
1771 * target.c (update_current_target): Update.
1772 * remote.c (remote_supports_multi_process): Add 'self' argument.
1773 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1775 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1778 2014-02-19 Tom Tromey <tromey@redhat.com>
1780 * target.h (struct target_ops) <to_execution_direction>: Add
1782 (target_execution_direction): Add argument.
1783 * target.c (default_execution_direction): Add 'self' argument.
1784 * record-full.c (record_full_execution_direction): Add 'self'
1787 2014-02-19 Tom Tromey <tromey@redhat.com>
1789 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1791 (target_can_execute_reverse): Add argument.
1792 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1793 * record-full.c (record_full_can_execute_reverse): Add 'self'
1795 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1798 2014-02-19 Tom Tromey <tromey@redhat.com>
1800 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1801 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1803 (target_get_ada_task_ptid): Add argument.
1804 * target.c (update_current_target): Update.
1805 (default_get_ada_task_ptid): Add 'self' argument.
1806 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1807 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1808 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1810 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1812 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1814 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1816 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1817 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1820 2014-02-19 Tom Tromey <tromey@redhat.com>
1822 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1823 (target_goto_bookmark): Add argument.
1824 * target.c (dummy_goto_bookmark): Add 'self' argument.
1825 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1827 2014-02-19 Tom Tromey <tromey@redhat.com>
1829 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1830 (target_get_bookmark): Add argument.
1831 * target.c (dummy_get_bookmark): Add 'self' argument.
1832 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1834 2014-02-19 Tom Tromey <tromey@redhat.com>
1836 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1838 (target_make_corefile_notes): Add argument.
1839 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1840 * procfs.c (procfs_make_note_section): Add 'self' argument.
1841 (procfs_make_note_section): Add 'self' argument.
1842 (procfs_make_note_section): Add 'self' argument.
1843 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1845 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1846 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1847 * exec.c (exec_make_note_section): Add 'self' argument.
1848 (exec_make_note_section): Add 'self' argument.
1850 2014-02-19 Tom Tromey <tromey@redhat.com>
1852 * target.h (struct target_ops) <to_find_memory_regions>: Add
1854 (target_find_memory_regions): Add argument.
1855 * target.c (dummy_find_memory_regions): Add 'self' argument.
1856 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1857 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1858 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1859 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1860 * exec. (exec_do_find_memory_regions): New global.
1861 (exec_set_find_memory_regions): Rewrite.
1862 (exec_find_memory_regions): New function.
1863 (init_exec_ops): Use exec_find_memory_regions.
1865 2014-02-19 Tom Tromey <tromey@redhat.com>
1867 * target.h (struct target_ops) <to_supports_non_stop>: Add
1869 * target.c (find_default_supports_non_stop): Add argument.
1870 (target_supports_non_stop): Add argument.
1871 (find_default_supports_non_stop): Add 'self' argument.
1872 * remote.c (remote_supports_non_stop): Add 'self' argument.
1873 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1875 2014-02-19 Tom Tromey <tromey@redhat.com>
1877 * target.h (struct target_ops) <to_log_command>: Add argument.
1878 (target_log_command): Add argument.
1879 * serial.h (serial_log_command): Add 'self' argument.
1880 * serial.c (serial_log_command): Add 'self' argument.
1882 2014-02-19 Tom Tromey <tromey@redhat.com>
1884 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1885 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1887 (target_pid_to_exec_file): Add argument.
1888 * target.c (debug_to_pid_to_exec_file): Add argument.
1889 (update_current_target): Update.
1890 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1891 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1892 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1893 (linux_handle_extended_wait): Update.
1894 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1895 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1896 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1897 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1899 2014-02-19 Tom Tromey <tromey@redhat.com>
1901 * target.h (struct target_ops) <to_rcmd>: Add argument.
1902 (target_rcmd): Add argument.
1903 * target.c (debug_to_rcmd): Add argument.
1904 (update_current_target, do_monitor_command): Update.
1905 * remote.c (remote_rcmd): Add 'self' argument.
1906 * monitor.c (monitor_rcmd): Add 'self' argument.
1908 2014-02-19 Tom Tromey <tromey@redhat.com>
1910 * windows-nat.c (windows_stop): Add 'self' argument.
1911 * target.h (struct target_ops) <to_stop>: Add argument.
1912 * target.c (target_stop): Add argument.
1913 (debug_to_stop): Add argument.
1914 (update_current_target): Update.
1915 * remote.c (remote_stop): Add 'self' argument.
1916 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1917 (gdbsim_cntrl_c): Update.
1918 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1919 * procfs.c (procfs_stop): Add 'self' argument.
1920 * nto-procfs.c (procfs_stop): Add 'self' argument.
1921 * monitor.c (monitor_stop): Add 'self' argument.
1922 (monitor_open): Update.
1923 * linux-nat.c (linux_nat_stop): Add argument.
1924 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1925 * gnu-nat.c (gnu_stop): Add 'self' argument.
1926 * darwin-nat.c (darwin_stop): Add 'self' argument.
1928 2014-02-19 Tom Tromey <tromey@redhat.com>
1930 * target.h (struct target_ops) <to_thread_name>: Add argument.
1931 * target.c (target_thread_name): Add argument.
1932 (update_current_target): Update.
1933 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
1935 2014-02-19 Tom Tromey <tromey@redhat.com>
1937 * target.h (struct target_ops) <to_extra_thread_info>: Add
1939 (target_extra_thread_info): Add argument.
1940 * target.c (update_current_target): Update.
1941 * remote.c (remote_threads_extra_info): Add 'self' argument.
1942 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
1944 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
1945 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
1946 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
1948 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
1950 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
1952 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
1955 2014-02-19 Tom Tromey <tromey@redhat.com>
1957 * target.h (struct target_ops) <to_program_signals>: Add argument.
1958 * target.c (target_program_signals): Add argument.
1959 * remote.c (remote_program_signals): Add 'self' argument.
1961 2014-02-19 Tom Tromey <tromey@redhat.com>
1963 * target.h (struct target_ops) <to_pass_signals>: Add argument.
1964 * target.c (target_pass_signals): Add argument.
1965 * remote.c (remote_pass_signals): Add 'self' argument.
1966 (remote_start_remote): Update.
1967 * procfs.c (procfs_pass_signals): Add 'self' argument.
1968 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
1969 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
1970 (linux_nat_create_inferior, linux_nat_attach): Update.
1972 2014-02-19 Tom Tromey <tromey@redhat.com>
1974 * windows-nat.c (windows_can_run): Add 'self' argument.
1975 * target.h (struct target_ops) <to_can_run>: Add argument.
1976 (target_can_run): Add argument.
1977 * target.c (debug_to_can_run): Add argument.
1978 (update_current_target): Update.
1979 * nto-procfs.c (procfs_can_run): Add 'self' argument.
1980 * inf-child.c (inf_child_can_run): Add 'self' argument.
1981 * go32-nat.c (go32_can_run): Add 'self' argument.
1983 2014-02-19 Tom Tromey <tromey@redhat.com>
1985 * target.h (struct target_ops) <to_has_exited>: Add argument.
1986 (target_has_exited): Add argument.
1987 * target.c (debug_to_has_exited): Add argument.
1988 (update_current_target): Update.
1990 2014-02-19 Tom Tromey <tromey@redhat.com>
1992 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
1994 (target_set_syscall_catchpoint): Add argument.
1995 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
1997 * target.c (update_current_target): Update.
1999 2014-02-19 Tom Tromey <tromey@redhat.com>
2001 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
2003 (target_remove_exec_catchpoint): Add argument.
2004 * target.c (debug_to_remove_exec_catchpoint): Add argument.
2005 (update_current_target): Update.
2006 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
2009 2014-02-19 Tom Tromey <tromey@redhat.com>
2011 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
2013 (target_insert_exec_catchpoint): Add argument.
2014 * target.c (debug_to_insert_exec_catchpoint): Add argument.
2015 (update_current_target): Update.
2016 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
2019 2014-02-19 Tom Tromey <tromey@redhat.com>
2021 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
2023 (target_remove_vfork_catchpoint): Add argument.
2024 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
2025 (update_current_target): Update.
2026 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
2029 2014-02-19 Tom Tromey <tromey@redhat.com>
2031 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
2033 (target_insert_vfork_catchpoint): Add argument.
2034 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
2035 (update_current_target): Update.
2036 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
2039 2014-02-19 Tom Tromey <tromey@redhat.com>
2041 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
2043 (target_remove_fork_catchpoint): Add argument.
2044 * target.c (debug_to_remove_fork_catchpoint): Add argument.
2045 (update_current_target): Update.
2046 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
2049 2014-02-19 Tom Tromey <tromey@redhat.com>
2051 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
2053 (target_insert_fork_catchpoint): Add argument.
2054 * target.c (debug_to_insert_fork_catchpoint): Add argument.
2055 (update_current_target): Update.
2056 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
2059 2014-02-19 Tom Tromey <tromey@redhat.com>
2061 * target.h (struct target_ops) <to_post_startup_inferior>: Add
2063 (target_post_startup_inferior): Add argument.
2064 * target.c (debug_to_post_startup_inferior): Add argument.
2065 (update_current_target): Update.
2066 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
2068 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
2070 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
2072 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
2074 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
2076 (super_post_startup_inferior): Likewise.
2077 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
2079 (super_post_startup_inferior): Likewise.
2080 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
2081 Add 'self' argument.
2082 (super_post_startup_inferior): Likewise.
2084 2014-02-19 Tom Tromey <tromey@redhat.com>
2086 * target.h (struct target_ops) <to_load>: Add argument.
2087 * target.c (target_load): Add argument.
2088 (debug_to_load): Add argument.
2089 (update_current_target): Update.
2090 * remote.c (remote_load): Add 'self' argument.
2091 * remote-sim.c (gdbsim_load): Add 'self' argument.
2092 * remote-mips.c (mips_load): Add 'self' argument.
2093 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
2094 * monitor.c (monitor_load): Add 'self' argument.
2095 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
2097 2014-02-19 Tom Tromey <tromey@redhat.com>
2099 * target.h (struct target_ops) <to_terminal_info>: Add argument.
2100 (target_terminal_info): Add argument.
2101 * target.c (debug_to_terminal_info): Add argument.
2102 (default_terminal_info): Likewise.
2103 * inflow.c (child_terminal_info): Add 'self' argument.
2104 * inferior.h (child_terminal_info): Add 'self' argument.
2105 * go32-nat.c (go32_terminal_info): Add 'self' argument.
2107 2014-02-19 Tom Tromey <tromey@redhat.com>
2109 * target.h (struct target_ops) <to_terminal_save_ours>: Add
2111 (target_terminal_save_ours): Add argument.
2112 * target.c (debug_to_terminal_save_ours): Add argument.
2113 (update_current_target): Update.
2114 * inflow.c (terminal_save_ours): Add 'self' argument.
2115 * inferior.h (terminal_save_ours): Add 'self' argument.
2117 2014-02-19 Tom Tromey <tromey@redhat.com>
2119 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
2120 (target_terminal_ours): Add argument.
2121 * target.c (debug_to_terminal_ours): Add argument.
2122 (update_current_target): Update.
2123 * remote.c (remote_terminal_ours): Add 'self' argument.
2124 (remote_close): Update.
2125 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
2126 * inflow.c (terminal_ours): Add 'self' argument.
2127 * inferior.h (terminal_ours): Add 'self' argument.
2128 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2130 2014-02-19 Pedro Alves <palves@redhat.com>
2131 Tom Tromey <tromey@redhat.com>
2133 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
2135 (target_terminal_ours_for_output): Add argument.
2136 * target.c (debug_to_terminal_ours_for_output): Add argument.
2137 (update_current_target): Update.
2138 * inflow.c (terminal_ours_for_output): Add 'self' argument.
2139 * inferior.h (terminal_ours_for_output): Add 'self' argument.
2140 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2142 2014-02-19 Tom Tromey <tromey@redhat.com>
2144 * target.h (struct target_ops) <to_terminal_inferior>: Add
2146 * target.c (target_terminal_inferior): Add argument.
2147 (update_current_target): Update.
2148 * remote.c (remote_terminal_inferior): Add 'self' argument.
2149 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
2150 * inflow.c (terminal_inferior): Add 'self' argument.
2151 * inferior.h (terminal_inferior): Add 'self' argument.
2152 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
2153 (go32_terminal_inferior): Add 'self' argument.
2155 2014-02-19 Tom Tromey <tromey@redhat.com>
2157 * target.h (struct target_ops) <to_terminal_init>: Add argument.
2158 (target_terminal_init): Add argument.
2159 * target.c (debug_to_terminal_init): Add argument.
2160 (update_current_target): Update.
2161 * inflow.c (terminal_init_inferior): Add 'self' argument.
2162 * inferior.h (terminal_init_inferior): Add 'self' argument.
2163 * go32-nat.c (go32_terminal_init): Add 'self' argument.
2164 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
2166 2014-02-19 Tom Tromey <tromey@redhat.com>
2168 * target.h (struct target_ops)
2169 <to_can_accel_watchpoint_condition>: Add argument.
2170 (target_can_accel_watchpoint_condition): Add argument.
2171 * target.c (debug_to_can_accel_watchpoint_condition): Add
2173 (update_current_target): Update.
2174 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
2177 2014-02-19 Tom Tromey <tromey@redhat.com>
2179 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2181 (target_region_ok_for_hw_watchpoint): Add argument.
2182 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
2183 (default_region_ok_for_hw_watchpoint): Add argument.
2184 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
2185 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
2187 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
2189 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
2191 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
2193 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
2195 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
2197 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
2198 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
2200 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
2201 Add 'self' argument.
2203 2014-02-19 Tom Tromey <tromey@redhat.com>
2205 * target.h (struct target_ops) <to_insert_watchpoint>: Add
2207 (target_insert_watchpoint): Add argument.
2208 * target.c (debug_to_insert_watchpoint): Add argument.
2209 (update_current_target): Update.
2210 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
2211 * remote.c (remote_insert_watchpoint): Add 'self' argument.
2212 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
2213 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
2214 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
2215 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
2217 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
2218 (procfs_insert_hw_watchpoint): Add 'self' argument.
2219 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
2221 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
2223 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
2225 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
2226 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
2228 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
2231 2014-02-19 Tom Tromey <tromey@redhat.com>
2233 * target.h (struct target_ops) <to_remove_watchpoint>: Add
2235 (target_remove_watchpoint): Add argument.
2236 * target.c (debug_to_remove_watchpoint): Add argument.
2237 (update_current_target): Update.
2238 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
2239 * remote.c (remote_remove_watchpoint): Add 'self' argument.
2240 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
2241 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
2242 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
2243 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
2245 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
2246 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
2248 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
2250 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
2252 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
2253 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
2255 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
2258 2014-02-19 Tom Tromey <tromey@redhat.com>
2260 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
2262 (target_remove_hw_breakpoint): Add argument.
2263 * target.c (debug_to_remove_hw_breakpoint): Add argument.
2264 (update_current_target): Update.
2265 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
2266 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
2268 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
2269 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
2271 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
2274 2014-02-19 Tom Tromey <tromey@redhat.com>
2276 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
2278 (target_insert_hw_breakpoint): Add argument.
2279 * target.c (debug_to_insert_hw_breakpoint): Add argument.
2280 (update_current_target): Update.
2281 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
2282 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
2284 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
2285 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
2286 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
2288 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
2291 2014-02-19 Tom Tromey <tromey@redhat.com>
2293 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
2295 (target_can_use_hardware_watchpoint): Add argument.
2296 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
2297 (update_current_target): Update.
2298 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
2300 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
2302 * remote.c (remote_check_watch_resources): Add 'self' argument.
2303 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
2304 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
2306 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
2307 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
2309 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
2311 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
2313 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
2315 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
2317 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
2319 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
2320 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
2322 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
2325 2014-02-19 Tom Tromey <tromey@redhat.com>
2327 * target.h (struct target_ops) <to_post_attach>: Add argument.
2328 (target_post_attach): Add argument.
2329 * target.c (debug_to_post_attach): Add argument.
2330 (update_current_target): Update.
2331 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
2332 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
2333 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
2334 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
2335 * inf-child.c (inf_child_post_attach): Add 'self' argument.
2337 2014-02-19 Tom Tromey <tromey@redhat.com>
2339 * windows-nat.c (windows_close): Add 'self' argument.
2340 * tracepoint.c (tfile_close): Add 'self' argument.
2341 * target.h (struct target_ops) <to_close>: Add argument.
2342 * target.c (target_close): Add argument.
2343 (update_current_target): Update.
2344 * remote.c (remote_close): Add 'self' argument.
2345 * remote-sim.c (gdbsim_close): Add 'self' argument.
2346 * remote-mips.c (mips_close): Add 'self' argument.
2347 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
2348 * record-full.c (record_full_close): Add 'self' argument.
2349 * record-btrace.c (record_btrace_close): Add 'self' argument.
2350 * monitor.h (monitor_close): Add 'self' argument.
2351 * monitor.c (monitor_close): Add 'self' argument.
2352 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
2353 * linux-nat.c (linux_nat_close): Add argument.
2354 * go32-nat.c (go32_close): Add 'self' argument.
2355 * exec.c (exec_close_1): Add 'self' argument.
2356 * ctf.c (ctf_close): Add 'self' argument.
2357 * corelow.c (core_close): Add 'self' argument.
2358 (core_close_cleanup): Update.
2359 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
2360 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
2362 2014-02-19 Tom Tromey <tromey@redhat.com>
2364 * remote.c (remote_load): New function.
2365 (init_remote_ops): Use it.
2367 2014-02-19 Tom Tromey <tromey@redhat.com>
2369 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
2371 * common/linux-btrace.h (linux_supports_btrace): Update.
2372 * remote.c (remote_supports_btrace): Add "self" argument.
2373 * target-delegates.c: Rebuild.
2374 * target.c (target_supports_btrace): Remove.
2375 * target.h (struct target_ops) <to_supports_btrace>: Add
2376 target_ops argument.
2377 (target_supports_btrace): New define.
2379 2014-02-19 Tom Tromey <tromey@redhat.com>
2381 * record-full.c (record_full_beneath_to_resume_ops)
2382 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
2383 (record_full_beneath_to_wait)
2384 (record_full_beneath_to_store_registers_ops)
2385 (record_full_beneath_to_store_registers)
2386 (record_full_beneath_to_xfer_partial_ops)
2387 (record_full_beneath_to_xfer_partial)
2388 (record_full_beneath_to_insert_breakpoint_ops)
2389 (record_full_beneath_to_insert_breakpoint)
2390 (record_full_beneath_to_remove_breakpoint_ops)
2391 (record_full_beneath_to_remove_breakpoint)
2392 (record_full_beneath_to_stopped_by_watchpoint)
2393 (record_full_beneath_to_stopped_data_address)
2394 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
2395 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
2396 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
2397 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
2398 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
2399 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
2400 (tmp_to_stopped_data_address, tmp_to_async): Remove.
2401 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
2402 (record_full_resume, record_full_wait_1)
2403 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
2404 (record_full_store_registers, record_full_xfer_partial)
2405 (record_full_insert_breakpoint, record_full_remove_breakpoint)
2406 (record_full_async, record_full_core_xfer_partial): Use target
2408 * target-delegates.c: Rebuild.
2409 * target.c (current_xfer_partial): Remove.
2410 (update_current_target): Do not INHERIT or de_fault
2411 to_insert_breakpoint, to_remove_breakpoint,
2412 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
2413 to_is_async_p, to_async. Do not set to_xfer_partial field.
2414 (default_xfer_partial): Simplify.
2415 (current_xfer_partial): Remove.
2416 (target_wait, target_resume): Simplify.
2417 (find_default_can_async_p, find_default_is_async_p): Update.
2418 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
2419 to_xfer_partial, to_stopped_by_watchpoint,
2420 to_stopped_data_address.
2421 (target_store_registers): Simplify.
2422 (forward_target_remove_breakpoint)
2423 (forward_target_insert_breakpoint): Remove.
2424 (target_remove_breakpoint, target_insert_breakpoint)
2425 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
2426 * target.h (struct target_ops) <to_resume, to_wait,
2427 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
2428 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
2429 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
2431 (forward_target_remove_breakpoint)
2432 (forward_target_insert_breakpoint): Remove.
2433 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
2435 (record_btrace_insert_breakpoint): Delegate directly.
2437 2014-02-19 Tom Tromey <tromey@redhat.com>
2440 * target-delegates.c: New file.
2441 * target.c: Include target-delegates.c.
2442 (init_dummy_target): Call install_dummy_methods.
2443 (complete_target_initialization): Call install_delegators.
2444 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
2445 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
2446 * make-target-delegates: New file.
2448 2014-02-19 Tom Tromey <tromey@redhat.com>
2450 * record.c (find_record_target): Use find_target_at.
2451 * target.c (find_target_at): New function.
2452 * target.h (find_target_at): Declare.
2454 2014-02-19 Tom Tromey <tromey@redhat.com>
2456 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
2458 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
2460 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
2461 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
2463 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
2465 * linux-nat.c (save_sigtrap): Update.
2466 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
2467 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
2468 (linux_nat_close): Update.
2469 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
2471 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
2473 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
2474 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
2475 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
2476 (tmp_to_async): Add 'ops' argument.
2477 (record_full_stopped_by_watchpoint, record_full_async)
2478 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
2480 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
2481 (m32r_stopped_by_watchpoint): Add 'ops' argument.
2482 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
2483 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
2484 (remote_is_async_p, remote_async): Add 'ops' argument.
2485 (remote_stopped_data_address): Update.
2486 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
2487 * target.c (update_current_target)
2488 (find_default_can_async_p, find_default_is_async_p): Update.
2489 (init_dummy_target): Update.
2490 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
2491 * target.h (struct target_ops) <to_stopped_by_watchpoint,
2492 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
2493 (target_can_async_p, target_is_async_p, target_async)
2494 (target_stopped_by_watchpoint): Update.
2496 2014-02-19 Yao Qi <yao@codesourcery.com>
2499 * gdbarch.sh: Remove startup_gdbarch.
2500 * gdbarch.c: Regenerated.
2501 * gdbarch.h: Likewise.
2503 2014-02-17 Kevin Buettner <kevinb@redhat.com>
2505 * rl78-tdep.c (rl78_g10_register_name): New function.
2506 (rl78_return_value): Add g10 support.
2507 (rl78_gdbarch_init): Register rl78_g10_register_name for the
2510 2014-02-17 Doug Evans <xdje42@gmail.com>
2512 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
2513 (SUBDIR_GUILE_SRCS): Ditto.
2514 (scm-gsmob.o): Ditto.
2516 2014-02-17 Yao Qi <yao@codesourcery.com>
2518 * gnu-nat.c (ILL_RPC): Declare defined function.
2520 2014-02-17 Yao Qi <yao@codesourcery.com>
2522 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
2523 mach_msg_type_number_t.
2524 (gnu_write_inferior): Likewise.
2526 2014-02-17 Yao Qi <yao@codesourcery.com>
2528 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
2530 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
2531 (inf_validate_procs, inf_signal): Likewise.
2532 (S_exception_raise_request): Likewise.
2533 (do_mach_notify_dead_name): Likewise.
2534 (steal_exc_port): Likewise.
2535 (gnu_read_inferior): Change 'copy_count''s type to
2536 mach_msg_type_number_t.
2537 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
2540 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
2542 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
2543 flag. Adjust all users; in particular...
2544 (gnu_wait): ..., don't decrement its value in here...
2545 (gnu_create_inferior): ..., and instead set the flag in here,
2546 around the startup_inferior call, and call that one with
2547 START_INFERIOR_TRAPS_EXPECTED.
2549 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
2550 (ILL_RPC): ... new macro.
2551 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
2552 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
2553 (do_mach_notify_send_once, S_proc_setmsgport_reply)
2554 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
2555 functions with ILL_RPC macro.
2556 (S_proc_pid2task_reply, S_proc_task2pid_reply)
2557 (S_proc_task2proc_reply, S_proc_proc2task_reply)
2558 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
2559 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
2560 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
2561 (S_proc_getlogin_reply, S_proc_getsid_reply)
2562 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
2563 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
2564 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
2565 (S_proc_getnports_reply, S_proc_is_important_reply)
2566 (S_proc_get_code_reply): New stub functions, generated with
2569 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
2570 collected the type check structures.
2572 * reply_mig_hack.awk: Don't expect to see the auto keyword.
2574 2014-02-14 Doug Evans <dje@google.com>
2576 * target.c (target_write_partial): Fix result type.
2578 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2580 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
2581 the proper offsets to access fpregset_t.
2583 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
2585 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
2586 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
2587 * h8300-tdep.c (setmachinelist): Remove global.
2588 * hppa-tdep.c (hppa_sigtramp): Remove global.
2589 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
2590 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
2591 * ravenscar-thread.c (update_target_observer): Remove global.
2592 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
2594 2014-02-12 Tom Tromey <tromey@redhat.com>
2596 * common/rsp-low.c: Update comments.
2597 * common/rsp-low.h: Update comments.
2599 2014-02-12 Tom Tromey <tromey@redhat.com>
2601 * common/rsp-low.c (convert_ascii_to_int): Remove.
2602 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
2604 2014-02-12 Tom Tromey <tromey@redhat.com>
2606 * common/rsp-low.h (unhexify): Don't declare.
2607 * common/rsp-low.c (unhexify): Remove.
2609 2014-02-12 Tom Tromey <tromey@redhat.com>
2611 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
2612 * common/rsp-low.c (convert_int_to_ascii): Remove.
2614 2014-02-12 Tom Tromey <tromey@redhat.com>
2616 * common/rsp-low.h (hexify): Don't declare.
2617 * common/rsp-low.c (hexify): Remove.
2619 2014-02-12 Tom Tromey <tromey@redhat.com>
2621 * common/rsp-low.c (hexify): Never take strlen of argument.
2623 2014-02-12 Tom Tromey <tromey@redhat.com>
2625 * common/rsp-low.c (bin2hex): Never take strlen of argument.
2626 * remote.c (extended_remote_run, remote_rcmd)
2627 (remote_download_trace_state_variable, remote_save_trace_data)
2628 (remote_set_trace_notes): Update.
2629 * tracepoint.c (encode_source_string, tfile_write_status)
2630 (tfile_write_uploaded_tsv): Update.
2632 2014-02-12 Tom Tromey <tromey@redhat.com>
2634 * tracepoint.c: Include rsp-low.h.
2635 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
2636 * remote.c: Include rsp-low.h.
2637 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
2638 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
2639 (remote_unescape_input): Move to common/rsp-low.c.
2640 * common/rsp-low.h: New file.
2641 * common/rsp-low.c: New file.
2642 * Makefile.in (SFILES): Add common/rsp-low.c.
2643 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
2644 (COMMON_OBS): Add rsp-low.o.
2645 (rsp-low.o): New target.
2647 2014-02-12 Tom Tromey <tromey@redhat.com>
2649 * utils.h: Include print-utils.h.
2650 (host_address_to_string, plongest, pulongest, phex, phex_nz)
2651 (int_string, core_addr_to_string, core_addr_to_string_nz)
2652 (hex_string, hex_string_custom): Don't declare.
2653 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2654 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2655 (hex_string_custom, int_string, core_addr_to_string)
2656 (core_addr_to_string_nz, host_address_to_string): Move to
2657 common/print-utils.c.
2658 * common/print-utils.h: New file.
2659 * common/print-utils.c: New file
2660 * Makefile.in (SFILES): Add common/print-utils.c.
2661 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2662 (COMMON_OBS): Add print-utils.o.
2663 (print-utils.o): New target.
2665 2014-02-12 Tom Tromey <tromey@redhat.com>
2667 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2669 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2671 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2673 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2675 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2676 if a PT_IO ptrace request returns sucessfully but indicates that 0
2677 bytes were transferred.
2679 2014-02-12 Pedro Alves <palves@redhat.com>
2680 Kevin Buettner <kevinb@redhat.com>
2682 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2683 TYPE_INSTANCE_FLAG_CODE_SPACE.
2685 2014-02-12 Pedro Alves <palves@redhat.com>
2687 * h8300-tdep.c (pseudo_from_raw_register)
2688 (raw_from_pseudo_register): New functions.
2689 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2692 2014-02-12 Pedro Alves <palves@redhat.com>
2694 * h8300-tdep.c (h8300_register_sim_regno): New function.
2695 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2696 gdbarch_register_sim_regno hook.
2698 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2700 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2702 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2704 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2706 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2708 * obsd-tdep.h (obsd_init_abi): New prototype.
2709 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2710 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2711 (obsd_init_abi): New functions.
2712 * i386obsd-tdep.c: Include "obsd-tdep.h".
2713 (i386obsd_init_abi): Call obsd_init_abi.
2714 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2715 (amd64obsd_init_abi): Call obsd_init_abi.
2716 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2717 obsd-tdep.c to gdb_target_obs.
2719 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2721 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2722 double float arguments to 16-byte in the argument slots.
2724 2014-02-11 Doug Evans <xdje42@gmail.com>
2726 * configure.ac: Don't crash if pkg-config is not found and guile
2727 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2729 * configure: Regenerate.
2731 2014-02-11 Yao Qi <yao@codesourcery.com>
2733 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2734 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2735 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2736 * gnu-nat.c (gnu_xfer_memory): Likewise.
2737 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2738 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2739 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2740 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2742 2014-02-11 Yao Qi <yao@codesourcery.com>
2744 * target.h (enum target_xfer_error): Rename to ...
2745 (enum target_xfer_status): ... it. New. All users updated.
2746 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2748 (TARGET_XFER_STATUS_ERROR_P): New macro.
2749 (target_xfer_error_to_string): Remove declaration.
2750 (target_xfer_status_to_string): Declare.
2751 (target_xfer_partial_ftype): Adjust it.
2752 (struct target_ops) <to_xfer_partial>: Return
2753 target_xfer_status. Add argument xfered_len. Update
2755 * target.c (target_xfer_error_to_string): Rename to ...
2756 (target_xfer_status_to_string): ... it. New. All callers
2758 (target_read_live_memory): Likewise. Call target_xfer_partial
2759 instead of target_read.
2760 (memory_xfer_live_readonly_partial): Return
2761 target_xfer_status. Add argument xfered_len.
2762 (raw_memory_xfer_partial): Likewise.
2763 (memory_xfer_partial_1): Likewise.
2764 (memory_xfer_partial): Likewise.
2765 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2766 properly. Update debug message.
2767 (default_xfer_partial, current_xfer_partial): Likewise.
2768 (target_write_partial): Likewise.
2769 (target_read_partial): Likewise. All callers updated.
2770 (read_whatever_is_readable): Likewise.
2771 (target_write_with_progress): Likewise.
2772 (target_read_alloc_1): Likewise.
2774 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2775 * auxv.c (procfs_xfer_auxv): Likewise.
2776 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2777 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2778 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2779 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2780 * corefile.c (read_memory): Adjust.
2781 * corelow.c (core_xfer_partial): Likewise.
2782 * ctf.c (ctf_xfer_partial): Likewise.
2783 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2785 (darwin_xfer_partial): Likewise.
2786 * exec.c (section_table_xfer_memory_partial): Likewise. All
2788 (exec_xfer_partial): Likewise.
2789 * exec.h (section_table_xfer_memory_partial): Update
2791 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2793 (gnu_xfer_partial): Likewise.
2794 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2795 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2796 (ia64_hpux_xfer_solib_got): Likewise.
2797 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2798 type of 'partial_len' to ULONGEST.
2799 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2800 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2801 (linux_nat_xfer_partial): Likewise.
2802 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2803 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2804 * monitor.c (monitor_xfer_memory): Likewise.
2805 (monitor_xfer_partial): Likewise.
2806 * procfs.c (procfs_xfer_partial): Likewise.
2807 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2808 * record-full.c (record_full_xfer_partial): Likewise.
2809 (record_full_core_xfer_partial): Likewise.
2810 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2811 (gdbsim_xfer_partial): Likewise.
2812 * remote.c (remote_write_bytes_aux): Likewise. All callers
2814 (remote_write_bytes, remote_read_bytes): Likewise. All
2816 (remote_flash_erase): Likewise. All callers updated.
2817 (remote_write_qxfer): Likewise. All callers updated.
2818 (remote_read_qxfer): Likewise. All callers updated.
2819 (remote_xfer_partial): Likewise.
2820 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2821 (rs6000_xfer_shared_libraries): Likewise.
2822 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2823 (sol_thread_xfer_partial): Likewise.
2824 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2825 (sparc_xfer_partial): Likewise.
2826 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2828 (spu_xfer_partial): Likewise.
2829 * spu-multiarch.c (spu_xfer_partial): Likewise.
2830 * tracepoint.c (tfile_xfer_partial): Likewise.
2831 * windows-nat.c (windows_xfer_memory): Likewise.
2832 (windows_xfer_shared_libraries): Likewise.
2833 (windows_xfer_partial): Likewise.
2834 * valprint.c: Replace 'target_xfer_error' with
2835 'target_xfer_status' in comments.
2837 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2839 Checked in by Joel Brobecker <brobecker@adacore.com>.
2840 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2842 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2844 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2845 function parameters.
2847 2014-02-10 Will Newton <will.newton@linaro.org>
2849 * elfread.c (elf_rel_plt_read): Look for a .got section if
2850 looking up .got.plt fails.
2851 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2852 on address passed to elf_gnu_ifunc_record_cache.
2853 (elf_gnu_ifunc_resolve_addr): Likewise.
2854 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2856 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2858 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2859 (X_RETTURN): New macro.
2860 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2862 * sparc64-tdep.c (sparc64_init_abi): Hook
2863 sparc_in_function_epilogue_p.
2865 2014-02-10 Gary Benson <gbenson@redhat.com>
2867 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2868 Rename name_matcher to symbol_matcher.
2870 2014-02-10 Gary Benson <gbenson@redhat.com>
2872 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2873 Use expand_symtabs_file_matcher_ftype and
2874 expand_symtabs_symbol_matcher_ftype.
2876 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2878 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2879 (struct ada_symbol_cache): New.
2880 (ada_free_symbol_cache): Forward declare.
2881 (struct ada_pspace_data): New.
2882 (ada_pspace_data_handle): New static global.
2883 (get_ada_pspace_data, ada_pspace_data_cleanup)
2884 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2885 (cache_space, cache): Delete, now folded inside struct
2887 (ada_get_symbol_cache): New function.
2888 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2890 (_initialize_ada_language): Remove initialization of cache_space.
2891 Move call to observer_attach_inferior_exit up, grouping it
2892 with the other observer registrations inside this function.
2893 Rename command to be more general. Add call to
2894 register_program_space_data_with_cleanup.
2896 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2898 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2899 ada_new_objfile_observer.
2900 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2901 (_initialize_tasks): Update uses of ada_new_objfile_observer
2902 and ada_tasks_normal_stop_observer.
2904 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2906 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2907 returned by the 'Length attribute to integer.
2909 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2911 * ada-lang.c (_initialize_ada_language): Initialize
2912 cache_space obstack.
2914 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2916 * ada-lang.c (HASH_SIZE): New macro.
2917 (struct cache_entry): New type.
2918 (cache_space, cache): New static globals.
2919 (ada_clear_symbol_cache, find_entry): New functions.
2920 (lookup_cached_symbol, cache_symbol): Implement.
2921 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2922 (_initialize_ada_language): Attach ada_new_objfile_observer
2923 and ada_free_objfile_observer.
2925 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2927 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
2928 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
2929 struct block * parameter.
2930 (ada_lookup_symbol_list_worker): Constify local variable "block".
2931 Remove cast which is no longer necessary.
2933 2014-02-10 Doug Evans <xdje42@gmail.com>
2935 Add Guile as an extension language.
2936 * NEWS: Mention Guile scripting.
2937 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
2938 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
2939 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
2940 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
2941 (CLIBS): Add GUILE_LIBS.
2942 (install-guile): New rule.
2943 (guile.o): New rule.
2944 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
2945 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
2946 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
2947 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
2948 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
2949 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
2950 (scm-type.o, scm-utils.o, scm-value.o): New rules.
2951 * configure.ac: New option --with-guile.
2952 * configure: Regenerate.
2953 * config.in: Regenerate.
2954 * auto-load.c: Remove #include "python/python.h". Add #include
2955 "gdb/section-scripts.h".
2956 (source_section_scripts): Handle Guile scripts.
2957 (_initialize_auto_load): Add name of Guile objfile script to
2958 scripts-directory help text.
2959 * breakpoint.c (condition_command): Tweak comment to include Scheme.
2960 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
2961 (struct breakpoint): New member scm_bp_object.
2962 * defs.h (enum command_control_type): New value guile_control.
2963 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
2965 (show_user): Update comment.
2966 (_initialize_cli_cmds): Update help text for "show user". Update help
2967 text for max-user-call-depth.
2968 * cli/cli-script.c: Remove #include "python/python.h". Add #include
2970 (multi_line_command_p): Add guile_control.
2971 (print_command_lines): Handle guile_control.
2972 (execute_control_command, recurse_read_control_structure): Ditto.
2973 (process_next_line): Recognize "guile" commands.
2974 * disasm.c (gdb_disassemble_info): Make non-static.
2975 * disasm.h: #include "dis-asm.h".
2976 (struct gdbarch): Add forward decl.
2977 (gdb_disassemble_info): Declare.
2978 * extension.c: #include "guile/guile.h".
2979 (extension_languages): Add guile.
2980 (get_ext_lang_defn): Handle EXT_LANG_GDB.
2981 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
2982 * gdbtypes.c (get_unsigned_type_max): New function.
2983 (get_signed_type_minmax): New function.
2984 * gdbtypes.h (get_unsigned_type_max): Declare.
2985 (get_signed_type_minmax): Declare.
2986 * guile/README: New file.
2987 * guile/guile-internal.h: New file.
2988 * guile/guile.c: New file.
2989 * guile/guile.h: New file.
2990 * guile/scm-arch.c: New file.
2991 * guile/scm-auto-load.c: New file.
2992 * guile/scm-block.c: New file.
2993 * guile/scm-breakpoint.c: New file.
2994 * guile/scm-disasm.c: New file.
2995 * guile/scm-exception.c: New file.
2996 * guile/scm-frame.c: New file.
2997 * guile/scm-gsmob.c: New file.
2998 * guile/scm-iterator.c: New file.
2999 * guile/scm-lazy-string.c: New file.
3000 * guile/scm-math.c: New file.
3001 * guile/scm-objfile.c: New file.
3002 * guile/scm-ports.c: New file.
3003 * guile/scm-pretty-print.c: New file.
3004 * guile/scm-safe-call.c: New file.
3005 * guile/scm-string.c: New file.
3006 * guile/scm-symbol.c: New file.
3007 * guile/scm-symtab.c: New file.
3008 * guile/scm-type.c: New file.
3009 * guile/scm-utils.c: New file.
3010 * guile/scm-value.c: New file.
3011 * guile/lib/gdb.scm: New file.
3012 * guile/lib/gdb/boot.scm: New file.
3013 * guile/lib/gdb/experimental.scm: New file.
3014 * guile/lib/gdb/init.scm: New file.
3015 * guile/lib/gdb/iterator.scm: New file.
3016 * guile/lib/gdb/printing.scm: New file.
3017 * guile/lib/gdb/types.scm: New file.
3018 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
3019 (VPATH): Add $(GUILE_SRCDIR).
3020 (GUILE_DIR): New variable.
3021 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
3022 (all): Add stamp-guile dependency.
3023 (stamp-guile): New rule.
3024 (clean-guile, install-guile, uninstall-guile): New rules.
3025 (install-only): Add install-guile dependency.
3026 (uninstall): Add uninstall-guile dependency.
3027 (clean): Add clean-guile dependency.
3029 2014-02-09 Doug Evans <xdje42@gmail.com>
3031 Revert this patch (which I approved, mea culpa).
3033 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3035 * Makefile.in (all-lib): Remove.
3036 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3038 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3040 Fix Python stack corruption.
3041 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
3044 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3046 * Makefile.in (all-lib): Remove.
3047 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3049 2014-02-07 Doug Evans <dje@google.com>
3051 * extension-priv.h (extension_language_script_ops): Add comment.
3052 (extension_language_ops): Add comment.
3053 (active_ext_lang_state): Fix typo in comment.
3055 2014-02-07 Pedro Alves <palves@redhat.com>
3057 * infrun.c (handle_signal_stop) <signal arrives while stepping
3058 over a breakpoint>: Switch back to the stepping thread.
3060 2014-02-07 Yao Qi <yao@codesourcery.com>
3062 * target.c (target_xfer_partial): Return zero if LEN is zero.
3064 2014-02-07 Yao Qi <yao@codesourcery.com>
3066 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
3067 (ld_so_xfer_auxv): Likewise.
3068 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3069 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3070 * corelow.c (core_xfer_partial): Likewise.
3071 * ctf.c (ctf_xfer_partial): Likewise.
3072 * darwin-nat.c (darwin_read_dyld_info): Likewise.
3073 (darwin_xfer_partial): Likewise.
3074 * exec.c (exec_xfer_partial): Likewise.
3075 * gnu-nat.c (gnu_xfer_partial): Likewise.
3076 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
3077 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
3078 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
3079 * linux-nat.c (linux_xfer_siginfo): Likewise.
3080 (linux_proc_xfer_spu): Likewise.
3081 * procfs.c (procfs_xfer_partial): Likewise.
3082 * record-full.c (record_full_xfer_partial): Likewise.
3083 (record_full_core_xfer_partial): Likewise.
3084 * remote-sim.c (gdbsim_xfer_partial): Likewise.
3085 * remote.c (remote_write_qxfer): Likewise.
3086 (remote_write_qxfer, remote_read_qxfer): Likewise.
3087 (remote_xfer_partial): Likewise.
3088 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3089 (rs6000_xfer_shared_libraries): Likewise.
3090 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3091 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3092 (spu_xfer_partial): Likewise.
3093 * target.c (memory_xfer_partial_1): Likewise.
3094 * tracepoint.c (tfile_xfer_partial): Likewise.
3095 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
3096 (windows_xfer_partial): Likewise.
3098 2014-02-07 Yao Qi <yao@codesourcery.com>
3100 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
3102 (core_xfer_shared_libraries_aix): Likewise.
3103 * gdbarch.c, gdbarch.h: Regenerated.
3104 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
3105 ULONGEST. Change 'len_avail' type to ULONGEST.
3106 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3107 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3109 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
3111 2014-02-07 Yao Qi <yao@codesourcery.com>
3113 * corefile.c (memory_error): Get 'exception' from ERR and pass
3114 'exception' to throw_error.
3116 2014-02-06 Doug Evans <xdje42@gmail.com>
3118 * configure.ac (libpython checking): Remove all but python.o from
3119 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
3120 * configure: Regenerate.
3122 * Makefile.in (SFILES): Add extension.c.
3123 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
3124 (COMMON_OBS): Add extension.o.
3125 * extension.h: New file.
3126 * extension-priv.h: New file.
3127 * extension.c: New file.
3129 * python/python-internal.h: #include "extension.h".
3130 (gdbpy_auto_load_enabled): Declare.
3131 (gdbpy_apply_val_pretty_printer): Declare.
3132 (gdbpy_apply_frame_filter): Declare.
3133 (gdbpy_preserve_values): Declare.
3134 (gdbpy_breakpoint_cond_says_stop): Declare.
3135 (gdbpy_breakpoint_has_cond): Declare.
3136 (void source_python_script_for_objfile): Delete.
3137 * python/python.c: #include "extension-priv.h".
3138 Delete inclusion of "observer.h".
3139 (extension_language_python): Moved here and renamed from
3140 script_language_python in py-auto-load.c.
3141 Redefined to be of type extension_language_defn.
3142 (python_extension_script_ops): New global.
3143 (python_extension_ops): New global.
3144 (struct python_env): New member previous_active.
3145 (restore_python_env): Call restore_active_ext_lang.
3146 (ensure_python_env): Call set_active_ext_lang.
3147 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
3149 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
3151 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
3153 (gdbpy_eval_from_control_command): Renamed from
3154 eval_python_from_control_command, made static. New arg extlang.
3155 (gdbpy_source_script) Renamed from source_python_script, made static.
3157 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
3158 result to int. New arg extlang.
3159 (gdbpy_source_objfile_script): Renamed from
3160 source_python_script_for_objfile, made static. New arg extlang.
3161 (gdbpy_start_type_printers): Renamed from start_type_printers, made
3162 static. New args extlang, extlang_printers. Change result type to
3164 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
3165 static. New arg extlang. Rename arg printers to extlang_printers
3166 and change type to ext_lang_type_printers *.
3167 (gdbpy_free_type_printers): Renamed from free_type_printers, made
3168 static. Replace argument arg with extlang, extlang_printers.
3169 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
3170 (!HAVE_PYTHON, source_python_script): Delete.
3171 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
3172 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
3173 (!HAVE_PYTHON, start_type_printers): Delete.
3174 (!HAVE_PYTHON, apply_type_printers): Delete.
3175 (!HAVE_PYTHON, free_type_printers): Delete.
3176 (_initialize_python): Delete call to observer_attach_before_prompt.
3177 (finalize_python): Set/restore active extension language.
3178 (gdbpy_finish_initialization) Renamed from
3179 finish_python_initialization, made static. New arg extlang.
3180 (gdbpy_initialized): New function.
3181 * python/python.h: #include "extension.h". Delete #include
3182 "value.h", "mi/mi-cmds.h".
3183 (extension_language_python): Declare.
3184 (GDBPY_AUTO_FILE_NAME): Delete.
3185 (enum py_bt_status): Moved to extension.h and renamed to
3187 (enum frame_filter_flags): Moved to extension.h.
3188 (enum py_frame_args): Moved to extension.h and renamed to
3189 ext_lang_frame_args.
3190 (finish_python_initialization): Delete.
3191 (eval_python_from_control_command): Delete.
3192 (source_python_script): Delete.
3193 (apply_val_pretty_printer): Delete.
3194 (apply_frame_filter): Delete.
3195 (preserve_python_values): Delete.
3196 (gdbpy_script_language_defn): Delete.
3197 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
3198 (start_type_printers, apply_type_printers, free_type_printers): Delete.
3200 * auto-load.c: #include "extension.h".
3201 (GDB_AUTO_FILE_NAME): Delete.
3202 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
3203 (script_language_gdb): Delete, moved to extension.c and renamed to
3204 extension_language_gdb.
3205 (source_gdb_script_for_objfile): Delete.
3206 (auto_load_pspace_info): New member unsupported_script_warning_printed.
3207 (loaded_script): Change type of language member to
3208 struct extension_language_defn *.
3209 (init_loaded_scripts_info): Initialize
3210 unsupported_script_warning_printed.
3211 (maybe_add_script): Make static. Change type of language arg to
3212 struct extension_language_defn *.
3213 (clear_section_scripts): Reset unsupported_script_warning_printed.
3214 (auto_load_objfile_script_1): Rewrite to use extension language API.
3215 (auto_load_objfile_script): Make public. Remove support-compiled-in
3216 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
3217 (source_section_scripts): Rewrite to use extension language API.
3218 (load_auto_scripts_for_objfile): Rewrite to use
3219 auto_load_scripts_for_objfile.
3220 (collect_matching_scripts_data): Change type of language member to
3221 struct extension_language_defn *.
3222 (auto_load_info_scripts): Change type of language arg to
3223 struct extension_language_defn *.
3224 (unsupported_script_warning_print): New function.
3225 (script_not_found_warning_print): Make static.
3226 (_initialize_auto_load): Rewrite construction of scripts-directory
3228 * auto-load.h (struct objfile): Add forward decl.
3229 (struct script_language): Delete.
3230 (struct auto_load_pspace_info): Add forward decl.
3231 (struct extension_language_defn): Add forward decl.
3232 (maybe_add_script): Delete.
3233 (auto_load_objfile_script): Declare.
3234 (script_not_found_warning_print): Delete.
3235 (auto_load_info_scripts): Update prototype.
3236 (auto_load_gdb_scripts_enabled): Declare.
3237 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
3238 auto_load_python_scripts_enabled and made public.
3239 (script_language_python): Delete, moved to python.c.
3240 (gdbpy_script_language_defn): Delete.
3241 (info_auto_load_python_scripts): Update to use
3242 extension_language_python.
3244 * breakpoint.c (condition_command): Replace call to
3245 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
3246 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
3247 with call to breakpoint_ext_lang_cond_says_stop.
3248 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
3249 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
3250 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
3251 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
3253 (local_setattro): Print name of extension language with existing
3256 * valprint.c (val_print, value_print): Update to call
3257 apply_ext_lang_val_pretty_printer.
3258 * cp-valprint.c (cp_print_value): Update call to
3259 apply_ext_lang_val_pretty_printer.
3260 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
3261 (gdbpy_apply_val_pretty_printer): Renamed from
3262 apply_val_pretty_printer. New arg extlang.
3263 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
3265 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
3266 extension language API.
3267 * cli/cli-script.c (execute_control_command): Update to call
3268 eval_ext_lang_from_control_command.
3270 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
3271 enum ext_lang_bt_status values. Update call to
3272 apply_ext_lang_frame_filter.
3273 (mi_cmd_stack_list_locals): Ditto.
3274 (mi_cmd_stack_list_args): Ditto.
3275 (mi_cmd_stack_list_variables): Ditto.
3276 * mi/mi-main.c: Delete #include "python/python-internal.h".
3277 Add #include "extension.h".
3278 (mi_cmd_list_features): Replace reference to python internal variable
3279 gdb_python_initialized with call to ext_lang_initialized_p.
3281 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
3282 Update to use enum ext_lang_frame_args. Update to call
3283 apply_ext_lang_frame_filter.
3284 * python/py-framefilter.c (extract_sym): Update to use enum
3286 (extract_value, py_print_type, py_print_value): Ditto.
3287 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
3288 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
3289 (py_print_frame): Ditto.
3290 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
3291 New arg extlang. Update to use enum ext_lang_bt_status.
3293 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
3294 finish_python_initialization. Replace with call to
3295 finish_ext_lang_initialization.
3297 * typeprint.c (do_free_global_table): Update to call
3298 free_ext_lang_type_printers.
3299 (create_global_typedef_table): Update to call
3300 start_ext_lang_type_printers.
3301 (find_global_typedef): Update to call apply_ext_lang_type_printers.
3302 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
3303 (type_print_options): Change type of global_printers from "void *"
3304 to "struct ext_lang_type_printers *".
3306 * value.c (preserve_values): Update to call preserve_ext_lang_values.
3307 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
3308 (gdbpy_preserve_values): Renamed from preserve_python_values.
3310 (!HAVE_PYTHON, preserve_python_values): Delete.
3312 * utils.c (quit_flag): Delete, moved to extension.c.
3313 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
3316 * eval.c: Delete #include "python/python.h".
3317 * main.c: Delete #include "python/python.h".
3319 * defs.h: Update comment.
3321 2014-02-06 Joel Brobecker <brobecker@adacore.com>
3325 2014-02-05 Mark Kettenis <kettenis@gnu.org>
3327 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
3330 2014-02-05 Yao Qi <yao@codesourcery.com>
3332 * remote.c (remote_pass_signals): Remove local 'buf' and use
3334 (remote_program_signals): Likewise.
3336 2014-02-05 Yao Qi <yao@codesourcery.com>
3338 * ctf.c: Include "inferior.h" and "gdbthread.h".
3339 (CTF_PID): A new macro.
3340 (ctf_open): Call inferior_appeared and add_thread_silent.
3341 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
3342 (ctf_thread_alive): New function.
3343 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
3345 2014-02-05 Yao Qi <yao@codesourcery.com>
3349 2013-05-24 Yao Qi <yao@codesourcery.com>
3351 * tracepoint.c (TFILE_PID): Remove.
3352 (tfile_open): Don't add thread and inferior.
3353 (tfile_close): Don't set 'inferior_ptid'. Don't call
3354 exit_inferior_silent.
3355 (tfile_thread_alive): Remove.
3356 (init_tfile_ops): Don't set field 'to_thread_alive' of
3359 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
3361 * remote.c (remote_start_remote): Call remote_check_symbols even
3362 if only symbol-file (not file) has been given.
3364 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3366 * gdbarch.sh (skip_entrypoint): New callback.
3367 * gdbarch.c, gdbarch.h: Regenerate.
3368 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
3369 * infrun.c (fill_in_stop_func): Likewise.
3370 * ppc-linux-tdep.c: Include "elf/ppc64.h".
3371 (ppc_elfv2_elf_make_msymbol_special): New function.
3372 (ppc_elfv2_skip_entrypoint): Likewise.
3373 (ppc_linux_init_abi): Install them for ELFv2.
3375 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3377 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
3378 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
3379 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
3380 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
3381 structures returned in GPRs.
3383 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3385 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
3386 offset to the stack parameter list for the ELFv2 ABI.
3388 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3390 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
3391 set_gdbarch_convert_from_func_ptr_addr and
3392 set_gdbarch_elf_make_msymbol_special for ELFv1.
3393 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
3394 function descriptors on ELFv1.
3395 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
3396 set up r12 at function entry.
3398 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3400 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
3401 (struct gdbarch_tdep): New member elf_abi.
3403 * rs6000-tdep.c: Include "elf/ppc64.h".
3404 (rs6000_gdbarch_init): Detect ELF ABI version.
3406 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3408 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
3409 within a register pair holding a DFP 128-bit value on little-endian.
3410 (ppc64_sysv_abi_return_value_base): Likewise.
3411 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
3412 (dfp_pseudo_register_write): Likewise.
3414 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3416 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
3417 offset on little-endian when passing _Decimal32.
3418 (ppc64_sysv_abi_return_value_base): Likewise for return values.
3420 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3422 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
3423 of the overlapped FP register within the VSX register on little-
3425 (efpr_pseudo_register_write): Likewise.
3427 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3429 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
3430 offset on little-endian when passing small structures.
3432 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3434 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
3435 (struct ppc64_sysv_argpos): New data structure.
3436 (ppc64_sysv_abi_push_float): Remove.
3437 (ppc64_sysv_abi_push_val): New function.
3438 (ppc64_sysv_abi_push_integer): Likewise.
3439 (ppc64_sysv_abi_push_freg): Likewise.
3440 (ppc64_sysv_abi_push_vreg): Likewise.
3441 (ppc64_sysv_abi_push_param): Likewise.
3442 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
3443 (ppc64_sysv_abi_return_value_base): New function.
3444 (ppc64_sysv_abi_return_value): Refactor to use it.
3446 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3448 * NEWS: Document new target powerpc64le-*-linux*.
3450 2014-02-04 Mark Kettenis <kettenis@gnu.org>
3452 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
3453 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
3455 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
3456 register set used in ELF core dumps. Add floating-point register set.
3458 2014-02-03 Kevin Buettner <kevinb@redhat.com>
3460 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
3461 dwarf2_to_gdb[] table using symbolic constants. Adjust
3462 penultimate entry from number representing the PC register
3463 to symbolic constant representing the MDR register. Add
3464 constant for the PC register to the end of the table.
3466 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3468 * bsd-kvm.c: Include <sys/param.h>
3470 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3472 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
3474 2014-01-31 Joel Brobecker <brobecker@adacore.com>
3476 * ada-lang.h (clear_ada_sym_cache): Delete.
3478 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
3480 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
3482 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3484 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
3485 the sigreturn register save area only if the syscall is
3488 2014-01-29 Joel Brobecker <brobecker@adacore.com>
3490 * valops.c (value_slice): Minor reformatting.
3492 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
3494 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
3496 2014-01-28 Joel Brobecker <brobecker@adacore.com>
3498 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
3500 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
3501 (ada_ignore_descriptive_types_p): New static global.
3502 (find_parallel_type_by_descriptive_type): Return immediately
3503 if ada_ignore_descriptive_types_p is set.
3504 (_initialize_ada_language): Register new commands "maintenance
3505 set ada", "maintenance show ada", "maintenance set ada
3506 ignore-descriptive-types" and "maintenance show ada
3507 ignore-descriptive-types".
3508 * NEWS: Add entry for new "maint ada set/show
3509 ignore-descriptive-types" commands.
3511 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
3513 * record-btrace.c (record_btrace_close): Call btrace_teardown
3516 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3518 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
3521 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3523 * ada-typeprint (type_is_full_subrange_of_target_type):
3525 (print_range): Add parameter bounds_prefered_p. If not set,
3526 try printing range types using the name of their base type.
3527 (print_range_type): Add parameter bounds_prefered_p.
3528 Use it in call to print_range.
3529 (print_array_type, ada_print_type): Update calls to print_range
3530 and print_range_type.
3532 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3534 * ada-typeprint.c (print_array_type, print_choices, print_range)
3535 (print_range_bound, print_dynamic_range_bound, print_range_type):
3538 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3540 * ada-typeprint.c (print_range): Add missing empty line
3541 after local declaration.
3543 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3545 * ada-valprint.c (print_optional_low_bound): Get index_type's
3546 target type for as long as it is a TYPE_CODE_RANGE.
3548 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3550 * procfs.c (procfs_make_note_section): Remove assertion and
3553 2014-01-24 Yao Qi <yao@codesourcery.com>
3555 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
3556 * corelow.c (get_core_siginfo): Likewise.
3558 2014-01-24 Yao Qi <yao@codesourcery.com>
3560 * remote.c (remote_write_bytes_aux): Change type of 'len' to
3561 ULONGEST. Don't check 'len' is negative.
3562 (remote_write_bytes): Change type of 'len' to ULONGEST.
3564 2014-01-23 Tom Tromey <tromey@redhat.com>
3567 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
3568 Handle exception from frame.block.
3569 (FrameVars.fetch_frame_locals): Likewise.
3571 2014-01-23 Tom Tromey <tromey@redhat.com>
3574 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
3575 on a NULL pointer. Move "goto error" to correct place.
3577 2014-01-23 Tom Tromey <tromey@redhat.com>
3580 * python/py-framefilter.c (apply_frame_filter): Call
3581 ensure_python_env after computing gdbarch.
3583 2014-01-23 Yao Qi <yao@codesourcery.com>
3585 * target.c (raw_memory_xfer_partial): Change argument type
3586 from void * to gdb_byte *.
3587 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
3589 2014-01-22 Doug Evans <dje@google.com>
3591 New gdbserver option --debug-format=timestamp.
3594 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3596 * syscalls/s390x-linux.xml: New file.
3597 * syscalls/s390-linux.xml: New file.
3598 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
3599 (XML_SYSCALL_FILENAME_S390X): Likewise.
3600 (op_svc): New enum value for SVC opcode.
3601 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
3602 (s390_linux_get_syscall_number): New function.
3603 (s390_gdbarch_init): Register '*get_syscall_number' and the
3604 syscall xml file name.
3605 * data-directory/Makefile.in (SYSCALLS_FILES): Add
3606 "s390-linux.xml" and "s390x-linux.xml".
3607 * NEWS: Announce new feature.
3609 2014-01-22 Baruch Siach <baruch@tkos.co.il>
3611 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
3613 2014-01-22 Pedro Alves <palves@redhat.com>
3615 * xtensa-config.c: Include defs.h.
3617 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3619 * common/common-utils.h: Add "ARI:" comment beside __func__
3622 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3624 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
3625 documentation a bit.
3627 2014-01-21 Roland McGrath <mcgrathr@google.com>
3629 * configure.ac: Call AM_PROG_INSTALL_STRIP.
3630 * configure: Regenerate.
3631 * aclocal.m4: Regenerate.
3632 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
3633 New substituted variables.
3634 (install-strip): New target.
3635 (INSTALL_SCRIPT): New substituted variable.
3636 (FLAGS_TO_PASS): Add it.
3637 (install-only): Use $(INSTALL_SCRIPT) rather than
3638 $(INSTALL_PROGRAM) for gcore.
3640 2014-01-20 Tom Tromey <tromey@redhat.com>
3642 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
3645 2014-01-20 Tom Tromey <tromey@redhat.com>
3647 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
3648 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
3649 (deprecated_cmd_warning, complete_on_cmdlist): Update.
3650 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
3651 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3652 (struct cmd_list_element) <flags>: Remove.
3653 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3654 doc_allocated>: New fields.
3655 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3657 * maint.c (maintenance_do_deprecate): Update.
3658 * top.c (execute_command): Update.
3660 2014-01-20 Baruch Siach <baruch@tkos.co.il>
3662 * xtensa-linux-nat.c: Include asm/ptrace.h.
3664 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3666 * Makefile.in (SFILES): Add d-support.c.
3667 (COMMON_OBS): Add d-support.o.
3668 * d-lang.h (d_parse_symbol): Add comment, now defined in
3670 * d-lang.c (parse_call_convention)
3671 (parse_attributes, parse_function_types)
3672 (parse_function_args, parse_type, parse_identifier)
3673 (call_convention_p, d_parse_symbol): Move functions to ...
3674 * d-support.c: ... New file.
3676 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3678 * d-lang.h (d_parse_symbol): Add declaration.
3679 * d-lang.c (extract_identifiers)
3680 (extract_type_info): Remove functions.
3681 (parse_call_convention, parse_attributes)
3682 (parse_function_types, parse_function_args)
3683 (parse_type, parse_identifier, call_convention_p)
3684 (d_parse_symbol): New functions.
3685 (d_demangle): Use d_parse_symbol to demangle D symbols.
3687 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3689 * d-lang.h (struct builtin_d_type): New data type.
3690 (builtin_d_type): Add declaration.
3691 * d-lang.c (d_language_arch_info, build_d_types)
3692 (builtin_d_type): New functions.
3693 (enum d_primitive_types): New data type.
3694 (d_language_defn): Change c_language_arch_info to
3695 d_language_arch_info.
3696 (d_type_data): New static variable.
3697 (_initialize_d_language): Initialize d_type_data.
3699 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3701 * d-lang.h (d_main_name): Add declaration.
3702 * d-lang.c (d_main_name): New function.
3703 * symtab.c (find_main_name): Add call to d_main_name.
3705 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3707 * d-lang.c (d_language_defn): Change macro_expansion_c to
3710 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3712 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3714 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3716 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3717 gdb_exception" declaration.
3718 * remote.c (getpkt_or_notif_sane): Likewise.
3720 2014-01-17 Doug Evans <dje@google.com>
3722 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3723 function, contents of dirnames_to_char_ptr_vec_append moved here.
3724 (delim_string_to_char_ptr_vec): New function.
3725 (dirnames_to_char_ptr_vec_append): Rewrite.
3726 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3728 2014-01-17 Doug Evans <dje@google.com>
3730 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3732 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3733 #include "common-utils.h".
3734 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3735 * common/vec.h (VEC_ASSERT_PASS): Update.
3736 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3737 (MACH_CHECK_ERROR): Update.
3739 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3741 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3743 * gdbarch.h: Regenerate.
3745 2014-01-16 Tom Tromey <tromey@redhat.com>
3747 * value.c (struct value) <regnum>: Move earlier.
3749 2014-01-16 Tom Tromey <tromey@redhat.com>
3751 * remote.c (extended_remote_create_inferior): Rename from
3752 extended_remote_create_inferior_1. Add "ops" argument. Remove
3755 2014-01-16 Pedro Alves <palves@redhat.com>
3757 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3758 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3761 2014-01-16 Doug Evans <dje@google.com>
3763 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3765 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3767 * btrace.h (btrace_thread_flag): New.
3768 (struct btrace_thread_info) <flags>: New.
3769 * record-btrace.c (record_btrace_resume_thread)
3770 (record_btrace_find_thread_to_move, btrace_step_no_history)
3771 (btrace_step_stopped, record_btrace_start_replaying)
3772 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3773 (record_btrace_find_resume_thread): New.
3774 (record_btrace_resume, record_btrace_wait): Extend.
3775 (record_btrace_can_execute_reverse): New.
3776 (record_btrace_open): Fail in non-stop mode.
3777 (record_btrace_set_replay): Split into this, ...
3778 (record_btrace_stop_replaying): ... this, ...
3779 (record_btrace_clear_histories): ... and this.
3780 (init_record_btrace_ops): Init to_can_execute_reverse.
3781 * NEWS: Announce it.
3783 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3785 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3786 (forward_target_decr_pc_after_break)
3787 (target_decr_pc_after_break): New.
3788 * target.c (forward_target_decr_pc_after_break)
3789 (target_decr_pc_after_break): New.
3790 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3791 instead of gdbarch_decr_pc_after_break.
3792 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3793 instead of gdbarch_decr_pc_after_break.
3794 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3795 instead of gdbarch_decr_pc_after_break.
3796 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3797 instead of gdbarch_decr_pc_after_break.
3798 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3799 instead of gdbarch_decr_pc_after_break.
3800 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3801 instead of gdbarch_decr_pc_after_break.
3803 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3805 * btrace.c: Include regcache.h.
3806 (btrace_add_pc): New.
3807 (btrace_enable): Call btrace_add_pc.
3808 (btrace_is_empty): New.
3809 * btrace.h (btrace_is_empty): New.
3810 * record-btrace.c (require_btrace, record_btrace_info): Call
3813 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3815 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3816 Support delta reads.
3817 (linux_disable_btrace): Change return type.
3818 * common/linux-btrace.h (linux_read_btrace): Change parameters
3819 and return type to allow error reporting. Update users.
3820 (linux_disable_btrace): Change return type. Update users.
3821 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3823 (btrace_error): New.
3824 (btrace_block) <begin>: Comment on BEGIN == 0.
3825 * btrace.c (btrace_compute_ftrace): Start from the end of
3827 (btrace_stitch_trace, btrace_clear_history): New.
3828 (btrace_fetch): Read delta trace, return if replaying.
3829 (btrace_clear): Move clear history code to btrace_clear_history.
3830 (parse_xml_btrace): Throw an error if parsing failed.
3831 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3832 and return type to allow error reporting.
3833 (target_read_btrace): Change parameters and return type to allow
3835 * target.c (target_read_btrace): Update.
3836 * remote.c (remote_read_btrace): Support delta reads. Pass
3838 * NEWS: Announce it.
3840 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3842 * record.h (record_btrace_frame_unwind)
3843 (record_btrace_tailcall_frame_unwind): New declarations.
3844 * dwarf2-frame: Include record.h
3845 (dwarf2_frame_cfa): Throw an error for btrace frames.
3846 * record-btrace.c: Include hashtab.h.
3847 (btrace_get_bfun_name): New.
3848 (btrace_call_history): Call btrace_get_bfun_name.
3849 (struct btrace_frame_cache): New.
3851 (bfcache_hash, bfcache_eq, bfcache_new): New.
3852 (btrace_get_frame_function): New.
3853 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3854 (record_btrace_frame_this_id): Compute own id.
3855 (record_btrace_frame_prev_register): Provide PC, throw_error
3856 for all other registers.
3857 (record_btrace_frame_sniffer): Detect btrace frames.
3858 (record_btrace_tailcall_frame_sniffer): New.
3859 (record_btrace_frame_dealloc_cache): New.
3860 (record_btrace_frame_unwind): Add new functions.
3861 (record_btrace_tailcall_frame_unwind): New.
3862 (_initialize_record_btrace): Allocate cache.
3863 * btrace.c (btrace_clear): Call reinit_frame_cache.
3864 * NEWS: Announce it.
3866 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3868 * record-btrace.c (record_btrace_set_replay)
3869 (record_btrace_goto_begin, record_btrace_goto_end)
3870 (record_btrace_goto): New.
3871 (init_record_btrace_ops): Initialize them.
3872 * NEWS: Announce it.
3874 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3876 * record-btrace.c (record_btrace_find_new_threads)
3877 (record_btrace_thread_alive): New.
3878 (init_record_btrace_ops): Initialize to_find_new_threads and
3881 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3883 * record-btrace.c (record_btrace_resume): New.
3884 (record_btrace_wait): New.
3885 (init_record_btrace_ops): Initialize to_wait and to_resume.
3887 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3889 * record-btrace.c (record_btrace_xfer_partial)
3890 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3891 (record_btrace_allow_memory_access): New.
3892 (init_record_btrace_ops): Initialize new methods.
3893 * target.c (raw_memory_xfer_partial): Bail out if target reports
3894 that this memory is not available.
3896 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3898 * target.h (target_ops) <to_insert_breakpoint>
3899 <to_remove_breakpoint>: Add target_ops parameter.
3900 (forward_target_insert_breakpoint): New.
3901 (forward_target_remove_breakpoint): New.
3902 (memory_remove_breakpoint, memory_insert_breakpoint):
3903 Add target_ops parameter.
3904 * target.c (target_insert_breakpoint): Split into this and ...
3905 (forward_target_insert_breakpoint): ... this.
3906 (target_remove_breakpoint): Split into this and ...
3907 (forward_target_remove_breakpoint): ... this.
3908 (debug_to_insert_breakpoint): Add target_ops parameter.
3909 Call forward_target_insert_breakpoint.
3910 (debug_to_remove_breakpoint): Add target_ops parameter.
3911 Call forward_target_remove_breakpoint.
3912 (update_current_target): Do not inherit or default to_insert_breakpoint
3913 and to_remove_breakpoint.
3914 * corelow.c (ignore): Add target_ops parameter.
3915 * exec.c (ignore): Add target_ops parameter.
3916 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3917 Add target_ops parameter.
3918 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3919 Add target_ops parameter.
3920 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3921 Add target_ops parameter.
3922 * record-full.c (record_full_beneath_to_insert_breakpoint)
3923 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3924 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3925 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
3926 (record_full_core_remove_breakpoint): Add target_ops parameter.
3928 (record_full_beneath_to_insert_breakpoint_ops)
3929 (record_full_beneath_to_remove_breakpoint_ops)
3930 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
3931 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
3932 tmp_to_remove_breakpoint_ops,
3933 record_full_beneath_to_insert_breakpoint_ops, and
3934 record_full_beneath_to_remove_breakpoint_ops.
3935 * remote-m32r-sdi.c (m32r_insert_breakpoint)
3936 (m32r_remove_breakpoint): Add target_ops parameter.
3937 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
3938 Add target_ops parameter.
3939 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
3940 Add target_ops parameter.
3942 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3943 Markus Metzger <markus.t.metzger@intel.com>
3945 * record-btrace.c: Include frame-unwind.h.
3946 (record_btrace_frame_unwind_stop_reason)
3947 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
3948 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
3950 (init_record_btrace_ops): Install it.
3952 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3954 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
3957 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3959 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
3962 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3964 * frame-unwind.c: Include target.h.
3965 (frame_unwind_try_unwinder): New function with code from ...
3966 (frame_unwind_find_by_frame): ... here. New variable
3967 unwinder_from_target, call also target_get_unwinder)
3968 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
3969 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
3970 * target.h (struct target_ops): New fields to_get_unwinder and
3971 to_get_tailcall_unwinder.
3972 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
3974 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3976 * record-btrace.c (record_btrace_fetch_registers)
3977 (record_btrace_store_registers)
3978 (record_btrace_to_prepare_to_store): New.
3979 (init_record_btrace_ops): Add the above.
3981 2014-01-16 Tom Tromey <tromey@redhat.com>
3983 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
3984 * target.h (struct target_ops) <to_prepare_to_store>: Add
3986 (target_prepare_to_store): Add argument.
3987 * target.c (debug_to_prepare_to_store): Add argument.
3988 (update_current_target): Update.
3989 * remote.c (remote_prepare_to_store): Add 'self' argument.
3990 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
3991 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
3992 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
3993 * record-full.c (record_full_core_prepare_to_store): Add 'self'
3995 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
3996 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
3997 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
3998 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
3999 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
4001 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4003 * btrace.h (replay) <replay>: New.
4004 (btrace_is_replaying): New.
4005 * btrace.c (btrace_clear): Free replay iterator.
4006 (btrace_is_replaying): New.
4007 * record-btrace.c (record_btrace_is_replaying): New.
4008 (record_btrace_info): Print insn number if replaying.
4009 (record_btrace_insn_history): Start at replay position.
4010 (record_btrace_call_history): Start at replay position.
4011 (init_record_btrace_ops): Init to_record_is_replaying.
4013 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4015 * record-btrace.c (record_btrace_insn_history_range): Include
4017 (record_btrace_insn_history_from): Adjust range.
4018 (record_btrace_call_history_range): Include
4020 (record_btrace_call_history_from): Adjust range.
4021 * NEWS: Announce changes.
4023 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4025 * record.h (enum record_print_flag)
4026 <record_print_indent_calls>: New.
4027 * record.c (get_call_history_modifiers): Recognize /c modifier.
4028 (_initialize_record): Document /c modifier.
4029 * record-btrace.c (btrace_call_history): Add btinfo parameter.
4030 Reorder fields. Optionally indent the function name. Update
4032 * NEWS: Announce changes.
4034 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4036 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
4038 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4040 * btrace.c (ftrace_new_function): Start counting at one.
4041 * record-btrace.c (record_btrace_info): Adjust number of calls
4043 * NEWS: Announce it.
4045 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4047 * record-btrace.c (btrace_call_history_insn_range): Print
4048 insn range as [begin, end].
4050 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4052 * btrace.h (struct btrace_func_link): New.
4053 (enum btrace_function_flag): New.
4054 (struct btrace_inst): Rename to ...
4055 (struct btrace_insn): ...this. Update all users.
4056 (struct btrace_func) <ibegin, iend>: Remove.
4057 (struct btrace_func_link): New.
4058 (struct btrace_func): Rename to ...
4059 (struct btrace_function): ...this. Update all users.
4060 (struct btrace_function) <segment, flow, up, insn, insn_offset)
4061 (number, level, flags>: New.
4062 (struct btrace_insn_iterator): Rename to ...
4063 (struct btrace_insn_history): ...this.
4065 (struct btrace_insn_iterator, btrace_call_iterator): New.
4066 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
4067 (struct btrace_target_info) <begin, end, level>
4068 <insn_history, call_history>: New.
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 * btrace.c (btrace_init_insn_iterator)
4077 (btrace_init_func_iterator, compute_itrace): Remove.
4078 (ftrace_print_function_name, ftrace_print_filename)
4079 (ftrace_skip_file): Change
4081 (ftrace_init_func): Remove.
4082 (ftrace_debug): Use new btrace_function fields.
4083 (ftrace_function_switched): Also consider gaining and
4084 losing symbol information).
4085 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
4086 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
4087 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
4089 (ftrace_new_function): Move. Remove debug print.
4090 (ftrace_update_lines, ftrace_update_insns): New.
4091 (ftrace_update_function): Check for call, ret, and jump.
4092 (compute_ftrace): Renamed to ...
4093 (btrace_compute_ftrace): ...this. Rewritten to compute call
4095 (btrace_fetch, btrace_clear): Updated.
4096 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4097 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4098 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4099 (btrace_call_number, btrace_call_begin, btrace_call_end)
4100 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4101 (btrace_find_function_by_number, btrace_set_insn_history)
4102 (btrace_set_call_history): New.
4103 * record-btrace.c (require_btrace): Use new btrace thread
4105 (record_btrace_info, btrace_insn_history)
4106 (record_btrace_insn_history, record_btrace_insn_history_range):
4107 Use new btrace thread info fields and new iterator.
4108 (btrace_func_history_src_line): Rename to ...
4109 (btrace_call_history_src_line): ...this. Use new btrace
4111 (btrace_func_history): Rename to ...
4112 (btrace_call_history): ...this. Use new btrace thread info
4113 fields and new iterator.
4114 (record_btrace_call_history, record_btrace_call_history_range):
4115 Use new btrace thread info fields and new iterator.
4117 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4119 * frame.h (frame_id_build_unavailable_stack_special): New.
4120 * frame.c (frame_id_build_unavailable_stack_special): New.
4122 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4124 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
4125 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
4126 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
4128 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
4129 (i386_insn_is_jump, i386_jmp_p): New.
4130 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
4131 insn_is_jump to gdbarch.
4132 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
4133 * gdbarch.h: Regenerated.
4134 * gdbarch.c: Regenerated.
4135 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
4136 (default_insn_is_jump): New.
4137 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
4138 (default_insn_is_jump): New.
4140 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4142 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
4144 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
4145 (btrace_read_type) <btrace_read_new>: Change to ...
4146 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
4148 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4150 * common/linux-btrace.c (linux_read_btrace): Free trace from
4153 2014-01-15 Doug Evans <dje@google.com>
4155 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
4158 2014-01-15 Tom Tromey <tromey@redhat.com>
4160 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
4161 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
4162 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
4163 (set_objfile_main_name): New function.
4164 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
4165 language_of_main>: New fields.
4166 (set_objfile_main_name): Declare.
4167 * symtab.c (find_main_name): Loop over objfiles to find the main
4169 (set_main_name): Now static.
4170 (get_main_info): Add comment.
4171 * symtab.h (set_main_name): Don't declare.
4173 2014-01-15 Tom Tromey <tromey@redhat.com>
4175 * symtab.c (main_progspace_key): New global.
4176 (struct main_info): New.
4177 (name_of_main, language_of_main): Remove.
4178 (get_main_info, main_info_cleanup): New function.
4179 (set_main_name, main_name, main_language): Use get_main_info.
4180 (_initialize_symtab): Initialize main_progspace_key.
4182 2014-01-15 Tom Tromey <tromey@redhat.com>
4184 * dbxread.c (process_one_symbol): Update.
4185 * dwarf2read.c (read_partial_die): Update.
4186 * symfile.c (set_initial_language): Call main_language.
4187 * symtab.c (language_of_main): Now static.
4188 (set_main_name): Add 'lang' parameter.
4189 (find_main_name): Update.
4190 (main_language): New function.
4191 (symtab_observer_executable_changed): Update.
4192 * symtab.h (set_main_name): Update.
4193 (language_of_main): Remove.
4194 (main_language): Declare.
4196 2014-01-15 Tom Tromey <tromey@redhat.com>
4198 * symfile.c (init_entry_point_info): Use new "initialized" field.
4200 * objfiles.h (struct entry_point) <initialized>: New field.
4201 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
4202 (struct objfile) <ei>: ...here. Remove.
4203 * objfiles.c (entry_point_address_query): Update.
4205 2014-01-15 Tom Tromey <tromey@redhat.com>
4207 * objfiles.c (entry_point_address_query): Relocate entry point
4209 (objfile_relocate1): Do not relocate entry point address.
4210 * objfiles.h (struct entry_info) <entry_point>: Update comment.
4211 <the_bfd_section_index>: New field.
4212 * symfile.c (init_entry_point_info): Find the entry point's
4215 2014-01-15 Tom Tromey <tromey@redhat.com>
4217 * solib-frv.c (enable_break): Use entry_point_address_query.
4219 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4221 * NEWS: Add note on improved process record-replay on
4222 arm*-linux* targets.
4224 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4226 * arm-tdep.c (enum arm_record_result): New enum.
4227 (arm_record_unsupported_insn): New function.
4228 (arm_record_coproc_data_proc): Removed.
4229 (thumb2_record_ld_st_multiple): New function.
4230 (thumb2_record_ld_st_dual_ex_tbb): New function.
4231 (thumb2_record_data_proc_sreg_mimm): New function.
4232 (thumb2_record_ps_dest_generic): New function.
4233 (thumb2_record_branch_misc_cntrl): New function.
4234 (thumb2_record_str_single_data): New function.
4235 (thumb2_record_ld_mem_hints): New function.
4236 (thumb2_record_ld_word): New function.
4237 (thumb2_record_lmul_lmla_div): New function.
4238 (thumb2_record_decode_insn_handler): New function.
4239 (decode_insn): Add thumb32 instruction handlers.
4241 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4243 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
4244 (struct arm_linux_record_tdep): Declare.
4245 (arm_canonicalize_syscall): New function.
4246 (arm_all_but_pc_registers_record): New function.
4247 (arm_linux_syscall_record): New function.
4248 (arm_linux_init_abi): Add syscall recording constructs.
4249 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
4250 decoding. (arm_record_coproc_data_proc): Update arm syscall
4252 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
4253 <arm_syscall_record>: New field.
4254 * configure.tgt (arm*-*-linux*): Add linux-record.o to
4257 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4259 * arm-tdep.c (thumb_record_misc): Update to use sp as base
4260 register for push instruction recording.
4262 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4264 * arm-tdep.c (thumb_record_misc): Update to correct logical
4265 error while recording ldm, ldmia and pop instructions.
4267 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4269 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
4271 2014-01-15 Pedro Alves <palves@redhat.com>
4273 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
4274 (go32_resume, go32_fetch_registers, store_register)
4275 (go32_store_registers, go32_prepare_to_store)
4276 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
4277 (go32_create_inferior, go32_can_run, go32_terminal_init)
4278 (go32_terminal_inferior, go32_terminal_ours): Delete forward
4281 2014-01-15 Tom Tromey <tromey@redhat.com>
4283 * target.h (async_callback_ftype): New typedef.
4284 (struct target_ops) <to_async>: Use it.
4286 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4288 * python/py-value.c (get_field_type): Remove unnecessary curly
4289 braces for single-statement if block.
4291 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4293 * python/py-type.c (convert_field): Add missing empty line
4296 2014-01-14 Doug Evans <dje@google.com>
4298 * symfile.h (expand_symtabs_matching): Renamed from
4299 expand_partial_symbol_names. Update prototype.
4300 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4301 * symfile.c (expand_symtabs_matching): Renamed from
4302 expand_partial_symbol_names. New args file_matcher, kind.
4303 Rename arg fun to symbol_matcher.
4304 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4305 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
4306 ada_expand_partial_symbol_name.
4307 (ada_make_symbol_completion_list): Update to call
4308 expand_symtabs_matching.
4309 (ada_add_global_exceptions): Call expand_symtabs_matching.
4310 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
4311 call map_symbol_filenames.
4312 * symtab.c (sources_info): Update to call map_symbol_filenames.
4313 (search_symbols): Call expand_symtabs_matching.
4314 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
4315 (default_make_symbol_completion_list_break_on): Update to call
4316 expand_symtabs_matching.
4317 (make_source_files_completion_list): Update to call
4318 map_symbol_filenames.
4320 2014-01-14 Doug Evans <dje@google.com>
4322 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
4323 (expand_symtabs_symbol_matcher_ftype): New typedef.
4324 (quick_symbol_functions.expand_symtabs_matching): Update to use.
4325 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4326 * symfile.c (expand_partial_symbol_names): Update to use
4327 expand_symtabs_symbol_matcher_ftype.
4328 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
4329 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4330 Arg name_matcher renamed to symbol_matcher.
4331 * psymtab.c (recursively_search_psymtabs): Update to use
4332 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
4334 (expand_symtabs_matching_via_partial): Update to use
4335 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4336 Arg name_matcher renamed to symbol_matcher.
4338 2014-01-14 Doug Evans <dje@google.com>
4340 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
4341 (map_partial_symbol_filenames): Ditto.
4342 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
4343 (map_partial_symbol_filenames): Ditto.
4344 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
4345 (map_partial_symbol_filenames): Ditto.
4346 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
4347 (map_partial_symbol_filenames): Ditto.
4348 * symtab.c: Delete #include "psymtab.h".
4350 2014-01-14 Pedro Alves <palves@redhat.com>
4351 Tom Tromey <tromey@redhat.com>
4353 * infrun.c (use_displaced_stepping): Use find_record_target
4354 instead of RECORD_IS_USED.
4355 (adjust_pc_after_break): Use record_full_is_used instead of
4357 * record-btrace.c (record_btrace_open): Call record_preopen
4358 instead of checking RECORD_IS_USED.
4359 * record-full.c (record_full_shortname)
4360 (record_full_core_shortname): New globals.
4361 (record_full_is_used): New function.
4362 (find_full_open): Call record_preopen instead of checking
4364 (init_record_full_ops): Set the target's shortname to
4365 record_full_shortname.
4366 (init_record_full_core_ops): Set the target's shortname to
4367 record_full_core_shortname.
4368 * record-full.h (record_full_is_used): Declare.
4369 * record.c (find_record_target): Make extern.
4370 (record_preopen): New function.
4371 * record.h (RECORD_IS_USED): Delete macro.
4372 (find_record_target, record_preopen): Declare functions.
4374 2014-01-14 Yao Qi <yao@codesourcery.com>
4376 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
4377 'len''s type to ULONGEST.
4378 (core_xfer_shared_libraries_aix): Likewise.
4379 * gdbarch.c, gdbarch.h: Regenerated.
4380 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
4381 Change type of 'len' to ULONGEST.
4382 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4383 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
4385 2014-01-14 Yao Qi <yao@codesourcery.com>
4387 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
4388 type of 'len' to ULONGEST.
4389 (linux_xfer_osdata_processgroups): Likewise.
4390 (linux_xfer_osdata_threads): Likewise.
4391 (linux_xfer_osdata_fds): Likewise.
4392 (linux_xfer_osdata_isockets): Likewise.
4393 (linux_xfer_osdata_shm): Likewise.
4394 (linux_xfer_osdata_sem): Likewise.
4395 (linux_xfer_osdata_msg): Likewise.
4396 (linux_common_xfer_osdata): Likewise.
4397 (struct osdata_type) <getter>: Likewise.
4398 * common/linux-osdata.h (linux_common_xfer_osdata): Update
4401 2014-01-14 Yao Qi <yao@codesourcery.com>
4403 * target.h (target_xfer_partial_ftype): Update.
4404 (struct target_ops) <to_xfer_partial>: Change 'len' type to
4406 * aix-thread.c (aix_thread_xfer_partial): Change type of
4407 argument 'len' to ULONGEST.
4408 * auxv.c (procfs_xfer_auxv): Likewise.
4409 (ld_so_xfer_auxv): Likewise.
4410 (memory_xfer_auxv): Likewise.
4411 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4412 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4413 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4414 * corelow.c (core_xfer_partial): Likewise.
4415 * ctf.c (ctf_xfer_partial): Likewise.
4416 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
4418 (darwin_read_dyld_info): Likewise.
4419 (darwin_xfer_partial): Likewise.
4420 * exec.c (section_table_xfer_memory_partial): Likewise.
4421 (exec_xfer_partial): Likewise.
4422 * exec.h (section_table_xfer_memory_partial): Update
4424 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
4425 instead of plongest.
4426 (gnu_xfer_partial): Likewise.
4427 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
4428 (ia64_hpux_xfer_solib_got): Likewise.
4429 (ia64_hpux_xfer_partial): Likewise.
4430 * ia64-linux-nat.c (ia64_linux_xfer_partial):
4431 * inf-ptrace.c (inf_ptrace_xfer_partial):
4432 * inf-ttrace.c (inf_ttrace_xfer_partial):
4433 * linux-nat.c (linux_xfer_siginfo): Likewise.
4434 (linux_nat_xfer_partial): Likewise.
4435 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
4436 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
4437 * monitor.c (monitor_xfer_memory): Likewise.
4438 (monitor_xfer_partial): Likewise.
4439 * procfs.c (procfs_xfer_partial): Likewise.
4440 * record-full.c (record_full_xfer_partial): Likewise.
4441 (record_full_core_xfer_partial): Likewise.
4442 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
4443 instead of plongest.
4444 (gdbsim_xfer_partial): Likewise.
4445 * remote.c (remote_xfer_partial): Likewise.
4446 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4447 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4449 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4450 (rs6000_xfer_shared_libraries): Likewise.
4451 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4452 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4453 (sparc_xfer_partial): Likewise.
4454 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4455 (spu_xfer_partial): Likewise.
4456 * spu-multiarch.c (spu_xfer_partial): Likewise.
4457 * target.c (target_read_live_memory): Likewise.
4458 (memory_xfer_live_readonly_partial): Likewise.
4459 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
4460 (target_xfer_partial, default_xfer_partial): Likewise.
4461 (current_xfer_partial): Likewise.
4462 * tracepoint.c (tfile_xfer_partial): Likewise.
4463 * windows-nat.c (windows_xfer_memory): Likewise. Call
4464 pulongest instead of plongest.
4465 (windows_xfer_partial): Likewise.
4466 (windows_xfer_shared_libraries): Likewise.
4468 2014-01-14 Yao Qi <yao@codesourcery.com>
4470 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
4471 target_xfer_partial_ftype.
4473 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4477 * valops.c (value_struct_elt_bitpos): New function
4478 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
4479 object to 'None' if the field name is an empty string ("").
4480 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
4481 attribute to look for a field when 'name' is 'None'.
4482 (get_field_type): New function
4484 2014-01-13 Doug Evans <dje@google.com>
4487 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
4488 (try_open_dwop_file): Ditto.
4489 * gdb_bfd.c: #include "vec.h".
4490 (bfdp): New typedef.
4491 (struct gdb_bfd_data): New member included_bfds.
4492 (gdb_bfd_unref): Unref all included bfds.
4493 (gdb_bfd_record_inclusion): New function.
4494 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
4496 2014-01-13 Tom Tromey <tromey@redhat.com>
4498 * gdbcore.h (deprecated_core_resize_section_table): Remove.
4500 2014-01-13 Tom Tromey <tromey@redhat.com>
4502 * defs.h (use_windows): Remove.
4503 * gdb.c (main): Update.
4504 * main.c (captured_main, gdb_main): Update.
4505 * main.h (struct captured_main_args) <use_windows>: Remove.
4506 * top.c (use_windows): Remove.
4508 2014-01-13 Tom Tromey <tromey@redhat.com>
4510 * defs.h (deprecated_flush_hook): Remove.
4512 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4515 * linux-thread-db.c (try_thread_db_load): Add parameter
4516 check_auto_load_safe. Move here the file_is_auto_load_safe call.
4517 (try_thread_db_load_from_pdir_1): Move it there from here.
4518 (try_thread_db_load_from_sdir): Update caller.
4519 (try_thread_db_load_from_dir): Move it there from here.
4521 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
4523 * regformats/regdat.sh: Always rewrite the register file.
4525 2014-01-13 Pedro Alves <palves@redhat.com>
4527 * Makefile.in (CHECK_HEADERS): New variable.
4528 (check-headers:): New rule.
4530 2014-01-13 Tom Tromey <tromey@redhat.com>
4532 * cli/cli-setshow.c (do_set_command): Update.
4533 * defs.h (deprecated_set_hook): Remove.
4534 * top.c (deprecated_set_hook): Remove.
4536 2014-01-13 Pedro Alves <palves@redhat.com>
4538 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
4539 the tracepoint if the PC is a pseudo-register.
4541 2014-01-13 Tom Tromey <tromey@redhat.com>
4543 * defs.h (XCALLOC): Remove.
4544 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
4545 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
4546 * dwarf2loc.c (allocate_piece_closure): Likewise.
4547 * elfread.c (elf_symfile_segments): Likewise.
4548 (elf_symfile_segments): Likewise.
4549 * gdbtypes.c (copy_type_recursive): Likewise.
4550 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
4551 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
4552 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
4554 * mt-tdep.c (mt_gdbarch_init): Likewise.
4555 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
4557 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
4558 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
4559 * registry.c (registry_alloc_data): Likewise.
4560 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
4561 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
4562 * serial.c (serial_fdopen_ops): Likewise.
4563 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
4565 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
4566 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
4569 2014-01-13 Tom Tromey <tromey@redhat.com>
4571 * defs.h (XMALLOC): Remove.
4572 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
4573 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
4574 * cli-out.c (struct ui_out *): Likewise.
4575 * cli/cli-dump.c (add_dump_command): Likewise.
4576 (add_dump_command): Likewise.
4577 * complaints.c (get_complaints): Likewise.
4578 (find_complaint): Likewise.
4579 * dwarf2-frame.c (execute_cfa_program): Likewise.
4580 * dwarf2read.c (abbrev_table_read_table): Likewise.
4581 * gdbarch.sh: Likewise.
4582 * gdbarch.c: Rebuild.
4583 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
4584 * interps.c (interp_new): Likewise.
4585 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
4586 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
4587 * mi/mi-console.c (mi_console_file_new): Likewise.
4588 * mi/mi-interp.c (mi_interpreter_init): Likewise.
4589 * mi/mi-out.c (mi_out_new): Likewise.
4590 * mi/mi-parse.c (mi_parse): Likewise.
4591 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
4592 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
4593 * observer.c (xalloc_observer_list_node): Likewise.
4594 * regcache.c (regcache_xmalloc_1): Likewise.
4595 * reggroups.c (reggroup_new): Likewise.
4596 (_initialize_reggroup): Likewise.
4597 * registry.c (register_data_with_cleanup): Likewise.
4598 * remote.c (remote_notif_stop_alloc_reply): Likewise.
4599 * ser-base.c (serial_ttystate): Likewise.
4600 * ser-mingw.c (make_pipe_state): Likewise.
4601 * ser-pipe.c (pipe_open): Likewise.
4602 * serial.c (serial_open): Likewise.
4603 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
4604 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
4605 (tui_alloc_win_info): Likewise.
4606 (tui_add_content_elements): Likewise.
4607 * tui/tui-file.c (tui_file_new): Likewise.
4608 * tui/tui-out.c (tui_out_new): Likewise.
4609 * ui-file.c (mem_file_new): Likewise.
4610 * ui-out.c (push_level): Likewise.
4611 (make_cleanup_ui_out_end): Likewise.
4612 (append_header_to_list): Likewise.
4613 (ui_out_new): Likewise.
4614 * user-regs.c (user_reg_add_builtin): Likewise.
4616 2014-01-13 Tom Tromey <tromey@redhat.com>
4618 * defs.h (XZALLOC): Remove.
4619 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
4620 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
4621 (get_ada_tasks_inferior_data): Likewise.
4622 * auto-load.c (get_auto_load_pspace_data): Likewise.
4623 * auxv.c (get_auxv_inferior_data): Likewise.
4624 * bfd-target.c (target_bfd_reopen): Likewise.
4625 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
4626 (deprecated_insert_raw_breakpoint): Likewise.
4627 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
4628 * corelow.c (core_open): Likewise.
4629 * darwin-nat.c (darwin_check_new_threads): Likewise.
4630 (darwin_attach_pid): Likewise.
4631 * dummy-frame.c (dummy_frame_push): Likewise.
4632 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
4633 * dwarf2loc.c (allocate_piece_closure): Likewise.
4634 * elfread.c (elf_symfile_segments): Likewise.
4635 * eval.c (ptrmath_type_p): Likewise.
4636 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
4637 * gdbtypes.c (alloc_type_arch): Likewise.
4638 (alloc_type_instance): Likewise.
4639 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
4640 * inf-child.c (inf_child_can_use_agent): Likewise.
4641 * inflow.c (get_inflow_inferior_data): Likewise.
4642 * infrun.c (save_infcall_suspend_state): Likewise.
4643 * jit.c (jit_reader_load): Likewise.
4644 (get_jit_objfile_data): Likewise.
4645 (get_jit_program_space_data): Likewise.
4646 (jit_object_open_impl): Likewise.
4647 (jit_symtab_open_impl): Likewise.
4648 (jit_block_open_impl): Likewise.
4649 (jit_frame_sniffer): Likewise.
4650 * linux-fork.c (add_fork): Likewise.
4651 * maint.c (make_command_stats_cleanup): Likewise.
4652 * objfiles.c (get_objfile_pspace_data): Likewise.
4653 * opencl-lang.c (struct lval_closure): Likewise.
4654 * osdata.c (osdata_start_osdata): Likewise.
4655 * progspace.c (new_address_space): Likewise.
4656 (add_program_space): Likewise.
4657 * remote-sim.c (get_sim_inferior_data): Likewise.
4658 * sh-tdep.c (sh_gdbarch_init): Likewise.
4659 * skip.c (Ignore): Likewise.
4660 (skip_delete_command): Likewise.
4661 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4662 (library_list_start_library): Likewise.
4663 (solib_aix_current_sos): Likewise.
4664 * solib-darwin.c (get_darwin_info): Likewise.
4665 (darwin_current_sos): Likewise.
4666 * solib-dsbt.c (get_dsbt_info): Likewise.
4667 * solib-ia64-hpux.c (new_so_list): Likewise.
4668 (ia64_hpux_get_solib_linkage_addr): Likewise.
4669 * solib-spu.c (append_ocl_sos): Likewise.
4670 (spu_current_sos): Likewise.
4671 * solib-svr4.c (get_svr4_info): Likewise.
4672 (svr4_keep_data_in_core): Likewise.
4673 (library_list_start_library): Likewise.
4674 (svr4_default_sos): Likewise.
4675 (svr4_read_so_list): Likewise.
4676 * solib-target.c (library_list_start_library): Likewise.
4677 (solib_target_current_sos): Likewise.
4678 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4679 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4680 * symfile.c (default_symfile_segments): Likewise.
4681 * target-descriptions.c (tdesc_data_init): Likewise.
4682 (tdesc_create_reg): Likewise.
4683 (struct tdesc_type *): Likewise.
4684 (tdesc_create_vector): Likewise.
4685 (tdesc_set_struct_size): Likewise.
4686 (struct tdesc_type *): Likewise.
4687 (tdesc_free_feature): Likewise.
4688 (tdesc_create_feature): Likewise.
4689 * windows-nat.c (windows_add_thread): Likewise.
4690 (windows_make_so): Likewise.
4691 * xml-support.c (gdb_xml_body_text): Likewise.
4692 (gdb_xml_create_parser_and_cleanup): Likewise.
4693 (xml_process_xincludes): Likewise.
4694 * xml-syscall.c (allocate_syscalls_info): Likewise.
4695 (syscall_create_syscall_desc): Likewise.
4697 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4699 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4700 function, with code from i386_stap_parse_special_token.
4701 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4702 (i386_stap_parse_special_token): Move code to the two functions
4705 2014-01-09 Pedro Alves <palves@redhat.com>
4706 Hui Zhu <hui@codesourcery.com>
4709 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4710 bp_err_string. Don't mark the location shlib_disabled if the
4711 error thrown wasn't a generic or memory error. Catch errors
4712 thrown while inserting breakpoints in overlayed code. Output
4713 error message of software breakpoints.
4714 * remote.c (remote_insert_breakpoint): If this breakpoint has
4715 target-side commands but this stub doesn't support Z0 packets,
4716 throw NOT_SUPPORTED_ERROR error.
4717 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4718 * target.h (target_insert_breakpoint): Extend comment.
4719 (target_insert_hw_breakpoint): Add comment.
4721 2014-01-08 Pedro Alves <palves@redhat.com>
4723 * remote.c (remote_add_thread): Add threads silently if starting
4725 (remote_notice_new_inferior): If in all-stop, and starting up,
4726 don't call notice_new_inferior.
4727 (get_current_thread): New function, factored out from ...
4728 (add_current_inferior_and_thread): ... this. Adjust.
4729 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4730 found any thread, then select the remote's current thread as GDB's
4733 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4735 * NEWS: Create a new section for the next release branch.
4736 Rename the section of the current branch, now that it has
4739 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4741 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4742 * version.in: Bump version to 7.7.50.DATE-cvs.
4744 2014-01-08 Yao Qi <yao@codesourcery.com>
4746 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4747 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4748 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4750 2014-01-08 Yao Qi <yao@codesourcery.com>
4752 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4753 return value of bfd_get_filename to symbol_file_add_from_bfd.
4755 2014-01-08 Pierre Muller <muller@sourceware.org>
4758 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4759 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4760 to prim_record_mininal_symbol_and_info.
4761 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4762 in call to prim_record_minimal_symbol_and_info.
4763 (read_pe_exported_syms): Set index field of section_data.
4765 2014-01-07 Andrew Pinski <apinski@cavium.com>
4767 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4768 * features/aarch64.c: Regenerate.
4770 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4772 * target.c (return_null): Define.
4773 (update_current_target): Use it instead of return_zero for
4774 functions that return a pointer.
4776 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4778 * source.c (add_path): Fix check for duplicated paths in the previously
4781 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4783 * ada-lang.c: Remove duplicated include statements.
4784 * alphabsd-nat.c: Ditto.
4785 * amd64-darwin-tdep.c: Ditto.
4786 * amd64fbsd-nat.c: Ditto.
4787 * auto-load.c: Ditto.
4789 * breakpoint.c: Ditto.
4791 * fork-child.c: Ditto.
4792 * gdb_usleep.c: Ditto.
4793 * i386-darwin-tdep.c: Ditto.
4794 * i386fbsd-nat.c: Ditto.
4796 * inferior.c: Ditto.
4798 * linux-nat.c: Ditto.
4799 * linux-tdep.c: Ditto.
4800 * m68kbsd-nat.c: Ditto.
4801 * m68klinux-nat.c: Ditto.
4802 * microblaze-tdep.c: Ditto.
4803 * mips-linux-tdep.c: Ditto.
4804 * mn10300-tdep.c: Ditto.
4805 * nto-tdep.c: Ditto.
4806 * opencl-lang.c: Ditto.
4808 * printcmd.c: Ditto.
4809 * regcache.c: Ditto.
4810 * remote-m32r-sdi.c: Ditto.
4814 * tilegx-linux-nat.c: Ditto.
4815 * tilegx-tdep.c: Ditto.
4816 * tracepoint.c: Ditto.
4818 * vaxbsd-nat.c: Ditto.
4819 * windows-nat.c: Ditto.
4820 * xtensa-tdep.c: Ditto.
4822 2014-01-07 Yao Qi <yao@codesourcery.com>
4824 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4826 2014-01-07 Yao Qi <yao@codesourcery.com>
4827 Joel Brobecker <brobecker@adacore.com>
4829 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4830 (pdc_write_regs): Likewise.
4831 (fetch_regs_kernel_thread): Likewise.
4832 (store_regs_kernel_thread): Likewise.
4834 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4836 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4837 tagged type objects to their actual type.
4839 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4841 * ada-valprint.c (print_field_values): Add "language" parameter.
4842 Update calls to print_field_values and print_variant_part.
4843 Pass new parameter "language" in call to val_print instead
4844 of "current_language". Replace call to ada_val_print by call
4846 (print_variant_part): Add "language" parameter.
4847 (ada_val_print_struct_union): Update call to print_field_values.
4849 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4851 * ada-valprint.c (ui_memcpy): Delete.
4852 (ada_print_floating): Update documentation. Add empty line
4853 between between function documentation and implementation.
4854 Delete variable "buffer". Use ui_file_xstrdup in place of
4855 ui_file_put. Minor adjustments following this change.
4857 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4859 * ada-valprint.c (ada_val_print_string): New function,
4860 extracted from ada_val_print_array.
4861 (ada_val_print_array): Replace extracted code by call
4862 to ada_val_print_string followed by a return. Move
4863 "else" branch to the function's top block.
4865 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4867 * ada-valprint.c (ada_val_print_array): Move implementation
4868 down. Rename parameter "offset" and "val" into "offset_aligned"
4869 and "original_value" respectively. Add parameter "offset".
4871 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4873 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4874 re-organizing the code. Change the "???" message printed
4875 when target type is a TYPE_CODE_UNDEF into
4876 "<ref to undefined type>".
4878 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4880 * ada-valprint.c (print_record): Delete, implementation inlined...
4881 (ada_val_print_struct_union): ... here. Remove call to
4882 ada_check_typedef in inlined implementation.
4884 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4886 * ada-valprint.c (ada_val_print_gnat_array): New function,
4887 extracted from ada_val_print_1;
4888 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4889 (ada_val_print_flt, ada_val_print_struct_union)
4890 (ada_val_print_ref): Likewise.
4891 (ada_val_print_1): Delete variables i and elttype.
4892 Replace extracted-out code by call to corresponding
4895 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4897 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4899 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4901 * ada-valprint.c (ada_val_print_1): Replace calls to
4902 ada_val_print_1 by calls to val_print.
4904 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4906 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4907 Update calls to self accordingly. Replace calls to c_val_print
4908 by calls to val_print.
4910 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4912 * ada-valprint.c (print_record): Delete declaration.
4913 (adjust_type_signedness, ada_val_print_1): Likewise.
4914 (ada_val_print): Move function implementation down.
4915 (print_variant_part, print_field_values, print_record):
4916 Move function implementation up.
4918 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4920 * python/py-type.c (typy_get_name): New function.
4921 (type_object_getset): Add entry for attribute "name".
4922 * NEWS: Add entry mentioning this new attribute.
4924 2014-01-07 Yao Qi <yao@codesourcery.com>
4926 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
4929 2014-01-07 Yao Qi <yao@codesourcery.com>
4931 * gnu-nat.c (info_port_rights): Add qualifier const to
4934 2014-01-07 Yao Qi <yao@codesourcery.com>
4936 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
4938 2014-01-07 Yao Qi <yao@codesourcery.com>
4940 * gnu-nat.c (make_inf) Update declaration.
4941 (make_inf): Make it static.
4942 (inf_set_traced): Likewise.
4943 (inf_port_to_thread, inf_task_died_status): Likewise.
4945 2014-01-07 Yao Qi <yao@codesourcery.com>
4947 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
4949 2014-01-07 Yao Qi <yao@codesourcery.com>
4951 * gnu-nat.c (_initialize_gnu_nat): Declare.
4953 2014-01-07 Yao Qi <yao@codesourcery.com>
4955 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
4957 (struct gdbarch_info) <byte_order>: Change type to
4959 <byte_order_for_code>: Likewise.
4960 * gdbarch.c, gdbarch.h: Regenerated.
4962 2014-01-06 Sasha Smundak <asmundak@google.com>
4964 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
4966 2014-01-06 Tom Tromey <tromey@redhat.com>
4968 * doublest.c (convert_doublest_to_floatformat): Use const, not
4970 * somread.c (som_symtab_read): Likewise.
4972 2014-01-07 Hui Zhu <hui@codesourcery.com>
4974 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
4975 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
4976 (gdb_bfd_fopen): Ditto.
4977 (gdb_bfd_openr): Ditto.
4978 (gdb_bfd_openw): Ditto.
4979 (gdb_bfd_openr_iovec): Ditto.
4980 (gdb_bfd_fdopenr): Ditto.
4981 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
4982 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
4984 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
4986 * symfile-mem.c (symbol_file_add_from_memory): Removed
4987 gdb_bfd_stash_filename.
4989 2014-01-03 Doug Evans <dje@google.com>
4991 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
4994 2014-01-01 Joel Brobecker <brobecker@adacore.com>
4996 Update year range in copyright notice of all files.
4998 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5000 * top.c (print_gdb_version): Set copyright year to 2014.
5002 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5004 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
5006 For older changes see ChangeLog-2013.
5012 version-control: never