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