build_type_unit_groups and moved closer to only caller and renamed
[platform/upstream/binutils.git] / gdb / ChangeLog
1 2014-05-19  Tom Tromey  <tromey@redhat.com>
2
3         * gdbtypes.c (rank_function): Use XNEWVEC.
4         * mi/mi-cmds.c (build_table): Use XCNEWVEC.
5
6 2014-05-19  Doug Evans  <dje@google.com>
7
8         * dwarf2read.c (build_type_psymtabs_1): Renamed from
9         build_type_unit_groups and moved closer to only caller.  Remove
10         arguments.  All references updated.  Remove outdated .gdb_index
11         comment.
12         (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
13         build_type_psymtabs_1.
14
15 2014-05-19  Doug Evans  <dje@google.com>
16
17         * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
18         n_type_unit_groups, all_type_unit_groups.  All uses removed.
19         (get_type_unit_group, build_type_unit_groups): Delete forward decls.
20         (dw2_get_cutu): Renamed from dw2_get_cu.  All callers updated.
21         (dw2_get_cu): Renamed from dw2_get_primary_cu.  All callers updated.
22         (add_type_unit_group_to_table): Delete.
23
24 2014-05-19  Doug Evans  <dje@google.com>
25
26         * eval.c (evaluate_subexp_standard): Add some comments.
27
28 2014-05-17  Doug Evans  <xdje42@gmail.com>
29
30         * progspace.c (remove_program_space): Delete, unused.
31         * progspace.h (remove_program_space): Ditto.
32
33 2014-05-17  Doug Evans  <xdje42@gmail.com>
34
35         * inferior.c (prune_inferiors): Fix comment.
36         (remove_inferior_command): Call prune_program_spaces.
37
38 2014-05-16  Doug Evans  <dje@google.com>
39
40         New command line option -D.
41         * NEWS: Mention it.
42         * main.c (set_gdb_data_directory): New function.
43         (captured_main): Recognize -D.  Flag error for --data-directory "".
44         Call set_gdb_data_directory.
45         (print_gdb_help): Print --data-directory, -D.
46         * main.h (set_gdb_data_directory): Declare.
47         * top.c (staged_gdb_datadir): New static global.
48         (set_gdb_datadir): Call set_gdb_data_directory
49         (show_gdb_datadir): New function.
50         (init_main): Update init of data-directory parameter.
51
52 2014-05-16  Gregory Fong  <gregory.0xf0@gmail.com>
53
54         Import the "dirfd" gnulib module.
55         * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
56         * gnulib/aclocal.m4: Update.
57         * gnulib/config.in: Update.
58         * gnulib/configure: Update.
59         * gnulib/import/Makefile.am: Update.
60         * gnulib/import/Makefile.in: Update.
61         * gnulib/import/dirfd.c: New.
62         * gnulib/import/m4/dirfd.m4: New.
63         * gnulib/import/m4/gnulib-cache.m4: Update.
64         * gnulib/import/m4/gnulib-comp.m4: Update.
65
66 2014-05-16  Pierre Muller  <muller@sourceware.org>
67             Yao Qi  <yao@codesourcery.com>
68
69         * valprint.c (print_wchar): Move the code on checking whether
70         W is a printable wide char to the default branch of switch
71         statement below.  Call wchar_printable instead of gdb_iswprint.
72
73 2014-05-16  Taimoor Mirza  <tmirza@codesourcery.com>
74
75         * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
76         ldr.w and ldrd instructions.
77
78 2014-05-15  Doug Evans  <dje@google.com>
79
80         * dwarf2read.c (read_structure_type): Delete outdated comments.
81
82 2014-05-14  Tom Tromey  <tromey@redhat.com>
83
84         * macrocmd.c (print_macro_definition): Reindent.
85
86 2014-05-13  Doug Evans  <xdje42@gmail.com>
87
88         * python/py-cmd.c (cmdpy_completer): Add comment.
89         (completers): Make const.
90
91 2014-05-13  Simon Marchi  <simon.marchi@ericsson.com>
92
93         * infrun.c (resume): Remove should_resume (unused).  Move up
94         declaration of resume_ptid.
95
96 2014-05-13  Tom Tromey  <tromey@redhat.com>
97
98         * language.h (unop_type_check): Remove.
99         (binop_type_check): Don't declare.
100
101 2014-05-13  Andreas Arnez  <arnez@vnet.linux.ibm.com>
102
103         * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
104         call to regcache_raw_collect.
105
106 2014-05-12  Simon Marchi  <simon.marchi@ericsson.com>
107
108         * mi/mi-console.c (mi_console_raw_packet): Use the value from
109         mi_console->quote as the quoting character.
110
111 2014-05-12  Simon Marchi  <simon.marchi@ericsson.com>
112
113         * MAINTAINERS (Write After Approval): Add "Simon Marchi".
114
115 2014-04-29  Tom Tromey  <tromey@redhat.com>
116
117         * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
118         "show debug varobj".
119
120 2014-05-07  Kyle McMartin  <kyle@redhat.com>
121
122         Pushed by Joel Brobecker  <brobecker@adacore.com>.
123         * aarch64-tdep.c (aarch64_software_single_step): New function.
124         (aarch64_gdbarch_init): Handle single stepping of atomic sequences
125         with aarch64_software_single_step.
126
127 2014-05-05  Joel Brobecker  <brobecker@adacore.com>
128
129         GDB 7.7.1 released.
130
131 2014-05-05  Keith Seitz  <keiths@redhat.com>
132
133         * linespec.c (linespec_parse_basic): Run cleanups if a convenience
134         variable or history value is successfully parsed.
135
136 2014-05-05  Yao Qi  <yao@codesourcery.com>
137             Pedro Alves  <palves@redhat.com>
138
139         * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
140         address of blocks that intersects the requested range.  Trim
141         LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
142         sections.
143         * ctf.c (ctf_xfer_partial): Likewise.
144
145 2014-05-05  Yao Qi  <yao@codesourcery.com>
146
147         * printcmd.c (display_command): Remove the check to
148         target_has_execution.
149
150 2014-05-03  Mark Kettenis  <kettenis@gnu.org>
151
152         * ppcobsd-nat.c: Include "obsd-nat.h".
153         (_initialize_ppcobsd_nat): Call obsd_add_target instead of
154         add_target.
155         * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
156
157 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
158
159         * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
160         and 16-bit signed and unsigned arguments.  Update comment.
161         (stap_parse_probe_arguments): Extend code to handle such
162         arguments.  Use warning instead of complaint to notify about
163         unrecognized bitness.
164
165 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
166
167         PR breakpoints/16889
168         * stap-probe.c (stap_parse_probe_arguments): Simplify
169         check for non-prefixed probes (i.e., probes whose
170         arguments do not start with "N@").  Always set the
171         argument type to a sane value.
172
173 2014-05-01  David Taylor  <dtaylor@emc.com>
174
175         * remote.c (compare_sections_command): Add -r option to compare
176         all loadable read-only sections.
177
178 2014-04-30  Siva Chandra Reddy  <sivachandra@google.com>
179
180         * dwarf2loc.c (dwarf2_locexpr_baton_eval,
181         dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
182         Update all callers.
183         * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
184         * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
185         Remove unused CORE_ADDR argument.  Update all callers.
186
187 2014-04-29  Pedro Alves  <palves@redhat.com>
188
189         * remote.c (struct packet_config) <detect>: Extend comment.
190         (add_packet_config_cmd): Don't set the config's detect or support
191         fields here.
192         (init_all_packet_configs): Also initialize the config's 'detect'
193         field.
194         (reset_all_packet_configs_support): New function.
195         (remote_open_1): Call reset_all_packet_configs_support instead of
196         init_all_packet_configs.
197         (_initialize_remote): Initialize all packet configs.  Assert that
198         all packets have an associated command, except a few known
199         outliers.
200
201 2014-04-28  Joel Brobecker  <brobecker@adacore.com>
202
203         * dwarf2read.c (read_subrange_type): Handle dynamic
204         DW_AT_lower_bound attributes.
205
206 2014-04-28  Joel Brobecker  <brobecker@adacore.com>
207
208         * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
209         dynamic bounds before computing its upper bound.
210         (ada_discrete_type_low_bound): Same as above with the lower bound.
211
212 2014-04-28  Joel Brobecker  <brobecker@adacore.com>
213
214         * dwarf2read.c (is_dynamic_type): Return true for dynamic
215         range types.  Adjust the array handling implementation to
216         take advantage of this change.
217         (resolve_dynamic_range): New function, mostly extracted from
218         resolve_dynamic_bounds.
219         (resolve_dynamic_array): New function, mostly extracted from
220         resolve_dynamic_bounds.
221         (resolve_dynamic_bounds): Delete.
222         (resolve_dynamic_type): Reimplement.  Add handling of
223         TYPE_CODE_RANGE types.
224
225 2014-04-28  Joel Brobecker  <brobecker@adacore.com>
226
227         * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
228         handling of parallel ___XA types.
229
230 2014-04-28  Joel Brobecker  <brobecker@adacore.com>
231
232         * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
233         unnecessary second call to static_unwrap_type.
234
235 2014-04-27  Hui Zhu  <hui@codesourcery.com>
236
237         * stack.c (print_frame_info): Call do_gdb_disassembly with
238         DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
239
240 2014-04-26  Doug Evans  <xdje42@gmail.com>
241
242         * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
243
244 2014-04-25  Pedro Alves  <palves@redhat.com>
245
246         PR server/16255
247         * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
248         (linux_ptrace_attach_fail_reason): ... this.  Remove "warning: "
249         and newline from built string.
250         * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
251         (linux_ptrace_attach_fail_reason): ... this.
252         * linux-nat.c (linux_nat_attach): Adjust to use
253         linux_ptrace_attach_fail_reason.
254
255 2014-04-25  Pedro Alves  <palves@redhat.com>
256
257         * remote.c (struct remote_state): Remove multi_process_aware,
258         non_stop_aware, cond_tracepoints, cond_breakpoints,
259         breakpoint_commands, fast_tracepoints, static_tracepoints,
260         install_in_trace, disconnected_tracing,
261         enable_disable_tracepoints, string_tracing, and
262         augmented_libraries_svr4_read fields.
263         (remote_multi_process_p): Move further below in the file.
264         (struct packet_config): Add comments.
265         (update_packet_config): Delete function.
266         (show_packet_config_cmd): Use packet_config_support.
267         (add_packet_config_cmd): Use NULL as set callback.
268         (packet_ok): "set remote foo-packet"-style commands no longer
269         change config->supported -- adjust.
270         (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
271         (PACKET_BreakpointCommands, PACKET_FastTracepoints)
272         (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
273         (PACKET_QNonStop, PACKET_multiprocess_feature)
274         (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
275         (PACKET_DisconnectedTracing_feature)
276         (PACKET_augmented_libraries_svr4_read_feature): New enum values.
277         (set_remote_protocol_packet_cmd): Delete function.
278         (packet_config_support, packet_support): New functions.
279         (set_remote_protocol_Z_packet_cmd): Don't call
280         update_packet_config.
281         (remote_query_attached, remote_pass_signals)
282         (remote_program_signals, remote_threads_info)
283         (remote_threads_extra_info, remote_start_remote): Use
284         packet_support.
285         (remote_start_remote): Use packet_config_support and
286         packet_support.
287         (init_all_packet_configs): Set all packets to unknown support,
288         instead of calling update_packet_config.
289         (remote_check_symbols): Use packet_support.
290         (remote_supported_packet): Unconditionally set the packet config's
291         support status.
292         (remote_multi_process_feature, remote_non_stop_feature)
293         (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
294         (remote_breakpoint_commands_feature)
295         (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
296         (remote_install_in_trace_feature)
297         (remote_disconnected_tracing_feature)
298         (remote_enable_disable_tracepoint_feature)
299         (remote_string_tracing_feature)
300         (remote_augmented_libraries_svr4_read_feature): Delete functions.
301         (remote_protocol_features): Adjust to use remote_supported_packet
302         for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
303         "ConditionalTracepoints", "ConditionalBreakpoints",
304         "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
305         "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
306         "EnableDisableTracepoints", and "tracenz".
307         (remote_query_supported): Use packet_support.
308         (remote_open_1): Adjust.
309         (extended_remote_attach_1): Use packet_support.  Switch on the
310         result of packet_ok instead of checking whether the packet ended
311         up disabled.
312         (remote_vcont_resume): Use packet_support.
313         (remote_resume, remote_stop_ns, fetch_register_using_p)
314         (remote_prepare_to_store, store_register_using_P)
315         (check_binary_download, remote_write_bytes): Use packet_support.
316         (remote_vkill): Use packet_support.  Switch on the result of
317         packet_ok instead of checking whether the packet ended up
318         disabled.
319         (extended_remote_supports_disable_randomization): Use
320         packet_support.
321         (extended_remote_run): Switch on the result of packet_ok instead
322         of checking whether the packet ended up disabled.
323         (remote_insert_breakpoint, remote_remove_breakpoint)
324         (remote_insert_watchpoint, remote_remove_watchpoint)
325         (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
326         packet_support.
327         (remote_search_memory): Use packet_config_support.
328         (remote_get_thread_local_address, remote_get_tib_address)
329         (remote_hostio_send_command, remote_can_execute_reverse): Use
330         packet_support.
331         (remote_supports_cond_tracepoints)
332         (remote_supports_cond_breakpoints)
333         (remote_supports_fast_tracepoints)
334         (remote_supports_static_tracepoints)
335         (remote_supports_install_in_trace)
336         (remote_supports_enable_disable_tracepoint)
337         (remote_supports_string_tracing)
338         (remote_can_run_breakpoint_commands): Rewrite, checking whether
339         the packet config says the feature is enabled or disabled.
340         (remote_download_tracepoint, remote_trace_set_readonly_regions)
341         (remote_get_trace_status): Use packet_support.
342         (remote_set_disconnected_tracing): Adjust to check whether the
343         feature is enabled with packet_support.
344         (remote_set_trace_buffer_size, remote_use_agent)
345         (remote_can_use_agent, remote_supports_btrace): Use
346         packet_support.
347         (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
348         Use packet_config_support.
349         (remote_augmented_libraries_svr4_read): Rewrite, checking whether
350         the packet config says the feature is enabled or disabled.
351         (set_range_stepping): Use packet_support.
352
353 2014-04-25  Tom Tromey  <tromey@redhat.com>
354
355         * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
356         argument.
357
358 2014-04-24  Sanimir Agovic  <sanimir.agovic@intel.com>
359
360         * NEWS: Mention support for C99 variable length arrays.
361
362 2014-04-24  Joel Brobecker  <brobecker@adacore.com>
363
364         * ada-lang.c (standard_exc): Expand introductory comment.
365
366 2014-04-24  Michael Sturm  <michael.sturm@mintel.com>
367             Walfred Tedeschi  <walfred.tedeschi@intel.com>
368
369         * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
370         AVX512 registers.
371         (amd64_linux_read_description): Add code to handle AVX512 xstate
372         mask and return respective tdesc.
373         * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
374         and features/i386/x32-avx512-linux.c.
375         (amd64_linux_gregset_reg_offset): Add AVX512 registers.
376         (amd64_linux_core_read_description): Add code to handle AVX512
377         xstate mask and return respective tdesc.
378         (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
379         * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
380         calculation.
381         (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
382         (tdesc_amd64_avx512_linux): New prototype.
383         (tdesc_x32_avx512_linux): Likewise.
384         * amd64-tdep.c: Include features/i386/amd64-avx512.c and
385         features/i386/x32-avx512.c.
386         (amd64_ymm_avx512_names): New register names for pseudo
387         registers YMM16-31.
388         (amd64_ymmh_avx512_names): New register names for raw registers
389         YMMH16-31.
390         (amd64_k_names): New register names for K registers.
391         (amd64_zmmh_names): New register names for ZMM raw registers.
392         (amd64_zmm_names): New registers names for ZMM pseudo registers.
393         (amd64_xmm_avx512_names): New register names for XMM16-31
394         registers.
395         (amd64_pseudo_register_name): Add code to return AVX512 pseudo
396         registers.
397         (amd64_init_abi): Add code to intitialize AVX512 tdep variables
398         if feature is present.
399         (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
400         * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
401         (AMD64_NUM_REGS): Adjust to new number of registers.
402         * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
403         registers supplied via XSTATE by AVX512 registers.
404         (i386_linux_read_description): Add case for AVX512.
405         * i386-linux-tdep.c: Include i386-avx512-linux.c.
406         (i386_linux_gregset_reg_offset): Add AVX512 registers.
407         (i386_linux_core_read_description): Add case for AVX512.
408         (i386_linux_init_abi): Install supported register note section
409         for AVX512.
410         (_initialize_i386_linux_tdep): Add call to tdesc init function for
411         AVX512.
412         * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
413         registers to be number of zmm7h + 1.
414         (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
415         * i386-tdep.c: Include features/i386/i386-avx512.c.
416         (i386_zmm_names): Add ZMM pseudo register names array.
417         (i386_zmmh_names): Add ZMM raw register names array.
418         (i386_k_names): Add K raw register names array.
419         (num_lower_zmm_regs): Add constant for the number of lower ZMM
420         registers. AVX512 has 16 more ZMM registers than there are YMM
421         registers.
422         (i386_zmmh_regnum_p): Add function to look up register number of
423         ZMM raw registers.
424         (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
425         (i386_k_regnum_p): Likewise for K raw registers.
426         (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
427         registers added by AVX512.
428         (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
429         registers added by AVX512.
430         (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
431         added by AVX512.
432         (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
433         (i386_pseudo_register_name): Add ZMM pseudo registers.
434         (i386_zmm_type): Construct and return vector registers type for ZMM
435         registers.
436         (i386_pseudo_register_type): Return appropriate type for YMM16-31,
437         ZMM0-31 pseudo registers and K registers.
438         (i386_pseudo_register_read_into_value): Add code to read K, ZMM
439         and YMM16-31 registers from register cache.
440         (i386_pseudo_register_write): Add code to write  K, ZMM and
441         YMM16-31 registers.
442         (i386_register_reggroup_p): Add code to include/exclude AVX512
443         registers in/from respective register groups.
444         (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
445         registers if feature is present in xcr0.
446         (i386_gdbarch_init): Add code to initialize AVX512 feature
447         variables in tdep structure, wire in pseudo registers and call
448         initialize_tdesc_i386_avx512.
449         * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
450         variables.
451         (i386_regnum): Add AVX512 registers.
452         (I386_SSE_NUM_REGS): New define for number of SSE registers.
453         (I386_AVX_NUM_REGS): Likewise for AVX registers.
454         (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
455         (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
456         512 bits wide.
457         (i386_xmm_avx512_regnum_p): New prototype for register look up.
458         (i386_ymm_avx512_regnum_p): Likewise.
459         (i386_k_regnum_p): Likewise.
460         (i386_zmm_regnum_p): Likewise.
461         (i386_zmmh_regnum_p): Likewise.
462         * i387-tdep.c : Update year in copyright notice.
463         (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
464         XSAVE buffer.
465         (XSAVE_YMM_AVX512_ADDR): New macro.
466         (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
467         XSAVE buffer.
468         (XSAVE_XMM_AVX512_ADDR): New macro.
469         (xsave_avx512_k_offset): New table for K register offsets in
470         XSAVE buffer.
471         (XSAVE_AVX512_K_ADDR): New macro.
472         (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
473         in XSAVE buffer.
474         (XSAVE_AVX512_ZMM_H_ADDR): New macro.
475         (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
476         buffer.
477         (i387_collect_xsave): Add code to collect AVX512 registers from
478         XSAVE buffer.
479         * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
480         of XMM16-31 registers.
481         (I387_NUM_K_REGS): New define for number of K registers.
482         (I387_K0_REGNUM): New define for K0 register number.
483         (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
484         (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
485         (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
486         registers.
487         (I387_YMM16H_REGNUM): New define for YMM16H register number.
488         (I387_XMM16_REGNUM): New define for XMM16 register number.
489         (I387_YMM0_REGNUM): New define for YMM0 register number.
490         (I387_KEND_REGNUM): New define for last K register number.
491         (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
492         (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
493         number.
494         (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
495         number.
496         * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
497         size.
498         * features/Makefile: Add AVX512 related files.
499         * features/i386/32bit-avx512.xml: New file.
500         * features/i386/64bit-avx512.xml: Likewise.
501         * features/i386/amd64-avx512-linux.c: Likewise.
502         * features/i386/amd64-avx512-linux.xml: Likewise.
503         * features/i386/amd64-avx512.c: Likewise.
504         * features/i386/amd64-avx512.xml: Likewise.
505         * features/i386/i386-avx512-linux.c: Likewise.
506         * features/i386/i386-avx512-linux.xml: Likewise.
507         * features/i386/i386-avx512.c: Likewise.
508         * features/i386/i386-avx512.xml: Likewise.
509         * features/i386/x32-avx512-linux.c: Likewise.
510         * features/i386/x32-avx512-linux.xml: Likewise.
511         * features/i386/x32-avx512.c: Likewise.
512         * features/i386/x32-avx512.xml: Likewise.
513         * regformats/i386/amd64-avx512-linux.dat: New file.
514         * regformats/i386/amd64-avx512.dat: Likewise.
515         * regformats/i386/i386-avx512-linux.dat: Likewise.
516         * regformats/i386/i386-avx512.dat: Likewise.
517         * regformats/i386/x32-avx512-linux.dat: Likewise.
518         * regformats/i386/x32-avx512.dat: Likewise.
519         * NEWS: Add note about new support for AVX512.
520
521
522 2014-04-23  Pedro Alves  <palves@redhat.com>
523
524         * breakpoint.c (insert_bp_location): Tolerate errors if the
525         breakpoint is set in a user-loaded objfile.
526         (remove_breakpoint_1): Likewise.  Also tolerate errors if the
527         location is marked shlib_disabled.  If the breakpoint is set in a
528         user-loaded objfile is a GDB-side memory breakpoint, validate it
529         before uninsertion.  (disable_breakpoints_in_freed_objfile): Skip
530         non-OBJF_USERLOADED objfiles.  Don't clear the location's inserted
531         flag.
532         * mem-break.c (memory_validate_breakpoint): New function.
533         * objfiles.c (userloaded_objfile_contains_address_p): New
534         function.
535         * objfiles.h (userloaded_objfile_contains_address_p): Declare.
536         * target.h (memory_validate_breakpoint): New declaration.
537
538 2014-04-23  Pedro Alves  <palves@redhat.com>
539
540         * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
541         the breakpoint is set in a shared library, only suppress
542         errors for software breakpoints, not hardware breakpoints.
543
544 2014-04-22  Pedro Alves  <palves@redhat.com>
545
546         * infrun.c (schedlock_applies): New function, factored out from
547         find_thread_needs_step_over.
548         (find_thread_needs_step_over): Use it.
549         (switch_back_to_stepped_thread): Always clear trap_expected if the
550         step over is finished.  Return early if scheduler locking applies.
551         Look for the stepping thread and a potential step-over thread with
552         a single loop.
553         (currently_stepping_or_nexting_callback): Delete.
554
555 2014-04-22  Nick Clifton  <nickc@redhat.com>
556
557         * NEWS: Mention that ARM sim now supports tracing.
558
559 2014-04-22  Yao Qi  <yao@codesourcery.com>
560
561         * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
562         to ...
563         * tracefile.c (tracefile_fetch_registers): ... it.  New
564         function.
565         * tracefile.h (tracefile_fetch_registers): Declare.
566         * ctf.c (ctf_fetch_registers): Remove the bottom.  Call
567         tracefile_fetch_registers.
568
569 2014-04-19  Eli Zaretskii  <eliz@gnu.org>
570
571         PR gdb/14018
572         * windows-nat.c (thread_rec): Don't display a warning when
573         SuspendThread fails with ERROR_ACCESS_DENIED.  If SuspendThread
574         fails for any reason, set th->suspended to -1, so that we don't
575         try to resume such a thread.  Also, don't return NULL in these
576         cases, to avoid completely ruin the session due to "PC register is
577         not available" error.
578         (do_windows_fetch_inferior_registers): Check errors in
579         GetThreadContext call.
580         (windows_continue): Accept an additional argument KILLED; if not
581         zero, ignore errors in the SetThreadContext call, since the
582         inferior was killed and is shutting down.
583         (windows_resume, get_windows_debug_event)
584         (windows_create_inferior, windows_mourn_inferior)
585         (windows_kill_inferior): All callers of windows_continue changed
586         to adjust to its new calling sequence.
587
588 2014-04-19  Yao Qi  <yao@codesourcery.com>
589
590         * ctf.c (ctf_open): Call post_create_inferior.
591
592 2014-04-19  Yao Qi  <yao@codesourcery.com>
593
594         * ctf.c (handle_id): New static variable.
595         (ctf_open_dir): Get handle_id from bt_context_add_trace return
596         value.  Get the declaration of event "register" and get length
597         of field "contents".
598
599 2014-04-19  Yao Qi  <yao@codesourcery.com>
600
601         * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
602
603 2014-04-18  Siva Chandra Reddy  <sivachandra@google.com>
604
605         * valops.c (oload_method_static): Remove unnecessary argument
606         METHOD.  Update all callers.
607
608 2014-04-18  Pedro alves  <palves@redhat.com>
609             Tom Tromey  <tromey@redhat.com>
610
611         PR backtrace/15558
612         * frame.c (get_prev_frame_1): Rename to ...
613         (get_prev_frame_always): ... this, and make extern.  Adjust.
614         (skip_artificial_frames): Use get_prev_frame_always.
615         (frame_unwind_caller_id, frame_pop, get_prev_frame)
616         (get_frame_unwind_stop_reason): Adjust to rename.
617         * frame.h (get_prev_frame_always): Declare.
618         * inline-frame.c: Include frame.h.
619         (inline_frame_this_id): Use get_prev_frame_always.
620
621 2014-04-18  Tristan Gingold  <gingold@adacore.com>
622
623         * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
624         code by using bfd_mach_o_get_base_address.
625
626 2014-04-17  Ulrich Weigand  <uweigand@de.ibm.com>
627
628         * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
629         (spu_ax_pseudo_register_collect): New function.
630         (spu_ax_pseudo_register_push_stack): Likewise.
631         (spu_dwarf_reg_to_regnum): Likewise.
632         (spu_gdbarch_init): Install them.  Append DWARF unwinders.
633
634 2014-04-17  Ulrich Weigand  <uweigand@de.ibm.com>
635
636         * gdbarch.sh (value_from_register): Make class "m" instead of "f".
637         Replace FRAME argument with FRAME_ID.
638         * gdbarch.c, gdbarch.h: Regenerate.
639         * findvar.c (default_value_from_register): Add GDBARCH argument;
640         replace FRAME by FRAME_ID.  No longer call get_frame_id.
641         (value_from_register): Update call to gdbarch_value_from_register.
642         * value.h (default_value_from_register): Update prototype.
643         * s390-linux-tdep.c (s390_value_from_register): Update interface
644         and call to default_value_from_register.
645         * spu-tdep.c (spu_value_from_register): Likewise.
646
647         * findvar.c (address_from_register): Remove TYPE argument.
648         Do not call value_from_register; use gdbarch_value_from_register
649         with null_frame_id instead.
650         * value.h (address_from_register): Update prototype.
651         * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
652         * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
653         address_from_register interface change.
654
655 2014-04-17  Yao Qi  <yao@codesourcery.com>
656
657         * gdbtypes.h: Update comments to link to types and macros'
658         definitions.
659
660 2014-04-16  Siva Chandra Reddy  <sivachandra@google.com>
661
662         * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
663
664 2014-04-16  Keith Seitz  <keiths@redhat.com>
665
666         PR gdb/15827
667         * dwarf2read.c (skip_one_die): Check that all relative-offset
668         sibling DIEs fall within range of the current reader's buffer.
669         (read_partial_die): Likewise.
670
671 2014-04-16  Keith Seitz  <keiths@redhat.com>
672
673         PR c++/16597
674         * cp-namespace.c (lookup_symbol_file): If the type name of
675         `this' is NULL, return immediately.
676
677 2014-04-14  Keith Seitz  <keiths@redhat.com>
678
679         PR c++/16253
680         * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
681         from symbol_matches_domain in symtab.c. All local callers
682         of symbol_matches_domain updated.
683         (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
684         search STRUCT_DOMAIN.
685         (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
686         independently.  standard_lookup will do that automatically.
687         * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
688         VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
689         (cp_lookup_symbol_in_namespace): Likewise.
690         If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
691         (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
692         may return a STRUCT_DOMAIN match.
693         (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
694         * cp-support.c: Include language.h.
695         (inspect_type): Explicitly search STRUCT_DOMAIN before searching
696         VAR_DOMAIN.
697         * psymtab.c (match_partial_symbol): Compare the requested
698         domain with the symbol's domain directly.
699         (lookup_partial_symbol): Likewise.
700         * symtab.c (lookup_symbol_in_language): Explain when/why
701         VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
702         If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
703         appropriate languages.
704         (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
705         and moved to ada-lang.c
706         (lookup_block_symbol): Explain that this function only returns
707         symbol matching the requested DOMAIN.
708         Compare the requested domain with the symbol's domain directly.
709         (iterate_over_symbols): Compare the requested domain with the
710         symbol's domain directly.
711         * symtab.h (symbol_matches_domain): Remove.
712
713 2014-04-14  Tom Tromey  <tromey@redhat.com>
714
715         PR c++/15246:
716         * c-exp.y (type_aggregate_p): New function.
717         (qualified_name, classify_inner_name): Use it.
718         * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
719         and TYPE_TARGET_TYPE of an enum type.
720         * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
721         an enum type.
722         (determine_prefix) <case DW_TAG_enumeration_type>: New case;
723         handle TYPE_DECLARED_CLASS.
724         * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
725         types.
726         * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
727         * valops.c (enum_constant_from_type): New function.
728         (value_aggregate_elt): Use it.
729         * cp-namespace.c (cp_lookup_nested_symbol): Handle
730         TYPE_CODE_ENUM.
731
732 2014-04-14  Tom Tromey  <tromey@redhat.com>
733
734         * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
735         (value_namespace_elt, value_maybe_namespace_elt): Make "name"
736         const.
737         * value.h (value_aggregate_elt): Update.
738
739 2014-04-14  Tom Tromey  <tromey@redhat.com>
740
741         * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
742
743 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
744
745         * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
746         (evaluate_subexp_standard): Pass noside argument.
747         (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
748         if noside equals EVAL_NORMAL. If the subscript yields a vla type
749         re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
750         * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
751         * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
752
753 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
754
755         * findvar.c (default_read_var_value): Resolve dynamic bounds if location
756         points to a constant blob.
757
758 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
759
760         * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
761         property and store it as the high bound and flag the range accordingly.
762         * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
763         RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
764         * gdbtypes.h (enum range_flags): New enum.
765         (struct range_bounds): Add flags member.
766
767 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
768
769         * c-typeprint.c (c_type_print_varspec_suffix): Added
770         check for not yet resolved high bound. If unresolved, print
771         "variable length" string to the console instead of random
772         length.
773
774 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
775
776         * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
777         value.
778         (ada_template_to_fixed_record_type_1): Likewise.
779         (ada_to_fixed_type_1): Likewise.
780         * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
781         (cp_print_value): Likewise.
782         * d-valprint.c (dynamic_array_type): Likewise.
783         * findvar.c (address_of_variable): Likewise.
784         * jv-valprint.c (java_value_print): Likewise.
785         * valops.c (value_ind): Likewise.
786         * value.c (coerce_ref): Likewise.
787
788 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
789
790         * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
791         value and retrieve the dynamic type size.
792
793 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
794
795         * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
796         passed to sizeof is dynamic evaluate the argument to compute the length.
797
798 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
799             Joel Brobecker  <brobecker@adacore.com>
800
801         * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
802         (dwarf2_evaluate_property): New function.
803         * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
804         * dwarf2read.c (attr_to_dynamic_prop): New function.
805         (read_subrange_type): Use attr_to_dynamic_prop to read high bound
806         attribute.
807         * gdbtypes.c: Include dwarf2loc.h.
808         (is_dynamic_type): New function.
809         (resolve_dynamic_type): New function.
810         (resolve_dynamic_bounds): New function.
811         (get_type_length): New function.
812         (check_typedef): Use get_type_length to compute type length.
813         * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
814         (TYPE_LOW_BOUND_KIND): New macro.
815         (is_dynamic_type): New function prototype.
816         * value.c (value_from_contents_and_address): Call resolve_dynamic_type
817         to resolve dynamic properties of the type. Update comment.
818         * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
819
820 2014-04-14  Richard Henderson  <rth@redhat.com>
821
822         * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
823
824 2014-04-12  Siva Chandra Reddy  <sivachandra@google.com>
825             Doug Evans  <xdje42@gmail.com>
826
827         * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
828         dereference TYPE_CODE_REF values.
829
830 2014-04-11  Joel Brobecker  <brobecker@adacore.com>
831
832         Revert the following changes due to regressions:
833
834         * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
835         (dwarf2_evaluate_property): New function.
836         * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
837         * dwarf2read.c (attr_to_dynamic_prop): New function.
838         (read_subrange_type): Use attr_to_dynamic_prop to read high bound
839         attribute.
840         * gdbtypes.c: Include dwarf2loc.h.
841         (is_dynamic_type): New function.
842         (resolve_dynamic_type): New function.
843         (resolve_dynamic_bounds): New function.
844         (get_type_length): New function.
845         (check_typedef): Use get_type_length to compute type length.
846         * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
847         (TYPE_LOW_BOUND_KIND): New macro.
848         (is_dynamic_type): New function prototype.
849         * value.c (value_from_contents_and_address): Call resolve_dynamic_type
850         to resolve dynamic properties of the type. Update comment.
851         * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
852
853         * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
854         passed to sizeof is dynamic evaluate the argument to compute the length.
855
856         * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
857         value and retrieve the dynamic type size.
858
859         * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
860         (ada_template_to_fixed_record_type_1): Likewise.
861         (ada_to_fixed_type_1): Likewise.
862         * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
863         (cp_print_value): Likewise.
864         * d-valprint.c (dynamic_array_type): Likewise.
865         * eval.c (evaluate_subexp_with_coercion): Likewise.
866         * findvar.c (address_of_variable): Likewise.
867         * jv-valprint.c (java_value_print): Likewise.
868         * valops.c (value_ind): Likewise.
869         * value.c (coerce_ref): Likewise.
870
871         * c-typeprint.c (c_type_print_varspec_suffix): Added
872         check for not yet resolved high bound. If unresolved, print
873         "variable length" string to the console instead of random
874         length.
875
876         * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
877         property and store it as the high bound and flag the range accordingly.
878         * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
879         RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
880         * gdbtypes.h (enum range_flags): New enum.
881         (struct range_bounds): Add flags member.
882
883         * findvar.c (default_read_var_value): Resolve dynamic bounds if location
884         points to a constant blob.
885
886         * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
887         (evaluate_subexp_standard): Pass noside argument.
888         (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
889         if noside equals EVAL_NORMAL. If the subscript yields a vla type
890         re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
891         * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
892         * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
893
894 2014-04-11  Keith Seitz  <keiths@redhat.com>
895
896         PR c++/16675
897         * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
898         * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
899         reference types.
900
901 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
902
903         * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
904         (evaluate_subexp_standard): Pass noside argument.
905         (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
906         if noside equals EVAL_NORMAL. If the subscript yields a vla type
907         re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
908         * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
909         * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
910
911 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
912
913         * findvar.c (default_read_var_value): Resolve dynamic bounds if location
914         points to a constant blob.
915
916 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
917
918         * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
919         property and store it as the high bound and flag the range accordingly.
920         * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
921         RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
922         * gdbtypes.h (enum range_flags): New enum.
923         (struct range_bounds): Add flags member.
924
925 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
926
927         * c-typeprint.c (c_type_print_varspec_suffix): Added
928         check for not yet resolved high bound. If unresolved, print
929         "variable length" string to the console instead of random
930         length.
931
932 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
933
934         * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
935         (ada_template_to_fixed_record_type_1): Likewise.
936         (ada_to_fixed_type_1): Likewise.
937         * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
938         (cp_print_value): Likewise.
939         * d-valprint.c (dynamic_array_type): Likewise.
940         * eval.c (evaluate_subexp_with_coercion): Likewise.
941         * findvar.c (address_of_variable): Likewise.
942         * jv-valprint.c (java_value_print): Likewise.
943         * valops.c (value_ind): Likewise.
944         * value.c (coerce_ref): Likewise.
945
946 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
947
948         * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
949         value and retrieve the dynamic type size.
950
951 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
952
953         * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
954         passed to sizeof is dynamic evaluate the argument to compute the length.
955
956 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
957
958         * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
959         (dwarf2_evaluate_property): New function.
960         * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
961         * dwarf2read.c (attr_to_dynamic_prop): New function.
962         (read_subrange_type): Use attr_to_dynamic_prop to read high bound
963         attribute.
964         * gdbtypes.c: Include dwarf2loc.h.
965         (is_dynamic_type): New function.
966         (resolve_dynamic_type): New function.
967         (resolve_dynamic_bounds): New function.
968         (get_type_length): New function.
969         (check_typedef): Use get_type_length to compute type length.
970         * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
971         (TYPE_LOW_BOUND_KIND): New macro.
972         (is_dynamic_type): New function prototype.
973         * value.c (value_from_contents_and_address): Call resolve_dynamic_type
974         to resolve dynamic properties of the type. Update comment.
975         * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
976
977 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
978
979         * dwarf2read.c (read_subrange_type): Use struct bound_prop for
980         declaring high/low bounds and change uses accordingly. Call
981         create_range_type instead of create_static_range_type.
982         * gdbtypes.c (create_range_type): New function.
983         (create_range_type): Convert bounds into struct bound_prop and pass
984         them to create_range_type.
985         * gdbtypes.h (struct bound_prop): New struct.
986         (create_range_type): New function prototype.
987         (struct range_bounds): Use struct bound_prop instead of LONGEST for
988         high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
989         (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
990         part of the bound.
991         * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
992
993 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
994
995         * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
996         * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
997         * ada-lang.c: All uses of create_range_type updated.
998         * coffread.c: All uses of create_range_type updated.
999         * dwarf2read.c: All uses of create_range_type updated.
1000         * f-exp.y: All uses of create_range_type updated.
1001         * m2-valprint.c: All uses of create_range_type updated.
1002         * mdebugread.c: All uses of create_range_type updated.
1003         * stabsread.c: All uses of create_range_type updated.
1004         * valops.c: All uses of create_range_type updated.
1005         * valprint.c: All uses of create_range_type updated.
1006
1007 2014-04-10  Pedro Alves  <palves@redhat.com>
1008
1009         * breakpoint.c (single_step_breakpoints)
1010         (single_step_gdbarch): Move up in the file.
1011         (one_breakpoint_xfer_memory): New function, factored out from ...
1012         (breakpoint_xfer_memory): ... here.  Also process single-step
1013         breakpoints.
1014
1015 2014-04-09  Tristan Gingold  <gingold@adacore.com>
1016
1017         * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
1018         comments.
1019         (darwin_decode_exception_message): Free port only after use.
1020
1021 2014-04-08  Pierre Langlois  <pierre.langlois@embecosm.com>
1022
1023         * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
1024         (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
1025         when setting the size of call_length.
1026
1027 2014-04-07  Siva Chandra Reddy  <sivachandra@google.com>
1028
1029         * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
1030         dereference TYPE_CODE_REF values.
1031
1032 2014-04-07  Joel Brobecker  <brobecker@adacore.com>
1033
1034         * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
1035         end of warning message.
1036
1037 2014-04-03  Doug Evans  <dje@google.com>
1038
1039         * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
1040         of stub_comp_unit_die, stub_comp_dir is non-NULL.
1041
1042 2014-04-02  Alan Modra  <amodra@gmail.com>
1043
1044         * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
1045         Pass to bfd_elf_bfd_from_remote_memory.  Adjust all callers.
1046         (struct symbol_file_add_from_memory_args): Add size field.
1047         (find_vdso_size): New function.
1048         (add_vsyscall_page): Attempt to find vdso size.
1049
1050 2014-04-01  Doug Evans  <dje@google.com>
1051
1052         * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
1053
1054 2014-04-01  Tristan Gingold  <gingold@adacore.com>
1055
1056         * darwin-nat.c (darwin_encode_reply): Add prototype.
1057         (darwin_decode_exception_message): Reply to unknown inferiors.
1058         (darwin_decode_message): Handle message by id.  Ignore message
1059         to unknown inferior.
1060         (darwin_wait): Discard unknown messages, add debug trace.
1061
1062 2014-03-31  Doug Evans  <dje@google.com>
1063
1064         * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
1065         comp_dir_string.
1066
1067 2014-03-31  Doug Evans  <dje@google.com>
1068
1069         New option "set print symbol-loading".
1070         * NEWS: Mention it.
1071         * solib.c (solib_read_symbols): Only print symbol loading messages
1072         if requested.
1073         (solib_add): If symbol loading is in "brief" mode, notify user
1074         symbols are being loaded.
1075         (reload_shared_libraries_1): Ditto.
1076         * symfile.c (print_symbol_loading_off): New static global.
1077         (print_symbol_loading_brief): New static global.
1078         (print_symbol_loading_full): New static global.
1079         (print_symbol_loading_enums): New static global.
1080         (print_symbol_loading): New static global.
1081         (print_symbol_loading_p): New function.
1082         (symbol_file_add_with_addrs): Only print symbol loading messages
1083         if requested.
1084         (_initialize_symfile): Register "print symbol-loading" set/show
1085         command.
1086         * symfile.h (print_symbol_loading_p): Declare.
1087
1088 2014-03-30  Doug Evans  <xdje42@gmail.com>
1089
1090         * infrun.c (set_last_target_status): New function.
1091         (handle_inferior_event): Call it.
1092
1093 2014-03-30  Doug Evans  <xdje42@gmail.com>
1094
1095         * inferior.h (enum stop_kind): Improve comment.
1096
1097 2014-03-28  Joel Brobecker  <brobecker@adacore.com>
1098
1099         * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
1100         a reference, strip the reference layer before calling
1101         the lang_ops value_has_mutated callback.
1102
1103 2014-03-27  Sergio Durigan Junior  <sergiodj@redhat.com>
1104
1105         Remove some globals from our parser.
1106         * language.c (unk_lang_parser): Add "struct parser_state"
1107         argument.
1108         * language.h (struct language_defn) <la_parser>: Likewise.
1109         * parse.c (expout, expout_size, expout_ptr): Remove variables.
1110         (initialize_expout): Add "struct parser_state" argument.
1111         Rewrite function to use the parser state.
1112         (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
1113         write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
1114         write_exp_elt_longcst, write_exp_elt_dblcst,
1115         write_exp_elt_decfloatcst, write_exp_elt_type,
1116         write_exp_elt_intern, write_exp_string, write_exp_string_vector,
1117         write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
1118         write_dollar_variable): Likewise.
1119         (parse_exp_in_context_1): Use parser state.
1120         (insert_type_address_space): Add "struct parser_state" argument.
1121         Use parser state.
1122         (increase_expout_size): New function.
1123         * parser-defs.h: Forward declare "struct language_defn" and
1124         "struct parser_state".
1125         (expout, expout_size, expout_ptr): Remove extern declarations.
1126         (parse_gdbarch, parse_language): Rewrite macro declarations to
1127         accept the parser state.
1128         (struct parser_state): New struct.
1129         (initialize_expout, reallocate_expout, write_exp_elt_opcode,
1130         write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
1131         write_exp_elt_decfloatcst, write_exp_elt_type,
1132         write_exp_elt_intern, write_exp_string, write_exp_string_vector,
1133         write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
1134         write_exp_msymbol, write_dollar_variable,
1135         mark_struct_expression, insert_type_address_space): Add "struct
1136         parser_state" argument.
1137         (increase_expout_size): New function.
1138         * utils.c (do_clear_parser_state): New function.
1139         (make_cleanup_clear_parser_state): Likewise.
1140         * utils.h (make_cleanup_clear_parser_state): New function
1141         prototype.
1142         * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
1143         Update calls to write_exp* in order to pass the parser state.
1144         * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
1145         * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
1146         (i386_stap_parse_special_token_three_arg_disp): Likewise.
1147         * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
1148         * stap-probe.c (stap_parse_register_operand): Likewise.
1149         (stap_parse_single_operand): Likewise.
1150         (stap_parse_argument_1): Likewise.
1151         (stap_parse_argument): Use parser state.
1152         * stap-probe.h: Include "parser-defs.h".
1153         (struct stap_parse_info) <pstate>: New field.
1154         * c-exp.y (parse_type): Rewrite to use parser state.
1155         (yyparse): Redefine to c_parse_internal.
1156         (pstate): New global variable.
1157         (parse_number): Add "struct parser_state" argument.
1158         (write_destructor_name): Likewise.
1159         (type_exp): Update calls to write_exp* and similars in order to
1160         use parser state.
1161         (exp1, exp, variable, qualified_name, space_identifier,
1162         typename, typebase): Likewise.
1163         (write_destructor_name, parse_number, lex_one_token,
1164         classify_name, classify_inner_name, c_parse): Add "struct
1165         parser_state" argument.  Update function to use parser state.
1166         * c-lang.h: Forward declare "struct parser_state".
1167         (c_parse): Add "struct parser_state" argument.
1168         * ada-exp.y (parse_type): Rewrite macro to use parser state.
1169         (yyparse): Redefine macro to ada_parse_internal.
1170         (pstate): New variable.
1171         (write_int, write_object_renaming, write_var_or_type,
1172         write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
1173         type_int, type_long, type_long_long, type_float, type_double,
1174         type_long_double, type_char, type_boolean, type_system_address):
1175         Add "struct parser_state" argument.
1176         (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
1177         or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
1178         var_or_type, aggregate, aggregate_component_list,
1179         positional_list, others, component_group,
1180         component_associations): Update calls to write_exp* and similar
1181         functions in order to use parser state.
1182         (ada_parse, write_var_from_sym, write_int,
1183         write_exp_op_with_string, write_object_renaming,
1184         find_primitive_type, write_selectors, write_ambiguous_var,
1185         write_var_or_type, write_name_assoc, type_int, type_long,
1186         type_long_long, type_float, type_double, type_long_double,
1187         type_char, type_boolean, type_system_address): Add "struct
1188         parser_state" argument.  Adjust function to use parser state.
1189         * ada-lang.c (parse): Likewise.
1190         * ada-lang.h: Forward declare "struct parser_state".
1191         (ada_parse): Add "struct parser_state" argument.
1192         * ada-lex.l (processInt, processReal): Likewise.  Adjust all
1193         calls to both functions.
1194         * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
1195         parser state.
1196         (yyparse): Redefine macro to f_parse_internal.
1197         (pstate): New variable.
1198         (parse_number): Add "struct parser_state" argument.
1199         (type_exp, exp, subrange, typebase): Update calls to write_exp*
1200         and similars in order to use parser state.
1201         (parse_number): Adjust code to use parser state.
1202         (yylex): Likewise.
1203         (f_parse): New function.
1204         * f-lang.h: Forward declare "struct parser_state".
1205         (f_parse): Add "struct parser_state" argument.
1206         * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
1207         parser state.
1208         (yyparse): Redefine macro for java_parse_internal.
1209         (pstate): New variable.
1210         (push_expression_name, push_expression_name, insert_exp): Add
1211         "struct parser_state" argument.
1212         (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
1213         FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
1214         FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
1215         PostIncrementExpression, PostDecrementExpression,
1216         UnaryExpression, PreIncrementExpression, PreDecrementExpression,
1217         UnaryExpressionNotPlusMinus, CastExpression,
1218         MultiplicativeExpression, AdditiveExpression, ShiftExpression,
1219         RelationalExpression, EqualityExpression, AndExpression,
1220         ExclusiveOrExpression, InclusiveOrExpression,
1221         ConditionalAndExpression, ConditionalOrExpression,
1222         ConditionalExpression, Assignment, LeftHandSide): Update
1223         calls to write_exp* and similars in order to use parser state.
1224         (parse_number): Ajust code to use parser state.
1225         (yylex): Likewise.
1226         (java_parse): New function.
1227         (push_variable): Add "struct parser_state" argument.  Adjust
1228         code to user parser state.
1229         (push_fieldnames, push_qualified_expression_name,
1230         push_expression_name, insert_exp): Likewise.
1231         * jv-lang.h: Forward declare "struct parser_state".
1232         (java_parse): Add "struct parser_state" argument.
1233         * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
1234         parser state.
1235         (yyparse): Redefine macro to m2_parse_internal.
1236         (pstate): New variable.
1237         (type_exp, exp, fblock, variable, type): Update calls to
1238         write_exp* and similars to use parser state.
1239         (yylex): Likewise.
1240         (m2_parse): New function.
1241         * m2-lang.h: Forward declare "struct parser_state".
1242         (m2_parse): Add "struct parser_state" argument.
1243         * objc-lang.c (end_msglist): Add "struct parser_state" argument.
1244         * objc-lang.h: Forward declare "struct parser_state".
1245         (end_msglist): Add "struct parser_state" argument.
1246         * p-exp.y (parse_type): Rewrite macro to use parser state.
1247         (yyparse): Redefine macro to pascal_parse_internal.
1248         (pstate): New variable.
1249         (parse_number): Add "struct parser_state" argument.
1250         (type_exp, exp1, exp, qualified_name, variable): Update calls to
1251         write_exp* and similars in order to use parser state.
1252         (parse_number, yylex): Adjust code to use parser state.
1253         (pascal_parse): New function.
1254         * p-lang.h: Forward declare "struct parser_state".
1255         (pascal_parse): Add "struct parser_state" argument.
1256         * go-exp.y (parse_type): Rewrite macro to use parser state.
1257         (yyparse): Redefine macro to go_parse_internal.
1258         (pstate): New variable.
1259         (parse_number): Add "struct parser_state" argument.
1260         (type_exp, exp1, exp, variable, type): Update calls to
1261         write_exp* and similars in order to use parser state.
1262         (parse_number, lex_one_token, classify_name, yylex): Adjust code
1263         to use parser state.
1264         (go_parse): Likewise.
1265         * go-lang.h: Forward declare "struct parser_state".
1266         (go_parse): Add "struct parser_state" argument.
1267
1268 2014-03-27  Doug Evans  <dje@google.com>
1269
1270         * dwarf2read.c (read_str_index): Delete arg cu.  All callers updated.
1271
1272 2014-03-27  Doug Evans  <dje@google.com>
1273
1274         * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
1275         Remove argument abbrev_section.  All callers updated.
1276
1277 2014-03-27  Doug Evans  <dje@google.com>
1278
1279         * dwarf2read.c (struct dwarf2_cu): Improve comments for members
1280         addr_base, ranges_base.
1281
1282 2014-03-26  Keith Seitz  <keiths@redhat.com>
1283
1284         * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
1285         types, not VAR_DOMAIN.
1286
1287 2014-03-25  Sandra Loosemore  <sandra@codesourcery.com>
1288
1289         * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
1290         "ra" registers.
1291         * features/nios2-linux.c: Regenerated.
1292         * features/nios2.c: Regenerated.
1293
1294 2014-03-25  Pedro Alves  <palves@redhat.com>
1295
1296         * cli/cli-script.c (script_from_file): Force the interpreter to
1297         sync mode.
1298
1299 2014-03-24  Pierre Langlois  <pierre.langlois@embecosm.com>
1300
1301         * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
1302         small stack allocation.
1303
1304 2014-03-24  Tristan Gingold  <gingold@adacore.com>
1305
1306         * darwin-nat.c (exc_server): Remove unused prototype.
1307         (darwin_dump_message): Correctly display data on x86_64.
1308         (darwin_encode_reply): Fix style.
1309         Add comments and fix indentation.
1310
1311 2014-03-24  Pierre Langlois  <pierre.langlois@embecosm.com>
1312
1313         * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
1314
1315 2014-03-22  Doug Evans  <xdje42@gmail.com>
1316
1317         * infcmd.c: Whitespace fixes.
1318         (interrupt_command): Merge two function comments into one.
1319
1320 2014-03-22  Doug Evans  <xdje42@gmail.com>
1321
1322         * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
1323         All uses updated.
1324
1325 2014-03-22  Yao Qi  <yao@codesourcery.com>
1326
1327         * remote.c (target_read_live_memory): Remove.
1328         (memory_xfer_live_readonly_partial): Rename it to
1329         remote_xfer_live_readonly_partial.  Remove argument 'object'.
1330         All callers updated.  Call remote_read_bytes_1
1331         instead of target_read_live_memory.
1332         * tracepoint.c (set_traceframe_number): Remove.
1333         (make_cleanup_restore_traceframe_number): Likewise .
1334         * tracepoint.h (set_traceframe_number): Remove declaration.
1335         (make_cleanup_restore_traceframe_number): Likewise.
1336
1337 2014-03-22  Yao Qi  <yao@codesourcery.com>
1338
1339         * remote.c (remote_read_bytes): Move code on reading from the
1340         remote stub to ...
1341         (remote_read_bytes_1): ... here.  New function.
1342
1343 2014-03-22  Yao Qi  <yao@codesourcery.com>
1344
1345         * ctf.c (ctf_xfer_partial): Check the return value of
1346         exec_read_partial_read_only, if it is not TARGET_XFER_OK,
1347         return TARGET_XFER_UNAVAILABLE.
1348         * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1349         * target.c (target_read_live_memory): Move it to remote.c.
1350         (memory_xfer_live_readonly_partial): Likewise.
1351         (memory_xfer_partial_1): Move some code to remote_read_bytes.
1352         * remote.c (target_read_live_memory): Moved from target.c.
1353         (memory_xfer_live_readonly_partial): Likewise.
1354         (remote_read_bytes): Factored out from
1355         memory_xfer_partial_1.
1356
1357 2014-03-21  Daniel Gutson  <daniel.gutson@tallertechnologies.com>
1358
1359         * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
1360         NULL pointer.
1361
1362 2014-03-21  Pedro Alves  <palves@redhat.com>
1363
1364         * infrun.c (normal_stop): Extend comment.
1365
1366 2014-03-21  Hui Zhu  <hui@codesourcery.com>
1367             Pedro Alves  <palves@redhat.com>
1368
1369         * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
1370         static buffer.
1371         * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
1372         * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
1373         * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
1374
1375 2014-03-20  Maciej W. Rozycki  <macro@codesourcery.com>
1376
1377         * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
1378         `z' formatted output modifier.
1379
1380 2014-03-20  Tom Tromey  <tromey@redhat.com>
1381             Sergio Durigan Junior  <sergiodj@redhat.com>
1382
1383         * probe.c (parse_probes): Turn assert into an ordinary error.
1384         * break-catch-throw.c (re_set_exception_catchpoint): Ignore
1385         exceptions when parsing probes.  Rearrange the code for clarity.
1386
1387 2014-03-20  Tom Tromey  <tromey@redhat.com>
1388
1389         PR gdb/14135
1390         * top.c (execute_command): Only dispatch events if the command
1391         started the target.
1392
1393 2014-03-20  Tom Tromey  <tromey@redhat.com>
1394
1395         PR cli/15718
1396         * infcall.c: Include event-top.h.
1397         (run_inferior_call): Call async_disable_stdin if needed.
1398
1399 2014-03-20  Pedro Alves  <palves@redhat.com>
1400
1401         * infrun.c (prepare_to_proceed): Delete.
1402         (thread_still_needs_step_over): New function.
1403         (find_thread_needs_step_over): New function.
1404         (proceed): If the current thread needs a step-over, set its
1405         steping_over_breakpoint flag.  Adjust to use
1406         find_thread_needs_step_over instead of prepare_to_proceed.
1407         (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
1408         BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
1409         breakpoint.
1410         (switch_back_to_stepped_thread): Step over breakpoints of all
1411         threads not the stepping thread, before switching back to the
1412         stepping thread.
1413
1414 2014-03-20  Pedro Alves  <palves@redhat.com>
1415
1416         * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
1417         extern.
1418         * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
1419         * infrun.c (saved_singlestep_ptid)
1420         (stepping_past_singlestep_breakpoint): Delete.
1421         (resume): Remove stepping_past_singlestep_breakpoint handling.
1422         (proceed): Store the prev_pc of the stepping thread too.
1423         (init_wait_for_inferior): Adjust.  Clear singlestep_ptid and
1424         singlestep_pc.
1425         (enum infwait_states): Delete infwait_thread_hop_state.
1426         (struct execution_control_state) <hit_singlestep_breakpoint>: New
1427         field.
1428         (handle_inferior_event): Adjust.
1429         (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
1430         handling and the thread-hop code.  Before removing single-step
1431         breakpoints, check whether the thread hit a single-step breakpoint
1432         of another thread.  If it did, the trap is not a random signal.
1433         (switch_back_to_stepped_thread): If the event thread hit a
1434         single-step breakpoint, unblock it before switching to the
1435         stepping thread.  Handle the case of the stepped thread having
1436         advanced already.
1437         (keep_going): Handle the case of the current thread moving past a
1438         single-step breakpoint.
1439
1440 2014-03-20  Pedro Alves  <palves@redhat.com>
1441
1442         PR breakpoints/7143
1443         * breakpoint.c (should_be_inserted): Don't insert breakpoints that
1444         are being stepped over.
1445         (breakpoint_address_match): Make extern.
1446         * breakpoint.h (breakpoint_address_match): New declaration.
1447         * inferior.h (stepping_past_instruction_at): New declaration.
1448         * infrun.c (struct step_over_info): New type.
1449         (step_over_info): New global.
1450         (set_step_over_info, clear_step_over_info)
1451         (stepping_past_instruction_at): New functions.
1452         (handle_inferior_event): Clear the step-over info when
1453         trap_expected is cleared.
1454         (resume): Remove now stale comment.
1455         (clear_proceed_status): Clear step-over info.
1456         (proceed): Adjust step-over handling to set or clear the step-over
1457         info instead of removing all breakpoints.
1458         (handle_signal_stop): When setting up a thread-hop, don't remove
1459         breakpoints here.
1460         (stop_stepping): Clear step-over info.
1461         (keep_going): Adjust step-over handling to set or clear step-over
1462         info and then always inserting breakpoints, instead of removing
1463         all breakpoints when stepping over one.
1464
1465 2014-03-20  Pedro Alves  <palves@redhat.com>
1466
1467         * infrun.c (previous_inferior_ptid): Adjust comment.
1468         (deferred_step_ptid): Delete.
1469         (infrun_thread_ptid_changed, prepare_to_proceed)
1470         (init_wait_for_inferior): Adjust.
1471         (handle_signal_stop): Delete deferred_step_ptid handling.
1472
1473 2014-03-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
1474
1475         PR gdb/15358
1476         * defs.h (sync_quit_force_run): New declaration.
1477         (QUIT): Check also SYNC_QUIT_FORCE_RUN.
1478         * event-top.c (async_sigterm_handler): New declaration.
1479         (async_sigterm_token): New variable.
1480         (async_init_signals): Create also async_sigterm_token.
1481         (async_sigterm_handler): New function.
1482         (sync_quit_force_run): New variable.
1483         (handle_sigterm): Replace quit_force call by other calls.
1484         * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
1485
1486 2014-03-18  Maciej W. Rozycki  <macro@codesourcery.com>
1487
1488         * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
1489         offset into SPE pseudo registers.
1490
1491 2014-03-18  Pedro Alves  <palves@redhat.com>
1492
1493         PR gdb/13860
1494         * inferior.h (print_stop_event): Declare.
1495         * infrun.c (print_stop_event): New, factored out from ...
1496         (normal_stop): ... this.
1497         * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
1498         of bpstat_print/print_stack_frame.
1499
1500 2014-03-17  Tom Tromey  <tromey@redhat.com>
1501
1502         * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
1503
1504 2014-03-17  Pierre-Marie de Rodat  <derodat@adacore.com>
1505
1506         * ada-lang.c (decode_constrained_packed_array): Perform a
1507         minimal coercion for reference with coerce_ref instead of
1508         ada_coerce_ref.
1509
1510 2014-03-17  Tristan Gingold  <gingold@adacore.com>
1511
1512         * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
1513         (darwin_solib_create_inferior_hook): Emit a warning if version
1514         is unhandled.
1515
1516 2014-03-16  Ulrich Weigand  <uweigand@de.ibm.com>
1517
1518         * python/py-value.c (get_field_flag): Cast flag_name argument to
1519         PyObject_GetAttrString to support Python 2.4.
1520
1521 2014-03-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
1522
1523         * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
1524         (Global Maintainers): Remove Jan Kratochvil.
1525
1526 2014-03-14  Pedro Alves  <palves@redhat.com>
1527
1528         * inferior.h (terminal_ours_for_output): Rename to ...
1529         (child_terminal_ours_for_output): ... this.
1530         (terminal_save_ours): Rename to ...
1531         (child_terminal_save_ours): ... this.
1532         (terminal_ours): Rename to ...
1533         (child_terminal_ours): ... this.
1534         (terminal_inferior): Rename to ...
1535         (child_terminal_inferior): ... this.
1536         (terminal_init_inferior): Rename to ...
1537         (child_terminal_init_inferior): ... this.
1538         (terminal_init_inferior_with_pgrp): Rename to ...
1539         (child_terminal_init_inferior_with_pgrp): ... this.
1540         * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
1541         (child_terminal_init_with_pgrp): ... this.
1542         (terminal_save_ours): Rename to ...
1543         (child_terminal_save_ours): ... this.
1544         (terminal_init_inferior): Rename to ...
1545         (child_terminal_init): ... this.  Adjust.
1546         (terminal_inferior): Rename to ...
1547         (child_terminal_inferior): ... this.
1548         (terminal_ours_for_output): Rename to ...
1549         (child_terminal_ours_for_output): ... this.  Adjust.
1550         (terminal_ours): Rename to ...
1551         (child_terminal_ours): ... this.
1552         (terminal_ours_1): Rename to ...
1553         (child_terminal_ours_1): ... this.  Adjust.
1554         * linux-nat.c (linux_nat_terminal_inferior): Adjust.
1555         * windows-nat.c (do_initial_windows_stuff): Adjust.
1556         * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
1557         (gnu_terminal_init): ... this.  Adjust.
1558         (gnu_target): Adjust.
1559         * inf-child.c (inf_child_target): Adjust.
1560
1561 2014-03-13  Doug Evans  <xdje42@gmail.com>
1562
1563         PR guile/16612
1564         * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
1565         new eq?-hashtab.
1566
1567 2014-03-13  Doug Evans  <xdje42@gmail.com>
1568
1569         * value.c (record_latest_value): Call release_value_or_incref
1570         instead of release_value.
1571
1572 2014-03-13  Pedro Alves  <palves@redhat.com>
1573
1574         * procfs.c (procfs_target): Don't override to_shortname,
1575         to_longname or to_doc.
1576
1577 2014-03-13  Pedro Alves  <palves@redhat.com>
1578
1579         * inf-child.c (inf_child_open, inf_child_target): Don't mention
1580         Unix in user visible strings.
1581
1582 2014-03-12  Stan Shebs  <stan@codesourcery.com>
1583
1584         * gdbtypes.h: Annotate comments for Doxygen, add a page
1585         block comment with some general info.
1586
1587 2014-03-12  Pedro Alves  <palves@redhat.com>
1588
1589         * infcmd.c (prepare_execution_command): New function, factored out
1590         from several execution commands.
1591         (run_command_1, continue_command, step_1, jump_command)
1592         (signal_command, until_command, advance_command, finish_command)
1593         (attach_command): Use prepare_execution_command.
1594
1595 2014-03-12  Omair Javaid  <omair.javaid@linaro.org>
1596
1597         * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
1598         (MAX_BPTS): Define.
1599         (MAX_WPTS): Define.
1600         (struct arm_linux_thread_points): Removed.
1601         (struct arm_linux_process_info): New.
1602         (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
1603         (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
1604         (arm_linux_find_breakpoints_by_tid): Removed.
1605         (struct arch_lwp_info): New.
1606         (arm_linux_find_process_pid): New functions.
1607         (arm_linux_add_process): New functions.
1608         (arm_linux_process_info_get): New functions.
1609         (arm_linux_forget_process): New function.
1610         (arm_linux_get_debug_reg_state): New function.
1611         (struct update_registers_data): New.
1612         (update_registers_callback): New function.
1613         (arm_linux_insert_hw_breakpoint1): Updated.
1614         (arm_linux_remove_hw_breakpoint1): Updated.
1615         (arm_linux_insert_hw_breakpoint): Updated.
1616         (arm_linux_remove_hw_breakpoint): Updated.
1617         (arm_linux_insert_watchpoint): Updated.
1618         (arm_linux_remove_watchpoint): Updated.
1619         (arm_linux_new_thread): Updated.
1620         (arm_linux_prepare_to_resume): New function.
1621         (arm_linux_new_fork): New function.
1622         (_initialize_arm_linux_nat): Updated.
1623
1624 2014-03-12  Pedro Alves  <palves@redhat.com>
1625
1626         * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
1627
1628 2014-03-12  Tom Tromey  <tromey@redhat.com>
1629
1630         * inf-child.c (return_zero): New function.
1631         (inf_child_target): Set to_can_async_p, to_supports_non_stop.
1632         * aix-thread.c (aix_thread_inferior_created): New function.
1633         (aix_thread_attach): Remove.
1634         (init_aix_thread_ops): Don't set to_attach.
1635         (_initialize_aix_thread): Register inferior_created observer.
1636         * corelow.c (init_core_ops): Don't set to_attach or
1637         to_create_inferior.
1638         * exec.c (init_exec_ops): Don't set to_attach or
1639         to_create_inferior.
1640         * infcmd.c (run_command_1): Use find_run_target.  Make direct
1641         target calls.
1642         (attach_command): Use find_attach_target.  Make direct target
1643         calls.
1644         * record-btrace.c (init_record_btrace_ops): Don't set
1645         to_create_inferior.
1646         * record-full.c (record_full_can_async_p, record_full_is_async_p):
1647         Remove.
1648         (init_record_full_ops, init_record_full_core_ops): Update.  Don't
1649         set to_create_inferior.
1650         * target.c (complete_target_initialization): Add assertion.
1651         (target_create_inferior): Remove.
1652         (find_default_attach, find_default_create_inferior): Remove.
1653         (find_attach_target, find_run_target): New functions.
1654         (find_default_is_async_p, find_default_can_async_p)
1655         (target_supports_non_stop, target_attach): Remove.
1656         (init_dummy_target): Don't set to_create_inferior or
1657         to_supports_non_stop.
1658         * target.h (struct target_ops) <to_attach>: Add comment.  Remove
1659         TARGET_DEFAULT_FUNC.
1660         <to_create_inferior>: Add comment.
1661         <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
1662         TARGET_DEFAULT_RETURN.
1663         <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
1664         (find_attach_target, find_run_target): Declare.
1665         (target_create_inferior): Remove.
1666         (target_has_execution_1): Update comment.
1667         (target_supports_non_stop): Remove.
1668         * target-delegates.c: Rebuild.
1669
1670 2014-03-12  Pedro Alves  <palves@redhat.com>
1671
1672         * inf-child.h: Update comment to not mention Unix.
1673
1674 2014-03-12  Pedro Alves  <palves@redhat.com>
1675
1676         * inf-child.c: Update top comment to not mention Unix.  Add
1677         generic comment describing how this target is meant to be used.
1678         (inf_child_post_attach, inf_child_post_startup_inferior)
1679         (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
1680         Unix in comment.
1681
1682 2014-03-12  Pedro Alves  <palves@redhat.com>
1683
1684         * nto-procfs.c: Include inf-child.h.
1685         (procfs_ops): Delete global.
1686         (procfs_can_run): Delete method.
1687         (procfs_detach, procfs_mourn_inferior): Unpush the passed in
1688         target pointer instead of referencing procfs_ops.
1689         (procfs_prepare_to_store): Delete.
1690         (init_procfs_ops): Delete function.
1691         (procfs_target): New function, based on init_procfs_ops, but
1692         inherit inf_child_target.
1693         (_initialize_procfs): Use procfs_target.
1694
1695 2014-03-12  Pedro Alves  <palves@redhat.com>
1696
1697         * windows-nat.c: Include inf-child.h.
1698         (windows_ops): Delete global.
1699         (windows_open, windows_prepare_to_store, windows_can_run): Delete
1700         methods.
1701         (init_windows_ops): Delete function.
1702         (windows_target): New function, based on init_windows_ops, but
1703         inherit inf_child_target.
1704         (_initialize_windows_nat): Use windows_target.  Install x86
1705         specific target methods here.
1706
1707 2014-03-10  Doug Evans  <xdje42@gmail.com>
1708
1709         * guile/guile.c (call_initialize_gdb_module): New function.
1710         (initialize_guile): Replace call to scm_init_guile with call to
1711         scm_with_guile.
1712
1713 2014-03-10  Joel Brobecker  <brobecker@adacore.com>
1714
1715         * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
1716         in call to TYPE_CODE macro.
1717
1718 2014-03-10  Jerome Guitton  <guitton@adacore.com>
1719
1720         * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
1721         Resolve tagged types to full view.
1722
1723 2014-03-10  Hui Zhu  <hui@codesourcery.com>
1724
1725         * target.h (target_insert_breakpoint): Remove "hardware" from its
1726         comments.
1727
1728 2014-03-07  Doug Evans  <dje@google.com>
1729
1730         * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
1731
1732 2014-03-07  Doug Evans  <dje@google.com>
1733
1734         * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
1735         Remove unused local comp_dir_attr.  Assert exactly one of
1736         stub_comp_unit_die, stub_comp_dir is non-NULL.
1737
1738 2014-03-07  Joel Brobecker  <brobecker@adacore.com>
1739
1740         * target.h (complete_target_initialization, add_target):
1741         Add comment.
1742
1743 2014-03-07  Pedro Alves  <palves@redhat.com>
1744
1745         * go32-nat.c: Include inf-child.h.
1746         (go32_ops): Delete global.
1747         (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
1748         Delete methods.
1749         (go32_create_inferior): Push the passed in target pointer instead
1750         of referencing go32_ops.
1751         (init_go32_ops): Delete function.  Moved parts to _initialize_go32_nat.
1752         (go32_target): New function, based on init_go32_ops, but inherit
1753         inf_child_target.
1754         (_initialize_go32_nat): Use go32_target.  Move parts of
1755         init_go32_ops here.
1756
1757 2014-03-06  Joel Brobecker  <brobecker@adacore.com>
1758
1759         * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
1760         (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
1761         SYMBOL_VALUE_ADDRESS.
1762         (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
1763
1764 2014-03-06  Yao Qi  <yao@codesourcery.com>
1765
1766         * breakpoint.c (get_tracepoint_by_number): Remove argument
1767         optional_p.  All callers updated.  Adjust comments.  Update
1768         output message.
1769         * breakpoint.h (get_tracepoint_by_number): Update declaration.
1770
1771 2014-03-06  Yao Qi  <yao@codesourcery.com>
1772
1773         * reverse.c (goto_bookmark_command): Add local 'p'.  Emit error
1774         early if get_number returns zero.  Use 'p' instead of 'args'.
1775
1776 2014-03-06  Yao Qi  <yao@codesourcery.com>
1777
1778         * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
1779         message.
1780
1781 2014-03-06  Yao Qi  <yao@codesourcery.com>
1782
1783         PR breakpoints/16508
1784         * tracepoint.c (check_trace_running): New function.
1785         (trace_find_command): Move code to check_trace_running and
1786         call check_trace_running.
1787         (trace_find_pc_command): Likewise.
1788         (trace_find_tracepoint_command): Likewise.
1789         (trace_find_line_command): Likewise.
1790         (trace_find_range_command): Likewise.
1791         * tracepoint.h (check_trace_running): Likewise.
1792         * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
1793
1794 2014-03-06  Yao Qi  <yao@codesourcery.com>
1795
1796         * target.h (struct target_ops) <to_traceframe_info>: Use
1797         TARGET_DEFAULT_NORETURN (tcomplain ()).
1798         * target-delegates.c: Regenerated.
1799
1800 2014-03-05  Pedro Alves  <palves@redhat.com>
1801
1802         PR gdb/16575
1803         * dcache.c (dcache_poke_byte): Constify ptr parameter.  Return
1804         void.  Update comment.
1805         (dcache_xfer_memory): Delete.
1806         (dcache_read_memory_partial): New, based on the read bits of
1807         dcache_xfer_memory.
1808         (dcache_update): Add status parameter.  Use ULONGEST for len, and
1809         adjust.  Discard cache lines if the reason for the update was
1810         error.
1811         * dcache.h (dcache_xfer_memory): Delete declaration.
1812         (dcache_read_memory_partial): New declaration.
1813         (dcache_update): Update prototype.
1814         * target.c (raw_memory_xfer_partial): Update the dcache here.
1815         (memory_xfer_partial_1): Don't handle dcache writes here.
1816
1817 2014-03-05  Mike Frysinger  <vapier@gentoo.org>
1818
1819         * remote-sim.c (gdbsim_load): Add const to prog.
1820
1821 2014-03-03  Tom Tromey  <tromey@redhat.com>
1822
1823         * elfread.c (probe_key): Change to bfd_data.
1824         (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
1825         now per-BFD, not per-objfile.
1826         * stap-probe.c (stap_probe_destroy): Update comment.
1827         (handle_stap_probe): Allocate on the per-BFD obstack.
1828
1829 2014-03-03  Tom Tromey  <tromey@redhat.com>
1830
1831         * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
1832         * breakpoint.c (create_longjmp_master_breakpoint): Use
1833         get_probe_address.
1834         (add_location_to_breakpoint, bkpt_probe_insert_location)
1835         (bkpt_probe_remove_location): Update.
1836         * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
1837         * elfread.c (elf_symfile_relocate_probe): Remove.
1838         (elf_probe_fns): Update.
1839         (insert_exception_resume_breakpoint): Change type of "probe"
1840         parameter to bound_probe.
1841         (check_exception_resume): Update.
1842         * objfiles.c (objfile_relocate1): Don't relocate probes.
1843         * probe.c (bound_probe_s): New typedef.
1844         (parse_probes): Use get_probe_address.  Set sal's objfile.
1845         (find_probe_by_pc): Return a bound_probe.
1846         (collect_probes): Return a VEC(bound_probe_s).
1847         (compare_probes): Update.
1848         (gen_ui_out_table_header_info): Change type of "probes"
1849         parameter.  Update.
1850         (info_probes_for_ops): Update.
1851         (get_probe_address): New function.
1852         (probe_safe_evaluate_at_pc): Update.
1853         * probe.h (struct probe_ops) <get_probe_address>: New field.
1854         <set_semaphore, clear_semaphore>: Add objfile parameter.
1855         (struct probe) <objfile>: Remove field.
1856         <arch>: New field.
1857         <address>: Update comment.
1858         (struct bound_probe): New.
1859         (find_probe_by_pc): Return a bound_probe.
1860         (get_probe_address): Declare.
1861         * solib-svr4.c (struct probe_and_action) <address>: New field.
1862         (hash_probe_and_action, equal_probe_and_action): Update.
1863         (register_solib_event_probe): Add address parameter.
1864         (solib_event_probe_at): Update.
1865         (svr4_create_probe_breakpoints): Add objfile parameter.  Use
1866         get_probe_address.
1867         * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
1868         (stap_get_probe_address): New function.
1869         (stap_can_evaluate_probe_arguments, compute_probe_arg)
1870         (compile_probe_arg): Update.
1871         (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
1872         address.
1873         (handle_stap_probe): Don't relocate the probe.
1874         (stap_relocate): Remove.
1875         (stap_gen_info_probes_table_values): Update.
1876         (stap_probe_ops): Remove stap_relocate.
1877         * symfile-debug.c (debug_sym_relocate_probe): Remove.
1878         (debug_sym_probe_fns): Update.
1879         * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
1880         * symtab.c (init_sal): Use memset.
1881         * symtab.h (struct symtab_and_line) <objfile>: New field.
1882         * tracepoint.c (start_tracing, stop_tracing): Update.
1883
1884 2014-03-03  Tom Tromey  <tromey@redhat.com>
1885
1886         * probe.h (parse_probes, find_probe_by_pc)
1887         (find_probes_in_objfile): Fix comments.
1888
1889 2014-03-02  Doug Evans  <xdje42@gmail.com>
1890
1891         * infrun.c (handle_signal_stop): Replace test for
1892         TARGET_WAITKIND_STOPPED with an assert.
1893
1894 2014-03-02  Doug Evans  <xdje42@gmail.com>
1895
1896         * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
1897
1898 2014-03-02  Doug Evans  <xdje42@gmail.com>
1899
1900         * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
1901
1902 2014-03-01  Mark Kettenis  <kettenis@gnu.org>
1903
1904         * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
1905
1906 2014-03-01  Mark Kettenis  <kettenis@gnu.org>
1907
1908         * i386obsd-nat.c: Include "obsd-nat.h".
1909         (_initialize_i386obsd_nat): Call obsd_add_target instead of
1910         add_target.
1911         * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
1912
1913 2014-03-01  Mark Kettenis  <kettenis@gnu.org>
1914
1915         * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
1916
1917 2014-03-01  Mark Kettenis  <kettenis@gnu.org>
1918
1919         * mips64obsd-nat.c: Include "obsd-nath".
1920         (_initialize_mips64obsd_nat): Call obsd_add_target instead of
1921         add_target
1922         * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
1923
1924 2014-03-01  Mark Kettenis  <kettenis@gnu.org>
1925
1926         * amd64obsd-nat.c: Include "obsd-nat,h.
1927         (_initialize_amd64obsd_nat): Call obsd_add_target instead of
1928         add_target.
1929         * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
1930
1931 2014-02-28  Siva Chandra Reddy  <sivachandra@google.com>
1932
1933         * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
1934         (find_overload_match): Update call to find_oload_champ.
1935         (find_oload_champ_namespace_loop): Likewise
1936
1937 2014-02-28  Mark Kettenis  <kettenis@gnu.org>
1938
1939         * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
1940
1941         * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
1942         * config/sparc/obsd64.mh: New file.
1943         * sparc64obsd-nat.c: New file.
1944
1945         * obsd-nat.h: New file.
1946         * obsd-nat.c: New file.
1947         * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
1948         (ALLDEPFILES): Add obsd-nat.c.
1949
1950 2014-02-28  Tom Tromey  <tromey@redhat.com>
1951
1952         * cli-out.c (cli_ui_out_impl): Now const.  Remove comment.
1953         * cli-out.h (cli_ui_out_impl): Now const.
1954         * mi/mi-out.c (mi_ui_out_impl): Now const.  Remove comment.
1955         * ui-out.c (struct ui_out) <impl>: Now const.
1956         (default_ui_out_impl): Now const.
1957         (ui_out_new): Make 'impl' parameter const.
1958         * ui-out.h (ui_out_new): Update.
1959
1960 2014-02-27  Mark Kettenis  <kettenis@gnu.org>
1961
1962         * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
1963
1964 2014-02-27  Mark Kettenis  <kettenis@gnu.org>
1965
1966         * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
1967
1968 2014-02-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
1969
1970         Additional PR 8882 fix.
1971         * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
1972
1973 2014-02-27  Pedro Alves  <palves@redhat.com>
1974
1975         * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
1976         isn't set.
1977
1978 2014-02-27  Pedro Alves  <palves@redhat.com>
1979
1980         PR 12702
1981         * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
1982         * nat/linux-waitpid.c: Include string.h.
1983         (status_to_str): Moved here and made extern.
1984         * nat/linux-waitpid.h (status_to_str): New declaration.
1985
1986 2014-02-27  Hui Zhu  <hui@codesourcery.com>
1987
1988         PR 12702
1989         * infrun.c (ptid_match): Move ...
1990         * common/ptid.c (ptid_match): ... here.
1991         * inferior.h (ptid_match): Move ...
1992         * common/ptid.h (ptid_match): ... here.
1993
1994 2014-02-27  Mark Kettenis  <kettenis@gnu.org>
1995
1996         * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
1997         * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
1998         gdb_target_obs.
1999
2000 2014-02-27  Mark Kettenis  <kettenis@gnu.org>
2001
2002         * obsd-tdep.c (obsd_auxv_parse): New function.
2003         (obsd_init_abi): Set auxv_parse.
2004
2005         * gdbarch.sh (auxv_parse): New.
2006         * gdbarch.h: Regenerated.
2007         * gdbarch.c: Regenerated.
2008         * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
2009
2010 2014-02-26  Ludovic Courtès  <ludo@gnu.org>
2011
2012         * guile/scm-value.c (gdbscm_history_append_x): New function.
2013         (value_functions): Add it.
2014
2015 2014-02-27  Joel Brobecker  <brobecker@adacore.com>
2016
2017         * dwarf2read.c (attr_value_as_address): New function.
2018         (dwarf2_find_base_address, read_call_site_scope): Use
2019         attr_value_as_address in place of DW_ADDR.
2020         (dwarf2_get_pc_bounds): Use attr_value_as_address to get
2021         the low and high addresses.  Slight rework of the handling
2022         of the high pc being a constant form, and limit it to
2023         DWARF verson 4 or higher.
2024         (dwarf2_record_block_ranges): Likewise.
2025         (read_partial_die): Likewise.
2026         (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
2027
2028 2014-02-26  Tom Tromey  <tromey@redhat.com>
2029
2030         * exec.c (exec_file_attach): Hold a reference to exec_bfd.
2031
2032 2014-02-26  Tom Tromey  <tromey@redhat.com>
2033
2034         * elfread.c (elf_read_minimal_symbols): Return early if
2035         minimal symbols have already been read.  Add "ei" parameter.
2036         (elf_symfile_read): Call elf_read_minimal_symbols earlier.
2037         * minsyms.c (prim_record_minimal_symbol_full): Update.
2038         * objfiles.h (struct objstats) <n_minsyms>: Move...
2039         (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
2040         * symmisc.c (print_objfile_statistics): Update.
2041
2042 2014-02-26  Tom Tromey  <tromey@redhat.com>
2043
2044         * elfread.c (elf_read_minimal_symbols): New function, from
2045         elf_symfile_read.
2046         (elf_symfile_read): Call it.
2047
2048 2014-02-26  Tom Tromey  <tromey@redhat.com>
2049
2050         * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
2051         (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
2052         (lookup_minimal_symbol_solib_trampoline)
2053         (lookup_minimal_symbol_by_pc_section_1)
2054         (lookup_minimal_symbol_and_objfile): Update.
2055         (prim_record_minimal_symbol_full): Use the per-BFD obstack.
2056         Don't allocate a minimal symbol if minsyms have already been read.
2057         (build_minimal_symbol_hash_tables): Update.
2058         (install_minimal_symbols): Do nothing if minsyms already read.
2059         Use the per-BFD obstack.
2060         (terminate_minimal_symbol_table): Use the per-BFD obstack.
2061         * objfiles.c (allocate_objfile): Call
2062         terminate_minimal_symbol_table later.
2063         (have_minimal_symbols): Update.
2064         * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
2065         minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
2066         Move from struct objfile.
2067         <minsyms_read>: New field.
2068         (struct objfile) <msymbols, minimal_symbol_count,
2069         msymbol_hash, msymbol_demangled_hash>: Move.
2070         (ALL_OBJFILE_MSYMBOLS): Update.
2071         * symfile.c (read_symbols): Set minsyms_read.
2072         (reread_symbols): Update.
2073         * symmisc.c (dump_objfile, dump_msymbols): Update.
2074
2075 2014-02-26  Tom Tromey  <tromey@redhat.com>
2076
2077         * minsyms.c (msymbols_sort): Remove.
2078         * minsyms.h (msymbols_sort): Remove.
2079         * objfiles.c (objfile_relocate1): Don't relocate minsyms.
2080         * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
2081         * elfread.c (elf_symtab_read): Don't add section offsets.
2082         * xcoffread.c (record_minimal_symbol): Don't add section offset
2083         to minimal symbol address.
2084         * somread.c (text_offset, data_offset): Remove.
2085         (som_symtab_read): Don't add section offsets to minimal symbol
2086         addresses.
2087         * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
2088         Don't add section offsets to minimal symbols.
2089         * coffread.c (coff_symtab_read): Don't add section offsets
2090         to minimal symbol addresses.
2091         * machoread.c (macho_symtab_add_minsym): Don't add section offset
2092         to minimal symbol addresses.
2093         * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
2094         section offset to minimal symbol addresses.
2095         * mdebugread.c (parse_partial_symbols): Don't add section
2096         offset to minimal symbol addresses.
2097         * dbxread.c (read_dbx_dynamic_symtab): Don't add section
2098         offset to minimal symbol addresses.
2099
2100 2014-02-26  Tom Tromey  <tromey@redhat.com>
2101
2102         * ada-lang.c (ada_main_name): Update.
2103         (ada_add_standard_exceptions): Update.
2104         * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
2105         * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
2106         * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
2107         * auxv.c (ld_so_xfer_auxv): Update.
2108         * avr-tdep.c (avr_scan_prologue): Update.
2109         * ax-gdb.c (gen_var_ref): Update.
2110         * blockframe.c (get_pc_function_start)
2111         (find_pc_partial_function_gnu_ifunc): Update.
2112         * breakpoint.c (create_overlay_event_breakpoint)
2113         (create_longjmp_master_breakpoint)
2114         (create_std_terminate_master_breakpoint)
2115         (create_exception_master_breakpoint): Update.
2116         * bsd-uthread.c (bsd_uthread_lookup_address): Update.
2117         * c-valprint.c (c_val_print): Update.
2118         * coff-pe-read.c (add_pe_forwarded_sym): Update.
2119         * common/agent.c (agent_look_up_symbols): Update.
2120         * dbxread.c (find_stab_function_addr, end_psymtab): Update.
2121         * dwarf2loc.c (call_site_to_target_addr): Update.
2122         * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
2123         * elfread.c (elf_gnu_ifunc_record_cache)
2124         (elf_gnu_ifunc_resolve_by_got): Update.
2125         * findvar.c (default_read_var_value): Update.
2126         * frame.c (inside_main_func): Update.
2127         * frv-tdep.c (frv_frame_this_id): Update.
2128         * glibc-tdep.c (glibc_skip_solib_resolver): Update.
2129         * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
2130         Update.
2131         * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
2132         (hppa_hpux_find_dummy_bpaddr): Update.
2133         * hppa-tdep.c (hppa_symbol_address): Update.
2134         * infcmd.c (until_next_command): Update.
2135         * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
2136         Update.
2137         * linespec.c (minsym_found, add_minsym): Update.
2138         * linux-nat.c (get_signo): Update.
2139         * linux-thread-db.c (inferior_has_bug): Update.
2140         * m32c-tdep.c (m32c_return_value)
2141         (m32c_m16c_address_to_pointer): Update.
2142         * m32r-tdep.c (m32r_frame_this_id): Update.
2143         * m68hc11-tdep.c (m68hc11_get_register_info): Update.
2144         * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
2145         * maint.c (maintenance_translate_address): Update.
2146         * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
2147         (frob_address): New function.
2148         (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
2149         frob_address.  Rename parameter to "pc_in".
2150         (compare_minimal_symbols, compact_minimal_symbols): Use raw
2151         addresses.
2152         (find_solib_trampoline_target, minimal_symbol_upper_bound):
2153         Update.
2154         * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
2155         * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
2156         * objc-lang.c (find_objc_msgsend): Update.
2157         * objfiles.c (objfile_relocate1): Update.
2158         * obsd-tdep.c (obsd_skip_solib_resolver): Update.
2159         * p-valprint.c (pascal_val_print): Update.
2160         * parse.c (write_exp_msymbol): Update.
2161         * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
2162         (ppc_elfv2_skip_entrypoint): Update.
2163         * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
2164         * printcmd.c (build_address_symbolic, msym_info)
2165         (address_info): Update.
2166         * proc-service.c (ps_pglobal_lookup): Update.
2167         * psymtab.c (find_pc_sect_psymtab_closer)
2168         (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
2169         Change msymbol parameter to bound_minimal_symbol.
2170         * ravenscar-thread.c (get_running_thread_id): Update.
2171         * remote.c (remote_check_symbols): Update.
2172         * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
2173         address.
2174         * sol2-tdep.c (sol2_skip_solib_resolver): Update.
2175         * solib-dsbt.c (lm_base): Update.
2176         * solib-frv.c (lm_base, main_got): Update.
2177         * solib-irix.c (locate_base): Update.
2178         * solib-som.c (som_solib_create_inferior_hook)
2179         (link_map_start): Update.
2180         * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
2181         * solib-svr4.c (elf_locate_base, enable_break): Update.
2182         * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
2183         (flush_ea_cache): Update.
2184         * stabsread.c (define_symbol, scan_file_globals): Update.
2185         * stack.c (find_frame_funname): Update.
2186         * symfile-debug.c (debug_qf_expand_symtabs_matching)
2187         (debug_qf_find_pc_sect_symtab): Update.
2188         * symfile.c (simple_read_overlay_table)
2189         (simple_overlay_update): Update.
2190         * symfile.h (struct quick_symbol_functions)
2191         <find_pc_sect_symtab>: Change type of msymbol to
2192         bound_minimal_symbol.
2193         * symmisc.c (dump_msymbols): Update.
2194         * symtab.c (find_pc_sect_symtab_via_partial)
2195         (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
2196         (search_symbols, print_msymbol_info): Update.
2197         * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
2198         (MSYMBOL_VALUE_ADDRESS): Redefine.
2199         (BMSYMBOL_VALUE_ADDRESS): New macro.
2200         * tracepoint.c (scope_info): Update.
2201         * tui/tui-disasm.c (tui_find_disassembly_address)
2202         (tui_get_begin_asm_address): Update.
2203         * valops.c (find_function_in_inferior): Update.
2204         * value.c (value_static_field, value_fn_field): Update.
2205
2206 2014-02-26  Tom Tromey  <tromey@redhat.com>
2207
2208         * ada-lang.c (ada_update_initial_language): Update.
2209         (ada_main_name, ada_has_this_exception_support): Update.
2210         * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
2211         * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
2212         * arm-tdep.c (arm_skip_stub): Update.
2213         * auxv.c (ld_so_xfer_auxv): Update.
2214         * avr-tdep.c (avr_scan_prologue): Update.
2215         * ax-gdb.c (gen_var_ref): Update.
2216         * breakpoint.c (struct breakpoint_objfile_data)
2217         <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
2218         type to bound_minimal_symbol.
2219         (create_overlay_event_breakpoint)
2220         (create_longjmp_master_breakpoint)
2221         (create_std_terminate_master_breakpoint)
2222         (create_exception_master_breakpoint): Update.
2223         * bsd-uthread.c (bsd_uthread_lookup_address): Update.
2224         * c-exp.y (classify_name): Update.
2225         * coffread.c (coff_symfile_read): Update.
2226         * common/agent.c (agent_look_up_symbols): Update.
2227         * d-lang.c (d_main_name): Update.
2228         * dbxread.c (find_stab_function_addr, end_psymtab): Update.
2229         * dec-thread.c (enable_dec_thread): Update.
2230         * dwarf2loc.c (call_site_to_target_addr): Update.
2231         * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
2232         * eval.c (evaluate_subexp_standard): Update.
2233         * findvar.c (struct minsym_lookup_data) <result>: Change type
2234         to bound_minimal_symbol.
2235         <objfile>: Remove.
2236         (minsym_lookup_iterator_cb, default_read_var_value): Update.
2237         * frame.c (inside_main_func): Update.
2238         * frv-tdep.c (frv_frame_this_id): Update.
2239         * gcore.c (call_target_sbrk): Update.
2240         * glibc-tdep.c (glibc_skip_solib_resolver): Update.
2241         * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
2242         Update.
2243         * go-lang.c (go_main_name): Update.
2244         * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
2245         (hppa_hpux_find_import_stub_for_addr): Update.
2246         * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
2247         Update.  Change return type.
2248         * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
2249         type.
2250         * jit.c (jit_breakpoint_re_set_internal): Update.
2251         * linux-fork.c (inferior_call_waitpid, checkpoint_command):
2252         Update.
2253         * linux-nat.c (get_signo): Update.
2254         * linux-thread-db.c (inferior_has_bug): Update
2255         * m32c-tdep.c (m32c_return_value)
2256         (m32c_m16c_address_to_pointer): Update.
2257         * m32r-tdep.c (m32r_frame_this_id): Update.
2258         * m68hc11-tdep.c (m68hc11_get_register_info): Update.
2259         * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
2260         * minsyms.c (lookup_minimal_symbol_internal): Rename to
2261         lookup_minimal_symbol.  Change return type.
2262         (lookup_minimal_symbol): Remove.
2263         (lookup_bound_minimal_symbol): Update.
2264         (lookup_minimal_symbol_text): Change return type.
2265         (lookup_minimal_symbol_solib_trampoline): Change return type.
2266         * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
2267         (lookup_minimal_symbol_solib_trampoline): Change return type.
2268         * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
2269         * objc-lang.c (lookup_objc_class, lookup_child_selector)
2270         (value_nsstring, find_imps): Update.
2271         * obsd-tdep.c (obsd_skip_solib_resolver): Update.
2272         * p-lang.c (pascal_main_name): Update.
2273         * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
2274         * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
2275         * proc-service.c (ps_pglobal_lookup): Update.
2276         * ravenscar-thread.c (get_running_thread_msymbol): Change
2277         return type.
2278         (has_ravenscar_runtime, get_running_thread_id): Update.
2279         * remote.c (remote_check_symbols): Update.
2280         * sol-thread.c (ps_pglobal_lookup): Update.
2281         * sol2-tdep.c (sol2_skip_solib_resolver): Update.
2282         * solib-dsbt.c (lm_base): Update.
2283         * solib-frv.c (lm_base, frv_relocate_section_addresses):
2284         Update.
2285         * solib-irix.c (locate_base): Update.
2286         * solib-som.c (som_solib_create_inferior_hook)
2287         (som_solib_desire_dynamic_linker_symbols, link_map_start):
2288         Update.
2289         * solib-spu.c (spu_enable_break): Update.
2290         * solib-svr4.c (elf_locate_base, enable_break): Update.
2291         * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
2292         (flush_ea_cache): Update.
2293         * stabsread.c (define_symbol): Update.
2294         * symfile.c (simple_read_overlay_table): Update.
2295         * symtab.c (find_pc_sect_line): Update.
2296         * tracepoint.c (scope_info): Update.
2297         * tui-disasm.c (tui_get_begin_asm_address): Update.
2298         * value.c (value_static_field): Update.
2299
2300 2014-02-26  Tom Tromey  <tromey@redhat.com>
2301
2302         * minsyms.c (prim_record_minimal_symbol_full): Use
2303         SET_MSYMBOL_VALUE_ADDRESS.
2304         * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
2305         * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
2306         SET_MSYMBOL_VALUE_ADDRESS.
2307         * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
2308         (SET_MSYMBOL_VALUE_ADDRESS): New macro.
2309
2310 2014-02-26  Tom Tromey  <tromey@redhat.com>
2311
2312         * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
2313         (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
2314         (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
2315         (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
2316         (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
2317         (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
2318         (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
2319         * ada-lang.c (ada_main_name): Update.
2320         (ada_lookup_simple_minsym): Update.
2321         (ada_make_symbol_completion_list): Update.
2322         (ada_add_standard_exceptions): Update.
2323         * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
2324         * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
2325         * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
2326         * arm-tdep.c (skip_prologue_function): Update.
2327         (arm_skip_stack_protector, arm_skip_stub): Update.
2328         * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
2329         (arm_wince_skip_main_prologue): Update.
2330         * auxv.c (ld_so_xfer_auxv): Update.
2331         * avr-tdep.c (avr_scan_prologue): Update.
2332         * ax-gdb.c (gen_var_ref): Update.
2333         * block.c (call_site_for_pc): Update.
2334         * blockframe.c (get_pc_function_start): Update.
2335         (find_pc_partial_function_gnu_ifunc): Update.
2336         * breakpoint.c (create_overlay_event_breakpoint): Update.
2337         (create_longjmp_master_breakpoint): Update.
2338         (create_std_terminate_master_breakpoint): Update.
2339         (create_exception_master_breakpoint): Update.
2340         (resolve_sal_pc): Update.
2341         * bsd-uthread.c (bsd_uthread_lookup_address): Update.
2342         * btrace.c (ftrace_print_function_name, ftrace_function_switched):
2343         Update.
2344         * c-valprint.c (c_val_print): Update.
2345         * coff-pe-read.c (add_pe_forwarded_sym): Update.
2346         * coffread.c (coff_symfile_read): Update.
2347         * common/agent.c (agent_look_up_symbols): Update.
2348         * dbxread.c (find_stab_function_addr): Update.
2349         (end_psymtab): Update.
2350         * dwarf2loc.c (call_site_to_target_addr): Update.
2351         (func_verify_no_selftailcall): Update.
2352         (tailcall_dump): Update.
2353         (call_site_find_chain_1): Update.
2354         (dwarf_expr_reg_to_entry_parameter): Update.
2355         * elfread.c (elf_gnu_ifunc_record_cache): Update.
2356         (elf_gnu_ifunc_resolve_by_got): Update.
2357         * f-valprint.c (info_common_command): Update.
2358         * findvar.c (read_var_value): Update.
2359         * frame.c (get_prev_frame_1): Update.
2360         (inside_main_func): Update.
2361         * frv-tdep.c (frv_skip_main_prologue): Update.
2362         (frv_frame_this_id): Update.
2363         * glibc-tdep.c (glibc_skip_solib_resolver): Update.
2364         * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
2365         * gnu-v3-abi.c (gnuv3_rtti_type): Update.
2366         (gnuv3_skip_trampoline): Update.
2367         * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
2368         (hppa64_hpux_in_solib_call_trampoline): Update.
2369         (hppa_hpux_skip_trampoline_code): Update.
2370         (hppa64_hpux_search_dummy_call_sequence): Update.
2371         (hppa_hpux_find_import_stub_for_addr): Update.
2372         (hppa_hpux_find_dummy_bpaddr): Update.
2373         * hppa-tdep.c (hppa_symbol_address)
2374         (hppa_lookup_stub_minimal_symbol): Update.
2375         * i386-tdep.c (i386_skip_main_prologue): Update.
2376         (i386_pe_skip_trampoline_code): Update.
2377         * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
2378         * infcall.c (get_function_name): Update.
2379         * infcmd.c (until_next_command): Update.
2380         * jit.c (jit_breakpoint_re_set_internal): Update.
2381         (jit_inferior_init): Update.
2382         * linespec.c (minsym_found): Update.
2383         (add_minsym): Update.
2384         * linux-fork.c (info_checkpoints_command): Update.
2385         * linux-nat.c (get_signo): Update.
2386         * linux-thread-db.c (inferior_has_bug): Update.
2387         * m32c-tdep.c (m32c_return_value): Update.
2388         (m32c_m16c_address_to_pointer): Update.
2389         (m32c_m16c_pointer_to_address): Update.
2390         * m32r-tdep.c (m32r_frame_this_id): Update.
2391         * m68hc11-tdep.c (m68hc11_get_register_info): Update.
2392         * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
2393         * maint.c (maintenance_translate_address): Update.
2394         * minsyms.c (add_minsym_to_hash_table): Update.
2395         (add_minsym_to_demangled_hash_table): Update.
2396         (msymbol_objfile): Update.
2397         (lookup_minimal_symbol): Update.
2398         (iterate_over_minimal_symbols): Update.
2399         (lookup_minimal_symbol_text): Update.
2400         (lookup_minimal_symbol_by_pc_name): Update.
2401         (lookup_minimal_symbol_solib_trampoline): Update.
2402         (lookup_minimal_symbol_by_pc_section_1): Update.
2403         (lookup_minimal_symbol_and_objfile): Update.
2404         (prim_record_minimal_symbol_full): Update.
2405         (compare_minimal_symbols): Update.
2406         (compact_minimal_symbols): Update.
2407         (build_minimal_symbol_hash_tables): Update.
2408         (install_minimal_symbols): Update.
2409         (terminate_minimal_symbol_table): Update.
2410         (find_solib_trampoline_target): Update.
2411         (minimal_symbol_upper_bound): Update.
2412         * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
2413         * mips-tdep.c (mips_stub_frame_sniffer): Update.
2414         (mips_skip_pic_trampoline_code): Update.
2415         * msp430-tdep.c (msp430_skip_trampoline_code): Update.
2416         * objc-lang.c (selectors_info): Update.
2417         (classes_info): Update.
2418         (find_methods): Update.
2419         (find_imps): Update.
2420         (find_objc_msgsend): Update.
2421         * objfiles.c (objfile_relocate1): Update.
2422         * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
2423         * obsd-tdep.c (obsd_skip_solib_resolver): Update.
2424         * p-valprint.c (pascal_val_print): Update.
2425         * parse.c (write_exp_msymbol): Update.
2426         * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
2427         (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
2428         * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
2429         * printcmd.c (build_address_symbolic): Update.
2430         (sym_info): Update.
2431         (address_info): Update.
2432         * proc-service.c (ps_pglobal_lookup): Update.
2433         * psymtab.c (find_pc_sect_psymtab_closer): Update.
2434         (find_pc_sect_psymtab): Update.
2435         * python/py-framefilter.c (py_print_frame): Update.
2436         * ravenscar-thread.c (get_running_thread_id): Update.
2437         * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
2438         Update.
2439         * remote.c (remote_check_symbols): Update.
2440         * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
2441         (rs6000_skip_trampoline_code): Update.
2442         * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
2443         * sol2-tdep.c (sol2_skip_solib_resolver): Update.
2444         * solib-dsbt.c (lm_base): Update.
2445         * solib-frv.c (lm_base): Update.
2446         (main_got): Update.
2447         * solib-irix.c (locate_base): Update.
2448         * solib-som.c (som_solib_create_inferior_hook): Update.
2449         (som_solib_desire_dynamic_linker_symbols): Update.
2450         (link_map_start): Update.
2451         * solib-spu.c (spu_enable_break): Update.
2452         (ocl_enable_break): Update.
2453         * solib-svr4.c (elf_locate_base): Update.
2454         (enable_break): Update.
2455         * spu-tdep.c (spu_get_overlay_table): Update.
2456         (spu_catch_start): Update.
2457         (flush_ea_cache): Update.
2458         * stabsread.c (define_symbol): Update.
2459         (scan_file_globals): Update.
2460         * stack.c (find_frame_funname): Update.
2461         (frame_info): Update.
2462         * symfile.c (simple_read_overlay_table): Update.
2463         (simple_overlay_update): Update.
2464         * symmisc.c (dump_msymbols): Update.
2465         * symtab.c (fixup_section): Update.
2466         (find_pc_sect_line): Update.
2467         (skip_prologue_sal): Update.
2468         (search_symbols): Update.
2469         (print_msymbol_info): Update.
2470         (rbreak_command): Update.
2471         (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
2472         (completion_list_objc_symbol): Update.
2473         (default_make_symbol_completion_list_break_on): Update.
2474         * tracepoint.c (scope_info): Update.
2475         * tui/tui-disasm.c (tui_find_disassembly_address): Update.
2476         (tui_get_begin_asm_address): Update.
2477         * valops.c (find_function_in_inferior): Update.
2478         * value.c (value_static_field): Update.
2479         (value_fn_field): Update.
2480
2481 2014-02-26  Tom Tromey  <tromey@redhat.com>
2482
2483         * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
2484         bound minimal symbols.  Move code that knows about minsym
2485         table layout...
2486         * minsyms.c (minimal_symbol_upper_bound): ... here.  New
2487         function.
2488         * minsyms.h (minimal_symbol_upper_bound): Declare.
2489         * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
2490         minimal_symbol_upper_bound.
2491
2492 2014-02-27  Joel Brobecker  <brobecker@adacore.com>
2493
2494         * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
2495         Use the type's name if its basic type does not have a tag.
2496
2497 2014-02-27  Joel Brobecker  <brobecker@adacore.com>
2498
2499         * dwarf2read.c (read_subrange_type): Add comment.
2500
2501 2014-02-27  Joel Brobecker  <brobecker@adacore.com>
2502
2503         * dwarf2read.c (update_enumeration_type_from_children): New
2504         function, mostly extracted from process_structure_scope.
2505         (read_enumeration_type): Call update_enumeration_type_from_children.
2506         (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
2507         and flag_flag_enum fields.
2508
2509 2014-02-26  Pedro Alves  <palves@redhat.com>
2510
2511         * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
2512         (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
2513         to_xfer_partial method.
2514
2515 2014-02-26  Pedro Alves  <palves@redhat.com>
2516
2517         * target.c (complete_target_initialization): Don't install
2518         default_xfer_partial as to_xfer_partial hook.
2519         (nomemory): Delete.
2520         (update_current_target): Don't INHERIT nor de_fault
2521         deprecated_xfer_memory.  Delete de_fault macro.
2522         (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
2523         (setup_target_debug): Don't install a deprecated_xfer_memory hook.
2524         * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
2525         field.
2526
2527 2014-02-26  Pedro Alves  <palves@redhat.com>
2528
2529         * go32-nat.c (my_write_child): New function.
2530         (go32_xfer_memory): Rewrite as to_xfer_partial helper.
2531         (go32_xfer_partial): New function.
2532         (init_go32_ops): Don't install a deprecated_xfer_memory hook.
2533         Instead install a to_xfer_partial hook.
2534
2535 2014-02-26  Pedro Alves  <palves@redhat.com>
2536
2537         * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
2538         to_xfer_partial helper.  Rewrite.
2539         (procfs_xfer_partial): New function.
2540         (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
2541         Install a to_xfer_partial hook.
2542
2543 2014-02-26  Pedro Alves  <palves@redhat.com>
2544
2545         * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
2546         (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
2547         (m32r_xfer_partial): New function.
2548         (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
2549         Install a to_xfer_partial hook.
2550
2551 2014-02-26  Pedro Alves  <palves@redhat.com>
2552
2553         * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
2554         helper.
2555         (mips_xfer_partial): New function.
2556         (_initialize_remote_mips): Don't install a deprecated_xfer_memory
2557         hook.  Install a to_xfer_partial hook.
2558
2559 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
2560
2561         * gdbtypes.h (create_array_type_with_stride): Add declaration.
2562         * gdbtypes.c (create_array_type_with_stride): New function,
2563         renaming create_array_type, but with an added parameter
2564         called "bit_stride".
2565         (create_array_type): Re-implement using
2566         create_array_type_with_stride.
2567         * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
2568         and DW_AT_bit_stride attributes.
2569
2570 2014-02-26  Pedro Alves  <palves@redhat.com>
2571
2572         * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
2573         task-specific breakpoints.
2574
2575 2014-02-25  Pedro Alves  <palves@redhat.com>
2576
2577         * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
2578         handling of object == TARGET_OBJECT_UNWIND_TABLE.
2579
2580 2014-02-25  Stan Shebs  <stan@codesourcery.com>
2581
2582         * defs.h: Annotate comments for Doxygen.
2583
2584 2014-02-25  Tom Tromey  <tromey@redhat.com>
2585
2586         * target.h (target_ignore): Don't declare.
2587         * target.c (target_ignore): Remove.
2588
2589 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
2590
2591         PR gdb/16626
2592         * auto-load.c (auto_load_objfile_script_1): Change filename to
2593         debugfile.
2594
2595 2014-02-25  Joel Brobecker  <brobecker@adacore.com>
2596
2597         * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
2598         documentation.  Adjust prototype to match the target_ops
2599         to_xfer_partial method.  Adjust implementation accordingly.
2600
2601 2014-02-25  Hui Zhu  <hui@codesourcery.com>
2602
2603         * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
2604         to_traceframe_info.
2605
2606 2014-02-25  Kevin Buettner  <kevinb@redhat.com>
2607
2608         * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
2609         (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
2610         (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
2611         (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
2612         (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
2613         (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
2614         (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
2615         (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
2616         New constants.
2617         (rl78_register_type): Use a data pointer type for SP and
2618         new pseudo registers mentioned above.  Use a 16 bit integer
2619         type for all other register pairs.
2620         (rl78_register_name, rl78_g10_register_name): Update for
2621         new pseudo registers.
2622         (rl78_pseudo_register_read): Likewise.
2623         (rl78_pseudo_register_write): Likewise.
2624         (rl78_dwarf_reg_to_regnum): Return register numbers representing
2625         to the newly added pseudo registers.
2626
2627 2014-02-24  Doug Evans  <dje@google.com>
2628
2629         * value.c (record_latest_value): Fix comment.
2630         * printcmd.c (print_command_1): Remove code to handle -1 return from
2631         record_latest_value.
2632
2633 2014-02-24  Pedro Alves  <palves@redhat.com>
2634
2635         * procfs.c (procfs_target): Don't install procfs_xfer_memory as
2636         deprecated_xfer_memory hook.
2637         (procfs_xfer_partial): Call procfs_xfer_memory instead
2638         of the deprecated_xfer_memory target hook.
2639         (procfs_xfer_memory): Adjust interface as a to_xfer_partial
2640         helper.
2641
2642 2014-02-24  Yuanhui Zhang  <asmwarrior@gmail.com>
2643
2644         * windows-nat.c (windows_xfer_shared_libraries): Return
2645         TARGET_XFER_EOF if LEN is zero to fix an assert failure when
2646         requested object is TARGET_OBJECT_LIBRARIES.
2647
2648 2014-02-24  Yao Qi  <yao@codesourcery.com>
2649
2650         * target.h (enum target_xfer_status)
2651         <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
2652         <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
2653         explicitly.  New.
2654         * corefile.c (memory_error_message): User updated.
2655         * exec.c (section_table_read_available_memory): Likewise.
2656         * record-btrace.c (record_btrace_xfer_partial): Likewise.
2657         * target.c (target_xfer_status_to_string): Likewise.
2658         (raw_memory_xfer_partial): Likewise.
2659         (memory_xfer_partial_1, target_xfer_partial): Likewise.
2660         * valops.c (read_value_memory): Likewise.
2661         * exec.h: Update comments.
2662
2663 2014-02-24  Yao Qi  <yao@codesourcery.com>
2664
2665         * target.c (target_xfer_status_to_string): Rename argument err
2666         to status.
2667         * target.h (target_xfer_status_to_string): Update declaration.
2668         Replace target_xfer_error_to_string with
2669         target_xfer_status_to_string in comment.
2670
2671 2014-02-24  Yao Qi  <yao@codesourcery.com>
2672
2673         * mips-linux-nat.c (super_close): Update its type.
2674         (mips_linux_close): Pass 'self' to super_close.
2675
2676 2014-02-24  Yao Qi  <yao@codesourcery.com>
2677
2678         * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
2679         * corefile.c (read_memory): Adjusted.
2680         * target.c (target_write_with_progress): Adjusted.
2681
2682 2014-02-23  Yao Qi  <yao@codesourcery.com>
2683
2684         Revert two patches:
2685
2686         2013-10-25  Yao Qi  <yao@codesourcery.com>
2687
2688         * remote.c (remote_traceframe_info): Return early if
2689         traceframe is not selected.
2690
2691         2013-07-19  Yao Qi  <yao@codesourcery.com>
2692
2693         * target.c (update_current_target): Change the default action
2694         of 'to_traceframe_info' from tcomplain to return_zero.
2695         * target.h (struct target_ops) <to_traceframe_info>: Add more
2696         comments.
2697
2698 2014-02-23  Yao Qi  <yao@codesourcery.com>
2699
2700         * valops.c (read_value_memory): Rewrite it.  Call
2701         target_xfer_partial in a loop.
2702         * exec.h (section_table_available_memory): Remove declaration.
2703         Move comments to ...
2704         * exec.c (section_table_available_memory): ... here.  Make it
2705         static.
2706
2707 2014-02-23  Yao Qi  <yao@codesourcery.com>
2708
2709         * exec.c (section_table_read_available_memory): New function.
2710         * exec.h (section_table_read_available_memory): Declare.
2711         * ctf.c (ctf_xfer_partial): Call
2712         section_table_read_available_memory.
2713         * tracefile-tfile.c (tfile_xfer_partial): Likewise.
2714
2715 2014-02-23  Yao Qi  <yao@codesourcery.com>
2716
2717         * ctf.c (ctf_xfer_partial): Move code to ...
2718         * exec.c (exec_read_partial_read_only): ... it.  New function.
2719         * tracefile-tfile.c (tfile_xfer_partial): Likewise.
2720         * tracefile.c: Include "exec.h".
2721         * exec.h (exec_read_partial_read_only): Declare.
2722
2723 2014-02-23  Yao Qi  <yao@codesourcery.com>
2724
2725         * tracefile-tfile.c (tfile_has_all_memory): Remove.
2726         (tfile_has_memory): Remove.
2727         (init_tfile_ops): Don't set fields to_has_all_memory and
2728         to_has_memory of tfile_ops.
2729         * tracefile.c (tracefile_has_all_memory): New function.
2730         (tracefile_has_memory): New function.
2731         (init_tracefile_ops): Initialize fields to_has_all_memory and
2732         to_has_memory of 'ops'.
2733
2734 2014-02-23  Yao Qi  <yao@codesourcery.com>
2735
2736         * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
2737         (ctf_thread_alive, ctf_get_trace_status): Remove.
2738         (init_ctf_ops): Don't set some fields of ctf_ops.  Call
2739         init_tracefile_ops.
2740         * tracefile-tfile.c (tfile_get_trace_status): Remove.
2741         (tfile_has_stack, tfile_has_registers): Remove.
2742         (tfile_thread_alive): Remove.
2743         (init_tfile_ops): Don't set some fields of tfile_ops.  Call
2744         init_tracefile_ops.
2745         * tracefile.c (tracefile_has_stack): New function.
2746         (tracefile_has_registers): New function.
2747         (tracefile_thread_alive): New function.
2748         (tracefile_get_trace_status): New function.
2749         (init_tracefile_ops): New function.
2750         * tracefile.h (init_tracefile_ops): Declare.
2751
2752 2014-02-23  Yao Qi  <yao@codesourcery.com>
2753
2754         * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
2755         (O_LARGEFILE): Likewise.
2756         (tfile_ops): Likewise.
2757         (TRACE_HEADER_SIZE): Likewise.
2758         (trace_fd, trace_frames_offset, cur_offset): Likewise.
2759         (cur_data_size): Likewise.
2760         (tfile_read, tfile_open, tfile_interp_line): Likewise.
2761         (tfile_close, tfile_files_info): Likewise.
2762         (tfile_get_trace_status): Likewise.
2763         (tfile_get_tracepoint_status): Likewise.
2764         (tfile_get_traceframe_address): Likewise.
2765         (tfile_trace_find, match_blocktype): Likewise.
2766         (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
2767         (tfile_fetch_registers, tfile_xfer_partial): Likewise.
2768         (tfile_get_trace_state_variable_value): Likewise.
2769         (tfile_has_all_memory, tfile_has_memory): Likewise.
2770         (tfile_has_stack, tfile_has_registers): Likewise.
2771         (tfile_thread_alive, build_traceframe_info): Likewise.
2772         (tfile_traceframe_info, init_tfile_ops): Likewise.
2773         (_initialize_tracepoint): Don't call init_tfile_ops
2774         and add_target_with_completer.
2775         * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
2776         exec.h, completer.h and filenames.h.
2777         (_initialize_tracefile_tfile): New function.
2778
2779 2014-02-23  Yao Qi  <yao@codesourcery.com>
2780
2781         * Makefile.in (REMOTE_OBS): Append tracefile.o and
2782         tracefile-tfile.o.
2783         (HFILES_NO_SRCDIR): Add tracefile.h.
2784         * ctf.c: Include "tracefile.h".
2785         * tracefile.h: New file.
2786         * tracefile.c: New file
2787         * tracefile-tfile.c: New file.
2788         * tracepoint.c: Include "tracefile.h".
2789         (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
2790         (stop_reason_names): Add const.
2791         (trace_file_writer_xfree): Move it to tracefile.c.
2792         (trace_save, trace_save_command, trace_save_tfile): Likewise.
2793         (trace_save_ctf): Likewise.
2794         (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
2795         (tfile_target_save, tfile_dtor, tfile_start): Likewise.
2796         (tfile_write_header, tfile_write_regblock_type): Likewise.
2797         (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
2798         (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
2799         (tfile_write_raw_data, tfile_end): Likewise.
2800         (tfile_trace_file_writer_new): Likewise.
2801         (free_uploaded_tp): Make it extern.
2802         (free_uploaded_tsv): Make it extern.
2803         (_initialize_tracepoint): Move code to register command 'tsave'
2804         to tracefile.c.
2805         * tracepoint.h (stop_reason_names): Declare.
2806         (struct trace_frame_write_ops): Move it to tracefile.h.
2807         (struct trace_file_write_ops): Likewise.
2808         (struct trace_file_writer): Likewise.
2809         (free_uploaded_tsvs, free_uploaded_tps): Declare.
2810
2811 2014-02-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
2812
2813         PR gdb/16594
2814         * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
2815         process name.
2816         (get_cores_used_by_process): New parameter num_cores, use it.
2817         (linux_xfer_osdata_processes): Pass num_cores to it.
2818         * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
2819         process name.
2820
2821 2014-02-21  Andreas Arnez  <arnez@vnet.linux.ibm.com>
2822
2823         * target.c (memory_xfer_partial): Fix length arg in call to
2824         breakpoint_xfer_memory.
2825
2826 2014-02-20  Sergio Durigan Junior  <sergiodj@redhat.com>
2827
2828         PR tdep/16397
2829         * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
2830         number comes after the + or - signs.  Adjust length of register
2831         name to be extracted.
2832
2833 2014-02-20  Tom Tromey  <tromey@redhat.com>
2834
2835         * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
2836         (ada_varobj_ops): Mark "extern".
2837
2838 2014-02-20  Tom Tromey  <tromey@redhat.com>
2839
2840         * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
2841
2842 2014-02-20  Doug Evans  <xdje42@gmail.com>
2843
2844         * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
2845         All callers updated.
2846         (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
2847         All callers updated.
2848         * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
2849         (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
2850
2851 2014-02-20  lin zuojian  <manjian2006@gmail.com>
2852             Joel Brobecker  <brobecker@adacore.com>
2853             Doug Evans  <xdje42@gmail.com>
2854
2855         PR symtab/16581
2856         * dwarf2read.c (struct die_info): New member in_process.
2857         (reset_die_in_process): New function.
2858         (process_die): Set it at the start, reset when returning.
2859         (inherit_abstract_dies): Only call process_die if origin_child_die
2860         not already being processed.
2861
2862 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
2863
2864         * windows-nat.c (handle_unload_dll): Add function documentation.
2865         (do_initial_windows_stuff): Add comment explaining why we wait
2866         until after inferior initialization has finished before
2867         processing all DLLs.
2868
2869 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
2870
2871         * windows-nat.c (get_module_name): Delete.
2872         (windows_get_exec_module_filename): New function, mostly
2873         inspired from get_module_name.
2874         (windows_pid_to_exec_file): Replace call to get_module_name
2875         by call to windows_get_exec_module_filename.
2876
2877 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
2878
2879         * windows-nat.c (handle_load_dll): Rewrite this function's
2880         introductory comment.  Remove code using get_module_name
2881         to get the DLL's name.
2882
2883 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
2884
2885         * windows-nat.c (get_windows_debug_event): Ignore
2886         LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
2887         if windows_initialization_done == 0.
2888         (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
2889         Adjust implementation to always load all DLLs.
2890         (do_initial_windows_stuff): Replace call to
2891         windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
2892
2893 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
2894
2895         * windows-nat.c (_initialize_windows_nat): Deprecate the
2896         "dll-symbols" command.  Turn the "add-shared-symbol-files"
2897         and "assf" aliases into commands, and deprecate them as well.
2898         * NEWS: Add entry explaining that "dll-symbols" and its two
2899         aliases are now deprecated.
2900
2901 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
2902
2903         * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
2904         new-line in debug string.  Remove trailing spaces.
2905
2906 2014-02-19  Stan Shebs  <stan@codesourcery.com>
2907
2908         * darwin-nat.c (darwin_xfer_partial): Fix return type.
2909
2910 2014-02-19  Siva Chandra Reddy  <sivachandra@google.com>
2911
2912         * NEWS: Add entry for the new feature
2913         * python/py-value.c (valpy_binop): Call value_x_binop for struct
2914         and class values.
2915
2916 2014-02-19  Stan Shebs  <stan@codesourcery.com>
2917
2918         * MAINTAINERS: List Yao Qi as nios2 maintainer.
2919
2920 2014-02-19  Pedro Alves  <palves@redhat.com>
2921
2922         * common/ptid.h (struct ptid): Mention that process_stratum
2923         targets should prefer ptid.lwp.
2924
2925 2014-02-19  Pedro Alves  <palves@redhat.com>
2926
2927         * remote.c (remote_thread_alive, write_ptid, read_ptid)
2928         (read_ptid, remote_newthread_step, remote_threads_extra_info)
2929         (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
2930         (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
2931         store remote thread ids rather than ptid.tid.
2932         (_initialize_remote): Adjust.
2933
2934 2014-02-19  Tom Tromey  <tromey@redhat.com>
2935
2936         * target.c (target_get_unwinder): Rewrite.
2937         (target_get_tailcall_unwinder): Rewrite.
2938         * record-btrace.c (record_btrace_to_get_unwinder): New function.
2939         (record_btrace_to_get_tailcall_unwinder): New function.
2940         (init_record_btrace_ops): Update.
2941         * target.h (struct target_ops) <to_get_unwinder,
2942         to_get_tailcall_unwinder>: Now function pointers.  Use
2943         TARGET_DEFAULT_RETURN.
2944
2945 2014-02-19  Tom Tromey  <tromey@redhat.com>
2946
2947         * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
2948         argument.
2949         (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
2950
2951 2014-02-19  Tom Tromey  <tromey@redhat.com>
2952
2953         * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
2954         directly.
2955         * target-delegates.c: Rebuild.
2956         * target.h (struct target_ops) <to_decr_pc_after_break>: Use
2957         TARGET_DEFAULT_FUNC.
2958         * target.c (default_target_decr_pc_after_break): Rename from
2959         forward_target_decr_pc_after_break.  Simplify.
2960         (target_decr_pc_after_break): Rely on delegation.
2961
2962 2014-02-19  Tom Tromey  <tromey@redhat.com>
2963
2964         * target.c (update_current_target): Do not INHERIT to_doc or
2965         to_magic.  Do not de_fault to_open or to_close.
2966
2967 2014-02-19  Tom Tromey  <tromey@redhat.com>
2968
2969         * gcore.h (objfile_find_memory_regions): Declare.
2970         * gcore.c (objfile_find_memory_regions): No longer static.  Add
2971         "self" argument.
2972         (_initialize_gcore): Don't call exec_set_find_memory_regions.
2973         * exec.c: Include gcore.h.
2974         (exec_set_find_memory_regions): Remove.
2975         (exec_find_memory_regions): Remove.
2976         (exec_do_find_memory_regions): Remove.
2977         (init_exec_ops): Update.
2978         * defs.h (exec_set_find_memory_regions): Remove.
2979
2980 2014-02-19  Tom Tromey  <tromey@redhat.com>
2981
2982         * target-delegates.c: Rebuild.
2983         * target.h (struct target_ops) <to_extra_thread_info,
2984         to_thread_name, to_pid_to_exec_file, to_get_section_table,
2985         to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
2986         not 0, in TARGET_DEFAULT_RETURN.
2987
2988 2014-02-19  Tom Tromey  <tromey@redhat.com>
2989
2990         * target.c (complete_target_initialization): Remove casts.  Use
2991         return_zero_has_execution.
2992         (return_zero): Add "ignore" argument.
2993         (return_zero_has_execution): New function.
2994         (init_dummy_target): Remove casts.  Use
2995         return_zero_has_execution.
2996
2997 2014-02-19  Tom Tromey  <tromey@redhat.com>
2998
2999         * target.c (update_current_target): Update comments.  Do not
3000         INHERIT to_stratum.
3001
3002 2014-02-19  Tom Tromey  <tromey@redhat.com>
3003
3004         * arm-linux-nat.c (arm_linux_read_description): Delegate when
3005         needed.
3006         * corelow.c (core_read_description): Delegate when needed.
3007         * remote.c (remote_read_description): Delegate when needed.
3008         * target-delegates.c: Rebuild.
3009         * target.c (target_read_description): Rewrite.
3010         * target.h (struct target_ops) <to_read_description>: Update
3011         comment.  Use TARGET_DEFAULT_RETURN.
3012
3013 2014-02-19  Tom Tromey  <tromey@redhat.com>
3014
3015         * target-delegates.c: Rebuild.
3016         * target.c (update_current_target): Don't inherit or default
3017         to_can_run.
3018         (find_default_run_target): Check against delegate_can_run.
3019         * target.h (struct target_ops) <to_can_run>: Use
3020         TARGET_DEFAULT_RETURN.
3021
3022 2014-02-19  Tom Tromey  <tromey@redhat.com>
3023
3024         * target-delegates.c: Rebuild.
3025         * target.c (target_disconnect): Unconditionally delegate.
3026         * target.h (struct target_ops) <to_disconnect>: Use
3027         TARGET_DEFAULT_NORETURN.
3028
3029 2014-02-19  Tom Tromey  <tromey@redhat.com>
3030
3031         * record.c (record_stop): Unconditionally delegate.
3032         * target-delegates.c: Rebuild.
3033         * target.c (target_stop_recording): Unconditionally delegate.
3034         * target.h (struct target_ops) <to_stop_recording>: Use
3035         TARGET_DEFAULT_IGNORE.
3036
3037 2014-02-19  Tom Tromey  <tromey@redhat.com>
3038
3039         * target-delegates.c: Rebuild.
3040         * target.c (target_enable_btrace): Unconditionally delegate.
3041         * target.h (struct target_ops) <to_enable_btrace>: Use
3042         TARGET_DEFAULT_NORETURN.
3043
3044 2014-02-19  Tom Tromey  <tromey@redhat.com>
3045
3046         * target-delegates.c: Rebuild.
3047         * target.c (target_read_btrace): Unconditionally delegate.
3048         * target.h (struct target_ops) <to_read_btrace>: Use
3049         TARGET_DEFAULT_NORETURN.
3050
3051 2014-02-19  Tom Tromey  <tromey@redhat.com>
3052
3053         * target-delegates.c: Rebuild.
3054         * target.c (target_teardown_btrace): Unconditionally delegate.
3055         * target.h (struct target_ops) <to_teardown_btrace>: Use
3056         TARGET_DEFAULT_NORETURN.
3057
3058 2014-02-19  Tom Tromey  <tromey@redhat.com>
3059
3060         * target-delegates.c: Rebuild.
3061         * target.c (target_disable_btrace): Unconditionally delegate.
3062         * target.h (struct target_ops) <to_disable_btrace>: Use
3063         TARGET_DEFAULT_NORETURN.
3064
3065 2014-02-19  Tom Tromey  <tromey@redhat.com>
3066
3067         * target-delegates.c: Rebuild.
3068         * target.c (default_search_memory): New function.
3069         (simple_search_memory): Update comment.
3070         (target_search_memory): Unconditionally delegate.
3071         * target.h (struct target_ops) <to_search_memory>: Use
3072         TARGET_DEFAULT_FUNC.
3073
3074 2014-02-19  Tom Tromey  <tromey@redhat.com>
3075
3076         * auxv.c (default_auxv_parse): No longer static.
3077         (target_auxv_parse): Unconditionally delegate.
3078         * auxv.h (default_auxv_parse): Declare.
3079         * target-delegates.c: Rebuild.
3080         * target.c: Include auxv.h.
3081         * target.h (struct target_ops) <to_auxv_parse>: Use
3082         TARGET_DEFAULT_FUNC.
3083
3084 2014-02-19  Tom Tromey  <tromey@redhat.com>
3085
3086         * target-delegates.c: Rebuild.
3087         * target.c (target_memory_map): Unconditionally delegate.
3088         * target.h (struct target_ops) <to_memory_map>: Use
3089         TARGET_DEFAULT_RETURN.
3090
3091 2014-02-19  Tom Tromey  <tromey@redhat.com>
3092
3093         * target-delegates.c: Rebuild.
3094         * target.c (target_thread_alive): Unconditionally delegate.
3095         * target.h (struct target_ops) <to_thread_alive>: Use
3096         TARGET_DEFAULT_RETURN.
3097
3098 2014-02-19  Tom Tromey  <tromey@redhat.com>
3099
3100         * target-delegates.c: Rebuild.
3101         * target.c (target_save_record): Unconditionally delegate.
3102         * target.h (struct target_ops) <to_save_record>: Use
3103         TARGET_DEFAULT_NORETURN.
3104
3105 2014-02-19  Tom Tromey  <tromey@redhat.com>
3106
3107         * target-delegates.c: Rebuild.
3108         * target.c (target_delete_record): Unconditionally delegate.
3109         * target.h (struct target_ops) <to_delete_record>: Use
3110         TARGET_DEFAULT_NORETURN.
3111
3112 2014-02-19  Tom Tromey  <tromey@redhat.com>
3113
3114         * target-delegates.c: Rebuild.
3115         * target.c (target_record_is_replaying): Unconditionally
3116         delegate.
3117         * target.h (struct target_ops) <to_record_is_replaying>: Use
3118         TARGET_DEFAULT_RETURN.
3119
3120 2014-02-19  Tom Tromey  <tromey@redhat.com>
3121
3122         * target-delegates.c: Rebuild.
3123         * target.c (target_goto_record_begin): Unconditionally delegate.
3124         * target.h (struct target_ops) <to_goto_record_begin>: Use
3125         TARGET_DEFAULT_NORETURN.
3126
3127 2014-02-19  Tom Tromey  <tromey@redhat.com>
3128
3129         * target-delegates.c: Rebuild.
3130         * target.c (target_goto_record_end): Unconditionally delegate.
3131         * target.h (struct target_ops) <to_goto_record_end>: Use
3132         TARGET_DEFAULT_NORETURN.
3133
3134 2014-02-19  Tom Tromey  <tromey@redhat.com>
3135
3136         * target-delegates.c: Rebuild.
3137         * target.c (target_goto_record): Unconditionally delegate.
3138         * target.h (struct target_ops) <to_goto_record>: Use
3139         TARGET_DEFAULT_NORETURN.
3140
3141 2014-02-19  Tom Tromey  <tromey@redhat.com>
3142
3143         * target-delegates.c: Rebuild.
3144         * target.c (target_insn_history): Unconditionally delegate.
3145         * target.h (struct target_ops) <to_insn_history>: Use
3146         TARGET_DEFAULT_NORETURN.
3147
3148 2014-02-19  Tom Tromey  <tromey@redhat.com>
3149
3150         * target-delegates.c: Rebuild.
3151         * target.c (target_insn_history_from): Unconditionally delegate.
3152         * target.h (struct target_ops) <to_insn_history_from>: Use
3153         TARGET_DEFAULT_NORETURN.
3154
3155 2014-02-19  Tom Tromey  <tromey@redhat.com>
3156
3157         * target-delegates.c: Rebuild.
3158         * target.c (target_insn_history_range): Unconditionally delegate.
3159         * target.h (struct target_ops) <to_insn_history_range>: Use
3160         TARGET_DEFAULT_NORETURN.
3161
3162 2014-02-19  Tom Tromey  <tromey@redhat.com>
3163
3164         * target-delegates.c: Rebuild.
3165         * target.c (target_call_history): Unconditionally delegate.
3166         * target.h (struct target_ops) <to_call_history>: Use
3167         TARGET_DEFAULT_NORETURN.
3168
3169 2014-02-19  Tom Tromey  <tromey@redhat.com>
3170
3171         * target-delegates.c: Rebuild.
3172         * target.c (target_call_history_from): Unconditionally delegate.
3173         * target.h (struct target_ops) <to_call_history_from>: Use
3174         TARGET_DEFAULT_NORETURN.
3175
3176 2014-02-19  Tom Tromey  <tromey@redhat.com>
3177
3178         * target-delegates.c: Rebuild.
3179         * target.c (target_call_history_range): Unconditionally delegate.
3180         * target.h (struct target_ops) <to_call_history_range>: Use
3181         TARGET_DEFAULT_NORETURN.
3182
3183 2014-02-19  Tom Tromey  <tromey@redhat.com>
3184
3185         * target-delegates.c: Rebuild.
3186         * target.c (target_verify_memory): Unconditionally delegate.
3187         * target.h (struct target_ops) <to_verify_memory>: Use
3188         TARGET_DEFAULT_NORETURN.
3189
3190 2014-02-19  Tom Tromey  <tromey@redhat.com>
3191
3192         * target-delegates.c: Rebuild.
3193         * target.c (target_core_of_thread): Unconditionally delegate.
3194         * target.h (struct target_ops) <to_core_of_thread>: Use
3195         TARGET_DEFAULT_RETURN.
3196
3197 2014-02-19  Tom Tromey  <tromey@redhat.com>
3198
3199         * target-delegates.c: Rebuild.
3200         * target.c (target_flash_done): Unconditionally delegate.
3201         * target.h (struct target_ops) <to_flash_done>: Use
3202         TARGET_DEFAULT_NORETURN.
3203
3204 2014-02-19  Tom Tromey  <tromey@redhat.com>
3205
3206         * target-delegates.c: Rebuild.
3207         * target.c (target_flash_erase): Unconditionally delegate.
3208         * target.h (struct target_ops) <to_flash_erase>: Use
3209         TARGET_DEFAULT_NORETURN.
3210
3211 2014-02-19  Tom Tromey  <tromey@redhat.com>
3212
3213         * target-delegates.c: Rebuild.
3214         * target.c (target_get_section_table): Unconditionally delegate.
3215         * target.h (struct target_ops) <to_get_section_table>: Use
3216         TARGET_DEFAULT_RETURN.
3217
3218 2014-02-19  Tom Tromey  <tromey@redhat.com>
3219
3220         * target-delegates.c: Rebuild.
3221         * target.c (target_pid_to_str): Unconditionally delegate.
3222         (init_dummy_target): Don't initialize to_pid_to_str.
3223         (default_pid_to_str): Rename from dummy_pid_to_str.
3224         * target.h (struct target_ops) <to_pid_to_str>: Use
3225         TARGET_DEFAULT_FUNC.
3226
3227 2014-02-19  Tom Tromey  <tromey@redhat.com>
3228
3229         * target-delegates.c: Rebuild.
3230         * target.c (target_find_new_threads): Unconditionally delegate.
3231         * target.h (struct target_ops) <to_find_new_threads>: Use
3232         TARGET_DEFAULT_RETURN.
3233
3234 2014-02-19  Tom Tromey  <tromey@redhat.com>
3235
3236         * target-delegates.c: Rebuild.
3237         * target.c (target_program_signals): Unconditionally delegate.
3238         * target.h (struct target_ops) <to_program_signals>: Use
3239         TARGET_DEFAULT_IGNORE.
3240
3241 2014-02-19  Tom Tromey  <tromey@redhat.com>
3242
3243         * target-delegates.c: Rebuild.
3244         * target.c (target_pass_signals): Unconditionally delegate.
3245         * target.h (struct target_ops) <to_pass_signals>: Use
3246         TARGET_DEFAULT_IGNORE.
3247
3248 2014-02-19  Tom Tromey  <tromey@redhat.com>
3249
3250         * target-delegates.c: Rebuild.
3251         * target.c (default_mourn_inferior): New function.
3252         (target_mourn_inferior): Unconditionally delegate.
3253         * target.h (struct target_ops) <to_mourn_inferior>: Use
3254         TARGET_DEFAULT_FUNC.
3255
3256 2014-02-19  Tom Tromey  <tromey@redhat.com>
3257
3258         * target-delegates.c: Rebuild.
3259         * target.c (default_follow_fork): New function.
3260         (target_follow_fork): Unconditionally delegate.
3261         * target.h (struct target_ops) <to_follow_fork>: Use
3262         TARGET_DEFAULT_FUNC.
3263
3264 2014-02-19  Tom Tromey  <tromey@redhat.com>
3265
3266         * target-delegates.c: Rebuild.
3267         * target.c (target_kill): Unconditionally delegate.
3268         * target.h (struct target_ops) <to_kill>: Use
3269         TARGET_DEFAULT_NORETURN.
3270
3271 2014-02-19  Tom Tromey  <tromey@redhat.com>
3272
3273         * target-delegates.c: Rebuild.
3274         * target.c (target_masked_watch_num_registers): Unconditionally
3275         delegate.
3276         * target.h (struct target_ops) <to_masked_watch_num_registers>:
3277         Use TARGET_DEFAULT_RETURN.
3278
3279 2014-02-19  Tom Tromey  <tromey@redhat.com>
3280
3281         * target-delegates.c: Rebuild.
3282         * target.c (target_remove_mask_watchpoint): Unconditionally
3283         delegate.
3284         * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
3285         TARGET_DEFAULT_RETURN.
3286
3287 2014-02-19  Tom Tromey  <tromey@redhat.com>
3288
3289         * target-delegates.c: Rebuild.
3290         * target.c (target_insert_mask_watchpoint): Unconditionally
3291         delegate.
3292         * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
3293         TARGET_DEFAULT_RETURN.
3294
3295 2014-02-19  Tom Tromey  <tromey@redhat.com>
3296
3297         * target-delegates.c: Rebuild.
3298         * target.c (target_ranged_break_num_registers): Unconditionally
3299         delegate.
3300         * target.h (struct target_ops) <to_ranged_break_num_registers>:
3301         Use TARGET_DEFAULT_RETURN.
3302
3303 2014-02-19  Tom Tromey  <tromey@redhat.com>
3304
3305         * target-delegates.c: Rebuild.
3306         * target.c (target_fetch_registers): Unconditionally delegate.
3307         * target.h (struct target_ops) <to_fetch_registers>: Use
3308         TARGET_DEFAULT_NORETURN.
3309
3310 2014-02-19  Tom Tromey  <tromey@redhat.com>
3311
3312         * target-delegates.c: Rebuild.
3313         * target.c (update_current_target): Don't inherit or default
3314         to_stop.
3315         * target.h (struct target_ops) <to_stop>: Use
3316         TARGET_DEFAULT_IGNORE.
3317
3318 2014-02-19  Tom Tromey  <tromey@redhat.com>
3319
3320         * target-delegates.c: Rebuild.
3321         * target.c (update_current_target): Don't inherit or default
3322         to_can_run_breakpoint_commands.
3323         * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
3324         Use TARGET_DEFAULT_RETURN.
3325
3326 2014-02-19  Tom Tromey  <tromey@redhat.com>
3327
3328         * target-delegates.c: Rebuild.
3329         * target.c (update_current_target): Don't inherit or default
3330         to_supports_evaluation_of_breakpoint_conditions.
3331         * target.h (struct target_ops)
3332         <to_supports_evaluation_of_breakpoint_conditions>: Use
3333         TARGET_DEFAULT_RETURN.
3334
3335 2014-02-19  Tom Tromey  <tromey@redhat.com>
3336
3337         * target-delegates.c: Rebuild.
3338         * target.c (update_current_target): Don't inherit or default
3339         to_augmented_libraries_svr4_read.
3340         * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
3341         Use TARGET_DEFAULT_RETURN.
3342
3343 2014-02-19  Tom Tromey  <tromey@redhat.com>
3344
3345         * target-delegates.c: Rebuild.
3346         * target.c (update_current_target): Don't inherit or default
3347         to_can_use_agent.
3348         * target.h (struct target_ops) <to_can_use_agent>: Use
3349         TARGET_DEFAULT_RETURN.
3350
3351 2014-02-19  Tom Tromey  <tromey@redhat.com>
3352
3353         * target-delegates.c: Rebuild.
3354         * target.c (update_current_target): Don't inherit or default
3355         to_use_agent.
3356         * target.h (struct target_ops) <to_use_agent>: Use
3357         TARGET_DEFAULT_NORETURN.
3358
3359 2014-02-19  Tom Tromey  <tromey@redhat.com>
3360
3361         * target-delegates.c: Rebuild.
3362         * target.c (update_current_target): Don't inherit or default
3363         to_traceframe_info.
3364         (return_null): Remove.
3365         * target.h (struct target_ops) <to_traceframe_info>: Use
3366         TARGET_DEFAULT_RETURN.
3367
3368 2014-02-19  Tom Tromey  <tromey@redhat.com>
3369
3370         * target-delegates.c: Rebuild.
3371         * target.c (update_current_target): Don't inherit or default
3372         to_static_tracepoint_markers_by_strid.
3373         * target.h (struct target_ops)
3374         <to_static_tracepoint_markers_by_strid>: Use
3375         TARGET_DEFAULT_NORETURN.
3376
3377 2014-02-19  Tom Tromey  <tromey@redhat.com>
3378
3379         * target-delegates.c: Rebuild.
3380         * target.c (update_current_target): Don't inherit or default
3381         to_static_tracepoint_marker_at.
3382         * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
3383         Use TARGET_DEFAULT_RETURN.
3384
3385 2014-02-19  Tom Tromey  <tromey@redhat.com>
3386
3387         * target-delegates.c: Rebuild.
3388         * target.c (update_current_target): Don't inherit or default
3389         to_set_permissions.
3390         * target.h (struct target_ops) <to_set_permissions>: Use
3391         TARGET_DEFAULT_IGNORE.
3392
3393 2014-02-19  Tom Tromey  <tromey@redhat.com>
3394
3395         * target-delegates.c: Rebuild.
3396         * target.c (update_current_target): Don't inherit or default
3397         to_get_tib_address.
3398         * target.h (struct target_ops) <to_get_tib_address>: Use
3399         TARGET_DEFAULT_NORETURN.
3400
3401 2014-02-19  Tom Tromey  <tromey@redhat.com>
3402
3403         * target-delegates.c: Rebuild.
3404         * target.c (update_current_target): Don't inherit or default
3405         to_set_trace_notes.
3406         * target.h (struct target_ops) <to_set_trace_notes>: Use
3407         TARGET_DEFAULT_RETURN.
3408
3409 2014-02-19  Tom Tromey  <tromey@redhat.com>
3410
3411         * target-delegates.c: Rebuild.
3412         * target.c (update_current_target): Don't initialize
3413         to_set_trace_buffer_size.
3414         * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
3415         TARGET_DEFAULT_IGNORE.
3416
3417 2014-02-19  Tom Tromey  <tromey@redhat.com>
3418
3419         * target-delegates.c: Rebuild.
3420         * target.c (update_current_target): Don't inherit or default
3421         to_set_circular_trace_buffer.
3422         * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
3423         TARGET_DEFAULT_IGNORE.
3424
3425 2014-02-19  Tom Tromey  <tromey@redhat.com>
3426
3427         * target-delegates.c: Rebuild.
3428         * target.c (update_current_target): Don't inherit or default
3429         to_set_disconnected_tracing.
3430         * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
3431         TARGET_DEFAULT_IGNORE.
3432
3433 2014-02-19  Tom Tromey  <tromey@redhat.com>
3434
3435         * target-delegates.c: Rebuild.
3436         * target.c (update_current_target): Don't inherit or default
3437         to_get_min_fast_tracepoint_insn_len.
3438         (return_minus_one): Remove.
3439         * target.h (struct target_ops)
3440         <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
3441
3442 2014-02-19  Tom Tromey  <tromey@redhat.com>
3443
3444         * target-delegates.c: Rebuild.
3445         * target.c (update_current_target): Don't inherit or default
3446         to_get_raw_trace_data.
3447         * target.h (struct target_ops) <to_get_raw_trace_data>: Use
3448         TARGET_DEFAULT_NORETURN.
3449
3450 2014-02-19  Tom Tromey  <tromey@redhat.com>
3451
3452         * target-delegates.c: Rebuild.
3453         * target.c (update_current_target): Don't inherit or default
3454         to_upload_trace_state_variables.
3455         * target.h (struct target_ops) <to_upload_trace_state_variables>:
3456         Use TARGET_DEFAULT_RETURN.
3457
3458 2014-02-19  Tom Tromey  <tromey@redhat.com>
3459
3460         * target-delegates.c: Rebuild.
3461         * target.c (update_current_target): Don't inherit or default
3462         to_upload_tracepoints.
3463         * target.h (struct target_ops) <to_upload_tracepoints>: Use
3464         TARGET_DEFAULT_RETURN.
3465
3466 2014-02-19  Tom Tromey  <tromey@redhat.com>
3467
3468         * target-delegates.c: Rebuild.
3469         * target.c (update_current_target): Don't inherit or default
3470         to_save_trace_data.
3471         * target.h (struct target_ops) <to_save_trace_data>: Use
3472         TARGET_DEFAULT_NORETURN.
3473
3474 2014-02-19  Tom Tromey  <tromey@redhat.com>
3475
3476         * target-delegates.c: Rebuild.
3477         * target.c (update_current_target): Don't inherit or default
3478         to_get_trace_state_variable_value.
3479         * target.h (struct target_ops)
3480         <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
3481
3482 2014-02-19  Tom Tromey  <tromey@redhat.com>
3483
3484         * target-delegates.c: Rebuild.
3485         * target.c (update_current_target): Don't inherit or default
3486         to_trace_find.
3487         * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
3488
3489 2014-02-19  Tom Tromey  <tromey@redhat.com>
3490
3491         * target-delegates.c: Rebuild.
3492         * target.c (update_current_target): Don't inherit or default
3493         to_trace_stop.
3494         * target.h (struct target_ops) <to_trace_stop>: Use
3495         TARGET_DEFAULT_NORETURN.
3496
3497 2014-02-19  Tom Tromey  <tromey@redhat.com>
3498
3499         * target-delegates.c: Rebuild.
3500         * target.c (update_current_target): Don't inherit or default
3501         to_get_tracepoint_status.
3502         * target.h (struct target_ops) <to_get_tracepoint_status>: Use
3503         TARGET_DEFAULT_NORETURN.
3504
3505 2014-02-19  Tom Tromey  <tromey@redhat.com>
3506
3507         * target-delegates.c: Rebuild.
3508         * target.c (update_current_target): Don't inherit or default
3509         to_get_trace_status.
3510         * target.h (struct target_ops) <to_get_trace_status>: Use
3511         TARGET_DEFAULT_RETURN.
3512
3513 2014-02-19  Tom Tromey  <tromey@redhat.com>
3514
3515         * target-delegates.c: Rebuild.
3516         * target.c (update_current_target): Don't inherit or default
3517         to_trace_start.
3518         * target.h (struct target_ops) <to_trace_start>: Use
3519         TARGET_DEFAULT_NORETURN.
3520
3521 2014-02-19  Tom Tromey  <tromey@redhat.com>
3522
3523         * target-delegates.c: Rebuild.
3524         * target.c (update_current_target): Don't inherit or default
3525         to_trace_set_readonly_regions.
3526         * target.h (struct target_ops) <to_trace_set_readonly_regions>:
3527         Use TARGET_DEFAULT_NORETURN.
3528
3529 2014-02-19  Tom Tromey  <tromey@redhat.com>
3530
3531         * target-delegates.c: Rebuild.
3532         * target.c (update_current_target): Don't inherit or default
3533         to_disable_tracepoint.
3534         * target.h (struct target_ops) <to_disable_tracepoint>: Use
3535         TARGET_DEFAULT_NORETURN.
3536
3537 2014-02-19  Tom Tromey  <tromey@redhat.com>
3538
3539         * target-delegates.c: Rebuild.
3540         * target.c (update_current_target): Don't inherit or default
3541         to_enable_tracepoint.
3542         * target.h (struct target_ops) <to_enable_tracepoint>: Use
3543         TARGET_DEFAULT_NORETURN.
3544
3545 2014-02-19  Tom Tromey  <tromey@redhat.com>
3546
3547         * target-delegates.c: Rebuild.
3548         * target.c (update_current_target): Don't inherit or default
3549         to_download_trace_state_variable.
3550         * target.h (struct target_ops) <to_download_trace_state_variable>:
3551         Use TARGET_DEFAULT_NORETURN.
3552
3553 2014-02-19  Tom Tromey  <tromey@redhat.com>
3554
3555         * target-delegates.c: Rebuild.
3556         * target.c (update_current_target): Don't inherit or default
3557         to_can_download_tracepoint.
3558         * target.h (struct target_ops) <to_can_download_tracepoint>: Use
3559         TARGET_DEFAULT_RETURN.
3560
3561 2014-02-19  Tom Tromey  <tromey@redhat.com>
3562
3563         * target-delegates.c: Rebuild.
3564         * target.c (update_current_target): Don't inherit or default
3565         to_download_tracepoint.
3566         * target.h (struct target_ops) <to_download_tracepoint>: Use
3567         TARGET_DEFAULT_NORETURN.
3568
3569 2014-02-19  Tom Tromey  <tromey@redhat.com>
3570
3571         * target-delegates.c: Rebuild.
3572         * target.c (update_current_target): Don't inherit or default
3573         to_trace_init.
3574         * target.h (struct target_ops) <to_trace_init>: Use
3575         TARGET_DEFAULT_RETURN.
3576
3577 2014-02-19  Tom Tromey  <tromey@redhat.com>
3578
3579         * target-delegates.c: Rebuild.
3580         * target.c (update_current_target): Don't inherit or default
3581         to_supports_string_tracing.
3582         * target.h (struct target_ops) <to_supports_string_tracing>: Use
3583         TARGET_DEFAULT_RETURN.
3584
3585 2014-02-19  Tom Tromey  <tromey@redhat.com>
3586
3587         * target-delegates.c: Rebuild.
3588         * target.c (update_current_target): Don't inherit or default
3589         to_supports_enable_disable_tracepoint.
3590         * target.h (struct target_ops)
3591         <to_supports_enable_disable_tracepoint>: Use
3592         TARGET_DEFAULT_RETURN.
3593
3594 2014-02-19  Tom Tromey  <tromey@redhat.com>
3595
3596         * target-delegates.c: Rebuild.
3597         * target.c (update_current_target): Don't inherit or default
3598         to_supports_multi_process.
3599         * target.h (struct target_ops) <to_supports_multi_process>: Use
3600         TARGET_DEFAULT_RETURN.
3601
3602 2014-02-19  Tom Tromey  <tromey@redhat.com>
3603
3604         * target-delegates.c: Rebuild.
3605         * target.c (update_current_target): Don't inherit or default
3606         to_get_ada_task_ptid.
3607         * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
3608         TARGET_DEFAULT_FUNC.
3609
3610 2014-02-19  Tom Tromey  <tromey@redhat.com>
3611
3612         * target-delegates.c: Rebuild.
3613         * target.c (update_current_target): Don't inherit or default
3614         to_thread_architecture.
3615         * target.h (struct target_ops) <to_thread_architecture>: Use
3616         TARGET_DEFAULT_FUNC.
3617
3618 2014-02-19  Tom Tromey  <tromey@redhat.com>
3619
3620         * target-delegates.c: Rebuild.
3621         * target.c (update_current_target): Don't inherit or default
3622         to_execution_direction.
3623         * target.h (struct target_ops) <to_execution_direction>: Use
3624         TARGET_DEFAULT_FUNC.
3625
3626 2014-02-19  Tom Tromey  <tromey@redhat.com>
3627
3628         * target-delegates.c: Rebuild.
3629         * target.c (update_current_target): Don't inherit or default
3630         to_can_execute_reverse.
3631         * target.h (struct target_ops) <to_can_execute_reverse>: Use
3632         TARGET_DEFAULT_RETURN.
3633         (target_can_execute_reverse): Unconditionally delegate.
3634
3635 2014-02-19  Tom Tromey  <tromey@redhat.com>
3636
3637         * target-delegates.c: Rebuild.
3638         * target.c (update_current_target): Don't inherit or default
3639         to_goto_bookmark.
3640         (dummy_goto_bookmark): Remove.
3641         (init_dummy_target): Don't inherit or default to_goto_bookmark.
3642         * target.h (struct target_ops) <to_goto_bookmark>: Use
3643         TARGET_DEFAULT_NORETURN.
3644
3645 2014-02-19  Tom Tromey  <tromey@redhat.com>
3646
3647         * target-delegates.c: Rebuild.
3648         * target.c (update_current_target): Don't inherit or default
3649         to_get_bookmark.
3650         (dummy_get_bookmark): Remove.
3651         (init_dummy_target): Don't inherit or default to_get_bookmark.
3652         * target.h (struct target_ops) <to_get_bookmark>: Use
3653         TARGET_DEFAULT_NORETURN
3654
3655 2014-02-19  Tom Tromey  <tromey@redhat.com>
3656
3657         * target-delegates.c: Rebuild.
3658         * target.c (update_current_target): Don't inherit or default
3659         to_make_corefile_notes.
3660         (init_dummy_target): Don't initialize to_make_corefile_notes.
3661         * target.h (struct target_ops) <to_make_corefile_notes>: Use
3662         TARGET_DEFAULT_FUNC.
3663
3664 2014-02-19  Tom Tromey  <tromey@redhat.com>
3665
3666         * target-delegates.c: Rebuild.
3667         * target.c (update_current_target): Don't inherit or default
3668         to_find_memory_regions.
3669         (init_dummy_target): Don't initialize to_find_memory_regions.
3670         * target.h (struct target_ops) <to_find_memory_regions>: Use
3671         TARGET_DEFAULT_FUNC.
3672
3673 2014-02-19  Tom Tromey  <tromey@redhat.com>
3674
3675         * target-delegates.c: Rebuild.
3676         * target.c (update_current_target): Don't inherit or default
3677         to_log_command.
3678         * target.h (struct target_ops) <to_log_command>: Use
3679         TARGET_DEFAULT_IGNORE.
3680         (target_log_command): Unconditionally delegate.
3681
3682 2014-02-19  Tom Tromey  <tromey@redhat.com>
3683
3684         * target-delegates.c: Rebuild.
3685         * target.c (update_current_target): Don't inherit or default
3686         to_pid_to_exec_file.
3687         * target.h (struct target_ops) <to_pid_to_exec_file>: Use
3688         TARGET_DEFAULT_RETURN.
3689
3690 2014-02-19  Tom Tromey  <tromey@redhat.com>
3691
3692         * target-delegates.c: Rebuild.
3693         * target.c (update_current_target): Don't inherit or default
3694         to_thread_name.
3695         (target_thread_name): Unconditionally delegate.
3696         * target.h (struct target_ops) <to_thread_name>: Use
3697         TARGET_DEFAULT_RETURN.
3698
3699 2014-02-19  Tom Tromey  <tromey@redhat.com>
3700
3701         * target-delegates.c: Rebuild.
3702         * target.c (update_current_target): Don't inherit or default
3703         to_extra_thread_info.
3704         * target.h (struct target_ops) <to_extra_thread_info>: Use
3705         TARGET_DEFAULT_RETURN.
3706
3707 2014-02-19  Tom Tromey  <tromey@redhat.com>
3708
3709         * target-delegates.c: Rebuild.
3710         * target.c (update_current_target): Don't inherit or default
3711         to_has_exited.
3712         * target.h (struct target_ops) <to_has_exited>: Use
3713         TARGET_DEFAULT_RETURN..
3714
3715 2014-02-19  Tom Tromey  <tromey@redhat.com>
3716
3717         * target-delegates.c: Rebuild.
3718         * target.c (update_current_target): Don't inherit or default
3719         to_set_syscall_catchpoint.
3720         (return_one): Remove.
3721         * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
3722         TARGET_DEFAULT_RETURN.
3723
3724 2014-02-19  Tom Tromey  <tromey@redhat.com>
3725
3726         * target-delegates.c: Rebuild.
3727         * target.c (update_current_target): Don't inherit or default
3728         to_insert_exec_catchpoint.
3729         * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
3730         TARGET_DEFAULT_RETURN.
3731
3732 2014-01-08  Tom Tromey  <tromey@redhat.com>
3733
3734         * target-delegates.c: Rebuild.
3735         * target.c (update_current_target): Don't inherit or default
3736         to_insert_exec_catchpoint.
3737         * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
3738         TARGET_DEFAULT_RETURN.
3739
3740 2014-02-19  Tom Tromey  <tromey@redhat.com>
3741
3742         * target-delegates.c: Rebuild.
3743         * target.c (update_current_target): Don't inherit or default
3744         to_remove_vfork_catchpoint.
3745         * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
3746         TARGET_DEFAULT_RETURN.
3747
3748 2014-02-19  Tom Tromey  <tromey@redhat.com>
3749
3750         * target-delegates.c: Rebuild.
3751         * target.c (update_current_target): Don't inherit or default
3752         to_insert_vfork_catchpoint.
3753         * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
3754         TARGET_DEFAULT_RETURN.
3755
3756 2014-02-19  Tom Tromey  <tromey@redhat.com>
3757
3758         * target-delegates.c: Rebuild.
3759         * target.c (update_current_target): Don't inherit or default
3760         to_remove_fork_catchpoint.
3761         * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
3762         TARGET_DEFAULT_RETURN.
3763
3764 2014-02-19  Tom Tromey  <tromey@redhat.com>
3765
3766         * target-delegates.c: Rebuild.
3767         * target.c (update_current_target): Don't inherit or default
3768         to_insert_fork_catchpoint.
3769         * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
3770         TARGET_DEFAULT_RETURN.
3771
3772 2014-02-19  Tom Tromey  <tromey@redhat.com>
3773
3774         * target-delegates.c: Rebuild.
3775         * target.c (update_current_target): Don't inherit or default
3776         to_post_startup_inferior.
3777         * target.h (struct target_ops) <to_post_startup_inferior>: Use
3778         TARGET_DEFAULT_IGNORE.
3779
3780 2014-02-19  Tom Tromey  <tromey@redhat.com>
3781
3782         * target-delegates.c: Rebuild.
3783         * target.c (update_current_target): Don't inherit or default
3784         to_load.
3785         * target.h (struct target_ops) <to_load>: Use
3786         TARGET_DEFAULT_NORETURN.
3787
3788 2014-02-19  Tom Tromey  <tromey@redhat.com>
3789
3790         * target-delegates.c: Rebuild.
3791         * target.c (update_current_target): Don't inherit or default
3792         to_terminal_info.
3793         * target.h (struct target_ops) <to_terminal_info>: Use
3794         TARGET_DEFAULT_FUNC.
3795
3796 2014-02-19  Tom Tromey  <tromey@redhat.com>
3797
3798         * target-delegates.c: Rebuild.
3799         * target.c (update_current_target): Don't inherit or default
3800         to_terminal_save_ours.
3801         * target.h (struct target_ops) <to_terminal_save_ours>: Use
3802         TARGET_DEFAULT_IGNORE.
3803
3804 2014-02-19  Tom Tromey  <tromey@redhat.com>
3805
3806         * target-delegates.c: Rebuild.
3807         * target.c (update_current_target): Don't inherit or default
3808         to_terminal_ours.
3809         * target.h (struct target_ops) <to_terminal_ours>: Use
3810         TARGET_DEFAULT_IGNORE.
3811
3812 2014-02-19  Tom Tromey  <tromey@redhat.com>
3813
3814         * target-delegates.c: Rebuild.
3815         * target.c (update_current_target): Don't inherit or default
3816         to_terminal_ours_for_output.
3817         * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
3818         TARGET_DEFAULT_IGNORE.
3819
3820 2014-02-19  Tom Tromey  <tromey@redhat.com>
3821
3822         * target-delegates.c: Rebuild.
3823         * target.c (update_current_target): Don't inherit or default
3824         to_terminal_inferior.
3825         * target.h (struct target_ops) <to_terminal_inferior>: Use
3826         TARGET_DEFAULT_IGNORE.
3827
3828 2014-02-19  Tom Tromey  <tromey@redhat.com>
3829
3830         * target-delegates.c: Rebuild.
3831         * target.c (update_current_target): Don't inherit or default
3832         to_terminal_init.
3833         * target.h (struct target_ops) <to_terminal_init>: Use
3834         TARGET_DEFAULT_IGNORE.
3835
3836 2014-02-19  Tom Tromey  <tromey@redhat.com>
3837
3838         * target-delegates.c: Rebuild.
3839         * target.c (update_current_target): Don't inherit or default
3840         to_can_accel_watchpoint_condition.
3841         * target.h (struct target_ops)
3842         <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
3843
3844 2014-02-19  Tom Tromey  <tromey@redhat.com>
3845
3846         * target-delegates.c: Rebuild.
3847         * target.c (update_current_target): Don't inherit or default
3848         to_region_ok_for_hw_watchpoint.
3849         * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
3850         Use TARGET_DEFAULT_FUNC.
3851
3852 2014-02-19  Tom Tromey  <tromey@redhat.com>
3853
3854         * target-delegates.c: Rebuild.
3855         * target.c (update_current_target): Don't inherit or default
3856         to_watchpoint_addr_within_range.
3857         * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
3858         Use TARGET_DEFAULT_FUNC.
3859
3860 2014-02-19  Tom Tromey  <tromey@redhat.com>
3861
3862         * target-delegates.c: Rebuild.
3863         * target.c (update_current_target): Don't inherit or default
3864         to_remove_watchpoint.
3865         * target.h (struct target_ops) <to_remove_watchpoint>: Use
3866         TARGET_DEFAULT_NORETURN.
3867
3868 2014-02-19  Tom Tromey  <tromey@redhat.com>
3869
3870         * target-delegates.c: Rebuild.
3871         * target.c (update_current_target): Don't inherit or default
3872         to_insert_watchpoint.
3873         * target.h (struct target_ops) <to_insert_watchpoint>: Use
3874         TARGET_DEFAULT_RETURN.
3875
3876 2014-02-19  Tom Tromey  <tromey@redhat.com>
3877
3878         * target-delegates.c: Rebuild.
3879         * target.c (update_current_target): Don't inherit or default
3880         to_remove_hw_breakpoint.
3881         * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
3882         TARGET_DEFAULT_RETURN.
3883
3884 2014-02-19  Tom Tromey  <tromey@redhat.com>
3885
3886         * target-delegates.c: Rebuild.
3887         * target.c (update_current_target): Don't inherit or default
3888         to_insert_hw_breakpoint.
3889         * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
3890         TARGET_DEFAULT_RETURN.
3891
3892 2014-02-19  Tom Tromey  <tromey@redhat.com>
3893
3894         * target-delegates.c: Rebuild.
3895         * target.c (update_current_target): Don't inherit or default
3896         to_can_use_hw_breakpoint.
3897         * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
3898         TARGET_DEFAULT_RETURN.
3899
3900 2014-02-19  Tom Tromey  <tromey@redhat.com>
3901
3902         * target-delegates.c: Rebuild.
3903         * target.c (update_current_target): Don't inherit or default
3904         to_files_info.
3905         * target.h (struct target_ops) <to_files_info>: Use
3906         TARGET_DEFAULT_IGNORE.
3907
3908 2014-02-19  Tom Tromey  <tromey@redhat.com>
3909
3910         * target-delegates.c: Rebuild.
3911         * target.c (update_current_target): Don't inherit or default
3912         to_store.
3913         * target.h (struct target_ops) <to_store>: Use
3914         TARGET_DEFAULT_NORETURN.
3915
3916 2014-02-19  Tom Tromey  <tromey@redhat.com>
3917
3918         * target-delegates.c: Rebuild.
3919         * target.c (update_current_target): Don't inherit or default
3920         to_post_attach.
3921         * target.h (struct target_ops) <to_post_attach>: Use
3922         TARGET_DEFAULT_IGNORE.
3923
3924 2014-02-19  Tom Tromey  <tromey@redhat.com>
3925
3926         * target-delegates.c: Rebuild.
3927         * target.c (update_current_target): Don't inherit or default
3928         to_rcmd.
3929         (default_rcmd): New function.
3930         (do_monitor_command): Unconditionally delegate.
3931         * target.h (struct target_ops) <to_rmcd>: Use
3932         TARGET_DEFAULT_FUNC.
3933
3934 2014-02-19  Tom Tromey  <tromey@redhat.com>
3935
3936         * target-delegates.c: Rebuild.
3937         * target.c (init_dummy_target): Don't initialize to_attach.
3938         (target_attach): Unconditionally delegate.
3939         * target.h (struct target_ops) <to_attach>: Use
3940         TARGET_DEFAULT_FUNC.
3941
3942 2014-02-19  Tom Tromey  <tromey@redhat.com>
3943
3944         * target-delegates.c: Rebuild.
3945         * target.c (target_detach): Unconditionally delegate.
3946         (init_dummy_target): Don't initialize to_detach.
3947         * target.h (struct target_ops) <to_detach>: Use
3948         TARGET_DEFAULT_IGNORE.
3949
3950 2014-02-19  Tom Tromey  <tromey@redhat.com>
3951
3952         * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
3953         Add argument.
3954         (target_augmented_libraries_svr4_read): Add argument.
3955         * target.c (update_current_target): Update.
3956         * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
3957         argument.
3958
3959 2014-02-19  Tom Tromey  <tromey@redhat.com>
3960
3961         * target.h (struct target_ops) <to_call_history_range>: Add
3962         argument.
3963         * target.c (target_call_history_range): Add argument.
3964         * record-btrace.c (record_btrace_call_history_range): Add 'self'
3965         argument.
3966         (record_btrace_call_history_from): Update.
3967
3968 2014-02-19  Tom Tromey  <tromey@redhat.com>
3969
3970         * target.h (struct target_ops) <to_call_history_from>: Add
3971         argument.
3972         * target.c (target_call_history_from): Add argument.
3973         * record-btrace.c (record_btrace_call_history_from): Add 'self'
3974         argument.
3975
3976 2014-02-19  Tom Tromey  <tromey@redhat.com>
3977
3978         * target.h (struct target_ops) <to_call_history>: Add argument.
3979         * target.c (target_call_history): Add argument.
3980         * record-btrace.c (record_btrace_call_history): Add 'self'
3981         argument.
3982
3983 2014-02-19  Tom Tromey  <tromey@redhat.com>
3984
3985         * target.h (struct target_ops) <to_insn_history_range>: Add
3986         argument.
3987         * target.c (target_insn_history_range): Add argument.
3988         * record-btrace.c (record_btrace_insn_history_range): Add 'self'
3989         argument.
3990         (record_btrace_insn_history_from): Update.
3991
3992 2014-02-19  Tom Tromey  <tromey@redhat.com>
3993
3994         * target.h (struct target_ops) <to_insn_history_from>: Add
3995         argument.
3996         * target.c (target_insn_history_from): Add argument.
3997         * record-btrace.c (record_btrace_insn_history_from): Add 'self'
3998         argument.
3999
4000 2014-02-19  Tom Tromey  <tromey@redhat.com>
4001
4002         * target.h (struct target_ops) <to_insn_history>: Add argument.
4003         * target.c (target_insn_history): Add argument.
4004         * record-btrace.c (record_btrace_insn_history): Add 'self'
4005         argument.
4006
4007 2014-02-19  Tom Tromey  <tromey@redhat.com>
4008
4009         * target.h (struct target_ops) <to_goto_record>: Add argument.
4010         * target.c (target_goto_record): Add argument.
4011         * record-full.c (record_full_goto): Add 'self' argument.
4012         * record-btrace.c (record_btrace_goto): Add 'self' argument.
4013
4014 2014-02-19  Tom Tromey  <tromey@redhat.com>
4015
4016         * target.h (struct target_ops) <to_goto_record_end>: Add argument.
4017         * target.c (target_goto_record_end): Add argument.
4018         * record-full.c (record_full_goto_end): Add 'self' argument.
4019         * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
4020
4021 2014-02-19  Tom Tromey  <tromey@redhat.com>
4022
4023         * target.h (struct target_ops) <to_goto_record_begin>: Add
4024         argument.
4025         * target.c (target_goto_record_begin): Add argument.
4026         * record-full.c (record_full_goto_begin): Add 'self' argument.
4027         * record-btrace.c (record_btrace_goto_begin): Add 'self'
4028         argument.
4029
4030 2014-02-19  Tom Tromey  <tromey@redhat.com>
4031
4032         * target.h (struct target_ops) <to_record_is_replaying>: Add
4033         argument.
4034         * target.c (target_record_is_replaying): Add argument.
4035         * record-full.c (record_full_is_replaying): Add 'self' argument.
4036         * record-btrace.c (record_btrace_is_replaying): Add 'self'
4037         argument.
4038         (record_btrace_xfer_partial, record_btrace_store_registers)
4039         (record_btrace_prepare_to_store, record_btrace_resume)
4040         (record_btrace_wait, record_btrace_decr_pc_after_break)
4041         (record_btrace_find_new_threads, record_btrace_thread_alive):
4042         Update.
4043
4044 2014-02-19  Tom Tromey  <tromey@redhat.com>
4045
4046         * target.h (struct target_ops) <to_delete_record>: Add argument.
4047         * target.c (target_delete_record): Add argument.
4048         * record-full.c (record_full_delete): Add 'self' argument.
4049
4050 2014-02-19  Tom Tromey  <tromey@redhat.com>
4051
4052         * target.h (struct target_ops) <to_save_record>: Add argument.
4053         * target.c (target_save_record): Add argument.
4054         * record-full.c (record_full_save): Add 'self' argument.
4055         (record_full_save): Add 'self' argument.
4056
4057 2014-02-19  Tom Tromey  <tromey@redhat.com>
4058
4059         * target.h (struct target_ops) <to_info_record>: Add argument.
4060         * target.c (target_info_record): Add argument.
4061         * record.c (info_record_command): Add argument.
4062         * record-full.c (record_full_info): Add 'self' argument.
4063         * record-btrace.c (record_btrace_info): Add 'self' argument.
4064
4065 2014-02-19  Tom Tromey  <tromey@redhat.com>
4066
4067         * target.h (struct target_ops) <to_stop_recording>: Add argument.
4068         * target.c (target_stop_recording): Add argument.
4069         * record.c (record_stop): Add argument.
4070         * record-btrace.c (record_btrace_stop_recording): Add 'self'
4071         argument.
4072
4073 2014-02-19  Tom Tromey  <tromey@redhat.com>
4074
4075         * target.h (struct target_ops) <to_read_btrace>: Add argument.
4076         * target.c (struct target_ops) <to_read_btrace>: Add argument.
4077         * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
4078         argument.
4079         * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
4080         (_initialize_amd64_linux_nat): Use it.
4081         * i386-linux-nat.c (i386_linux_read_btrace): New function.
4082         (_initialize_i386_linux_nat): Use it.
4083
4084 2014-02-19  Tom Tromey  <tromey@redhat.com>
4085
4086         * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
4087         * target.c (target_teardown_btrace): Add argument.
4088         * remote.c (remote_teardown_btrace): Add 'self' argument.
4089         * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
4090         argument.
4091         * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
4092         argument.
4093
4094 2014-02-19  Tom Tromey  <tromey@redhat.com>
4095
4096         * target.h (struct target_ops) <to_disable_btrace>: Add argument.
4097         * target.c (target_disable_btrace): Add argument.
4098         * remote.c (remote_disable_btrace): Add 'self' argument.
4099         * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
4100         argument.
4101         * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
4102         argument.
4103
4104 2014-02-19  Tom Tromey  <tromey@redhat.com>
4105
4106         * target.h (struct target_ops) <to_enable_btrace>: Add argument.
4107         * target.c (target_enable_btrace): Add argument.
4108         * remote.c (remote_enable_btrace): Add 'self' argument.
4109         * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
4110         argument.
4111         * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
4112         argument.
4113
4114 2014-02-19  Tom Tromey  <tromey@redhat.com>
4115
4116         * target.h (struct target_ops) <to_can_use_agent>: Add argument.
4117         (target_can_use_agent): Add argument.
4118         * target.c (update_current_target): Update.
4119         * remote.c (remote_can_use_agent): Add 'self' argument.
4120         * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
4121
4122 2014-02-19  Tom Tromey  <tromey@redhat.com>
4123
4124         * target.h (struct target_ops) <to_use_agent>: Add argument.
4125         (target_use_agent): Add argument.
4126         * target.c (update_current_target): Update.
4127         * remote.c (remote_use_agent): Add 'self' argument.
4128         * inf-child.c (inf_child_use_agent): Add 'self' argument.
4129
4130 2014-02-19  Tom Tromey  <tromey@redhat.com>
4131
4132         * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
4133         * target.h (struct target_ops) <to_traceframe_info>: Add argument.
4134         (target_traceframe_info): Add argument.
4135         * target.c (update_current_target): Update.
4136         * remote.c (remote_traceframe_info): Add 'self' argument.
4137         * ctf.c (ctf_traceframe_info): Add 'self' argument.
4138
4139 2014-02-19  Tom Tromey  <tromey@redhat.com>
4140
4141         * target.h (target_static_tracepoint_markers_by_strid): Add
4142         argument.
4143         (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
4144         'self' argument.
4145         * target.c (update_current_target): Update.
4146         * remote.c (struct target_ops)
4147         <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
4148         * linux-nat.c (struct target_ops)
4149         <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
4150
4151 2014-02-19  Tom Tromey  <tromey@redhat.com>
4152
4153         * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
4154         Add argument.
4155         (target_static_tracepoint_marker_at): Add argument.
4156         * target.c (update_current_target): Update.
4157         * remote.c (remote_static_tracepoint_marker_at): Add 'self'
4158         argument.
4159
4160 2014-02-19  Tom Tromey  <tromey@redhat.com>
4161
4162         * target.h (struct target_ops) <to_set_permissions>: Add argument.
4163         (target_set_permissions): Add argument.
4164         * target.c (update_current_target): Update.
4165         * remote.c (remote_set_permissions): Add 'self' argument.
4166         (remote_start_remote): Update.
4167
4168 2014-02-19  Tom Tromey  <tromey@redhat.com>
4169
4170         * windows-nat.c (windows_get_tib_address): Add 'self' argument.
4171         * target.h (struct target_ops) <to_get_tib_address>: Add argument.
4172         (target_get_tib_address): Add argument.
4173         * target.c (update_current_target): Update.
4174         * remote.c (remote_get_tib_address): Add 'self' argument.
4175
4176 2014-02-19  Tom Tromey  <tromey@redhat.com>
4177
4178         * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
4179         (target_set_trace_notes): Add argument.
4180         * target.c (update_current_target): Update.
4181         * remote.c (remote_set_trace_notes): Add 'self' argument.
4182
4183 2014-02-19  Tom Tromey  <tromey@redhat.com>
4184
4185         * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
4186         argument.
4187         (target_set_trace_buffer_size): Add argument.
4188         * target.c (update_current_target): Update.
4189         * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
4190
4191 2014-02-19  Tom Tromey  <tromey@redhat.com>
4192
4193         * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
4194         argument.
4195         (target_set_circular_trace_buffer): Add argument.
4196         * target.c (update_current_target): Update.
4197         * remote.c (remote_set_circular_trace_buffer): Add 'self'
4198         argument.
4199
4200 2014-02-19  Tom Tromey  <tromey@redhat.com>
4201
4202         * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
4203         argument.
4204         (target_set_disconnected_tracing): Add argument.
4205         * target.c (update_current_target): Update.
4206         * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
4207
4208 2014-02-19  Tom Tromey  <tromey@redhat.com>
4209
4210         * target.h (struct target_ops)
4211         <to_get_min_fast_tracepoint_insn_len>: Add argument.
4212         (target_get_min_fast_tracepoint_insn_len): Add argument.
4213         * target.c (update_current_target): Update.
4214         * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
4215         argument.
4216
4217 2014-02-19  Tom Tromey  <tromey@redhat.com>
4218
4219         * target.h (struct target_ops) <to_get_raw_trace_data>: Add
4220         argument.
4221         (target_get_raw_trace_data): Add argument.
4222         * target.c (update_current_target): Update.
4223         * remote.c (remote_get_raw_trace_data): Add 'self' argument.
4224
4225 2014-02-19  Tom Tromey  <tromey@redhat.com>
4226
4227         * target.h (struct target_ops) <to_upload_trace_state_variables>:
4228         Add argument.
4229         (target_upload_trace_state_variables): Add argument.
4230         * target.c (update_current_target): Update.
4231         * remote.c (remote_upload_trace_state_variables): Add 'self'
4232         argument.
4233         (remote_start_remote): Update.
4234
4235 2014-02-19  Tom Tromey  <tromey@redhat.com>
4236
4237         * target.h (struct target_ops) <to_upload_tracepoints>: Add
4238         argument.
4239         (target_upload_tracepoints): Add argument.
4240         * target.c (update_current_target): Update.
4241         * remote.c (remote_upload_tracepoints): Add 'self' argument.
4242         (remote_start_remote): Update.
4243
4244 2014-02-19  Tom Tromey  <tromey@redhat.com>
4245
4246         * target.h (struct target_ops) <to_save_trace_data>: Add argument.
4247         (target_save_trace_data): Add argument.
4248         * target.c (update_current_target): Update.
4249         * remote.c (remote_save_trace_data): Add 'self' argument.
4250
4251 2014-02-19  Tom Tromey  <tromey@redhat.com>
4252
4253         * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
4254         argument.
4255         * target.h (struct target_ops)
4256         <to_get_trace_state_variable_value>: Add argument.
4257         (target_get_trace_state_variable_value): Add argument.
4258         * target.c (update_current_target): Update.
4259         * remote.c (remote_get_trace_state_variable_value): Add 'self'
4260         argument.
4261         * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
4262
4263 2014-02-19  Tom Tromey  <tromey@redhat.com>
4264
4265         * tracepoint.c (tfile_trace_find): Add 'self' argument.
4266         * target.h (struct target_ops) <to_trace_find>: Add argument.
4267         (target_trace_find): Add argument.
4268         * target.c (update_current_target): Update.
4269         * remote.c (remote_trace_find): Add 'self' argument.
4270         * ctf.c (ctf_trace_find): Add 'self' argument.
4271
4272 2014-02-19  Tom Tromey  <tromey@redhat.com>
4273
4274         * target.h (struct target_ops) <to_trace_stop>: Add argument.
4275         (target_trace_stop): Add argument.
4276         * target.c (update_current_target): Update.
4277         * remote.c (remote_trace_stop): Add 'self' argument.
4278
4279 2014-02-19  Tom Tromey  <tromey@redhat.com>
4280
4281         * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
4282         * target.h (struct target_ops) <to_get_tracepoint_status>: Add
4283         argument.
4284         (target_get_tracepoint_status): Add argument.
4285         * target.c (update_current_target): Update.
4286         * remote.c (remote_get_tracepoint_status): Add 'self' argument.
4287
4288 2014-02-19  Tom Tromey  <tromey@redhat.com>
4289
4290         * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
4291         * target.h (struct target_ops) <to_get_trace_status>: Add
4292         argument.
4293         (target_get_trace_status): Add argument.
4294         * target.c (update_current_target): Update.
4295         * remote.c (remote_get_trace_status): Add 'self' argument.
4296         (remote_start_remote, remote_can_download_tracepoint): Update.
4297         * ctf.c (ctf_get_trace_status): Add 'self' argument.
4298
4299 2014-02-19  Tom Tromey  <tromey@redhat.com>
4300
4301         * target.h (struct target_ops) <to_trace_start>: Add argument.
4302         (target_trace_start): Add argument.
4303         * target.c (update_current_target): Update.
4304         * remote.c (remote_trace_start): Add 'self' argument.
4305
4306 2014-02-19  Tom Tromey  <tromey@redhat.com>
4307
4308         * target.h (struct target_ops) <to_trace_set_readonly_regions>:
4309         Add argument.
4310         (target_trace_set_readonly_regions): Add argument.
4311         * target.c (update_current_target): Update.
4312         * remote.c (remote_trace_set_readonly_regions): Add 'self'
4313         argument.
4314
4315 2014-02-19  Tom Tromey  <tromey@redhat.com>
4316
4317         * target.h (struct target_ops) <to_disable_tracepoint>: Add
4318         argument.
4319         (target_disable_tracepoint): Add argument.
4320         * target.c (update_current_target): Update.
4321         * remote.c (remote_disable_tracepoint): Add 'self' argument.
4322
4323 2014-02-19  Tom Tromey  <tromey@redhat.com>
4324
4325         * target.h (struct target_ops) <to_enable_tracepoint>: Add
4326         argument.
4327         (target_enable_tracepoint): Add argument.
4328         * target.c (update_current_target): Update.
4329         * remote.c (remote_enable_tracepoint): Add 'self' argument.
4330
4331 2014-02-19  Tom Tromey  <tromey@redhat.com>
4332
4333         * target.h (struct target_ops) <to_download_trace_state_variable>:
4334         Add argument.
4335         (target_download_trace_state_variable): Add argument.
4336         * target.c (update_current_target): Update.
4337         * remote.c (remote_download_trace_state_variable): Add 'self'
4338         argument.
4339
4340 2014-02-19  Tom Tromey  <tromey@redhat.com>
4341
4342         * target.h (struct target_ops) <to_can_download_tracepoint>: Add
4343         argument.
4344         (target_can_download_tracepoint): Add argument.
4345         * target.c (update_current_target): Update.
4346         * remote.c (remote_can_download_tracepoint): Add 'self' argument.
4347
4348 2014-02-19  Tom Tromey  <tromey@redhat.com>
4349
4350         * target.h (struct target_ops) <to_download_tracepoint>: Add
4351         argument.
4352         (target_download_tracepoint): Add argument.
4353         * target.c (update_current_target): Update.
4354         * remote.c (remote_download_tracepoint): Add 'self' argument.
4355
4356 2014-02-19  Tom Tromey  <tromey@redhat.com>
4357
4358         * target.h (struct target_ops) <to_trace_init>: Add argument.
4359         (target_trace_init): Add argument.
4360         * target.c (update_current_target): Update.
4361         * remote.c (remote_trace_init): Add 'self' argument.
4362
4363 2014-02-19  Tom Tromey  <tromey@redhat.com>
4364
4365         * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
4366         * target.c (target_fileio_readlink): Add argument.
4367         * remote.c (remote_hostio_readlink): Add 'self' argument.
4368         * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
4369
4370 2014-02-19  Tom Tromey  <tromey@redhat.com>
4371
4372         * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
4373         * target.c (target_fileio_unlink): Add argument.
4374         * remote.c (remote_hostio_unlink): Add 'self' argument.
4375         (remote_file_delete): Update.
4376         * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
4377
4378 2014-02-19  Tom Tromey  <tromey@redhat.com>
4379
4380         * target.h (struct target_ops) <to_fileio_close>: Add argument.
4381         * target.c (target_fileio_close): Add argument.
4382         * remote.c (remote_hostio_close): Add 'self' argument.
4383         (remote_hostio_close_cleanup): Update.
4384         (remote_bfd_iovec_close, remote_file_put, remote_file_get):
4385         Update.
4386         * inf-child.c (inf_child_fileio_close): Add 'self' argument.
4387
4388 2014-02-19  Tom Tromey  <tromey@redhat.com>
4389
4390         * target.h (struct target_ops) <to_fileio_pread>: Add argument.
4391         * target.c (target_fileio_pread): Add argument.
4392         * remote.c (remote_hostio_pread): Add 'self' argument.
4393         (remote_bfd_iovec_pread, remote_file_get): Update.
4394         * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
4395
4396 2014-02-19  Tom Tromey  <tromey@redhat.com>
4397
4398         * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
4399         * target.c (target_fileio_pwrite): Add argument.
4400         * remote.c (remote_hostio_pwrite): Add 'self' argument.
4401         (remote_file_put): Update.
4402         * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
4403
4404 2014-02-19  Tom Tromey  <tromey@redhat.com>
4405
4406         * target.h (struct target_ops) <to_fileio_open>: Add argument.
4407         * target.c (target_fileio_open): Add argument.
4408         * remote.c (remote_hostio_open): Add 'self' argument.
4409         (remote_bfd_iovec_open): Add 'self' argument.
4410         (remote_file_put): Add 'self' argument.
4411         (remote_file_get): Add 'self' argument.
4412         * inf-child.c (inf_child_fileio_open): Add 'self' argument.
4413
4414 2014-02-19  Tom Tromey  <tromey@redhat.com>
4415
4416         * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
4417         Add argument.
4418         (target_can_run_breakpoint_commands): Add argument.
4419         * target.c (update_current_target): Update.
4420         * remote.c (remote_can_run_breakpoint_commands): Add 'self'
4421         argument.
4422         (remote_insert_breakpoint): Add 'self' argument.
4423         (remote_insert_hw_breakpoint): Add 'self' argument.
4424         (remote_can_run_breakpoint_commands): Add 'self' argument.
4425
4426 2014-02-19  Tom Tromey  <tromey@redhat.com>
4427
4428         * target.h (struct target_ops)
4429         <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
4430         (target_supports_evaluation_of_breakpoint_conditions): Add
4431         argument.
4432         * target.c (update_current_target): Update.
4433         * remote.c (remote_supports_cond_breakpoints): Add 'self'
4434         argument.
4435         (remote_insert_breakpoint): Add 'self' argument.
4436         (remote_insert_hw_breakpoint): Add 'self' argument.
4437         (remote_supports_cond_breakpoints): Add 'self' argument.
4438
4439 2014-02-19  Tom Tromey  <tromey@redhat.com>
4440
4441         * target.h (struct target_ops) <to_supports_string_tracing>: Add
4442         argument.
4443         (target_supports_string_tracing): Add argument.
4444         * target.c (update_current_target): Update.
4445         * remote.c (remote_supports_string_tracing): Add 'self' argument.
4446
4447 2014-02-19  Tom Tromey  <tromey@redhat.com>
4448
4449         * target.h (struct target_ops)
4450         <to_supports_disable_randomization>: Add argument.
4451         * target.c (find_default_supports_disable_randomization): Add
4452         argument.
4453         (target_supports_disable_randomization): Add argument.
4454         (find_default_supports_disable_randomization): Add 'self'
4455         argument.
4456         * remote.c (extended_remote_supports_disable_randomization): Add
4457         'self' argument.
4458         (remote_supports_disable_randomization): Add 'self' argument.
4459         (extended_remote_create_inferior): Update.
4460         * linux-nat.c (linux_nat_supports_disable_randomization): Add
4461         'self' argument.
4462
4463 2014-02-19  Tom Tromey  <tromey@redhat.com>
4464
4465         * target.h (struct target_ops)
4466         <to_supports_enable_disable_tracepoint>: Add argument.
4467         (target_supports_enable_disable_tracepoint): Add argument.
4468         * target.c (update_current_target): Update.
4469         * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
4470         argument.
4471
4472 2014-02-19  Tom Tromey  <tromey@redhat.com>
4473
4474         * target.h (struct target_ops) <to_supports_multi_process>: Add
4475         argument.
4476         (target_supports_multi_process): Add argument.
4477         * target.c (update_current_target): Update.
4478         * remote.c (remote_supports_multi_process): Add 'self' argument.
4479         * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
4480         argument.
4481         * darwin-nat.c (darwin_supports_multi_process): Add 'self'
4482         argument.
4483
4484 2014-02-19  Tom Tromey  <tromey@redhat.com>
4485
4486         * target.h (struct target_ops) <to_execution_direction>: Add
4487         argument.
4488         (target_execution_direction): Add argument.
4489         * target.c (default_execution_direction): Add 'self' argument.
4490         * record-full.c (record_full_execution_direction): Add 'self'
4491         argument.
4492
4493 2014-02-19  Tom Tromey  <tromey@redhat.com>
4494
4495         * target.h (struct target_ops) <to_can_execute_reverse>: Add
4496         argument.
4497         (target_can_execute_reverse): Add argument.
4498         * remote.c (remote_can_execute_reverse): Add 'self' argument.
4499         * record-full.c (record_full_can_execute_reverse): Add 'self'
4500         argument.
4501         * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
4502         argument.
4503
4504 2014-02-19  Tom Tromey  <tromey@redhat.com>
4505
4506         * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
4507         * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
4508         argument.
4509         (target_get_ada_task_ptid): Add argument.
4510         * target.c (update_current_target): Update.
4511         (default_get_ada_task_ptid): Add 'self' argument.
4512         * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
4513         * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
4514         * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
4515         argument.
4516         * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
4517         argument.
4518         * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
4519         argument.
4520         * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
4521         argument.
4522         * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
4523         * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
4524         argument.
4525
4526 2014-02-19  Tom Tromey  <tromey@redhat.com>
4527
4528         * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
4529         (target_goto_bookmark): Add argument.
4530         * target.c (dummy_goto_bookmark): Add 'self' argument.
4531         * record-full.c (record_full_goto_bookmark): Add 'self' argument.
4532
4533 2014-02-19  Tom Tromey  <tromey@redhat.com>
4534
4535         * target.h (struct target_ops) <to_get_bookmark>: Add argument.
4536         (target_get_bookmark): Add argument.
4537         * target.c (dummy_get_bookmark): Add 'self' argument.
4538         * record-full.c (record_full_get_bookmark): Add 'self' argument.
4539
4540 2014-02-19  Tom Tromey  <tromey@redhat.com>
4541
4542         * target.h (struct target_ops) <to_make_corefile_notes>: Add
4543         argument.
4544         (target_make_corefile_notes): Add argument.
4545         * target.c (dummy_make_corefile_notes): Add 'self' argument.
4546         * procfs.c (procfs_make_note_section): Add 'self' argument.
4547         (procfs_make_note_section): Add 'self' argument.
4548         (procfs_make_note_section): Add 'self' argument.
4549         * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
4550         argument.
4551         * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
4552         * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
4553         * exec.c (exec_make_note_section): Add 'self' argument.
4554         (exec_make_note_section): Add 'self' argument.
4555
4556 2014-02-19  Tom Tromey  <tromey@redhat.com>
4557
4558         * target.h (struct target_ops) <to_find_memory_regions>: Add
4559         argument.
4560         (target_find_memory_regions): Add argument.
4561         * target.c (dummy_find_memory_regions): Add 'self' argument.
4562         * procfs.c (proc_find_memory_regions): Add 'self' argument.
4563         * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
4564         * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
4565         * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
4566         * exec. (exec_do_find_memory_regions): New global.
4567         (exec_set_find_memory_regions): Rewrite.
4568         (exec_find_memory_regions): New function.
4569         (init_exec_ops): Use exec_find_memory_regions.
4570
4571 2014-02-19  Tom Tromey  <tromey@redhat.com>
4572
4573         * target.h (struct target_ops) <to_supports_non_stop>: Add
4574         argument.
4575         * target.c (find_default_supports_non_stop): Add argument.
4576         (target_supports_non_stop): Add argument.
4577         (find_default_supports_non_stop): Add 'self' argument.
4578         * remote.c (remote_supports_non_stop): Add 'self' argument.
4579         * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
4580
4581 2014-02-19  Tom Tromey  <tromey@redhat.com>
4582
4583         * target.h (struct target_ops) <to_log_command>: Add argument.
4584         (target_log_command): Add argument.
4585         * serial.h (serial_log_command): Add 'self' argument.
4586         * serial.c (serial_log_command): Add 'self' argument.
4587
4588 2014-02-19  Tom Tromey  <tromey@redhat.com>
4589
4590         * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
4591         * target.h (struct target_ops) <to_pid_to_exec_file>: Add
4592         argument.
4593         (target_pid_to_exec_file): Add argument.
4594         * target.c (debug_to_pid_to_exec_file): Add argument.
4595         (update_current_target): Update.
4596         * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
4597         * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
4598         * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
4599         (linux_handle_extended_wait): Update.
4600         * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
4601         * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
4602         * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
4603         * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
4604
4605 2014-02-19  Tom Tromey  <tromey@redhat.com>
4606
4607         * target.h (struct target_ops) <to_rcmd>: Add argument.
4608         (target_rcmd): Add argument.
4609         * target.c (debug_to_rcmd): Add argument.
4610         (update_current_target, do_monitor_command): Update.
4611         * remote.c (remote_rcmd): Add 'self' argument.
4612         * monitor.c (monitor_rcmd): Add 'self' argument.
4613
4614 2014-02-19  Tom Tromey  <tromey@redhat.com>
4615
4616         * windows-nat.c (windows_stop): Add 'self' argument.
4617         * target.h (struct target_ops) <to_stop>: Add argument.
4618         * target.c (target_stop): Add argument.
4619         (debug_to_stop): Add argument.
4620         (update_current_target): Update.
4621         * remote.c (remote_stop): Add 'self' argument.
4622         * remote-sim.c (gdbsim_stop): Add 'self' argument.
4623         (gdbsim_cntrl_c): Update.
4624         * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
4625         * procfs.c (procfs_stop): Add 'self' argument.
4626         * nto-procfs.c (procfs_stop): Add 'self' argument.
4627         * monitor.c (monitor_stop): Add 'self' argument.
4628         (monitor_open): Update.
4629         * linux-nat.c (linux_nat_stop): Add argument.
4630         * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
4631         * gnu-nat.c (gnu_stop): Add 'self' argument.
4632         * darwin-nat.c (darwin_stop): Add 'self' argument.
4633
4634 2014-02-19  Tom Tromey  <tromey@redhat.com>
4635
4636         * target.h (struct target_ops) <to_thread_name>: Add argument.
4637         * target.c (target_thread_name): Add argument.
4638         (update_current_target): Update.
4639         * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
4640
4641 2014-02-19  Tom Tromey  <tromey@redhat.com>
4642
4643         * target.h (struct target_ops) <to_extra_thread_info>: Add
4644         argument.
4645         (target_extra_thread_info): Add argument.
4646         * target.c (update_current_target): Update.
4647         * remote.c (remote_threads_extra_info): Add 'self' argument.
4648         * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
4649         argument.
4650         * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
4651         * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
4652         * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
4653         argument.
4654         * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
4655         argument.
4656         * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
4657         argument.
4658         * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
4659         argument.
4660
4661 2014-02-19  Tom Tromey  <tromey@redhat.com>
4662
4663         * target.h (struct target_ops) <to_program_signals>: Add argument.
4664         * target.c (target_program_signals): Add argument.
4665         * remote.c (remote_program_signals): Add 'self' argument.
4666
4667 2014-02-19  Tom Tromey  <tromey@redhat.com>
4668
4669         * target.h (struct target_ops) <to_pass_signals>: Add argument.
4670         * target.c (target_pass_signals): Add argument.
4671         * remote.c (remote_pass_signals): Add 'self' argument.
4672         (remote_start_remote): Update.
4673         * procfs.c (procfs_pass_signals): Add 'self' argument.
4674         * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
4675         * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
4676         (linux_nat_create_inferior, linux_nat_attach): Update.
4677
4678 2014-02-19  Tom Tromey  <tromey@redhat.com>
4679
4680         * windows-nat.c (windows_can_run): Add 'self' argument.
4681         * target.h (struct target_ops) <to_can_run>: Add argument.
4682         (target_can_run): Add argument.
4683         * target.c (debug_to_can_run): Add argument.
4684         (update_current_target): Update.
4685         * nto-procfs.c (procfs_can_run): Add 'self' argument.
4686         * inf-child.c (inf_child_can_run): Add 'self' argument.
4687         * go32-nat.c (go32_can_run): Add 'self' argument.
4688
4689 2014-02-19  Tom Tromey  <tromey@redhat.com>
4690
4691         * target.h (struct target_ops) <to_has_exited>: Add argument.
4692         (target_has_exited): Add argument.
4693         * target.c (debug_to_has_exited): Add argument.
4694         (update_current_target): Update.
4695
4696 2014-02-19  Tom Tromey  <tromey@redhat.com>
4697
4698         * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
4699         argument.
4700         (target_set_syscall_catchpoint): Add argument.
4701         * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
4702         argument.
4703         * target.c (update_current_target): Update.
4704
4705 2014-02-19  Tom Tromey  <tromey@redhat.com>
4706
4707         * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
4708         argument.
4709         (target_remove_exec_catchpoint): Add argument.
4710         * target.c (debug_to_remove_exec_catchpoint): Add argument.
4711         (update_current_target): Update.
4712         * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
4713         argument.
4714
4715 2014-02-19  Tom Tromey  <tromey@redhat.com>
4716
4717         * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
4718         argument.
4719         (target_insert_exec_catchpoint): Add argument.
4720         * target.c (debug_to_insert_exec_catchpoint): Add argument.
4721         (update_current_target): Update.
4722         * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
4723         argument.
4724
4725 2014-02-19  Tom Tromey  <tromey@redhat.com>
4726
4727         * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
4728         argument.
4729         (target_remove_vfork_catchpoint): Add argument.
4730         * target.c (debug_to_remove_vfork_catchpoint): Add argument.
4731         (update_current_target): Update.
4732         * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
4733         argument.
4734
4735 2014-02-19  Tom Tromey  <tromey@redhat.com>
4736
4737         * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
4738         argument.
4739         (target_insert_vfork_catchpoint): Add argument.
4740         * target.c (debug_to_insert_vfork_catchpoint): Add argument.
4741         (update_current_target): Update.
4742         * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
4743         argument.
4744
4745 2014-02-19  Tom Tromey  <tromey@redhat.com>
4746
4747         * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
4748         argument.
4749         (target_remove_fork_catchpoint): Add argument.
4750         * target.c (debug_to_remove_fork_catchpoint): Add argument.
4751         (update_current_target): Update.
4752         * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
4753         argument.
4754
4755 2014-02-19  Tom Tromey  <tromey@redhat.com>
4756
4757         * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
4758         argument.
4759         (target_insert_fork_catchpoint): Add argument.
4760         * target.c (debug_to_insert_fork_catchpoint): Add argument.
4761         (update_current_target): Update.
4762         * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
4763         argument.
4764
4765 2014-02-19  Tom Tromey  <tromey@redhat.com>
4766
4767         * target.h (struct target_ops) <to_post_startup_inferior>: Add
4768         argument.
4769         (target_post_startup_inferior): Add argument.
4770         * target.c (debug_to_post_startup_inferior): Add argument.
4771         (update_current_target): Update.
4772         * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
4773         argument.
4774         * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
4775         argument.
4776         * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
4777         argument.
4778         * inf-child.c (inf_child_post_startup_inferior): Add 'self'
4779         argument.
4780         * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
4781         'self' argument.
4782         (super_post_startup_inferior): Likewise.
4783         * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
4784         'self' argument.
4785         (super_post_startup_inferior): Likewise.
4786         * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
4787         Add 'self' argument.
4788         (super_post_startup_inferior): Likewise.
4789
4790 2014-02-19  Tom Tromey  <tromey@redhat.com>
4791
4792         * target.h (struct target_ops) <to_load>: Add argument.
4793         * target.c (target_load): Add argument.
4794         (debug_to_load): Add argument.
4795         (update_current_target): Update.
4796         * remote.c (remote_load): Add 'self' argument.
4797         * remote-sim.c (gdbsim_load): Add 'self' argument.
4798         * remote-mips.c (mips_load): Add 'self' argument.
4799         * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
4800         * monitor.c (monitor_load): Add 'self' argument.
4801         * m32r-rom.c (m32r_load_gen): Add 'self' argument.
4802
4803 2014-02-19  Tom Tromey  <tromey@redhat.com>
4804
4805         * target.h (struct target_ops) <to_terminal_info>: Add argument.
4806         (target_terminal_info): Add argument.
4807         * target.c (debug_to_terminal_info): Add argument.
4808         (default_terminal_info): Likewise.
4809         * inflow.c (child_terminal_info): Add 'self' argument.
4810         * inferior.h (child_terminal_info): Add 'self' argument.
4811         * go32-nat.c (go32_terminal_info): Add 'self' argument.
4812
4813 2014-02-19  Tom Tromey  <tromey@redhat.com>
4814
4815         * target.h (struct target_ops) <to_terminal_save_ours>: Add
4816         argument.
4817         (target_terminal_save_ours): Add argument.
4818         * target.c (debug_to_terminal_save_ours): Add argument.
4819         (update_current_target): Update.
4820         * inflow.c (terminal_save_ours): Add 'self' argument.
4821         * inferior.h (terminal_save_ours): Add 'self' argument.
4822
4823 2014-02-19  Tom Tromey  <tromey@redhat.com>
4824
4825         * target.h (struct target_ops) <to_terminal_ours>: Add argument.
4826         (target_terminal_ours): Add argument.
4827         * target.c (debug_to_terminal_ours): Add argument.
4828         (update_current_target): Update.
4829         * remote.c (remote_terminal_ours): Add 'self' argument.
4830         (remote_close): Update.
4831         * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
4832         * inflow.c (terminal_ours): Add 'self' argument.
4833         * inferior.h (terminal_ours): Add 'self' argument.
4834         * go32-nat.c (go32_terminal_ours): Add 'self' argument.
4835
4836 2014-02-19  Pedro Alves  <palves@redhat.com>
4837             Tom Tromey  <tromey@redhat.com>
4838
4839         * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
4840         argument.
4841         (target_terminal_ours_for_output): Add argument.
4842         * target.c (debug_to_terminal_ours_for_output): Add argument.
4843         (update_current_target): Update.
4844         * inflow.c (terminal_ours_for_output): Add 'self' argument.
4845         * inferior.h (terminal_ours_for_output): Add 'self' argument.
4846         * go32-nat.c (go32_terminal_ours): Add 'self' argument.
4847
4848 2014-02-19  Tom Tromey  <tromey@redhat.com>
4849
4850         * target.h (struct target_ops) <to_terminal_inferior>: Add
4851         argument.
4852         * target.c (target_terminal_inferior): Add argument.
4853         (update_current_target): Update.
4854         * remote.c (remote_terminal_inferior): Add 'self' argument.
4855         * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
4856         * inflow.c (terminal_inferior): Add 'self' argument.
4857         * inferior.h (terminal_inferior): Add 'self' argument.
4858         * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
4859         (go32_terminal_inferior): Add 'self' argument.
4860
4861 2014-02-19  Tom Tromey  <tromey@redhat.com>
4862
4863         * target.h (struct target_ops) <to_terminal_init>: Add argument.
4864         (target_terminal_init): Add argument.
4865         * target.c (debug_to_terminal_init): Add argument.
4866         (update_current_target): Update.
4867         * inflow.c (terminal_init_inferior): Add 'self' argument.
4868         * inferior.h (terminal_init_inferior): Add 'self' argument.
4869         * go32-nat.c (go32_terminal_init): Add 'self' argument.
4870         * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
4871
4872 2014-02-19  Tom Tromey  <tromey@redhat.com>
4873
4874         * target.h (struct target_ops)
4875         <to_can_accel_watchpoint_condition>: Add argument.
4876         (target_can_accel_watchpoint_condition): Add argument.
4877         * target.c (debug_to_can_accel_watchpoint_condition): Add
4878         argument.
4879         (update_current_target): Update.
4880         * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
4881         'self' argument.
4882
4883 2014-02-19  Tom Tromey  <tromey@redhat.com>
4884
4885         * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
4886         Add argument.
4887         (target_region_ok_for_hw_watchpoint): Add argument.
4888         * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
4889         (default_region_ok_for_hw_watchpoint): Add argument.
4890         * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
4891         * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
4892         argument.
4893         * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
4894         argument.
4895         * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
4896         argument.
4897         * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
4898         'self' argument.
4899         * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
4900         'self' argument.
4901         * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
4902         'self' argument.
4903         * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
4904         * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
4905         'self' argument.
4906         * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
4907         Add 'self' argument.
4908
4909 2014-02-19  Tom Tromey  <tromey@redhat.com>
4910
4911         * target.h (struct target_ops) <to_insert_watchpoint>: Add
4912         argument.
4913         (target_insert_watchpoint): Add argument.
4914         * target.c (debug_to_insert_watchpoint): Add argument.
4915         (update_current_target): Update.
4916         * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
4917         * remote.c (remote_insert_watchpoint): Add 'self' argument.
4918         * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
4919         * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
4920         * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
4921         * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
4922         argument.
4923         * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
4924         (procfs_insert_hw_watchpoint): Add 'self' argument.
4925         * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
4926         argument.
4927         * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
4928         argument.
4929         * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
4930         argument.
4931         * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
4932         * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
4933         argument.
4934         * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
4935         'self' argument.
4936
4937 2014-02-19  Tom Tromey  <tromey@redhat.com>
4938
4939         * target.h (struct target_ops) <to_remove_watchpoint>: Add
4940         argument.
4941         (target_remove_watchpoint): Add argument.
4942         * target.c (debug_to_remove_watchpoint): Add argument.
4943         (update_current_target): Update.
4944         * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
4945         * remote.c (remote_remove_watchpoint): Add 'self' argument.
4946         * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
4947         * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
4948         * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
4949         * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
4950         argument.
4951         * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
4952         * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
4953         argument.
4954         * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
4955         argument.
4956         * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
4957         argument.
4958         * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
4959         * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
4960         argument.
4961         * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
4962         'self' argument.
4963
4964 2014-02-19  Tom Tromey  <tromey@redhat.com>
4965
4966         * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
4967         argument.
4968         (target_remove_hw_breakpoint): Add argument.
4969         * target.c (debug_to_remove_hw_breakpoint): Add argument.
4970         (update_current_target): Update.
4971         * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
4972         * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
4973         argument.
4974         * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
4975         * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
4976         argument.
4977         * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
4978         'self' argument.
4979
4980 2014-02-19  Tom Tromey  <tromey@redhat.com>
4981
4982         * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
4983         argument.
4984         (target_insert_hw_breakpoint): Add argument.
4985         * target.c (debug_to_insert_hw_breakpoint): Add argument.
4986         (update_current_target): Update.
4987         * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
4988         * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
4989         argument.
4990         * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
4991         * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
4992         * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
4993         argument.
4994         * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
4995         'self' argument.
4996
4997 2014-02-19  Tom Tromey  <tromey@redhat.com>
4998
4999         * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
5000         argument.
5001         (target_can_use_hardware_watchpoint): Add argument.
5002         * target.c (debug_to_can_use_hw_breakpoint): Add argument.
5003         (update_current_target): Update.
5004         * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
5005         argument.
5006         * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
5007         argument.
5008         * remote.c (remote_check_watch_resources): Add 'self' argument.
5009         * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
5010         * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
5011         argument.
5012         * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
5013         * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
5014         argument.
5015         * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
5016         argument.
5017         * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
5018         argument.
5019         * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
5020         argument.
5021         * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
5022         argument.
5023         * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
5024         argument.
5025         * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
5026         * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
5027         argument.
5028         * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
5029         'self' argument.
5030
5031 2014-02-19  Tom Tromey  <tromey@redhat.com>
5032
5033         * target.h (struct target_ops) <to_post_attach>: Add argument.
5034         (target_post_attach): Add argument.
5035         * target.c (debug_to_post_attach): Add argument.
5036         (update_current_target): Update.
5037         * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
5038         * nto-procfs.c (procfs_post_attach): Add 'self' argument.
5039         * linux-nat.c (linux_child_post_attach): Add 'self' argument.
5040         * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
5041         * inf-child.c (inf_child_post_attach): Add 'self' argument.
5042
5043 2014-02-19  Tom Tromey  <tromey@redhat.com>
5044
5045         * windows-nat.c (windows_close): Add 'self' argument.
5046         * tracepoint.c (tfile_close): Add 'self' argument.
5047         * target.h (struct target_ops) <to_close>: Add argument.
5048         * target.c (target_close): Add argument.
5049         (update_current_target): Update.
5050         * remote.c (remote_close): Add 'self' argument.
5051         * remote-sim.c (gdbsim_close): Add 'self' argument.
5052         * remote-mips.c (mips_close): Add 'self' argument.
5053         * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
5054         * record-full.c (record_full_close): Add 'self' argument.
5055         * record-btrace.c (record_btrace_close): Add 'self' argument.
5056         * monitor.h (monitor_close): Add 'self' argument.
5057         * monitor.c (monitor_close): Add 'self' argument.
5058         * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
5059         * linux-nat.c (linux_nat_close): Add argument.
5060         * go32-nat.c (go32_close): Add 'self' argument.
5061         * exec.c (exec_close_1): Add 'self' argument.
5062         * ctf.c (ctf_close): Add 'self' argument.
5063         * corelow.c (core_close): Add 'self' argument.
5064         (core_close_cleanup): Update.
5065         * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
5066         * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
5067
5068 2014-02-19  Tom Tromey  <tromey@redhat.com>
5069
5070         * remote.c (remote_load): New function.
5071         (init_remote_ops): Use it.
5072
5073 2014-02-19  Tom Tromey  <tromey@redhat.com>
5074
5075         * common/linux-btrace.c (linux_supports_btrace): Add "ops"
5076         argument.
5077         * common/linux-btrace.h (linux_supports_btrace): Update.
5078         * remote.c (remote_supports_btrace): Add "self" argument.
5079         * target-delegates.c: Rebuild.
5080         * target.c (target_supports_btrace): Remove.
5081         * target.h (struct target_ops) <to_supports_btrace>: Add
5082         target_ops argument.
5083         (target_supports_btrace): New define.
5084
5085 2014-02-19  Tom Tromey  <tromey@redhat.com>
5086
5087         * record-full.c (record_full_beneath_to_resume_ops)
5088         (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
5089         (record_full_beneath_to_wait)
5090         (record_full_beneath_to_store_registers_ops)
5091         (record_full_beneath_to_store_registers)
5092         (record_full_beneath_to_xfer_partial_ops)
5093         (record_full_beneath_to_xfer_partial)
5094         (record_full_beneath_to_insert_breakpoint_ops)
5095         (record_full_beneath_to_insert_breakpoint)
5096         (record_full_beneath_to_remove_breakpoint_ops)
5097         (record_full_beneath_to_remove_breakpoint)
5098         (record_full_beneath_to_stopped_by_watchpoint)
5099         (record_full_beneath_to_stopped_data_address)
5100         (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
5101         (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
5102         (tmp_to_store_registers, tmp_to_xfer_partial_ops)
5103         (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
5104         (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
5105         (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
5106         (tmp_to_stopped_data_address, tmp_to_async): Remove.
5107         (record_full_open_1, record_full_open): Update.  Use RECORD_IS_USED.
5108         (record_full_resume, record_full_wait_1)
5109         (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
5110         (record_full_store_registers, record_full_xfer_partial)
5111         (record_full_insert_breakpoint, record_full_remove_breakpoint)
5112         (record_full_async, record_full_core_xfer_partial): Use target
5113         delegation.
5114         * target-delegates.c: Rebuild.
5115         * target.c (current_xfer_partial): Remove.
5116         (update_current_target): Do not INHERIT or de_fault
5117         to_insert_breakpoint, to_remove_breakpoint,
5118         to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
5119         to_is_async_p, to_async.  Do not set to_xfer_partial field.
5120         (default_xfer_partial): Simplify.
5121         (current_xfer_partial): Remove.
5122         (target_wait, target_resume): Simplify.
5123         (find_default_can_async_p, find_default_is_async_p): Update.
5124         (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
5125         to_xfer_partial, to_stopped_by_watchpoint,
5126         to_stopped_data_address.
5127         (target_store_registers): Simplify.
5128         (forward_target_remove_breakpoint)
5129         (forward_target_insert_breakpoint): Remove.
5130         (target_remove_breakpoint, target_insert_breakpoint)
5131         (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
5132         * target.h (struct target_ops) <to_resume, to_wait,
5133         to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
5134         to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
5135         to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
5136         markup.
5137         (forward_target_remove_breakpoint)
5138         (forward_target_insert_breakpoint): Remove.
5139         * record-btrace.c (record_btrace_remove_breakpoint): Delegate
5140         directly.
5141         (record_btrace_insert_breakpoint): Delegate directly.
5142
5143 2014-02-19  Tom Tromey  <tromey@redhat.com>
5144
5145         PR build/7701:
5146         * target-delegates.c: New file.
5147         * target.c: Include target-delegates.c.
5148         (init_dummy_target): Call install_dummy_methods.
5149         (complete_target_initialization): Call install_delegators.
5150         * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
5151         (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
5152         * make-target-delegates: New file.
5153
5154 2014-02-19  Tom Tromey  <tromey@redhat.com>
5155
5156         * record.c (find_record_target): Use find_target_at.
5157         * target.c (find_target_at): New function.
5158         * target.h (find_target_at): Declare.
5159
5160 2014-02-19  Tom Tromey  <tromey@redhat.com>
5161
5162         * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
5163         Add 'ops' argument.
5164         * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
5165         'ops' argument.
5166         * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
5167         * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
5168         'ops' argument.
5169         * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
5170         argument.
5171         * linux-nat.c (save_sigtrap): Update.
5172         (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
5173         (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
5174         (linux_nat_close): Update.
5175         * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
5176         argument.
5177         * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
5178         argument.
5179         * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
5180         * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
5181         (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
5182         (tmp_to_async): Add 'ops' argument.
5183         (record_full_stopped_by_watchpoint, record_full_async)
5184         (record_full_can_async_p, record_full_is_async_p): Add 'ops'
5185         argument.
5186         * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
5187         (m32r_stopped_by_watchpoint): Add 'ops' argument.
5188         * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
5189         * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
5190         (remote_is_async_p, remote_async): Add 'ops' argument.
5191         (remote_stopped_data_address): Update.
5192         * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
5193         * target.c (update_current_target)
5194         (find_default_can_async_p, find_default_is_async_p): Update.
5195         (init_dummy_target): Update.
5196         (debug_to_stopped_by_watchpoint): Add 'ops' argument.
5197         * target.h (struct target_ops) <to_stopped_by_watchpoint,
5198         to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
5199         (target_can_async_p, target_is_async_p, target_async)
5200         (target_stopped_by_watchpoint): Update.
5201
5202 2014-02-19  Yao Qi  <yao@codesourcery.com>
5203
5204         PR gdb/16220
5205         * gdbarch.sh: Remove startup_gdbarch.
5206         * gdbarch.c: Regenerated.
5207         * gdbarch.h: Likewise.
5208
5209 2014-02-17  Kevin Buettner  <kevinb@redhat.com>
5210
5211         * rl78-tdep.c (rl78_g10_register_name): New function.
5212         (rl78_return_value): Add g10 support.
5213         (rl78_gdbarch_init): Register rl78_g10_register_name for the
5214         g10.
5215
5216 2014-02-17  Doug Evans  <xdje42@gmail.com>
5217
5218         * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
5219         (SUBDIR_GUILE_SRCS): Ditto.
5220         (scm-gsmob.o): Ditto.
5221
5222 2014-02-17  Yao Qi  <yao@codesourcery.com>
5223
5224         * gnu-nat.c (ILL_RPC): Declare defined function.
5225
5226 2014-02-17  Yao Qi  <yao@codesourcery.com>
5227
5228         * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
5229         mach_msg_type_number_t.
5230         (gnu_write_inferior): Likewise.
5231
5232 2014-02-17  Yao Qi  <yao@codesourcery.com>
5233
5234         * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
5235         in format string.
5236         (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
5237         (inf_validate_procs, inf_signal): Likewise.
5238         (S_exception_raise_request): Likewise.
5239         (do_mach_notify_dead_name): Likewise.
5240         (steal_exc_port): Likewise.
5241         (gnu_read_inferior): Change 'copy_count''s type to
5242         mach_msg_type_number_t.
5243         (gnu_write_inferior): Likewise.  Use 'lx' instead of 'x' in
5244         format string.
5245
5246 2014-02-16  Thomas Schwinge  <thomas@codesourcery.com>
5247
5248         * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
5249         flag.  Adjust all users; in particular...
5250         (gnu_wait): ..., don't decrement its value in here...
5251         (gnu_create_inferior): ..., and instead set the flag in here,
5252         around the startup_inferior call, and call that one with
5253         START_INFERIOR_TRAPS_EXPECTED.
5254
5255         * gnu-nat.c (ill_rpc): Remove function; replaced with this...
5256         (ILL_RPC): ... new macro.
5257         (do_mach_notify_no_senders, do_mach_notify_port_deleted)
5258         (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
5259         (do_mach_notify_send_once, S_proc_setmsgport_reply)
5260         (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
5261         functions with ILL_RPC macro.
5262         (S_proc_pid2task_reply, S_proc_task2pid_reply)
5263         (S_proc_task2proc_reply, S_proc_proc2task_reply)
5264         (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
5265         (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
5266         (S_proc_getloginid_reply, S_proc_getloginpids_reply)
5267         (S_proc_getlogin_reply, S_proc_getsid_reply)
5268         (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
5269         (S_proc_getsidport_reply, S_proc_getpgrp_reply)
5270         (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
5271         (S_proc_getnports_reply, S_proc_is_important_reply)
5272         (S_proc_get_code_reply): New stub functions, generated with
5273         ILL_RPC macro.
5274
5275         * reply_mig_hack.awk: In phase 5, keep going if we have not yet
5276         collected the type check structures.
5277
5278         * reply_mig_hack.awk: Don't expect to see the auto keyword.
5279
5280 2014-02-14  Doug Evans  <dje@google.com>
5281
5282         * target.c (target_write_partial): Fix result type.
5283
5284 2014-02-14  Jose E. Marchesi  <jose.marchesi@oracle.com>
5285
5286         * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
5287         the proper offsets to access fpregset_t.
5288
5289 2014-02-13  Sanimir Agovic  <sanimir.agovic@intel.com>
5290
5291         * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
5292         (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
5293         * h8300-tdep.c (setmachinelist): Remove global.
5294         * hppa-tdep.c (hppa_sigtramp): Remove global.
5295         * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
5296         RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
5297         * ravenscar-thread.c (update_target_observer): Remove global.
5298         * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
5299
5300 2014-02-12  Tom Tromey  <tromey@redhat.com>
5301
5302         * common/rsp-low.c: Update comments.
5303         * common/rsp-low.h: Update comments.
5304
5305 2014-02-12  Tom Tromey  <tromey@redhat.com>
5306
5307         * common/rsp-low.c (convert_ascii_to_int): Remove.
5308         * common/rsp-low.h (convert_ascii_to_int): Don't declare.
5309
5310 2014-02-12  Tom Tromey  <tromey@redhat.com>
5311
5312         * common/rsp-low.h (unhexify): Don't declare.
5313         * common/rsp-low.c (unhexify): Remove.
5314
5315 2014-02-12  Tom Tromey  <tromey@redhat.com>
5316
5317         * common/rsp-low.h (convert_int_to_ascii): Don't declare.
5318         * common/rsp-low.c (convert_int_to_ascii): Remove.
5319
5320 2014-02-12  Tom Tromey  <tromey@redhat.com>
5321
5322         * common/rsp-low.h (hexify): Don't declare.
5323         * common/rsp-low.c (hexify): Remove.
5324
5325 2014-02-12  Tom Tromey  <tromey@redhat.com>
5326
5327         * common/rsp-low.c (hexify): Never take strlen of argument.
5328
5329 2014-02-12  Tom Tromey  <tromey@redhat.com>
5330
5331         * common/rsp-low.c (bin2hex): Never take strlen of argument.
5332         * remote.c (extended_remote_run, remote_rcmd)
5333         (remote_download_trace_state_variable, remote_save_trace_data)
5334         (remote_set_trace_notes): Update.
5335         * tracepoint.c (encode_source_string, tfile_write_status)
5336         (tfile_write_uploaded_tsv): Update.
5337
5338 2014-02-12  Tom Tromey  <tromey@redhat.com>
5339
5340         * tracepoint.c: Include rsp-low.h.
5341         * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
5342         * remote.c: Include rsp-low.h.
5343         (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
5344         (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
5345         (remote_unescape_input): Move to common/rsp-low.c.
5346         * common/rsp-low.h: New file.
5347         * common/rsp-low.c: New file.
5348         * Makefile.in (SFILES): Add common/rsp-low.c.
5349         (HFILES_NO_SRCDIR): Add common/rsp-low.h.
5350         (COMMON_OBS): Add rsp-low.o.
5351         (rsp-low.o): New target.
5352
5353 2014-02-12  Tom Tromey  <tromey@redhat.com>
5354
5355         * utils.h: Include print-utils.h.
5356         (host_address_to_string, plongest, pulongest, phex, phex_nz)
5357         (int_string, core_addr_to_string, core_addr_to_string_nz)
5358         (hex_string, hex_string_custom): Don't declare.
5359         * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
5360         (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
5361         (hex_string_custom, int_string, core_addr_to_string)
5362         (core_addr_to_string_nz, host_address_to_string): Move to
5363         common/print-utils.c.
5364         * common/print-utils.h: New file.
5365         * common/print-utils.c: New file
5366         * Makefile.in (SFILES): Add common/print-utils.c.
5367         (HFILES_NO_SRCDIR): Add common/print-utils.h.
5368         (COMMON_OBS): Add print-utils.o.
5369         (print-utils.o): New target.
5370
5371 2014-02-12  Tom Tromey  <tromey@redhat.com>
5372
5373         * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
5374
5375 2014-02-12  Mark Kettenis  <kettenis@gnu.org>
5376
5377         * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
5378
5379 2014-02-12  Mark Kettenis  <kettenis@gnu.org>
5380
5381         * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
5382         if a PT_IO ptrace request returns sucessfully but indicates that 0
5383         bytes were transferred.
5384
5385 2014-02-12  Pedro Alves  <palves@redhat.com>
5386             Kevin Buettner <kevinb@redhat.com>
5387
5388         * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
5389         TYPE_INSTANCE_FLAG_CODE_SPACE.
5390
5391 2014-02-12  Pedro Alves  <palves@redhat.com>
5392
5393         * h8300-tdep.c (pseudo_from_raw_register)
5394         (raw_from_pseudo_register): New functions.
5395         (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
5396         them.
5397
5398 2014-02-12  Pedro Alves  <palves@redhat.com>
5399
5400         * h8300-tdep.c (h8300_register_sim_regno): New function.
5401         (h8300_gdbarch_init): Install h8300_register_sim_regno as
5402         gdbarch_register_sim_regno hook.
5403
5404 2014-02-12  Sanimir Agovic  <sanimir.agovic@intel.com>
5405
5406         * nios2-tdep.c (nios2_stub_frame_base): Remove global.
5407
5408 2014-02-12  Sanimir Agovic  <sanimir.agovic@intel.com>
5409
5410         * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
5411
5412 2014-02-12  Mark Kettenis  <kettenis@gnu.org>
5413
5414         * obsd-tdep.h (obsd_init_abi): New prototype.
5415         * obsd-tdep.c: Define enum with OpenBSD signal numbers.
5416         (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
5417         (obsd_init_abi): New functions.
5418         * i386obsd-tdep.c: Include "obsd-tdep.h".
5419         (i386obsd_init_abi): Call obsd_init_abi.
5420         * amd64obsd-tdep.c: Include "obsd-tdep.h".
5421         (amd64obsd_init_abi): Call obsd_init_abi.
5422         * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
5423         obsd-tdep.c to gdb_target_obs.
5424
5425 2014-02-11  Jose E. Marchesi  <jose.marchesi@oracle.com>
5426
5427         * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
5428         double float arguments to 16-byte in the argument slots.
5429
5430 2014-02-11  Doug Evans  <xdje42@gmail.com>
5431
5432         * configure.ac: Don't crash if pkg-config is not found and guile
5433         wasn't explicitly requested.  Use AC_MSG_ERROR instead of AC_ERROR
5434         in guile checks.
5435         * configure: Regenerate.
5436
5437 2014-02-11  Yao Qi  <yao@codesourcery.com>
5438
5439         * aix-thread.c (aix_thread_xfer_partial): Update comments.
5440         * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
5441         * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
5442         * gnu-nat.c (gnu_xfer_memory): Likewise.
5443         * inf-ptrace.c (inf_ptrace_xfer_partial):  Likewise.
5444         * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5445         * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5446         * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
5447
5448 2014-02-11  Yao Qi  <yao@codesourcery.com>
5449
5450         * target.h (enum target_xfer_error): Rename to ...
5451         (enum target_xfer_status): ... it.  New.  All users updated.
5452         (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
5453         New.
5454         (TARGET_XFER_STATUS_ERROR_P): New macro.
5455         (target_xfer_error_to_string): Remove declaration.
5456         (target_xfer_status_to_string): Declare.
5457         (target_xfer_partial_ftype): Adjust it.
5458         (struct target_ops) <to_xfer_partial>: Return
5459         target_xfer_status.  Add argument xfered_len.  Update
5460         comments.
5461         * target.c (target_xfer_error_to_string): Rename to ...
5462         (target_xfer_status_to_string): ... it.  New.  All callers
5463         updated.
5464         (target_read_live_memory): Likewise.  Call target_xfer_partial
5465         instead of target_read.
5466         (memory_xfer_live_readonly_partial): Return
5467         target_xfer_status.  Add argument xfered_len.
5468         (raw_memory_xfer_partial): Likewise.
5469         (memory_xfer_partial_1): Likewise.
5470         (memory_xfer_partial): Likewise.
5471         (target_xfer_partial): Likewise.  Check *XFERED_LEN is set
5472         properly.  Update debug message.
5473         (default_xfer_partial, current_xfer_partial): Likewise.
5474         (target_write_partial): Likewise.
5475         (target_read_partial): Likewise.  All callers updated.
5476         (read_whatever_is_readable): Likewise.
5477         (target_write_with_progress): Likewise.
5478         (target_read_alloc_1): Likewise.
5479
5480         * aix-thread.c (aix_thread_xfer_partial): Likewise.
5481         * auxv.c (procfs_xfer_auxv): Likewise.
5482         (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
5483         * bfd-target.c (target_bfd_xfer_partial): Likewise.
5484         * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
5485         * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
5486         * corefile.c (read_memory): Adjust.
5487         * corelow.c (core_xfer_partial): Likewise.
5488         * ctf.c (ctf_xfer_partial): Likewise.
5489         * darwin-nat.c (darwin_read_dyld_info): Likewise.  All callers
5490         updated.
5491         (darwin_xfer_partial): Likewise.
5492         * exec.c (section_table_xfer_memory_partial): Likewise.  All
5493         callers updated.
5494         (exec_xfer_partial): Likewise.
5495         * exec.h (section_table_xfer_memory_partial): Update
5496         declaration.
5497         * gnu-nat.c (gnu_xfer_memory): Likewise.  Assert 'res' is not
5498         negative.
5499         (gnu_xfer_partial): Likewise.
5500         * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
5501         (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
5502         (ia64_hpux_xfer_solib_got): Likewise.
5503         * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.  Change
5504         type of 'partial_len' to ULONGEST.
5505         * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
5506         * linux-nat.c (linux_xfer_siginfo ): Likewise.
5507         (linux_nat_xfer_partial): Likewise.
5508         (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
5509         (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
5510         * monitor.c (monitor_xfer_memory): Likewise.
5511         (monitor_xfer_partial): Likewise.
5512         * procfs.c (procfs_xfer_partial): Likewise.
5513         * record-btrace.c (record_btrace_xfer_partial): Likewise.
5514         * record-full.c (record_full_xfer_partial): Likewise.
5515         (record_full_core_xfer_partial): Likewise.
5516         * remote-sim.c (gdbsim_xfer_memory): Likewise.
5517         (gdbsim_xfer_partial): Likewise.
5518         * remote.c (remote_write_bytes_aux): Likewise.  All callers
5519         updated.
5520         (remote_write_bytes, remote_read_bytes): Likewise.  All
5521         callers updated.
5522         (remote_flash_erase): Likewise.  All callers updated.
5523         (remote_write_qxfer): Likewise.  All callers updated.
5524         (remote_read_qxfer): Likewise.  All callers updated.
5525         (remote_xfer_partial): Likewise.
5526         * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5527         (rs6000_xfer_shared_libraries): Likewise.
5528         * sol-thread.c (sol_thread_xfer_partial): Likewise.
5529         (sol_thread_xfer_partial): Likewise.
5530         * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5531         (sparc_xfer_partial): Likewise.
5532         * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.  All callers
5533         updated.
5534         (spu_xfer_partial): Likewise.
5535         * spu-multiarch.c (spu_xfer_partial): Likewise.
5536         * tracepoint.c (tfile_xfer_partial): Likewise.
5537         * windows-nat.c (windows_xfer_memory): Likewise.
5538         (windows_xfer_shared_libraries): Likewise.
5539         (windows_xfer_partial): Likewise.
5540         * valprint.c: Replace 'target_xfer_error' with
5541         'target_xfer_status' in comments.
5542
5543 2014-02-11  Simon Marchi  <simon.marchi@ericsson.com>  (tiny patch)
5544
5545         Checked in by Joel Brobecker <brobecker@adacore.com>.
5546         * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
5547
5548 2014-02-11  Joel Brobecker  <brobecker@adacore.com>
5549
5550         * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
5551         function parameters.
5552
5553 2014-02-10  Will Newton  <will.newton@linaro.org>
5554
5555         * elfread.c (elf_rel_plt_read): Look for a .got section if
5556         looking up .got.plt fails.
5557         (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
5558         on address passed to elf_gnu_ifunc_record_cache.
5559         (elf_gnu_ifunc_resolve_addr): Likewise.
5560         (elf_gnu_ifunc_resolver_return_stop): Likewise.
5561
5562 2014-02-10  Jose E. Marchesi  <jose.marchesi@oracle.com>
5563
5564         * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
5565         (X_RETTURN): New macro.
5566         * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
5567
5568         * sparc64-tdep.c (sparc64_init_abi): Hook
5569         sparc_in_function_epilogue_p.
5570
5571 2014-02-10  Gary Benson  <gbenson@redhat.com>
5572
5573         * symfile-debug.c (debug_qf_expand_symtabs_matching):
5574         Rename name_matcher to symbol_matcher.
5575
5576 2014-02-10  Gary Benson  <gbenson@redhat.com>
5577
5578         * symfile-debug.c (debug_qf_expand_symtabs_matching):
5579         Use expand_symtabs_file_matcher_ftype and
5580         expand_symtabs_symbol_matcher_ftype.
5581
5582 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
5583
5584         * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
5585         (struct ada_symbol_cache): New.
5586         (ada_free_symbol_cache): Forward declare.
5587         (struct ada_pspace_data): New.
5588         (ada_pspace_data_handle): New static global.
5589         (get_ada_pspace_data, ada_pspace_data_cleanup)
5590         (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
5591         (cache_space, cache): Delete, now folded inside struct
5592         ada_pspace_data.
5593         (ada_get_symbol_cache): New function.
5594         (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
5595         implementation.
5596         (_initialize_ada_language): Remove initialization of cache_space.
5597         Move call to observer_attach_inferior_exit up, grouping it
5598         with the other observer registrations inside this function.
5599         Rename command to be more general.  Add call to
5600         register_program_space_data_with_cleanup.
5601
5602 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
5603
5604         * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
5605         ada_new_objfile_observer.
5606         (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
5607         (_initialize_tasks): Update uses of ada_new_objfile_observer
5608         and ada_tasks_normal_stop_observer.
5609
5610 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
5611
5612         * ada-lang.c (ada_evaluate_subexp): Set the type of the value
5613         returned by the 'Length attribute to integer.
5614
5615 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
5616
5617         * ada-lang.c (_initialize_ada_language): Initialize
5618         cache_space obstack.
5619
5620 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
5621
5622         * ada-lang.c (HASH_SIZE): New macro.
5623         (struct cache_entry): New type.
5624         (cache_space, cache): New static globals.
5625         (ada_clear_symbol_cache, find_entry): New functions.
5626         (lookup_cached_symbol, cache_symbol): Implement.
5627         (ada_new_objfile_observer, ada_free_objfile_observer): New.
5628         (_initialize_ada_language): Attach ada_new_objfile_observer
5629         and ada_free_objfile_observer.
5630
5631 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
5632
5633         * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
5634         (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
5635         struct block * parameter.
5636         (ada_lookup_symbol_list_worker): Constify local variable "block".
5637         Remove cast which is no longer necessary.
5638
5639 2014-02-10  Doug Evans  <xdje42@gmail.com>
5640
5641         Add Guile as an extension language.
5642         * NEWS: Mention Guile scripting.
5643         * Makefile.in (SUBDIR_GUILE_OBS): New variable.
5644         (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
5645         (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
5646         (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
5647         (CLIBS): Add GUILE_LIBS.
5648         (install-guile): New rule.
5649         (guile.o): New rule.
5650         (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
5651         (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
5652         (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
5653         (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
5654         (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
5655         (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
5656         (scm-type.o, scm-utils.o, scm-value.o): New rules.
5657         * configure.ac: New option --with-guile.
5658         * configure: Regenerate.
5659         * config.in: Regenerate.
5660         * auto-load.c: Remove #include "python/python.h".  Add #include
5661         "gdb/section-scripts.h".
5662         (source_section_scripts): Handle Guile scripts.
5663         (_initialize_auto_load): Add name of Guile objfile script to
5664         scripts-directory help text.
5665         * breakpoint.c (condition_command): Tweak comment to include Scheme.
5666         * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
5667         (struct breakpoint): New member scm_bp_object.
5668         * defs.h (enum command_control_type): New value guile_control.
5669         * cli/cli-cmds.c: Remove #include "python/python.h".  Add #include
5670         "extension.h".
5671         (show_user): Update comment.
5672         (_initialize_cli_cmds): Update help text for "show user".  Update help
5673         text for max-user-call-depth.
5674         * cli/cli-script.c: Remove #include "python/python.h".  Add #include
5675         "extension.h".
5676         (multi_line_command_p): Add guile_control.
5677         (print_command_lines): Handle guile_control.
5678         (execute_control_command, recurse_read_control_structure): Ditto.
5679         (process_next_line): Recognize "guile" commands.
5680         * disasm.c (gdb_disassemble_info): Make non-static.
5681         * disasm.h: #include "dis-asm.h".
5682         (struct gdbarch): Add forward decl.
5683         (gdb_disassemble_info): Declare.
5684         * extension.c: #include "guile/guile.h".
5685         (extension_languages): Add guile.
5686         (get_ext_lang_defn): Handle EXT_LANG_GDB.
5687         * extension.h (enum extension_language): New value EXT_LANG_GUILE.
5688         * gdbtypes.c (get_unsigned_type_max): New function.
5689         (get_signed_type_minmax): New function.
5690         * gdbtypes.h (get_unsigned_type_max): Declare.
5691         (get_signed_type_minmax): Declare.
5692         * guile/README: New file.
5693         * guile/guile-internal.h: New file.
5694         * guile/guile.c: New file.
5695         * guile/guile.h: New file.
5696         * guile/scm-arch.c: New file.
5697         * guile/scm-auto-load.c: New file.
5698         * guile/scm-block.c: New file.
5699         * guile/scm-breakpoint.c: New file.
5700         * guile/scm-disasm.c: New file.
5701         * guile/scm-exception.c: New file.
5702         * guile/scm-frame.c: New file.
5703         * guile/scm-gsmob.c: New file.
5704         * guile/scm-iterator.c: New file.
5705         * guile/scm-lazy-string.c: New file.
5706         * guile/scm-math.c: New file.
5707         * guile/scm-objfile.c: New file.
5708         * guile/scm-ports.c: New file.
5709         * guile/scm-pretty-print.c: New file.
5710         * guile/scm-safe-call.c: New file.
5711         * guile/scm-string.c: New file.
5712         * guile/scm-symbol.c: New file.
5713         * guile/scm-symtab.c: New file.
5714         * guile/scm-type.c: New file.
5715         * guile/scm-utils.c: New file.
5716         * guile/scm-value.c: New file.
5717         * guile/lib/gdb.scm: New file.
5718         * guile/lib/gdb/boot.scm: New file.
5719         * guile/lib/gdb/experimental.scm: New file.
5720         * guile/lib/gdb/init.scm: New file.
5721         * guile/lib/gdb/iterator.scm: New file.
5722         * guile/lib/gdb/printing.scm: New file.
5723         * guile/lib/gdb/types.scm: New file.
5724         * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
5725         (VPATH): Add $(GUILE_SRCDIR).
5726         (GUILE_DIR): New variable.
5727         (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
5728         (all): Add stamp-guile dependency.
5729         (stamp-guile): New rule.
5730         (clean-guile, install-guile, uninstall-guile): New rules.
5731         (install-only): Add install-guile dependency.
5732         (uninstall): Add uninstall-guile dependency.
5733         (clean): Add clean-guile dependency.
5734
5735 2014-02-09  Doug Evans  <xdje42@gmail.com>
5736
5737         Revert this patch (which I approved, mea culpa).
5738
5739         2014-02-08  Mark Kettenis  <kettenis@gnu.org>
5740
5741         * Makefile.in (all-lib): Remove.
5742         ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
5743
5744 2014-02-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
5745
5746         Fix Python stack corruption.
5747         * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
5748         gdb_py_longest.
5749
5750 2014-02-08  Mark Kettenis  <kettenis@gnu.org>
5751
5752         * Makefile.in (all-lib): Remove.
5753         ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
5754
5755 2014-02-07  Doug Evans  <dje@google.com>
5756
5757         * extension-priv.h (extension_language_script_ops): Add comment.
5758         (extension_language_ops): Add comment.
5759         (active_ext_lang_state): Fix typo in comment.
5760
5761 2014-02-07  Pedro Alves  <palves@redhat.com>
5762
5763         PR breakpoints/16292
5764         * infrun.c (handle_signal_stop) <signal arrives while stepping
5765         over a breakpoint>: Switch back to the stepping thread.
5766
5767 2014-02-07  Yao Qi  <yao@codesourcery.com>
5768
5769         * target.c (target_xfer_partial): Return zero if LEN is zero.
5770
5771 2014-02-07  Yao Qi  <yao@codesourcery.com>
5772
5773         * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
5774         (ld_so_xfer_auxv): Likewise.
5775         * bfd-target.c (target_bfd_xfer_partial): Likewise.
5776         * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
5777         * corelow.c (core_xfer_partial): Likewise.
5778         * ctf.c (ctf_xfer_partial): Likewise.
5779         * darwin-nat.c (darwin_read_dyld_info): Likewise.
5780         (darwin_xfer_partial): Likewise.
5781         * exec.c (exec_xfer_partial): Likewise.
5782         * gnu-nat.c (gnu_xfer_partial): Likewise.
5783         * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
5784         * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
5785         * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
5786         * linux-nat.c (linux_xfer_siginfo): Likewise.
5787         (linux_proc_xfer_spu): Likewise.
5788         * procfs.c (procfs_xfer_partial): Likewise.
5789         * record-full.c (record_full_xfer_partial): Likewise.
5790         (record_full_core_xfer_partial): Likewise.
5791         * remote-sim.c (gdbsim_xfer_partial): Likewise.
5792         * remote.c (remote_write_qxfer): Likewise.
5793         (remote_write_qxfer, remote_read_qxfer): Likewise.
5794         (remote_xfer_partial): Likewise.
5795         * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5796         (rs6000_xfer_shared_libraries): Likewise.
5797         * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5798         * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
5799         (spu_xfer_partial): Likewise.
5800         * target.c (memory_xfer_partial_1): Likewise.
5801         * tracepoint.c (tfile_xfer_partial): Likewise.
5802         * windows-nat.c (windows_xfer_shared_libraries): Likewise.
5803         (windows_xfer_partial): Likewise.
5804
5805 2014-02-07  Yao Qi  <yao@codesourcery.com>
5806
5807         * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST.  Add
5808         comments.
5809         (core_xfer_shared_libraries_aix): Likewise.
5810         * gdbarch.c, gdbarch.h: Regenerated.
5811         * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
5812         ULONGEST.  Change 'len_avail' type to ULONGEST.
5813         * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5814         * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
5815         declaration.
5816         (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
5817
5818 2014-02-07  Yao Qi  <yao@codesourcery.com>
5819
5820         * corefile.c (memory_error): Get 'exception' from ERR and pass
5821         'exception' to throw_error.
5822
5823 2014-02-06  Doug Evans  <xdje42@gmail.com>
5824
5825         * configure.ac (libpython checking): Remove all but python.o from
5826         CONFIG_OBS.  Remove all but python.c from CONFIG_SRCS.
5827         * configure: Regenerate.
5828
5829         * Makefile.in (SFILES): Add extension.c.
5830         (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
5831         (COMMON_OBS): Add extension.o.
5832         * extension.h: New file.
5833         * extension-priv.h: New file.
5834         * extension.c: New file.
5835
5836         * python/python-internal.h: #include "extension.h".
5837         (gdbpy_auto_load_enabled): Declare.
5838         (gdbpy_apply_val_pretty_printer): Declare.
5839         (gdbpy_apply_frame_filter): Declare.
5840         (gdbpy_preserve_values): Declare.
5841         (gdbpy_breakpoint_cond_says_stop): Declare.
5842         (gdbpy_breakpoint_has_cond): Declare.
5843         (void source_python_script_for_objfile): Delete.
5844         * python/python.c: #include "extension-priv.h".
5845         Delete inclusion of "observer.h".
5846         (extension_language_python): Moved here and renamed from
5847         script_language_python in py-auto-load.c.
5848         Redefined to be of type extension_language_defn.
5849         (python_extension_script_ops): New global.
5850         (python_extension_ops): New global.
5851         (struct python_env): New member previous_active.
5852         (restore_python_env): Call restore_active_ext_lang.
5853         (ensure_python_env): Call set_active_ext_lang.
5854         (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
5855         New arg extlang.
5856         (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
5857         New arg extlang.
5858         (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
5859         New arg extlang.
5860         (gdbpy_eval_from_control_command): Renamed from
5861         eval_python_from_control_command, made static.  New arg extlang.
5862         (gdbpy_source_script) Renamed from source_python_script, made static.
5863         New arg extlang.
5864         (gdbpy_before_prompt_hook): Renamed from before_prompt_hook.  Change
5865         result to int.  New arg extlang.
5866         (gdbpy_source_objfile_script): Renamed from
5867         source_python_script_for_objfile, made static.  New arg extlang.
5868         (gdbpy_start_type_printers): Renamed from start_type_printers, made
5869         static.  New args extlang, extlang_printers.  Change result type to
5870         "void".
5871         (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
5872         static.  New arg extlang.  Rename arg printers to extlang_printers
5873         and change type to ext_lang_type_printers *.
5874         (gdbpy_free_type_printers): Renamed from free_type_printers, made
5875         static.  Replace argument arg with extlang, extlang_printers.
5876         (!HAVE_PYTHON, eval_python_from_control_command): Delete.
5877         (!HAVE_PYTHON, source_python_script): Delete.
5878         (!HAVE_PYTHON, gdbpy_should_stop): Delete.
5879         (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
5880         (!HAVE_PYTHON, start_type_printers): Delete.
5881         (!HAVE_PYTHON, apply_type_printers): Delete.
5882         (!HAVE_PYTHON, free_type_printers): Delete.
5883         (_initialize_python): Delete call to observer_attach_before_prompt.
5884         (finalize_python): Set/restore active extension language.
5885         (gdbpy_finish_initialization) Renamed from
5886         finish_python_initialization, made static.  New arg extlang.
5887         (gdbpy_initialized): New function.
5888         * python/python.h: #include "extension.h".  Delete #include
5889         "value.h", "mi/mi-cmds.h".
5890         (extension_language_python): Declare.
5891         (GDBPY_AUTO_FILE_NAME): Delete.
5892         (enum py_bt_status): Moved to extension.h and renamed to
5893         ext_lang_bt_status.
5894         (enum frame_filter_flags): Moved to extension.h.
5895         (enum py_frame_args): Moved to extension.h and renamed to
5896         ext_lang_frame_args.
5897         (finish_python_initialization): Delete.
5898         (eval_python_from_control_command): Delete.
5899         (source_python_script): Delete.
5900         (apply_val_pretty_printer): Delete.
5901         (apply_frame_filter): Delete.
5902         (preserve_python_values): Delete.
5903         (gdbpy_script_language_defn): Delete.
5904         (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
5905         (start_type_printers, apply_type_printers, free_type_printers): Delete.
5906
5907         * auto-load.c: #include "extension.h".
5908         (GDB_AUTO_FILE_NAME): Delete.
5909         (auto_load_gdb_scripts_enabled): Make public.  New arg extlang.
5910         (script_language_gdb): Delete, moved to extension.c and renamed to
5911         extension_language_gdb.
5912         (source_gdb_script_for_objfile): Delete.
5913         (auto_load_pspace_info): New member unsupported_script_warning_printed.
5914         (loaded_script): Change type of language member to
5915         struct extension_language_defn *.
5916         (init_loaded_scripts_info): Initialize
5917         unsupported_script_warning_printed.
5918         (maybe_add_script): Make static.  Change type of language arg to
5919         struct extension_language_defn *.
5920         (clear_section_scripts): Reset unsupported_script_warning_printed.
5921         (auto_load_objfile_script_1): Rewrite to use extension language API.
5922         (auto_load_objfile_script): Make public.  Remove support-compiled-in
5923         and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
5924         (source_section_scripts): Rewrite to use extension language API.
5925         (load_auto_scripts_for_objfile): Rewrite to use
5926         auto_load_scripts_for_objfile.
5927         (collect_matching_scripts_data): Change type of language member to
5928         struct extension_language_defn *.
5929         (auto_load_info_scripts): Change type of language arg to
5930         struct extension_language_defn *.
5931         (unsupported_script_warning_print): New function.
5932         (script_not_found_warning_print): Make static.
5933         (_initialize_auto_load): Rewrite construction of scripts-directory
5934         help.
5935         * auto-load.h (struct objfile): Add forward decl.
5936         (struct script_language): Delete.
5937         (struct auto_load_pspace_info): Add forward decl.
5938         (struct extension_language_defn): Add forward decl.
5939         (maybe_add_script): Delete.
5940         (auto_load_objfile_script): Declare.
5941         (script_not_found_warning_print): Delete.
5942         (auto_load_info_scripts): Update prototype.
5943         (auto_load_gdb_scripts_enabled): Declare.
5944         * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
5945         auto_load_python_scripts_enabled and made public.
5946         (script_language_python): Delete, moved to python.c.
5947         (gdbpy_script_language_defn): Delete.
5948         (info_auto_load_python_scripts): Update to use
5949         extension_language_python.
5950
5951         * breakpoint.c (condition_command): Replace call to
5952         gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
5953         (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
5954         with call to breakpoint_ext_lang_cond_says_stop.
5955         * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
5956         from gdbpy_should_stop.  Change result type to enum scr_bp_stop.
5957         New arg slang.  Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
5958         (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
5959         New arg slang.
5960         (local_setattro): Print name of extension language with existing
5961         stop condition.
5962
5963         * valprint.c (val_print, value_print): Update to call
5964         apply_ext_lang_val_pretty_printer.
5965         * cp-valprint.c (cp_print_value): Update call to
5966         apply_ext_lang_val_pretty_printer.
5967         * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
5968         (gdbpy_apply_val_pretty_printer): Renamed from
5969         apply_val_pretty_printer.  New arg extlang.
5970         (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
5971
5972         * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
5973         extension language API.
5974         * cli/cli-script.c (execute_control_command): Update to call
5975         eval_ext_lang_from_control_command.
5976
5977         * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
5978         enum ext_lang_bt_status values.  Update call to
5979         apply_ext_lang_frame_filter.
5980         (mi_cmd_stack_list_locals): Ditto.
5981         (mi_cmd_stack_list_args): Ditto.
5982         (mi_cmd_stack_list_variables): Ditto.
5983         * mi/mi-main.c: Delete #include "python/python-internal.h".
5984         Add #include "extension.h".
5985         (mi_cmd_list_features): Replace reference to python internal variable
5986         gdb_python_initialized with call to ext_lang_initialized_p.
5987
5988         * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
5989         Update to use enum ext_lang_frame_args.  Update to call
5990         apply_ext_lang_frame_filter.
5991         * python/py-framefilter.c (extract_sym): Update to use enum
5992         ext_lang_bt_status.
5993         (extract_value, py_print_type, py_print_value): Ditto.
5994         (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
5995         (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
5996         (py_print_frame): Ditto.
5997         (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
5998         New arg extlang.  Update to use enum ext_lang_bt_status.
5999
6000         * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
6001         finish_python_initialization.  Replace with call to
6002         finish_ext_lang_initialization.
6003
6004         * typeprint.c (do_free_global_table): Update to call
6005         free_ext_lang_type_printers.
6006         (create_global_typedef_table): Update to call
6007         start_ext_lang_type_printers.
6008         (find_global_typedef): Update to call apply_ext_lang_type_printers.
6009         * typeprint.h (struct ext_lang_type_printers): Add forward decl.
6010         (type_print_options): Change type of global_printers from "void *"
6011         to "struct ext_lang_type_printers *".
6012
6013         * value.c (preserve_values): Update to call preserve_ext_lang_values.
6014         * python/py-value.c: Remove #ifdef HAVE_PYTHON.
6015         (gdbpy_preserve_values): Renamed from preserve_python_values.
6016         New arg extlang.
6017         (!HAVE_PYTHON, preserve_python_values): Delete.
6018
6019         * utils.c (quit_flag): Delete, moved to extension.c.
6020         (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
6021         extension.c.
6022
6023         * eval.c: Delete #include "python/python.h".
6024         * main.c: Delete #include "python/python.h".
6025
6026         * defs.h: Update comment.
6027
6028 2014-02-06  Joel Brobecker  <brobecker@adacore.com>
6029
6030         GDB 7.7 released.
6031
6032 2014-02-05  Mark Kettenis  <kettenis@gnu.org>
6033
6034         * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
6035         defined.
6036
6037 2014-02-05  Yao Qi  <yao@codesourcery.com>
6038
6039         * remote.c (remote_pass_signals): Remove local 'buf' and use
6040         rs->buf.
6041         (remote_program_signals): Likewise.
6042
6043 2014-02-05  Yao Qi  <yao@codesourcery.com>
6044
6045         * ctf.c: Include "inferior.h" and "gdbthread.h".
6046         (CTF_PID): A new macro.
6047         (ctf_open): Call inferior_appeared and add_thread_silent.
6048         (ctf_close): Call exit_inferior_silent and set inferior_ptid.
6049         (ctf_thread_alive): New function.
6050         (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
6051
6052 2014-02-05  Yao Qi  <yao@codesourcery.com>
6053
6054         Revert this patch:
6055
6056         2013-05-24  Yao Qi  <yao@codesourcery.com>
6057
6058         * tracepoint.c (TFILE_PID): Remove.
6059         (tfile_open): Don't add thread and inferior.
6060         (tfile_close): Don't set 'inferior_ptid'.  Don't call
6061         exit_inferior_silent.
6062         (tfile_thread_alive): Remove.
6063         (init_tfile_ops): Don't set field 'to_thread_alive' of
6064         tfile_ops.
6065
6066 2014-02-04  Christian Eggers  <ceggers@gmx.de>  (tiny change)
6067
6068         * remote.c (remote_start_remote): Call remote_check_symbols even
6069         if only symbol-file (not file) has been given.
6070
6071 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
6072
6073         * gdbarch.sh (skip_entrypoint): New callback.
6074         * gdbarch.c, gdbarch.h: Regenerate.
6075         * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
6076         * infrun.c (fill_in_stop_func): Likewise.
6077         * ppc-linux-tdep.c: Include "elf/ppc64.h".
6078         (ppc_elfv2_elf_make_msymbol_special): New function.
6079         (ppc_elfv2_skip_entrypoint): Likewise.
6080         (ppc_linux_init_abi): Install them for ELFv2.
6081
6082 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
6083
6084         * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
6085         (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
6086         (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
6087         (ppc64_sysv_abi_return_value): Likewise.  Also, handle small
6088         structures returned in GPRs.
6089
6090 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
6091
6092         * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
6093         offset to the stack parameter list for the ELFv2 ABI.
6094
6095 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
6096
6097         * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
6098         set_gdbarch_convert_from_func_ptr_addr and
6099         set_gdbarch_elf_make_msymbol_special for ELFv1.
6100         * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
6101         function descriptors on ELFv1.
6102         (ppc64_sysv_abi_push_dummy_call): Likewise.  On ELFv2,
6103         set up r12 at function entry.
6104
6105 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
6106
6107         * ppc-tdep.h (enum powerpc_elf_abi): New data type.
6108         (struct gdbarch_tdep): New member elf_abi.
6109
6110         * rs6000-tdep.c: Include "elf/ppc64.h".
6111         (rs6000_gdbarch_init): Detect ELF ABI version.
6112
6113 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
6114
6115         * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
6116         within a register pair holding a DFP 128-bit value on little-endian.
6117         (ppc64_sysv_abi_return_value_base): Likewise.
6118         * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
6119         (dfp_pseudo_register_write): Likewise.
6120
6121 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
6122
6123         * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
6124         offset on little-endian when passing _Decimal32.
6125         (ppc64_sysv_abi_return_value_base): Likewise for return values.
6126
6127 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
6128
6129         * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
6130         of the overlapped FP register within the VSX register on little-
6131         endian platforms.
6132         (efpr_pseudo_register_write): Likewise.
6133
6134 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
6135
6136         * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
6137         offset on little-endian when passing small structures.
6138
6139 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
6140
6141         * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
6142         (struct ppc64_sysv_argpos): New data structure.
6143         (ppc64_sysv_abi_push_float): Remove.
6144         (ppc64_sysv_abi_push_val): New function.
6145         (ppc64_sysv_abi_push_integer): Likewise.
6146         (ppc64_sysv_abi_push_freg): Likewise.
6147         (ppc64_sysv_abi_push_vreg): Likewise.
6148         (ppc64_sysv_abi_push_param): Likewise.
6149         (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
6150         (ppc64_sysv_abi_return_value_base): New function.
6151         (ppc64_sysv_abi_return_value): Refactor to use it.
6152
6153 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
6154
6155         * NEWS: Document new target powerpc64le-*-linux*.
6156
6157 2014-02-04  Mark Kettenis  <kettenis@gnu.org>
6158
6159         * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
6160         (sparc64obsd_supply_gregset): Handle registers sets used in ELF
6161         core dumps.
6162         (sparc64obsd_init_abi): Adjust minimum size of the general purpose
6163         register set used in ELF core dumps.  Add floating-point register set.
6164
6165 2014-02-03  Kevin Buettner  <kevinb@redhat.com>
6166
6167         * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite 
6168         dwarf2_to_gdb[] table using symbolic constants.  Adjust
6169         penultimate entry from number representing the PC register
6170         to symbolic constant representing the MDR register.  Add
6171         constant for the PC register to the end of the table.
6172
6173 2014-02-03  Mark Kettenis  <kettenis@gnu.org>
6174
6175         * bsd-kvm.c: Include <sys/param.h>
6176
6177 2014-02-03  Mark Kettenis  <kettenis@gnu.org>
6178
6179         * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
6180
6181 2014-01-31  Joel Brobecker  <brobecker@adacore.com>
6182
6183         * ada-lang.h (clear_ada_sym_cache): Delete.
6184
6185 2014-01-30  Ulrich Weigand  <uweigand@de.ibm.com>
6186
6187         * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
6188
6189 2014-01-29  Jose E. Marchesi  <jose.marchesi@oracle.com>
6190
6191         * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
6192           the sigreturn register save area only if the syscall is
6193           sigreturn.
6194
6195 2014-01-29  Joel Brobecker  <brobecker@adacore.com>
6196
6197         * valops.c (value_slice): Minor reformatting.
6198
6199 2014-01-28  Ulrich Weigand  <uweigand@de.ibm.com>
6200
6201         * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
6202
6203 2014-01-28  Joel Brobecker  <brobecker@adacore.com>
6204
6205         * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
6206         New static globals.
6207         (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
6208         (ada_ignore_descriptive_types_p): New static global.
6209         (find_parallel_type_by_descriptive_type): Return immediately
6210         if ada_ignore_descriptive_types_p is set.
6211         (_initialize_ada_language): Register new commands "maintenance
6212         set ada", "maintenance show ada", "maintenance set ada
6213         ignore-descriptive-types" and "maintenance show ada
6214         ignore-descriptive-types".
6215         * NEWS: Add entry for new "maint ada set/show
6216         ignore-descriptive-types" commands.
6217
6218 2014-01-27  Markus Metzger  <markus.t.metzger@intel.com>
6219
6220         * record-btrace.c (record_btrace_close): Call btrace_teardown
6221         for all threads.
6222
6223 2014-01-27  Joel Brobecker  <brobecker@adacore.com>
6224
6225         * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
6226         "ui-out.h".
6227
6228 2014-01-27  Joel Brobecker  <brobecker@adacore.com>
6229
6230         * ada-typeprint (type_is_full_subrange_of_target_type):
6231         New function.
6232         (print_range): Add parameter bounds_prefered_p.  If not set,
6233         try printing range types using the name of their base type.
6234         (print_range_type): Add parameter bounds_prefered_p.
6235         Use it in call to print_range.
6236         (print_array_type, ada_print_type): Update calls to print_range
6237         and print_range_type.
6238
6239 2014-01-27  Joel Brobecker  <brobecker@adacore.com>
6240
6241         * ada-typeprint.c (print_array_type, print_choices, print_range)
6242         (print_range_bound, print_dynamic_range_bound, print_range_type):
6243         Remove declaration.
6244
6245 2014-01-27  Joel Brobecker  <brobecker@adacore.com>
6246
6247         * ada-typeprint.c (print_range): Add missing empty line
6248         after local declaration.
6249
6250 2014-01-27  Joel Brobecker  <brobecker@adacore.com>
6251
6252         * ada-valprint.c (print_optional_low_bound): Get index_type's
6253         target type for as long as it is a TYPE_CODE_RANGE.
6254
6255 2014-01-27  Joel Brobecker  <brobecker@adacore.com>
6256
6257         * procfs.c (procfs_make_note_section): Remove assertion and
6258         associated comment.
6259
6260 2014-01-24  Yao Qi  <yao@codesourcery.com>
6261
6262         * remote.c (remote_read_bytes): Change type of len to ULONGEST.
6263         * corelow.c (get_core_siginfo): Likewise.
6264
6265 2014-01-24  Yao Qi  <yao@codesourcery.com>
6266
6267         * remote.c (remote_write_bytes_aux): Change type of 'len' to
6268         ULONGEST.  Don't check 'len' is negative.
6269         (remote_write_bytes):  Change type of 'len' to ULONGEST.
6270
6271 2014-01-23  Tom Tromey  <tromey@redhat.com>
6272
6273         PR python/16485:
6274         * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
6275         Handle exception from frame.block.
6276         (FrameVars.fetch_frame_locals): Likewise.
6277
6278 2014-01-23  Tom Tromey  <tromey@redhat.com>
6279
6280         PR python/16487:
6281         * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
6282         on a NULL pointer.  Move "goto error" to correct place.
6283
6284 2014-01-23  Tom Tromey  <tromey@redhat.com>
6285
6286         PR python/16491:
6287         * python/py-framefilter.c (apply_frame_filter): Call
6288         ensure_python_env after computing gdbarch.
6289
6290 2014-01-23  Yao Qi  <yao@codesourcery.com>
6291
6292         * target.c (raw_memory_xfer_partial): Change argument type
6293         from void * to gdb_byte *.
6294         (memory_xfer_partial_1, memory_xfer_partial): Likewise.
6295
6296 2014-01-22  Doug Evans  <dje@google.com>
6297
6298         New gdbserver option --debug-format=timestamp.
6299         * NEWS: Mention it.
6300
6301 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
6302
6303         * syscalls/s390x-linux.xml: New file.
6304         * syscalls/s390-linux.xml: New file.
6305         * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
6306         (XML_SYSCALL_FILENAME_S390X): Likewise.
6307         (op_svc): New enum value for SVC opcode.
6308         (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
6309         (s390_linux_get_syscall_number): New function.
6310         (s390_gdbarch_init): Register '*get_syscall_number' and the
6311         syscall xml file name.
6312         * data-directory/Makefile.in (SYSCALLS_FILES): Add
6313         "s390-linux.xml" and "s390x-linux.xml".
6314         * NEWS: Announce new feature.
6315
6316 2014-01-22  Baruch Siach  <baruch@tkos.co.il>
6317
6318         * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
6319
6320 2014-01-22  Pedro Alves  <palves@redhat.com>
6321
6322         * xtensa-config.c: Include defs.h.
6323
6324 2014-01-22  Joel Brobecker  <brobecker@adacore.com>
6325
6326         * common/common-utils.h: Add "ARI:" comment beside __func__
6327         reference.
6328
6329 2014-01-22  Joel Brobecker  <brobecker@adacore.com>
6330
6331         * common/common-utils.h (FUNCTION_NAME): Expand the macro's
6332         documentation a bit.
6333
6334 2014-01-21  Roland McGrath  <mcgrathr@google.com>
6335
6336         * configure.ac: Call AM_PROG_INSTALL_STRIP.
6337         * configure: Regenerate.
6338         * aclocal.m4: Regenerate.
6339         * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
6340         New substituted variables.
6341         (install-strip): New target.
6342         (INSTALL_SCRIPT): New substituted variable.
6343         (FLAGS_TO_PASS): Add it.
6344         (install-only): Use $(INSTALL_SCRIPT) rather than
6345         $(INSTALL_PROGRAM) for gcore.
6346
6347 2014-01-20  Tom Tromey  <tromey@redhat.com>
6348
6349         * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
6350         together.
6351
6352 2014-01-20  Tom Tromey  <tromey@redhat.com>
6353
6354         * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
6355         (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
6356         (deprecated_cmd_warning, complete_on_cmdlist): Update.
6357         * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
6358         (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
6359         (struct cmd_list_element) <flags>: Remove.
6360         <cmd_deprecated, deprecated_warn_user, malloced_replacement,
6361         doc_allocated>: New fields.
6362         <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
6363         bitfields.
6364         * maint.c (maintenance_do_deprecate): Update.
6365         * top.c (execute_command): Update.
6366
6367 2014-01-20  Baruch Siach  <baruch@tkos.co.il>
6368
6369         * xtensa-linux-nat.c: Include asm/ptrace.h.
6370
6371 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
6372
6373         * Makefile.in (SFILES): Add d-support.c.
6374         (COMMON_OBS): Add d-support.o.
6375         * d-lang.h (d_parse_symbol): Add comment, now defined in
6376         d-support.c.
6377         * d-lang.c (parse_call_convention)
6378         (parse_attributes, parse_function_types)
6379         (parse_function_args, parse_type, parse_identifier)
6380         (call_convention_p, d_parse_symbol): Move functions to ...
6381         * d-support.c: ... New file.
6382
6383 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
6384
6385         * d-lang.h (d_parse_symbol): Add declaration.
6386         * d-lang.c (extract_identifiers)
6387         (extract_type_info): Remove functions.
6388         (parse_call_convention, parse_attributes)
6389         (parse_function_types, parse_function_args)
6390         (parse_type, parse_identifier, call_convention_p)
6391         (d_parse_symbol): New functions.
6392         (d_demangle): Use d_parse_symbol to demangle D symbols.
6393
6394 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
6395
6396         * d-lang.h (struct builtin_d_type): New data type.
6397         (builtin_d_type): Add declaration.
6398         * d-lang.c (d_language_arch_info, build_d_types)
6399         (builtin_d_type): New functions.
6400         (enum d_primitive_types): New data type.
6401         (d_language_defn): Change c_language_arch_info to
6402         d_language_arch_info.
6403         (d_type_data): New static variable.
6404         (_initialize_d_language): Initialize d_type_data.
6405
6406 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
6407
6408         * d-lang.h (d_main_name): Add declaration.
6409         * d-lang.c (d_main_name): New function.
6410         * symtab.c (find_main_name): Add call to d_main_name.
6411
6412 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
6413
6414         * d-lang.c (d_language_defn): Change macro_expansion_c to
6415         macro_expansion_no.
6416
6417 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
6418
6419         * MAINTAINERS: Add myself as a write-after-approval maintainer.
6420
6421 2014-01-17  Sergio Durigan Junior  <sergiodj@redhat.com>
6422
6423         * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
6424         gdb_exception" declaration.
6425         * remote.c (getpkt_or_notif_sane): Likewise.
6426
6427 2014-01-17  Doug Evans  <dje@google.com>
6428
6429         * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
6430         function, contents of dirnames_to_char_ptr_vec_append moved here.
6431         (delim_string_to_char_ptr_vec): New function.
6432         (dirnames_to_char_ptr_vec_append): Rewrite.
6433         * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
6434
6435 2014-01-17  Doug Evans  <dje@google.com>
6436
6437         * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
6438         and moved here ...
6439         * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
6440         #include "common-utils.h".
6441         (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
6442         * common/vec.h (VEC_ASSERT_PASS): Update.
6443         * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
6444         (MACH_CHECK_ERROR): Update.
6445
6446 2014-01-17  Simon Marchi  <simon.marchi@ericsson.com>
6447
6448         * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
6449         comments.
6450         * gdbarch.h: Regenerate.
6451
6452 2014-01-16  Tom Tromey  <tromey@redhat.com>
6453
6454         * value.c (struct value) <regnum>: Move earlier.
6455
6456 2014-01-16  Tom Tromey  <tromey@redhat.com>
6457
6458         * remote.c (extended_remote_create_inferior): Rename from
6459         extended_remote_create_inferior_1.  Add "ops" argument.  Remove
6460         old implementation.
6461
6462 2014-01-16  Pedro Alves  <palves@redhat.com>
6463
6464         * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
6465         NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
6466         the backchain.
6467
6468 2014-01-16  Doug Evans  <dje@google.com>
6469
6470         * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
6471
6472 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
6473
6474         * btrace.h (btrace_thread_flag): New.
6475         (struct btrace_thread_info) <flags>: New.
6476         * record-btrace.c (record_btrace_resume_thread)
6477         (record_btrace_find_thread_to_move, btrace_step_no_history)
6478         (btrace_step_stopped, record_btrace_start_replaying)
6479         (record_btrace_step_thread, record_btrace_decr_pc_after_break)
6480         (record_btrace_find_resume_thread): New.
6481         (record_btrace_resume, record_btrace_wait): Extend.
6482         (record_btrace_can_execute_reverse): New.
6483         (record_btrace_open): Fail in non-stop mode.
6484         (record_btrace_set_replay): Split into this, ...
6485         (record_btrace_stop_replaying): ... this, ...
6486         (record_btrace_clear_histories): ... and this.
6487         (init_record_btrace_ops): Init to_can_execute_reverse.
6488         * NEWS: Announce it.
6489
6490 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
6491
6492         * target.h (struct target_ops) <to_decr_pc_after_break>: New.
6493         (forward_target_decr_pc_after_break)
6494         (target_decr_pc_after_break): New.
6495         * target.c (forward_target_decr_pc_after_break)
6496         (target_decr_pc_after_break): New.
6497         * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
6498         instead of gdbarch_decr_pc_after_break.
6499         * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
6500         instead of gdbarch_decr_pc_after_break.
6501         * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
6502         instead of gdbarch_decr_pc_after_break.
6503         * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
6504         instead of gdbarch_decr_pc_after_break.
6505         * linux-thread-db.c (check_event): Call target_decr_pc_after_break
6506         instead of gdbarch_decr_pc_after_break.
6507         * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
6508         instead of gdbarch_decr_pc_after_break.
6509
6510 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
6511
6512         * btrace.c: Include regcache.h.
6513         (btrace_add_pc): New.
6514         (btrace_enable): Call btrace_add_pc.
6515         (btrace_is_empty): New.
6516         * btrace.h (btrace_is_empty): New.
6517         * record-btrace.c (require_btrace, record_btrace_info): Call
6518         btrace_is_empty.
6519
6520 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
6521
6522         * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
6523         Support delta reads.
6524         (linux_disable_btrace): Change return type.
6525         * common/linux-btrace.h (linux_read_btrace): Change parameters
6526         and return type to allow error reporting.  Update users.
6527         (linux_disable_btrace): Change return type.  Update users.
6528         * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
6529         New.
6530         (btrace_error): New.
6531         (btrace_block) <begin>: Comment on BEGIN == 0.
6532         * btrace.c (btrace_compute_ftrace): Start from the end of
6533         the current trace.
6534         (btrace_stitch_trace, btrace_clear_history): New.
6535         (btrace_fetch): Read delta trace, return if replaying.
6536         (btrace_clear): Move clear history code to btrace_clear_history.
6537         (parse_xml_btrace): Throw an error if parsing failed.
6538         * target.h (struct target_ops) <to_read_btrace>: Change parameters
6539         and return type to allow error reporting.
6540         (target_read_btrace): Change parameters and return type to allow
6541         error reporting.
6542         * target.c (target_read_btrace): Update.
6543         * remote.c (remote_read_btrace): Support delta reads.  Pass
6544         errors on.
6545         * NEWS: Announce it.
6546
6547 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
6548
6549         * record.h (record_btrace_frame_unwind)
6550         (record_btrace_tailcall_frame_unwind): New declarations.
6551         * dwarf2-frame: Include record.h
6552         (dwarf2_frame_cfa): Throw an error for btrace frames.
6553         * record-btrace.c: Include hashtab.h.
6554         (btrace_get_bfun_name): New.
6555         (btrace_call_history): Call btrace_get_bfun_name.
6556         (struct btrace_frame_cache): New.
6557         (bfcache): New.
6558         (bfcache_hash, bfcache_eq, bfcache_new): New.
6559         (btrace_get_frame_function): New.
6560         (record_btrace_frame_unwind_stop_reason): Allow unwinding.
6561         (record_btrace_frame_this_id): Compute own id.
6562         (record_btrace_frame_prev_register): Provide PC, throw_error
6563         for all other registers.
6564         (record_btrace_frame_sniffer): Detect btrace frames.
6565         (record_btrace_tailcall_frame_sniffer): New.
6566         (record_btrace_frame_dealloc_cache): New.
6567         (record_btrace_frame_unwind): Add new functions.
6568         (record_btrace_tailcall_frame_unwind): New.
6569         (_initialize_record_btrace): Allocate cache.
6570         * btrace.c (btrace_clear): Call reinit_frame_cache.
6571         * NEWS: Announce it.
6572
6573 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
6574
6575         * record-btrace.c (record_btrace_set_replay)
6576         (record_btrace_goto_begin, record_btrace_goto_end)
6577         (record_btrace_goto): New.
6578         (init_record_btrace_ops): Initialize them.
6579         * NEWS: Announce it.
6580
6581 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
6582
6583         * record-btrace.c (record_btrace_find_new_threads)
6584         (record_btrace_thread_alive): New.
6585         (init_record_btrace_ops): Initialize to_find_new_threads and
6586         to_thread_alive.
6587
6588 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
6589
6590         * record-btrace.c (record_btrace_resume): New.
6591         (record_btrace_wait): New.
6592         (init_record_btrace_ops): Initialize to_wait and to_resume.
6593
6594 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
6595
6596         * record-btrace.c (record_btrace_xfer_partial)
6597         (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
6598         (record_btrace_allow_memory_access): New.
6599         (init_record_btrace_ops): Initialize new methods.
6600         * target.c (raw_memory_xfer_partial): Bail out if target reports
6601         that this memory is not available.
6602
6603 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
6604
6605         * target.h (target_ops) <to_insert_breakpoint>
6606         <to_remove_breakpoint>: Add target_ops parameter.
6607         (forward_target_insert_breakpoint): New.
6608         (forward_target_remove_breakpoint): New.
6609         (memory_remove_breakpoint, memory_insert_breakpoint):
6610         Add target_ops parameter.
6611         * target.c (target_insert_breakpoint): Split into this and ...
6612         (forward_target_insert_breakpoint): ... this.
6613         (target_remove_breakpoint): Split into this and ...
6614         (forward_target_remove_breakpoint): ... this.
6615         (debug_to_insert_breakpoint): Add target_ops parameter.
6616         Call forward_target_insert_breakpoint.
6617         (debug_to_remove_breakpoint): Add target_ops parameter.
6618         Call forward_target_remove_breakpoint.
6619         (update_current_target): Do not inherit or default to_insert_breakpoint
6620         and to_remove_breakpoint.
6621         * corelow.c (ignore): Add target_ops parameter.
6622         * exec.c (ignore): Add target_ops parameter.
6623         * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
6624         Add target_ops parameter.
6625         * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
6626         Add target_ops parameter.
6627         * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
6628         Add target_ops parameter.
6629         * record-full.c (record_full_beneath_to_insert_breakpoint)
6630         (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
6631         (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
6632         (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
6633         (record_full_core_remove_breakpoint): Add target_ops parameter.
6634         Update users.
6635         (record_full_beneath_to_insert_breakpoint_ops)
6636         (record_full_beneath_to_remove_breakpoint_ops)
6637         (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
6638         (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
6639         tmp_to_remove_breakpoint_ops,
6640         record_full_beneath_to_insert_breakpoint_ops, and
6641         record_full_beneath_to_remove_breakpoint_ops.
6642         * remote-m32r-sdi.c (m32r_insert_breakpoint)
6643         (m32r_remove_breakpoint): Add target_ops parameter.
6644         * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
6645         Add target_ops parameter.
6646         * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
6647         Add target_ops parameter.
6648
6649 2014-01-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
6650             Markus Metzger  <markus.t.metzger@intel.com>
6651
6652         * record-btrace.c: Include frame-unwind.h.
6653         (record_btrace_frame_unwind_stop_reason)
6654         (record_btrace_frame_this_id, record_btrace_frame_prev_register)
6655         (record_btrace_frame_sniffer, record_btrace_frame_unwind):
6656         New.
6657         (init_record_btrace_ops): Install it.
6658
6659 2014-01-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
6660
6661         * frame.c (get_frame_unwind_stop_reason): Unconditionally call
6662         get_prev_frame_1.
6663
6664 2014-01-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
6665
6666         * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
6667         earlier.
6668
6669 2014-01-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
6670
6671         * frame-unwind.c: Include target.h.
6672         (frame_unwind_try_unwinder): New function with code from ...
6673         (frame_unwind_find_by_frame): ... here.  New variable
6674         unwinder_from_target, call also target_get_unwinder)
6675         (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
6676         * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
6677         * target.h (struct target_ops): New fields to_get_unwinder and
6678         to_get_tailcall_unwinder.
6679         (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
6680
6681 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
6682
6683         * record-btrace.c (record_btrace_fetch_registers)
6684         (record_btrace_store_registers)
6685         (record_btrace_to_prepare_to_store): New.
6686         (init_record_btrace_ops): Add the above.
6687
6688 2014-01-16  Tom Tromey  <tromey@redhat.com>
6689
6690         * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
6691         * target.h (struct target_ops) <to_prepare_to_store>: Add
6692         argument.
6693         (target_prepare_to_store): Add argument.
6694         * target.c (debug_to_prepare_to_store): Add argument.
6695         (update_current_target): Update.
6696         * remote.c (remote_prepare_to_store): Add 'self' argument.
6697         * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
6698         * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
6699         * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
6700         * record-full.c (record_full_core_prepare_to_store): Add 'self'
6701         argument.
6702         * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
6703         * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
6704         * monitor.c (monitor_prepare_to_store): Add 'self' argument.
6705         * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
6706         * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
6707
6708 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
6709
6710         * btrace.h (replay) <replay>: New.
6711         (btrace_is_replaying): New.
6712         * btrace.c (btrace_clear): Free replay iterator.
6713         (btrace_is_replaying): New.
6714         * record-btrace.c (record_btrace_is_replaying): New.
6715         (record_btrace_info): Print insn number if replaying.
6716         (record_btrace_insn_history): Start at replay position.
6717         (record_btrace_call_history): Start at replay position.
6718         (init_record_btrace_ops): Init to_record_is_replaying.
6719
6720 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
6721
6722         * record-btrace.c (record_btrace_insn_history_range): Include
6723         end.
6724         (record_btrace_insn_history_from): Adjust range.
6725         (record_btrace_call_history_range): Include
6726         end.
6727         (record_btrace_call_history_from): Adjust range.
6728         * NEWS: Announce changes.
6729
6730 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
6731
6732         * record.h (enum record_print_flag)
6733         <record_print_indent_calls>: New.
6734         * record.c (get_call_history_modifiers): Recognize /c modifier.
6735         (_initialize_record): Document /c modifier.
6736         * record-btrace.c (btrace_call_history): Add btinfo parameter.
6737         Reorder fields.  Optionally indent the function name.  Update
6738         all users.
6739         * NEWS: Announce changes.
6740
6741 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
6742
6743         * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
6744
6745 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
6746
6747         * btrace.c (ftrace_new_function): Start counting at one.
6748         * record-btrace.c (record_btrace_info): Adjust number of calls
6749         and insns.
6750         * NEWS: Announce it.
6751
6752 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
6753
6754         * record-btrace.c (btrace_call_history_insn_range): Print
6755         insn range as [begin, end].
6756
6757 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
6758
6759         * btrace.h (struct btrace_func_link): New.
6760         (enum btrace_function_flag): New.
6761         (struct btrace_inst): Rename to ...
6762         (struct btrace_insn): ...this. Update all users.
6763         (struct btrace_func) <ibegin, iend>: Remove.
6764         (struct btrace_func_link): New.
6765         (struct btrace_func): Rename to ...
6766         (struct btrace_function): ...this. Update all users.
6767         (struct btrace_function) <segment, flow, up, insn, insn_offset)
6768         (number, level, flags>: New.
6769         (struct btrace_insn_iterator): Rename to ...
6770         (struct btrace_insn_history): ...this.
6771         Update all users.
6772         (struct btrace_insn_iterator, btrace_call_iterator): New.
6773         (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
6774         (struct btrace_target_info) <begin, end, level>
6775         <insn_history, call_history>: New.
6776         (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
6777         (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
6778         (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
6779         (btrace_call_number, btrace_call_begin, btrace_call_end)
6780         (btrace_call_prev, btrace_call_next, btrace_call_cmp)
6781         (btrace_find_function_by_number, btrace_set_insn_history)
6782         (btrace_set_call_history): New.
6783         * btrace.c (btrace_init_insn_iterator)
6784         (btrace_init_func_iterator, compute_itrace): Remove.
6785         (ftrace_print_function_name, ftrace_print_filename)
6786         (ftrace_skip_file): Change
6787         parameter to const.
6788         (ftrace_init_func): Remove.
6789         (ftrace_debug): Use new btrace_function fields.
6790         (ftrace_function_switched): Also consider gaining and
6791         losing symbol information).
6792         (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
6793         (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
6794         (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
6795         New.
6796         (ftrace_new_function): Move. Remove debug print.
6797         (ftrace_update_lines, ftrace_update_insns): New.
6798         (ftrace_update_function): Check for call, ret, and jump.
6799         (compute_ftrace): Renamed to ...
6800         (btrace_compute_ftrace): ...this. Rewritten to compute call
6801         stack.
6802         (btrace_fetch, btrace_clear): Updated.
6803         (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
6804         (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
6805         (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
6806         (btrace_call_number, btrace_call_begin, btrace_call_end)
6807         (btrace_call_prev, btrace_call_next, btrace_call_cmp)
6808         (btrace_find_function_by_number, btrace_set_insn_history)
6809         (btrace_set_call_history): New.
6810         * record-btrace.c (require_btrace): Use new btrace thread
6811         info fields.
6812         (record_btrace_info, btrace_insn_history)
6813         (record_btrace_insn_history, record_btrace_insn_history_range):
6814         Use new btrace thread info fields and new iterator.
6815         (btrace_func_history_src_line): Rename to ...
6816         (btrace_call_history_src_line): ...this. Use new btrace
6817         thread info fields.
6818         (btrace_func_history): Rename to ...
6819         (btrace_call_history): ...this. Use new btrace thread info
6820         fields and new iterator.
6821         (record_btrace_call_history, record_btrace_call_history_range):
6822         Use new btrace thread info fields and new iterator.
6823
6824 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
6825
6826         * frame.h (frame_id_build_unavailable_stack_special): New.
6827         * frame.c (frame_id_build_unavailable_stack_special): New.
6828
6829 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
6830
6831         * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
6832         (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
6833         (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
6834         to gdbarch.
6835         * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
6836         (i386_insn_is_jump, i386_jmp_p): New.
6837         (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
6838         insn_is_jump to gdbarch.
6839         * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
6840         * gdbarch.h: Regenerated.
6841         * gdbarch.c: Regenerated.
6842         * arch-utils.h (default_insn_is_call, default_insn_is_ret)
6843         (default_insn_is_jump): New.
6844         * arch-utils.c (default_insn_is_call, default_insn_is_ret)
6845         (default_insn_is_jump): New.
6846
6847 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
6848
6849         * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
6850         Change to ...
6851         (btrace_read_type) <BTRACE_READ_ALL>: ... this.  Update users.
6852         (btrace_read_type) <btrace_read_new>: Change to ...
6853         (btrace_read_type) <BTRACE_READ_NEW>: ... this.  Update users.
6854
6855 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
6856
6857         * common/linux-btrace.c (linux_read_btrace): Free trace from
6858         previous iteration.
6859
6860 2014-01-15  Doug Evans  <dje@google.com>
6861
6862         * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
6863         uint32_t.
6864
6865 2014-01-15  Tom Tromey  <tromey@redhat.com>
6866
6867         * dbxread.c (process_one_symbol): Use set_objfile_main_name.
6868         * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
6869         * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
6870         (set_objfile_main_name): New function.
6871         * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
6872         language_of_main>: New fields.
6873         (set_objfile_main_name): Declare.
6874         * symtab.c (find_main_name): Loop over objfiles to find the main
6875         name and language.
6876         (set_main_name): Now static.
6877         (get_main_info): Add comment.
6878         * symtab.h (set_main_name): Don't declare.
6879
6880 2014-01-15  Tom Tromey  <tromey@redhat.com>
6881
6882         * symtab.c (main_progspace_key): New global.
6883         (struct main_info): New.
6884         (name_of_main, language_of_main): Remove.
6885         (get_main_info, main_info_cleanup): New function.
6886         (set_main_name, main_name, main_language): Use get_main_info.
6887         (_initialize_symtab): Initialize main_progspace_key.
6888
6889 2014-01-15  Tom Tromey  <tromey@redhat.com>
6890
6891         * dbxread.c (process_one_symbol): Update.
6892         * dwarf2read.c (read_partial_die): Update.
6893         * symfile.c (set_initial_language): Call main_language.
6894         * symtab.c (language_of_main): Now static.
6895         (set_main_name): Add 'lang' parameter.
6896         (find_main_name): Update.
6897         (main_language): New function.
6898         (symtab_observer_executable_changed): Update.
6899         * symtab.h (set_main_name): Update.
6900         (language_of_main): Remove.
6901         (main_language): Declare.
6902
6903 2014-01-15  Tom Tromey  <tromey@redhat.com>
6904
6905         * symfile.c (init_entry_point_info): Use new "initialized" field.
6906         Update.
6907         * objfiles.h (struct entry_point) <initialized>: New field.
6908         (struct objfile_per_bfd_storage) <ei>: New field, moved from...
6909         (struct objfile) <ei>: ...here.  Remove.
6910         * objfiles.c (entry_point_address_query): Update.
6911
6912 2014-01-15  Tom Tromey  <tromey@redhat.com>
6913
6914         * objfiles.c (entry_point_address_query): Relocate entry point
6915         address.
6916         (objfile_relocate1): Do not relocate entry point address.
6917         * objfiles.h (struct entry_info) <entry_point>: Update comment.
6918         <the_bfd_section_index>: New field.
6919         * symfile.c (init_entry_point_info): Find the entry point's
6920         section.
6921
6922 2014-01-15  Tom Tromey  <tromey@redhat.com>
6923
6924         * solib-frv.c (enable_break): Use entry_point_address_query.
6925
6926 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
6927
6928         * NEWS: Add note on improved process record-replay on
6929         arm*-linux* targets.
6930
6931 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
6932
6933         * arm-tdep.c (enum arm_record_result): New enum.
6934         (arm_record_unsupported_insn): New function.
6935         (arm_record_coproc_data_proc): Removed.
6936         (thumb2_record_ld_st_multiple): New function.
6937         (thumb2_record_ld_st_dual_ex_tbb): New function.
6938         (thumb2_record_data_proc_sreg_mimm): New function.
6939         (thumb2_record_ps_dest_generic): New function.
6940         (thumb2_record_branch_misc_cntrl): New function.
6941         (thumb2_record_str_single_data): New function.
6942         (thumb2_record_ld_mem_hints): New function.
6943         (thumb2_record_ld_word): New function.
6944         (thumb2_record_lmul_lmla_div): New function.
6945         (thumb2_record_decode_insn_handler): New function.
6946         (decode_insn): Add thumb32 instruction handlers.
6947
6948 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
6949
6950         * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
6951         (struct arm_linux_record_tdep): Declare.
6952         (arm_canonicalize_syscall): New function.
6953         (arm_all_but_pc_registers_record): New function.
6954         (arm_linux_syscall_record): New function.
6955         (arm_linux_init_abi): Add syscall recording constructs.
6956         * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
6957         decoding.  (arm_record_coproc_data_proc): Update arm syscall
6958         decoding.
6959         * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
6960         <arm_syscall_record>: New field.
6961         * configure.tgt (arm*-*-linux*): Add linux-record.o to
6962         gdb_target_obs.
6963
6964 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
6965
6966         * arm-tdep.c (thumb_record_misc): Update to use sp as base
6967         register for push instruction recording.
6968
6969 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
6970
6971         * arm-tdep.c (thumb_record_misc): Update to correct logical
6972         error while recording ldm, ldmia and pop instructions.
6973
6974 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
6975
6976         * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
6977
6978 2014-01-15  Pedro Alves  <palves@redhat.com>
6979
6980         * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
6981         (go32_resume, go32_fetch_registers, store_register)
6982         (go32_store_registers, go32_prepare_to_store)
6983         (go32_xfer_memory, go32_files_info, go32_kill_inferior)
6984         (go32_create_inferior, go32_can_run, go32_terminal_init)
6985         (go32_terminal_inferior, go32_terminal_ours): Delete forward
6986         declarations.
6987
6988 2014-01-15  Tom Tromey  <tromey@redhat.com>
6989
6990         * target.h (async_callback_ftype): New typedef.
6991         (struct target_ops) <to_async>: Use it.
6992
6993 2014-01-15  Joel Brobecker  <brobecker@adacore.com>
6994
6995         * python/py-value.c (get_field_type): Remove unnecessary curly
6996         braces for single-statement if block.
6997
6998 2014-01-15  Joel Brobecker  <brobecker@adacore.com>
6999
7000         * python/py-type.c (convert_field): Add missing empty line
7001         after declarations.
7002
7003 2014-01-14  Doug Evans  <dje@google.com>
7004
7005         * symfile.h (expand_symtabs_matching): Renamed from
7006         expand_partial_symbol_names.  Update prototype.
7007         (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
7008         * symfile.c (expand_symtabs_matching): Renamed from
7009         expand_partial_symbol_names.  New args file_matcher, kind.
7010         Rename arg fun to symbol_matcher.
7011         (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
7012         * ada-lang.c (ada_complete_symbol_matcher): Renamed from
7013         ada_expand_partial_symbol_name.
7014         (ada_make_symbol_completion_list): Update to call
7015         expand_symtabs_matching.
7016         (ada_add_global_exceptions): Call expand_symtabs_matching.
7017         * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
7018         call map_symbol_filenames.
7019         * symtab.c (sources_info): Update to call map_symbol_filenames.
7020         (search_symbols): Call expand_symtabs_matching.
7021         (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
7022         (default_make_symbol_completion_list_break_on): Update to call
7023         expand_symtabs_matching.
7024         (make_source_files_completion_list): Update to call
7025         map_symbol_filenames.
7026
7027 2014-01-14  Doug Evans  <dje@google.com>
7028
7029         * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
7030         (expand_symtabs_symbol_matcher_ftype): New typedef.
7031         (quick_symbol_functions.expand_symtabs_matching): Update to use.
7032         expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
7033         * symfile.c (expand_partial_symbol_names): Update to use
7034         expand_symtabs_symbol_matcher_ftype.
7035         * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
7036         expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
7037         Arg name_matcher renamed to symbol_matcher.
7038         * psymtab.c (recursively_search_psymtabs): Update to use
7039         expand_symtabs_symbol_matcher_ftype.  Arg name_matcher renamed to
7040         sym_matcher.
7041         (expand_symtabs_matching_via_partial): Update to use
7042         expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
7043         Arg name_matcher renamed to symbol_matcher.
7044
7045 2014-01-14  Doug Evans  <dje@google.com>
7046
7047         * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
7048         (map_partial_symbol_filenames): Ditto.
7049         * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
7050         (map_partial_symbol_filenames): Ditto.
7051         * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
7052         (map_partial_symbol_filenames): Ditto.
7053         * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
7054         (map_partial_symbol_filenames): Ditto.
7055         * symtab.c: Delete #include "psymtab.h".
7056
7057 2014-01-14  Pedro Alves  <palves@redhat.com>
7058             Tom Tromey  <tromey@redhat.com>
7059
7060         * infrun.c (use_displaced_stepping): Use find_record_target
7061         instead of RECORD_IS_USED.
7062         (adjust_pc_after_break): Use record_full_is_used instead of
7063         RECORD_IS_USED.
7064         * record-btrace.c (record_btrace_open): Call record_preopen
7065         instead of checking RECORD_IS_USED.
7066         * record-full.c (record_full_shortname)
7067         (record_full_core_shortname): New globals.
7068         (record_full_is_used): New function.
7069         (find_full_open): Call record_preopen instead of checking
7070         RECORD_IS_USED.
7071         (init_record_full_ops): Set the target's shortname to
7072         record_full_shortname.
7073         (init_record_full_core_ops): Set the target's shortname to
7074         record_full_core_shortname.
7075         * record-full.h (record_full_is_used): Declare.
7076         * record.c (find_record_target): Make extern.
7077         (record_preopen): New function.
7078         * record.h (RECORD_IS_USED): Delete macro.
7079         (find_record_target, record_preopen): Declare functions.
7080
7081 2014-01-14  Yao Qi  <yao@codesourcery.com>
7082
7083         * gdbarch.sh (core_xfer_shared_libraries): Change its argument
7084         'len''s type to ULONGEST.
7085         (core_xfer_shared_libraries_aix): Likewise.
7086         * gdbarch.c, gdbarch.h: Regenerated.
7087         * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
7088         Change type of 'len' to ULONGEST.
7089         * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
7090         (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
7091
7092 2014-01-14  Yao Qi  <yao@codesourcery.com>
7093
7094         * common/linux-osdata.c (linux_xfer_osdata_processes): Change
7095         type of 'len' to ULONGEST.
7096         (linux_xfer_osdata_processgroups): Likewise.
7097         (linux_xfer_osdata_threads): Likewise.
7098         (linux_xfer_osdata_fds): Likewise.
7099         (linux_xfer_osdata_isockets): Likewise.
7100         (linux_xfer_osdata_shm): Likewise.
7101         (linux_xfer_osdata_sem): Likewise.
7102         (linux_xfer_osdata_msg): Likewise.
7103         (linux_common_xfer_osdata): Likewise.
7104         (struct osdata_type) <getter>: Likewise.
7105         * common/linux-osdata.h (linux_common_xfer_osdata): Update
7106         the declaration.
7107
7108 2014-01-14  Yao Qi  <yao@codesourcery.com>
7109
7110         * target.h (target_xfer_partial_ftype): Update.
7111         (struct target_ops) <to_xfer_partial>: Change 'len' type to
7112         ULONGEST.
7113         * aix-thread.c (aix_thread_xfer_partial): Change type of
7114         argument 'len' to ULONGEST.
7115         * auxv.c (procfs_xfer_auxv): Likewise.
7116         (ld_so_xfer_auxv): Likewise.
7117         (memory_xfer_auxv): Likewise.
7118         * bfd-target.c (target_bfd_xfer_partial): Likewise.
7119         * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
7120         * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
7121         * corelow.c (core_xfer_partial): Likewise.
7122         * ctf.c (ctf_xfer_partial): Likewise.
7123         * darwin-nat.c (darwin_read_write_inferior): Likewise.  Use
7124         '%u'.
7125         (darwin_read_dyld_info): Likewise.
7126         (darwin_xfer_partial): Likewise.
7127         * exec.c (section_table_xfer_memory_partial): Likewise.
7128         (exec_xfer_partial): Likewise.
7129         * exec.h (section_table_xfer_memory_partial): Update
7130         declaration.
7131         * gnu-nat.c (gnu_xfer_memory): Likewise.  Call pulongest
7132         instead of plongest.
7133         (gnu_xfer_partial): Likewise.
7134         * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
7135         (ia64_hpux_xfer_solib_got): Likewise.
7136         (ia64_hpux_xfer_partial): Likewise.
7137         * ia64-linux-nat.c (ia64_linux_xfer_partial):
7138         * inf-ptrace.c (inf_ptrace_xfer_partial):
7139         * inf-ttrace.c (inf_ttrace_xfer_partial):
7140         * linux-nat.c (linux_xfer_siginfo): Likewise.
7141         (linux_nat_xfer_partial): Likewise.
7142         (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
7143         (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
7144         * monitor.c (monitor_xfer_memory): Likewise.
7145         (monitor_xfer_partial): Likewise.
7146         * procfs.c (procfs_xfer_partial): Likewise.
7147         * record-full.c (record_full_xfer_partial): Likewise.
7148         (record_full_core_xfer_partial): Likewise.
7149         * remote-sim.c (gdbsim_xfer_memory): Likewise.  Call pulongest
7150         instead of plongest.
7151         (gdbsim_xfer_partial): Likewise.
7152         * remote.c (remote_xfer_partial): Likewise.
7153         * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
7154         * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
7155         declaration.
7156         * rs6000-nat.c (rs6000_xfer_partial): Likewise.
7157         (rs6000_xfer_shared_libraries): Likewise.
7158         * sol-thread.c (sol_thread_xfer_partial): Likewise.
7159         * sparc-nat.c (sparc_xfer_wcookie): Likewise.
7160         (sparc_xfer_partial): Likewise.
7161         * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
7162         (spu_xfer_partial): Likewise.
7163         * spu-multiarch.c (spu_xfer_partial): Likewise.
7164         * target.c (target_read_live_memory): Likewise.
7165         (memory_xfer_live_readonly_partial): Likewise.
7166         (memory_xfer_partial, memory_xfer_partial_1): Likewise.
7167         (target_xfer_partial, default_xfer_partial): Likewise.
7168         (current_xfer_partial): Likewise.
7169         * tracepoint.c (tfile_xfer_partial): Likewise.
7170         * windows-nat.c (windows_xfer_memory): Likewise.  Call
7171         pulongest instead of plongest.
7172         (windows_xfer_partial): Likewise.
7173         (windows_xfer_shared_libraries): Likewise.
7174
7175 2014-01-14  Yao Qi  <yao@codesourcery.com>
7176
7177         * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
7178         target_xfer_partial_ftype.
7179
7180 2014-01-13  Siva Chandra Reddy  <sivachandra@google.com>
7181
7182         PR python/15464
7183         PR python/16113
7184         * valops.c (value_struct_elt_bitpos): New function
7185         * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
7186         object to 'None' if the field name is an empty string ("").
7187         * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
7188         attribute to look for a field when 'name' is 'None'.
7189         (get_field_type): New function
7190
7191 2014-01-13  Doug Evans  <dje@google.com>
7192
7193         PR symtab/16426
7194         * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
7195         (try_open_dwop_file): Ditto.
7196         * gdb_bfd.c: #include "vec.h".
7197         (bfdp): New typedef.
7198         (struct gdb_bfd_data): New member included_bfds.
7199         (gdb_bfd_unref): Unref all included bfds.
7200         (gdb_bfd_record_inclusion): New function.
7201         * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
7202
7203 2014-01-13  Tom Tromey  <tromey@redhat.com>
7204
7205         * gdbcore.h (deprecated_core_resize_section_table): Remove.
7206
7207 2014-01-13  Tom Tromey  <tromey@redhat.com>
7208
7209         * defs.h (use_windows): Remove.
7210         * gdb.c (main): Update.
7211         * main.c (captured_main, gdb_main): Update.
7212         * main.h (struct captured_main_args) <use_windows>: Remove.
7213         * top.c (use_windows): Remove.
7214
7215 2014-01-13  Tom Tromey  <tromey@redhat.com>
7216
7217         * defs.h (deprecated_flush_hook): Remove.
7218
7219 2014-01-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
7220
7221         PR threads/16216
7222         * linux-thread-db.c (try_thread_db_load): Add parameter
7223         check_auto_load_safe.  Move here the file_is_auto_load_safe call.
7224         (try_thread_db_load_from_pdir_1): Move it there from here.
7225         (try_thread_db_load_from_sdir): Update caller.
7226         (try_thread_db_load_from_dir): Move it there from here.
7227
7228 2014-01-13  Patrick Palka  <patrick@parcs.ath.cx>
7229
7230         * regformats/regdat.sh: Always rewrite the register file.
7231
7232 2014-01-13  Pedro Alves  <palves@redhat.com>
7233
7234         * Makefile.in (CHECK_HEADERS): New variable.
7235         (check-headers:): New rule.
7236
7237 2014-01-13  Tom Tromey  <tromey@redhat.com>
7238
7239         * cli/cli-setshow.c (do_set_command): Update.
7240         * defs.h (deprecated_set_hook): Remove.
7241         * top.c (deprecated_set_hook): Remove.
7242
7243 2014-01-13  Pedro Alves  <palves@redhat.com>
7244
7245         * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
7246         the tracepoint if the PC is a pseudo-register.
7247
7248 2014-01-13  Tom Tromey  <tromey@redhat.com>
7249
7250         * defs.h (XCALLOC): Remove.
7251         * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
7252         (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
7253         * dwarf2loc.c (allocate_piece_closure): Likewise.
7254         * elfread.c (elf_symfile_segments): Likewise.
7255         (elf_symfile_segments): Likewise.
7256         * gdbtypes.c (copy_type_recursive): Likewise.
7257         * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
7258         * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
7259         * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
7260         XCALLOC.
7261         * mt-tdep.c (mt_gdbarch_init): Likewise.
7262         * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
7263         XCALLOC.
7264         * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
7265         * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
7266         * registry.c (registry_alloc_data): Likewise.
7267         * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
7268         * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
7269         * serial.c (serial_fdopen_ops): Likewise.
7270         * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
7271         XCALLOC.
7272         * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
7273         * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
7274         not XCALLOC.
7275
7276 2014-01-13  Tom Tromey  <tromey@redhat.com>
7277
7278         * defs.h (XMALLOC): Remove.
7279         * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
7280         * bfin-tdep.c (bfin_gdbarch_init): Likewise.
7281         * cli-out.c (struct ui_out *): Likewise.
7282         * cli/cli-dump.c (add_dump_command): Likewise.
7283         (add_dump_command): Likewise.
7284         * complaints.c (get_complaints): Likewise.
7285         (find_complaint): Likewise.
7286         * dwarf2-frame.c (execute_cfa_program): Likewise.
7287         * dwarf2read.c (abbrev_table_read_table): Likewise.
7288         * gdbarch.sh: Likewise.
7289         * gdbarch.c: Rebuild.
7290         * inf-ttrace.c (inf_ttrace_add_page): Likewise.
7291         * interps.c (interp_new): Likewise.
7292         * lm32-tdep.c (lm32_gdbarch_init): Likewise.
7293         * m32r-tdep.c (m32r_gdbarch_init): Likewise.
7294         * mi/mi-console.c (mi_console_file_new): Likewise.
7295         * mi/mi-interp.c (mi_interpreter_init): Likewise.
7296         * mi/mi-out.c (mi_out_new): Likewise.
7297         * mi/mi-parse.c (mi_parse): Likewise.
7298         * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
7299         * moxie-tdep.c (moxie_gdbarch_init): Likewise.
7300         * observer.c (xalloc_observer_list_node): Likewise.
7301         * regcache.c (regcache_xmalloc_1): Likewise.
7302         * reggroups.c (reggroup_new): Likewise.
7303         (_initialize_reggroup): Likewise.
7304         * registry.c (register_data_with_cleanup): Likewise.
7305         * remote.c (remote_notif_stop_alloc_reply): Likewise.
7306         * ser-base.c (serial_ttystate): Likewise.
7307         * ser-mingw.c (make_pipe_state): Likewise.
7308         * ser-pipe.c (pipe_open): Likewise.
7309         * serial.c (serial_open): Likewise.
7310         * sh64-tdep.c (sh64_gdbarch_init): Likewise.
7311         * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
7312         (tui_alloc_win_info): Likewise.
7313         (tui_add_content_elements): Likewise.
7314         * tui/tui-file.c (tui_file_new): Likewise.
7315         * tui/tui-out.c (tui_out_new): Likewise.
7316         * ui-file.c (mem_file_new): Likewise.
7317         * ui-out.c (push_level): Likewise.
7318         (make_cleanup_ui_out_end): Likewise.
7319         (append_header_to_list): Likewise.
7320         (ui_out_new): Likewise.
7321         * user-regs.c (user_reg_add_builtin): Likewise.
7322
7323 2014-01-13  Tom Tromey  <tromey@redhat.com>
7324
7325         * defs.h (XZALLOC): Remove.
7326         * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
7327         * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
7328         (get_ada_tasks_inferior_data): Likewise.
7329         * auto-load.c (get_auto_load_pspace_data): Likewise.
7330         * auxv.c (get_auxv_inferior_data): Likewise.
7331         * bfd-target.c (target_bfd_reopen): Likewise.
7332         * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
7333         (deprecated_insert_raw_breakpoint): Likewise.
7334         * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
7335         * corelow.c (core_open): Likewise.
7336         * darwin-nat.c (darwin_check_new_threads): Likewise.
7337         (darwin_attach_pid): Likewise.
7338         * dummy-frame.c (dummy_frame_push): Likewise.
7339         * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
7340         * dwarf2loc.c (allocate_piece_closure): Likewise.
7341         * elfread.c (elf_symfile_segments): Likewise.
7342         * eval.c (ptrmath_type_p): Likewise.
7343         * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
7344         * gdbtypes.c (alloc_type_arch): Likewise.
7345         (alloc_type_instance): Likewise.
7346         * hppa-tdep.c (hppa_gdbarch_init): Likewise.
7347         * inf-child.c (inf_child_can_use_agent): Likewise.
7348         * inflow.c (get_inflow_inferior_data): Likewise.
7349         * infrun.c (save_infcall_suspend_state): Likewise.
7350         * jit.c (jit_reader_load): Likewise.
7351         (get_jit_objfile_data): Likewise.
7352         (get_jit_program_space_data): Likewise.
7353         (jit_object_open_impl): Likewise.
7354         (jit_symtab_open_impl): Likewise.
7355         (jit_block_open_impl): Likewise.
7356         (jit_frame_sniffer): Likewise.
7357         * linux-fork.c (add_fork): Likewise.
7358         * maint.c (make_command_stats_cleanup): Likewise.
7359         * objfiles.c (get_objfile_pspace_data): Likewise.
7360         * opencl-lang.c (struct lval_closure): Likewise.
7361         * osdata.c (osdata_start_osdata): Likewise.
7362         * progspace.c (new_address_space): Likewise.
7363         (add_program_space): Likewise.
7364         * remote-sim.c (get_sim_inferior_data): Likewise.
7365         * sh-tdep.c (sh_gdbarch_init): Likewise.
7366         * skip.c (Ignore): Likewise.
7367         (skip_delete_command): Likewise.
7368         * solib-aix.c (get_solib_aix_inferior_data): Likewise.
7369         (library_list_start_library): Likewise.
7370         (solib_aix_current_sos): Likewise.
7371         * solib-darwin.c (get_darwin_info): Likewise.
7372         (darwin_current_sos): Likewise.
7373         * solib-dsbt.c (get_dsbt_info): Likewise.
7374         * solib-ia64-hpux.c (new_so_list): Likewise.
7375         (ia64_hpux_get_solib_linkage_addr): Likewise.
7376         * solib-spu.c (append_ocl_sos): Likewise.
7377         (spu_current_sos): Likewise.
7378         * solib-svr4.c (get_svr4_info): Likewise.
7379         (svr4_keep_data_in_core): Likewise.
7380         (library_list_start_library): Likewise.
7381         (svr4_default_sos): Likewise.
7382         (svr4_read_so_list): Likewise.
7383         * solib-target.c (library_list_start_library): Likewise.
7384         (solib_target_current_sos): Likewise.
7385         * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
7386         * symfile-debug.c (install_symfile_debug_logging): Likewise.
7387         * symfile.c (default_symfile_segments): Likewise.
7388         * target-descriptions.c (tdesc_data_init): Likewise.
7389         (tdesc_create_reg): Likewise.
7390         (struct tdesc_type *): Likewise.
7391         (tdesc_create_vector): Likewise.
7392         (tdesc_set_struct_size): Likewise.
7393         (struct tdesc_type *): Likewise.
7394         (tdesc_free_feature): Likewise.
7395         (tdesc_create_feature): Likewise.
7396         * windows-nat.c (windows_add_thread): Likewise.
7397         (windows_make_so): Likewise.
7398         * xml-support.c (gdb_xml_body_text): Likewise.
7399         (gdb_xml_create_parser_and_cleanup): Likewise.
7400         (xml_process_xincludes): Likewise.
7401         * xml-syscall.c (allocate_syscalls_info): Likewise.
7402         (syscall_create_syscall_desc): Likewise.
7403
7404 2014-01-12  Sergio Durigan Junior  <sergiodj@redhat.com>
7405
7406         * i386-tdep.c (i386_stap_parse_special_token_triplet): New
7407         function, with code from i386_stap_parse_special_token.
7408         (i386_stap_parse_special_token_three_arg_disp): Likewise.
7409         (i386_stap_parse_special_token): Move code to the two functions
7410         above; simplify it.
7411
7412 2014-01-09  Pedro Alves  <palves@redhat.com>
7413             Hui Zhu  <hui@codesourcery.com>
7414
7415         PR gdb/16101
7416         * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
7417         bp_err_string.  Don't mark the location shlib_disabled if the
7418         error thrown wasn't a generic or memory error.  Catch errors
7419         thrown while inserting breakpoints in overlayed code.  Output
7420         error message of software breakpoints.
7421         * remote.c (remote_insert_breakpoint): If this breakpoint has
7422         target-side commands but this stub doesn't support Z0 packets,
7423         throw NOT_SUPPORTED_ERROR error.
7424         * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
7425         * target.h (target_insert_breakpoint): Extend comment.
7426         (target_insert_hw_breakpoint): Add comment.
7427
7428 2014-01-08  Pedro Alves  <palves@redhat.com>
7429
7430         * remote.c (remote_add_thread): Add threads silently if starting
7431         up.
7432         (remote_notice_new_inferior): If in all-stop, and starting up,
7433         don't call notice_new_inferior.
7434         (get_current_thread): New function, factored out from ...
7435         (add_current_inferior_and_thread): ... this.  Adjust.
7436         (remote_start_remote) <all-stop>: Fetch the thread list.  If we
7437         found any thread, then select the remote's current thread as GDB's
7438         current thread too.
7439
7440 2014-01-08  Joel Brobecker  <brobecker@adacore.com>
7441
7442         * NEWS: Create a new section for the next release branch.
7443         Rename the section of the current branch, now that it has
7444         been cut.
7445
7446 2014-01-08  Joel Brobecker  <brobecker@adacore.com>
7447
7448         GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
7449         * version.in: Bump version to 7.7.50.DATE-cvs.
7450
7451 2014-01-08  Yao Qi  <yao@codesourcery.com>
7452
7453         * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
7454         type of 'id' to gdb_byte.  Cast 'id' to 'const char *'.
7455         (spu_xfer_partial): Cast 'buf' to 'const char *'.
7456
7457 2014-01-08  Yao Qi  <yao@codesourcery.com>
7458
7459         * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
7460         return value of bfd_get_filename to symbol_file_add_from_bfd.
7461
7462 2014-01-08  Pierre Muller  <muller@sourceware.org>
7463
7464         Fix PR16201.
7465         * coff-pe-read.c (struct read_pe_section_data): Add index field.
7466         (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
7467         to prim_record_mininal_symbol_and_info.
7468         (add_pe_forwarded_sym): Use known section number of forwarded symbol
7469         in call to prim_record_minimal_symbol_and_info.
7470         (read_pe_exported_syms): Set index field of section_data.
7471
7472 2014-01-07  Andrew Pinski  <apinski@cavium.com>
7473
7474         * features/aarch64-core.xml (cpsr): Change to be 64bit.
7475         * features/aarch64.c: Regenerate.
7476
7477 2014-01-07  Andreas Schwab  <schwab@linux-m68k.org>
7478
7479         * target.c (return_null): Define.
7480         (update_current_target): Use it instead of return_zero for
7481         functions that return a pointer.
7482
7483 2014-01-07  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
7484
7485         * source.c (add_path): Fix check for duplicated paths in the previously
7486         included paths.
7487
7488 2014-01-07  Honggyu Kim  <hong.gyu.kim@lge.com>
7489
7490         * ada-lang.c: Remove duplicated include statements.
7491         * alphabsd-nat.c: Ditto.
7492         * amd64-darwin-tdep.c: Ditto.
7493         * amd64fbsd-nat.c: Ditto.
7494         * auto-load.c: Ditto.
7495         * ax-gdb.c: Ditto.
7496         * breakpoint.c: Ditto.
7497         * dbxread.c: Ditto.
7498         * fork-child.c: Ditto.
7499         * gdb_usleep.c: Ditto.
7500         * i386-darwin-tdep.c: Ditto.
7501         * i386fbsd-nat.c: Ditto.
7502         * infcmd.c: Ditto.
7503         * inferior.c: Ditto.
7504         * jv-lang.c: Ditto.
7505         * linux-nat.c: Ditto.
7506         * linux-tdep.c: Ditto.
7507         * m68kbsd-nat.c: Ditto.
7508         * m68klinux-nat.c: Ditto.
7509         * microblaze-tdep.c: Ditto.
7510         * mips-linux-tdep.c: Ditto.
7511         * mn10300-tdep.c: Ditto.
7512         * nto-tdep.c: Ditto.
7513         * opencl-lang.c: Ditto.
7514         * osdata.c: Ditto.
7515         * printcmd.c: Ditto.
7516         * regcache.c: Ditto.
7517         * remote-m32r-sdi.c: Ditto.
7518         * remote.c: Ditto.
7519         * symfile.c: Ditto.
7520         * symtab.c: Ditto.
7521         * tilegx-linux-nat.c: Ditto.
7522         * tilegx-tdep.c: Ditto.
7523         * tracepoint.c: Ditto.
7524         * valops.c: Ditto.
7525         * vaxbsd-nat.c: Ditto.
7526         * windows-nat.c: Ditto.
7527         * xtensa-tdep.c: Ditto.
7528
7529 2014-01-07  Yao Qi  <yao@codesourcery.com>
7530
7531         * spu-linux-nat.c (_initialize_spu_nat): Declare.
7532
7533 2014-01-07  Yao Qi  <yao@codesourcery.com>
7534             Joel Brobecker  <brobecker@adacore.com>
7535
7536         * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
7537         (pdc_write_regs): Likewise.
7538         (fetch_regs_kernel_thread): Likewise.
7539         (store_regs_kernel_thread): Likewise.
7540
7541 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
7542
7543         * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
7544         tagged type objects to their actual type.
7545
7546 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
7547
7548         * ada-valprint.c (print_field_values): Add "language" parameter.
7549         Update calls to print_field_values and print_variant_part.
7550         Pass new parameter "language" in call to val_print instead
7551         of "current_language".  Replace call to ada_val_print by call
7552         to val_print.
7553         (print_variant_part): Add "language" parameter.
7554         (ada_val_print_struct_union): Update call to print_field_values.
7555
7556 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
7557
7558         * ada-valprint.c (ui_memcpy): Delete.
7559         (ada_print_floating): Update documentation.  Add empty line
7560         between between function documentation and implementation.
7561         Delete variable "buffer".  Use ui_file_xstrdup in place of
7562         ui_file_put.  Minor adjustments following this change.
7563
7564 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
7565
7566         * ada-valprint.c (ada_val_print_string): New function,
7567         extracted from ada_val_print_array.
7568         (ada_val_print_array): Replace extracted code by call
7569         to ada_val_print_string followed by a return.  Move
7570         "else" branch to the function's top block.
7571
7572 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
7573
7574         * ada-valprint.c (ada_val_print_array): Move implementation
7575         down.  Rename parameter "offset" and "val" into "offset_aligned"
7576         and "original_value" respectively.  Add parameter "offset".
7577
7578 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
7579
7580         * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
7581         re-organizing the code. Change the "???" message printed
7582         when target type is a TYPE_CODE_UNDEF into
7583         "<ref to undefined type>".
7584
7585 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
7586
7587         * ada-valprint.c (print_record): Delete, implementation inlined...
7588         (ada_val_print_struct_union): ... here.  Remove call to
7589         ada_check_typedef in inlined implementation.
7590
7591 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
7592
7593         * ada-valprint.c (ada_val_print_gnat_array): New function,
7594         extracted from ada_val_print_1;
7595         (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
7596         (ada_val_print_flt, ada_val_print_struct_union)
7597         (ada_val_print_ref): Likewise.
7598         (ada_val_print_1): Delete variables i and elttype.
7599         Replace extracted-out code by call to corresponding
7600         new functions.
7601
7602 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
7603
7604         * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
7605
7606 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
7607
7608         * ada-valprint.c (ada_val_print_1): Replace calls to
7609         ada_val_print_1 by calls to val_print.
7610
7611 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
7612
7613         * ada-valprint.c (ada_val_print_1): Add parameter "language".
7614         Update calls to self accordingly.  Replace calls to c_val_print
7615         by calls to val_print.
7616
7617 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
7618
7619         * ada-valprint.c (print_record): Delete declaration.
7620         (adjust_type_signedness, ada_val_print_1): Likewise.
7621         (ada_val_print): Move function implementation down.
7622         (print_variant_part, print_field_values, print_record):
7623         Move function implementation up.
7624
7625 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
7626
7627         * python/py-type.c (typy_get_name): New function.
7628         (type_object_getset): Add entry for attribute "name".
7629         * NEWS: Add entry mentioning this new attribute.
7630
7631 2014-01-07  Yao Qi  <yao@codesourcery.com>
7632
7633         * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
7634         statement.
7635
7636 2014-01-07  Yao Qi  <yao@codesourcery.com>
7637
7638         * gnu-nat.c (info_port_rights): Add qualifier const to
7639         argument args.
7640
7641 2014-01-07  Yao Qi  <yao@codesourcery.com>
7642
7643         * gnu-nat.c (trace_me): Use 'void' for empty argument list.
7644
7645 2014-01-07  Yao Qi  <yao@codesourcery.com>
7646
7647         * gnu-nat.c (make_inf) Update declaration.
7648         (make_inf): Make it static.
7649         (inf_set_traced): Likewise.
7650         (inf_port_to_thread, inf_task_died_status): Likewise.
7651
7652 2014-01-07  Yao Qi  <yao@codesourcery.com>
7653
7654         * gnu-nat.c (inf_tid_to_proc): Remove declaration.
7655
7656 2014-01-07  Yao Qi  <yao@codesourcery.com>
7657
7658         * gnu-nat.c (_initialize_gnu_nat): Declare.
7659
7660 2014-01-07  Yao Qi  <yao@codesourcery.com>
7661
7662         * gdbarch.sh (byte_order, byte_order_for_code): Change type to
7663         'enum bfd_endian'.
7664         (struct gdbarch_info) <byte_order>: Change type to
7665         'enum bfd_endian'.
7666         <byte_order_for_code>: Likewise.
7667         * gdbarch.c, gdbarch.h: Regenerated.
7668
7669 2014-01-06  Sasha Smundak  <asmundak@google.com>
7670
7671         * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
7672
7673 2014-01-06  Tom Tromey  <tromey@redhat.com>
7674
7675         * doublest.c (convert_doublest_to_floatformat): Use const, not
7676         CONST.
7677         * somread.c (som_symtab_read): Likewise.
7678
7679 2014-01-07  Hui Zhu  <hui@codesourcery.com>
7680
7681         * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
7682         (gdb_bfd_open): Removed gdb_bfd_stash_filename.
7683         (gdb_bfd_fopen): Ditto.
7684         (gdb_bfd_openr): Ditto.
7685         (gdb_bfd_openw): Ditto.
7686         (gdb_bfd_openr_iovec): Ditto.
7687         (gdb_bfd_fdopenr): Ditto.
7688         * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
7689         * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
7690         with xstrdup.
7691         * solib-darwin.c (darwin_bfd_open): Alloc res->filename
7692         with xstrdup.
7693         * symfile-mem.c (symbol_file_add_from_memory): Removed
7694         gdb_bfd_stash_filename.
7695
7696 2014-01-03  Doug Evans  <dje@google.com>
7697
7698         * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
7699         output.
7700
7701 2014-01-01  Joel Brobecker  <brobecker@adacore.com>
7702
7703         Update year range in copyright notice of all files.
7704
7705 2014-01-01  Joel Brobecker  <brobecker@adacore.com>
7706
7707         * top.c (print_gdb_version): Set copyright year to 2014.
7708
7709 2014-01-01  Joel Brobecker  <brobecker@adacore.com>
7710
7711         * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
7712
7713 For older changes see ChangeLog-2013.
7714 \f
7715 Local Variables:
7716 mode: change-log
7717 left-margin: 8
7718 fill-column: 74
7719 version-control: never
7720 coding: utf-8
7721 End: