1 2014-02-23 Yao Qi <yao@codesourcery.com>
5 2013-10-25 Yao Qi <yao@codesourcery.com>
7 * remote.c (remote_traceframe_info): Return early if
8 traceframe is not selected.
10 2013-07-19 Yao Qi <yao@codesourcery.com>
12 * target.c (update_current_target): Change the default action
13 of 'to_traceframe_info' from tcomplain to return_zero.
14 * target.h (struct target_ops) <to_traceframe_info>: Add more
17 2014-02-23 Yao Qi <yao@codesourcery.com>
19 * valops.c (read_value_memory): Rewrite it. Call
20 target_xfer_partial in a loop.
21 * exec.h (section_table_available_memory): Remove declaration.
23 * exec.c (section_table_available_memory): ... here. Make it
26 2014-02-23 Yao Qi <yao@codesourcery.com>
28 * exec.c (section_table_read_available_memory): New function.
29 * exec.h (section_table_read_available_memory): Declare.
30 * ctf.c (ctf_xfer_partial): Call
31 section_table_read_available_memory.
32 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
34 2014-02-23 Yao Qi <yao@codesourcery.com>
36 * ctf.c (ctf_xfer_partial): Move code to ...
37 * exec.c (exec_read_partial_read_only): ... it. New function.
38 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
39 * tracefile.c: Include "exec.h".
40 * exec.h (exec_read_partial_read_only): Declare.
42 2014-02-23 Yao Qi <yao@codesourcery.com>
44 * tracefile-tfile.c (tfile_has_all_memory): Remove.
45 (tfile_has_memory): Remove.
46 (init_tfile_ops): Don't set fields to_has_all_memory and
47 to_has_memory of tfile_ops.
48 * tracefile.c (tracefile_has_all_memory): New function.
49 (tracefile_has_memory): New function.
50 (init_tracefile_ops): Initialize fields to_has_all_memory and
51 to_has_memory of 'ops'.
53 2014-02-23 Yao Qi <yao@codesourcery.com>
55 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
56 (ctf_thread_alive, ctf_get_trace_status): Remove.
57 (init_ctf_ops): Don't set some fields of ctf_ops. Call
59 * tracefile-tfile.c (tfile_get_trace_status): Remove.
60 (tfile_has_stack, tfile_has_registers): Remove.
61 (tfile_thread_alive): Remove.
62 (init_tfile_ops): Don't set some fields of tfile_ops. Call
64 * tracefile.c (tracefile_has_stack): New function.
65 (tracefile_has_registers): New function.
66 (tracefile_thread_alive): New function.
67 (tracefile_get_trace_status): New function.
68 (init_tracefile_ops): New function.
69 * tracefile.h (init_tracefile_ops): Declare.
71 2014-02-23 Yao Qi <yao@codesourcery.com>
73 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
74 (O_LARGEFILE): Likewise.
75 (tfile_ops): Likewise.
76 (TRACE_HEADER_SIZE): Likewise.
77 (trace_fd, trace_frames_offset, cur_offset): Likewise.
78 (cur_data_size): Likewise.
79 (tfile_read, tfile_open, tfile_interp_line): Likewise.
80 (tfile_close, tfile_files_info): Likewise.
81 (tfile_get_trace_status): Likewise.
82 (tfile_get_tracepoint_status): Likewise.
83 (tfile_get_traceframe_address): Likewise.
84 (tfile_trace_find, match_blocktype): Likewise.
85 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
86 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
87 (tfile_get_trace_state_variable_value): Likewise.
88 (tfile_has_all_memory, tfile_has_memory): Likewise.
89 (tfile_has_stack, tfile_has_registers): Likewise.
90 (tfile_thread_alive, build_traceframe_info): Likewise.
91 (tfile_traceframe_info, init_tfile_ops): Likewise.
92 (_initialize_tracepoint): Don't call init_tfile_ops
93 and add_target_with_completer.
94 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
95 exec.h, completer.h and filenames.h.
96 (_initialize_tracefile_tfile): New function.
98 2014-02-23 Yao Qi <yao@codesourcery.com>
100 * Makefile.in (REMOTE_OBS): Append tracefile.o and
102 (HFILES_NO_SRCDIR): Add tracefile.h.
103 * ctf.c: Include "tracefile.h".
104 * tracefile.h: New file.
105 * tracefile.c: New file
106 * tracefile-tfile.c: New file.
107 * tracepoint.c: Include "tracefile.h".
108 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
109 (stop_reason_names): Add const.
110 (trace_file_writer_xfree): Move it to tracefile.c.
111 (trace_save, trace_save_command, trace_save_tfile): Likewise.
112 (trace_save_ctf): Likewise.
113 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
114 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
115 (tfile_write_header, tfile_write_regblock_type): Likewise.
116 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
117 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
118 (tfile_write_raw_data, tfile_end): Likewise.
119 (tfile_trace_file_writer_new): Likewise.
120 (free_uploaded_tp): Make it extern.
121 (free_uploaded_tsv): Make it extern.
122 (_initialize_tracepoint): Move code to register command 'tsave'
124 * tracepoint.h (stop_reason_names): Declare.
125 (struct trace_frame_write_ops): Move it to tracefile.h.
126 (struct trace_file_write_ops): Likewise.
127 (struct trace_file_writer): Likewise.
128 (free_uploaded_tsvs, free_uploaded_tps): Declare.
130 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
133 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
135 (get_cores_used_by_process): New parameter num_cores, use it.
136 (linux_xfer_osdata_processes): Pass num_cores to it.
137 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
140 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
142 * target.c (memory_xfer_partial): Fix length arg in call to
143 breakpoint_xfer_memory.
145 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
148 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
149 number comes after the + or - signs. Adjust length of register
150 name to be extracted.
152 2014-02-20 Tom Tromey <tromey@redhat.com>
154 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
155 (ada_varobj_ops): Mark "extern".
157 2014-02-20 Tom Tromey <tromey@redhat.com>
159 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
161 2014-02-20 Doug Evans <xdje42@gmail.com>
163 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
165 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
167 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
168 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
170 2014-02-20 lin zuojian <manjian2006@gmail.com>
171 Joel Brobecker <brobecker@adacore.com>
172 Doug Evans <xdje42@gmail.com>
175 * dwarf2read.c (struct die_info): New member in_process.
176 (reset_die_in_process): New function.
177 (process_die): Set it at the start, reset when returning.
178 (inherit_abstract_dies): Only call process_die if origin_child_die
179 not already being processed.
181 2014-02-20 Joel Brobecker <brobecker@adacore.com>
183 * windows-nat.c (handle_unload_dll): Add function documentation.
184 (do_initial_windows_stuff): Add comment explaining why we wait
185 until after inferior initialization has finished before
188 2014-02-20 Joel Brobecker <brobecker@adacore.com>
190 * windows-nat.c (get_module_name): Delete.
191 (windows_get_exec_module_filename): New function, mostly
192 inspired from get_module_name.
193 (windows_pid_to_exec_file): Replace call to get_module_name
194 by call to windows_get_exec_module_filename.
196 2014-02-20 Joel Brobecker <brobecker@adacore.com>
198 * windows-nat.c (handle_load_dll): Rewrite this function's
199 introductory comment. Remove code using get_module_name
200 to get the DLL's name.
202 2014-02-20 Joel Brobecker <brobecker@adacore.com>
204 * windows-nat.c (get_windows_debug_event): Ignore
205 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
206 if windows_initialization_done == 0.
207 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
208 Adjust implementation to always load all DLLs.
209 (do_initial_windows_stuff): Replace call to
210 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
212 2014-02-20 Joel Brobecker <brobecker@adacore.com>
214 * windows-nat.c (_initialize_windows_nat): Deprecate the
215 "dll-symbols" command. Turn the "add-shared-symbol-files"
216 and "assf" aliases into commands, and deprecate them as well.
217 * NEWS: Add entry explaining that "dll-symbols" and its two
218 aliases are now deprecated.
220 2014-02-20 Joel Brobecker <brobecker@adacore.com>
222 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
223 new-line in debug string. Remove trailing spaces.
225 2014-02-19 Stan Shebs <stan@codesourcery.com>
227 * darwin-nat.c (darwin_xfer_partial): Fix return type.
229 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
231 * NEWS: Add entry for the new feature
232 * python/py-value.c (valpy_binop): Call value_x_binop for struct
235 2014-02-19 Stan Shebs <stan@codesourcery.com>
237 * MAINTAINERS: List Yao Qi as nios2 maintainer.
239 2014-02-19 Pedro Alves <palves@redhat.com>
241 * common/ptid.h (struct ptid): Mention that process_stratum
242 targets should prefer ptid.lwp.
244 2014-02-19 Pedro Alves <palves@redhat.com>
246 * remote.c (remote_thread_alive, write_ptid, read_ptid)
247 (read_ptid, remote_newthread_step, remote_threads_extra_info)
248 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
249 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
250 store remote thread ids rather than ptid.tid.
251 (_initialize_remote): Adjust.
253 2014-02-19 Tom Tromey <tromey@redhat.com>
255 * target.c (target_get_unwinder): Rewrite.
256 (target_get_tailcall_unwinder): Rewrite.
257 * record-btrace.c (record_btrace_to_get_unwinder): New function.
258 (record_btrace_to_get_tailcall_unwinder): New function.
259 (init_record_btrace_ops): Update.
260 * target.h (struct target_ops) <to_get_unwinder,
261 to_get_tailcall_unwinder>: Now function pointers. Use
262 TARGET_DEFAULT_RETURN.
264 2014-02-19 Tom Tromey <tromey@redhat.com>
266 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
268 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
270 2014-02-19 Tom Tromey <tromey@redhat.com>
272 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
274 * target-delegates.c: Rebuild.
275 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
277 * target.c (default_target_decr_pc_after_break): Rename from
278 forward_target_decr_pc_after_break. Simplify.
279 (target_decr_pc_after_break): Rely on delegation.
281 2014-02-19 Tom Tromey <tromey@redhat.com>
283 * target.c (update_current_target): Do not INHERIT to_doc or
284 to_magic. Do not de_fault to_open or to_close.
286 2014-02-19 Tom Tromey <tromey@redhat.com>
288 * gcore.h (objfile_find_memory_regions): Declare.
289 * gcore.c (objfile_find_memory_regions): No longer static. Add
291 (_initialize_gcore): Don't call exec_set_find_memory_regions.
292 * exec.c: Include gcore.h.
293 (exec_set_find_memory_regions): Remove.
294 (exec_find_memory_regions): Remove.
295 (exec_do_find_memory_regions): Remove.
296 (init_exec_ops): Update.
297 * defs.h (exec_set_find_memory_regions): Remove.
299 2014-02-19 Tom Tromey <tromey@redhat.com>
301 * target-delegates.c: Rebuild.
302 * target.h (struct target_ops) <to_extra_thread_info,
303 to_thread_name, to_pid_to_exec_file, to_get_section_table,
304 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
305 not 0, in TARGET_DEFAULT_RETURN.
307 2014-02-19 Tom Tromey <tromey@redhat.com>
309 * target.c (complete_target_initialization): Remove casts. Use
310 return_zero_has_execution.
311 (return_zero): Add "ignore" argument.
312 (return_zero_has_execution): New function.
313 (init_dummy_target): Remove casts. Use
314 return_zero_has_execution.
316 2014-02-19 Tom Tromey <tromey@redhat.com>
318 * target.c (update_current_target): Update comments. Do not
321 2014-02-19 Tom Tromey <tromey@redhat.com>
323 * arm-linux-nat.c (arm_linux_read_description): Delegate when
325 * corelow.c (core_read_description): Delegate when needed.
326 * remote.c (remote_read_description): Delegate when needed.
327 * target-delegates.c: Rebuild.
328 * target.c (target_read_description): Rewrite.
329 * target.h (struct target_ops) <to_read_description>: Update
330 comment. Use TARGET_DEFAULT_RETURN.
332 2014-02-19 Tom Tromey <tromey@redhat.com>
334 * target-delegates.c: Rebuild.
335 * target.c (update_current_target): Don't inherit or default
337 (find_default_run_target): Check against delegate_can_run.
338 * target.h (struct target_ops) <to_can_run>: Use
339 TARGET_DEFAULT_RETURN.
341 2014-02-19 Tom Tromey <tromey@redhat.com>
343 * target-delegates.c: Rebuild.
344 * target.c (target_disconnect): Unconditionally delegate.
345 * target.h (struct target_ops) <to_disconnect>: Use
346 TARGET_DEFAULT_NORETURN.
348 2014-02-19 Tom Tromey <tromey@redhat.com>
350 * record.c (record_stop): Unconditionally delegate.
351 * target-delegates.c: Rebuild.
352 * target.c (target_stop_recording): Unconditionally delegate.
353 * target.h (struct target_ops) <to_stop_recording>: Use
354 TARGET_DEFAULT_IGNORE.
356 2014-02-19 Tom Tromey <tromey@redhat.com>
358 * target-delegates.c: Rebuild.
359 * target.c (target_enable_btrace): Unconditionally delegate.
360 * target.h (struct target_ops) <to_enable_btrace>: Use
361 TARGET_DEFAULT_NORETURN.
363 2014-02-19 Tom Tromey <tromey@redhat.com>
365 * target-delegates.c: Rebuild.
366 * target.c (target_read_btrace): Unconditionally delegate.
367 * target.h (struct target_ops) <to_read_btrace>: Use
368 TARGET_DEFAULT_NORETURN.
370 2014-02-19 Tom Tromey <tromey@redhat.com>
372 * target-delegates.c: Rebuild.
373 * target.c (target_teardown_btrace): Unconditionally delegate.
374 * target.h (struct target_ops) <to_teardown_btrace>: Use
375 TARGET_DEFAULT_NORETURN.
377 2014-02-19 Tom Tromey <tromey@redhat.com>
379 * target-delegates.c: Rebuild.
380 * target.c (target_disable_btrace): Unconditionally delegate.
381 * target.h (struct target_ops) <to_disable_btrace>: Use
382 TARGET_DEFAULT_NORETURN.
384 2014-02-19 Tom Tromey <tromey@redhat.com>
386 * target-delegates.c: Rebuild.
387 * target.c (default_search_memory): New function.
388 (simple_search_memory): Update comment.
389 (target_search_memory): Unconditionally delegate.
390 * target.h (struct target_ops) <to_search_memory>: Use
393 2014-02-19 Tom Tromey <tromey@redhat.com>
395 * auxv.c (default_auxv_parse): No longer static.
396 (target_auxv_parse): Unconditionally delegate.
397 * auxv.h (default_auxv_parse): Declare.
398 * target-delegates.c: Rebuild.
399 * target.c: Include auxv.h.
400 * target.h (struct target_ops) <to_auxv_parse>: Use
403 2014-02-19 Tom Tromey <tromey@redhat.com>
405 * target-delegates.c: Rebuild.
406 * target.c (target_memory_map): Unconditionally delegate.
407 * target.h (struct target_ops) <to_memory_map>: Use
408 TARGET_DEFAULT_RETURN.
410 2014-02-19 Tom Tromey <tromey@redhat.com>
412 * target-delegates.c: Rebuild.
413 * target.c (target_thread_alive): Unconditionally delegate.
414 * target.h (struct target_ops) <to_thread_alive>: Use
415 TARGET_DEFAULT_RETURN.
417 2014-02-19 Tom Tromey <tromey@redhat.com>
419 * target-delegates.c: Rebuild.
420 * target.c (target_save_record): Unconditionally delegate.
421 * target.h (struct target_ops) <to_save_record>: Use
422 TARGET_DEFAULT_NORETURN.
424 2014-02-19 Tom Tromey <tromey@redhat.com>
426 * target-delegates.c: Rebuild.
427 * target.c (target_delete_record): Unconditionally delegate.
428 * target.h (struct target_ops) <to_delete_record>: Use
429 TARGET_DEFAULT_NORETURN.
431 2014-02-19 Tom Tromey <tromey@redhat.com>
433 * target-delegates.c: Rebuild.
434 * target.c (target_record_is_replaying): Unconditionally
436 * target.h (struct target_ops) <to_record_is_replaying>: Use
437 TARGET_DEFAULT_RETURN.
439 2014-02-19 Tom Tromey <tromey@redhat.com>
441 * target-delegates.c: Rebuild.
442 * target.c (target_goto_record_begin): Unconditionally delegate.
443 * target.h (struct target_ops) <to_goto_record_begin>: Use
444 TARGET_DEFAULT_NORETURN.
446 2014-02-19 Tom Tromey <tromey@redhat.com>
448 * target-delegates.c: Rebuild.
449 * target.c (target_goto_record_end): Unconditionally delegate.
450 * target.h (struct target_ops) <to_goto_record_end>: Use
451 TARGET_DEFAULT_NORETURN.
453 2014-02-19 Tom Tromey <tromey@redhat.com>
455 * target-delegates.c: Rebuild.
456 * target.c (target_goto_record): Unconditionally delegate.
457 * target.h (struct target_ops) <to_goto_record>: Use
458 TARGET_DEFAULT_NORETURN.
460 2014-02-19 Tom Tromey <tromey@redhat.com>
462 * target-delegates.c: Rebuild.
463 * target.c (target_insn_history): Unconditionally delegate.
464 * target.h (struct target_ops) <to_insn_history>: Use
465 TARGET_DEFAULT_NORETURN.
467 2014-02-19 Tom Tromey <tromey@redhat.com>
469 * target-delegates.c: Rebuild.
470 * target.c (target_insn_history_from): Unconditionally delegate.
471 * target.h (struct target_ops) <to_insn_history_from>: Use
472 TARGET_DEFAULT_NORETURN.
474 2014-02-19 Tom Tromey <tromey@redhat.com>
476 * target-delegates.c: Rebuild.
477 * target.c (target_insn_history_range): Unconditionally delegate.
478 * target.h (struct target_ops) <to_insn_history_range>: Use
479 TARGET_DEFAULT_NORETURN.
481 2014-02-19 Tom Tromey <tromey@redhat.com>
483 * target-delegates.c: Rebuild.
484 * target.c (target_call_history): Unconditionally delegate.
485 * target.h (struct target_ops) <to_call_history>: Use
486 TARGET_DEFAULT_NORETURN.
488 2014-02-19 Tom Tromey <tromey@redhat.com>
490 * target-delegates.c: Rebuild.
491 * target.c (target_call_history_from): Unconditionally delegate.
492 * target.h (struct target_ops) <to_call_history_from>: Use
493 TARGET_DEFAULT_NORETURN.
495 2014-02-19 Tom Tromey <tromey@redhat.com>
497 * target-delegates.c: Rebuild.
498 * target.c (target_call_history_range): Unconditionally delegate.
499 * target.h (struct target_ops) <to_call_history_range>: Use
500 TARGET_DEFAULT_NORETURN.
502 2014-02-19 Tom Tromey <tromey@redhat.com>
504 * target-delegates.c: Rebuild.
505 * target.c (target_verify_memory): Unconditionally delegate.
506 * target.h (struct target_ops) <to_verify_memory>: Use
507 TARGET_DEFAULT_NORETURN.
509 2014-02-19 Tom Tromey <tromey@redhat.com>
511 * target-delegates.c: Rebuild.
512 * target.c (target_core_of_thread): Unconditionally delegate.
513 * target.h (struct target_ops) <to_core_of_thread>: Use
514 TARGET_DEFAULT_RETURN.
516 2014-02-19 Tom Tromey <tromey@redhat.com>
518 * target-delegates.c: Rebuild.
519 * target.c (target_flash_done): Unconditionally delegate.
520 * target.h (struct target_ops) <to_flash_done>: Use
521 TARGET_DEFAULT_NORETURN.
523 2014-02-19 Tom Tromey <tromey@redhat.com>
525 * target-delegates.c: Rebuild.
526 * target.c (target_flash_erase): Unconditionally delegate.
527 * target.h (struct target_ops) <to_flash_erase>: Use
528 TARGET_DEFAULT_NORETURN.
530 2014-02-19 Tom Tromey <tromey@redhat.com>
532 * target-delegates.c: Rebuild.
533 * target.c (target_get_section_table): Unconditionally delegate.
534 * target.h (struct target_ops) <to_get_section_table>: Use
535 TARGET_DEFAULT_RETURN.
537 2014-02-19 Tom Tromey <tromey@redhat.com>
539 * target-delegates.c: Rebuild.
540 * target.c (target_pid_to_str): Unconditionally delegate.
541 (init_dummy_target): Don't initialize to_pid_to_str.
542 (default_pid_to_str): Rename from dummy_pid_to_str.
543 * target.h (struct target_ops) <to_pid_to_str>: Use
546 2014-02-19 Tom Tromey <tromey@redhat.com>
548 * target-delegates.c: Rebuild.
549 * target.c (target_find_new_threads): Unconditionally delegate.
550 * target.h (struct target_ops) <to_find_new_threads>: Use
551 TARGET_DEFAULT_RETURN.
553 2014-02-19 Tom Tromey <tromey@redhat.com>
555 * target-delegates.c: Rebuild.
556 * target.c (target_program_signals): Unconditionally delegate.
557 * target.h (struct target_ops) <to_program_signals>: Use
558 TARGET_DEFAULT_IGNORE.
560 2014-02-19 Tom Tromey <tromey@redhat.com>
562 * target-delegates.c: Rebuild.
563 * target.c (target_pass_signals): Unconditionally delegate.
564 * target.h (struct target_ops) <to_pass_signals>: Use
565 TARGET_DEFAULT_IGNORE.
567 2014-02-19 Tom Tromey <tromey@redhat.com>
569 * target-delegates.c: Rebuild.
570 * target.c (default_mourn_inferior): New function.
571 (target_mourn_inferior): Unconditionally delegate.
572 * target.h (struct target_ops) <to_mourn_inferior>: Use
575 2014-02-19 Tom Tromey <tromey@redhat.com>
577 * target-delegates.c: Rebuild.
578 * target.c (default_follow_fork): New function.
579 (target_follow_fork): Unconditionally delegate.
580 * target.h (struct target_ops) <to_follow_fork>: Use
583 2014-02-19 Tom Tromey <tromey@redhat.com>
585 * target-delegates.c: Rebuild.
586 * target.c (target_kill): Unconditionally delegate.
587 * target.h (struct target_ops) <to_kill>: Use
588 TARGET_DEFAULT_NORETURN.
590 2014-02-19 Tom Tromey <tromey@redhat.com>
592 * target-delegates.c: Rebuild.
593 * target.c (target_masked_watch_num_registers): Unconditionally
595 * target.h (struct target_ops) <to_masked_watch_num_registers>:
596 Use TARGET_DEFAULT_RETURN.
598 2014-02-19 Tom Tromey <tromey@redhat.com>
600 * target-delegates.c: Rebuild.
601 * target.c (target_remove_mask_watchpoint): Unconditionally
603 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
604 TARGET_DEFAULT_RETURN.
606 2014-02-19 Tom Tromey <tromey@redhat.com>
608 * target-delegates.c: Rebuild.
609 * target.c (target_insert_mask_watchpoint): Unconditionally
611 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
612 TARGET_DEFAULT_RETURN.
614 2014-02-19 Tom Tromey <tromey@redhat.com>
616 * target-delegates.c: Rebuild.
617 * target.c (target_ranged_break_num_registers): Unconditionally
619 * target.h (struct target_ops) <to_ranged_break_num_registers>:
620 Use TARGET_DEFAULT_RETURN.
622 2014-02-19 Tom Tromey <tromey@redhat.com>
624 * target-delegates.c: Rebuild.
625 * target.c (target_fetch_registers): Unconditionally delegate.
626 * target.h (struct target_ops) <to_fetch_registers>: Use
627 TARGET_DEFAULT_NORETURN.
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
634 * target.h (struct target_ops) <to_stop>: Use
635 TARGET_DEFAULT_IGNORE.
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
641 to_can_run_breakpoint_commands.
642 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
643 Use 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
649 to_supports_evaluation_of_breakpoint_conditions.
650 * target.h (struct target_ops)
651 <to_supports_evaluation_of_breakpoint_conditions>: Use
652 TARGET_DEFAULT_RETURN.
654 2014-02-19 Tom Tromey <tromey@redhat.com>
656 * target-delegates.c: Rebuild.
657 * target.c (update_current_target): Don't inherit or default
658 to_augmented_libraries_svr4_read.
659 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
660 Use 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
667 * target.h (struct target_ops) <to_can_use_agent>: Use
668 TARGET_DEFAULT_RETURN.
670 2014-02-19 Tom Tromey <tromey@redhat.com>
672 * target-delegates.c: Rebuild.
673 * target.c (update_current_target): Don't inherit or default
675 * target.h (struct target_ops) <to_use_agent>: Use
676 TARGET_DEFAULT_NORETURN.
678 2014-02-19 Tom Tromey <tromey@redhat.com>
680 * target-delegates.c: Rebuild.
681 * target.c (update_current_target): Don't inherit or default
683 (return_null): Remove.
684 * target.h (struct target_ops) <to_traceframe_info>: Use
685 TARGET_DEFAULT_RETURN.
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
691 to_static_tracepoint_markers_by_strid.
692 * target.h (struct target_ops)
693 <to_static_tracepoint_markers_by_strid>: Use
694 TARGET_DEFAULT_NORETURN.
696 2014-02-19 Tom Tromey <tromey@redhat.com>
698 * target-delegates.c: Rebuild.
699 * target.c (update_current_target): Don't inherit or default
700 to_static_tracepoint_marker_at.
701 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
702 Use TARGET_DEFAULT_RETURN.
704 2014-02-19 Tom Tromey <tromey@redhat.com>
706 * target-delegates.c: Rebuild.
707 * target.c (update_current_target): Don't inherit or default
709 * target.h (struct target_ops) <to_set_permissions>: Use
710 TARGET_DEFAULT_IGNORE.
712 2014-02-19 Tom Tromey <tromey@redhat.com>
714 * target-delegates.c: Rebuild.
715 * target.c (update_current_target): Don't inherit or default
717 * target.h (struct target_ops) <to_get_tib_address>: Use
718 TARGET_DEFAULT_NORETURN.
720 2014-02-19 Tom Tromey <tromey@redhat.com>
722 * target-delegates.c: Rebuild.
723 * target.c (update_current_target): Don't inherit or default
725 * target.h (struct target_ops) <to_set_trace_notes>: Use
726 TARGET_DEFAULT_RETURN.
728 2014-02-19 Tom Tromey <tromey@redhat.com>
730 * target-delegates.c: Rebuild.
731 * target.c (update_current_target): Don't initialize
732 to_set_trace_buffer_size.
733 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
734 TARGET_DEFAULT_IGNORE.
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_set_circular_trace_buffer.
741 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
742 TARGET_DEFAULT_IGNORE.
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_set_disconnected_tracing.
749 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
750 TARGET_DEFAULT_IGNORE.
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_get_min_fast_tracepoint_insn_len.
757 (return_minus_one): Remove.
758 * target.h (struct target_ops)
759 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
761 2014-02-19 Tom Tromey <tromey@redhat.com>
763 * target-delegates.c: Rebuild.
764 * target.c (update_current_target): Don't inherit or default
765 to_get_raw_trace_data.
766 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
767 TARGET_DEFAULT_NORETURN.
769 2014-02-19 Tom Tromey <tromey@redhat.com>
771 * target-delegates.c: Rebuild.
772 * target.c (update_current_target): Don't inherit or default
773 to_upload_trace_state_variables.
774 * target.h (struct target_ops) <to_upload_trace_state_variables>:
775 Use TARGET_DEFAULT_RETURN.
777 2014-02-19 Tom Tromey <tromey@redhat.com>
779 * target-delegates.c: Rebuild.
780 * target.c (update_current_target): Don't inherit or default
781 to_upload_tracepoints.
782 * target.h (struct target_ops) <to_upload_tracepoints>: Use
783 TARGET_DEFAULT_RETURN.
785 2014-02-19 Tom Tromey <tromey@redhat.com>
787 * target-delegates.c: Rebuild.
788 * target.c (update_current_target): Don't inherit or default
790 * target.h (struct target_ops) <to_save_trace_data>: Use
791 TARGET_DEFAULT_NORETURN.
793 2014-02-19 Tom Tromey <tromey@redhat.com>
795 * target-delegates.c: Rebuild.
796 * target.c (update_current_target): Don't inherit or default
797 to_get_trace_state_variable_value.
798 * target.h (struct target_ops)
799 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
801 2014-02-19 Tom Tromey <tromey@redhat.com>
803 * target-delegates.c: Rebuild.
804 * target.c (update_current_target): Don't inherit or default
806 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
808 2014-02-19 Tom Tromey <tromey@redhat.com>
810 * target-delegates.c: Rebuild.
811 * target.c (update_current_target): Don't inherit or default
813 * target.h (struct target_ops) <to_trace_stop>: Use
814 TARGET_DEFAULT_NORETURN.
816 2014-02-19 Tom Tromey <tromey@redhat.com>
818 * target-delegates.c: Rebuild.
819 * target.c (update_current_target): Don't inherit or default
820 to_get_tracepoint_status.
821 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
822 TARGET_DEFAULT_NORETURN.
824 2014-02-19 Tom Tromey <tromey@redhat.com>
826 * target-delegates.c: Rebuild.
827 * target.c (update_current_target): Don't inherit or default
829 * target.h (struct target_ops) <to_get_trace_status>: Use
830 TARGET_DEFAULT_RETURN.
832 2014-02-19 Tom Tromey <tromey@redhat.com>
834 * target-delegates.c: Rebuild.
835 * target.c (update_current_target): Don't inherit or default
837 * target.h (struct target_ops) <to_trace_start>: Use
838 TARGET_DEFAULT_NORETURN.
840 2014-02-19 Tom Tromey <tromey@redhat.com>
842 * target-delegates.c: Rebuild.
843 * target.c (update_current_target): Don't inherit or default
844 to_trace_set_readonly_regions.
845 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
846 Use TARGET_DEFAULT_NORETURN.
848 2014-02-19 Tom Tromey <tromey@redhat.com>
850 * target-delegates.c: Rebuild.
851 * target.c (update_current_target): Don't inherit or default
852 to_disable_tracepoint.
853 * target.h (struct target_ops) <to_disable_tracepoint>: Use
854 TARGET_DEFAULT_NORETURN.
856 2014-02-19 Tom Tromey <tromey@redhat.com>
858 * target-delegates.c: Rebuild.
859 * target.c (update_current_target): Don't inherit or default
860 to_enable_tracepoint.
861 * target.h (struct target_ops) <to_enable_tracepoint>: Use
862 TARGET_DEFAULT_NORETURN.
864 2014-02-19 Tom Tromey <tromey@redhat.com>
866 * target-delegates.c: Rebuild.
867 * target.c (update_current_target): Don't inherit or default
868 to_download_trace_state_variable.
869 * target.h (struct target_ops) <to_download_trace_state_variable>:
870 Use TARGET_DEFAULT_NORETURN.
872 2014-02-19 Tom Tromey <tromey@redhat.com>
874 * target-delegates.c: Rebuild.
875 * target.c (update_current_target): Don't inherit or default
876 to_can_download_tracepoint.
877 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
878 TARGET_DEFAULT_RETURN.
880 2014-02-19 Tom Tromey <tromey@redhat.com>
882 * target-delegates.c: Rebuild.
883 * target.c (update_current_target): Don't inherit or default
884 to_download_tracepoint.
885 * target.h (struct target_ops) <to_download_tracepoint>: Use
886 TARGET_DEFAULT_NORETURN.
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
893 * target.h (struct target_ops) <to_trace_init>: 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_supports_string_tracing.
901 * target.h (struct target_ops) <to_supports_string_tracing>: Use
902 TARGET_DEFAULT_RETURN.
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_supports_enable_disable_tracepoint.
909 * target.h (struct target_ops)
910 <to_supports_enable_disable_tracepoint>: Use
911 TARGET_DEFAULT_RETURN.
913 2014-02-19 Tom Tromey <tromey@redhat.com>
915 * target-delegates.c: Rebuild.
916 * target.c (update_current_target): Don't inherit or default
917 to_supports_multi_process.
918 * target.h (struct target_ops) <to_supports_multi_process>: Use
919 TARGET_DEFAULT_RETURN.
921 2014-02-19 Tom Tromey <tromey@redhat.com>
923 * target-delegates.c: Rebuild.
924 * target.c (update_current_target): Don't inherit or default
925 to_get_ada_task_ptid.
926 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
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
933 to_thread_architecture.
934 * target.h (struct target_ops) <to_thread_architecture>: Use
937 2014-02-19 Tom Tromey <tromey@redhat.com>
939 * target-delegates.c: Rebuild.
940 * target.c (update_current_target): Don't inherit or default
941 to_execution_direction.
942 * target.h (struct target_ops) <to_execution_direction>: Use
945 2014-02-19 Tom Tromey <tromey@redhat.com>
947 * target-delegates.c: Rebuild.
948 * target.c (update_current_target): Don't inherit or default
949 to_can_execute_reverse.
950 * target.h (struct target_ops) <to_can_execute_reverse>: Use
951 TARGET_DEFAULT_RETURN.
952 (target_can_execute_reverse): Unconditionally delegate.
954 2014-02-19 Tom Tromey <tromey@redhat.com>
956 * target-delegates.c: Rebuild.
957 * target.c (update_current_target): Don't inherit or default
959 (dummy_goto_bookmark): Remove.
960 (init_dummy_target): Don't inherit or default to_goto_bookmark.
961 * target.h (struct target_ops) <to_goto_bookmark>: Use
962 TARGET_DEFAULT_NORETURN.
964 2014-02-19 Tom Tromey <tromey@redhat.com>
966 * target-delegates.c: Rebuild.
967 * target.c (update_current_target): Don't inherit or default
969 (dummy_get_bookmark): Remove.
970 (init_dummy_target): Don't inherit or default to_get_bookmark.
971 * target.h (struct target_ops) <to_get_bookmark>: Use
972 TARGET_DEFAULT_NORETURN
974 2014-02-19 Tom Tromey <tromey@redhat.com>
976 * target-delegates.c: Rebuild.
977 * target.c (update_current_target): Don't inherit or default
978 to_make_corefile_notes.
979 (init_dummy_target): Don't initialize to_make_corefile_notes.
980 * target.h (struct target_ops) <to_make_corefile_notes>: Use
983 2014-02-19 Tom Tromey <tromey@redhat.com>
985 * target-delegates.c: Rebuild.
986 * target.c (update_current_target): Don't inherit or default
987 to_find_memory_regions.
988 (init_dummy_target): Don't initialize to_find_memory_regions.
989 * target.h (struct target_ops) <to_find_memory_regions>: Use
992 2014-02-19 Tom Tromey <tromey@redhat.com>
994 * target-delegates.c: Rebuild.
995 * target.c (update_current_target): Don't inherit or default
997 * target.h (struct target_ops) <to_log_command>: Use
998 TARGET_DEFAULT_IGNORE.
999 (target_log_command): Unconditionally delegate.
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
1005 to_pid_to_exec_file.
1006 * target.h (struct target_ops) <to_pid_to_exec_file>: 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
1014 (target_thread_name): Unconditionally delegate.
1015 * target.h (struct target_ops) <to_thread_name>: 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_extra_thread_info.
1023 * target.h (struct target_ops) <to_extra_thread_info>: Use
1024 TARGET_DEFAULT_RETURN.
1026 2014-02-19 Tom Tromey <tromey@redhat.com>
1028 * target-delegates.c: Rebuild.
1029 * target.c (update_current_target): Don't inherit or default
1031 * target.h (struct target_ops) <to_has_exited>: 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_set_syscall_catchpoint.
1039 (return_one): Remove.
1040 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
1041 TARGET_DEFAULT_RETURN.
1043 2014-02-19 Tom Tromey <tromey@redhat.com>
1045 * target-delegates.c: Rebuild.
1046 * target.c (update_current_target): Don't inherit or default
1047 to_insert_exec_catchpoint.
1048 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1049 TARGET_DEFAULT_RETURN.
1051 2014-01-08 Tom Tromey <tromey@redhat.com>
1053 * target-delegates.c: Rebuild.
1054 * target.c (update_current_target): Don't inherit or default
1055 to_insert_exec_catchpoint.
1056 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1057 TARGET_DEFAULT_RETURN.
1059 2014-02-19 Tom Tromey <tromey@redhat.com>
1061 * target-delegates.c: Rebuild.
1062 * target.c (update_current_target): Don't inherit or default
1063 to_remove_vfork_catchpoint.
1064 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
1065 TARGET_DEFAULT_RETURN.
1067 2014-02-19 Tom Tromey <tromey@redhat.com>
1069 * target-delegates.c: Rebuild.
1070 * target.c (update_current_target): Don't inherit or default
1071 to_insert_vfork_catchpoint.
1072 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
1073 TARGET_DEFAULT_RETURN.
1075 2014-02-19 Tom Tromey <tromey@redhat.com>
1077 * target-delegates.c: Rebuild.
1078 * target.c (update_current_target): Don't inherit or default
1079 to_remove_fork_catchpoint.
1080 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
1081 TARGET_DEFAULT_RETURN.
1083 2014-02-19 Tom Tromey <tromey@redhat.com>
1085 * target-delegates.c: Rebuild.
1086 * target.c (update_current_target): Don't inherit or default
1087 to_insert_fork_catchpoint.
1088 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
1089 TARGET_DEFAULT_RETURN.
1091 2014-02-19 Tom Tromey <tromey@redhat.com>
1093 * target-delegates.c: Rebuild.
1094 * target.c (update_current_target): Don't inherit or default
1095 to_post_startup_inferior.
1096 * target.h (struct target_ops) <to_post_startup_inferior>: Use
1097 TARGET_DEFAULT_IGNORE.
1099 2014-02-19 Tom Tromey <tromey@redhat.com>
1101 * target-delegates.c: Rebuild.
1102 * target.c (update_current_target): Don't inherit or default
1104 * target.h (struct target_ops) <to_load>: Use
1105 TARGET_DEFAULT_NORETURN.
1107 2014-02-19 Tom Tromey <tromey@redhat.com>
1109 * target-delegates.c: Rebuild.
1110 * target.c (update_current_target): Don't inherit or default
1112 * target.h (struct target_ops) <to_terminal_info>: Use
1113 TARGET_DEFAULT_FUNC.
1115 2014-02-19 Tom Tromey <tromey@redhat.com>
1117 * target-delegates.c: Rebuild.
1118 * target.c (update_current_target): Don't inherit or default
1119 to_terminal_save_ours.
1120 * target.h (struct target_ops) <to_terminal_save_ours>: Use
1121 TARGET_DEFAULT_IGNORE.
1123 2014-02-19 Tom Tromey <tromey@redhat.com>
1125 * target-delegates.c: Rebuild.
1126 * target.c (update_current_target): Don't inherit or default
1128 * target.h (struct target_ops) <to_terminal_ours>: Use
1129 TARGET_DEFAULT_IGNORE.
1131 2014-02-19 Tom Tromey <tromey@redhat.com>
1133 * target-delegates.c: Rebuild.
1134 * target.c (update_current_target): Don't inherit or default
1135 to_terminal_ours_for_output.
1136 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
1137 TARGET_DEFAULT_IGNORE.
1139 2014-02-19 Tom Tromey <tromey@redhat.com>
1141 * target-delegates.c: Rebuild.
1142 * target.c (update_current_target): Don't inherit or default
1143 to_terminal_inferior.
1144 * target.h (struct target_ops) <to_terminal_inferior>: Use
1145 TARGET_DEFAULT_IGNORE.
1147 2014-02-19 Tom Tromey <tromey@redhat.com>
1149 * target-delegates.c: Rebuild.
1150 * target.c (update_current_target): Don't inherit or default
1152 * target.h (struct target_ops) <to_terminal_init>: Use
1153 TARGET_DEFAULT_IGNORE.
1155 2014-02-19 Tom Tromey <tromey@redhat.com>
1157 * target-delegates.c: Rebuild.
1158 * target.c (update_current_target): Don't inherit or default
1159 to_can_accel_watchpoint_condition.
1160 * target.h (struct target_ops)
1161 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
1163 2014-02-19 Tom Tromey <tromey@redhat.com>
1165 * target-delegates.c: Rebuild.
1166 * target.c (update_current_target): Don't inherit or default
1167 to_region_ok_for_hw_watchpoint.
1168 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1169 Use TARGET_DEFAULT_FUNC.
1171 2014-02-19 Tom Tromey <tromey@redhat.com>
1173 * target-delegates.c: Rebuild.
1174 * target.c (update_current_target): Don't inherit or default
1175 to_watchpoint_addr_within_range.
1176 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
1177 Use TARGET_DEFAULT_FUNC.
1179 2014-02-19 Tom Tromey <tromey@redhat.com>
1181 * target-delegates.c: Rebuild.
1182 * target.c (update_current_target): Don't inherit or default
1183 to_remove_watchpoint.
1184 * target.h (struct target_ops) <to_remove_watchpoint>: Use
1185 TARGET_DEFAULT_NORETURN.
1187 2014-02-19 Tom Tromey <tromey@redhat.com>
1189 * target-delegates.c: Rebuild.
1190 * target.c (update_current_target): Don't inherit or default
1191 to_insert_watchpoint.
1192 * target.h (struct target_ops) <to_insert_watchpoint>: Use
1193 TARGET_DEFAULT_RETURN.
1195 2014-02-19 Tom Tromey <tromey@redhat.com>
1197 * target-delegates.c: Rebuild.
1198 * target.c (update_current_target): Don't inherit or default
1199 to_remove_hw_breakpoint.
1200 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
1201 TARGET_DEFAULT_RETURN.
1203 2014-02-19 Tom Tromey <tromey@redhat.com>
1205 * target-delegates.c: Rebuild.
1206 * target.c (update_current_target): Don't inherit or default
1207 to_insert_hw_breakpoint.
1208 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
1209 TARGET_DEFAULT_RETURN.
1211 2014-02-19 Tom Tromey <tromey@redhat.com>
1213 * target-delegates.c: Rebuild.
1214 * target.c (update_current_target): Don't inherit or default
1215 to_can_use_hw_breakpoint.
1216 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
1217 TARGET_DEFAULT_RETURN.
1219 2014-02-19 Tom Tromey <tromey@redhat.com>
1221 * target-delegates.c: Rebuild.
1222 * target.c (update_current_target): Don't inherit or default
1224 * target.h (struct target_ops) <to_files_info>: Use
1225 TARGET_DEFAULT_IGNORE.
1227 2014-02-19 Tom Tromey <tromey@redhat.com>
1229 * target-delegates.c: Rebuild.
1230 * target.c (update_current_target): Don't inherit or default
1232 * target.h (struct target_ops) <to_store>: Use
1233 TARGET_DEFAULT_NORETURN.
1235 2014-02-19 Tom Tromey <tromey@redhat.com>
1237 * target-delegates.c: Rebuild.
1238 * target.c (update_current_target): Don't inherit or default
1240 * target.h (struct target_ops) <to_post_attach>: Use
1241 TARGET_DEFAULT_IGNORE.
1243 2014-02-19 Tom Tromey <tromey@redhat.com>
1245 * target-delegates.c: Rebuild.
1246 * target.c (update_current_target): Don't inherit or default
1248 (default_rcmd): New function.
1249 (do_monitor_command): Unconditionally delegate.
1250 * target.h (struct target_ops) <to_rmcd>: Use
1251 TARGET_DEFAULT_FUNC.
1253 2014-02-19 Tom Tromey <tromey@redhat.com>
1255 * target-delegates.c: Rebuild.
1256 * target.c (init_dummy_target): Don't initialize to_attach.
1257 (target_attach): Unconditionally delegate.
1258 * target.h (struct target_ops) <to_attach>: Use
1259 TARGET_DEFAULT_FUNC.
1261 2014-02-19 Tom Tromey <tromey@redhat.com>
1263 * target-delegates.c: Rebuild.
1264 * target.c (target_detach): Unconditionally delegate.
1265 (init_dummy_target): Don't initialize to_detach.
1266 * target.h (struct target_ops) <to_detach>: Use
1267 TARGET_DEFAULT_IGNORE.
1269 2014-02-19 Tom Tromey <tromey@redhat.com>
1271 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1273 (target_augmented_libraries_svr4_read): Add argument.
1274 * target.c (update_current_target): Update.
1275 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
1278 2014-02-19 Tom Tromey <tromey@redhat.com>
1280 * target.h (struct target_ops) <to_call_history_range>: Add
1282 * target.c (target_call_history_range): Add argument.
1283 * record-btrace.c (record_btrace_call_history_range): Add 'self'
1285 (record_btrace_call_history_from): Update.
1287 2014-02-19 Tom Tromey <tromey@redhat.com>
1289 * target.h (struct target_ops) <to_call_history_from>: Add
1291 * target.c (target_call_history_from): Add argument.
1292 * record-btrace.c (record_btrace_call_history_from): Add 'self'
1295 2014-02-19 Tom Tromey <tromey@redhat.com>
1297 * target.h (struct target_ops) <to_call_history>: Add argument.
1298 * target.c (target_call_history): Add argument.
1299 * record-btrace.c (record_btrace_call_history): Add 'self'
1302 2014-02-19 Tom Tromey <tromey@redhat.com>
1304 * target.h (struct target_ops) <to_insn_history_range>: Add
1306 * target.c (target_insn_history_range): Add argument.
1307 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
1309 (record_btrace_insn_history_from): Update.
1311 2014-02-19 Tom Tromey <tromey@redhat.com>
1313 * target.h (struct target_ops) <to_insn_history_from>: Add
1315 * target.c (target_insn_history_from): Add argument.
1316 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
1319 2014-02-19 Tom Tromey <tromey@redhat.com>
1321 * target.h (struct target_ops) <to_insn_history>: Add argument.
1322 * target.c (target_insn_history): Add argument.
1323 * record-btrace.c (record_btrace_insn_history): Add 'self'
1326 2014-02-19 Tom Tromey <tromey@redhat.com>
1328 * target.h (struct target_ops) <to_goto_record>: Add argument.
1329 * target.c (target_goto_record): Add argument.
1330 * record-full.c (record_full_goto): Add 'self' argument.
1331 * record-btrace.c (record_btrace_goto): Add 'self' argument.
1333 2014-02-19 Tom Tromey <tromey@redhat.com>
1335 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
1336 * target.c (target_goto_record_end): Add argument.
1337 * record-full.c (record_full_goto_end): Add 'self' argument.
1338 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
1340 2014-02-19 Tom Tromey <tromey@redhat.com>
1342 * target.h (struct target_ops) <to_goto_record_begin>: Add
1344 * target.c (target_goto_record_begin): Add argument.
1345 * record-full.c (record_full_goto_begin): Add 'self' argument.
1346 * record-btrace.c (record_btrace_goto_begin): Add 'self'
1349 2014-02-19 Tom Tromey <tromey@redhat.com>
1351 * target.h (struct target_ops) <to_record_is_replaying>: Add
1353 * target.c (target_record_is_replaying): Add argument.
1354 * record-full.c (record_full_is_replaying): Add 'self' argument.
1355 * record-btrace.c (record_btrace_is_replaying): Add 'self'
1357 (record_btrace_xfer_partial, record_btrace_store_registers)
1358 (record_btrace_prepare_to_store, record_btrace_resume)
1359 (record_btrace_wait, record_btrace_decr_pc_after_break)
1360 (record_btrace_find_new_threads, record_btrace_thread_alive):
1363 2014-02-19 Tom Tromey <tromey@redhat.com>
1365 * target.h (struct target_ops) <to_delete_record>: Add argument.
1366 * target.c (target_delete_record): Add argument.
1367 * record-full.c (record_full_delete): Add 'self' argument.
1369 2014-02-19 Tom Tromey <tromey@redhat.com>
1371 * target.h (struct target_ops) <to_save_record>: Add argument.
1372 * target.c (target_save_record): Add argument.
1373 * record-full.c (record_full_save): Add 'self' argument.
1374 (record_full_save): Add 'self' argument.
1376 2014-02-19 Tom Tromey <tromey@redhat.com>
1378 * target.h (struct target_ops) <to_info_record>: Add argument.
1379 * target.c (target_info_record): Add argument.
1380 * record.c (info_record_command): Add argument.
1381 * record-full.c (record_full_info): Add 'self' argument.
1382 * record-btrace.c (record_btrace_info): Add 'self' argument.
1384 2014-02-19 Tom Tromey <tromey@redhat.com>
1386 * target.h (struct target_ops) <to_stop_recording>: Add argument.
1387 * target.c (target_stop_recording): Add argument.
1388 * record.c (record_stop): Add argument.
1389 * record-btrace.c (record_btrace_stop_recording): Add 'self'
1392 2014-02-19 Tom Tromey <tromey@redhat.com>
1394 * target.h (struct target_ops) <to_read_btrace>: Add argument.
1395 * target.c (struct target_ops) <to_read_btrace>: Add argument.
1396 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
1398 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
1399 (_initialize_amd64_linux_nat): Use it.
1400 * i386-linux-nat.c (i386_linux_read_btrace): New function.
1401 (_initialize_i386_linux_nat): Use it.
1403 2014-02-19 Tom Tromey <tromey@redhat.com>
1405 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
1406 * target.c (target_teardown_btrace): Add argument.
1407 * remote.c (remote_teardown_btrace): Add 'self' argument.
1408 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
1410 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
1413 2014-02-19 Tom Tromey <tromey@redhat.com>
1415 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
1416 * target.c (target_disable_btrace): Add argument.
1417 * remote.c (remote_disable_btrace): Add 'self' argument.
1418 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
1420 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
1423 2014-02-19 Tom Tromey <tromey@redhat.com>
1425 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
1426 * target.c (target_enable_btrace): Add argument.
1427 * remote.c (remote_enable_btrace): Add 'self' argument.
1428 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
1430 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
1433 2014-02-19 Tom Tromey <tromey@redhat.com>
1435 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
1436 (target_can_use_agent): Add argument.
1437 * target.c (update_current_target): Update.
1438 * remote.c (remote_can_use_agent): Add 'self' argument.
1439 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
1441 2014-02-19 Tom Tromey <tromey@redhat.com>
1443 * target.h (struct target_ops) <to_use_agent>: Add argument.
1444 (target_use_agent): Add argument.
1445 * target.c (update_current_target): Update.
1446 * remote.c (remote_use_agent): Add 'self' argument.
1447 * inf-child.c (inf_child_use_agent): Add 'self' argument.
1449 2014-02-19 Tom Tromey <tromey@redhat.com>
1451 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
1452 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
1453 (target_traceframe_info): Add argument.
1454 * target.c (update_current_target): Update.
1455 * remote.c (remote_traceframe_info): Add 'self' argument.
1456 * ctf.c (ctf_traceframe_info): Add 'self' argument.
1458 2014-02-19 Tom Tromey <tromey@redhat.com>
1460 * target.h (target_static_tracepoint_markers_by_strid): Add
1462 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
1464 * target.c (update_current_target): Update.
1465 * remote.c (struct target_ops)
1466 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1467 * linux-nat.c (struct target_ops)
1468 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1470 2014-02-19 Tom Tromey <tromey@redhat.com>
1472 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1474 (target_static_tracepoint_marker_at): Add argument.
1475 * target.c (update_current_target): Update.
1476 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
1479 2014-02-19 Tom Tromey <tromey@redhat.com>
1481 * target.h (struct target_ops) <to_set_permissions>: Add argument.
1482 (target_set_permissions): Add argument.
1483 * target.c (update_current_target): Update.
1484 * remote.c (remote_set_permissions): Add 'self' argument.
1485 (remote_start_remote): Update.
1487 2014-02-19 Tom Tromey <tromey@redhat.com>
1489 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
1490 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
1491 (target_get_tib_address): Add argument.
1492 * target.c (update_current_target): Update.
1493 * remote.c (remote_get_tib_address): Add 'self' argument.
1495 2014-02-19 Tom Tromey <tromey@redhat.com>
1497 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
1498 (target_set_trace_notes): Add argument.
1499 * target.c (update_current_target): Update.
1500 * remote.c (remote_set_trace_notes): Add 'self' argument.
1502 2014-02-19 Tom Tromey <tromey@redhat.com>
1504 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
1506 (target_set_trace_buffer_size): Add argument.
1507 * target.c (update_current_target): Update.
1508 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
1510 2014-02-19 Tom Tromey <tromey@redhat.com>
1512 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
1514 (target_set_circular_trace_buffer): Add argument.
1515 * target.c (update_current_target): Update.
1516 * remote.c (remote_set_circular_trace_buffer): Add 'self'
1519 2014-02-19 Tom Tromey <tromey@redhat.com>
1521 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
1523 (target_set_disconnected_tracing): Add argument.
1524 * target.c (update_current_target): Update.
1525 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
1527 2014-02-19 Tom Tromey <tromey@redhat.com>
1529 * target.h (struct target_ops)
1530 <to_get_min_fast_tracepoint_insn_len>: Add argument.
1531 (target_get_min_fast_tracepoint_insn_len): Add argument.
1532 * target.c (update_current_target): Update.
1533 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
1536 2014-02-19 Tom Tromey <tromey@redhat.com>
1538 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
1540 (target_get_raw_trace_data): Add argument.
1541 * target.c (update_current_target): Update.
1542 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
1544 2014-02-19 Tom Tromey <tromey@redhat.com>
1546 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1548 (target_upload_trace_state_variables): Add argument.
1549 * target.c (update_current_target): Update.
1550 * remote.c (remote_upload_trace_state_variables): Add 'self'
1552 (remote_start_remote): Update.
1554 2014-02-19 Tom Tromey <tromey@redhat.com>
1556 * target.h (struct target_ops) <to_upload_tracepoints>: Add
1558 (target_upload_tracepoints): Add argument.
1559 * target.c (update_current_target): Update.
1560 * remote.c (remote_upload_tracepoints): Add 'self' argument.
1561 (remote_start_remote): Update.
1563 2014-02-19 Tom Tromey <tromey@redhat.com>
1565 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
1566 (target_save_trace_data): Add argument.
1567 * target.c (update_current_target): Update.
1568 * remote.c (remote_save_trace_data): Add 'self' argument.
1570 2014-02-19 Tom Tromey <tromey@redhat.com>
1572 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
1574 * target.h (struct target_ops)
1575 <to_get_trace_state_variable_value>: Add argument.
1576 (target_get_trace_state_variable_value): Add argument.
1577 * target.c (update_current_target): Update.
1578 * remote.c (remote_get_trace_state_variable_value): Add 'self'
1580 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
1582 2014-02-19 Tom Tromey <tromey@redhat.com>
1584 * tracepoint.c (tfile_trace_find): Add 'self' argument.
1585 * target.h (struct target_ops) <to_trace_find>: Add argument.
1586 (target_trace_find): Add argument.
1587 * target.c (update_current_target): Update.
1588 * remote.c (remote_trace_find): Add 'self' argument.
1589 * ctf.c (ctf_trace_find): Add 'self' argument.
1591 2014-02-19 Tom Tromey <tromey@redhat.com>
1593 * target.h (struct target_ops) <to_trace_stop>: Add argument.
1594 (target_trace_stop): Add argument.
1595 * target.c (update_current_target): Update.
1596 * remote.c (remote_trace_stop): Add 'self' argument.
1598 2014-02-19 Tom Tromey <tromey@redhat.com>
1600 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
1601 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
1603 (target_get_tracepoint_status): Add argument.
1604 * target.c (update_current_target): Update.
1605 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
1607 2014-02-19 Tom Tromey <tromey@redhat.com>
1609 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
1610 * target.h (struct target_ops) <to_get_trace_status>: Add
1612 (target_get_trace_status): Add argument.
1613 * target.c (update_current_target): Update.
1614 * remote.c (remote_get_trace_status): Add 'self' argument.
1615 (remote_start_remote, remote_can_download_tracepoint): Update.
1616 * ctf.c (ctf_get_trace_status): Add 'self' argument.
1618 2014-02-19 Tom Tromey <tromey@redhat.com>
1620 * target.h (struct target_ops) <to_trace_start>: Add argument.
1621 (target_trace_start): Add argument.
1622 * target.c (update_current_target): Update.
1623 * remote.c (remote_trace_start): Add 'self' argument.
1625 2014-02-19 Tom Tromey <tromey@redhat.com>
1627 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1629 (target_trace_set_readonly_regions): Add argument.
1630 * target.c (update_current_target): Update.
1631 * remote.c (remote_trace_set_readonly_regions): Add 'self'
1634 2014-02-19 Tom Tromey <tromey@redhat.com>
1636 * target.h (struct target_ops) <to_disable_tracepoint>: Add
1638 (target_disable_tracepoint): Add argument.
1639 * target.c (update_current_target): Update.
1640 * remote.c (remote_disable_tracepoint): Add 'self' argument.
1642 2014-02-19 Tom Tromey <tromey@redhat.com>
1644 * target.h (struct target_ops) <to_enable_tracepoint>: Add
1646 (target_enable_tracepoint): Add argument.
1647 * target.c (update_current_target): Update.
1648 * remote.c (remote_enable_tracepoint): Add 'self' argument.
1650 2014-02-19 Tom Tromey <tromey@redhat.com>
1652 * target.h (struct target_ops) <to_download_trace_state_variable>:
1654 (target_download_trace_state_variable): Add argument.
1655 * target.c (update_current_target): Update.
1656 * remote.c (remote_download_trace_state_variable): Add 'self'
1659 2014-02-19 Tom Tromey <tromey@redhat.com>
1661 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
1663 (target_can_download_tracepoint): Add argument.
1664 * target.c (update_current_target): Update.
1665 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
1667 2014-02-19 Tom Tromey <tromey@redhat.com>
1669 * target.h (struct target_ops) <to_download_tracepoint>: Add
1671 (target_download_tracepoint): Add argument.
1672 * target.c (update_current_target): Update.
1673 * remote.c (remote_download_tracepoint): Add 'self' argument.
1675 2014-02-19 Tom Tromey <tromey@redhat.com>
1677 * target.h (struct target_ops) <to_trace_init>: Add argument.
1678 (target_trace_init): Add argument.
1679 * target.c (update_current_target): Update.
1680 * remote.c (remote_trace_init): Add 'self' argument.
1682 2014-02-19 Tom Tromey <tromey@redhat.com>
1684 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1685 * target.c (target_fileio_readlink): Add argument.
1686 * remote.c (remote_hostio_readlink): Add 'self' argument.
1687 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1689 2014-02-19 Tom Tromey <tromey@redhat.com>
1691 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1692 * target.c (target_fileio_unlink): Add argument.
1693 * remote.c (remote_hostio_unlink): Add 'self' argument.
1694 (remote_file_delete): Update.
1695 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1697 2014-02-19 Tom Tromey <tromey@redhat.com>
1699 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1700 * target.c (target_fileio_close): Add argument.
1701 * remote.c (remote_hostio_close): Add 'self' argument.
1702 (remote_hostio_close_cleanup): Update.
1703 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1705 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1707 2014-02-19 Tom Tromey <tromey@redhat.com>
1709 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1710 * target.c (target_fileio_pread): Add argument.
1711 * remote.c (remote_hostio_pread): Add 'self' argument.
1712 (remote_bfd_iovec_pread, remote_file_get): Update.
1713 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1715 2014-02-19 Tom Tromey <tromey@redhat.com>
1717 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1718 * target.c (target_fileio_pwrite): Add argument.
1719 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1720 (remote_file_put): Update.
1721 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1723 2014-02-19 Tom Tromey <tromey@redhat.com>
1725 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1726 * target.c (target_fileio_open): Add argument.
1727 * remote.c (remote_hostio_open): Add 'self' argument.
1728 (remote_bfd_iovec_open): Add 'self' argument.
1729 (remote_file_put): Add 'self' argument.
1730 (remote_file_get): Add 'self' argument.
1731 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1733 2014-02-19 Tom Tromey <tromey@redhat.com>
1735 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1737 (target_can_run_breakpoint_commands): Add argument.
1738 * target.c (update_current_target): Update.
1739 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1741 (remote_insert_breakpoint): Add 'self' argument.
1742 (remote_insert_hw_breakpoint): Add 'self' argument.
1743 (remote_can_run_breakpoint_commands): Add 'self' argument.
1745 2014-02-19 Tom Tromey <tromey@redhat.com>
1747 * target.h (struct target_ops)
1748 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1749 (target_supports_evaluation_of_breakpoint_conditions): Add
1751 * target.c (update_current_target): Update.
1752 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1754 (remote_insert_breakpoint): Add 'self' argument.
1755 (remote_insert_hw_breakpoint): Add 'self' argument.
1756 (remote_supports_cond_breakpoints): Add 'self' argument.
1758 2014-02-19 Tom Tromey <tromey@redhat.com>
1760 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1762 (target_supports_string_tracing): Add argument.
1763 * target.c (update_current_target): Update.
1764 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1766 2014-02-19 Tom Tromey <tromey@redhat.com>
1768 * target.h (struct target_ops)
1769 <to_supports_disable_randomization>: Add argument.
1770 * target.c (find_default_supports_disable_randomization): Add
1772 (target_supports_disable_randomization): Add argument.
1773 (find_default_supports_disable_randomization): Add 'self'
1775 * remote.c (extended_remote_supports_disable_randomization): Add
1777 (remote_supports_disable_randomization): Add 'self' argument.
1778 (extended_remote_create_inferior): Update.
1779 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1782 2014-02-19 Tom Tromey <tromey@redhat.com>
1784 * target.h (struct target_ops)
1785 <to_supports_enable_disable_tracepoint>: Add argument.
1786 (target_supports_enable_disable_tracepoint): Add argument.
1787 * target.c (update_current_target): Update.
1788 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1791 2014-02-19 Tom Tromey <tromey@redhat.com>
1793 * target.h (struct target_ops) <to_supports_multi_process>: Add
1795 (target_supports_multi_process): Add argument.
1796 * target.c (update_current_target): Update.
1797 * remote.c (remote_supports_multi_process): Add 'self' argument.
1798 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1800 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1803 2014-02-19 Tom Tromey <tromey@redhat.com>
1805 * target.h (struct target_ops) <to_execution_direction>: Add
1807 (target_execution_direction): Add argument.
1808 * target.c (default_execution_direction): Add 'self' argument.
1809 * record-full.c (record_full_execution_direction): Add 'self'
1812 2014-02-19 Tom Tromey <tromey@redhat.com>
1814 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1816 (target_can_execute_reverse): Add argument.
1817 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1818 * record-full.c (record_full_can_execute_reverse): Add 'self'
1820 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1823 2014-02-19 Tom Tromey <tromey@redhat.com>
1825 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1826 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1828 (target_get_ada_task_ptid): Add argument.
1829 * target.c (update_current_target): Update.
1830 (default_get_ada_task_ptid): Add 'self' argument.
1831 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1832 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1833 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1835 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1837 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1839 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1841 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1842 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1845 2014-02-19 Tom Tromey <tromey@redhat.com>
1847 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1848 (target_goto_bookmark): Add argument.
1849 * target.c (dummy_goto_bookmark): Add 'self' argument.
1850 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1852 2014-02-19 Tom Tromey <tromey@redhat.com>
1854 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1855 (target_get_bookmark): Add argument.
1856 * target.c (dummy_get_bookmark): Add 'self' argument.
1857 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1859 2014-02-19 Tom Tromey <tromey@redhat.com>
1861 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1863 (target_make_corefile_notes): Add argument.
1864 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1865 * procfs.c (procfs_make_note_section): Add 'self' argument.
1866 (procfs_make_note_section): Add 'self' argument.
1867 (procfs_make_note_section): Add 'self' argument.
1868 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1870 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1871 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1872 * exec.c (exec_make_note_section): Add 'self' argument.
1873 (exec_make_note_section): Add 'self' argument.
1875 2014-02-19 Tom Tromey <tromey@redhat.com>
1877 * target.h (struct target_ops) <to_find_memory_regions>: Add
1879 (target_find_memory_regions): Add argument.
1880 * target.c (dummy_find_memory_regions): Add 'self' argument.
1881 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1882 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1883 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1884 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1885 * exec. (exec_do_find_memory_regions): New global.
1886 (exec_set_find_memory_regions): Rewrite.
1887 (exec_find_memory_regions): New function.
1888 (init_exec_ops): Use exec_find_memory_regions.
1890 2014-02-19 Tom Tromey <tromey@redhat.com>
1892 * target.h (struct target_ops) <to_supports_non_stop>: Add
1894 * target.c (find_default_supports_non_stop): Add argument.
1895 (target_supports_non_stop): Add argument.
1896 (find_default_supports_non_stop): Add 'self' argument.
1897 * remote.c (remote_supports_non_stop): Add 'self' argument.
1898 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1900 2014-02-19 Tom Tromey <tromey@redhat.com>
1902 * target.h (struct target_ops) <to_log_command>: Add argument.
1903 (target_log_command): Add argument.
1904 * serial.h (serial_log_command): Add 'self' argument.
1905 * serial.c (serial_log_command): Add 'self' argument.
1907 2014-02-19 Tom Tromey <tromey@redhat.com>
1909 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1910 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1912 (target_pid_to_exec_file): Add argument.
1913 * target.c (debug_to_pid_to_exec_file): Add argument.
1914 (update_current_target): Update.
1915 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1916 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1917 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1918 (linux_handle_extended_wait): Update.
1919 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1920 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1921 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1922 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1924 2014-02-19 Tom Tromey <tromey@redhat.com>
1926 * target.h (struct target_ops) <to_rcmd>: Add argument.
1927 (target_rcmd): Add argument.
1928 * target.c (debug_to_rcmd): Add argument.
1929 (update_current_target, do_monitor_command): Update.
1930 * remote.c (remote_rcmd): Add 'self' argument.
1931 * monitor.c (monitor_rcmd): Add 'self' argument.
1933 2014-02-19 Tom Tromey <tromey@redhat.com>
1935 * windows-nat.c (windows_stop): Add 'self' argument.
1936 * target.h (struct target_ops) <to_stop>: Add argument.
1937 * target.c (target_stop): Add argument.
1938 (debug_to_stop): Add argument.
1939 (update_current_target): Update.
1940 * remote.c (remote_stop): Add 'self' argument.
1941 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1942 (gdbsim_cntrl_c): Update.
1943 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1944 * procfs.c (procfs_stop): Add 'self' argument.
1945 * nto-procfs.c (procfs_stop): Add 'self' argument.
1946 * monitor.c (monitor_stop): Add 'self' argument.
1947 (monitor_open): Update.
1948 * linux-nat.c (linux_nat_stop): Add argument.
1949 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1950 * gnu-nat.c (gnu_stop): Add 'self' argument.
1951 * darwin-nat.c (darwin_stop): Add 'self' argument.
1953 2014-02-19 Tom Tromey <tromey@redhat.com>
1955 * target.h (struct target_ops) <to_thread_name>: Add argument.
1956 * target.c (target_thread_name): Add argument.
1957 (update_current_target): Update.
1958 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
1960 2014-02-19 Tom Tromey <tromey@redhat.com>
1962 * target.h (struct target_ops) <to_extra_thread_info>: Add
1964 (target_extra_thread_info): Add argument.
1965 * target.c (update_current_target): Update.
1966 * remote.c (remote_threads_extra_info): Add 'self' argument.
1967 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
1969 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
1970 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
1971 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
1973 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
1975 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
1977 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
1980 2014-02-19 Tom Tromey <tromey@redhat.com>
1982 * target.h (struct target_ops) <to_program_signals>: Add argument.
1983 * target.c (target_program_signals): Add argument.
1984 * remote.c (remote_program_signals): Add 'self' argument.
1986 2014-02-19 Tom Tromey <tromey@redhat.com>
1988 * target.h (struct target_ops) <to_pass_signals>: Add argument.
1989 * target.c (target_pass_signals): Add argument.
1990 * remote.c (remote_pass_signals): Add 'self' argument.
1991 (remote_start_remote): Update.
1992 * procfs.c (procfs_pass_signals): Add 'self' argument.
1993 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
1994 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
1995 (linux_nat_create_inferior, linux_nat_attach): Update.
1997 2014-02-19 Tom Tromey <tromey@redhat.com>
1999 * windows-nat.c (windows_can_run): Add 'self' argument.
2000 * target.h (struct target_ops) <to_can_run>: Add argument.
2001 (target_can_run): Add argument.
2002 * target.c (debug_to_can_run): Add argument.
2003 (update_current_target): Update.
2004 * nto-procfs.c (procfs_can_run): Add 'self' argument.
2005 * inf-child.c (inf_child_can_run): Add 'self' argument.
2006 * go32-nat.c (go32_can_run): Add 'self' argument.
2008 2014-02-19 Tom Tromey <tromey@redhat.com>
2010 * target.h (struct target_ops) <to_has_exited>: Add argument.
2011 (target_has_exited): Add argument.
2012 * target.c (debug_to_has_exited): Add argument.
2013 (update_current_target): Update.
2015 2014-02-19 Tom Tromey <tromey@redhat.com>
2017 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
2019 (target_set_syscall_catchpoint): Add argument.
2020 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
2022 * target.c (update_current_target): Update.
2024 2014-02-19 Tom Tromey <tromey@redhat.com>
2026 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
2028 (target_remove_exec_catchpoint): Add argument.
2029 * target.c (debug_to_remove_exec_catchpoint): Add argument.
2030 (update_current_target): Update.
2031 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
2034 2014-02-19 Tom Tromey <tromey@redhat.com>
2036 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
2038 (target_insert_exec_catchpoint): Add argument.
2039 * target.c (debug_to_insert_exec_catchpoint): Add argument.
2040 (update_current_target): Update.
2041 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
2044 2014-02-19 Tom Tromey <tromey@redhat.com>
2046 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
2048 (target_remove_vfork_catchpoint): Add argument.
2049 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
2050 (update_current_target): Update.
2051 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
2054 2014-02-19 Tom Tromey <tromey@redhat.com>
2056 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
2058 (target_insert_vfork_catchpoint): Add argument.
2059 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
2060 (update_current_target): Update.
2061 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
2064 2014-02-19 Tom Tromey <tromey@redhat.com>
2066 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
2068 (target_remove_fork_catchpoint): Add argument.
2069 * target.c (debug_to_remove_fork_catchpoint): Add argument.
2070 (update_current_target): Update.
2071 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
2074 2014-02-19 Tom Tromey <tromey@redhat.com>
2076 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
2078 (target_insert_fork_catchpoint): Add argument.
2079 * target.c (debug_to_insert_fork_catchpoint): Add argument.
2080 (update_current_target): Update.
2081 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
2084 2014-02-19 Tom Tromey <tromey@redhat.com>
2086 * target.h (struct target_ops) <to_post_startup_inferior>: Add
2088 (target_post_startup_inferior): Add argument.
2089 * target.c (debug_to_post_startup_inferior): Add argument.
2090 (update_current_target): Update.
2091 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
2093 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
2095 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
2097 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
2099 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
2101 (super_post_startup_inferior): Likewise.
2102 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
2104 (super_post_startup_inferior): Likewise.
2105 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
2106 Add 'self' argument.
2107 (super_post_startup_inferior): Likewise.
2109 2014-02-19 Tom Tromey <tromey@redhat.com>
2111 * target.h (struct target_ops) <to_load>: Add argument.
2112 * target.c (target_load): Add argument.
2113 (debug_to_load): Add argument.
2114 (update_current_target): Update.
2115 * remote.c (remote_load): Add 'self' argument.
2116 * remote-sim.c (gdbsim_load): Add 'self' argument.
2117 * remote-mips.c (mips_load): Add 'self' argument.
2118 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
2119 * monitor.c (monitor_load): Add 'self' argument.
2120 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
2122 2014-02-19 Tom Tromey <tromey@redhat.com>
2124 * target.h (struct target_ops) <to_terminal_info>: Add argument.
2125 (target_terminal_info): Add argument.
2126 * target.c (debug_to_terminal_info): Add argument.
2127 (default_terminal_info): Likewise.
2128 * inflow.c (child_terminal_info): Add 'self' argument.
2129 * inferior.h (child_terminal_info): Add 'self' argument.
2130 * go32-nat.c (go32_terminal_info): Add 'self' argument.
2132 2014-02-19 Tom Tromey <tromey@redhat.com>
2134 * target.h (struct target_ops) <to_terminal_save_ours>: Add
2136 (target_terminal_save_ours): Add argument.
2137 * target.c (debug_to_terminal_save_ours): Add argument.
2138 (update_current_target): Update.
2139 * inflow.c (terminal_save_ours): Add 'self' argument.
2140 * inferior.h (terminal_save_ours): Add 'self' argument.
2142 2014-02-19 Tom Tromey <tromey@redhat.com>
2144 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
2145 (target_terminal_ours): Add argument.
2146 * target.c (debug_to_terminal_ours): Add argument.
2147 (update_current_target): Update.
2148 * remote.c (remote_terminal_ours): Add 'self' argument.
2149 (remote_close): Update.
2150 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
2151 * inflow.c (terminal_ours): Add 'self' argument.
2152 * inferior.h (terminal_ours): Add 'self' argument.
2153 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2155 2014-02-19 Pedro Alves <palves@redhat.com>
2156 Tom Tromey <tromey@redhat.com>
2158 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
2160 (target_terminal_ours_for_output): Add argument.
2161 * target.c (debug_to_terminal_ours_for_output): Add argument.
2162 (update_current_target): Update.
2163 * inflow.c (terminal_ours_for_output): Add 'self' argument.
2164 * inferior.h (terminal_ours_for_output): Add 'self' argument.
2165 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2167 2014-02-19 Tom Tromey <tromey@redhat.com>
2169 * target.h (struct target_ops) <to_terminal_inferior>: Add
2171 * target.c (target_terminal_inferior): Add argument.
2172 (update_current_target): Update.
2173 * remote.c (remote_terminal_inferior): Add 'self' argument.
2174 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
2175 * inflow.c (terminal_inferior): Add 'self' argument.
2176 * inferior.h (terminal_inferior): Add 'self' argument.
2177 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
2178 (go32_terminal_inferior): Add 'self' argument.
2180 2014-02-19 Tom Tromey <tromey@redhat.com>
2182 * target.h (struct target_ops) <to_terminal_init>: Add argument.
2183 (target_terminal_init): Add argument.
2184 * target.c (debug_to_terminal_init): Add argument.
2185 (update_current_target): Update.
2186 * inflow.c (terminal_init_inferior): Add 'self' argument.
2187 * inferior.h (terminal_init_inferior): Add 'self' argument.
2188 * go32-nat.c (go32_terminal_init): Add 'self' argument.
2189 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
2191 2014-02-19 Tom Tromey <tromey@redhat.com>
2193 * target.h (struct target_ops)
2194 <to_can_accel_watchpoint_condition>: Add argument.
2195 (target_can_accel_watchpoint_condition): Add argument.
2196 * target.c (debug_to_can_accel_watchpoint_condition): Add
2198 (update_current_target): Update.
2199 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
2202 2014-02-19 Tom Tromey <tromey@redhat.com>
2204 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2206 (target_region_ok_for_hw_watchpoint): Add argument.
2207 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
2208 (default_region_ok_for_hw_watchpoint): Add argument.
2209 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
2210 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
2212 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
2214 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
2216 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
2218 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
2220 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
2222 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
2223 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
2225 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
2226 Add 'self' argument.
2228 2014-02-19 Tom Tromey <tromey@redhat.com>
2230 * target.h (struct target_ops) <to_insert_watchpoint>: Add
2232 (target_insert_watchpoint): Add argument.
2233 * target.c (debug_to_insert_watchpoint): Add argument.
2234 (update_current_target): Update.
2235 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
2236 * remote.c (remote_insert_watchpoint): Add 'self' argument.
2237 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
2238 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
2239 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
2240 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
2242 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
2243 (procfs_insert_hw_watchpoint): Add 'self' argument.
2244 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
2246 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
2248 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
2250 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
2251 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
2253 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
2256 2014-02-19 Tom Tromey <tromey@redhat.com>
2258 * target.h (struct target_ops) <to_remove_watchpoint>: Add
2260 (target_remove_watchpoint): Add argument.
2261 * target.c (debug_to_remove_watchpoint): Add argument.
2262 (update_current_target): Update.
2263 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
2264 * remote.c (remote_remove_watchpoint): Add 'self' argument.
2265 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
2266 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
2267 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
2268 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
2270 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
2271 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
2273 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
2275 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
2277 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
2278 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
2280 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
2283 2014-02-19 Tom Tromey <tromey@redhat.com>
2285 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
2287 (target_remove_hw_breakpoint): Add argument.
2288 * target.c (debug_to_remove_hw_breakpoint): Add argument.
2289 (update_current_target): Update.
2290 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
2291 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
2293 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
2294 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
2296 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
2299 2014-02-19 Tom Tromey <tromey@redhat.com>
2301 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
2303 (target_insert_hw_breakpoint): Add argument.
2304 * target.c (debug_to_insert_hw_breakpoint): Add argument.
2305 (update_current_target): Update.
2306 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
2307 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
2309 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
2310 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
2311 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
2313 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
2316 2014-02-19 Tom Tromey <tromey@redhat.com>
2318 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
2320 (target_can_use_hardware_watchpoint): Add argument.
2321 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
2322 (update_current_target): Update.
2323 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
2325 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
2327 * remote.c (remote_check_watch_resources): Add 'self' argument.
2328 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
2329 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
2331 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
2332 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
2334 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
2336 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
2338 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
2340 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
2342 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
2344 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
2345 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
2347 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
2350 2014-02-19 Tom Tromey <tromey@redhat.com>
2352 * target.h (struct target_ops) <to_post_attach>: Add argument.
2353 (target_post_attach): Add argument.
2354 * target.c (debug_to_post_attach): Add argument.
2355 (update_current_target): Update.
2356 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
2357 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
2358 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
2359 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
2360 * inf-child.c (inf_child_post_attach): Add 'self' argument.
2362 2014-02-19 Tom Tromey <tromey@redhat.com>
2364 * windows-nat.c (windows_close): Add 'self' argument.
2365 * tracepoint.c (tfile_close): Add 'self' argument.
2366 * target.h (struct target_ops) <to_close>: Add argument.
2367 * target.c (target_close): Add argument.
2368 (update_current_target): Update.
2369 * remote.c (remote_close): Add 'self' argument.
2370 * remote-sim.c (gdbsim_close): Add 'self' argument.
2371 * remote-mips.c (mips_close): Add 'self' argument.
2372 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
2373 * record-full.c (record_full_close): Add 'self' argument.
2374 * record-btrace.c (record_btrace_close): Add 'self' argument.
2375 * monitor.h (monitor_close): Add 'self' argument.
2376 * monitor.c (monitor_close): Add 'self' argument.
2377 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
2378 * linux-nat.c (linux_nat_close): Add argument.
2379 * go32-nat.c (go32_close): Add 'self' argument.
2380 * exec.c (exec_close_1): Add 'self' argument.
2381 * ctf.c (ctf_close): Add 'self' argument.
2382 * corelow.c (core_close): Add 'self' argument.
2383 (core_close_cleanup): Update.
2384 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
2385 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
2387 2014-02-19 Tom Tromey <tromey@redhat.com>
2389 * remote.c (remote_load): New function.
2390 (init_remote_ops): Use it.
2392 2014-02-19 Tom Tromey <tromey@redhat.com>
2394 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
2396 * common/linux-btrace.h (linux_supports_btrace): Update.
2397 * remote.c (remote_supports_btrace): Add "self" argument.
2398 * target-delegates.c: Rebuild.
2399 * target.c (target_supports_btrace): Remove.
2400 * target.h (struct target_ops) <to_supports_btrace>: Add
2401 target_ops argument.
2402 (target_supports_btrace): New define.
2404 2014-02-19 Tom Tromey <tromey@redhat.com>
2406 * record-full.c (record_full_beneath_to_resume_ops)
2407 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
2408 (record_full_beneath_to_wait)
2409 (record_full_beneath_to_store_registers_ops)
2410 (record_full_beneath_to_store_registers)
2411 (record_full_beneath_to_xfer_partial_ops)
2412 (record_full_beneath_to_xfer_partial)
2413 (record_full_beneath_to_insert_breakpoint_ops)
2414 (record_full_beneath_to_insert_breakpoint)
2415 (record_full_beneath_to_remove_breakpoint_ops)
2416 (record_full_beneath_to_remove_breakpoint)
2417 (record_full_beneath_to_stopped_by_watchpoint)
2418 (record_full_beneath_to_stopped_data_address)
2419 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
2420 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
2421 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
2422 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
2423 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
2424 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
2425 (tmp_to_stopped_data_address, tmp_to_async): Remove.
2426 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
2427 (record_full_resume, record_full_wait_1)
2428 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
2429 (record_full_store_registers, record_full_xfer_partial)
2430 (record_full_insert_breakpoint, record_full_remove_breakpoint)
2431 (record_full_async, record_full_core_xfer_partial): Use target
2433 * target-delegates.c: Rebuild.
2434 * target.c (current_xfer_partial): Remove.
2435 (update_current_target): Do not INHERIT or de_fault
2436 to_insert_breakpoint, to_remove_breakpoint,
2437 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
2438 to_is_async_p, to_async. Do not set to_xfer_partial field.
2439 (default_xfer_partial): Simplify.
2440 (current_xfer_partial): Remove.
2441 (target_wait, target_resume): Simplify.
2442 (find_default_can_async_p, find_default_is_async_p): Update.
2443 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
2444 to_xfer_partial, to_stopped_by_watchpoint,
2445 to_stopped_data_address.
2446 (target_store_registers): Simplify.
2447 (forward_target_remove_breakpoint)
2448 (forward_target_insert_breakpoint): Remove.
2449 (target_remove_breakpoint, target_insert_breakpoint)
2450 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
2451 * target.h (struct target_ops) <to_resume, to_wait,
2452 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
2453 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
2454 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
2456 (forward_target_remove_breakpoint)
2457 (forward_target_insert_breakpoint): Remove.
2458 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
2460 (record_btrace_insert_breakpoint): Delegate directly.
2462 2014-02-19 Tom Tromey <tromey@redhat.com>
2465 * target-delegates.c: New file.
2466 * target.c: Include target-delegates.c.
2467 (init_dummy_target): Call install_dummy_methods.
2468 (complete_target_initialization): Call install_delegators.
2469 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
2470 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
2471 * make-target-delegates: New file.
2473 2014-02-19 Tom Tromey <tromey@redhat.com>
2475 * record.c (find_record_target): Use find_target_at.
2476 * target.c (find_target_at): New function.
2477 * target.h (find_target_at): Declare.
2479 2014-02-19 Tom Tromey <tromey@redhat.com>
2481 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
2483 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
2485 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
2486 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
2488 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
2490 * linux-nat.c (save_sigtrap): Update.
2491 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
2492 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
2493 (linux_nat_close): Update.
2494 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
2496 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
2498 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
2499 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
2500 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
2501 (tmp_to_async): Add 'ops' argument.
2502 (record_full_stopped_by_watchpoint, record_full_async)
2503 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
2505 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
2506 (m32r_stopped_by_watchpoint): Add 'ops' argument.
2507 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
2508 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
2509 (remote_is_async_p, remote_async): Add 'ops' argument.
2510 (remote_stopped_data_address): Update.
2511 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
2512 * target.c (update_current_target)
2513 (find_default_can_async_p, find_default_is_async_p): Update.
2514 (init_dummy_target): Update.
2515 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
2516 * target.h (struct target_ops) <to_stopped_by_watchpoint,
2517 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
2518 (target_can_async_p, target_is_async_p, target_async)
2519 (target_stopped_by_watchpoint): Update.
2521 2014-02-19 Yao Qi <yao@codesourcery.com>
2524 * gdbarch.sh: Remove startup_gdbarch.
2525 * gdbarch.c: Regenerated.
2526 * gdbarch.h: Likewise.
2528 2014-02-17 Kevin Buettner <kevinb@redhat.com>
2530 * rl78-tdep.c (rl78_g10_register_name): New function.
2531 (rl78_return_value): Add g10 support.
2532 (rl78_gdbarch_init): Register rl78_g10_register_name for the
2535 2014-02-17 Doug Evans <xdje42@gmail.com>
2537 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
2538 (SUBDIR_GUILE_SRCS): Ditto.
2539 (scm-gsmob.o): Ditto.
2541 2014-02-17 Yao Qi <yao@codesourcery.com>
2543 * gnu-nat.c (ILL_RPC): Declare defined function.
2545 2014-02-17 Yao Qi <yao@codesourcery.com>
2547 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
2548 mach_msg_type_number_t.
2549 (gnu_write_inferior): Likewise.
2551 2014-02-17 Yao Qi <yao@codesourcery.com>
2553 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
2555 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
2556 (inf_validate_procs, inf_signal): Likewise.
2557 (S_exception_raise_request): Likewise.
2558 (do_mach_notify_dead_name): Likewise.
2559 (steal_exc_port): Likewise.
2560 (gnu_read_inferior): Change 'copy_count''s type to
2561 mach_msg_type_number_t.
2562 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
2565 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
2567 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
2568 flag. Adjust all users; in particular...
2569 (gnu_wait): ..., don't decrement its value in here...
2570 (gnu_create_inferior): ..., and instead set the flag in here,
2571 around the startup_inferior call, and call that one with
2572 START_INFERIOR_TRAPS_EXPECTED.
2574 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
2575 (ILL_RPC): ... new macro.
2576 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
2577 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
2578 (do_mach_notify_send_once, S_proc_setmsgport_reply)
2579 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
2580 functions with ILL_RPC macro.
2581 (S_proc_pid2task_reply, S_proc_task2pid_reply)
2582 (S_proc_task2proc_reply, S_proc_proc2task_reply)
2583 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
2584 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
2585 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
2586 (S_proc_getlogin_reply, S_proc_getsid_reply)
2587 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
2588 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
2589 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
2590 (S_proc_getnports_reply, S_proc_is_important_reply)
2591 (S_proc_get_code_reply): New stub functions, generated with
2594 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
2595 collected the type check structures.
2597 * reply_mig_hack.awk: Don't expect to see the auto keyword.
2599 2014-02-14 Doug Evans <dje@google.com>
2601 * target.c (target_write_partial): Fix result type.
2603 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2605 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
2606 the proper offsets to access fpregset_t.
2608 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
2610 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
2611 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
2612 * h8300-tdep.c (setmachinelist): Remove global.
2613 * hppa-tdep.c (hppa_sigtramp): Remove global.
2614 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
2615 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
2616 * ravenscar-thread.c (update_target_observer): Remove global.
2617 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
2619 2014-02-12 Tom Tromey <tromey@redhat.com>
2621 * common/rsp-low.c: Update comments.
2622 * common/rsp-low.h: Update comments.
2624 2014-02-12 Tom Tromey <tromey@redhat.com>
2626 * common/rsp-low.c (convert_ascii_to_int): Remove.
2627 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
2629 2014-02-12 Tom Tromey <tromey@redhat.com>
2631 * common/rsp-low.h (unhexify): Don't declare.
2632 * common/rsp-low.c (unhexify): Remove.
2634 2014-02-12 Tom Tromey <tromey@redhat.com>
2636 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
2637 * common/rsp-low.c (convert_int_to_ascii): Remove.
2639 2014-02-12 Tom Tromey <tromey@redhat.com>
2641 * common/rsp-low.h (hexify): Don't declare.
2642 * common/rsp-low.c (hexify): Remove.
2644 2014-02-12 Tom Tromey <tromey@redhat.com>
2646 * common/rsp-low.c (hexify): Never take strlen of argument.
2648 2014-02-12 Tom Tromey <tromey@redhat.com>
2650 * common/rsp-low.c (bin2hex): Never take strlen of argument.
2651 * remote.c (extended_remote_run, remote_rcmd)
2652 (remote_download_trace_state_variable, remote_save_trace_data)
2653 (remote_set_trace_notes): Update.
2654 * tracepoint.c (encode_source_string, tfile_write_status)
2655 (tfile_write_uploaded_tsv): Update.
2657 2014-02-12 Tom Tromey <tromey@redhat.com>
2659 * tracepoint.c: Include rsp-low.h.
2660 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
2661 * remote.c: Include rsp-low.h.
2662 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
2663 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
2664 (remote_unescape_input): Move to common/rsp-low.c.
2665 * common/rsp-low.h: New file.
2666 * common/rsp-low.c: New file.
2667 * Makefile.in (SFILES): Add common/rsp-low.c.
2668 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
2669 (COMMON_OBS): Add rsp-low.o.
2670 (rsp-low.o): New target.
2672 2014-02-12 Tom Tromey <tromey@redhat.com>
2674 * utils.h: Include print-utils.h.
2675 (host_address_to_string, plongest, pulongest, phex, phex_nz)
2676 (int_string, core_addr_to_string, core_addr_to_string_nz)
2677 (hex_string, hex_string_custom): Don't declare.
2678 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2679 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2680 (hex_string_custom, int_string, core_addr_to_string)
2681 (core_addr_to_string_nz, host_address_to_string): Move to
2682 common/print-utils.c.
2683 * common/print-utils.h: New file.
2684 * common/print-utils.c: New file
2685 * Makefile.in (SFILES): Add common/print-utils.c.
2686 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2687 (COMMON_OBS): Add print-utils.o.
2688 (print-utils.o): New target.
2690 2014-02-12 Tom Tromey <tromey@redhat.com>
2692 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2694 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2696 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2698 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2700 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2701 if a PT_IO ptrace request returns sucessfully but indicates that 0
2702 bytes were transferred.
2704 2014-02-12 Pedro Alves <palves@redhat.com>
2705 Kevin Buettner <kevinb@redhat.com>
2707 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2708 TYPE_INSTANCE_FLAG_CODE_SPACE.
2710 2014-02-12 Pedro Alves <palves@redhat.com>
2712 * h8300-tdep.c (pseudo_from_raw_register)
2713 (raw_from_pseudo_register): New functions.
2714 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2717 2014-02-12 Pedro Alves <palves@redhat.com>
2719 * h8300-tdep.c (h8300_register_sim_regno): New function.
2720 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2721 gdbarch_register_sim_regno hook.
2723 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2725 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2727 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2729 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2731 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2733 * obsd-tdep.h (obsd_init_abi): New prototype.
2734 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2735 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2736 (obsd_init_abi): New functions.
2737 * i386obsd-tdep.c: Include "obsd-tdep.h".
2738 (i386obsd_init_abi): Call obsd_init_abi.
2739 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2740 (amd64obsd_init_abi): Call obsd_init_abi.
2741 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2742 obsd-tdep.c to gdb_target_obs.
2744 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2746 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2747 double float arguments to 16-byte in the argument slots.
2749 2014-02-11 Doug Evans <xdje42@gmail.com>
2751 * configure.ac: Don't crash if pkg-config is not found and guile
2752 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2754 * configure: Regenerate.
2756 2014-02-11 Yao Qi <yao@codesourcery.com>
2758 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2759 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2760 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2761 * gnu-nat.c (gnu_xfer_memory): Likewise.
2762 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2763 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2764 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2765 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2767 2014-02-11 Yao Qi <yao@codesourcery.com>
2769 * target.h (enum target_xfer_error): Rename to ...
2770 (enum target_xfer_status): ... it. New. All users updated.
2771 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2773 (TARGET_XFER_STATUS_ERROR_P): New macro.
2774 (target_xfer_error_to_string): Remove declaration.
2775 (target_xfer_status_to_string): Declare.
2776 (target_xfer_partial_ftype): Adjust it.
2777 (struct target_ops) <to_xfer_partial>: Return
2778 target_xfer_status. Add argument xfered_len. Update
2780 * target.c (target_xfer_error_to_string): Rename to ...
2781 (target_xfer_status_to_string): ... it. New. All callers
2783 (target_read_live_memory): Likewise. Call target_xfer_partial
2784 instead of target_read.
2785 (memory_xfer_live_readonly_partial): Return
2786 target_xfer_status. Add argument xfered_len.
2787 (raw_memory_xfer_partial): Likewise.
2788 (memory_xfer_partial_1): Likewise.
2789 (memory_xfer_partial): Likewise.
2790 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2791 properly. Update debug message.
2792 (default_xfer_partial, current_xfer_partial): Likewise.
2793 (target_write_partial): Likewise.
2794 (target_read_partial): Likewise. All callers updated.
2795 (read_whatever_is_readable): Likewise.
2796 (target_write_with_progress): Likewise.
2797 (target_read_alloc_1): Likewise.
2799 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2800 * auxv.c (procfs_xfer_auxv): Likewise.
2801 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2802 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2803 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2804 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2805 * corefile.c (read_memory): Adjust.
2806 * corelow.c (core_xfer_partial): Likewise.
2807 * ctf.c (ctf_xfer_partial): Likewise.
2808 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2810 (darwin_xfer_partial): Likewise.
2811 * exec.c (section_table_xfer_memory_partial): Likewise. All
2813 (exec_xfer_partial): Likewise.
2814 * exec.h (section_table_xfer_memory_partial): Update
2816 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2818 (gnu_xfer_partial): Likewise.
2819 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2820 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2821 (ia64_hpux_xfer_solib_got): Likewise.
2822 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2823 type of 'partial_len' to ULONGEST.
2824 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2825 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2826 (linux_nat_xfer_partial): Likewise.
2827 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2828 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2829 * monitor.c (monitor_xfer_memory): Likewise.
2830 (monitor_xfer_partial): Likewise.
2831 * procfs.c (procfs_xfer_partial): Likewise.
2832 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2833 * record-full.c (record_full_xfer_partial): Likewise.
2834 (record_full_core_xfer_partial): Likewise.
2835 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2836 (gdbsim_xfer_partial): Likewise.
2837 * remote.c (remote_write_bytes_aux): Likewise. All callers
2839 (remote_write_bytes, remote_read_bytes): Likewise. All
2841 (remote_flash_erase): Likewise. All callers updated.
2842 (remote_write_qxfer): Likewise. All callers updated.
2843 (remote_read_qxfer): Likewise. All callers updated.
2844 (remote_xfer_partial): Likewise.
2845 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2846 (rs6000_xfer_shared_libraries): Likewise.
2847 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2848 (sol_thread_xfer_partial): Likewise.
2849 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2850 (sparc_xfer_partial): Likewise.
2851 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2853 (spu_xfer_partial): Likewise.
2854 * spu-multiarch.c (spu_xfer_partial): Likewise.
2855 * tracepoint.c (tfile_xfer_partial): Likewise.
2856 * windows-nat.c (windows_xfer_memory): Likewise.
2857 (windows_xfer_shared_libraries): Likewise.
2858 (windows_xfer_partial): Likewise.
2859 * valprint.c: Replace 'target_xfer_error' with
2860 'target_xfer_status' in comments.
2862 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2864 Checked in by Joel Brobecker <brobecker@adacore.com>.
2865 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2867 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2869 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2870 function parameters.
2872 2014-02-10 Will Newton <will.newton@linaro.org>
2874 * elfread.c (elf_rel_plt_read): Look for a .got section if
2875 looking up .got.plt fails.
2876 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2877 on address passed to elf_gnu_ifunc_record_cache.
2878 (elf_gnu_ifunc_resolve_addr): Likewise.
2879 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2881 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2883 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2884 (X_RETTURN): New macro.
2885 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2887 * sparc64-tdep.c (sparc64_init_abi): Hook
2888 sparc_in_function_epilogue_p.
2890 2014-02-10 Gary Benson <gbenson@redhat.com>
2892 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2893 Rename name_matcher to symbol_matcher.
2895 2014-02-10 Gary Benson <gbenson@redhat.com>
2897 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2898 Use expand_symtabs_file_matcher_ftype and
2899 expand_symtabs_symbol_matcher_ftype.
2901 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2903 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2904 (struct ada_symbol_cache): New.
2905 (ada_free_symbol_cache): Forward declare.
2906 (struct ada_pspace_data): New.
2907 (ada_pspace_data_handle): New static global.
2908 (get_ada_pspace_data, ada_pspace_data_cleanup)
2909 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2910 (cache_space, cache): Delete, now folded inside struct
2912 (ada_get_symbol_cache): New function.
2913 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2915 (_initialize_ada_language): Remove initialization of cache_space.
2916 Move call to observer_attach_inferior_exit up, grouping it
2917 with the other observer registrations inside this function.
2918 Rename command to be more general. Add call to
2919 register_program_space_data_with_cleanup.
2921 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2923 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2924 ada_new_objfile_observer.
2925 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2926 (_initialize_tasks): Update uses of ada_new_objfile_observer
2927 and ada_tasks_normal_stop_observer.
2929 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2931 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2932 returned by the 'Length attribute to integer.
2934 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2936 * ada-lang.c (_initialize_ada_language): Initialize
2937 cache_space obstack.
2939 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2941 * ada-lang.c (HASH_SIZE): New macro.
2942 (struct cache_entry): New type.
2943 (cache_space, cache): New static globals.
2944 (ada_clear_symbol_cache, find_entry): New functions.
2945 (lookup_cached_symbol, cache_symbol): Implement.
2946 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2947 (_initialize_ada_language): Attach ada_new_objfile_observer
2948 and ada_free_objfile_observer.
2950 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2952 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
2953 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
2954 struct block * parameter.
2955 (ada_lookup_symbol_list_worker): Constify local variable "block".
2956 Remove cast which is no longer necessary.
2958 2014-02-10 Doug Evans <xdje42@gmail.com>
2960 Add Guile as an extension language.
2961 * NEWS: Mention Guile scripting.
2962 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
2963 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
2964 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
2965 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
2966 (CLIBS): Add GUILE_LIBS.
2967 (install-guile): New rule.
2968 (guile.o): New rule.
2969 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
2970 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
2971 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
2972 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
2973 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
2974 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
2975 (scm-type.o, scm-utils.o, scm-value.o): New rules.
2976 * configure.ac: New option --with-guile.
2977 * configure: Regenerate.
2978 * config.in: Regenerate.
2979 * auto-load.c: Remove #include "python/python.h". Add #include
2980 "gdb/section-scripts.h".
2981 (source_section_scripts): Handle Guile scripts.
2982 (_initialize_auto_load): Add name of Guile objfile script to
2983 scripts-directory help text.
2984 * breakpoint.c (condition_command): Tweak comment to include Scheme.
2985 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
2986 (struct breakpoint): New member scm_bp_object.
2987 * defs.h (enum command_control_type): New value guile_control.
2988 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
2990 (show_user): Update comment.
2991 (_initialize_cli_cmds): Update help text for "show user". Update help
2992 text for max-user-call-depth.
2993 * cli/cli-script.c: Remove #include "python/python.h". Add #include
2995 (multi_line_command_p): Add guile_control.
2996 (print_command_lines): Handle guile_control.
2997 (execute_control_command, recurse_read_control_structure): Ditto.
2998 (process_next_line): Recognize "guile" commands.
2999 * disasm.c (gdb_disassemble_info): Make non-static.
3000 * disasm.h: #include "dis-asm.h".
3001 (struct gdbarch): Add forward decl.
3002 (gdb_disassemble_info): Declare.
3003 * extension.c: #include "guile/guile.h".
3004 (extension_languages): Add guile.
3005 (get_ext_lang_defn): Handle EXT_LANG_GDB.
3006 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
3007 * gdbtypes.c (get_unsigned_type_max): New function.
3008 (get_signed_type_minmax): New function.
3009 * gdbtypes.h (get_unsigned_type_max): Declare.
3010 (get_signed_type_minmax): Declare.
3011 * guile/README: New file.
3012 * guile/guile-internal.h: New file.
3013 * guile/guile.c: New file.
3014 * guile/guile.h: New file.
3015 * guile/scm-arch.c: New file.
3016 * guile/scm-auto-load.c: New file.
3017 * guile/scm-block.c: New file.
3018 * guile/scm-breakpoint.c: New file.
3019 * guile/scm-disasm.c: New file.
3020 * guile/scm-exception.c: New file.
3021 * guile/scm-frame.c: New file.
3022 * guile/scm-gsmob.c: New file.
3023 * guile/scm-iterator.c: New file.
3024 * guile/scm-lazy-string.c: New file.
3025 * guile/scm-math.c: New file.
3026 * guile/scm-objfile.c: New file.
3027 * guile/scm-ports.c: New file.
3028 * guile/scm-pretty-print.c: New file.
3029 * guile/scm-safe-call.c: New file.
3030 * guile/scm-string.c: New file.
3031 * guile/scm-symbol.c: New file.
3032 * guile/scm-symtab.c: New file.
3033 * guile/scm-type.c: New file.
3034 * guile/scm-utils.c: New file.
3035 * guile/scm-value.c: New file.
3036 * guile/lib/gdb.scm: New file.
3037 * guile/lib/gdb/boot.scm: New file.
3038 * guile/lib/gdb/experimental.scm: New file.
3039 * guile/lib/gdb/init.scm: New file.
3040 * guile/lib/gdb/iterator.scm: New file.
3041 * guile/lib/gdb/printing.scm: New file.
3042 * guile/lib/gdb/types.scm: New file.
3043 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
3044 (VPATH): Add $(GUILE_SRCDIR).
3045 (GUILE_DIR): New variable.
3046 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
3047 (all): Add stamp-guile dependency.
3048 (stamp-guile): New rule.
3049 (clean-guile, install-guile, uninstall-guile): New rules.
3050 (install-only): Add install-guile dependency.
3051 (uninstall): Add uninstall-guile dependency.
3052 (clean): Add clean-guile dependency.
3054 2014-02-09 Doug Evans <xdje42@gmail.com>
3056 Revert this patch (which I approved, mea culpa).
3058 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3060 * Makefile.in (all-lib): Remove.
3061 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3063 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3065 Fix Python stack corruption.
3066 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
3069 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3071 * Makefile.in (all-lib): Remove.
3072 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3074 2014-02-07 Doug Evans <dje@google.com>
3076 * extension-priv.h (extension_language_script_ops): Add comment.
3077 (extension_language_ops): Add comment.
3078 (active_ext_lang_state): Fix typo in comment.
3080 2014-02-07 Pedro Alves <palves@redhat.com>
3082 * infrun.c (handle_signal_stop) <signal arrives while stepping
3083 over a breakpoint>: Switch back to the stepping thread.
3085 2014-02-07 Yao Qi <yao@codesourcery.com>
3087 * target.c (target_xfer_partial): Return zero if LEN is zero.
3089 2014-02-07 Yao Qi <yao@codesourcery.com>
3091 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
3092 (ld_so_xfer_auxv): Likewise.
3093 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3094 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3095 * corelow.c (core_xfer_partial): Likewise.
3096 * ctf.c (ctf_xfer_partial): Likewise.
3097 * darwin-nat.c (darwin_read_dyld_info): Likewise.
3098 (darwin_xfer_partial): Likewise.
3099 * exec.c (exec_xfer_partial): Likewise.
3100 * gnu-nat.c (gnu_xfer_partial): Likewise.
3101 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
3102 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
3103 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
3104 * linux-nat.c (linux_xfer_siginfo): Likewise.
3105 (linux_proc_xfer_spu): Likewise.
3106 * procfs.c (procfs_xfer_partial): Likewise.
3107 * record-full.c (record_full_xfer_partial): Likewise.
3108 (record_full_core_xfer_partial): Likewise.
3109 * remote-sim.c (gdbsim_xfer_partial): Likewise.
3110 * remote.c (remote_write_qxfer): Likewise.
3111 (remote_write_qxfer, remote_read_qxfer): Likewise.
3112 (remote_xfer_partial): Likewise.
3113 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3114 (rs6000_xfer_shared_libraries): Likewise.
3115 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3116 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3117 (spu_xfer_partial): Likewise.
3118 * target.c (memory_xfer_partial_1): Likewise.
3119 * tracepoint.c (tfile_xfer_partial): Likewise.
3120 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
3121 (windows_xfer_partial): Likewise.
3123 2014-02-07 Yao Qi <yao@codesourcery.com>
3125 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
3127 (core_xfer_shared_libraries_aix): Likewise.
3128 * gdbarch.c, gdbarch.h: Regenerated.
3129 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
3130 ULONGEST. Change 'len_avail' type to ULONGEST.
3131 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3132 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3134 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
3136 2014-02-07 Yao Qi <yao@codesourcery.com>
3138 * corefile.c (memory_error): Get 'exception' from ERR and pass
3139 'exception' to throw_error.
3141 2014-02-06 Doug Evans <xdje42@gmail.com>
3143 * configure.ac (libpython checking): Remove all but python.o from
3144 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
3145 * configure: Regenerate.
3147 * Makefile.in (SFILES): Add extension.c.
3148 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
3149 (COMMON_OBS): Add extension.o.
3150 * extension.h: New file.
3151 * extension-priv.h: New file.
3152 * extension.c: New file.
3154 * python/python-internal.h: #include "extension.h".
3155 (gdbpy_auto_load_enabled): Declare.
3156 (gdbpy_apply_val_pretty_printer): Declare.
3157 (gdbpy_apply_frame_filter): Declare.
3158 (gdbpy_preserve_values): Declare.
3159 (gdbpy_breakpoint_cond_says_stop): Declare.
3160 (gdbpy_breakpoint_has_cond): Declare.
3161 (void source_python_script_for_objfile): Delete.
3162 * python/python.c: #include "extension-priv.h".
3163 Delete inclusion of "observer.h".
3164 (extension_language_python): Moved here and renamed from
3165 script_language_python in py-auto-load.c.
3166 Redefined to be of type extension_language_defn.
3167 (python_extension_script_ops): New global.
3168 (python_extension_ops): New global.
3169 (struct python_env): New member previous_active.
3170 (restore_python_env): Call restore_active_ext_lang.
3171 (ensure_python_env): Call set_active_ext_lang.
3172 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
3174 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
3176 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
3178 (gdbpy_eval_from_control_command): Renamed from
3179 eval_python_from_control_command, made static. New arg extlang.
3180 (gdbpy_source_script) Renamed from source_python_script, made static.
3182 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
3183 result to int. New arg extlang.
3184 (gdbpy_source_objfile_script): Renamed from
3185 source_python_script_for_objfile, made static. New arg extlang.
3186 (gdbpy_start_type_printers): Renamed from start_type_printers, made
3187 static. New args extlang, extlang_printers. Change result type to
3189 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
3190 static. New arg extlang. Rename arg printers to extlang_printers
3191 and change type to ext_lang_type_printers *.
3192 (gdbpy_free_type_printers): Renamed from free_type_printers, made
3193 static. Replace argument arg with extlang, extlang_printers.
3194 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
3195 (!HAVE_PYTHON, source_python_script): Delete.
3196 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
3197 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
3198 (!HAVE_PYTHON, start_type_printers): Delete.
3199 (!HAVE_PYTHON, apply_type_printers): Delete.
3200 (!HAVE_PYTHON, free_type_printers): Delete.
3201 (_initialize_python): Delete call to observer_attach_before_prompt.
3202 (finalize_python): Set/restore active extension language.
3203 (gdbpy_finish_initialization) Renamed from
3204 finish_python_initialization, made static. New arg extlang.
3205 (gdbpy_initialized): New function.
3206 * python/python.h: #include "extension.h". Delete #include
3207 "value.h", "mi/mi-cmds.h".
3208 (extension_language_python): Declare.
3209 (GDBPY_AUTO_FILE_NAME): Delete.
3210 (enum py_bt_status): Moved to extension.h and renamed to
3212 (enum frame_filter_flags): Moved to extension.h.
3213 (enum py_frame_args): Moved to extension.h and renamed to
3214 ext_lang_frame_args.
3215 (finish_python_initialization): Delete.
3216 (eval_python_from_control_command): Delete.
3217 (source_python_script): Delete.
3218 (apply_val_pretty_printer): Delete.
3219 (apply_frame_filter): Delete.
3220 (preserve_python_values): Delete.
3221 (gdbpy_script_language_defn): Delete.
3222 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
3223 (start_type_printers, apply_type_printers, free_type_printers): Delete.
3225 * auto-load.c: #include "extension.h".
3226 (GDB_AUTO_FILE_NAME): Delete.
3227 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
3228 (script_language_gdb): Delete, moved to extension.c and renamed to
3229 extension_language_gdb.
3230 (source_gdb_script_for_objfile): Delete.
3231 (auto_load_pspace_info): New member unsupported_script_warning_printed.
3232 (loaded_script): Change type of language member to
3233 struct extension_language_defn *.
3234 (init_loaded_scripts_info): Initialize
3235 unsupported_script_warning_printed.
3236 (maybe_add_script): Make static. Change type of language arg to
3237 struct extension_language_defn *.
3238 (clear_section_scripts): Reset unsupported_script_warning_printed.
3239 (auto_load_objfile_script_1): Rewrite to use extension language API.
3240 (auto_load_objfile_script): Make public. Remove support-compiled-in
3241 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
3242 (source_section_scripts): Rewrite to use extension language API.
3243 (load_auto_scripts_for_objfile): Rewrite to use
3244 auto_load_scripts_for_objfile.
3245 (collect_matching_scripts_data): Change type of language member to
3246 struct extension_language_defn *.
3247 (auto_load_info_scripts): Change type of language arg to
3248 struct extension_language_defn *.
3249 (unsupported_script_warning_print): New function.
3250 (script_not_found_warning_print): Make static.
3251 (_initialize_auto_load): Rewrite construction of scripts-directory
3253 * auto-load.h (struct objfile): Add forward decl.
3254 (struct script_language): Delete.
3255 (struct auto_load_pspace_info): Add forward decl.
3256 (struct extension_language_defn): Add forward decl.
3257 (maybe_add_script): Delete.
3258 (auto_load_objfile_script): Declare.
3259 (script_not_found_warning_print): Delete.
3260 (auto_load_info_scripts): Update prototype.
3261 (auto_load_gdb_scripts_enabled): Declare.
3262 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
3263 auto_load_python_scripts_enabled and made public.
3264 (script_language_python): Delete, moved to python.c.
3265 (gdbpy_script_language_defn): Delete.
3266 (info_auto_load_python_scripts): Update to use
3267 extension_language_python.
3269 * breakpoint.c (condition_command): Replace call to
3270 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
3271 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
3272 with call to breakpoint_ext_lang_cond_says_stop.
3273 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
3274 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
3275 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
3276 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
3278 (local_setattro): Print name of extension language with existing
3281 * valprint.c (val_print, value_print): Update to call
3282 apply_ext_lang_val_pretty_printer.
3283 * cp-valprint.c (cp_print_value): Update call to
3284 apply_ext_lang_val_pretty_printer.
3285 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
3286 (gdbpy_apply_val_pretty_printer): Renamed from
3287 apply_val_pretty_printer. New arg extlang.
3288 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
3290 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
3291 extension language API.
3292 * cli/cli-script.c (execute_control_command): Update to call
3293 eval_ext_lang_from_control_command.
3295 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
3296 enum ext_lang_bt_status values. Update call to
3297 apply_ext_lang_frame_filter.
3298 (mi_cmd_stack_list_locals): Ditto.
3299 (mi_cmd_stack_list_args): Ditto.
3300 (mi_cmd_stack_list_variables): Ditto.
3301 * mi/mi-main.c: Delete #include "python/python-internal.h".
3302 Add #include "extension.h".
3303 (mi_cmd_list_features): Replace reference to python internal variable
3304 gdb_python_initialized with call to ext_lang_initialized_p.
3306 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
3307 Update to use enum ext_lang_frame_args. Update to call
3308 apply_ext_lang_frame_filter.
3309 * python/py-framefilter.c (extract_sym): Update to use enum
3311 (extract_value, py_print_type, py_print_value): Ditto.
3312 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
3313 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
3314 (py_print_frame): Ditto.
3315 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
3316 New arg extlang. Update to use enum ext_lang_bt_status.
3318 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
3319 finish_python_initialization. Replace with call to
3320 finish_ext_lang_initialization.
3322 * typeprint.c (do_free_global_table): Update to call
3323 free_ext_lang_type_printers.
3324 (create_global_typedef_table): Update to call
3325 start_ext_lang_type_printers.
3326 (find_global_typedef): Update to call apply_ext_lang_type_printers.
3327 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
3328 (type_print_options): Change type of global_printers from "void *"
3329 to "struct ext_lang_type_printers *".
3331 * value.c (preserve_values): Update to call preserve_ext_lang_values.
3332 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
3333 (gdbpy_preserve_values): Renamed from preserve_python_values.
3335 (!HAVE_PYTHON, preserve_python_values): Delete.
3337 * utils.c (quit_flag): Delete, moved to extension.c.
3338 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
3341 * eval.c: Delete #include "python/python.h".
3342 * main.c: Delete #include "python/python.h".
3344 * defs.h: Update comment.
3346 2014-02-06 Joel Brobecker <brobecker@adacore.com>
3350 2014-02-05 Mark Kettenis <kettenis@gnu.org>
3352 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
3355 2014-02-05 Yao Qi <yao@codesourcery.com>
3357 * remote.c (remote_pass_signals): Remove local 'buf' and use
3359 (remote_program_signals): Likewise.
3361 2014-02-05 Yao Qi <yao@codesourcery.com>
3363 * ctf.c: Include "inferior.h" and "gdbthread.h".
3364 (CTF_PID): A new macro.
3365 (ctf_open): Call inferior_appeared and add_thread_silent.
3366 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
3367 (ctf_thread_alive): New function.
3368 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
3370 2014-02-05 Yao Qi <yao@codesourcery.com>
3374 2013-05-24 Yao Qi <yao@codesourcery.com>
3376 * tracepoint.c (TFILE_PID): Remove.
3377 (tfile_open): Don't add thread and inferior.
3378 (tfile_close): Don't set 'inferior_ptid'. Don't call
3379 exit_inferior_silent.
3380 (tfile_thread_alive): Remove.
3381 (init_tfile_ops): Don't set field 'to_thread_alive' of
3384 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
3386 * remote.c (remote_start_remote): Call remote_check_symbols even
3387 if only symbol-file (not file) has been given.
3389 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3391 * gdbarch.sh (skip_entrypoint): New callback.
3392 * gdbarch.c, gdbarch.h: Regenerate.
3393 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
3394 * infrun.c (fill_in_stop_func): Likewise.
3395 * ppc-linux-tdep.c: Include "elf/ppc64.h".
3396 (ppc_elfv2_elf_make_msymbol_special): New function.
3397 (ppc_elfv2_skip_entrypoint): Likewise.
3398 (ppc_linux_init_abi): Install them for ELFv2.
3400 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3402 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
3403 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
3404 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
3405 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
3406 structures returned in GPRs.
3408 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3410 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
3411 offset to the stack parameter list for the ELFv2 ABI.
3413 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3415 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
3416 set_gdbarch_convert_from_func_ptr_addr and
3417 set_gdbarch_elf_make_msymbol_special for ELFv1.
3418 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
3419 function descriptors on ELFv1.
3420 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
3421 set up r12 at function entry.
3423 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3425 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
3426 (struct gdbarch_tdep): New member elf_abi.
3428 * rs6000-tdep.c: Include "elf/ppc64.h".
3429 (rs6000_gdbarch_init): Detect ELF ABI version.
3431 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3433 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
3434 within a register pair holding a DFP 128-bit value on little-endian.
3435 (ppc64_sysv_abi_return_value_base): Likewise.
3436 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
3437 (dfp_pseudo_register_write): Likewise.
3439 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3441 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
3442 offset on little-endian when passing _Decimal32.
3443 (ppc64_sysv_abi_return_value_base): Likewise for return values.
3445 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3447 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
3448 of the overlapped FP register within the VSX register on little-
3450 (efpr_pseudo_register_write): Likewise.
3452 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3454 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
3455 offset on little-endian when passing small structures.
3457 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3459 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
3460 (struct ppc64_sysv_argpos): New data structure.
3461 (ppc64_sysv_abi_push_float): Remove.
3462 (ppc64_sysv_abi_push_val): New function.
3463 (ppc64_sysv_abi_push_integer): Likewise.
3464 (ppc64_sysv_abi_push_freg): Likewise.
3465 (ppc64_sysv_abi_push_vreg): Likewise.
3466 (ppc64_sysv_abi_push_param): Likewise.
3467 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
3468 (ppc64_sysv_abi_return_value_base): New function.
3469 (ppc64_sysv_abi_return_value): Refactor to use it.
3471 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3473 * NEWS: Document new target powerpc64le-*-linux*.
3475 2014-02-04 Mark Kettenis <kettenis@gnu.org>
3477 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
3478 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
3480 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
3481 register set used in ELF core dumps. Add floating-point register set.
3483 2014-02-03 Kevin Buettner <kevinb@redhat.com>
3485 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
3486 dwarf2_to_gdb[] table using symbolic constants. Adjust
3487 penultimate entry from number representing the PC register
3488 to symbolic constant representing the MDR register. Add
3489 constant for the PC register to the end of the table.
3491 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3493 * bsd-kvm.c: Include <sys/param.h>
3495 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3497 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
3499 2014-01-31 Joel Brobecker <brobecker@adacore.com>
3501 * ada-lang.h (clear_ada_sym_cache): Delete.
3503 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
3505 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
3507 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3509 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
3510 the sigreturn register save area only if the syscall is
3513 2014-01-29 Joel Brobecker <brobecker@adacore.com>
3515 * valops.c (value_slice): Minor reformatting.
3517 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
3519 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
3521 2014-01-28 Joel Brobecker <brobecker@adacore.com>
3523 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
3525 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
3526 (ada_ignore_descriptive_types_p): New static global.
3527 (find_parallel_type_by_descriptive_type): Return immediately
3528 if ada_ignore_descriptive_types_p is set.
3529 (_initialize_ada_language): Register new commands "maintenance
3530 set ada", "maintenance show ada", "maintenance set ada
3531 ignore-descriptive-types" and "maintenance show ada
3532 ignore-descriptive-types".
3533 * NEWS: Add entry for new "maint ada set/show
3534 ignore-descriptive-types" commands.
3536 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
3538 * record-btrace.c (record_btrace_close): Call btrace_teardown
3541 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3543 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
3546 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3548 * ada-typeprint (type_is_full_subrange_of_target_type):
3550 (print_range): Add parameter bounds_prefered_p. If not set,
3551 try printing range types using the name of their base type.
3552 (print_range_type): Add parameter bounds_prefered_p.
3553 Use it in call to print_range.
3554 (print_array_type, ada_print_type): Update calls to print_range
3555 and print_range_type.
3557 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3559 * ada-typeprint.c (print_array_type, print_choices, print_range)
3560 (print_range_bound, print_dynamic_range_bound, print_range_type):
3563 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3565 * ada-typeprint.c (print_range): Add missing empty line
3566 after local declaration.
3568 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3570 * ada-valprint.c (print_optional_low_bound): Get index_type's
3571 target type for as long as it is a TYPE_CODE_RANGE.
3573 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3575 * procfs.c (procfs_make_note_section): Remove assertion and
3578 2014-01-24 Yao Qi <yao@codesourcery.com>
3580 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
3581 * corelow.c (get_core_siginfo): Likewise.
3583 2014-01-24 Yao Qi <yao@codesourcery.com>
3585 * remote.c (remote_write_bytes_aux): Change type of 'len' to
3586 ULONGEST. Don't check 'len' is negative.
3587 (remote_write_bytes): Change type of 'len' to ULONGEST.
3589 2014-01-23 Tom Tromey <tromey@redhat.com>
3592 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
3593 Handle exception from frame.block.
3594 (FrameVars.fetch_frame_locals): Likewise.
3596 2014-01-23 Tom Tromey <tromey@redhat.com>
3599 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
3600 on a NULL pointer. Move "goto error" to correct place.
3602 2014-01-23 Tom Tromey <tromey@redhat.com>
3605 * python/py-framefilter.c (apply_frame_filter): Call
3606 ensure_python_env after computing gdbarch.
3608 2014-01-23 Yao Qi <yao@codesourcery.com>
3610 * target.c (raw_memory_xfer_partial): Change argument type
3611 from void * to gdb_byte *.
3612 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
3614 2014-01-22 Doug Evans <dje@google.com>
3616 New gdbserver option --debug-format=timestamp.
3619 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3621 * syscalls/s390x-linux.xml: New file.
3622 * syscalls/s390-linux.xml: New file.
3623 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
3624 (XML_SYSCALL_FILENAME_S390X): Likewise.
3625 (op_svc): New enum value for SVC opcode.
3626 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
3627 (s390_linux_get_syscall_number): New function.
3628 (s390_gdbarch_init): Register '*get_syscall_number' and the
3629 syscall xml file name.
3630 * data-directory/Makefile.in (SYSCALLS_FILES): Add
3631 "s390-linux.xml" and "s390x-linux.xml".
3632 * NEWS: Announce new feature.
3634 2014-01-22 Baruch Siach <baruch@tkos.co.il>
3636 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
3638 2014-01-22 Pedro Alves <palves@redhat.com>
3640 * xtensa-config.c: Include defs.h.
3642 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3644 * common/common-utils.h: Add "ARI:" comment beside __func__
3647 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3649 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
3650 documentation a bit.
3652 2014-01-21 Roland McGrath <mcgrathr@google.com>
3654 * configure.ac: Call AM_PROG_INSTALL_STRIP.
3655 * configure: Regenerate.
3656 * aclocal.m4: Regenerate.
3657 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
3658 New substituted variables.
3659 (install-strip): New target.
3660 (INSTALL_SCRIPT): New substituted variable.
3661 (FLAGS_TO_PASS): Add it.
3662 (install-only): Use $(INSTALL_SCRIPT) rather than
3663 $(INSTALL_PROGRAM) for gcore.
3665 2014-01-20 Tom Tromey <tromey@redhat.com>
3667 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
3670 2014-01-20 Tom Tromey <tromey@redhat.com>
3672 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
3673 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
3674 (deprecated_cmd_warning, complete_on_cmdlist): Update.
3675 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
3676 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3677 (struct cmd_list_element) <flags>: Remove.
3678 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3679 doc_allocated>: New fields.
3680 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3682 * maint.c (maintenance_do_deprecate): Update.
3683 * top.c (execute_command): Update.
3685 2014-01-20 Baruch Siach <baruch@tkos.co.il>
3687 * xtensa-linux-nat.c: Include asm/ptrace.h.
3689 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3691 * Makefile.in (SFILES): Add d-support.c.
3692 (COMMON_OBS): Add d-support.o.
3693 * d-lang.h (d_parse_symbol): Add comment, now defined in
3695 * d-lang.c (parse_call_convention)
3696 (parse_attributes, parse_function_types)
3697 (parse_function_args, parse_type, parse_identifier)
3698 (call_convention_p, d_parse_symbol): Move functions to ...
3699 * d-support.c: ... New file.
3701 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3703 * d-lang.h (d_parse_symbol): Add declaration.
3704 * d-lang.c (extract_identifiers)
3705 (extract_type_info): Remove functions.
3706 (parse_call_convention, parse_attributes)
3707 (parse_function_types, parse_function_args)
3708 (parse_type, parse_identifier, call_convention_p)
3709 (d_parse_symbol): New functions.
3710 (d_demangle): Use d_parse_symbol to demangle D symbols.
3712 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3714 * d-lang.h (struct builtin_d_type): New data type.
3715 (builtin_d_type): Add declaration.
3716 * d-lang.c (d_language_arch_info, build_d_types)
3717 (builtin_d_type): New functions.
3718 (enum d_primitive_types): New data type.
3719 (d_language_defn): Change c_language_arch_info to
3720 d_language_arch_info.
3721 (d_type_data): New static variable.
3722 (_initialize_d_language): Initialize d_type_data.
3724 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3726 * d-lang.h (d_main_name): Add declaration.
3727 * d-lang.c (d_main_name): New function.
3728 * symtab.c (find_main_name): Add call to d_main_name.
3730 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3732 * d-lang.c (d_language_defn): Change macro_expansion_c to
3735 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3737 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3739 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3741 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3742 gdb_exception" declaration.
3743 * remote.c (getpkt_or_notif_sane): Likewise.
3745 2014-01-17 Doug Evans <dje@google.com>
3747 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3748 function, contents of dirnames_to_char_ptr_vec_append moved here.
3749 (delim_string_to_char_ptr_vec): New function.
3750 (dirnames_to_char_ptr_vec_append): Rewrite.
3751 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3753 2014-01-17 Doug Evans <dje@google.com>
3755 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3757 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3758 #include "common-utils.h".
3759 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3760 * common/vec.h (VEC_ASSERT_PASS): Update.
3761 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3762 (MACH_CHECK_ERROR): Update.
3764 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3766 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3768 * gdbarch.h: Regenerate.
3770 2014-01-16 Tom Tromey <tromey@redhat.com>
3772 * value.c (struct value) <regnum>: Move earlier.
3774 2014-01-16 Tom Tromey <tromey@redhat.com>
3776 * remote.c (extended_remote_create_inferior): Rename from
3777 extended_remote_create_inferior_1. Add "ops" argument. Remove
3780 2014-01-16 Pedro Alves <palves@redhat.com>
3782 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3783 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3786 2014-01-16 Doug Evans <dje@google.com>
3788 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3790 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3792 * btrace.h (btrace_thread_flag): New.
3793 (struct btrace_thread_info) <flags>: New.
3794 * record-btrace.c (record_btrace_resume_thread)
3795 (record_btrace_find_thread_to_move, btrace_step_no_history)
3796 (btrace_step_stopped, record_btrace_start_replaying)
3797 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3798 (record_btrace_find_resume_thread): New.
3799 (record_btrace_resume, record_btrace_wait): Extend.
3800 (record_btrace_can_execute_reverse): New.
3801 (record_btrace_open): Fail in non-stop mode.
3802 (record_btrace_set_replay): Split into this, ...
3803 (record_btrace_stop_replaying): ... this, ...
3804 (record_btrace_clear_histories): ... and this.
3805 (init_record_btrace_ops): Init to_can_execute_reverse.
3806 * NEWS: Announce it.
3808 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3810 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3811 (forward_target_decr_pc_after_break)
3812 (target_decr_pc_after_break): New.
3813 * target.c (forward_target_decr_pc_after_break)
3814 (target_decr_pc_after_break): New.
3815 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3816 instead of gdbarch_decr_pc_after_break.
3817 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3818 instead of gdbarch_decr_pc_after_break.
3819 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3820 instead of gdbarch_decr_pc_after_break.
3821 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3822 instead of gdbarch_decr_pc_after_break.
3823 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3824 instead of gdbarch_decr_pc_after_break.
3825 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3826 instead of gdbarch_decr_pc_after_break.
3828 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3830 * btrace.c: Include regcache.h.
3831 (btrace_add_pc): New.
3832 (btrace_enable): Call btrace_add_pc.
3833 (btrace_is_empty): New.
3834 * btrace.h (btrace_is_empty): New.
3835 * record-btrace.c (require_btrace, record_btrace_info): Call
3838 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3840 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3841 Support delta reads.
3842 (linux_disable_btrace): Change return type.
3843 * common/linux-btrace.h (linux_read_btrace): Change parameters
3844 and return type to allow error reporting. Update users.
3845 (linux_disable_btrace): Change return type. Update users.
3846 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3848 (btrace_error): New.
3849 (btrace_block) <begin>: Comment on BEGIN == 0.
3850 * btrace.c (btrace_compute_ftrace): Start from the end of
3852 (btrace_stitch_trace, btrace_clear_history): New.
3853 (btrace_fetch): Read delta trace, return if replaying.
3854 (btrace_clear): Move clear history code to btrace_clear_history.
3855 (parse_xml_btrace): Throw an error if parsing failed.
3856 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3857 and return type to allow error reporting.
3858 (target_read_btrace): Change parameters and return type to allow
3860 * target.c (target_read_btrace): Update.
3861 * remote.c (remote_read_btrace): Support delta reads. Pass
3863 * NEWS: Announce it.
3865 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3867 * record.h (record_btrace_frame_unwind)
3868 (record_btrace_tailcall_frame_unwind): New declarations.
3869 * dwarf2-frame: Include record.h
3870 (dwarf2_frame_cfa): Throw an error for btrace frames.
3871 * record-btrace.c: Include hashtab.h.
3872 (btrace_get_bfun_name): New.
3873 (btrace_call_history): Call btrace_get_bfun_name.
3874 (struct btrace_frame_cache): New.
3876 (bfcache_hash, bfcache_eq, bfcache_new): New.
3877 (btrace_get_frame_function): New.
3878 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3879 (record_btrace_frame_this_id): Compute own id.
3880 (record_btrace_frame_prev_register): Provide PC, throw_error
3881 for all other registers.
3882 (record_btrace_frame_sniffer): Detect btrace frames.
3883 (record_btrace_tailcall_frame_sniffer): New.
3884 (record_btrace_frame_dealloc_cache): New.
3885 (record_btrace_frame_unwind): Add new functions.
3886 (record_btrace_tailcall_frame_unwind): New.
3887 (_initialize_record_btrace): Allocate cache.
3888 * btrace.c (btrace_clear): Call reinit_frame_cache.
3889 * NEWS: Announce it.
3891 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3893 * record-btrace.c (record_btrace_set_replay)
3894 (record_btrace_goto_begin, record_btrace_goto_end)
3895 (record_btrace_goto): New.
3896 (init_record_btrace_ops): Initialize them.
3897 * NEWS: Announce it.
3899 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3901 * record-btrace.c (record_btrace_find_new_threads)
3902 (record_btrace_thread_alive): New.
3903 (init_record_btrace_ops): Initialize to_find_new_threads and
3906 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3908 * record-btrace.c (record_btrace_resume): New.
3909 (record_btrace_wait): New.
3910 (init_record_btrace_ops): Initialize to_wait and to_resume.
3912 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3914 * record-btrace.c (record_btrace_xfer_partial)
3915 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3916 (record_btrace_allow_memory_access): New.
3917 (init_record_btrace_ops): Initialize new methods.
3918 * target.c (raw_memory_xfer_partial): Bail out if target reports
3919 that this memory is not available.
3921 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3923 * target.h (target_ops) <to_insert_breakpoint>
3924 <to_remove_breakpoint>: Add target_ops parameter.
3925 (forward_target_insert_breakpoint): New.
3926 (forward_target_remove_breakpoint): New.
3927 (memory_remove_breakpoint, memory_insert_breakpoint):
3928 Add target_ops parameter.
3929 * target.c (target_insert_breakpoint): Split into this and ...
3930 (forward_target_insert_breakpoint): ... this.
3931 (target_remove_breakpoint): Split into this and ...
3932 (forward_target_remove_breakpoint): ... this.
3933 (debug_to_insert_breakpoint): Add target_ops parameter.
3934 Call forward_target_insert_breakpoint.
3935 (debug_to_remove_breakpoint): Add target_ops parameter.
3936 Call forward_target_remove_breakpoint.
3937 (update_current_target): Do not inherit or default to_insert_breakpoint
3938 and to_remove_breakpoint.
3939 * corelow.c (ignore): Add target_ops parameter.
3940 * exec.c (ignore): Add target_ops parameter.
3941 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3942 Add target_ops parameter.
3943 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3944 Add target_ops parameter.
3945 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3946 Add target_ops parameter.
3947 * record-full.c (record_full_beneath_to_insert_breakpoint)
3948 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3949 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3950 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
3951 (record_full_core_remove_breakpoint): Add target_ops parameter.
3953 (record_full_beneath_to_insert_breakpoint_ops)
3954 (record_full_beneath_to_remove_breakpoint_ops)
3955 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
3956 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
3957 tmp_to_remove_breakpoint_ops,
3958 record_full_beneath_to_insert_breakpoint_ops, and
3959 record_full_beneath_to_remove_breakpoint_ops.
3960 * remote-m32r-sdi.c (m32r_insert_breakpoint)
3961 (m32r_remove_breakpoint): Add target_ops parameter.
3962 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
3963 Add target_ops parameter.
3964 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
3965 Add target_ops parameter.
3967 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3968 Markus Metzger <markus.t.metzger@intel.com>
3970 * record-btrace.c: Include frame-unwind.h.
3971 (record_btrace_frame_unwind_stop_reason)
3972 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
3973 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
3975 (init_record_btrace_ops): Install it.
3977 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3979 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
3982 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3984 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
3987 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3989 * frame-unwind.c: Include target.h.
3990 (frame_unwind_try_unwinder): New function with code from ...
3991 (frame_unwind_find_by_frame): ... here. New variable
3992 unwinder_from_target, call also target_get_unwinder)
3993 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
3994 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
3995 * target.h (struct target_ops): New fields to_get_unwinder and
3996 to_get_tailcall_unwinder.
3997 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
3999 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4001 * record-btrace.c (record_btrace_fetch_registers)
4002 (record_btrace_store_registers)
4003 (record_btrace_to_prepare_to_store): New.
4004 (init_record_btrace_ops): Add the above.
4006 2014-01-16 Tom Tromey <tromey@redhat.com>
4008 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
4009 * target.h (struct target_ops) <to_prepare_to_store>: Add
4011 (target_prepare_to_store): Add argument.
4012 * target.c (debug_to_prepare_to_store): Add argument.
4013 (update_current_target): Update.
4014 * remote.c (remote_prepare_to_store): Add 'self' argument.
4015 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
4016 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
4017 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
4018 * record-full.c (record_full_core_prepare_to_store): Add 'self'
4020 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
4021 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
4022 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
4023 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
4024 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
4026 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4028 * btrace.h (replay) <replay>: New.
4029 (btrace_is_replaying): New.
4030 * btrace.c (btrace_clear): Free replay iterator.
4031 (btrace_is_replaying): New.
4032 * record-btrace.c (record_btrace_is_replaying): New.
4033 (record_btrace_info): Print insn number if replaying.
4034 (record_btrace_insn_history): Start at replay position.
4035 (record_btrace_call_history): Start at replay position.
4036 (init_record_btrace_ops): Init to_record_is_replaying.
4038 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4040 * record-btrace.c (record_btrace_insn_history_range): Include
4042 (record_btrace_insn_history_from): Adjust range.
4043 (record_btrace_call_history_range): Include
4045 (record_btrace_call_history_from): Adjust range.
4046 * NEWS: Announce changes.
4048 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4050 * record.h (enum record_print_flag)
4051 <record_print_indent_calls>: New.
4052 * record.c (get_call_history_modifiers): Recognize /c modifier.
4053 (_initialize_record): Document /c modifier.
4054 * record-btrace.c (btrace_call_history): Add btinfo parameter.
4055 Reorder fields. Optionally indent the function name. Update
4057 * NEWS: Announce changes.
4059 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4061 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
4063 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4065 * btrace.c (ftrace_new_function): Start counting at one.
4066 * record-btrace.c (record_btrace_info): Adjust number of calls
4068 * NEWS: Announce it.
4070 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4072 * record-btrace.c (btrace_call_history_insn_range): Print
4073 insn range as [begin, end].
4075 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4077 * btrace.h (struct btrace_func_link): New.
4078 (enum btrace_function_flag): New.
4079 (struct btrace_inst): Rename to ...
4080 (struct btrace_insn): ...this. Update all users.
4081 (struct btrace_func) <ibegin, iend>: Remove.
4082 (struct btrace_func_link): New.
4083 (struct btrace_func): Rename to ...
4084 (struct btrace_function): ...this. Update all users.
4085 (struct btrace_function) <segment, flow, up, insn, insn_offset)
4086 (number, level, flags>: New.
4087 (struct btrace_insn_iterator): Rename to ...
4088 (struct btrace_insn_history): ...this.
4090 (struct btrace_insn_iterator, btrace_call_iterator): New.
4091 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
4092 (struct btrace_target_info) <begin, end, level>
4093 <insn_history, call_history>: New.
4094 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4095 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4096 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4097 (btrace_call_number, btrace_call_begin, btrace_call_end)
4098 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4099 (btrace_find_function_by_number, btrace_set_insn_history)
4100 (btrace_set_call_history): New.
4101 * btrace.c (btrace_init_insn_iterator)
4102 (btrace_init_func_iterator, compute_itrace): Remove.
4103 (ftrace_print_function_name, ftrace_print_filename)
4104 (ftrace_skip_file): Change
4106 (ftrace_init_func): Remove.
4107 (ftrace_debug): Use new btrace_function fields.
4108 (ftrace_function_switched): Also consider gaining and
4109 losing symbol information).
4110 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
4111 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
4112 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
4114 (ftrace_new_function): Move. Remove debug print.
4115 (ftrace_update_lines, ftrace_update_insns): New.
4116 (ftrace_update_function): Check for call, ret, and jump.
4117 (compute_ftrace): Renamed to ...
4118 (btrace_compute_ftrace): ...this. Rewritten to compute call
4120 (btrace_fetch, btrace_clear): Updated.
4121 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4122 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4123 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4124 (btrace_call_number, btrace_call_begin, btrace_call_end)
4125 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4126 (btrace_find_function_by_number, btrace_set_insn_history)
4127 (btrace_set_call_history): New.
4128 * record-btrace.c (require_btrace): Use new btrace thread
4130 (record_btrace_info, btrace_insn_history)
4131 (record_btrace_insn_history, record_btrace_insn_history_range):
4132 Use new btrace thread info fields and new iterator.
4133 (btrace_func_history_src_line): Rename to ...
4134 (btrace_call_history_src_line): ...this. Use new btrace
4136 (btrace_func_history): Rename to ...
4137 (btrace_call_history): ...this. Use new btrace thread info
4138 fields and new iterator.
4139 (record_btrace_call_history, record_btrace_call_history_range):
4140 Use new btrace thread info fields and new iterator.
4142 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4144 * frame.h (frame_id_build_unavailable_stack_special): New.
4145 * frame.c (frame_id_build_unavailable_stack_special): New.
4147 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4149 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
4150 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
4151 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
4153 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
4154 (i386_insn_is_jump, i386_jmp_p): New.
4155 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
4156 insn_is_jump to gdbarch.
4157 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
4158 * gdbarch.h: Regenerated.
4159 * gdbarch.c: Regenerated.
4160 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
4161 (default_insn_is_jump): New.
4162 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
4163 (default_insn_is_jump): New.
4165 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4167 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
4169 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
4170 (btrace_read_type) <btrace_read_new>: Change to ...
4171 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
4173 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4175 * common/linux-btrace.c (linux_read_btrace): Free trace from
4178 2014-01-15 Doug Evans <dje@google.com>
4180 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
4183 2014-01-15 Tom Tromey <tromey@redhat.com>
4185 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
4186 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
4187 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
4188 (set_objfile_main_name): New function.
4189 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
4190 language_of_main>: New fields.
4191 (set_objfile_main_name): Declare.
4192 * symtab.c (find_main_name): Loop over objfiles to find the main
4194 (set_main_name): Now static.
4195 (get_main_info): Add comment.
4196 * symtab.h (set_main_name): Don't declare.
4198 2014-01-15 Tom Tromey <tromey@redhat.com>
4200 * symtab.c (main_progspace_key): New global.
4201 (struct main_info): New.
4202 (name_of_main, language_of_main): Remove.
4203 (get_main_info, main_info_cleanup): New function.
4204 (set_main_name, main_name, main_language): Use get_main_info.
4205 (_initialize_symtab): Initialize main_progspace_key.
4207 2014-01-15 Tom Tromey <tromey@redhat.com>
4209 * dbxread.c (process_one_symbol): Update.
4210 * dwarf2read.c (read_partial_die): Update.
4211 * symfile.c (set_initial_language): Call main_language.
4212 * symtab.c (language_of_main): Now static.
4213 (set_main_name): Add 'lang' parameter.
4214 (find_main_name): Update.
4215 (main_language): New function.
4216 (symtab_observer_executable_changed): Update.
4217 * symtab.h (set_main_name): Update.
4218 (language_of_main): Remove.
4219 (main_language): Declare.
4221 2014-01-15 Tom Tromey <tromey@redhat.com>
4223 * symfile.c (init_entry_point_info): Use new "initialized" field.
4225 * objfiles.h (struct entry_point) <initialized>: New field.
4226 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
4227 (struct objfile) <ei>: ...here. Remove.
4228 * objfiles.c (entry_point_address_query): Update.
4230 2014-01-15 Tom Tromey <tromey@redhat.com>
4232 * objfiles.c (entry_point_address_query): Relocate entry point
4234 (objfile_relocate1): Do not relocate entry point address.
4235 * objfiles.h (struct entry_info) <entry_point>: Update comment.
4236 <the_bfd_section_index>: New field.
4237 * symfile.c (init_entry_point_info): Find the entry point's
4240 2014-01-15 Tom Tromey <tromey@redhat.com>
4242 * solib-frv.c (enable_break): Use entry_point_address_query.
4244 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4246 * NEWS: Add note on improved process record-replay on
4247 arm*-linux* targets.
4249 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4251 * arm-tdep.c (enum arm_record_result): New enum.
4252 (arm_record_unsupported_insn): New function.
4253 (arm_record_coproc_data_proc): Removed.
4254 (thumb2_record_ld_st_multiple): New function.
4255 (thumb2_record_ld_st_dual_ex_tbb): New function.
4256 (thumb2_record_data_proc_sreg_mimm): New function.
4257 (thumb2_record_ps_dest_generic): New function.
4258 (thumb2_record_branch_misc_cntrl): New function.
4259 (thumb2_record_str_single_data): New function.
4260 (thumb2_record_ld_mem_hints): New function.
4261 (thumb2_record_ld_word): New function.
4262 (thumb2_record_lmul_lmla_div): New function.
4263 (thumb2_record_decode_insn_handler): New function.
4264 (decode_insn): Add thumb32 instruction handlers.
4266 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4268 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
4269 (struct arm_linux_record_tdep): Declare.
4270 (arm_canonicalize_syscall): New function.
4271 (arm_all_but_pc_registers_record): New function.
4272 (arm_linux_syscall_record): New function.
4273 (arm_linux_init_abi): Add syscall recording constructs.
4274 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
4275 decoding. (arm_record_coproc_data_proc): Update arm syscall
4277 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
4278 <arm_syscall_record>: New field.
4279 * configure.tgt (arm*-*-linux*): Add linux-record.o to
4282 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4284 * arm-tdep.c (thumb_record_misc): Update to use sp as base
4285 register for push instruction recording.
4287 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4289 * arm-tdep.c (thumb_record_misc): Update to correct logical
4290 error while recording ldm, ldmia and pop instructions.
4292 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4294 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
4296 2014-01-15 Pedro Alves <palves@redhat.com>
4298 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
4299 (go32_resume, go32_fetch_registers, store_register)
4300 (go32_store_registers, go32_prepare_to_store)
4301 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
4302 (go32_create_inferior, go32_can_run, go32_terminal_init)
4303 (go32_terminal_inferior, go32_terminal_ours): Delete forward
4306 2014-01-15 Tom Tromey <tromey@redhat.com>
4308 * target.h (async_callback_ftype): New typedef.
4309 (struct target_ops) <to_async>: Use it.
4311 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4313 * python/py-value.c (get_field_type): Remove unnecessary curly
4314 braces for single-statement if block.
4316 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4318 * python/py-type.c (convert_field): Add missing empty line
4321 2014-01-14 Doug Evans <dje@google.com>
4323 * symfile.h (expand_symtabs_matching): Renamed from
4324 expand_partial_symbol_names. Update prototype.
4325 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4326 * symfile.c (expand_symtabs_matching): Renamed from
4327 expand_partial_symbol_names. New args file_matcher, kind.
4328 Rename arg fun to symbol_matcher.
4329 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4330 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
4331 ada_expand_partial_symbol_name.
4332 (ada_make_symbol_completion_list): Update to call
4333 expand_symtabs_matching.
4334 (ada_add_global_exceptions): Call expand_symtabs_matching.
4335 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
4336 call map_symbol_filenames.
4337 * symtab.c (sources_info): Update to call map_symbol_filenames.
4338 (search_symbols): Call expand_symtabs_matching.
4339 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
4340 (default_make_symbol_completion_list_break_on): Update to call
4341 expand_symtabs_matching.
4342 (make_source_files_completion_list): Update to call
4343 map_symbol_filenames.
4345 2014-01-14 Doug Evans <dje@google.com>
4347 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
4348 (expand_symtabs_symbol_matcher_ftype): New typedef.
4349 (quick_symbol_functions.expand_symtabs_matching): Update to use.
4350 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4351 * symfile.c (expand_partial_symbol_names): Update to use
4352 expand_symtabs_symbol_matcher_ftype.
4353 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
4354 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4355 Arg name_matcher renamed to symbol_matcher.
4356 * psymtab.c (recursively_search_psymtabs): Update to use
4357 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
4359 (expand_symtabs_matching_via_partial): Update to use
4360 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4361 Arg name_matcher renamed to symbol_matcher.
4363 2014-01-14 Doug Evans <dje@google.com>
4365 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
4366 (map_partial_symbol_filenames): Ditto.
4367 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
4368 (map_partial_symbol_filenames): Ditto.
4369 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
4370 (map_partial_symbol_filenames): Ditto.
4371 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
4372 (map_partial_symbol_filenames): Ditto.
4373 * symtab.c: Delete #include "psymtab.h".
4375 2014-01-14 Pedro Alves <palves@redhat.com>
4376 Tom Tromey <tromey@redhat.com>
4378 * infrun.c (use_displaced_stepping): Use find_record_target
4379 instead of RECORD_IS_USED.
4380 (adjust_pc_after_break): Use record_full_is_used instead of
4382 * record-btrace.c (record_btrace_open): Call record_preopen
4383 instead of checking RECORD_IS_USED.
4384 * record-full.c (record_full_shortname)
4385 (record_full_core_shortname): New globals.
4386 (record_full_is_used): New function.
4387 (find_full_open): Call record_preopen instead of checking
4389 (init_record_full_ops): Set the target's shortname to
4390 record_full_shortname.
4391 (init_record_full_core_ops): Set the target's shortname to
4392 record_full_core_shortname.
4393 * record-full.h (record_full_is_used): Declare.
4394 * record.c (find_record_target): Make extern.
4395 (record_preopen): New function.
4396 * record.h (RECORD_IS_USED): Delete macro.
4397 (find_record_target, record_preopen): Declare functions.
4399 2014-01-14 Yao Qi <yao@codesourcery.com>
4401 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
4402 'len''s type to ULONGEST.
4403 (core_xfer_shared_libraries_aix): Likewise.
4404 * gdbarch.c, gdbarch.h: Regenerated.
4405 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
4406 Change type of 'len' to ULONGEST.
4407 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4408 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
4410 2014-01-14 Yao Qi <yao@codesourcery.com>
4412 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
4413 type of 'len' to ULONGEST.
4414 (linux_xfer_osdata_processgroups): Likewise.
4415 (linux_xfer_osdata_threads): Likewise.
4416 (linux_xfer_osdata_fds): Likewise.
4417 (linux_xfer_osdata_isockets): Likewise.
4418 (linux_xfer_osdata_shm): Likewise.
4419 (linux_xfer_osdata_sem): Likewise.
4420 (linux_xfer_osdata_msg): Likewise.
4421 (linux_common_xfer_osdata): Likewise.
4422 (struct osdata_type) <getter>: Likewise.
4423 * common/linux-osdata.h (linux_common_xfer_osdata): Update
4426 2014-01-14 Yao Qi <yao@codesourcery.com>
4428 * target.h (target_xfer_partial_ftype): Update.
4429 (struct target_ops) <to_xfer_partial>: Change 'len' type to
4431 * aix-thread.c (aix_thread_xfer_partial): Change type of
4432 argument 'len' to ULONGEST.
4433 * auxv.c (procfs_xfer_auxv): Likewise.
4434 (ld_so_xfer_auxv): Likewise.
4435 (memory_xfer_auxv): Likewise.
4436 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4437 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4438 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4439 * corelow.c (core_xfer_partial): Likewise.
4440 * ctf.c (ctf_xfer_partial): Likewise.
4441 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
4443 (darwin_read_dyld_info): Likewise.
4444 (darwin_xfer_partial): Likewise.
4445 * exec.c (section_table_xfer_memory_partial): Likewise.
4446 (exec_xfer_partial): Likewise.
4447 * exec.h (section_table_xfer_memory_partial): Update
4449 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
4450 instead of plongest.
4451 (gnu_xfer_partial): Likewise.
4452 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
4453 (ia64_hpux_xfer_solib_got): Likewise.
4454 (ia64_hpux_xfer_partial): Likewise.
4455 * ia64-linux-nat.c (ia64_linux_xfer_partial):
4456 * inf-ptrace.c (inf_ptrace_xfer_partial):
4457 * inf-ttrace.c (inf_ttrace_xfer_partial):
4458 * linux-nat.c (linux_xfer_siginfo): Likewise.
4459 (linux_nat_xfer_partial): Likewise.
4460 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
4461 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
4462 * monitor.c (monitor_xfer_memory): Likewise.
4463 (monitor_xfer_partial): Likewise.
4464 * procfs.c (procfs_xfer_partial): Likewise.
4465 * record-full.c (record_full_xfer_partial): Likewise.
4466 (record_full_core_xfer_partial): Likewise.
4467 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
4468 instead of plongest.
4469 (gdbsim_xfer_partial): Likewise.
4470 * remote.c (remote_xfer_partial): Likewise.
4471 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4472 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4474 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4475 (rs6000_xfer_shared_libraries): Likewise.
4476 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4477 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4478 (sparc_xfer_partial): Likewise.
4479 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4480 (spu_xfer_partial): Likewise.
4481 * spu-multiarch.c (spu_xfer_partial): Likewise.
4482 * target.c (target_read_live_memory): Likewise.
4483 (memory_xfer_live_readonly_partial): Likewise.
4484 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
4485 (target_xfer_partial, default_xfer_partial): Likewise.
4486 (current_xfer_partial): Likewise.
4487 * tracepoint.c (tfile_xfer_partial): Likewise.
4488 * windows-nat.c (windows_xfer_memory): Likewise. Call
4489 pulongest instead of plongest.
4490 (windows_xfer_partial): Likewise.
4491 (windows_xfer_shared_libraries): Likewise.
4493 2014-01-14 Yao Qi <yao@codesourcery.com>
4495 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
4496 target_xfer_partial_ftype.
4498 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4502 * valops.c (value_struct_elt_bitpos): New function
4503 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
4504 object to 'None' if the field name is an empty string ("").
4505 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
4506 attribute to look for a field when 'name' is 'None'.
4507 (get_field_type): New function
4509 2014-01-13 Doug Evans <dje@google.com>
4512 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
4513 (try_open_dwop_file): Ditto.
4514 * gdb_bfd.c: #include "vec.h".
4515 (bfdp): New typedef.
4516 (struct gdb_bfd_data): New member included_bfds.
4517 (gdb_bfd_unref): Unref all included bfds.
4518 (gdb_bfd_record_inclusion): New function.
4519 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
4521 2014-01-13 Tom Tromey <tromey@redhat.com>
4523 * gdbcore.h (deprecated_core_resize_section_table): Remove.
4525 2014-01-13 Tom Tromey <tromey@redhat.com>
4527 * defs.h (use_windows): Remove.
4528 * gdb.c (main): Update.
4529 * main.c (captured_main, gdb_main): Update.
4530 * main.h (struct captured_main_args) <use_windows>: Remove.
4531 * top.c (use_windows): Remove.
4533 2014-01-13 Tom Tromey <tromey@redhat.com>
4535 * defs.h (deprecated_flush_hook): Remove.
4537 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4540 * linux-thread-db.c (try_thread_db_load): Add parameter
4541 check_auto_load_safe. Move here the file_is_auto_load_safe call.
4542 (try_thread_db_load_from_pdir_1): Move it there from here.
4543 (try_thread_db_load_from_sdir): Update caller.
4544 (try_thread_db_load_from_dir): Move it there from here.
4546 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
4548 * regformats/regdat.sh: Always rewrite the register file.
4550 2014-01-13 Pedro Alves <palves@redhat.com>
4552 * Makefile.in (CHECK_HEADERS): New variable.
4553 (check-headers:): New rule.
4555 2014-01-13 Tom Tromey <tromey@redhat.com>
4557 * cli/cli-setshow.c (do_set_command): Update.
4558 * defs.h (deprecated_set_hook): Remove.
4559 * top.c (deprecated_set_hook): Remove.
4561 2014-01-13 Pedro Alves <palves@redhat.com>
4563 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
4564 the tracepoint if the PC is a pseudo-register.
4566 2014-01-13 Tom Tromey <tromey@redhat.com>
4568 * defs.h (XCALLOC): Remove.
4569 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
4570 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
4571 * dwarf2loc.c (allocate_piece_closure): Likewise.
4572 * elfread.c (elf_symfile_segments): Likewise.
4573 (elf_symfile_segments): Likewise.
4574 * gdbtypes.c (copy_type_recursive): Likewise.
4575 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
4576 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
4577 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
4579 * mt-tdep.c (mt_gdbarch_init): Likewise.
4580 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
4582 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
4583 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
4584 * registry.c (registry_alloc_data): Likewise.
4585 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
4586 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
4587 * serial.c (serial_fdopen_ops): Likewise.
4588 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
4590 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
4591 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
4594 2014-01-13 Tom Tromey <tromey@redhat.com>
4596 * defs.h (XMALLOC): Remove.
4597 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
4598 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
4599 * cli-out.c (struct ui_out *): Likewise.
4600 * cli/cli-dump.c (add_dump_command): Likewise.
4601 (add_dump_command): Likewise.
4602 * complaints.c (get_complaints): Likewise.
4603 (find_complaint): Likewise.
4604 * dwarf2-frame.c (execute_cfa_program): Likewise.
4605 * dwarf2read.c (abbrev_table_read_table): Likewise.
4606 * gdbarch.sh: Likewise.
4607 * gdbarch.c: Rebuild.
4608 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
4609 * interps.c (interp_new): Likewise.
4610 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
4611 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
4612 * mi/mi-console.c (mi_console_file_new): Likewise.
4613 * mi/mi-interp.c (mi_interpreter_init): Likewise.
4614 * mi/mi-out.c (mi_out_new): Likewise.
4615 * mi/mi-parse.c (mi_parse): Likewise.
4616 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
4617 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
4618 * observer.c (xalloc_observer_list_node): Likewise.
4619 * regcache.c (regcache_xmalloc_1): Likewise.
4620 * reggroups.c (reggroup_new): Likewise.
4621 (_initialize_reggroup): Likewise.
4622 * registry.c (register_data_with_cleanup): Likewise.
4623 * remote.c (remote_notif_stop_alloc_reply): Likewise.
4624 * ser-base.c (serial_ttystate): Likewise.
4625 * ser-mingw.c (make_pipe_state): Likewise.
4626 * ser-pipe.c (pipe_open): Likewise.
4627 * serial.c (serial_open): Likewise.
4628 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
4629 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
4630 (tui_alloc_win_info): Likewise.
4631 (tui_add_content_elements): Likewise.
4632 * tui/tui-file.c (tui_file_new): Likewise.
4633 * tui/tui-out.c (tui_out_new): Likewise.
4634 * ui-file.c (mem_file_new): Likewise.
4635 * ui-out.c (push_level): Likewise.
4636 (make_cleanup_ui_out_end): Likewise.
4637 (append_header_to_list): Likewise.
4638 (ui_out_new): Likewise.
4639 * user-regs.c (user_reg_add_builtin): Likewise.
4641 2014-01-13 Tom Tromey <tromey@redhat.com>
4643 * defs.h (XZALLOC): Remove.
4644 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
4645 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
4646 (get_ada_tasks_inferior_data): Likewise.
4647 * auto-load.c (get_auto_load_pspace_data): Likewise.
4648 * auxv.c (get_auxv_inferior_data): Likewise.
4649 * bfd-target.c (target_bfd_reopen): Likewise.
4650 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
4651 (deprecated_insert_raw_breakpoint): Likewise.
4652 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
4653 * corelow.c (core_open): Likewise.
4654 * darwin-nat.c (darwin_check_new_threads): Likewise.
4655 (darwin_attach_pid): Likewise.
4656 * dummy-frame.c (dummy_frame_push): Likewise.
4657 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
4658 * dwarf2loc.c (allocate_piece_closure): Likewise.
4659 * elfread.c (elf_symfile_segments): Likewise.
4660 * eval.c (ptrmath_type_p): Likewise.
4661 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
4662 * gdbtypes.c (alloc_type_arch): Likewise.
4663 (alloc_type_instance): Likewise.
4664 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
4665 * inf-child.c (inf_child_can_use_agent): Likewise.
4666 * inflow.c (get_inflow_inferior_data): Likewise.
4667 * infrun.c (save_infcall_suspend_state): Likewise.
4668 * jit.c (jit_reader_load): Likewise.
4669 (get_jit_objfile_data): Likewise.
4670 (get_jit_program_space_data): Likewise.
4671 (jit_object_open_impl): Likewise.
4672 (jit_symtab_open_impl): Likewise.
4673 (jit_block_open_impl): Likewise.
4674 (jit_frame_sniffer): Likewise.
4675 * linux-fork.c (add_fork): Likewise.
4676 * maint.c (make_command_stats_cleanup): Likewise.
4677 * objfiles.c (get_objfile_pspace_data): Likewise.
4678 * opencl-lang.c (struct lval_closure): Likewise.
4679 * osdata.c (osdata_start_osdata): Likewise.
4680 * progspace.c (new_address_space): Likewise.
4681 (add_program_space): Likewise.
4682 * remote-sim.c (get_sim_inferior_data): Likewise.
4683 * sh-tdep.c (sh_gdbarch_init): Likewise.
4684 * skip.c (Ignore): Likewise.
4685 (skip_delete_command): Likewise.
4686 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4687 (library_list_start_library): Likewise.
4688 (solib_aix_current_sos): Likewise.
4689 * solib-darwin.c (get_darwin_info): Likewise.
4690 (darwin_current_sos): Likewise.
4691 * solib-dsbt.c (get_dsbt_info): Likewise.
4692 * solib-ia64-hpux.c (new_so_list): Likewise.
4693 (ia64_hpux_get_solib_linkage_addr): Likewise.
4694 * solib-spu.c (append_ocl_sos): Likewise.
4695 (spu_current_sos): Likewise.
4696 * solib-svr4.c (get_svr4_info): Likewise.
4697 (svr4_keep_data_in_core): Likewise.
4698 (library_list_start_library): Likewise.
4699 (svr4_default_sos): Likewise.
4700 (svr4_read_so_list): Likewise.
4701 * solib-target.c (library_list_start_library): Likewise.
4702 (solib_target_current_sos): Likewise.
4703 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4704 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4705 * symfile.c (default_symfile_segments): Likewise.
4706 * target-descriptions.c (tdesc_data_init): Likewise.
4707 (tdesc_create_reg): Likewise.
4708 (struct tdesc_type *): Likewise.
4709 (tdesc_create_vector): Likewise.
4710 (tdesc_set_struct_size): Likewise.
4711 (struct tdesc_type *): Likewise.
4712 (tdesc_free_feature): Likewise.
4713 (tdesc_create_feature): Likewise.
4714 * windows-nat.c (windows_add_thread): Likewise.
4715 (windows_make_so): Likewise.
4716 * xml-support.c (gdb_xml_body_text): Likewise.
4717 (gdb_xml_create_parser_and_cleanup): Likewise.
4718 (xml_process_xincludes): Likewise.
4719 * xml-syscall.c (allocate_syscalls_info): Likewise.
4720 (syscall_create_syscall_desc): Likewise.
4722 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4724 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4725 function, with code from i386_stap_parse_special_token.
4726 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4727 (i386_stap_parse_special_token): Move code to the two functions
4730 2014-01-09 Pedro Alves <palves@redhat.com>
4731 Hui Zhu <hui@codesourcery.com>
4734 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4735 bp_err_string. Don't mark the location shlib_disabled if the
4736 error thrown wasn't a generic or memory error. Catch errors
4737 thrown while inserting breakpoints in overlayed code. Output
4738 error message of software breakpoints.
4739 * remote.c (remote_insert_breakpoint): If this breakpoint has
4740 target-side commands but this stub doesn't support Z0 packets,
4741 throw NOT_SUPPORTED_ERROR error.
4742 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4743 * target.h (target_insert_breakpoint): Extend comment.
4744 (target_insert_hw_breakpoint): Add comment.
4746 2014-01-08 Pedro Alves <palves@redhat.com>
4748 * remote.c (remote_add_thread): Add threads silently if starting
4750 (remote_notice_new_inferior): If in all-stop, and starting up,
4751 don't call notice_new_inferior.
4752 (get_current_thread): New function, factored out from ...
4753 (add_current_inferior_and_thread): ... this. Adjust.
4754 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4755 found any thread, then select the remote's current thread as GDB's
4758 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4760 * NEWS: Create a new section for the next release branch.
4761 Rename the section of the current branch, now that it has
4764 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4766 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4767 * version.in: Bump version to 7.7.50.DATE-cvs.
4769 2014-01-08 Yao Qi <yao@codesourcery.com>
4771 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4772 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4773 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4775 2014-01-08 Yao Qi <yao@codesourcery.com>
4777 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4778 return value of bfd_get_filename to symbol_file_add_from_bfd.
4780 2014-01-08 Pierre Muller <muller@sourceware.org>
4783 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4784 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4785 to prim_record_mininal_symbol_and_info.
4786 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4787 in call to prim_record_minimal_symbol_and_info.
4788 (read_pe_exported_syms): Set index field of section_data.
4790 2014-01-07 Andrew Pinski <apinski@cavium.com>
4792 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4793 * features/aarch64.c: Regenerate.
4795 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4797 * target.c (return_null): Define.
4798 (update_current_target): Use it instead of return_zero for
4799 functions that return a pointer.
4801 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4803 * source.c (add_path): Fix check for duplicated paths in the previously
4806 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4808 * ada-lang.c: Remove duplicated include statements.
4809 * alphabsd-nat.c: Ditto.
4810 * amd64-darwin-tdep.c: Ditto.
4811 * amd64fbsd-nat.c: Ditto.
4812 * auto-load.c: Ditto.
4814 * breakpoint.c: Ditto.
4816 * fork-child.c: Ditto.
4817 * gdb_usleep.c: Ditto.
4818 * i386-darwin-tdep.c: Ditto.
4819 * i386fbsd-nat.c: Ditto.
4821 * inferior.c: Ditto.
4823 * linux-nat.c: Ditto.
4824 * linux-tdep.c: Ditto.
4825 * m68kbsd-nat.c: Ditto.
4826 * m68klinux-nat.c: Ditto.
4827 * microblaze-tdep.c: Ditto.
4828 * mips-linux-tdep.c: Ditto.
4829 * mn10300-tdep.c: Ditto.
4830 * nto-tdep.c: Ditto.
4831 * opencl-lang.c: Ditto.
4833 * printcmd.c: Ditto.
4834 * regcache.c: Ditto.
4835 * remote-m32r-sdi.c: Ditto.
4839 * tilegx-linux-nat.c: Ditto.
4840 * tilegx-tdep.c: Ditto.
4841 * tracepoint.c: Ditto.
4843 * vaxbsd-nat.c: Ditto.
4844 * windows-nat.c: Ditto.
4845 * xtensa-tdep.c: Ditto.
4847 2014-01-07 Yao Qi <yao@codesourcery.com>
4849 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4851 2014-01-07 Yao Qi <yao@codesourcery.com>
4852 Joel Brobecker <brobecker@adacore.com>
4854 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4855 (pdc_write_regs): Likewise.
4856 (fetch_regs_kernel_thread): Likewise.
4857 (store_regs_kernel_thread): Likewise.
4859 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4861 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4862 tagged type objects to their actual type.
4864 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4866 * ada-valprint.c (print_field_values): Add "language" parameter.
4867 Update calls to print_field_values and print_variant_part.
4868 Pass new parameter "language" in call to val_print instead
4869 of "current_language". Replace call to ada_val_print by call
4871 (print_variant_part): Add "language" parameter.
4872 (ada_val_print_struct_union): Update call to print_field_values.
4874 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4876 * ada-valprint.c (ui_memcpy): Delete.
4877 (ada_print_floating): Update documentation. Add empty line
4878 between between function documentation and implementation.
4879 Delete variable "buffer". Use ui_file_xstrdup in place of
4880 ui_file_put. Minor adjustments following this change.
4882 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4884 * ada-valprint.c (ada_val_print_string): New function,
4885 extracted from ada_val_print_array.
4886 (ada_val_print_array): Replace extracted code by call
4887 to ada_val_print_string followed by a return. Move
4888 "else" branch to the function's top block.
4890 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4892 * ada-valprint.c (ada_val_print_array): Move implementation
4893 down. Rename parameter "offset" and "val" into "offset_aligned"
4894 and "original_value" respectively. Add parameter "offset".
4896 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4898 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4899 re-organizing the code. Change the "???" message printed
4900 when target type is a TYPE_CODE_UNDEF into
4901 "<ref to undefined type>".
4903 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4905 * ada-valprint.c (print_record): Delete, implementation inlined...
4906 (ada_val_print_struct_union): ... here. Remove call to
4907 ada_check_typedef in inlined implementation.
4909 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4911 * ada-valprint.c (ada_val_print_gnat_array): New function,
4912 extracted from ada_val_print_1;
4913 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4914 (ada_val_print_flt, ada_val_print_struct_union)
4915 (ada_val_print_ref): Likewise.
4916 (ada_val_print_1): Delete variables i and elttype.
4917 Replace extracted-out code by call to corresponding
4920 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4922 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4924 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4926 * ada-valprint.c (ada_val_print_1): Replace calls to
4927 ada_val_print_1 by calls to val_print.
4929 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4931 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4932 Update calls to self accordingly. Replace calls to c_val_print
4933 by calls to val_print.
4935 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4937 * ada-valprint.c (print_record): Delete declaration.
4938 (adjust_type_signedness, ada_val_print_1): Likewise.
4939 (ada_val_print): Move function implementation down.
4940 (print_variant_part, print_field_values, print_record):
4941 Move function implementation up.
4943 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4945 * python/py-type.c (typy_get_name): New function.
4946 (type_object_getset): Add entry for attribute "name".
4947 * NEWS: Add entry mentioning this new attribute.
4949 2014-01-07 Yao Qi <yao@codesourcery.com>
4951 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
4954 2014-01-07 Yao Qi <yao@codesourcery.com>
4956 * gnu-nat.c (info_port_rights): Add qualifier const to
4959 2014-01-07 Yao Qi <yao@codesourcery.com>
4961 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
4963 2014-01-07 Yao Qi <yao@codesourcery.com>
4965 * gnu-nat.c (make_inf) Update declaration.
4966 (make_inf): Make it static.
4967 (inf_set_traced): Likewise.
4968 (inf_port_to_thread, inf_task_died_status): Likewise.
4970 2014-01-07 Yao Qi <yao@codesourcery.com>
4972 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
4974 2014-01-07 Yao Qi <yao@codesourcery.com>
4976 * gnu-nat.c (_initialize_gnu_nat): Declare.
4978 2014-01-07 Yao Qi <yao@codesourcery.com>
4980 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
4982 (struct gdbarch_info) <byte_order>: Change type to
4984 <byte_order_for_code>: Likewise.
4985 * gdbarch.c, gdbarch.h: Regenerated.
4987 2014-01-06 Sasha Smundak <asmundak@google.com>
4989 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
4991 2014-01-06 Tom Tromey <tromey@redhat.com>
4993 * doublest.c (convert_doublest_to_floatformat): Use const, not
4995 * somread.c (som_symtab_read): Likewise.
4997 2014-01-07 Hui Zhu <hui@codesourcery.com>
4999 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
5000 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
5001 (gdb_bfd_fopen): Ditto.
5002 (gdb_bfd_openr): Ditto.
5003 (gdb_bfd_openw): Ditto.
5004 (gdb_bfd_openr_iovec): Ditto.
5005 (gdb_bfd_fdopenr): Ditto.
5006 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
5007 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
5009 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
5011 * symfile-mem.c (symbol_file_add_from_memory): Removed
5012 gdb_bfd_stash_filename.
5014 2014-01-03 Doug Evans <dje@google.com>
5016 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
5019 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5021 Update year range in copyright notice of all files.
5023 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5025 * top.c (print_gdb_version): Set copyright year to 2014.
5027 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5029 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
5031 For older changes see ChangeLog-2013.
5037 version-control: never