1 2014-02-23 Yao Qi <yao@codesourcery.com>
3 * valops.c (read_value_memory): Rewrite it. Call
4 target_xfer_partial in a loop.
5 * exec.h (section_table_available_memory): Remove declaration.
7 * exec.c (section_table_available_memory): ... here. Make it
10 2014-02-23 Yao Qi <yao@codesourcery.com>
12 * exec.c (section_table_read_available_memory): New function.
13 * exec.h (section_table_read_available_memory): Declare.
14 * ctf.c (ctf_xfer_partial): Call
15 section_table_read_available_memory.
16 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
18 2014-02-23 Yao Qi <yao@codesourcery.com>
20 * ctf.c (ctf_xfer_partial): Move code to ...
21 * exec.c (exec_read_partial_read_only): ... it. New function.
22 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
23 * tracefile.c: Include "exec.h".
24 * exec.h (exec_read_partial_read_only): Declare.
26 2014-02-23 Yao Qi <yao@codesourcery.com>
28 * tracefile-tfile.c (tfile_has_all_memory): Remove.
29 (tfile_has_memory): Remove.
30 (init_tfile_ops): Don't set fields to_has_all_memory and
31 to_has_memory of tfile_ops.
32 * tracefile.c (tracefile_has_all_memory): New function.
33 (tracefile_has_memory): New function.
34 (init_tracefile_ops): Initialize fields to_has_all_memory and
35 to_has_memory of 'ops'.
37 2014-02-23 Yao Qi <yao@codesourcery.com>
39 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
40 (ctf_thread_alive, ctf_get_trace_status): Remove.
41 (init_ctf_ops): Don't set some fields of ctf_ops. Call
43 * tracefile-tfile.c (tfile_get_trace_status): Remove.
44 (tfile_has_stack, tfile_has_registers): Remove.
45 (tfile_thread_alive): Remove.
46 (init_tfile_ops): Don't set some fields of tfile_ops. Call
48 * tracefile.c (tracefile_has_stack): New function.
49 (tracefile_has_registers): New function.
50 (tracefile_thread_alive): New function.
51 (tracefile_get_trace_status): New function.
52 (init_tracefile_ops): New function.
53 * tracefile.h (init_tracefile_ops): Declare.
55 2014-02-23 Yao Qi <yao@codesourcery.com>
57 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
58 (O_LARGEFILE): Likewise.
59 (tfile_ops): Likewise.
60 (TRACE_HEADER_SIZE): Likewise.
61 (trace_fd, trace_frames_offset, cur_offset): Likewise.
62 (cur_data_size): Likewise.
63 (tfile_read, tfile_open, tfile_interp_line): Likewise.
64 (tfile_close, tfile_files_info): Likewise.
65 (tfile_get_trace_status): Likewise.
66 (tfile_get_tracepoint_status): Likewise.
67 (tfile_get_traceframe_address): Likewise.
68 (tfile_trace_find, match_blocktype): Likewise.
69 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
70 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
71 (tfile_get_trace_state_variable_value): Likewise.
72 (tfile_has_all_memory, tfile_has_memory): Likewise.
73 (tfile_has_stack, tfile_has_registers): Likewise.
74 (tfile_thread_alive, build_traceframe_info): Likewise.
75 (tfile_traceframe_info, init_tfile_ops): Likewise.
76 (_initialize_tracepoint): Don't call init_tfile_ops
77 and add_target_with_completer.
78 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
79 exec.h, completer.h and filenames.h.
80 (_initialize_tracefile_tfile): New function.
82 2014-02-23 Yao Qi <yao@codesourcery.com>
84 * Makefile.in (REMOTE_OBS): Append tracefile.o and
86 (HFILES_NO_SRCDIR): Add tracefile.h.
87 * ctf.c: Include "tracefile.h".
88 * tracefile.h: New file.
89 * tracefile.c: New file
90 * tracefile-tfile.c: New file.
91 * tracepoint.c: Include "tracefile.h".
92 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
93 (stop_reason_names): Add const.
94 (trace_file_writer_xfree): Move it to tracefile.c.
95 (trace_save, trace_save_command, trace_save_tfile): Likewise.
96 (trace_save_ctf): Likewise.
97 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
98 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
99 (tfile_write_header, tfile_write_regblock_type): Likewise.
100 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
101 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
102 (tfile_write_raw_data, tfile_end): Likewise.
103 (tfile_trace_file_writer_new): Likewise.
104 (free_uploaded_tp): Make it extern.
105 (free_uploaded_tsv): Make it extern.
106 (_initialize_tracepoint): Move code to register command 'tsave'
108 * tracepoint.h (stop_reason_names): Declare.
109 (struct trace_frame_write_ops): Move it to tracefile.h.
110 (struct trace_file_write_ops): Likewise.
111 (struct trace_file_writer): Likewise.
112 (free_uploaded_tsvs, free_uploaded_tps): Declare.
114 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
117 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
119 (get_cores_used_by_process): New parameter num_cores, use it.
120 (linux_xfer_osdata_processes): Pass num_cores to it.
121 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
124 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
126 * target.c (memory_xfer_partial): Fix length arg in call to
127 breakpoint_xfer_memory.
129 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
132 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
133 number comes after the + or - signs. Adjust length of register
134 name to be extracted.
136 2014-02-20 Tom Tromey <tromey@redhat.com>
138 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
139 (ada_varobj_ops): Mark "extern".
141 2014-02-20 Tom Tromey <tromey@redhat.com>
143 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
145 2014-02-20 Doug Evans <xdje42@gmail.com>
147 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
149 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
151 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
152 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
154 2014-02-20 lin zuojian <manjian2006@gmail.com>
155 Joel Brobecker <brobecker@adacore.com>
156 Doug Evans <xdje42@gmail.com>
159 * dwarf2read.c (struct die_info): New member in_process.
160 (reset_die_in_process): New function.
161 (process_die): Set it at the start, reset when returning.
162 (inherit_abstract_dies): Only call process_die if origin_child_die
163 not already being processed.
165 2014-02-20 Joel Brobecker <brobecker@adacore.com>
167 * windows-nat.c (handle_unload_dll): Add function documentation.
168 (do_initial_windows_stuff): Add comment explaining why we wait
169 until after inferior initialization has finished before
172 2014-02-20 Joel Brobecker <brobecker@adacore.com>
174 * windows-nat.c (get_module_name): Delete.
175 (windows_get_exec_module_filename): New function, mostly
176 inspired from get_module_name.
177 (windows_pid_to_exec_file): Replace call to get_module_name
178 by call to windows_get_exec_module_filename.
180 2014-02-20 Joel Brobecker <brobecker@adacore.com>
182 * windows-nat.c (handle_load_dll): Rewrite this function's
183 introductory comment. Remove code using get_module_name
184 to get the DLL's name.
186 2014-02-20 Joel Brobecker <brobecker@adacore.com>
188 * windows-nat.c (get_windows_debug_event): Ignore
189 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
190 if windows_initialization_done == 0.
191 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
192 Adjust implementation to always load all DLLs.
193 (do_initial_windows_stuff): Replace call to
194 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
196 2014-02-20 Joel Brobecker <brobecker@adacore.com>
198 * windows-nat.c (_initialize_windows_nat): Deprecate the
199 "dll-symbols" command. Turn the "add-shared-symbol-files"
200 and "assf" aliases into commands, and deprecate them as well.
201 * NEWS: Add entry explaining that "dll-symbols" and its two
202 aliases are now deprecated.
204 2014-02-20 Joel Brobecker <brobecker@adacore.com>
206 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
207 new-line in debug string. Remove trailing spaces.
209 2014-02-19 Stan Shebs <stan@codesourcery.com>
211 * darwin-nat.c (darwin_xfer_partial): Fix return type.
213 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
215 * NEWS: Add entry for the new feature
216 * python/py-value.c (valpy_binop): Call value_x_binop for struct
219 2014-02-19 Stan Shebs <stan@codesourcery.com>
221 * MAINTAINERS: List Yao Qi as nios2 maintainer.
223 2014-02-19 Pedro Alves <palves@redhat.com>
225 * common/ptid.h (struct ptid): Mention that process_stratum
226 targets should prefer ptid.lwp.
228 2014-02-19 Pedro Alves <palves@redhat.com>
230 * remote.c (remote_thread_alive, write_ptid, read_ptid)
231 (read_ptid, remote_newthread_step, remote_threads_extra_info)
232 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
233 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
234 store remote thread ids rather than ptid.tid.
235 (_initialize_remote): Adjust.
237 2014-02-19 Tom Tromey <tromey@redhat.com>
239 * target.c (target_get_unwinder): Rewrite.
240 (target_get_tailcall_unwinder): Rewrite.
241 * record-btrace.c (record_btrace_to_get_unwinder): New function.
242 (record_btrace_to_get_tailcall_unwinder): New function.
243 (init_record_btrace_ops): Update.
244 * target.h (struct target_ops) <to_get_unwinder,
245 to_get_tailcall_unwinder>: Now function pointers. Use
246 TARGET_DEFAULT_RETURN.
248 2014-02-19 Tom Tromey <tromey@redhat.com>
250 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
252 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
254 2014-02-19 Tom Tromey <tromey@redhat.com>
256 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
258 * target-delegates.c: Rebuild.
259 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
261 * target.c (default_target_decr_pc_after_break): Rename from
262 forward_target_decr_pc_after_break. Simplify.
263 (target_decr_pc_after_break): Rely on delegation.
265 2014-02-19 Tom Tromey <tromey@redhat.com>
267 * target.c (update_current_target): Do not INHERIT to_doc or
268 to_magic. Do not de_fault to_open or to_close.
270 2014-02-19 Tom Tromey <tromey@redhat.com>
272 * gcore.h (objfile_find_memory_regions): Declare.
273 * gcore.c (objfile_find_memory_regions): No longer static. Add
275 (_initialize_gcore): Don't call exec_set_find_memory_regions.
276 * exec.c: Include gcore.h.
277 (exec_set_find_memory_regions): Remove.
278 (exec_find_memory_regions): Remove.
279 (exec_do_find_memory_regions): Remove.
280 (init_exec_ops): Update.
281 * defs.h (exec_set_find_memory_regions): Remove.
283 2014-02-19 Tom Tromey <tromey@redhat.com>
285 * target-delegates.c: Rebuild.
286 * target.h (struct target_ops) <to_extra_thread_info,
287 to_thread_name, to_pid_to_exec_file, to_get_section_table,
288 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
289 not 0, in TARGET_DEFAULT_RETURN.
291 2014-02-19 Tom Tromey <tromey@redhat.com>
293 * target.c (complete_target_initialization): Remove casts. Use
294 return_zero_has_execution.
295 (return_zero): Add "ignore" argument.
296 (return_zero_has_execution): New function.
297 (init_dummy_target): Remove casts. Use
298 return_zero_has_execution.
300 2014-02-19 Tom Tromey <tromey@redhat.com>
302 * target.c (update_current_target): Update comments. Do not
305 2014-02-19 Tom Tromey <tromey@redhat.com>
307 * arm-linux-nat.c (arm_linux_read_description): Delegate when
309 * corelow.c (core_read_description): Delegate when needed.
310 * remote.c (remote_read_description): Delegate when needed.
311 * target-delegates.c: Rebuild.
312 * target.c (target_read_description): Rewrite.
313 * target.h (struct target_ops) <to_read_description>: Update
314 comment. Use TARGET_DEFAULT_RETURN.
316 2014-02-19 Tom Tromey <tromey@redhat.com>
318 * target-delegates.c: Rebuild.
319 * target.c (update_current_target): Don't inherit or default
321 (find_default_run_target): Check against delegate_can_run.
322 * target.h (struct target_ops) <to_can_run>: Use
323 TARGET_DEFAULT_RETURN.
325 2014-02-19 Tom Tromey <tromey@redhat.com>
327 * target-delegates.c: Rebuild.
328 * target.c (target_disconnect): Unconditionally delegate.
329 * target.h (struct target_ops) <to_disconnect>: Use
330 TARGET_DEFAULT_NORETURN.
332 2014-02-19 Tom Tromey <tromey@redhat.com>
334 * record.c (record_stop): Unconditionally delegate.
335 * target-delegates.c: Rebuild.
336 * target.c (target_stop_recording): Unconditionally delegate.
337 * target.h (struct target_ops) <to_stop_recording>: Use
338 TARGET_DEFAULT_IGNORE.
340 2014-02-19 Tom Tromey <tromey@redhat.com>
342 * target-delegates.c: Rebuild.
343 * target.c (target_enable_btrace): Unconditionally delegate.
344 * target.h (struct target_ops) <to_enable_btrace>: Use
345 TARGET_DEFAULT_NORETURN.
347 2014-02-19 Tom Tromey <tromey@redhat.com>
349 * target-delegates.c: Rebuild.
350 * target.c (target_read_btrace): Unconditionally delegate.
351 * target.h (struct target_ops) <to_read_btrace>: Use
352 TARGET_DEFAULT_NORETURN.
354 2014-02-19 Tom Tromey <tromey@redhat.com>
356 * target-delegates.c: Rebuild.
357 * target.c (target_teardown_btrace): Unconditionally delegate.
358 * target.h (struct target_ops) <to_teardown_btrace>: Use
359 TARGET_DEFAULT_NORETURN.
361 2014-02-19 Tom Tromey <tromey@redhat.com>
363 * target-delegates.c: Rebuild.
364 * target.c (target_disable_btrace): Unconditionally delegate.
365 * target.h (struct target_ops) <to_disable_btrace>: Use
366 TARGET_DEFAULT_NORETURN.
368 2014-02-19 Tom Tromey <tromey@redhat.com>
370 * target-delegates.c: Rebuild.
371 * target.c (default_search_memory): New function.
372 (simple_search_memory): Update comment.
373 (target_search_memory): Unconditionally delegate.
374 * target.h (struct target_ops) <to_search_memory>: Use
377 2014-02-19 Tom Tromey <tromey@redhat.com>
379 * auxv.c (default_auxv_parse): No longer static.
380 (target_auxv_parse): Unconditionally delegate.
381 * auxv.h (default_auxv_parse): Declare.
382 * target-delegates.c: Rebuild.
383 * target.c: Include auxv.h.
384 * target.h (struct target_ops) <to_auxv_parse>: Use
387 2014-02-19 Tom Tromey <tromey@redhat.com>
389 * target-delegates.c: Rebuild.
390 * target.c (target_memory_map): Unconditionally delegate.
391 * target.h (struct target_ops) <to_memory_map>: Use
392 TARGET_DEFAULT_RETURN.
394 2014-02-19 Tom Tromey <tromey@redhat.com>
396 * target-delegates.c: Rebuild.
397 * target.c (target_thread_alive): Unconditionally delegate.
398 * target.h (struct target_ops) <to_thread_alive>: Use
399 TARGET_DEFAULT_RETURN.
401 2014-02-19 Tom Tromey <tromey@redhat.com>
403 * target-delegates.c: Rebuild.
404 * target.c (target_save_record): Unconditionally delegate.
405 * target.h (struct target_ops) <to_save_record>: Use
406 TARGET_DEFAULT_NORETURN.
408 2014-02-19 Tom Tromey <tromey@redhat.com>
410 * target-delegates.c: Rebuild.
411 * target.c (target_delete_record): Unconditionally delegate.
412 * target.h (struct target_ops) <to_delete_record>: Use
413 TARGET_DEFAULT_NORETURN.
415 2014-02-19 Tom Tromey <tromey@redhat.com>
417 * target-delegates.c: Rebuild.
418 * target.c (target_record_is_replaying): Unconditionally
420 * target.h (struct target_ops) <to_record_is_replaying>: Use
421 TARGET_DEFAULT_RETURN.
423 2014-02-19 Tom Tromey <tromey@redhat.com>
425 * target-delegates.c: Rebuild.
426 * target.c (target_goto_record_begin): Unconditionally delegate.
427 * target.h (struct target_ops) <to_goto_record_begin>: Use
428 TARGET_DEFAULT_NORETURN.
430 2014-02-19 Tom Tromey <tromey@redhat.com>
432 * target-delegates.c: Rebuild.
433 * target.c (target_goto_record_end): Unconditionally delegate.
434 * target.h (struct target_ops) <to_goto_record_end>: Use
435 TARGET_DEFAULT_NORETURN.
437 2014-02-19 Tom Tromey <tromey@redhat.com>
439 * target-delegates.c: Rebuild.
440 * target.c (target_goto_record): Unconditionally delegate.
441 * target.h (struct target_ops) <to_goto_record>: Use
442 TARGET_DEFAULT_NORETURN.
444 2014-02-19 Tom Tromey <tromey@redhat.com>
446 * target-delegates.c: Rebuild.
447 * target.c (target_insn_history): Unconditionally delegate.
448 * target.h (struct target_ops) <to_insn_history>: Use
449 TARGET_DEFAULT_NORETURN.
451 2014-02-19 Tom Tromey <tromey@redhat.com>
453 * target-delegates.c: Rebuild.
454 * target.c (target_insn_history_from): Unconditionally delegate.
455 * target.h (struct target_ops) <to_insn_history_from>: Use
456 TARGET_DEFAULT_NORETURN.
458 2014-02-19 Tom Tromey <tromey@redhat.com>
460 * target-delegates.c: Rebuild.
461 * target.c (target_insn_history_range): Unconditionally delegate.
462 * target.h (struct target_ops) <to_insn_history_range>: Use
463 TARGET_DEFAULT_NORETURN.
465 2014-02-19 Tom Tromey <tromey@redhat.com>
467 * target-delegates.c: Rebuild.
468 * target.c (target_call_history): Unconditionally delegate.
469 * target.h (struct target_ops) <to_call_history>: Use
470 TARGET_DEFAULT_NORETURN.
472 2014-02-19 Tom Tromey <tromey@redhat.com>
474 * target-delegates.c: Rebuild.
475 * target.c (target_call_history_from): Unconditionally delegate.
476 * target.h (struct target_ops) <to_call_history_from>: Use
477 TARGET_DEFAULT_NORETURN.
479 2014-02-19 Tom Tromey <tromey@redhat.com>
481 * target-delegates.c: Rebuild.
482 * target.c (target_call_history_range): Unconditionally delegate.
483 * target.h (struct target_ops) <to_call_history_range>: Use
484 TARGET_DEFAULT_NORETURN.
486 2014-02-19 Tom Tromey <tromey@redhat.com>
488 * target-delegates.c: Rebuild.
489 * target.c (target_verify_memory): Unconditionally delegate.
490 * target.h (struct target_ops) <to_verify_memory>: Use
491 TARGET_DEFAULT_NORETURN.
493 2014-02-19 Tom Tromey <tromey@redhat.com>
495 * target-delegates.c: Rebuild.
496 * target.c (target_core_of_thread): Unconditionally delegate.
497 * target.h (struct target_ops) <to_core_of_thread>: Use
498 TARGET_DEFAULT_RETURN.
500 2014-02-19 Tom Tromey <tromey@redhat.com>
502 * target-delegates.c: Rebuild.
503 * target.c (target_flash_done): Unconditionally delegate.
504 * target.h (struct target_ops) <to_flash_done>: Use
505 TARGET_DEFAULT_NORETURN.
507 2014-02-19 Tom Tromey <tromey@redhat.com>
509 * target-delegates.c: Rebuild.
510 * target.c (target_flash_erase): Unconditionally delegate.
511 * target.h (struct target_ops) <to_flash_erase>: Use
512 TARGET_DEFAULT_NORETURN.
514 2014-02-19 Tom Tromey <tromey@redhat.com>
516 * target-delegates.c: Rebuild.
517 * target.c (target_get_section_table): Unconditionally delegate.
518 * target.h (struct target_ops) <to_get_section_table>: Use
519 TARGET_DEFAULT_RETURN.
521 2014-02-19 Tom Tromey <tromey@redhat.com>
523 * target-delegates.c: Rebuild.
524 * target.c (target_pid_to_str): Unconditionally delegate.
525 (init_dummy_target): Don't initialize to_pid_to_str.
526 (default_pid_to_str): Rename from dummy_pid_to_str.
527 * target.h (struct target_ops) <to_pid_to_str>: Use
530 2014-02-19 Tom Tromey <tromey@redhat.com>
532 * target-delegates.c: Rebuild.
533 * target.c (target_find_new_threads): Unconditionally delegate.
534 * target.h (struct target_ops) <to_find_new_threads>: Use
535 TARGET_DEFAULT_RETURN.
537 2014-02-19 Tom Tromey <tromey@redhat.com>
539 * target-delegates.c: Rebuild.
540 * target.c (target_program_signals): Unconditionally delegate.
541 * target.h (struct target_ops) <to_program_signals>: Use
542 TARGET_DEFAULT_IGNORE.
544 2014-02-19 Tom Tromey <tromey@redhat.com>
546 * target-delegates.c: Rebuild.
547 * target.c (target_pass_signals): Unconditionally delegate.
548 * target.h (struct target_ops) <to_pass_signals>: Use
549 TARGET_DEFAULT_IGNORE.
551 2014-02-19 Tom Tromey <tromey@redhat.com>
553 * target-delegates.c: Rebuild.
554 * target.c (default_mourn_inferior): New function.
555 (target_mourn_inferior): Unconditionally delegate.
556 * target.h (struct target_ops) <to_mourn_inferior>: Use
559 2014-02-19 Tom Tromey <tromey@redhat.com>
561 * target-delegates.c: Rebuild.
562 * target.c (default_follow_fork): New function.
563 (target_follow_fork): Unconditionally delegate.
564 * target.h (struct target_ops) <to_follow_fork>: Use
567 2014-02-19 Tom Tromey <tromey@redhat.com>
569 * target-delegates.c: Rebuild.
570 * target.c (target_kill): Unconditionally delegate.
571 * target.h (struct target_ops) <to_kill>: Use
572 TARGET_DEFAULT_NORETURN.
574 2014-02-19 Tom Tromey <tromey@redhat.com>
576 * target-delegates.c: Rebuild.
577 * target.c (target_masked_watch_num_registers): Unconditionally
579 * target.h (struct target_ops) <to_masked_watch_num_registers>:
580 Use TARGET_DEFAULT_RETURN.
582 2014-02-19 Tom Tromey <tromey@redhat.com>
584 * target-delegates.c: Rebuild.
585 * target.c (target_remove_mask_watchpoint): Unconditionally
587 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
588 TARGET_DEFAULT_RETURN.
590 2014-02-19 Tom Tromey <tromey@redhat.com>
592 * target-delegates.c: Rebuild.
593 * target.c (target_insert_mask_watchpoint): Unconditionally
595 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
596 TARGET_DEFAULT_RETURN.
598 2014-02-19 Tom Tromey <tromey@redhat.com>
600 * target-delegates.c: Rebuild.
601 * target.c (target_ranged_break_num_registers): Unconditionally
603 * target.h (struct target_ops) <to_ranged_break_num_registers>:
604 Use TARGET_DEFAULT_RETURN.
606 2014-02-19 Tom Tromey <tromey@redhat.com>
608 * target-delegates.c: Rebuild.
609 * target.c (target_fetch_registers): Unconditionally delegate.
610 * target.h (struct target_ops) <to_fetch_registers>: Use
611 TARGET_DEFAULT_NORETURN.
613 2014-02-19 Tom Tromey <tromey@redhat.com>
615 * target-delegates.c: Rebuild.
616 * target.c (update_current_target): Don't inherit or default
618 * target.h (struct target_ops) <to_stop>: Use
619 TARGET_DEFAULT_IGNORE.
621 2014-02-19 Tom Tromey <tromey@redhat.com>
623 * target-delegates.c: Rebuild.
624 * target.c (update_current_target): Don't inherit or default
625 to_can_run_breakpoint_commands.
626 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
627 Use TARGET_DEFAULT_RETURN.
629 2014-02-19 Tom Tromey <tromey@redhat.com>
631 * target-delegates.c: Rebuild.
632 * target.c (update_current_target): Don't inherit or default
633 to_supports_evaluation_of_breakpoint_conditions.
634 * target.h (struct target_ops)
635 <to_supports_evaluation_of_breakpoint_conditions>: Use
636 TARGET_DEFAULT_RETURN.
638 2014-02-19 Tom Tromey <tromey@redhat.com>
640 * target-delegates.c: Rebuild.
641 * target.c (update_current_target): Don't inherit or default
642 to_augmented_libraries_svr4_read.
643 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
644 Use TARGET_DEFAULT_RETURN.
646 2014-02-19 Tom Tromey <tromey@redhat.com>
648 * target-delegates.c: Rebuild.
649 * target.c (update_current_target): Don't inherit or default
651 * target.h (struct target_ops) <to_can_use_agent>: 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
659 * target.h (struct target_ops) <to_use_agent>: Use
660 TARGET_DEFAULT_NORETURN.
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 (return_null): Remove.
668 * target.h (struct target_ops) <to_traceframe_info>: Use
669 TARGET_DEFAULT_RETURN.
671 2014-02-19 Tom Tromey <tromey@redhat.com>
673 * target-delegates.c: Rebuild.
674 * target.c (update_current_target): Don't inherit or default
675 to_static_tracepoint_markers_by_strid.
676 * target.h (struct target_ops)
677 <to_static_tracepoint_markers_by_strid>: Use
678 TARGET_DEFAULT_NORETURN.
680 2014-02-19 Tom Tromey <tromey@redhat.com>
682 * target-delegates.c: Rebuild.
683 * target.c (update_current_target): Don't inherit or default
684 to_static_tracepoint_marker_at.
685 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
686 Use TARGET_DEFAULT_RETURN.
688 2014-02-19 Tom Tromey <tromey@redhat.com>
690 * target-delegates.c: Rebuild.
691 * target.c (update_current_target): Don't inherit or default
693 * target.h (struct target_ops) <to_set_permissions>: Use
694 TARGET_DEFAULT_IGNORE.
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
701 * target.h (struct target_ops) <to_get_tib_address>: Use
702 TARGET_DEFAULT_NORETURN.
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_trace_notes>: Use
710 TARGET_DEFAULT_RETURN.
712 2014-02-19 Tom Tromey <tromey@redhat.com>
714 * target-delegates.c: Rebuild.
715 * target.c (update_current_target): Don't initialize
716 to_set_trace_buffer_size.
717 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
718 TARGET_DEFAULT_IGNORE.
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
724 to_set_circular_trace_buffer.
725 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
726 TARGET_DEFAULT_IGNORE.
728 2014-02-19 Tom Tromey <tromey@redhat.com>
730 * target-delegates.c: Rebuild.
731 * target.c (update_current_target): Don't inherit or default
732 to_set_disconnected_tracing.
733 * target.h (struct target_ops) <to_set_disconnected_tracing>: 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_get_min_fast_tracepoint_insn_len.
741 (return_minus_one): Remove.
742 * target.h (struct target_ops)
743 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
745 2014-02-19 Tom Tromey <tromey@redhat.com>
747 * target-delegates.c: Rebuild.
748 * target.c (update_current_target): Don't inherit or default
749 to_get_raw_trace_data.
750 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
751 TARGET_DEFAULT_NORETURN.
753 2014-02-19 Tom Tromey <tromey@redhat.com>
755 * target-delegates.c: Rebuild.
756 * target.c (update_current_target): Don't inherit or default
757 to_upload_trace_state_variables.
758 * target.h (struct target_ops) <to_upload_trace_state_variables>:
759 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_upload_tracepoints.
766 * target.h (struct target_ops) <to_upload_tracepoints>: Use
767 TARGET_DEFAULT_RETURN.
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
774 * target.h (struct target_ops) <to_save_trace_data>: Use
775 TARGET_DEFAULT_NORETURN.
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_get_trace_state_variable_value.
782 * target.h (struct target_ops)
783 <to_get_trace_state_variable_value>: Use 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): Use TARGET_DEFAULT_RETURN.
792 2014-02-19 Tom Tromey <tromey@redhat.com>
794 * target-delegates.c: Rebuild.
795 * target.c (update_current_target): Don't inherit or default
797 * target.h (struct target_ops) <to_trace_stop>: Use
798 TARGET_DEFAULT_NORETURN.
800 2014-02-19 Tom Tromey <tromey@redhat.com>
802 * target-delegates.c: Rebuild.
803 * target.c (update_current_target): Don't inherit or default
804 to_get_tracepoint_status.
805 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
806 TARGET_DEFAULT_NORETURN.
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_get_trace_status>: Use
814 TARGET_DEFAULT_RETURN.
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
821 * target.h (struct target_ops) <to_trace_start>: 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
828 to_trace_set_readonly_regions.
829 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
830 Use TARGET_DEFAULT_NORETURN.
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
836 to_disable_tracepoint.
837 * target.h (struct target_ops) <to_disable_tracepoint>: 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_enable_tracepoint.
845 * target.h (struct target_ops) <to_enable_tracepoint>: Use
846 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_download_trace_state_variable.
853 * target.h (struct target_ops) <to_download_trace_state_variable>:
854 Use 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_can_download_tracepoint.
861 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
862 TARGET_DEFAULT_RETURN.
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_tracepoint.
869 * target.h (struct target_ops) <to_download_tracepoint>: Use
870 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
877 * target.h (struct target_ops) <to_trace_init>: 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_supports_string_tracing.
885 * target.h (struct target_ops) <to_supports_string_tracing>: Use
886 TARGET_DEFAULT_RETURN.
888 2014-02-19 Tom Tromey <tromey@redhat.com>
890 * target-delegates.c: Rebuild.
891 * target.c (update_current_target): Don't inherit or default
892 to_supports_enable_disable_tracepoint.
893 * target.h (struct target_ops)
894 <to_supports_enable_disable_tracepoint>: Use
895 TARGET_DEFAULT_RETURN.
897 2014-02-19 Tom Tromey <tromey@redhat.com>
899 * target-delegates.c: Rebuild.
900 * target.c (update_current_target): Don't inherit or default
901 to_supports_multi_process.
902 * target.h (struct target_ops) <to_supports_multi_process>: Use
903 TARGET_DEFAULT_RETURN.
905 2014-02-19 Tom Tromey <tromey@redhat.com>
907 * target-delegates.c: Rebuild.
908 * target.c (update_current_target): Don't inherit or default
909 to_get_ada_task_ptid.
910 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
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_thread_architecture.
918 * target.h (struct target_ops) <to_thread_architecture>: Use
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_execution_direction.
926 * target.h (struct target_ops) <to_execution_direction>: 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_can_execute_reverse.
934 * target.h (struct target_ops) <to_can_execute_reverse>: Use
935 TARGET_DEFAULT_RETURN.
936 (target_can_execute_reverse): Unconditionally delegate.
938 2014-02-19 Tom Tromey <tromey@redhat.com>
940 * target-delegates.c: Rebuild.
941 * target.c (update_current_target): Don't inherit or default
943 (dummy_goto_bookmark): Remove.
944 (init_dummy_target): Don't inherit or default to_goto_bookmark.
945 * target.h (struct target_ops) <to_goto_bookmark>: Use
946 TARGET_DEFAULT_NORETURN.
948 2014-02-19 Tom Tromey <tromey@redhat.com>
950 * target-delegates.c: Rebuild.
951 * target.c (update_current_target): Don't inherit or default
953 (dummy_get_bookmark): Remove.
954 (init_dummy_target): Don't inherit or default to_get_bookmark.
955 * target.h (struct target_ops) <to_get_bookmark>: Use
956 TARGET_DEFAULT_NORETURN
958 2014-02-19 Tom Tromey <tromey@redhat.com>
960 * target-delegates.c: Rebuild.
961 * target.c (update_current_target): Don't inherit or default
962 to_make_corefile_notes.
963 (init_dummy_target): Don't initialize to_make_corefile_notes.
964 * target.h (struct target_ops) <to_make_corefile_notes>: Use
967 2014-02-19 Tom Tromey <tromey@redhat.com>
969 * target-delegates.c: Rebuild.
970 * target.c (update_current_target): Don't inherit or default
971 to_find_memory_regions.
972 (init_dummy_target): Don't initialize to_find_memory_regions.
973 * target.h (struct target_ops) <to_find_memory_regions>: Use
976 2014-02-19 Tom Tromey <tromey@redhat.com>
978 * target-delegates.c: Rebuild.
979 * target.c (update_current_target): Don't inherit or default
981 * target.h (struct target_ops) <to_log_command>: Use
982 TARGET_DEFAULT_IGNORE.
983 (target_log_command): Unconditionally delegate.
985 2014-02-19 Tom Tromey <tromey@redhat.com>
987 * target-delegates.c: Rebuild.
988 * target.c (update_current_target): Don't inherit or default
990 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
991 TARGET_DEFAULT_RETURN.
993 2014-02-19 Tom Tromey <tromey@redhat.com>
995 * target-delegates.c: Rebuild.
996 * target.c (update_current_target): Don't inherit or default
998 (target_thread_name): Unconditionally delegate.
999 * target.h (struct target_ops) <to_thread_name>: Use
1000 TARGET_DEFAULT_RETURN.
1002 2014-02-19 Tom Tromey <tromey@redhat.com>
1004 * target-delegates.c: Rebuild.
1005 * target.c (update_current_target): Don't inherit or default
1006 to_extra_thread_info.
1007 * target.h (struct target_ops) <to_extra_thread_info>: Use
1008 TARGET_DEFAULT_RETURN.
1010 2014-02-19 Tom Tromey <tromey@redhat.com>
1012 * target-delegates.c: Rebuild.
1013 * target.c (update_current_target): Don't inherit or default
1015 * target.h (struct target_ops) <to_has_exited>: 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_set_syscall_catchpoint.
1023 (return_one): Remove.
1024 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
1025 TARGET_DEFAULT_RETURN.
1027 2014-02-19 Tom Tromey <tromey@redhat.com>
1029 * target-delegates.c: Rebuild.
1030 * target.c (update_current_target): Don't inherit or default
1031 to_insert_exec_catchpoint.
1032 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1033 TARGET_DEFAULT_RETURN.
1035 2014-01-08 Tom Tromey <tromey@redhat.com>
1037 * target-delegates.c: Rebuild.
1038 * target.c (update_current_target): Don't inherit or default
1039 to_insert_exec_catchpoint.
1040 * target.h (struct target_ops) <to_insert_exec_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_remove_vfork_catchpoint.
1048 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
1049 TARGET_DEFAULT_RETURN.
1051 2014-02-19 Tom Tromey <tromey@redhat.com>
1053 * target-delegates.c: Rebuild.
1054 * target.c (update_current_target): Don't inherit or default
1055 to_insert_vfork_catchpoint.
1056 * target.h (struct target_ops) <to_insert_vfork_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_fork_catchpoint.
1064 * target.h (struct target_ops) <to_remove_fork_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_fork_catchpoint.
1072 * target.h (struct target_ops) <to_insert_fork_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_post_startup_inferior.
1080 * target.h (struct target_ops) <to_post_startup_inferior>: Use
1081 TARGET_DEFAULT_IGNORE.
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
1088 * target.h (struct target_ops) <to_load>: Use
1089 TARGET_DEFAULT_NORETURN.
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
1096 * target.h (struct target_ops) <to_terminal_info>: Use
1097 TARGET_DEFAULT_FUNC.
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
1103 to_terminal_save_ours.
1104 * target.h (struct target_ops) <to_terminal_save_ours>: Use
1105 TARGET_DEFAULT_IGNORE.
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_ours>: Use
1113 TARGET_DEFAULT_IGNORE.
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_ours_for_output.
1120 * target.h (struct target_ops) <to_terminal_ours_for_output>: 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
1127 to_terminal_inferior.
1128 * target.h (struct target_ops) <to_terminal_inferior>: 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
1136 * target.h (struct target_ops) <to_terminal_init>: 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_can_accel_watchpoint_condition.
1144 * target.h (struct target_ops)
1145 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
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
1151 to_region_ok_for_hw_watchpoint.
1152 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1153 Use TARGET_DEFAULT_FUNC.
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_watchpoint_addr_within_range.
1160 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
1161 Use TARGET_DEFAULT_FUNC.
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_remove_watchpoint.
1168 * target.h (struct target_ops) <to_remove_watchpoint>: Use
1169 TARGET_DEFAULT_NORETURN.
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_insert_watchpoint.
1176 * target.h (struct target_ops) <to_insert_watchpoint>: Use
1177 TARGET_DEFAULT_RETURN.
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_hw_breakpoint.
1184 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
1185 TARGET_DEFAULT_RETURN.
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_hw_breakpoint.
1192 * target.h (struct target_ops) <to_insert_hw_breakpoint>: 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_can_use_hw_breakpoint.
1200 * target.h (struct target_ops) <to_can_use_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
1208 * target.h (struct target_ops) <to_files_info>: Use
1209 TARGET_DEFAULT_IGNORE.
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
1216 * target.h (struct target_ops) <to_store>: Use
1217 TARGET_DEFAULT_NORETURN.
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_post_attach>: 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 (default_rcmd): New function.
1233 (do_monitor_command): Unconditionally delegate.
1234 * target.h (struct target_ops) <to_rmcd>: Use
1235 TARGET_DEFAULT_FUNC.
1237 2014-02-19 Tom Tromey <tromey@redhat.com>
1239 * target-delegates.c: Rebuild.
1240 * target.c (init_dummy_target): Don't initialize to_attach.
1241 (target_attach): Unconditionally delegate.
1242 * target.h (struct target_ops) <to_attach>: Use
1243 TARGET_DEFAULT_FUNC.
1245 2014-02-19 Tom Tromey <tromey@redhat.com>
1247 * target-delegates.c: Rebuild.
1248 * target.c (target_detach): Unconditionally delegate.
1249 (init_dummy_target): Don't initialize to_detach.
1250 * target.h (struct target_ops) <to_detach>: Use
1251 TARGET_DEFAULT_IGNORE.
1253 2014-02-19 Tom Tromey <tromey@redhat.com>
1255 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1257 (target_augmented_libraries_svr4_read): Add argument.
1258 * target.c (update_current_target): Update.
1259 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
1262 2014-02-19 Tom Tromey <tromey@redhat.com>
1264 * target.h (struct target_ops) <to_call_history_range>: Add
1266 * target.c (target_call_history_range): Add argument.
1267 * record-btrace.c (record_btrace_call_history_range): Add 'self'
1269 (record_btrace_call_history_from): Update.
1271 2014-02-19 Tom Tromey <tromey@redhat.com>
1273 * target.h (struct target_ops) <to_call_history_from>: Add
1275 * target.c (target_call_history_from): Add argument.
1276 * record-btrace.c (record_btrace_call_history_from): Add 'self'
1279 2014-02-19 Tom Tromey <tromey@redhat.com>
1281 * target.h (struct target_ops) <to_call_history>: Add argument.
1282 * target.c (target_call_history): Add argument.
1283 * record-btrace.c (record_btrace_call_history): Add 'self'
1286 2014-02-19 Tom Tromey <tromey@redhat.com>
1288 * target.h (struct target_ops) <to_insn_history_range>: Add
1290 * target.c (target_insn_history_range): Add argument.
1291 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
1293 (record_btrace_insn_history_from): Update.
1295 2014-02-19 Tom Tromey <tromey@redhat.com>
1297 * target.h (struct target_ops) <to_insn_history_from>: Add
1299 * target.c (target_insn_history_from): Add argument.
1300 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
1303 2014-02-19 Tom Tromey <tromey@redhat.com>
1305 * target.h (struct target_ops) <to_insn_history>: Add argument.
1306 * target.c (target_insn_history): Add argument.
1307 * record-btrace.c (record_btrace_insn_history): Add 'self'
1310 2014-02-19 Tom Tromey <tromey@redhat.com>
1312 * target.h (struct target_ops) <to_goto_record>: Add argument.
1313 * target.c (target_goto_record): Add argument.
1314 * record-full.c (record_full_goto): Add 'self' argument.
1315 * record-btrace.c (record_btrace_goto): Add 'self' argument.
1317 2014-02-19 Tom Tromey <tromey@redhat.com>
1319 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
1320 * target.c (target_goto_record_end): Add argument.
1321 * record-full.c (record_full_goto_end): Add 'self' argument.
1322 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
1324 2014-02-19 Tom Tromey <tromey@redhat.com>
1326 * target.h (struct target_ops) <to_goto_record_begin>: Add
1328 * target.c (target_goto_record_begin): Add argument.
1329 * record-full.c (record_full_goto_begin): Add 'self' argument.
1330 * record-btrace.c (record_btrace_goto_begin): Add 'self'
1333 2014-02-19 Tom Tromey <tromey@redhat.com>
1335 * target.h (struct target_ops) <to_record_is_replaying>: Add
1337 * target.c (target_record_is_replaying): Add argument.
1338 * record-full.c (record_full_is_replaying): Add 'self' argument.
1339 * record-btrace.c (record_btrace_is_replaying): Add 'self'
1341 (record_btrace_xfer_partial, record_btrace_store_registers)
1342 (record_btrace_prepare_to_store, record_btrace_resume)
1343 (record_btrace_wait, record_btrace_decr_pc_after_break)
1344 (record_btrace_find_new_threads, record_btrace_thread_alive):
1347 2014-02-19 Tom Tromey <tromey@redhat.com>
1349 * target.h (struct target_ops) <to_delete_record>: Add argument.
1350 * target.c (target_delete_record): Add argument.
1351 * record-full.c (record_full_delete): Add 'self' argument.
1353 2014-02-19 Tom Tromey <tromey@redhat.com>
1355 * target.h (struct target_ops) <to_save_record>: Add argument.
1356 * target.c (target_save_record): Add argument.
1357 * record-full.c (record_full_save): Add 'self' argument.
1358 (record_full_save): Add 'self' argument.
1360 2014-02-19 Tom Tromey <tromey@redhat.com>
1362 * target.h (struct target_ops) <to_info_record>: Add argument.
1363 * target.c (target_info_record): Add argument.
1364 * record.c (info_record_command): Add argument.
1365 * record-full.c (record_full_info): Add 'self' argument.
1366 * record-btrace.c (record_btrace_info): Add 'self' argument.
1368 2014-02-19 Tom Tromey <tromey@redhat.com>
1370 * target.h (struct target_ops) <to_stop_recording>: Add argument.
1371 * target.c (target_stop_recording): Add argument.
1372 * record.c (record_stop): Add argument.
1373 * record-btrace.c (record_btrace_stop_recording): Add 'self'
1376 2014-02-19 Tom Tromey <tromey@redhat.com>
1378 * target.h (struct target_ops) <to_read_btrace>: Add argument.
1379 * target.c (struct target_ops) <to_read_btrace>: Add argument.
1380 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
1382 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
1383 (_initialize_amd64_linux_nat): Use it.
1384 * i386-linux-nat.c (i386_linux_read_btrace): New function.
1385 (_initialize_i386_linux_nat): Use it.
1387 2014-02-19 Tom Tromey <tromey@redhat.com>
1389 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
1390 * target.c (target_teardown_btrace): Add argument.
1391 * remote.c (remote_teardown_btrace): Add 'self' argument.
1392 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
1394 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
1397 2014-02-19 Tom Tromey <tromey@redhat.com>
1399 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
1400 * target.c (target_disable_btrace): Add argument.
1401 * remote.c (remote_disable_btrace): Add 'self' argument.
1402 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
1404 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
1407 2014-02-19 Tom Tromey <tromey@redhat.com>
1409 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
1410 * target.c (target_enable_btrace): Add argument.
1411 * remote.c (remote_enable_btrace): Add 'self' argument.
1412 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
1414 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
1417 2014-02-19 Tom Tromey <tromey@redhat.com>
1419 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
1420 (target_can_use_agent): Add argument.
1421 * target.c (update_current_target): Update.
1422 * remote.c (remote_can_use_agent): Add 'self' argument.
1423 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
1425 2014-02-19 Tom Tromey <tromey@redhat.com>
1427 * target.h (struct target_ops) <to_use_agent>: Add argument.
1428 (target_use_agent): Add argument.
1429 * target.c (update_current_target): Update.
1430 * remote.c (remote_use_agent): Add 'self' argument.
1431 * inf-child.c (inf_child_use_agent): Add 'self' argument.
1433 2014-02-19 Tom Tromey <tromey@redhat.com>
1435 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
1436 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
1437 (target_traceframe_info): Add argument.
1438 * target.c (update_current_target): Update.
1439 * remote.c (remote_traceframe_info): Add 'self' argument.
1440 * ctf.c (ctf_traceframe_info): Add 'self' argument.
1442 2014-02-19 Tom Tromey <tromey@redhat.com>
1444 * target.h (target_static_tracepoint_markers_by_strid): Add
1446 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
1448 * target.c (update_current_target): Update.
1449 * remote.c (struct target_ops)
1450 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1451 * linux-nat.c (struct target_ops)
1452 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1454 2014-02-19 Tom Tromey <tromey@redhat.com>
1456 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1458 (target_static_tracepoint_marker_at): Add argument.
1459 * target.c (update_current_target): Update.
1460 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
1463 2014-02-19 Tom Tromey <tromey@redhat.com>
1465 * target.h (struct target_ops) <to_set_permissions>: Add argument.
1466 (target_set_permissions): Add argument.
1467 * target.c (update_current_target): Update.
1468 * remote.c (remote_set_permissions): Add 'self' argument.
1469 (remote_start_remote): Update.
1471 2014-02-19 Tom Tromey <tromey@redhat.com>
1473 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
1474 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
1475 (target_get_tib_address): Add argument.
1476 * target.c (update_current_target): Update.
1477 * remote.c (remote_get_tib_address): Add 'self' argument.
1479 2014-02-19 Tom Tromey <tromey@redhat.com>
1481 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
1482 (target_set_trace_notes): Add argument.
1483 * target.c (update_current_target): Update.
1484 * remote.c (remote_set_trace_notes): Add 'self' argument.
1486 2014-02-19 Tom Tromey <tromey@redhat.com>
1488 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
1490 (target_set_trace_buffer_size): Add argument.
1491 * target.c (update_current_target): Update.
1492 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
1494 2014-02-19 Tom Tromey <tromey@redhat.com>
1496 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
1498 (target_set_circular_trace_buffer): Add argument.
1499 * target.c (update_current_target): Update.
1500 * remote.c (remote_set_circular_trace_buffer): Add 'self'
1503 2014-02-19 Tom Tromey <tromey@redhat.com>
1505 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
1507 (target_set_disconnected_tracing): Add argument.
1508 * target.c (update_current_target): Update.
1509 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
1511 2014-02-19 Tom Tromey <tromey@redhat.com>
1513 * target.h (struct target_ops)
1514 <to_get_min_fast_tracepoint_insn_len>: Add argument.
1515 (target_get_min_fast_tracepoint_insn_len): Add argument.
1516 * target.c (update_current_target): Update.
1517 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
1520 2014-02-19 Tom Tromey <tromey@redhat.com>
1522 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
1524 (target_get_raw_trace_data): Add argument.
1525 * target.c (update_current_target): Update.
1526 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
1528 2014-02-19 Tom Tromey <tromey@redhat.com>
1530 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1532 (target_upload_trace_state_variables): Add argument.
1533 * target.c (update_current_target): Update.
1534 * remote.c (remote_upload_trace_state_variables): Add 'self'
1536 (remote_start_remote): Update.
1538 2014-02-19 Tom Tromey <tromey@redhat.com>
1540 * target.h (struct target_ops) <to_upload_tracepoints>: Add
1542 (target_upload_tracepoints): Add argument.
1543 * target.c (update_current_target): Update.
1544 * remote.c (remote_upload_tracepoints): Add 'self' argument.
1545 (remote_start_remote): Update.
1547 2014-02-19 Tom Tromey <tromey@redhat.com>
1549 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
1550 (target_save_trace_data): Add argument.
1551 * target.c (update_current_target): Update.
1552 * remote.c (remote_save_trace_data): Add 'self' argument.
1554 2014-02-19 Tom Tromey <tromey@redhat.com>
1556 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
1558 * target.h (struct target_ops)
1559 <to_get_trace_state_variable_value>: Add argument.
1560 (target_get_trace_state_variable_value): Add argument.
1561 * target.c (update_current_target): Update.
1562 * remote.c (remote_get_trace_state_variable_value): Add 'self'
1564 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
1566 2014-02-19 Tom Tromey <tromey@redhat.com>
1568 * tracepoint.c (tfile_trace_find): Add 'self' argument.
1569 * target.h (struct target_ops) <to_trace_find>: Add argument.
1570 (target_trace_find): Add argument.
1571 * target.c (update_current_target): Update.
1572 * remote.c (remote_trace_find): Add 'self' argument.
1573 * ctf.c (ctf_trace_find): Add 'self' argument.
1575 2014-02-19 Tom Tromey <tromey@redhat.com>
1577 * target.h (struct target_ops) <to_trace_stop>: Add argument.
1578 (target_trace_stop): Add argument.
1579 * target.c (update_current_target): Update.
1580 * remote.c (remote_trace_stop): Add 'self' argument.
1582 2014-02-19 Tom Tromey <tromey@redhat.com>
1584 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
1585 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
1587 (target_get_tracepoint_status): Add argument.
1588 * target.c (update_current_target): Update.
1589 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
1591 2014-02-19 Tom Tromey <tromey@redhat.com>
1593 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
1594 * target.h (struct target_ops) <to_get_trace_status>: Add
1596 (target_get_trace_status): Add argument.
1597 * target.c (update_current_target): Update.
1598 * remote.c (remote_get_trace_status): Add 'self' argument.
1599 (remote_start_remote, remote_can_download_tracepoint): Update.
1600 * ctf.c (ctf_get_trace_status): Add 'self' argument.
1602 2014-02-19 Tom Tromey <tromey@redhat.com>
1604 * target.h (struct target_ops) <to_trace_start>: Add argument.
1605 (target_trace_start): Add argument.
1606 * target.c (update_current_target): Update.
1607 * remote.c (remote_trace_start): Add 'self' argument.
1609 2014-02-19 Tom Tromey <tromey@redhat.com>
1611 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1613 (target_trace_set_readonly_regions): Add argument.
1614 * target.c (update_current_target): Update.
1615 * remote.c (remote_trace_set_readonly_regions): Add 'self'
1618 2014-02-19 Tom Tromey <tromey@redhat.com>
1620 * target.h (struct target_ops) <to_disable_tracepoint>: Add
1622 (target_disable_tracepoint): Add argument.
1623 * target.c (update_current_target): Update.
1624 * remote.c (remote_disable_tracepoint): Add 'self' argument.
1626 2014-02-19 Tom Tromey <tromey@redhat.com>
1628 * target.h (struct target_ops) <to_enable_tracepoint>: Add
1630 (target_enable_tracepoint): Add argument.
1631 * target.c (update_current_target): Update.
1632 * remote.c (remote_enable_tracepoint): Add 'self' argument.
1634 2014-02-19 Tom Tromey <tromey@redhat.com>
1636 * target.h (struct target_ops) <to_download_trace_state_variable>:
1638 (target_download_trace_state_variable): Add argument.
1639 * target.c (update_current_target): Update.
1640 * remote.c (remote_download_trace_state_variable): Add 'self'
1643 2014-02-19 Tom Tromey <tromey@redhat.com>
1645 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
1647 (target_can_download_tracepoint): Add argument.
1648 * target.c (update_current_target): Update.
1649 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
1651 2014-02-19 Tom Tromey <tromey@redhat.com>
1653 * target.h (struct target_ops) <to_download_tracepoint>: Add
1655 (target_download_tracepoint): Add argument.
1656 * target.c (update_current_target): Update.
1657 * remote.c (remote_download_tracepoint): Add 'self' argument.
1659 2014-02-19 Tom Tromey <tromey@redhat.com>
1661 * target.h (struct target_ops) <to_trace_init>: Add argument.
1662 (target_trace_init): Add argument.
1663 * target.c (update_current_target): Update.
1664 * remote.c (remote_trace_init): Add 'self' argument.
1666 2014-02-19 Tom Tromey <tromey@redhat.com>
1668 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1669 * target.c (target_fileio_readlink): Add argument.
1670 * remote.c (remote_hostio_readlink): Add 'self' argument.
1671 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1673 2014-02-19 Tom Tromey <tromey@redhat.com>
1675 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1676 * target.c (target_fileio_unlink): Add argument.
1677 * remote.c (remote_hostio_unlink): Add 'self' argument.
1678 (remote_file_delete): Update.
1679 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1681 2014-02-19 Tom Tromey <tromey@redhat.com>
1683 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1684 * target.c (target_fileio_close): Add argument.
1685 * remote.c (remote_hostio_close): Add 'self' argument.
1686 (remote_hostio_close_cleanup): Update.
1687 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1689 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1691 2014-02-19 Tom Tromey <tromey@redhat.com>
1693 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1694 * target.c (target_fileio_pread): Add argument.
1695 * remote.c (remote_hostio_pread): Add 'self' argument.
1696 (remote_bfd_iovec_pread, remote_file_get): Update.
1697 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1699 2014-02-19 Tom Tromey <tromey@redhat.com>
1701 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1702 * target.c (target_fileio_pwrite): Add argument.
1703 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1704 (remote_file_put): Update.
1705 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1707 2014-02-19 Tom Tromey <tromey@redhat.com>
1709 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1710 * target.c (target_fileio_open): Add argument.
1711 * remote.c (remote_hostio_open): Add 'self' argument.
1712 (remote_bfd_iovec_open): Add 'self' argument.
1713 (remote_file_put): Add 'self' argument.
1714 (remote_file_get): Add 'self' argument.
1715 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1717 2014-02-19 Tom Tromey <tromey@redhat.com>
1719 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1721 (target_can_run_breakpoint_commands): Add argument.
1722 * target.c (update_current_target): Update.
1723 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1725 (remote_insert_breakpoint): Add 'self' argument.
1726 (remote_insert_hw_breakpoint): Add 'self' argument.
1727 (remote_can_run_breakpoint_commands): Add 'self' argument.
1729 2014-02-19 Tom Tromey <tromey@redhat.com>
1731 * target.h (struct target_ops)
1732 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1733 (target_supports_evaluation_of_breakpoint_conditions): Add
1735 * target.c (update_current_target): Update.
1736 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1738 (remote_insert_breakpoint): Add 'self' argument.
1739 (remote_insert_hw_breakpoint): Add 'self' argument.
1740 (remote_supports_cond_breakpoints): Add 'self' argument.
1742 2014-02-19 Tom Tromey <tromey@redhat.com>
1744 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1746 (target_supports_string_tracing): Add argument.
1747 * target.c (update_current_target): Update.
1748 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1750 2014-02-19 Tom Tromey <tromey@redhat.com>
1752 * target.h (struct target_ops)
1753 <to_supports_disable_randomization>: Add argument.
1754 * target.c (find_default_supports_disable_randomization): Add
1756 (target_supports_disable_randomization): Add argument.
1757 (find_default_supports_disable_randomization): Add 'self'
1759 * remote.c (extended_remote_supports_disable_randomization): Add
1761 (remote_supports_disable_randomization): Add 'self' argument.
1762 (extended_remote_create_inferior): Update.
1763 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1766 2014-02-19 Tom Tromey <tromey@redhat.com>
1768 * target.h (struct target_ops)
1769 <to_supports_enable_disable_tracepoint>: Add argument.
1770 (target_supports_enable_disable_tracepoint): Add argument.
1771 * target.c (update_current_target): Update.
1772 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1775 2014-02-19 Tom Tromey <tromey@redhat.com>
1777 * target.h (struct target_ops) <to_supports_multi_process>: Add
1779 (target_supports_multi_process): Add argument.
1780 * target.c (update_current_target): Update.
1781 * remote.c (remote_supports_multi_process): Add 'self' argument.
1782 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1784 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1787 2014-02-19 Tom Tromey <tromey@redhat.com>
1789 * target.h (struct target_ops) <to_execution_direction>: Add
1791 (target_execution_direction): Add argument.
1792 * target.c (default_execution_direction): Add 'self' argument.
1793 * record-full.c (record_full_execution_direction): Add 'self'
1796 2014-02-19 Tom Tromey <tromey@redhat.com>
1798 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1800 (target_can_execute_reverse): Add argument.
1801 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1802 * record-full.c (record_full_can_execute_reverse): Add 'self'
1804 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1807 2014-02-19 Tom Tromey <tromey@redhat.com>
1809 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1810 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1812 (target_get_ada_task_ptid): Add argument.
1813 * target.c (update_current_target): Update.
1814 (default_get_ada_task_ptid): Add 'self' argument.
1815 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1816 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1817 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1819 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1821 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1823 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1825 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1826 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1829 2014-02-19 Tom Tromey <tromey@redhat.com>
1831 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1832 (target_goto_bookmark): Add argument.
1833 * target.c (dummy_goto_bookmark): Add 'self' argument.
1834 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1836 2014-02-19 Tom Tromey <tromey@redhat.com>
1838 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1839 (target_get_bookmark): Add argument.
1840 * target.c (dummy_get_bookmark): Add 'self' argument.
1841 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1843 2014-02-19 Tom Tromey <tromey@redhat.com>
1845 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1847 (target_make_corefile_notes): Add argument.
1848 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1849 * procfs.c (procfs_make_note_section): Add 'self' argument.
1850 (procfs_make_note_section): Add 'self' argument.
1851 (procfs_make_note_section): Add 'self' argument.
1852 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1854 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1855 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1856 * exec.c (exec_make_note_section): Add 'self' argument.
1857 (exec_make_note_section): Add 'self' argument.
1859 2014-02-19 Tom Tromey <tromey@redhat.com>
1861 * target.h (struct target_ops) <to_find_memory_regions>: Add
1863 (target_find_memory_regions): Add argument.
1864 * target.c (dummy_find_memory_regions): Add 'self' argument.
1865 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1866 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1867 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1868 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1869 * exec. (exec_do_find_memory_regions): New global.
1870 (exec_set_find_memory_regions): Rewrite.
1871 (exec_find_memory_regions): New function.
1872 (init_exec_ops): Use exec_find_memory_regions.
1874 2014-02-19 Tom Tromey <tromey@redhat.com>
1876 * target.h (struct target_ops) <to_supports_non_stop>: Add
1878 * target.c (find_default_supports_non_stop): Add argument.
1879 (target_supports_non_stop): Add argument.
1880 (find_default_supports_non_stop): Add 'self' argument.
1881 * remote.c (remote_supports_non_stop): Add 'self' argument.
1882 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1884 2014-02-19 Tom Tromey <tromey@redhat.com>
1886 * target.h (struct target_ops) <to_log_command>: Add argument.
1887 (target_log_command): Add argument.
1888 * serial.h (serial_log_command): Add 'self' argument.
1889 * serial.c (serial_log_command): Add 'self' argument.
1891 2014-02-19 Tom Tromey <tromey@redhat.com>
1893 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1894 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1896 (target_pid_to_exec_file): Add argument.
1897 * target.c (debug_to_pid_to_exec_file): Add argument.
1898 (update_current_target): Update.
1899 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1900 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1901 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1902 (linux_handle_extended_wait): Update.
1903 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1904 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1905 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1906 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
1908 2014-02-19 Tom Tromey <tromey@redhat.com>
1910 * target.h (struct target_ops) <to_rcmd>: Add argument.
1911 (target_rcmd): Add argument.
1912 * target.c (debug_to_rcmd): Add argument.
1913 (update_current_target, do_monitor_command): Update.
1914 * remote.c (remote_rcmd): Add 'self' argument.
1915 * monitor.c (monitor_rcmd): Add 'self' argument.
1917 2014-02-19 Tom Tromey <tromey@redhat.com>
1919 * windows-nat.c (windows_stop): Add 'self' argument.
1920 * target.h (struct target_ops) <to_stop>: Add argument.
1921 * target.c (target_stop): Add argument.
1922 (debug_to_stop): Add argument.
1923 (update_current_target): Update.
1924 * remote.c (remote_stop): Add 'self' argument.
1925 * remote-sim.c (gdbsim_stop): Add 'self' argument.
1926 (gdbsim_cntrl_c): Update.
1927 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
1928 * procfs.c (procfs_stop): Add 'self' argument.
1929 * nto-procfs.c (procfs_stop): Add 'self' argument.
1930 * monitor.c (monitor_stop): Add 'self' argument.
1931 (monitor_open): Update.
1932 * linux-nat.c (linux_nat_stop): Add argument.
1933 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
1934 * gnu-nat.c (gnu_stop): Add 'self' argument.
1935 * darwin-nat.c (darwin_stop): Add 'self' argument.
1937 2014-02-19 Tom Tromey <tromey@redhat.com>
1939 * target.h (struct target_ops) <to_thread_name>: Add argument.
1940 * target.c (target_thread_name): Add argument.
1941 (update_current_target): Update.
1942 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
1944 2014-02-19 Tom Tromey <tromey@redhat.com>
1946 * target.h (struct target_ops) <to_extra_thread_info>: Add
1948 (target_extra_thread_info): Add argument.
1949 * target.c (update_current_target): Update.
1950 * remote.c (remote_threads_extra_info): Add 'self' argument.
1951 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
1953 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
1954 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
1955 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
1957 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
1959 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
1961 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
1964 2014-02-19 Tom Tromey <tromey@redhat.com>
1966 * target.h (struct target_ops) <to_program_signals>: Add argument.
1967 * target.c (target_program_signals): Add argument.
1968 * remote.c (remote_program_signals): Add 'self' argument.
1970 2014-02-19 Tom Tromey <tromey@redhat.com>
1972 * target.h (struct target_ops) <to_pass_signals>: Add argument.
1973 * target.c (target_pass_signals): Add argument.
1974 * remote.c (remote_pass_signals): Add 'self' argument.
1975 (remote_start_remote): Update.
1976 * procfs.c (procfs_pass_signals): Add 'self' argument.
1977 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
1978 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
1979 (linux_nat_create_inferior, linux_nat_attach): Update.
1981 2014-02-19 Tom Tromey <tromey@redhat.com>
1983 * windows-nat.c (windows_can_run): Add 'self' argument.
1984 * target.h (struct target_ops) <to_can_run>: Add argument.
1985 (target_can_run): Add argument.
1986 * target.c (debug_to_can_run): Add argument.
1987 (update_current_target): Update.
1988 * nto-procfs.c (procfs_can_run): Add 'self' argument.
1989 * inf-child.c (inf_child_can_run): Add 'self' argument.
1990 * go32-nat.c (go32_can_run): Add 'self' argument.
1992 2014-02-19 Tom Tromey <tromey@redhat.com>
1994 * target.h (struct target_ops) <to_has_exited>: Add argument.
1995 (target_has_exited): Add argument.
1996 * target.c (debug_to_has_exited): Add argument.
1997 (update_current_target): Update.
1999 2014-02-19 Tom Tromey <tromey@redhat.com>
2001 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
2003 (target_set_syscall_catchpoint): Add argument.
2004 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
2006 * target.c (update_current_target): Update.
2008 2014-02-19 Tom Tromey <tromey@redhat.com>
2010 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
2012 (target_remove_exec_catchpoint): Add argument.
2013 * target.c (debug_to_remove_exec_catchpoint): Add argument.
2014 (update_current_target): Update.
2015 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
2018 2014-02-19 Tom Tromey <tromey@redhat.com>
2020 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
2022 (target_insert_exec_catchpoint): Add argument.
2023 * target.c (debug_to_insert_exec_catchpoint): Add argument.
2024 (update_current_target): Update.
2025 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
2028 2014-02-19 Tom Tromey <tromey@redhat.com>
2030 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
2032 (target_remove_vfork_catchpoint): Add argument.
2033 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
2034 (update_current_target): Update.
2035 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
2038 2014-02-19 Tom Tromey <tromey@redhat.com>
2040 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
2042 (target_insert_vfork_catchpoint): Add argument.
2043 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
2044 (update_current_target): Update.
2045 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
2048 2014-02-19 Tom Tromey <tromey@redhat.com>
2050 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
2052 (target_remove_fork_catchpoint): Add argument.
2053 * target.c (debug_to_remove_fork_catchpoint): Add argument.
2054 (update_current_target): Update.
2055 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
2058 2014-02-19 Tom Tromey <tromey@redhat.com>
2060 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
2062 (target_insert_fork_catchpoint): Add argument.
2063 * target.c (debug_to_insert_fork_catchpoint): Add argument.
2064 (update_current_target): Update.
2065 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
2068 2014-02-19 Tom Tromey <tromey@redhat.com>
2070 * target.h (struct target_ops) <to_post_startup_inferior>: Add
2072 (target_post_startup_inferior): Add argument.
2073 * target.c (debug_to_post_startup_inferior): Add argument.
2074 (update_current_target): Update.
2075 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
2077 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
2079 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
2081 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
2083 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
2085 (super_post_startup_inferior): Likewise.
2086 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
2088 (super_post_startup_inferior): Likewise.
2089 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
2090 Add 'self' argument.
2091 (super_post_startup_inferior): Likewise.
2093 2014-02-19 Tom Tromey <tromey@redhat.com>
2095 * target.h (struct target_ops) <to_load>: Add argument.
2096 * target.c (target_load): Add argument.
2097 (debug_to_load): Add argument.
2098 (update_current_target): Update.
2099 * remote.c (remote_load): Add 'self' argument.
2100 * remote-sim.c (gdbsim_load): Add 'self' argument.
2101 * remote-mips.c (mips_load): Add 'self' argument.
2102 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
2103 * monitor.c (monitor_load): Add 'self' argument.
2104 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
2106 2014-02-19 Tom Tromey <tromey@redhat.com>
2108 * target.h (struct target_ops) <to_terminal_info>: Add argument.
2109 (target_terminal_info): Add argument.
2110 * target.c (debug_to_terminal_info): Add argument.
2111 (default_terminal_info): Likewise.
2112 * inflow.c (child_terminal_info): Add 'self' argument.
2113 * inferior.h (child_terminal_info): Add 'self' argument.
2114 * go32-nat.c (go32_terminal_info): Add 'self' argument.
2116 2014-02-19 Tom Tromey <tromey@redhat.com>
2118 * target.h (struct target_ops) <to_terminal_save_ours>: Add
2120 (target_terminal_save_ours): Add argument.
2121 * target.c (debug_to_terminal_save_ours): Add argument.
2122 (update_current_target): Update.
2123 * inflow.c (terminal_save_ours): Add 'self' argument.
2124 * inferior.h (terminal_save_ours): Add 'self' argument.
2126 2014-02-19 Tom Tromey <tromey@redhat.com>
2128 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
2129 (target_terminal_ours): Add argument.
2130 * target.c (debug_to_terminal_ours): Add argument.
2131 (update_current_target): Update.
2132 * remote.c (remote_terminal_ours): Add 'self' argument.
2133 (remote_close): Update.
2134 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
2135 * inflow.c (terminal_ours): Add 'self' argument.
2136 * inferior.h (terminal_ours): Add 'self' argument.
2137 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2139 2014-02-19 Pedro Alves <palves@redhat.com>
2140 Tom Tromey <tromey@redhat.com>
2142 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
2144 (target_terminal_ours_for_output): Add argument.
2145 * target.c (debug_to_terminal_ours_for_output): Add argument.
2146 (update_current_target): Update.
2147 * inflow.c (terminal_ours_for_output): Add 'self' argument.
2148 * inferior.h (terminal_ours_for_output): Add 'self' argument.
2149 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2151 2014-02-19 Tom Tromey <tromey@redhat.com>
2153 * target.h (struct target_ops) <to_terminal_inferior>: Add
2155 * target.c (target_terminal_inferior): Add argument.
2156 (update_current_target): Update.
2157 * remote.c (remote_terminal_inferior): Add 'self' argument.
2158 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
2159 * inflow.c (terminal_inferior): Add 'self' argument.
2160 * inferior.h (terminal_inferior): Add 'self' argument.
2161 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
2162 (go32_terminal_inferior): Add 'self' argument.
2164 2014-02-19 Tom Tromey <tromey@redhat.com>
2166 * target.h (struct target_ops) <to_terminal_init>: Add argument.
2167 (target_terminal_init): Add argument.
2168 * target.c (debug_to_terminal_init): Add argument.
2169 (update_current_target): Update.
2170 * inflow.c (terminal_init_inferior): Add 'self' argument.
2171 * inferior.h (terminal_init_inferior): Add 'self' argument.
2172 * go32-nat.c (go32_terminal_init): Add 'self' argument.
2173 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
2175 2014-02-19 Tom Tromey <tromey@redhat.com>
2177 * target.h (struct target_ops)
2178 <to_can_accel_watchpoint_condition>: Add argument.
2179 (target_can_accel_watchpoint_condition): Add argument.
2180 * target.c (debug_to_can_accel_watchpoint_condition): Add
2182 (update_current_target): Update.
2183 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
2186 2014-02-19 Tom Tromey <tromey@redhat.com>
2188 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2190 (target_region_ok_for_hw_watchpoint): Add argument.
2191 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
2192 (default_region_ok_for_hw_watchpoint): Add argument.
2193 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
2194 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
2196 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
2198 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
2200 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
2202 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
2204 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
2206 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
2207 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
2209 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
2210 Add 'self' argument.
2212 2014-02-19 Tom Tromey <tromey@redhat.com>
2214 * target.h (struct target_ops) <to_insert_watchpoint>: Add
2216 (target_insert_watchpoint): Add argument.
2217 * target.c (debug_to_insert_watchpoint): Add argument.
2218 (update_current_target): Update.
2219 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
2220 * remote.c (remote_insert_watchpoint): Add 'self' argument.
2221 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
2222 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
2223 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
2224 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
2226 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
2227 (procfs_insert_hw_watchpoint): Add 'self' argument.
2228 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
2230 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
2232 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
2234 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
2235 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
2237 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
2240 2014-02-19 Tom Tromey <tromey@redhat.com>
2242 * target.h (struct target_ops) <to_remove_watchpoint>: Add
2244 (target_remove_watchpoint): Add argument.
2245 * target.c (debug_to_remove_watchpoint): Add argument.
2246 (update_current_target): Update.
2247 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
2248 * remote.c (remote_remove_watchpoint): Add 'self' argument.
2249 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
2250 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
2251 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
2252 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
2254 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
2255 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
2257 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
2259 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
2261 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
2262 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
2264 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
2267 2014-02-19 Tom Tromey <tromey@redhat.com>
2269 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
2271 (target_remove_hw_breakpoint): Add argument.
2272 * target.c (debug_to_remove_hw_breakpoint): Add argument.
2273 (update_current_target): Update.
2274 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
2275 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
2277 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
2278 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
2280 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
2283 2014-02-19 Tom Tromey <tromey@redhat.com>
2285 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
2287 (target_insert_hw_breakpoint): Add argument.
2288 * target.c (debug_to_insert_hw_breakpoint): Add argument.
2289 (update_current_target): Update.
2290 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
2291 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
2293 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
2294 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
2295 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
2297 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
2300 2014-02-19 Tom Tromey <tromey@redhat.com>
2302 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
2304 (target_can_use_hardware_watchpoint): Add argument.
2305 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
2306 (update_current_target): Update.
2307 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
2309 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
2311 * remote.c (remote_check_watch_resources): Add 'self' argument.
2312 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
2313 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
2315 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
2316 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
2318 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
2320 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
2322 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
2324 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
2326 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
2328 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
2329 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
2331 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
2334 2014-02-19 Tom Tromey <tromey@redhat.com>
2336 * target.h (struct target_ops) <to_post_attach>: Add argument.
2337 (target_post_attach): Add argument.
2338 * target.c (debug_to_post_attach): Add argument.
2339 (update_current_target): Update.
2340 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
2341 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
2342 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
2343 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
2344 * inf-child.c (inf_child_post_attach): Add 'self' argument.
2346 2014-02-19 Tom Tromey <tromey@redhat.com>
2348 * windows-nat.c (windows_close): Add 'self' argument.
2349 * tracepoint.c (tfile_close): Add 'self' argument.
2350 * target.h (struct target_ops) <to_close>: Add argument.
2351 * target.c (target_close): Add argument.
2352 (update_current_target): Update.
2353 * remote.c (remote_close): Add 'self' argument.
2354 * remote-sim.c (gdbsim_close): Add 'self' argument.
2355 * remote-mips.c (mips_close): Add 'self' argument.
2356 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
2357 * record-full.c (record_full_close): Add 'self' argument.
2358 * record-btrace.c (record_btrace_close): Add 'self' argument.
2359 * monitor.h (monitor_close): Add 'self' argument.
2360 * monitor.c (monitor_close): Add 'self' argument.
2361 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
2362 * linux-nat.c (linux_nat_close): Add argument.
2363 * go32-nat.c (go32_close): Add 'self' argument.
2364 * exec.c (exec_close_1): Add 'self' argument.
2365 * ctf.c (ctf_close): Add 'self' argument.
2366 * corelow.c (core_close): Add 'self' argument.
2367 (core_close_cleanup): Update.
2368 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
2369 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
2371 2014-02-19 Tom Tromey <tromey@redhat.com>
2373 * remote.c (remote_load): New function.
2374 (init_remote_ops): Use it.
2376 2014-02-19 Tom Tromey <tromey@redhat.com>
2378 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
2380 * common/linux-btrace.h (linux_supports_btrace): Update.
2381 * remote.c (remote_supports_btrace): Add "self" argument.
2382 * target-delegates.c: Rebuild.
2383 * target.c (target_supports_btrace): Remove.
2384 * target.h (struct target_ops) <to_supports_btrace>: Add
2385 target_ops argument.
2386 (target_supports_btrace): New define.
2388 2014-02-19 Tom Tromey <tromey@redhat.com>
2390 * record-full.c (record_full_beneath_to_resume_ops)
2391 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
2392 (record_full_beneath_to_wait)
2393 (record_full_beneath_to_store_registers_ops)
2394 (record_full_beneath_to_store_registers)
2395 (record_full_beneath_to_xfer_partial_ops)
2396 (record_full_beneath_to_xfer_partial)
2397 (record_full_beneath_to_insert_breakpoint_ops)
2398 (record_full_beneath_to_insert_breakpoint)
2399 (record_full_beneath_to_remove_breakpoint_ops)
2400 (record_full_beneath_to_remove_breakpoint)
2401 (record_full_beneath_to_stopped_by_watchpoint)
2402 (record_full_beneath_to_stopped_data_address)
2403 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
2404 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
2405 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
2406 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
2407 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
2408 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
2409 (tmp_to_stopped_data_address, tmp_to_async): Remove.
2410 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
2411 (record_full_resume, record_full_wait_1)
2412 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
2413 (record_full_store_registers, record_full_xfer_partial)
2414 (record_full_insert_breakpoint, record_full_remove_breakpoint)
2415 (record_full_async, record_full_core_xfer_partial): Use target
2417 * target-delegates.c: Rebuild.
2418 * target.c (current_xfer_partial): Remove.
2419 (update_current_target): Do not INHERIT or de_fault
2420 to_insert_breakpoint, to_remove_breakpoint,
2421 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
2422 to_is_async_p, to_async. Do not set to_xfer_partial field.
2423 (default_xfer_partial): Simplify.
2424 (current_xfer_partial): Remove.
2425 (target_wait, target_resume): Simplify.
2426 (find_default_can_async_p, find_default_is_async_p): Update.
2427 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
2428 to_xfer_partial, to_stopped_by_watchpoint,
2429 to_stopped_data_address.
2430 (target_store_registers): Simplify.
2431 (forward_target_remove_breakpoint)
2432 (forward_target_insert_breakpoint): Remove.
2433 (target_remove_breakpoint, target_insert_breakpoint)
2434 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
2435 * target.h (struct target_ops) <to_resume, to_wait,
2436 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
2437 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
2438 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
2440 (forward_target_remove_breakpoint)
2441 (forward_target_insert_breakpoint): Remove.
2442 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
2444 (record_btrace_insert_breakpoint): Delegate directly.
2446 2014-02-19 Tom Tromey <tromey@redhat.com>
2449 * target-delegates.c: New file.
2450 * target.c: Include target-delegates.c.
2451 (init_dummy_target): Call install_dummy_methods.
2452 (complete_target_initialization): Call install_delegators.
2453 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
2454 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
2455 * make-target-delegates: New file.
2457 2014-02-19 Tom Tromey <tromey@redhat.com>
2459 * record.c (find_record_target): Use find_target_at.
2460 * target.c (find_target_at): New function.
2461 * target.h (find_target_at): Declare.
2463 2014-02-19 Tom Tromey <tromey@redhat.com>
2465 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
2467 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
2469 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
2470 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
2472 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
2474 * linux-nat.c (save_sigtrap): Update.
2475 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
2476 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
2477 (linux_nat_close): Update.
2478 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
2480 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
2482 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
2483 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
2484 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
2485 (tmp_to_async): Add 'ops' argument.
2486 (record_full_stopped_by_watchpoint, record_full_async)
2487 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
2489 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
2490 (m32r_stopped_by_watchpoint): Add 'ops' argument.
2491 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
2492 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
2493 (remote_is_async_p, remote_async): Add 'ops' argument.
2494 (remote_stopped_data_address): Update.
2495 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
2496 * target.c (update_current_target)
2497 (find_default_can_async_p, find_default_is_async_p): Update.
2498 (init_dummy_target): Update.
2499 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
2500 * target.h (struct target_ops) <to_stopped_by_watchpoint,
2501 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
2502 (target_can_async_p, target_is_async_p, target_async)
2503 (target_stopped_by_watchpoint): Update.
2505 2014-02-19 Yao Qi <yao@codesourcery.com>
2508 * gdbarch.sh: Remove startup_gdbarch.
2509 * gdbarch.c: Regenerated.
2510 * gdbarch.h: Likewise.
2512 2014-02-17 Kevin Buettner <kevinb@redhat.com>
2514 * rl78-tdep.c (rl78_g10_register_name): New function.
2515 (rl78_return_value): Add g10 support.
2516 (rl78_gdbarch_init): Register rl78_g10_register_name for the
2519 2014-02-17 Doug Evans <xdje42@gmail.com>
2521 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
2522 (SUBDIR_GUILE_SRCS): Ditto.
2523 (scm-gsmob.o): Ditto.
2525 2014-02-17 Yao Qi <yao@codesourcery.com>
2527 * gnu-nat.c (ILL_RPC): Declare defined function.
2529 2014-02-17 Yao Qi <yao@codesourcery.com>
2531 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
2532 mach_msg_type_number_t.
2533 (gnu_write_inferior): Likewise.
2535 2014-02-17 Yao Qi <yao@codesourcery.com>
2537 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
2539 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
2540 (inf_validate_procs, inf_signal): Likewise.
2541 (S_exception_raise_request): Likewise.
2542 (do_mach_notify_dead_name): Likewise.
2543 (steal_exc_port): Likewise.
2544 (gnu_read_inferior): Change 'copy_count''s type to
2545 mach_msg_type_number_t.
2546 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
2549 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
2551 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
2552 flag. Adjust all users; in particular...
2553 (gnu_wait): ..., don't decrement its value in here...
2554 (gnu_create_inferior): ..., and instead set the flag in here,
2555 around the startup_inferior call, and call that one with
2556 START_INFERIOR_TRAPS_EXPECTED.
2558 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
2559 (ILL_RPC): ... new macro.
2560 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
2561 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
2562 (do_mach_notify_send_once, S_proc_setmsgport_reply)
2563 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
2564 functions with ILL_RPC macro.
2565 (S_proc_pid2task_reply, S_proc_task2pid_reply)
2566 (S_proc_task2proc_reply, S_proc_proc2task_reply)
2567 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
2568 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
2569 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
2570 (S_proc_getlogin_reply, S_proc_getsid_reply)
2571 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
2572 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
2573 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
2574 (S_proc_getnports_reply, S_proc_is_important_reply)
2575 (S_proc_get_code_reply): New stub functions, generated with
2578 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
2579 collected the type check structures.
2581 * reply_mig_hack.awk: Don't expect to see the auto keyword.
2583 2014-02-14 Doug Evans <dje@google.com>
2585 * target.c (target_write_partial): Fix result type.
2587 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2589 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
2590 the proper offsets to access fpregset_t.
2592 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
2594 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
2595 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
2596 * h8300-tdep.c (setmachinelist): Remove global.
2597 * hppa-tdep.c (hppa_sigtramp): Remove global.
2598 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
2599 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
2600 * ravenscar-thread.c (update_target_observer): Remove global.
2601 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
2603 2014-02-12 Tom Tromey <tromey@redhat.com>
2605 * common/rsp-low.c: Update comments.
2606 * common/rsp-low.h: Update comments.
2608 2014-02-12 Tom Tromey <tromey@redhat.com>
2610 * common/rsp-low.c (convert_ascii_to_int): Remove.
2611 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
2613 2014-02-12 Tom Tromey <tromey@redhat.com>
2615 * common/rsp-low.h (unhexify): Don't declare.
2616 * common/rsp-low.c (unhexify): Remove.
2618 2014-02-12 Tom Tromey <tromey@redhat.com>
2620 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
2621 * common/rsp-low.c (convert_int_to_ascii): Remove.
2623 2014-02-12 Tom Tromey <tromey@redhat.com>
2625 * common/rsp-low.h (hexify): Don't declare.
2626 * common/rsp-low.c (hexify): Remove.
2628 2014-02-12 Tom Tromey <tromey@redhat.com>
2630 * common/rsp-low.c (hexify): Never take strlen of argument.
2632 2014-02-12 Tom Tromey <tromey@redhat.com>
2634 * common/rsp-low.c (bin2hex): Never take strlen of argument.
2635 * remote.c (extended_remote_run, remote_rcmd)
2636 (remote_download_trace_state_variable, remote_save_trace_data)
2637 (remote_set_trace_notes): Update.
2638 * tracepoint.c (encode_source_string, tfile_write_status)
2639 (tfile_write_uploaded_tsv): Update.
2641 2014-02-12 Tom Tromey <tromey@redhat.com>
2643 * tracepoint.c: Include rsp-low.h.
2644 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
2645 * remote.c: Include rsp-low.h.
2646 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
2647 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
2648 (remote_unescape_input): Move to common/rsp-low.c.
2649 * common/rsp-low.h: New file.
2650 * common/rsp-low.c: New file.
2651 * Makefile.in (SFILES): Add common/rsp-low.c.
2652 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
2653 (COMMON_OBS): Add rsp-low.o.
2654 (rsp-low.o): New target.
2656 2014-02-12 Tom Tromey <tromey@redhat.com>
2658 * utils.h: Include print-utils.h.
2659 (host_address_to_string, plongest, pulongest, phex, phex_nz)
2660 (int_string, core_addr_to_string, core_addr_to_string_nz)
2661 (hex_string, hex_string_custom): Don't declare.
2662 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2663 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2664 (hex_string_custom, int_string, core_addr_to_string)
2665 (core_addr_to_string_nz, host_address_to_string): Move to
2666 common/print-utils.c.
2667 * common/print-utils.h: New file.
2668 * common/print-utils.c: New file
2669 * Makefile.in (SFILES): Add common/print-utils.c.
2670 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2671 (COMMON_OBS): Add print-utils.o.
2672 (print-utils.o): New target.
2674 2014-02-12 Tom Tromey <tromey@redhat.com>
2676 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2678 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2680 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2682 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2684 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2685 if a PT_IO ptrace request returns sucessfully but indicates that 0
2686 bytes were transferred.
2688 2014-02-12 Pedro Alves <palves@redhat.com>
2689 Kevin Buettner <kevinb@redhat.com>
2691 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2692 TYPE_INSTANCE_FLAG_CODE_SPACE.
2694 2014-02-12 Pedro Alves <palves@redhat.com>
2696 * h8300-tdep.c (pseudo_from_raw_register)
2697 (raw_from_pseudo_register): New functions.
2698 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2701 2014-02-12 Pedro Alves <palves@redhat.com>
2703 * h8300-tdep.c (h8300_register_sim_regno): New function.
2704 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2705 gdbarch_register_sim_regno hook.
2707 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2709 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2711 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2713 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2715 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2717 * obsd-tdep.h (obsd_init_abi): New prototype.
2718 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2719 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2720 (obsd_init_abi): New functions.
2721 * i386obsd-tdep.c: Include "obsd-tdep.h".
2722 (i386obsd_init_abi): Call obsd_init_abi.
2723 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2724 (amd64obsd_init_abi): Call obsd_init_abi.
2725 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2726 obsd-tdep.c to gdb_target_obs.
2728 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2730 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2731 double float arguments to 16-byte in the argument slots.
2733 2014-02-11 Doug Evans <xdje42@gmail.com>
2735 * configure.ac: Don't crash if pkg-config is not found and guile
2736 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2738 * configure: Regenerate.
2740 2014-02-11 Yao Qi <yao@codesourcery.com>
2742 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2743 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2744 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2745 * gnu-nat.c (gnu_xfer_memory): Likewise.
2746 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2747 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2748 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2749 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2751 2014-02-11 Yao Qi <yao@codesourcery.com>
2753 * target.h (enum target_xfer_error): Rename to ...
2754 (enum target_xfer_status): ... it. New. All users updated.
2755 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2757 (TARGET_XFER_STATUS_ERROR_P): New macro.
2758 (target_xfer_error_to_string): Remove declaration.
2759 (target_xfer_status_to_string): Declare.
2760 (target_xfer_partial_ftype): Adjust it.
2761 (struct target_ops) <to_xfer_partial>: Return
2762 target_xfer_status. Add argument xfered_len. Update
2764 * target.c (target_xfer_error_to_string): Rename to ...
2765 (target_xfer_status_to_string): ... it. New. All callers
2767 (target_read_live_memory): Likewise. Call target_xfer_partial
2768 instead of target_read.
2769 (memory_xfer_live_readonly_partial): Return
2770 target_xfer_status. Add argument xfered_len.
2771 (raw_memory_xfer_partial): Likewise.
2772 (memory_xfer_partial_1): Likewise.
2773 (memory_xfer_partial): Likewise.
2774 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2775 properly. Update debug message.
2776 (default_xfer_partial, current_xfer_partial): Likewise.
2777 (target_write_partial): Likewise.
2778 (target_read_partial): Likewise. All callers updated.
2779 (read_whatever_is_readable): Likewise.
2780 (target_write_with_progress): Likewise.
2781 (target_read_alloc_1): Likewise.
2783 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2784 * auxv.c (procfs_xfer_auxv): Likewise.
2785 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2786 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2787 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2788 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2789 * corefile.c (read_memory): Adjust.
2790 * corelow.c (core_xfer_partial): Likewise.
2791 * ctf.c (ctf_xfer_partial): Likewise.
2792 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2794 (darwin_xfer_partial): Likewise.
2795 * exec.c (section_table_xfer_memory_partial): Likewise. All
2797 (exec_xfer_partial): Likewise.
2798 * exec.h (section_table_xfer_memory_partial): Update
2800 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2802 (gnu_xfer_partial): Likewise.
2803 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2804 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2805 (ia64_hpux_xfer_solib_got): Likewise.
2806 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2807 type of 'partial_len' to ULONGEST.
2808 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2809 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2810 (linux_nat_xfer_partial): Likewise.
2811 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2812 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2813 * monitor.c (monitor_xfer_memory): Likewise.
2814 (monitor_xfer_partial): Likewise.
2815 * procfs.c (procfs_xfer_partial): Likewise.
2816 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2817 * record-full.c (record_full_xfer_partial): Likewise.
2818 (record_full_core_xfer_partial): Likewise.
2819 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2820 (gdbsim_xfer_partial): Likewise.
2821 * remote.c (remote_write_bytes_aux): Likewise. All callers
2823 (remote_write_bytes, remote_read_bytes): Likewise. All
2825 (remote_flash_erase): Likewise. All callers updated.
2826 (remote_write_qxfer): Likewise. All callers updated.
2827 (remote_read_qxfer): Likewise. All callers updated.
2828 (remote_xfer_partial): Likewise.
2829 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2830 (rs6000_xfer_shared_libraries): Likewise.
2831 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2832 (sol_thread_xfer_partial): Likewise.
2833 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2834 (sparc_xfer_partial): Likewise.
2835 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2837 (spu_xfer_partial): Likewise.
2838 * spu-multiarch.c (spu_xfer_partial): Likewise.
2839 * tracepoint.c (tfile_xfer_partial): Likewise.
2840 * windows-nat.c (windows_xfer_memory): Likewise.
2841 (windows_xfer_shared_libraries): Likewise.
2842 (windows_xfer_partial): Likewise.
2843 * valprint.c: Replace 'target_xfer_error' with
2844 'target_xfer_status' in comments.
2846 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2848 Checked in by Joel Brobecker <brobecker@adacore.com>.
2849 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2851 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2853 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2854 function parameters.
2856 2014-02-10 Will Newton <will.newton@linaro.org>
2858 * elfread.c (elf_rel_plt_read): Look for a .got section if
2859 looking up .got.plt fails.
2860 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2861 on address passed to elf_gnu_ifunc_record_cache.
2862 (elf_gnu_ifunc_resolve_addr): Likewise.
2863 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2865 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2867 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2868 (X_RETTURN): New macro.
2869 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2871 * sparc64-tdep.c (sparc64_init_abi): Hook
2872 sparc_in_function_epilogue_p.
2874 2014-02-10 Gary Benson <gbenson@redhat.com>
2876 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2877 Rename name_matcher to symbol_matcher.
2879 2014-02-10 Gary Benson <gbenson@redhat.com>
2881 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2882 Use expand_symtabs_file_matcher_ftype and
2883 expand_symtabs_symbol_matcher_ftype.
2885 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2887 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2888 (struct ada_symbol_cache): New.
2889 (ada_free_symbol_cache): Forward declare.
2890 (struct ada_pspace_data): New.
2891 (ada_pspace_data_handle): New static global.
2892 (get_ada_pspace_data, ada_pspace_data_cleanup)
2893 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2894 (cache_space, cache): Delete, now folded inside struct
2896 (ada_get_symbol_cache): New function.
2897 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2899 (_initialize_ada_language): Remove initialization of cache_space.
2900 Move call to observer_attach_inferior_exit up, grouping it
2901 with the other observer registrations inside this function.
2902 Rename command to be more general. Add call to
2903 register_program_space_data_with_cleanup.
2905 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2907 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
2908 ada_new_objfile_observer.
2909 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
2910 (_initialize_tasks): Update uses of ada_new_objfile_observer
2911 and ada_tasks_normal_stop_observer.
2913 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2915 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
2916 returned by the 'Length attribute to integer.
2918 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2920 * ada-lang.c (_initialize_ada_language): Initialize
2921 cache_space obstack.
2923 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2925 * ada-lang.c (HASH_SIZE): New macro.
2926 (struct cache_entry): New type.
2927 (cache_space, cache): New static globals.
2928 (ada_clear_symbol_cache, find_entry): New functions.
2929 (lookup_cached_symbol, cache_symbol): Implement.
2930 (ada_new_objfile_observer, ada_free_objfile_observer): New.
2931 (_initialize_ada_language): Attach ada_new_objfile_observer
2932 and ada_free_objfile_observer.
2934 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2936 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
2937 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
2938 struct block * parameter.
2939 (ada_lookup_symbol_list_worker): Constify local variable "block".
2940 Remove cast which is no longer necessary.
2942 2014-02-10 Doug Evans <xdje42@gmail.com>
2944 Add Guile as an extension language.
2945 * NEWS: Mention Guile scripting.
2946 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
2947 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
2948 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
2949 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
2950 (CLIBS): Add GUILE_LIBS.
2951 (install-guile): New rule.
2952 (guile.o): New rule.
2953 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
2954 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
2955 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
2956 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
2957 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
2958 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
2959 (scm-type.o, scm-utils.o, scm-value.o): New rules.
2960 * configure.ac: New option --with-guile.
2961 * configure: Regenerate.
2962 * config.in: Regenerate.
2963 * auto-load.c: Remove #include "python/python.h". Add #include
2964 "gdb/section-scripts.h".
2965 (source_section_scripts): Handle Guile scripts.
2966 (_initialize_auto_load): Add name of Guile objfile script to
2967 scripts-directory help text.
2968 * breakpoint.c (condition_command): Tweak comment to include Scheme.
2969 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
2970 (struct breakpoint): New member scm_bp_object.
2971 * defs.h (enum command_control_type): New value guile_control.
2972 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
2974 (show_user): Update comment.
2975 (_initialize_cli_cmds): Update help text for "show user". Update help
2976 text for max-user-call-depth.
2977 * cli/cli-script.c: Remove #include "python/python.h". Add #include
2979 (multi_line_command_p): Add guile_control.
2980 (print_command_lines): Handle guile_control.
2981 (execute_control_command, recurse_read_control_structure): Ditto.
2982 (process_next_line): Recognize "guile" commands.
2983 * disasm.c (gdb_disassemble_info): Make non-static.
2984 * disasm.h: #include "dis-asm.h".
2985 (struct gdbarch): Add forward decl.
2986 (gdb_disassemble_info): Declare.
2987 * extension.c: #include "guile/guile.h".
2988 (extension_languages): Add guile.
2989 (get_ext_lang_defn): Handle EXT_LANG_GDB.
2990 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
2991 * gdbtypes.c (get_unsigned_type_max): New function.
2992 (get_signed_type_minmax): New function.
2993 * gdbtypes.h (get_unsigned_type_max): Declare.
2994 (get_signed_type_minmax): Declare.
2995 * guile/README: New file.
2996 * guile/guile-internal.h: New file.
2997 * guile/guile.c: New file.
2998 * guile/guile.h: New file.
2999 * guile/scm-arch.c: New file.
3000 * guile/scm-auto-load.c: New file.
3001 * guile/scm-block.c: New file.
3002 * guile/scm-breakpoint.c: New file.
3003 * guile/scm-disasm.c: New file.
3004 * guile/scm-exception.c: New file.
3005 * guile/scm-frame.c: New file.
3006 * guile/scm-gsmob.c: New file.
3007 * guile/scm-iterator.c: New file.
3008 * guile/scm-lazy-string.c: New file.
3009 * guile/scm-math.c: New file.
3010 * guile/scm-objfile.c: New file.
3011 * guile/scm-ports.c: New file.
3012 * guile/scm-pretty-print.c: New file.
3013 * guile/scm-safe-call.c: New file.
3014 * guile/scm-string.c: New file.
3015 * guile/scm-symbol.c: New file.
3016 * guile/scm-symtab.c: New file.
3017 * guile/scm-type.c: New file.
3018 * guile/scm-utils.c: New file.
3019 * guile/scm-value.c: New file.
3020 * guile/lib/gdb.scm: New file.
3021 * guile/lib/gdb/boot.scm: New file.
3022 * guile/lib/gdb/experimental.scm: New file.
3023 * guile/lib/gdb/init.scm: New file.
3024 * guile/lib/gdb/iterator.scm: New file.
3025 * guile/lib/gdb/printing.scm: New file.
3026 * guile/lib/gdb/types.scm: New file.
3027 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
3028 (VPATH): Add $(GUILE_SRCDIR).
3029 (GUILE_DIR): New variable.
3030 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
3031 (all): Add stamp-guile dependency.
3032 (stamp-guile): New rule.
3033 (clean-guile, install-guile, uninstall-guile): New rules.
3034 (install-only): Add install-guile dependency.
3035 (uninstall): Add uninstall-guile dependency.
3036 (clean): Add clean-guile dependency.
3038 2014-02-09 Doug Evans <xdje42@gmail.com>
3040 Revert this patch (which I approved, mea culpa).
3042 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3044 * Makefile.in (all-lib): Remove.
3045 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3047 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3049 Fix Python stack corruption.
3050 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
3053 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3055 * Makefile.in (all-lib): Remove.
3056 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3058 2014-02-07 Doug Evans <dje@google.com>
3060 * extension-priv.h (extension_language_script_ops): Add comment.
3061 (extension_language_ops): Add comment.
3062 (active_ext_lang_state): Fix typo in comment.
3064 2014-02-07 Pedro Alves <palves@redhat.com>
3066 * infrun.c (handle_signal_stop) <signal arrives while stepping
3067 over a breakpoint>: Switch back to the stepping thread.
3069 2014-02-07 Yao Qi <yao@codesourcery.com>
3071 * target.c (target_xfer_partial): Return zero if LEN is zero.
3073 2014-02-07 Yao Qi <yao@codesourcery.com>
3075 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
3076 (ld_so_xfer_auxv): Likewise.
3077 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3078 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3079 * corelow.c (core_xfer_partial): Likewise.
3080 * ctf.c (ctf_xfer_partial): Likewise.
3081 * darwin-nat.c (darwin_read_dyld_info): Likewise.
3082 (darwin_xfer_partial): Likewise.
3083 * exec.c (exec_xfer_partial): Likewise.
3084 * gnu-nat.c (gnu_xfer_partial): Likewise.
3085 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
3086 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
3087 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
3088 * linux-nat.c (linux_xfer_siginfo): Likewise.
3089 (linux_proc_xfer_spu): Likewise.
3090 * procfs.c (procfs_xfer_partial): Likewise.
3091 * record-full.c (record_full_xfer_partial): Likewise.
3092 (record_full_core_xfer_partial): Likewise.
3093 * remote-sim.c (gdbsim_xfer_partial): Likewise.
3094 * remote.c (remote_write_qxfer): Likewise.
3095 (remote_write_qxfer, remote_read_qxfer): Likewise.
3096 (remote_xfer_partial): Likewise.
3097 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3098 (rs6000_xfer_shared_libraries): Likewise.
3099 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3100 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3101 (spu_xfer_partial): Likewise.
3102 * target.c (memory_xfer_partial_1): Likewise.
3103 * tracepoint.c (tfile_xfer_partial): Likewise.
3104 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
3105 (windows_xfer_partial): Likewise.
3107 2014-02-07 Yao Qi <yao@codesourcery.com>
3109 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
3111 (core_xfer_shared_libraries_aix): Likewise.
3112 * gdbarch.c, gdbarch.h: Regenerated.
3113 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
3114 ULONGEST. Change 'len_avail' type to ULONGEST.
3115 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3116 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3118 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
3120 2014-02-07 Yao Qi <yao@codesourcery.com>
3122 * corefile.c (memory_error): Get 'exception' from ERR and pass
3123 'exception' to throw_error.
3125 2014-02-06 Doug Evans <xdje42@gmail.com>
3127 * configure.ac (libpython checking): Remove all but python.o from
3128 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
3129 * configure: Regenerate.
3131 * Makefile.in (SFILES): Add extension.c.
3132 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
3133 (COMMON_OBS): Add extension.o.
3134 * extension.h: New file.
3135 * extension-priv.h: New file.
3136 * extension.c: New file.
3138 * python/python-internal.h: #include "extension.h".
3139 (gdbpy_auto_load_enabled): Declare.
3140 (gdbpy_apply_val_pretty_printer): Declare.
3141 (gdbpy_apply_frame_filter): Declare.
3142 (gdbpy_preserve_values): Declare.
3143 (gdbpy_breakpoint_cond_says_stop): Declare.
3144 (gdbpy_breakpoint_has_cond): Declare.
3145 (void source_python_script_for_objfile): Delete.
3146 * python/python.c: #include "extension-priv.h".
3147 Delete inclusion of "observer.h".
3148 (extension_language_python): Moved here and renamed from
3149 script_language_python in py-auto-load.c.
3150 Redefined to be of type extension_language_defn.
3151 (python_extension_script_ops): New global.
3152 (python_extension_ops): New global.
3153 (struct python_env): New member previous_active.
3154 (restore_python_env): Call restore_active_ext_lang.
3155 (ensure_python_env): Call set_active_ext_lang.
3156 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
3158 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
3160 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
3162 (gdbpy_eval_from_control_command): Renamed from
3163 eval_python_from_control_command, made static. New arg extlang.
3164 (gdbpy_source_script) Renamed from source_python_script, made static.
3166 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
3167 result to int. New arg extlang.
3168 (gdbpy_source_objfile_script): Renamed from
3169 source_python_script_for_objfile, made static. New arg extlang.
3170 (gdbpy_start_type_printers): Renamed from start_type_printers, made
3171 static. New args extlang, extlang_printers. Change result type to
3173 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
3174 static. New arg extlang. Rename arg printers to extlang_printers
3175 and change type to ext_lang_type_printers *.
3176 (gdbpy_free_type_printers): Renamed from free_type_printers, made
3177 static. Replace argument arg with extlang, extlang_printers.
3178 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
3179 (!HAVE_PYTHON, source_python_script): Delete.
3180 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
3181 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
3182 (!HAVE_PYTHON, start_type_printers): Delete.
3183 (!HAVE_PYTHON, apply_type_printers): Delete.
3184 (!HAVE_PYTHON, free_type_printers): Delete.
3185 (_initialize_python): Delete call to observer_attach_before_prompt.
3186 (finalize_python): Set/restore active extension language.
3187 (gdbpy_finish_initialization) Renamed from
3188 finish_python_initialization, made static. New arg extlang.
3189 (gdbpy_initialized): New function.
3190 * python/python.h: #include "extension.h". Delete #include
3191 "value.h", "mi/mi-cmds.h".
3192 (extension_language_python): Declare.
3193 (GDBPY_AUTO_FILE_NAME): Delete.
3194 (enum py_bt_status): Moved to extension.h and renamed to
3196 (enum frame_filter_flags): Moved to extension.h.
3197 (enum py_frame_args): Moved to extension.h and renamed to
3198 ext_lang_frame_args.
3199 (finish_python_initialization): Delete.
3200 (eval_python_from_control_command): Delete.
3201 (source_python_script): Delete.
3202 (apply_val_pretty_printer): Delete.
3203 (apply_frame_filter): Delete.
3204 (preserve_python_values): Delete.
3205 (gdbpy_script_language_defn): Delete.
3206 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
3207 (start_type_printers, apply_type_printers, free_type_printers): Delete.
3209 * auto-load.c: #include "extension.h".
3210 (GDB_AUTO_FILE_NAME): Delete.
3211 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
3212 (script_language_gdb): Delete, moved to extension.c and renamed to
3213 extension_language_gdb.
3214 (source_gdb_script_for_objfile): Delete.
3215 (auto_load_pspace_info): New member unsupported_script_warning_printed.
3216 (loaded_script): Change type of language member to
3217 struct extension_language_defn *.
3218 (init_loaded_scripts_info): Initialize
3219 unsupported_script_warning_printed.
3220 (maybe_add_script): Make static. Change type of language arg to
3221 struct extension_language_defn *.
3222 (clear_section_scripts): Reset unsupported_script_warning_printed.
3223 (auto_load_objfile_script_1): Rewrite to use extension language API.
3224 (auto_load_objfile_script): Make public. Remove support-compiled-in
3225 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
3226 (source_section_scripts): Rewrite to use extension language API.
3227 (load_auto_scripts_for_objfile): Rewrite to use
3228 auto_load_scripts_for_objfile.
3229 (collect_matching_scripts_data): Change type of language member to
3230 struct extension_language_defn *.
3231 (auto_load_info_scripts): Change type of language arg to
3232 struct extension_language_defn *.
3233 (unsupported_script_warning_print): New function.
3234 (script_not_found_warning_print): Make static.
3235 (_initialize_auto_load): Rewrite construction of scripts-directory
3237 * auto-load.h (struct objfile): Add forward decl.
3238 (struct script_language): Delete.
3239 (struct auto_load_pspace_info): Add forward decl.
3240 (struct extension_language_defn): Add forward decl.
3241 (maybe_add_script): Delete.
3242 (auto_load_objfile_script): Declare.
3243 (script_not_found_warning_print): Delete.
3244 (auto_load_info_scripts): Update prototype.
3245 (auto_load_gdb_scripts_enabled): Declare.
3246 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
3247 auto_load_python_scripts_enabled and made public.
3248 (script_language_python): Delete, moved to python.c.
3249 (gdbpy_script_language_defn): Delete.
3250 (info_auto_load_python_scripts): Update to use
3251 extension_language_python.
3253 * breakpoint.c (condition_command): Replace call to
3254 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
3255 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
3256 with call to breakpoint_ext_lang_cond_says_stop.
3257 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
3258 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
3259 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
3260 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
3262 (local_setattro): Print name of extension language with existing
3265 * valprint.c (val_print, value_print): Update to call
3266 apply_ext_lang_val_pretty_printer.
3267 * cp-valprint.c (cp_print_value): Update call to
3268 apply_ext_lang_val_pretty_printer.
3269 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
3270 (gdbpy_apply_val_pretty_printer): Renamed from
3271 apply_val_pretty_printer. New arg extlang.
3272 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
3274 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
3275 extension language API.
3276 * cli/cli-script.c (execute_control_command): Update to call
3277 eval_ext_lang_from_control_command.
3279 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
3280 enum ext_lang_bt_status values. Update call to
3281 apply_ext_lang_frame_filter.
3282 (mi_cmd_stack_list_locals): Ditto.
3283 (mi_cmd_stack_list_args): Ditto.
3284 (mi_cmd_stack_list_variables): Ditto.
3285 * mi/mi-main.c: Delete #include "python/python-internal.h".
3286 Add #include "extension.h".
3287 (mi_cmd_list_features): Replace reference to python internal variable
3288 gdb_python_initialized with call to ext_lang_initialized_p.
3290 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
3291 Update to use enum ext_lang_frame_args. Update to call
3292 apply_ext_lang_frame_filter.
3293 * python/py-framefilter.c (extract_sym): Update to use enum
3295 (extract_value, py_print_type, py_print_value): Ditto.
3296 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
3297 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
3298 (py_print_frame): Ditto.
3299 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
3300 New arg extlang. Update to use enum ext_lang_bt_status.
3302 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
3303 finish_python_initialization. Replace with call to
3304 finish_ext_lang_initialization.
3306 * typeprint.c (do_free_global_table): Update to call
3307 free_ext_lang_type_printers.
3308 (create_global_typedef_table): Update to call
3309 start_ext_lang_type_printers.
3310 (find_global_typedef): Update to call apply_ext_lang_type_printers.
3311 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
3312 (type_print_options): Change type of global_printers from "void *"
3313 to "struct ext_lang_type_printers *".
3315 * value.c (preserve_values): Update to call preserve_ext_lang_values.
3316 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
3317 (gdbpy_preserve_values): Renamed from preserve_python_values.
3319 (!HAVE_PYTHON, preserve_python_values): Delete.
3321 * utils.c (quit_flag): Delete, moved to extension.c.
3322 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
3325 * eval.c: Delete #include "python/python.h".
3326 * main.c: Delete #include "python/python.h".
3328 * defs.h: Update comment.
3330 2014-02-06 Joel Brobecker <brobecker@adacore.com>
3334 2014-02-05 Mark Kettenis <kettenis@gnu.org>
3336 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
3339 2014-02-05 Yao Qi <yao@codesourcery.com>
3341 * remote.c (remote_pass_signals): Remove local 'buf' and use
3343 (remote_program_signals): Likewise.
3345 2014-02-05 Yao Qi <yao@codesourcery.com>
3347 * ctf.c: Include "inferior.h" and "gdbthread.h".
3348 (CTF_PID): A new macro.
3349 (ctf_open): Call inferior_appeared and add_thread_silent.
3350 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
3351 (ctf_thread_alive): New function.
3352 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
3354 2014-02-05 Yao Qi <yao@codesourcery.com>
3358 2013-05-24 Yao Qi <yao@codesourcery.com>
3360 * tracepoint.c (TFILE_PID): Remove.
3361 (tfile_open): Don't add thread and inferior.
3362 (tfile_close): Don't set 'inferior_ptid'. Don't call
3363 exit_inferior_silent.
3364 (tfile_thread_alive): Remove.
3365 (init_tfile_ops): Don't set field 'to_thread_alive' of
3368 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
3370 * remote.c (remote_start_remote): Call remote_check_symbols even
3371 if only symbol-file (not file) has been given.
3373 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3375 * gdbarch.sh (skip_entrypoint): New callback.
3376 * gdbarch.c, gdbarch.h: Regenerate.
3377 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
3378 * infrun.c (fill_in_stop_func): Likewise.
3379 * ppc-linux-tdep.c: Include "elf/ppc64.h".
3380 (ppc_elfv2_elf_make_msymbol_special): New function.
3381 (ppc_elfv2_skip_entrypoint): Likewise.
3382 (ppc_linux_init_abi): Install them for ELFv2.
3384 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3386 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
3387 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
3388 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
3389 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
3390 structures returned in GPRs.
3392 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3394 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
3395 offset to the stack parameter list for the ELFv2 ABI.
3397 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3399 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
3400 set_gdbarch_convert_from_func_ptr_addr and
3401 set_gdbarch_elf_make_msymbol_special for ELFv1.
3402 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
3403 function descriptors on ELFv1.
3404 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
3405 set up r12 at function entry.
3407 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3409 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
3410 (struct gdbarch_tdep): New member elf_abi.
3412 * rs6000-tdep.c: Include "elf/ppc64.h".
3413 (rs6000_gdbarch_init): Detect ELF ABI version.
3415 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3417 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
3418 within a register pair holding a DFP 128-bit value on little-endian.
3419 (ppc64_sysv_abi_return_value_base): Likewise.
3420 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
3421 (dfp_pseudo_register_write): Likewise.
3423 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3425 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
3426 offset on little-endian when passing _Decimal32.
3427 (ppc64_sysv_abi_return_value_base): Likewise for return values.
3429 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3431 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
3432 of the overlapped FP register within the VSX register on little-
3434 (efpr_pseudo_register_write): Likewise.
3436 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3438 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
3439 offset on little-endian when passing small structures.
3441 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3443 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
3444 (struct ppc64_sysv_argpos): New data structure.
3445 (ppc64_sysv_abi_push_float): Remove.
3446 (ppc64_sysv_abi_push_val): New function.
3447 (ppc64_sysv_abi_push_integer): Likewise.
3448 (ppc64_sysv_abi_push_freg): Likewise.
3449 (ppc64_sysv_abi_push_vreg): Likewise.
3450 (ppc64_sysv_abi_push_param): Likewise.
3451 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
3452 (ppc64_sysv_abi_return_value_base): New function.
3453 (ppc64_sysv_abi_return_value): Refactor to use it.
3455 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3457 * NEWS: Document new target powerpc64le-*-linux*.
3459 2014-02-04 Mark Kettenis <kettenis@gnu.org>
3461 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
3462 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
3464 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
3465 register set used in ELF core dumps. Add floating-point register set.
3467 2014-02-03 Kevin Buettner <kevinb@redhat.com>
3469 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
3470 dwarf2_to_gdb[] table using symbolic constants. Adjust
3471 penultimate entry from number representing the PC register
3472 to symbolic constant representing the MDR register. Add
3473 constant for the PC register to the end of the table.
3475 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3477 * bsd-kvm.c: Include <sys/param.h>
3479 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3481 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
3483 2014-01-31 Joel Brobecker <brobecker@adacore.com>
3485 * ada-lang.h (clear_ada_sym_cache): Delete.
3487 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
3489 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
3491 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3493 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
3494 the sigreturn register save area only if the syscall is
3497 2014-01-29 Joel Brobecker <brobecker@adacore.com>
3499 * valops.c (value_slice): Minor reformatting.
3501 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
3503 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
3505 2014-01-28 Joel Brobecker <brobecker@adacore.com>
3507 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
3509 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
3510 (ada_ignore_descriptive_types_p): New static global.
3511 (find_parallel_type_by_descriptive_type): Return immediately
3512 if ada_ignore_descriptive_types_p is set.
3513 (_initialize_ada_language): Register new commands "maintenance
3514 set ada", "maintenance show ada", "maintenance set ada
3515 ignore-descriptive-types" and "maintenance show ada
3516 ignore-descriptive-types".
3517 * NEWS: Add entry for new "maint ada set/show
3518 ignore-descriptive-types" commands.
3520 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
3522 * record-btrace.c (record_btrace_close): Call btrace_teardown
3525 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3527 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
3530 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3532 * ada-typeprint (type_is_full_subrange_of_target_type):
3534 (print_range): Add parameter bounds_prefered_p. If not set,
3535 try printing range types using the name of their base type.
3536 (print_range_type): Add parameter bounds_prefered_p.
3537 Use it in call to print_range.
3538 (print_array_type, ada_print_type): Update calls to print_range
3539 and print_range_type.
3541 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3543 * ada-typeprint.c (print_array_type, print_choices, print_range)
3544 (print_range_bound, print_dynamic_range_bound, print_range_type):
3547 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3549 * ada-typeprint.c (print_range): Add missing empty line
3550 after local declaration.
3552 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3554 * ada-valprint.c (print_optional_low_bound): Get index_type's
3555 target type for as long as it is a TYPE_CODE_RANGE.
3557 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3559 * procfs.c (procfs_make_note_section): Remove assertion and
3562 2014-01-24 Yao Qi <yao@codesourcery.com>
3564 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
3565 * corelow.c (get_core_siginfo): Likewise.
3567 2014-01-24 Yao Qi <yao@codesourcery.com>
3569 * remote.c (remote_write_bytes_aux): Change type of 'len' to
3570 ULONGEST. Don't check 'len' is negative.
3571 (remote_write_bytes): Change type of 'len' to ULONGEST.
3573 2014-01-23 Tom Tromey <tromey@redhat.com>
3576 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
3577 Handle exception from frame.block.
3578 (FrameVars.fetch_frame_locals): Likewise.
3580 2014-01-23 Tom Tromey <tromey@redhat.com>
3583 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
3584 on a NULL pointer. Move "goto error" to correct place.
3586 2014-01-23 Tom Tromey <tromey@redhat.com>
3589 * python/py-framefilter.c (apply_frame_filter): Call
3590 ensure_python_env after computing gdbarch.
3592 2014-01-23 Yao Qi <yao@codesourcery.com>
3594 * target.c (raw_memory_xfer_partial): Change argument type
3595 from void * to gdb_byte *.
3596 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
3598 2014-01-22 Doug Evans <dje@google.com>
3600 New gdbserver option --debug-format=timestamp.
3603 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3605 * syscalls/s390x-linux.xml: New file.
3606 * syscalls/s390-linux.xml: New file.
3607 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
3608 (XML_SYSCALL_FILENAME_S390X): Likewise.
3609 (op_svc): New enum value for SVC opcode.
3610 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
3611 (s390_linux_get_syscall_number): New function.
3612 (s390_gdbarch_init): Register '*get_syscall_number' and the
3613 syscall xml file name.
3614 * data-directory/Makefile.in (SYSCALLS_FILES): Add
3615 "s390-linux.xml" and "s390x-linux.xml".
3616 * NEWS: Announce new feature.
3618 2014-01-22 Baruch Siach <baruch@tkos.co.il>
3620 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
3622 2014-01-22 Pedro Alves <palves@redhat.com>
3624 * xtensa-config.c: Include defs.h.
3626 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3628 * common/common-utils.h: Add "ARI:" comment beside __func__
3631 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3633 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
3634 documentation a bit.
3636 2014-01-21 Roland McGrath <mcgrathr@google.com>
3638 * configure.ac: Call AM_PROG_INSTALL_STRIP.
3639 * configure: Regenerate.
3640 * aclocal.m4: Regenerate.
3641 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
3642 New substituted variables.
3643 (install-strip): New target.
3644 (INSTALL_SCRIPT): New substituted variable.
3645 (FLAGS_TO_PASS): Add it.
3646 (install-only): Use $(INSTALL_SCRIPT) rather than
3647 $(INSTALL_PROGRAM) for gcore.
3649 2014-01-20 Tom Tromey <tromey@redhat.com>
3651 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
3654 2014-01-20 Tom Tromey <tromey@redhat.com>
3656 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
3657 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
3658 (deprecated_cmd_warning, complete_on_cmdlist): Update.
3659 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
3660 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3661 (struct cmd_list_element) <flags>: Remove.
3662 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3663 doc_allocated>: New fields.
3664 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3666 * maint.c (maintenance_do_deprecate): Update.
3667 * top.c (execute_command): Update.
3669 2014-01-20 Baruch Siach <baruch@tkos.co.il>
3671 * xtensa-linux-nat.c: Include asm/ptrace.h.
3673 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3675 * Makefile.in (SFILES): Add d-support.c.
3676 (COMMON_OBS): Add d-support.o.
3677 * d-lang.h (d_parse_symbol): Add comment, now defined in
3679 * d-lang.c (parse_call_convention)
3680 (parse_attributes, parse_function_types)
3681 (parse_function_args, parse_type, parse_identifier)
3682 (call_convention_p, d_parse_symbol): Move functions to ...
3683 * d-support.c: ... New file.
3685 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3687 * d-lang.h (d_parse_symbol): Add declaration.
3688 * d-lang.c (extract_identifiers)
3689 (extract_type_info): Remove functions.
3690 (parse_call_convention, parse_attributes)
3691 (parse_function_types, parse_function_args)
3692 (parse_type, parse_identifier, call_convention_p)
3693 (d_parse_symbol): New functions.
3694 (d_demangle): Use d_parse_symbol to demangle D symbols.
3696 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3698 * d-lang.h (struct builtin_d_type): New data type.
3699 (builtin_d_type): Add declaration.
3700 * d-lang.c (d_language_arch_info, build_d_types)
3701 (builtin_d_type): New functions.
3702 (enum d_primitive_types): New data type.
3703 (d_language_defn): Change c_language_arch_info to
3704 d_language_arch_info.
3705 (d_type_data): New static variable.
3706 (_initialize_d_language): Initialize d_type_data.
3708 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3710 * d-lang.h (d_main_name): Add declaration.
3711 * d-lang.c (d_main_name): New function.
3712 * symtab.c (find_main_name): Add call to d_main_name.
3714 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3716 * d-lang.c (d_language_defn): Change macro_expansion_c to
3719 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3721 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3723 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3725 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3726 gdb_exception" declaration.
3727 * remote.c (getpkt_or_notif_sane): Likewise.
3729 2014-01-17 Doug Evans <dje@google.com>
3731 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3732 function, contents of dirnames_to_char_ptr_vec_append moved here.
3733 (delim_string_to_char_ptr_vec): New function.
3734 (dirnames_to_char_ptr_vec_append): Rewrite.
3735 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3737 2014-01-17 Doug Evans <dje@google.com>
3739 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3741 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3742 #include "common-utils.h".
3743 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3744 * common/vec.h (VEC_ASSERT_PASS): Update.
3745 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3746 (MACH_CHECK_ERROR): Update.
3748 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3750 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3752 * gdbarch.h: Regenerate.
3754 2014-01-16 Tom Tromey <tromey@redhat.com>
3756 * value.c (struct value) <regnum>: Move earlier.
3758 2014-01-16 Tom Tromey <tromey@redhat.com>
3760 * remote.c (extended_remote_create_inferior): Rename from
3761 extended_remote_create_inferior_1. Add "ops" argument. Remove
3764 2014-01-16 Pedro Alves <palves@redhat.com>
3766 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3767 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3770 2014-01-16 Doug Evans <dje@google.com>
3772 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3774 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3776 * btrace.h (btrace_thread_flag): New.
3777 (struct btrace_thread_info) <flags>: New.
3778 * record-btrace.c (record_btrace_resume_thread)
3779 (record_btrace_find_thread_to_move, btrace_step_no_history)
3780 (btrace_step_stopped, record_btrace_start_replaying)
3781 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3782 (record_btrace_find_resume_thread): New.
3783 (record_btrace_resume, record_btrace_wait): Extend.
3784 (record_btrace_can_execute_reverse): New.
3785 (record_btrace_open): Fail in non-stop mode.
3786 (record_btrace_set_replay): Split into this, ...
3787 (record_btrace_stop_replaying): ... this, ...
3788 (record_btrace_clear_histories): ... and this.
3789 (init_record_btrace_ops): Init to_can_execute_reverse.
3790 * NEWS: Announce it.
3792 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3794 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3795 (forward_target_decr_pc_after_break)
3796 (target_decr_pc_after_break): New.
3797 * target.c (forward_target_decr_pc_after_break)
3798 (target_decr_pc_after_break): New.
3799 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3800 instead of gdbarch_decr_pc_after_break.
3801 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3802 instead of gdbarch_decr_pc_after_break.
3803 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3804 instead of gdbarch_decr_pc_after_break.
3805 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3806 instead of gdbarch_decr_pc_after_break.
3807 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3808 instead of gdbarch_decr_pc_after_break.
3809 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3810 instead of gdbarch_decr_pc_after_break.
3812 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3814 * btrace.c: Include regcache.h.
3815 (btrace_add_pc): New.
3816 (btrace_enable): Call btrace_add_pc.
3817 (btrace_is_empty): New.
3818 * btrace.h (btrace_is_empty): New.
3819 * record-btrace.c (require_btrace, record_btrace_info): Call
3822 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3824 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3825 Support delta reads.
3826 (linux_disable_btrace): Change return type.
3827 * common/linux-btrace.h (linux_read_btrace): Change parameters
3828 and return type to allow error reporting. Update users.
3829 (linux_disable_btrace): Change return type. Update users.
3830 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3832 (btrace_error): New.
3833 (btrace_block) <begin>: Comment on BEGIN == 0.
3834 * btrace.c (btrace_compute_ftrace): Start from the end of
3836 (btrace_stitch_trace, btrace_clear_history): New.
3837 (btrace_fetch): Read delta trace, return if replaying.
3838 (btrace_clear): Move clear history code to btrace_clear_history.
3839 (parse_xml_btrace): Throw an error if parsing failed.
3840 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3841 and return type to allow error reporting.
3842 (target_read_btrace): Change parameters and return type to allow
3844 * target.c (target_read_btrace): Update.
3845 * remote.c (remote_read_btrace): Support delta reads. Pass
3847 * NEWS: Announce it.
3849 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3851 * record.h (record_btrace_frame_unwind)
3852 (record_btrace_tailcall_frame_unwind): New declarations.
3853 * dwarf2-frame: Include record.h
3854 (dwarf2_frame_cfa): Throw an error for btrace frames.
3855 * record-btrace.c: Include hashtab.h.
3856 (btrace_get_bfun_name): New.
3857 (btrace_call_history): Call btrace_get_bfun_name.
3858 (struct btrace_frame_cache): New.
3860 (bfcache_hash, bfcache_eq, bfcache_new): New.
3861 (btrace_get_frame_function): New.
3862 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3863 (record_btrace_frame_this_id): Compute own id.
3864 (record_btrace_frame_prev_register): Provide PC, throw_error
3865 for all other registers.
3866 (record_btrace_frame_sniffer): Detect btrace frames.
3867 (record_btrace_tailcall_frame_sniffer): New.
3868 (record_btrace_frame_dealloc_cache): New.
3869 (record_btrace_frame_unwind): Add new functions.
3870 (record_btrace_tailcall_frame_unwind): New.
3871 (_initialize_record_btrace): Allocate cache.
3872 * btrace.c (btrace_clear): Call reinit_frame_cache.
3873 * NEWS: Announce it.
3875 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3877 * record-btrace.c (record_btrace_set_replay)
3878 (record_btrace_goto_begin, record_btrace_goto_end)
3879 (record_btrace_goto): New.
3880 (init_record_btrace_ops): Initialize them.
3881 * NEWS: Announce it.
3883 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3885 * record-btrace.c (record_btrace_find_new_threads)
3886 (record_btrace_thread_alive): New.
3887 (init_record_btrace_ops): Initialize to_find_new_threads and
3890 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3892 * record-btrace.c (record_btrace_resume): New.
3893 (record_btrace_wait): New.
3894 (init_record_btrace_ops): Initialize to_wait and to_resume.
3896 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3898 * record-btrace.c (record_btrace_xfer_partial)
3899 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3900 (record_btrace_allow_memory_access): New.
3901 (init_record_btrace_ops): Initialize new methods.
3902 * target.c (raw_memory_xfer_partial): Bail out if target reports
3903 that this memory is not available.
3905 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3907 * target.h (target_ops) <to_insert_breakpoint>
3908 <to_remove_breakpoint>: Add target_ops parameter.
3909 (forward_target_insert_breakpoint): New.
3910 (forward_target_remove_breakpoint): New.
3911 (memory_remove_breakpoint, memory_insert_breakpoint):
3912 Add target_ops parameter.
3913 * target.c (target_insert_breakpoint): Split into this and ...
3914 (forward_target_insert_breakpoint): ... this.
3915 (target_remove_breakpoint): Split into this and ...
3916 (forward_target_remove_breakpoint): ... this.
3917 (debug_to_insert_breakpoint): Add target_ops parameter.
3918 Call forward_target_insert_breakpoint.
3919 (debug_to_remove_breakpoint): Add target_ops parameter.
3920 Call forward_target_remove_breakpoint.
3921 (update_current_target): Do not inherit or default to_insert_breakpoint
3922 and to_remove_breakpoint.
3923 * corelow.c (ignore): Add target_ops parameter.
3924 * exec.c (ignore): Add target_ops parameter.
3925 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
3926 Add target_ops parameter.
3927 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
3928 Add target_ops parameter.
3929 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
3930 Add target_ops parameter.
3931 * record-full.c (record_full_beneath_to_insert_breakpoint)
3932 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
3933 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
3934 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
3935 (record_full_core_remove_breakpoint): Add target_ops parameter.
3937 (record_full_beneath_to_insert_breakpoint_ops)
3938 (record_full_beneath_to_remove_breakpoint_ops)
3939 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
3940 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
3941 tmp_to_remove_breakpoint_ops,
3942 record_full_beneath_to_insert_breakpoint_ops, and
3943 record_full_beneath_to_remove_breakpoint_ops.
3944 * remote-m32r-sdi.c (m32r_insert_breakpoint)
3945 (m32r_remove_breakpoint): Add target_ops parameter.
3946 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
3947 Add target_ops parameter.
3948 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
3949 Add target_ops parameter.
3951 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3952 Markus Metzger <markus.t.metzger@intel.com>
3954 * record-btrace.c: Include frame-unwind.h.
3955 (record_btrace_frame_unwind_stop_reason)
3956 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
3957 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
3959 (init_record_btrace_ops): Install it.
3961 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3963 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
3966 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3968 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
3971 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3973 * frame-unwind.c: Include target.h.
3974 (frame_unwind_try_unwinder): New function with code from ...
3975 (frame_unwind_find_by_frame): ... here. New variable
3976 unwinder_from_target, call also target_get_unwinder)
3977 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
3978 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
3979 * target.h (struct target_ops): New fields to_get_unwinder and
3980 to_get_tailcall_unwinder.
3981 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
3983 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3985 * record-btrace.c (record_btrace_fetch_registers)
3986 (record_btrace_store_registers)
3987 (record_btrace_to_prepare_to_store): New.
3988 (init_record_btrace_ops): Add the above.
3990 2014-01-16 Tom Tromey <tromey@redhat.com>
3992 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
3993 * target.h (struct target_ops) <to_prepare_to_store>: Add
3995 (target_prepare_to_store): Add argument.
3996 * target.c (debug_to_prepare_to_store): Add argument.
3997 (update_current_target): Update.
3998 * remote.c (remote_prepare_to_store): Add 'self' argument.
3999 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
4000 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
4001 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
4002 * record-full.c (record_full_core_prepare_to_store): Add 'self'
4004 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
4005 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
4006 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
4007 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
4008 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
4010 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4012 * btrace.h (replay) <replay>: New.
4013 (btrace_is_replaying): New.
4014 * btrace.c (btrace_clear): Free replay iterator.
4015 (btrace_is_replaying): New.
4016 * record-btrace.c (record_btrace_is_replaying): New.
4017 (record_btrace_info): Print insn number if replaying.
4018 (record_btrace_insn_history): Start at replay position.
4019 (record_btrace_call_history): Start at replay position.
4020 (init_record_btrace_ops): Init to_record_is_replaying.
4022 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4024 * record-btrace.c (record_btrace_insn_history_range): Include
4026 (record_btrace_insn_history_from): Adjust range.
4027 (record_btrace_call_history_range): Include
4029 (record_btrace_call_history_from): Adjust range.
4030 * NEWS: Announce changes.
4032 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4034 * record.h (enum record_print_flag)
4035 <record_print_indent_calls>: New.
4036 * record.c (get_call_history_modifiers): Recognize /c modifier.
4037 (_initialize_record): Document /c modifier.
4038 * record-btrace.c (btrace_call_history): Add btinfo parameter.
4039 Reorder fields. Optionally indent the function name. Update
4041 * NEWS: Announce changes.
4043 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4045 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
4047 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4049 * btrace.c (ftrace_new_function): Start counting at one.
4050 * record-btrace.c (record_btrace_info): Adjust number of calls
4052 * NEWS: Announce it.
4054 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4056 * record-btrace.c (btrace_call_history_insn_range): Print
4057 insn range as [begin, end].
4059 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4061 * btrace.h (struct btrace_func_link): New.
4062 (enum btrace_function_flag): New.
4063 (struct btrace_inst): Rename to ...
4064 (struct btrace_insn): ...this. Update all users.
4065 (struct btrace_func) <ibegin, iend>: Remove.
4066 (struct btrace_func_link): New.
4067 (struct btrace_func): Rename to ...
4068 (struct btrace_function): ...this. Update all users.
4069 (struct btrace_function) <segment, flow, up, insn, insn_offset)
4070 (number, level, flags>: New.
4071 (struct btrace_insn_iterator): Rename to ...
4072 (struct btrace_insn_history): ...this.
4074 (struct btrace_insn_iterator, btrace_call_iterator): New.
4075 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
4076 (struct btrace_target_info) <begin, end, level>
4077 <insn_history, call_history>: New.
4078 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4079 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4080 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4081 (btrace_call_number, btrace_call_begin, btrace_call_end)
4082 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4083 (btrace_find_function_by_number, btrace_set_insn_history)
4084 (btrace_set_call_history): New.
4085 * btrace.c (btrace_init_insn_iterator)
4086 (btrace_init_func_iterator, compute_itrace): Remove.
4087 (ftrace_print_function_name, ftrace_print_filename)
4088 (ftrace_skip_file): Change
4090 (ftrace_init_func): Remove.
4091 (ftrace_debug): Use new btrace_function fields.
4092 (ftrace_function_switched): Also consider gaining and
4093 losing symbol information).
4094 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
4095 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
4096 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
4098 (ftrace_new_function): Move. Remove debug print.
4099 (ftrace_update_lines, ftrace_update_insns): New.
4100 (ftrace_update_function): Check for call, ret, and jump.
4101 (compute_ftrace): Renamed to ...
4102 (btrace_compute_ftrace): ...this. Rewritten to compute call
4104 (btrace_fetch, btrace_clear): Updated.
4105 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4106 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4107 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4108 (btrace_call_number, btrace_call_begin, btrace_call_end)
4109 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4110 (btrace_find_function_by_number, btrace_set_insn_history)
4111 (btrace_set_call_history): New.
4112 * record-btrace.c (require_btrace): Use new btrace thread
4114 (record_btrace_info, btrace_insn_history)
4115 (record_btrace_insn_history, record_btrace_insn_history_range):
4116 Use new btrace thread info fields and new iterator.
4117 (btrace_func_history_src_line): Rename to ...
4118 (btrace_call_history_src_line): ...this. Use new btrace
4120 (btrace_func_history): Rename to ...
4121 (btrace_call_history): ...this. Use new btrace thread info
4122 fields and new iterator.
4123 (record_btrace_call_history, record_btrace_call_history_range):
4124 Use new btrace thread info fields and new iterator.
4126 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4128 * frame.h (frame_id_build_unavailable_stack_special): New.
4129 * frame.c (frame_id_build_unavailable_stack_special): New.
4131 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4133 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
4134 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
4135 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
4137 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
4138 (i386_insn_is_jump, i386_jmp_p): New.
4139 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
4140 insn_is_jump to gdbarch.
4141 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
4142 * gdbarch.h: Regenerated.
4143 * gdbarch.c: Regenerated.
4144 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
4145 (default_insn_is_jump): New.
4146 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
4147 (default_insn_is_jump): New.
4149 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4151 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
4153 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
4154 (btrace_read_type) <btrace_read_new>: Change to ...
4155 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
4157 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4159 * common/linux-btrace.c (linux_read_btrace): Free trace from
4162 2014-01-15 Doug Evans <dje@google.com>
4164 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
4167 2014-01-15 Tom Tromey <tromey@redhat.com>
4169 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
4170 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
4171 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
4172 (set_objfile_main_name): New function.
4173 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
4174 language_of_main>: New fields.
4175 (set_objfile_main_name): Declare.
4176 * symtab.c (find_main_name): Loop over objfiles to find the main
4178 (set_main_name): Now static.
4179 (get_main_info): Add comment.
4180 * symtab.h (set_main_name): Don't declare.
4182 2014-01-15 Tom Tromey <tromey@redhat.com>
4184 * symtab.c (main_progspace_key): New global.
4185 (struct main_info): New.
4186 (name_of_main, language_of_main): Remove.
4187 (get_main_info, main_info_cleanup): New function.
4188 (set_main_name, main_name, main_language): Use get_main_info.
4189 (_initialize_symtab): Initialize main_progspace_key.
4191 2014-01-15 Tom Tromey <tromey@redhat.com>
4193 * dbxread.c (process_one_symbol): Update.
4194 * dwarf2read.c (read_partial_die): Update.
4195 * symfile.c (set_initial_language): Call main_language.
4196 * symtab.c (language_of_main): Now static.
4197 (set_main_name): Add 'lang' parameter.
4198 (find_main_name): Update.
4199 (main_language): New function.
4200 (symtab_observer_executable_changed): Update.
4201 * symtab.h (set_main_name): Update.
4202 (language_of_main): Remove.
4203 (main_language): Declare.
4205 2014-01-15 Tom Tromey <tromey@redhat.com>
4207 * symfile.c (init_entry_point_info): Use new "initialized" field.
4209 * objfiles.h (struct entry_point) <initialized>: New field.
4210 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
4211 (struct objfile) <ei>: ...here. Remove.
4212 * objfiles.c (entry_point_address_query): Update.
4214 2014-01-15 Tom Tromey <tromey@redhat.com>
4216 * objfiles.c (entry_point_address_query): Relocate entry point
4218 (objfile_relocate1): Do not relocate entry point address.
4219 * objfiles.h (struct entry_info) <entry_point>: Update comment.
4220 <the_bfd_section_index>: New field.
4221 * symfile.c (init_entry_point_info): Find the entry point's
4224 2014-01-15 Tom Tromey <tromey@redhat.com>
4226 * solib-frv.c (enable_break): Use entry_point_address_query.
4228 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4230 * NEWS: Add note on improved process record-replay on
4231 arm*-linux* targets.
4233 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4235 * arm-tdep.c (enum arm_record_result): New enum.
4236 (arm_record_unsupported_insn): New function.
4237 (arm_record_coproc_data_proc): Removed.
4238 (thumb2_record_ld_st_multiple): New function.
4239 (thumb2_record_ld_st_dual_ex_tbb): New function.
4240 (thumb2_record_data_proc_sreg_mimm): New function.
4241 (thumb2_record_ps_dest_generic): New function.
4242 (thumb2_record_branch_misc_cntrl): New function.
4243 (thumb2_record_str_single_data): New function.
4244 (thumb2_record_ld_mem_hints): New function.
4245 (thumb2_record_ld_word): New function.
4246 (thumb2_record_lmul_lmla_div): New function.
4247 (thumb2_record_decode_insn_handler): New function.
4248 (decode_insn): Add thumb32 instruction handlers.
4250 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4252 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
4253 (struct arm_linux_record_tdep): Declare.
4254 (arm_canonicalize_syscall): New function.
4255 (arm_all_but_pc_registers_record): New function.
4256 (arm_linux_syscall_record): New function.
4257 (arm_linux_init_abi): Add syscall recording constructs.
4258 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
4259 decoding. (arm_record_coproc_data_proc): Update arm syscall
4261 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
4262 <arm_syscall_record>: New field.
4263 * configure.tgt (arm*-*-linux*): Add linux-record.o to
4266 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4268 * arm-tdep.c (thumb_record_misc): Update to use sp as base
4269 register for push instruction recording.
4271 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4273 * arm-tdep.c (thumb_record_misc): Update to correct logical
4274 error while recording ldm, ldmia and pop instructions.
4276 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4278 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
4280 2014-01-15 Pedro Alves <palves@redhat.com>
4282 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
4283 (go32_resume, go32_fetch_registers, store_register)
4284 (go32_store_registers, go32_prepare_to_store)
4285 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
4286 (go32_create_inferior, go32_can_run, go32_terminal_init)
4287 (go32_terminal_inferior, go32_terminal_ours): Delete forward
4290 2014-01-15 Tom Tromey <tromey@redhat.com>
4292 * target.h (async_callback_ftype): New typedef.
4293 (struct target_ops) <to_async>: Use it.
4295 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4297 * python/py-value.c (get_field_type): Remove unnecessary curly
4298 braces for single-statement if block.
4300 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4302 * python/py-type.c (convert_field): Add missing empty line
4305 2014-01-14 Doug Evans <dje@google.com>
4307 * symfile.h (expand_symtabs_matching): Renamed from
4308 expand_partial_symbol_names. Update prototype.
4309 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4310 * symfile.c (expand_symtabs_matching): Renamed from
4311 expand_partial_symbol_names. New args file_matcher, kind.
4312 Rename arg fun to symbol_matcher.
4313 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4314 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
4315 ada_expand_partial_symbol_name.
4316 (ada_make_symbol_completion_list): Update to call
4317 expand_symtabs_matching.
4318 (ada_add_global_exceptions): Call expand_symtabs_matching.
4319 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
4320 call map_symbol_filenames.
4321 * symtab.c (sources_info): Update to call map_symbol_filenames.
4322 (search_symbols): Call expand_symtabs_matching.
4323 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
4324 (default_make_symbol_completion_list_break_on): Update to call
4325 expand_symtabs_matching.
4326 (make_source_files_completion_list): Update to call
4327 map_symbol_filenames.
4329 2014-01-14 Doug Evans <dje@google.com>
4331 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
4332 (expand_symtabs_symbol_matcher_ftype): New typedef.
4333 (quick_symbol_functions.expand_symtabs_matching): Update to use.
4334 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4335 * symfile.c (expand_partial_symbol_names): Update to use
4336 expand_symtabs_symbol_matcher_ftype.
4337 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
4338 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4339 Arg name_matcher renamed to symbol_matcher.
4340 * psymtab.c (recursively_search_psymtabs): Update to use
4341 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
4343 (expand_symtabs_matching_via_partial): Update to use
4344 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4345 Arg name_matcher renamed to symbol_matcher.
4347 2014-01-14 Doug Evans <dje@google.com>
4349 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
4350 (map_partial_symbol_filenames): Ditto.
4351 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
4352 (map_partial_symbol_filenames): Ditto.
4353 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
4354 (map_partial_symbol_filenames): Ditto.
4355 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
4356 (map_partial_symbol_filenames): Ditto.
4357 * symtab.c: Delete #include "psymtab.h".
4359 2014-01-14 Pedro Alves <palves@redhat.com>
4360 Tom Tromey <tromey@redhat.com>
4362 * infrun.c (use_displaced_stepping): Use find_record_target
4363 instead of RECORD_IS_USED.
4364 (adjust_pc_after_break): Use record_full_is_used instead of
4366 * record-btrace.c (record_btrace_open): Call record_preopen
4367 instead of checking RECORD_IS_USED.
4368 * record-full.c (record_full_shortname)
4369 (record_full_core_shortname): New globals.
4370 (record_full_is_used): New function.
4371 (find_full_open): Call record_preopen instead of checking
4373 (init_record_full_ops): Set the target's shortname to
4374 record_full_shortname.
4375 (init_record_full_core_ops): Set the target's shortname to
4376 record_full_core_shortname.
4377 * record-full.h (record_full_is_used): Declare.
4378 * record.c (find_record_target): Make extern.
4379 (record_preopen): New function.
4380 * record.h (RECORD_IS_USED): Delete macro.
4381 (find_record_target, record_preopen): Declare functions.
4383 2014-01-14 Yao Qi <yao@codesourcery.com>
4385 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
4386 'len''s type to ULONGEST.
4387 (core_xfer_shared_libraries_aix): Likewise.
4388 * gdbarch.c, gdbarch.h: Regenerated.
4389 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
4390 Change type of 'len' to ULONGEST.
4391 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4392 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
4394 2014-01-14 Yao Qi <yao@codesourcery.com>
4396 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
4397 type of 'len' to ULONGEST.
4398 (linux_xfer_osdata_processgroups): Likewise.
4399 (linux_xfer_osdata_threads): Likewise.
4400 (linux_xfer_osdata_fds): Likewise.
4401 (linux_xfer_osdata_isockets): Likewise.
4402 (linux_xfer_osdata_shm): Likewise.
4403 (linux_xfer_osdata_sem): Likewise.
4404 (linux_xfer_osdata_msg): Likewise.
4405 (linux_common_xfer_osdata): Likewise.
4406 (struct osdata_type) <getter>: Likewise.
4407 * common/linux-osdata.h (linux_common_xfer_osdata): Update
4410 2014-01-14 Yao Qi <yao@codesourcery.com>
4412 * target.h (target_xfer_partial_ftype): Update.
4413 (struct target_ops) <to_xfer_partial>: Change 'len' type to
4415 * aix-thread.c (aix_thread_xfer_partial): Change type of
4416 argument 'len' to ULONGEST.
4417 * auxv.c (procfs_xfer_auxv): Likewise.
4418 (ld_so_xfer_auxv): Likewise.
4419 (memory_xfer_auxv): Likewise.
4420 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4421 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4422 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4423 * corelow.c (core_xfer_partial): Likewise.
4424 * ctf.c (ctf_xfer_partial): Likewise.
4425 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
4427 (darwin_read_dyld_info): Likewise.
4428 (darwin_xfer_partial): Likewise.
4429 * exec.c (section_table_xfer_memory_partial): Likewise.
4430 (exec_xfer_partial): Likewise.
4431 * exec.h (section_table_xfer_memory_partial): Update
4433 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
4434 instead of plongest.
4435 (gnu_xfer_partial): Likewise.
4436 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
4437 (ia64_hpux_xfer_solib_got): Likewise.
4438 (ia64_hpux_xfer_partial): Likewise.
4439 * ia64-linux-nat.c (ia64_linux_xfer_partial):
4440 * inf-ptrace.c (inf_ptrace_xfer_partial):
4441 * inf-ttrace.c (inf_ttrace_xfer_partial):
4442 * linux-nat.c (linux_xfer_siginfo): Likewise.
4443 (linux_nat_xfer_partial): Likewise.
4444 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
4445 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
4446 * monitor.c (monitor_xfer_memory): Likewise.
4447 (monitor_xfer_partial): Likewise.
4448 * procfs.c (procfs_xfer_partial): Likewise.
4449 * record-full.c (record_full_xfer_partial): Likewise.
4450 (record_full_core_xfer_partial): Likewise.
4451 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
4452 instead of plongest.
4453 (gdbsim_xfer_partial): Likewise.
4454 * remote.c (remote_xfer_partial): Likewise.
4455 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4456 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4458 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4459 (rs6000_xfer_shared_libraries): Likewise.
4460 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4461 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4462 (sparc_xfer_partial): Likewise.
4463 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4464 (spu_xfer_partial): Likewise.
4465 * spu-multiarch.c (spu_xfer_partial): Likewise.
4466 * target.c (target_read_live_memory): Likewise.
4467 (memory_xfer_live_readonly_partial): Likewise.
4468 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
4469 (target_xfer_partial, default_xfer_partial): Likewise.
4470 (current_xfer_partial): Likewise.
4471 * tracepoint.c (tfile_xfer_partial): Likewise.
4472 * windows-nat.c (windows_xfer_memory): Likewise. Call
4473 pulongest instead of plongest.
4474 (windows_xfer_partial): Likewise.
4475 (windows_xfer_shared_libraries): Likewise.
4477 2014-01-14 Yao Qi <yao@codesourcery.com>
4479 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
4480 target_xfer_partial_ftype.
4482 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4486 * valops.c (value_struct_elt_bitpos): New function
4487 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
4488 object to 'None' if the field name is an empty string ("").
4489 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
4490 attribute to look for a field when 'name' is 'None'.
4491 (get_field_type): New function
4493 2014-01-13 Doug Evans <dje@google.com>
4496 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
4497 (try_open_dwop_file): Ditto.
4498 * gdb_bfd.c: #include "vec.h".
4499 (bfdp): New typedef.
4500 (struct gdb_bfd_data): New member included_bfds.
4501 (gdb_bfd_unref): Unref all included bfds.
4502 (gdb_bfd_record_inclusion): New function.
4503 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
4505 2014-01-13 Tom Tromey <tromey@redhat.com>
4507 * gdbcore.h (deprecated_core_resize_section_table): Remove.
4509 2014-01-13 Tom Tromey <tromey@redhat.com>
4511 * defs.h (use_windows): Remove.
4512 * gdb.c (main): Update.
4513 * main.c (captured_main, gdb_main): Update.
4514 * main.h (struct captured_main_args) <use_windows>: Remove.
4515 * top.c (use_windows): Remove.
4517 2014-01-13 Tom Tromey <tromey@redhat.com>
4519 * defs.h (deprecated_flush_hook): Remove.
4521 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4524 * linux-thread-db.c (try_thread_db_load): Add parameter
4525 check_auto_load_safe. Move here the file_is_auto_load_safe call.
4526 (try_thread_db_load_from_pdir_1): Move it there from here.
4527 (try_thread_db_load_from_sdir): Update caller.
4528 (try_thread_db_load_from_dir): Move it there from here.
4530 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
4532 * regformats/regdat.sh: Always rewrite the register file.
4534 2014-01-13 Pedro Alves <palves@redhat.com>
4536 * Makefile.in (CHECK_HEADERS): New variable.
4537 (check-headers:): New rule.
4539 2014-01-13 Tom Tromey <tromey@redhat.com>
4541 * cli/cli-setshow.c (do_set_command): Update.
4542 * defs.h (deprecated_set_hook): Remove.
4543 * top.c (deprecated_set_hook): Remove.
4545 2014-01-13 Pedro Alves <palves@redhat.com>
4547 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
4548 the tracepoint if the PC is a pseudo-register.
4550 2014-01-13 Tom Tromey <tromey@redhat.com>
4552 * defs.h (XCALLOC): Remove.
4553 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
4554 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
4555 * dwarf2loc.c (allocate_piece_closure): Likewise.
4556 * elfread.c (elf_symfile_segments): Likewise.
4557 (elf_symfile_segments): Likewise.
4558 * gdbtypes.c (copy_type_recursive): Likewise.
4559 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
4560 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
4561 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
4563 * mt-tdep.c (mt_gdbarch_init): Likewise.
4564 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
4566 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
4567 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
4568 * registry.c (registry_alloc_data): Likewise.
4569 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
4570 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
4571 * serial.c (serial_fdopen_ops): Likewise.
4572 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
4574 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
4575 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
4578 2014-01-13 Tom Tromey <tromey@redhat.com>
4580 * defs.h (XMALLOC): Remove.
4581 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
4582 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
4583 * cli-out.c (struct ui_out *): Likewise.
4584 * cli/cli-dump.c (add_dump_command): Likewise.
4585 (add_dump_command): Likewise.
4586 * complaints.c (get_complaints): Likewise.
4587 (find_complaint): Likewise.
4588 * dwarf2-frame.c (execute_cfa_program): Likewise.
4589 * dwarf2read.c (abbrev_table_read_table): Likewise.
4590 * gdbarch.sh: Likewise.
4591 * gdbarch.c: Rebuild.
4592 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
4593 * interps.c (interp_new): Likewise.
4594 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
4595 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
4596 * mi/mi-console.c (mi_console_file_new): Likewise.
4597 * mi/mi-interp.c (mi_interpreter_init): Likewise.
4598 * mi/mi-out.c (mi_out_new): Likewise.
4599 * mi/mi-parse.c (mi_parse): Likewise.
4600 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
4601 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
4602 * observer.c (xalloc_observer_list_node): Likewise.
4603 * regcache.c (regcache_xmalloc_1): Likewise.
4604 * reggroups.c (reggroup_new): Likewise.
4605 (_initialize_reggroup): Likewise.
4606 * registry.c (register_data_with_cleanup): Likewise.
4607 * remote.c (remote_notif_stop_alloc_reply): Likewise.
4608 * ser-base.c (serial_ttystate): Likewise.
4609 * ser-mingw.c (make_pipe_state): Likewise.
4610 * ser-pipe.c (pipe_open): Likewise.
4611 * serial.c (serial_open): Likewise.
4612 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
4613 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
4614 (tui_alloc_win_info): Likewise.
4615 (tui_add_content_elements): Likewise.
4616 * tui/tui-file.c (tui_file_new): Likewise.
4617 * tui/tui-out.c (tui_out_new): Likewise.
4618 * ui-file.c (mem_file_new): Likewise.
4619 * ui-out.c (push_level): Likewise.
4620 (make_cleanup_ui_out_end): Likewise.
4621 (append_header_to_list): Likewise.
4622 (ui_out_new): Likewise.
4623 * user-regs.c (user_reg_add_builtin): Likewise.
4625 2014-01-13 Tom Tromey <tromey@redhat.com>
4627 * defs.h (XZALLOC): Remove.
4628 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
4629 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
4630 (get_ada_tasks_inferior_data): Likewise.
4631 * auto-load.c (get_auto_load_pspace_data): Likewise.
4632 * auxv.c (get_auxv_inferior_data): Likewise.
4633 * bfd-target.c (target_bfd_reopen): Likewise.
4634 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
4635 (deprecated_insert_raw_breakpoint): Likewise.
4636 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
4637 * corelow.c (core_open): Likewise.
4638 * darwin-nat.c (darwin_check_new_threads): Likewise.
4639 (darwin_attach_pid): Likewise.
4640 * dummy-frame.c (dummy_frame_push): Likewise.
4641 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
4642 * dwarf2loc.c (allocate_piece_closure): Likewise.
4643 * elfread.c (elf_symfile_segments): Likewise.
4644 * eval.c (ptrmath_type_p): Likewise.
4645 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
4646 * gdbtypes.c (alloc_type_arch): Likewise.
4647 (alloc_type_instance): Likewise.
4648 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
4649 * inf-child.c (inf_child_can_use_agent): Likewise.
4650 * inflow.c (get_inflow_inferior_data): Likewise.
4651 * infrun.c (save_infcall_suspend_state): Likewise.
4652 * jit.c (jit_reader_load): Likewise.
4653 (get_jit_objfile_data): Likewise.
4654 (get_jit_program_space_data): Likewise.
4655 (jit_object_open_impl): Likewise.
4656 (jit_symtab_open_impl): Likewise.
4657 (jit_block_open_impl): Likewise.
4658 (jit_frame_sniffer): Likewise.
4659 * linux-fork.c (add_fork): Likewise.
4660 * maint.c (make_command_stats_cleanup): Likewise.
4661 * objfiles.c (get_objfile_pspace_data): Likewise.
4662 * opencl-lang.c (struct lval_closure): Likewise.
4663 * osdata.c (osdata_start_osdata): Likewise.
4664 * progspace.c (new_address_space): Likewise.
4665 (add_program_space): Likewise.
4666 * remote-sim.c (get_sim_inferior_data): Likewise.
4667 * sh-tdep.c (sh_gdbarch_init): Likewise.
4668 * skip.c (Ignore): Likewise.
4669 (skip_delete_command): Likewise.
4670 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4671 (library_list_start_library): Likewise.
4672 (solib_aix_current_sos): Likewise.
4673 * solib-darwin.c (get_darwin_info): Likewise.
4674 (darwin_current_sos): Likewise.
4675 * solib-dsbt.c (get_dsbt_info): Likewise.
4676 * solib-ia64-hpux.c (new_so_list): Likewise.
4677 (ia64_hpux_get_solib_linkage_addr): Likewise.
4678 * solib-spu.c (append_ocl_sos): Likewise.
4679 (spu_current_sos): Likewise.
4680 * solib-svr4.c (get_svr4_info): Likewise.
4681 (svr4_keep_data_in_core): Likewise.
4682 (library_list_start_library): Likewise.
4683 (svr4_default_sos): Likewise.
4684 (svr4_read_so_list): Likewise.
4685 * solib-target.c (library_list_start_library): Likewise.
4686 (solib_target_current_sos): Likewise.
4687 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4688 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4689 * symfile.c (default_symfile_segments): Likewise.
4690 * target-descriptions.c (tdesc_data_init): Likewise.
4691 (tdesc_create_reg): Likewise.
4692 (struct tdesc_type *): Likewise.
4693 (tdesc_create_vector): Likewise.
4694 (tdesc_set_struct_size): Likewise.
4695 (struct tdesc_type *): Likewise.
4696 (tdesc_free_feature): Likewise.
4697 (tdesc_create_feature): Likewise.
4698 * windows-nat.c (windows_add_thread): Likewise.
4699 (windows_make_so): Likewise.
4700 * xml-support.c (gdb_xml_body_text): Likewise.
4701 (gdb_xml_create_parser_and_cleanup): Likewise.
4702 (xml_process_xincludes): Likewise.
4703 * xml-syscall.c (allocate_syscalls_info): Likewise.
4704 (syscall_create_syscall_desc): Likewise.
4706 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4708 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4709 function, with code from i386_stap_parse_special_token.
4710 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4711 (i386_stap_parse_special_token): Move code to the two functions
4714 2014-01-09 Pedro Alves <palves@redhat.com>
4715 Hui Zhu <hui@codesourcery.com>
4718 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4719 bp_err_string. Don't mark the location shlib_disabled if the
4720 error thrown wasn't a generic or memory error. Catch errors
4721 thrown while inserting breakpoints in overlayed code. Output
4722 error message of software breakpoints.
4723 * remote.c (remote_insert_breakpoint): If this breakpoint has
4724 target-side commands but this stub doesn't support Z0 packets,
4725 throw NOT_SUPPORTED_ERROR error.
4726 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4727 * target.h (target_insert_breakpoint): Extend comment.
4728 (target_insert_hw_breakpoint): Add comment.
4730 2014-01-08 Pedro Alves <palves@redhat.com>
4732 * remote.c (remote_add_thread): Add threads silently if starting
4734 (remote_notice_new_inferior): If in all-stop, and starting up,
4735 don't call notice_new_inferior.
4736 (get_current_thread): New function, factored out from ...
4737 (add_current_inferior_and_thread): ... this. Adjust.
4738 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4739 found any thread, then select the remote's current thread as GDB's
4742 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4744 * NEWS: Create a new section for the next release branch.
4745 Rename the section of the current branch, now that it has
4748 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4750 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4751 * version.in: Bump version to 7.7.50.DATE-cvs.
4753 2014-01-08 Yao Qi <yao@codesourcery.com>
4755 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4756 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4757 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4759 2014-01-08 Yao Qi <yao@codesourcery.com>
4761 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4762 return value of bfd_get_filename to symbol_file_add_from_bfd.
4764 2014-01-08 Pierre Muller <muller@sourceware.org>
4767 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4768 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4769 to prim_record_mininal_symbol_and_info.
4770 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4771 in call to prim_record_minimal_symbol_and_info.
4772 (read_pe_exported_syms): Set index field of section_data.
4774 2014-01-07 Andrew Pinski <apinski@cavium.com>
4776 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4777 * features/aarch64.c: Regenerate.
4779 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4781 * target.c (return_null): Define.
4782 (update_current_target): Use it instead of return_zero for
4783 functions that return a pointer.
4785 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4787 * source.c (add_path): Fix check for duplicated paths in the previously
4790 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4792 * ada-lang.c: Remove duplicated include statements.
4793 * alphabsd-nat.c: Ditto.
4794 * amd64-darwin-tdep.c: Ditto.
4795 * amd64fbsd-nat.c: Ditto.
4796 * auto-load.c: Ditto.
4798 * breakpoint.c: Ditto.
4800 * fork-child.c: Ditto.
4801 * gdb_usleep.c: Ditto.
4802 * i386-darwin-tdep.c: Ditto.
4803 * i386fbsd-nat.c: Ditto.
4805 * inferior.c: Ditto.
4807 * linux-nat.c: Ditto.
4808 * linux-tdep.c: Ditto.
4809 * m68kbsd-nat.c: Ditto.
4810 * m68klinux-nat.c: Ditto.
4811 * microblaze-tdep.c: Ditto.
4812 * mips-linux-tdep.c: Ditto.
4813 * mn10300-tdep.c: Ditto.
4814 * nto-tdep.c: Ditto.
4815 * opencl-lang.c: Ditto.
4817 * printcmd.c: Ditto.
4818 * regcache.c: Ditto.
4819 * remote-m32r-sdi.c: Ditto.
4823 * tilegx-linux-nat.c: Ditto.
4824 * tilegx-tdep.c: Ditto.
4825 * tracepoint.c: Ditto.
4827 * vaxbsd-nat.c: Ditto.
4828 * windows-nat.c: Ditto.
4829 * xtensa-tdep.c: Ditto.
4831 2014-01-07 Yao Qi <yao@codesourcery.com>
4833 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4835 2014-01-07 Yao Qi <yao@codesourcery.com>
4836 Joel Brobecker <brobecker@adacore.com>
4838 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4839 (pdc_write_regs): Likewise.
4840 (fetch_regs_kernel_thread): Likewise.
4841 (store_regs_kernel_thread): Likewise.
4843 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4845 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4846 tagged type objects to their actual type.
4848 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4850 * ada-valprint.c (print_field_values): Add "language" parameter.
4851 Update calls to print_field_values and print_variant_part.
4852 Pass new parameter "language" in call to val_print instead
4853 of "current_language". Replace call to ada_val_print by call
4855 (print_variant_part): Add "language" parameter.
4856 (ada_val_print_struct_union): Update call to print_field_values.
4858 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4860 * ada-valprint.c (ui_memcpy): Delete.
4861 (ada_print_floating): Update documentation. Add empty line
4862 between between function documentation and implementation.
4863 Delete variable "buffer". Use ui_file_xstrdup in place of
4864 ui_file_put. Minor adjustments following this change.
4866 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4868 * ada-valprint.c (ada_val_print_string): New function,
4869 extracted from ada_val_print_array.
4870 (ada_val_print_array): Replace extracted code by call
4871 to ada_val_print_string followed by a return. Move
4872 "else" branch to the function's top block.
4874 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4876 * ada-valprint.c (ada_val_print_array): Move implementation
4877 down. Rename parameter "offset" and "val" into "offset_aligned"
4878 and "original_value" respectively. Add parameter "offset".
4880 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4882 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4883 re-organizing the code. Change the "???" message printed
4884 when target type is a TYPE_CODE_UNDEF into
4885 "<ref to undefined type>".
4887 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4889 * ada-valprint.c (print_record): Delete, implementation inlined...
4890 (ada_val_print_struct_union): ... here. Remove call to
4891 ada_check_typedef in inlined implementation.
4893 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4895 * ada-valprint.c (ada_val_print_gnat_array): New function,
4896 extracted from ada_val_print_1;
4897 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4898 (ada_val_print_flt, ada_val_print_struct_union)
4899 (ada_val_print_ref): Likewise.
4900 (ada_val_print_1): Delete variables i and elttype.
4901 Replace extracted-out code by call to corresponding
4904 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4906 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
4908 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4910 * ada-valprint.c (ada_val_print_1): Replace calls to
4911 ada_val_print_1 by calls to val_print.
4913 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4915 * ada-valprint.c (ada_val_print_1): Add parameter "language".
4916 Update calls to self accordingly. Replace calls to c_val_print
4917 by calls to val_print.
4919 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4921 * ada-valprint.c (print_record): Delete declaration.
4922 (adjust_type_signedness, ada_val_print_1): Likewise.
4923 (ada_val_print): Move function implementation down.
4924 (print_variant_part, print_field_values, print_record):
4925 Move function implementation up.
4927 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4929 * python/py-type.c (typy_get_name): New function.
4930 (type_object_getset): Add entry for attribute "name".
4931 * NEWS: Add entry mentioning this new attribute.
4933 2014-01-07 Yao Qi <yao@codesourcery.com>
4935 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
4938 2014-01-07 Yao Qi <yao@codesourcery.com>
4940 * gnu-nat.c (info_port_rights): Add qualifier const to
4943 2014-01-07 Yao Qi <yao@codesourcery.com>
4945 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
4947 2014-01-07 Yao Qi <yao@codesourcery.com>
4949 * gnu-nat.c (make_inf) Update declaration.
4950 (make_inf): Make it static.
4951 (inf_set_traced): Likewise.
4952 (inf_port_to_thread, inf_task_died_status): Likewise.
4954 2014-01-07 Yao Qi <yao@codesourcery.com>
4956 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
4958 2014-01-07 Yao Qi <yao@codesourcery.com>
4960 * gnu-nat.c (_initialize_gnu_nat): Declare.
4962 2014-01-07 Yao Qi <yao@codesourcery.com>
4964 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
4966 (struct gdbarch_info) <byte_order>: Change type to
4968 <byte_order_for_code>: Likewise.
4969 * gdbarch.c, gdbarch.h: Regenerated.
4971 2014-01-06 Sasha Smundak <asmundak@google.com>
4973 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
4975 2014-01-06 Tom Tromey <tromey@redhat.com>
4977 * doublest.c (convert_doublest_to_floatformat): Use const, not
4979 * somread.c (som_symtab_read): Likewise.
4981 2014-01-07 Hui Zhu <hui@codesourcery.com>
4983 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
4984 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
4985 (gdb_bfd_fopen): Ditto.
4986 (gdb_bfd_openr): Ditto.
4987 (gdb_bfd_openw): Ditto.
4988 (gdb_bfd_openr_iovec): Ditto.
4989 (gdb_bfd_fdopenr): Ditto.
4990 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
4991 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
4993 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
4995 * symfile-mem.c (symbol_file_add_from_memory): Removed
4996 gdb_bfd_stash_filename.
4998 2014-01-03 Doug Evans <dje@google.com>
5000 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
5003 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5005 Update year range in copyright notice of all files.
5007 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5009 * top.c (print_gdb_version): Set copyright year to 2014.
5011 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5013 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
5015 For older changes see ChangeLog-2013.
5021 version-control: never