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