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