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