1 2014-02-26 Tom Tromey <tromey@redhat.com>
3 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
4 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
5 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
6 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
7 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
8 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
9 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
10 * ada-lang.c (ada_main_name): Update.
11 (ada_lookup_simple_minsym): Update.
12 (ada_make_symbol_completion_list): Update.
13 (ada_add_standard_exceptions): Update.
14 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
15 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
16 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
17 * arm-tdep.c (skip_prologue_function): Update.
18 (arm_skip_stack_protector, arm_skip_stub): Update.
19 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
20 (arm_wince_skip_main_prologue): Update.
21 * auxv.c (ld_so_xfer_auxv): Update.
22 * avr-tdep.c (avr_scan_prologue): Update.
23 * ax-gdb.c (gen_var_ref): Update.
24 * block.c (call_site_for_pc): Update.
25 * blockframe.c (get_pc_function_start): Update.
26 (find_pc_partial_function_gnu_ifunc): Update.
27 * breakpoint.c (create_overlay_event_breakpoint): Update.
28 (create_longjmp_master_breakpoint): Update.
29 (create_std_terminate_master_breakpoint): Update.
30 (create_exception_master_breakpoint): Update.
31 (resolve_sal_pc): Update.
32 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
33 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
35 * c-valprint.c (c_val_print): Update.
36 * coff-pe-read.c (add_pe_forwarded_sym): Update.
37 * coffread.c (coff_symfile_read): Update.
38 * common/agent.c (agent_look_up_symbols): Update.
39 * dbxread.c (find_stab_function_addr): Update.
40 (end_psymtab): Update.
41 * dwarf2loc.c (call_site_to_target_addr): Update.
42 (func_verify_no_selftailcall): Update.
43 (tailcall_dump): Update.
44 (call_site_find_chain_1): Update.
45 (dwarf_expr_reg_to_entry_parameter): Update.
46 * elfread.c (elf_gnu_ifunc_record_cache): Update.
47 (elf_gnu_ifunc_resolve_by_got): Update.
48 * f-valprint.c (info_common_command): Update.
49 * findvar.c (read_var_value): Update.
50 * frame.c (get_prev_frame_1): Update.
51 (inside_main_func): Update.
52 * frv-tdep.c (frv_skip_main_prologue): Update.
53 (frv_frame_this_id): Update.
54 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
55 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
56 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
57 (gnuv3_skip_trampoline): Update.
58 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
59 (hppa64_hpux_in_solib_call_trampoline): Update.
60 (hppa_hpux_skip_trampoline_code): Update.
61 (hppa64_hpux_search_dummy_call_sequence): Update.
62 (hppa_hpux_find_import_stub_for_addr): Update.
63 (hppa_hpux_find_dummy_bpaddr): Update.
64 * hppa-tdep.c (hppa_symbol_address)
65 (hppa_lookup_stub_minimal_symbol): Update.
66 * i386-tdep.c (i386_skip_main_prologue): Update.
67 (i386_pe_skip_trampoline_code): Update.
68 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
69 * infcall.c (get_function_name): Update.
70 * infcmd.c (until_next_command): Update.
71 * jit.c (jit_breakpoint_re_set_internal): Update.
72 (jit_inferior_init): Update.
73 * linespec.c (minsym_found): Update.
75 * linux-fork.c (info_checkpoints_command): Update.
76 * linux-nat.c (get_signo): Update.
77 * linux-thread-db.c (inferior_has_bug): Update.
78 * m32c-tdep.c (m32c_return_value): Update.
79 (m32c_m16c_address_to_pointer): Update.
80 (m32c_m16c_pointer_to_address): Update.
81 * m32r-tdep.c (m32r_frame_this_id): Update.
82 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
83 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
84 * maint.c (maintenance_translate_address): Update.
85 * minsyms.c (add_minsym_to_hash_table): Update.
86 (add_minsym_to_demangled_hash_table): Update.
87 (msymbol_objfile): Update.
88 (lookup_minimal_symbol): Update.
89 (iterate_over_minimal_symbols): Update.
90 (lookup_minimal_symbol_text): Update.
91 (lookup_minimal_symbol_by_pc_name): Update.
92 (lookup_minimal_symbol_solib_trampoline): Update.
93 (lookup_minimal_symbol_by_pc_section_1): Update.
94 (lookup_minimal_symbol_and_objfile): Update.
95 (prim_record_minimal_symbol_full): Update.
96 (compare_minimal_symbols): Update.
97 (compact_minimal_symbols): Update.
98 (build_minimal_symbol_hash_tables): Update.
99 (install_minimal_symbols): Update.
100 (terminate_minimal_symbol_table): Update.
101 (find_solib_trampoline_target): Update.
102 (minimal_symbol_upper_bound): Update.
103 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
104 * mips-tdep.c (mips_stub_frame_sniffer): Update.
105 (mips_skip_pic_trampoline_code): Update.
106 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
107 * objc-lang.c (selectors_info): Update.
108 (classes_info): Update.
109 (find_methods): Update.
111 (find_objc_msgsend): Update.
112 * objfiles.c (objfile_relocate1): Update.
113 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
114 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
115 * p-valprint.c (pascal_val_print): Update.
116 * parse.c (write_exp_msymbol): Update.
117 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
118 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
119 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
120 * printcmd.c (build_address_symbolic): Update.
122 (address_info): Update.
123 * proc-service.c (ps_pglobal_lookup): Update.
124 * psymtab.c (find_pc_sect_psymtab_closer): Update.
125 (find_pc_sect_psymtab): Update.
126 * python/py-framefilter.c (py_print_frame): Update.
127 * ravenscar-thread.c (get_running_thread_id): Update.
128 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
130 * remote.c (remote_check_symbols): Update.
131 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
132 (rs6000_skip_trampoline_code): Update.
133 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
134 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
135 * solib-dsbt.c (lm_base): Update.
136 * solib-frv.c (lm_base): Update.
138 * solib-irix.c (locate_base): Update.
139 * solib-som.c (som_solib_create_inferior_hook): Update.
140 (som_solib_desire_dynamic_linker_symbols): Update.
141 (link_map_start): Update.
142 * solib-spu.c (spu_enable_break): Update.
143 (ocl_enable_break): Update.
144 * solib-svr4.c (elf_locate_base): Update.
145 (enable_break): Update.
146 * spu-tdep.c (spu_get_overlay_table): Update.
147 (spu_catch_start): Update.
148 (flush_ea_cache): Update.
149 * stabsread.c (define_symbol): Update.
150 (scan_file_globals): Update.
151 * stack.c (find_frame_funname): Update.
152 (frame_info): Update.
153 * symfile.c (simple_read_overlay_table): Update.
154 (simple_overlay_update): Update.
155 * symmisc.c (dump_msymbols): Update.
156 * symtab.c (fixup_section): Update.
157 (find_pc_sect_line): Update.
158 (skip_prologue_sal): Update.
159 (search_symbols): Update.
160 (print_msymbol_info): Update.
161 (rbreak_command): Update.
162 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
163 (completion_list_objc_symbol): Update.
164 (default_make_symbol_completion_list_break_on): Update.
165 * tracepoint.c (scope_info): Update.
166 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
167 (tui_get_begin_asm_address): Update.
168 * valops.c (find_function_in_inferior): Update.
169 * value.c (value_static_field): Update.
170 (value_fn_field): Update.
172 2014-02-26 Tom Tromey <tromey@redhat.com>
174 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
175 bound minimal symbols. Move code that knows about minsym
177 * minsyms.c (minimal_symbol_upper_bound): ... here. New
179 * minsyms.h (minimal_symbol_upper_bound): Declare.
180 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
181 minimal_symbol_upper_bound.
183 2014-02-27 Joel Brobecker <brobecker@adacore.com>
185 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
186 Use the type's name if its basic type does not have a tag.
188 2014-02-27 Joel Brobecker <brobecker@adacore.com>
190 * dwarf2read.c (read_subrange_type): Add comment.
192 2014-02-27 Joel Brobecker <brobecker@adacore.com>
194 * dwarf2read.c (update_enumeration_type_from_children): New
195 function, mostly extracted from process_structure_scope.
196 (read_enumeration_type): Call update_enumeration_type_from_children.
197 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
198 and flag_flag_enum fields.
200 2014-02-26 Pedro Alves <palves@redhat.com>
202 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
203 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
204 to_xfer_partial method.
206 2014-02-26 Pedro Alves <palves@redhat.com>
208 * target.c (complete_target_initialization): Don't install
209 default_xfer_partial as to_xfer_partial hook.
211 (update_current_target): Don't INHERIT nor de_fault
212 deprecated_xfer_memory. Delete de_fault macro.
213 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
214 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
215 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
218 2014-02-26 Pedro Alves <palves@redhat.com>
220 * go32-nat.c (my_write_child): New function.
221 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
222 (go32_xfer_partial): New function.
223 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
224 Instead install a to_xfer_partial hook.
226 2014-02-26 Pedro Alves <palves@redhat.com>
228 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
229 to_xfer_partial helper. Rewrite.
230 (procfs_xfer_partial): New function.
231 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
232 Install a to_xfer_partial hook.
234 2014-02-26 Pedro Alves <palves@redhat.com>
236 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
237 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
238 (m32r_xfer_partial): New function.
239 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
240 Install a to_xfer_partial hook.
242 2014-02-26 Pedro Alves <palves@redhat.com>
244 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
246 (mips_xfer_partial): New function.
247 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
248 hook. Install a to_xfer_partial hook.
250 2014-02-26 Joel Brobecker <brobecker@adacore.com>
252 * gdbtypes.h (create_array_type_with_stride): Add declaration.
253 * gdbtypes.c (create_array_type_with_stride): New function,
254 renaming create_array_type, but with an added parameter
256 (create_array_type): Re-implement using
257 create_array_type_with_stride.
258 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
259 and DW_AT_bit_stride attributes.
261 2014-02-26 Pedro Alves <palves@redhat.com>
263 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
264 task-specific breakpoints.
266 2014-02-25 Pedro Alves <palves@redhat.com>
268 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
269 handling of object == TARGET_OBJECT_UNWIND_TABLE.
271 2014-02-25 Stan Shebs <stan@codesourcery.com>
273 * defs.h: Annotate comments for Doxygen.
275 2014-02-25 Tom Tromey <tromey@redhat.com>
277 * target.h (target_ignore): Don't declare.
278 * target.c (target_ignore): Remove.
280 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
283 * auto-load.c (auto_load_objfile_script_1): Change filename to
286 2014-02-25 Joel Brobecker <brobecker@adacore.com>
288 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
289 documentation. Adjust prototype to match the target_ops
290 to_xfer_partial method. Adjust implementation accordingly.
292 2014-02-25 Hui Zhu <hui@codesourcery.com>
294 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
297 2014-02-25 Kevin Buettner <kevinb@redhat.com>
299 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
300 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
301 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
302 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
303 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
304 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
305 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
306 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
308 (rl78_register_type): Use a data pointer type for SP and
309 new pseudo registers mentioned above. Use a 16 bit integer
310 type for all other register pairs.
311 (rl78_register_name, rl78_g10_register_name): Update for
312 new pseudo registers.
313 (rl78_pseudo_register_read): Likewise.
314 (rl78_pseudo_register_write): Likewise.
315 (rl78_dwarf_reg_to_regnum): Return register numbers representing
316 to the newly added pseudo registers.
318 2014-02-24 Doug Evans <dje@google.com>
320 * value.c (record_latest_value): Fix comment.
321 * printcmd.c (print_command_1): Remove code to handle -1 return from
324 2014-02-24 Pedro Alves <palves@redhat.com>
326 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
327 deprecated_xfer_memory hook.
328 (procfs_xfer_partial): Call procfs_xfer_memory instead
329 of the deprecated_xfer_memory target hook.
330 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
333 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
335 * windows-nat.c (windows_xfer_shared_libraries): Return
336 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
337 requested object is TARGET_OBJECT_LIBRARIES.
339 2014-02-24 Yao Qi <yao@codesourcery.com>
341 * target.h (enum target_xfer_status)
342 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
343 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
345 * corefile.c (memory_error_message): User updated.
346 * exec.c (section_table_read_available_memory): Likewise.
347 * record-btrace.c (record_btrace_xfer_partial): Likewise.
348 * target.c (target_xfer_status_to_string): Likewise.
349 (raw_memory_xfer_partial): Likewise.
350 (memory_xfer_partial_1, target_xfer_partial): Likewise.
351 * valops.c (read_value_memory): Likewise.
352 * exec.h: Update comments.
354 2014-02-24 Yao Qi <yao@codesourcery.com>
356 * target.c (target_xfer_status_to_string): Rename argument err
358 * target.h (target_xfer_status_to_string): Update declaration.
359 Replace target_xfer_error_to_string with
360 target_xfer_status_to_string in comment.
362 2014-02-24 Yao Qi <yao@codesourcery.com>
364 * mips-linux-nat.c (super_close): Update its type.
365 (mips_linux_close): Pass 'self' to super_close.
367 2014-02-24 Yao Qi <yao@codesourcery.com>
369 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
370 * corefile.c (read_memory): Adjusted.
371 * target.c (target_write_with_progress): Adjusted.
373 2014-02-23 Yao Qi <yao@codesourcery.com>
377 2013-10-25 Yao Qi <yao@codesourcery.com>
379 * remote.c (remote_traceframe_info): Return early if
380 traceframe is not selected.
382 2013-07-19 Yao Qi <yao@codesourcery.com>
384 * target.c (update_current_target): Change the default action
385 of 'to_traceframe_info' from tcomplain to return_zero.
386 * target.h (struct target_ops) <to_traceframe_info>: Add more
389 2014-02-23 Yao Qi <yao@codesourcery.com>
391 * valops.c (read_value_memory): Rewrite it. Call
392 target_xfer_partial in a loop.
393 * exec.h (section_table_available_memory): Remove declaration.
395 * exec.c (section_table_available_memory): ... here. Make it
398 2014-02-23 Yao Qi <yao@codesourcery.com>
400 * exec.c (section_table_read_available_memory): New function.
401 * exec.h (section_table_read_available_memory): Declare.
402 * ctf.c (ctf_xfer_partial): Call
403 section_table_read_available_memory.
404 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
406 2014-02-23 Yao Qi <yao@codesourcery.com>
408 * ctf.c (ctf_xfer_partial): Move code to ...
409 * exec.c (exec_read_partial_read_only): ... it. New function.
410 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
411 * tracefile.c: Include "exec.h".
412 * exec.h (exec_read_partial_read_only): Declare.
414 2014-02-23 Yao Qi <yao@codesourcery.com>
416 * tracefile-tfile.c (tfile_has_all_memory): Remove.
417 (tfile_has_memory): Remove.
418 (init_tfile_ops): Don't set fields to_has_all_memory and
419 to_has_memory of tfile_ops.
420 * tracefile.c (tracefile_has_all_memory): New function.
421 (tracefile_has_memory): New function.
422 (init_tracefile_ops): Initialize fields to_has_all_memory and
423 to_has_memory of 'ops'.
425 2014-02-23 Yao Qi <yao@codesourcery.com>
427 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
428 (ctf_thread_alive, ctf_get_trace_status): Remove.
429 (init_ctf_ops): Don't set some fields of ctf_ops. Call
431 * tracefile-tfile.c (tfile_get_trace_status): Remove.
432 (tfile_has_stack, tfile_has_registers): Remove.
433 (tfile_thread_alive): Remove.
434 (init_tfile_ops): Don't set some fields of tfile_ops. Call
436 * tracefile.c (tracefile_has_stack): New function.
437 (tracefile_has_registers): New function.
438 (tracefile_thread_alive): New function.
439 (tracefile_get_trace_status): New function.
440 (init_tracefile_ops): New function.
441 * tracefile.h (init_tracefile_ops): Declare.
443 2014-02-23 Yao Qi <yao@codesourcery.com>
445 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
446 (O_LARGEFILE): Likewise.
447 (tfile_ops): Likewise.
448 (TRACE_HEADER_SIZE): Likewise.
449 (trace_fd, trace_frames_offset, cur_offset): Likewise.
450 (cur_data_size): Likewise.
451 (tfile_read, tfile_open, tfile_interp_line): Likewise.
452 (tfile_close, tfile_files_info): Likewise.
453 (tfile_get_trace_status): Likewise.
454 (tfile_get_tracepoint_status): Likewise.
455 (tfile_get_traceframe_address): Likewise.
456 (tfile_trace_find, match_blocktype): Likewise.
457 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
458 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
459 (tfile_get_trace_state_variable_value): Likewise.
460 (tfile_has_all_memory, tfile_has_memory): Likewise.
461 (tfile_has_stack, tfile_has_registers): Likewise.
462 (tfile_thread_alive, build_traceframe_info): Likewise.
463 (tfile_traceframe_info, init_tfile_ops): Likewise.
464 (_initialize_tracepoint): Don't call init_tfile_ops
465 and add_target_with_completer.
466 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
467 exec.h, completer.h and filenames.h.
468 (_initialize_tracefile_tfile): New function.
470 2014-02-23 Yao Qi <yao@codesourcery.com>
472 * Makefile.in (REMOTE_OBS): Append tracefile.o and
474 (HFILES_NO_SRCDIR): Add tracefile.h.
475 * ctf.c: Include "tracefile.h".
476 * tracefile.h: New file.
477 * tracefile.c: New file
478 * tracefile-tfile.c: New file.
479 * tracepoint.c: Include "tracefile.h".
480 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
481 (stop_reason_names): Add const.
482 (trace_file_writer_xfree): Move it to tracefile.c.
483 (trace_save, trace_save_command, trace_save_tfile): Likewise.
484 (trace_save_ctf): Likewise.
485 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
486 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
487 (tfile_write_header, tfile_write_regblock_type): Likewise.
488 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
489 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
490 (tfile_write_raw_data, tfile_end): Likewise.
491 (tfile_trace_file_writer_new): Likewise.
492 (free_uploaded_tp): Make it extern.
493 (free_uploaded_tsv): Make it extern.
494 (_initialize_tracepoint): Move code to register command 'tsave'
496 * tracepoint.h (stop_reason_names): Declare.
497 (struct trace_frame_write_ops): Move it to tracefile.h.
498 (struct trace_file_write_ops): Likewise.
499 (struct trace_file_writer): Likewise.
500 (free_uploaded_tsvs, free_uploaded_tps): Declare.
502 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
505 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
507 (get_cores_used_by_process): New parameter num_cores, use it.
508 (linux_xfer_osdata_processes): Pass num_cores to it.
509 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
512 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
514 * target.c (memory_xfer_partial): Fix length arg in call to
515 breakpoint_xfer_memory.
517 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
520 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
521 number comes after the + or - signs. Adjust length of register
522 name to be extracted.
524 2014-02-20 Tom Tromey <tromey@redhat.com>
526 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
527 (ada_varobj_ops): Mark "extern".
529 2014-02-20 Tom Tromey <tromey@redhat.com>
531 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
533 2014-02-20 Doug Evans <xdje42@gmail.com>
535 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
537 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
539 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
540 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
542 2014-02-20 lin zuojian <manjian2006@gmail.com>
543 Joel Brobecker <brobecker@adacore.com>
544 Doug Evans <xdje42@gmail.com>
547 * dwarf2read.c (struct die_info): New member in_process.
548 (reset_die_in_process): New function.
549 (process_die): Set it at the start, reset when returning.
550 (inherit_abstract_dies): Only call process_die if origin_child_die
551 not already being processed.
553 2014-02-20 Joel Brobecker <brobecker@adacore.com>
555 * windows-nat.c (handle_unload_dll): Add function documentation.
556 (do_initial_windows_stuff): Add comment explaining why we wait
557 until after inferior initialization has finished before
560 2014-02-20 Joel Brobecker <brobecker@adacore.com>
562 * windows-nat.c (get_module_name): Delete.
563 (windows_get_exec_module_filename): New function, mostly
564 inspired from get_module_name.
565 (windows_pid_to_exec_file): Replace call to get_module_name
566 by call to windows_get_exec_module_filename.
568 2014-02-20 Joel Brobecker <brobecker@adacore.com>
570 * windows-nat.c (handle_load_dll): Rewrite this function's
571 introductory comment. Remove code using get_module_name
572 to get the DLL's name.
574 2014-02-20 Joel Brobecker <brobecker@adacore.com>
576 * windows-nat.c (get_windows_debug_event): Ignore
577 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
578 if windows_initialization_done == 0.
579 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
580 Adjust implementation to always load all DLLs.
581 (do_initial_windows_stuff): Replace call to
582 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
584 2014-02-20 Joel Brobecker <brobecker@adacore.com>
586 * windows-nat.c (_initialize_windows_nat): Deprecate the
587 "dll-symbols" command. Turn the "add-shared-symbol-files"
588 and "assf" aliases into commands, and deprecate them as well.
589 * NEWS: Add entry explaining that "dll-symbols" and its two
590 aliases are now deprecated.
592 2014-02-20 Joel Brobecker <brobecker@adacore.com>
594 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
595 new-line in debug string. Remove trailing spaces.
597 2014-02-19 Stan Shebs <stan@codesourcery.com>
599 * darwin-nat.c (darwin_xfer_partial): Fix return type.
601 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
603 * NEWS: Add entry for the new feature
604 * python/py-value.c (valpy_binop): Call value_x_binop for struct
607 2014-02-19 Stan Shebs <stan@codesourcery.com>
609 * MAINTAINERS: List Yao Qi as nios2 maintainer.
611 2014-02-19 Pedro Alves <palves@redhat.com>
613 * common/ptid.h (struct ptid): Mention that process_stratum
614 targets should prefer ptid.lwp.
616 2014-02-19 Pedro Alves <palves@redhat.com>
618 * remote.c (remote_thread_alive, write_ptid, read_ptid)
619 (read_ptid, remote_newthread_step, remote_threads_extra_info)
620 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
621 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
622 store remote thread ids rather than ptid.tid.
623 (_initialize_remote): Adjust.
625 2014-02-19 Tom Tromey <tromey@redhat.com>
627 * target.c (target_get_unwinder): Rewrite.
628 (target_get_tailcall_unwinder): Rewrite.
629 * record-btrace.c (record_btrace_to_get_unwinder): New function.
630 (record_btrace_to_get_tailcall_unwinder): New function.
631 (init_record_btrace_ops): Update.
632 * target.h (struct target_ops) <to_get_unwinder,
633 to_get_tailcall_unwinder>: Now function pointers. Use
634 TARGET_DEFAULT_RETURN.
636 2014-02-19 Tom Tromey <tromey@redhat.com>
638 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
640 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
642 2014-02-19 Tom Tromey <tromey@redhat.com>
644 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
646 * target-delegates.c: Rebuild.
647 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
649 * target.c (default_target_decr_pc_after_break): Rename from
650 forward_target_decr_pc_after_break. Simplify.
651 (target_decr_pc_after_break): Rely on delegation.
653 2014-02-19 Tom Tromey <tromey@redhat.com>
655 * target.c (update_current_target): Do not INHERIT to_doc or
656 to_magic. Do not de_fault to_open or to_close.
658 2014-02-19 Tom Tromey <tromey@redhat.com>
660 * gcore.h (objfile_find_memory_regions): Declare.
661 * gcore.c (objfile_find_memory_regions): No longer static. Add
663 (_initialize_gcore): Don't call exec_set_find_memory_regions.
664 * exec.c: Include gcore.h.
665 (exec_set_find_memory_regions): Remove.
666 (exec_find_memory_regions): Remove.
667 (exec_do_find_memory_regions): Remove.
668 (init_exec_ops): Update.
669 * defs.h (exec_set_find_memory_regions): Remove.
671 2014-02-19 Tom Tromey <tromey@redhat.com>
673 * target-delegates.c: Rebuild.
674 * target.h (struct target_ops) <to_extra_thread_info,
675 to_thread_name, to_pid_to_exec_file, to_get_section_table,
676 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
677 not 0, in TARGET_DEFAULT_RETURN.
679 2014-02-19 Tom Tromey <tromey@redhat.com>
681 * target.c (complete_target_initialization): Remove casts. Use
682 return_zero_has_execution.
683 (return_zero): Add "ignore" argument.
684 (return_zero_has_execution): New function.
685 (init_dummy_target): Remove casts. Use
686 return_zero_has_execution.
688 2014-02-19 Tom Tromey <tromey@redhat.com>
690 * target.c (update_current_target): Update comments. Do not
693 2014-02-19 Tom Tromey <tromey@redhat.com>
695 * arm-linux-nat.c (arm_linux_read_description): Delegate when
697 * corelow.c (core_read_description): Delegate when needed.
698 * remote.c (remote_read_description): Delegate when needed.
699 * target-delegates.c: Rebuild.
700 * target.c (target_read_description): Rewrite.
701 * target.h (struct target_ops) <to_read_description>: Update
702 comment. Use TARGET_DEFAULT_RETURN.
704 2014-02-19 Tom Tromey <tromey@redhat.com>
706 * target-delegates.c: Rebuild.
707 * target.c (update_current_target): Don't inherit or default
709 (find_default_run_target): Check against delegate_can_run.
710 * target.h (struct target_ops) <to_can_run>: Use
711 TARGET_DEFAULT_RETURN.
713 2014-02-19 Tom Tromey <tromey@redhat.com>
715 * target-delegates.c: Rebuild.
716 * target.c (target_disconnect): Unconditionally delegate.
717 * target.h (struct target_ops) <to_disconnect>: Use
718 TARGET_DEFAULT_NORETURN.
720 2014-02-19 Tom Tromey <tromey@redhat.com>
722 * record.c (record_stop): Unconditionally delegate.
723 * target-delegates.c: Rebuild.
724 * target.c (target_stop_recording): Unconditionally delegate.
725 * target.h (struct target_ops) <to_stop_recording>: Use
726 TARGET_DEFAULT_IGNORE.
728 2014-02-19 Tom Tromey <tromey@redhat.com>
730 * target-delegates.c: Rebuild.
731 * target.c (target_enable_btrace): Unconditionally delegate.
732 * target.h (struct target_ops) <to_enable_btrace>: Use
733 TARGET_DEFAULT_NORETURN.
735 2014-02-19 Tom Tromey <tromey@redhat.com>
737 * target-delegates.c: Rebuild.
738 * target.c (target_read_btrace): Unconditionally delegate.
739 * target.h (struct target_ops) <to_read_btrace>: Use
740 TARGET_DEFAULT_NORETURN.
742 2014-02-19 Tom Tromey <tromey@redhat.com>
744 * target-delegates.c: Rebuild.
745 * target.c (target_teardown_btrace): Unconditionally delegate.
746 * target.h (struct target_ops) <to_teardown_btrace>: Use
747 TARGET_DEFAULT_NORETURN.
749 2014-02-19 Tom Tromey <tromey@redhat.com>
751 * target-delegates.c: Rebuild.
752 * target.c (target_disable_btrace): Unconditionally delegate.
753 * target.h (struct target_ops) <to_disable_btrace>: Use
754 TARGET_DEFAULT_NORETURN.
756 2014-02-19 Tom Tromey <tromey@redhat.com>
758 * target-delegates.c: Rebuild.
759 * target.c (default_search_memory): New function.
760 (simple_search_memory): Update comment.
761 (target_search_memory): Unconditionally delegate.
762 * target.h (struct target_ops) <to_search_memory>: Use
765 2014-02-19 Tom Tromey <tromey@redhat.com>
767 * auxv.c (default_auxv_parse): No longer static.
768 (target_auxv_parse): Unconditionally delegate.
769 * auxv.h (default_auxv_parse): Declare.
770 * target-delegates.c: Rebuild.
771 * target.c: Include auxv.h.
772 * target.h (struct target_ops) <to_auxv_parse>: Use
775 2014-02-19 Tom Tromey <tromey@redhat.com>
777 * target-delegates.c: Rebuild.
778 * target.c (target_memory_map): Unconditionally delegate.
779 * target.h (struct target_ops) <to_memory_map>: Use
780 TARGET_DEFAULT_RETURN.
782 2014-02-19 Tom Tromey <tromey@redhat.com>
784 * target-delegates.c: Rebuild.
785 * target.c (target_thread_alive): Unconditionally delegate.
786 * target.h (struct target_ops) <to_thread_alive>: Use
787 TARGET_DEFAULT_RETURN.
789 2014-02-19 Tom Tromey <tromey@redhat.com>
791 * target-delegates.c: Rebuild.
792 * target.c (target_save_record): Unconditionally delegate.
793 * target.h (struct target_ops) <to_save_record>: Use
794 TARGET_DEFAULT_NORETURN.
796 2014-02-19 Tom Tromey <tromey@redhat.com>
798 * target-delegates.c: Rebuild.
799 * target.c (target_delete_record): Unconditionally delegate.
800 * target.h (struct target_ops) <to_delete_record>: Use
801 TARGET_DEFAULT_NORETURN.
803 2014-02-19 Tom Tromey <tromey@redhat.com>
805 * target-delegates.c: Rebuild.
806 * target.c (target_record_is_replaying): Unconditionally
808 * target.h (struct target_ops) <to_record_is_replaying>: Use
809 TARGET_DEFAULT_RETURN.
811 2014-02-19 Tom Tromey <tromey@redhat.com>
813 * target-delegates.c: Rebuild.
814 * target.c (target_goto_record_begin): Unconditionally delegate.
815 * target.h (struct target_ops) <to_goto_record_begin>: Use
816 TARGET_DEFAULT_NORETURN.
818 2014-02-19 Tom Tromey <tromey@redhat.com>
820 * target-delegates.c: Rebuild.
821 * target.c (target_goto_record_end): Unconditionally delegate.
822 * target.h (struct target_ops) <to_goto_record_end>: Use
823 TARGET_DEFAULT_NORETURN.
825 2014-02-19 Tom Tromey <tromey@redhat.com>
827 * target-delegates.c: Rebuild.
828 * target.c (target_goto_record): Unconditionally delegate.
829 * target.h (struct target_ops) <to_goto_record>: Use
830 TARGET_DEFAULT_NORETURN.
832 2014-02-19 Tom Tromey <tromey@redhat.com>
834 * target-delegates.c: Rebuild.
835 * target.c (target_insn_history): Unconditionally delegate.
836 * target.h (struct target_ops) <to_insn_history>: Use
837 TARGET_DEFAULT_NORETURN.
839 2014-02-19 Tom Tromey <tromey@redhat.com>
841 * target-delegates.c: Rebuild.
842 * target.c (target_insn_history_from): Unconditionally delegate.
843 * target.h (struct target_ops) <to_insn_history_from>: Use
844 TARGET_DEFAULT_NORETURN.
846 2014-02-19 Tom Tromey <tromey@redhat.com>
848 * target-delegates.c: Rebuild.
849 * target.c (target_insn_history_range): Unconditionally delegate.
850 * target.h (struct target_ops) <to_insn_history_range>: Use
851 TARGET_DEFAULT_NORETURN.
853 2014-02-19 Tom Tromey <tromey@redhat.com>
855 * target-delegates.c: Rebuild.
856 * target.c (target_call_history): Unconditionally delegate.
857 * target.h (struct target_ops) <to_call_history>: Use
858 TARGET_DEFAULT_NORETURN.
860 2014-02-19 Tom Tromey <tromey@redhat.com>
862 * target-delegates.c: Rebuild.
863 * target.c (target_call_history_from): Unconditionally delegate.
864 * target.h (struct target_ops) <to_call_history_from>: Use
865 TARGET_DEFAULT_NORETURN.
867 2014-02-19 Tom Tromey <tromey@redhat.com>
869 * target-delegates.c: Rebuild.
870 * target.c (target_call_history_range): Unconditionally delegate.
871 * target.h (struct target_ops) <to_call_history_range>: Use
872 TARGET_DEFAULT_NORETURN.
874 2014-02-19 Tom Tromey <tromey@redhat.com>
876 * target-delegates.c: Rebuild.
877 * target.c (target_verify_memory): Unconditionally delegate.
878 * target.h (struct target_ops) <to_verify_memory>: Use
879 TARGET_DEFAULT_NORETURN.
881 2014-02-19 Tom Tromey <tromey@redhat.com>
883 * target-delegates.c: Rebuild.
884 * target.c (target_core_of_thread): Unconditionally delegate.
885 * target.h (struct target_ops) <to_core_of_thread>: Use
886 TARGET_DEFAULT_RETURN.
888 2014-02-19 Tom Tromey <tromey@redhat.com>
890 * target-delegates.c: Rebuild.
891 * target.c (target_flash_done): Unconditionally delegate.
892 * target.h (struct target_ops) <to_flash_done>: Use
893 TARGET_DEFAULT_NORETURN.
895 2014-02-19 Tom Tromey <tromey@redhat.com>
897 * target-delegates.c: Rebuild.
898 * target.c (target_flash_erase): Unconditionally delegate.
899 * target.h (struct target_ops) <to_flash_erase>: Use
900 TARGET_DEFAULT_NORETURN.
902 2014-02-19 Tom Tromey <tromey@redhat.com>
904 * target-delegates.c: Rebuild.
905 * target.c (target_get_section_table): Unconditionally delegate.
906 * target.h (struct target_ops) <to_get_section_table>: Use
907 TARGET_DEFAULT_RETURN.
909 2014-02-19 Tom Tromey <tromey@redhat.com>
911 * target-delegates.c: Rebuild.
912 * target.c (target_pid_to_str): Unconditionally delegate.
913 (init_dummy_target): Don't initialize to_pid_to_str.
914 (default_pid_to_str): Rename from dummy_pid_to_str.
915 * target.h (struct target_ops) <to_pid_to_str>: Use
918 2014-02-19 Tom Tromey <tromey@redhat.com>
920 * target-delegates.c: Rebuild.
921 * target.c (target_find_new_threads): Unconditionally delegate.
922 * target.h (struct target_ops) <to_find_new_threads>: Use
923 TARGET_DEFAULT_RETURN.
925 2014-02-19 Tom Tromey <tromey@redhat.com>
927 * target-delegates.c: Rebuild.
928 * target.c (target_program_signals): Unconditionally delegate.
929 * target.h (struct target_ops) <to_program_signals>: Use
930 TARGET_DEFAULT_IGNORE.
932 2014-02-19 Tom Tromey <tromey@redhat.com>
934 * target-delegates.c: Rebuild.
935 * target.c (target_pass_signals): Unconditionally delegate.
936 * target.h (struct target_ops) <to_pass_signals>: Use
937 TARGET_DEFAULT_IGNORE.
939 2014-02-19 Tom Tromey <tromey@redhat.com>
941 * target-delegates.c: Rebuild.
942 * target.c (default_mourn_inferior): New function.
943 (target_mourn_inferior): Unconditionally delegate.
944 * target.h (struct target_ops) <to_mourn_inferior>: Use
947 2014-02-19 Tom Tromey <tromey@redhat.com>
949 * target-delegates.c: Rebuild.
950 * target.c (default_follow_fork): New function.
951 (target_follow_fork): Unconditionally delegate.
952 * target.h (struct target_ops) <to_follow_fork>: Use
955 2014-02-19 Tom Tromey <tromey@redhat.com>
957 * target-delegates.c: Rebuild.
958 * target.c (target_kill): Unconditionally delegate.
959 * target.h (struct target_ops) <to_kill>: Use
960 TARGET_DEFAULT_NORETURN.
962 2014-02-19 Tom Tromey <tromey@redhat.com>
964 * target-delegates.c: Rebuild.
965 * target.c (target_masked_watch_num_registers): Unconditionally
967 * target.h (struct target_ops) <to_masked_watch_num_registers>:
968 Use TARGET_DEFAULT_RETURN.
970 2014-02-19 Tom Tromey <tromey@redhat.com>
972 * target-delegates.c: Rebuild.
973 * target.c (target_remove_mask_watchpoint): Unconditionally
975 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
976 TARGET_DEFAULT_RETURN.
978 2014-02-19 Tom Tromey <tromey@redhat.com>
980 * target-delegates.c: Rebuild.
981 * target.c (target_insert_mask_watchpoint): Unconditionally
983 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
984 TARGET_DEFAULT_RETURN.
986 2014-02-19 Tom Tromey <tromey@redhat.com>
988 * target-delegates.c: Rebuild.
989 * target.c (target_ranged_break_num_registers): Unconditionally
991 * target.h (struct target_ops) <to_ranged_break_num_registers>:
992 Use TARGET_DEFAULT_RETURN.
994 2014-02-19 Tom Tromey <tromey@redhat.com>
996 * target-delegates.c: Rebuild.
997 * target.c (target_fetch_registers): Unconditionally delegate.
998 * target.h (struct target_ops) <to_fetch_registers>: Use
999 TARGET_DEFAULT_NORETURN.
1001 2014-02-19 Tom Tromey <tromey@redhat.com>
1003 * target-delegates.c: Rebuild.
1004 * target.c (update_current_target): Don't inherit or default
1006 * target.h (struct target_ops) <to_stop>: Use
1007 TARGET_DEFAULT_IGNORE.
1009 2014-02-19 Tom Tromey <tromey@redhat.com>
1011 * target-delegates.c: Rebuild.
1012 * target.c (update_current_target): Don't inherit or default
1013 to_can_run_breakpoint_commands.
1014 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1015 Use TARGET_DEFAULT_RETURN.
1017 2014-02-19 Tom Tromey <tromey@redhat.com>
1019 * target-delegates.c: Rebuild.
1020 * target.c (update_current_target): Don't inherit or default
1021 to_supports_evaluation_of_breakpoint_conditions.
1022 * target.h (struct target_ops)
1023 <to_supports_evaluation_of_breakpoint_conditions>: Use
1024 TARGET_DEFAULT_RETURN.
1026 2014-02-19 Tom Tromey <tromey@redhat.com>
1028 * target-delegates.c: Rebuild.
1029 * target.c (update_current_target): Don't inherit or default
1030 to_augmented_libraries_svr4_read.
1031 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1032 Use TARGET_DEFAULT_RETURN.
1034 2014-02-19 Tom Tromey <tromey@redhat.com>
1036 * target-delegates.c: Rebuild.
1037 * target.c (update_current_target): Don't inherit or default
1039 * target.h (struct target_ops) <to_can_use_agent>: Use
1040 TARGET_DEFAULT_RETURN.
1042 2014-02-19 Tom Tromey <tromey@redhat.com>
1044 * target-delegates.c: Rebuild.
1045 * target.c (update_current_target): Don't inherit or default
1047 * target.h (struct target_ops) <to_use_agent>: 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
1055 (return_null): Remove.
1056 * target.h (struct target_ops) <to_traceframe_info>: Use
1057 TARGET_DEFAULT_RETURN.
1059 2014-02-19 Tom Tromey <tromey@redhat.com>
1061 * target-delegates.c: Rebuild.
1062 * target.c (update_current_target): Don't inherit or default
1063 to_static_tracepoint_markers_by_strid.
1064 * target.h (struct target_ops)
1065 <to_static_tracepoint_markers_by_strid>: Use
1066 TARGET_DEFAULT_NORETURN.
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
1072 to_static_tracepoint_marker_at.
1073 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1074 Use TARGET_DEFAULT_RETURN.
1076 2014-02-19 Tom Tromey <tromey@redhat.com>
1078 * target-delegates.c: Rebuild.
1079 * target.c (update_current_target): Don't inherit or default
1081 * target.h (struct target_ops) <to_set_permissions>: Use
1082 TARGET_DEFAULT_IGNORE.
1084 2014-02-19 Tom Tromey <tromey@redhat.com>
1086 * target-delegates.c: Rebuild.
1087 * target.c (update_current_target): Don't inherit or default
1089 * target.h (struct target_ops) <to_get_tib_address>: Use
1090 TARGET_DEFAULT_NORETURN.
1092 2014-02-19 Tom Tromey <tromey@redhat.com>
1094 * target-delegates.c: Rebuild.
1095 * target.c (update_current_target): Don't inherit or default
1097 * target.h (struct target_ops) <to_set_trace_notes>: Use
1098 TARGET_DEFAULT_RETURN.
1100 2014-02-19 Tom Tromey <tromey@redhat.com>
1102 * target-delegates.c: Rebuild.
1103 * target.c (update_current_target): Don't initialize
1104 to_set_trace_buffer_size.
1105 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
1106 TARGET_DEFAULT_IGNORE.
1108 2014-02-19 Tom Tromey <tromey@redhat.com>
1110 * target-delegates.c: Rebuild.
1111 * target.c (update_current_target): Don't inherit or default
1112 to_set_circular_trace_buffer.
1113 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
1114 TARGET_DEFAULT_IGNORE.
1116 2014-02-19 Tom Tromey <tromey@redhat.com>
1118 * target-delegates.c: Rebuild.
1119 * target.c (update_current_target): Don't inherit or default
1120 to_set_disconnected_tracing.
1121 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
1122 TARGET_DEFAULT_IGNORE.
1124 2014-02-19 Tom Tromey <tromey@redhat.com>
1126 * target-delegates.c: Rebuild.
1127 * target.c (update_current_target): Don't inherit or default
1128 to_get_min_fast_tracepoint_insn_len.
1129 (return_minus_one): Remove.
1130 * target.h (struct target_ops)
1131 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
1133 2014-02-19 Tom Tromey <tromey@redhat.com>
1135 * target-delegates.c: Rebuild.
1136 * target.c (update_current_target): Don't inherit or default
1137 to_get_raw_trace_data.
1138 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
1139 TARGET_DEFAULT_NORETURN.
1141 2014-02-19 Tom Tromey <tromey@redhat.com>
1143 * target-delegates.c: Rebuild.
1144 * target.c (update_current_target): Don't inherit or default
1145 to_upload_trace_state_variables.
1146 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1147 Use TARGET_DEFAULT_RETURN.
1149 2014-02-19 Tom Tromey <tromey@redhat.com>
1151 * target-delegates.c: Rebuild.
1152 * target.c (update_current_target): Don't inherit or default
1153 to_upload_tracepoints.
1154 * target.h (struct target_ops) <to_upload_tracepoints>: Use
1155 TARGET_DEFAULT_RETURN.
1157 2014-02-19 Tom Tromey <tromey@redhat.com>
1159 * target-delegates.c: Rebuild.
1160 * target.c (update_current_target): Don't inherit or default
1162 * target.h (struct target_ops) <to_save_trace_data>: Use
1163 TARGET_DEFAULT_NORETURN.
1165 2014-02-19 Tom Tromey <tromey@redhat.com>
1167 * target-delegates.c: Rebuild.
1168 * target.c (update_current_target): Don't inherit or default
1169 to_get_trace_state_variable_value.
1170 * target.h (struct target_ops)
1171 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
1173 2014-02-19 Tom Tromey <tromey@redhat.com>
1175 * target-delegates.c: Rebuild.
1176 * target.c (update_current_target): Don't inherit or default
1178 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
1180 2014-02-19 Tom Tromey <tromey@redhat.com>
1182 * target-delegates.c: Rebuild.
1183 * target.c (update_current_target): Don't inherit or default
1185 * target.h (struct target_ops) <to_trace_stop>: Use
1186 TARGET_DEFAULT_NORETURN.
1188 2014-02-19 Tom Tromey <tromey@redhat.com>
1190 * target-delegates.c: Rebuild.
1191 * target.c (update_current_target): Don't inherit or default
1192 to_get_tracepoint_status.
1193 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
1194 TARGET_DEFAULT_NORETURN.
1196 2014-02-19 Tom Tromey <tromey@redhat.com>
1198 * target-delegates.c: Rebuild.
1199 * target.c (update_current_target): Don't inherit or default
1200 to_get_trace_status.
1201 * target.h (struct target_ops) <to_get_trace_status>: Use
1202 TARGET_DEFAULT_RETURN.
1204 2014-02-19 Tom Tromey <tromey@redhat.com>
1206 * target-delegates.c: Rebuild.
1207 * target.c (update_current_target): Don't inherit or default
1209 * target.h (struct target_ops) <to_trace_start>: Use
1210 TARGET_DEFAULT_NORETURN.
1212 2014-02-19 Tom Tromey <tromey@redhat.com>
1214 * target-delegates.c: Rebuild.
1215 * target.c (update_current_target): Don't inherit or default
1216 to_trace_set_readonly_regions.
1217 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1218 Use TARGET_DEFAULT_NORETURN.
1220 2014-02-19 Tom Tromey <tromey@redhat.com>
1222 * target-delegates.c: Rebuild.
1223 * target.c (update_current_target): Don't inherit or default
1224 to_disable_tracepoint.
1225 * target.h (struct target_ops) <to_disable_tracepoint>: Use
1226 TARGET_DEFAULT_NORETURN.
1228 2014-02-19 Tom Tromey <tromey@redhat.com>
1230 * target-delegates.c: Rebuild.
1231 * target.c (update_current_target): Don't inherit or default
1232 to_enable_tracepoint.
1233 * target.h (struct target_ops) <to_enable_tracepoint>: Use
1234 TARGET_DEFAULT_NORETURN.
1236 2014-02-19 Tom Tromey <tromey@redhat.com>
1238 * target-delegates.c: Rebuild.
1239 * target.c (update_current_target): Don't inherit or default
1240 to_download_trace_state_variable.
1241 * target.h (struct target_ops) <to_download_trace_state_variable>:
1242 Use TARGET_DEFAULT_NORETURN.
1244 2014-02-19 Tom Tromey <tromey@redhat.com>
1246 * target-delegates.c: Rebuild.
1247 * target.c (update_current_target): Don't inherit or default
1248 to_can_download_tracepoint.
1249 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
1250 TARGET_DEFAULT_RETURN.
1252 2014-02-19 Tom Tromey <tromey@redhat.com>
1254 * target-delegates.c: Rebuild.
1255 * target.c (update_current_target): Don't inherit or default
1256 to_download_tracepoint.
1257 * target.h (struct target_ops) <to_download_tracepoint>: Use
1258 TARGET_DEFAULT_NORETURN.
1260 2014-02-19 Tom Tromey <tromey@redhat.com>
1262 * target-delegates.c: Rebuild.
1263 * target.c (update_current_target): Don't inherit or default
1265 * target.h (struct target_ops) <to_trace_init>: Use
1266 TARGET_DEFAULT_RETURN.
1268 2014-02-19 Tom Tromey <tromey@redhat.com>
1270 * target-delegates.c: Rebuild.
1271 * target.c (update_current_target): Don't inherit or default
1272 to_supports_string_tracing.
1273 * target.h (struct target_ops) <to_supports_string_tracing>: Use
1274 TARGET_DEFAULT_RETURN.
1276 2014-02-19 Tom Tromey <tromey@redhat.com>
1278 * target-delegates.c: Rebuild.
1279 * target.c (update_current_target): Don't inherit or default
1280 to_supports_enable_disable_tracepoint.
1281 * target.h (struct target_ops)
1282 <to_supports_enable_disable_tracepoint>: Use
1283 TARGET_DEFAULT_RETURN.
1285 2014-02-19 Tom Tromey <tromey@redhat.com>
1287 * target-delegates.c: Rebuild.
1288 * target.c (update_current_target): Don't inherit or default
1289 to_supports_multi_process.
1290 * target.h (struct target_ops) <to_supports_multi_process>: Use
1291 TARGET_DEFAULT_RETURN.
1293 2014-02-19 Tom Tromey <tromey@redhat.com>
1295 * target-delegates.c: Rebuild.
1296 * target.c (update_current_target): Don't inherit or default
1297 to_get_ada_task_ptid.
1298 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
1299 TARGET_DEFAULT_FUNC.
1301 2014-02-19 Tom Tromey <tromey@redhat.com>
1303 * target-delegates.c: Rebuild.
1304 * target.c (update_current_target): Don't inherit or default
1305 to_thread_architecture.
1306 * target.h (struct target_ops) <to_thread_architecture>: Use
1307 TARGET_DEFAULT_FUNC.
1309 2014-02-19 Tom Tromey <tromey@redhat.com>
1311 * target-delegates.c: Rebuild.
1312 * target.c (update_current_target): Don't inherit or default
1313 to_execution_direction.
1314 * target.h (struct target_ops) <to_execution_direction>: Use
1315 TARGET_DEFAULT_FUNC.
1317 2014-02-19 Tom Tromey <tromey@redhat.com>
1319 * target-delegates.c: Rebuild.
1320 * target.c (update_current_target): Don't inherit or default
1321 to_can_execute_reverse.
1322 * target.h (struct target_ops) <to_can_execute_reverse>: Use
1323 TARGET_DEFAULT_RETURN.
1324 (target_can_execute_reverse): Unconditionally delegate.
1326 2014-02-19 Tom Tromey <tromey@redhat.com>
1328 * target-delegates.c: Rebuild.
1329 * target.c (update_current_target): Don't inherit or default
1331 (dummy_goto_bookmark): Remove.
1332 (init_dummy_target): Don't inherit or default to_goto_bookmark.
1333 * target.h (struct target_ops) <to_goto_bookmark>: Use
1334 TARGET_DEFAULT_NORETURN.
1336 2014-02-19 Tom Tromey <tromey@redhat.com>
1338 * target-delegates.c: Rebuild.
1339 * target.c (update_current_target): Don't inherit or default
1341 (dummy_get_bookmark): Remove.
1342 (init_dummy_target): Don't inherit or default to_get_bookmark.
1343 * target.h (struct target_ops) <to_get_bookmark>: Use
1344 TARGET_DEFAULT_NORETURN
1346 2014-02-19 Tom Tromey <tromey@redhat.com>
1348 * target-delegates.c: Rebuild.
1349 * target.c (update_current_target): Don't inherit or default
1350 to_make_corefile_notes.
1351 (init_dummy_target): Don't initialize to_make_corefile_notes.
1352 * target.h (struct target_ops) <to_make_corefile_notes>: Use
1353 TARGET_DEFAULT_FUNC.
1355 2014-02-19 Tom Tromey <tromey@redhat.com>
1357 * target-delegates.c: Rebuild.
1358 * target.c (update_current_target): Don't inherit or default
1359 to_find_memory_regions.
1360 (init_dummy_target): Don't initialize to_find_memory_regions.
1361 * target.h (struct target_ops) <to_find_memory_regions>: Use
1362 TARGET_DEFAULT_FUNC.
1364 2014-02-19 Tom Tromey <tromey@redhat.com>
1366 * target-delegates.c: Rebuild.
1367 * target.c (update_current_target): Don't inherit or default
1369 * target.h (struct target_ops) <to_log_command>: Use
1370 TARGET_DEFAULT_IGNORE.
1371 (target_log_command): Unconditionally delegate.
1373 2014-02-19 Tom Tromey <tromey@redhat.com>
1375 * target-delegates.c: Rebuild.
1376 * target.c (update_current_target): Don't inherit or default
1377 to_pid_to_exec_file.
1378 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
1379 TARGET_DEFAULT_RETURN.
1381 2014-02-19 Tom Tromey <tromey@redhat.com>
1383 * target-delegates.c: Rebuild.
1384 * target.c (update_current_target): Don't inherit or default
1386 (target_thread_name): Unconditionally delegate.
1387 * target.h (struct target_ops) <to_thread_name>: Use
1388 TARGET_DEFAULT_RETURN.
1390 2014-02-19 Tom Tromey <tromey@redhat.com>
1392 * target-delegates.c: Rebuild.
1393 * target.c (update_current_target): Don't inherit or default
1394 to_extra_thread_info.
1395 * target.h (struct target_ops) <to_extra_thread_info>: Use
1396 TARGET_DEFAULT_RETURN.
1398 2014-02-19 Tom Tromey <tromey@redhat.com>
1400 * target-delegates.c: Rebuild.
1401 * target.c (update_current_target): Don't inherit or default
1403 * target.h (struct target_ops) <to_has_exited>: Use
1404 TARGET_DEFAULT_RETURN..
1406 2014-02-19 Tom Tromey <tromey@redhat.com>
1408 * target-delegates.c: Rebuild.
1409 * target.c (update_current_target): Don't inherit or default
1410 to_set_syscall_catchpoint.
1411 (return_one): Remove.
1412 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
1413 TARGET_DEFAULT_RETURN.
1415 2014-02-19 Tom Tromey <tromey@redhat.com>
1417 * target-delegates.c: Rebuild.
1418 * target.c (update_current_target): Don't inherit or default
1419 to_insert_exec_catchpoint.
1420 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1421 TARGET_DEFAULT_RETURN.
1423 2014-01-08 Tom Tromey <tromey@redhat.com>
1425 * target-delegates.c: Rebuild.
1426 * target.c (update_current_target): Don't inherit or default
1427 to_insert_exec_catchpoint.
1428 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1429 TARGET_DEFAULT_RETURN.
1431 2014-02-19 Tom Tromey <tromey@redhat.com>
1433 * target-delegates.c: Rebuild.
1434 * target.c (update_current_target): Don't inherit or default
1435 to_remove_vfork_catchpoint.
1436 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
1437 TARGET_DEFAULT_RETURN.
1439 2014-02-19 Tom Tromey <tromey@redhat.com>
1441 * target-delegates.c: Rebuild.
1442 * target.c (update_current_target): Don't inherit or default
1443 to_insert_vfork_catchpoint.
1444 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
1445 TARGET_DEFAULT_RETURN.
1447 2014-02-19 Tom Tromey <tromey@redhat.com>
1449 * target-delegates.c: Rebuild.
1450 * target.c (update_current_target): Don't inherit or default
1451 to_remove_fork_catchpoint.
1452 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
1453 TARGET_DEFAULT_RETURN.
1455 2014-02-19 Tom Tromey <tromey@redhat.com>
1457 * target-delegates.c: Rebuild.
1458 * target.c (update_current_target): Don't inherit or default
1459 to_insert_fork_catchpoint.
1460 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
1461 TARGET_DEFAULT_RETURN.
1463 2014-02-19 Tom Tromey <tromey@redhat.com>
1465 * target-delegates.c: Rebuild.
1466 * target.c (update_current_target): Don't inherit or default
1467 to_post_startup_inferior.
1468 * target.h (struct target_ops) <to_post_startup_inferior>: Use
1469 TARGET_DEFAULT_IGNORE.
1471 2014-02-19 Tom Tromey <tromey@redhat.com>
1473 * target-delegates.c: Rebuild.
1474 * target.c (update_current_target): Don't inherit or default
1476 * target.h (struct target_ops) <to_load>: Use
1477 TARGET_DEFAULT_NORETURN.
1479 2014-02-19 Tom Tromey <tromey@redhat.com>
1481 * target-delegates.c: Rebuild.
1482 * target.c (update_current_target): Don't inherit or default
1484 * target.h (struct target_ops) <to_terminal_info>: Use
1485 TARGET_DEFAULT_FUNC.
1487 2014-02-19 Tom Tromey <tromey@redhat.com>
1489 * target-delegates.c: Rebuild.
1490 * target.c (update_current_target): Don't inherit or default
1491 to_terminal_save_ours.
1492 * target.h (struct target_ops) <to_terminal_save_ours>: Use
1493 TARGET_DEFAULT_IGNORE.
1495 2014-02-19 Tom Tromey <tromey@redhat.com>
1497 * target-delegates.c: Rebuild.
1498 * target.c (update_current_target): Don't inherit or default
1500 * target.h (struct target_ops) <to_terminal_ours>: Use
1501 TARGET_DEFAULT_IGNORE.
1503 2014-02-19 Tom Tromey <tromey@redhat.com>
1505 * target-delegates.c: Rebuild.
1506 * target.c (update_current_target): Don't inherit or default
1507 to_terminal_ours_for_output.
1508 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
1509 TARGET_DEFAULT_IGNORE.
1511 2014-02-19 Tom Tromey <tromey@redhat.com>
1513 * target-delegates.c: Rebuild.
1514 * target.c (update_current_target): Don't inherit or default
1515 to_terminal_inferior.
1516 * target.h (struct target_ops) <to_terminal_inferior>: Use
1517 TARGET_DEFAULT_IGNORE.
1519 2014-02-19 Tom Tromey <tromey@redhat.com>
1521 * target-delegates.c: Rebuild.
1522 * target.c (update_current_target): Don't inherit or default
1524 * target.h (struct target_ops) <to_terminal_init>: Use
1525 TARGET_DEFAULT_IGNORE.
1527 2014-02-19 Tom Tromey <tromey@redhat.com>
1529 * target-delegates.c: Rebuild.
1530 * target.c (update_current_target): Don't inherit or default
1531 to_can_accel_watchpoint_condition.
1532 * target.h (struct target_ops)
1533 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
1535 2014-02-19 Tom Tromey <tromey@redhat.com>
1537 * target-delegates.c: Rebuild.
1538 * target.c (update_current_target): Don't inherit or default
1539 to_region_ok_for_hw_watchpoint.
1540 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1541 Use TARGET_DEFAULT_FUNC.
1543 2014-02-19 Tom Tromey <tromey@redhat.com>
1545 * target-delegates.c: Rebuild.
1546 * target.c (update_current_target): Don't inherit or default
1547 to_watchpoint_addr_within_range.
1548 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
1549 Use TARGET_DEFAULT_FUNC.
1551 2014-02-19 Tom Tromey <tromey@redhat.com>
1553 * target-delegates.c: Rebuild.
1554 * target.c (update_current_target): Don't inherit or default
1555 to_remove_watchpoint.
1556 * target.h (struct target_ops) <to_remove_watchpoint>: Use
1557 TARGET_DEFAULT_NORETURN.
1559 2014-02-19 Tom Tromey <tromey@redhat.com>
1561 * target-delegates.c: Rebuild.
1562 * target.c (update_current_target): Don't inherit or default
1563 to_insert_watchpoint.
1564 * target.h (struct target_ops) <to_insert_watchpoint>: Use
1565 TARGET_DEFAULT_RETURN.
1567 2014-02-19 Tom Tromey <tromey@redhat.com>
1569 * target-delegates.c: Rebuild.
1570 * target.c (update_current_target): Don't inherit or default
1571 to_remove_hw_breakpoint.
1572 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
1573 TARGET_DEFAULT_RETURN.
1575 2014-02-19 Tom Tromey <tromey@redhat.com>
1577 * target-delegates.c: Rebuild.
1578 * target.c (update_current_target): Don't inherit or default
1579 to_insert_hw_breakpoint.
1580 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
1581 TARGET_DEFAULT_RETURN.
1583 2014-02-19 Tom Tromey <tromey@redhat.com>
1585 * target-delegates.c: Rebuild.
1586 * target.c (update_current_target): Don't inherit or default
1587 to_can_use_hw_breakpoint.
1588 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
1589 TARGET_DEFAULT_RETURN.
1591 2014-02-19 Tom Tromey <tromey@redhat.com>
1593 * target-delegates.c: Rebuild.
1594 * target.c (update_current_target): Don't inherit or default
1596 * target.h (struct target_ops) <to_files_info>: Use
1597 TARGET_DEFAULT_IGNORE.
1599 2014-02-19 Tom Tromey <tromey@redhat.com>
1601 * target-delegates.c: Rebuild.
1602 * target.c (update_current_target): Don't inherit or default
1604 * target.h (struct target_ops) <to_store>: Use
1605 TARGET_DEFAULT_NORETURN.
1607 2014-02-19 Tom Tromey <tromey@redhat.com>
1609 * target-delegates.c: Rebuild.
1610 * target.c (update_current_target): Don't inherit or default
1612 * target.h (struct target_ops) <to_post_attach>: Use
1613 TARGET_DEFAULT_IGNORE.
1615 2014-02-19 Tom Tromey <tromey@redhat.com>
1617 * target-delegates.c: Rebuild.
1618 * target.c (update_current_target): Don't inherit or default
1620 (default_rcmd): New function.
1621 (do_monitor_command): Unconditionally delegate.
1622 * target.h (struct target_ops) <to_rmcd>: Use
1623 TARGET_DEFAULT_FUNC.
1625 2014-02-19 Tom Tromey <tromey@redhat.com>
1627 * target-delegates.c: Rebuild.
1628 * target.c (init_dummy_target): Don't initialize to_attach.
1629 (target_attach): Unconditionally delegate.
1630 * target.h (struct target_ops) <to_attach>: Use
1631 TARGET_DEFAULT_FUNC.
1633 2014-02-19 Tom Tromey <tromey@redhat.com>
1635 * target-delegates.c: Rebuild.
1636 * target.c (target_detach): Unconditionally delegate.
1637 (init_dummy_target): Don't initialize to_detach.
1638 * target.h (struct target_ops) <to_detach>: Use
1639 TARGET_DEFAULT_IGNORE.
1641 2014-02-19 Tom Tromey <tromey@redhat.com>
1643 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1645 (target_augmented_libraries_svr4_read): Add argument.
1646 * target.c (update_current_target): Update.
1647 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
1650 2014-02-19 Tom Tromey <tromey@redhat.com>
1652 * target.h (struct target_ops) <to_call_history_range>: Add
1654 * target.c (target_call_history_range): Add argument.
1655 * record-btrace.c (record_btrace_call_history_range): Add 'self'
1657 (record_btrace_call_history_from): Update.
1659 2014-02-19 Tom Tromey <tromey@redhat.com>
1661 * target.h (struct target_ops) <to_call_history_from>: Add
1663 * target.c (target_call_history_from): Add argument.
1664 * record-btrace.c (record_btrace_call_history_from): Add 'self'
1667 2014-02-19 Tom Tromey <tromey@redhat.com>
1669 * target.h (struct target_ops) <to_call_history>: Add argument.
1670 * target.c (target_call_history): Add argument.
1671 * record-btrace.c (record_btrace_call_history): Add 'self'
1674 2014-02-19 Tom Tromey <tromey@redhat.com>
1676 * target.h (struct target_ops) <to_insn_history_range>: Add
1678 * target.c (target_insn_history_range): Add argument.
1679 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
1681 (record_btrace_insn_history_from): Update.
1683 2014-02-19 Tom Tromey <tromey@redhat.com>
1685 * target.h (struct target_ops) <to_insn_history_from>: Add
1687 * target.c (target_insn_history_from): Add argument.
1688 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
1691 2014-02-19 Tom Tromey <tromey@redhat.com>
1693 * target.h (struct target_ops) <to_insn_history>: Add argument.
1694 * target.c (target_insn_history): Add argument.
1695 * record-btrace.c (record_btrace_insn_history): Add 'self'
1698 2014-02-19 Tom Tromey <tromey@redhat.com>
1700 * target.h (struct target_ops) <to_goto_record>: Add argument.
1701 * target.c (target_goto_record): Add argument.
1702 * record-full.c (record_full_goto): Add 'self' argument.
1703 * record-btrace.c (record_btrace_goto): Add 'self' argument.
1705 2014-02-19 Tom Tromey <tromey@redhat.com>
1707 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
1708 * target.c (target_goto_record_end): Add argument.
1709 * record-full.c (record_full_goto_end): Add 'self' argument.
1710 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
1712 2014-02-19 Tom Tromey <tromey@redhat.com>
1714 * target.h (struct target_ops) <to_goto_record_begin>: Add
1716 * target.c (target_goto_record_begin): Add argument.
1717 * record-full.c (record_full_goto_begin): Add 'self' argument.
1718 * record-btrace.c (record_btrace_goto_begin): Add 'self'
1721 2014-02-19 Tom Tromey <tromey@redhat.com>
1723 * target.h (struct target_ops) <to_record_is_replaying>: Add
1725 * target.c (target_record_is_replaying): Add argument.
1726 * record-full.c (record_full_is_replaying): Add 'self' argument.
1727 * record-btrace.c (record_btrace_is_replaying): Add 'self'
1729 (record_btrace_xfer_partial, record_btrace_store_registers)
1730 (record_btrace_prepare_to_store, record_btrace_resume)
1731 (record_btrace_wait, record_btrace_decr_pc_after_break)
1732 (record_btrace_find_new_threads, record_btrace_thread_alive):
1735 2014-02-19 Tom Tromey <tromey@redhat.com>
1737 * target.h (struct target_ops) <to_delete_record>: Add argument.
1738 * target.c (target_delete_record): Add argument.
1739 * record-full.c (record_full_delete): Add 'self' argument.
1741 2014-02-19 Tom Tromey <tromey@redhat.com>
1743 * target.h (struct target_ops) <to_save_record>: Add argument.
1744 * target.c (target_save_record): Add argument.
1745 * record-full.c (record_full_save): Add 'self' argument.
1746 (record_full_save): Add 'self' argument.
1748 2014-02-19 Tom Tromey <tromey@redhat.com>
1750 * target.h (struct target_ops) <to_info_record>: Add argument.
1751 * target.c (target_info_record): Add argument.
1752 * record.c (info_record_command): Add argument.
1753 * record-full.c (record_full_info): Add 'self' argument.
1754 * record-btrace.c (record_btrace_info): Add 'self' argument.
1756 2014-02-19 Tom Tromey <tromey@redhat.com>
1758 * target.h (struct target_ops) <to_stop_recording>: Add argument.
1759 * target.c (target_stop_recording): Add argument.
1760 * record.c (record_stop): Add argument.
1761 * record-btrace.c (record_btrace_stop_recording): Add 'self'
1764 2014-02-19 Tom Tromey <tromey@redhat.com>
1766 * target.h (struct target_ops) <to_read_btrace>: Add argument.
1767 * target.c (struct target_ops) <to_read_btrace>: Add argument.
1768 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
1770 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
1771 (_initialize_amd64_linux_nat): Use it.
1772 * i386-linux-nat.c (i386_linux_read_btrace): New function.
1773 (_initialize_i386_linux_nat): Use it.
1775 2014-02-19 Tom Tromey <tromey@redhat.com>
1777 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
1778 * target.c (target_teardown_btrace): Add argument.
1779 * remote.c (remote_teardown_btrace): Add 'self' argument.
1780 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
1782 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
1785 2014-02-19 Tom Tromey <tromey@redhat.com>
1787 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
1788 * target.c (target_disable_btrace): Add argument.
1789 * remote.c (remote_disable_btrace): Add 'self' argument.
1790 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
1792 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
1795 2014-02-19 Tom Tromey <tromey@redhat.com>
1797 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
1798 * target.c (target_enable_btrace): Add argument.
1799 * remote.c (remote_enable_btrace): Add 'self' argument.
1800 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
1802 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
1805 2014-02-19 Tom Tromey <tromey@redhat.com>
1807 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
1808 (target_can_use_agent): Add argument.
1809 * target.c (update_current_target): Update.
1810 * remote.c (remote_can_use_agent): Add 'self' argument.
1811 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
1813 2014-02-19 Tom Tromey <tromey@redhat.com>
1815 * target.h (struct target_ops) <to_use_agent>: Add argument.
1816 (target_use_agent): Add argument.
1817 * target.c (update_current_target): Update.
1818 * remote.c (remote_use_agent): Add 'self' argument.
1819 * inf-child.c (inf_child_use_agent): Add 'self' argument.
1821 2014-02-19 Tom Tromey <tromey@redhat.com>
1823 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
1824 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
1825 (target_traceframe_info): Add argument.
1826 * target.c (update_current_target): Update.
1827 * remote.c (remote_traceframe_info): Add 'self' argument.
1828 * ctf.c (ctf_traceframe_info): Add 'self' argument.
1830 2014-02-19 Tom Tromey <tromey@redhat.com>
1832 * target.h (target_static_tracepoint_markers_by_strid): Add
1834 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
1836 * target.c (update_current_target): Update.
1837 * remote.c (struct target_ops)
1838 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1839 * linux-nat.c (struct target_ops)
1840 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
1842 2014-02-19 Tom Tromey <tromey@redhat.com>
1844 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1846 (target_static_tracepoint_marker_at): Add argument.
1847 * target.c (update_current_target): Update.
1848 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
1851 2014-02-19 Tom Tromey <tromey@redhat.com>
1853 * target.h (struct target_ops) <to_set_permissions>: Add argument.
1854 (target_set_permissions): Add argument.
1855 * target.c (update_current_target): Update.
1856 * remote.c (remote_set_permissions): Add 'self' argument.
1857 (remote_start_remote): Update.
1859 2014-02-19 Tom Tromey <tromey@redhat.com>
1861 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
1862 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
1863 (target_get_tib_address): Add argument.
1864 * target.c (update_current_target): Update.
1865 * remote.c (remote_get_tib_address): Add 'self' argument.
1867 2014-02-19 Tom Tromey <tromey@redhat.com>
1869 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
1870 (target_set_trace_notes): Add argument.
1871 * target.c (update_current_target): Update.
1872 * remote.c (remote_set_trace_notes): Add 'self' argument.
1874 2014-02-19 Tom Tromey <tromey@redhat.com>
1876 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
1878 (target_set_trace_buffer_size): Add argument.
1879 * target.c (update_current_target): Update.
1880 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
1882 2014-02-19 Tom Tromey <tromey@redhat.com>
1884 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
1886 (target_set_circular_trace_buffer): Add argument.
1887 * target.c (update_current_target): Update.
1888 * remote.c (remote_set_circular_trace_buffer): Add 'self'
1891 2014-02-19 Tom Tromey <tromey@redhat.com>
1893 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
1895 (target_set_disconnected_tracing): Add argument.
1896 * target.c (update_current_target): Update.
1897 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
1899 2014-02-19 Tom Tromey <tromey@redhat.com>
1901 * target.h (struct target_ops)
1902 <to_get_min_fast_tracepoint_insn_len>: Add argument.
1903 (target_get_min_fast_tracepoint_insn_len): Add argument.
1904 * target.c (update_current_target): Update.
1905 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
1908 2014-02-19 Tom Tromey <tromey@redhat.com>
1910 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
1912 (target_get_raw_trace_data): Add argument.
1913 * target.c (update_current_target): Update.
1914 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
1916 2014-02-19 Tom Tromey <tromey@redhat.com>
1918 * target.h (struct target_ops) <to_upload_trace_state_variables>:
1920 (target_upload_trace_state_variables): Add argument.
1921 * target.c (update_current_target): Update.
1922 * remote.c (remote_upload_trace_state_variables): Add 'self'
1924 (remote_start_remote): Update.
1926 2014-02-19 Tom Tromey <tromey@redhat.com>
1928 * target.h (struct target_ops) <to_upload_tracepoints>: Add
1930 (target_upload_tracepoints): Add argument.
1931 * target.c (update_current_target): Update.
1932 * remote.c (remote_upload_tracepoints): Add 'self' argument.
1933 (remote_start_remote): Update.
1935 2014-02-19 Tom Tromey <tromey@redhat.com>
1937 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
1938 (target_save_trace_data): Add argument.
1939 * target.c (update_current_target): Update.
1940 * remote.c (remote_save_trace_data): Add 'self' argument.
1942 2014-02-19 Tom Tromey <tromey@redhat.com>
1944 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
1946 * target.h (struct target_ops)
1947 <to_get_trace_state_variable_value>: Add argument.
1948 (target_get_trace_state_variable_value): Add argument.
1949 * target.c (update_current_target): Update.
1950 * remote.c (remote_get_trace_state_variable_value): Add 'self'
1952 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
1954 2014-02-19 Tom Tromey <tromey@redhat.com>
1956 * tracepoint.c (tfile_trace_find): Add 'self' argument.
1957 * target.h (struct target_ops) <to_trace_find>: Add argument.
1958 (target_trace_find): Add argument.
1959 * target.c (update_current_target): Update.
1960 * remote.c (remote_trace_find): Add 'self' argument.
1961 * ctf.c (ctf_trace_find): Add 'self' argument.
1963 2014-02-19 Tom Tromey <tromey@redhat.com>
1965 * target.h (struct target_ops) <to_trace_stop>: Add argument.
1966 (target_trace_stop): Add argument.
1967 * target.c (update_current_target): Update.
1968 * remote.c (remote_trace_stop): Add 'self' argument.
1970 2014-02-19 Tom Tromey <tromey@redhat.com>
1972 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
1973 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
1975 (target_get_tracepoint_status): Add argument.
1976 * target.c (update_current_target): Update.
1977 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
1979 2014-02-19 Tom Tromey <tromey@redhat.com>
1981 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
1982 * target.h (struct target_ops) <to_get_trace_status>: Add
1984 (target_get_trace_status): Add argument.
1985 * target.c (update_current_target): Update.
1986 * remote.c (remote_get_trace_status): Add 'self' argument.
1987 (remote_start_remote, remote_can_download_tracepoint): Update.
1988 * ctf.c (ctf_get_trace_status): Add 'self' argument.
1990 2014-02-19 Tom Tromey <tromey@redhat.com>
1992 * target.h (struct target_ops) <to_trace_start>: Add argument.
1993 (target_trace_start): Add argument.
1994 * target.c (update_current_target): Update.
1995 * remote.c (remote_trace_start): Add 'self' argument.
1997 2014-02-19 Tom Tromey <tromey@redhat.com>
1999 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
2001 (target_trace_set_readonly_regions): Add argument.
2002 * target.c (update_current_target): Update.
2003 * remote.c (remote_trace_set_readonly_regions): Add 'self'
2006 2014-02-19 Tom Tromey <tromey@redhat.com>
2008 * target.h (struct target_ops) <to_disable_tracepoint>: Add
2010 (target_disable_tracepoint): Add argument.
2011 * target.c (update_current_target): Update.
2012 * remote.c (remote_disable_tracepoint): Add 'self' argument.
2014 2014-02-19 Tom Tromey <tromey@redhat.com>
2016 * target.h (struct target_ops) <to_enable_tracepoint>: Add
2018 (target_enable_tracepoint): Add argument.
2019 * target.c (update_current_target): Update.
2020 * remote.c (remote_enable_tracepoint): Add 'self' argument.
2022 2014-02-19 Tom Tromey <tromey@redhat.com>
2024 * target.h (struct target_ops) <to_download_trace_state_variable>:
2026 (target_download_trace_state_variable): Add argument.
2027 * target.c (update_current_target): Update.
2028 * remote.c (remote_download_trace_state_variable): Add 'self'
2031 2014-02-19 Tom Tromey <tromey@redhat.com>
2033 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
2035 (target_can_download_tracepoint): Add argument.
2036 * target.c (update_current_target): Update.
2037 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
2039 2014-02-19 Tom Tromey <tromey@redhat.com>
2041 * target.h (struct target_ops) <to_download_tracepoint>: Add
2043 (target_download_tracepoint): Add argument.
2044 * target.c (update_current_target): Update.
2045 * remote.c (remote_download_tracepoint): Add 'self' argument.
2047 2014-02-19 Tom Tromey <tromey@redhat.com>
2049 * target.h (struct target_ops) <to_trace_init>: Add argument.
2050 (target_trace_init): Add argument.
2051 * target.c (update_current_target): Update.
2052 * remote.c (remote_trace_init): Add 'self' argument.
2054 2014-02-19 Tom Tromey <tromey@redhat.com>
2056 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
2057 * target.c (target_fileio_readlink): Add argument.
2058 * remote.c (remote_hostio_readlink): Add 'self' argument.
2059 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
2061 2014-02-19 Tom Tromey <tromey@redhat.com>
2063 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
2064 * target.c (target_fileio_unlink): Add argument.
2065 * remote.c (remote_hostio_unlink): Add 'self' argument.
2066 (remote_file_delete): Update.
2067 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
2069 2014-02-19 Tom Tromey <tromey@redhat.com>
2071 * target.h (struct target_ops) <to_fileio_close>: Add argument.
2072 * target.c (target_fileio_close): Add argument.
2073 * remote.c (remote_hostio_close): Add 'self' argument.
2074 (remote_hostio_close_cleanup): Update.
2075 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
2077 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
2079 2014-02-19 Tom Tromey <tromey@redhat.com>
2081 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
2082 * target.c (target_fileio_pread): Add argument.
2083 * remote.c (remote_hostio_pread): Add 'self' argument.
2084 (remote_bfd_iovec_pread, remote_file_get): Update.
2085 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
2087 2014-02-19 Tom Tromey <tromey@redhat.com>
2089 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
2090 * target.c (target_fileio_pwrite): Add argument.
2091 * remote.c (remote_hostio_pwrite): Add 'self' argument.
2092 (remote_file_put): Update.
2093 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
2095 2014-02-19 Tom Tromey <tromey@redhat.com>
2097 * target.h (struct target_ops) <to_fileio_open>: Add argument.
2098 * target.c (target_fileio_open): Add argument.
2099 * remote.c (remote_hostio_open): Add 'self' argument.
2100 (remote_bfd_iovec_open): Add 'self' argument.
2101 (remote_file_put): Add 'self' argument.
2102 (remote_file_get): Add 'self' argument.
2103 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
2105 2014-02-19 Tom Tromey <tromey@redhat.com>
2107 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
2109 (target_can_run_breakpoint_commands): Add argument.
2110 * target.c (update_current_target): Update.
2111 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
2113 (remote_insert_breakpoint): Add 'self' argument.
2114 (remote_insert_hw_breakpoint): Add 'self' argument.
2115 (remote_can_run_breakpoint_commands): Add 'self' argument.
2117 2014-02-19 Tom Tromey <tromey@redhat.com>
2119 * target.h (struct target_ops)
2120 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
2121 (target_supports_evaluation_of_breakpoint_conditions): Add
2123 * target.c (update_current_target): Update.
2124 * remote.c (remote_supports_cond_breakpoints): Add 'self'
2126 (remote_insert_breakpoint): Add 'self' argument.
2127 (remote_insert_hw_breakpoint): Add 'self' argument.
2128 (remote_supports_cond_breakpoints): Add 'self' argument.
2130 2014-02-19 Tom Tromey <tromey@redhat.com>
2132 * target.h (struct target_ops) <to_supports_string_tracing>: Add
2134 (target_supports_string_tracing): Add argument.
2135 * target.c (update_current_target): Update.
2136 * remote.c (remote_supports_string_tracing): Add 'self' argument.
2138 2014-02-19 Tom Tromey <tromey@redhat.com>
2140 * target.h (struct target_ops)
2141 <to_supports_disable_randomization>: Add argument.
2142 * target.c (find_default_supports_disable_randomization): Add
2144 (target_supports_disable_randomization): Add argument.
2145 (find_default_supports_disable_randomization): Add 'self'
2147 * remote.c (extended_remote_supports_disable_randomization): Add
2149 (remote_supports_disable_randomization): Add 'self' argument.
2150 (extended_remote_create_inferior): Update.
2151 * linux-nat.c (linux_nat_supports_disable_randomization): Add
2154 2014-02-19 Tom Tromey <tromey@redhat.com>
2156 * target.h (struct target_ops)
2157 <to_supports_enable_disable_tracepoint>: Add argument.
2158 (target_supports_enable_disable_tracepoint): Add argument.
2159 * target.c (update_current_target): Update.
2160 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
2163 2014-02-19 Tom Tromey <tromey@redhat.com>
2165 * target.h (struct target_ops) <to_supports_multi_process>: Add
2167 (target_supports_multi_process): Add argument.
2168 * target.c (update_current_target): Update.
2169 * remote.c (remote_supports_multi_process): Add 'self' argument.
2170 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
2172 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
2175 2014-02-19 Tom Tromey <tromey@redhat.com>
2177 * target.h (struct target_ops) <to_execution_direction>: Add
2179 (target_execution_direction): Add argument.
2180 * target.c (default_execution_direction): Add 'self' argument.
2181 * record-full.c (record_full_execution_direction): Add 'self'
2184 2014-02-19 Tom Tromey <tromey@redhat.com>
2186 * target.h (struct target_ops) <to_can_execute_reverse>: Add
2188 (target_can_execute_reverse): Add argument.
2189 * remote.c (remote_can_execute_reverse): Add 'self' argument.
2190 * record-full.c (record_full_can_execute_reverse): Add 'self'
2192 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
2195 2014-02-19 Tom Tromey <tromey@redhat.com>
2197 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
2198 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
2200 (target_get_ada_task_ptid): Add argument.
2201 * target.c (update_current_target): Update.
2202 (default_get_ada_task_ptid): Add 'self' argument.
2203 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
2204 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
2205 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
2207 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
2209 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
2211 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
2213 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
2214 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
2217 2014-02-19 Tom Tromey <tromey@redhat.com>
2219 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
2220 (target_goto_bookmark): Add argument.
2221 * target.c (dummy_goto_bookmark): Add 'self' argument.
2222 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
2224 2014-02-19 Tom Tromey <tromey@redhat.com>
2226 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
2227 (target_get_bookmark): Add argument.
2228 * target.c (dummy_get_bookmark): Add 'self' argument.
2229 * record-full.c (record_full_get_bookmark): Add 'self' argument.
2231 2014-02-19 Tom Tromey <tromey@redhat.com>
2233 * target.h (struct target_ops) <to_make_corefile_notes>: Add
2235 (target_make_corefile_notes): Add argument.
2236 * target.c (dummy_make_corefile_notes): Add 'self' argument.
2237 * procfs.c (procfs_make_note_section): Add 'self' argument.
2238 (procfs_make_note_section): Add 'self' argument.
2239 (procfs_make_note_section): Add 'self' argument.
2240 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
2242 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
2243 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
2244 * exec.c (exec_make_note_section): Add 'self' argument.
2245 (exec_make_note_section): Add 'self' argument.
2247 2014-02-19 Tom Tromey <tromey@redhat.com>
2249 * target.h (struct target_ops) <to_find_memory_regions>: Add
2251 (target_find_memory_regions): Add argument.
2252 * target.c (dummy_find_memory_regions): Add 'self' argument.
2253 * procfs.c (proc_find_memory_regions): Add 'self' argument.
2254 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
2255 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
2256 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
2257 * exec. (exec_do_find_memory_regions): New global.
2258 (exec_set_find_memory_regions): Rewrite.
2259 (exec_find_memory_regions): New function.
2260 (init_exec_ops): Use exec_find_memory_regions.
2262 2014-02-19 Tom Tromey <tromey@redhat.com>
2264 * target.h (struct target_ops) <to_supports_non_stop>: Add
2266 * target.c (find_default_supports_non_stop): Add argument.
2267 (target_supports_non_stop): Add argument.
2268 (find_default_supports_non_stop): Add 'self' argument.
2269 * remote.c (remote_supports_non_stop): Add 'self' argument.
2270 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
2272 2014-02-19 Tom Tromey <tromey@redhat.com>
2274 * target.h (struct target_ops) <to_log_command>: Add argument.
2275 (target_log_command): Add argument.
2276 * serial.h (serial_log_command): Add 'self' argument.
2277 * serial.c (serial_log_command): Add 'self' argument.
2279 2014-02-19 Tom Tromey <tromey@redhat.com>
2281 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
2282 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
2284 (target_pid_to_exec_file): Add argument.
2285 * target.c (debug_to_pid_to_exec_file): Add argument.
2286 (update_current_target): Update.
2287 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
2288 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
2289 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
2290 (linux_handle_extended_wait): Update.
2291 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
2292 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
2293 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
2294 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
2296 2014-02-19 Tom Tromey <tromey@redhat.com>
2298 * target.h (struct target_ops) <to_rcmd>: Add argument.
2299 (target_rcmd): Add argument.
2300 * target.c (debug_to_rcmd): Add argument.
2301 (update_current_target, do_monitor_command): Update.
2302 * remote.c (remote_rcmd): Add 'self' argument.
2303 * monitor.c (monitor_rcmd): Add 'self' argument.
2305 2014-02-19 Tom Tromey <tromey@redhat.com>
2307 * windows-nat.c (windows_stop): Add 'self' argument.
2308 * target.h (struct target_ops) <to_stop>: Add argument.
2309 * target.c (target_stop): Add argument.
2310 (debug_to_stop): Add argument.
2311 (update_current_target): Update.
2312 * remote.c (remote_stop): Add 'self' argument.
2313 * remote-sim.c (gdbsim_stop): Add 'self' argument.
2314 (gdbsim_cntrl_c): Update.
2315 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
2316 * procfs.c (procfs_stop): Add 'self' argument.
2317 * nto-procfs.c (procfs_stop): Add 'self' argument.
2318 * monitor.c (monitor_stop): Add 'self' argument.
2319 (monitor_open): Update.
2320 * linux-nat.c (linux_nat_stop): Add argument.
2321 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
2322 * gnu-nat.c (gnu_stop): Add 'self' argument.
2323 * darwin-nat.c (darwin_stop): Add 'self' argument.
2325 2014-02-19 Tom Tromey <tromey@redhat.com>
2327 * target.h (struct target_ops) <to_thread_name>: Add argument.
2328 * target.c (target_thread_name): Add argument.
2329 (update_current_target): Update.
2330 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
2332 2014-02-19 Tom Tromey <tromey@redhat.com>
2334 * target.h (struct target_ops) <to_extra_thread_info>: Add
2336 (target_extra_thread_info): Add argument.
2337 * target.c (update_current_target): Update.
2338 * remote.c (remote_threads_extra_info): Add 'self' argument.
2339 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
2341 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
2342 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
2343 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
2345 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
2347 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
2349 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
2352 2014-02-19 Tom Tromey <tromey@redhat.com>
2354 * target.h (struct target_ops) <to_program_signals>: Add argument.
2355 * target.c (target_program_signals): Add argument.
2356 * remote.c (remote_program_signals): Add 'self' argument.
2358 2014-02-19 Tom Tromey <tromey@redhat.com>
2360 * target.h (struct target_ops) <to_pass_signals>: Add argument.
2361 * target.c (target_pass_signals): Add argument.
2362 * remote.c (remote_pass_signals): Add 'self' argument.
2363 (remote_start_remote): Update.
2364 * procfs.c (procfs_pass_signals): Add 'self' argument.
2365 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
2366 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
2367 (linux_nat_create_inferior, linux_nat_attach): Update.
2369 2014-02-19 Tom Tromey <tromey@redhat.com>
2371 * windows-nat.c (windows_can_run): Add 'self' argument.
2372 * target.h (struct target_ops) <to_can_run>: Add argument.
2373 (target_can_run): Add argument.
2374 * target.c (debug_to_can_run): Add argument.
2375 (update_current_target): Update.
2376 * nto-procfs.c (procfs_can_run): Add 'self' argument.
2377 * inf-child.c (inf_child_can_run): Add 'self' argument.
2378 * go32-nat.c (go32_can_run): Add 'self' argument.
2380 2014-02-19 Tom Tromey <tromey@redhat.com>
2382 * target.h (struct target_ops) <to_has_exited>: Add argument.
2383 (target_has_exited): Add argument.
2384 * target.c (debug_to_has_exited): Add argument.
2385 (update_current_target): Update.
2387 2014-02-19 Tom Tromey <tromey@redhat.com>
2389 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
2391 (target_set_syscall_catchpoint): Add argument.
2392 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
2394 * target.c (update_current_target): Update.
2396 2014-02-19 Tom Tromey <tromey@redhat.com>
2398 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
2400 (target_remove_exec_catchpoint): Add argument.
2401 * target.c (debug_to_remove_exec_catchpoint): Add argument.
2402 (update_current_target): Update.
2403 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
2406 2014-02-19 Tom Tromey <tromey@redhat.com>
2408 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
2410 (target_insert_exec_catchpoint): Add argument.
2411 * target.c (debug_to_insert_exec_catchpoint): Add argument.
2412 (update_current_target): Update.
2413 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
2416 2014-02-19 Tom Tromey <tromey@redhat.com>
2418 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
2420 (target_remove_vfork_catchpoint): Add argument.
2421 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
2422 (update_current_target): Update.
2423 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
2426 2014-02-19 Tom Tromey <tromey@redhat.com>
2428 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
2430 (target_insert_vfork_catchpoint): Add argument.
2431 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
2432 (update_current_target): Update.
2433 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
2436 2014-02-19 Tom Tromey <tromey@redhat.com>
2438 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
2440 (target_remove_fork_catchpoint): Add argument.
2441 * target.c (debug_to_remove_fork_catchpoint): Add argument.
2442 (update_current_target): Update.
2443 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
2446 2014-02-19 Tom Tromey <tromey@redhat.com>
2448 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
2450 (target_insert_fork_catchpoint): Add argument.
2451 * target.c (debug_to_insert_fork_catchpoint): Add argument.
2452 (update_current_target): Update.
2453 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
2456 2014-02-19 Tom Tromey <tromey@redhat.com>
2458 * target.h (struct target_ops) <to_post_startup_inferior>: Add
2460 (target_post_startup_inferior): Add argument.
2461 * target.c (debug_to_post_startup_inferior): Add argument.
2462 (update_current_target): Update.
2463 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
2465 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
2467 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
2469 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
2471 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
2473 (super_post_startup_inferior): Likewise.
2474 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
2476 (super_post_startup_inferior): Likewise.
2477 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
2478 Add 'self' argument.
2479 (super_post_startup_inferior): Likewise.
2481 2014-02-19 Tom Tromey <tromey@redhat.com>
2483 * target.h (struct target_ops) <to_load>: Add argument.
2484 * target.c (target_load): Add argument.
2485 (debug_to_load): Add argument.
2486 (update_current_target): Update.
2487 * remote.c (remote_load): Add 'self' argument.
2488 * remote-sim.c (gdbsim_load): Add 'self' argument.
2489 * remote-mips.c (mips_load): Add 'self' argument.
2490 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
2491 * monitor.c (monitor_load): Add 'self' argument.
2492 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
2494 2014-02-19 Tom Tromey <tromey@redhat.com>
2496 * target.h (struct target_ops) <to_terminal_info>: Add argument.
2497 (target_terminal_info): Add argument.
2498 * target.c (debug_to_terminal_info): Add argument.
2499 (default_terminal_info): Likewise.
2500 * inflow.c (child_terminal_info): Add 'self' argument.
2501 * inferior.h (child_terminal_info): Add 'self' argument.
2502 * go32-nat.c (go32_terminal_info): Add 'self' argument.
2504 2014-02-19 Tom Tromey <tromey@redhat.com>
2506 * target.h (struct target_ops) <to_terminal_save_ours>: Add
2508 (target_terminal_save_ours): Add argument.
2509 * target.c (debug_to_terminal_save_ours): Add argument.
2510 (update_current_target): Update.
2511 * inflow.c (terminal_save_ours): Add 'self' argument.
2512 * inferior.h (terminal_save_ours): Add 'self' argument.
2514 2014-02-19 Tom Tromey <tromey@redhat.com>
2516 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
2517 (target_terminal_ours): Add argument.
2518 * target.c (debug_to_terminal_ours): Add argument.
2519 (update_current_target): Update.
2520 * remote.c (remote_terminal_ours): Add 'self' argument.
2521 (remote_close): Update.
2522 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
2523 * inflow.c (terminal_ours): Add 'self' argument.
2524 * inferior.h (terminal_ours): Add 'self' argument.
2525 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2527 2014-02-19 Pedro Alves <palves@redhat.com>
2528 Tom Tromey <tromey@redhat.com>
2530 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
2532 (target_terminal_ours_for_output): Add argument.
2533 * target.c (debug_to_terminal_ours_for_output): Add argument.
2534 (update_current_target): Update.
2535 * inflow.c (terminal_ours_for_output): Add 'self' argument.
2536 * inferior.h (terminal_ours_for_output): Add 'self' argument.
2537 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2539 2014-02-19 Tom Tromey <tromey@redhat.com>
2541 * target.h (struct target_ops) <to_terminal_inferior>: Add
2543 * target.c (target_terminal_inferior): Add argument.
2544 (update_current_target): Update.
2545 * remote.c (remote_terminal_inferior): Add 'self' argument.
2546 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
2547 * inflow.c (terminal_inferior): Add 'self' argument.
2548 * inferior.h (terminal_inferior): Add 'self' argument.
2549 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
2550 (go32_terminal_inferior): Add 'self' argument.
2552 2014-02-19 Tom Tromey <tromey@redhat.com>
2554 * target.h (struct target_ops) <to_terminal_init>: Add argument.
2555 (target_terminal_init): Add argument.
2556 * target.c (debug_to_terminal_init): Add argument.
2557 (update_current_target): Update.
2558 * inflow.c (terminal_init_inferior): Add 'self' argument.
2559 * inferior.h (terminal_init_inferior): Add 'self' argument.
2560 * go32-nat.c (go32_terminal_init): Add 'self' argument.
2561 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
2563 2014-02-19 Tom Tromey <tromey@redhat.com>
2565 * target.h (struct target_ops)
2566 <to_can_accel_watchpoint_condition>: Add argument.
2567 (target_can_accel_watchpoint_condition): Add argument.
2568 * target.c (debug_to_can_accel_watchpoint_condition): Add
2570 (update_current_target): Update.
2571 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
2574 2014-02-19 Tom Tromey <tromey@redhat.com>
2576 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2578 (target_region_ok_for_hw_watchpoint): Add argument.
2579 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
2580 (default_region_ok_for_hw_watchpoint): Add argument.
2581 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
2582 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
2584 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
2586 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
2588 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
2590 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
2592 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
2594 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
2595 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
2597 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
2598 Add 'self' argument.
2600 2014-02-19 Tom Tromey <tromey@redhat.com>
2602 * target.h (struct target_ops) <to_insert_watchpoint>: Add
2604 (target_insert_watchpoint): Add argument.
2605 * target.c (debug_to_insert_watchpoint): Add argument.
2606 (update_current_target): Update.
2607 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
2608 * remote.c (remote_insert_watchpoint): Add 'self' argument.
2609 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
2610 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
2611 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
2612 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
2614 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
2615 (procfs_insert_hw_watchpoint): Add 'self' argument.
2616 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
2618 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
2620 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
2622 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
2623 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
2625 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
2628 2014-02-19 Tom Tromey <tromey@redhat.com>
2630 * target.h (struct target_ops) <to_remove_watchpoint>: Add
2632 (target_remove_watchpoint): Add argument.
2633 * target.c (debug_to_remove_watchpoint): Add argument.
2634 (update_current_target): Update.
2635 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
2636 * remote.c (remote_remove_watchpoint): Add 'self' argument.
2637 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
2638 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
2639 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
2640 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
2642 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
2643 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
2645 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
2647 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
2649 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
2650 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
2652 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
2655 2014-02-19 Tom Tromey <tromey@redhat.com>
2657 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
2659 (target_remove_hw_breakpoint): Add argument.
2660 * target.c (debug_to_remove_hw_breakpoint): Add argument.
2661 (update_current_target): Update.
2662 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
2663 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
2665 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
2666 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
2668 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
2671 2014-02-19 Tom Tromey <tromey@redhat.com>
2673 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
2675 (target_insert_hw_breakpoint): Add argument.
2676 * target.c (debug_to_insert_hw_breakpoint): Add argument.
2677 (update_current_target): Update.
2678 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
2679 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
2681 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
2682 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
2683 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
2685 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
2688 2014-02-19 Tom Tromey <tromey@redhat.com>
2690 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
2692 (target_can_use_hardware_watchpoint): Add argument.
2693 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
2694 (update_current_target): Update.
2695 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
2697 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
2699 * remote.c (remote_check_watch_resources): Add 'self' argument.
2700 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
2701 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
2703 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
2704 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
2706 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
2708 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
2710 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
2712 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
2714 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
2716 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
2717 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
2719 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
2722 2014-02-19 Tom Tromey <tromey@redhat.com>
2724 * target.h (struct target_ops) <to_post_attach>: Add argument.
2725 (target_post_attach): Add argument.
2726 * target.c (debug_to_post_attach): Add argument.
2727 (update_current_target): Update.
2728 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
2729 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
2730 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
2731 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
2732 * inf-child.c (inf_child_post_attach): Add 'self' argument.
2734 2014-02-19 Tom Tromey <tromey@redhat.com>
2736 * windows-nat.c (windows_close): Add 'self' argument.
2737 * tracepoint.c (tfile_close): Add 'self' argument.
2738 * target.h (struct target_ops) <to_close>: Add argument.
2739 * target.c (target_close): Add argument.
2740 (update_current_target): Update.
2741 * remote.c (remote_close): Add 'self' argument.
2742 * remote-sim.c (gdbsim_close): Add 'self' argument.
2743 * remote-mips.c (mips_close): Add 'self' argument.
2744 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
2745 * record-full.c (record_full_close): Add 'self' argument.
2746 * record-btrace.c (record_btrace_close): Add 'self' argument.
2747 * monitor.h (monitor_close): Add 'self' argument.
2748 * monitor.c (monitor_close): Add 'self' argument.
2749 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
2750 * linux-nat.c (linux_nat_close): Add argument.
2751 * go32-nat.c (go32_close): Add 'self' argument.
2752 * exec.c (exec_close_1): Add 'self' argument.
2753 * ctf.c (ctf_close): Add 'self' argument.
2754 * corelow.c (core_close): Add 'self' argument.
2755 (core_close_cleanup): Update.
2756 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
2757 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
2759 2014-02-19 Tom Tromey <tromey@redhat.com>
2761 * remote.c (remote_load): New function.
2762 (init_remote_ops): Use it.
2764 2014-02-19 Tom Tromey <tromey@redhat.com>
2766 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
2768 * common/linux-btrace.h (linux_supports_btrace): Update.
2769 * remote.c (remote_supports_btrace): Add "self" argument.
2770 * target-delegates.c: Rebuild.
2771 * target.c (target_supports_btrace): Remove.
2772 * target.h (struct target_ops) <to_supports_btrace>: Add
2773 target_ops argument.
2774 (target_supports_btrace): New define.
2776 2014-02-19 Tom Tromey <tromey@redhat.com>
2778 * record-full.c (record_full_beneath_to_resume_ops)
2779 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
2780 (record_full_beneath_to_wait)
2781 (record_full_beneath_to_store_registers_ops)
2782 (record_full_beneath_to_store_registers)
2783 (record_full_beneath_to_xfer_partial_ops)
2784 (record_full_beneath_to_xfer_partial)
2785 (record_full_beneath_to_insert_breakpoint_ops)
2786 (record_full_beneath_to_insert_breakpoint)
2787 (record_full_beneath_to_remove_breakpoint_ops)
2788 (record_full_beneath_to_remove_breakpoint)
2789 (record_full_beneath_to_stopped_by_watchpoint)
2790 (record_full_beneath_to_stopped_data_address)
2791 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
2792 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
2793 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
2794 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
2795 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
2796 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
2797 (tmp_to_stopped_data_address, tmp_to_async): Remove.
2798 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
2799 (record_full_resume, record_full_wait_1)
2800 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
2801 (record_full_store_registers, record_full_xfer_partial)
2802 (record_full_insert_breakpoint, record_full_remove_breakpoint)
2803 (record_full_async, record_full_core_xfer_partial): Use target
2805 * target-delegates.c: Rebuild.
2806 * target.c (current_xfer_partial): Remove.
2807 (update_current_target): Do not INHERIT or de_fault
2808 to_insert_breakpoint, to_remove_breakpoint,
2809 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
2810 to_is_async_p, to_async. Do not set to_xfer_partial field.
2811 (default_xfer_partial): Simplify.
2812 (current_xfer_partial): Remove.
2813 (target_wait, target_resume): Simplify.
2814 (find_default_can_async_p, find_default_is_async_p): Update.
2815 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
2816 to_xfer_partial, to_stopped_by_watchpoint,
2817 to_stopped_data_address.
2818 (target_store_registers): Simplify.
2819 (forward_target_remove_breakpoint)
2820 (forward_target_insert_breakpoint): Remove.
2821 (target_remove_breakpoint, target_insert_breakpoint)
2822 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
2823 * target.h (struct target_ops) <to_resume, to_wait,
2824 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
2825 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
2826 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
2828 (forward_target_remove_breakpoint)
2829 (forward_target_insert_breakpoint): Remove.
2830 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
2832 (record_btrace_insert_breakpoint): Delegate directly.
2834 2014-02-19 Tom Tromey <tromey@redhat.com>
2837 * target-delegates.c: New file.
2838 * target.c: Include target-delegates.c.
2839 (init_dummy_target): Call install_dummy_methods.
2840 (complete_target_initialization): Call install_delegators.
2841 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
2842 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
2843 * make-target-delegates: New file.
2845 2014-02-19 Tom Tromey <tromey@redhat.com>
2847 * record.c (find_record_target): Use find_target_at.
2848 * target.c (find_target_at): New function.
2849 * target.h (find_target_at): Declare.
2851 2014-02-19 Tom Tromey <tromey@redhat.com>
2853 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
2855 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
2857 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
2858 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
2860 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
2862 * linux-nat.c (save_sigtrap): Update.
2863 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
2864 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
2865 (linux_nat_close): Update.
2866 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
2868 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
2870 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
2871 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
2872 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
2873 (tmp_to_async): Add 'ops' argument.
2874 (record_full_stopped_by_watchpoint, record_full_async)
2875 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
2877 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
2878 (m32r_stopped_by_watchpoint): Add 'ops' argument.
2879 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
2880 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
2881 (remote_is_async_p, remote_async): Add 'ops' argument.
2882 (remote_stopped_data_address): Update.
2883 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
2884 * target.c (update_current_target)
2885 (find_default_can_async_p, find_default_is_async_p): Update.
2886 (init_dummy_target): Update.
2887 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
2888 * target.h (struct target_ops) <to_stopped_by_watchpoint,
2889 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
2890 (target_can_async_p, target_is_async_p, target_async)
2891 (target_stopped_by_watchpoint): Update.
2893 2014-02-19 Yao Qi <yao@codesourcery.com>
2896 * gdbarch.sh: Remove startup_gdbarch.
2897 * gdbarch.c: Regenerated.
2898 * gdbarch.h: Likewise.
2900 2014-02-17 Kevin Buettner <kevinb@redhat.com>
2902 * rl78-tdep.c (rl78_g10_register_name): New function.
2903 (rl78_return_value): Add g10 support.
2904 (rl78_gdbarch_init): Register rl78_g10_register_name for the
2907 2014-02-17 Doug Evans <xdje42@gmail.com>
2909 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
2910 (SUBDIR_GUILE_SRCS): Ditto.
2911 (scm-gsmob.o): Ditto.
2913 2014-02-17 Yao Qi <yao@codesourcery.com>
2915 * gnu-nat.c (ILL_RPC): Declare defined function.
2917 2014-02-17 Yao Qi <yao@codesourcery.com>
2919 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
2920 mach_msg_type_number_t.
2921 (gnu_write_inferior): Likewise.
2923 2014-02-17 Yao Qi <yao@codesourcery.com>
2925 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
2927 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
2928 (inf_validate_procs, inf_signal): Likewise.
2929 (S_exception_raise_request): Likewise.
2930 (do_mach_notify_dead_name): Likewise.
2931 (steal_exc_port): Likewise.
2932 (gnu_read_inferior): Change 'copy_count''s type to
2933 mach_msg_type_number_t.
2934 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
2937 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
2939 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
2940 flag. Adjust all users; in particular...
2941 (gnu_wait): ..., don't decrement its value in here...
2942 (gnu_create_inferior): ..., and instead set the flag in here,
2943 around the startup_inferior call, and call that one with
2944 START_INFERIOR_TRAPS_EXPECTED.
2946 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
2947 (ILL_RPC): ... new macro.
2948 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
2949 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
2950 (do_mach_notify_send_once, S_proc_setmsgport_reply)
2951 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
2952 functions with ILL_RPC macro.
2953 (S_proc_pid2task_reply, S_proc_task2pid_reply)
2954 (S_proc_task2proc_reply, S_proc_proc2task_reply)
2955 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
2956 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
2957 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
2958 (S_proc_getlogin_reply, S_proc_getsid_reply)
2959 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
2960 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
2961 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
2962 (S_proc_getnports_reply, S_proc_is_important_reply)
2963 (S_proc_get_code_reply): New stub functions, generated with
2966 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
2967 collected the type check structures.
2969 * reply_mig_hack.awk: Don't expect to see the auto keyword.
2971 2014-02-14 Doug Evans <dje@google.com>
2973 * target.c (target_write_partial): Fix result type.
2975 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
2977 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
2978 the proper offsets to access fpregset_t.
2980 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
2982 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
2983 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
2984 * h8300-tdep.c (setmachinelist): Remove global.
2985 * hppa-tdep.c (hppa_sigtramp): Remove global.
2986 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
2987 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
2988 * ravenscar-thread.c (update_target_observer): Remove global.
2989 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
2991 2014-02-12 Tom Tromey <tromey@redhat.com>
2993 * common/rsp-low.c: Update comments.
2994 * common/rsp-low.h: Update comments.
2996 2014-02-12 Tom Tromey <tromey@redhat.com>
2998 * common/rsp-low.c (convert_ascii_to_int): Remove.
2999 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
3001 2014-02-12 Tom Tromey <tromey@redhat.com>
3003 * common/rsp-low.h (unhexify): Don't declare.
3004 * common/rsp-low.c (unhexify): Remove.
3006 2014-02-12 Tom Tromey <tromey@redhat.com>
3008 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
3009 * common/rsp-low.c (convert_int_to_ascii): Remove.
3011 2014-02-12 Tom Tromey <tromey@redhat.com>
3013 * common/rsp-low.h (hexify): Don't declare.
3014 * common/rsp-low.c (hexify): Remove.
3016 2014-02-12 Tom Tromey <tromey@redhat.com>
3018 * common/rsp-low.c (hexify): Never take strlen of argument.
3020 2014-02-12 Tom Tromey <tromey@redhat.com>
3022 * common/rsp-low.c (bin2hex): Never take strlen of argument.
3023 * remote.c (extended_remote_run, remote_rcmd)
3024 (remote_download_trace_state_variable, remote_save_trace_data)
3025 (remote_set_trace_notes): Update.
3026 * tracepoint.c (encode_source_string, tfile_write_status)
3027 (tfile_write_uploaded_tsv): Update.
3029 2014-02-12 Tom Tromey <tromey@redhat.com>
3031 * tracepoint.c: Include rsp-low.h.
3032 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
3033 * remote.c: Include rsp-low.h.
3034 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
3035 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
3036 (remote_unescape_input): Move to common/rsp-low.c.
3037 * common/rsp-low.h: New file.
3038 * common/rsp-low.c: New file.
3039 * Makefile.in (SFILES): Add common/rsp-low.c.
3040 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
3041 (COMMON_OBS): Add rsp-low.o.
3042 (rsp-low.o): New target.
3044 2014-02-12 Tom Tromey <tromey@redhat.com>
3046 * utils.h: Include print-utils.h.
3047 (host_address_to_string, plongest, pulongest, phex, phex_nz)
3048 (int_string, core_addr_to_string, core_addr_to_string_nz)
3049 (hex_string, hex_string_custom): Don't declare.
3050 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
3051 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
3052 (hex_string_custom, int_string, core_addr_to_string)
3053 (core_addr_to_string_nz, host_address_to_string): Move to
3054 common/print-utils.c.
3055 * common/print-utils.h: New file.
3056 * common/print-utils.c: New file
3057 * Makefile.in (SFILES): Add common/print-utils.c.
3058 (HFILES_NO_SRCDIR): Add common/print-utils.h.
3059 (COMMON_OBS): Add print-utils.o.
3060 (print-utils.o): New target.
3062 2014-02-12 Tom Tromey <tromey@redhat.com>
3064 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
3066 2014-02-12 Mark Kettenis <kettenis@gnu.org>
3068 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
3070 2014-02-12 Mark Kettenis <kettenis@gnu.org>
3072 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
3073 if a PT_IO ptrace request returns sucessfully but indicates that 0
3074 bytes were transferred.
3076 2014-02-12 Pedro Alves <palves@redhat.com>
3077 Kevin Buettner <kevinb@redhat.com>
3079 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
3080 TYPE_INSTANCE_FLAG_CODE_SPACE.
3082 2014-02-12 Pedro Alves <palves@redhat.com>
3084 * h8300-tdep.c (pseudo_from_raw_register)
3085 (raw_from_pseudo_register): New functions.
3086 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
3089 2014-02-12 Pedro Alves <palves@redhat.com>
3091 * h8300-tdep.c (h8300_register_sim_regno): New function.
3092 (h8300_gdbarch_init): Install h8300_register_sim_regno as
3093 gdbarch_register_sim_regno hook.
3095 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
3097 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
3099 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
3101 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
3103 2014-02-12 Mark Kettenis <kettenis@gnu.org>
3105 * obsd-tdep.h (obsd_init_abi): New prototype.
3106 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
3107 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
3108 (obsd_init_abi): New functions.
3109 * i386obsd-tdep.c: Include "obsd-tdep.h".
3110 (i386obsd_init_abi): Call obsd_init_abi.
3111 * amd64obsd-tdep.c: Include "obsd-tdep.h".
3112 (amd64obsd_init_abi): Call obsd_init_abi.
3113 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
3114 obsd-tdep.c to gdb_target_obs.
3116 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
3118 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
3119 double float arguments to 16-byte in the argument slots.
3121 2014-02-11 Doug Evans <xdje42@gmail.com>
3123 * configure.ac: Don't crash if pkg-config is not found and guile
3124 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
3126 * configure: Regenerate.
3128 2014-02-11 Yao Qi <yao@codesourcery.com>
3130 * aix-thread.c (aix_thread_xfer_partial): Update comments.
3131 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
3132 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
3133 * gnu-nat.c (gnu_xfer_memory): Likewise.
3134 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
3135 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3136 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3137 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3139 2014-02-11 Yao Qi <yao@codesourcery.com>
3141 * target.h (enum target_xfer_error): Rename to ...
3142 (enum target_xfer_status): ... it. New. All users updated.
3143 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
3145 (TARGET_XFER_STATUS_ERROR_P): New macro.
3146 (target_xfer_error_to_string): Remove declaration.
3147 (target_xfer_status_to_string): Declare.
3148 (target_xfer_partial_ftype): Adjust it.
3149 (struct target_ops) <to_xfer_partial>: Return
3150 target_xfer_status. Add argument xfered_len. Update
3152 * target.c (target_xfer_error_to_string): Rename to ...
3153 (target_xfer_status_to_string): ... it. New. All callers
3155 (target_read_live_memory): Likewise. Call target_xfer_partial
3156 instead of target_read.
3157 (memory_xfer_live_readonly_partial): Return
3158 target_xfer_status. Add argument xfered_len.
3159 (raw_memory_xfer_partial): Likewise.
3160 (memory_xfer_partial_1): Likewise.
3161 (memory_xfer_partial): Likewise.
3162 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
3163 properly. Update debug message.
3164 (default_xfer_partial, current_xfer_partial): Likewise.
3165 (target_write_partial): Likewise.
3166 (target_read_partial): Likewise. All callers updated.
3167 (read_whatever_is_readable): Likewise.
3168 (target_write_with_progress): Likewise.
3169 (target_read_alloc_1): Likewise.
3171 * aix-thread.c (aix_thread_xfer_partial): Likewise.
3172 * auxv.c (procfs_xfer_auxv): Likewise.
3173 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
3174 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3175 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3176 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
3177 * corefile.c (read_memory): Adjust.
3178 * corelow.c (core_xfer_partial): Likewise.
3179 * ctf.c (ctf_xfer_partial): Likewise.
3180 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
3182 (darwin_xfer_partial): Likewise.
3183 * exec.c (section_table_xfer_memory_partial): Likewise. All
3185 (exec_xfer_partial): Likewise.
3186 * exec.h (section_table_xfer_memory_partial): Update
3188 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
3190 (gnu_xfer_partial): Likewise.
3191 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
3192 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
3193 (ia64_hpux_xfer_solib_got): Likewise.
3194 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
3195 type of 'partial_len' to ULONGEST.
3196 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
3197 * linux-nat.c (linux_xfer_siginfo ): Likewise.
3198 (linux_nat_xfer_partial): Likewise.
3199 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
3200 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
3201 * monitor.c (monitor_xfer_memory): Likewise.
3202 (monitor_xfer_partial): Likewise.
3203 * procfs.c (procfs_xfer_partial): Likewise.
3204 * record-btrace.c (record_btrace_xfer_partial): Likewise.
3205 * record-full.c (record_full_xfer_partial): Likewise.
3206 (record_full_core_xfer_partial): Likewise.
3207 * remote-sim.c (gdbsim_xfer_memory): Likewise.
3208 (gdbsim_xfer_partial): Likewise.
3209 * remote.c (remote_write_bytes_aux): Likewise. All callers
3211 (remote_write_bytes, remote_read_bytes): Likewise. All
3213 (remote_flash_erase): Likewise. All callers updated.
3214 (remote_write_qxfer): Likewise. All callers updated.
3215 (remote_read_qxfer): Likewise. All callers updated.
3216 (remote_xfer_partial): Likewise.
3217 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3218 (rs6000_xfer_shared_libraries): Likewise.
3219 * sol-thread.c (sol_thread_xfer_partial): Likewise.
3220 (sol_thread_xfer_partial): Likewise.
3221 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3222 (sparc_xfer_partial): Likewise.
3223 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
3225 (spu_xfer_partial): Likewise.
3226 * spu-multiarch.c (spu_xfer_partial): Likewise.
3227 * tracepoint.c (tfile_xfer_partial): Likewise.
3228 * windows-nat.c (windows_xfer_memory): Likewise.
3229 (windows_xfer_shared_libraries): Likewise.
3230 (windows_xfer_partial): Likewise.
3231 * valprint.c: Replace 'target_xfer_error' with
3232 'target_xfer_status' in comments.
3234 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
3236 Checked in by Joel Brobecker <brobecker@adacore.com>.
3237 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
3239 2014-02-11 Joel Brobecker <brobecker@adacore.com>
3241 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
3242 function parameters.
3244 2014-02-10 Will Newton <will.newton@linaro.org>
3246 * elfread.c (elf_rel_plt_read): Look for a .got section if
3247 looking up .got.plt fails.
3248 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
3249 on address passed to elf_gnu_ifunc_record_cache.
3250 (elf_gnu_ifunc_resolve_addr): Likewise.
3251 (elf_gnu_ifunc_resolver_return_stop): Likewise.
3253 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
3255 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
3256 (X_RETTURN): New macro.
3257 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
3259 * sparc64-tdep.c (sparc64_init_abi): Hook
3260 sparc_in_function_epilogue_p.
3262 2014-02-10 Gary Benson <gbenson@redhat.com>
3264 * symfile-debug.c (debug_qf_expand_symtabs_matching):
3265 Rename name_matcher to symbol_matcher.
3267 2014-02-10 Gary Benson <gbenson@redhat.com>
3269 * symfile-debug.c (debug_qf_expand_symtabs_matching):
3270 Use expand_symtabs_file_matcher_ftype and
3271 expand_symtabs_symbol_matcher_ftype.
3273 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3275 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
3276 (struct ada_symbol_cache): New.
3277 (ada_free_symbol_cache): Forward declare.
3278 (struct ada_pspace_data): New.
3279 (ada_pspace_data_handle): New static global.
3280 (get_ada_pspace_data, ada_pspace_data_cleanup)
3281 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
3282 (cache_space, cache): Delete, now folded inside struct
3284 (ada_get_symbol_cache): New function.
3285 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
3287 (_initialize_ada_language): Remove initialization of cache_space.
3288 Move call to observer_attach_inferior_exit up, grouping it
3289 with the other observer registrations inside this function.
3290 Rename command to be more general. Add call to
3291 register_program_space_data_with_cleanup.
3293 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3295 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
3296 ada_new_objfile_observer.
3297 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
3298 (_initialize_tasks): Update uses of ada_new_objfile_observer
3299 and ada_tasks_normal_stop_observer.
3301 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3303 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
3304 returned by the 'Length attribute to integer.
3306 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3308 * ada-lang.c (_initialize_ada_language): Initialize
3309 cache_space obstack.
3311 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3313 * ada-lang.c (HASH_SIZE): New macro.
3314 (struct cache_entry): New type.
3315 (cache_space, cache): New static globals.
3316 (ada_clear_symbol_cache, find_entry): New functions.
3317 (lookup_cached_symbol, cache_symbol): Implement.
3318 (ada_new_objfile_observer, ada_free_objfile_observer): New.
3319 (_initialize_ada_language): Attach ada_new_objfile_observer
3320 and ada_free_objfile_observer.
3322 2014-02-10 Joel Brobecker <brobecker@adacore.com>
3324 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
3325 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
3326 struct block * parameter.
3327 (ada_lookup_symbol_list_worker): Constify local variable "block".
3328 Remove cast which is no longer necessary.
3330 2014-02-10 Doug Evans <xdje42@gmail.com>
3332 Add Guile as an extension language.
3333 * NEWS: Mention Guile scripting.
3334 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
3335 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
3336 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
3337 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
3338 (CLIBS): Add GUILE_LIBS.
3339 (install-guile): New rule.
3340 (guile.o): New rule.
3341 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
3342 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
3343 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
3344 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
3345 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
3346 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
3347 (scm-type.o, scm-utils.o, scm-value.o): New rules.
3348 * configure.ac: New option --with-guile.
3349 * configure: Regenerate.
3350 * config.in: Regenerate.
3351 * auto-load.c: Remove #include "python/python.h". Add #include
3352 "gdb/section-scripts.h".
3353 (source_section_scripts): Handle Guile scripts.
3354 (_initialize_auto_load): Add name of Guile objfile script to
3355 scripts-directory help text.
3356 * breakpoint.c (condition_command): Tweak comment to include Scheme.
3357 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
3358 (struct breakpoint): New member scm_bp_object.
3359 * defs.h (enum command_control_type): New value guile_control.
3360 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
3362 (show_user): Update comment.
3363 (_initialize_cli_cmds): Update help text for "show user". Update help
3364 text for max-user-call-depth.
3365 * cli/cli-script.c: Remove #include "python/python.h". Add #include
3367 (multi_line_command_p): Add guile_control.
3368 (print_command_lines): Handle guile_control.
3369 (execute_control_command, recurse_read_control_structure): Ditto.
3370 (process_next_line): Recognize "guile" commands.
3371 * disasm.c (gdb_disassemble_info): Make non-static.
3372 * disasm.h: #include "dis-asm.h".
3373 (struct gdbarch): Add forward decl.
3374 (gdb_disassemble_info): Declare.
3375 * extension.c: #include "guile/guile.h".
3376 (extension_languages): Add guile.
3377 (get_ext_lang_defn): Handle EXT_LANG_GDB.
3378 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
3379 * gdbtypes.c (get_unsigned_type_max): New function.
3380 (get_signed_type_minmax): New function.
3381 * gdbtypes.h (get_unsigned_type_max): Declare.
3382 (get_signed_type_minmax): Declare.
3383 * guile/README: New file.
3384 * guile/guile-internal.h: New file.
3385 * guile/guile.c: New file.
3386 * guile/guile.h: New file.
3387 * guile/scm-arch.c: New file.
3388 * guile/scm-auto-load.c: New file.
3389 * guile/scm-block.c: New file.
3390 * guile/scm-breakpoint.c: New file.
3391 * guile/scm-disasm.c: New file.
3392 * guile/scm-exception.c: New file.
3393 * guile/scm-frame.c: New file.
3394 * guile/scm-gsmob.c: New file.
3395 * guile/scm-iterator.c: New file.
3396 * guile/scm-lazy-string.c: New file.
3397 * guile/scm-math.c: New file.
3398 * guile/scm-objfile.c: New file.
3399 * guile/scm-ports.c: New file.
3400 * guile/scm-pretty-print.c: New file.
3401 * guile/scm-safe-call.c: New file.
3402 * guile/scm-string.c: New file.
3403 * guile/scm-symbol.c: New file.
3404 * guile/scm-symtab.c: New file.
3405 * guile/scm-type.c: New file.
3406 * guile/scm-utils.c: New file.
3407 * guile/scm-value.c: New file.
3408 * guile/lib/gdb.scm: New file.
3409 * guile/lib/gdb/boot.scm: New file.
3410 * guile/lib/gdb/experimental.scm: New file.
3411 * guile/lib/gdb/init.scm: New file.
3412 * guile/lib/gdb/iterator.scm: New file.
3413 * guile/lib/gdb/printing.scm: New file.
3414 * guile/lib/gdb/types.scm: New file.
3415 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
3416 (VPATH): Add $(GUILE_SRCDIR).
3417 (GUILE_DIR): New variable.
3418 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
3419 (all): Add stamp-guile dependency.
3420 (stamp-guile): New rule.
3421 (clean-guile, install-guile, uninstall-guile): New rules.
3422 (install-only): Add install-guile dependency.
3423 (uninstall): Add uninstall-guile dependency.
3424 (clean): Add clean-guile dependency.
3426 2014-02-09 Doug Evans <xdje42@gmail.com>
3428 Revert this patch (which I approved, mea culpa).
3430 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3432 * Makefile.in (all-lib): Remove.
3433 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3435 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3437 Fix Python stack corruption.
3438 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
3441 2014-02-08 Mark Kettenis <kettenis@gnu.org>
3443 * Makefile.in (all-lib): Remove.
3444 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3446 2014-02-07 Doug Evans <dje@google.com>
3448 * extension-priv.h (extension_language_script_ops): Add comment.
3449 (extension_language_ops): Add comment.
3450 (active_ext_lang_state): Fix typo in comment.
3452 2014-02-07 Pedro Alves <palves@redhat.com>
3454 PR breakpoints/16292
3455 * infrun.c (handle_signal_stop) <signal arrives while stepping
3456 over a breakpoint>: Switch back to the stepping thread.
3458 2014-02-07 Yao Qi <yao@codesourcery.com>
3460 * target.c (target_xfer_partial): Return zero if LEN is zero.
3462 2014-02-07 Yao Qi <yao@codesourcery.com>
3464 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
3465 (ld_so_xfer_auxv): Likewise.
3466 * bfd-target.c (target_bfd_xfer_partial): Likewise.
3467 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3468 * corelow.c (core_xfer_partial): Likewise.
3469 * ctf.c (ctf_xfer_partial): Likewise.
3470 * darwin-nat.c (darwin_read_dyld_info): Likewise.
3471 (darwin_xfer_partial): Likewise.
3472 * exec.c (exec_xfer_partial): Likewise.
3473 * gnu-nat.c (gnu_xfer_partial): Likewise.
3474 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
3475 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
3476 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
3477 * linux-nat.c (linux_xfer_siginfo): Likewise.
3478 (linux_proc_xfer_spu): Likewise.
3479 * procfs.c (procfs_xfer_partial): Likewise.
3480 * record-full.c (record_full_xfer_partial): Likewise.
3481 (record_full_core_xfer_partial): Likewise.
3482 * remote-sim.c (gdbsim_xfer_partial): Likewise.
3483 * remote.c (remote_write_qxfer): Likewise.
3484 (remote_write_qxfer, remote_read_qxfer): Likewise.
3485 (remote_xfer_partial): Likewise.
3486 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3487 (rs6000_xfer_shared_libraries): Likewise.
3488 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3489 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3490 (spu_xfer_partial): Likewise.
3491 * target.c (memory_xfer_partial_1): Likewise.
3492 * tracepoint.c (tfile_xfer_partial): Likewise.
3493 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
3494 (windows_xfer_partial): Likewise.
3496 2014-02-07 Yao Qi <yao@codesourcery.com>
3498 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
3500 (core_xfer_shared_libraries_aix): Likewise.
3501 * gdbarch.c, gdbarch.h: Regenerated.
3502 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
3503 ULONGEST. Change 'len_avail' type to ULONGEST.
3504 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3505 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3507 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
3509 2014-02-07 Yao Qi <yao@codesourcery.com>
3511 * corefile.c (memory_error): Get 'exception' from ERR and pass
3512 'exception' to throw_error.
3514 2014-02-06 Doug Evans <xdje42@gmail.com>
3516 * configure.ac (libpython checking): Remove all but python.o from
3517 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
3518 * configure: Regenerate.
3520 * Makefile.in (SFILES): Add extension.c.
3521 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
3522 (COMMON_OBS): Add extension.o.
3523 * extension.h: New file.
3524 * extension-priv.h: New file.
3525 * extension.c: New file.
3527 * python/python-internal.h: #include "extension.h".
3528 (gdbpy_auto_load_enabled): Declare.
3529 (gdbpy_apply_val_pretty_printer): Declare.
3530 (gdbpy_apply_frame_filter): Declare.
3531 (gdbpy_preserve_values): Declare.
3532 (gdbpy_breakpoint_cond_says_stop): Declare.
3533 (gdbpy_breakpoint_has_cond): Declare.
3534 (void source_python_script_for_objfile): Delete.
3535 * python/python.c: #include "extension-priv.h".
3536 Delete inclusion of "observer.h".
3537 (extension_language_python): Moved here and renamed from
3538 script_language_python in py-auto-load.c.
3539 Redefined to be of type extension_language_defn.
3540 (python_extension_script_ops): New global.
3541 (python_extension_ops): New global.
3542 (struct python_env): New member previous_active.
3543 (restore_python_env): Call restore_active_ext_lang.
3544 (ensure_python_env): Call set_active_ext_lang.
3545 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
3547 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
3549 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
3551 (gdbpy_eval_from_control_command): Renamed from
3552 eval_python_from_control_command, made static. New arg extlang.
3553 (gdbpy_source_script) Renamed from source_python_script, made static.
3555 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
3556 result to int. New arg extlang.
3557 (gdbpy_source_objfile_script): Renamed from
3558 source_python_script_for_objfile, made static. New arg extlang.
3559 (gdbpy_start_type_printers): Renamed from start_type_printers, made
3560 static. New args extlang, extlang_printers. Change result type to
3562 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
3563 static. New arg extlang. Rename arg printers to extlang_printers
3564 and change type to ext_lang_type_printers *.
3565 (gdbpy_free_type_printers): Renamed from free_type_printers, made
3566 static. Replace argument arg with extlang, extlang_printers.
3567 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
3568 (!HAVE_PYTHON, source_python_script): Delete.
3569 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
3570 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
3571 (!HAVE_PYTHON, start_type_printers): Delete.
3572 (!HAVE_PYTHON, apply_type_printers): Delete.
3573 (!HAVE_PYTHON, free_type_printers): Delete.
3574 (_initialize_python): Delete call to observer_attach_before_prompt.
3575 (finalize_python): Set/restore active extension language.
3576 (gdbpy_finish_initialization) Renamed from
3577 finish_python_initialization, made static. New arg extlang.
3578 (gdbpy_initialized): New function.
3579 * python/python.h: #include "extension.h". Delete #include
3580 "value.h", "mi/mi-cmds.h".
3581 (extension_language_python): Declare.
3582 (GDBPY_AUTO_FILE_NAME): Delete.
3583 (enum py_bt_status): Moved to extension.h and renamed to
3585 (enum frame_filter_flags): Moved to extension.h.
3586 (enum py_frame_args): Moved to extension.h and renamed to
3587 ext_lang_frame_args.
3588 (finish_python_initialization): Delete.
3589 (eval_python_from_control_command): Delete.
3590 (source_python_script): Delete.
3591 (apply_val_pretty_printer): Delete.
3592 (apply_frame_filter): Delete.
3593 (preserve_python_values): Delete.
3594 (gdbpy_script_language_defn): Delete.
3595 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
3596 (start_type_printers, apply_type_printers, free_type_printers): Delete.
3598 * auto-load.c: #include "extension.h".
3599 (GDB_AUTO_FILE_NAME): Delete.
3600 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
3601 (script_language_gdb): Delete, moved to extension.c and renamed to
3602 extension_language_gdb.
3603 (source_gdb_script_for_objfile): Delete.
3604 (auto_load_pspace_info): New member unsupported_script_warning_printed.
3605 (loaded_script): Change type of language member to
3606 struct extension_language_defn *.
3607 (init_loaded_scripts_info): Initialize
3608 unsupported_script_warning_printed.
3609 (maybe_add_script): Make static. Change type of language arg to
3610 struct extension_language_defn *.
3611 (clear_section_scripts): Reset unsupported_script_warning_printed.
3612 (auto_load_objfile_script_1): Rewrite to use extension language API.
3613 (auto_load_objfile_script): Make public. Remove support-compiled-in
3614 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
3615 (source_section_scripts): Rewrite to use extension language API.
3616 (load_auto_scripts_for_objfile): Rewrite to use
3617 auto_load_scripts_for_objfile.
3618 (collect_matching_scripts_data): Change type of language member to
3619 struct extension_language_defn *.
3620 (auto_load_info_scripts): Change type of language arg to
3621 struct extension_language_defn *.
3622 (unsupported_script_warning_print): New function.
3623 (script_not_found_warning_print): Make static.
3624 (_initialize_auto_load): Rewrite construction of scripts-directory
3626 * auto-load.h (struct objfile): Add forward decl.
3627 (struct script_language): Delete.
3628 (struct auto_load_pspace_info): Add forward decl.
3629 (struct extension_language_defn): Add forward decl.
3630 (maybe_add_script): Delete.
3631 (auto_load_objfile_script): Declare.
3632 (script_not_found_warning_print): Delete.
3633 (auto_load_info_scripts): Update prototype.
3634 (auto_load_gdb_scripts_enabled): Declare.
3635 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
3636 auto_load_python_scripts_enabled and made public.
3637 (script_language_python): Delete, moved to python.c.
3638 (gdbpy_script_language_defn): Delete.
3639 (info_auto_load_python_scripts): Update to use
3640 extension_language_python.
3642 * breakpoint.c (condition_command): Replace call to
3643 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
3644 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
3645 with call to breakpoint_ext_lang_cond_says_stop.
3646 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
3647 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
3648 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
3649 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
3651 (local_setattro): Print name of extension language with existing
3654 * valprint.c (val_print, value_print): Update to call
3655 apply_ext_lang_val_pretty_printer.
3656 * cp-valprint.c (cp_print_value): Update call to
3657 apply_ext_lang_val_pretty_printer.
3658 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
3659 (gdbpy_apply_val_pretty_printer): Renamed from
3660 apply_val_pretty_printer. New arg extlang.
3661 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
3663 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
3664 extension language API.
3665 * cli/cli-script.c (execute_control_command): Update to call
3666 eval_ext_lang_from_control_command.
3668 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
3669 enum ext_lang_bt_status values. Update call to
3670 apply_ext_lang_frame_filter.
3671 (mi_cmd_stack_list_locals): Ditto.
3672 (mi_cmd_stack_list_args): Ditto.
3673 (mi_cmd_stack_list_variables): Ditto.
3674 * mi/mi-main.c: Delete #include "python/python-internal.h".
3675 Add #include "extension.h".
3676 (mi_cmd_list_features): Replace reference to python internal variable
3677 gdb_python_initialized with call to ext_lang_initialized_p.
3679 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
3680 Update to use enum ext_lang_frame_args. Update to call
3681 apply_ext_lang_frame_filter.
3682 * python/py-framefilter.c (extract_sym): Update to use enum
3684 (extract_value, py_print_type, py_print_value): Ditto.
3685 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
3686 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
3687 (py_print_frame): Ditto.
3688 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
3689 New arg extlang. Update to use enum ext_lang_bt_status.
3691 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
3692 finish_python_initialization. Replace with call to
3693 finish_ext_lang_initialization.
3695 * typeprint.c (do_free_global_table): Update to call
3696 free_ext_lang_type_printers.
3697 (create_global_typedef_table): Update to call
3698 start_ext_lang_type_printers.
3699 (find_global_typedef): Update to call apply_ext_lang_type_printers.
3700 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
3701 (type_print_options): Change type of global_printers from "void *"
3702 to "struct ext_lang_type_printers *".
3704 * value.c (preserve_values): Update to call preserve_ext_lang_values.
3705 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
3706 (gdbpy_preserve_values): Renamed from preserve_python_values.
3708 (!HAVE_PYTHON, preserve_python_values): Delete.
3710 * utils.c (quit_flag): Delete, moved to extension.c.
3711 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
3714 * eval.c: Delete #include "python/python.h".
3715 * main.c: Delete #include "python/python.h".
3717 * defs.h: Update comment.
3719 2014-02-06 Joel Brobecker <brobecker@adacore.com>
3723 2014-02-05 Mark Kettenis <kettenis@gnu.org>
3725 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
3728 2014-02-05 Yao Qi <yao@codesourcery.com>
3730 * remote.c (remote_pass_signals): Remove local 'buf' and use
3732 (remote_program_signals): Likewise.
3734 2014-02-05 Yao Qi <yao@codesourcery.com>
3736 * ctf.c: Include "inferior.h" and "gdbthread.h".
3737 (CTF_PID): A new macro.
3738 (ctf_open): Call inferior_appeared and add_thread_silent.
3739 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
3740 (ctf_thread_alive): New function.
3741 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
3743 2014-02-05 Yao Qi <yao@codesourcery.com>
3747 2013-05-24 Yao Qi <yao@codesourcery.com>
3749 * tracepoint.c (TFILE_PID): Remove.
3750 (tfile_open): Don't add thread and inferior.
3751 (tfile_close): Don't set 'inferior_ptid'. Don't call
3752 exit_inferior_silent.
3753 (tfile_thread_alive): Remove.
3754 (init_tfile_ops): Don't set field 'to_thread_alive' of
3757 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
3759 * remote.c (remote_start_remote): Call remote_check_symbols even
3760 if only symbol-file (not file) has been given.
3762 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3764 * gdbarch.sh (skip_entrypoint): New callback.
3765 * gdbarch.c, gdbarch.h: Regenerate.
3766 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
3767 * infrun.c (fill_in_stop_func): Likewise.
3768 * ppc-linux-tdep.c: Include "elf/ppc64.h".
3769 (ppc_elfv2_elf_make_msymbol_special): New function.
3770 (ppc_elfv2_skip_entrypoint): Likewise.
3771 (ppc_linux_init_abi): Install them for ELFv2.
3773 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3775 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
3776 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
3777 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
3778 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
3779 structures returned in GPRs.
3781 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3783 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
3784 offset to the stack parameter list for the ELFv2 ABI.
3786 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3788 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
3789 set_gdbarch_convert_from_func_ptr_addr and
3790 set_gdbarch_elf_make_msymbol_special for ELFv1.
3791 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
3792 function descriptors on ELFv1.
3793 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
3794 set up r12 at function entry.
3796 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3798 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
3799 (struct gdbarch_tdep): New member elf_abi.
3801 * rs6000-tdep.c: Include "elf/ppc64.h".
3802 (rs6000_gdbarch_init): Detect ELF ABI version.
3804 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3806 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
3807 within a register pair holding a DFP 128-bit value on little-endian.
3808 (ppc64_sysv_abi_return_value_base): Likewise.
3809 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
3810 (dfp_pseudo_register_write): Likewise.
3812 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3814 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
3815 offset on little-endian when passing _Decimal32.
3816 (ppc64_sysv_abi_return_value_base): Likewise for return values.
3818 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3820 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
3821 of the overlapped FP register within the VSX register on little-
3823 (efpr_pseudo_register_write): Likewise.
3825 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3827 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
3828 offset on little-endian when passing small structures.
3830 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3832 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
3833 (struct ppc64_sysv_argpos): New data structure.
3834 (ppc64_sysv_abi_push_float): Remove.
3835 (ppc64_sysv_abi_push_val): New function.
3836 (ppc64_sysv_abi_push_integer): Likewise.
3837 (ppc64_sysv_abi_push_freg): Likewise.
3838 (ppc64_sysv_abi_push_vreg): Likewise.
3839 (ppc64_sysv_abi_push_param): Likewise.
3840 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
3841 (ppc64_sysv_abi_return_value_base): New function.
3842 (ppc64_sysv_abi_return_value): Refactor to use it.
3844 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
3846 * NEWS: Document new target powerpc64le-*-linux*.
3848 2014-02-04 Mark Kettenis <kettenis@gnu.org>
3850 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
3851 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
3853 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
3854 register set used in ELF core dumps. Add floating-point register set.
3856 2014-02-03 Kevin Buettner <kevinb@redhat.com>
3858 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
3859 dwarf2_to_gdb[] table using symbolic constants. Adjust
3860 penultimate entry from number representing the PC register
3861 to symbolic constant representing the MDR register. Add
3862 constant for the PC register to the end of the table.
3864 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3866 * bsd-kvm.c: Include <sys/param.h>
3868 2014-02-03 Mark Kettenis <kettenis@gnu.org>
3870 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
3872 2014-01-31 Joel Brobecker <brobecker@adacore.com>
3874 * ada-lang.h (clear_ada_sym_cache): Delete.
3876 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
3878 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
3880 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
3882 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
3883 the sigreturn register save area only if the syscall is
3886 2014-01-29 Joel Brobecker <brobecker@adacore.com>
3888 * valops.c (value_slice): Minor reformatting.
3890 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
3892 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
3894 2014-01-28 Joel Brobecker <brobecker@adacore.com>
3896 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
3898 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
3899 (ada_ignore_descriptive_types_p): New static global.
3900 (find_parallel_type_by_descriptive_type): Return immediately
3901 if ada_ignore_descriptive_types_p is set.
3902 (_initialize_ada_language): Register new commands "maintenance
3903 set ada", "maintenance show ada", "maintenance set ada
3904 ignore-descriptive-types" and "maintenance show ada
3905 ignore-descriptive-types".
3906 * NEWS: Add entry for new "maint ada set/show
3907 ignore-descriptive-types" commands.
3909 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
3911 * record-btrace.c (record_btrace_close): Call btrace_teardown
3914 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3916 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
3919 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3921 * ada-typeprint (type_is_full_subrange_of_target_type):
3923 (print_range): Add parameter bounds_prefered_p. If not set,
3924 try printing range types using the name of their base type.
3925 (print_range_type): Add parameter bounds_prefered_p.
3926 Use it in call to print_range.
3927 (print_array_type, ada_print_type): Update calls to print_range
3928 and print_range_type.
3930 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3932 * ada-typeprint.c (print_array_type, print_choices, print_range)
3933 (print_range_bound, print_dynamic_range_bound, print_range_type):
3936 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3938 * ada-typeprint.c (print_range): Add missing empty line
3939 after local declaration.
3941 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3943 * ada-valprint.c (print_optional_low_bound): Get index_type's
3944 target type for as long as it is a TYPE_CODE_RANGE.
3946 2014-01-27 Joel Brobecker <brobecker@adacore.com>
3948 * procfs.c (procfs_make_note_section): Remove assertion and
3951 2014-01-24 Yao Qi <yao@codesourcery.com>
3953 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
3954 * corelow.c (get_core_siginfo): Likewise.
3956 2014-01-24 Yao Qi <yao@codesourcery.com>
3958 * remote.c (remote_write_bytes_aux): Change type of 'len' to
3959 ULONGEST. Don't check 'len' is negative.
3960 (remote_write_bytes): Change type of 'len' to ULONGEST.
3962 2014-01-23 Tom Tromey <tromey@redhat.com>
3965 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
3966 Handle exception from frame.block.
3967 (FrameVars.fetch_frame_locals): Likewise.
3969 2014-01-23 Tom Tromey <tromey@redhat.com>
3972 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
3973 on a NULL pointer. Move "goto error" to correct place.
3975 2014-01-23 Tom Tromey <tromey@redhat.com>
3978 * python/py-framefilter.c (apply_frame_filter): Call
3979 ensure_python_env after computing gdbarch.
3981 2014-01-23 Yao Qi <yao@codesourcery.com>
3983 * target.c (raw_memory_xfer_partial): Change argument type
3984 from void * to gdb_byte *.
3985 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
3987 2014-01-22 Doug Evans <dje@google.com>
3989 New gdbserver option --debug-format=timestamp.
3992 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
3994 * syscalls/s390x-linux.xml: New file.
3995 * syscalls/s390-linux.xml: New file.
3996 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
3997 (XML_SYSCALL_FILENAME_S390X): Likewise.
3998 (op_svc): New enum value for SVC opcode.
3999 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
4000 (s390_linux_get_syscall_number): New function.
4001 (s390_gdbarch_init): Register '*get_syscall_number' and the
4002 syscall xml file name.
4003 * data-directory/Makefile.in (SYSCALLS_FILES): Add
4004 "s390-linux.xml" and "s390x-linux.xml".
4005 * NEWS: Announce new feature.
4007 2014-01-22 Baruch Siach <baruch@tkos.co.il>
4009 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
4011 2014-01-22 Pedro Alves <palves@redhat.com>
4013 * xtensa-config.c: Include defs.h.
4015 2014-01-22 Joel Brobecker <brobecker@adacore.com>
4017 * common/common-utils.h: Add "ARI:" comment beside __func__
4020 2014-01-22 Joel Brobecker <brobecker@adacore.com>
4022 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
4023 documentation a bit.
4025 2014-01-21 Roland McGrath <mcgrathr@google.com>
4027 * configure.ac: Call AM_PROG_INSTALL_STRIP.
4028 * configure: Regenerate.
4029 * aclocal.m4: Regenerate.
4030 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
4031 New substituted variables.
4032 (install-strip): New target.
4033 (INSTALL_SCRIPT): New substituted variable.
4034 (FLAGS_TO_PASS): Add it.
4035 (install-only): Use $(INSTALL_SCRIPT) rather than
4036 $(INSTALL_PROGRAM) for gcore.
4038 2014-01-20 Tom Tromey <tromey@redhat.com>
4040 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
4043 2014-01-20 Tom Tromey <tromey@redhat.com>
4045 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
4046 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
4047 (deprecated_cmd_warning, complete_on_cmdlist): Update.
4048 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
4049 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
4050 (struct cmd_list_element) <flags>: Remove.
4051 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
4052 doc_allocated>: New fields.
4053 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
4055 * maint.c (maintenance_do_deprecate): Update.
4056 * top.c (execute_command): Update.
4058 2014-01-20 Baruch Siach <baruch@tkos.co.il>
4060 * xtensa-linux-nat.c: Include asm/ptrace.h.
4062 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4064 * Makefile.in (SFILES): Add d-support.c.
4065 (COMMON_OBS): Add d-support.o.
4066 * d-lang.h (d_parse_symbol): Add comment, now defined in
4068 * d-lang.c (parse_call_convention)
4069 (parse_attributes, parse_function_types)
4070 (parse_function_args, parse_type, parse_identifier)
4071 (call_convention_p, d_parse_symbol): Move functions to ...
4072 * d-support.c: ... New file.
4074 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4076 * d-lang.h (d_parse_symbol): Add declaration.
4077 * d-lang.c (extract_identifiers)
4078 (extract_type_info): Remove functions.
4079 (parse_call_convention, parse_attributes)
4080 (parse_function_types, parse_function_args)
4081 (parse_type, parse_identifier, call_convention_p)
4082 (d_parse_symbol): New functions.
4083 (d_demangle): Use d_parse_symbol to demangle D symbols.
4085 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4087 * d-lang.h (struct builtin_d_type): New data type.
4088 (builtin_d_type): Add declaration.
4089 * d-lang.c (d_language_arch_info, build_d_types)
4090 (builtin_d_type): New functions.
4091 (enum d_primitive_types): New data type.
4092 (d_language_defn): Change c_language_arch_info to
4093 d_language_arch_info.
4094 (d_type_data): New static variable.
4095 (_initialize_d_language): Initialize d_type_data.
4097 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4099 * d-lang.h (d_main_name): Add declaration.
4100 * d-lang.c (d_main_name): New function.
4101 * symtab.c (find_main_name): Add call to d_main_name.
4103 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4105 * d-lang.c (d_language_defn): Change macro_expansion_c to
4108 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4110 * MAINTAINERS: Add myself as a write-after-approval maintainer.
4112 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
4114 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
4115 gdb_exception" declaration.
4116 * remote.c (getpkt_or_notif_sane): Likewise.
4118 2014-01-17 Doug Evans <dje@google.com>
4120 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
4121 function, contents of dirnames_to_char_ptr_vec_append moved here.
4122 (delim_string_to_char_ptr_vec): New function.
4123 (dirnames_to_char_ptr_vec_append): Rewrite.
4124 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
4126 2014-01-17 Doug Evans <dje@google.com>
4128 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
4130 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
4131 #include "common-utils.h".
4132 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
4133 * common/vec.h (VEC_ASSERT_PASS): Update.
4134 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
4135 (MACH_CHECK_ERROR): Update.
4137 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
4139 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
4141 * gdbarch.h: Regenerate.
4143 2014-01-16 Tom Tromey <tromey@redhat.com>
4145 * value.c (struct value) <regnum>: Move earlier.
4147 2014-01-16 Tom Tromey <tromey@redhat.com>
4149 * remote.c (extended_remote_create_inferior): Rename from
4150 extended_remote_create_inferior_1. Add "ops" argument. Remove
4153 2014-01-16 Pedro Alves <palves@redhat.com>
4155 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
4156 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
4159 2014-01-16 Doug Evans <dje@google.com>
4161 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
4163 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4165 * btrace.h (btrace_thread_flag): New.
4166 (struct btrace_thread_info) <flags>: New.
4167 * record-btrace.c (record_btrace_resume_thread)
4168 (record_btrace_find_thread_to_move, btrace_step_no_history)
4169 (btrace_step_stopped, record_btrace_start_replaying)
4170 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
4171 (record_btrace_find_resume_thread): New.
4172 (record_btrace_resume, record_btrace_wait): Extend.
4173 (record_btrace_can_execute_reverse): New.
4174 (record_btrace_open): Fail in non-stop mode.
4175 (record_btrace_set_replay): Split into this, ...
4176 (record_btrace_stop_replaying): ... this, ...
4177 (record_btrace_clear_histories): ... and this.
4178 (init_record_btrace_ops): Init to_can_execute_reverse.
4179 * NEWS: Announce it.
4181 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4183 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
4184 (forward_target_decr_pc_after_break)
4185 (target_decr_pc_after_break): New.
4186 * target.c (forward_target_decr_pc_after_break)
4187 (target_decr_pc_after_break): New.
4188 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
4189 instead of gdbarch_decr_pc_after_break.
4190 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
4191 instead of gdbarch_decr_pc_after_break.
4192 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
4193 instead of gdbarch_decr_pc_after_break.
4194 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
4195 instead of gdbarch_decr_pc_after_break.
4196 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
4197 instead of gdbarch_decr_pc_after_break.
4198 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
4199 instead of gdbarch_decr_pc_after_break.
4201 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4203 * btrace.c: Include regcache.h.
4204 (btrace_add_pc): New.
4205 (btrace_enable): Call btrace_add_pc.
4206 (btrace_is_empty): New.
4207 * btrace.h (btrace_is_empty): New.
4208 * record-btrace.c (require_btrace, record_btrace_info): Call
4211 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4213 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
4214 Support delta reads.
4215 (linux_disable_btrace): Change return type.
4216 * common/linux-btrace.h (linux_read_btrace): Change parameters
4217 and return type to allow error reporting. Update users.
4218 (linux_disable_btrace): Change return type. Update users.
4219 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
4221 (btrace_error): New.
4222 (btrace_block) <begin>: Comment on BEGIN == 0.
4223 * btrace.c (btrace_compute_ftrace): Start from the end of
4225 (btrace_stitch_trace, btrace_clear_history): New.
4226 (btrace_fetch): Read delta trace, return if replaying.
4227 (btrace_clear): Move clear history code to btrace_clear_history.
4228 (parse_xml_btrace): Throw an error if parsing failed.
4229 * target.h (struct target_ops) <to_read_btrace>: Change parameters
4230 and return type to allow error reporting.
4231 (target_read_btrace): Change parameters and return type to allow
4233 * target.c (target_read_btrace): Update.
4234 * remote.c (remote_read_btrace): Support delta reads. Pass
4236 * NEWS: Announce it.
4238 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4240 * record.h (record_btrace_frame_unwind)
4241 (record_btrace_tailcall_frame_unwind): New declarations.
4242 * dwarf2-frame: Include record.h
4243 (dwarf2_frame_cfa): Throw an error for btrace frames.
4244 * record-btrace.c: Include hashtab.h.
4245 (btrace_get_bfun_name): New.
4246 (btrace_call_history): Call btrace_get_bfun_name.
4247 (struct btrace_frame_cache): New.
4249 (bfcache_hash, bfcache_eq, bfcache_new): New.
4250 (btrace_get_frame_function): New.
4251 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
4252 (record_btrace_frame_this_id): Compute own id.
4253 (record_btrace_frame_prev_register): Provide PC, throw_error
4254 for all other registers.
4255 (record_btrace_frame_sniffer): Detect btrace frames.
4256 (record_btrace_tailcall_frame_sniffer): New.
4257 (record_btrace_frame_dealloc_cache): New.
4258 (record_btrace_frame_unwind): Add new functions.
4259 (record_btrace_tailcall_frame_unwind): New.
4260 (_initialize_record_btrace): Allocate cache.
4261 * btrace.c (btrace_clear): Call reinit_frame_cache.
4262 * NEWS: Announce it.
4264 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4266 * record-btrace.c (record_btrace_set_replay)
4267 (record_btrace_goto_begin, record_btrace_goto_end)
4268 (record_btrace_goto): New.
4269 (init_record_btrace_ops): Initialize them.
4270 * NEWS: Announce it.
4272 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4274 * record-btrace.c (record_btrace_find_new_threads)
4275 (record_btrace_thread_alive): New.
4276 (init_record_btrace_ops): Initialize to_find_new_threads and
4279 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4281 * record-btrace.c (record_btrace_resume): New.
4282 (record_btrace_wait): New.
4283 (init_record_btrace_ops): Initialize to_wait and to_resume.
4285 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4287 * record-btrace.c (record_btrace_xfer_partial)
4288 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
4289 (record_btrace_allow_memory_access): New.
4290 (init_record_btrace_ops): Initialize new methods.
4291 * target.c (raw_memory_xfer_partial): Bail out if target reports
4292 that this memory is not available.
4294 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4296 * target.h (target_ops) <to_insert_breakpoint>
4297 <to_remove_breakpoint>: Add target_ops parameter.
4298 (forward_target_insert_breakpoint): New.
4299 (forward_target_remove_breakpoint): New.
4300 (memory_remove_breakpoint, memory_insert_breakpoint):
4301 Add target_ops parameter.
4302 * target.c (target_insert_breakpoint): Split into this and ...
4303 (forward_target_insert_breakpoint): ... this.
4304 (target_remove_breakpoint): Split into this and ...
4305 (forward_target_remove_breakpoint): ... this.
4306 (debug_to_insert_breakpoint): Add target_ops parameter.
4307 Call forward_target_insert_breakpoint.
4308 (debug_to_remove_breakpoint): Add target_ops parameter.
4309 Call forward_target_remove_breakpoint.
4310 (update_current_target): Do not inherit or default to_insert_breakpoint
4311 and to_remove_breakpoint.
4312 * corelow.c (ignore): Add target_ops parameter.
4313 * exec.c (ignore): Add target_ops parameter.
4314 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
4315 Add target_ops parameter.
4316 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
4317 Add target_ops parameter.
4318 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
4319 Add target_ops parameter.
4320 * record-full.c (record_full_beneath_to_insert_breakpoint)
4321 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
4322 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
4323 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
4324 (record_full_core_remove_breakpoint): Add target_ops parameter.
4326 (record_full_beneath_to_insert_breakpoint_ops)
4327 (record_full_beneath_to_remove_breakpoint_ops)
4328 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
4329 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
4330 tmp_to_remove_breakpoint_ops,
4331 record_full_beneath_to_insert_breakpoint_ops, and
4332 record_full_beneath_to_remove_breakpoint_ops.
4333 * remote-m32r-sdi.c (m32r_insert_breakpoint)
4334 (m32r_remove_breakpoint): Add target_ops parameter.
4335 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
4336 Add target_ops parameter.
4337 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
4338 Add target_ops parameter.
4340 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4341 Markus Metzger <markus.t.metzger@intel.com>
4343 * record-btrace.c: Include frame-unwind.h.
4344 (record_btrace_frame_unwind_stop_reason)
4345 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
4346 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
4348 (init_record_btrace_ops): Install it.
4350 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4352 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
4355 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4357 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
4360 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4362 * frame-unwind.c: Include target.h.
4363 (frame_unwind_try_unwinder): New function with code from ...
4364 (frame_unwind_find_by_frame): ... here. New variable
4365 unwinder_from_target, call also target_get_unwinder)
4366 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
4367 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
4368 * target.h (struct target_ops): New fields to_get_unwinder and
4369 to_get_tailcall_unwinder.
4370 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
4372 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4374 * record-btrace.c (record_btrace_fetch_registers)
4375 (record_btrace_store_registers)
4376 (record_btrace_to_prepare_to_store): New.
4377 (init_record_btrace_ops): Add the above.
4379 2014-01-16 Tom Tromey <tromey@redhat.com>
4381 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
4382 * target.h (struct target_ops) <to_prepare_to_store>: Add
4384 (target_prepare_to_store): Add argument.
4385 * target.c (debug_to_prepare_to_store): Add argument.
4386 (update_current_target): Update.
4387 * remote.c (remote_prepare_to_store): Add 'self' argument.
4388 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
4389 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
4390 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
4391 * record-full.c (record_full_core_prepare_to_store): Add 'self'
4393 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
4394 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
4395 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
4396 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
4397 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
4399 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4401 * btrace.h (replay) <replay>: New.
4402 (btrace_is_replaying): New.
4403 * btrace.c (btrace_clear): Free replay iterator.
4404 (btrace_is_replaying): New.
4405 * record-btrace.c (record_btrace_is_replaying): New.
4406 (record_btrace_info): Print insn number if replaying.
4407 (record_btrace_insn_history): Start at replay position.
4408 (record_btrace_call_history): Start at replay position.
4409 (init_record_btrace_ops): Init to_record_is_replaying.
4411 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4413 * record-btrace.c (record_btrace_insn_history_range): Include
4415 (record_btrace_insn_history_from): Adjust range.
4416 (record_btrace_call_history_range): Include
4418 (record_btrace_call_history_from): Adjust range.
4419 * NEWS: Announce changes.
4421 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4423 * record.h (enum record_print_flag)
4424 <record_print_indent_calls>: New.
4425 * record.c (get_call_history_modifiers): Recognize /c modifier.
4426 (_initialize_record): Document /c modifier.
4427 * record-btrace.c (btrace_call_history): Add btinfo parameter.
4428 Reorder fields. Optionally indent the function name. Update
4430 * NEWS: Announce changes.
4432 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4434 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
4436 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4438 * btrace.c (ftrace_new_function): Start counting at one.
4439 * record-btrace.c (record_btrace_info): Adjust number of calls
4441 * NEWS: Announce it.
4443 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4445 * record-btrace.c (btrace_call_history_insn_range): Print
4446 insn range as [begin, end].
4448 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4450 * btrace.h (struct btrace_func_link): New.
4451 (enum btrace_function_flag): New.
4452 (struct btrace_inst): Rename to ...
4453 (struct btrace_insn): ...this. Update all users.
4454 (struct btrace_func) <ibegin, iend>: Remove.
4455 (struct btrace_func_link): New.
4456 (struct btrace_func): Rename to ...
4457 (struct btrace_function): ...this. Update all users.
4458 (struct btrace_function) <segment, flow, up, insn, insn_offset)
4459 (number, level, flags>: New.
4460 (struct btrace_insn_iterator): Rename to ...
4461 (struct btrace_insn_history): ...this.
4463 (struct btrace_insn_iterator, btrace_call_iterator): New.
4464 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
4465 (struct btrace_target_info) <begin, end, level>
4466 <insn_history, call_history>: New.
4467 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4468 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4469 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4470 (btrace_call_number, btrace_call_begin, btrace_call_end)
4471 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4472 (btrace_find_function_by_number, btrace_set_insn_history)
4473 (btrace_set_call_history): New.
4474 * btrace.c (btrace_init_insn_iterator)
4475 (btrace_init_func_iterator, compute_itrace): Remove.
4476 (ftrace_print_function_name, ftrace_print_filename)
4477 (ftrace_skip_file): Change
4479 (ftrace_init_func): Remove.
4480 (ftrace_debug): Use new btrace_function fields.
4481 (ftrace_function_switched): Also consider gaining and
4482 losing symbol information).
4483 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
4484 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
4485 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
4487 (ftrace_new_function): Move. Remove debug print.
4488 (ftrace_update_lines, ftrace_update_insns): New.
4489 (ftrace_update_function): Check for call, ret, and jump.
4490 (compute_ftrace): Renamed to ...
4491 (btrace_compute_ftrace): ...this. Rewritten to compute call
4493 (btrace_fetch, btrace_clear): Updated.
4494 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4495 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4496 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4497 (btrace_call_number, btrace_call_begin, btrace_call_end)
4498 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4499 (btrace_find_function_by_number, btrace_set_insn_history)
4500 (btrace_set_call_history): New.
4501 * record-btrace.c (require_btrace): Use new btrace thread
4503 (record_btrace_info, btrace_insn_history)
4504 (record_btrace_insn_history, record_btrace_insn_history_range):
4505 Use new btrace thread info fields and new iterator.
4506 (btrace_func_history_src_line): Rename to ...
4507 (btrace_call_history_src_line): ...this. Use new btrace
4509 (btrace_func_history): Rename to ...
4510 (btrace_call_history): ...this. Use new btrace thread info
4511 fields and new iterator.
4512 (record_btrace_call_history, record_btrace_call_history_range):
4513 Use new btrace thread info fields and new iterator.
4515 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4517 * frame.h (frame_id_build_unavailable_stack_special): New.
4518 * frame.c (frame_id_build_unavailable_stack_special): New.
4520 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4522 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
4523 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
4524 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
4526 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
4527 (i386_insn_is_jump, i386_jmp_p): New.
4528 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
4529 insn_is_jump to gdbarch.
4530 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
4531 * gdbarch.h: Regenerated.
4532 * gdbarch.c: Regenerated.
4533 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
4534 (default_insn_is_jump): New.
4535 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
4536 (default_insn_is_jump): New.
4538 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4540 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
4542 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
4543 (btrace_read_type) <btrace_read_new>: Change to ...
4544 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
4546 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4548 * common/linux-btrace.c (linux_read_btrace): Free trace from
4551 2014-01-15 Doug Evans <dje@google.com>
4553 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
4556 2014-01-15 Tom Tromey <tromey@redhat.com>
4558 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
4559 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
4560 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
4561 (set_objfile_main_name): New function.
4562 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
4563 language_of_main>: New fields.
4564 (set_objfile_main_name): Declare.
4565 * symtab.c (find_main_name): Loop over objfiles to find the main
4567 (set_main_name): Now static.
4568 (get_main_info): Add comment.
4569 * symtab.h (set_main_name): Don't declare.
4571 2014-01-15 Tom Tromey <tromey@redhat.com>
4573 * symtab.c (main_progspace_key): New global.
4574 (struct main_info): New.
4575 (name_of_main, language_of_main): Remove.
4576 (get_main_info, main_info_cleanup): New function.
4577 (set_main_name, main_name, main_language): Use get_main_info.
4578 (_initialize_symtab): Initialize main_progspace_key.
4580 2014-01-15 Tom Tromey <tromey@redhat.com>
4582 * dbxread.c (process_one_symbol): Update.
4583 * dwarf2read.c (read_partial_die): Update.
4584 * symfile.c (set_initial_language): Call main_language.
4585 * symtab.c (language_of_main): Now static.
4586 (set_main_name): Add 'lang' parameter.
4587 (find_main_name): Update.
4588 (main_language): New function.
4589 (symtab_observer_executable_changed): Update.
4590 * symtab.h (set_main_name): Update.
4591 (language_of_main): Remove.
4592 (main_language): Declare.
4594 2014-01-15 Tom Tromey <tromey@redhat.com>
4596 * symfile.c (init_entry_point_info): Use new "initialized" field.
4598 * objfiles.h (struct entry_point) <initialized>: New field.
4599 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
4600 (struct objfile) <ei>: ...here. Remove.
4601 * objfiles.c (entry_point_address_query): Update.
4603 2014-01-15 Tom Tromey <tromey@redhat.com>
4605 * objfiles.c (entry_point_address_query): Relocate entry point
4607 (objfile_relocate1): Do not relocate entry point address.
4608 * objfiles.h (struct entry_info) <entry_point>: Update comment.
4609 <the_bfd_section_index>: New field.
4610 * symfile.c (init_entry_point_info): Find the entry point's
4613 2014-01-15 Tom Tromey <tromey@redhat.com>
4615 * solib-frv.c (enable_break): Use entry_point_address_query.
4617 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4619 * NEWS: Add note on improved process record-replay on
4620 arm*-linux* targets.
4622 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4624 * arm-tdep.c (enum arm_record_result): New enum.
4625 (arm_record_unsupported_insn): New function.
4626 (arm_record_coproc_data_proc): Removed.
4627 (thumb2_record_ld_st_multiple): New function.
4628 (thumb2_record_ld_st_dual_ex_tbb): New function.
4629 (thumb2_record_data_proc_sreg_mimm): New function.
4630 (thumb2_record_ps_dest_generic): New function.
4631 (thumb2_record_branch_misc_cntrl): New function.
4632 (thumb2_record_str_single_data): New function.
4633 (thumb2_record_ld_mem_hints): New function.
4634 (thumb2_record_ld_word): New function.
4635 (thumb2_record_lmul_lmla_div): New function.
4636 (thumb2_record_decode_insn_handler): New function.
4637 (decode_insn): Add thumb32 instruction handlers.
4639 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4641 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
4642 (struct arm_linux_record_tdep): Declare.
4643 (arm_canonicalize_syscall): New function.
4644 (arm_all_but_pc_registers_record): New function.
4645 (arm_linux_syscall_record): New function.
4646 (arm_linux_init_abi): Add syscall recording constructs.
4647 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
4648 decoding. (arm_record_coproc_data_proc): Update arm syscall
4650 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
4651 <arm_syscall_record>: New field.
4652 * configure.tgt (arm*-*-linux*): Add linux-record.o to
4655 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4657 * arm-tdep.c (thumb_record_misc): Update to use sp as base
4658 register for push instruction recording.
4660 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4662 * arm-tdep.c (thumb_record_misc): Update to correct logical
4663 error while recording ldm, ldmia and pop instructions.
4665 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
4667 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
4669 2014-01-15 Pedro Alves <palves@redhat.com>
4671 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
4672 (go32_resume, go32_fetch_registers, store_register)
4673 (go32_store_registers, go32_prepare_to_store)
4674 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
4675 (go32_create_inferior, go32_can_run, go32_terminal_init)
4676 (go32_terminal_inferior, go32_terminal_ours): Delete forward
4679 2014-01-15 Tom Tromey <tromey@redhat.com>
4681 * target.h (async_callback_ftype): New typedef.
4682 (struct target_ops) <to_async>: Use it.
4684 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4686 * python/py-value.c (get_field_type): Remove unnecessary curly
4687 braces for single-statement if block.
4689 2014-01-15 Joel Brobecker <brobecker@adacore.com>
4691 * python/py-type.c (convert_field): Add missing empty line
4694 2014-01-14 Doug Evans <dje@google.com>
4696 * symfile.h (expand_symtabs_matching): Renamed from
4697 expand_partial_symbol_names. Update prototype.
4698 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4699 * symfile.c (expand_symtabs_matching): Renamed from
4700 expand_partial_symbol_names. New args file_matcher, kind.
4701 Rename arg fun to symbol_matcher.
4702 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
4703 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
4704 ada_expand_partial_symbol_name.
4705 (ada_make_symbol_completion_list): Update to call
4706 expand_symtabs_matching.
4707 (ada_add_global_exceptions): Call expand_symtabs_matching.
4708 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
4709 call map_symbol_filenames.
4710 * symtab.c (sources_info): Update to call map_symbol_filenames.
4711 (search_symbols): Call expand_symtabs_matching.
4712 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
4713 (default_make_symbol_completion_list_break_on): Update to call
4714 expand_symtabs_matching.
4715 (make_source_files_completion_list): Update to call
4716 map_symbol_filenames.
4718 2014-01-14 Doug Evans <dje@google.com>
4720 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
4721 (expand_symtabs_symbol_matcher_ftype): New typedef.
4722 (quick_symbol_functions.expand_symtabs_matching): Update to use.
4723 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4724 * symfile.c (expand_partial_symbol_names): Update to use
4725 expand_symtabs_symbol_matcher_ftype.
4726 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
4727 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4728 Arg name_matcher renamed to symbol_matcher.
4729 * psymtab.c (recursively_search_psymtabs): Update to use
4730 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
4732 (expand_symtabs_matching_via_partial): Update to use
4733 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
4734 Arg name_matcher renamed to symbol_matcher.
4736 2014-01-14 Doug Evans <dje@google.com>
4738 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
4739 (map_partial_symbol_filenames): Ditto.
4740 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
4741 (map_partial_symbol_filenames): Ditto.
4742 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
4743 (map_partial_symbol_filenames): Ditto.
4744 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
4745 (map_partial_symbol_filenames): Ditto.
4746 * symtab.c: Delete #include "psymtab.h".
4748 2014-01-14 Pedro Alves <palves@redhat.com>
4749 Tom Tromey <tromey@redhat.com>
4751 * infrun.c (use_displaced_stepping): Use find_record_target
4752 instead of RECORD_IS_USED.
4753 (adjust_pc_after_break): Use record_full_is_used instead of
4755 * record-btrace.c (record_btrace_open): Call record_preopen
4756 instead of checking RECORD_IS_USED.
4757 * record-full.c (record_full_shortname)
4758 (record_full_core_shortname): New globals.
4759 (record_full_is_used): New function.
4760 (find_full_open): Call record_preopen instead of checking
4762 (init_record_full_ops): Set the target's shortname to
4763 record_full_shortname.
4764 (init_record_full_core_ops): Set the target's shortname to
4765 record_full_core_shortname.
4766 * record-full.h (record_full_is_used): Declare.
4767 * record.c (find_record_target): Make extern.
4768 (record_preopen): New function.
4769 * record.h (RECORD_IS_USED): Delete macro.
4770 (find_record_target, record_preopen): Declare functions.
4772 2014-01-14 Yao Qi <yao@codesourcery.com>
4774 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
4775 'len''s type to ULONGEST.
4776 (core_xfer_shared_libraries_aix): Likewise.
4777 * gdbarch.c, gdbarch.h: Regenerated.
4778 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
4779 Change type of 'len' to ULONGEST.
4780 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4781 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
4783 2014-01-14 Yao Qi <yao@codesourcery.com>
4785 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
4786 type of 'len' to ULONGEST.
4787 (linux_xfer_osdata_processgroups): Likewise.
4788 (linux_xfer_osdata_threads): Likewise.
4789 (linux_xfer_osdata_fds): Likewise.
4790 (linux_xfer_osdata_isockets): Likewise.
4791 (linux_xfer_osdata_shm): Likewise.
4792 (linux_xfer_osdata_sem): Likewise.
4793 (linux_xfer_osdata_msg): Likewise.
4794 (linux_common_xfer_osdata): Likewise.
4795 (struct osdata_type) <getter>: Likewise.
4796 * common/linux-osdata.h (linux_common_xfer_osdata): Update
4799 2014-01-14 Yao Qi <yao@codesourcery.com>
4801 * target.h (target_xfer_partial_ftype): Update.
4802 (struct target_ops) <to_xfer_partial>: Change 'len' type to
4804 * aix-thread.c (aix_thread_xfer_partial): Change type of
4805 argument 'len' to ULONGEST.
4806 * auxv.c (procfs_xfer_auxv): Likewise.
4807 (ld_so_xfer_auxv): Likewise.
4808 (memory_xfer_auxv): Likewise.
4809 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4810 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4811 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4812 * corelow.c (core_xfer_partial): Likewise.
4813 * ctf.c (ctf_xfer_partial): Likewise.
4814 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
4816 (darwin_read_dyld_info): Likewise.
4817 (darwin_xfer_partial): Likewise.
4818 * exec.c (section_table_xfer_memory_partial): Likewise.
4819 (exec_xfer_partial): Likewise.
4820 * exec.h (section_table_xfer_memory_partial): Update
4822 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
4823 instead of plongest.
4824 (gnu_xfer_partial): Likewise.
4825 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
4826 (ia64_hpux_xfer_solib_got): Likewise.
4827 (ia64_hpux_xfer_partial): Likewise.
4828 * ia64-linux-nat.c (ia64_linux_xfer_partial):
4829 * inf-ptrace.c (inf_ptrace_xfer_partial):
4830 * inf-ttrace.c (inf_ttrace_xfer_partial):
4831 * linux-nat.c (linux_xfer_siginfo): Likewise.
4832 (linux_nat_xfer_partial): Likewise.
4833 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
4834 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
4835 * monitor.c (monitor_xfer_memory): Likewise.
4836 (monitor_xfer_partial): Likewise.
4837 * procfs.c (procfs_xfer_partial): Likewise.
4838 * record-full.c (record_full_xfer_partial): Likewise.
4839 (record_full_core_xfer_partial): Likewise.
4840 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
4841 instead of plongest.
4842 (gdbsim_xfer_partial): Likewise.
4843 * remote.c (remote_xfer_partial): Likewise.
4844 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
4845 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
4847 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4848 (rs6000_xfer_shared_libraries): Likewise.
4849 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4850 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4851 (sparc_xfer_partial): Likewise.
4852 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4853 (spu_xfer_partial): Likewise.
4854 * spu-multiarch.c (spu_xfer_partial): Likewise.
4855 * target.c (target_read_live_memory): Likewise.
4856 (memory_xfer_live_readonly_partial): Likewise.
4857 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
4858 (target_xfer_partial, default_xfer_partial): Likewise.
4859 (current_xfer_partial): Likewise.
4860 * tracepoint.c (tfile_xfer_partial): Likewise.
4861 * windows-nat.c (windows_xfer_memory): Likewise. Call
4862 pulongest instead of plongest.
4863 (windows_xfer_partial): Likewise.
4864 (windows_xfer_shared_libraries): Likewise.
4866 2014-01-14 Yao Qi <yao@codesourcery.com>
4868 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
4869 target_xfer_partial_ftype.
4871 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4875 * valops.c (value_struct_elt_bitpos): New function
4876 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
4877 object to 'None' if the field name is an empty string ("").
4878 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
4879 attribute to look for a field when 'name' is 'None'.
4880 (get_field_type): New function
4882 2014-01-13 Doug Evans <dje@google.com>
4885 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
4886 (try_open_dwop_file): Ditto.
4887 * gdb_bfd.c: #include "vec.h".
4888 (bfdp): New typedef.
4889 (struct gdb_bfd_data): New member included_bfds.
4890 (gdb_bfd_unref): Unref all included bfds.
4891 (gdb_bfd_record_inclusion): New function.
4892 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
4894 2014-01-13 Tom Tromey <tromey@redhat.com>
4896 * gdbcore.h (deprecated_core_resize_section_table): Remove.
4898 2014-01-13 Tom Tromey <tromey@redhat.com>
4900 * defs.h (use_windows): Remove.
4901 * gdb.c (main): Update.
4902 * main.c (captured_main, gdb_main): Update.
4903 * main.h (struct captured_main_args) <use_windows>: Remove.
4904 * top.c (use_windows): Remove.
4906 2014-01-13 Tom Tromey <tromey@redhat.com>
4908 * defs.h (deprecated_flush_hook): Remove.
4910 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4913 * linux-thread-db.c (try_thread_db_load): Add parameter
4914 check_auto_load_safe. Move here the file_is_auto_load_safe call.
4915 (try_thread_db_load_from_pdir_1): Move it there from here.
4916 (try_thread_db_load_from_sdir): Update caller.
4917 (try_thread_db_load_from_dir): Move it there from here.
4919 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
4921 * regformats/regdat.sh: Always rewrite the register file.
4923 2014-01-13 Pedro Alves <palves@redhat.com>
4925 * Makefile.in (CHECK_HEADERS): New variable.
4926 (check-headers:): New rule.
4928 2014-01-13 Tom Tromey <tromey@redhat.com>
4930 * cli/cli-setshow.c (do_set_command): Update.
4931 * defs.h (deprecated_set_hook): Remove.
4932 * top.c (deprecated_set_hook): Remove.
4934 2014-01-13 Pedro Alves <palves@redhat.com>
4936 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
4937 the tracepoint if the PC is a pseudo-register.
4939 2014-01-13 Tom Tromey <tromey@redhat.com>
4941 * defs.h (XCALLOC): Remove.
4942 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
4943 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
4944 * dwarf2loc.c (allocate_piece_closure): Likewise.
4945 * elfread.c (elf_symfile_segments): Likewise.
4946 (elf_symfile_segments): Likewise.
4947 * gdbtypes.c (copy_type_recursive): Likewise.
4948 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
4949 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
4950 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
4952 * mt-tdep.c (mt_gdbarch_init): Likewise.
4953 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
4955 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
4956 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
4957 * registry.c (registry_alloc_data): Likewise.
4958 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
4959 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
4960 * serial.c (serial_fdopen_ops): Likewise.
4961 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
4963 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
4964 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
4967 2014-01-13 Tom Tromey <tromey@redhat.com>
4969 * defs.h (XMALLOC): Remove.
4970 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
4971 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
4972 * cli-out.c (struct ui_out *): Likewise.
4973 * cli/cli-dump.c (add_dump_command): Likewise.
4974 (add_dump_command): Likewise.
4975 * complaints.c (get_complaints): Likewise.
4976 (find_complaint): Likewise.
4977 * dwarf2-frame.c (execute_cfa_program): Likewise.
4978 * dwarf2read.c (abbrev_table_read_table): Likewise.
4979 * gdbarch.sh: Likewise.
4980 * gdbarch.c: Rebuild.
4981 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
4982 * interps.c (interp_new): Likewise.
4983 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
4984 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
4985 * mi/mi-console.c (mi_console_file_new): Likewise.
4986 * mi/mi-interp.c (mi_interpreter_init): Likewise.
4987 * mi/mi-out.c (mi_out_new): Likewise.
4988 * mi/mi-parse.c (mi_parse): Likewise.
4989 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
4990 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
4991 * observer.c (xalloc_observer_list_node): Likewise.
4992 * regcache.c (regcache_xmalloc_1): Likewise.
4993 * reggroups.c (reggroup_new): Likewise.
4994 (_initialize_reggroup): Likewise.
4995 * registry.c (register_data_with_cleanup): Likewise.
4996 * remote.c (remote_notif_stop_alloc_reply): Likewise.
4997 * ser-base.c (serial_ttystate): Likewise.
4998 * ser-mingw.c (make_pipe_state): Likewise.
4999 * ser-pipe.c (pipe_open): Likewise.
5000 * serial.c (serial_open): Likewise.
5001 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
5002 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
5003 (tui_alloc_win_info): Likewise.
5004 (tui_add_content_elements): Likewise.
5005 * tui/tui-file.c (tui_file_new): Likewise.
5006 * tui/tui-out.c (tui_out_new): Likewise.
5007 * ui-file.c (mem_file_new): Likewise.
5008 * ui-out.c (push_level): Likewise.
5009 (make_cleanup_ui_out_end): Likewise.
5010 (append_header_to_list): Likewise.
5011 (ui_out_new): Likewise.
5012 * user-regs.c (user_reg_add_builtin): Likewise.
5014 2014-01-13 Tom Tromey <tromey@redhat.com>
5016 * defs.h (XZALLOC): Remove.
5017 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
5018 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
5019 (get_ada_tasks_inferior_data): Likewise.
5020 * auto-load.c (get_auto_load_pspace_data): Likewise.
5021 * auxv.c (get_auxv_inferior_data): Likewise.
5022 * bfd-target.c (target_bfd_reopen): Likewise.
5023 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
5024 (deprecated_insert_raw_breakpoint): Likewise.
5025 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
5026 * corelow.c (core_open): Likewise.
5027 * darwin-nat.c (darwin_check_new_threads): Likewise.
5028 (darwin_attach_pid): Likewise.
5029 * dummy-frame.c (dummy_frame_push): Likewise.
5030 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
5031 * dwarf2loc.c (allocate_piece_closure): Likewise.
5032 * elfread.c (elf_symfile_segments): Likewise.
5033 * eval.c (ptrmath_type_p): Likewise.
5034 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
5035 * gdbtypes.c (alloc_type_arch): Likewise.
5036 (alloc_type_instance): Likewise.
5037 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
5038 * inf-child.c (inf_child_can_use_agent): Likewise.
5039 * inflow.c (get_inflow_inferior_data): Likewise.
5040 * infrun.c (save_infcall_suspend_state): Likewise.
5041 * jit.c (jit_reader_load): Likewise.
5042 (get_jit_objfile_data): Likewise.
5043 (get_jit_program_space_data): Likewise.
5044 (jit_object_open_impl): Likewise.
5045 (jit_symtab_open_impl): Likewise.
5046 (jit_block_open_impl): Likewise.
5047 (jit_frame_sniffer): Likewise.
5048 * linux-fork.c (add_fork): Likewise.
5049 * maint.c (make_command_stats_cleanup): Likewise.
5050 * objfiles.c (get_objfile_pspace_data): Likewise.
5051 * opencl-lang.c (struct lval_closure): Likewise.
5052 * osdata.c (osdata_start_osdata): Likewise.
5053 * progspace.c (new_address_space): Likewise.
5054 (add_program_space): Likewise.
5055 * remote-sim.c (get_sim_inferior_data): Likewise.
5056 * sh-tdep.c (sh_gdbarch_init): Likewise.
5057 * skip.c (Ignore): Likewise.
5058 (skip_delete_command): Likewise.
5059 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
5060 (library_list_start_library): Likewise.
5061 (solib_aix_current_sos): Likewise.
5062 * solib-darwin.c (get_darwin_info): Likewise.
5063 (darwin_current_sos): Likewise.
5064 * solib-dsbt.c (get_dsbt_info): Likewise.
5065 * solib-ia64-hpux.c (new_so_list): Likewise.
5066 (ia64_hpux_get_solib_linkage_addr): Likewise.
5067 * solib-spu.c (append_ocl_sos): Likewise.
5068 (spu_current_sos): Likewise.
5069 * solib-svr4.c (get_svr4_info): Likewise.
5070 (svr4_keep_data_in_core): Likewise.
5071 (library_list_start_library): Likewise.
5072 (svr4_default_sos): Likewise.
5073 (svr4_read_so_list): Likewise.
5074 * solib-target.c (library_list_start_library): Likewise.
5075 (solib_target_current_sos): Likewise.
5076 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
5077 * symfile-debug.c (install_symfile_debug_logging): Likewise.
5078 * symfile.c (default_symfile_segments): Likewise.
5079 * target-descriptions.c (tdesc_data_init): Likewise.
5080 (tdesc_create_reg): Likewise.
5081 (struct tdesc_type *): Likewise.
5082 (tdesc_create_vector): Likewise.
5083 (tdesc_set_struct_size): Likewise.
5084 (struct tdesc_type *): Likewise.
5085 (tdesc_free_feature): Likewise.
5086 (tdesc_create_feature): Likewise.
5087 * windows-nat.c (windows_add_thread): Likewise.
5088 (windows_make_so): Likewise.
5089 * xml-support.c (gdb_xml_body_text): Likewise.
5090 (gdb_xml_create_parser_and_cleanup): Likewise.
5091 (xml_process_xincludes): Likewise.
5092 * xml-syscall.c (allocate_syscalls_info): Likewise.
5093 (syscall_create_syscall_desc): Likewise.
5095 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
5097 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
5098 function, with code from i386_stap_parse_special_token.
5099 (i386_stap_parse_special_token_three_arg_disp): Likewise.
5100 (i386_stap_parse_special_token): Move code to the two functions
5103 2014-01-09 Pedro Alves <palves@redhat.com>
5104 Hui Zhu <hui@codesourcery.com>
5107 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
5108 bp_err_string. Don't mark the location shlib_disabled if the
5109 error thrown wasn't a generic or memory error. Catch errors
5110 thrown while inserting breakpoints in overlayed code. Output
5111 error message of software breakpoints.
5112 * remote.c (remote_insert_breakpoint): If this breakpoint has
5113 target-side commands but this stub doesn't support Z0 packets,
5114 throw NOT_SUPPORTED_ERROR error.
5115 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
5116 * target.h (target_insert_breakpoint): Extend comment.
5117 (target_insert_hw_breakpoint): Add comment.
5119 2014-01-08 Pedro Alves <palves@redhat.com>
5121 * remote.c (remote_add_thread): Add threads silently if starting
5123 (remote_notice_new_inferior): If in all-stop, and starting up,
5124 don't call notice_new_inferior.
5125 (get_current_thread): New function, factored out from ...
5126 (add_current_inferior_and_thread): ... this. Adjust.
5127 (remote_start_remote) <all-stop>: Fetch the thread list. If we
5128 found any thread, then select the remote's current thread as GDB's
5131 2014-01-08 Joel Brobecker <brobecker@adacore.com>
5133 * NEWS: Create a new section for the next release branch.
5134 Rename the section of the current branch, now that it has
5137 2014-01-08 Joel Brobecker <brobecker@adacore.com>
5139 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
5140 * version.in: Bump version to 7.7.50.DATE-cvs.
5142 2014-01-08 Yao Qi <yao@codesourcery.com>
5144 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
5145 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
5146 (spu_xfer_partial): Cast 'buf' to 'const char *'.
5148 2014-01-08 Yao Qi <yao@codesourcery.com>
5150 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
5151 return value of bfd_get_filename to symbol_file_add_from_bfd.
5153 2014-01-08 Pierre Muller <muller@sourceware.org>
5156 * coff-pe-read.c (struct read_pe_section_data): Add index field.
5157 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
5158 to prim_record_mininal_symbol_and_info.
5159 (add_pe_forwarded_sym): Use known section number of forwarded symbol
5160 in call to prim_record_minimal_symbol_and_info.
5161 (read_pe_exported_syms): Set index field of section_data.
5163 2014-01-07 Andrew Pinski <apinski@cavium.com>
5165 * features/aarch64-core.xml (cpsr): Change to be 64bit.
5166 * features/aarch64.c: Regenerate.
5168 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
5170 * target.c (return_null): Define.
5171 (update_current_target): Use it instead of return_zero for
5172 functions that return a pointer.
5174 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5176 * source.c (add_path): Fix check for duplicated paths in the previously
5179 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
5181 * ada-lang.c: Remove duplicated include statements.
5182 * alphabsd-nat.c: Ditto.
5183 * amd64-darwin-tdep.c: Ditto.
5184 * amd64fbsd-nat.c: Ditto.
5185 * auto-load.c: Ditto.
5187 * breakpoint.c: Ditto.
5189 * fork-child.c: Ditto.
5190 * gdb_usleep.c: Ditto.
5191 * i386-darwin-tdep.c: Ditto.
5192 * i386fbsd-nat.c: Ditto.
5194 * inferior.c: Ditto.
5196 * linux-nat.c: Ditto.
5197 * linux-tdep.c: Ditto.
5198 * m68kbsd-nat.c: Ditto.
5199 * m68klinux-nat.c: Ditto.
5200 * microblaze-tdep.c: Ditto.
5201 * mips-linux-tdep.c: Ditto.
5202 * mn10300-tdep.c: Ditto.
5203 * nto-tdep.c: Ditto.
5204 * opencl-lang.c: Ditto.
5206 * printcmd.c: Ditto.
5207 * regcache.c: Ditto.
5208 * remote-m32r-sdi.c: Ditto.
5212 * tilegx-linux-nat.c: Ditto.
5213 * tilegx-tdep.c: Ditto.
5214 * tracepoint.c: Ditto.
5216 * vaxbsd-nat.c: Ditto.
5217 * windows-nat.c: Ditto.
5218 * xtensa-tdep.c: Ditto.
5220 2014-01-07 Yao Qi <yao@codesourcery.com>
5222 * spu-linux-nat.c (_initialize_spu_nat): Declare.
5224 2014-01-07 Yao Qi <yao@codesourcery.com>
5225 Joel Brobecker <brobecker@adacore.com>
5227 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
5228 (pdc_write_regs): Likewise.
5229 (fetch_regs_kernel_thread): Likewise.
5230 (store_regs_kernel_thread): Likewise.
5232 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5234 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
5235 tagged type objects to their actual type.
5237 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5239 * ada-valprint.c (print_field_values): Add "language" parameter.
5240 Update calls to print_field_values and print_variant_part.
5241 Pass new parameter "language" in call to val_print instead
5242 of "current_language". Replace call to ada_val_print by call
5244 (print_variant_part): Add "language" parameter.
5245 (ada_val_print_struct_union): Update call to print_field_values.
5247 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5249 * ada-valprint.c (ui_memcpy): Delete.
5250 (ada_print_floating): Update documentation. Add empty line
5251 between between function documentation and implementation.
5252 Delete variable "buffer". Use ui_file_xstrdup in place of
5253 ui_file_put. Minor adjustments following this change.
5255 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5257 * ada-valprint.c (ada_val_print_string): New function,
5258 extracted from ada_val_print_array.
5259 (ada_val_print_array): Replace extracted code by call
5260 to ada_val_print_string followed by a return. Move
5261 "else" branch to the function's top block.
5263 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5265 * ada-valprint.c (ada_val_print_array): Move implementation
5266 down. Rename parameter "offset" and "val" into "offset_aligned"
5267 and "original_value" respectively. Add parameter "offset".
5269 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5271 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
5272 re-organizing the code. Change the "???" message printed
5273 when target type is a TYPE_CODE_UNDEF into
5274 "<ref to undefined type>".
5276 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5278 * ada-valprint.c (print_record): Delete, implementation inlined...
5279 (ada_val_print_struct_union): ... here. Remove call to
5280 ada_check_typedef in inlined implementation.
5282 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5284 * ada-valprint.c (ada_val_print_gnat_array): New function,
5285 extracted from ada_val_print_1;
5286 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
5287 (ada_val_print_flt, ada_val_print_struct_union)
5288 (ada_val_print_ref): Likewise.
5289 (ada_val_print_1): Delete variables i and elttype.
5290 Replace extracted-out code by call to corresponding
5293 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5295 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
5297 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5299 * ada-valprint.c (ada_val_print_1): Replace calls to
5300 ada_val_print_1 by calls to val_print.
5302 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5304 * ada-valprint.c (ada_val_print_1): Add parameter "language".
5305 Update calls to self accordingly. Replace calls to c_val_print
5306 by calls to val_print.
5308 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5310 * ada-valprint.c (print_record): Delete declaration.
5311 (adjust_type_signedness, ada_val_print_1): Likewise.
5312 (ada_val_print): Move function implementation down.
5313 (print_variant_part, print_field_values, print_record):
5314 Move function implementation up.
5316 2014-01-07 Joel Brobecker <brobecker@adacore.com>
5318 * python/py-type.c (typy_get_name): New function.
5319 (type_object_getset): Add entry for attribute "name".
5320 * NEWS: Add entry mentioning this new attribute.
5322 2014-01-07 Yao Qi <yao@codesourcery.com>
5324 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
5327 2014-01-07 Yao Qi <yao@codesourcery.com>
5329 * gnu-nat.c (info_port_rights): Add qualifier const to
5332 2014-01-07 Yao Qi <yao@codesourcery.com>
5334 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
5336 2014-01-07 Yao Qi <yao@codesourcery.com>
5338 * gnu-nat.c (make_inf) Update declaration.
5339 (make_inf): Make it static.
5340 (inf_set_traced): Likewise.
5341 (inf_port_to_thread, inf_task_died_status): Likewise.
5343 2014-01-07 Yao Qi <yao@codesourcery.com>
5345 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
5347 2014-01-07 Yao Qi <yao@codesourcery.com>
5349 * gnu-nat.c (_initialize_gnu_nat): Declare.
5351 2014-01-07 Yao Qi <yao@codesourcery.com>
5353 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
5355 (struct gdbarch_info) <byte_order>: Change type to
5357 <byte_order_for_code>: Likewise.
5358 * gdbarch.c, gdbarch.h: Regenerated.
5360 2014-01-06 Sasha Smundak <asmundak@google.com>
5362 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
5364 2014-01-06 Tom Tromey <tromey@redhat.com>
5366 * doublest.c (convert_doublest_to_floatformat): Use const, not
5368 * somread.c (som_symtab_read): Likewise.
5370 2014-01-07 Hui Zhu <hui@codesourcery.com>
5372 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
5373 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
5374 (gdb_bfd_fopen): Ditto.
5375 (gdb_bfd_openr): Ditto.
5376 (gdb_bfd_openw): Ditto.
5377 (gdb_bfd_openr_iovec): Ditto.
5378 (gdb_bfd_fdopenr): Ditto.
5379 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
5380 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
5382 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
5384 * symfile-mem.c (symbol_file_add_from_memory): Removed
5385 gdb_bfd_stash_filename.
5387 2014-01-03 Doug Evans <dje@google.com>
5389 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
5392 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5394 Update year range in copyright notice of all files.
5396 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5398 * top.c (print_gdb_version): Set copyright year to 2014.
5400 2014-01-01 Joel Brobecker <brobecker@adacore.com>
5402 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
5404 For older changes see ChangeLog-2013.
5410 version-control: never