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