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