1 2014-02-25 Kevin Buettner <kevinb@redhat.com>
3 * rl78-tdep.c ( RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
4 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
5 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
6 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
7 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
8 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
9 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
10 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
12 (rl78_register_type): Use a data pointer type for SP and
13 new pseudo registers mentioned above. Use a 16 bit integer
14 type for all other register pairs.
15 (rl78_register_name, rl78_g10_register_name): Update for
17 (rl78_pseudo_register_read): Likewise.
18 (rl78_pseudo_register_write): Likewise.
19 (rl78_dwarf_reg_to_regnum): Return register numbers representing
20 to the newly added pseudo registers.
22 2014-02-24 Doug Evans <dje@google.com>
24 * value.c (record_latest_value): Fix comment.
25 * printcmd.c (print_command_1): Remove code to handle -1 return from
28 2014-02-24 Pedro Alves <palves@redhat.com>
30 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
31 deprecated_xfer_memory hook.
32 (procfs_xfer_partial): Call procfs_xfer_memory instead
33 of the deprecated_xfer_memory target hook.
34 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
37 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
39 * windows-nat.c (windows_xfer_shared_libraries): Return
40 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
41 requested object is TARGET_OBJECT_LIBRARIES.
43 2014-02-24 Yao Qi <yao@codesourcery.com>
45 * target.h (enum target_xfer_status)
46 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
47 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
49 * corefile.c (memory_error_message): User updated.
50 * exec.c (section_table_read_available_memory): Likewise.
51 * record-btrace.c (record_btrace_xfer_partial): Likewise.
52 * target.c (target_xfer_status_to_string): Likewise.
53 (raw_memory_xfer_partial): Likewise.
54 (memory_xfer_partial_1, target_xfer_partial): Likewise.
55 * valops.c (read_value_memory): Likewise.
56 * exec.h: Update comments.
58 2014-02-24 Yao Qi <yao@codesourcery.com>
60 * target.c (target_xfer_status_to_string): Rename argument err
62 * target.h (target_xfer_status_to_string): Update declaration.
63 Replace target_xfer_error_to_string with
64 target_xfer_status_to_string in comment.
66 2014-02-24 Yao Qi <yao@codesourcery.com>
68 * mips-linux-nat.c (super_close): Update its type.
69 (mips_linux_close): Pass 'self' to super_close.
71 2014-02-24 Yao Qi <yao@codesourcery.com>
73 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
74 * corefile.c (read_memory): Adjusted.
75 * target.c (target_write_with_progress): Adjusted.
77 2014-02-23 Yao Qi <yao@codesourcery.com>
81 2013-10-25 Yao Qi <yao@codesourcery.com>
83 * remote.c (remote_traceframe_info): Return early if
84 traceframe is not selected.
86 2013-07-19 Yao Qi <yao@codesourcery.com>
88 * target.c (update_current_target): Change the default action
89 of 'to_traceframe_info' from tcomplain to return_zero.
90 * target.h (struct target_ops) <to_traceframe_info>: Add more
93 2014-02-23 Yao Qi <yao@codesourcery.com>
95 * valops.c (read_value_memory): Rewrite it. Call
96 target_xfer_partial in a loop.
97 * exec.h (section_table_available_memory): Remove declaration.
99 * exec.c (section_table_available_memory): ... here. Make it
102 2014-02-23 Yao Qi <yao@codesourcery.com>
104 * exec.c (section_table_read_available_memory): New function.
105 * exec.h (section_table_read_available_memory): Declare.
106 * ctf.c (ctf_xfer_partial): Call
107 section_table_read_available_memory.
108 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
110 2014-02-23 Yao Qi <yao@codesourcery.com>
112 * ctf.c (ctf_xfer_partial): Move code to ...
113 * exec.c (exec_read_partial_read_only): ... it. New function.
114 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
115 * tracefile.c: Include "exec.h".
116 * exec.h (exec_read_partial_read_only): Declare.
118 2014-02-23 Yao Qi <yao@codesourcery.com>
120 * tracefile-tfile.c (tfile_has_all_memory): Remove.
121 (tfile_has_memory): Remove.
122 (init_tfile_ops): Don't set fields to_has_all_memory and
123 to_has_memory of tfile_ops.
124 * tracefile.c (tracefile_has_all_memory): New function.
125 (tracefile_has_memory): New function.
126 (init_tracefile_ops): Initialize fields to_has_all_memory and
127 to_has_memory of 'ops'.
129 2014-02-23 Yao Qi <yao@codesourcery.com>
131 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
132 (ctf_thread_alive, ctf_get_trace_status): Remove.
133 (init_ctf_ops): Don't set some fields of ctf_ops. Call
135 * tracefile-tfile.c (tfile_get_trace_status): Remove.
136 (tfile_has_stack, tfile_has_registers): Remove.
137 (tfile_thread_alive): Remove.
138 (init_tfile_ops): Don't set some fields of tfile_ops. Call
140 * tracefile.c (tracefile_has_stack): New function.
141 (tracefile_has_registers): New function.
142 (tracefile_thread_alive): New function.
143 (tracefile_get_trace_status): New function.
144 (init_tracefile_ops): New function.
145 * tracefile.h (init_tracefile_ops): Declare.
147 2014-02-23 Yao Qi <yao@codesourcery.com>
149 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
150 (O_LARGEFILE): Likewise.
151 (tfile_ops): Likewise.
152 (TRACE_HEADER_SIZE): Likewise.
153 (trace_fd, trace_frames_offset, cur_offset): Likewise.
154 (cur_data_size): Likewise.
155 (tfile_read, tfile_open, tfile_interp_line): Likewise.
156 (tfile_close, tfile_files_info): Likewise.
157 (tfile_get_trace_status): Likewise.
158 (tfile_get_tracepoint_status): Likewise.
159 (tfile_get_traceframe_address): Likewise.
160 (tfile_trace_find, match_blocktype): Likewise.
161 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
162 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
163 (tfile_get_trace_state_variable_value): Likewise.
164 (tfile_has_all_memory, tfile_has_memory): Likewise.
165 (tfile_has_stack, tfile_has_registers): Likewise.
166 (tfile_thread_alive, build_traceframe_info): Likewise.
167 (tfile_traceframe_info, init_tfile_ops): Likewise.
168 (_initialize_tracepoint): Don't call init_tfile_ops
169 and add_target_with_completer.
170 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
171 exec.h, completer.h and filenames.h.
172 (_initialize_tracefile_tfile): New function.
174 2014-02-23 Yao Qi <yao@codesourcery.com>
176 * Makefile.in (REMOTE_OBS): Append tracefile.o and
178 (HFILES_NO_SRCDIR): Add tracefile.h.
179 * ctf.c: Include "tracefile.h".
180 * tracefile.h: New file.
181 * tracefile.c: New file
182 * tracefile-tfile.c: New file.
183 * tracepoint.c: Include "tracefile.h".
184 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
185 (stop_reason_names): Add const.
186 (trace_file_writer_xfree): Move it to tracefile.c.
187 (trace_save, trace_save_command, trace_save_tfile): Likewise.
188 (trace_save_ctf): Likewise.
189 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
190 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
191 (tfile_write_header, tfile_write_regblock_type): Likewise.
192 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
193 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
194 (tfile_write_raw_data, tfile_end): Likewise.
195 (tfile_trace_file_writer_new): Likewise.
196 (free_uploaded_tp): Make it extern.
197 (free_uploaded_tsv): Make it extern.
198 (_initialize_tracepoint): Move code to register command 'tsave'
200 * tracepoint.h (stop_reason_names): Declare.
201 (struct trace_frame_write_ops): Move it to tracefile.h.
202 (struct trace_file_write_ops): Likewise.
203 (struct trace_file_writer): Likewise.
204 (free_uploaded_tsvs, free_uploaded_tps): Declare.
206 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
209 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
211 (get_cores_used_by_process): New parameter num_cores, use it.
212 (linux_xfer_osdata_processes): Pass num_cores to it.
213 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
216 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
218 * target.c (memory_xfer_partial): Fix length arg in call to
219 breakpoint_xfer_memory.
221 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
224 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
225 number comes after the + or - signs. Adjust length of register
226 name to be extracted.
228 2014-02-20 Tom Tromey <tromey@redhat.com>
230 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
231 (ada_varobj_ops): Mark "extern".
233 2014-02-20 Tom Tromey <tromey@redhat.com>
235 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
237 2014-02-20 Doug Evans <xdje42@gmail.com>
239 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
241 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
243 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
244 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
246 2014-02-20 lin zuojian <manjian2006@gmail.com>
247 Joel Brobecker <brobecker@adacore.com>
248 Doug Evans <xdje42@gmail.com>
251 * dwarf2read.c (struct die_info): New member in_process.
252 (reset_die_in_process): New function.
253 (process_die): Set it at the start, reset when returning.
254 (inherit_abstract_dies): Only call process_die if origin_child_die
255 not already being processed.
257 2014-02-20 Joel Brobecker <brobecker@adacore.com>
259 * windows-nat.c (handle_unload_dll): Add function documentation.
260 (do_initial_windows_stuff): Add comment explaining why we wait
261 until after inferior initialization has finished before
264 2014-02-20 Joel Brobecker <brobecker@adacore.com>
266 * windows-nat.c (get_module_name): Delete.
267 (windows_get_exec_module_filename): New function, mostly
268 inspired from get_module_name.
269 (windows_pid_to_exec_file): Replace call to get_module_name
270 by call to windows_get_exec_module_filename.
272 2014-02-20 Joel Brobecker <brobecker@adacore.com>
274 * windows-nat.c (handle_load_dll): Rewrite this function's
275 introductory comment. Remove code using get_module_name
276 to get the DLL's name.
278 2014-02-20 Joel Brobecker <brobecker@adacore.com>
280 * windows-nat.c (get_windows_debug_event): Ignore
281 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
282 if windows_initialization_done == 0.
283 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
284 Adjust implementation to always load all DLLs.
285 (do_initial_windows_stuff): Replace call to
286 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
288 2014-02-20 Joel Brobecker <brobecker@adacore.com>
290 * windows-nat.c (_initialize_windows_nat): Deprecate the
291 "dll-symbols" command. Turn the "add-shared-symbol-files"
292 and "assf" aliases into commands, and deprecate them as well.
293 * NEWS: Add entry explaining that "dll-symbols" and its two
294 aliases are now deprecated.
296 2014-02-20 Joel Brobecker <brobecker@adacore.com>
298 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
299 new-line in debug string. Remove trailing spaces.
301 2014-02-19 Stan Shebs <stan@codesourcery.com>
303 * darwin-nat.c (darwin_xfer_partial): Fix return type.
305 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
307 * NEWS: Add entry for the new feature
308 * python/py-value.c (valpy_binop): Call value_x_binop for struct
311 2014-02-19 Stan Shebs <stan@codesourcery.com>
313 * MAINTAINERS: List Yao Qi as nios2 maintainer.
315 2014-02-19 Pedro Alves <palves@redhat.com>
317 * common/ptid.h (struct ptid): Mention that process_stratum
318 targets should prefer ptid.lwp.
320 2014-02-19 Pedro Alves <palves@redhat.com>
322 * remote.c (remote_thread_alive, write_ptid, read_ptid)
323 (read_ptid, remote_newthread_step, remote_threads_extra_info)
324 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
325 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
326 store remote thread ids rather than ptid.tid.
327 (_initialize_remote): Adjust.
329 2014-02-19 Tom Tromey <tromey@redhat.com>
331 * target.c (target_get_unwinder): Rewrite.
332 (target_get_tailcall_unwinder): Rewrite.
333 * record-btrace.c (record_btrace_to_get_unwinder): New function.
334 (record_btrace_to_get_tailcall_unwinder): New function.
335 (init_record_btrace_ops): Update.
336 * target.h (struct target_ops) <to_get_unwinder,
337 to_get_tailcall_unwinder>: Now function pointers. Use
338 TARGET_DEFAULT_RETURN.
340 2014-02-19 Tom Tromey <tromey@redhat.com>
342 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
344 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
346 2014-02-19 Tom Tromey <tromey@redhat.com>
348 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
350 * target-delegates.c: Rebuild.
351 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
353 * target.c (default_target_decr_pc_after_break): Rename from
354 forward_target_decr_pc_after_break. Simplify.
355 (target_decr_pc_after_break): Rely on delegation.
357 2014-02-19 Tom Tromey <tromey@redhat.com>
359 * target.c (update_current_target): Do not INHERIT to_doc or
360 to_magic. Do not de_fault to_open or to_close.
362 2014-02-19 Tom Tromey <tromey@redhat.com>
364 * gcore.h (objfile_find_memory_regions): Declare.
365 * gcore.c (objfile_find_memory_regions): No longer static. Add
367 (_initialize_gcore): Don't call exec_set_find_memory_regions.
368 * exec.c: Include gcore.h.
369 (exec_set_find_memory_regions): Remove.
370 (exec_find_memory_regions): Remove.
371 (exec_do_find_memory_regions): Remove.
372 (init_exec_ops): Update.
373 * defs.h (exec_set_find_memory_regions): Remove.
375 2014-02-19 Tom Tromey <tromey@redhat.com>
377 * target-delegates.c: Rebuild.
378 * target.h (struct target_ops) <to_extra_thread_info,
379 to_thread_name, to_pid_to_exec_file, to_get_section_table,
380 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
381 not 0, in TARGET_DEFAULT_RETURN.
383 2014-02-19 Tom Tromey <tromey@redhat.com>
385 * target.c (complete_target_initialization): Remove casts. Use
386 return_zero_has_execution.
387 (return_zero): Add "ignore" argument.
388 (return_zero_has_execution): New function.
389 (init_dummy_target): Remove casts. Use
390 return_zero_has_execution.
392 2014-02-19 Tom Tromey <tromey@redhat.com>
394 * target.c (update_current_target): Update comments. Do not
397 2014-02-19 Tom Tromey <tromey@redhat.com>
399 * arm-linux-nat.c (arm_linux_read_description): Delegate when
401 * corelow.c (core_read_description): Delegate when needed.
402 * remote.c (remote_read_description): Delegate when needed.
403 * target-delegates.c: Rebuild.
404 * target.c (target_read_description): Rewrite.
405 * target.h (struct target_ops) <to_read_description>: Update
406 comment. Use TARGET_DEFAULT_RETURN.
408 2014-02-19 Tom Tromey <tromey@redhat.com>
410 * target-delegates.c: Rebuild.
411 * target.c (update_current_target): Don't inherit or default
413 (find_default_run_target): Check against delegate_can_run.
414 * target.h (struct target_ops) <to_can_run>: Use
415 TARGET_DEFAULT_RETURN.
417 2014-02-19 Tom Tromey <tromey@redhat.com>
419 * target-delegates.c: Rebuild.
420 * target.c (target_disconnect): Unconditionally delegate.
421 * target.h (struct target_ops) <to_disconnect>: Use
422 TARGET_DEFAULT_NORETURN.
424 2014-02-19 Tom Tromey <tromey@redhat.com>
426 * record.c (record_stop): Unconditionally delegate.
427 * target-delegates.c: Rebuild.
428 * target.c (target_stop_recording): Unconditionally delegate.
429 * target.h (struct target_ops) <to_stop_recording>: Use
430 TARGET_DEFAULT_IGNORE.
432 2014-02-19 Tom Tromey <tromey@redhat.com>
434 * target-delegates.c: Rebuild.
435 * target.c (target_enable_btrace): Unconditionally delegate.
436 * target.h (struct target_ops) <to_enable_btrace>: Use
437 TARGET_DEFAULT_NORETURN.
439 2014-02-19 Tom Tromey <tromey@redhat.com>
441 * target-delegates.c: Rebuild.
442 * target.c (target_read_btrace): Unconditionally delegate.
443 * target.h (struct target_ops) <to_read_btrace>: Use
444 TARGET_DEFAULT_NORETURN.
446 2014-02-19 Tom Tromey <tromey@redhat.com>
448 * target-delegates.c: Rebuild.
449 * target.c (target_teardown_btrace): Unconditionally delegate.
450 * target.h (struct target_ops) <to_teardown_btrace>: Use
451 TARGET_DEFAULT_NORETURN.
453 2014-02-19 Tom Tromey <tromey@redhat.com>
455 * target-delegates.c: Rebuild.
456 * target.c (target_disable_btrace): Unconditionally delegate.
457 * target.h (struct target_ops) <to_disable_btrace>: Use
458 TARGET_DEFAULT_NORETURN.
460 2014-02-19 Tom Tromey <tromey@redhat.com>
462 * target-delegates.c: Rebuild.
463 * target.c (default_search_memory): New function.
464 (simple_search_memory): Update comment.
465 (target_search_memory): Unconditionally delegate.
466 * target.h (struct target_ops) <to_search_memory>: Use
469 2014-02-19 Tom Tromey <tromey@redhat.com>
471 * auxv.c (default_auxv_parse): No longer static.
472 (target_auxv_parse): Unconditionally delegate.
473 * auxv.h (default_auxv_parse): Declare.
474 * target-delegates.c: Rebuild.
475 * target.c: Include auxv.h.
476 * target.h (struct target_ops) <to_auxv_parse>: Use
479 2014-02-19 Tom Tromey <tromey@redhat.com>
481 * target-delegates.c: Rebuild.
482 * target.c (target_memory_map): Unconditionally delegate.
483 * target.h (struct target_ops) <to_memory_map>: Use
484 TARGET_DEFAULT_RETURN.
486 2014-02-19 Tom Tromey <tromey@redhat.com>
488 * target-delegates.c: Rebuild.
489 * target.c (target_thread_alive): Unconditionally delegate.
490 * target.h (struct target_ops) <to_thread_alive>: Use
491 TARGET_DEFAULT_RETURN.
493 2014-02-19 Tom Tromey <tromey@redhat.com>
495 * target-delegates.c: Rebuild.
496 * target.c (target_save_record): Unconditionally delegate.
497 * target.h (struct target_ops) <to_save_record>: Use
498 TARGET_DEFAULT_NORETURN.
500 2014-02-19 Tom Tromey <tromey@redhat.com>
502 * target-delegates.c: Rebuild.
503 * target.c (target_delete_record): Unconditionally delegate.
504 * target.h (struct target_ops) <to_delete_record>: Use
505 TARGET_DEFAULT_NORETURN.
507 2014-02-19 Tom Tromey <tromey@redhat.com>
509 * target-delegates.c: Rebuild.
510 * target.c (target_record_is_replaying): Unconditionally
512 * target.h (struct target_ops) <to_record_is_replaying>: Use
513 TARGET_DEFAULT_RETURN.
515 2014-02-19 Tom Tromey <tromey@redhat.com>
517 * target-delegates.c: Rebuild.
518 * target.c (target_goto_record_begin): Unconditionally delegate.
519 * target.h (struct target_ops) <to_goto_record_begin>: Use
520 TARGET_DEFAULT_NORETURN.
522 2014-02-19 Tom Tromey <tromey@redhat.com>
524 * target-delegates.c: Rebuild.
525 * target.c (target_goto_record_end): Unconditionally delegate.
526 * target.h (struct target_ops) <to_goto_record_end>: Use
527 TARGET_DEFAULT_NORETURN.
529 2014-02-19 Tom Tromey <tromey@redhat.com>
531 * target-delegates.c: Rebuild.
532 * target.c (target_goto_record): Unconditionally delegate.
533 * target.h (struct target_ops) <to_goto_record>: Use
534 TARGET_DEFAULT_NORETURN.
536 2014-02-19 Tom Tromey <tromey@redhat.com>
538 * target-delegates.c: Rebuild.
539 * target.c (target_insn_history): Unconditionally delegate.
540 * target.h (struct target_ops) <to_insn_history>: Use
541 TARGET_DEFAULT_NORETURN.
543 2014-02-19 Tom Tromey <tromey@redhat.com>
545 * target-delegates.c: Rebuild.
546 * target.c (target_insn_history_from): Unconditionally delegate.
547 * target.h (struct target_ops) <to_insn_history_from>: Use
548 TARGET_DEFAULT_NORETURN.
550 2014-02-19 Tom Tromey <tromey@redhat.com>
552 * target-delegates.c: Rebuild.
553 * target.c (target_insn_history_range): Unconditionally delegate.
554 * target.h (struct target_ops) <to_insn_history_range>: Use
555 TARGET_DEFAULT_NORETURN.
557 2014-02-19 Tom Tromey <tromey@redhat.com>
559 * target-delegates.c: Rebuild.
560 * target.c (target_call_history): Unconditionally delegate.
561 * target.h (struct target_ops) <to_call_history>: Use
562 TARGET_DEFAULT_NORETURN.
564 2014-02-19 Tom Tromey <tromey@redhat.com>
566 * target-delegates.c: Rebuild.
567 * target.c (target_call_history_from): Unconditionally delegate.
568 * target.h (struct target_ops) <to_call_history_from>: Use
569 TARGET_DEFAULT_NORETURN.
571 2014-02-19 Tom Tromey <tromey@redhat.com>
573 * target-delegates.c: Rebuild.
574 * target.c (target_call_history_range): Unconditionally delegate.
575 * target.h (struct target_ops) <to_call_history_range>: Use
576 TARGET_DEFAULT_NORETURN.
578 2014-02-19 Tom Tromey <tromey@redhat.com>
580 * target-delegates.c: Rebuild.
581 * target.c (target_verify_memory): Unconditionally delegate.
582 * target.h (struct target_ops) <to_verify_memory>: Use
583 TARGET_DEFAULT_NORETURN.
585 2014-02-19 Tom Tromey <tromey@redhat.com>
587 * target-delegates.c: Rebuild.
588 * target.c (target_core_of_thread): Unconditionally delegate.
589 * target.h (struct target_ops) <to_core_of_thread>: Use
590 TARGET_DEFAULT_RETURN.
592 2014-02-19 Tom Tromey <tromey@redhat.com>
594 * target-delegates.c: Rebuild.
595 * target.c (target_flash_done): Unconditionally delegate.
596 * target.h (struct target_ops) <to_flash_done>: Use
597 TARGET_DEFAULT_NORETURN.
599 2014-02-19 Tom Tromey <tromey@redhat.com>
601 * target-delegates.c: Rebuild.
602 * target.c (target_flash_erase): Unconditionally delegate.
603 * target.h (struct target_ops) <to_flash_erase>: Use
604 TARGET_DEFAULT_NORETURN.
606 2014-02-19 Tom Tromey <tromey@redhat.com>
608 * target-delegates.c: Rebuild.
609 * target.c (target_get_section_table): Unconditionally delegate.
610 * target.h (struct target_ops) <to_get_section_table>: Use
611 TARGET_DEFAULT_RETURN.
613 2014-02-19 Tom Tromey <tromey@redhat.com>
615 * target-delegates.c: Rebuild.
616 * target.c (target_pid_to_str): Unconditionally delegate.
617 (init_dummy_target): Don't initialize to_pid_to_str.
618 (default_pid_to_str): Rename from dummy_pid_to_str.
619 * target.h (struct target_ops) <to_pid_to_str>: Use
622 2014-02-19 Tom Tromey <tromey@redhat.com>
624 * target-delegates.c: Rebuild.
625 * target.c (target_find_new_threads): Unconditionally delegate.
626 * target.h (struct target_ops) <to_find_new_threads>: Use
627 TARGET_DEFAULT_RETURN.
629 2014-02-19 Tom Tromey <tromey@redhat.com>
631 * target-delegates.c: Rebuild.
632 * target.c (target_program_signals): Unconditionally delegate.
633 * target.h (struct target_ops) <to_program_signals>: Use
634 TARGET_DEFAULT_IGNORE.
636 2014-02-19 Tom Tromey <tromey@redhat.com>
638 * target-delegates.c: Rebuild.
639 * target.c (target_pass_signals): Unconditionally delegate.
640 * target.h (struct target_ops) <to_pass_signals>: Use
641 TARGET_DEFAULT_IGNORE.
643 2014-02-19 Tom Tromey <tromey@redhat.com>
645 * target-delegates.c: Rebuild.
646 * target.c (default_mourn_inferior): New function.
647 (target_mourn_inferior): Unconditionally delegate.
648 * target.h (struct target_ops) <to_mourn_inferior>: Use
651 2014-02-19 Tom Tromey <tromey@redhat.com>
653 * target-delegates.c: Rebuild.
654 * target.c (default_follow_fork): New function.
655 (target_follow_fork): Unconditionally delegate.
656 * target.h (struct target_ops) <to_follow_fork>: Use
659 2014-02-19 Tom Tromey <tromey@redhat.com>
661 * target-delegates.c: Rebuild.
662 * target.c (target_kill): Unconditionally delegate.
663 * target.h (struct target_ops) <to_kill>: Use
664 TARGET_DEFAULT_NORETURN.
666 2014-02-19 Tom Tromey <tromey@redhat.com>
668 * target-delegates.c: Rebuild.
669 * target.c (target_masked_watch_num_registers): Unconditionally
671 * target.h (struct target_ops) <to_masked_watch_num_registers>:
672 Use TARGET_DEFAULT_RETURN.
674 2014-02-19 Tom Tromey <tromey@redhat.com>
676 * target-delegates.c: Rebuild.
677 * target.c (target_remove_mask_watchpoint): Unconditionally
679 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
680 TARGET_DEFAULT_RETURN.
682 2014-02-19 Tom Tromey <tromey@redhat.com>
684 * target-delegates.c: Rebuild.
685 * target.c (target_insert_mask_watchpoint): Unconditionally
687 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
688 TARGET_DEFAULT_RETURN.
690 2014-02-19 Tom Tromey <tromey@redhat.com>
692 * target-delegates.c: Rebuild.
693 * target.c (target_ranged_break_num_registers): Unconditionally
695 * target.h (struct target_ops) <to_ranged_break_num_registers>:
696 Use TARGET_DEFAULT_RETURN.
698 2014-02-19 Tom Tromey <tromey@redhat.com>
700 * target-delegates.c: Rebuild.
701 * target.c (target_fetch_registers): Unconditionally delegate.
702 * target.h (struct target_ops) <to_fetch_registers>: Use
703 TARGET_DEFAULT_NORETURN.
705 2014-02-19 Tom Tromey <tromey@redhat.com>
707 * target-delegates.c: Rebuild.
708 * target.c (update_current_target): Don't inherit or default
710 * target.h (struct target_ops) <to_stop>: Use
711 TARGET_DEFAULT_IGNORE.
713 2014-02-19 Tom Tromey <tromey@redhat.com>
715 * target-delegates.c: Rebuild.
716 * target.c (update_current_target): Don't inherit or default
717 to_can_run_breakpoint_commands.
718 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
719 Use TARGET_DEFAULT_RETURN.
721 2014-02-19 Tom Tromey <tromey@redhat.com>
723 * target-delegates.c: Rebuild.
724 * target.c (update_current_target): Don't inherit or default
725 to_supports_evaluation_of_breakpoint_conditions.
726 * target.h (struct target_ops)
727 <to_supports_evaluation_of_breakpoint_conditions>: Use
728 TARGET_DEFAULT_RETURN.
730 2014-02-19 Tom Tromey <tromey@redhat.com>
732 * target-delegates.c: Rebuild.
733 * target.c (update_current_target): Don't inherit or default
734 to_augmented_libraries_svr4_read.
735 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
736 Use TARGET_DEFAULT_RETURN.
738 2014-02-19 Tom Tromey <tromey@redhat.com>
740 * target-delegates.c: Rebuild.
741 * target.c (update_current_target): Don't inherit or default
743 * target.h (struct target_ops) <to_can_use_agent>: Use
744 TARGET_DEFAULT_RETURN.
746 2014-02-19 Tom Tromey <tromey@redhat.com>
748 * target-delegates.c: Rebuild.
749 * target.c (update_current_target): Don't inherit or default
751 * target.h (struct target_ops) <to_use_agent>: Use
752 TARGET_DEFAULT_NORETURN.
754 2014-02-19 Tom Tromey <tromey@redhat.com>
756 * target-delegates.c: Rebuild.
757 * target.c (update_current_target): Don't inherit or default
759 (return_null): Remove.
760 * target.h (struct target_ops) <to_traceframe_info>: Use
761 TARGET_DEFAULT_RETURN.
763 2014-02-19 Tom Tromey <tromey@redhat.com>
765 * target-delegates.c: Rebuild.
766 * target.c (update_current_target): Don't inherit or default
767 to_static_tracepoint_markers_by_strid.
768 * target.h (struct target_ops)
769 <to_static_tracepoint_markers_by_strid>: Use
770 TARGET_DEFAULT_NORETURN.
772 2014-02-19 Tom Tromey <tromey@redhat.com>
774 * target-delegates.c: Rebuild.
775 * target.c (update_current_target): Don't inherit or default
776 to_static_tracepoint_marker_at.
777 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
778 Use TARGET_DEFAULT_RETURN.
780 2014-02-19 Tom Tromey <tromey@redhat.com>
782 * target-delegates.c: Rebuild.
783 * target.c (update_current_target): Don't inherit or default
785 * target.h (struct target_ops) <to_set_permissions>: Use
786 TARGET_DEFAULT_IGNORE.
788 2014-02-19 Tom Tromey <tromey@redhat.com>
790 * target-delegates.c: Rebuild.
791 * target.c (update_current_target): Don't inherit or default
793 * target.h (struct target_ops) <to_get_tib_address>: Use
794 TARGET_DEFAULT_NORETURN.
796 2014-02-19 Tom Tromey <tromey@redhat.com>
798 * target-delegates.c: Rebuild.
799 * target.c (update_current_target): Don't inherit or default
801 * target.h (struct target_ops) <to_set_trace_notes>: Use
802 TARGET_DEFAULT_RETURN.
804 2014-02-19 Tom Tromey <tromey@redhat.com>
806 * target-delegates.c: Rebuild.
807 * target.c (update_current_target): Don't initialize
808 to_set_trace_buffer_size.
809 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
810 TARGET_DEFAULT_IGNORE.
812 2014-02-19 Tom Tromey <tromey@redhat.com>
814 * target-delegates.c: Rebuild.
815 * target.c (update_current_target): Don't inherit or default
816 to_set_circular_trace_buffer.
817 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
818 TARGET_DEFAULT_IGNORE.
820 2014-02-19 Tom Tromey <tromey@redhat.com>
822 * target-delegates.c: Rebuild.
823 * target.c (update_current_target): Don't inherit or default
824 to_set_disconnected_tracing.
825 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
826 TARGET_DEFAULT_IGNORE.
828 2014-02-19 Tom Tromey <tromey@redhat.com>
830 * target-delegates.c: Rebuild.
831 * target.c (update_current_target): Don't inherit or default
832 to_get_min_fast_tracepoint_insn_len.
833 (return_minus_one): Remove.
834 * target.h (struct target_ops)
835 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
837 2014-02-19 Tom Tromey <tromey@redhat.com>
839 * target-delegates.c: Rebuild.
840 * target.c (update_current_target): Don't inherit or default
841 to_get_raw_trace_data.
842 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
843 TARGET_DEFAULT_NORETURN.
845 2014-02-19 Tom Tromey <tromey@redhat.com>
847 * target-delegates.c: Rebuild.
848 * target.c (update_current_target): Don't inherit or default
849 to_upload_trace_state_variables.
850 * target.h (struct target_ops) <to_upload_trace_state_variables>:
851 Use TARGET_DEFAULT_RETURN.
853 2014-02-19 Tom Tromey <tromey@redhat.com>
855 * target-delegates.c: Rebuild.
856 * target.c (update_current_target): Don't inherit or default
857 to_upload_tracepoints.
858 * target.h (struct target_ops) <to_upload_tracepoints>: Use
859 TARGET_DEFAULT_RETURN.
861 2014-02-19 Tom Tromey <tromey@redhat.com>
863 * target-delegates.c: Rebuild.
864 * target.c (update_current_target): Don't inherit or default
866 * target.h (struct target_ops) <to_save_trace_data>: Use
867 TARGET_DEFAULT_NORETURN.
869 2014-02-19 Tom Tromey <tromey@redhat.com>
871 * target-delegates.c: Rebuild.
872 * target.c (update_current_target): Don't inherit or default
873 to_get_trace_state_variable_value.
874 * target.h (struct target_ops)
875 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
877 2014-02-19 Tom Tromey <tromey@redhat.com>
879 * target-delegates.c: Rebuild.
880 * target.c (update_current_target): Don't inherit or default
882 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
884 2014-02-19 Tom Tromey <tromey@redhat.com>
886 * target-delegates.c: Rebuild.
887 * target.c (update_current_target): Don't inherit or default
889 * target.h (struct target_ops) <to_trace_stop>: Use
890 TARGET_DEFAULT_NORETURN.
892 2014-02-19 Tom Tromey <tromey@redhat.com>
894 * target-delegates.c: Rebuild.
895 * target.c (update_current_target): Don't inherit or default
896 to_get_tracepoint_status.
897 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
898 TARGET_DEFAULT_NORETURN.
900 2014-02-19 Tom Tromey <tromey@redhat.com>
902 * target-delegates.c: Rebuild.
903 * target.c (update_current_target): Don't inherit or default
905 * target.h (struct target_ops) <to_get_trace_status>: Use
906 TARGET_DEFAULT_RETURN.
908 2014-02-19 Tom Tromey <tromey@redhat.com>
910 * target-delegates.c: Rebuild.
911 * target.c (update_current_target): Don't inherit or default
913 * target.h (struct target_ops) <to_trace_start>: Use
914 TARGET_DEFAULT_NORETURN.
916 2014-02-19 Tom Tromey <tromey@redhat.com>
918 * target-delegates.c: Rebuild.
919 * target.c (update_current_target): Don't inherit or default
920 to_trace_set_readonly_regions.
921 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
922 Use TARGET_DEFAULT_NORETURN.
924 2014-02-19 Tom Tromey <tromey@redhat.com>
926 * target-delegates.c: Rebuild.
927 * target.c (update_current_target): Don't inherit or default
928 to_disable_tracepoint.
929 * target.h (struct target_ops) <to_disable_tracepoint>: Use
930 TARGET_DEFAULT_NORETURN.
932 2014-02-19 Tom Tromey <tromey@redhat.com>
934 * target-delegates.c: Rebuild.
935 * target.c (update_current_target): Don't inherit or default
936 to_enable_tracepoint.
937 * target.h (struct target_ops) <to_enable_tracepoint>: Use
938 TARGET_DEFAULT_NORETURN.
940 2014-02-19 Tom Tromey <tromey@redhat.com>
942 * target-delegates.c: Rebuild.
943 * target.c (update_current_target): Don't inherit or default
944 to_download_trace_state_variable.
945 * target.h (struct target_ops) <to_download_trace_state_variable>:
946 Use 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
952 to_can_download_tracepoint.
953 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
954 TARGET_DEFAULT_RETURN.
956 2014-02-19 Tom Tromey <tromey@redhat.com>
958 * target-delegates.c: Rebuild.
959 * target.c (update_current_target): Don't inherit or default
960 to_download_tracepoint.
961 * target.h (struct target_ops) <to_download_tracepoint>: Use
962 TARGET_DEFAULT_NORETURN.
964 2014-02-19 Tom Tromey <tromey@redhat.com>
966 * target-delegates.c: Rebuild.
967 * target.c (update_current_target): Don't inherit or default
969 * target.h (struct target_ops) <to_trace_init>: Use
970 TARGET_DEFAULT_RETURN.
972 2014-02-19 Tom Tromey <tromey@redhat.com>
974 * target-delegates.c: Rebuild.
975 * target.c (update_current_target): Don't inherit or default
976 to_supports_string_tracing.
977 * target.h (struct target_ops) <to_supports_string_tracing>: Use
978 TARGET_DEFAULT_RETURN.
980 2014-02-19 Tom Tromey <tromey@redhat.com>
982 * target-delegates.c: Rebuild.
983 * target.c (update_current_target): Don't inherit or default
984 to_supports_enable_disable_tracepoint.
985 * target.h (struct target_ops)
986 <to_supports_enable_disable_tracepoint>: Use
987 TARGET_DEFAULT_RETURN.
989 2014-02-19 Tom Tromey <tromey@redhat.com>
991 * target-delegates.c: Rebuild.
992 * target.c (update_current_target): Don't inherit or default
993 to_supports_multi_process.
994 * target.h (struct target_ops) <to_supports_multi_process>: Use
995 TARGET_DEFAULT_RETURN.
997 2014-02-19 Tom Tromey <tromey@redhat.com>
999 * target-delegates.c: Rebuild.
1000 * target.c (update_current_target): Don't inherit or default
1001 to_get_ada_task_ptid.
1002 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
1003 TARGET_DEFAULT_FUNC.
1005 2014-02-19 Tom Tromey <tromey@redhat.com>
1007 * target-delegates.c: Rebuild.
1008 * target.c (update_current_target): Don't inherit or default
1009 to_thread_architecture.
1010 * target.h (struct target_ops) <to_thread_architecture>: Use
1011 TARGET_DEFAULT_FUNC.
1013 2014-02-19 Tom Tromey <tromey@redhat.com>
1015 * target-delegates.c: Rebuild.
1016 * target.c (update_current_target): Don't inherit or default
1017 to_execution_direction.
1018 * target.h (struct target_ops) <to_execution_direction>: Use
1019 TARGET_DEFAULT_FUNC.
1021 2014-02-19 Tom Tromey <tromey@redhat.com>
1023 * target-delegates.c: Rebuild.
1024 * target.c (update_current_target): Don't inherit or default
1025 to_can_execute_reverse.
1026 * target.h (struct target_ops) <to_can_execute_reverse>: Use
1027 TARGET_DEFAULT_RETURN.
1028 (target_can_execute_reverse): Unconditionally delegate.
1030 2014-02-19 Tom Tromey <tromey@redhat.com>
1032 * target-delegates.c: Rebuild.
1033 * target.c (update_current_target): Don't inherit or default
1035 (dummy_goto_bookmark): Remove.
1036 (init_dummy_target): Don't inherit or default to_goto_bookmark.
1037 * target.h (struct target_ops) <to_goto_bookmark>: Use
1038 TARGET_DEFAULT_NORETURN.
1040 2014-02-19 Tom Tromey <tromey@redhat.com>
1042 * target-delegates.c: Rebuild.
1043 * target.c (update_current_target): Don't inherit or default
1045 (dummy_get_bookmark): Remove.
1046 (init_dummy_target): Don't inherit or default to_get_bookmark.
1047 * target.h (struct target_ops) <to_get_bookmark>: Use
1048 TARGET_DEFAULT_NORETURN
1050 2014-02-19 Tom Tromey <tromey@redhat.com>
1052 * target-delegates.c: Rebuild.
1053 * target.c (update_current_target): Don't inherit or default
1054 to_make_corefile_notes.
1055 (init_dummy_target): Don't initialize to_make_corefile_notes.
1056 * target.h (struct target_ops) <to_make_corefile_notes>: Use
1057 TARGET_DEFAULT_FUNC.
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_find_memory_regions.
1064 (init_dummy_target): Don't initialize to_find_memory_regions.
1065 * target.h (struct target_ops) <to_find_memory_regions>: Use
1066 TARGET_DEFAULT_FUNC.
1068 2014-02-19 Tom Tromey <tromey@redhat.com>
1070 * target-delegates.c: Rebuild.
1071 * target.c (update_current_target): Don't inherit or default
1073 * target.h (struct target_ops) <to_log_command>: Use
1074 TARGET_DEFAULT_IGNORE.
1075 (target_log_command): Unconditionally delegate.
1077 2014-02-19 Tom Tromey <tromey@redhat.com>
1079 * target-delegates.c: Rebuild.
1080 * target.c (update_current_target): Don't inherit or default
1081 to_pid_to_exec_file.
1082 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
1083 TARGET_DEFAULT_RETURN.
1085 2014-02-19 Tom Tromey <tromey@redhat.com>
1087 * target-delegates.c: Rebuild.
1088 * target.c (update_current_target): Don't inherit or default
1090 (target_thread_name): Unconditionally delegate.
1091 * target.h (struct target_ops) <to_thread_name>: Use
1092 TARGET_DEFAULT_RETURN.
1094 2014-02-19 Tom Tromey <tromey@redhat.com>
1096 * target-delegates.c: Rebuild.
1097 * target.c (update_current_target): Don't inherit or default
1098 to_extra_thread_info.
1099 * target.h (struct target_ops) <to_extra_thread_info>: Use
1100 TARGET_DEFAULT_RETURN.
1102 2014-02-19 Tom Tromey <tromey@redhat.com>
1104 * target-delegates.c: Rebuild.
1105 * target.c (update_current_target): Don't inherit or default
1107 * target.h (struct target_ops) <to_has_exited>: Use
1108 TARGET_DEFAULT_RETURN..
1110 2014-02-19 Tom Tromey <tromey@redhat.com>
1112 * target-delegates.c: Rebuild.
1113 * target.c (update_current_target): Don't inherit or default
1114 to_set_syscall_catchpoint.
1115 (return_one): Remove.
1116 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
1117 TARGET_DEFAULT_RETURN.
1119 2014-02-19 Tom Tromey <tromey@redhat.com>
1121 * target-delegates.c: Rebuild.
1122 * target.c (update_current_target): Don't inherit or default
1123 to_insert_exec_catchpoint.
1124 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1125 TARGET_DEFAULT_RETURN.
1127 2014-01-08 Tom Tromey <tromey@redhat.com>
1129 * target-delegates.c: Rebuild.
1130 * target.c (update_current_target): Don't inherit or default
1131 to_insert_exec_catchpoint.
1132 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1133 TARGET_DEFAULT_RETURN.
1135 2014-02-19 Tom Tromey <tromey@redhat.com>
1137 * target-delegates.c: Rebuild.
1138 * target.c (update_current_target): Don't inherit or default
1139 to_remove_vfork_catchpoint.
1140 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
1141 TARGET_DEFAULT_RETURN.
1143 2014-02-19 Tom Tromey <tromey@redhat.com>
1145 * target-delegates.c: Rebuild.
1146 * target.c (update_current_target): Don't inherit or default
1147 to_insert_vfork_catchpoint.
1148 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
1149 TARGET_DEFAULT_RETURN.
1151 2014-02-19 Tom Tromey <tromey@redhat.com>
1153 * target-delegates.c: Rebuild.
1154 * target.c (update_current_target): Don't inherit or default
1155 to_remove_fork_catchpoint.
1156 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
1157 TARGET_DEFAULT_RETURN.
1159 2014-02-19 Tom Tromey <tromey@redhat.com>
1161 * target-delegates.c: Rebuild.
1162 * target.c (update_current_target): Don't inherit or default
1163 to_insert_fork_catchpoint.
1164 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
1165 TARGET_DEFAULT_RETURN.
1167 2014-02-19 Tom Tromey <tromey@redhat.com>
1169 * target-delegates.c: Rebuild.
1170 * target.c (update_current_target): Don't inherit or default
1171 to_post_startup_inferior.
1172 * target.h (struct target_ops) <to_post_startup_inferior>: Use
1173 TARGET_DEFAULT_IGNORE.
1175 2014-02-19 Tom Tromey <tromey@redhat.com>
1177 * target-delegates.c: Rebuild.
1178 * target.c (update_current_target): Don't inherit or default
1180 * target.h (struct target_ops) <to_load>: Use
1181 TARGET_DEFAULT_NORETURN.
1183 2014-02-19 Tom Tromey <tromey@redhat.com>
1185 * target-delegates.c: Rebuild.
1186 * target.c (update_current_target): Don't inherit or default
1188 * target.h (struct target_ops) <to_terminal_info>: Use
1189 TARGET_DEFAULT_FUNC.
1191 2014-02-19 Tom Tromey <tromey@redhat.com>
1193 * target-delegates.c: Rebuild.
1194 * target.c (update_current_target): Don't inherit or default
1195 to_terminal_save_ours.
1196 * target.h (struct target_ops) <to_terminal_save_ours>: Use
1197 TARGET_DEFAULT_IGNORE.
1199 2014-02-19 Tom Tromey <tromey@redhat.com>
1201 * target-delegates.c: Rebuild.
1202 * target.c (update_current_target): Don't inherit or default
1204 * target.h (struct target_ops) <to_terminal_ours>: Use
1205 TARGET_DEFAULT_IGNORE.
1207 2014-02-19 Tom Tromey <tromey@redhat.com>
1209 * target-delegates.c: Rebuild.
1210 * target.c (update_current_target): Don't inherit or default
1211 to_terminal_ours_for_output.
1212 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
1213 TARGET_DEFAULT_IGNORE.
1215 2014-02-19 Tom Tromey <tromey@redhat.com>
1217 * target-delegates.c: Rebuild.
1218 * target.c (update_current_target): Don't inherit or default
1219 to_terminal_inferior.
1220 * target.h (struct target_ops) <to_terminal_inferior>: Use
1221 TARGET_DEFAULT_IGNORE.
1223 2014-02-19 Tom Tromey <tromey@redhat.com>
1225 * target-delegates.c: Rebuild.
1226 * target.c (update_current_target): Don't inherit or default
1228 * target.h (struct target_ops) <to_terminal_init>: Use
1229 TARGET_DEFAULT_IGNORE.
1231 2014-02-19 Tom Tromey <tromey@redhat.com>
1233 * target-delegates.c: Rebuild.
1234 * target.c (update_current_target): Don't inherit or default
1235 to_can_accel_watchpoint_condition.
1236 * target.h (struct target_ops)
1237 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
1239 2014-02-19 Tom Tromey <tromey@redhat.com>
1241 * target-delegates.c: Rebuild.
1242 * target.c (update_current_target): Don't inherit or default
1243 to_region_ok_for_hw_watchpoint.
1244 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1245 Use TARGET_DEFAULT_FUNC.
1247 2014-02-19 Tom Tromey <tromey@redhat.com>
1249 * target-delegates.c: Rebuild.
1250 * target.c (update_current_target): Don't inherit or default
1251 to_watchpoint_addr_within_range.
1252 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
1253 Use TARGET_DEFAULT_FUNC.
1255 2014-02-19 Tom Tromey <tromey@redhat.com>
1257 * target-delegates.c: Rebuild.
1258 * target.c (update_current_target): Don't inherit or default
1259 to_remove_watchpoint.
1260 * target.h (struct target_ops) <to_remove_watchpoint>: Use
1261 TARGET_DEFAULT_NORETURN.
1263 2014-02-19 Tom Tromey <tromey@redhat.com>
1265 * target-delegates.c: Rebuild.
1266 * target.c (update_current_target): Don't inherit or default
1267 to_insert_watchpoint.
1268 * target.h (struct target_ops) <to_insert_watchpoint>: Use
1269 TARGET_DEFAULT_RETURN.
1271 2014-02-19 Tom Tromey <tromey@redhat.com>
1273 * target-delegates.c: Rebuild.
1274 * target.c (update_current_target): Don't inherit or default
1275 to_remove_hw_breakpoint.
1276 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
1277 TARGET_DEFAULT_RETURN.
1279 2014-02-19 Tom Tromey <tromey@redhat.com>
1281 * target-delegates.c: Rebuild.
1282 * target.c (update_current_target): Don't inherit or default
1283 to_insert_hw_breakpoint.
1284 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
1285 TARGET_DEFAULT_RETURN.
1287 2014-02-19 Tom Tromey <tromey@redhat.com>
1289 * target-delegates.c: Rebuild.
1290 * target.c (update_current_target): Don't inherit or default
1291 to_can_use_hw_breakpoint.
1292 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
1293 TARGET_DEFAULT_RETURN.
1295 2014-02-19 Tom Tromey <tromey@redhat.com>
1297 * target-delegates.c: Rebuild.
1298 * target.c (update_current_target): Don't inherit or default
1300 * target.h (struct target_ops) <to_files_info>: Use
1301 TARGET_DEFAULT_IGNORE.
1303 2014-02-19 Tom Tromey <tromey@redhat.com>
1305 * target-delegates.c: Rebuild.
1306 * target.c (update_current_target): Don't inherit or default
1308 * target.h (struct target_ops) <to_store>: Use
1309 TARGET_DEFAULT_NORETURN.
1311 2014-02-19 Tom Tromey <tromey@redhat.com>
1313 * target-delegates.c: Rebuild.
1314 * target.c (update_current_target): Don't inherit or default
1316 * target.h (struct target_ops) <to_post_attach>: Use
1317 TARGET_DEFAULT_IGNORE.
1319 2014-02-19 Tom Tromey <tromey@redhat.com>
1321 * target-delegates.c: Rebuild.
1322 * target.c (update_current_target): Don't inherit or default
1324 (default_rcmd): New function.
1325 (do_monitor_command): Unconditionally delegate.
1326 * target.h (struct target_ops) <to_rmcd>: Use
1327 TARGET_DEFAULT_FUNC.
1329 2014-02-19 Tom Tromey <tromey@redhat.com>
1331 * target-delegates.c: Rebuild.
1332 * target.c (init_dummy_target): Don't initialize to_attach.
1333 (target_attach): Unconditionally delegate.
1334 * target.h (struct target_ops) <to_attach>: Use
1335 TARGET_DEFAULT_FUNC.
1337 2014-02-19 Tom Tromey <tromey@redhat.com>
1339 * target-delegates.c: Rebuild.
1340 * target.c (target_detach): Unconditionally delegate.
1341 (init_dummy_target): Don't initialize to_detach.
1342 * target.h (struct target_ops) <to_detach>: Use
1343 TARGET_DEFAULT_IGNORE.
1345 2014-02-19 Tom Tromey <tromey@redhat.com>
1347 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1349 (target_augmented_libraries_svr4_read): Add argument.
1350 * target.c (update_current_target): Update.
1351 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
1354 2014-02-19 Tom Tromey <tromey@redhat.com>
1356 * target.h (struct target_ops) <to_call_history_range>: Add
1358 * target.c (target_call_history_range): Add argument.
1359 * record-btrace.c (record_btrace_call_history_range): Add 'self'
1361 (record_btrace_call_history_from): Update.
1363 2014-02-19 Tom Tromey <tromey@redhat.com>
1365 * target.h (struct target_ops) <to_call_history_from>: Add
1367 * target.c (target_call_history_from): Add argument.
1368 * record-btrace.c (record_btrace_call_history_from): Add 'self'
1371 2014-02-19 Tom Tromey <tromey@redhat.com>
1373 * target.h (struct target_ops) <to_call_history>: Add argument.
1374 * target.c (target_call_history): Add argument.
1375 * record-btrace.c (record_btrace_call_history): Add 'self'
1378 2014-02-19 Tom Tromey <tromey@redhat.com>
1380 * target.h (struct target_ops) <to_insn_history_range>: Add
1382 * target.c (target_insn_history_range): Add argument.
1383 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
1385 (record_btrace_insn_history_from): Update.
1387 2014-02-19 Tom Tromey <tromey@redhat.com>
1389 * target.h (struct target_ops) <to_insn_history_from>: Add
1391 * target.c (target_insn_history_from): Add argument.
1392 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
1395 2014-02-19 Tom Tromey <tromey@redhat.com>
1397 * target.h (struct target_ops) <to_insn_history>: Add argument.
1398 * target.c (target_insn_history): Add argument.
1399 * record-btrace.c (record_btrace_insn_history): Add 'self'
1402 2014-02-19 Tom Tromey <tromey@redhat.com>
1404 * target.h (struct target_ops) <to_goto_record>: Add argument.
1405 * target.c (target_goto_record): Add argument.
1406 * record-full.c (record_full_goto): Add 'self' argument.
1407 * record-btrace.c (record_btrace_goto): Add 'self' argument.
1409 2014-02-19 Tom Tromey <tromey@redhat.com>
1411 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
1412 * target.c (target_goto_record_end): Add argument.
1413 * record-full.c (record_full_goto_end): Add 'self' argument.
1414 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
1416 2014-02-19 Tom Tromey <tromey@redhat.com>
1418 * target.h (struct target_ops) <to_goto_record_begin>: Add
1420 * target.c (target_goto_record_begin): Add argument.
1421 * record-full.c (record_full_goto_begin): Add 'self' argument.
1422 * record-btrace.c (record_btrace_goto_begin): Add 'self'
1425 2014-02-19 Tom Tromey <tromey@redhat.com>
1427 * target.h (struct target_ops) <to_record_is_replaying>: Add
1429 * target.c (target_record_is_replaying): Add argument.
1430 * record-full.c (record_full_is_replaying): Add 'self' argument.
1431 * record-btrace.c (record_btrace_is_replaying): Add 'self'
1433 (record_btrace_xfer_partial, record_btrace_store_registers)
1434 (record_btrace_prepare_to_store, record_btrace_resume)
1435 (record_btrace_wait, record_btrace_decr_pc_after_break)
1436 (record_btrace_find_new_threads, record_btrace_thread_alive):
1439 2014-02-19 Tom Tromey <tromey@redhat.com>
1441 * target.h (struct target_ops) <to_delete_record>: Add argument.
1442 * target.c (target_delete_record): Add argument.
1443 * record-full.c (record_full_delete): Add 'self' argument.
1445 2014-02-19 Tom Tromey <tromey@redhat.com>
1447 * target.h (struct target_ops) <to_save_record>: Add argument.
1448 * target.c (target_save_record): Add argument.
1449 * record-full.c (record_full_save): Add 'self' argument.
1450 (record_full_save): Add 'self' argument.
1452 2014-02-19 Tom Tromey <tromey@redhat.com>
1454 * target.h (struct target_ops) <to_info_record>: Add argument.
1455 * target.c (target_info_record): Add argument.
1456 * record.c (info_record_command): Add argument.
1457 * record-full.c (record_full_info): Add 'self' argument.
1458 * record-btrace.c (record_btrace_info): Add 'self' argument.
1460 2014-02-19 Tom Tromey <tromey@redhat.com>
1462 * target.h (struct target_ops) <to_stop_recording>: Add argument.
1463 * target.c (target_stop_recording): Add argument.
1464 * record.c (record_stop): Add argument.
1465 * record-btrace.c (record_btrace_stop_recording): Add 'self'
1468 2014-02-19 Tom Tromey <tromey@redhat.com>
1470 * target.h (struct target_ops) <to_read_btrace>: Add argument.
1471 * target.c (struct target_ops) <to_read_btrace>: Add argument.
1472 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
1474 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
1475 (_initialize_amd64_linux_nat): Use it.
1476 * i386-linux-nat.c (i386_linux_read_btrace): New function.
1477 (_initialize_i386_linux_nat): Use it.
1479 2014-02-19 Tom Tromey <tromey@redhat.com>
1481 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
1482 * target.c (target_teardown_btrace): Add argument.
1483 * remote.c (remote_teardown_btrace): Add 'self' argument.
1484 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
1486 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
1489 2014-02-19 Tom Tromey <tromey@redhat.com>
1491 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
1492 * target.c (target_disable_btrace): Add argument.
1493 * remote.c (remote_disable_btrace): Add 'self' argument.
1494 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
1496 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
1499 2014-02-19 Tom Tromey <tromey@redhat.com>
1501 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
1502 * target.c (target_enable_btrace): Add argument.
1503 * remote.c (remote_enable_btrace): Add 'self' argument.
1504 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
1506 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
1509 2014-02-19 Tom Tromey <tromey@redhat.com>
1511 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
1512 (target_can_use_agent): Add argument.
1513 * target.c (update_current_target): Update.
1514 * remote.c (remote_can_use_agent): Add 'self' argument.
1515 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
1517 2014-02-19 Tom Tromey <tromey@redhat.com>
1519 * target.h (struct target_ops) <to_use_agent>: Add argument.
1520 (target_use_agent): Add argument.
1521 * target.c (update_current_target): Update.
1522 * remote.c (remote_use_agent): Add 'self' argument.
1523 * inf-child.c (inf_child_use_agent): Add 'self' argument.
1525 2014-02-19 Tom Tromey <tromey@redhat.com>
1527 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
1528 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
1529 (target_traceframe_info): Add argument.
1530 * target.c (update_current_target): Update.
1531 * remote.c (remote_traceframe_info): Add 'self' argument.
1532 * ctf.c (ctf_traceframe_info): Add 'self' argument.
1534 2014-02-19 Tom Tromey <tromey@redhat.com>
1536 * target.h (target_static_tracepoint_markers_by_strid): Add
1538 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
1540 * target.c (update_current_target): Update.
1541 * remote.c (struct target_ops)
1542 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1543 * linux-nat.c (struct target_ops)
1544 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1546 2014-02-19 Tom Tromey <tromey@redhat.com>
1548 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1550 (target_static_tracepoint_marker_at): Add argument.
1551 * target.c (update_current_target): Update.
1552 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
1555 2014-02-19 Tom Tromey <tromey@redhat.com>
1557 * target.h (struct target_ops) <to_set_permissions>: Add argument.
1558 (target_set_permissions): Add argument.
1559 * target.c (update_current_target): Update.
1560 * remote.c (remote_set_permissions): Add 'self' argument.
1561 (remote_start_remote): Update.
1563 2014-02-19 Tom Tromey <tromey@redhat.com>
1565 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
1566 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
1567 (target_get_tib_address): Add argument.
1568 * target.c (update_current_target): Update.
1569 * remote.c (remote_get_tib_address): Add 'self' argument.
1571 2014-02-19 Tom Tromey <tromey@redhat.com>
1573 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
1574 (target_set_trace_notes): Add argument.
1575 * target.c (update_current_target): Update.
1576 * remote.c (remote_set_trace_notes): Add 'self' argument.
1578 2014-02-19 Tom Tromey <tromey@redhat.com>
1580 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
1582 (target_set_trace_buffer_size): Add argument.
1583 * target.c (update_current_target): Update.
1584 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
1586 2014-02-19 Tom Tromey <tromey@redhat.com>
1588 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
1590 (target_set_circular_trace_buffer): Add argument.
1591 * target.c (update_current_target): Update.
1592 * remote.c (remote_set_circular_trace_buffer): Add 'self'
1595 2014-02-19 Tom Tromey <tromey@redhat.com>
1597 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
1599 (target_set_disconnected_tracing): Add argument.
1600 * target.c (update_current_target): Update.
1601 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
1603 2014-02-19 Tom Tromey <tromey@redhat.com>
1605 * target.h (struct target_ops)
1606 <to_get_min_fast_tracepoint_insn_len>: Add argument.
1607 (target_get_min_fast_tracepoint_insn_len): Add argument.
1608 * target.c (update_current_target): Update.
1609 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
1612 2014-02-19 Tom Tromey <tromey@redhat.com>
1614 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
1616 (target_get_raw_trace_data): Add argument.
1617 * target.c (update_current_target): Update.
1618 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
1620 2014-02-19 Tom Tromey <tromey@redhat.com>
1622 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1624 (target_upload_trace_state_variables): Add argument.
1625 * target.c (update_current_target): Update.
1626 * remote.c (remote_upload_trace_state_variables): Add 'self'
1628 (remote_start_remote): Update.
1630 2014-02-19 Tom Tromey <tromey@redhat.com>
1632 * target.h (struct target_ops) <to_upload_tracepoints>: Add
1634 (target_upload_tracepoints): Add argument.
1635 * target.c (update_current_target): Update.
1636 * remote.c (remote_upload_tracepoints): Add 'self' argument.
1637 (remote_start_remote): Update.
1639 2014-02-19 Tom Tromey <tromey@redhat.com>
1641 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
1642 (target_save_trace_data): Add argument.
1643 * target.c (update_current_target): Update.
1644 * remote.c (remote_save_trace_data): Add 'self' argument.
1646 2014-02-19 Tom Tromey <tromey@redhat.com>
1648 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
1650 * target.h (struct target_ops)
1651 <to_get_trace_state_variable_value>: Add argument.
1652 (target_get_trace_state_variable_value): Add argument.
1653 * target.c (update_current_target): Update.
1654 * remote.c (remote_get_trace_state_variable_value): Add 'self'
1656 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
1658 2014-02-19 Tom Tromey <tromey@redhat.com>
1660 * tracepoint.c (tfile_trace_find): Add 'self' argument.
1661 * target.h (struct target_ops) <to_trace_find>: Add argument.
1662 (target_trace_find): Add argument.
1663 * target.c (update_current_target): Update.
1664 * remote.c (remote_trace_find): Add 'self' argument.
1665 * ctf.c (ctf_trace_find): Add 'self' argument.
1667 2014-02-19 Tom Tromey <tromey@redhat.com>
1669 * target.h (struct target_ops) <to_trace_stop>: Add argument.
1670 (target_trace_stop): Add argument.
1671 * target.c (update_current_target): Update.
1672 * remote.c (remote_trace_stop): Add 'self' argument.
1674 2014-02-19 Tom Tromey <tromey@redhat.com>
1676 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
1677 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
1679 (target_get_tracepoint_status): Add argument.
1680 * target.c (update_current_target): Update.
1681 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
1683 2014-02-19 Tom Tromey <tromey@redhat.com>
1685 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
1686 * target.h (struct target_ops) <to_get_trace_status>: Add
1688 (target_get_trace_status): Add argument.
1689 * target.c (update_current_target): Update.
1690 * remote.c (remote_get_trace_status): Add 'self' argument.
1691 (remote_start_remote, remote_can_download_tracepoint): Update.
1692 * ctf.c (ctf_get_trace_status): Add 'self' argument.
1694 2014-02-19 Tom Tromey <tromey@redhat.com>
1696 * target.h (struct target_ops) <to_trace_start>: Add argument.
1697 (target_trace_start): Add argument.
1698 * target.c (update_current_target): Update.
1699 * remote.c (remote_trace_start): Add 'self' argument.
1701 2014-02-19 Tom Tromey <tromey@redhat.com>
1703 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1705 (target_trace_set_readonly_regions): Add argument.
1706 * target.c (update_current_target): Update.
1707 * remote.c (remote_trace_set_readonly_regions): Add 'self'
1710 2014-02-19 Tom Tromey <tromey@redhat.com>
1712 * target.h (struct target_ops) <to_disable_tracepoint>: Add
1714 (target_disable_tracepoint): Add argument.
1715 * target.c (update_current_target): Update.
1716 * remote.c (remote_disable_tracepoint): Add 'self' argument.
1718 2014-02-19 Tom Tromey <tromey@redhat.com>
1720 * target.h (struct target_ops) <to_enable_tracepoint>: Add
1722 (target_enable_tracepoint): Add argument.
1723 * target.c (update_current_target): Update.
1724 * remote.c (remote_enable_tracepoint): Add 'self' argument.
1726 2014-02-19 Tom Tromey <tromey@redhat.com>
1728 * target.h (struct target_ops) <to_download_trace_state_variable>:
1730 (target_download_trace_state_variable): Add argument.
1731 * target.c (update_current_target): Update.
1732 * remote.c (remote_download_trace_state_variable): Add 'self'
1735 2014-02-19 Tom Tromey <tromey@redhat.com>
1737 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
1739 (target_can_download_tracepoint): Add argument.
1740 * target.c (update_current_target): Update.
1741 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
1743 2014-02-19 Tom Tromey <tromey@redhat.com>
1745 * target.h (struct target_ops) <to_download_tracepoint>: Add
1747 (target_download_tracepoint): Add argument.
1748 * target.c (update_current_target): Update.
1749 * remote.c (remote_download_tracepoint): Add 'self' argument.
1751 2014-02-19 Tom Tromey <tromey@redhat.com>
1753 * target.h (struct target_ops) <to_trace_init>: Add argument.
1754 (target_trace_init): Add argument.
1755 * target.c (update_current_target): Update.
1756 * remote.c (remote_trace_init): Add 'self' argument.
1758 2014-02-19 Tom Tromey <tromey@redhat.com>
1760 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
1761 * target.c (target_fileio_readlink): Add argument.
1762 * remote.c (remote_hostio_readlink): Add 'self' argument.
1763 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
1765 2014-02-19 Tom Tromey <tromey@redhat.com>
1767 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
1768 * target.c (target_fileio_unlink): Add argument.
1769 * remote.c (remote_hostio_unlink): Add 'self' argument.
1770 (remote_file_delete): Update.
1771 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
1773 2014-02-19 Tom Tromey <tromey@redhat.com>
1775 * target.h (struct target_ops) <to_fileio_close>: Add argument.
1776 * target.c (target_fileio_close): Add argument.
1777 * remote.c (remote_hostio_close): Add 'self' argument.
1778 (remote_hostio_close_cleanup): Update.
1779 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
1781 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
1783 2014-02-19 Tom Tromey <tromey@redhat.com>
1785 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
1786 * target.c (target_fileio_pread): Add argument.
1787 * remote.c (remote_hostio_pread): Add 'self' argument.
1788 (remote_bfd_iovec_pread, remote_file_get): Update.
1789 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
1791 2014-02-19 Tom Tromey <tromey@redhat.com>
1793 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
1794 * target.c (target_fileio_pwrite): Add argument.
1795 * remote.c (remote_hostio_pwrite): Add 'self' argument.
1796 (remote_file_put): Update.
1797 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
1799 2014-02-19 Tom Tromey <tromey@redhat.com>
1801 * target.h (struct target_ops) <to_fileio_open>: Add argument.
1802 * target.c (target_fileio_open): Add argument.
1803 * remote.c (remote_hostio_open): Add 'self' argument.
1804 (remote_bfd_iovec_open): Add 'self' argument.
1805 (remote_file_put): Add 'self' argument.
1806 (remote_file_get): Add 'self' argument.
1807 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
1809 2014-02-19 Tom Tromey <tromey@redhat.com>
1811 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1813 (target_can_run_breakpoint_commands): Add argument.
1814 * target.c (update_current_target): Update.
1815 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
1817 (remote_insert_breakpoint): Add 'self' argument.
1818 (remote_insert_hw_breakpoint): Add 'self' argument.
1819 (remote_can_run_breakpoint_commands): Add 'self' argument.
1821 2014-02-19 Tom Tromey <tromey@redhat.com>
1823 * target.h (struct target_ops)
1824 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
1825 (target_supports_evaluation_of_breakpoint_conditions): Add
1827 * target.c (update_current_target): Update.
1828 * remote.c (remote_supports_cond_breakpoints): Add 'self'
1830 (remote_insert_breakpoint): Add 'self' argument.
1831 (remote_insert_hw_breakpoint): Add 'self' argument.
1832 (remote_supports_cond_breakpoints): Add 'self' argument.
1834 2014-02-19 Tom Tromey <tromey@redhat.com>
1836 * target.h (struct target_ops) <to_supports_string_tracing>: Add
1838 (target_supports_string_tracing): Add argument.
1839 * target.c (update_current_target): Update.
1840 * remote.c (remote_supports_string_tracing): Add 'self' argument.
1842 2014-02-19 Tom Tromey <tromey@redhat.com>
1844 * target.h (struct target_ops)
1845 <to_supports_disable_randomization>: Add argument.
1846 * target.c (find_default_supports_disable_randomization): Add
1848 (target_supports_disable_randomization): Add argument.
1849 (find_default_supports_disable_randomization): Add 'self'
1851 * remote.c (extended_remote_supports_disable_randomization): Add
1853 (remote_supports_disable_randomization): Add 'self' argument.
1854 (extended_remote_create_inferior): Update.
1855 * linux-nat.c (linux_nat_supports_disable_randomization): Add
1858 2014-02-19 Tom Tromey <tromey@redhat.com>
1860 * target.h (struct target_ops)
1861 <to_supports_enable_disable_tracepoint>: Add argument.
1862 (target_supports_enable_disable_tracepoint): Add argument.
1863 * target.c (update_current_target): Update.
1864 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
1867 2014-02-19 Tom Tromey <tromey@redhat.com>
1869 * target.h (struct target_ops) <to_supports_multi_process>: Add
1871 (target_supports_multi_process): Add argument.
1872 * target.c (update_current_target): Update.
1873 * remote.c (remote_supports_multi_process): Add 'self' argument.
1874 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
1876 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
1879 2014-02-19 Tom Tromey <tromey@redhat.com>
1881 * target.h (struct target_ops) <to_execution_direction>: Add
1883 (target_execution_direction): Add argument.
1884 * target.c (default_execution_direction): Add 'self' argument.
1885 * record-full.c (record_full_execution_direction): Add 'self'
1888 2014-02-19 Tom Tromey <tromey@redhat.com>
1890 * target.h (struct target_ops) <to_can_execute_reverse>: Add
1892 (target_can_execute_reverse): Add argument.
1893 * remote.c (remote_can_execute_reverse): Add 'self' argument.
1894 * record-full.c (record_full_can_execute_reverse): Add 'self'
1896 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
1899 2014-02-19 Tom Tromey <tromey@redhat.com>
1901 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
1902 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
1904 (target_get_ada_task_ptid): Add argument.
1905 * target.c (update_current_target): Update.
1906 (default_get_ada_task_ptid): Add 'self' argument.
1907 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
1908 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
1909 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
1911 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
1913 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
1915 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
1917 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
1918 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
1921 2014-02-19 Tom Tromey <tromey@redhat.com>
1923 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
1924 (target_goto_bookmark): Add argument.
1925 * target.c (dummy_goto_bookmark): Add 'self' argument.
1926 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
1928 2014-02-19 Tom Tromey <tromey@redhat.com>
1930 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
1931 (target_get_bookmark): Add argument.
1932 * target.c (dummy_get_bookmark): Add 'self' argument.
1933 * record-full.c (record_full_get_bookmark): Add 'self' argument.
1935 2014-02-19 Tom Tromey <tromey@redhat.com>
1937 * target.h (struct target_ops) <to_make_corefile_notes>: Add
1939 (target_make_corefile_notes): Add argument.
1940 * target.c (dummy_make_corefile_notes): Add 'self' argument.
1941 * procfs.c (procfs_make_note_section): Add 'self' argument.
1942 (procfs_make_note_section): Add 'self' argument.
1943 (procfs_make_note_section): Add 'self' argument.
1944 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
1946 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
1947 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
1948 * exec.c (exec_make_note_section): Add 'self' argument.
1949 (exec_make_note_section): Add 'self' argument.
1951 2014-02-19 Tom Tromey <tromey@redhat.com>
1953 * target.h (struct target_ops) <to_find_memory_regions>: Add
1955 (target_find_memory_regions): Add argument.
1956 * target.c (dummy_find_memory_regions): Add 'self' argument.
1957 * procfs.c (proc_find_memory_regions): Add 'self' argument.
1958 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
1959 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
1960 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
1961 * exec. (exec_do_find_memory_regions): New global.
1962 (exec_set_find_memory_regions): Rewrite.
1963 (exec_find_memory_regions): New function.
1964 (init_exec_ops): Use exec_find_memory_regions.
1966 2014-02-19 Tom Tromey <tromey@redhat.com>
1968 * target.h (struct target_ops) <to_supports_non_stop>: Add
1970 * target.c (find_default_supports_non_stop): Add argument.
1971 (target_supports_non_stop): Add argument.
1972 (find_default_supports_non_stop): Add 'self' argument.
1973 * remote.c (remote_supports_non_stop): Add 'self' argument.
1974 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
1976 2014-02-19 Tom Tromey <tromey@redhat.com>
1978 * target.h (struct target_ops) <to_log_command>: Add argument.
1979 (target_log_command): Add argument.
1980 * serial.h (serial_log_command): Add 'self' argument.
1981 * serial.c (serial_log_command): Add 'self' argument.
1983 2014-02-19 Tom Tromey <tromey@redhat.com>
1985 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
1986 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
1988 (target_pid_to_exec_file): Add argument.
1989 * target.c (debug_to_pid_to_exec_file): Add argument.
1990 (update_current_target): Update.
1991 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
1992 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
1993 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
1994 (linux_handle_extended_wait): Update.
1995 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
1996 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
1997 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
1998 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
2000 2014-02-19 Tom Tromey <tromey@redhat.com>
2002 * target.h (struct target_ops) <to_rcmd>: Add argument.
2003 (target_rcmd): Add argument.
2004 * target.c (debug_to_rcmd): Add argument.
2005 (update_current_target, do_monitor_command): Update.
2006 * remote.c (remote_rcmd): Add 'self' argument.
2007 * monitor.c (monitor_rcmd): Add 'self' argument.
2009 2014-02-19 Tom Tromey <tromey@redhat.com>
2011 * windows-nat.c (windows_stop): Add 'self' argument.
2012 * target.h (struct target_ops) <to_stop>: Add argument.
2013 * target.c (target_stop): Add argument.
2014 (debug_to_stop): Add argument.
2015 (update_current_target): Update.
2016 * remote.c (remote_stop): Add 'self' argument.
2017 * remote-sim.c (gdbsim_stop): Add 'self' argument.
2018 (gdbsim_cntrl_c): Update.
2019 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
2020 * procfs.c (procfs_stop): Add 'self' argument.
2021 * nto-procfs.c (procfs_stop): Add 'self' argument.
2022 * monitor.c (monitor_stop): Add 'self' argument.
2023 (monitor_open): Update.
2024 * linux-nat.c (linux_nat_stop): Add argument.
2025 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
2026 * gnu-nat.c (gnu_stop): Add 'self' argument.
2027 * darwin-nat.c (darwin_stop): Add 'self' argument.
2029 2014-02-19 Tom Tromey <tromey@redhat.com>
2031 * target.h (struct target_ops) <to_thread_name>: Add argument.
2032 * target.c (target_thread_name): Add argument.
2033 (update_current_target): Update.
2034 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
2036 2014-02-19 Tom Tromey <tromey@redhat.com>
2038 * target.h (struct target_ops) <to_extra_thread_info>: Add
2040 (target_extra_thread_info): Add argument.
2041 * target.c (update_current_target): Update.
2042 * remote.c (remote_threads_extra_info): Add 'self' argument.
2043 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
2045 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
2046 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
2047 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
2049 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
2051 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
2053 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
2056 2014-02-19 Tom Tromey <tromey@redhat.com>
2058 * target.h (struct target_ops) <to_program_signals>: Add argument.
2059 * target.c (target_program_signals): Add argument.
2060 * remote.c (remote_program_signals): Add 'self' argument.
2062 2014-02-19 Tom Tromey <tromey@redhat.com>
2064 * target.h (struct target_ops) <to_pass_signals>: Add argument.
2065 * target.c (target_pass_signals): Add argument.
2066 * remote.c (remote_pass_signals): Add 'self' argument.
2067 (remote_start_remote): Update.
2068 * procfs.c (procfs_pass_signals): Add 'self' argument.
2069 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
2070 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
2071 (linux_nat_create_inferior, linux_nat_attach): Update.
2073 2014-02-19 Tom Tromey <tromey@redhat.com>
2075 * windows-nat.c (windows_can_run): Add 'self' argument.
2076 * target.h (struct target_ops) <to_can_run>: Add argument.
2077 (target_can_run): Add argument.
2078 * target.c (debug_to_can_run): Add argument.
2079 (update_current_target): Update.
2080 * nto-procfs.c (procfs_can_run): Add 'self' argument.
2081 * inf-child.c (inf_child_can_run): Add 'self' argument.
2082 * go32-nat.c (go32_can_run): Add 'self' argument.
2084 2014-02-19 Tom Tromey <tromey@redhat.com>
2086 * target.h (struct target_ops) <to_has_exited>: Add argument.
2087 (target_has_exited): Add argument.
2088 * target.c (debug_to_has_exited): Add argument.
2089 (update_current_target): Update.
2091 2014-02-19 Tom Tromey <tromey@redhat.com>
2093 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
2095 (target_set_syscall_catchpoint): Add argument.
2096 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
2098 * target.c (update_current_target): Update.
2100 2014-02-19 Tom Tromey <tromey@redhat.com>
2102 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
2104 (target_remove_exec_catchpoint): Add argument.
2105 * target.c (debug_to_remove_exec_catchpoint): Add argument.
2106 (update_current_target): Update.
2107 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
2110 2014-02-19 Tom Tromey <tromey@redhat.com>
2112 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
2114 (target_insert_exec_catchpoint): Add argument.
2115 * target.c (debug_to_insert_exec_catchpoint): Add argument.
2116 (update_current_target): Update.
2117 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
2120 2014-02-19 Tom Tromey <tromey@redhat.com>
2122 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
2124 (target_remove_vfork_catchpoint): Add argument.
2125 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
2126 (update_current_target): Update.
2127 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
2130 2014-02-19 Tom Tromey <tromey@redhat.com>
2132 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
2134 (target_insert_vfork_catchpoint): Add argument.
2135 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
2136 (update_current_target): Update.
2137 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
2140 2014-02-19 Tom Tromey <tromey@redhat.com>
2142 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
2144 (target_remove_fork_catchpoint): Add argument.
2145 * target.c (debug_to_remove_fork_catchpoint): Add argument.
2146 (update_current_target): Update.
2147 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
2150 2014-02-19 Tom Tromey <tromey@redhat.com>
2152 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
2154 (target_insert_fork_catchpoint): Add argument.
2155 * target.c (debug_to_insert_fork_catchpoint): Add argument.
2156 (update_current_target): Update.
2157 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
2160 2014-02-19 Tom Tromey <tromey@redhat.com>
2162 * target.h (struct target_ops) <to_post_startup_inferior>: Add
2164 (target_post_startup_inferior): Add argument.
2165 * target.c (debug_to_post_startup_inferior): Add argument.
2166 (update_current_target): Update.
2167 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
2169 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
2171 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
2173 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
2175 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
2177 (super_post_startup_inferior): Likewise.
2178 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
2180 (super_post_startup_inferior): Likewise.
2181 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
2182 Add 'self' argument.
2183 (super_post_startup_inferior): Likewise.
2185 2014-02-19 Tom Tromey <tromey@redhat.com>
2187 * target.h (struct target_ops) <to_load>: Add argument.
2188 * target.c (target_load): Add argument.
2189 (debug_to_load): Add argument.
2190 (update_current_target): Update.
2191 * remote.c (remote_load): Add 'self' argument.
2192 * remote-sim.c (gdbsim_load): Add 'self' argument.
2193 * remote-mips.c (mips_load): Add 'self' argument.
2194 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
2195 * monitor.c (monitor_load): Add 'self' argument.
2196 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
2198 2014-02-19 Tom Tromey <tromey@redhat.com>
2200 * target.h (struct target_ops) <to_terminal_info>: Add argument.
2201 (target_terminal_info): Add argument.
2202 * target.c (debug_to_terminal_info): Add argument.
2203 (default_terminal_info): Likewise.
2204 * inflow.c (child_terminal_info): Add 'self' argument.
2205 * inferior.h (child_terminal_info): Add 'self' argument.
2206 * go32-nat.c (go32_terminal_info): Add 'self' argument.
2208 2014-02-19 Tom Tromey <tromey@redhat.com>
2210 * target.h (struct target_ops) <to_terminal_save_ours>: Add
2212 (target_terminal_save_ours): Add argument.
2213 * target.c (debug_to_terminal_save_ours): Add argument.
2214 (update_current_target): Update.
2215 * inflow.c (terminal_save_ours): Add 'self' argument.
2216 * inferior.h (terminal_save_ours): Add 'self' argument.
2218 2014-02-19 Tom Tromey <tromey@redhat.com>
2220 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
2221 (target_terminal_ours): Add argument.
2222 * target.c (debug_to_terminal_ours): Add argument.
2223 (update_current_target): Update.
2224 * remote.c (remote_terminal_ours): Add 'self' argument.
2225 (remote_close): Update.
2226 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
2227 * inflow.c (terminal_ours): Add 'self' argument.
2228 * inferior.h (terminal_ours): Add 'self' argument.
2229 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2231 2014-02-19 Pedro Alves <palves@redhat.com>
2232 Tom Tromey <tromey@redhat.com>
2234 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
2236 (target_terminal_ours_for_output): Add argument.
2237 * target.c (debug_to_terminal_ours_for_output): Add argument.
2238 (update_current_target): Update.
2239 * inflow.c (terminal_ours_for_output): Add 'self' argument.
2240 * inferior.h (terminal_ours_for_output): Add 'self' argument.
2241 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2243 2014-02-19 Tom Tromey <tromey@redhat.com>
2245 * target.h (struct target_ops) <to_terminal_inferior>: Add
2247 * target.c (target_terminal_inferior): Add argument.
2248 (update_current_target): Update.
2249 * remote.c (remote_terminal_inferior): Add 'self' argument.
2250 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
2251 * inflow.c (terminal_inferior): Add 'self' argument.
2252 * inferior.h (terminal_inferior): Add 'self' argument.
2253 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
2254 (go32_terminal_inferior): Add 'self' argument.
2256 2014-02-19 Tom Tromey <tromey@redhat.com>
2258 * target.h (struct target_ops) <to_terminal_init>: Add argument.
2259 (target_terminal_init): Add argument.
2260 * target.c (debug_to_terminal_init): Add argument.
2261 (update_current_target): Update.
2262 * inflow.c (terminal_init_inferior): Add 'self' argument.
2263 * inferior.h (terminal_init_inferior): Add 'self' argument.
2264 * go32-nat.c (go32_terminal_init): Add 'self' argument.
2265 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
2267 2014-02-19 Tom Tromey <tromey@redhat.com>
2269 * target.h (struct target_ops)
2270 <to_can_accel_watchpoint_condition>: Add argument.
2271 (target_can_accel_watchpoint_condition): Add argument.
2272 * target.c (debug_to_can_accel_watchpoint_condition): Add
2274 (update_current_target): Update.
2275 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
2278 2014-02-19 Tom Tromey <tromey@redhat.com>
2280 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2282 (target_region_ok_for_hw_watchpoint): Add argument.
2283 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
2284 (default_region_ok_for_hw_watchpoint): Add argument.
2285 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
2286 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
2288 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
2290 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
2292 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
2294 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
2296 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
2298 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
2299 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
2301 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
2302 Add 'self' argument.
2304 2014-02-19 Tom Tromey <tromey@redhat.com>
2306 * target.h (struct target_ops) <to_insert_watchpoint>: Add
2308 (target_insert_watchpoint): Add argument.
2309 * target.c (debug_to_insert_watchpoint): Add argument.
2310 (update_current_target): Update.
2311 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
2312 * remote.c (remote_insert_watchpoint): Add 'self' argument.
2313 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
2314 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
2315 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
2316 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
2318 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
2319 (procfs_insert_hw_watchpoint): Add 'self' argument.
2320 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
2322 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
2324 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
2326 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
2327 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
2329 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
2332 2014-02-19 Tom Tromey <tromey@redhat.com>
2334 * target.h (struct target_ops) <to_remove_watchpoint>: Add
2336 (target_remove_watchpoint): Add argument.
2337 * target.c (debug_to_remove_watchpoint): Add argument.
2338 (update_current_target): Update.
2339 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
2340 * remote.c (remote_remove_watchpoint): Add 'self' argument.
2341 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
2342 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
2343 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
2344 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
2346 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
2347 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
2349 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
2351 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
2353 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
2354 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
2356 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
2359 2014-02-19 Tom Tromey <tromey@redhat.com>
2361 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
2363 (target_remove_hw_breakpoint): Add argument.
2364 * target.c (debug_to_remove_hw_breakpoint): Add argument.
2365 (update_current_target): Update.
2366 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
2367 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
2369 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
2370 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
2372 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
2375 2014-02-19 Tom Tromey <tromey@redhat.com>
2377 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
2379 (target_insert_hw_breakpoint): Add argument.
2380 * target.c (debug_to_insert_hw_breakpoint): Add argument.
2381 (update_current_target): Update.
2382 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
2383 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
2385 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
2386 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
2387 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
2389 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
2392 2014-02-19 Tom Tromey <tromey@redhat.com>
2394 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
2396 (target_can_use_hardware_watchpoint): Add argument.
2397 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
2398 (update_current_target): Update.
2399 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
2401 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
2403 * remote.c (remote_check_watch_resources): Add 'self' argument.
2404 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
2405 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
2407 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
2408 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
2410 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
2412 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
2414 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
2416 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
2418 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
2420 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
2421 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
2423 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
2426 2014-02-19 Tom Tromey <tromey@redhat.com>
2428 * target.h (struct target_ops) <to_post_attach>: Add argument.
2429 (target_post_attach): Add argument.
2430 * target.c (debug_to_post_attach): Add argument.
2431 (update_current_target): Update.
2432 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
2433 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
2434 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
2435 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
2436 * inf-child.c (inf_child_post_attach): Add 'self' argument.
2438 2014-02-19 Tom Tromey <tromey@redhat.com>
2440 * windows-nat.c (windows_close): Add 'self' argument.
2441 * tracepoint.c (tfile_close): Add 'self' argument.
2442 * target.h (struct target_ops) <to_close>: Add argument.
2443 * target.c (target_close): Add argument.
2444 (update_current_target): Update.
2445 * remote.c (remote_close): Add 'self' argument.
2446 * remote-sim.c (gdbsim_close): Add 'self' argument.
2447 * remote-mips.c (mips_close): Add 'self' argument.
2448 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
2449 * record-full.c (record_full_close): Add 'self' argument.
2450 * record-btrace.c (record_btrace_close): Add 'self' argument.
2451 * monitor.h (monitor_close): Add 'self' argument.
2452 * monitor.c (monitor_close): Add 'self' argument.
2453 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
2454 * linux-nat.c (linux_nat_close): Add argument.
2455 * go32-nat.c (go32_close): Add 'self' argument.
2456 * exec.c (exec_close_1): Add 'self' argument.
2457 * ctf.c (ctf_close): Add 'self' argument.
2458 * corelow.c (core_close): Add 'self' argument.
2459 (core_close_cleanup): Update.
2460 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
2461 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
2463 2014-02-19 Tom Tromey <tromey@redhat.com>
2465 * remote.c (remote_load): New function.
2466 (init_remote_ops): Use it.
2468 2014-02-19 Tom Tromey <tromey@redhat.com>
2470 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
2472 * common/linux-btrace.h (linux_supports_btrace): Update.
2473 * remote.c (remote_supports_btrace): Add "self" argument.
2474 * target-delegates.c: Rebuild.
2475 * target.c (target_supports_btrace): Remove.
2476 * target.h (struct target_ops) <to_supports_btrace>: Add
2477 target_ops argument.
2478 (target_supports_btrace): New define.
2480 2014-02-19 Tom Tromey <tromey@redhat.com>
2482 * record-full.c (record_full_beneath_to_resume_ops)
2483 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
2484 (record_full_beneath_to_wait)
2485 (record_full_beneath_to_store_registers_ops)
2486 (record_full_beneath_to_store_registers)
2487 (record_full_beneath_to_xfer_partial_ops)
2488 (record_full_beneath_to_xfer_partial)
2489 (record_full_beneath_to_insert_breakpoint_ops)
2490 (record_full_beneath_to_insert_breakpoint)
2491 (record_full_beneath_to_remove_breakpoint_ops)
2492 (record_full_beneath_to_remove_breakpoint)
2493 (record_full_beneath_to_stopped_by_watchpoint)
2494 (record_full_beneath_to_stopped_data_address)
2495 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
2496 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
2497 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
2498 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
2499 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
2500 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
2501 (tmp_to_stopped_data_address, tmp_to_async): Remove.
2502 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
2503 (record_full_resume, record_full_wait_1)
2504 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
2505 (record_full_store_registers, record_full_xfer_partial)
2506 (record_full_insert_breakpoint, record_full_remove_breakpoint)
2507 (record_full_async, record_full_core_xfer_partial): Use target
2509 * target-delegates.c: Rebuild.
2510 * target.c (current_xfer_partial): Remove.
2511 (update_current_target): Do not INHERIT or de_fault
2512 to_insert_breakpoint, to_remove_breakpoint,
2513 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
2514 to_is_async_p, to_async. Do not set to_xfer_partial field.
2515 (default_xfer_partial): Simplify.
2516 (current_xfer_partial): Remove.
2517 (target_wait, target_resume): Simplify.
2518 (find_default_can_async_p, find_default_is_async_p): Update.
2519 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
2520 to_xfer_partial, to_stopped_by_watchpoint,
2521 to_stopped_data_address.
2522 (target_store_registers): Simplify.
2523 (forward_target_remove_breakpoint)
2524 (forward_target_insert_breakpoint): Remove.
2525 (target_remove_breakpoint, target_insert_breakpoint)
2526 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
2527 * target.h (struct target_ops) <to_resume, to_wait,
2528 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
2529 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
2530 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
2532 (forward_target_remove_breakpoint)
2533 (forward_target_insert_breakpoint): Remove.
2534 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
2536 (record_btrace_insert_breakpoint): Delegate directly.
2538 2014-02-19 Tom Tromey <tromey@redhat.com>
2541 * target-delegates.c: New file.
2542 * target.c: Include target-delegates.c.
2543 (init_dummy_target): Call install_dummy_methods.
2544 (complete_target_initialization): Call install_delegators.
2545 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
2546 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
2547 * make-target-delegates: New file.
2549 2014-02-19 Tom Tromey <tromey@redhat.com>
2551 * record.c (find_record_target): Use find_target_at.
2552 * target.c (find_target_at): New function.
2553 * target.h (find_target_at): Declare.
2555 2014-02-19 Tom Tromey <tromey@redhat.com>
2557 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
2559 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
2561 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
2562 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
2564 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
2566 * linux-nat.c (save_sigtrap): Update.
2567 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
2568 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
2569 (linux_nat_close): Update.
2570 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
2572 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
2574 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
2575 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
2576 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
2577 (tmp_to_async): Add 'ops' argument.
2578 (record_full_stopped_by_watchpoint, record_full_async)
2579 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
2581 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
2582 (m32r_stopped_by_watchpoint): Add 'ops' argument.
2583 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
2584 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
2585 (remote_is_async_p, remote_async): Add 'ops' argument.
2586 (remote_stopped_data_address): Update.
2587 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
2588 * target.c (update_current_target)
2589 (find_default_can_async_p, find_default_is_async_p): Update.
2590 (init_dummy_target): Update.
2591 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
2592 * target.h (struct target_ops) <to_stopped_by_watchpoint,
2593 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
2594 (target_can_async_p, target_is_async_p, target_async)
2595 (target_stopped_by_watchpoint): Update.
2597 2014-02-19 Yao Qi <yao@codesourcery.com>
2600 * gdbarch.sh: Remove startup_gdbarch.
2601 * gdbarch.c: Regenerated.
2602 * gdbarch.h: Likewise.
2604 2014-02-17 Kevin Buettner <kevinb@redhat.com>
2606 * rl78-tdep.c (rl78_g10_register_name): New function.
2607 (rl78_return_value): Add g10 support.
2608 (rl78_gdbarch_init): Register rl78_g10_register_name for the
2611 2014-02-17 Doug Evans <xdje42@gmail.com>
2613 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
2614 (SUBDIR_GUILE_SRCS): Ditto.
2615 (scm-gsmob.o): Ditto.
2617 2014-02-17 Yao Qi <yao@codesourcery.com>
2619 * gnu-nat.c (ILL_RPC): Declare defined function.
2621 2014-02-17 Yao Qi <yao@codesourcery.com>
2623 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
2624 mach_msg_type_number_t.
2625 (gnu_write_inferior): Likewise.
2627 2014-02-17 Yao Qi <yao@codesourcery.com>
2629 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
2631 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
2632 (inf_validate_procs, inf_signal): Likewise.
2633 (S_exception_raise_request): Likewise.
2634 (do_mach_notify_dead_name): Likewise.
2635 (steal_exc_port): Likewise.
2636 (gnu_read_inferior): Change 'copy_count''s type to
2637 mach_msg_type_number_t.
2638 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
2641 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
2643 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
2644 flag. Adjust all users; in particular...
2645 (gnu_wait): ..., don't decrement its value in here...
2646 (gnu_create_inferior): ..., and instead set the flag in here,
2647 around the startup_inferior call, and call that one with
2648 START_INFERIOR_TRAPS_EXPECTED.
2650 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
2651 (ILL_RPC): ... new macro.
2652 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
2653 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
2654 (do_mach_notify_send_once, S_proc_setmsgport_reply)
2655 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
2656 functions with ILL_RPC macro.
2657 (S_proc_pid2task_reply, S_proc_task2pid_reply)
2658 (S_proc_task2proc_reply, S_proc_proc2task_reply)
2659 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
2660 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
2661 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
2662 (S_proc_getlogin_reply, S_proc_getsid_reply)
2663 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
2664 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
2665 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
2666 (S_proc_getnports_reply, S_proc_is_important_reply)
2667 (S_proc_get_code_reply): New stub functions, generated with
2670 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
2671 collected the type check structures.
2673 * reply_mig_hack.awk: Don't expect to see the auto keyword.
2675 2014-02-14 Doug Evans <dje@google.com>
2677 * target.c (target_write_partial): Fix result type.
2679 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2681 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
2682 the proper offsets to access fpregset_t.
2684 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
2686 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
2687 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
2688 * h8300-tdep.c (setmachinelist): Remove global.
2689 * hppa-tdep.c (hppa_sigtramp): Remove global.
2690 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
2691 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
2692 * ravenscar-thread.c (update_target_observer): Remove global.
2693 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
2695 2014-02-12 Tom Tromey <tromey@redhat.com>
2697 * common/rsp-low.c: Update comments.
2698 * common/rsp-low.h: Update comments.
2700 2014-02-12 Tom Tromey <tromey@redhat.com>
2702 * common/rsp-low.c (convert_ascii_to_int): Remove.
2703 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
2705 2014-02-12 Tom Tromey <tromey@redhat.com>
2707 * common/rsp-low.h (unhexify): Don't declare.
2708 * common/rsp-low.c (unhexify): Remove.
2710 2014-02-12 Tom Tromey <tromey@redhat.com>
2712 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
2713 * common/rsp-low.c (convert_int_to_ascii): Remove.
2715 2014-02-12 Tom Tromey <tromey@redhat.com>
2717 * common/rsp-low.h (hexify): Don't declare.
2718 * common/rsp-low.c (hexify): Remove.
2720 2014-02-12 Tom Tromey <tromey@redhat.com>
2722 * common/rsp-low.c (hexify): Never take strlen of argument.
2724 2014-02-12 Tom Tromey <tromey@redhat.com>
2726 * common/rsp-low.c (bin2hex): Never take strlen of argument.
2727 * remote.c (extended_remote_run, remote_rcmd)
2728 (remote_download_trace_state_variable, remote_save_trace_data)
2729 (remote_set_trace_notes): Update.
2730 * tracepoint.c (encode_source_string, tfile_write_status)
2731 (tfile_write_uploaded_tsv): Update.
2733 2014-02-12 Tom Tromey <tromey@redhat.com>
2735 * tracepoint.c: Include rsp-low.h.
2736 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
2737 * remote.c: Include rsp-low.h.
2738 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
2739 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
2740 (remote_unescape_input): Move to common/rsp-low.c.
2741 * common/rsp-low.h: New file.
2742 * common/rsp-low.c: New file.
2743 * Makefile.in (SFILES): Add common/rsp-low.c.
2744 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
2745 (COMMON_OBS): Add rsp-low.o.
2746 (rsp-low.o): New target.
2748 2014-02-12 Tom Tromey <tromey@redhat.com>
2750 * utils.h: Include print-utils.h.
2751 (host_address_to_string, plongest, pulongest, phex, phex_nz)
2752 (int_string, core_addr_to_string, core_addr_to_string_nz)
2753 (hex_string, hex_string_custom): Don't declare.
2754 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
2755 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
2756 (hex_string_custom, int_string, core_addr_to_string)
2757 (core_addr_to_string_nz, host_address_to_string): Move to
2758 common/print-utils.c.
2759 * common/print-utils.h: New file.
2760 * common/print-utils.c: New file
2761 * Makefile.in (SFILES): Add common/print-utils.c.
2762 (HFILES_NO_SRCDIR): Add common/print-utils.h.
2763 (COMMON_OBS): Add print-utils.o.
2764 (print-utils.o): New target.
2766 2014-02-12 Tom Tromey <tromey@redhat.com>
2768 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
2770 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2772 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
2774 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2776 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
2777 if a PT_IO ptrace request returns sucessfully but indicates that 0
2778 bytes were transferred.
2780 2014-02-12 Pedro Alves <palves@redhat.com>
2781 Kevin Buettner <kevinb@redhat.com>
2783 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
2784 TYPE_INSTANCE_FLAG_CODE_SPACE.
2786 2014-02-12 Pedro Alves <palves@redhat.com>
2788 * h8300-tdep.c (pseudo_from_raw_register)
2789 (raw_from_pseudo_register): New functions.
2790 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
2793 2014-02-12 Pedro Alves <palves@redhat.com>
2795 * h8300-tdep.c (h8300_register_sim_regno): New function.
2796 (h8300_gdbarch_init): Install h8300_register_sim_regno as
2797 gdbarch_register_sim_regno hook.
2799 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2801 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
2803 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
2805 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
2807 2014-02-12 Mark Kettenis <kettenis@gnu.org>
2809 * obsd-tdep.h (obsd_init_abi): New prototype.
2810 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
2811 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
2812 (obsd_init_abi): New functions.
2813 * i386obsd-tdep.c: Include "obsd-tdep.h".
2814 (i386obsd_init_abi): Call obsd_init_abi.
2815 * amd64obsd-tdep.c: Include "obsd-tdep.h".
2816 (amd64obsd_init_abi): Call obsd_init_abi.
2817 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
2818 obsd-tdep.c to gdb_target_obs.
2820 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
2822 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
2823 double float arguments to 16-byte in the argument slots.
2825 2014-02-11 Doug Evans <xdje42@gmail.com>
2827 * configure.ac: Don't crash if pkg-config is not found and guile
2828 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
2830 * configure: Regenerate.
2832 2014-02-11 Yao Qi <yao@codesourcery.com>
2834 * aix-thread.c (aix_thread_xfer_partial): Update comments.
2835 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
2836 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
2837 * gnu-nat.c (gnu_xfer_memory): Likewise.
2838 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
2839 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2840 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2841 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
2843 2014-02-11 Yao Qi <yao@codesourcery.com>
2845 * target.h (enum target_xfer_error): Rename to ...
2846 (enum target_xfer_status): ... it. New. All users updated.
2847 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
2849 (TARGET_XFER_STATUS_ERROR_P): New macro.
2850 (target_xfer_error_to_string): Remove declaration.
2851 (target_xfer_status_to_string): Declare.
2852 (target_xfer_partial_ftype): Adjust it.
2853 (struct target_ops) <to_xfer_partial>: Return
2854 target_xfer_status. Add argument xfered_len. Update
2856 * target.c (target_xfer_error_to_string): Rename to ...
2857 (target_xfer_status_to_string): ... it. New. All callers
2859 (target_read_live_memory): Likewise. Call target_xfer_partial
2860 instead of target_read.
2861 (memory_xfer_live_readonly_partial): Return
2862 target_xfer_status. Add argument xfered_len.
2863 (raw_memory_xfer_partial): Likewise.
2864 (memory_xfer_partial_1): Likewise.
2865 (memory_xfer_partial): Likewise.
2866 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
2867 properly. Update debug message.
2868 (default_xfer_partial, current_xfer_partial): Likewise.
2869 (target_write_partial): Likewise.
2870 (target_read_partial): Likewise. All callers updated.
2871 (read_whatever_is_readable): Likewise.
2872 (target_write_with_progress): Likewise.
2873 (target_read_alloc_1): Likewise.
2875 * aix-thread.c (aix_thread_xfer_partial): Likewise.
2876 * auxv.c (procfs_xfer_auxv): Likewise.
2877 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
2878 * bfd-target.c (target_bfd_xfer_partial): Likewise.
2879 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
2880 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
2881 * corefile.c (read_memory): Adjust.
2882 * corelow.c (core_xfer_partial): Likewise.
2883 * ctf.c (ctf_xfer_partial): Likewise.
2884 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
2886 (darwin_xfer_partial): Likewise.
2887 * exec.c (section_table_xfer_memory_partial): Likewise. All
2889 (exec_xfer_partial): Likewise.
2890 * exec.h (section_table_xfer_memory_partial): Update
2892 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
2894 (gnu_xfer_partial): Likewise.
2895 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
2896 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
2897 (ia64_hpux_xfer_solib_got): Likewise.
2898 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
2899 type of 'partial_len' to ULONGEST.
2900 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
2901 * linux-nat.c (linux_xfer_siginfo ): Likewise.
2902 (linux_nat_xfer_partial): Likewise.
2903 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
2904 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
2905 * monitor.c (monitor_xfer_memory): Likewise.
2906 (monitor_xfer_partial): Likewise.
2907 * procfs.c (procfs_xfer_partial): Likewise.
2908 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2909 * record-full.c (record_full_xfer_partial): Likewise.
2910 (record_full_core_xfer_partial): Likewise.
2911 * remote-sim.c (gdbsim_xfer_memory): Likewise.
2912 (gdbsim_xfer_partial): Likewise.
2913 * remote.c (remote_write_bytes_aux): Likewise. All callers
2915 (remote_write_bytes, remote_read_bytes): Likewise. All
2917 (remote_flash_erase): Likewise. All callers updated.
2918 (remote_write_qxfer): Likewise. All callers updated.
2919 (remote_read_qxfer): Likewise. All callers updated.
2920 (remote_xfer_partial): Likewise.
2921 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
2922 (rs6000_xfer_shared_libraries): Likewise.
2923 * sol-thread.c (sol_thread_xfer_partial): Likewise.
2924 (sol_thread_xfer_partial): Likewise.
2925 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
2926 (sparc_xfer_partial): Likewise.
2927 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
2929 (spu_xfer_partial): Likewise.
2930 * spu-multiarch.c (spu_xfer_partial): Likewise.
2931 * tracepoint.c (tfile_xfer_partial): Likewise.
2932 * windows-nat.c (windows_xfer_memory): Likewise.
2933 (windows_xfer_shared_libraries): Likewise.
2934 (windows_xfer_partial): Likewise.
2935 * valprint.c: Replace 'target_xfer_error' with
2936 'target_xfer_status' in comments.
2938 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
2940 Checked in by Joel Brobecker <brobecker@adacore.com>.
2941 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
2943 2014-02-11 Joel Brobecker <brobecker@adacore.com>
2945 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
2946 function parameters.
2948 2014-02-10 Will Newton <will.newton@linaro.org>
2950 * elfread.c (elf_rel_plt_read): Look for a .got section if
2951 looking up .got.plt fails.
2952 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
2953 on address passed to elf_gnu_ifunc_record_cache.
2954 (elf_gnu_ifunc_resolve_addr): Likewise.
2955 (elf_gnu_ifunc_resolver_return_stop): Likewise.
2957 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
2959 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
2960 (X_RETTURN): New macro.
2961 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
2963 * sparc64-tdep.c (sparc64_init_abi): Hook
2964 sparc_in_function_epilogue_p.
2966 2014-02-10 Gary Benson <gbenson@redhat.com>
2968 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2969 Rename name_matcher to symbol_matcher.
2971 2014-02-10 Gary Benson <gbenson@redhat.com>
2973 * symfile-debug.c (debug_qf_expand_symtabs_matching):
2974 Use expand_symtabs_file_matcher_ftype and
2975 expand_symtabs_symbol_matcher_ftype.
2977 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2979 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
2980 (struct ada_symbol_cache): New.
2981 (ada_free_symbol_cache): Forward declare.
2982 (struct ada_pspace_data): New.
2983 (ada_pspace_data_handle): New static global.
2984 (get_ada_pspace_data, ada_pspace_data_cleanup)
2985 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
2986 (cache_space, cache): Delete, now folded inside struct
2988 (ada_get_symbol_cache): New function.
2989 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
2991 (_initialize_ada_language): Remove initialization of cache_space.
2992 Move call to observer_attach_inferior_exit up, grouping it
2993 with the other observer registrations inside this function.
2994 Rename command to be more general. Add call to
2995 register_program_space_data_with_cleanup.
2997 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2999 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
3000 ada_new_objfile_observer.
3001 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
3002 (_initialize_tasks): Update uses of ada_new_objfile_observer
3003 and ada_tasks_normal_stop_observer.
3005 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3007 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
3008 returned by the 'Length attribute to integer.
3010 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3012 * ada-lang.c (_initialize_ada_language): Initialize
3013 cache_space obstack.
3015 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3017 * ada-lang.c (HASH_SIZE): New macro.
3018 (struct cache_entry): New type.
3019 (cache_space, cache): New static globals.
3020 (ada_clear_symbol_cache, find_entry): New functions.
3021 (lookup_cached_symbol, cache_symbol): Implement.
3022 (ada_new_objfile_observer, ada_free_objfile_observer): New.
3023 (_initialize_ada_language): Attach ada_new_objfile_observer
3024 and ada_free_objfile_observer.
3026 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3028 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
3029 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
3030 struct block * parameter.
3031 (ada_lookup_symbol_list_worker): Constify local variable "block".
3032 Remove cast which is no longer necessary.
3034 2014-02-10 Doug Evans <xdje42@gmail.com>
3036 Add Guile as an extension language.
3037 * NEWS: Mention Guile scripting.
3038 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
3039 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
3040 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
3041 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
3042 (CLIBS): Add GUILE_LIBS.
3043 (install-guile): New rule.
3044 (guile.o): New rule.
3045 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
3046 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
3047 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
3048 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
3049 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
3050 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
3051 (scm-type.o, scm-utils.o, scm-value.o): New rules.
3052 * configure.ac: New option --with-guile.
3053 * configure: Regenerate.
3054 * config.in: Regenerate.
3055 * auto-load.c: Remove #include "python/python.h". Add #include
3056 "gdb/section-scripts.h".
3057 (source_section_scripts): Handle Guile scripts.
3058 (_initialize_auto_load): Add name of Guile objfile script to
3059 scripts-directory help text.
3060 * breakpoint.c (condition_command): Tweak comment to include Scheme.
3061 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
3062 (struct breakpoint): New member scm_bp_object.
3063 * defs.h (enum command_control_type): New value guile_control.
3064 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
3066 (show_user): Update comment.
3067 (_initialize_cli_cmds): Update help text for "show user". Update help
3068 text for max-user-call-depth.
3069 * cli/cli-script.c: Remove #include "python/python.h". Add #include
3071 (multi_line_command_p): Add guile_control.
3072 (print_command_lines): Handle guile_control.
3073 (execute_control_command, recurse_read_control_structure): Ditto.
3074 (process_next_line): Recognize "guile" commands.
3075 * disasm.c (gdb_disassemble_info): Make non-static.
3076 * disasm.h: #include "dis-asm.h".
3077 (struct gdbarch): Add forward decl.
3078 (gdb_disassemble_info): Declare.
3079 * extension.c: #include "guile/guile.h".
3080 (extension_languages): Add guile.
3081 (get_ext_lang_defn): Handle EXT_LANG_GDB.
3082 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
3083 * gdbtypes.c (get_unsigned_type_max): New function.
3084 (get_signed_type_minmax): New function.
3085 * gdbtypes.h (get_unsigned_type_max): Declare.
3086 (get_signed_type_minmax): Declare.
3087 * guile/README: New file.
3088 * guile/guile-internal.h: New file.
3089 * guile/guile.c: New file.
3090 * guile/guile.h: New file.
3091 * guile/scm-arch.c: New file.
3092 * guile/scm-auto-load.c: New file.
3093 * guile/scm-block.c: New file.
3094 * guile/scm-breakpoint.c: New file.
3095 * guile/scm-disasm.c: New file.
3096 * guile/scm-exception.c: New file.
3097 * guile/scm-frame.c: New file.
3098 * guile/scm-gsmob.c: New file.
3099 * guile/scm-iterator.c: New file.
3100 * guile/scm-lazy-string.c: New file.
3101 * guile/scm-math.c: New file.
3102 * guile/scm-objfile.c: New file.
3103 * guile/scm-ports.c: New file.
3104 * guile/scm-pretty-print.c: New file.
3105 * guile/scm-safe-call.c: New file.
3106 * guile/scm-string.c: New file.
3107 * guile/scm-symbol.c: New file.
3108 * guile/scm-symtab.c: New file.
3109 * guile/scm-type.c: New file.
3110 * guile/scm-utils.c: New file.
3111 * guile/scm-value.c: New file.
3112 * guile/lib/gdb.scm: New file.
3113 * guile/lib/gdb/boot.scm: New file.
3114 * guile/lib/gdb/experimental.scm: New file.
3115 * guile/lib/gdb/init.scm: New file.
3116 * guile/lib/gdb/iterator.scm: New file.
3117 * guile/lib/gdb/printing.scm: New file.
3118 * guile/lib/gdb/types.scm: New file.
3119 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
3120 (VPATH): Add $(GUILE_SRCDIR).
3121 (GUILE_DIR): New variable.
3122 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
3123 (all): Add stamp-guile dependency.
3124 (stamp-guile): New rule.
3125 (clean-guile, install-guile, uninstall-guile): New rules.
3126 (install-only): Add install-guile dependency.
3127 (uninstall): Add uninstall-guile dependency.
3128 (clean): Add clean-guile dependency.
3130 2014-02-09 Doug Evans <xdje42@gmail.com>
3132 Revert this patch (which I approved, mea culpa).
3134 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3136 * Makefile.in (all-lib): Remove.
3137 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3139 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3141 Fix Python stack corruption.
3142 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
3145 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3147 * Makefile.in (all-lib): Remove.
3148 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3150 2014-02-07 Doug Evans <dje@google.com>
3152 * extension-priv.h (extension_language_script_ops): Add comment.
3153 (extension_language_ops): Add comment.
3154 (active_ext_lang_state): Fix typo in comment.
3156 2014-02-07 Pedro Alves <palves@redhat.com>
3158 * infrun.c (handle_signal_stop) <signal arrives while stepping
3159 over a breakpoint>: Switch back to the stepping thread.
3161 2014-02-07 Yao Qi <yao@codesourcery.com>
3163 * target.c (target_xfer_partial): Return zero if LEN is zero.
3165 2014-02-07 Yao Qi <yao@codesourcery.com>
3167 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
3168 (ld_so_xfer_auxv): Likewise.
3169 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3170 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3171 * corelow.c (core_xfer_partial): Likewise.
3172 * ctf.c (ctf_xfer_partial): Likewise.
3173 * darwin-nat.c (darwin_read_dyld_info): Likewise.
3174 (darwin_xfer_partial): Likewise.
3175 * exec.c (exec_xfer_partial): Likewise.
3176 * gnu-nat.c (gnu_xfer_partial): Likewise.
3177 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
3178 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
3179 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
3180 * linux-nat.c (linux_xfer_siginfo): Likewise.
3181 (linux_proc_xfer_spu): Likewise.
3182 * procfs.c (procfs_xfer_partial): Likewise.
3183 * record-full.c (record_full_xfer_partial): Likewise.
3184 (record_full_core_xfer_partial): Likewise.
3185 * remote-sim.c (gdbsim_xfer_partial): Likewise.
3186 * remote.c (remote_write_qxfer): Likewise.
3187 (remote_write_qxfer, remote_read_qxfer): Likewise.
3188 (remote_xfer_partial): Likewise.
3189 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3190 (rs6000_xfer_shared_libraries): Likewise.
3191 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3192 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3193 (spu_xfer_partial): Likewise.
3194 * target.c (memory_xfer_partial_1): Likewise.
3195 * tracepoint.c (tfile_xfer_partial): Likewise.
3196 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
3197 (windows_xfer_partial): Likewise.
3199 2014-02-07 Yao Qi <yao@codesourcery.com>
3201 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
3203 (core_xfer_shared_libraries_aix): Likewise.
3204 * gdbarch.c, gdbarch.h: Regenerated.
3205 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
3206 ULONGEST. Change 'len_avail' type to ULONGEST.
3207 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3208 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3210 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
3212 2014-02-07 Yao Qi <yao@codesourcery.com>
3214 * corefile.c (memory_error): Get 'exception' from ERR and pass
3215 'exception' to throw_error.
3217 2014-02-06 Doug Evans <xdje42@gmail.com>
3219 * configure.ac (libpython checking): Remove all but python.o from
3220 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
3221 * configure: Regenerate.
3223 * Makefile.in (SFILES): Add extension.c.
3224 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
3225 (COMMON_OBS): Add extension.o.
3226 * extension.h: New file.
3227 * extension-priv.h: New file.
3228 * extension.c: New file.
3230 * python/python-internal.h: #include "extension.h".
3231 (gdbpy_auto_load_enabled): Declare.
3232 (gdbpy_apply_val_pretty_printer): Declare.
3233 (gdbpy_apply_frame_filter): Declare.
3234 (gdbpy_preserve_values): Declare.
3235 (gdbpy_breakpoint_cond_says_stop): Declare.
3236 (gdbpy_breakpoint_has_cond): Declare.
3237 (void source_python_script_for_objfile): Delete.
3238 * python/python.c: #include "extension-priv.h".
3239 Delete inclusion of "observer.h".
3240 (extension_language_python): Moved here and renamed from
3241 script_language_python in py-auto-load.c.
3242 Redefined to be of type extension_language_defn.
3243 (python_extension_script_ops): New global.
3244 (python_extension_ops): New global.
3245 (struct python_env): New member previous_active.
3246 (restore_python_env): Call restore_active_ext_lang.
3247 (ensure_python_env): Call set_active_ext_lang.
3248 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
3250 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
3252 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
3254 (gdbpy_eval_from_control_command): Renamed from
3255 eval_python_from_control_command, made static. New arg extlang.
3256 (gdbpy_source_script) Renamed from source_python_script, made static.
3258 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
3259 result to int. New arg extlang.
3260 (gdbpy_source_objfile_script): Renamed from
3261 source_python_script_for_objfile, made static. New arg extlang.
3262 (gdbpy_start_type_printers): Renamed from start_type_printers, made
3263 static. New args extlang, extlang_printers. Change result type to
3265 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
3266 static. New arg extlang. Rename arg printers to extlang_printers
3267 and change type to ext_lang_type_printers *.
3268 (gdbpy_free_type_printers): Renamed from free_type_printers, made
3269 static. Replace argument arg with extlang, extlang_printers.
3270 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
3271 (!HAVE_PYTHON, source_python_script): Delete.
3272 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
3273 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
3274 (!HAVE_PYTHON, start_type_printers): Delete.
3275 (!HAVE_PYTHON, apply_type_printers): Delete.
3276 (!HAVE_PYTHON, free_type_printers): Delete.
3277 (_initialize_python): Delete call to observer_attach_before_prompt.
3278 (finalize_python): Set/restore active extension language.
3279 (gdbpy_finish_initialization) Renamed from
3280 finish_python_initialization, made static. New arg extlang.
3281 (gdbpy_initialized): New function.
3282 * python/python.h: #include "extension.h". Delete #include
3283 "value.h", "mi/mi-cmds.h".
3284 (extension_language_python): Declare.
3285 (GDBPY_AUTO_FILE_NAME): Delete.
3286 (enum py_bt_status): Moved to extension.h and renamed to
3288 (enum frame_filter_flags): Moved to extension.h.
3289 (enum py_frame_args): Moved to extension.h and renamed to
3290 ext_lang_frame_args.
3291 (finish_python_initialization): Delete.
3292 (eval_python_from_control_command): Delete.
3293 (source_python_script): Delete.
3294 (apply_val_pretty_printer): Delete.
3295 (apply_frame_filter): Delete.
3296 (preserve_python_values): Delete.
3297 (gdbpy_script_language_defn): Delete.
3298 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
3299 (start_type_printers, apply_type_printers, free_type_printers): Delete.
3301 * auto-load.c: #include "extension.h".
3302 (GDB_AUTO_FILE_NAME): Delete.
3303 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
3304 (script_language_gdb): Delete, moved to extension.c and renamed to
3305 extension_language_gdb.
3306 (source_gdb_script_for_objfile): Delete.
3307 (auto_load_pspace_info): New member unsupported_script_warning_printed.
3308 (loaded_script): Change type of language member to
3309 struct extension_language_defn *.
3310 (init_loaded_scripts_info): Initialize
3311 unsupported_script_warning_printed.
3312 (maybe_add_script): Make static. Change type of language arg to
3313 struct extension_language_defn *.
3314 (clear_section_scripts): Reset unsupported_script_warning_printed.
3315 (auto_load_objfile_script_1): Rewrite to use extension language API.
3316 (auto_load_objfile_script): Make public. Remove support-compiled-in
3317 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
3318 (source_section_scripts): Rewrite to use extension language API.
3319 (load_auto_scripts_for_objfile): Rewrite to use
3320 auto_load_scripts_for_objfile.
3321 (collect_matching_scripts_data): Change type of language member to
3322 struct extension_language_defn *.
3323 (auto_load_info_scripts): Change type of language arg to
3324 struct extension_language_defn *.
3325 (unsupported_script_warning_print): New function.
3326 (script_not_found_warning_print): Make static.
3327 (_initialize_auto_load): Rewrite construction of scripts-directory
3329 * auto-load.h (struct objfile): Add forward decl.
3330 (struct script_language): Delete.
3331 (struct auto_load_pspace_info): Add forward decl.
3332 (struct extension_language_defn): Add forward decl.
3333 (maybe_add_script): Delete.
3334 (auto_load_objfile_script): Declare.
3335 (script_not_found_warning_print): Delete.
3336 (auto_load_info_scripts): Update prototype.
3337 (auto_load_gdb_scripts_enabled): Declare.
3338 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
3339 auto_load_python_scripts_enabled and made public.
3340 (script_language_python): Delete, moved to python.c.
3341 (gdbpy_script_language_defn): Delete.
3342 (info_auto_load_python_scripts): Update to use
3343 extension_language_python.
3345 * breakpoint.c (condition_command): Replace call to
3346 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
3347 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
3348 with call to breakpoint_ext_lang_cond_says_stop.
3349 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
3350 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
3351 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
3352 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
3354 (local_setattro): Print name of extension language with existing
3357 * valprint.c (val_print, value_print): Update to call
3358 apply_ext_lang_val_pretty_printer.
3359 * cp-valprint.c (cp_print_value): Update call to
3360 apply_ext_lang_val_pretty_printer.
3361 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
3362 (gdbpy_apply_val_pretty_printer): Renamed from
3363 apply_val_pretty_printer. New arg extlang.
3364 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
3366 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
3367 extension language API.
3368 * cli/cli-script.c (execute_control_command): Update to call
3369 eval_ext_lang_from_control_command.
3371 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
3372 enum ext_lang_bt_status values. Update call to
3373 apply_ext_lang_frame_filter.
3374 (mi_cmd_stack_list_locals): Ditto.
3375 (mi_cmd_stack_list_args): Ditto.
3376 (mi_cmd_stack_list_variables): Ditto.
3377 * mi/mi-main.c: Delete #include "python/python-internal.h".
3378 Add #include "extension.h".
3379 (mi_cmd_list_features): Replace reference to python internal variable
3380 gdb_python_initialized with call to ext_lang_initialized_p.
3382 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
3383 Update to use enum ext_lang_frame_args. Update to call
3384 apply_ext_lang_frame_filter.
3385 * python/py-framefilter.c (extract_sym): Update to use enum
3387 (extract_value, py_print_type, py_print_value): Ditto.
3388 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
3389 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
3390 (py_print_frame): Ditto.
3391 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
3392 New arg extlang. Update to use enum ext_lang_bt_status.
3394 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
3395 finish_python_initialization. Replace with call to
3396 finish_ext_lang_initialization.
3398 * typeprint.c (do_free_global_table): Update to call
3399 free_ext_lang_type_printers.
3400 (create_global_typedef_table): Update to call
3401 start_ext_lang_type_printers.
3402 (find_global_typedef): Update to call apply_ext_lang_type_printers.
3403 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
3404 (type_print_options): Change type of global_printers from "void *"
3405 to "struct ext_lang_type_printers *".
3407 * value.c (preserve_values): Update to call preserve_ext_lang_values.
3408 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
3409 (gdbpy_preserve_values): Renamed from preserve_python_values.
3411 (!HAVE_PYTHON, preserve_python_values): Delete.
3413 * utils.c (quit_flag): Delete, moved to extension.c.
3414 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
3417 * eval.c: Delete #include "python/python.h".
3418 * main.c: Delete #include "python/python.h".
3420 * defs.h: Update comment.
3422 2014-02-06 Joel Brobecker <brobecker@adacore.com>
3426 2014-02-05 Mark Kettenis <kettenis@gnu.org>
3428 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
3431 2014-02-05 Yao Qi <yao@codesourcery.com>
3433 * remote.c (remote_pass_signals): Remove local 'buf' and use
3435 (remote_program_signals): Likewise.
3437 2014-02-05 Yao Qi <yao@codesourcery.com>
3439 * ctf.c: Include "inferior.h" and "gdbthread.h".
3440 (CTF_PID): A new macro.
3441 (ctf_open): Call inferior_appeared and add_thread_silent.
3442 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
3443 (ctf_thread_alive): New function.
3444 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
3446 2014-02-05 Yao Qi <yao@codesourcery.com>
3450 2013-05-24 Yao Qi <yao@codesourcery.com>
3452 * tracepoint.c (TFILE_PID): Remove.
3453 (tfile_open): Don't add thread and inferior.
3454 (tfile_close): Don't set 'inferior_ptid'. Don't call
3455 exit_inferior_silent.
3456 (tfile_thread_alive): Remove.
3457 (init_tfile_ops): Don't set field 'to_thread_alive' of
3460 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
3462 * remote.c (remote_start_remote): Call remote_check_symbols even
3463 if only symbol-file (not file) has been given.
3465 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3467 * gdbarch.sh (skip_entrypoint): New callback.
3468 * gdbarch.c, gdbarch.h: Regenerate.
3469 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
3470 * infrun.c (fill_in_stop_func): Likewise.
3471 * ppc-linux-tdep.c: Include "elf/ppc64.h".
3472 (ppc_elfv2_elf_make_msymbol_special): New function.
3473 (ppc_elfv2_skip_entrypoint): Likewise.
3474 (ppc_linux_init_abi): Install them for ELFv2.
3476 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3478 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
3479 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
3480 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
3481 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
3482 structures returned in GPRs.
3484 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3486 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
3487 offset to the stack parameter list for the ELFv2 ABI.
3489 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3491 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
3492 set_gdbarch_convert_from_func_ptr_addr and
3493 set_gdbarch_elf_make_msymbol_special for ELFv1.
3494 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
3495 function descriptors on ELFv1.
3496 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
3497 set up r12 at function entry.
3499 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3501 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
3502 (struct gdbarch_tdep): New member elf_abi.
3504 * rs6000-tdep.c: Include "elf/ppc64.h".
3505 (rs6000_gdbarch_init): Detect ELF ABI version.
3507 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3509 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
3510 within a register pair holding a DFP 128-bit value on little-endian.
3511 (ppc64_sysv_abi_return_value_base): Likewise.
3512 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
3513 (dfp_pseudo_register_write): Likewise.
3515 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3517 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
3518 offset on little-endian when passing _Decimal32.
3519 (ppc64_sysv_abi_return_value_base): Likewise for return values.
3521 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3523 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
3524 of the overlapped FP register within the VSX register on little-
3526 (efpr_pseudo_register_write): Likewise.
3528 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3530 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
3531 offset on little-endian when passing small structures.
3533 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3535 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
3536 (struct ppc64_sysv_argpos): New data structure.
3537 (ppc64_sysv_abi_push_float): Remove.
3538 (ppc64_sysv_abi_push_val): New function.
3539 (ppc64_sysv_abi_push_integer): Likewise.
3540 (ppc64_sysv_abi_push_freg): Likewise.
3541 (ppc64_sysv_abi_push_vreg): Likewise.
3542 (ppc64_sysv_abi_push_param): Likewise.
3543 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
3544 (ppc64_sysv_abi_return_value_base): New function.
3545 (ppc64_sysv_abi_return_value): Refactor to use it.
3547 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3549 * NEWS: Document new target powerpc64le-*-linux*.
3551 2014-02-04 Mark Kettenis <kettenis@gnu.org>
3553 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
3554 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
3556 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
3557 register set used in ELF core dumps. Add floating-point register set.
3559 2014-02-03 Kevin Buettner <kevinb@redhat.com>
3561 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
3562 dwarf2_to_gdb[] table using symbolic constants. Adjust
3563 penultimate entry from number representing the PC register
3564 to symbolic constant representing the MDR register. Add
3565 constant for the PC register to the end of the table.
3567 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3569 * bsd-kvm.c: Include <sys/param.h>
3571 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3573 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
3575 2014-01-31 Joel Brobecker <brobecker@adacore.com>
3577 * ada-lang.h (clear_ada_sym_cache): Delete.
3579 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
3581 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
3583 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3585 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
3586 the sigreturn register save area only if the syscall is
3589 2014-01-29 Joel Brobecker <brobecker@adacore.com>
3591 * valops.c (value_slice): Minor reformatting.
3593 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
3595 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
3597 2014-01-28 Joel Brobecker <brobecker@adacore.com>
3599 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
3601 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
3602 (ada_ignore_descriptive_types_p): New static global.
3603 (find_parallel_type_by_descriptive_type): Return immediately
3604 if ada_ignore_descriptive_types_p is set.
3605 (_initialize_ada_language): Register new commands "maintenance
3606 set ada", "maintenance show ada", "maintenance set ada
3607 ignore-descriptive-types" and "maintenance show ada
3608 ignore-descriptive-types".
3609 * NEWS: Add entry for new "maint ada set/show
3610 ignore-descriptive-types" commands.
3612 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
3614 * record-btrace.c (record_btrace_close): Call btrace_teardown
3617 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3619 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
3622 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3624 * ada-typeprint (type_is_full_subrange_of_target_type):
3626 (print_range): Add parameter bounds_prefered_p. If not set,
3627 try printing range types using the name of their base type.
3628 (print_range_type): Add parameter bounds_prefered_p.
3629 Use it in call to print_range.
3630 (print_array_type, ada_print_type): Update calls to print_range
3631 and print_range_type.
3633 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3635 * ada-typeprint.c (print_array_type, print_choices, print_range)
3636 (print_range_bound, print_dynamic_range_bound, print_range_type):
3639 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3641 * ada-typeprint.c (print_range): Add missing empty line
3642 after local declaration.
3644 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3646 * ada-valprint.c (print_optional_low_bound): Get index_type's
3647 target type for as long as it is a TYPE_CODE_RANGE.
3649 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3651 * procfs.c (procfs_make_note_section): Remove assertion and
3654 2014-01-24 Yao Qi <yao@codesourcery.com>
3656 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
3657 * corelow.c (get_core_siginfo): Likewise.
3659 2014-01-24 Yao Qi <yao@codesourcery.com>
3661 * remote.c (remote_write_bytes_aux): Change type of 'len' to
3662 ULONGEST. Don't check 'len' is negative.
3663 (remote_write_bytes): Change type of 'len' to ULONGEST.
3665 2014-01-23 Tom Tromey <tromey@redhat.com>
3668 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
3669 Handle exception from frame.block.
3670 (FrameVars.fetch_frame_locals): Likewise.
3672 2014-01-23 Tom Tromey <tromey@redhat.com>
3675 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
3676 on a NULL pointer. Move "goto error" to correct place.
3678 2014-01-23 Tom Tromey <tromey@redhat.com>
3681 * python/py-framefilter.c (apply_frame_filter): Call
3682 ensure_python_env after computing gdbarch.
3684 2014-01-23 Yao Qi <yao@codesourcery.com>
3686 * target.c (raw_memory_xfer_partial): Change argument type
3687 from void * to gdb_byte *.
3688 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
3690 2014-01-22 Doug Evans <dje@google.com>
3692 New gdbserver option --debug-format=timestamp.
3695 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3697 * syscalls/s390x-linux.xml: New file.
3698 * syscalls/s390-linux.xml: New file.
3699 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
3700 (XML_SYSCALL_FILENAME_S390X): Likewise.
3701 (op_svc): New enum value for SVC opcode.
3702 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
3703 (s390_linux_get_syscall_number): New function.
3704 (s390_gdbarch_init): Register '*get_syscall_number' and the
3705 syscall xml file name.
3706 * data-directory/Makefile.in (SYSCALLS_FILES): Add
3707 "s390-linux.xml" and "s390x-linux.xml".
3708 * NEWS: Announce new feature.
3710 2014-01-22 Baruch Siach <baruch@tkos.co.il>
3712 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
3714 2014-01-22 Pedro Alves <palves@redhat.com>
3716 * xtensa-config.c: Include defs.h.
3718 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3720 * common/common-utils.h: Add "ARI:" comment beside __func__
3723 2014-01-22 Joel Brobecker <brobecker@adacore.com>
3725 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
3726 documentation a bit.
3728 2014-01-21 Roland McGrath <mcgrathr@google.com>
3730 * configure.ac: Call AM_PROG_INSTALL_STRIP.
3731 * configure: Regenerate.
3732 * aclocal.m4: Regenerate.
3733 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
3734 New substituted variables.
3735 (install-strip): New target.
3736 (INSTALL_SCRIPT): New substituted variable.
3737 (FLAGS_TO_PASS): Add it.
3738 (install-only): Use $(INSTALL_SCRIPT) rather than
3739 $(INSTALL_PROGRAM) for gcore.
3741 2014-01-20 Tom Tromey <tromey@redhat.com>
3743 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
3746 2014-01-20 Tom Tromey <tromey@redhat.com>
3748 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
3749 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
3750 (deprecated_cmd_warning, complete_on_cmdlist): Update.
3751 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
3752 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
3753 (struct cmd_list_element) <flags>: Remove.
3754 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
3755 doc_allocated>: New fields.
3756 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
3758 * maint.c (maintenance_do_deprecate): Update.
3759 * top.c (execute_command): Update.
3761 2014-01-20 Baruch Siach <baruch@tkos.co.il>
3763 * xtensa-linux-nat.c: Include asm/ptrace.h.
3765 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3767 * Makefile.in (SFILES): Add d-support.c.
3768 (COMMON_OBS): Add d-support.o.
3769 * d-lang.h (d_parse_symbol): Add comment, now defined in
3771 * d-lang.c (parse_call_convention)
3772 (parse_attributes, parse_function_types)
3773 (parse_function_args, parse_type, parse_identifier)
3774 (call_convention_p, d_parse_symbol): Move functions to ...
3775 * d-support.c: ... New file.
3777 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3779 * d-lang.h (d_parse_symbol): Add declaration.
3780 * d-lang.c (extract_identifiers)
3781 (extract_type_info): Remove functions.
3782 (parse_call_convention, parse_attributes)
3783 (parse_function_types, parse_function_args)
3784 (parse_type, parse_identifier, call_convention_p)
3785 (d_parse_symbol): New functions.
3786 (d_demangle): Use d_parse_symbol to demangle D symbols.
3788 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3790 * d-lang.h (struct builtin_d_type): New data type.
3791 (builtin_d_type): Add declaration.
3792 * d-lang.c (d_language_arch_info, build_d_types)
3793 (builtin_d_type): New functions.
3794 (enum d_primitive_types): New data type.
3795 (d_language_defn): Change c_language_arch_info to
3796 d_language_arch_info.
3797 (d_type_data): New static variable.
3798 (_initialize_d_language): Initialize d_type_data.
3800 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3802 * d-lang.h (d_main_name): Add declaration.
3803 * d-lang.c (d_main_name): New function.
3804 * symtab.c (find_main_name): Add call to d_main_name.
3806 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3808 * d-lang.c (d_language_defn): Change macro_expansion_c to
3811 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
3813 * MAINTAINERS: Add myself as a write-after-approval maintainer.
3815 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
3817 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
3818 gdb_exception" declaration.
3819 * remote.c (getpkt_or_notif_sane): Likewise.
3821 2014-01-17 Doug Evans <dje@google.com>
3823 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
3824 function, contents of dirnames_to_char_ptr_vec_append moved here.
3825 (delim_string_to_char_ptr_vec): New function.
3826 (dirnames_to_char_ptr_vec_append): Rewrite.
3827 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
3829 2014-01-17 Doug Evans <dje@google.com>
3831 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
3833 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
3834 #include "common-utils.h".
3835 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
3836 * common/vec.h (VEC_ASSERT_PASS): Update.
3837 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
3838 (MACH_CHECK_ERROR): Update.
3840 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
3842 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
3844 * gdbarch.h: Regenerate.
3846 2014-01-16 Tom Tromey <tromey@redhat.com>
3848 * value.c (struct value) <regnum>: Move earlier.
3850 2014-01-16 Tom Tromey <tromey@redhat.com>
3852 * remote.c (extended_remote_create_inferior): Rename from
3853 extended_remote_create_inferior_1. Add "ops" argument. Remove
3856 2014-01-16 Pedro Alves <palves@redhat.com>
3858 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
3859 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
3862 2014-01-16 Doug Evans <dje@google.com>
3864 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
3866 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3868 * btrace.h (btrace_thread_flag): New.
3869 (struct btrace_thread_info) <flags>: New.
3870 * record-btrace.c (record_btrace_resume_thread)
3871 (record_btrace_find_thread_to_move, btrace_step_no_history)
3872 (btrace_step_stopped, record_btrace_start_replaying)
3873 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
3874 (record_btrace_find_resume_thread): New.
3875 (record_btrace_resume, record_btrace_wait): Extend.
3876 (record_btrace_can_execute_reverse): New.
3877 (record_btrace_open): Fail in non-stop mode.
3878 (record_btrace_set_replay): Split into this, ...
3879 (record_btrace_stop_replaying): ... this, ...
3880 (record_btrace_clear_histories): ... and this.
3881 (init_record_btrace_ops): Init to_can_execute_reverse.
3882 * NEWS: Announce it.
3884 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3886 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
3887 (forward_target_decr_pc_after_break)
3888 (target_decr_pc_after_break): New.
3889 * target.c (forward_target_decr_pc_after_break)
3890 (target_decr_pc_after_break): New.
3891 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
3892 instead of gdbarch_decr_pc_after_break.
3893 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3894 instead of gdbarch_decr_pc_after_break.
3895 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
3896 instead of gdbarch_decr_pc_after_break.
3897 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
3898 instead of gdbarch_decr_pc_after_break.
3899 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
3900 instead of gdbarch_decr_pc_after_break.
3901 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
3902 instead of gdbarch_decr_pc_after_break.
3904 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3906 * btrace.c: Include regcache.h.
3907 (btrace_add_pc): New.
3908 (btrace_enable): Call btrace_add_pc.
3909 (btrace_is_empty): New.
3910 * btrace.h (btrace_is_empty): New.
3911 * record-btrace.c (require_btrace, record_btrace_info): Call
3914 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3916 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
3917 Support delta reads.
3918 (linux_disable_btrace): Change return type.
3919 * common/linux-btrace.h (linux_read_btrace): Change parameters
3920 and return type to allow error reporting. Update users.
3921 (linux_disable_btrace): Change return type. Update users.
3922 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
3924 (btrace_error): New.
3925 (btrace_block) <begin>: Comment on BEGIN == 0.
3926 * btrace.c (btrace_compute_ftrace): Start from the end of
3928 (btrace_stitch_trace, btrace_clear_history): New.
3929 (btrace_fetch): Read delta trace, return if replaying.
3930 (btrace_clear): Move clear history code to btrace_clear_history.
3931 (parse_xml_btrace): Throw an error if parsing failed.
3932 * target.h (struct target_ops) <to_read_btrace>: Change parameters
3933 and return type to allow error reporting.
3934 (target_read_btrace): Change parameters and return type to allow
3936 * target.c (target_read_btrace): Update.
3937 * remote.c (remote_read_btrace): Support delta reads. Pass
3939 * NEWS: Announce it.
3941 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3943 * record.h (record_btrace_frame_unwind)
3944 (record_btrace_tailcall_frame_unwind): New declarations.
3945 * dwarf2-frame: Include record.h
3946 (dwarf2_frame_cfa): Throw an error for btrace frames.
3947 * record-btrace.c: Include hashtab.h.
3948 (btrace_get_bfun_name): New.
3949 (btrace_call_history): Call btrace_get_bfun_name.
3950 (struct btrace_frame_cache): New.
3952 (bfcache_hash, bfcache_eq, bfcache_new): New.
3953 (btrace_get_frame_function): New.
3954 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
3955 (record_btrace_frame_this_id): Compute own id.
3956 (record_btrace_frame_prev_register): Provide PC, throw_error
3957 for all other registers.
3958 (record_btrace_frame_sniffer): Detect btrace frames.
3959 (record_btrace_tailcall_frame_sniffer): New.
3960 (record_btrace_frame_dealloc_cache): New.
3961 (record_btrace_frame_unwind): Add new functions.
3962 (record_btrace_tailcall_frame_unwind): New.
3963 (_initialize_record_btrace): Allocate cache.
3964 * btrace.c (btrace_clear): Call reinit_frame_cache.
3965 * NEWS: Announce it.
3967 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3969 * record-btrace.c (record_btrace_set_replay)
3970 (record_btrace_goto_begin, record_btrace_goto_end)
3971 (record_btrace_goto): New.
3972 (init_record_btrace_ops): Initialize them.
3973 * NEWS: Announce it.
3975 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3977 * record-btrace.c (record_btrace_find_new_threads)
3978 (record_btrace_thread_alive): New.
3979 (init_record_btrace_ops): Initialize to_find_new_threads and
3982 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3984 * record-btrace.c (record_btrace_resume): New.
3985 (record_btrace_wait): New.
3986 (init_record_btrace_ops): Initialize to_wait and to_resume.
3988 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3990 * record-btrace.c (record_btrace_xfer_partial)
3991 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
3992 (record_btrace_allow_memory_access): New.
3993 (init_record_btrace_ops): Initialize new methods.
3994 * target.c (raw_memory_xfer_partial): Bail out if target reports
3995 that this memory is not available.
3997 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
3999 * target.h (target_ops) <to_insert_breakpoint>
4000 <to_remove_breakpoint>: Add target_ops parameter.
4001 (forward_target_insert_breakpoint): New.
4002 (forward_target_remove_breakpoint): New.
4003 (memory_remove_breakpoint, memory_insert_breakpoint):
4004 Add target_ops parameter.
4005 * target.c (target_insert_breakpoint): Split into this and ...
4006 (forward_target_insert_breakpoint): ... this.
4007 (target_remove_breakpoint): Split into this and ...
4008 (forward_target_remove_breakpoint): ... this.
4009 (debug_to_insert_breakpoint): Add target_ops parameter.
4010 Call forward_target_insert_breakpoint.
4011 (debug_to_remove_breakpoint): Add target_ops parameter.
4012 Call forward_target_remove_breakpoint.
4013 (update_current_target): Do not inherit or default to_insert_breakpoint
4014 and to_remove_breakpoint.
4015 * corelow.c (ignore): Add target_ops parameter.
4016 * exec.c (ignore): Add target_ops parameter.
4017 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
4018 Add target_ops parameter.
4019 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
4020 Add target_ops parameter.
4021 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
4022 Add target_ops parameter.
4023 * record-full.c (record_full_beneath_to_insert_breakpoint)
4024 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
4025 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
4026 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
4027 (record_full_core_remove_breakpoint): Add target_ops parameter.
4029 (record_full_beneath_to_insert_breakpoint_ops)
4030 (record_full_beneath_to_remove_breakpoint_ops)
4031 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
4032 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
4033 tmp_to_remove_breakpoint_ops,
4034 record_full_beneath_to_insert_breakpoint_ops, and
4035 record_full_beneath_to_remove_breakpoint_ops.
4036 * remote-m32r-sdi.c (m32r_insert_breakpoint)
4037 (m32r_remove_breakpoint): Add target_ops parameter.
4038 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
4039 Add target_ops parameter.
4040 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
4041 Add target_ops parameter.
4043 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4044 Markus Metzger <markus.t.metzger@intel.com>
4046 * record-btrace.c: Include frame-unwind.h.
4047 (record_btrace_frame_unwind_stop_reason)
4048 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
4049 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
4051 (init_record_btrace_ops): Install it.
4053 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4055 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
4058 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4060 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
4063 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4065 * frame-unwind.c: Include target.h.
4066 (frame_unwind_try_unwinder): New function with code from ...
4067 (frame_unwind_find_by_frame): ... here. New variable
4068 unwinder_from_target, call also target_get_unwinder)
4069 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
4070 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
4071 * target.h (struct target_ops): New fields to_get_unwinder and
4072 to_get_tailcall_unwinder.
4073 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
4075 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4077 * record-btrace.c (record_btrace_fetch_registers)
4078 (record_btrace_store_registers)
4079 (record_btrace_to_prepare_to_store): New.
4080 (init_record_btrace_ops): Add the above.
4082 2014-01-16 Tom Tromey <tromey@redhat.com>
4084 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
4085 * target.h (struct target_ops) <to_prepare_to_store>: Add
4087 (target_prepare_to_store): Add argument.
4088 * target.c (debug_to_prepare_to_store): Add argument.
4089 (update_current_target): Update.
4090 * remote.c (remote_prepare_to_store): Add 'self' argument.
4091 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
4092 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
4093 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
4094 * record-full.c (record_full_core_prepare_to_store): Add 'self'
4096 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
4097 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
4098 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
4099 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
4100 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
4102 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4104 * btrace.h (replay) <replay>: New.
4105 (btrace_is_replaying): New.
4106 * btrace.c (btrace_clear): Free replay iterator.
4107 (btrace_is_replaying): New.
4108 * record-btrace.c (record_btrace_is_replaying): New.
4109 (record_btrace_info): Print insn number if replaying.
4110 (record_btrace_insn_history): Start at replay position.
4111 (record_btrace_call_history): Start at replay position.
4112 (init_record_btrace_ops): Init to_record_is_replaying.
4114 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4116 * record-btrace.c (record_btrace_insn_history_range): Include
4118 (record_btrace_insn_history_from): Adjust range.
4119 (record_btrace_call_history_range): Include
4121 (record_btrace_call_history_from): Adjust range.
4122 * NEWS: Announce changes.
4124 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4126 * record.h (enum record_print_flag)
4127 <record_print_indent_calls>: New.
4128 * record.c (get_call_history_modifiers): Recognize /c modifier.
4129 (_initialize_record): Document /c modifier.
4130 * record-btrace.c (btrace_call_history): Add btinfo parameter.
4131 Reorder fields. Optionally indent the function name. Update
4133 * NEWS: Announce changes.
4135 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4137 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
4139 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4141 * btrace.c (ftrace_new_function): Start counting at one.
4142 * record-btrace.c (record_btrace_info): Adjust number of calls
4144 * NEWS: Announce it.
4146 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4148 * record-btrace.c (btrace_call_history_insn_range): Print
4149 insn range as [begin, end].
4151 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4153 * btrace.h (struct btrace_func_link): New.
4154 (enum btrace_function_flag): New.
4155 (struct btrace_inst): Rename to ...
4156 (struct btrace_insn): ...this. Update all users.
4157 (struct btrace_func) <ibegin, iend>: Remove.
4158 (struct btrace_func_link): New.
4159 (struct btrace_func): Rename to ...
4160 (struct btrace_function): ...this. Update all users.
4161 (struct btrace_function) <segment, flow, up, insn, insn_offset)
4162 (number, level, flags>: New.
4163 (struct btrace_insn_iterator): Rename to ...
4164 (struct btrace_insn_history): ...this.
4166 (struct btrace_insn_iterator, btrace_call_iterator): New.
4167 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
4168 (struct btrace_target_info) <begin, end, level>
4169 <insn_history, call_history>: New.
4170 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4171 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4172 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4173 (btrace_call_number, btrace_call_begin, btrace_call_end)
4174 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4175 (btrace_find_function_by_number, btrace_set_insn_history)
4176 (btrace_set_call_history): New.
4177 * btrace.c (btrace_init_insn_iterator)
4178 (btrace_init_func_iterator, compute_itrace): Remove.
4179 (ftrace_print_function_name, ftrace_print_filename)
4180 (ftrace_skip_file): Change
4182 (ftrace_init_func): Remove.
4183 (ftrace_debug): Use new btrace_function fields.
4184 (ftrace_function_switched): Also consider gaining and
4185 losing symbol information).
4186 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
4187 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
4188 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
4190 (ftrace_new_function): Move. Remove debug print.
4191 (ftrace_update_lines, ftrace_update_insns): New.
4192 (ftrace_update_function): Check for call, ret, and jump.
4193 (compute_ftrace): Renamed to ...
4194 (btrace_compute_ftrace): ...this. Rewritten to compute call
4196 (btrace_fetch, btrace_clear): Updated.
4197 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4198 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4199 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4200 (btrace_call_number, btrace_call_begin, btrace_call_end)
4201 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4202 (btrace_find_function_by_number, btrace_set_insn_history)
4203 (btrace_set_call_history): New.
4204 * record-btrace.c (require_btrace): Use new btrace thread
4206 (record_btrace_info, btrace_insn_history)
4207 (record_btrace_insn_history, record_btrace_insn_history_range):
4208 Use new btrace thread info fields and new iterator.
4209 (btrace_func_history_src_line): Rename to ...
4210 (btrace_call_history_src_line): ...this. Use new btrace
4212 (btrace_func_history): Rename to ...
4213 (btrace_call_history): ...this. Use new btrace thread info
4214 fields and new iterator.
4215 (record_btrace_call_history, record_btrace_call_history_range):
4216 Use new btrace thread info fields and new iterator.
4218 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4220 * frame.h (frame_id_build_unavailable_stack_special): New.
4221 * frame.c (frame_id_build_unavailable_stack_special): New.
4223 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4225 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
4226 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
4227 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
4229 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
4230 (i386_insn_is_jump, i386_jmp_p): New.
4231 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
4232 insn_is_jump to gdbarch.
4233 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
4234 * gdbarch.h: Regenerated.
4235 * gdbarch.c: Regenerated.
4236 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
4237 (default_insn_is_jump): New.
4238 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
4239 (default_insn_is_jump): New.
4241 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4243 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
4245 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
4246 (btrace_read_type) <btrace_read_new>: Change to ...
4247 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
4249 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4251 * common/linux-btrace.c (linux_read_btrace): Free trace from
4254 2014-01-15 Doug Evans <dje@google.com>
4256 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
4259 2014-01-15 Tom Tromey <tromey@redhat.com>
4261 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
4262 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
4263 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
4264 (set_objfile_main_name): New function.
4265 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
4266 language_of_main>: New fields.
4267 (set_objfile_main_name): Declare.
4268 * symtab.c (find_main_name): Loop over objfiles to find the main
4270 (set_main_name): Now static.
4271 (get_main_info): Add comment.
4272 * symtab.h (set_main_name): Don't declare.
4274 2014-01-15 Tom Tromey <tromey@redhat.com>
4276 * symtab.c (main_progspace_key): New global.
4277 (struct main_info): New.
4278 (name_of_main, language_of_main): Remove.
4279 (get_main_info, main_info_cleanup): New function.
4280 (set_main_name, main_name, main_language): Use get_main_info.
4281 (_initialize_symtab): Initialize main_progspace_key.
4283 2014-01-15 Tom Tromey <tromey@redhat.com>
4285 * dbxread.c (process_one_symbol): Update.
4286 * dwarf2read.c (read_partial_die): Update.
4287 * symfile.c (set_initial_language): Call main_language.
4288 * symtab.c (language_of_main): Now static.
4289 (set_main_name): Add 'lang' parameter.
4290 (find_main_name): Update.
4291 (main_language): New function.
4292 (symtab_observer_executable_changed): Update.
4293 * symtab.h (set_main_name): Update.
4294 (language_of_main): Remove.
4295 (main_language): Declare.
4297 2014-01-15 Tom Tromey <tromey@redhat.com>
4299 * symfile.c (init_entry_point_info): Use new "initialized" field.
4301 * objfiles.h (struct entry_point) <initialized>: New field.
4302 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
4303 (struct objfile) <ei>: ...here. Remove.
4304 * objfiles.c (entry_point_address_query): Update.
4306 2014-01-15 Tom Tromey <tromey@redhat.com>
4308 * objfiles.c (entry_point_address_query): Relocate entry point
4310 (objfile_relocate1): Do not relocate entry point address.
4311 * objfiles.h (struct entry_info) <entry_point>: Update comment.
4312 <the_bfd_section_index>: New field.
4313 * symfile.c (init_entry_point_info): Find the entry point's
4316 2014-01-15 Tom Tromey <tromey@redhat.com>
4318 * solib-frv.c (enable_break): Use entry_point_address_query.
4320 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4322 * NEWS: Add note on improved process record-replay on
4323 arm*-linux* targets.
4325 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4327 * arm-tdep.c (enum arm_record_result): New enum.
4328 (arm_record_unsupported_insn): New function.
4329 (arm_record_coproc_data_proc): Removed.
4330 (thumb2_record_ld_st_multiple): New function.
4331 (thumb2_record_ld_st_dual_ex_tbb): New function.
4332 (thumb2_record_data_proc_sreg_mimm): New function.
4333 (thumb2_record_ps_dest_generic): New function.
4334 (thumb2_record_branch_misc_cntrl): New function.
4335 (thumb2_record_str_single_data): New function.
4336 (thumb2_record_ld_mem_hints): New function.
4337 (thumb2_record_ld_word): New function.
4338 (thumb2_record_lmul_lmla_div): New function.
4339 (thumb2_record_decode_insn_handler): New function.
4340 (decode_insn): Add thumb32 instruction handlers.
4342 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4344 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
4345 (struct arm_linux_record_tdep): Declare.
4346 (arm_canonicalize_syscall): New function.
4347 (arm_all_but_pc_registers_record): New function.
4348 (arm_linux_syscall_record): New function.
4349 (arm_linux_init_abi): Add syscall recording constructs.
4350 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
4351 decoding. (arm_record_coproc_data_proc): Update arm syscall
4353 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
4354 <arm_syscall_record>: New field.
4355 * configure.tgt (arm*-*-linux*): Add linux-record.o to
4358 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4360 * arm-tdep.c (thumb_record_misc): Update to use sp as base
4361 register for push instruction recording.
4363 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4365 * arm-tdep.c (thumb_record_misc): Update to correct logical
4366 error while recording ldm, ldmia and pop instructions.
4368 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4370 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
4372 2014-01-15 Pedro Alves <palves@redhat.com>
4374 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
4375 (go32_resume, go32_fetch_registers, store_register)
4376 (go32_store_registers, go32_prepare_to_store)
4377 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
4378 (go32_create_inferior, go32_can_run, go32_terminal_init)
4379 (go32_terminal_inferior, go32_terminal_ours): Delete forward
4382 2014-01-15 Tom Tromey <tromey@redhat.com>
4384 * target.h (async_callback_ftype): New typedef.
4385 (struct target_ops) <to_async>: Use it.
4387 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4389 * python/py-value.c (get_field_type): Remove unnecessary curly
4390 braces for single-statement if block.
4392 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4394 * python/py-type.c (convert_field): Add missing empty line
4397 2014-01-14 Doug Evans <dje@google.com>
4399 * symfile.h (expand_symtabs_matching): Renamed from
4400 expand_partial_symbol_names. Update prototype.
4401 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4402 * symfile.c (expand_symtabs_matching): Renamed from
4403 expand_partial_symbol_names. New args file_matcher, kind.
4404 Rename arg fun to symbol_matcher.
4405 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4406 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
4407 ada_expand_partial_symbol_name.
4408 (ada_make_symbol_completion_list): Update to call
4409 expand_symtabs_matching.
4410 (ada_add_global_exceptions): Call expand_symtabs_matching.
4411 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
4412 call map_symbol_filenames.
4413 * symtab.c (sources_info): Update to call map_symbol_filenames.
4414 (search_symbols): Call expand_symtabs_matching.
4415 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
4416 (default_make_symbol_completion_list_break_on): Update to call
4417 expand_symtabs_matching.
4418 (make_source_files_completion_list): Update to call
4419 map_symbol_filenames.
4421 2014-01-14 Doug Evans <dje@google.com>
4423 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
4424 (expand_symtabs_symbol_matcher_ftype): New typedef.
4425 (quick_symbol_functions.expand_symtabs_matching): Update to use.
4426 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4427 * symfile.c (expand_partial_symbol_names): Update to use
4428 expand_symtabs_symbol_matcher_ftype.
4429 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
4430 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4431 Arg name_matcher renamed to symbol_matcher.
4432 * psymtab.c (recursively_search_psymtabs): Update to use
4433 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
4435 (expand_symtabs_matching_via_partial): Update to use
4436 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4437 Arg name_matcher renamed to symbol_matcher.
4439 2014-01-14 Doug Evans <dje@google.com>
4441 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
4442 (map_partial_symbol_filenames): Ditto.
4443 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
4444 (map_partial_symbol_filenames): Ditto.
4445 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
4446 (map_partial_symbol_filenames): Ditto.
4447 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
4448 (map_partial_symbol_filenames): Ditto.
4449 * symtab.c: Delete #include "psymtab.h".
4451 2014-01-14 Pedro Alves <palves@redhat.com>
4452 Tom Tromey <tromey@redhat.com>
4454 * infrun.c (use_displaced_stepping): Use find_record_target
4455 instead of RECORD_IS_USED.
4456 (adjust_pc_after_break): Use record_full_is_used instead of
4458 * record-btrace.c (record_btrace_open): Call record_preopen
4459 instead of checking RECORD_IS_USED.
4460 * record-full.c (record_full_shortname)
4461 (record_full_core_shortname): New globals.
4462 (record_full_is_used): New function.
4463 (find_full_open): Call record_preopen instead of checking
4465 (init_record_full_ops): Set the target's shortname to
4466 record_full_shortname.
4467 (init_record_full_core_ops): Set the target's shortname to
4468 record_full_core_shortname.
4469 * record-full.h (record_full_is_used): Declare.
4470 * record.c (find_record_target): Make extern.
4471 (record_preopen): New function.
4472 * record.h (RECORD_IS_USED): Delete macro.
4473 (find_record_target, record_preopen): Declare functions.
4475 2014-01-14 Yao Qi <yao@codesourcery.com>
4477 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
4478 'len''s type to ULONGEST.
4479 (core_xfer_shared_libraries_aix): Likewise.
4480 * gdbarch.c, gdbarch.h: Regenerated.
4481 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
4482 Change type of 'len' to ULONGEST.
4483 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4484 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
4486 2014-01-14 Yao Qi <yao@codesourcery.com>
4488 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
4489 type of 'len' to ULONGEST.
4490 (linux_xfer_osdata_processgroups): Likewise.
4491 (linux_xfer_osdata_threads): Likewise.
4492 (linux_xfer_osdata_fds): Likewise.
4493 (linux_xfer_osdata_isockets): Likewise.
4494 (linux_xfer_osdata_shm): Likewise.
4495 (linux_xfer_osdata_sem): Likewise.
4496 (linux_xfer_osdata_msg): Likewise.
4497 (linux_common_xfer_osdata): Likewise.
4498 (struct osdata_type) <getter>: Likewise.
4499 * common/linux-osdata.h (linux_common_xfer_osdata): Update
4502 2014-01-14 Yao Qi <yao@codesourcery.com>
4504 * target.h (target_xfer_partial_ftype): Update.
4505 (struct target_ops) <to_xfer_partial>: Change 'len' type to
4507 * aix-thread.c (aix_thread_xfer_partial): Change type of
4508 argument 'len' to ULONGEST.
4509 * auxv.c (procfs_xfer_auxv): Likewise.
4510 (ld_so_xfer_auxv): Likewise.
4511 (memory_xfer_auxv): Likewise.
4512 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4513 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4514 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4515 * corelow.c (core_xfer_partial): Likewise.
4516 * ctf.c (ctf_xfer_partial): Likewise.
4517 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
4519 (darwin_read_dyld_info): Likewise.
4520 (darwin_xfer_partial): Likewise.
4521 * exec.c (section_table_xfer_memory_partial): Likewise.
4522 (exec_xfer_partial): Likewise.
4523 * exec.h (section_table_xfer_memory_partial): Update
4525 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
4526 instead of plongest.
4527 (gnu_xfer_partial): Likewise.
4528 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
4529 (ia64_hpux_xfer_solib_got): Likewise.
4530 (ia64_hpux_xfer_partial): Likewise.
4531 * ia64-linux-nat.c (ia64_linux_xfer_partial):
4532 * inf-ptrace.c (inf_ptrace_xfer_partial):
4533 * inf-ttrace.c (inf_ttrace_xfer_partial):
4534 * linux-nat.c (linux_xfer_siginfo): Likewise.
4535 (linux_nat_xfer_partial): Likewise.
4536 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
4537 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
4538 * monitor.c (monitor_xfer_memory): Likewise.
4539 (monitor_xfer_partial): Likewise.
4540 * procfs.c (procfs_xfer_partial): Likewise.
4541 * record-full.c (record_full_xfer_partial): Likewise.
4542 (record_full_core_xfer_partial): Likewise.
4543 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
4544 instead of plongest.
4545 (gdbsim_xfer_partial): Likewise.
4546 * remote.c (remote_xfer_partial): Likewise.
4547 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4548 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4550 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4551 (rs6000_xfer_shared_libraries): Likewise.
4552 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4553 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4554 (sparc_xfer_partial): Likewise.
4555 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4556 (spu_xfer_partial): Likewise.
4557 * spu-multiarch.c (spu_xfer_partial): Likewise.
4558 * target.c (target_read_live_memory): Likewise.
4559 (memory_xfer_live_readonly_partial): Likewise.
4560 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
4561 (target_xfer_partial, default_xfer_partial): Likewise.
4562 (current_xfer_partial): Likewise.
4563 * tracepoint.c (tfile_xfer_partial): Likewise.
4564 * windows-nat.c (windows_xfer_memory): Likewise. Call
4565 pulongest instead of plongest.
4566 (windows_xfer_partial): Likewise.
4567 (windows_xfer_shared_libraries): Likewise.
4569 2014-01-14 Yao Qi <yao@codesourcery.com>
4571 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
4572 target_xfer_partial_ftype.
4574 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4578 * valops.c (value_struct_elt_bitpos): New function
4579 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
4580 object to 'None' if the field name is an empty string ("").
4581 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
4582 attribute to look for a field when 'name' is 'None'.
4583 (get_field_type): New function
4585 2014-01-13 Doug Evans <dje@google.com>
4588 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
4589 (try_open_dwop_file): Ditto.
4590 * gdb_bfd.c: #include "vec.h".
4591 (bfdp): New typedef.
4592 (struct gdb_bfd_data): New member included_bfds.
4593 (gdb_bfd_unref): Unref all included bfds.
4594 (gdb_bfd_record_inclusion): New function.
4595 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
4597 2014-01-13 Tom Tromey <tromey@redhat.com>
4599 * gdbcore.h (deprecated_core_resize_section_table): Remove.
4601 2014-01-13 Tom Tromey <tromey@redhat.com>
4603 * defs.h (use_windows): Remove.
4604 * gdb.c (main): Update.
4605 * main.c (captured_main, gdb_main): Update.
4606 * main.h (struct captured_main_args) <use_windows>: Remove.
4607 * top.c (use_windows): Remove.
4609 2014-01-13 Tom Tromey <tromey@redhat.com>
4611 * defs.h (deprecated_flush_hook): Remove.
4613 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4616 * linux-thread-db.c (try_thread_db_load): Add parameter
4617 check_auto_load_safe. Move here the file_is_auto_load_safe call.
4618 (try_thread_db_load_from_pdir_1): Move it there from here.
4619 (try_thread_db_load_from_sdir): Update caller.
4620 (try_thread_db_load_from_dir): Move it there from here.
4622 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
4624 * regformats/regdat.sh: Always rewrite the register file.
4626 2014-01-13 Pedro Alves <palves@redhat.com>
4628 * Makefile.in (CHECK_HEADERS): New variable.
4629 (check-headers:): New rule.
4631 2014-01-13 Tom Tromey <tromey@redhat.com>
4633 * cli/cli-setshow.c (do_set_command): Update.
4634 * defs.h (deprecated_set_hook): Remove.
4635 * top.c (deprecated_set_hook): Remove.
4637 2014-01-13 Pedro Alves <palves@redhat.com>
4639 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
4640 the tracepoint if the PC is a pseudo-register.
4642 2014-01-13 Tom Tromey <tromey@redhat.com>
4644 * defs.h (XCALLOC): Remove.
4645 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
4646 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
4647 * dwarf2loc.c (allocate_piece_closure): Likewise.
4648 * elfread.c (elf_symfile_segments): Likewise.
4649 (elf_symfile_segments): Likewise.
4650 * gdbtypes.c (copy_type_recursive): Likewise.
4651 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
4652 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
4653 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
4655 * mt-tdep.c (mt_gdbarch_init): Likewise.
4656 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
4658 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
4659 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
4660 * registry.c (registry_alloc_data): Likewise.
4661 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
4662 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
4663 * serial.c (serial_fdopen_ops): Likewise.
4664 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
4666 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
4667 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
4670 2014-01-13 Tom Tromey <tromey@redhat.com>
4672 * defs.h (XMALLOC): Remove.
4673 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
4674 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
4675 * cli-out.c (struct ui_out *): Likewise.
4676 * cli/cli-dump.c (add_dump_command): Likewise.
4677 (add_dump_command): Likewise.
4678 * complaints.c (get_complaints): Likewise.
4679 (find_complaint): Likewise.
4680 * dwarf2-frame.c (execute_cfa_program): Likewise.
4681 * dwarf2read.c (abbrev_table_read_table): Likewise.
4682 * gdbarch.sh: Likewise.
4683 * gdbarch.c: Rebuild.
4684 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
4685 * interps.c (interp_new): Likewise.
4686 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
4687 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
4688 * mi/mi-console.c (mi_console_file_new): Likewise.
4689 * mi/mi-interp.c (mi_interpreter_init): Likewise.
4690 * mi/mi-out.c (mi_out_new): Likewise.
4691 * mi/mi-parse.c (mi_parse): Likewise.
4692 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
4693 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
4694 * observer.c (xalloc_observer_list_node): Likewise.
4695 * regcache.c (regcache_xmalloc_1): Likewise.
4696 * reggroups.c (reggroup_new): Likewise.
4697 (_initialize_reggroup): Likewise.
4698 * registry.c (register_data_with_cleanup): Likewise.
4699 * remote.c (remote_notif_stop_alloc_reply): Likewise.
4700 * ser-base.c (serial_ttystate): Likewise.
4701 * ser-mingw.c (make_pipe_state): Likewise.
4702 * ser-pipe.c (pipe_open): Likewise.
4703 * serial.c (serial_open): Likewise.
4704 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
4705 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
4706 (tui_alloc_win_info): Likewise.
4707 (tui_add_content_elements): Likewise.
4708 * tui/tui-file.c (tui_file_new): Likewise.
4709 * tui/tui-out.c (tui_out_new): Likewise.
4710 * ui-file.c (mem_file_new): Likewise.
4711 * ui-out.c (push_level): Likewise.
4712 (make_cleanup_ui_out_end): Likewise.
4713 (append_header_to_list): Likewise.
4714 (ui_out_new): Likewise.
4715 * user-regs.c (user_reg_add_builtin): Likewise.
4717 2014-01-13 Tom Tromey <tromey@redhat.com>
4719 * defs.h (XZALLOC): Remove.
4720 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
4721 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
4722 (get_ada_tasks_inferior_data): Likewise.
4723 * auto-load.c (get_auto_load_pspace_data): Likewise.
4724 * auxv.c (get_auxv_inferior_data): Likewise.
4725 * bfd-target.c (target_bfd_reopen): Likewise.
4726 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
4727 (deprecated_insert_raw_breakpoint): Likewise.
4728 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
4729 * corelow.c (core_open): Likewise.
4730 * darwin-nat.c (darwin_check_new_threads): Likewise.
4731 (darwin_attach_pid): Likewise.
4732 * dummy-frame.c (dummy_frame_push): Likewise.
4733 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
4734 * dwarf2loc.c (allocate_piece_closure): Likewise.
4735 * elfread.c (elf_symfile_segments): Likewise.
4736 * eval.c (ptrmath_type_p): Likewise.
4737 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
4738 * gdbtypes.c (alloc_type_arch): Likewise.
4739 (alloc_type_instance): Likewise.
4740 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
4741 * inf-child.c (inf_child_can_use_agent): Likewise.
4742 * inflow.c (get_inflow_inferior_data): Likewise.
4743 * infrun.c (save_infcall_suspend_state): Likewise.
4744 * jit.c (jit_reader_load): Likewise.
4745 (get_jit_objfile_data): Likewise.
4746 (get_jit_program_space_data): Likewise.
4747 (jit_object_open_impl): Likewise.
4748 (jit_symtab_open_impl): Likewise.
4749 (jit_block_open_impl): Likewise.
4750 (jit_frame_sniffer): Likewise.
4751 * linux-fork.c (add_fork): Likewise.
4752 * maint.c (make_command_stats_cleanup): Likewise.
4753 * objfiles.c (get_objfile_pspace_data): Likewise.
4754 * opencl-lang.c (struct lval_closure): Likewise.
4755 * osdata.c (osdata_start_osdata): Likewise.
4756 * progspace.c (new_address_space): Likewise.
4757 (add_program_space): Likewise.
4758 * remote-sim.c (get_sim_inferior_data): Likewise.
4759 * sh-tdep.c (sh_gdbarch_init): Likewise.
4760 * skip.c (Ignore): Likewise.
4761 (skip_delete_command): Likewise.
4762 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
4763 (library_list_start_library): Likewise.
4764 (solib_aix_current_sos): Likewise.
4765 * solib-darwin.c (get_darwin_info): Likewise.
4766 (darwin_current_sos): Likewise.
4767 * solib-dsbt.c (get_dsbt_info): Likewise.
4768 * solib-ia64-hpux.c (new_so_list): Likewise.
4769 (ia64_hpux_get_solib_linkage_addr): Likewise.
4770 * solib-spu.c (append_ocl_sos): Likewise.
4771 (spu_current_sos): Likewise.
4772 * solib-svr4.c (get_svr4_info): Likewise.
4773 (svr4_keep_data_in_core): Likewise.
4774 (library_list_start_library): Likewise.
4775 (svr4_default_sos): Likewise.
4776 (svr4_read_so_list): Likewise.
4777 * solib-target.c (library_list_start_library): Likewise.
4778 (solib_target_current_sos): Likewise.
4779 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
4780 * symfile-debug.c (install_symfile_debug_logging): Likewise.
4781 * symfile.c (default_symfile_segments): Likewise.
4782 * target-descriptions.c (tdesc_data_init): Likewise.
4783 (tdesc_create_reg): Likewise.
4784 (struct tdesc_type *): Likewise.
4785 (tdesc_create_vector): Likewise.
4786 (tdesc_set_struct_size): Likewise.
4787 (struct tdesc_type *): Likewise.
4788 (tdesc_free_feature): Likewise.
4789 (tdesc_create_feature): Likewise.
4790 * windows-nat.c (windows_add_thread): Likewise.
4791 (windows_make_so): Likewise.
4792 * xml-support.c (gdb_xml_body_text): Likewise.
4793 (gdb_xml_create_parser_and_cleanup): Likewise.
4794 (xml_process_xincludes): Likewise.
4795 * xml-syscall.c (allocate_syscalls_info): Likewise.
4796 (syscall_create_syscall_desc): Likewise.
4798 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
4800 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
4801 function, with code from i386_stap_parse_special_token.
4802 (i386_stap_parse_special_token_three_arg_disp): Likewise.
4803 (i386_stap_parse_special_token): Move code to the two functions
4806 2014-01-09 Pedro Alves <palves@redhat.com>
4807 Hui Zhu <hui@codesourcery.com>
4810 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
4811 bp_err_string. Don't mark the location shlib_disabled if the
4812 error thrown wasn't a generic or memory error. Catch errors
4813 thrown while inserting breakpoints in overlayed code. Output
4814 error message of software breakpoints.
4815 * remote.c (remote_insert_breakpoint): If this breakpoint has
4816 target-side commands but this stub doesn't support Z0 packets,
4817 throw NOT_SUPPORTED_ERROR error.
4818 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
4819 * target.h (target_insert_breakpoint): Extend comment.
4820 (target_insert_hw_breakpoint): Add comment.
4822 2014-01-08 Pedro Alves <palves@redhat.com>
4824 * remote.c (remote_add_thread): Add threads silently if starting
4826 (remote_notice_new_inferior): If in all-stop, and starting up,
4827 don't call notice_new_inferior.
4828 (get_current_thread): New function, factored out from ...
4829 (add_current_inferior_and_thread): ... this. Adjust.
4830 (remote_start_remote) <all-stop>: Fetch the thread list. If we
4831 found any thread, then select the remote's current thread as GDB's
4834 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4836 * NEWS: Create a new section for the next release branch.
4837 Rename the section of the current branch, now that it has
4840 2014-01-08 Joel Brobecker <brobecker@adacore.com>
4842 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
4843 * version.in: Bump version to 7.7.50.DATE-cvs.
4845 2014-01-08 Yao Qi <yao@codesourcery.com>
4847 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
4848 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
4849 (spu_xfer_partial): Cast 'buf' to 'const char *'.
4851 2014-01-08 Yao Qi <yao@codesourcery.com>
4853 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
4854 return value of bfd_get_filename to symbol_file_add_from_bfd.
4856 2014-01-08 Pierre Muller <muller@sourceware.org>
4859 * coff-pe-read.c (struct read_pe_section_data): Add index field.
4860 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
4861 to prim_record_mininal_symbol_and_info.
4862 (add_pe_forwarded_sym): Use known section number of forwarded symbol
4863 in call to prim_record_minimal_symbol_and_info.
4864 (read_pe_exported_syms): Set index field of section_data.
4866 2014-01-07 Andrew Pinski <apinski@cavium.com>
4868 * features/aarch64-core.xml (cpsr): Change to be 64bit.
4869 * features/aarch64.c: Regenerate.
4871 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
4873 * target.c (return_null): Define.
4874 (update_current_target): Use it instead of return_zero for
4875 functions that return a pointer.
4877 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4879 * source.c (add_path): Fix check for duplicated paths in the previously
4882 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
4884 * ada-lang.c: Remove duplicated include statements.
4885 * alphabsd-nat.c: Ditto.
4886 * amd64-darwin-tdep.c: Ditto.
4887 * amd64fbsd-nat.c: Ditto.
4888 * auto-load.c: Ditto.
4890 * breakpoint.c: Ditto.
4892 * fork-child.c: Ditto.
4893 * gdb_usleep.c: Ditto.
4894 * i386-darwin-tdep.c: Ditto.
4895 * i386fbsd-nat.c: Ditto.
4897 * inferior.c: Ditto.
4899 * linux-nat.c: Ditto.
4900 * linux-tdep.c: Ditto.
4901 * m68kbsd-nat.c: Ditto.
4902 * m68klinux-nat.c: Ditto.
4903 * microblaze-tdep.c: Ditto.
4904 * mips-linux-tdep.c: Ditto.
4905 * mn10300-tdep.c: Ditto.
4906 * nto-tdep.c: Ditto.
4907 * opencl-lang.c: Ditto.
4909 * printcmd.c: Ditto.
4910 * regcache.c: Ditto.
4911 * remote-m32r-sdi.c: Ditto.
4915 * tilegx-linux-nat.c: Ditto.
4916 * tilegx-tdep.c: Ditto.
4917 * tracepoint.c: Ditto.
4919 * vaxbsd-nat.c: Ditto.
4920 * windows-nat.c: Ditto.
4921 * xtensa-tdep.c: Ditto.
4923 2014-01-07 Yao Qi <yao@codesourcery.com>
4925 * spu-linux-nat.c (_initialize_spu_nat): Declare.
4927 2014-01-07 Yao Qi <yao@codesourcery.com>
4928 Joel Brobecker <brobecker@adacore.com>
4930 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
4931 (pdc_write_regs): Likewise.
4932 (fetch_regs_kernel_thread): Likewise.
4933 (store_regs_kernel_thread): Likewise.
4935 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4937 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
4938 tagged type objects to their actual type.
4940 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4942 * ada-valprint.c (print_field_values): Add "language" parameter.
4943 Update calls to print_field_values and print_variant_part.
4944 Pass new parameter "language" in call to val_print instead
4945 of "current_language". Replace call to ada_val_print by call
4947 (print_variant_part): Add "language" parameter.
4948 (ada_val_print_struct_union): Update call to print_field_values.
4950 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4952 * ada-valprint.c (ui_memcpy): Delete.
4953 (ada_print_floating): Update documentation. Add empty line
4954 between between function documentation and implementation.
4955 Delete variable "buffer". Use ui_file_xstrdup in place of
4956 ui_file_put. Minor adjustments following this change.
4958 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4960 * ada-valprint.c (ada_val_print_string): New function,
4961 extracted from ada_val_print_array.
4962 (ada_val_print_array): Replace extracted code by call
4963 to ada_val_print_string followed by a return. Move
4964 "else" branch to the function's top block.
4966 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4968 * ada-valprint.c (ada_val_print_array): Move implementation
4969 down. Rename parameter "offset" and "val" into "offset_aligned"
4970 and "original_value" respectively. Add parameter "offset".
4972 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4974 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
4975 re-organizing the code. Change the "???" message printed
4976 when target type is a TYPE_CODE_UNDEF into
4977 "<ref to undefined type>".
4979 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4981 * ada-valprint.c (print_record): Delete, implementation inlined...
4982 (ada_val_print_struct_union): ... here. Remove call to
4983 ada_check_typedef in inlined implementation.
4985 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4987 * ada-valprint.c (ada_val_print_gnat_array): New function,
4988 extracted from ada_val_print_1;
4989 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
4990 (ada_val_print_flt, ada_val_print_struct_union)
4991 (ada_val_print_ref): Likewise.
4992 (ada_val_print_1): Delete variables i and elttype.
4993 Replace extracted-out code by call to corresponding
4996 2014-01-07 Joel Brobecker <brobecker@adacore.com>
4998 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
5000 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5002 * ada-valprint.c (ada_val_print_1): Replace calls to
5003 ada_val_print_1 by calls to val_print.
5005 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5007 * ada-valprint.c (ada_val_print_1): Add parameter "language".
5008 Update calls to self accordingly. Replace calls to c_val_print
5009 by calls to val_print.
5011 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5013 * ada-valprint.c (print_record): Delete declaration.
5014 (adjust_type_signedness, ada_val_print_1): Likewise.
5015 (ada_val_print): Move function implementation down.
5016 (print_variant_part, print_field_values, print_record):
5017 Move function implementation up.
5019 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5021 * python/py-type.c (typy_get_name): New function.
5022 (type_object_getset): Add entry for attribute "name".
5023 * NEWS: Add entry mentioning this new attribute.
5025 2014-01-07 Yao Qi <yao@codesourcery.com>
5027 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
5030 2014-01-07 Yao Qi <yao@codesourcery.com>
5032 * gnu-nat.c (info_port_rights): Add qualifier const to
5035 2014-01-07 Yao Qi <yao@codesourcery.com>
5037 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
5039 2014-01-07 Yao Qi <yao@codesourcery.com>
5041 * gnu-nat.c (make_inf) Update declaration.
5042 (make_inf): Make it static.
5043 (inf_set_traced): Likewise.
5044 (inf_port_to_thread, inf_task_died_status): Likewise.
5046 2014-01-07 Yao Qi <yao@codesourcery.com>
5048 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
5050 2014-01-07 Yao Qi <yao@codesourcery.com>
5052 * gnu-nat.c (_initialize_gnu_nat): Declare.
5054 2014-01-07 Yao Qi <yao@codesourcery.com>
5056 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
5058 (struct gdbarch_info) <byte_order>: Change type to
5060 <byte_order_for_code>: Likewise.
5061 * gdbarch.c, gdbarch.h: Regenerated.
5063 2014-01-06 Sasha Smundak <asmundak@google.com>
5065 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
5067 2014-01-06 Tom Tromey <tromey@redhat.com>
5069 * doublest.c (convert_doublest_to_floatformat): Use const, not
5071 * somread.c (som_symtab_read): Likewise.
5073 2014-01-07 Hui Zhu <hui@codesourcery.com>
5075 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
5076 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
5077 (gdb_bfd_fopen): Ditto.
5078 (gdb_bfd_openr): Ditto.
5079 (gdb_bfd_openw): Ditto.
5080 (gdb_bfd_openr_iovec): Ditto.
5081 (gdb_bfd_fdopenr): Ditto.
5082 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
5083 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
5085 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
5087 * symfile-mem.c (symbol_file_add_from_memory): Removed
5088 gdb_bfd_stash_filename.
5090 2014-01-03 Doug Evans <dje@google.com>
5092 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
5095 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5097 Update year range in copyright notice of all files.
5099 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5101 * top.c (print_gdb_version): Set copyright year to 2014.
5103 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5105 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
5107 For older changes see ChangeLog-2013.
5113 version-control: never