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