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