466663775a913b78f405595ccfbba6a7bed9b253
[platform/upstream/binutils.git] / gdb / ChangeLog
1 2014-03-01  Mark Kettenis  <kettenis@gnu.org>
2
3         * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
4
5 2014-03-01  Mark Kettenis  <kettenis@gnu.org>
6
7         * mips64obsd-nat.c: Include "obsd-nath".
8         (_initialize_mips64obsd_nat): Call obsd_add_target instead of
9         add_target
10         * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
11
12 2014-03-01  Mark Kettenis  <kettenis@gnu.org>
13
14         * amd64obsd-nat.c: Include "obsd-nat,h.
15         (_initialize_amd64obsd_nat): Call obsd_add_target instead of
16         add_target.
17         * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
18
19 2014-02-28  Siva Chandra Reddy  <sivachandra@google.com>
20
21         * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
22         (find_overload_match): Update call to find_oload_champ.
23         (find_oload_champ_namespace_loop): Likewise
24
25 2014-02-28  Mark Kettenis  <kettenis@gnu.org>
26
27         * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
28
29         * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
30         * config/sparc/obsd64.mh: New file.
31         * sparc64obsd-nat.c: New file.
32
33         * obsd-nat.h: New file.
34         * obsd-nat.c: New file.
35         * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
36         (ALLDEPFILES): Add obsd-nat.c.
37
38 2014-02-28  Tom Tromey  <tromey@redhat.com>
39
40         * cli-out.c (cli_ui_out_impl): Now const.  Remove comment.
41         * cli-out.h (cli_ui_out_impl): Now const.
42         * mi/mi-out.c (mi_ui_out_impl): Now const.  Remove comment.
43         * ui-out.c (struct ui_out) <impl>: Now const.
44         (default_ui_out_impl): Now const.
45         (ui_out_new): Make 'impl' parameter const.
46         * ui-out.h (ui_out_new): Update.
47
48 2014-02-27  Mark Kettenis  <kettenis@gnu.org>
49
50         * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
51
52 2014-02-27  Mark Kettenis  <kettenis@gnu.org>
53
54         * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
55
56 2014-02-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
57
58         Additional PR 8882 fix.
59         * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
60
61 2014-02-27  Pedro Alves  <palves@redhat.com>
62
63         * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
64         isn't set.
65
66 2014-02-27  Pedro Alves  <palves@redhat.com>
67
68         PR 12702
69         * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
70         * nat/linux-waitpid.c: Include string.h.
71         (status_to_str): Moved here and made extern.
72         * nat/linux-waitpid.h (status_to_str): New declaration.
73
74 2014-02-27  Hui Zhu  <hui@codesourcery.com>
75
76         PR 12702
77         * infrun.c (ptid_match): Move ...
78         * common/ptid.c (ptid_match): ... here.
79         * inferior.h (ptid_match): Move ...
80         * common/ptid.h (ptid_match): ... here.
81
82 2014-02-27  Mark Kettenis  <kettenis@gnu.org>
83
84         * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
85         * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
86         gdb_target_obs.
87
88 2014-02-27  Mark Kettenis  <kettenis@gnu.org>
89
90         * obsd-tdep.c (obsd_auxv_parse): New function.
91         (obsd_init_abi): Set auxv_parse.
92
93         * gdbarch.sh (auxv_parse): New.
94         * gdbarch.h: Regenerated.
95         * gdbarch.c: Regenerated.
96         * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
97
98 2014-02-26  Ludovic Courtès  <ludo@gnu.org>
99
100         * guile/scm-value.c (gdbscm_history_append_x): New function.
101         (value_functions): Add it.
102
103 2014-02-27  Joel Brobecker  <brobecker@adacore.com>
104
105         * dwarf2read.c (attr_value_as_address): New function.
106         (dwarf2_find_base_address, read_call_site_scope): Use
107         attr_value_as_address in place of DW_ADDR.
108         (dwarf2_get_pc_bounds): Use attr_value_as_address to get
109         the low and high addresses.  Slight rework of the handling
110         of the high pc being a constant form, and limit it to
111         DWARF verson 4 or higher.
112         (dwarf2_record_block_ranges): Likewise.
113         (read_partial_die): Likewise.
114         (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
115
116 2014-02-26  Tom Tromey  <tromey@redhat.com>
117
118         * exec.c (exec_file_attach): Hold a reference to exec_bfd.
119
120 2014-02-26  Tom Tromey  <tromey@redhat.com>
121
122         * elfread.c (elf_read_minimal_symbols): Return early if
123         minimal symbols have already been read.  Add "ei" parameter.
124         (elf_symfile_read): Call elf_read_minimal_symbols earlier.
125         * minsyms.c (prim_record_minimal_symbol_full): Update.
126         * objfiles.h (struct objstats) <n_minsyms>: Move...
127         (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
128         * symmisc.c (print_objfile_statistics): Update.
129
130 2014-02-26  Tom Tromey  <tromey@redhat.com>
131
132         * elfread.c (elf_read_minimal_symbols): New function, from
133         elf_symfile_read.
134         (elf_symfile_read): Call it.
135
136 2014-02-26  Tom Tromey  <tromey@redhat.com>
137
138         * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
139         (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
140         (lookup_minimal_symbol_solib_trampoline)
141         (lookup_minimal_symbol_by_pc_section_1)
142         (lookup_minimal_symbol_and_objfile): Update.
143         (prim_record_minimal_symbol_full): Use the per-BFD obstack.
144         Don't allocate a minimal symbol if minsyms have already been read.
145         (build_minimal_symbol_hash_tables): Update.
146         (install_minimal_symbols): Do nothing if minsyms already read.
147         Use the per-BFD obstack.
148         (terminate_minimal_symbol_table): Use the per-BFD obstack.
149         * objfiles.c (allocate_objfile): Call
150         terminate_minimal_symbol_table later.
151         (have_minimal_symbols): Update.
152         * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
153         minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
154         Move from struct objfile.
155         <minsyms_read>: New field.
156         (struct objfile) <msymbols, minimal_symbol_count,
157         msymbol_hash, msymbol_demangled_hash>: Move.
158         (ALL_OBJFILE_MSYMBOLS): Update.
159         * symfile.c (read_symbols): Set minsyms_read.
160         (reread_symbols): Update.
161         * symmisc.c (dump_objfile, dump_msymbols): Update.
162
163 2014-02-26  Tom Tromey  <tromey@redhat.com>
164
165         * minsyms.c (msymbols_sort): Remove.
166         * minsyms.h (msymbols_sort): Remove.
167         * objfiles.c (objfile_relocate1): Don't relocate minsyms.
168         * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
169         * elfread.c (elf_symtab_read): Don't add section offsets.
170         * xcoffread.c (record_minimal_symbol): Don't add section offset
171         to minimal symbol address.
172         * somread.c (text_offset, data_offset): Remove.
173         (som_symtab_read): Don't add section offsets to minimal symbol
174         addresses.
175         * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
176         Don't add section offsets to minimal symbols.
177         * coffread.c (coff_symtab_read): Don't add section offsets
178         to minimal symbol addresses.
179         * machoread.c (macho_symtab_add_minsym): Don't add section offset
180         to minimal symbol addresses.
181         * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
182         section offset to minimal symbol addresses.
183         * mdebugread.c (parse_partial_symbols): Don't add section
184         offset to minimal symbol addresses.
185         * dbxread.c (read_dbx_dynamic_symtab): Don't add section
186         offset to minimal symbol addresses.
187
188 2014-02-26  Tom Tromey  <tromey@redhat.com>
189
190         * ada-lang.c (ada_main_name): Update.
191         (ada_add_standard_exceptions): Update.
192         * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
193         * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
194         * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
195         * auxv.c (ld_so_xfer_auxv): Update.
196         * avr-tdep.c (avr_scan_prologue): Update.
197         * ax-gdb.c (gen_var_ref): Update.
198         * blockframe.c (get_pc_function_start)
199         (find_pc_partial_function_gnu_ifunc): Update.
200         * breakpoint.c (create_overlay_event_breakpoint)
201         (create_longjmp_master_breakpoint)
202         (create_std_terminate_master_breakpoint)
203         (create_exception_master_breakpoint): Update.
204         * bsd-uthread.c (bsd_uthread_lookup_address): Update.
205         * c-valprint.c (c_val_print): Update.
206         * coff-pe-read.c (add_pe_forwarded_sym): Update.
207         * common/agent.c (agent_look_up_symbols): Update.
208         * dbxread.c (find_stab_function_addr, end_psymtab): Update.
209         * dwarf2loc.c (call_site_to_target_addr): Update.
210         * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
211         * elfread.c (elf_gnu_ifunc_record_cache)
212         (elf_gnu_ifunc_resolve_by_got): Update.
213         * findvar.c (default_read_var_value): Update.
214         * frame.c (inside_main_func): Update.
215         * frv-tdep.c (frv_frame_this_id): Update.
216         * glibc-tdep.c (glibc_skip_solib_resolver): Update.
217         * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
218         Update.
219         * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
220         (hppa_hpux_find_dummy_bpaddr): Update.
221         * hppa-tdep.c (hppa_symbol_address): Update.
222         * infcmd.c (until_next_command): Update.
223         * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
224         Update.
225         * linespec.c (minsym_found, add_minsym): Update.
226         * linux-nat.c (get_signo): Update.
227         * linux-thread-db.c (inferior_has_bug): Update.
228         * m32c-tdep.c (m32c_return_value)
229         (m32c_m16c_address_to_pointer): Update.
230         * m32r-tdep.c (m32r_frame_this_id): Update.
231         * m68hc11-tdep.c (m68hc11_get_register_info): Update.
232         * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
233         * maint.c (maintenance_translate_address): Update.
234         * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
235         (frob_address): New function.
236         (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
237         frob_address.  Rename parameter to "pc_in".
238         (compare_minimal_symbols, compact_minimal_symbols): Use raw
239         addresses.
240         (find_solib_trampoline_target, minimal_symbol_upper_bound):
241         Update.
242         * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
243         * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
244         * objc-lang.c (find_objc_msgsend): Update.
245         * objfiles.c (objfile_relocate1): Update.
246         * obsd-tdep.c (obsd_skip_solib_resolver): Update.
247         * p-valprint.c (pascal_val_print): Update.
248         * parse.c (write_exp_msymbol): Update.
249         * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
250         (ppc_elfv2_skip_entrypoint): Update.
251         * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
252         * printcmd.c (build_address_symbolic, msym_info)
253         (address_info): Update.
254         * proc-service.c (ps_pglobal_lookup): Update.
255         * psymtab.c (find_pc_sect_psymtab_closer)
256         (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
257         Change msymbol parameter to bound_minimal_symbol.
258         * ravenscar-thread.c (get_running_thread_id): Update.
259         * remote.c (remote_check_symbols): Update.
260         * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
261         address.
262         * sol2-tdep.c (sol2_skip_solib_resolver): Update.
263         * solib-dsbt.c (lm_base): Update.
264         * solib-frv.c (lm_base, main_got): Update.
265         * solib-irix.c (locate_base): Update.
266         * solib-som.c (som_solib_create_inferior_hook)
267         (link_map_start): Update.
268         * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
269         * solib-svr4.c (elf_locate_base, enable_break): Update.
270         * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
271         (flush_ea_cache): Update.
272         * stabsread.c (define_symbol, scan_file_globals): Update.
273         * stack.c (find_frame_funname): Update.
274         * symfile-debug.c (debug_qf_expand_symtabs_matching)
275         (debug_qf_find_pc_sect_symtab): Update.
276         * symfile.c (simple_read_overlay_table)
277         (simple_overlay_update): Update.
278         * symfile.h (struct quick_symbol_functions)
279         <find_pc_sect_symtab>: Change type of msymbol to
280         bound_minimal_symbol.
281         * symmisc.c (dump_msymbols): Update.
282         * symtab.c (find_pc_sect_symtab_via_partial)
283         (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
284         (search_symbols, print_msymbol_info): Update.
285         * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
286         (MSYMBOL_VALUE_ADDRESS): Redefine.
287         (BMSYMBOL_VALUE_ADDRESS): New macro.
288         * tracepoint.c (scope_info): Update.
289         * tui/tui-disasm.c (tui_find_disassembly_address)
290         (tui_get_begin_asm_address): Update.
291         * valops.c (find_function_in_inferior): Update.
292         * value.c (value_static_field, value_fn_field): Update.
293
294 2014-02-26  Tom Tromey  <tromey@redhat.com>
295
296         * ada-lang.c (ada_update_initial_language): Update.
297         (ada_main_name, ada_has_this_exception_support): Update.
298         * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
299         * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
300         * arm-tdep.c (arm_skip_stub): Update.
301         * auxv.c (ld_so_xfer_auxv): Update.
302         * avr-tdep.c (avr_scan_prologue): Update.
303         * ax-gdb.c (gen_var_ref): Update.
304         * breakpoint.c (struct breakpoint_objfile_data)
305         <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
306         type to bound_minimal_symbol.
307         (create_overlay_event_breakpoint)
308         (create_longjmp_master_breakpoint)
309         (create_std_terminate_master_breakpoint)
310         (create_exception_master_breakpoint): Update.
311         * bsd-uthread.c (bsd_uthread_lookup_address): Update.
312         * c-exp.y (classify_name): Update.
313         * coffread.c (coff_symfile_read): Update.
314         * common/agent.c (agent_look_up_symbols): Update.
315         * d-lang.c (d_main_name): Update.
316         * dbxread.c (find_stab_function_addr, end_psymtab): Update.
317         * dec-thread.c (enable_dec_thread): Update.
318         * dwarf2loc.c (call_site_to_target_addr): Update.
319         * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
320         * eval.c (evaluate_subexp_standard): Update.
321         * findvar.c (struct minsym_lookup_data) <result>: Change type
322         to bound_minimal_symbol.
323         <objfile>: Remove.
324         (minsym_lookup_iterator_cb, default_read_var_value): Update.
325         * frame.c (inside_main_func): Update.
326         * frv-tdep.c (frv_frame_this_id): Update.
327         * gcore.c (call_target_sbrk): Update.
328         * glibc-tdep.c (glibc_skip_solib_resolver): Update.
329         * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
330         Update.
331         * go-lang.c (go_main_name): Update.
332         * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
333         (hppa_hpux_find_import_stub_for_addr): Update.
334         * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
335         Update.  Change return type.
336         * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
337         type.
338         * jit.c (jit_breakpoint_re_set_internal): Update.
339         * linux-fork.c (inferior_call_waitpid, checkpoint_command):
340         Update.
341         * linux-nat.c (get_signo): Update.
342         * linux-thread-db.c (inferior_has_bug): Update
343         * m32c-tdep.c (m32c_return_value)
344         (m32c_m16c_address_to_pointer): Update.
345         * m32r-tdep.c (m32r_frame_this_id): Update.
346         * m68hc11-tdep.c (m68hc11_get_register_info): Update.
347         * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
348         * minsyms.c (lookup_minimal_symbol_internal): Rename to
349         lookup_minimal_symbol.  Change return type.
350         (lookup_minimal_symbol): Remove.
351         (lookup_bound_minimal_symbol): Update.
352         (lookup_minimal_symbol_text): Change return type.
353         (lookup_minimal_symbol_solib_trampoline): Change return type.
354         * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
355         (lookup_minimal_symbol_solib_trampoline): Change return type.
356         * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
357         * objc-lang.c (lookup_objc_class, lookup_child_selector)
358         (value_nsstring, find_imps): Update.
359         * obsd-tdep.c (obsd_skip_solib_resolver): Update.
360         * p-lang.c (pascal_main_name): Update.
361         * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
362         * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
363         * proc-service.c (ps_pglobal_lookup): Update.
364         * ravenscar-thread.c (get_running_thread_msymbol): Change
365         return type.
366         (has_ravenscar_runtime, get_running_thread_id): Update.
367         * remote.c (remote_check_symbols): Update.
368         * sol-thread.c (ps_pglobal_lookup): Update.
369         * sol2-tdep.c (sol2_skip_solib_resolver): Update.
370         * solib-dsbt.c (lm_base): Update.
371         * solib-frv.c (lm_base, frv_relocate_section_addresses):
372         Update.
373         * solib-irix.c (locate_base): Update.
374         * solib-som.c (som_solib_create_inferior_hook)
375         (som_solib_desire_dynamic_linker_symbols, link_map_start):
376         Update.
377         * solib-spu.c (spu_enable_break): Update.
378         * solib-svr4.c (elf_locate_base, enable_break): Update.
379         * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
380         (flush_ea_cache): Update.
381         * stabsread.c (define_symbol): Update.
382         * symfile.c (simple_read_overlay_table): Update.
383         * symtab.c (find_pc_sect_line): Update.
384         * tracepoint.c (scope_info): Update.
385         * tui-disasm.c (tui_get_begin_asm_address): Update.
386         * value.c (value_static_field): Update.
387
388 2014-02-26  Tom Tromey  <tromey@redhat.com>
389
390         * minsyms.c (prim_record_minimal_symbol_full): Use
391         SET_MSYMBOL_VALUE_ADDRESS.
392         * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
393         * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
394         SET_MSYMBOL_VALUE_ADDRESS.
395         * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
396         (SET_MSYMBOL_VALUE_ADDRESS): New macro.
397
398 2014-02-26  Tom Tromey  <tromey@redhat.com>
399
400         * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
401         (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
402         (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
403         (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
404         (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
405         (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
406         (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
407         * ada-lang.c (ada_main_name): Update.
408         (ada_lookup_simple_minsym): Update.
409         (ada_make_symbol_completion_list): Update.
410         (ada_add_standard_exceptions): Update.
411         * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
412         * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
413         * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
414         * arm-tdep.c (skip_prologue_function): Update.
415         (arm_skip_stack_protector, arm_skip_stub): Update.
416         * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
417         (arm_wince_skip_main_prologue): Update.
418         * auxv.c (ld_so_xfer_auxv): Update.
419         * avr-tdep.c (avr_scan_prologue): Update.
420         * ax-gdb.c (gen_var_ref): Update.
421         * block.c (call_site_for_pc): Update.
422         * blockframe.c (get_pc_function_start): Update.
423         (find_pc_partial_function_gnu_ifunc): Update.
424         * breakpoint.c (create_overlay_event_breakpoint): Update.
425         (create_longjmp_master_breakpoint): Update.
426         (create_std_terminate_master_breakpoint): Update.
427         (create_exception_master_breakpoint): Update.
428         (resolve_sal_pc): Update.
429         * bsd-uthread.c (bsd_uthread_lookup_address): Update.
430         * btrace.c (ftrace_print_function_name, ftrace_function_switched):
431         Update.
432         * c-valprint.c (c_val_print): Update.
433         * coff-pe-read.c (add_pe_forwarded_sym): Update.
434         * coffread.c (coff_symfile_read): Update.
435         * common/agent.c (agent_look_up_symbols): Update.
436         * dbxread.c (find_stab_function_addr): Update.
437         (end_psymtab): Update.
438         * dwarf2loc.c (call_site_to_target_addr): Update.
439         (func_verify_no_selftailcall): Update.
440         (tailcall_dump): Update.
441         (call_site_find_chain_1): Update.
442         (dwarf_expr_reg_to_entry_parameter): Update.
443         * elfread.c (elf_gnu_ifunc_record_cache): Update.
444         (elf_gnu_ifunc_resolve_by_got): Update.
445         * f-valprint.c (info_common_command): Update.
446         * findvar.c (read_var_value): Update.
447         * frame.c (get_prev_frame_1): Update.
448         (inside_main_func): Update.
449         * frv-tdep.c (frv_skip_main_prologue): Update.
450         (frv_frame_this_id): Update.
451         * glibc-tdep.c (glibc_skip_solib_resolver): Update.
452         * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
453         * gnu-v3-abi.c (gnuv3_rtti_type): Update.
454         (gnuv3_skip_trampoline): Update.
455         * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
456         (hppa64_hpux_in_solib_call_trampoline): Update.
457         (hppa_hpux_skip_trampoline_code): Update.
458         (hppa64_hpux_search_dummy_call_sequence): Update.
459         (hppa_hpux_find_import_stub_for_addr): Update.
460         (hppa_hpux_find_dummy_bpaddr): Update.
461         * hppa-tdep.c (hppa_symbol_address)
462         (hppa_lookup_stub_minimal_symbol): Update.
463         * i386-tdep.c (i386_skip_main_prologue): Update.
464         (i386_pe_skip_trampoline_code): Update.
465         * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
466         * infcall.c (get_function_name): Update.
467         * infcmd.c (until_next_command): Update.
468         * jit.c (jit_breakpoint_re_set_internal): Update.
469         (jit_inferior_init): Update.
470         * linespec.c (minsym_found): Update.
471         (add_minsym): Update.
472         * linux-fork.c (info_checkpoints_command): Update.
473         * linux-nat.c (get_signo): Update.
474         * linux-thread-db.c (inferior_has_bug): Update.
475         * m32c-tdep.c (m32c_return_value): Update.
476         (m32c_m16c_address_to_pointer): Update.
477         (m32c_m16c_pointer_to_address): Update.
478         * m32r-tdep.c (m32r_frame_this_id): Update.
479         * m68hc11-tdep.c (m68hc11_get_register_info): Update.
480         * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
481         * maint.c (maintenance_translate_address): Update.
482         * minsyms.c (add_minsym_to_hash_table): Update.
483         (add_minsym_to_demangled_hash_table): Update.
484         (msymbol_objfile): Update.
485         (lookup_minimal_symbol): Update.
486         (iterate_over_minimal_symbols): Update.
487         (lookup_minimal_symbol_text): Update.
488         (lookup_minimal_symbol_by_pc_name): Update.
489         (lookup_minimal_symbol_solib_trampoline): Update.
490         (lookup_minimal_symbol_by_pc_section_1): Update.
491         (lookup_minimal_symbol_and_objfile): Update.
492         (prim_record_minimal_symbol_full): Update.
493         (compare_minimal_symbols): Update.
494         (compact_minimal_symbols): Update.
495         (build_minimal_symbol_hash_tables): Update.
496         (install_minimal_symbols): Update.
497         (terminate_minimal_symbol_table): Update.
498         (find_solib_trampoline_target): Update.
499         (minimal_symbol_upper_bound): Update.
500         * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
501         * mips-tdep.c (mips_stub_frame_sniffer): Update.
502         (mips_skip_pic_trampoline_code): Update.
503         * msp430-tdep.c (msp430_skip_trampoline_code): Update.
504         * objc-lang.c (selectors_info): Update.
505         (classes_info): Update.
506         (find_methods): Update.
507         (find_imps): Update.
508         (find_objc_msgsend): Update.
509         * objfiles.c (objfile_relocate1): Update.
510         * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
511         * obsd-tdep.c (obsd_skip_solib_resolver): Update.
512         * p-valprint.c (pascal_val_print): Update.
513         * parse.c (write_exp_msymbol): Update.
514         * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
515         (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
516         * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
517         * printcmd.c (build_address_symbolic): Update.
518         (sym_info): Update.
519         (address_info): Update.
520         * proc-service.c (ps_pglobal_lookup): Update.
521         * psymtab.c (find_pc_sect_psymtab_closer): Update.
522         (find_pc_sect_psymtab): Update.
523         * python/py-framefilter.c (py_print_frame): Update.
524         * ravenscar-thread.c (get_running_thread_id): Update.
525         * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
526         Update.
527         * remote.c (remote_check_symbols): Update.
528         * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
529         (rs6000_skip_trampoline_code): Update.
530         * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
531         * sol2-tdep.c (sol2_skip_solib_resolver): Update.
532         * solib-dsbt.c (lm_base): Update.
533         * solib-frv.c (lm_base): Update.
534         (main_got): Update.
535         * solib-irix.c (locate_base): Update.
536         * solib-som.c (som_solib_create_inferior_hook): Update.
537         (som_solib_desire_dynamic_linker_symbols): Update.
538         (link_map_start): Update.
539         * solib-spu.c (spu_enable_break): Update.
540         (ocl_enable_break): Update.
541         * solib-svr4.c (elf_locate_base): Update.
542         (enable_break): Update.
543         * spu-tdep.c (spu_get_overlay_table): Update.
544         (spu_catch_start): Update.
545         (flush_ea_cache): Update.
546         * stabsread.c (define_symbol): Update.
547         (scan_file_globals): Update.
548         * stack.c (find_frame_funname): Update.
549         (frame_info): Update.
550         * symfile.c (simple_read_overlay_table): Update.
551         (simple_overlay_update): Update.
552         * symmisc.c (dump_msymbols): Update.
553         * symtab.c (fixup_section): Update.
554         (find_pc_sect_line): Update.
555         (skip_prologue_sal): Update.
556         (search_symbols): Update.
557         (print_msymbol_info): Update.
558         (rbreak_command): Update.
559         (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
560         (completion_list_objc_symbol): Update.
561         (default_make_symbol_completion_list_break_on): Update.
562         * tracepoint.c (scope_info): Update.
563         * tui/tui-disasm.c (tui_find_disassembly_address): Update.
564         (tui_get_begin_asm_address): Update.
565         * valops.c (find_function_in_inferior): Update.
566         * value.c (value_static_field): Update.
567         (value_fn_field): Update.
568
569 2014-02-26  Tom Tromey  <tromey@redhat.com>
570
571         * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
572         bound minimal symbols.  Move code that knows about minsym
573         table layout...
574         * minsyms.c (minimal_symbol_upper_bound): ... here.  New
575         function.
576         * minsyms.h (minimal_symbol_upper_bound): Declare.
577         * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
578         minimal_symbol_upper_bound.
579
580 2014-02-27  Joel Brobecker  <brobecker@adacore.com>
581
582         * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
583         Use the type's name if its basic type does not have a tag.
584
585 2014-02-27  Joel Brobecker  <brobecker@adacore.com>
586
587         * dwarf2read.c (read_subrange_type): Add comment.
588
589 2014-02-27  Joel Brobecker  <brobecker@adacore.com>
590
591         * dwarf2read.c (update_enumeration_type_from_children): New
592         function, mostly extracted from process_structure_scope.
593         (read_enumeration_type): Call update_enumeration_type_from_children.
594         (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
595         and flag_flag_enum fields.
596
597 2014-02-26  Pedro Alves  <palves@redhat.com>
598
599         * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
600         (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
601         to_xfer_partial method.
602
603 2014-02-26  Pedro Alves  <palves@redhat.com>
604
605         * target.c (complete_target_initialization): Don't install
606         default_xfer_partial as to_xfer_partial hook.
607         (nomemory): Delete.
608         (update_current_target): Don't INHERIT nor de_fault
609         deprecated_xfer_memory.  Delete de_fault macro.
610         (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
611         (setup_target_debug): Don't install a deprecated_xfer_memory hook.
612         * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
613         field.
614
615 2014-02-26  Pedro Alves  <palves@redhat.com>
616
617         * go32-nat.c (my_write_child): New function.
618         (go32_xfer_memory): Rewrite as to_xfer_partial helper.
619         (go32_xfer_partial): New function.
620         (init_go32_ops): Don't install a deprecated_xfer_memory hook.
621         Instead install a to_xfer_partial hook.
622
623 2014-02-26  Pedro Alves  <palves@redhat.com>
624
625         * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
626         to_xfer_partial helper.  Rewrite.
627         (procfs_xfer_partial): New function.
628         (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
629         Install a to_xfer_partial hook.
630
631 2014-02-26  Pedro Alves  <palves@redhat.com>
632
633         * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
634         (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
635         (m32r_xfer_partial): New function.
636         (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
637         Install a to_xfer_partial hook.
638
639 2014-02-26  Pedro Alves  <palves@redhat.com>
640
641         * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
642         helper.
643         (mips_xfer_partial): New function.
644         (_initialize_remote_mips): Don't install a deprecated_xfer_memory
645         hook.  Install a to_xfer_partial hook.
646
647 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
648
649         * gdbtypes.h (create_array_type_with_stride): Add declaration.
650         * gdbtypes.c (create_array_type_with_stride): New function,
651         renaming create_array_type, but with an added parameter
652         called "bit_stride".
653         (create_array_type): Re-implement using
654         create_array_type_with_stride.
655         * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
656         and DW_AT_bit_stride attributes.
657
658 2014-02-26  Pedro Alves  <palves@redhat.com>
659
660         * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
661         task-specific breakpoints.
662
663 2014-02-25  Pedro Alves  <palves@redhat.com>
664
665         * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
666         handling of object == TARGET_OBJECT_UNWIND_TABLE.
667
668 2014-02-25  Stan Shebs  <stan@codesourcery.com>
669
670         * defs.h: Annotate comments for Doxygen.
671
672 2014-02-25  Tom Tromey  <tromey@redhat.com>
673
674         * target.h (target_ignore): Don't declare.
675         * target.c (target_ignore): Remove.
676
677 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
678
679         PR gdb/16626
680         * auto-load.c (auto_load_objfile_script_1): Change filename to
681         debugfile.
682
683 2014-02-25  Joel Brobecker  <brobecker@adacore.com>
684
685         * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
686         documentation.  Adjust prototype to match the target_ops
687         to_xfer_partial method.  Adjust implementation accordingly.
688
689 2014-02-25  Hui Zhu  <hui@codesourcery.com>
690
691         * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
692         to_traceframe_info.
693
694 2014-02-25  Kevin Buettner  <kevinb@redhat.com>
695
696         * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
697         (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
698         (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
699         (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
700         (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
701         (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
702         (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
703         (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
704         New constants.
705         (rl78_register_type): Use a data pointer type for SP and
706         new pseudo registers mentioned above.  Use a 16 bit integer
707         type for all other register pairs.
708         (rl78_register_name, rl78_g10_register_name): Update for
709         new pseudo registers.
710         (rl78_pseudo_register_read): Likewise.
711         (rl78_pseudo_register_write): Likewise.
712         (rl78_dwarf_reg_to_regnum): Return register numbers representing
713         to the newly added pseudo registers.
714
715 2014-02-24  Doug Evans  <dje@google.com>
716
717         * value.c (record_latest_value): Fix comment.
718         * printcmd.c (print_command_1): Remove code to handle -1 return from
719         record_latest_value.
720
721 2014-02-24  Pedro Alves  <palves@redhat.com>
722
723         * procfs.c (procfs_target): Don't install procfs_xfer_memory as
724         deprecated_xfer_memory hook.
725         (procfs_xfer_partial): Call procfs_xfer_memory instead
726         of the deprecated_xfer_memory target hook.
727         (procfs_xfer_memory): Adjust interface as a to_xfer_partial
728         helper.
729
730 2014-02-24  Yuanhui Zhang  <asmwarrior@gmail.com>
731
732         * windows-nat.c (windows_xfer_shared_libraries): Return
733         TARGET_XFER_EOF if LEN is zero to fix an assert failure when
734         requested object is TARGET_OBJECT_LIBRARIES.
735
736 2014-02-24  Yao Qi  <yao@codesourcery.com>
737
738         * target.h (enum target_xfer_status)
739         <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
740         <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
741         explicitly.  New.
742         * corefile.c (memory_error_message): User updated.
743         * exec.c (section_table_read_available_memory): Likewise.
744         * record-btrace.c (record_btrace_xfer_partial): Likewise.
745         * target.c (target_xfer_status_to_string): Likewise.
746         (raw_memory_xfer_partial): Likewise.
747         (memory_xfer_partial_1, target_xfer_partial): Likewise.
748         * valops.c (read_value_memory): Likewise.
749         * exec.h: Update comments.
750
751 2014-02-24  Yao Qi  <yao@codesourcery.com>
752
753         * target.c (target_xfer_status_to_string): Rename argument err
754         to status.
755         * target.h (target_xfer_status_to_string): Update declaration.
756         Replace target_xfer_error_to_string with
757         target_xfer_status_to_string in comment.
758
759 2014-02-24  Yao Qi  <yao@codesourcery.com>
760
761         * mips-linux-nat.c (super_close): Update its type.
762         (mips_linux_close): Pass 'self' to super_close.
763
764 2014-02-24  Yao Qi  <yao@codesourcery.com>
765
766         * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
767         * corefile.c (read_memory): Adjusted.
768         * target.c (target_write_with_progress): Adjusted.
769
770 2014-02-23  Yao Qi  <yao@codesourcery.com>
771
772         Revert two patches:
773
774         2013-10-25  Yao Qi  <yao@codesourcery.com>
775
776         * remote.c (remote_traceframe_info): Return early if
777         traceframe is not selected.
778
779         2013-07-19  Yao Qi  <yao@codesourcery.com>
780
781         * target.c (update_current_target): Change the default action
782         of 'to_traceframe_info' from tcomplain to return_zero.
783         * target.h (struct target_ops) <to_traceframe_info>: Add more
784         comments.
785
786 2014-02-23  Yao Qi  <yao@codesourcery.com>
787
788         * valops.c (read_value_memory): Rewrite it.  Call
789         target_xfer_partial in a loop.
790         * exec.h (section_table_available_memory): Remove declaration.
791         Move comments to ...
792         * exec.c (section_table_available_memory): ... here.  Make it
793         static.
794
795 2014-02-23  Yao Qi  <yao@codesourcery.com>
796
797         * exec.c (section_table_read_available_memory): New function.
798         * exec.h (section_table_read_available_memory): Declare.
799         * ctf.c (ctf_xfer_partial): Call
800         section_table_read_available_memory.
801         * tracefile-tfile.c (tfile_xfer_partial): Likewise.
802
803 2014-02-23  Yao Qi  <yao@codesourcery.com>
804
805         * ctf.c (ctf_xfer_partial): Move code to ...
806         * exec.c (exec_read_partial_read_only): ... it.  New function.
807         * tracefile-tfile.c (tfile_xfer_partial): Likewise.
808         * tracefile.c: Include "exec.h".
809         * exec.h (exec_read_partial_read_only): Declare.
810
811 2014-02-23  Yao Qi  <yao@codesourcery.com>
812
813         * tracefile-tfile.c (tfile_has_all_memory): Remove.
814         (tfile_has_memory): Remove.
815         (init_tfile_ops): Don't set fields to_has_all_memory and
816         to_has_memory of tfile_ops.
817         * tracefile.c (tracefile_has_all_memory): New function.
818         (tracefile_has_memory): New function.
819         (init_tracefile_ops): Initialize fields to_has_all_memory and
820         to_has_memory of 'ops'.
821
822 2014-02-23  Yao Qi  <yao@codesourcery.com>
823
824         * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
825         (ctf_thread_alive, ctf_get_trace_status): Remove.
826         (init_ctf_ops): Don't set some fields of ctf_ops.  Call
827         init_tracefile_ops.
828         * tracefile-tfile.c (tfile_get_trace_status): Remove.
829         (tfile_has_stack, tfile_has_registers): Remove.
830         (tfile_thread_alive): Remove.
831         (init_tfile_ops): Don't set some fields of tfile_ops.  Call
832         init_tracefile_ops.
833         * tracefile.c (tracefile_has_stack): New function.
834         (tracefile_has_registers): New function.
835         (tracefile_thread_alive): New function.
836         (tracefile_get_trace_status): New function.
837         (init_tracefile_ops): New function.
838         * tracefile.h (init_tracefile_ops): Declare.
839
840 2014-02-23  Yao Qi  <yao@codesourcery.com>
841
842         * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
843         (O_LARGEFILE): Likewise.
844         (tfile_ops): Likewise.
845         (TRACE_HEADER_SIZE): Likewise.
846         (trace_fd, trace_frames_offset, cur_offset): Likewise.
847         (cur_data_size): Likewise.
848         (tfile_read, tfile_open, tfile_interp_line): Likewise.
849         (tfile_close, tfile_files_info): Likewise.
850         (tfile_get_trace_status): Likewise.
851         (tfile_get_tracepoint_status): Likewise.
852         (tfile_get_traceframe_address): Likewise.
853         (tfile_trace_find, match_blocktype): Likewise.
854         (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
855         (tfile_fetch_registers, tfile_xfer_partial): Likewise.
856         (tfile_get_trace_state_variable_value): Likewise.
857         (tfile_has_all_memory, tfile_has_memory): Likewise.
858         (tfile_has_stack, tfile_has_registers): Likewise.
859         (tfile_thread_alive, build_traceframe_info): Likewise.
860         (tfile_traceframe_info, init_tfile_ops): Likewise.
861         (_initialize_tracepoint): Don't call init_tfile_ops
862         and add_target_with_completer.
863         * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
864         exec.h, completer.h and filenames.h.
865         (_initialize_tracefile_tfile): New function.
866
867 2014-02-23  Yao Qi  <yao@codesourcery.com>
868
869         * Makefile.in (REMOTE_OBS): Append tracefile.o and
870         tracefile-tfile.o.
871         (HFILES_NO_SRCDIR): Add tracefile.h.
872         * ctf.c: Include "tracefile.h".
873         * tracefile.h: New file.
874         * tracefile.c: New file
875         * tracefile-tfile.c: New file.
876         * tracepoint.c: Include "tracefile.h".
877         (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
878         (stop_reason_names): Add const.
879         (trace_file_writer_xfree): Move it to tracefile.c.
880         (trace_save, trace_save_command, trace_save_tfile): Likewise.
881         (trace_save_ctf): Likewise.
882         (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
883         (tfile_target_save, tfile_dtor, tfile_start): Likewise.
884         (tfile_write_header, tfile_write_regblock_type): Likewise.
885         (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
886         (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
887         (tfile_write_raw_data, tfile_end): Likewise.
888         (tfile_trace_file_writer_new): Likewise.
889         (free_uploaded_tp): Make it extern.
890         (free_uploaded_tsv): Make it extern.
891         (_initialize_tracepoint): Move code to register command 'tsave'
892         to tracefile.c.
893         * tracepoint.h (stop_reason_names): Declare.
894         (struct trace_frame_write_ops): Move it to tracefile.h.
895         (struct trace_file_write_ops): Likewise.
896         (struct trace_file_writer): Likewise.
897         (free_uploaded_tsvs, free_uploaded_tps): Declare.
898
899 2014-02-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
900
901         PR gdb/16594
902         * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
903         process name.
904         (get_cores_used_by_process): New parameter num_cores, use it.
905         (linux_xfer_osdata_processes): Pass num_cores to it.
906         * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
907         process name.
908
909 2014-02-21  Andreas Arnez  <arnez@vnet.linux.ibm.com>
910
911         * target.c (memory_xfer_partial): Fix length arg in call to
912         breakpoint_xfer_memory.
913
914 2014-02-20  Sergio Durigan Junior  <sergiodj@redhat.com>
915
916         PR tdep/16397
917         * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
918         number comes after the + or - signs.  Adjust length of register
919         name to be extracted.
920
921 2014-02-20  Tom Tromey  <tromey@redhat.com>
922
923         * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
924         (ada_varobj_ops): Mark "extern".
925
926 2014-02-20  Tom Tromey  <tromey@redhat.com>
927
928         * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
929
930 2014-02-20  Doug Evans  <xdje42@gmail.com>
931
932         * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
933         All callers updated.
934         (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
935         All callers updated.
936         * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
937         (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
938
939 2014-02-20  lin zuojian  <manjian2006@gmail.com>
940             Joel Brobecker  <brobecker@adacore.com>
941             Doug Evans  <xdje42@gmail.com>
942
943         PR symtab/16581
944         * dwarf2read.c (struct die_info): New member in_process.
945         (reset_die_in_process): New function.
946         (process_die): Set it at the start, reset when returning.
947         (inherit_abstract_dies): Only call process_die if origin_child_die
948         not already being processed.
949
950 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
951
952         * windows-nat.c (handle_unload_dll): Add function documentation.
953         (do_initial_windows_stuff): Add comment explaining why we wait
954         until after inferior initialization has finished before
955         processing all DLLs.
956
957 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
958
959         * windows-nat.c (get_module_name): Delete.
960         (windows_get_exec_module_filename): New function, mostly
961         inspired from get_module_name.
962         (windows_pid_to_exec_file): Replace call to get_module_name
963         by call to windows_get_exec_module_filename.
964
965 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
966
967         * windows-nat.c (handle_load_dll): Rewrite this function's
968         introductory comment.  Remove code using get_module_name
969         to get the DLL's name.
970
971 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
972
973         * windows-nat.c (get_windows_debug_event): Ignore
974         LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
975         if windows_initialization_done == 0.
976         (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
977         Adjust implementation to always load all DLLs.
978         (do_initial_windows_stuff): Replace call to
979         windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
980
981 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
982
983         * windows-nat.c (_initialize_windows_nat): Deprecate the
984         "dll-symbols" command.  Turn the "add-shared-symbol-files"
985         and "assf" aliases into commands, and deprecate them as well.
986         * NEWS: Add entry explaining that "dll-symbols" and its two
987         aliases are now deprecated.
988
989 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
990
991         * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
992         new-line in debug string.  Remove trailing spaces.
993
994 2014-02-19  Stan Shebs  <stan@codesourcery.com>
995
996         * darwin-nat.c (darwin_xfer_partial): Fix return type.
997
998 2014-02-19  Siva Chandra Reddy  <sivachandra@google.com>
999
1000         * NEWS: Add entry for the new feature
1001         * python/py-value.c (valpy_binop): Call value_x_binop for struct
1002         and class values.
1003
1004 2014-02-19  Stan Shebs  <stan@codesourcery.com>
1005
1006         * MAINTAINERS: List Yao Qi as nios2 maintainer.
1007
1008 2014-02-19  Pedro Alves  <palves@redhat.com>
1009
1010         * common/ptid.h (struct ptid): Mention that process_stratum
1011         targets should prefer ptid.lwp.
1012
1013 2014-02-19  Pedro Alves  <palves@redhat.com>
1014
1015         * remote.c (remote_thread_alive, write_ptid, read_ptid)
1016         (read_ptid, remote_newthread_step, remote_threads_extra_info)
1017         (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
1018         (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
1019         store remote thread ids rather than ptid.tid.
1020         (_initialize_remote): Adjust.
1021
1022 2014-02-19  Tom Tromey  <tromey@redhat.com>
1023
1024         * target.c (target_get_unwinder): Rewrite.
1025         (target_get_tailcall_unwinder): Rewrite.
1026         * record-btrace.c (record_btrace_to_get_unwinder): New function.
1027         (record_btrace_to_get_tailcall_unwinder): New function.
1028         (init_record_btrace_ops): Update.
1029         * target.h (struct target_ops) <to_get_unwinder,
1030         to_get_tailcall_unwinder>: Now function pointers.  Use
1031         TARGET_DEFAULT_RETURN.
1032
1033 2014-02-19  Tom Tromey  <tromey@redhat.com>
1034
1035         * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
1036         argument.
1037         (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
1038
1039 2014-02-19  Tom Tromey  <tromey@redhat.com>
1040
1041         * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
1042         directly.
1043         * target-delegates.c: Rebuild.
1044         * target.h (struct target_ops) <to_decr_pc_after_break>: Use
1045         TARGET_DEFAULT_FUNC.
1046         * target.c (default_target_decr_pc_after_break): Rename from
1047         forward_target_decr_pc_after_break.  Simplify.
1048         (target_decr_pc_after_break): Rely on delegation.
1049
1050 2014-02-19  Tom Tromey  <tromey@redhat.com>
1051
1052         * target.c (update_current_target): Do not INHERIT to_doc or
1053         to_magic.  Do not de_fault to_open or to_close.
1054
1055 2014-02-19  Tom Tromey  <tromey@redhat.com>
1056
1057         * gcore.h (objfile_find_memory_regions): Declare.
1058         * gcore.c (objfile_find_memory_regions): No longer static.  Add
1059         "self" argument.
1060         (_initialize_gcore): Don't call exec_set_find_memory_regions.
1061         * exec.c: Include gcore.h.
1062         (exec_set_find_memory_regions): Remove.
1063         (exec_find_memory_regions): Remove.
1064         (exec_do_find_memory_regions): Remove.
1065         (init_exec_ops): Update.
1066         * defs.h (exec_set_find_memory_regions): Remove.
1067
1068 2014-02-19  Tom Tromey  <tromey@redhat.com>
1069
1070         * target-delegates.c: Rebuild.
1071         * target.h (struct target_ops) <to_extra_thread_info,
1072         to_thread_name, to_pid_to_exec_file, to_get_section_table,
1073         to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
1074         not 0, in TARGET_DEFAULT_RETURN.
1075
1076 2014-02-19  Tom Tromey  <tromey@redhat.com>
1077
1078         * target.c (complete_target_initialization): Remove casts.  Use
1079         return_zero_has_execution.
1080         (return_zero): Add "ignore" argument.
1081         (return_zero_has_execution): New function.
1082         (init_dummy_target): Remove casts.  Use
1083         return_zero_has_execution.
1084
1085 2014-02-19  Tom Tromey  <tromey@redhat.com>
1086
1087         * target.c (update_current_target): Update comments.  Do not
1088         INHERIT to_stratum.
1089
1090 2014-02-19  Tom Tromey  <tromey@redhat.com>
1091
1092         * arm-linux-nat.c (arm_linux_read_description): Delegate when
1093         needed.
1094         * corelow.c (core_read_description): Delegate when needed.
1095         * remote.c (remote_read_description): Delegate when needed.
1096         * target-delegates.c: Rebuild.
1097         * target.c (target_read_description): Rewrite.
1098         * target.h (struct target_ops) <to_read_description>: Update
1099         comment.  Use TARGET_DEFAULT_RETURN.
1100
1101 2014-02-19  Tom Tromey  <tromey@redhat.com>
1102
1103         * target-delegates.c: Rebuild.
1104         * target.c (update_current_target): Don't inherit or default
1105         to_can_run.
1106         (find_default_run_target): Check against delegate_can_run.
1107         * target.h (struct target_ops) <to_can_run>: Use
1108         TARGET_DEFAULT_RETURN.
1109
1110 2014-02-19  Tom Tromey  <tromey@redhat.com>
1111
1112         * target-delegates.c: Rebuild.
1113         * target.c (target_disconnect): Unconditionally delegate.
1114         * target.h (struct target_ops) <to_disconnect>: Use
1115         TARGET_DEFAULT_NORETURN.
1116
1117 2014-02-19  Tom Tromey  <tromey@redhat.com>
1118
1119         * record.c (record_stop): Unconditionally delegate.
1120         * target-delegates.c: Rebuild.
1121         * target.c (target_stop_recording): Unconditionally delegate.
1122         * target.h (struct target_ops) <to_stop_recording>: Use
1123         TARGET_DEFAULT_IGNORE.
1124
1125 2014-02-19  Tom Tromey  <tromey@redhat.com>
1126
1127         * target-delegates.c: Rebuild.
1128         * target.c (target_enable_btrace): Unconditionally delegate.
1129         * target.h (struct target_ops) <to_enable_btrace>: Use
1130         TARGET_DEFAULT_NORETURN.
1131
1132 2014-02-19  Tom Tromey  <tromey@redhat.com>
1133
1134         * target-delegates.c: Rebuild.
1135         * target.c (target_read_btrace): Unconditionally delegate.
1136         * target.h (struct target_ops) <to_read_btrace>: Use
1137         TARGET_DEFAULT_NORETURN.
1138
1139 2014-02-19  Tom Tromey  <tromey@redhat.com>
1140
1141         * target-delegates.c: Rebuild.
1142         * target.c (target_teardown_btrace): Unconditionally delegate.
1143         * target.h (struct target_ops) <to_teardown_btrace>: Use
1144         TARGET_DEFAULT_NORETURN.
1145
1146 2014-02-19  Tom Tromey  <tromey@redhat.com>
1147
1148         * target-delegates.c: Rebuild.
1149         * target.c (target_disable_btrace): Unconditionally delegate.
1150         * target.h (struct target_ops) <to_disable_btrace>: Use
1151         TARGET_DEFAULT_NORETURN.
1152
1153 2014-02-19  Tom Tromey  <tromey@redhat.com>
1154
1155         * target-delegates.c: Rebuild.
1156         * target.c (default_search_memory): New function.
1157         (simple_search_memory): Update comment.
1158         (target_search_memory): Unconditionally delegate.
1159         * target.h (struct target_ops) <to_search_memory>: Use
1160         TARGET_DEFAULT_FUNC.
1161
1162 2014-02-19  Tom Tromey  <tromey@redhat.com>
1163
1164         * auxv.c (default_auxv_parse): No longer static.
1165         (target_auxv_parse): Unconditionally delegate.
1166         * auxv.h (default_auxv_parse): Declare.
1167         * target-delegates.c: Rebuild.
1168         * target.c: Include auxv.h.
1169         * target.h (struct target_ops) <to_auxv_parse>: Use
1170         TARGET_DEFAULT_FUNC.
1171
1172 2014-02-19  Tom Tromey  <tromey@redhat.com>
1173
1174         * target-delegates.c: Rebuild.
1175         * target.c (target_memory_map): Unconditionally delegate.
1176         * target.h (struct target_ops) <to_memory_map>: Use
1177         TARGET_DEFAULT_RETURN.
1178
1179 2014-02-19  Tom Tromey  <tromey@redhat.com>
1180
1181         * target-delegates.c: Rebuild.
1182         * target.c (target_thread_alive): Unconditionally delegate.
1183         * target.h (struct target_ops) <to_thread_alive>: Use
1184         TARGET_DEFAULT_RETURN.
1185
1186 2014-02-19  Tom Tromey  <tromey@redhat.com>
1187
1188         * target-delegates.c: Rebuild.
1189         * target.c (target_save_record): Unconditionally delegate.
1190         * target.h (struct target_ops) <to_save_record>: Use
1191         TARGET_DEFAULT_NORETURN.
1192
1193 2014-02-19  Tom Tromey  <tromey@redhat.com>
1194
1195         * target-delegates.c: Rebuild.
1196         * target.c (target_delete_record): Unconditionally delegate.
1197         * target.h (struct target_ops) <to_delete_record>: Use
1198         TARGET_DEFAULT_NORETURN.
1199
1200 2014-02-19  Tom Tromey  <tromey@redhat.com>
1201
1202         * target-delegates.c: Rebuild.
1203         * target.c (target_record_is_replaying): Unconditionally
1204         delegate.
1205         * target.h (struct target_ops) <to_record_is_replaying>: Use
1206         TARGET_DEFAULT_RETURN.
1207
1208 2014-02-19  Tom Tromey  <tromey@redhat.com>
1209
1210         * target-delegates.c: Rebuild.
1211         * target.c (target_goto_record_begin): Unconditionally delegate.
1212         * target.h (struct target_ops) <to_goto_record_begin>: Use
1213         TARGET_DEFAULT_NORETURN.
1214
1215 2014-02-19  Tom Tromey  <tromey@redhat.com>
1216
1217         * target-delegates.c: Rebuild.
1218         * target.c (target_goto_record_end): Unconditionally delegate.
1219         * target.h (struct target_ops) <to_goto_record_end>: Use
1220         TARGET_DEFAULT_NORETURN.
1221
1222 2014-02-19  Tom Tromey  <tromey@redhat.com>
1223
1224         * target-delegates.c: Rebuild.
1225         * target.c (target_goto_record): Unconditionally delegate.
1226         * target.h (struct target_ops) <to_goto_record>: Use
1227         TARGET_DEFAULT_NORETURN.
1228
1229 2014-02-19  Tom Tromey  <tromey@redhat.com>
1230
1231         * target-delegates.c: Rebuild.
1232         * target.c (target_insn_history): Unconditionally delegate.
1233         * target.h (struct target_ops) <to_insn_history>: Use
1234         TARGET_DEFAULT_NORETURN.
1235
1236 2014-02-19  Tom Tromey  <tromey@redhat.com>
1237
1238         * target-delegates.c: Rebuild.
1239         * target.c (target_insn_history_from): Unconditionally delegate.
1240         * target.h (struct target_ops) <to_insn_history_from>: Use
1241         TARGET_DEFAULT_NORETURN.
1242
1243 2014-02-19  Tom Tromey  <tromey@redhat.com>
1244
1245         * target-delegates.c: Rebuild.
1246         * target.c (target_insn_history_range): Unconditionally delegate.
1247         * target.h (struct target_ops) <to_insn_history_range>: Use
1248         TARGET_DEFAULT_NORETURN.
1249
1250 2014-02-19  Tom Tromey  <tromey@redhat.com>
1251
1252         * target-delegates.c: Rebuild.
1253         * target.c (target_call_history): Unconditionally delegate.
1254         * target.h (struct target_ops) <to_call_history>: Use
1255         TARGET_DEFAULT_NORETURN.
1256
1257 2014-02-19  Tom Tromey  <tromey@redhat.com>
1258
1259         * target-delegates.c: Rebuild.
1260         * target.c (target_call_history_from): Unconditionally delegate.
1261         * target.h (struct target_ops) <to_call_history_from>: Use
1262         TARGET_DEFAULT_NORETURN.
1263
1264 2014-02-19  Tom Tromey  <tromey@redhat.com>
1265
1266         * target-delegates.c: Rebuild.
1267         * target.c (target_call_history_range): Unconditionally delegate.
1268         * target.h (struct target_ops) <to_call_history_range>: Use
1269         TARGET_DEFAULT_NORETURN.
1270
1271 2014-02-19  Tom Tromey  <tromey@redhat.com>
1272
1273         * target-delegates.c: Rebuild.
1274         * target.c (target_verify_memory): Unconditionally delegate.
1275         * target.h (struct target_ops) <to_verify_memory>: Use
1276         TARGET_DEFAULT_NORETURN.
1277
1278 2014-02-19  Tom Tromey  <tromey@redhat.com>
1279
1280         * target-delegates.c: Rebuild.
1281         * target.c (target_core_of_thread): Unconditionally delegate.
1282         * target.h (struct target_ops) <to_core_of_thread>: Use
1283         TARGET_DEFAULT_RETURN.
1284
1285 2014-02-19  Tom Tromey  <tromey@redhat.com>
1286
1287         * target-delegates.c: Rebuild.
1288         * target.c (target_flash_done): Unconditionally delegate.
1289         * target.h (struct target_ops) <to_flash_done>: Use
1290         TARGET_DEFAULT_NORETURN.
1291
1292 2014-02-19  Tom Tromey  <tromey@redhat.com>
1293
1294         * target-delegates.c: Rebuild.
1295         * target.c (target_flash_erase): Unconditionally delegate.
1296         * target.h (struct target_ops) <to_flash_erase>: Use
1297         TARGET_DEFAULT_NORETURN.
1298
1299 2014-02-19  Tom Tromey  <tromey@redhat.com>
1300
1301         * target-delegates.c: Rebuild.
1302         * target.c (target_get_section_table): Unconditionally delegate.
1303         * target.h (struct target_ops) <to_get_section_table>: Use
1304         TARGET_DEFAULT_RETURN.
1305
1306 2014-02-19  Tom Tromey  <tromey@redhat.com>
1307
1308         * target-delegates.c: Rebuild.
1309         * target.c (target_pid_to_str): Unconditionally delegate.
1310         (init_dummy_target): Don't initialize to_pid_to_str.
1311         (default_pid_to_str): Rename from dummy_pid_to_str.
1312         * target.h (struct target_ops) <to_pid_to_str>: Use
1313         TARGET_DEFAULT_FUNC.
1314
1315 2014-02-19  Tom Tromey  <tromey@redhat.com>
1316
1317         * target-delegates.c: Rebuild.
1318         * target.c (target_find_new_threads): Unconditionally delegate.
1319         * target.h (struct target_ops) <to_find_new_threads>: Use
1320         TARGET_DEFAULT_RETURN.
1321
1322 2014-02-19  Tom Tromey  <tromey@redhat.com>
1323
1324         * target-delegates.c: Rebuild.
1325         * target.c (target_program_signals): Unconditionally delegate.
1326         * target.h (struct target_ops) <to_program_signals>: Use
1327         TARGET_DEFAULT_IGNORE.
1328
1329 2014-02-19  Tom Tromey  <tromey@redhat.com>
1330
1331         * target-delegates.c: Rebuild.
1332         * target.c (target_pass_signals): Unconditionally delegate.
1333         * target.h (struct target_ops) <to_pass_signals>: Use
1334         TARGET_DEFAULT_IGNORE.
1335
1336 2014-02-19  Tom Tromey  <tromey@redhat.com>
1337
1338         * target-delegates.c: Rebuild.
1339         * target.c (default_mourn_inferior): New function.
1340         (target_mourn_inferior): Unconditionally delegate.
1341         * target.h (struct target_ops) <to_mourn_inferior>: Use
1342         TARGET_DEFAULT_FUNC.
1343
1344 2014-02-19  Tom Tromey  <tromey@redhat.com>
1345
1346         * target-delegates.c: Rebuild.
1347         * target.c (default_follow_fork): New function.
1348         (target_follow_fork): Unconditionally delegate.
1349         * target.h (struct target_ops) <to_follow_fork>: Use
1350         TARGET_DEFAULT_FUNC.
1351
1352 2014-02-19  Tom Tromey  <tromey@redhat.com>
1353
1354         * target-delegates.c: Rebuild.
1355         * target.c (target_kill): Unconditionally delegate.
1356         * target.h (struct target_ops) <to_kill>: Use
1357         TARGET_DEFAULT_NORETURN.
1358
1359 2014-02-19  Tom Tromey  <tromey@redhat.com>
1360
1361         * target-delegates.c: Rebuild.
1362         * target.c (target_masked_watch_num_registers): Unconditionally
1363         delegate.
1364         * target.h (struct target_ops) <to_masked_watch_num_registers>:
1365         Use TARGET_DEFAULT_RETURN.
1366
1367 2014-02-19  Tom Tromey  <tromey@redhat.com>
1368
1369         * target-delegates.c: Rebuild.
1370         * target.c (target_remove_mask_watchpoint): Unconditionally
1371         delegate.
1372         * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
1373         TARGET_DEFAULT_RETURN.
1374
1375 2014-02-19  Tom Tromey  <tromey@redhat.com>
1376
1377         * target-delegates.c: Rebuild.
1378         * target.c (target_insert_mask_watchpoint): Unconditionally
1379         delegate.
1380         * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
1381         TARGET_DEFAULT_RETURN.
1382
1383 2014-02-19  Tom Tromey  <tromey@redhat.com>
1384
1385         * target-delegates.c: Rebuild.
1386         * target.c (target_ranged_break_num_registers): Unconditionally
1387         delegate.
1388         * target.h (struct target_ops) <to_ranged_break_num_registers>:
1389         Use TARGET_DEFAULT_RETURN.
1390
1391 2014-02-19  Tom Tromey  <tromey@redhat.com>
1392
1393         * target-delegates.c: Rebuild.
1394         * target.c (target_fetch_registers): Unconditionally delegate.
1395         * target.h (struct target_ops) <to_fetch_registers>: Use
1396         TARGET_DEFAULT_NORETURN.
1397
1398 2014-02-19  Tom Tromey  <tromey@redhat.com>
1399
1400         * target-delegates.c: Rebuild.
1401         * target.c (update_current_target): Don't inherit or default
1402         to_stop.
1403         * target.h (struct target_ops) <to_stop>: Use
1404         TARGET_DEFAULT_IGNORE.
1405
1406 2014-02-19  Tom Tromey  <tromey@redhat.com>
1407
1408         * target-delegates.c: Rebuild.
1409         * target.c (update_current_target): Don't inherit or default
1410         to_can_run_breakpoint_commands.
1411         * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
1412         Use TARGET_DEFAULT_RETURN.
1413
1414 2014-02-19  Tom Tromey  <tromey@redhat.com>
1415
1416         * target-delegates.c: Rebuild.
1417         * target.c (update_current_target): Don't inherit or default
1418         to_supports_evaluation_of_breakpoint_conditions.
1419         * target.h (struct target_ops)
1420         <to_supports_evaluation_of_breakpoint_conditions>: Use
1421         TARGET_DEFAULT_RETURN.
1422
1423 2014-02-19  Tom Tromey  <tromey@redhat.com>
1424
1425         * target-delegates.c: Rebuild.
1426         * target.c (update_current_target): Don't inherit or default
1427         to_augmented_libraries_svr4_read.
1428         * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
1429         Use TARGET_DEFAULT_RETURN.
1430
1431 2014-02-19  Tom Tromey  <tromey@redhat.com>
1432
1433         * target-delegates.c: Rebuild.
1434         * target.c (update_current_target): Don't inherit or default
1435         to_can_use_agent.
1436         * target.h (struct target_ops) <to_can_use_agent>: Use
1437         TARGET_DEFAULT_RETURN.
1438
1439 2014-02-19  Tom Tromey  <tromey@redhat.com>
1440
1441         * target-delegates.c: Rebuild.
1442         * target.c (update_current_target): Don't inherit or default
1443         to_use_agent.
1444         * target.h (struct target_ops) <to_use_agent>: Use
1445         TARGET_DEFAULT_NORETURN.
1446
1447 2014-02-19  Tom Tromey  <tromey@redhat.com>
1448
1449         * target-delegates.c: Rebuild.
1450         * target.c (update_current_target): Don't inherit or default
1451         to_traceframe_info.
1452         (return_null): Remove.
1453         * target.h (struct target_ops) <to_traceframe_info>: Use
1454         TARGET_DEFAULT_RETURN.
1455
1456 2014-02-19  Tom Tromey  <tromey@redhat.com>
1457
1458         * target-delegates.c: Rebuild.
1459         * target.c (update_current_target): Don't inherit or default
1460         to_static_tracepoint_markers_by_strid.
1461         * target.h (struct target_ops)
1462         <to_static_tracepoint_markers_by_strid>: Use
1463         TARGET_DEFAULT_NORETURN.
1464
1465 2014-02-19  Tom Tromey  <tromey@redhat.com>
1466
1467         * target-delegates.c: Rebuild.
1468         * target.c (update_current_target): Don't inherit or default
1469         to_static_tracepoint_marker_at.
1470         * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
1471         Use TARGET_DEFAULT_RETURN.
1472
1473 2014-02-19  Tom Tromey  <tromey@redhat.com>
1474
1475         * target-delegates.c: Rebuild.
1476         * target.c (update_current_target): Don't inherit or default
1477         to_set_permissions.
1478         * target.h (struct target_ops) <to_set_permissions>: Use
1479         TARGET_DEFAULT_IGNORE.
1480
1481 2014-02-19  Tom Tromey  <tromey@redhat.com>
1482
1483         * target-delegates.c: Rebuild.
1484         * target.c (update_current_target): Don't inherit or default
1485         to_get_tib_address.
1486         * target.h (struct target_ops) <to_get_tib_address>: Use
1487         TARGET_DEFAULT_NORETURN.
1488
1489 2014-02-19  Tom Tromey  <tromey@redhat.com>
1490
1491         * target-delegates.c: Rebuild.
1492         * target.c (update_current_target): Don't inherit or default
1493         to_set_trace_notes.
1494         * target.h (struct target_ops) <to_set_trace_notes>: Use
1495         TARGET_DEFAULT_RETURN.
1496
1497 2014-02-19  Tom Tromey  <tromey@redhat.com>
1498
1499         * target-delegates.c: Rebuild.
1500         * target.c (update_current_target): Don't initialize
1501         to_set_trace_buffer_size.
1502         * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
1503         TARGET_DEFAULT_IGNORE.
1504
1505 2014-02-19  Tom Tromey  <tromey@redhat.com>
1506
1507         * target-delegates.c: Rebuild.
1508         * target.c (update_current_target): Don't inherit or default
1509         to_set_circular_trace_buffer.
1510         * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
1511         TARGET_DEFAULT_IGNORE.
1512
1513 2014-02-19  Tom Tromey  <tromey@redhat.com>
1514
1515         * target-delegates.c: Rebuild.
1516         * target.c (update_current_target): Don't inherit or default
1517         to_set_disconnected_tracing.
1518         * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
1519         TARGET_DEFAULT_IGNORE.
1520
1521 2014-02-19  Tom Tromey  <tromey@redhat.com>
1522
1523         * target-delegates.c: Rebuild.
1524         * target.c (update_current_target): Don't inherit or default
1525         to_get_min_fast_tracepoint_insn_len.
1526         (return_minus_one): Remove.
1527         * target.h (struct target_ops)
1528         <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
1529
1530 2014-02-19  Tom Tromey  <tromey@redhat.com>
1531
1532         * target-delegates.c: Rebuild.
1533         * target.c (update_current_target): Don't inherit or default
1534         to_get_raw_trace_data.
1535         * target.h (struct target_ops) <to_get_raw_trace_data>: Use
1536         TARGET_DEFAULT_NORETURN.
1537
1538 2014-02-19  Tom Tromey  <tromey@redhat.com>
1539
1540         * target-delegates.c: Rebuild.
1541         * target.c (update_current_target): Don't inherit or default
1542         to_upload_trace_state_variables.
1543         * target.h (struct target_ops) <to_upload_trace_state_variables>:
1544         Use TARGET_DEFAULT_RETURN.
1545
1546 2014-02-19  Tom Tromey  <tromey@redhat.com>
1547
1548         * target-delegates.c: Rebuild.
1549         * target.c (update_current_target): Don't inherit or default
1550         to_upload_tracepoints.
1551         * target.h (struct target_ops) <to_upload_tracepoints>: Use
1552         TARGET_DEFAULT_RETURN.
1553
1554 2014-02-19  Tom Tromey  <tromey@redhat.com>
1555
1556         * target-delegates.c: Rebuild.
1557         * target.c (update_current_target): Don't inherit or default
1558         to_save_trace_data.
1559         * target.h (struct target_ops) <to_save_trace_data>: Use
1560         TARGET_DEFAULT_NORETURN.
1561
1562 2014-02-19  Tom Tromey  <tromey@redhat.com>
1563
1564         * target-delegates.c: Rebuild.
1565         * target.c (update_current_target): Don't inherit or default
1566         to_get_trace_state_variable_value.
1567         * target.h (struct target_ops)
1568         <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
1569
1570 2014-02-19  Tom Tromey  <tromey@redhat.com>
1571
1572         * target-delegates.c: Rebuild.
1573         * target.c (update_current_target): Don't inherit or default
1574         to_trace_find.
1575         * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
1576
1577 2014-02-19  Tom Tromey  <tromey@redhat.com>
1578
1579         * target-delegates.c: Rebuild.
1580         * target.c (update_current_target): Don't inherit or default
1581         to_trace_stop.
1582         * target.h (struct target_ops) <to_trace_stop>: Use
1583         TARGET_DEFAULT_NORETURN.
1584
1585 2014-02-19  Tom Tromey  <tromey@redhat.com>
1586
1587         * target-delegates.c: Rebuild.
1588         * target.c (update_current_target): Don't inherit or default
1589         to_get_tracepoint_status.
1590         * target.h (struct target_ops) <to_get_tracepoint_status>: Use
1591         TARGET_DEFAULT_NORETURN.
1592
1593 2014-02-19  Tom Tromey  <tromey@redhat.com>
1594
1595         * target-delegates.c: Rebuild.
1596         * target.c (update_current_target): Don't inherit or default
1597         to_get_trace_status.
1598         * target.h (struct target_ops) <to_get_trace_status>: Use
1599         TARGET_DEFAULT_RETURN.
1600
1601 2014-02-19  Tom Tromey  <tromey@redhat.com>
1602
1603         * target-delegates.c: Rebuild.
1604         * target.c (update_current_target): Don't inherit or default
1605         to_trace_start.
1606         * target.h (struct target_ops) <to_trace_start>: Use
1607         TARGET_DEFAULT_NORETURN.
1608
1609 2014-02-19  Tom Tromey  <tromey@redhat.com>
1610
1611         * target-delegates.c: Rebuild.
1612         * target.c (update_current_target): Don't inherit or default
1613         to_trace_set_readonly_regions.
1614         * target.h (struct target_ops) <to_trace_set_readonly_regions>:
1615         Use TARGET_DEFAULT_NORETURN.
1616
1617 2014-02-19  Tom Tromey  <tromey@redhat.com>
1618
1619         * target-delegates.c: Rebuild.
1620         * target.c (update_current_target): Don't inherit or default
1621         to_disable_tracepoint.
1622         * target.h (struct target_ops) <to_disable_tracepoint>: Use
1623         TARGET_DEFAULT_NORETURN.
1624
1625 2014-02-19  Tom Tromey  <tromey@redhat.com>
1626
1627         * target-delegates.c: Rebuild.
1628         * target.c (update_current_target): Don't inherit or default
1629         to_enable_tracepoint.
1630         * target.h (struct target_ops) <to_enable_tracepoint>: Use
1631         TARGET_DEFAULT_NORETURN.
1632
1633 2014-02-19  Tom Tromey  <tromey@redhat.com>
1634
1635         * target-delegates.c: Rebuild.
1636         * target.c (update_current_target): Don't inherit or default
1637         to_download_trace_state_variable.
1638         * target.h (struct target_ops) <to_download_trace_state_variable>:
1639         Use TARGET_DEFAULT_NORETURN.
1640
1641 2014-02-19  Tom Tromey  <tromey@redhat.com>
1642
1643         * target-delegates.c: Rebuild.
1644         * target.c (update_current_target): Don't inherit or default
1645         to_can_download_tracepoint.
1646         * target.h (struct target_ops) <to_can_download_tracepoint>: Use
1647         TARGET_DEFAULT_RETURN.
1648
1649 2014-02-19  Tom Tromey  <tromey@redhat.com>
1650
1651         * target-delegates.c: Rebuild.
1652         * target.c (update_current_target): Don't inherit or default
1653         to_download_tracepoint.
1654         * target.h (struct target_ops) <to_download_tracepoint>: Use
1655         TARGET_DEFAULT_NORETURN.
1656
1657 2014-02-19  Tom Tromey  <tromey@redhat.com>
1658
1659         * target-delegates.c: Rebuild.
1660         * target.c (update_current_target): Don't inherit or default
1661         to_trace_init.
1662         * target.h (struct target_ops) <to_trace_init>: Use
1663         TARGET_DEFAULT_RETURN.
1664
1665 2014-02-19  Tom Tromey  <tromey@redhat.com>
1666
1667         * target-delegates.c: Rebuild.
1668         * target.c (update_current_target): Don't inherit or default
1669         to_supports_string_tracing.
1670         * target.h (struct target_ops) <to_supports_string_tracing>: Use
1671         TARGET_DEFAULT_RETURN.
1672
1673 2014-02-19  Tom Tromey  <tromey@redhat.com>
1674
1675         * target-delegates.c: Rebuild.
1676         * target.c (update_current_target): Don't inherit or default
1677         to_supports_enable_disable_tracepoint.
1678         * target.h (struct target_ops)
1679         <to_supports_enable_disable_tracepoint>: Use
1680         TARGET_DEFAULT_RETURN.
1681
1682 2014-02-19  Tom Tromey  <tromey@redhat.com>
1683
1684         * target-delegates.c: Rebuild.
1685         * target.c (update_current_target): Don't inherit or default
1686         to_supports_multi_process.
1687         * target.h (struct target_ops) <to_supports_multi_process>: Use
1688         TARGET_DEFAULT_RETURN.
1689
1690 2014-02-19  Tom Tromey  <tromey@redhat.com>
1691
1692         * target-delegates.c: Rebuild.
1693         * target.c (update_current_target): Don't inherit or default
1694         to_get_ada_task_ptid.
1695         * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
1696         TARGET_DEFAULT_FUNC.
1697
1698 2014-02-19  Tom Tromey  <tromey@redhat.com>
1699
1700         * target-delegates.c: Rebuild.
1701         * target.c (update_current_target): Don't inherit or default
1702         to_thread_architecture.
1703         * target.h (struct target_ops) <to_thread_architecture>: Use
1704         TARGET_DEFAULT_FUNC.
1705
1706 2014-02-19  Tom Tromey  <tromey@redhat.com>
1707
1708         * target-delegates.c: Rebuild.
1709         * target.c (update_current_target): Don't inherit or default
1710         to_execution_direction.
1711         * target.h (struct target_ops) <to_execution_direction>: Use
1712         TARGET_DEFAULT_FUNC.
1713
1714 2014-02-19  Tom Tromey  <tromey@redhat.com>
1715
1716         * target-delegates.c: Rebuild.
1717         * target.c (update_current_target): Don't inherit or default
1718         to_can_execute_reverse.
1719         * target.h (struct target_ops) <to_can_execute_reverse>: Use
1720         TARGET_DEFAULT_RETURN.
1721         (target_can_execute_reverse): Unconditionally delegate.
1722
1723 2014-02-19  Tom Tromey  <tromey@redhat.com>
1724
1725         * target-delegates.c: Rebuild.
1726         * target.c (update_current_target): Don't inherit or default
1727         to_goto_bookmark.
1728         (dummy_goto_bookmark): Remove.
1729         (init_dummy_target): Don't inherit or default to_goto_bookmark.
1730         * target.h (struct target_ops) <to_goto_bookmark>: Use
1731         TARGET_DEFAULT_NORETURN.
1732
1733 2014-02-19  Tom Tromey  <tromey@redhat.com>
1734
1735         * target-delegates.c: Rebuild.
1736         * target.c (update_current_target): Don't inherit or default
1737         to_get_bookmark.
1738         (dummy_get_bookmark): Remove.
1739         (init_dummy_target): Don't inherit or default to_get_bookmark.
1740         * target.h (struct target_ops) <to_get_bookmark>: Use
1741         TARGET_DEFAULT_NORETURN
1742
1743 2014-02-19  Tom Tromey  <tromey@redhat.com>
1744
1745         * target-delegates.c: Rebuild.
1746         * target.c (update_current_target): Don't inherit or default
1747         to_make_corefile_notes.
1748         (init_dummy_target): Don't initialize to_make_corefile_notes.
1749         * target.h (struct target_ops) <to_make_corefile_notes>: Use
1750         TARGET_DEFAULT_FUNC.
1751
1752 2014-02-19  Tom Tromey  <tromey@redhat.com>
1753
1754         * target-delegates.c: Rebuild.
1755         * target.c (update_current_target): Don't inherit or default
1756         to_find_memory_regions.
1757         (init_dummy_target): Don't initialize to_find_memory_regions.
1758         * target.h (struct target_ops) <to_find_memory_regions>: Use
1759         TARGET_DEFAULT_FUNC.
1760
1761 2014-02-19  Tom Tromey  <tromey@redhat.com>
1762
1763         * target-delegates.c: Rebuild.
1764         * target.c (update_current_target): Don't inherit or default
1765         to_log_command.
1766         * target.h (struct target_ops) <to_log_command>: Use
1767         TARGET_DEFAULT_IGNORE.
1768         (target_log_command): Unconditionally delegate.
1769
1770 2014-02-19  Tom Tromey  <tromey@redhat.com>
1771
1772         * target-delegates.c: Rebuild.
1773         * target.c (update_current_target): Don't inherit or default
1774         to_pid_to_exec_file.
1775         * target.h (struct target_ops) <to_pid_to_exec_file>: Use
1776         TARGET_DEFAULT_RETURN.
1777
1778 2014-02-19  Tom Tromey  <tromey@redhat.com>
1779
1780         * target-delegates.c: Rebuild.
1781         * target.c (update_current_target): Don't inherit or default
1782         to_thread_name.
1783         (target_thread_name): Unconditionally delegate.
1784         * target.h (struct target_ops) <to_thread_name>: Use
1785         TARGET_DEFAULT_RETURN.
1786
1787 2014-02-19  Tom Tromey  <tromey@redhat.com>
1788
1789         * target-delegates.c: Rebuild.
1790         * target.c (update_current_target): Don't inherit or default
1791         to_extra_thread_info.
1792         * target.h (struct target_ops) <to_extra_thread_info>: Use
1793         TARGET_DEFAULT_RETURN.
1794
1795 2014-02-19  Tom Tromey  <tromey@redhat.com>
1796
1797         * target-delegates.c: Rebuild.
1798         * target.c (update_current_target): Don't inherit or default
1799         to_has_exited.
1800         * target.h (struct target_ops) <to_has_exited>: Use
1801         TARGET_DEFAULT_RETURN..
1802
1803 2014-02-19  Tom Tromey  <tromey@redhat.com>
1804
1805         * target-delegates.c: Rebuild.
1806         * target.c (update_current_target): Don't inherit or default
1807         to_set_syscall_catchpoint.
1808         (return_one): Remove.
1809         * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
1810         TARGET_DEFAULT_RETURN.
1811
1812 2014-02-19  Tom Tromey  <tromey@redhat.com>
1813
1814         * target-delegates.c: Rebuild.
1815         * target.c (update_current_target): Don't inherit or default
1816         to_insert_exec_catchpoint.
1817         * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1818         TARGET_DEFAULT_RETURN.
1819
1820 2014-01-08  Tom Tromey  <tromey@redhat.com>
1821
1822         * target-delegates.c: Rebuild.
1823         * target.c (update_current_target): Don't inherit or default
1824         to_insert_exec_catchpoint.
1825         * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
1826         TARGET_DEFAULT_RETURN.
1827
1828 2014-02-19  Tom Tromey  <tromey@redhat.com>
1829
1830         * target-delegates.c: Rebuild.
1831         * target.c (update_current_target): Don't inherit or default
1832         to_remove_vfork_catchpoint.
1833         * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
1834         TARGET_DEFAULT_RETURN.
1835
1836 2014-02-19  Tom Tromey  <tromey@redhat.com>
1837
1838         * target-delegates.c: Rebuild.
1839         * target.c (update_current_target): Don't inherit or default
1840         to_insert_vfork_catchpoint.
1841         * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
1842         TARGET_DEFAULT_RETURN.
1843
1844 2014-02-19  Tom Tromey  <tromey@redhat.com>
1845
1846         * target-delegates.c: Rebuild.
1847         * target.c (update_current_target): Don't inherit or default
1848         to_remove_fork_catchpoint.
1849         * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
1850         TARGET_DEFAULT_RETURN.
1851
1852 2014-02-19  Tom Tromey  <tromey@redhat.com>
1853
1854         * target-delegates.c: Rebuild.
1855         * target.c (update_current_target): Don't inherit or default
1856         to_insert_fork_catchpoint.
1857         * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
1858         TARGET_DEFAULT_RETURN.
1859
1860 2014-02-19  Tom Tromey  <tromey@redhat.com>
1861
1862         * target-delegates.c: Rebuild.
1863         * target.c (update_current_target): Don't inherit or default
1864         to_post_startup_inferior.
1865         * target.h (struct target_ops) <to_post_startup_inferior>: Use
1866         TARGET_DEFAULT_IGNORE.
1867
1868 2014-02-19  Tom Tromey  <tromey@redhat.com>
1869
1870         * target-delegates.c: Rebuild.
1871         * target.c (update_current_target): Don't inherit or default
1872         to_load.
1873         * target.h (struct target_ops) <to_load>: Use
1874         TARGET_DEFAULT_NORETURN.
1875
1876 2014-02-19  Tom Tromey  <tromey@redhat.com>
1877
1878         * target-delegates.c: Rebuild.
1879         * target.c (update_current_target): Don't inherit or default
1880         to_terminal_info.
1881         * target.h (struct target_ops) <to_terminal_info>: Use
1882         TARGET_DEFAULT_FUNC.
1883
1884 2014-02-19  Tom Tromey  <tromey@redhat.com>
1885
1886         * target-delegates.c: Rebuild.
1887         * target.c (update_current_target): Don't inherit or default
1888         to_terminal_save_ours.
1889         * target.h (struct target_ops) <to_terminal_save_ours>: Use
1890         TARGET_DEFAULT_IGNORE.
1891
1892 2014-02-19  Tom Tromey  <tromey@redhat.com>
1893
1894         * target-delegates.c: Rebuild.
1895         * target.c (update_current_target): Don't inherit or default
1896         to_terminal_ours.
1897         * target.h (struct target_ops) <to_terminal_ours>: Use
1898         TARGET_DEFAULT_IGNORE.
1899
1900 2014-02-19  Tom Tromey  <tromey@redhat.com>
1901
1902         * target-delegates.c: Rebuild.
1903         * target.c (update_current_target): Don't inherit or default
1904         to_terminal_ours_for_output.
1905         * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
1906         TARGET_DEFAULT_IGNORE.
1907
1908 2014-02-19  Tom Tromey  <tromey@redhat.com>
1909
1910         * target-delegates.c: Rebuild.
1911         * target.c (update_current_target): Don't inherit or default
1912         to_terminal_inferior.
1913         * target.h (struct target_ops) <to_terminal_inferior>: Use
1914         TARGET_DEFAULT_IGNORE.
1915
1916 2014-02-19  Tom Tromey  <tromey@redhat.com>
1917
1918         * target-delegates.c: Rebuild.
1919         * target.c (update_current_target): Don't inherit or default
1920         to_terminal_init.
1921         * target.h (struct target_ops) <to_terminal_init>: Use
1922         TARGET_DEFAULT_IGNORE.
1923
1924 2014-02-19  Tom Tromey  <tromey@redhat.com>
1925
1926         * target-delegates.c: Rebuild.
1927         * target.c (update_current_target): Don't inherit or default
1928         to_can_accel_watchpoint_condition.
1929         * target.h (struct target_ops)
1930         <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
1931
1932 2014-02-19  Tom Tromey  <tromey@redhat.com>
1933
1934         * target-delegates.c: Rebuild.
1935         * target.c (update_current_target): Don't inherit or default
1936         to_region_ok_for_hw_watchpoint.
1937         * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1938         Use TARGET_DEFAULT_FUNC.
1939
1940 2014-02-19  Tom Tromey  <tromey@redhat.com>
1941
1942         * target-delegates.c: Rebuild.
1943         * target.c (update_current_target): Don't inherit or default
1944         to_watchpoint_addr_within_range.
1945         * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
1946         Use TARGET_DEFAULT_FUNC.
1947
1948 2014-02-19  Tom Tromey  <tromey@redhat.com>
1949
1950         * target-delegates.c: Rebuild.
1951         * target.c (update_current_target): Don't inherit or default
1952         to_remove_watchpoint.
1953         * target.h (struct target_ops) <to_remove_watchpoint>: Use
1954         TARGET_DEFAULT_NORETURN.
1955
1956 2014-02-19  Tom Tromey  <tromey@redhat.com>
1957
1958         * target-delegates.c: Rebuild.
1959         * target.c (update_current_target): Don't inherit or default
1960         to_insert_watchpoint.
1961         * target.h (struct target_ops) <to_insert_watchpoint>: Use
1962         TARGET_DEFAULT_RETURN.
1963
1964 2014-02-19  Tom Tromey  <tromey@redhat.com>
1965
1966         * target-delegates.c: Rebuild.
1967         * target.c (update_current_target): Don't inherit or default
1968         to_remove_hw_breakpoint.
1969         * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
1970         TARGET_DEFAULT_RETURN.
1971
1972 2014-02-19  Tom Tromey  <tromey@redhat.com>
1973
1974         * target-delegates.c: Rebuild.
1975         * target.c (update_current_target): Don't inherit or default
1976         to_insert_hw_breakpoint.
1977         * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
1978         TARGET_DEFAULT_RETURN.
1979
1980 2014-02-19  Tom Tromey  <tromey@redhat.com>
1981
1982         * target-delegates.c: Rebuild.
1983         * target.c (update_current_target): Don't inherit or default
1984         to_can_use_hw_breakpoint.
1985         * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
1986         TARGET_DEFAULT_RETURN.
1987
1988 2014-02-19  Tom Tromey  <tromey@redhat.com>
1989
1990         * target-delegates.c: Rebuild.
1991         * target.c (update_current_target): Don't inherit or default
1992         to_files_info.
1993         * target.h (struct target_ops) <to_files_info>: Use
1994         TARGET_DEFAULT_IGNORE.
1995
1996 2014-02-19  Tom Tromey  <tromey@redhat.com>
1997
1998         * target-delegates.c: Rebuild.
1999         * target.c (update_current_target): Don't inherit or default
2000         to_store.
2001         * target.h (struct target_ops) <to_store>: Use
2002         TARGET_DEFAULT_NORETURN.
2003
2004 2014-02-19  Tom Tromey  <tromey@redhat.com>
2005
2006         * target-delegates.c: Rebuild.
2007         * target.c (update_current_target): Don't inherit or default
2008         to_post_attach.
2009         * target.h (struct target_ops) <to_post_attach>: Use
2010         TARGET_DEFAULT_IGNORE.
2011
2012 2014-02-19  Tom Tromey  <tromey@redhat.com>
2013
2014         * target-delegates.c: Rebuild.
2015         * target.c (update_current_target): Don't inherit or default
2016         to_rcmd.
2017         (default_rcmd): New function.
2018         (do_monitor_command): Unconditionally delegate.
2019         * target.h (struct target_ops) <to_rmcd>: Use
2020         TARGET_DEFAULT_FUNC.
2021
2022 2014-02-19  Tom Tromey  <tromey@redhat.com>
2023
2024         * target-delegates.c: Rebuild.
2025         * target.c (init_dummy_target): Don't initialize to_attach.
2026         (target_attach): Unconditionally delegate.
2027         * target.h (struct target_ops) <to_attach>: Use
2028         TARGET_DEFAULT_FUNC.
2029
2030 2014-02-19  Tom Tromey  <tromey@redhat.com>
2031
2032         * target-delegates.c: Rebuild.
2033         * target.c (target_detach): Unconditionally delegate.
2034         (init_dummy_target): Don't initialize to_detach.
2035         * target.h (struct target_ops) <to_detach>: Use
2036         TARGET_DEFAULT_IGNORE.
2037
2038 2014-02-19  Tom Tromey  <tromey@redhat.com>
2039
2040         * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
2041         Add argument.
2042         (target_augmented_libraries_svr4_read): Add argument.
2043         * target.c (update_current_target): Update.
2044         * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
2045         argument.
2046
2047 2014-02-19  Tom Tromey  <tromey@redhat.com>
2048
2049         * target.h (struct target_ops) <to_call_history_range>: Add
2050         argument.
2051         * target.c (target_call_history_range): Add argument.
2052         * record-btrace.c (record_btrace_call_history_range): Add 'self'
2053         argument.
2054         (record_btrace_call_history_from): Update.
2055
2056 2014-02-19  Tom Tromey  <tromey@redhat.com>
2057
2058         * target.h (struct target_ops) <to_call_history_from>: Add
2059         argument.
2060         * target.c (target_call_history_from): Add argument.
2061         * record-btrace.c (record_btrace_call_history_from): Add 'self'
2062         argument.
2063
2064 2014-02-19  Tom Tromey  <tromey@redhat.com>
2065
2066         * target.h (struct target_ops) <to_call_history>: Add argument.
2067         * target.c (target_call_history): Add argument.
2068         * record-btrace.c (record_btrace_call_history): Add 'self'
2069         argument.
2070
2071 2014-02-19  Tom Tromey  <tromey@redhat.com>
2072
2073         * target.h (struct target_ops) <to_insn_history_range>: Add
2074         argument.
2075         * target.c (target_insn_history_range): Add argument.
2076         * record-btrace.c (record_btrace_insn_history_range): Add 'self'
2077         argument.
2078         (record_btrace_insn_history_from): Update.
2079
2080 2014-02-19  Tom Tromey  <tromey@redhat.com>
2081
2082         * target.h (struct target_ops) <to_insn_history_from>: Add
2083         argument.
2084         * target.c (target_insn_history_from): Add argument.
2085         * record-btrace.c (record_btrace_insn_history_from): Add 'self'
2086         argument.
2087
2088 2014-02-19  Tom Tromey  <tromey@redhat.com>
2089
2090         * target.h (struct target_ops) <to_insn_history>: Add argument.
2091         * target.c (target_insn_history): Add argument.
2092         * record-btrace.c (record_btrace_insn_history): Add 'self'
2093         argument.
2094
2095 2014-02-19  Tom Tromey  <tromey@redhat.com>
2096
2097         * target.h (struct target_ops) <to_goto_record>: Add argument.
2098         * target.c (target_goto_record): Add argument.
2099         * record-full.c (record_full_goto): Add 'self' argument.
2100         * record-btrace.c (record_btrace_goto): Add 'self' argument.
2101
2102 2014-02-19  Tom Tromey  <tromey@redhat.com>
2103
2104         * target.h (struct target_ops) <to_goto_record_end>: Add argument.
2105         * target.c (target_goto_record_end): Add argument.
2106         * record-full.c (record_full_goto_end): Add 'self' argument.
2107         * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
2108
2109 2014-02-19  Tom Tromey  <tromey@redhat.com>
2110
2111         * target.h (struct target_ops) <to_goto_record_begin>: Add
2112         argument.
2113         * target.c (target_goto_record_begin): Add argument.
2114         * record-full.c (record_full_goto_begin): Add 'self' argument.
2115         * record-btrace.c (record_btrace_goto_begin): Add 'self'
2116         argument.
2117
2118 2014-02-19  Tom Tromey  <tromey@redhat.com>
2119
2120         * target.h (struct target_ops) <to_record_is_replaying>: Add
2121         argument.
2122         * target.c (target_record_is_replaying): Add argument.
2123         * record-full.c (record_full_is_replaying): Add 'self' argument.
2124         * record-btrace.c (record_btrace_is_replaying): Add 'self'
2125         argument.
2126         (record_btrace_xfer_partial, record_btrace_store_registers)
2127         (record_btrace_prepare_to_store, record_btrace_resume)
2128         (record_btrace_wait, record_btrace_decr_pc_after_break)
2129         (record_btrace_find_new_threads, record_btrace_thread_alive):
2130         Update.
2131
2132 2014-02-19  Tom Tromey  <tromey@redhat.com>
2133
2134         * target.h (struct target_ops) <to_delete_record>: Add argument.
2135         * target.c (target_delete_record): Add argument.
2136         * record-full.c (record_full_delete): Add 'self' argument.
2137
2138 2014-02-19  Tom Tromey  <tromey@redhat.com>
2139
2140         * target.h (struct target_ops) <to_save_record>: Add argument.
2141         * target.c (target_save_record): Add argument.
2142         * record-full.c (record_full_save): Add 'self' argument.
2143         (record_full_save): Add 'self' argument.
2144
2145 2014-02-19  Tom Tromey  <tromey@redhat.com>
2146
2147         * target.h (struct target_ops) <to_info_record>: Add argument.
2148         * target.c (target_info_record): Add argument.
2149         * record.c (info_record_command): Add argument.
2150         * record-full.c (record_full_info): Add 'self' argument.
2151         * record-btrace.c (record_btrace_info): Add 'self' argument.
2152
2153 2014-02-19  Tom Tromey  <tromey@redhat.com>
2154
2155         * target.h (struct target_ops) <to_stop_recording>: Add argument.
2156         * target.c (target_stop_recording): Add argument.
2157         * record.c (record_stop): Add argument.
2158         * record-btrace.c (record_btrace_stop_recording): Add 'self'
2159         argument.
2160
2161 2014-02-19  Tom Tromey  <tromey@redhat.com>
2162
2163         * target.h (struct target_ops) <to_read_btrace>: Add argument.
2164         * target.c (struct target_ops) <to_read_btrace>: Add argument.
2165         * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
2166         argument.
2167         * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
2168         (_initialize_amd64_linux_nat): Use it.
2169         * i386-linux-nat.c (i386_linux_read_btrace): New function.
2170         (_initialize_i386_linux_nat): Use it.
2171
2172 2014-02-19  Tom Tromey  <tromey@redhat.com>
2173
2174         * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
2175         * target.c (target_teardown_btrace): Add argument.
2176         * remote.c (remote_teardown_btrace): Add 'self' argument.
2177         * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
2178         argument.
2179         * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
2180         argument.
2181
2182 2014-02-19  Tom Tromey  <tromey@redhat.com>
2183
2184         * target.h (struct target_ops) <to_disable_btrace>: Add argument.
2185         * target.c (target_disable_btrace): Add argument.
2186         * remote.c (remote_disable_btrace): Add 'self' argument.
2187         * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
2188         argument.
2189         * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
2190         argument.
2191
2192 2014-02-19  Tom Tromey  <tromey@redhat.com>
2193
2194         * target.h (struct target_ops) <to_enable_btrace>: Add argument.
2195         * target.c (target_enable_btrace): Add argument.
2196         * remote.c (remote_enable_btrace): Add 'self' argument.
2197         * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
2198         argument.
2199         * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
2200         argument.
2201
2202 2014-02-19  Tom Tromey  <tromey@redhat.com>
2203
2204         * target.h (struct target_ops) <to_can_use_agent>: Add argument.
2205         (target_can_use_agent): Add argument.
2206         * target.c (update_current_target): Update.
2207         * remote.c (remote_can_use_agent): Add 'self' argument.
2208         * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
2209
2210 2014-02-19  Tom Tromey  <tromey@redhat.com>
2211
2212         * target.h (struct target_ops) <to_use_agent>: Add argument.
2213         (target_use_agent): Add argument.
2214         * target.c (update_current_target): Update.
2215         * remote.c (remote_use_agent): Add 'self' argument.
2216         * inf-child.c (inf_child_use_agent): Add 'self' argument.
2217
2218 2014-02-19  Tom Tromey  <tromey@redhat.com>
2219
2220         * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
2221         * target.h (struct target_ops) <to_traceframe_info>: Add argument.
2222         (target_traceframe_info): Add argument.
2223         * target.c (update_current_target): Update.
2224         * remote.c (remote_traceframe_info): Add 'self' argument.
2225         * ctf.c (ctf_traceframe_info): Add 'self' argument.
2226
2227 2014-02-19  Tom Tromey  <tromey@redhat.com>
2228
2229         * target.h (target_static_tracepoint_markers_by_strid): Add
2230         argument.
2231         (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
2232         'self' argument.
2233         * target.c (update_current_target): Update.
2234         * remote.c (struct target_ops)
2235         <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2236         * linux-nat.c (struct target_ops)
2237         <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
2238
2239 2014-02-19  Tom Tromey  <tromey@redhat.com>
2240
2241         * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
2242         Add argument.
2243         (target_static_tracepoint_marker_at): Add argument.
2244         * target.c (update_current_target): Update.
2245         * remote.c (remote_static_tracepoint_marker_at): Add 'self'
2246         argument.
2247
2248 2014-02-19  Tom Tromey  <tromey@redhat.com>
2249
2250         * target.h (struct target_ops) <to_set_permissions>: Add argument.
2251         (target_set_permissions): Add argument.
2252         * target.c (update_current_target): Update.
2253         * remote.c (remote_set_permissions): Add 'self' argument.
2254         (remote_start_remote): Update.
2255
2256 2014-02-19  Tom Tromey  <tromey@redhat.com>
2257
2258         * windows-nat.c (windows_get_tib_address): Add 'self' argument.
2259         * target.h (struct target_ops) <to_get_tib_address>: Add argument.
2260         (target_get_tib_address): Add argument.
2261         * target.c (update_current_target): Update.
2262         * remote.c (remote_get_tib_address): Add 'self' argument.
2263
2264 2014-02-19  Tom Tromey  <tromey@redhat.com>
2265
2266         * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
2267         (target_set_trace_notes): Add argument.
2268         * target.c (update_current_target): Update.
2269         * remote.c (remote_set_trace_notes): Add 'self' argument.
2270
2271 2014-02-19  Tom Tromey  <tromey@redhat.com>
2272
2273         * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
2274         argument.
2275         (target_set_trace_buffer_size): Add argument.
2276         * target.c (update_current_target): Update.
2277         * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
2278
2279 2014-02-19  Tom Tromey  <tromey@redhat.com>
2280
2281         * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
2282         argument.
2283         (target_set_circular_trace_buffer): Add argument.
2284         * target.c (update_current_target): Update.
2285         * remote.c (remote_set_circular_trace_buffer): Add 'self'
2286         argument.
2287
2288 2014-02-19  Tom Tromey  <tromey@redhat.com>
2289
2290         * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
2291         argument.
2292         (target_set_disconnected_tracing): Add argument.
2293         * target.c (update_current_target): Update.
2294         * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
2295
2296 2014-02-19  Tom Tromey  <tromey@redhat.com>
2297
2298         * target.h (struct target_ops)
2299         <to_get_min_fast_tracepoint_insn_len>: Add argument.
2300         (target_get_min_fast_tracepoint_insn_len): Add argument.
2301         * target.c (update_current_target): Update.
2302         * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
2303         argument.
2304
2305 2014-02-19  Tom Tromey  <tromey@redhat.com>
2306
2307         * target.h (struct target_ops) <to_get_raw_trace_data>: Add
2308         argument.
2309         (target_get_raw_trace_data): Add argument.
2310         * target.c (update_current_target): Update.
2311         * remote.c (remote_get_raw_trace_data): Add 'self' argument.
2312
2313 2014-02-19  Tom Tromey  <tromey@redhat.com>
2314
2315         * target.h (struct target_ops) <to_upload_trace_state_variables>:
2316         Add argument.
2317         (target_upload_trace_state_variables): Add argument.
2318         * target.c (update_current_target): Update.
2319         * remote.c (remote_upload_trace_state_variables): Add 'self'
2320         argument.
2321         (remote_start_remote): Update.
2322
2323 2014-02-19  Tom Tromey  <tromey@redhat.com>
2324
2325         * target.h (struct target_ops) <to_upload_tracepoints>: Add
2326         argument.
2327         (target_upload_tracepoints): Add argument.
2328         * target.c (update_current_target): Update.
2329         * remote.c (remote_upload_tracepoints): Add 'self' argument.
2330         (remote_start_remote): Update.
2331
2332 2014-02-19  Tom Tromey  <tromey@redhat.com>
2333
2334         * target.h (struct target_ops) <to_save_trace_data>: Add argument.
2335         (target_save_trace_data): Add argument.
2336         * target.c (update_current_target): Update.
2337         * remote.c (remote_save_trace_data): Add 'self' argument.
2338
2339 2014-02-19  Tom Tromey  <tromey@redhat.com>
2340
2341         * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
2342         argument.
2343         * target.h (struct target_ops)
2344         <to_get_trace_state_variable_value>: Add argument.
2345         (target_get_trace_state_variable_value): Add argument.
2346         * target.c (update_current_target): Update.
2347         * remote.c (remote_get_trace_state_variable_value): Add 'self'
2348         argument.
2349         * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
2350
2351 2014-02-19  Tom Tromey  <tromey@redhat.com>
2352
2353         * tracepoint.c (tfile_trace_find): Add 'self' argument.
2354         * target.h (struct target_ops) <to_trace_find>: Add argument.
2355         (target_trace_find): Add argument.
2356         * target.c (update_current_target): Update.
2357         * remote.c (remote_trace_find): Add 'self' argument.
2358         * ctf.c (ctf_trace_find): Add 'self' argument.
2359
2360 2014-02-19  Tom Tromey  <tromey@redhat.com>
2361
2362         * target.h (struct target_ops) <to_trace_stop>: Add argument.
2363         (target_trace_stop): Add argument.
2364         * target.c (update_current_target): Update.
2365         * remote.c (remote_trace_stop): Add 'self' argument.
2366
2367 2014-02-19  Tom Tromey  <tromey@redhat.com>
2368
2369         * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
2370         * target.h (struct target_ops) <to_get_tracepoint_status>: Add
2371         argument.
2372         (target_get_tracepoint_status): Add argument.
2373         * target.c (update_current_target): Update.
2374         * remote.c (remote_get_tracepoint_status): Add 'self' argument.
2375
2376 2014-02-19  Tom Tromey  <tromey@redhat.com>
2377
2378         * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
2379         * target.h (struct target_ops) <to_get_trace_status>: Add
2380         argument.
2381         (target_get_trace_status): Add argument.
2382         * target.c (update_current_target): Update.
2383         * remote.c (remote_get_trace_status): Add 'self' argument.
2384         (remote_start_remote, remote_can_download_tracepoint): Update.
2385         * ctf.c (ctf_get_trace_status): Add 'self' argument.
2386
2387 2014-02-19  Tom Tromey  <tromey@redhat.com>
2388
2389         * target.h (struct target_ops) <to_trace_start>: Add argument.
2390         (target_trace_start): Add argument.
2391         * target.c (update_current_target): Update.
2392         * remote.c (remote_trace_start): Add 'self' argument.
2393
2394 2014-02-19  Tom Tromey  <tromey@redhat.com>
2395
2396         * target.h (struct target_ops) <to_trace_set_readonly_regions>:
2397         Add argument.
2398         (target_trace_set_readonly_regions): Add argument.
2399         * target.c (update_current_target): Update.
2400         * remote.c (remote_trace_set_readonly_regions): Add 'self'
2401         argument.
2402
2403 2014-02-19  Tom Tromey  <tromey@redhat.com>
2404
2405         * target.h (struct target_ops) <to_disable_tracepoint>: Add
2406         argument.
2407         (target_disable_tracepoint): Add argument.
2408         * target.c (update_current_target): Update.
2409         * remote.c (remote_disable_tracepoint): Add 'self' argument.
2410
2411 2014-02-19  Tom Tromey  <tromey@redhat.com>
2412
2413         * target.h (struct target_ops) <to_enable_tracepoint>: Add
2414         argument.
2415         (target_enable_tracepoint): Add argument.
2416         * target.c (update_current_target): Update.
2417         * remote.c (remote_enable_tracepoint): Add 'self' argument.
2418
2419 2014-02-19  Tom Tromey  <tromey@redhat.com>
2420
2421         * target.h (struct target_ops) <to_download_trace_state_variable>:
2422         Add argument.
2423         (target_download_trace_state_variable): Add argument.
2424         * target.c (update_current_target): Update.
2425         * remote.c (remote_download_trace_state_variable): Add 'self'
2426         argument.
2427
2428 2014-02-19  Tom Tromey  <tromey@redhat.com>
2429
2430         * target.h (struct target_ops) <to_can_download_tracepoint>: Add
2431         argument.
2432         (target_can_download_tracepoint): Add argument.
2433         * target.c (update_current_target): Update.
2434         * remote.c (remote_can_download_tracepoint): Add 'self' argument.
2435
2436 2014-02-19  Tom Tromey  <tromey@redhat.com>
2437
2438         * target.h (struct target_ops) <to_download_tracepoint>: Add
2439         argument.
2440         (target_download_tracepoint): Add argument.
2441         * target.c (update_current_target): Update.
2442         * remote.c (remote_download_tracepoint): Add 'self' argument.
2443
2444 2014-02-19  Tom Tromey  <tromey@redhat.com>
2445
2446         * target.h (struct target_ops) <to_trace_init>: Add argument.
2447         (target_trace_init): Add argument.
2448         * target.c (update_current_target): Update.
2449         * remote.c (remote_trace_init): Add 'self' argument.
2450
2451 2014-02-19  Tom Tromey  <tromey@redhat.com>
2452
2453         * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
2454         * target.c (target_fileio_readlink): Add argument.
2455         * remote.c (remote_hostio_readlink): Add 'self' argument.
2456         * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
2457
2458 2014-02-19  Tom Tromey  <tromey@redhat.com>
2459
2460         * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
2461         * target.c (target_fileio_unlink): Add argument.
2462         * remote.c (remote_hostio_unlink): Add 'self' argument.
2463         (remote_file_delete): Update.
2464         * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
2465
2466 2014-02-19  Tom Tromey  <tromey@redhat.com>
2467
2468         * target.h (struct target_ops) <to_fileio_close>: Add argument.
2469         * target.c (target_fileio_close): Add argument.
2470         * remote.c (remote_hostio_close): Add 'self' argument.
2471         (remote_hostio_close_cleanup): Update.
2472         (remote_bfd_iovec_close, remote_file_put, remote_file_get):
2473         Update.
2474         * inf-child.c (inf_child_fileio_close): Add 'self' argument.
2475
2476 2014-02-19  Tom Tromey  <tromey@redhat.com>
2477
2478         * target.h (struct target_ops) <to_fileio_pread>: Add argument.
2479         * target.c (target_fileio_pread): Add argument.
2480         * remote.c (remote_hostio_pread): Add 'self' argument.
2481         (remote_bfd_iovec_pread, remote_file_get): Update.
2482         * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
2483
2484 2014-02-19  Tom Tromey  <tromey@redhat.com>
2485
2486         * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
2487         * target.c (target_fileio_pwrite): Add argument.
2488         * remote.c (remote_hostio_pwrite): Add 'self' argument.
2489         (remote_file_put): Update.
2490         * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
2491
2492 2014-02-19  Tom Tromey  <tromey@redhat.com>
2493
2494         * target.h (struct target_ops) <to_fileio_open>: Add argument.
2495         * target.c (target_fileio_open): Add argument.
2496         * remote.c (remote_hostio_open): Add 'self' argument.
2497         (remote_bfd_iovec_open): Add 'self' argument.
2498         (remote_file_put): Add 'self' argument.
2499         (remote_file_get): Add 'self' argument.
2500         * inf-child.c (inf_child_fileio_open): Add 'self' argument.
2501
2502 2014-02-19  Tom Tromey  <tromey@redhat.com>
2503
2504         * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
2505         Add argument.
2506         (target_can_run_breakpoint_commands): Add argument.
2507         * target.c (update_current_target): Update.
2508         * remote.c (remote_can_run_breakpoint_commands): Add 'self'
2509         argument.
2510         (remote_insert_breakpoint): Add 'self' argument.
2511         (remote_insert_hw_breakpoint): Add 'self' argument.
2512         (remote_can_run_breakpoint_commands): Add 'self' argument.
2513
2514 2014-02-19  Tom Tromey  <tromey@redhat.com>
2515
2516         * target.h (struct target_ops)
2517         <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
2518         (target_supports_evaluation_of_breakpoint_conditions): Add
2519         argument.
2520         * target.c (update_current_target): Update.
2521         * remote.c (remote_supports_cond_breakpoints): Add 'self'
2522         argument.
2523         (remote_insert_breakpoint): Add 'self' argument.
2524         (remote_insert_hw_breakpoint): Add 'self' argument.
2525         (remote_supports_cond_breakpoints): Add 'self' argument.
2526
2527 2014-02-19  Tom Tromey  <tromey@redhat.com>
2528
2529         * target.h (struct target_ops) <to_supports_string_tracing>: Add
2530         argument.
2531         (target_supports_string_tracing): Add argument.
2532         * target.c (update_current_target): Update.
2533         * remote.c (remote_supports_string_tracing): Add 'self' argument.
2534
2535 2014-02-19  Tom Tromey  <tromey@redhat.com>
2536
2537         * target.h (struct target_ops)
2538         <to_supports_disable_randomization>: Add argument.
2539         * target.c (find_default_supports_disable_randomization): Add
2540         argument.
2541         (target_supports_disable_randomization): Add argument.
2542         (find_default_supports_disable_randomization): Add 'self'
2543         argument.
2544         * remote.c (extended_remote_supports_disable_randomization): Add
2545         'self' argument.
2546         (remote_supports_disable_randomization): Add 'self' argument.
2547         (extended_remote_create_inferior): Update.
2548         * linux-nat.c (linux_nat_supports_disable_randomization): Add
2549         'self' argument.
2550
2551 2014-02-19  Tom Tromey  <tromey@redhat.com>
2552
2553         * target.h (struct target_ops)
2554         <to_supports_enable_disable_tracepoint>: Add argument.
2555         (target_supports_enable_disable_tracepoint): Add argument.
2556         * target.c (update_current_target): Update.
2557         * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
2558         argument.
2559
2560 2014-02-19  Tom Tromey  <tromey@redhat.com>
2561
2562         * target.h (struct target_ops) <to_supports_multi_process>: Add
2563         argument.
2564         (target_supports_multi_process): Add argument.
2565         * target.c (update_current_target): Update.
2566         * remote.c (remote_supports_multi_process): Add 'self' argument.
2567         * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
2568         argument.
2569         * darwin-nat.c (darwin_supports_multi_process): Add 'self'
2570         argument.
2571
2572 2014-02-19  Tom Tromey  <tromey@redhat.com>
2573
2574         * target.h (struct target_ops) <to_execution_direction>: Add
2575         argument.
2576         (target_execution_direction): Add argument.
2577         * target.c (default_execution_direction): Add 'self' argument.
2578         * record-full.c (record_full_execution_direction): Add 'self'
2579         argument.
2580
2581 2014-02-19  Tom Tromey  <tromey@redhat.com>
2582
2583         * target.h (struct target_ops) <to_can_execute_reverse>: Add
2584         argument.
2585         (target_can_execute_reverse): Add argument.
2586         * remote.c (remote_can_execute_reverse): Add 'self' argument.
2587         * record-full.c (record_full_can_execute_reverse): Add 'self'
2588         argument.
2589         * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
2590         argument.
2591
2592 2014-02-19  Tom Tromey  <tromey@redhat.com>
2593
2594         * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
2595         * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
2596         argument.
2597         (target_get_ada_task_ptid): Add argument.
2598         * target.c (update_current_target): Update.
2599         (default_get_ada_task_ptid): Add 'self' argument.
2600         * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
2601         * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
2602         * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
2603         argument.
2604         * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
2605         argument.
2606         * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
2607         argument.
2608         * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
2609         argument.
2610         * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
2611         * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
2612         argument.
2613
2614 2014-02-19  Tom Tromey  <tromey@redhat.com>
2615
2616         * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
2617         (target_goto_bookmark): Add argument.
2618         * target.c (dummy_goto_bookmark): Add 'self' argument.
2619         * record-full.c (record_full_goto_bookmark): Add 'self' argument.
2620
2621 2014-02-19  Tom Tromey  <tromey@redhat.com>
2622
2623         * target.h (struct target_ops) <to_get_bookmark>: Add argument.
2624         (target_get_bookmark): Add argument.
2625         * target.c (dummy_get_bookmark): Add 'self' argument.
2626         * record-full.c (record_full_get_bookmark): Add 'self' argument.
2627
2628 2014-02-19  Tom Tromey  <tromey@redhat.com>
2629
2630         * target.h (struct target_ops) <to_make_corefile_notes>: Add
2631         argument.
2632         (target_make_corefile_notes): Add argument.
2633         * target.c (dummy_make_corefile_notes): Add 'self' argument.
2634         * procfs.c (procfs_make_note_section): Add 'self' argument.
2635         (procfs_make_note_section): Add 'self' argument.
2636         (procfs_make_note_section): Add 'self' argument.
2637         * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
2638         argument.
2639         * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
2640         * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
2641         * exec.c (exec_make_note_section): Add 'self' argument.
2642         (exec_make_note_section): Add 'self' argument.
2643
2644 2014-02-19  Tom Tromey  <tromey@redhat.com>
2645
2646         * target.h (struct target_ops) <to_find_memory_regions>: Add
2647         argument.
2648         (target_find_memory_regions): Add argument.
2649         * target.c (dummy_find_memory_regions): Add 'self' argument.
2650         * procfs.c (proc_find_memory_regions): Add 'self' argument.
2651         * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
2652         * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
2653         * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
2654         * exec. (exec_do_find_memory_regions): New global.
2655         (exec_set_find_memory_regions): Rewrite.
2656         (exec_find_memory_regions): New function.
2657         (init_exec_ops): Use exec_find_memory_regions.
2658
2659 2014-02-19  Tom Tromey  <tromey@redhat.com>
2660
2661         * target.h (struct target_ops) <to_supports_non_stop>: Add
2662         argument.
2663         * target.c (find_default_supports_non_stop): Add argument.
2664         (target_supports_non_stop): Add argument.
2665         (find_default_supports_non_stop): Add 'self' argument.
2666         * remote.c (remote_supports_non_stop): Add 'self' argument.
2667         * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
2668
2669 2014-02-19  Tom Tromey  <tromey@redhat.com>
2670
2671         * target.h (struct target_ops) <to_log_command>: Add argument.
2672         (target_log_command): Add argument.
2673         * serial.h (serial_log_command): Add 'self' argument.
2674         * serial.c (serial_log_command): Add 'self' argument.
2675
2676 2014-02-19  Tom Tromey  <tromey@redhat.com>
2677
2678         * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
2679         * target.h (struct target_ops) <to_pid_to_exec_file>: Add
2680         argument.
2681         (target_pid_to_exec_file): Add argument.
2682         * target.c (debug_to_pid_to_exec_file): Add argument.
2683         (update_current_target): Update.
2684         * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
2685         * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
2686         * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
2687         (linux_handle_extended_wait): Update.
2688         * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
2689         * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
2690         * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
2691         * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
2692
2693 2014-02-19  Tom Tromey  <tromey@redhat.com>
2694
2695         * target.h (struct target_ops) <to_rcmd>: Add argument.
2696         (target_rcmd): Add argument.
2697         * target.c (debug_to_rcmd): Add argument.
2698         (update_current_target, do_monitor_command): Update.
2699         * remote.c (remote_rcmd): Add 'self' argument.
2700         * monitor.c (monitor_rcmd): Add 'self' argument.
2701
2702 2014-02-19  Tom Tromey  <tromey@redhat.com>
2703
2704         * windows-nat.c (windows_stop): Add 'self' argument.
2705         * target.h (struct target_ops) <to_stop>: Add argument.
2706         * target.c (target_stop): Add argument.
2707         (debug_to_stop): Add argument.
2708         (update_current_target): Update.
2709         * remote.c (remote_stop): Add 'self' argument.
2710         * remote-sim.c (gdbsim_stop): Add 'self' argument.
2711         (gdbsim_cntrl_c): Update.
2712         * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
2713         * procfs.c (procfs_stop): Add 'self' argument.
2714         * nto-procfs.c (procfs_stop): Add 'self' argument.
2715         * monitor.c (monitor_stop): Add 'self' argument.
2716         (monitor_open): Update.
2717         * linux-nat.c (linux_nat_stop): Add argument.
2718         * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
2719         * gnu-nat.c (gnu_stop): Add 'self' argument.
2720         * darwin-nat.c (darwin_stop): Add 'self' argument.
2721
2722 2014-02-19  Tom Tromey  <tromey@redhat.com>
2723
2724         * target.h (struct target_ops) <to_thread_name>: Add argument.
2725         * target.c (target_thread_name): Add argument.
2726         (update_current_target): Update.
2727         * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
2728
2729 2014-02-19  Tom Tromey  <tromey@redhat.com>
2730
2731         * target.h (struct target_ops) <to_extra_thread_info>: Add
2732         argument.
2733         (target_extra_thread_info): Add argument.
2734         * target.c (update_current_target): Update.
2735         * remote.c (remote_threads_extra_info): Add 'self' argument.
2736         * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
2737         argument.
2738         * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
2739         * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
2740         * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
2741         argument.
2742         * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
2743         argument.
2744         * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
2745         argument.
2746         * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
2747         argument.
2748
2749 2014-02-19  Tom Tromey  <tromey@redhat.com>
2750
2751         * target.h (struct target_ops) <to_program_signals>: Add argument.
2752         * target.c (target_program_signals): Add argument.
2753         * remote.c (remote_program_signals): Add 'self' argument.
2754
2755 2014-02-19  Tom Tromey  <tromey@redhat.com>
2756
2757         * target.h (struct target_ops) <to_pass_signals>: Add argument.
2758         * target.c (target_pass_signals): Add argument.
2759         * remote.c (remote_pass_signals): Add 'self' argument.
2760         (remote_start_remote): Update.
2761         * procfs.c (procfs_pass_signals): Add 'self' argument.
2762         * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
2763         * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
2764         (linux_nat_create_inferior, linux_nat_attach): Update.
2765
2766 2014-02-19  Tom Tromey  <tromey@redhat.com>
2767
2768         * windows-nat.c (windows_can_run): Add 'self' argument.
2769         * target.h (struct target_ops) <to_can_run>: Add argument.
2770         (target_can_run): Add argument.
2771         * target.c (debug_to_can_run): Add argument.
2772         (update_current_target): Update.
2773         * nto-procfs.c (procfs_can_run): Add 'self' argument.
2774         * inf-child.c (inf_child_can_run): Add 'self' argument.
2775         * go32-nat.c (go32_can_run): Add 'self' argument.
2776
2777 2014-02-19  Tom Tromey  <tromey@redhat.com>
2778
2779         * target.h (struct target_ops) <to_has_exited>: Add argument.
2780         (target_has_exited): Add argument.
2781         * target.c (debug_to_has_exited): Add argument.
2782         (update_current_target): Update.
2783
2784 2014-02-19  Tom Tromey  <tromey@redhat.com>
2785
2786         * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
2787         argument.
2788         (target_set_syscall_catchpoint): Add argument.
2789         * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
2790         argument.
2791         * target.c (update_current_target): Update.
2792
2793 2014-02-19  Tom Tromey  <tromey@redhat.com>
2794
2795         * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
2796         argument.
2797         (target_remove_exec_catchpoint): Add argument.
2798         * target.c (debug_to_remove_exec_catchpoint): Add argument.
2799         (update_current_target): Update.
2800         * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
2801         argument.
2802
2803 2014-02-19  Tom Tromey  <tromey@redhat.com>
2804
2805         * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
2806         argument.
2807         (target_insert_exec_catchpoint): Add argument.
2808         * target.c (debug_to_insert_exec_catchpoint): Add argument.
2809         (update_current_target): Update.
2810         * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
2811         argument.
2812
2813 2014-02-19  Tom Tromey  <tromey@redhat.com>
2814
2815         * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
2816         argument.
2817         (target_remove_vfork_catchpoint): Add argument.
2818         * target.c (debug_to_remove_vfork_catchpoint): Add argument.
2819         (update_current_target): Update.
2820         * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
2821         argument.
2822
2823 2014-02-19  Tom Tromey  <tromey@redhat.com>
2824
2825         * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
2826         argument.
2827         (target_insert_vfork_catchpoint): Add argument.
2828         * target.c (debug_to_insert_vfork_catchpoint): Add argument.
2829         (update_current_target): Update.
2830         * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
2831         argument.
2832
2833 2014-02-19  Tom Tromey  <tromey@redhat.com>
2834
2835         * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
2836         argument.
2837         (target_remove_fork_catchpoint): Add argument.
2838         * target.c (debug_to_remove_fork_catchpoint): Add argument.
2839         (update_current_target): Update.
2840         * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
2841         argument.
2842
2843 2014-02-19  Tom Tromey  <tromey@redhat.com>
2844
2845         * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
2846         argument.
2847         (target_insert_fork_catchpoint): Add argument.
2848         * target.c (debug_to_insert_fork_catchpoint): Add argument.
2849         (update_current_target): Update.
2850         * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
2851         argument.
2852
2853 2014-02-19  Tom Tromey  <tromey@redhat.com>
2854
2855         * target.h (struct target_ops) <to_post_startup_inferior>: Add
2856         argument.
2857         (target_post_startup_inferior): Add argument.
2858         * target.c (debug_to_post_startup_inferior): Add argument.
2859         (update_current_target): Update.
2860         * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
2861         argument.
2862         * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
2863         argument.
2864         * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
2865         argument.
2866         * inf-child.c (inf_child_post_startup_inferior): Add 'self'
2867         argument.
2868         * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
2869         'self' argument.
2870         (super_post_startup_inferior): Likewise.
2871         * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
2872         'self' argument.
2873         (super_post_startup_inferior): Likewise.
2874         * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
2875         Add 'self' argument.
2876         (super_post_startup_inferior): Likewise.
2877
2878 2014-02-19  Tom Tromey  <tromey@redhat.com>
2879
2880         * target.h (struct target_ops) <to_load>: Add argument.
2881         * target.c (target_load): Add argument.
2882         (debug_to_load): Add argument.
2883         (update_current_target): Update.
2884         * remote.c (remote_load): Add 'self' argument.
2885         * remote-sim.c (gdbsim_load): Add 'self' argument.
2886         * remote-mips.c (mips_load): Add 'self' argument.
2887         * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
2888         * monitor.c (monitor_load): Add 'self' argument.
2889         * m32r-rom.c (m32r_load_gen): Add 'self' argument.
2890
2891 2014-02-19  Tom Tromey  <tromey@redhat.com>
2892
2893         * target.h (struct target_ops) <to_terminal_info>: Add argument.
2894         (target_terminal_info): Add argument.
2895         * target.c (debug_to_terminal_info): Add argument.
2896         (default_terminal_info): Likewise.
2897         * inflow.c (child_terminal_info): Add 'self' argument.
2898         * inferior.h (child_terminal_info): Add 'self' argument.
2899         * go32-nat.c (go32_terminal_info): Add 'self' argument.
2900
2901 2014-02-19  Tom Tromey  <tromey@redhat.com>
2902
2903         * target.h (struct target_ops) <to_terminal_save_ours>: Add
2904         argument.
2905         (target_terminal_save_ours): Add argument.
2906         * target.c (debug_to_terminal_save_ours): Add argument.
2907         (update_current_target): Update.
2908         * inflow.c (terminal_save_ours): Add 'self' argument.
2909         * inferior.h (terminal_save_ours): Add 'self' argument.
2910
2911 2014-02-19  Tom Tromey  <tromey@redhat.com>
2912
2913         * target.h (struct target_ops) <to_terminal_ours>: Add argument.
2914         (target_terminal_ours): Add argument.
2915         * target.c (debug_to_terminal_ours): Add argument.
2916         (update_current_target): Update.
2917         * remote.c (remote_terminal_ours): Add 'self' argument.
2918         (remote_close): Update.
2919         * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
2920         * inflow.c (terminal_ours): Add 'self' argument.
2921         * inferior.h (terminal_ours): Add 'self' argument.
2922         * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2923
2924 2014-02-19  Pedro Alves  <palves@redhat.com>
2925             Tom Tromey  <tromey@redhat.com>
2926
2927         * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
2928         argument.
2929         (target_terminal_ours_for_output): Add argument.
2930         * target.c (debug_to_terminal_ours_for_output): Add argument.
2931         (update_current_target): Update.
2932         * inflow.c (terminal_ours_for_output): Add 'self' argument.
2933         * inferior.h (terminal_ours_for_output): Add 'self' argument.
2934         * go32-nat.c (go32_terminal_ours): Add 'self' argument.
2935
2936 2014-02-19  Tom Tromey  <tromey@redhat.com>
2937
2938         * target.h (struct target_ops) <to_terminal_inferior>: Add
2939         argument.
2940         * target.c (target_terminal_inferior): Add argument.
2941         (update_current_target): Update.
2942         * remote.c (remote_terminal_inferior): Add 'self' argument.
2943         * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
2944         * inflow.c (terminal_inferior): Add 'self' argument.
2945         * inferior.h (terminal_inferior): Add 'self' argument.
2946         * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
2947         (go32_terminal_inferior): Add 'self' argument.
2948
2949 2014-02-19  Tom Tromey  <tromey@redhat.com>
2950
2951         * target.h (struct target_ops) <to_terminal_init>: Add argument.
2952         (target_terminal_init): Add argument.
2953         * target.c (debug_to_terminal_init): Add argument.
2954         (update_current_target): Update.
2955         * inflow.c (terminal_init_inferior): Add 'self' argument.
2956         * inferior.h (terminal_init_inferior): Add 'self' argument.
2957         * go32-nat.c (go32_terminal_init): Add 'self' argument.
2958         * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
2959
2960 2014-02-19  Tom Tromey  <tromey@redhat.com>
2961
2962         * target.h (struct target_ops)
2963         <to_can_accel_watchpoint_condition>: Add argument.
2964         (target_can_accel_watchpoint_condition): Add argument.
2965         * target.c (debug_to_can_accel_watchpoint_condition): Add
2966         argument.
2967         (update_current_target): Update.
2968         * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
2969         'self' argument.
2970
2971 2014-02-19  Tom Tromey  <tromey@redhat.com>
2972
2973         * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
2974         Add argument.
2975         (target_region_ok_for_hw_watchpoint): Add argument.
2976         * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
2977         (default_region_ok_for_hw_watchpoint): Add argument.
2978         * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
2979         * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
2980         argument.
2981         * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
2982         argument.
2983         * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
2984         argument.
2985         * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
2986         'self' argument.
2987         * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
2988         'self' argument.
2989         * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
2990         'self' argument.
2991         * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
2992         * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
2993         'self' argument.
2994         * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
2995         Add 'self' argument.
2996
2997 2014-02-19  Tom Tromey  <tromey@redhat.com>
2998
2999         * target.h (struct target_ops) <to_insert_watchpoint>: Add
3000         argument.
3001         (target_insert_watchpoint): Add argument.
3002         * target.c (debug_to_insert_watchpoint): Add argument.
3003         (update_current_target): Update.
3004         * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
3005         * remote.c (remote_insert_watchpoint): Add 'self' argument.
3006         * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
3007         * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
3008         * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
3009         * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
3010         argument.
3011         * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
3012         (procfs_insert_hw_watchpoint): Add 'self' argument.
3013         * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
3014         argument.
3015         * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
3016         argument.
3017         * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
3018         argument.
3019         * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
3020         * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
3021         argument.
3022         * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
3023         'self' argument.
3024
3025 2014-02-19  Tom Tromey  <tromey@redhat.com>
3026
3027         * target.h (struct target_ops) <to_remove_watchpoint>: Add
3028         argument.
3029         (target_remove_watchpoint): Add argument.
3030         * target.c (debug_to_remove_watchpoint): Add argument.
3031         (update_current_target): Update.
3032         * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
3033         * remote.c (remote_remove_watchpoint): Add 'self' argument.
3034         * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
3035         * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
3036         * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
3037         * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
3038         argument.
3039         * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
3040         * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
3041         argument.
3042         * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
3043         argument.
3044         * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
3045         argument.
3046         * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
3047         * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
3048         argument.
3049         * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
3050         'self' argument.
3051
3052 2014-02-19  Tom Tromey  <tromey@redhat.com>
3053
3054         * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
3055         argument.
3056         (target_remove_hw_breakpoint): Add argument.
3057         * target.c (debug_to_remove_hw_breakpoint): Add argument.
3058         (update_current_target): Update.
3059         * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
3060         * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
3061         argument.
3062         * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
3063         * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
3064         argument.
3065         * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
3066         'self' argument.
3067
3068 2014-02-19  Tom Tromey  <tromey@redhat.com>
3069
3070         * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
3071         argument.
3072         (target_insert_hw_breakpoint): Add argument.
3073         * target.c (debug_to_insert_hw_breakpoint): Add argument.
3074         (update_current_target): Update.
3075         * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
3076         * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
3077         argument.
3078         * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
3079         * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
3080         * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
3081         argument.
3082         * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
3083         'self' argument.
3084
3085 2014-02-19  Tom Tromey  <tromey@redhat.com>
3086
3087         * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
3088         argument.
3089         (target_can_use_hardware_watchpoint): Add argument.
3090         * target.c (debug_to_can_use_hw_breakpoint): Add argument.
3091         (update_current_target): Update.
3092         * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
3093         argument.
3094         * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
3095         argument.
3096         * remote.c (remote_check_watch_resources): Add 'self' argument.
3097         * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
3098         * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
3099         argument.
3100         * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
3101         * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
3102         argument.
3103         * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
3104         argument.
3105         * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
3106         argument.
3107         * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
3108         argument.
3109         * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
3110         argument.
3111         * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
3112         argument.
3113         * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
3114         * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
3115         argument.
3116         * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
3117         'self' argument.
3118
3119 2014-02-19  Tom Tromey  <tromey@redhat.com>
3120
3121         * target.h (struct target_ops) <to_post_attach>: Add argument.
3122         (target_post_attach): Add argument.
3123         * target.c (debug_to_post_attach): Add argument.
3124         (update_current_target): Update.
3125         * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
3126         * nto-procfs.c (procfs_post_attach): Add 'self' argument.
3127         * linux-nat.c (linux_child_post_attach): Add 'self' argument.
3128         * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
3129         * inf-child.c (inf_child_post_attach): Add 'self' argument.
3130
3131 2014-02-19  Tom Tromey  <tromey@redhat.com>
3132
3133         * windows-nat.c (windows_close): Add 'self' argument.
3134         * tracepoint.c (tfile_close): Add 'self' argument.
3135         * target.h (struct target_ops) <to_close>: Add argument.
3136         * target.c (target_close): Add argument.
3137         (update_current_target): Update.
3138         * remote.c (remote_close): Add 'self' argument.
3139         * remote-sim.c (gdbsim_close): Add 'self' argument.
3140         * remote-mips.c (mips_close): Add 'self' argument.
3141         * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
3142         * record-full.c (record_full_close): Add 'self' argument.
3143         * record-btrace.c (record_btrace_close): Add 'self' argument.
3144         * monitor.h (monitor_close): Add 'self' argument.
3145         * monitor.c (monitor_close): Add 'self' argument.
3146         * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
3147         * linux-nat.c (linux_nat_close): Add argument.
3148         * go32-nat.c (go32_close): Add 'self' argument.
3149         * exec.c (exec_close_1): Add 'self' argument.
3150         * ctf.c (ctf_close): Add 'self' argument.
3151         * corelow.c (core_close): Add 'self' argument.
3152         (core_close_cleanup): Update.
3153         * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
3154         * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
3155
3156 2014-02-19  Tom Tromey  <tromey@redhat.com>
3157
3158         * remote.c (remote_load): New function.
3159         (init_remote_ops): Use it.
3160
3161 2014-02-19  Tom Tromey  <tromey@redhat.com>
3162
3163         * common/linux-btrace.c (linux_supports_btrace): Add "ops"
3164         argument.
3165         * common/linux-btrace.h (linux_supports_btrace): Update.
3166         * remote.c (remote_supports_btrace): Add "self" argument.
3167         * target-delegates.c: Rebuild.
3168         * target.c (target_supports_btrace): Remove.
3169         * target.h (struct target_ops) <to_supports_btrace>: Add
3170         target_ops argument.
3171         (target_supports_btrace): New define.
3172
3173 2014-02-19  Tom Tromey  <tromey@redhat.com>
3174
3175         * record-full.c (record_full_beneath_to_resume_ops)
3176         (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
3177         (record_full_beneath_to_wait)
3178         (record_full_beneath_to_store_registers_ops)
3179         (record_full_beneath_to_store_registers)
3180         (record_full_beneath_to_xfer_partial_ops)
3181         (record_full_beneath_to_xfer_partial)
3182         (record_full_beneath_to_insert_breakpoint_ops)
3183         (record_full_beneath_to_insert_breakpoint)
3184         (record_full_beneath_to_remove_breakpoint_ops)
3185         (record_full_beneath_to_remove_breakpoint)
3186         (record_full_beneath_to_stopped_by_watchpoint)
3187         (record_full_beneath_to_stopped_data_address)
3188         (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
3189         (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
3190         (tmp_to_store_registers, tmp_to_xfer_partial_ops)
3191         (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
3192         (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
3193         (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
3194         (tmp_to_stopped_data_address, tmp_to_async): Remove.
3195         (record_full_open_1, record_full_open): Update.  Use RECORD_IS_USED.
3196         (record_full_resume, record_full_wait_1)
3197         (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
3198         (record_full_store_registers, record_full_xfer_partial)
3199         (record_full_insert_breakpoint, record_full_remove_breakpoint)
3200         (record_full_async, record_full_core_xfer_partial): Use target
3201         delegation.
3202         * target-delegates.c: Rebuild.
3203         * target.c (current_xfer_partial): Remove.
3204         (update_current_target): Do not INHERIT or de_fault
3205         to_insert_breakpoint, to_remove_breakpoint,
3206         to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
3207         to_is_async_p, to_async.  Do not set to_xfer_partial field.
3208         (default_xfer_partial): Simplify.
3209         (current_xfer_partial): Remove.
3210         (target_wait, target_resume): Simplify.
3211         (find_default_can_async_p, find_default_is_async_p): Update.
3212         (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
3213         to_xfer_partial, to_stopped_by_watchpoint,
3214         to_stopped_data_address.
3215         (target_store_registers): Simplify.
3216         (forward_target_remove_breakpoint)
3217         (forward_target_insert_breakpoint): Remove.
3218         (target_remove_breakpoint, target_insert_breakpoint)
3219         (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
3220         * target.h (struct target_ops) <to_resume, to_wait,
3221         to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
3222         to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
3223         to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
3224         markup.
3225         (forward_target_remove_breakpoint)
3226         (forward_target_insert_breakpoint): Remove.
3227         * record-btrace.c (record_btrace_remove_breakpoint): Delegate
3228         directly.
3229         (record_btrace_insert_breakpoint): Delegate directly.
3230
3231 2014-02-19  Tom Tromey  <tromey@redhat.com>
3232
3233         PR build/7701:
3234         * target-delegates.c: New file.
3235         * target.c: Include target-delegates.c.
3236         (init_dummy_target): Call install_dummy_methods.
3237         (complete_target_initialization): Call install_delegators.
3238         * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
3239         (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
3240         * make-target-delegates: New file.
3241
3242 2014-02-19  Tom Tromey  <tromey@redhat.com>
3243
3244         * record.c (find_record_target): Use find_target_at.
3245         * target.c (find_target_at): New function.
3246         * target.h (find_target_at): Declare.
3247
3248 2014-02-19  Tom Tromey  <tromey@redhat.com>
3249
3250         * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
3251         Add 'ops' argument.
3252         * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
3253         'ops' argument.
3254         * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
3255         * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
3256         'ops' argument.
3257         * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
3258         argument.
3259         * linux-nat.c (save_sigtrap): Update.
3260         (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
3261         (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
3262         (linux_nat_close): Update.
3263         * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
3264         argument.
3265         * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
3266         argument.
3267         * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
3268         * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
3269         (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
3270         (tmp_to_async): Add 'ops' argument.
3271         (record_full_stopped_by_watchpoint, record_full_async)
3272         (record_full_can_async_p, record_full_is_async_p): Add 'ops'
3273         argument.
3274         * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
3275         (m32r_stopped_by_watchpoint): Add 'ops' argument.
3276         * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
3277         * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
3278         (remote_is_async_p, remote_async): Add 'ops' argument.
3279         (remote_stopped_data_address): Update.
3280         * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
3281         * target.c (update_current_target)
3282         (find_default_can_async_p, find_default_is_async_p): Update.
3283         (init_dummy_target): Update.
3284         (debug_to_stopped_by_watchpoint): Add 'ops' argument.
3285         * target.h (struct target_ops) <to_stopped_by_watchpoint,
3286         to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
3287         (target_can_async_p, target_is_async_p, target_async)
3288         (target_stopped_by_watchpoint): Update.
3289
3290 2014-02-19  Yao Qi  <yao@codesourcery.com>
3291
3292         PR gdb/16220
3293         * gdbarch.sh: Remove startup_gdbarch.
3294         * gdbarch.c: Regenerated.
3295         * gdbarch.h: Likewise.
3296
3297 2014-02-17  Kevin Buettner  <kevinb@redhat.com>
3298
3299         * rl78-tdep.c (rl78_g10_register_name): New function.
3300         (rl78_return_value): Add g10 support.
3301         (rl78_gdbarch_init): Register rl78_g10_register_name for the
3302         g10.
3303
3304 2014-02-17  Doug Evans  <xdje42@gmail.com>
3305
3306         * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
3307         (SUBDIR_GUILE_SRCS): Ditto.
3308         (scm-gsmob.o): Ditto.
3309
3310 2014-02-17  Yao Qi  <yao@codesourcery.com>
3311
3312         * gnu-nat.c (ILL_RPC): Declare defined function.
3313
3314 2014-02-17  Yao Qi  <yao@codesourcery.com>
3315
3316         * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
3317         mach_msg_type_number_t.
3318         (gnu_write_inferior): Likewise.
3319
3320 2014-02-17  Yao Qi  <yao@codesourcery.com>
3321
3322         * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
3323         in format string.
3324         (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
3325         (inf_validate_procs, inf_signal): Likewise.
3326         (S_exception_raise_request): Likewise.
3327         (do_mach_notify_dead_name): Likewise.
3328         (steal_exc_port): Likewise.
3329         (gnu_read_inferior): Change 'copy_count''s type to
3330         mach_msg_type_number_t.
3331         (gnu_write_inferior): Likewise.  Use 'lx' instead of 'x' in
3332         format string.
3333
3334 2014-02-16  Thomas Schwinge  <thomas@codesourcery.com>
3335
3336         * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
3337         flag.  Adjust all users; in particular...
3338         (gnu_wait): ..., don't decrement its value in here...
3339         (gnu_create_inferior): ..., and instead set the flag in here,
3340         around the startup_inferior call, and call that one with
3341         START_INFERIOR_TRAPS_EXPECTED.
3342
3343         * gnu-nat.c (ill_rpc): Remove function; replaced with this...
3344         (ILL_RPC): ... new macro.
3345         (do_mach_notify_no_senders, do_mach_notify_port_deleted)
3346         (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
3347         (do_mach_notify_send_once, S_proc_setmsgport_reply)
3348         (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
3349         functions with ILL_RPC macro.
3350         (S_proc_pid2task_reply, S_proc_task2pid_reply)
3351         (S_proc_task2proc_reply, S_proc_proc2task_reply)
3352         (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
3353         (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
3354         (S_proc_getloginid_reply, S_proc_getloginpids_reply)
3355         (S_proc_getlogin_reply, S_proc_getsid_reply)
3356         (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
3357         (S_proc_getsidport_reply, S_proc_getpgrp_reply)
3358         (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
3359         (S_proc_getnports_reply, S_proc_is_important_reply)
3360         (S_proc_get_code_reply): New stub functions, generated with
3361         ILL_RPC macro.
3362
3363         * reply_mig_hack.awk: In phase 5, keep going if we have not yet
3364         collected the type check structures.
3365
3366         * reply_mig_hack.awk: Don't expect to see the auto keyword.
3367
3368 2014-02-14  Doug Evans  <dje@google.com>
3369
3370         * target.c (target_write_partial): Fix result type.
3371
3372 2014-02-14  Jose E. Marchesi  <jose.marchesi@oracle.com>
3373
3374         * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
3375         the proper offsets to access fpregset_t.
3376
3377 2014-02-13  Sanimir Agovic  <sanimir.agovic@intel.com>
3378
3379         * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
3380         (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
3381         * h8300-tdep.c (setmachinelist): Remove global.
3382         * hppa-tdep.c (hppa_sigtramp): Remove global.
3383         * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
3384         RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
3385         * ravenscar-thread.c (update_target_observer): Remove global.
3386         * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
3387
3388 2014-02-12  Tom Tromey  <tromey@redhat.com>
3389
3390         * common/rsp-low.c: Update comments.
3391         * common/rsp-low.h: Update comments.
3392
3393 2014-02-12  Tom Tromey  <tromey@redhat.com>
3394
3395         * common/rsp-low.c (convert_ascii_to_int): Remove.
3396         * common/rsp-low.h (convert_ascii_to_int): Don't declare.
3397
3398 2014-02-12  Tom Tromey  <tromey@redhat.com>
3399
3400         * common/rsp-low.h (unhexify): Don't declare.
3401         * common/rsp-low.c (unhexify): Remove.
3402
3403 2014-02-12  Tom Tromey  <tromey@redhat.com>
3404
3405         * common/rsp-low.h (convert_int_to_ascii): Don't declare.
3406         * common/rsp-low.c (convert_int_to_ascii): Remove.
3407
3408 2014-02-12  Tom Tromey  <tromey@redhat.com>
3409
3410         * common/rsp-low.h (hexify): Don't declare.
3411         * common/rsp-low.c (hexify): Remove.
3412
3413 2014-02-12  Tom Tromey  <tromey@redhat.com>
3414
3415         * common/rsp-low.c (hexify): Never take strlen of argument.
3416
3417 2014-02-12  Tom Tromey  <tromey@redhat.com>
3418
3419         * common/rsp-low.c (bin2hex): Never take strlen of argument.
3420         * remote.c (extended_remote_run, remote_rcmd)
3421         (remote_download_trace_state_variable, remote_save_trace_data)
3422         (remote_set_trace_notes): Update.
3423         * tracepoint.c (encode_source_string, tfile_write_status)
3424         (tfile_write_uploaded_tsv): Update.
3425
3426 2014-02-12  Tom Tromey  <tromey@redhat.com>
3427
3428         * tracepoint.c: Include rsp-low.h.
3429         * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
3430         * remote.c: Include rsp-low.h.
3431         (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
3432         (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
3433         (remote_unescape_input): Move to common/rsp-low.c.
3434         * common/rsp-low.h: New file.
3435         * common/rsp-low.c: New file.
3436         * Makefile.in (SFILES): Add common/rsp-low.c.
3437         (HFILES_NO_SRCDIR): Add common/rsp-low.h.
3438         (COMMON_OBS): Add rsp-low.o.
3439         (rsp-low.o): New target.
3440
3441 2014-02-12  Tom Tromey  <tromey@redhat.com>
3442
3443         * utils.h: Include print-utils.h.
3444         (host_address_to_string, plongest, pulongest, phex, phex_nz)
3445         (int_string, core_addr_to_string, core_addr_to_string_nz)
3446         (hex_string, hex_string_custom): Don't declare.
3447         * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
3448         (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
3449         (hex_string_custom, int_string, core_addr_to_string)
3450         (core_addr_to_string_nz, host_address_to_string): Move to
3451         common/print-utils.c.
3452         * common/print-utils.h: New file.
3453         * common/print-utils.c: New file
3454         * Makefile.in (SFILES): Add common/print-utils.c.
3455         (HFILES_NO_SRCDIR): Add common/print-utils.h.
3456         (COMMON_OBS): Add print-utils.o.
3457         (print-utils.o): New target.
3458
3459 2014-02-12  Tom Tromey  <tromey@redhat.com>
3460
3461         * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
3462
3463 2014-02-12  Mark Kettenis  <kettenis@gnu.org>
3464
3465         * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
3466
3467 2014-02-12  Mark Kettenis  <kettenis@gnu.org>
3468
3469         * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
3470         if a PT_IO ptrace request returns sucessfully but indicates that 0
3471         bytes were transferred.
3472
3473 2014-02-12  Pedro Alves  <palves@redhat.com>
3474             Kevin Buettner <kevinb@redhat.com>
3475
3476         * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
3477         TYPE_INSTANCE_FLAG_CODE_SPACE.
3478
3479 2014-02-12  Pedro Alves  <palves@redhat.com>
3480
3481         * h8300-tdep.c (pseudo_from_raw_register)
3482         (raw_from_pseudo_register): New functions.
3483         (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
3484         them.
3485
3486 2014-02-12  Pedro Alves  <palves@redhat.com>
3487
3488         * h8300-tdep.c (h8300_register_sim_regno): New function.
3489         (h8300_gdbarch_init): Install h8300_register_sim_regno as
3490         gdbarch_register_sim_regno hook.
3491
3492 2014-02-12  Sanimir Agovic  <sanimir.agovic@intel.com>
3493
3494         * nios2-tdep.c (nios2_stub_frame_base): Remove global.
3495
3496 2014-02-12  Sanimir Agovic  <sanimir.agovic@intel.com>
3497
3498         * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
3499
3500 2014-02-12  Mark Kettenis  <kettenis@gnu.org>
3501
3502         * obsd-tdep.h (obsd_init_abi): New prototype.
3503         * obsd-tdep.c: Define enum with OpenBSD signal numbers.
3504         (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
3505         (obsd_init_abi): New functions.
3506         * i386obsd-tdep.c: Include "obsd-tdep.h".
3507         (i386obsd_init_abi): Call obsd_init_abi.
3508         * amd64obsd-tdep.c: Include "obsd-tdep.h".
3509         (amd64obsd_init_abi): Call obsd_init_abi.
3510         * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
3511         obsd-tdep.c to gdb_target_obs.
3512
3513 2014-02-11  Jose E. Marchesi  <jose.marchesi@oracle.com>
3514
3515         * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
3516         double float arguments to 16-byte in the argument slots.
3517
3518 2014-02-11  Doug Evans  <xdje42@gmail.com>
3519
3520         * configure.ac: Don't crash if pkg-config is not found and guile
3521         wasn't explicitly requested.  Use AC_MSG_ERROR instead of AC_ERROR
3522         in guile checks.
3523         * configure: Regenerate.
3524
3525 2014-02-11  Yao Qi  <yao@codesourcery.com>
3526
3527         * aix-thread.c (aix_thread_xfer_partial): Update comments.
3528         * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
3529         * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
3530         * gnu-nat.c (gnu_xfer_memory): Likewise.
3531         * inf-ptrace.c (inf_ptrace_xfer_partial):  Likewise.
3532         * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3533         * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3534         * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3535
3536 2014-02-11  Yao Qi  <yao@codesourcery.com>
3537
3538         * target.h (enum target_xfer_error): Rename to ...
3539         (enum target_xfer_status): ... it.  New.  All users updated.
3540         (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
3541         New.
3542         (TARGET_XFER_STATUS_ERROR_P): New macro.
3543         (target_xfer_error_to_string): Remove declaration.
3544         (target_xfer_status_to_string): Declare.
3545         (target_xfer_partial_ftype): Adjust it.
3546         (struct target_ops) <to_xfer_partial>: Return
3547         target_xfer_status.  Add argument xfered_len.  Update
3548         comments.
3549         * target.c (target_xfer_error_to_string): Rename to ...
3550         (target_xfer_status_to_string): ... it.  New.  All callers
3551         updated.
3552         (target_read_live_memory): Likewise.  Call target_xfer_partial
3553         instead of target_read.
3554         (memory_xfer_live_readonly_partial): Return
3555         target_xfer_status.  Add argument xfered_len.
3556         (raw_memory_xfer_partial): Likewise.
3557         (memory_xfer_partial_1): Likewise.
3558         (memory_xfer_partial): Likewise.
3559         (target_xfer_partial): Likewise.  Check *XFERED_LEN is set
3560         properly.  Update debug message.
3561         (default_xfer_partial, current_xfer_partial): Likewise.
3562         (target_write_partial): Likewise.
3563         (target_read_partial): Likewise.  All callers updated.
3564         (read_whatever_is_readable): Likewise.
3565         (target_write_with_progress): Likewise.
3566         (target_read_alloc_1): Likewise.
3567
3568         * aix-thread.c (aix_thread_xfer_partial): Likewise.
3569         * auxv.c (procfs_xfer_auxv): Likewise.
3570         (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
3571         * bfd-target.c (target_bfd_xfer_partial): Likewise.
3572         * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3573         * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
3574         * corefile.c (read_memory): Adjust.
3575         * corelow.c (core_xfer_partial): Likewise.
3576         * ctf.c (ctf_xfer_partial): Likewise.
3577         * darwin-nat.c (darwin_read_dyld_info): Likewise.  All callers
3578         updated.
3579         (darwin_xfer_partial): Likewise.
3580         * exec.c (section_table_xfer_memory_partial): Likewise.  All
3581         callers updated.
3582         (exec_xfer_partial): Likewise.
3583         * exec.h (section_table_xfer_memory_partial): Update
3584         declaration.
3585         * gnu-nat.c (gnu_xfer_memory): Likewise.  Assert 'res' is not
3586         negative.
3587         (gnu_xfer_partial): Likewise.
3588         * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
3589         (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
3590         (ia64_hpux_xfer_solib_got): Likewise.
3591         * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.  Change
3592         type of 'partial_len' to ULONGEST.
3593         * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
3594         * linux-nat.c (linux_xfer_siginfo ): Likewise.
3595         (linux_nat_xfer_partial): Likewise.
3596         (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
3597         (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
3598         * monitor.c (monitor_xfer_memory): Likewise.
3599         (monitor_xfer_partial): Likewise.
3600         * procfs.c (procfs_xfer_partial): Likewise.
3601         * record-btrace.c (record_btrace_xfer_partial): Likewise.
3602         * record-full.c (record_full_xfer_partial): Likewise.
3603         (record_full_core_xfer_partial): Likewise.
3604         * remote-sim.c (gdbsim_xfer_memory): Likewise.
3605         (gdbsim_xfer_partial): Likewise.
3606         * remote.c (remote_write_bytes_aux): Likewise.  All callers
3607         updated.
3608         (remote_write_bytes, remote_read_bytes): Likewise.  All
3609         callers updated.
3610         (remote_flash_erase): Likewise.  All callers updated.
3611         (remote_write_qxfer): Likewise.  All callers updated.
3612         (remote_read_qxfer): Likewise.  All callers updated.
3613         (remote_xfer_partial): Likewise.
3614         * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3615         (rs6000_xfer_shared_libraries): Likewise.
3616         * sol-thread.c (sol_thread_xfer_partial): Likewise.
3617         (sol_thread_xfer_partial): Likewise.
3618         * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3619         (sparc_xfer_partial): Likewise.
3620         * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.  All callers
3621         updated.
3622         (spu_xfer_partial): Likewise.
3623         * spu-multiarch.c (spu_xfer_partial): Likewise.
3624         * tracepoint.c (tfile_xfer_partial): Likewise.
3625         * windows-nat.c (windows_xfer_memory): Likewise.
3626         (windows_xfer_shared_libraries): Likewise.
3627         (windows_xfer_partial): Likewise.
3628         * valprint.c: Replace 'target_xfer_error' with
3629         'target_xfer_status' in comments.
3630
3631 2014-02-11  Simon Marchi  <simon.marchi@ericsson.com>  (tiny patch)
3632
3633         Checked in by Joel Brobecker <brobecker@adacore.com>.
3634         * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
3635
3636 2014-02-11  Joel Brobecker  <brobecker@adacore.com>
3637
3638         * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
3639         function parameters.
3640
3641 2014-02-10  Will Newton  <will.newton@linaro.org>
3642
3643         * elfread.c (elf_rel_plt_read): Look for a .got section if
3644         looking up .got.plt fails.
3645         (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
3646         on address passed to elf_gnu_ifunc_record_cache.
3647         (elf_gnu_ifunc_resolve_addr): Likewise.
3648         (elf_gnu_ifunc_resolver_return_stop): Likewise.
3649
3650 2014-02-10  Jose E. Marchesi  <jose.marchesi@oracle.com>
3651
3652         * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
3653         (X_RETTURN): New macro.
3654         * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
3655
3656         * sparc64-tdep.c (sparc64_init_abi): Hook
3657         sparc_in_function_epilogue_p.
3658
3659 2014-02-10  Gary Benson  <gbenson@redhat.com>
3660
3661         * symfile-debug.c (debug_qf_expand_symtabs_matching):
3662         Rename name_matcher to symbol_matcher.
3663
3664 2014-02-10  Gary Benson  <gbenson@redhat.com>
3665
3666         * symfile-debug.c (debug_qf_expand_symtabs_matching):
3667         Use expand_symtabs_file_matcher_ftype and
3668         expand_symtabs_symbol_matcher_ftype.
3669
3670 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
3671
3672         * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
3673         (struct ada_symbol_cache): New.
3674         (ada_free_symbol_cache): Forward declare.
3675         (struct ada_pspace_data): New.
3676         (ada_pspace_data_handle): New static global.
3677         (get_ada_pspace_data, ada_pspace_data_cleanup)
3678         (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
3679         (cache_space, cache): Delete, now folded inside struct
3680         ada_pspace_data.
3681         (ada_get_symbol_cache): New function.
3682         (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
3683         implementation.
3684         (_initialize_ada_language): Remove initialization of cache_space.
3685         Move call to observer_attach_inferior_exit up, grouping it
3686         with the other observer registrations inside this function.
3687         Rename command to be more general.  Add call to
3688         register_program_space_data_with_cleanup.
3689
3690 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
3691
3692         * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
3693         ada_new_objfile_observer.
3694         (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
3695         (_initialize_tasks): Update uses of ada_new_objfile_observer
3696         and ada_tasks_normal_stop_observer.
3697
3698 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
3699
3700         * ada-lang.c (ada_evaluate_subexp): Set the type of the value
3701         returned by the 'Length attribute to integer.
3702
3703 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
3704
3705         * ada-lang.c (_initialize_ada_language): Initialize
3706         cache_space obstack.
3707
3708 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
3709
3710         * ada-lang.c (HASH_SIZE): New macro.
3711         (struct cache_entry): New type.
3712         (cache_space, cache): New static globals.
3713         (ada_clear_symbol_cache, find_entry): New functions.
3714         (lookup_cached_symbol, cache_symbol): Implement.
3715         (ada_new_objfile_observer, ada_free_objfile_observer): New.
3716         (_initialize_ada_language): Attach ada_new_objfile_observer
3717         and ada_free_objfile_observer.
3718
3719 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
3720
3721         * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
3722         (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
3723         struct block * parameter.
3724         (ada_lookup_symbol_list_worker): Constify local variable "block".
3725         Remove cast which is no longer necessary.
3726
3727 2014-02-10  Doug Evans  <xdje42@gmail.com>
3728
3729         Add Guile as an extension language.
3730         * NEWS: Mention Guile scripting.
3731         * Makefile.in (SUBDIR_GUILE_OBS): New variable.
3732         (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
3733         (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
3734         (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
3735         (CLIBS): Add GUILE_LIBS.
3736         (install-guile): New rule.
3737         (guile.o): New rule.
3738         (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
3739         (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
3740         (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
3741         (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
3742         (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
3743         (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
3744         (scm-type.o, scm-utils.o, scm-value.o): New rules.
3745         * configure.ac: New option --with-guile.
3746         * configure: Regenerate.
3747         * config.in: Regenerate.
3748         * auto-load.c: Remove #include "python/python.h".  Add #include
3749         "gdb/section-scripts.h".
3750         (source_section_scripts): Handle Guile scripts.
3751         (_initialize_auto_load): Add name of Guile objfile script to
3752         scripts-directory help text.
3753         * breakpoint.c (condition_command): Tweak comment to include Scheme.
3754         * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
3755         (struct breakpoint): New member scm_bp_object.
3756         * defs.h (enum command_control_type): New value guile_control.
3757         * cli/cli-cmds.c: Remove #include "python/python.h".  Add #include
3758         "extension.h".
3759         (show_user): Update comment.
3760         (_initialize_cli_cmds): Update help text for "show user".  Update help
3761         text for max-user-call-depth.
3762         * cli/cli-script.c: Remove #include "python/python.h".  Add #include
3763         "extension.h".
3764         (multi_line_command_p): Add guile_control.
3765         (print_command_lines): Handle guile_control.
3766         (execute_control_command, recurse_read_control_structure): Ditto.
3767         (process_next_line): Recognize "guile" commands.
3768         * disasm.c (gdb_disassemble_info): Make non-static.
3769         * disasm.h: #include "dis-asm.h".
3770         (struct gdbarch): Add forward decl.
3771         (gdb_disassemble_info): Declare.
3772         * extension.c: #include "guile/guile.h".
3773         (extension_languages): Add guile.
3774         (get_ext_lang_defn): Handle EXT_LANG_GDB.
3775         * extension.h (enum extension_language): New value EXT_LANG_GUILE.
3776         * gdbtypes.c (get_unsigned_type_max): New function.
3777         (get_signed_type_minmax): New function.
3778         * gdbtypes.h (get_unsigned_type_max): Declare.
3779         (get_signed_type_minmax): Declare.
3780         * guile/README: New file.
3781         * guile/guile-internal.h: New file.
3782         * guile/guile.c: New file.
3783         * guile/guile.h: New file.
3784         * guile/scm-arch.c: New file.
3785         * guile/scm-auto-load.c: New file.
3786         * guile/scm-block.c: New file.
3787         * guile/scm-breakpoint.c: New file.
3788         * guile/scm-disasm.c: New file.
3789         * guile/scm-exception.c: New file.
3790         * guile/scm-frame.c: New file.
3791         * guile/scm-gsmob.c: New file.
3792         * guile/scm-iterator.c: New file.
3793         * guile/scm-lazy-string.c: New file.
3794         * guile/scm-math.c: New file.
3795         * guile/scm-objfile.c: New file.
3796         * guile/scm-ports.c: New file.
3797         * guile/scm-pretty-print.c: New file.
3798         * guile/scm-safe-call.c: New file.
3799         * guile/scm-string.c: New file.
3800         * guile/scm-symbol.c: New file.
3801         * guile/scm-symtab.c: New file.
3802         * guile/scm-type.c: New file.
3803         * guile/scm-utils.c: New file.
3804         * guile/scm-value.c: New file.
3805         * guile/lib/gdb.scm: New file.
3806         * guile/lib/gdb/boot.scm: New file.
3807         * guile/lib/gdb/experimental.scm: New file.
3808         * guile/lib/gdb/init.scm: New file.
3809         * guile/lib/gdb/iterator.scm: New file.
3810         * guile/lib/gdb/printing.scm: New file.
3811         * guile/lib/gdb/types.scm: New file.
3812         * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
3813         (VPATH): Add $(GUILE_SRCDIR).
3814         (GUILE_DIR): New variable.
3815         (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
3816         (all): Add stamp-guile dependency.
3817         (stamp-guile): New rule.
3818         (clean-guile, install-guile, uninstall-guile): New rules.
3819         (install-only): Add install-guile dependency.
3820         (uninstall): Add uninstall-guile dependency.
3821         (clean): Add clean-guile dependency.
3822
3823 2014-02-09  Doug Evans  <xdje42@gmail.com>
3824
3825         Revert this patch (which I approved, mea culpa).
3826
3827         2014-02-08  Mark Kettenis  <kettenis@gnu.org>
3828
3829         * Makefile.in (all-lib): Remove.
3830         ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3831
3832 2014-02-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
3833
3834         Fix Python stack corruption.
3835         * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
3836         gdb_py_longest.
3837
3838 2014-02-08  Mark Kettenis  <kettenis@gnu.org>
3839
3840         * Makefile.in (all-lib): Remove.
3841         ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
3842
3843 2014-02-07  Doug Evans  <dje@google.com>
3844
3845         * extension-priv.h (extension_language_script_ops): Add comment.
3846         (extension_language_ops): Add comment.
3847         (active_ext_lang_state): Fix typo in comment.
3848
3849 2014-02-07  Pedro Alves  <palves@redhat.com>
3850
3851         PR breakpoints/16292
3852         * infrun.c (handle_signal_stop) <signal arrives while stepping
3853         over a breakpoint>: Switch back to the stepping thread.
3854
3855 2014-02-07  Yao Qi  <yao@codesourcery.com>
3856
3857         * target.c (target_xfer_partial): Return zero if LEN is zero.
3858
3859 2014-02-07  Yao Qi  <yao@codesourcery.com>
3860
3861         * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
3862         (ld_so_xfer_auxv): Likewise.
3863         * bfd-target.c (target_bfd_xfer_partial): Likewise.
3864         * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
3865         * corelow.c (core_xfer_partial): Likewise.
3866         * ctf.c (ctf_xfer_partial): Likewise.
3867         * darwin-nat.c (darwin_read_dyld_info): Likewise.
3868         (darwin_xfer_partial): Likewise.
3869         * exec.c (exec_xfer_partial): Likewise.
3870         * gnu-nat.c (gnu_xfer_partial): Likewise.
3871         * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
3872         * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
3873         * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
3874         * linux-nat.c (linux_xfer_siginfo): Likewise.
3875         (linux_proc_xfer_spu): Likewise.
3876         * procfs.c (procfs_xfer_partial): Likewise.
3877         * record-full.c (record_full_xfer_partial): Likewise.
3878         (record_full_core_xfer_partial): Likewise.
3879         * remote-sim.c (gdbsim_xfer_partial): Likewise.
3880         * remote.c (remote_write_qxfer): Likewise.
3881         (remote_write_qxfer, remote_read_qxfer): Likewise.
3882         (remote_xfer_partial): Likewise.
3883         * rs6000-nat.c (rs6000_xfer_partial): Likewise.
3884         (rs6000_xfer_shared_libraries): Likewise.
3885         * sparc-nat.c (sparc_xfer_wcookie): Likewise.
3886         * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
3887         (spu_xfer_partial): Likewise.
3888         * target.c (memory_xfer_partial_1): Likewise.
3889         * tracepoint.c (tfile_xfer_partial): Likewise.
3890         * windows-nat.c (windows_xfer_shared_libraries): Likewise.
3891         (windows_xfer_partial): Likewise.
3892
3893 2014-02-07  Yao Qi  <yao@codesourcery.com>
3894
3895         * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST.  Add
3896         comments.
3897         (core_xfer_shared_libraries_aix): Likewise.
3898         * gdbarch.c, gdbarch.h: Regenerated.
3899         * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
3900         ULONGEST.  Change 'len_avail' type to ULONGEST.
3901         * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
3902         * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
3903         declaration.
3904         (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
3905
3906 2014-02-07  Yao Qi  <yao@codesourcery.com>
3907
3908         * corefile.c (memory_error): Get 'exception' from ERR and pass
3909         'exception' to throw_error.
3910
3911 2014-02-06  Doug Evans  <xdje42@gmail.com>
3912
3913         * configure.ac (libpython checking): Remove all but python.o from
3914         CONFIG_OBS.  Remove all but python.c from CONFIG_SRCS.
3915         * configure: Regenerate.
3916
3917         * Makefile.in (SFILES): Add extension.c.
3918         (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
3919         (COMMON_OBS): Add extension.o.
3920         * extension.h: New file.
3921         * extension-priv.h: New file.
3922         * extension.c: New file.
3923
3924         * python/python-internal.h: #include "extension.h".
3925         (gdbpy_auto_load_enabled): Declare.
3926         (gdbpy_apply_val_pretty_printer): Declare.
3927         (gdbpy_apply_frame_filter): Declare.
3928         (gdbpy_preserve_values): Declare.
3929         (gdbpy_breakpoint_cond_says_stop): Declare.
3930         (gdbpy_breakpoint_has_cond): Declare.
3931         (void source_python_script_for_objfile): Delete.
3932         * python/python.c: #include "extension-priv.h".
3933         Delete inclusion of "observer.h".
3934         (extension_language_python): Moved here and renamed from
3935         script_language_python in py-auto-load.c.
3936         Redefined to be of type extension_language_defn.
3937         (python_extension_script_ops): New global.
3938         (python_extension_ops): New global.
3939         (struct python_env): New member previous_active.
3940         (restore_python_env): Call restore_active_ext_lang.
3941         (ensure_python_env): Call set_active_ext_lang.
3942         (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
3943         New arg extlang.
3944         (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
3945         New arg extlang.
3946         (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
3947         New arg extlang.
3948         (gdbpy_eval_from_control_command): Renamed from
3949         eval_python_from_control_command, made static.  New arg extlang.
3950         (gdbpy_source_script) Renamed from source_python_script, made static.
3951         New arg extlang.
3952         (gdbpy_before_prompt_hook): Renamed from before_prompt_hook.  Change
3953         result to int.  New arg extlang.
3954         (gdbpy_source_objfile_script): Renamed from
3955         source_python_script_for_objfile, made static.  New arg extlang.
3956         (gdbpy_start_type_printers): Renamed from start_type_printers, made
3957         static.  New args extlang, extlang_printers.  Change result type to
3958         "void".
3959         (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
3960         static.  New arg extlang.  Rename arg printers to extlang_printers
3961         and change type to ext_lang_type_printers *.
3962         (gdbpy_free_type_printers): Renamed from free_type_printers, made
3963         static.  Replace argument arg with extlang, extlang_printers.
3964         (!HAVE_PYTHON, eval_python_from_control_command): Delete.
3965         (!HAVE_PYTHON, source_python_script): Delete.
3966         (!HAVE_PYTHON, gdbpy_should_stop): Delete.
3967         (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
3968         (!HAVE_PYTHON, start_type_printers): Delete.
3969         (!HAVE_PYTHON, apply_type_printers): Delete.
3970         (!HAVE_PYTHON, free_type_printers): Delete.
3971         (_initialize_python): Delete call to observer_attach_before_prompt.
3972         (finalize_python): Set/restore active extension language.
3973         (gdbpy_finish_initialization) Renamed from
3974         finish_python_initialization, made static.  New arg extlang.
3975         (gdbpy_initialized): New function.
3976         * python/python.h: #include "extension.h".  Delete #include
3977         "value.h", "mi/mi-cmds.h".
3978         (extension_language_python): Declare.
3979         (GDBPY_AUTO_FILE_NAME): Delete.
3980         (enum py_bt_status): Moved to extension.h and renamed to
3981         ext_lang_bt_status.
3982         (enum frame_filter_flags): Moved to extension.h.
3983         (enum py_frame_args): Moved to extension.h and renamed to
3984         ext_lang_frame_args.
3985         (finish_python_initialization): Delete.
3986         (eval_python_from_control_command): Delete.
3987         (source_python_script): Delete.
3988         (apply_val_pretty_printer): Delete.
3989         (apply_frame_filter): Delete.
3990         (preserve_python_values): Delete.
3991         (gdbpy_script_language_defn): Delete.
3992         (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
3993         (start_type_printers, apply_type_printers, free_type_printers): Delete.
3994
3995         * auto-load.c: #include "extension.h".
3996         (GDB_AUTO_FILE_NAME): Delete.
3997         (auto_load_gdb_scripts_enabled): Make public.  New arg extlang.
3998         (script_language_gdb): Delete, moved to extension.c and renamed to
3999         extension_language_gdb.
4000         (source_gdb_script_for_objfile): Delete.
4001         (auto_load_pspace_info): New member unsupported_script_warning_printed.
4002         (loaded_script): Change type of language member to
4003         struct extension_language_defn *.
4004         (init_loaded_scripts_info): Initialize
4005         unsupported_script_warning_printed.
4006         (maybe_add_script): Make static.  Change type of language arg to
4007         struct extension_language_defn *.
4008         (clear_section_scripts): Reset unsupported_script_warning_printed.
4009         (auto_load_objfile_script_1): Rewrite to use extension language API.
4010         (auto_load_objfile_script): Make public.  Remove support-compiled-in
4011         and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
4012         (source_section_scripts): Rewrite to use extension language API.
4013         (load_auto_scripts_for_objfile): Rewrite to use
4014         auto_load_scripts_for_objfile.
4015         (collect_matching_scripts_data): Change type of language member to
4016         struct extension_language_defn *.
4017         (auto_load_info_scripts): Change type of language arg to
4018         struct extension_language_defn *.
4019         (unsupported_script_warning_print): New function.
4020         (script_not_found_warning_print): Make static.
4021         (_initialize_auto_load): Rewrite construction of scripts-directory
4022         help.
4023         * auto-load.h (struct objfile): Add forward decl.
4024         (struct script_language): Delete.
4025         (struct auto_load_pspace_info): Add forward decl.
4026         (struct extension_language_defn): Add forward decl.
4027         (maybe_add_script): Delete.
4028         (auto_load_objfile_script): Declare.
4029         (script_not_found_warning_print): Delete.
4030         (auto_load_info_scripts): Update prototype.
4031         (auto_load_gdb_scripts_enabled): Declare.
4032         * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
4033         auto_load_python_scripts_enabled and made public.
4034         (script_language_python): Delete, moved to python.c.
4035         (gdbpy_script_language_defn): Delete.
4036         (info_auto_load_python_scripts): Update to use
4037         extension_language_python.
4038
4039         * breakpoint.c (condition_command): Replace call to
4040         gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
4041         (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
4042         with call to breakpoint_ext_lang_cond_says_stop.
4043         * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
4044         from gdbpy_should_stop.  Change result type to enum scr_bp_stop.
4045         New arg slang.  Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
4046         (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
4047         New arg slang.
4048         (local_setattro): Print name of extension language with existing
4049         stop condition.
4050
4051         * valprint.c (val_print, value_print): Update to call
4052         apply_ext_lang_val_pretty_printer.
4053         * cp-valprint.c (cp_print_value): Update call to
4054         apply_ext_lang_val_pretty_printer.
4055         * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
4056         (gdbpy_apply_val_pretty_printer): Renamed from
4057         apply_val_pretty_printer.  New arg extlang.
4058         (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
4059
4060         * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
4061         extension language API.
4062         * cli/cli-script.c (execute_control_command): Update to call
4063         eval_ext_lang_from_control_command.
4064
4065         * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
4066         enum ext_lang_bt_status values.  Update call to
4067         apply_ext_lang_frame_filter.
4068         (mi_cmd_stack_list_locals): Ditto.
4069         (mi_cmd_stack_list_args): Ditto.
4070         (mi_cmd_stack_list_variables): Ditto.
4071         * mi/mi-main.c: Delete #include "python/python-internal.h".
4072         Add #include "extension.h".
4073         (mi_cmd_list_features): Replace reference to python internal variable
4074         gdb_python_initialized with call to ext_lang_initialized_p.
4075
4076         * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
4077         Update to use enum ext_lang_frame_args.  Update to call
4078         apply_ext_lang_frame_filter.
4079         * python/py-framefilter.c (extract_sym): Update to use enum
4080         ext_lang_bt_status.
4081         (extract_value, py_print_type, py_print_value): Ditto.
4082         (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
4083         (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
4084         (py_print_frame): Ditto.
4085         (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
4086         New arg extlang.  Update to use enum ext_lang_bt_status.
4087
4088         * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
4089         finish_python_initialization.  Replace with call to
4090         finish_ext_lang_initialization.
4091
4092         * typeprint.c (do_free_global_table): Update to call
4093         free_ext_lang_type_printers.
4094         (create_global_typedef_table): Update to call
4095         start_ext_lang_type_printers.
4096         (find_global_typedef): Update to call apply_ext_lang_type_printers.
4097         * typeprint.h (struct ext_lang_type_printers): Add forward decl.
4098         (type_print_options): Change type of global_printers from "void *"
4099         to "struct ext_lang_type_printers *".
4100
4101         * value.c (preserve_values): Update to call preserve_ext_lang_values.
4102         * python/py-value.c: Remove #ifdef HAVE_PYTHON.
4103         (gdbpy_preserve_values): Renamed from preserve_python_values.
4104         New arg extlang.
4105         (!HAVE_PYTHON, preserve_python_values): Delete.
4106
4107         * utils.c (quit_flag): Delete, moved to extension.c.
4108         (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
4109         extension.c.
4110
4111         * eval.c: Delete #include "python/python.h".
4112         * main.c: Delete #include "python/python.h".
4113
4114         * defs.h: Update comment.
4115
4116 2014-02-06  Joel Brobecker  <brobecker@adacore.com>
4117
4118         GDB 7.7 released.
4119
4120 2014-02-05  Mark Kettenis  <kettenis@gnu.org>
4121
4122         * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
4123         defined.
4124
4125 2014-02-05  Yao Qi  <yao@codesourcery.com>
4126
4127         * remote.c (remote_pass_signals): Remove local 'buf' and use
4128         rs->buf.
4129         (remote_program_signals): Likewise.
4130
4131 2014-02-05  Yao Qi  <yao@codesourcery.com>
4132
4133         * ctf.c: Include "inferior.h" and "gdbthread.h".
4134         (CTF_PID): A new macro.
4135         (ctf_open): Call inferior_appeared and add_thread_silent.
4136         (ctf_close): Call exit_inferior_silent and set inferior_ptid.
4137         (ctf_thread_alive): New function.
4138         (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
4139
4140 2014-02-05  Yao Qi  <yao@codesourcery.com>
4141
4142         Revert this patch:
4143
4144         2013-05-24  Yao Qi  <yao@codesourcery.com>
4145
4146         * tracepoint.c (TFILE_PID): Remove.
4147         (tfile_open): Don't add thread and inferior.
4148         (tfile_close): Don't set 'inferior_ptid'.  Don't call
4149         exit_inferior_silent.
4150         (tfile_thread_alive): Remove.
4151         (init_tfile_ops): Don't set field 'to_thread_alive' of
4152         tfile_ops.
4153
4154 2014-02-04  Christian Eggers  <ceggers@gmx.de>  (tiny change)
4155
4156         * remote.c (remote_start_remote): Call remote_check_symbols even
4157         if only symbol-file (not file) has been given.
4158
4159 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
4160
4161         * gdbarch.sh (skip_entrypoint): New callback.
4162         * gdbarch.c, gdbarch.h: Regenerate.
4163         * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
4164         * infrun.c (fill_in_stop_func): Likewise.
4165         * ppc-linux-tdep.c: Include "elf/ppc64.h".
4166         (ppc_elfv2_elf_make_msymbol_special): New function.
4167         (ppc_elfv2_skip_entrypoint): Likewise.
4168         (ppc_linux_init_abi): Install them for ELFv2.
4169
4170 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
4171
4172         * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
4173         (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
4174         (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
4175         (ppc64_sysv_abi_return_value): Likewise.  Also, handle small
4176         structures returned in GPRs.
4177
4178 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
4179
4180         * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
4181         offset to the stack parameter list for the ELFv2 ABI.
4182
4183 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
4184
4185         * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
4186         set_gdbarch_convert_from_func_ptr_addr and
4187         set_gdbarch_elf_make_msymbol_special for ELFv1.
4188         * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
4189         function descriptors on ELFv1.
4190         (ppc64_sysv_abi_push_dummy_call): Likewise.  On ELFv2,
4191         set up r12 at function entry.
4192
4193 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
4194
4195         * ppc-tdep.h (enum powerpc_elf_abi): New data type.
4196         (struct gdbarch_tdep): New member elf_abi.
4197
4198         * rs6000-tdep.c: Include "elf/ppc64.h".
4199         (rs6000_gdbarch_init): Detect ELF ABI version.
4200
4201 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
4202
4203         * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
4204         within a register pair holding a DFP 128-bit value on little-endian.
4205         (ppc64_sysv_abi_return_value_base): Likewise.
4206         * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
4207         (dfp_pseudo_register_write): Likewise.
4208
4209 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
4210
4211         * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
4212         offset on little-endian when passing _Decimal32.
4213         (ppc64_sysv_abi_return_value_base): Likewise for return values.
4214
4215 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
4216
4217         * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
4218         of the overlapped FP register within the VSX register on little-
4219         endian platforms.
4220         (efpr_pseudo_register_write): Likewise.
4221
4222 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
4223
4224         * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
4225         offset on little-endian when passing small structures.
4226
4227 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
4228
4229         * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
4230         (struct ppc64_sysv_argpos): New data structure.
4231         (ppc64_sysv_abi_push_float): Remove.
4232         (ppc64_sysv_abi_push_val): New function.
4233         (ppc64_sysv_abi_push_integer): Likewise.
4234         (ppc64_sysv_abi_push_freg): Likewise.
4235         (ppc64_sysv_abi_push_vreg): Likewise.
4236         (ppc64_sysv_abi_push_param): Likewise.
4237         (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
4238         (ppc64_sysv_abi_return_value_base): New function.
4239         (ppc64_sysv_abi_return_value): Refactor to use it.
4240
4241 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
4242
4243         * NEWS: Document new target powerpc64le-*-linux*.
4244
4245 2014-02-04  Mark Kettenis  <kettenis@gnu.org>
4246
4247         * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
4248         (sparc64obsd_supply_gregset): Handle registers sets used in ELF
4249         core dumps.
4250         (sparc64obsd_init_abi): Adjust minimum size of the general purpose
4251         register set used in ELF core dumps.  Add floating-point register set.
4252
4253 2014-02-03  Kevin Buettner  <kevinb@redhat.com>
4254
4255         * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite 
4256         dwarf2_to_gdb[] table using symbolic constants.  Adjust
4257         penultimate entry from number representing the PC register
4258         to symbolic constant representing the MDR register.  Add
4259         constant for the PC register to the end of the table.
4260
4261 2014-02-03  Mark Kettenis  <kettenis@gnu.org>
4262
4263         * bsd-kvm.c: Include <sys/param.h>
4264
4265 2014-02-03  Mark Kettenis  <kettenis@gnu.org>
4266
4267         * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
4268
4269 2014-01-31  Joel Brobecker  <brobecker@adacore.com>
4270
4271         * ada-lang.h (clear_ada_sym_cache): Delete.
4272
4273 2014-01-30  Ulrich Weigand  <uweigand@de.ibm.com>
4274
4275         * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
4276
4277 2014-01-29  Jose E. Marchesi  <jose.marchesi@oracle.com>
4278
4279         * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
4280           the sigreturn register save area only if the syscall is
4281           sigreturn.
4282
4283 2014-01-29  Joel Brobecker  <brobecker@adacore.com>
4284
4285         * valops.c (value_slice): Minor reformatting.
4286
4287 2014-01-28  Ulrich Weigand  <uweigand@de.ibm.com>
4288
4289         * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
4290
4291 2014-01-28  Joel Brobecker  <brobecker@adacore.com>
4292
4293         * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
4294         New static globals.
4295         (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
4296         (ada_ignore_descriptive_types_p): New static global.
4297         (find_parallel_type_by_descriptive_type): Return immediately
4298         if ada_ignore_descriptive_types_p is set.
4299         (_initialize_ada_language): Register new commands "maintenance
4300         set ada", "maintenance show ada", "maintenance set ada
4301         ignore-descriptive-types" and "maintenance show ada
4302         ignore-descriptive-types".
4303         * NEWS: Add entry for new "maint ada set/show
4304         ignore-descriptive-types" commands.
4305
4306 2014-01-27  Markus Metzger  <markus.t.metzger@intel.com>
4307
4308         * record-btrace.c (record_btrace_close): Call btrace_teardown
4309         for all threads.
4310
4311 2014-01-27  Joel Brobecker  <brobecker@adacore.com>
4312
4313         * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
4314         "ui-out.h".
4315
4316 2014-01-27  Joel Brobecker  <brobecker@adacore.com>
4317
4318         * ada-typeprint (type_is_full_subrange_of_target_type):
4319         New function.
4320         (print_range): Add parameter bounds_prefered_p.  If not set,
4321         try printing range types using the name of their base type.
4322         (print_range_type): Add parameter bounds_prefered_p.
4323         Use it in call to print_range.
4324         (print_array_type, ada_print_type): Update calls to print_range
4325         and print_range_type.
4326
4327 2014-01-27  Joel Brobecker  <brobecker@adacore.com>
4328
4329         * ada-typeprint.c (print_array_type, print_choices, print_range)
4330         (print_range_bound, print_dynamic_range_bound, print_range_type):
4331         Remove declaration.
4332
4333 2014-01-27  Joel Brobecker  <brobecker@adacore.com>
4334
4335         * ada-typeprint.c (print_range): Add missing empty line
4336         after local declaration.
4337
4338 2014-01-27  Joel Brobecker  <brobecker@adacore.com>
4339
4340         * ada-valprint.c (print_optional_low_bound): Get index_type's
4341         target type for as long as it is a TYPE_CODE_RANGE.
4342
4343 2014-01-27  Joel Brobecker  <brobecker@adacore.com>
4344
4345         * procfs.c (procfs_make_note_section): Remove assertion and
4346         associated comment.
4347
4348 2014-01-24  Yao Qi  <yao@codesourcery.com>
4349
4350         * remote.c (remote_read_bytes): Change type of len to ULONGEST.
4351         * corelow.c (get_core_siginfo): Likewise.
4352
4353 2014-01-24  Yao Qi  <yao@codesourcery.com>
4354
4355         * remote.c (remote_write_bytes_aux): Change type of 'len' to
4356         ULONGEST.  Don't check 'len' is negative.
4357         (remote_write_bytes):  Change type of 'len' to ULONGEST.
4358
4359 2014-01-23  Tom Tromey  <tromey@redhat.com>
4360
4361         PR python/16485:
4362         * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
4363         Handle exception from frame.block.
4364         (FrameVars.fetch_frame_locals): Likewise.
4365
4366 2014-01-23  Tom Tromey  <tromey@redhat.com>
4367
4368         PR python/16487:
4369         * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
4370         on a NULL pointer.  Move "goto error" to correct place.
4371
4372 2014-01-23  Tom Tromey  <tromey@redhat.com>
4373
4374         PR python/16491:
4375         * python/py-framefilter.c (apply_frame_filter): Call
4376         ensure_python_env after computing gdbarch.
4377
4378 2014-01-23  Yao Qi  <yao@codesourcery.com>
4379
4380         * target.c (raw_memory_xfer_partial): Change argument type
4381         from void * to gdb_byte *.
4382         (memory_xfer_partial_1, memory_xfer_partial): Likewise.
4383
4384 2014-01-22  Doug Evans  <dje@google.com>
4385
4386         New gdbserver option --debug-format=timestamp.
4387         * NEWS: Mention it.
4388
4389 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
4390
4391         * syscalls/s390x-linux.xml: New file.
4392         * syscalls/s390-linux.xml: New file.
4393         * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
4394         (XML_SYSCALL_FILENAME_S390X): Likewise.
4395         (op_svc): New enum value for SVC opcode.
4396         (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
4397         (s390_linux_get_syscall_number): New function.
4398         (s390_gdbarch_init): Register '*get_syscall_number' and the
4399         syscall xml file name.
4400         * data-directory/Makefile.in (SYSCALLS_FILES): Add
4401         "s390-linux.xml" and "s390x-linux.xml".
4402         * NEWS: Announce new feature.
4403
4404 2014-01-22  Baruch Siach  <baruch@tkos.co.il>
4405
4406         * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
4407
4408 2014-01-22  Pedro Alves  <palves@redhat.com>
4409
4410         * xtensa-config.c: Include defs.h.
4411
4412 2014-01-22  Joel Brobecker  <brobecker@adacore.com>
4413
4414         * common/common-utils.h: Add "ARI:" comment beside __func__
4415         reference.
4416
4417 2014-01-22  Joel Brobecker  <brobecker@adacore.com>
4418
4419         * common/common-utils.h (FUNCTION_NAME): Expand the macro's
4420         documentation a bit.
4421
4422 2014-01-21  Roland McGrath  <mcgrathr@google.com>
4423
4424         * configure.ac: Call AM_PROG_INSTALL_STRIP.
4425         * configure: Regenerate.
4426         * aclocal.m4: Regenerate.
4427         * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
4428         New substituted variables.
4429         (install-strip): New target.
4430         (INSTALL_SCRIPT): New substituted variable.
4431         (FLAGS_TO_PASS): Add it.
4432         (install-only): Use $(INSTALL_SCRIPT) rather than
4433         $(INSTALL_PROGRAM) for gcore.
4434
4435 2014-01-20  Tom Tromey  <tromey@redhat.com>
4436
4437         * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
4438         together.
4439
4440 2014-01-20  Tom Tromey  <tromey@redhat.com>
4441
4442         * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
4443         (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
4444         (deprecated_cmd_warning, complete_on_cmdlist): Update.
4445         * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
4446         (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
4447         (struct cmd_list_element) <flags>: Remove.
4448         <cmd_deprecated, deprecated_warn_user, malloced_replacement,
4449         doc_allocated>: New fields.
4450         <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
4451         bitfields.
4452         * maint.c (maintenance_do_deprecate): Update.
4453         * top.c (execute_command): Update.
4454
4455 2014-01-20  Baruch Siach  <baruch@tkos.co.il>
4456
4457         * xtensa-linux-nat.c: Include asm/ptrace.h.
4458
4459 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
4460
4461         * Makefile.in (SFILES): Add d-support.c.
4462         (COMMON_OBS): Add d-support.o.
4463         * d-lang.h (d_parse_symbol): Add comment, now defined in
4464         d-support.c.
4465         * d-lang.c (parse_call_convention)
4466         (parse_attributes, parse_function_types)
4467         (parse_function_args, parse_type, parse_identifier)
4468         (call_convention_p, d_parse_symbol): Move functions to ...
4469         * d-support.c: ... New file.
4470
4471 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
4472
4473         * d-lang.h (d_parse_symbol): Add declaration.
4474         * d-lang.c (extract_identifiers)
4475         (extract_type_info): Remove functions.
4476         (parse_call_convention, parse_attributes)
4477         (parse_function_types, parse_function_args)
4478         (parse_type, parse_identifier, call_convention_p)
4479         (d_parse_symbol): New functions.
4480         (d_demangle): Use d_parse_symbol to demangle D symbols.
4481
4482 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
4483
4484         * d-lang.h (struct builtin_d_type): New data type.
4485         (builtin_d_type): Add declaration.
4486         * d-lang.c (d_language_arch_info, build_d_types)
4487         (builtin_d_type): New functions.
4488         (enum d_primitive_types): New data type.
4489         (d_language_defn): Change c_language_arch_info to
4490         d_language_arch_info.
4491         (d_type_data): New static variable.
4492         (_initialize_d_language): Initialize d_type_data.
4493
4494 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
4495
4496         * d-lang.h (d_main_name): Add declaration.
4497         * d-lang.c (d_main_name): New function.
4498         * symtab.c (find_main_name): Add call to d_main_name.
4499
4500 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
4501
4502         * d-lang.c (d_language_defn): Change macro_expansion_c to
4503         macro_expansion_no.
4504
4505 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
4506
4507         * MAINTAINERS: Add myself as a write-after-approval maintainer.
4508
4509 2014-01-17  Sergio Durigan Junior  <sergiodj@redhat.com>
4510
4511         * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
4512         gdb_exception" declaration.
4513         * remote.c (getpkt_or_notif_sane): Likewise.
4514
4515 2014-01-17  Doug Evans  <dje@google.com>
4516
4517         * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
4518         function, contents of dirnames_to_char_ptr_vec_append moved here.
4519         (delim_string_to_char_ptr_vec): New function.
4520         (dirnames_to_char_ptr_vec_append): Rewrite.
4521         * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
4522
4523 2014-01-17  Doug Evans  <dje@google.com>
4524
4525         * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
4526         and moved here ...
4527         * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
4528         #include "common-utils.h".
4529         (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
4530         * common/vec.h (VEC_ASSERT_PASS): Update.
4531         * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
4532         (MACH_CHECK_ERROR): Update.
4533
4534 2014-01-17  Simon Marchi  <simon.marchi@ericsson.com>
4535
4536         * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
4537         comments.
4538         * gdbarch.h: Regenerate.
4539
4540 2014-01-16  Tom Tromey  <tromey@redhat.com>
4541
4542         * value.c (struct value) <regnum>: Move earlier.
4543
4544 2014-01-16  Tom Tromey  <tromey@redhat.com>
4545
4546         * remote.c (extended_remote_create_inferior): Rename from
4547         extended_remote_create_inferior_1.  Add "ops" argument.  Remove
4548         old implementation.
4549
4550 2014-01-16  Pedro Alves  <palves@redhat.com>
4551
4552         * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
4553         NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
4554         the backchain.
4555
4556 2014-01-16  Doug Evans  <dje@google.com>
4557
4558         * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
4559
4560 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
4561
4562         * btrace.h (btrace_thread_flag): New.
4563         (struct btrace_thread_info) <flags>: New.
4564         * record-btrace.c (record_btrace_resume_thread)
4565         (record_btrace_find_thread_to_move, btrace_step_no_history)
4566         (btrace_step_stopped, record_btrace_start_replaying)
4567         (record_btrace_step_thread, record_btrace_decr_pc_after_break)
4568         (record_btrace_find_resume_thread): New.
4569         (record_btrace_resume, record_btrace_wait): Extend.
4570         (record_btrace_can_execute_reverse): New.
4571         (record_btrace_open): Fail in non-stop mode.
4572         (record_btrace_set_replay): Split into this, ...
4573         (record_btrace_stop_replaying): ... this, ...
4574         (record_btrace_clear_histories): ... and this.
4575         (init_record_btrace_ops): Init to_can_execute_reverse.
4576         * NEWS: Announce it.
4577
4578 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
4579
4580         * target.h (struct target_ops) <to_decr_pc_after_break>: New.
4581         (forward_target_decr_pc_after_break)
4582         (target_decr_pc_after_break): New.
4583         * target.c (forward_target_decr_pc_after_break)
4584         (target_decr_pc_after_break): New.
4585         * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
4586         instead of gdbarch_decr_pc_after_break.
4587         * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
4588         instead of gdbarch_decr_pc_after_break.
4589         * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
4590         instead of gdbarch_decr_pc_after_break.
4591         * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
4592         instead of gdbarch_decr_pc_after_break.
4593         * linux-thread-db.c (check_event): Call target_decr_pc_after_break
4594         instead of gdbarch_decr_pc_after_break.
4595         * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
4596         instead of gdbarch_decr_pc_after_break.
4597
4598 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
4599
4600         * btrace.c: Include regcache.h.
4601         (btrace_add_pc): New.
4602         (btrace_enable): Call btrace_add_pc.
4603         (btrace_is_empty): New.
4604         * btrace.h (btrace_is_empty): New.
4605         * record-btrace.c (require_btrace, record_btrace_info): Call
4606         btrace_is_empty.
4607
4608 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
4609
4610         * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
4611         Support delta reads.
4612         (linux_disable_btrace): Change return type.
4613         * common/linux-btrace.h (linux_read_btrace): Change parameters
4614         and return type to allow error reporting.  Update users.
4615         (linux_disable_btrace): Change return type.  Update users.
4616         * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
4617         New.
4618         (btrace_error): New.
4619         (btrace_block) <begin>: Comment on BEGIN == 0.
4620         * btrace.c (btrace_compute_ftrace): Start from the end of
4621         the current trace.
4622         (btrace_stitch_trace, btrace_clear_history): New.
4623         (btrace_fetch): Read delta trace, return if replaying.
4624         (btrace_clear): Move clear history code to btrace_clear_history.
4625         (parse_xml_btrace): Throw an error if parsing failed.
4626         * target.h (struct target_ops) <to_read_btrace>: Change parameters
4627         and return type to allow error reporting.
4628         (target_read_btrace): Change parameters and return type to allow
4629         error reporting.
4630         * target.c (target_read_btrace): Update.
4631         * remote.c (remote_read_btrace): Support delta reads.  Pass
4632         errors on.
4633         * NEWS: Announce it.
4634
4635 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
4636
4637         * record.h (record_btrace_frame_unwind)
4638         (record_btrace_tailcall_frame_unwind): New declarations.
4639         * dwarf2-frame: Include record.h
4640         (dwarf2_frame_cfa): Throw an error for btrace frames.
4641         * record-btrace.c: Include hashtab.h.
4642         (btrace_get_bfun_name): New.
4643         (btrace_call_history): Call btrace_get_bfun_name.
4644         (struct btrace_frame_cache): New.
4645         (bfcache): New.
4646         (bfcache_hash, bfcache_eq, bfcache_new): New.
4647         (btrace_get_frame_function): New.
4648         (record_btrace_frame_unwind_stop_reason): Allow unwinding.
4649         (record_btrace_frame_this_id): Compute own id.
4650         (record_btrace_frame_prev_register): Provide PC, throw_error
4651         for all other registers.
4652         (record_btrace_frame_sniffer): Detect btrace frames.
4653         (record_btrace_tailcall_frame_sniffer): New.
4654         (record_btrace_frame_dealloc_cache): New.
4655         (record_btrace_frame_unwind): Add new functions.
4656         (record_btrace_tailcall_frame_unwind): New.
4657         (_initialize_record_btrace): Allocate cache.
4658         * btrace.c (btrace_clear): Call reinit_frame_cache.
4659         * NEWS: Announce it.
4660
4661 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
4662
4663         * record-btrace.c (record_btrace_set_replay)
4664         (record_btrace_goto_begin, record_btrace_goto_end)
4665         (record_btrace_goto): New.
4666         (init_record_btrace_ops): Initialize them.
4667         * NEWS: Announce it.
4668
4669 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
4670
4671         * record-btrace.c (record_btrace_find_new_threads)
4672         (record_btrace_thread_alive): New.
4673         (init_record_btrace_ops): Initialize to_find_new_threads and
4674         to_thread_alive.
4675
4676 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
4677
4678         * record-btrace.c (record_btrace_resume): New.
4679         (record_btrace_wait): New.
4680         (init_record_btrace_ops): Initialize to_wait and to_resume.
4681
4682 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
4683
4684         * record-btrace.c (record_btrace_xfer_partial)
4685         (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
4686         (record_btrace_allow_memory_access): New.
4687         (init_record_btrace_ops): Initialize new methods.
4688         * target.c (raw_memory_xfer_partial): Bail out if target reports
4689         that this memory is not available.
4690
4691 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
4692
4693         * target.h (target_ops) <to_insert_breakpoint>
4694         <to_remove_breakpoint>: Add target_ops parameter.
4695         (forward_target_insert_breakpoint): New.
4696         (forward_target_remove_breakpoint): New.
4697         (memory_remove_breakpoint, memory_insert_breakpoint):
4698         Add target_ops parameter.
4699         * target.c (target_insert_breakpoint): Split into this and ...
4700         (forward_target_insert_breakpoint): ... this.
4701         (target_remove_breakpoint): Split into this and ...
4702         (forward_target_remove_breakpoint): ... this.
4703         (debug_to_insert_breakpoint): Add target_ops parameter.
4704         Call forward_target_insert_breakpoint.
4705         (debug_to_remove_breakpoint): Add target_ops parameter.
4706         Call forward_target_remove_breakpoint.
4707         (update_current_target): Do not inherit or default to_insert_breakpoint
4708         and to_remove_breakpoint.
4709         * corelow.c (ignore): Add target_ops parameter.
4710         * exec.c (ignore): Add target_ops parameter.
4711         * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
4712         Add target_ops parameter.
4713         * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
4714         Add target_ops parameter.
4715         * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
4716         Add target_ops parameter.
4717         * record-full.c (record_full_beneath_to_insert_breakpoint)
4718         (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
4719         (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
4720         (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
4721         (record_full_core_remove_breakpoint): Add target_ops parameter.
4722         Update users.
4723         (record_full_beneath_to_insert_breakpoint_ops)
4724         (record_full_beneath_to_remove_breakpoint_ops)
4725         (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
4726         (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
4727         tmp_to_remove_breakpoint_ops,
4728         record_full_beneath_to_insert_breakpoint_ops, and
4729         record_full_beneath_to_remove_breakpoint_ops.
4730         * remote-m32r-sdi.c (m32r_insert_breakpoint)
4731         (m32r_remove_breakpoint): Add target_ops parameter.
4732         * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
4733         Add target_ops parameter.
4734         * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
4735         Add target_ops parameter.
4736
4737 2014-01-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
4738             Markus Metzger  <markus.t.metzger@intel.com>
4739
4740         * record-btrace.c: Include frame-unwind.h.
4741         (record_btrace_frame_unwind_stop_reason)
4742         (record_btrace_frame_this_id, record_btrace_frame_prev_register)
4743         (record_btrace_frame_sniffer, record_btrace_frame_unwind):
4744         New.
4745         (init_record_btrace_ops): Install it.
4746
4747 2014-01-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
4748
4749         * frame.c (get_frame_unwind_stop_reason): Unconditionally call
4750         get_prev_frame_1.
4751
4752 2014-01-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
4753
4754         * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
4755         earlier.
4756
4757 2014-01-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
4758
4759         * frame-unwind.c: Include target.h.
4760         (frame_unwind_try_unwinder): New function with code from ...
4761         (frame_unwind_find_by_frame): ... here.  New variable
4762         unwinder_from_target, call also target_get_unwinder)
4763         (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
4764         * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
4765         * target.h (struct target_ops): New fields to_get_unwinder and
4766         to_get_tailcall_unwinder.
4767         (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
4768
4769 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
4770
4771         * record-btrace.c (record_btrace_fetch_registers)
4772         (record_btrace_store_registers)
4773         (record_btrace_to_prepare_to_store): New.
4774         (init_record_btrace_ops): Add the above.
4775
4776 2014-01-16  Tom Tromey  <tromey@redhat.com>
4777
4778         * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
4779         * target.h (struct target_ops) <to_prepare_to_store>: Add
4780         argument.
4781         (target_prepare_to_store): Add argument.
4782         * target.c (debug_to_prepare_to_store): Add argument.
4783         (update_current_target): Update.
4784         * remote.c (remote_prepare_to_store): Add 'self' argument.
4785         * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
4786         * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
4787         * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
4788         * record-full.c (record_full_core_prepare_to_store): Add 'self'
4789         argument.
4790         * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
4791         * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
4792         * monitor.c (monitor_prepare_to_store): Add 'self' argument.
4793         * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
4794         * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
4795
4796 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
4797
4798         * btrace.h (replay) <replay>: New.
4799         (btrace_is_replaying): New.
4800         * btrace.c (btrace_clear): Free replay iterator.
4801         (btrace_is_replaying): New.
4802         * record-btrace.c (record_btrace_is_replaying): New.
4803         (record_btrace_info): Print insn number if replaying.
4804         (record_btrace_insn_history): Start at replay position.
4805         (record_btrace_call_history): Start at replay position.
4806         (init_record_btrace_ops): Init to_record_is_replaying.
4807
4808 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
4809
4810         * record-btrace.c (record_btrace_insn_history_range): Include
4811         end.
4812         (record_btrace_insn_history_from): Adjust range.
4813         (record_btrace_call_history_range): Include
4814         end.
4815         (record_btrace_call_history_from): Adjust range.
4816         * NEWS: Announce changes.
4817
4818 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
4819
4820         * record.h (enum record_print_flag)
4821         <record_print_indent_calls>: New.
4822         * record.c (get_call_history_modifiers): Recognize /c modifier.
4823         (_initialize_record): Document /c modifier.
4824         * record-btrace.c (btrace_call_history): Add btinfo parameter.
4825         Reorder fields.  Optionally indent the function name.  Update
4826         all users.
4827         * NEWS: Announce changes.
4828
4829 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
4830
4831         * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
4832
4833 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
4834
4835         * btrace.c (ftrace_new_function): Start counting at one.
4836         * record-btrace.c (record_btrace_info): Adjust number of calls
4837         and insns.
4838         * NEWS: Announce it.
4839
4840 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
4841
4842         * record-btrace.c (btrace_call_history_insn_range): Print
4843         insn range as [begin, end].
4844
4845 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
4846
4847         * btrace.h (struct btrace_func_link): New.
4848         (enum btrace_function_flag): New.
4849         (struct btrace_inst): Rename to ...
4850         (struct btrace_insn): ...this. Update all users.
4851         (struct btrace_func) <ibegin, iend>: Remove.
4852         (struct btrace_func_link): New.
4853         (struct btrace_func): Rename to ...
4854         (struct btrace_function): ...this. Update all users.
4855         (struct btrace_function) <segment, flow, up, insn, insn_offset)
4856         (number, level, flags>: New.
4857         (struct btrace_insn_iterator): Rename to ...
4858         (struct btrace_insn_history): ...this.
4859         Update all users.
4860         (struct btrace_insn_iterator, btrace_call_iterator): New.
4861         (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
4862         (struct btrace_target_info) <begin, end, level>
4863         <insn_history, call_history>: New.
4864         (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4865         (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4866         (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4867         (btrace_call_number, btrace_call_begin, btrace_call_end)
4868         (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4869         (btrace_find_function_by_number, btrace_set_insn_history)
4870         (btrace_set_call_history): New.
4871         * btrace.c (btrace_init_insn_iterator)
4872         (btrace_init_func_iterator, compute_itrace): Remove.
4873         (ftrace_print_function_name, ftrace_print_filename)
4874         (ftrace_skip_file): Change
4875         parameter to const.
4876         (ftrace_init_func): Remove.
4877         (ftrace_debug): Use new btrace_function fields.
4878         (ftrace_function_switched): Also consider gaining and
4879         losing symbol information).
4880         (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
4881         (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
4882         (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
4883         New.
4884         (ftrace_new_function): Move. Remove debug print.
4885         (ftrace_update_lines, ftrace_update_insns): New.
4886         (ftrace_update_function): Check for call, ret, and jump.
4887         (compute_ftrace): Renamed to ...
4888         (btrace_compute_ftrace): ...this. Rewritten to compute call
4889         stack.
4890         (btrace_fetch, btrace_clear): Updated.
4891         (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
4892         (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
4893         (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
4894         (btrace_call_number, btrace_call_begin, btrace_call_end)
4895         (btrace_call_prev, btrace_call_next, btrace_call_cmp)
4896         (btrace_find_function_by_number, btrace_set_insn_history)
4897         (btrace_set_call_history): New.
4898         * record-btrace.c (require_btrace): Use new btrace thread
4899         info fields.
4900         (record_btrace_info, btrace_insn_history)
4901         (record_btrace_insn_history, record_btrace_insn_history_range):
4902         Use new btrace thread info fields and new iterator.
4903         (btrace_func_history_src_line): Rename to ...
4904         (btrace_call_history_src_line): ...this. Use new btrace
4905         thread info fields.
4906         (btrace_func_history): Rename to ...
4907         (btrace_call_history): ...this. Use new btrace thread info
4908         fields and new iterator.
4909         (record_btrace_call_history, record_btrace_call_history_range):
4910         Use new btrace thread info fields and new iterator.
4911
4912 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
4913
4914         * frame.h (frame_id_build_unavailable_stack_special): New.
4915         * frame.c (frame_id_build_unavailable_stack_special): New.
4916
4917 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
4918
4919         * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
4920         (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
4921         (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
4922         to gdbarch.
4923         * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
4924         (i386_insn_is_jump, i386_jmp_p): New.
4925         (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
4926         insn_is_jump to gdbarch.
4927         * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
4928         * gdbarch.h: Regenerated.
4929         * gdbarch.c: Regenerated.
4930         * arch-utils.h (default_insn_is_call, default_insn_is_ret)
4931         (default_insn_is_jump): New.
4932         * arch-utils.c (default_insn_is_call, default_insn_is_ret)
4933         (default_insn_is_jump): New.
4934
4935 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
4936
4937         * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
4938         Change to ...
4939         (btrace_read_type) <BTRACE_READ_ALL>: ... this.  Update users.
4940         (btrace_read_type) <btrace_read_new>: Change to ...
4941         (btrace_read_type) <BTRACE_READ_NEW>: ... this.  Update users.
4942
4943 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
4944
4945         * common/linux-btrace.c (linux_read_btrace): Free trace from
4946         previous iteration.
4947
4948 2014-01-15  Doug Evans  <dje@google.com>
4949
4950         * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
4951         uint32_t.
4952
4953 2014-01-15  Tom Tromey  <tromey@redhat.com>
4954
4955         * dbxread.c (process_one_symbol): Use set_objfile_main_name.
4956         * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
4957         * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
4958         (set_objfile_main_name): New function.
4959         * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
4960         language_of_main>: New fields.
4961         (set_objfile_main_name): Declare.
4962         * symtab.c (find_main_name): Loop over objfiles to find the main
4963         name and language.
4964         (set_main_name): Now static.
4965         (get_main_info): Add comment.
4966         * symtab.h (set_main_name): Don't declare.
4967
4968 2014-01-15  Tom Tromey  <tromey@redhat.com>
4969
4970         * symtab.c (main_progspace_key): New global.
4971         (struct main_info): New.
4972         (name_of_main, language_of_main): Remove.
4973         (get_main_info, main_info_cleanup): New function.
4974         (set_main_name, main_name, main_language): Use get_main_info.
4975         (_initialize_symtab): Initialize main_progspace_key.
4976
4977 2014-01-15  Tom Tromey  <tromey@redhat.com>
4978
4979         * dbxread.c (process_one_symbol): Update.
4980         * dwarf2read.c (read_partial_die): Update.
4981         * symfile.c (set_initial_language): Call main_language.
4982         * symtab.c (language_of_main): Now static.
4983         (set_main_name): Add 'lang' parameter.
4984         (find_main_name): Update.
4985         (main_language): New function.
4986         (symtab_observer_executable_changed): Update.
4987         * symtab.h (set_main_name): Update.
4988         (language_of_main): Remove.
4989         (main_language): Declare.
4990
4991 2014-01-15  Tom Tromey  <tromey@redhat.com>
4992
4993         * symfile.c (init_entry_point_info): Use new "initialized" field.
4994         Update.
4995         * objfiles.h (struct entry_point) <initialized>: New field.
4996         (struct objfile_per_bfd_storage) <ei>: New field, moved from...
4997         (struct objfile) <ei>: ...here.  Remove.
4998         * objfiles.c (entry_point_address_query): Update.
4999
5000 2014-01-15  Tom Tromey  <tromey@redhat.com>
5001
5002         * objfiles.c (entry_point_address_query): Relocate entry point
5003         address.
5004         (objfile_relocate1): Do not relocate entry point address.
5005         * objfiles.h (struct entry_info) <entry_point>: Update comment.
5006         <the_bfd_section_index>: New field.
5007         * symfile.c (init_entry_point_info): Find the entry point's
5008         section.
5009
5010 2014-01-15  Tom Tromey  <tromey@redhat.com>
5011
5012         * solib-frv.c (enable_break): Use entry_point_address_query.
5013
5014 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
5015
5016         * NEWS: Add note on improved process record-replay on
5017         arm*-linux* targets.
5018
5019 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
5020
5021         * arm-tdep.c (enum arm_record_result): New enum.
5022         (arm_record_unsupported_insn): New function.
5023         (arm_record_coproc_data_proc): Removed.
5024         (thumb2_record_ld_st_multiple): New function.
5025         (thumb2_record_ld_st_dual_ex_tbb): New function.
5026         (thumb2_record_data_proc_sreg_mimm): New function.
5027         (thumb2_record_ps_dest_generic): New function.
5028         (thumb2_record_branch_misc_cntrl): New function.
5029         (thumb2_record_str_single_data): New function.
5030         (thumb2_record_ld_mem_hints): New function.
5031         (thumb2_record_ld_word): New function.
5032         (thumb2_record_lmul_lmla_div): New function.
5033         (thumb2_record_decode_insn_handler): New function.
5034         (decode_insn): Add thumb32 instruction handlers.
5035
5036 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
5037
5038         * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
5039         (struct arm_linux_record_tdep): Declare.
5040         (arm_canonicalize_syscall): New function.
5041         (arm_all_but_pc_registers_record): New function.
5042         (arm_linux_syscall_record): New function.
5043         (arm_linux_init_abi): Add syscall recording constructs.
5044         * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
5045         decoding.  (arm_record_coproc_data_proc): Update arm syscall
5046         decoding.
5047         * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
5048         <arm_syscall_record>: New field.
5049         * configure.tgt (arm*-*-linux*): Add linux-record.o to
5050         gdb_target_obs.
5051
5052 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
5053
5054         * arm-tdep.c (thumb_record_misc): Update to use sp as base
5055         register for push instruction recording.
5056
5057 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
5058
5059         * arm-tdep.c (thumb_record_misc): Update to correct logical
5060         error while recording ldm, ldmia and pop instructions.
5061
5062 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
5063
5064         * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
5065
5066 2014-01-15  Pedro Alves  <palves@redhat.com>
5067
5068         * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
5069         (go32_resume, go32_fetch_registers, store_register)
5070         (go32_store_registers, go32_prepare_to_store)
5071         (go32_xfer_memory, go32_files_info, go32_kill_inferior)
5072         (go32_create_inferior, go32_can_run, go32_terminal_init)
5073         (go32_terminal_inferior, go32_terminal_ours): Delete forward
5074         declarations.
5075
5076 2014-01-15  Tom Tromey  <tromey@redhat.com>
5077
5078         * target.h (async_callback_ftype): New typedef.
5079         (struct target_ops) <to_async>: Use it.
5080
5081 2014-01-15  Joel Brobecker  <brobecker@adacore.com>
5082
5083         * python/py-value.c (get_field_type): Remove unnecessary curly
5084         braces for single-statement if block.
5085
5086 2014-01-15  Joel Brobecker  <brobecker@adacore.com>
5087
5088         * python/py-type.c (convert_field): Add missing empty line
5089         after declarations.
5090
5091 2014-01-14  Doug Evans  <dje@google.com>
5092
5093         * symfile.h (expand_symtabs_matching): Renamed from
5094         expand_partial_symbol_names.  Update prototype.
5095         (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5096         * symfile.c (expand_symtabs_matching): Renamed from
5097         expand_partial_symbol_names.  New args file_matcher, kind.
5098         Rename arg fun to symbol_matcher.
5099         (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
5100         * ada-lang.c (ada_complete_symbol_matcher): Renamed from
5101         ada_expand_partial_symbol_name.
5102         (ada_make_symbol_completion_list): Update to call
5103         expand_symtabs_matching.
5104         (ada_add_global_exceptions): Call expand_symtabs_matching.
5105         * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
5106         call map_symbol_filenames.
5107         * symtab.c (sources_info): Update to call map_symbol_filenames.
5108         (search_symbols): Call expand_symtabs_matching.
5109         (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
5110         (default_make_symbol_completion_list_break_on): Update to call
5111         expand_symtabs_matching.
5112         (make_source_files_completion_list): Update to call
5113         map_symbol_filenames.
5114
5115 2014-01-14  Doug Evans  <dje@google.com>
5116
5117         * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
5118         (expand_symtabs_symbol_matcher_ftype): New typedef.
5119         (quick_symbol_functions.expand_symtabs_matching): Update to use.
5120         expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5121         * symfile.c (expand_partial_symbol_names): Update to use
5122         expand_symtabs_symbol_matcher_ftype.
5123         * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
5124         expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5125         Arg name_matcher renamed to symbol_matcher.
5126         * psymtab.c (recursively_search_psymtabs): Update to use
5127         expand_symtabs_symbol_matcher_ftype.  Arg name_matcher renamed to
5128         sym_matcher.
5129         (expand_symtabs_matching_via_partial): Update to use
5130         expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
5131         Arg name_matcher renamed to symbol_matcher.
5132
5133 2014-01-14  Doug Evans  <dje@google.com>
5134
5135         * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
5136         (map_partial_symbol_filenames): Ditto.
5137         * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
5138         (map_partial_symbol_filenames): Ditto.
5139         * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
5140         (map_partial_symbol_filenames): Ditto.
5141         * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
5142         (map_partial_symbol_filenames): Ditto.
5143         * symtab.c: Delete #include "psymtab.h".
5144
5145 2014-01-14  Pedro Alves  <palves@redhat.com>
5146             Tom Tromey  <tromey@redhat.com>
5147
5148         * infrun.c (use_displaced_stepping): Use find_record_target
5149         instead of RECORD_IS_USED.
5150         (adjust_pc_after_break): Use record_full_is_used instead of
5151         RECORD_IS_USED.
5152         * record-btrace.c (record_btrace_open): Call record_preopen
5153         instead of checking RECORD_IS_USED.
5154         * record-full.c (record_full_shortname)
5155         (record_full_core_shortname): New globals.
5156         (record_full_is_used): New function.
5157         (find_full_open): Call record_preopen instead of checking
5158         RECORD_IS_USED.
5159         (init_record_full_ops): Set the target's shortname to
5160         record_full_shortname.
5161         (init_record_full_core_ops): Set the target's shortname to
5162         record_full_core_shortname.
5163         * record-full.h (record_full_is_used): Declare.
5164         * record.c (find_record_target): Make extern.
5165         (record_preopen): New function.
5166         * record.h (RECORD_IS_USED): Delete macro.
5167         (find_record_target, record_preopen): Declare functions.
5168
5169 2014-01-14  Yao Qi  <yao@codesourcery.com>
5170
5171         * gdbarch.sh (core_xfer_shared_libraries): Change its argument
5172         'len''s type to ULONGEST.
5173         (core_xfer_shared_libraries_aix): Likewise.
5174         * gdbarch.c, gdbarch.h: Regenerated.
5175         * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
5176         Change type of 'len' to ULONGEST.
5177         * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5178         (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
5179
5180 2014-01-14  Yao Qi  <yao@codesourcery.com>
5181
5182         * common/linux-osdata.c (linux_xfer_osdata_processes): Change
5183         type of 'len' to ULONGEST.
5184         (linux_xfer_osdata_processgroups): Likewise.
5185         (linux_xfer_osdata_threads): Likewise.
5186         (linux_xfer_osdata_fds): Likewise.
5187         (linux_xfer_osdata_isockets): Likewise.
5188         (linux_xfer_osdata_shm): Likewise.
5189         (linux_xfer_osdata_sem): Likewise.
5190         (linux_xfer_osdata_msg): Likewise.
5191         (linux_common_xfer_osdata): Likewise.
5192         (struct osdata_type) <getter>: Likewise.
5193         * common/linux-osdata.h (linux_common_xfer_osdata): Update
5194         the declaration.
5195
5196 2014-01-14  Yao Qi  <yao@codesourcery.com>
5197
5198         * target.h (target_xfer_partial_ftype): Update.
5199         (struct target_ops) <to_xfer_partial>: Change 'len' type to
5200         ULONGEST.
5201         * aix-thread.c (aix_thread_xfer_partial): Change type of
5202         argument 'len' to ULONGEST.
5203         * auxv.c (procfs_xfer_auxv): Likewise.
5204         (ld_so_xfer_auxv): Likewise.
5205         (memory_xfer_auxv): Likewise.
5206         * bfd-target.c (target_bfd_xfer_partial): Likewise.
5207         * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
5208         * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
5209         * corelow.c (core_xfer_partial): Likewise.
5210         * ctf.c (ctf_xfer_partial): Likewise.
5211         * darwin-nat.c (darwin_read_write_inferior): Likewise.  Use
5212         '%u'.
5213         (darwin_read_dyld_info): Likewise.
5214         (darwin_xfer_partial): Likewise.
5215         * exec.c (section_table_xfer_memory_partial): Likewise.
5216         (exec_xfer_partial): Likewise.
5217         * exec.h (section_table_xfer_memory_partial): Update
5218         declaration.
5219         * gnu-nat.c (gnu_xfer_memory): Likewise.  Call pulongest
5220         instead of plongest.
5221         (gnu_xfer_partial): Likewise.
5222         * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
5223         (ia64_hpux_xfer_solib_got): Likewise.
5224         (ia64_hpux_xfer_partial): Likewise.
5225         * ia64-linux-nat.c (ia64_linux_xfer_partial):
5226         * inf-ptrace.c (inf_ptrace_xfer_partial):
5227         * inf-ttrace.c (inf_ttrace_xfer_partial):
5228         * linux-nat.c (linux_xfer_siginfo): Likewise.
5229         (linux_nat_xfer_partial): Likewise.
5230         (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
5231         (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
5232         * monitor.c (monitor_xfer_memory): Likewise.
5233         (monitor_xfer_partial): Likewise.
5234         * procfs.c (procfs_xfer_partial): Likewise.
5235         * record-full.c (record_full_xfer_partial): Likewise.
5236         (record_full_core_xfer_partial): Likewise.
5237         * remote-sim.c (gdbsim_xfer_memory): Likewise.  Call pulongest
5238         instead of plongest.
5239         (gdbsim_xfer_partial): Likewise.
5240         * remote.c (remote_xfer_partial): Likewise.
5241         * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5242         * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
5243         declaration.
5244         * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5245         (rs6000_xfer_shared_libraries): Likewise.
5246         * sol-thread.c (sol_thread_xfer_partial): Likewise.
5247         * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5248         (sparc_xfer_partial): Likewise.
5249         * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
5250         (spu_xfer_partial): Likewise.
5251         * spu-multiarch.c (spu_xfer_partial): Likewise.
5252         * target.c (target_read_live_memory): Likewise.
5253         (memory_xfer_live_readonly_partial): Likewise.
5254         (memory_xfer_partial, memory_xfer_partial_1): Likewise.
5255         (target_xfer_partial, default_xfer_partial): Likewise.
5256         (current_xfer_partial): Likewise.
5257         * tracepoint.c (tfile_xfer_partial): Likewise.
5258         * windows-nat.c (windows_xfer_memory): Likewise.  Call
5259         pulongest instead of plongest.
5260         (windows_xfer_partial): Likewise.
5261         (windows_xfer_shared_libraries): Likewise.
5262
5263 2014-01-14  Yao Qi  <yao@codesourcery.com>
5264
5265         * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
5266         target_xfer_partial_ftype.
5267
5268 2014-01-13  Siva Chandra Reddy  <sivachandra@google.com>
5269
5270         PR python/15464
5271         PR python/16113
5272         * valops.c (value_struct_elt_bitpos): New function
5273         * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
5274         object to 'None' if the field name is an empty string ("").
5275         * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
5276         attribute to look for a field when 'name' is 'None'.
5277         (get_field_type): New function
5278
5279 2014-01-13  Doug Evans  <dje@google.com>
5280
5281         PR symtab/16426
5282         * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
5283         (try_open_dwop_file): Ditto.
5284         * gdb_bfd.c: #include "vec.h".
5285         (bfdp): New typedef.
5286         (struct gdb_bfd_data): New member included_bfds.
5287         (gdb_bfd_unref): Unref all included bfds.
5288         (gdb_bfd_record_inclusion): New function.
5289         * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
5290
5291 2014-01-13  Tom Tromey  <tromey@redhat.com>
5292
5293         * gdbcore.h (deprecated_core_resize_section_table): Remove.
5294
5295 2014-01-13  Tom Tromey  <tromey@redhat.com>
5296
5297         * defs.h (use_windows): Remove.
5298         * gdb.c (main): Update.
5299         * main.c (captured_main, gdb_main): Update.
5300         * main.h (struct captured_main_args) <use_windows>: Remove.
5301         * top.c (use_windows): Remove.
5302
5303 2014-01-13  Tom Tromey  <tromey@redhat.com>
5304
5305         * defs.h (deprecated_flush_hook): Remove.
5306
5307 2014-01-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
5308
5309         PR threads/16216
5310         * linux-thread-db.c (try_thread_db_load): Add parameter
5311         check_auto_load_safe.  Move here the file_is_auto_load_safe call.
5312         (try_thread_db_load_from_pdir_1): Move it there from here.
5313         (try_thread_db_load_from_sdir): Update caller.
5314         (try_thread_db_load_from_dir): Move it there from here.
5315
5316 2014-01-13  Patrick Palka  <patrick@parcs.ath.cx>
5317
5318         * regformats/regdat.sh: Always rewrite the register file.
5319
5320 2014-01-13  Pedro Alves  <palves@redhat.com>
5321
5322         * Makefile.in (CHECK_HEADERS): New variable.
5323         (check-headers:): New rule.
5324
5325 2014-01-13  Tom Tromey  <tromey@redhat.com>
5326
5327         * cli/cli-setshow.c (do_set_command): Update.
5328         * defs.h (deprecated_set_hook): Remove.
5329         * top.c (deprecated_set_hook): Remove.
5330
5331 2014-01-13  Pedro Alves  <palves@redhat.com>
5332
5333         * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
5334         the tracepoint if the PC is a pseudo-register.
5335
5336 2014-01-13  Tom Tromey  <tromey@redhat.com>
5337
5338         * defs.h (XCALLOC): Remove.
5339         * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
5340         (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
5341         * dwarf2loc.c (allocate_piece_closure): Likewise.
5342         * elfread.c (elf_symfile_segments): Likewise.
5343         (elf_symfile_segments): Likewise.
5344         * gdbtypes.c (copy_type_recursive): Likewise.
5345         * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
5346         * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
5347         * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
5348         XCALLOC.
5349         * mt-tdep.c (mt_gdbarch_init): Likewise.
5350         * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
5351         XCALLOC.
5352         * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
5353         * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
5354         * registry.c (registry_alloc_data): Likewise.
5355         * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
5356         * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
5357         * serial.c (serial_fdopen_ops): Likewise.
5358         * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
5359         XCALLOC.
5360         * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
5361         * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
5362         not XCALLOC.
5363
5364 2014-01-13  Tom Tromey  <tromey@redhat.com>
5365
5366         * defs.h (XMALLOC): Remove.
5367         * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
5368         * bfin-tdep.c (bfin_gdbarch_init): Likewise.
5369         * cli-out.c (struct ui_out *): Likewise.
5370         * cli/cli-dump.c (add_dump_command): Likewise.
5371         (add_dump_command): Likewise.
5372         * complaints.c (get_complaints): Likewise.
5373         (find_complaint): Likewise.
5374         * dwarf2-frame.c (execute_cfa_program): Likewise.
5375         * dwarf2read.c (abbrev_table_read_table): Likewise.
5376         * gdbarch.sh: Likewise.
5377         * gdbarch.c: Rebuild.
5378         * inf-ttrace.c (inf_ttrace_add_page): Likewise.
5379         * interps.c (interp_new): Likewise.
5380         * lm32-tdep.c (lm32_gdbarch_init): Likewise.
5381         * m32r-tdep.c (m32r_gdbarch_init): Likewise.
5382         * mi/mi-console.c (mi_console_file_new): Likewise.
5383         * mi/mi-interp.c (mi_interpreter_init): Likewise.
5384         * mi/mi-out.c (mi_out_new): Likewise.
5385         * mi/mi-parse.c (mi_parse): Likewise.
5386         * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
5387         * moxie-tdep.c (moxie_gdbarch_init): Likewise.
5388         * observer.c (xalloc_observer_list_node): Likewise.
5389         * regcache.c (regcache_xmalloc_1): Likewise.
5390         * reggroups.c (reggroup_new): Likewise.
5391         (_initialize_reggroup): Likewise.
5392         * registry.c (register_data_with_cleanup): Likewise.
5393         * remote.c (remote_notif_stop_alloc_reply): Likewise.
5394         * ser-base.c (serial_ttystate): Likewise.
5395         * ser-mingw.c (make_pipe_state): Likewise.
5396         * ser-pipe.c (pipe_open): Likewise.
5397         * serial.c (serial_open): Likewise.
5398         * sh64-tdep.c (sh64_gdbarch_init): Likewise.
5399         * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
5400         (tui_alloc_win_info): Likewise.
5401         (tui_add_content_elements): Likewise.
5402         * tui/tui-file.c (tui_file_new): Likewise.
5403         * tui/tui-out.c (tui_out_new): Likewise.
5404         * ui-file.c (mem_file_new): Likewise.
5405         * ui-out.c (push_level): Likewise.
5406         (make_cleanup_ui_out_end): Likewise.
5407         (append_header_to_list): Likewise.
5408         (ui_out_new): Likewise.
5409         * user-regs.c (user_reg_add_builtin): Likewise.
5410
5411 2014-01-13  Tom Tromey  <tromey@redhat.com>
5412
5413         * defs.h (XZALLOC): Remove.
5414         * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
5415         * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
5416         (get_ada_tasks_inferior_data): Likewise.
5417         * auto-load.c (get_auto_load_pspace_data): Likewise.
5418         * auxv.c (get_auxv_inferior_data): Likewise.
5419         * bfd-target.c (target_bfd_reopen): Likewise.
5420         * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
5421         (deprecated_insert_raw_breakpoint): Likewise.
5422         * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
5423         * corelow.c (core_open): Likewise.
5424         * darwin-nat.c (darwin_check_new_threads): Likewise.
5425         (darwin_attach_pid): Likewise.
5426         * dummy-frame.c (dummy_frame_push): Likewise.
5427         * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
5428         * dwarf2loc.c (allocate_piece_closure): Likewise.
5429         * elfread.c (elf_symfile_segments): Likewise.
5430         * eval.c (ptrmath_type_p): Likewise.
5431         * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
5432         * gdbtypes.c (alloc_type_arch): Likewise.
5433         (alloc_type_instance): Likewise.
5434         * hppa-tdep.c (hppa_gdbarch_init): Likewise.
5435         * inf-child.c (inf_child_can_use_agent): Likewise.
5436         * inflow.c (get_inflow_inferior_data): Likewise.
5437         * infrun.c (save_infcall_suspend_state): Likewise.
5438         * jit.c (jit_reader_load): Likewise.
5439         (get_jit_objfile_data): Likewise.
5440         (get_jit_program_space_data): Likewise.
5441         (jit_object_open_impl): Likewise.
5442         (jit_symtab_open_impl): Likewise.
5443         (jit_block_open_impl): Likewise.
5444         (jit_frame_sniffer): Likewise.
5445         * linux-fork.c (add_fork): Likewise.
5446         * maint.c (make_command_stats_cleanup): Likewise.
5447         * objfiles.c (get_objfile_pspace_data): Likewise.
5448         * opencl-lang.c (struct lval_closure): Likewise.
5449         * osdata.c (osdata_start_osdata): Likewise.
5450         * progspace.c (new_address_space): Likewise.
5451         (add_program_space): Likewise.
5452         * remote-sim.c (get_sim_inferior_data): Likewise.
5453         * sh-tdep.c (sh_gdbarch_init): Likewise.
5454         * skip.c (Ignore): Likewise.
5455         (skip_delete_command): Likewise.
5456         * solib-aix.c (get_solib_aix_inferior_data): Likewise.
5457         (library_list_start_library): Likewise.
5458         (solib_aix_current_sos): Likewise.
5459         * solib-darwin.c (get_darwin_info): Likewise.
5460         (darwin_current_sos): Likewise.
5461         * solib-dsbt.c (get_dsbt_info): Likewise.
5462         * solib-ia64-hpux.c (new_so_list): Likewise.
5463         (ia64_hpux_get_solib_linkage_addr): Likewise.
5464         * solib-spu.c (append_ocl_sos): Likewise.
5465         (spu_current_sos): Likewise.
5466         * solib-svr4.c (get_svr4_info): Likewise.
5467         (svr4_keep_data_in_core): Likewise.
5468         (library_list_start_library): Likewise.
5469         (svr4_default_sos): Likewise.
5470         (svr4_read_so_list): Likewise.
5471         * solib-target.c (library_list_start_library): Likewise.
5472         (solib_target_current_sos): Likewise.
5473         * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
5474         * symfile-debug.c (install_symfile_debug_logging): Likewise.
5475         * symfile.c (default_symfile_segments): Likewise.
5476         * target-descriptions.c (tdesc_data_init): Likewise.
5477         (tdesc_create_reg): Likewise.
5478         (struct tdesc_type *): Likewise.
5479         (tdesc_create_vector): Likewise.
5480         (tdesc_set_struct_size): Likewise.
5481         (struct tdesc_type *): Likewise.
5482         (tdesc_free_feature): Likewise.
5483         (tdesc_create_feature): Likewise.
5484         * windows-nat.c (windows_add_thread): Likewise.
5485         (windows_make_so): Likewise.
5486         * xml-support.c (gdb_xml_body_text): Likewise.
5487         (gdb_xml_create_parser_and_cleanup): Likewise.
5488         (xml_process_xincludes): Likewise.
5489         * xml-syscall.c (allocate_syscalls_info): Likewise.
5490         (syscall_create_syscall_desc): Likewise.
5491
5492 2014-01-12  Sergio Durigan Junior  <sergiodj@redhat.com>
5493
5494         * i386-tdep.c (i386_stap_parse_special_token_triplet): New
5495         function, with code from i386_stap_parse_special_token.
5496         (i386_stap_parse_special_token_three_arg_disp): Likewise.
5497         (i386_stap_parse_special_token): Move code to the two functions
5498         above; simplify it.
5499
5500 2014-01-09  Pedro Alves  <palves@redhat.com>
5501             Hui Zhu  <hui@codesourcery.com>
5502
5503         PR gdb/16101
5504         * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
5505         bp_err_string.  Don't mark the location shlib_disabled if the
5506         error thrown wasn't a generic or memory error.  Catch errors
5507         thrown while inserting breakpoints in overlayed code.  Output
5508         error message of software breakpoints.
5509         * remote.c (remote_insert_breakpoint): If this breakpoint has
5510         target-side commands but this stub doesn't support Z0 packets,
5511         throw NOT_SUPPORTED_ERROR error.
5512         * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
5513         * target.h (target_insert_breakpoint): Extend comment.
5514         (target_insert_hw_breakpoint): Add comment.
5515
5516 2014-01-08  Pedro Alves  <palves@redhat.com>
5517
5518         * remote.c (remote_add_thread): Add threads silently if starting
5519         up.
5520         (remote_notice_new_inferior): If in all-stop, and starting up,
5521         don't call notice_new_inferior.
5522         (get_current_thread): New function, factored out from ...
5523         (add_current_inferior_and_thread): ... this.  Adjust.
5524         (remote_start_remote) <all-stop>: Fetch the thread list.  If we
5525         found any thread, then select the remote's current thread as GDB's
5526         current thread too.
5527
5528 2014-01-08  Joel Brobecker  <brobecker@adacore.com>
5529
5530         * NEWS: Create a new section for the next release branch.
5531         Rename the section of the current branch, now that it has
5532         been cut.
5533
5534 2014-01-08  Joel Brobecker  <brobecker@adacore.com>
5535
5536         GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
5537         * version.in: Bump version to 7.7.50.DATE-cvs.
5538
5539 2014-01-08  Yao Qi  <yao@codesourcery.com>
5540
5541         * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
5542         type of 'id' to gdb_byte.  Cast 'id' to 'const char *'.
5543         (spu_xfer_partial): Cast 'buf' to 'const char *'.
5544
5545 2014-01-08  Yao Qi  <yao@codesourcery.com>
5546
5547         * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
5548         return value of bfd_get_filename to symbol_file_add_from_bfd.
5549
5550 2014-01-08  Pierre Muller  <muller@sourceware.org>
5551
5552         Fix PR16201.
5553         * coff-pe-read.c (struct read_pe_section_data): Add index field.
5554         (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
5555         to prim_record_mininal_symbol_and_info.
5556         (add_pe_forwarded_sym): Use known section number of forwarded symbol
5557         in call to prim_record_minimal_symbol_and_info.
5558         (read_pe_exported_syms): Set index field of section_data.
5559
5560 2014-01-07  Andrew Pinski  <apinski@cavium.com>
5561
5562         * features/aarch64-core.xml (cpsr): Change to be 64bit.
5563         * features/aarch64.c: Regenerate.
5564
5565 2014-01-07  Andreas Schwab  <schwab@linux-m68k.org>
5566
5567         * target.c (return_null): Define.
5568         (update_current_target): Use it instead of return_zero for
5569         functions that return a pointer.
5570
5571 2014-01-07  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
5572
5573         * source.c (add_path): Fix check for duplicated paths in the previously
5574         included paths.
5575
5576 2014-01-07  Honggyu Kim  <hong.gyu.kim@lge.com>
5577
5578         * ada-lang.c: Remove duplicated include statements.
5579         * alphabsd-nat.c: Ditto.
5580         * amd64-darwin-tdep.c: Ditto.
5581         * amd64fbsd-nat.c: Ditto.
5582         * auto-load.c: Ditto.
5583         * ax-gdb.c: Ditto.
5584         * breakpoint.c: Ditto.
5585         * dbxread.c: Ditto.
5586         * fork-child.c: Ditto.
5587         * gdb_usleep.c: Ditto.
5588         * i386-darwin-tdep.c: Ditto.
5589         * i386fbsd-nat.c: Ditto.
5590         * infcmd.c: Ditto.
5591         * inferior.c: Ditto.
5592         * jv-lang.c: Ditto.
5593         * linux-nat.c: Ditto.
5594         * linux-tdep.c: Ditto.
5595         * m68kbsd-nat.c: Ditto.
5596         * m68klinux-nat.c: Ditto.
5597         * microblaze-tdep.c: Ditto.
5598         * mips-linux-tdep.c: Ditto.
5599         * mn10300-tdep.c: Ditto.
5600         * nto-tdep.c: Ditto.
5601         * opencl-lang.c: Ditto.
5602         * osdata.c: Ditto.
5603         * printcmd.c: Ditto.
5604         * regcache.c: Ditto.
5605         * remote-m32r-sdi.c: Ditto.
5606         * remote.c: Ditto.
5607         * symfile.c: Ditto.
5608         * symtab.c: Ditto.
5609         * tilegx-linux-nat.c: Ditto.
5610         * tilegx-tdep.c: Ditto.
5611         * tracepoint.c: Ditto.
5612         * valops.c: Ditto.
5613         * vaxbsd-nat.c: Ditto.
5614         * windows-nat.c: Ditto.
5615         * xtensa-tdep.c: Ditto.
5616
5617 2014-01-07  Yao Qi  <yao@codesourcery.com>
5618
5619         * spu-linux-nat.c (_initialize_spu_nat): Declare.
5620
5621 2014-01-07  Yao Qi  <yao@codesourcery.com>
5622             Joel Brobecker  <brobecker@adacore.com>
5623
5624         * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
5625         (pdc_write_regs): Likewise.
5626         (fetch_regs_kernel_thread): Likewise.
5627         (store_regs_kernel_thread): Likewise.
5628
5629 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
5630
5631         * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
5632         tagged type objects to their actual type.
5633
5634 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
5635
5636         * ada-valprint.c (print_field_values): Add "language" parameter.
5637         Update calls to print_field_values and print_variant_part.
5638         Pass new parameter "language" in call to val_print instead
5639         of "current_language".  Replace call to ada_val_print by call
5640         to val_print.
5641         (print_variant_part): Add "language" parameter.
5642         (ada_val_print_struct_union): Update call to print_field_values.
5643
5644 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
5645
5646         * ada-valprint.c (ui_memcpy): Delete.
5647         (ada_print_floating): Update documentation.  Add empty line
5648         between between function documentation and implementation.
5649         Delete variable "buffer".  Use ui_file_xstrdup in place of
5650         ui_file_put.  Minor adjustments following this change.
5651
5652 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
5653
5654         * ada-valprint.c (ada_val_print_string): New function,
5655         extracted from ada_val_print_array.
5656         (ada_val_print_array): Replace extracted code by call
5657         to ada_val_print_string followed by a return.  Move
5658         "else" branch to the function's top block.
5659
5660 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
5661
5662         * ada-valprint.c (ada_val_print_array): Move implementation
5663         down.  Rename parameter "offset" and "val" into "offset_aligned"
5664         and "original_value" respectively.  Add parameter "offset".
5665
5666 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
5667
5668         * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
5669         re-organizing the code. Change the "???" message printed
5670         when target type is a TYPE_CODE_UNDEF into
5671         "<ref to undefined type>".
5672
5673 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
5674
5675         * ada-valprint.c (print_record): Delete, implementation inlined...
5676         (ada_val_print_struct_union): ... here.  Remove call to
5677         ada_check_typedef in inlined implementation.
5678
5679 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
5680
5681         * ada-valprint.c (ada_val_print_gnat_array): New function,
5682         extracted from ada_val_print_1;
5683         (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
5684         (ada_val_print_flt, ada_val_print_struct_union)
5685         (ada_val_print_ref): Likewise.
5686         (ada_val_print_1): Delete variables i and elttype.
5687         Replace extracted-out code by call to corresponding
5688         new functions.
5689
5690 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
5691
5692         * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
5693
5694 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
5695
5696         * ada-valprint.c (ada_val_print_1): Replace calls to
5697         ada_val_print_1 by calls to val_print.
5698
5699 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
5700
5701         * ada-valprint.c (ada_val_print_1): Add parameter "language".
5702         Update calls to self accordingly.  Replace calls to c_val_print
5703         by calls to val_print.
5704
5705 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
5706
5707         * ada-valprint.c (print_record): Delete declaration.
5708         (adjust_type_signedness, ada_val_print_1): Likewise.
5709         (ada_val_print): Move function implementation down.
5710         (print_variant_part, print_field_values, print_record):
5711         Move function implementation up.
5712
5713 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
5714
5715         * python/py-type.c (typy_get_name): New function.
5716         (type_object_getset): Add entry for attribute "name".
5717         * NEWS: Add entry mentioning this new attribute.
5718
5719 2014-01-07  Yao Qi  <yao@codesourcery.com>
5720
5721         * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
5722         statement.
5723
5724 2014-01-07  Yao Qi  <yao@codesourcery.com>
5725
5726         * gnu-nat.c (info_port_rights): Add qualifier const to
5727         argument args.
5728
5729 2014-01-07  Yao Qi  <yao@codesourcery.com>
5730
5731         * gnu-nat.c (trace_me): Use 'void' for empty argument list.
5732
5733 2014-01-07  Yao Qi  <yao@codesourcery.com>
5734
5735         * gnu-nat.c (make_inf) Update declaration.
5736         (make_inf): Make it static.
5737         (inf_set_traced): Likewise.
5738         (inf_port_to_thread, inf_task_died_status): Likewise.
5739
5740 2014-01-07  Yao Qi  <yao@codesourcery.com>
5741
5742         * gnu-nat.c (inf_tid_to_proc): Remove declaration.
5743
5744 2014-01-07  Yao Qi  <yao@codesourcery.com>
5745
5746         * gnu-nat.c (_initialize_gnu_nat): Declare.
5747
5748 2014-01-07  Yao Qi  <yao@codesourcery.com>
5749
5750         * gdbarch.sh (byte_order, byte_order_for_code): Change type to
5751         'enum bfd_endian'.
5752         (struct gdbarch_info) <byte_order>: Change type to
5753         'enum bfd_endian'.
5754         <byte_order_for_code>: Likewise.
5755         * gdbarch.c, gdbarch.h: Regenerated.
5756
5757 2014-01-06  Sasha Smundak  <asmundak@google.com>
5758
5759         * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
5760
5761 2014-01-06  Tom Tromey  <tromey@redhat.com>
5762
5763         * doublest.c (convert_doublest_to_floatformat): Use const, not
5764         CONST.
5765         * somread.c (som_symtab_read): Likewise.
5766
5767 2014-01-07  Hui Zhu  <hui@codesourcery.com>
5768
5769         * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
5770         (gdb_bfd_open): Removed gdb_bfd_stash_filename.
5771         (gdb_bfd_fopen): Ditto.
5772         (gdb_bfd_openr): Ditto.
5773         (gdb_bfd_openw): Ditto.
5774         (gdb_bfd_openr_iovec): Ditto.
5775         (gdb_bfd_fdopenr): Ditto.
5776         * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
5777         * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
5778         with xstrdup.
5779         * solib-darwin.c (darwin_bfd_open): Alloc res->filename
5780         with xstrdup.
5781         * symfile-mem.c (symbol_file_add_from_memory): Removed
5782         gdb_bfd_stash_filename.
5783
5784 2014-01-03  Doug Evans  <dje@google.com>
5785
5786         * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
5787         output.
5788
5789 2014-01-01  Joel Brobecker  <brobecker@adacore.com>
5790
5791         Update year range in copyright notice of all files.
5792
5793 2014-01-01  Joel Brobecker  <brobecker@adacore.com>
5794
5795         * top.c (print_gdb_version): Set copyright year to 2014.
5796
5797 2014-01-01  Joel Brobecker  <brobecker@adacore.com>
5798
5799         * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
5800
5801 For older changes see ChangeLog-2013.
5802 \f
5803 Local Variables:
5804 mode: change-log
5805 left-margin: 8
5806 fill-column: 74
5807 version-control: never
5808 coding: utf-8
5809 End: