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