1 2014-04-17 Ulrich Weigand <uweigand@de.ibm.com>
3 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
4 Replace FRAME argument with FRAME_ID.
5 * gdbarch.c, gdbarch.h: Regenerate.
6 * findvar.c (default_value_from_register): Add GDBARCH argument;
7 replace FRAME by FRAME_ID. No longer call get_frame_id.
8 (value_from_register): Update call to gdbarch_value_from_register.
9 * value.h (default_value_from_register): Update prototype.
10 * s390-linux-tdep.c (s390_value_from_register): Update interface
11 and call to default_value_from_register.
12 * spu-tdep.c (spu_value_from_register): Likewise.
14 * findvar.c (address_from_register): Remove TYPE argument.
15 Do not call value_from_register; use gdbarch_value_from_register
16 with null_frame_id instead.
17 * value.h (address_from_register): Update prototype.
18 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
19 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
20 address_from_register interface change.
22 2014-04-17 Yao Qi <yao@codesourcery.com>
24 * gdbtypes.h: Update comments to link to types and macros'
27 2014-04-16 Siva Chandra Reddy <sivachandra@google.com>
29 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
31 2014-04-16 Keith Seitz <keiths@redhat.com>
34 * dwarf2read.c (skip_one_die): Check that all relative-offset
35 sibling DIEs fall within range of the current reader's buffer.
36 (read_partial_die): Likewise.
38 2014-04-16 Keith Seitz <keiths@redhat.com>
41 * cp-namespace.c (lookup_symbol_file): If the type name of
42 `this' is NULL, return immediately.
44 2014-04-14 Keith Seitz <keiths@redhat.com>
47 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
48 from symbol_matches_domain in symtab.c. All local callers
49 of symbol_matches_domain updated.
50 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
52 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
53 independently. standard_lookup will do that automatically.
54 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
55 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
56 (cp_lookup_symbol_in_namespace): Likewise.
57 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
58 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
59 may return a STRUCT_DOMAIN match.
60 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
61 * cp-support.c: Include language.h.
62 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
64 * psymtab.c (match_partial_symbol): Compare the requested
65 domain with the symbol's domain directly.
66 (lookup_partial_symbol): Likewise.
67 * symtab.c (lookup_symbol_in_language): Explain when/why
68 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
69 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
70 appropriate languages.
71 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
72 and moved to ada-lang.c
73 (lookup_block_symbol): Explain that this function only returns
74 symbol matching the requested DOMAIN.
75 Compare the requested domain with the symbol's domain directly.
76 (iterate_over_symbols): Compare the requested domain with the
77 symbol's domain directly.
78 * symtab.h (symbol_matches_domain): Remove.
80 2014-04-14 Tom Tromey <tromey@redhat.com>
83 * c-exp.y (type_aggregate_p): New function.
84 (qualified_name, classify_inner_name): Use it.
85 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
86 and TYPE_TARGET_TYPE of an enum type.
87 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
89 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
90 handle TYPE_DECLARED_CLASS.
91 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
93 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
94 * valops.c (enum_constant_from_type): New function.
95 (value_aggregate_elt): Use it.
96 * cp-namespace.c (cp_lookup_nested_symbol): Handle
99 2014-04-14 Tom Tromey <tromey@redhat.com>
101 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
102 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
104 * value.h (value_aggregate_elt): Update.
106 2014-04-14 Tom Tromey <tromey@redhat.com>
108 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
110 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
112 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
113 (evaluate_subexp_standard): Pass noside argument.
114 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
115 if noside equals EVAL_NORMAL. If the subscript yields a vla type
116 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
117 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
118 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
120 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
122 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
123 points to a constant blob.
125 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
127 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
128 property and store it as the high bound and flag the range accordingly.
129 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
130 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
131 * gdbtypes.h (enum range_flags): New enum.
132 (struct range_bounds): Add flags member.
134 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
136 * c-typeprint.c (c_type_print_varspec_suffix): Added
137 check for not yet resolved high bound. If unresolved, print
138 "variable length" string to the console instead of random
141 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
143 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
145 (ada_template_to_fixed_record_type_1): Likewise.
146 (ada_to_fixed_type_1): Likewise.
147 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
148 (cp_print_value): Likewise.
149 * d-valprint.c (dynamic_array_type): Likewise.
150 * findvar.c (address_of_variable): Likewise.
151 * jv-valprint.c (java_value_print): Likewise.
152 * valops.c (value_ind): Likewise.
153 * value.c (coerce_ref): Likewise.
155 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
157 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
158 value and retrieve the dynamic type size.
160 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
162 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
163 passed to sizeof is dynamic evaluate the argument to compute the length.
165 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
166 Joel Brobecker <brobecker@adacore.com>
168 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
169 (dwarf2_evaluate_property): New function.
170 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
171 * dwarf2read.c (attr_to_dynamic_prop): New function.
172 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
174 * gdbtypes.c: Include dwarf2loc.h.
175 (is_dynamic_type): New function.
176 (resolve_dynamic_type): New function.
177 (resolve_dynamic_bounds): New function.
178 (get_type_length): New function.
179 (check_typedef): Use get_type_length to compute type length.
180 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
181 (TYPE_LOW_BOUND_KIND): New macro.
182 (is_dynamic_type): New function prototype.
183 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
184 to resolve dynamic properties of the type. Update comment.
185 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
187 2014-04-14 Richard Henderson <rth@redhat.com>
189 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
191 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
192 Doug Evans <xdje42@gmail.com>
194 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
195 dereference TYPE_CODE_REF values.
197 2014-04-11 Joel Brobecker <brobecker@adacore.com>
199 Revert the following changes due to regressions:
201 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
202 (dwarf2_evaluate_property): New function.
203 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
204 * dwarf2read.c (attr_to_dynamic_prop): New function.
205 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
207 * gdbtypes.c: Include dwarf2loc.h.
208 (is_dynamic_type): New function.
209 (resolve_dynamic_type): New function.
210 (resolve_dynamic_bounds): New function.
211 (get_type_length): New function.
212 (check_typedef): Use get_type_length to compute type length.
213 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
214 (TYPE_LOW_BOUND_KIND): New macro.
215 (is_dynamic_type): New function prototype.
216 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
217 to resolve dynamic properties of the type. Update comment.
218 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
220 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
221 passed to sizeof is dynamic evaluate the argument to compute the length.
223 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
224 value and retrieve the dynamic type size.
226 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
227 (ada_template_to_fixed_record_type_1): Likewise.
228 (ada_to_fixed_type_1): Likewise.
229 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
230 (cp_print_value): Likewise.
231 * d-valprint.c (dynamic_array_type): Likewise.
232 * eval.c (evaluate_subexp_with_coercion): Likewise.
233 * findvar.c (address_of_variable): Likewise.
234 * jv-valprint.c (java_value_print): Likewise.
235 * valops.c (value_ind): Likewise.
236 * value.c (coerce_ref): Likewise.
238 * c-typeprint.c (c_type_print_varspec_suffix): Added
239 check for not yet resolved high bound. If unresolved, print
240 "variable length" string to the console instead of random
243 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
244 property and store it as the high bound and flag the range accordingly.
245 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
246 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
247 * gdbtypes.h (enum range_flags): New enum.
248 (struct range_bounds): Add flags member.
250 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
251 points to a constant blob.
253 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
254 (evaluate_subexp_standard): Pass noside argument.
255 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
256 if noside equals EVAL_NORMAL. If the subscript yields a vla type
257 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
258 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
259 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
261 2014-04-11 Keith Seitz <keiths@redhat.com>
264 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
265 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
268 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
270 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
271 (evaluate_subexp_standard): Pass noside argument.
272 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
273 if noside equals EVAL_NORMAL. If the subscript yields a vla type
274 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
275 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
276 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
278 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
280 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
281 points to a constant blob.
283 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
285 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
286 property and store it as the high bound and flag the range accordingly.
287 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
288 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
289 * gdbtypes.h (enum range_flags): New enum.
290 (struct range_bounds): Add flags member.
292 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
294 * c-typeprint.c (c_type_print_varspec_suffix): Added
295 check for not yet resolved high bound. If unresolved, print
296 "variable length" string to the console instead of random
299 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
301 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
302 (ada_template_to_fixed_record_type_1): Likewise.
303 (ada_to_fixed_type_1): Likewise.
304 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
305 (cp_print_value): Likewise.
306 * d-valprint.c (dynamic_array_type): Likewise.
307 * eval.c (evaluate_subexp_with_coercion): Likewise.
308 * findvar.c (address_of_variable): Likewise.
309 * jv-valprint.c (java_value_print): Likewise.
310 * valops.c (value_ind): Likewise.
311 * value.c (coerce_ref): Likewise.
313 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
315 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
316 value and retrieve the dynamic type size.
318 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
320 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
321 passed to sizeof is dynamic evaluate the argument to compute the length.
323 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
325 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
326 (dwarf2_evaluate_property): New function.
327 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
328 * dwarf2read.c (attr_to_dynamic_prop): New function.
329 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
331 * gdbtypes.c: Include dwarf2loc.h.
332 (is_dynamic_type): New function.
333 (resolve_dynamic_type): New function.
334 (resolve_dynamic_bounds): New function.
335 (get_type_length): New function.
336 (check_typedef): Use get_type_length to compute type length.
337 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
338 (TYPE_LOW_BOUND_KIND): New macro.
339 (is_dynamic_type): New function prototype.
340 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
341 to resolve dynamic properties of the type. Update comment.
342 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
344 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
346 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
347 declaring high/low bounds and change uses accordingly. Call
348 create_range_type instead of create_static_range_type.
349 * gdbtypes.c (create_range_type): New function.
350 (create_range_type): Convert bounds into struct bound_prop and pass
351 them to create_range_type.
352 * gdbtypes.h (struct bound_prop): New struct.
353 (create_range_type): New function prototype.
354 (struct range_bounds): Use struct bound_prop instead of LONGEST for
355 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
356 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
358 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
360 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
362 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
363 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
364 * ada-lang.c: All uses of create_range_type updated.
365 * coffread.c: All uses of create_range_type updated.
366 * dwarf2read.c: All uses of create_range_type updated.
367 * f-exp.y: All uses of create_range_type updated.
368 * m2-valprint.c: All uses of create_range_type updated.
369 * mdebugread.c: All uses of create_range_type updated.
370 * stabsread.c: All uses of create_range_type updated.
371 * valops.c: All uses of create_range_type updated.
372 * valprint.c: All uses of create_range_type updated.
374 2014-04-10 Pedro Alves <palves@redhat.com>
376 * breakpoint.c (single_step_breakpoints)
377 (single_step_gdbarch): Move up in the file.
378 (one_breakpoint_xfer_memory): New function, factored out from ...
379 (breakpoint_xfer_memory): ... here. Also process single-step
382 2014-04-09 Tristan Gingold <gingold@adacore.com>
384 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
386 (darwin_decode_exception_message): Free port only after use.
388 2014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
390 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
391 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
392 when setting the size of call_length.
394 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
396 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
397 dereference TYPE_CODE_REF values.
399 2014-04-07 Joel Brobecker <brobecker@adacore.com>
401 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
402 end of warning message.
404 2014-04-03 Doug Evans <dje@google.com>
406 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
407 of stub_comp_unit_die, stub_comp_dir is non-NULL.
409 2014-04-02 Alan Modra <amodra@gmail.com>
411 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
412 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
413 (struct symbol_file_add_from_memory_args): Add size field.
414 (find_vdso_size): New function.
415 (add_vsyscall_page): Attempt to find vdso size.
417 2014-04-01 Doug Evans <dje@google.com>
419 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
421 2014-04-01 Tristan Gingold <gingold@adacore.com>
423 * darwin-nat.c (darwin_encode_reply): Add prototype.
424 (darwin_decode_exception_message): Reply to unknown inferiors.
425 (darwin_decode_message): Handle message by id. Ignore message
427 (darwin_wait): Discard unknown messages, add debug trace.
429 2014-03-31 Doug Evans <dje@google.com>
431 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
434 2014-03-31 Doug Evans <dje@google.com>
436 New option "set print symbol-loading".
438 * solib.c (solib_read_symbols): Only print symbol loading messages
440 (solib_add): If symbol loading is in "brief" mode, notify user
441 symbols are being loaded.
442 (reload_shared_libraries_1): Ditto.
443 * symfile.c (print_symbol_loading_off): New static global.
444 (print_symbol_loading_brief): New static global.
445 (print_symbol_loading_full): New static global.
446 (print_symbol_loading_enums): New static global.
447 (print_symbol_loading): New static global.
448 (print_symbol_loading_p): New function.
449 (symbol_file_add_with_addrs): Only print symbol loading messages
451 (_initialize_symfile): Register "print symbol-loading" set/show
453 * symfile.h (print_symbol_loading_p): Declare.
455 2014-03-30 Doug Evans <xdje42@gmail.com>
457 * infrun.c (set_last_target_status): New function.
458 (handle_inferior_event): Call it.
460 2014-03-30 Doug Evans <xdje42@gmail.com>
462 * inferior.h (enum stop_kind): Improve comment.
464 2014-03-28 Joel Brobecker <brobecker@adacore.com>
466 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
467 a reference, strip the reference layer before calling
468 the lang_ops value_has_mutated callback.
470 2014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
472 Remove some globals from our parser.
473 * language.c (unk_lang_parser): Add "struct parser_state"
475 * language.h (struct language_defn) <la_parser>: Likewise.
476 * parse.c (expout, expout_size, expout_ptr): Remove variables.
477 (initialize_expout): Add "struct parser_state" argument.
478 Rewrite function to use the parser state.
479 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
480 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
481 write_exp_elt_longcst, write_exp_elt_dblcst,
482 write_exp_elt_decfloatcst, write_exp_elt_type,
483 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
484 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
485 write_dollar_variable): Likewise.
486 (parse_exp_in_context_1): Use parser state.
487 (insert_type_address_space): Add "struct parser_state" argument.
489 (increase_expout_size): New function.
490 * parser-defs.h: Forward declare "struct language_defn" and
491 "struct parser_state".
492 (expout, expout_size, expout_ptr): Remove extern declarations.
493 (parse_gdbarch, parse_language): Rewrite macro declarations to
494 accept the parser state.
495 (struct parser_state): New struct.
496 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
497 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
498 write_exp_elt_decfloatcst, write_exp_elt_type,
499 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
500 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
501 write_exp_msymbol, write_dollar_variable,
502 mark_struct_expression, insert_type_address_space): Add "struct
503 parser_state" argument.
504 (increase_expout_size): New function.
505 * utils.c (do_clear_parser_state): New function.
506 (make_cleanup_clear_parser_state): Likewise.
507 * utils.h (make_cleanup_clear_parser_state): New function
509 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
510 Update calls to write_exp* in order to pass the parser state.
511 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
512 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
513 (i386_stap_parse_special_token_three_arg_disp): Likewise.
514 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
515 * stap-probe.c (stap_parse_register_operand): Likewise.
516 (stap_parse_single_operand): Likewise.
517 (stap_parse_argument_1): Likewise.
518 (stap_parse_argument): Use parser state.
519 * stap-probe.h: Include "parser-defs.h".
520 (struct stap_parse_info) <pstate>: New field.
521 * c-exp.y (parse_type): Rewrite to use parser state.
522 (yyparse): Redefine to c_parse_internal.
523 (pstate): New global variable.
524 (parse_number): Add "struct parser_state" argument.
525 (write_destructor_name): Likewise.
526 (type_exp): Update calls to write_exp* and similars in order to
528 (exp1, exp, variable, qualified_name, space_identifier,
529 typename, typebase): Likewise.
530 (write_destructor_name, parse_number, lex_one_token,
531 classify_name, classify_inner_name, c_parse): Add "struct
532 parser_state" argument. Update function to use parser state.
533 * c-lang.h: Forward declare "struct parser_state".
534 (c_parse): Add "struct parser_state" argument.
535 * ada-exp.y (parse_type): Rewrite macro to use parser state.
536 (yyparse): Redefine macro to ada_parse_internal.
537 (pstate): New variable.
538 (write_int, write_object_renaming, write_var_or_type,
539 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
540 type_int, type_long, type_long_long, type_float, type_double,
541 type_long_double, type_char, type_boolean, type_system_address):
542 Add "struct parser_state" argument.
543 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
544 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
545 var_or_type, aggregate, aggregate_component_list,
546 positional_list, others, component_group,
547 component_associations): Update calls to write_exp* and similar
548 functions in order to use parser state.
549 (ada_parse, write_var_from_sym, write_int,
550 write_exp_op_with_string, write_object_renaming,
551 find_primitive_type, write_selectors, write_ambiguous_var,
552 write_var_or_type, write_name_assoc, type_int, type_long,
553 type_long_long, type_float, type_double, type_long_double,
554 type_char, type_boolean, type_system_address): Add "struct
555 parser_state" argument. Adjust function to use parser state.
556 * ada-lang.c (parse): Likewise.
557 * ada-lang.h: Forward declare "struct parser_state".
558 (ada_parse): Add "struct parser_state" argument.
559 * ada-lex.l (processInt, processReal): Likewise. Adjust all
560 calls to both functions.
561 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
563 (yyparse): Redefine macro to f_parse_internal.
564 (pstate): New variable.
565 (parse_number): Add "struct parser_state" argument.
566 (type_exp, exp, subrange, typebase): Update calls to write_exp*
567 and similars in order to use parser state.
568 (parse_number): Adjust code to use parser state.
570 (f_parse): New function.
571 * f-lang.h: Forward declare "struct parser_state".
572 (f_parse): Add "struct parser_state" argument.
573 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
575 (yyparse): Redefine macro for java_parse_internal.
576 (pstate): New variable.
577 (push_expression_name, push_expression_name, insert_exp): Add
578 "struct parser_state" argument.
579 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
580 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
581 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
582 PostIncrementExpression, PostDecrementExpression,
583 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
584 UnaryExpressionNotPlusMinus, CastExpression,
585 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
586 RelationalExpression, EqualityExpression, AndExpression,
587 ExclusiveOrExpression, InclusiveOrExpression,
588 ConditionalAndExpression, ConditionalOrExpression,
589 ConditionalExpression, Assignment, LeftHandSide): Update
590 calls to write_exp* and similars in order to use parser state.
591 (parse_number): Ajust code to use parser state.
593 (java_parse): New function.
594 (push_variable): Add "struct parser_state" argument. Adjust
595 code to user parser state.
596 (push_fieldnames, push_qualified_expression_name,
597 push_expression_name, insert_exp): Likewise.
598 * jv-lang.h: Forward declare "struct parser_state".
599 (java_parse): Add "struct parser_state" argument.
600 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
602 (yyparse): Redefine macro to m2_parse_internal.
603 (pstate): New variable.
604 (type_exp, exp, fblock, variable, type): Update calls to
605 write_exp* and similars to use parser state.
607 (m2_parse): New function.
608 * m2-lang.h: Forward declare "struct parser_state".
609 (m2_parse): Add "struct parser_state" argument.
610 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
611 * objc-lang.h: Forward declare "struct parser_state".
612 (end_msglist): Add "struct parser_state" argument.
613 * p-exp.y (parse_type): Rewrite macro to use parser state.
614 (yyparse): Redefine macro to pascal_parse_internal.
615 (pstate): New variable.
616 (parse_number): Add "struct parser_state" argument.
617 (type_exp, exp1, exp, qualified_name, variable): Update calls to
618 write_exp* and similars in order to use parser state.
619 (parse_number, yylex): Adjust code to use parser state.
620 (pascal_parse): New function.
621 * p-lang.h: Forward declare "struct parser_state".
622 (pascal_parse): Add "struct parser_state" argument.
623 * go-exp.y (parse_type): Rewrite macro to use parser state.
624 (yyparse): Redefine macro to go_parse_internal.
625 (pstate): New variable.
626 (parse_number): Add "struct parser_state" argument.
627 (type_exp, exp1, exp, variable, type): Update calls to
628 write_exp* and similars in order to use parser state.
629 (parse_number, lex_one_token, classify_name, yylex): Adjust code
631 (go_parse): Likewise.
632 * go-lang.h: Forward declare "struct parser_state".
633 (go_parse): Add "struct parser_state" argument.
635 2014-03-27 Doug Evans <dje@google.com>
637 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
639 2014-03-27 Doug Evans <dje@google.com>
641 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
642 Remove argument abbrev_section. All callers updated.
644 2014-03-27 Doug Evans <dje@google.com>
646 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
647 addr_base, ranges_base.
649 2014-03-26 Keith Seitz <keiths@redhat.com>
651 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
652 types, not VAR_DOMAIN.
654 2014-03-25 Sandra Loosemore <sandra@codesourcery.com>
656 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
658 * features/nios2-linux.c: Regenerated.
659 * features/nios2.c: Regenerated.
661 2014-03-25 Pedro Alves <palves@redhat.com>
663 * cli/cli-script.c (script_from_file): Force the interpreter to
666 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
668 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
669 small stack allocation.
671 2014-03-24 Tristan Gingold <gingold@adacore.com>
673 * darwin-nat.c (exc_server): Remove unused prototype.
674 (darwin_dump_message): Correctly display data on x86_64.
675 (darwin_encode_reply): Fix style.
676 Add comments and fix indentation.
678 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
680 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
682 2014-03-22 Doug Evans <xdje42@gmail.com>
684 * infcmd.c: Whitespace fixes.
685 (interrupt_command): Merge two function comments into one.
687 2014-03-22 Doug Evans <xdje42@gmail.com>
689 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
692 2014-03-22 Yao Qi <yao@codesourcery.com>
694 * remote.c (target_read_live_memory): Remove.
695 (memory_xfer_live_readonly_partial): Rename it to
696 remote_xfer_live_readonly_partial. Remove argument 'object'.
697 All callers updated. Call remote_read_bytes_1
698 instead of target_read_live_memory.
699 * tracepoint.c (set_traceframe_number): Remove.
700 (make_cleanup_restore_traceframe_number): Likewise .
701 * tracepoint.h (set_traceframe_number): Remove declaration.
702 (make_cleanup_restore_traceframe_number): Likewise.
704 2014-03-22 Yao Qi <yao@codesourcery.com>
706 * remote.c (remote_read_bytes): Move code on reading from the
708 (remote_read_bytes_1): ... here. New function.
710 2014-03-22 Yao Qi <yao@codesourcery.com>
712 * ctf.c (ctf_xfer_partial): Check the return value of
713 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
714 return TARGET_XFER_UNAVAILABLE.
715 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
716 * target.c (target_read_live_memory): Move it to remote.c.
717 (memory_xfer_live_readonly_partial): Likewise.
718 (memory_xfer_partial_1): Move some code to remote_read_bytes.
719 * remote.c (target_read_live_memory): Moved from target.c.
720 (memory_xfer_live_readonly_partial): Likewise.
721 (remote_read_bytes): Factored out from
722 memory_xfer_partial_1.
724 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
726 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
729 2014-03-21 Pedro Alves <palves@redhat.com>
731 * infrun.c (normal_stop): Extend comment.
733 2014-03-21 Hui Zhu <hui@codesourcery.com>
734 Pedro Alves <palves@redhat.com>
736 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
738 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
739 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
740 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
742 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
744 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
745 `z' formatted output modifier.
747 2014-03-20 Tom Tromey <tromey@redhat.com>
748 Sergio Durigan Junior <sergiodj@redhat.com>
750 * probe.c (parse_probes): Turn assert into an ordinary error.
751 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
752 exceptions when parsing probes. Rearrange the code for clarity.
754 2014-03-20 Tom Tromey <tromey@redhat.com>
757 * top.c (execute_command): Only dispatch events if the command
760 2014-03-20 Tom Tromey <tromey@redhat.com>
763 * infcall.c: Include event-top.h.
764 (run_inferior_call): Call async_disable_stdin if needed.
766 2014-03-20 Pedro Alves <palves@redhat.com>
768 * infrun.c (prepare_to_proceed): Delete.
769 (thread_still_needs_step_over): New function.
770 (find_thread_needs_step_over): New function.
771 (proceed): If the current thread needs a step-over, set its
772 steping_over_breakpoint flag. Adjust to use
773 find_thread_needs_step_over instead of prepare_to_proceed.
774 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
775 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
777 (switch_back_to_stepped_thread): Step over breakpoints of all
778 threads not the stepping thread, before switching back to the
781 2014-03-20 Pedro Alves <palves@redhat.com>
783 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
785 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
786 * infrun.c (saved_singlestep_ptid)
787 (stepping_past_singlestep_breakpoint): Delete.
788 (resume): Remove stepping_past_singlestep_breakpoint handling.
789 (proceed): Store the prev_pc of the stepping thread too.
790 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
792 (enum infwait_states): Delete infwait_thread_hop_state.
793 (struct execution_control_state) <hit_singlestep_breakpoint>: New
795 (handle_inferior_event): Adjust.
796 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
797 handling and the thread-hop code. Before removing single-step
798 breakpoints, check whether the thread hit a single-step breakpoint
799 of another thread. If it did, the trap is not a random signal.
800 (switch_back_to_stepped_thread): If the event thread hit a
801 single-step breakpoint, unblock it before switching to the
802 stepping thread. Handle the case of the stepped thread having
804 (keep_going): Handle the case of the current thread moving past a
805 single-step breakpoint.
807 2014-03-20 Pedro Alves <palves@redhat.com>
810 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
811 are being stepped over.
812 (breakpoint_address_match): Make extern.
813 * breakpoint.h (breakpoint_address_match): New declaration.
814 * inferior.h (stepping_past_instruction_at): New declaration.
815 * infrun.c (struct step_over_info): New type.
816 (step_over_info): New global.
817 (set_step_over_info, clear_step_over_info)
818 (stepping_past_instruction_at): New functions.
819 (handle_inferior_event): Clear the step-over info when
820 trap_expected is cleared.
821 (resume): Remove now stale comment.
822 (clear_proceed_status): Clear step-over info.
823 (proceed): Adjust step-over handling to set or clear the step-over
824 info instead of removing all breakpoints.
825 (handle_signal_stop): When setting up a thread-hop, don't remove
827 (stop_stepping): Clear step-over info.
828 (keep_going): Adjust step-over handling to set or clear step-over
829 info and then always inserting breakpoints, instead of removing
830 all breakpoints when stepping over one.
832 2014-03-20 Pedro Alves <palves@redhat.com>
834 * infrun.c (previous_inferior_ptid): Adjust comment.
835 (deferred_step_ptid): Delete.
836 (infrun_thread_ptid_changed, prepare_to_proceed)
837 (init_wait_for_inferior): Adjust.
838 (handle_signal_stop): Delete deferred_step_ptid handling.
840 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
843 * defs.h (sync_quit_force_run): New declaration.
844 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
845 * event-top.c (async_sigterm_handler): New declaration.
846 (async_sigterm_token): New variable.
847 (async_init_signals): Create also async_sigterm_token.
848 (async_sigterm_handler): New function.
849 (sync_quit_force_run): New variable.
850 (handle_sigterm): Replace quit_force call by other calls.
851 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
853 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
855 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
856 offset into SPE pseudo registers.
858 2014-03-18 Pedro Alves <palves@redhat.com>
861 * inferior.h (print_stop_event): Declare.
862 * infrun.c (print_stop_event): New, factored out from ...
863 (normal_stop): ... this.
864 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
865 of bpstat_print/print_stack_frame.
867 2014-03-17 Tom Tromey <tromey@redhat.com>
869 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
871 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
873 * ada-lang.c (decode_constrained_packed_array): Perform a
874 minimal coercion for reference with coerce_ref instead of
877 2014-03-17 Tristan Gingold <gingold@adacore.com>
879 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
880 (darwin_solib_create_inferior_hook): Emit a warning if version
883 2014-03-16 Ulrich Weigand <uweigand@de.ibm.com>
885 * python/py-value.c (get_field_flag): Cast flag_name argument to
886 PyObject_GetAttrString to support Python 2.4.
888 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
890 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
891 (Global Maintainers): Remove Jan Kratochvil.
893 2014-03-14 Pedro Alves <palves@redhat.com>
895 * inferior.h (terminal_ours_for_output): Rename to ...
896 (child_terminal_ours_for_output): ... this.
897 (terminal_save_ours): Rename to ...
898 (child_terminal_save_ours): ... this.
899 (terminal_ours): Rename to ...
900 (child_terminal_ours): ... this.
901 (terminal_inferior): Rename to ...
902 (child_terminal_inferior): ... this.
903 (terminal_init_inferior): Rename to ...
904 (child_terminal_init_inferior): ... this.
905 (terminal_init_inferior_with_pgrp): Rename to ...
906 (child_terminal_init_inferior_with_pgrp): ... this.
907 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
908 (child_terminal_init_with_pgrp): ... this.
909 (terminal_save_ours): Rename to ...
910 (child_terminal_save_ours): ... this.
911 (terminal_init_inferior): Rename to ...
912 (child_terminal_init): ... this. Adjust.
913 (terminal_inferior): Rename to ...
914 (child_terminal_inferior): ... this.
915 (terminal_ours_for_output): Rename to ...
916 (child_terminal_ours_for_output): ... this. Adjust.
917 (terminal_ours): Rename to ...
918 (child_terminal_ours): ... this.
919 (terminal_ours_1): Rename to ...
920 (child_terminal_ours_1): ... this. Adjust.
921 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
922 * windows-nat.c (do_initial_windows_stuff): Adjust.
923 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
924 (gnu_terminal_init): ... this. Adjust.
925 (gnu_target): Adjust.
926 * inf-child.c (inf_child_target): Adjust.
928 2014-03-13 Doug Evans <xdje42@gmail.com>
931 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
934 2014-03-13 Doug Evans <xdje42@gmail.com>
936 * value.c (record_latest_value): Call release_value_or_incref
937 instead of release_value.
939 2014-03-13 Pedro Alves <palves@redhat.com>
941 * procfs.c (procfs_target): Don't override to_shortname,
942 to_longname or to_doc.
944 2014-03-13 Pedro Alves <palves@redhat.com>
946 * inf-child.c (inf_child_open, inf_child_target): Don't mention
947 Unix in user visible strings.
949 2014-03-12 Stan Shebs <stan@codesourcery.com>
951 * gdbtypes.h: Annotate comments for Doxygen, add a page
952 block comment with some general info.
954 2014-03-12 Pedro Alves <palves@redhat.com>
956 * infcmd.c (prepare_execution_command): New function, factored out
957 from several execution commands.
958 (run_command_1, continue_command, step_1, jump_command)
959 (signal_command, until_command, advance_command, finish_command)
960 (attach_command): Use prepare_execution_command.
962 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
964 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
967 (struct arm_linux_thread_points): Removed.
968 (struct arm_linux_process_info): New.
969 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
970 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
971 (arm_linux_find_breakpoints_by_tid): Removed.
972 (struct arch_lwp_info): New.
973 (arm_linux_find_process_pid): New functions.
974 (arm_linux_add_process): New functions.
975 (arm_linux_process_info_get): New functions.
976 (arm_linux_forget_process): New function.
977 (arm_linux_get_debug_reg_state): New function.
978 (struct update_registers_data): New.
979 (update_registers_callback): New function.
980 (arm_linux_insert_hw_breakpoint1): Updated.
981 (arm_linux_remove_hw_breakpoint1): Updated.
982 (arm_linux_insert_hw_breakpoint): Updated.
983 (arm_linux_remove_hw_breakpoint): Updated.
984 (arm_linux_insert_watchpoint): Updated.
985 (arm_linux_remove_watchpoint): Updated.
986 (arm_linux_new_thread): Updated.
987 (arm_linux_prepare_to_resume): New function.
988 (arm_linux_new_fork): New function.
989 (_initialize_arm_linux_nat): Updated.
991 2014-03-12 Pedro Alves <palves@redhat.com>
993 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
995 2014-03-12 Tom Tromey <tromey@redhat.com>
997 * inf-child.c (return_zero): New function.
998 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
999 * aix-thread.c (aix_thread_inferior_created): New function.
1000 (aix_thread_attach): Remove.
1001 (init_aix_thread_ops): Don't set to_attach.
1002 (_initialize_aix_thread): Register inferior_created observer.
1003 * corelow.c (init_core_ops): Don't set to_attach or
1005 * exec.c (init_exec_ops): Don't set to_attach or
1007 * infcmd.c (run_command_1): Use find_run_target. Make direct
1009 (attach_command): Use find_attach_target. Make direct target
1011 * record-btrace.c (init_record_btrace_ops): Don't set
1013 * record-full.c (record_full_can_async_p, record_full_is_async_p):
1015 (init_record_full_ops, init_record_full_core_ops): Update. Don't
1016 set to_create_inferior.
1017 * target.c (complete_target_initialization): Add assertion.
1018 (target_create_inferior): Remove.
1019 (find_default_attach, find_default_create_inferior): Remove.
1020 (find_attach_target, find_run_target): New functions.
1021 (find_default_is_async_p, find_default_can_async_p)
1022 (target_supports_non_stop, target_attach): Remove.
1023 (init_dummy_target): Don't set to_create_inferior or
1024 to_supports_non_stop.
1025 * target.h (struct target_ops) <to_attach>: Add comment. Remove
1026 TARGET_DEFAULT_FUNC.
1027 <to_create_inferior>: Add comment.
1028 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
1029 TARGET_DEFAULT_RETURN.
1030 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
1031 (find_attach_target, find_run_target): Declare.
1032 (target_create_inferior): Remove.
1033 (target_has_execution_1): Update comment.
1034 (target_supports_non_stop): Remove.
1035 * target-delegates.c: Rebuild.
1037 2014-03-12 Pedro Alves <palves@redhat.com>
1039 * inf-child.h: Update comment to not mention Unix.
1041 2014-03-12 Pedro Alves <palves@redhat.com>
1043 * inf-child.c: Update top comment to not mention Unix. Add
1044 generic comment describing how this target is meant to be used.
1045 (inf_child_post_attach, inf_child_post_startup_inferior)
1046 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
1049 2014-03-12 Pedro Alves <palves@redhat.com>
1051 * nto-procfs.c: Include inf-child.h.
1052 (procfs_ops): Delete global.
1053 (procfs_can_run): Delete method.
1054 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
1055 target pointer instead of referencing procfs_ops.
1056 (procfs_prepare_to_store): Delete.
1057 (init_procfs_ops): Delete function.
1058 (procfs_target): New function, based on init_procfs_ops, but
1059 inherit inf_child_target.
1060 (_initialize_procfs): Use procfs_target.
1062 2014-03-12 Pedro Alves <palves@redhat.com>
1064 * windows-nat.c: Include inf-child.h.
1065 (windows_ops): Delete global.
1066 (windows_open, windows_prepare_to_store, windows_can_run): Delete
1068 (init_windows_ops): Delete function.
1069 (windows_target): New function, based on init_windows_ops, but
1070 inherit inf_child_target.
1071 (_initialize_windows_nat): Use windows_target. Install x86
1072 specific target methods here.
1074 2014-03-10 Doug Evans <xdje42@gmail.com>
1076 * guile/guile.c (call_initialize_gdb_module): New function.
1077 (initialize_guile): Replace call to scm_init_guile with call to
1080 2014-03-10 Joel Brobecker <brobecker@adacore.com>
1082 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
1083 in call to TYPE_CODE macro.
1085 2014-03-10 Jerome Guitton <guitton@adacore.com>
1087 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
1088 Resolve tagged types to full view.
1090 2014-03-10 Hui Zhu <hui@codesourcery.com>
1092 * target.h (target_insert_breakpoint): Remove "hardware" from its
1095 2014-03-07 Doug Evans <dje@google.com>
1097 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
1099 2014-03-07 Doug Evans <dje@google.com>
1101 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
1102 Remove unused local comp_dir_attr. Assert exactly one of
1103 stub_comp_unit_die, stub_comp_dir is non-NULL.
1105 2014-03-07 Joel Brobecker <brobecker@adacore.com>
1107 * target.h (complete_target_initialization, add_target):
1110 2014-03-07 Pedro Alves <palves@redhat.com>
1112 * go32-nat.c: Include inf-child.h.
1113 (go32_ops): Delete global.
1114 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
1116 (go32_create_inferior): Push the passed in target pointer instead
1117 of referencing go32_ops.
1118 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
1119 (go32_target): New function, based on init_go32_ops, but inherit
1121 (_initialize_go32_nat): Use go32_target. Move parts of
1124 2014-03-06 Joel Brobecker <brobecker@adacore.com>
1126 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
1127 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
1128 SYMBOL_VALUE_ADDRESS.
1129 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
1131 2014-03-06 Yao Qi <yao@codesourcery.com>
1133 * breakpoint.c (get_tracepoint_by_number): Remove argument
1134 optional_p. All callers updated. Adjust comments. Update
1136 * breakpoint.h (get_tracepoint_by_number): Update declaration.
1138 2014-03-06 Yao Qi <yao@codesourcery.com>
1140 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
1141 early if get_number returns zero. Use 'p' instead of 'args'.
1143 2014-03-06 Yao Qi <yao@codesourcery.com>
1145 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
1148 2014-03-06 Yao Qi <yao@codesourcery.com>
1150 PR breakpoints/16508
1151 * tracepoint.c (check_trace_running): New function.
1152 (trace_find_command): Move code to check_trace_running and
1153 call check_trace_running.
1154 (trace_find_pc_command): Likewise.
1155 (trace_find_tracepoint_command): Likewise.
1156 (trace_find_line_command): Likewise.
1157 (trace_find_range_command): Likewise.
1158 * tracepoint.h (check_trace_running): Likewise.
1159 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
1161 2014-03-06 Yao Qi <yao@codesourcery.com>
1163 * target.h (struct target_ops) <to_traceframe_info>: Use
1164 TARGET_DEFAULT_NORETURN (tcomplain ()).
1165 * target-delegates.c: Regenerated.
1167 2014-03-05 Pedro Alves <palves@redhat.com>
1170 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
1171 void. Update comment.
1172 (dcache_xfer_memory): Delete.
1173 (dcache_read_memory_partial): New, based on the read bits of
1175 (dcache_update): Add status parameter. Use ULONGEST for len, and
1176 adjust. Discard cache lines if the reason for the update was
1178 * dcache.h (dcache_xfer_memory): Delete declaration.
1179 (dcache_read_memory_partial): New declaration.
1180 (dcache_update): Update prototype.
1181 * target.c (raw_memory_xfer_partial): Update the dcache here.
1182 (memory_xfer_partial_1): Don't handle dcache writes here.
1184 2014-03-05 Mike Frysinger <vapier@gentoo.org>
1186 * remote-sim.c (gdbsim_load): Add const to prog.
1188 2014-03-03 Tom Tromey <tromey@redhat.com>
1190 * elfread.c (probe_key): Change to bfd_data.
1191 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
1192 now per-BFD, not per-objfile.
1193 * stap-probe.c (stap_probe_destroy): Update comment.
1194 (handle_stap_probe): Allocate on the per-BFD obstack.
1196 2014-03-03 Tom Tromey <tromey@redhat.com>
1198 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
1199 * breakpoint.c (create_longjmp_master_breakpoint): Use
1201 (add_location_to_breakpoint, bkpt_probe_insert_location)
1202 (bkpt_probe_remove_location): Update.
1203 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
1204 * elfread.c (elf_symfile_relocate_probe): Remove.
1205 (elf_probe_fns): Update.
1206 (insert_exception_resume_breakpoint): Change type of "probe"
1207 parameter to bound_probe.
1208 (check_exception_resume): Update.
1209 * objfiles.c (objfile_relocate1): Don't relocate probes.
1210 * probe.c (bound_probe_s): New typedef.
1211 (parse_probes): Use get_probe_address. Set sal's objfile.
1212 (find_probe_by_pc): Return a bound_probe.
1213 (collect_probes): Return a VEC(bound_probe_s).
1214 (compare_probes): Update.
1215 (gen_ui_out_table_header_info): Change type of "probes"
1217 (info_probes_for_ops): Update.
1218 (get_probe_address): New function.
1219 (probe_safe_evaluate_at_pc): Update.
1220 * probe.h (struct probe_ops) <get_probe_address>: New field.
1221 <set_semaphore, clear_semaphore>: Add objfile parameter.
1222 (struct probe) <objfile>: Remove field.
1224 <address>: Update comment.
1225 (struct bound_probe): New.
1226 (find_probe_by_pc): Return a bound_probe.
1227 (get_probe_address): Declare.
1228 * solib-svr4.c (struct probe_and_action) <address>: New field.
1229 (hash_probe_and_action, equal_probe_and_action): Update.
1230 (register_solib_event_probe): Add address parameter.
1231 (solib_event_probe_at): Update.
1232 (svr4_create_probe_breakpoints): Add objfile parameter. Use
1234 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
1235 (stap_get_probe_address): New function.
1236 (stap_can_evaluate_probe_arguments, compute_probe_arg)
1237 (compile_probe_arg): Update.
1238 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
1240 (handle_stap_probe): Don't relocate the probe.
1241 (stap_relocate): Remove.
1242 (stap_gen_info_probes_table_values): Update.
1243 (stap_probe_ops): Remove stap_relocate.
1244 * symfile-debug.c (debug_sym_relocate_probe): Remove.
1245 (debug_sym_probe_fns): Update.
1246 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
1247 * symtab.c (init_sal): Use memset.
1248 * symtab.h (struct symtab_and_line) <objfile>: New field.
1249 * tracepoint.c (start_tracing, stop_tracing): Update.
1251 2014-03-03 Tom Tromey <tromey@redhat.com>
1253 * probe.h (parse_probes, find_probe_by_pc)
1254 (find_probes_in_objfile): Fix comments.
1256 2014-03-02 Doug Evans <xdje42@gmail.com>
1258 * infrun.c (handle_signal_stop): Replace test for
1259 TARGET_WAITKIND_STOPPED with an assert.
1261 2014-03-02 Doug Evans <xdje42@gmail.com>
1263 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
1265 2014-03-02 Doug Evans <xdje42@gmail.com>
1267 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
1269 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1271 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
1273 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1275 * i386obsd-nat.c: Include "obsd-nat.h".
1276 (_initialize_i386obsd_nat): Call obsd_add_target instead of
1278 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
1280 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1282 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
1284 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1286 * mips64obsd-nat.c: Include "obsd-nath".
1287 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
1289 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
1291 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1293 * amd64obsd-nat.c: Include "obsd-nat,h.
1294 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
1296 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
1298 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
1300 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
1301 (find_overload_match): Update call to find_oload_champ.
1302 (find_oload_champ_namespace_loop): Likewise
1304 2014-02-28 Mark Kettenis <kettenis@gnu.org>
1306 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
1308 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
1309 * config/sparc/obsd64.mh: New file.
1310 * sparc64obsd-nat.c: New file.
1312 * obsd-nat.h: New file.
1313 * obsd-nat.c: New file.
1314 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
1315 (ALLDEPFILES): Add obsd-nat.c.
1317 2014-02-28 Tom Tromey <tromey@redhat.com>
1319 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
1320 * cli-out.h (cli_ui_out_impl): Now const.
1321 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
1322 * ui-out.c (struct ui_out) <impl>: Now const.
1323 (default_ui_out_impl): Now const.
1324 (ui_out_new): Make 'impl' parameter const.
1325 * ui-out.h (ui_out_new): Update.
1327 2014-02-27 Mark Kettenis <kettenis@gnu.org>
1329 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
1331 2014-02-27 Mark Kettenis <kettenis@gnu.org>
1333 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
1335 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1337 Additional PR 8882 fix.
1338 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
1340 2014-02-27 Pedro Alves <palves@redhat.com>
1342 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
1345 2014-02-27 Pedro Alves <palves@redhat.com>
1348 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
1349 * nat/linux-waitpid.c: Include string.h.
1350 (status_to_str): Moved here and made extern.
1351 * nat/linux-waitpid.h (status_to_str): New declaration.
1353 2014-02-27 Hui Zhu <hui@codesourcery.com>
1356 * infrun.c (ptid_match): Move ...
1357 * common/ptid.c (ptid_match): ... here.
1358 * inferior.h (ptid_match): Move ...
1359 * common/ptid.h (ptid_match): ... here.
1361 2014-02-27 Mark Kettenis <kettenis@gnu.org>
1363 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
1364 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
1367 2014-02-27 Mark Kettenis <kettenis@gnu.org>
1369 * obsd-tdep.c (obsd_auxv_parse): New function.
1370 (obsd_init_abi): Set auxv_parse.
1372 * gdbarch.sh (auxv_parse): New.
1373 * gdbarch.h: Regenerated.
1374 * gdbarch.c: Regenerated.
1375 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
1377 2014-02-26 Ludovic Courtès <ludo@gnu.org>
1379 * guile/scm-value.c (gdbscm_history_append_x): New function.
1380 (value_functions): Add it.
1382 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1384 * dwarf2read.c (attr_value_as_address): New function.
1385 (dwarf2_find_base_address, read_call_site_scope): Use
1386 attr_value_as_address in place of DW_ADDR.
1387 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
1388 the low and high addresses. Slight rework of the handling
1389 of the high pc being a constant form, and limit it to
1390 DWARF verson 4 or higher.
1391 (dwarf2_record_block_ranges): Likewise.
1392 (read_partial_die): Likewise.
1393 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
1395 2014-02-26 Tom Tromey <tromey@redhat.com>
1397 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
1399 2014-02-26 Tom Tromey <tromey@redhat.com>
1401 * elfread.c (elf_read_minimal_symbols): Return early if
1402 minimal symbols have already been read. Add "ei" parameter.
1403 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
1404 * minsyms.c (prim_record_minimal_symbol_full): Update.
1405 * objfiles.h (struct objstats) <n_minsyms>: Move...
1406 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
1407 * symmisc.c (print_objfile_statistics): Update.
1409 2014-02-26 Tom Tromey <tromey@redhat.com>
1411 * elfread.c (elf_read_minimal_symbols): New function, from
1413 (elf_symfile_read): Call it.
1415 2014-02-26 Tom Tromey <tromey@redhat.com>
1417 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
1418 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
1419 (lookup_minimal_symbol_solib_trampoline)
1420 (lookup_minimal_symbol_by_pc_section_1)
1421 (lookup_minimal_symbol_and_objfile): Update.
1422 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
1423 Don't allocate a minimal symbol if minsyms have already been read.
1424 (build_minimal_symbol_hash_tables): Update.
1425 (install_minimal_symbols): Do nothing if minsyms already read.
1426 Use the per-BFD obstack.
1427 (terminate_minimal_symbol_table): Use the per-BFD obstack.
1428 * objfiles.c (allocate_objfile): Call
1429 terminate_minimal_symbol_table later.
1430 (have_minimal_symbols): Update.
1431 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
1432 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
1433 Move from struct objfile.
1434 <minsyms_read>: New field.
1435 (struct objfile) <msymbols, minimal_symbol_count,
1436 msymbol_hash, msymbol_demangled_hash>: Move.
1437 (ALL_OBJFILE_MSYMBOLS): Update.
1438 * symfile.c (read_symbols): Set minsyms_read.
1439 (reread_symbols): Update.
1440 * symmisc.c (dump_objfile, dump_msymbols): Update.
1442 2014-02-26 Tom Tromey <tromey@redhat.com>
1444 * minsyms.c (msymbols_sort): Remove.
1445 * minsyms.h (msymbols_sort): Remove.
1446 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
1447 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
1448 * elfread.c (elf_symtab_read): Don't add section offsets.
1449 * xcoffread.c (record_minimal_symbol): Don't add section offset
1450 to minimal symbol address.
1451 * somread.c (text_offset, data_offset): Remove.
1452 (som_symtab_read): Don't add section offsets to minimal symbol
1454 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
1455 Don't add section offsets to minimal symbols.
1456 * coffread.c (coff_symtab_read): Don't add section offsets
1457 to minimal symbol addresses.
1458 * machoread.c (macho_symtab_add_minsym): Don't add section offset
1459 to minimal symbol addresses.
1460 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
1461 section offset to minimal symbol addresses.
1462 * mdebugread.c (parse_partial_symbols): Don't add section
1463 offset to minimal symbol addresses.
1464 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
1465 offset to minimal symbol addresses.
1467 2014-02-26 Tom Tromey <tromey@redhat.com>
1469 * ada-lang.c (ada_main_name): Update.
1470 (ada_add_standard_exceptions): Update.
1471 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
1472 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
1473 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
1474 * auxv.c (ld_so_xfer_auxv): Update.
1475 * avr-tdep.c (avr_scan_prologue): Update.
1476 * ax-gdb.c (gen_var_ref): Update.
1477 * blockframe.c (get_pc_function_start)
1478 (find_pc_partial_function_gnu_ifunc): Update.
1479 * breakpoint.c (create_overlay_event_breakpoint)
1480 (create_longjmp_master_breakpoint)
1481 (create_std_terminate_master_breakpoint)
1482 (create_exception_master_breakpoint): Update.
1483 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
1484 * c-valprint.c (c_val_print): Update.
1485 * coff-pe-read.c (add_pe_forwarded_sym): Update.
1486 * common/agent.c (agent_look_up_symbols): Update.
1487 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
1488 * dwarf2loc.c (call_site_to_target_addr): Update.
1489 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
1490 * elfread.c (elf_gnu_ifunc_record_cache)
1491 (elf_gnu_ifunc_resolve_by_got): Update.
1492 * findvar.c (default_read_var_value): Update.
1493 * frame.c (inside_main_func): Update.
1494 * frv-tdep.c (frv_frame_this_id): Update.
1495 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
1496 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
1498 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
1499 (hppa_hpux_find_dummy_bpaddr): Update.
1500 * hppa-tdep.c (hppa_symbol_address): Update.
1501 * infcmd.c (until_next_command): Update.
1502 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
1504 * linespec.c (minsym_found, add_minsym): Update.
1505 * linux-nat.c (get_signo): Update.
1506 * linux-thread-db.c (inferior_has_bug): Update.
1507 * m32c-tdep.c (m32c_return_value)
1508 (m32c_m16c_address_to_pointer): Update.
1509 * m32r-tdep.c (m32r_frame_this_id): Update.
1510 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
1511 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
1512 * maint.c (maintenance_translate_address): Update.
1513 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
1514 (frob_address): New function.
1515 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
1516 frob_address. Rename parameter to "pc_in".
1517 (compare_minimal_symbols, compact_minimal_symbols): Use raw
1519 (find_solib_trampoline_target, minimal_symbol_upper_bound):
1521 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
1522 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
1523 * objc-lang.c (find_objc_msgsend): Update.
1524 * objfiles.c (objfile_relocate1): Update.
1525 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
1526 * p-valprint.c (pascal_val_print): Update.
1527 * parse.c (write_exp_msymbol): Update.
1528 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
1529 (ppc_elfv2_skip_entrypoint): Update.
1530 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
1531 * printcmd.c (build_address_symbolic, msym_info)
1532 (address_info): Update.
1533 * proc-service.c (ps_pglobal_lookup): Update.
1534 * psymtab.c (find_pc_sect_psymtab_closer)
1535 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
1536 Change msymbol parameter to bound_minimal_symbol.
1537 * ravenscar-thread.c (get_running_thread_id): Update.
1538 * remote.c (remote_check_symbols): Update.
1539 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
1541 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
1542 * solib-dsbt.c (lm_base): Update.
1543 * solib-frv.c (lm_base, main_got): Update.
1544 * solib-irix.c (locate_base): Update.
1545 * solib-som.c (som_solib_create_inferior_hook)
1546 (link_map_start): Update.
1547 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
1548 * solib-svr4.c (elf_locate_base, enable_break): Update.
1549 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
1550 (flush_ea_cache): Update.
1551 * stabsread.c (define_symbol, scan_file_globals): Update.
1552 * stack.c (find_frame_funname): Update.
1553 * symfile-debug.c (debug_qf_expand_symtabs_matching)
1554 (debug_qf_find_pc_sect_symtab): Update.
1555 * symfile.c (simple_read_overlay_table)
1556 (simple_overlay_update): Update.
1557 * symfile.h (struct quick_symbol_functions)
1558 <find_pc_sect_symtab>: Change type of msymbol to
1559 bound_minimal_symbol.
1560 * symmisc.c (dump_msymbols): Update.
1561 * symtab.c (find_pc_sect_symtab_via_partial)
1562 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
1563 (search_symbols, print_msymbol_info): Update.
1564 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
1565 (MSYMBOL_VALUE_ADDRESS): Redefine.
1566 (BMSYMBOL_VALUE_ADDRESS): New macro.
1567 * tracepoint.c (scope_info): Update.
1568 * tui/tui-disasm.c (tui_find_disassembly_address)
1569 (tui_get_begin_asm_address): Update.
1570 * valops.c (find_function_in_inferior): Update.
1571 * value.c (value_static_field, value_fn_field): Update.
1573 2014-02-26 Tom Tromey <tromey@redhat.com>
1575 * ada-lang.c (ada_update_initial_language): Update.
1576 (ada_main_name, ada_has_this_exception_support): Update.
1577 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
1578 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
1579 * arm-tdep.c (arm_skip_stub): Update.
1580 * auxv.c (ld_so_xfer_auxv): Update.
1581 * avr-tdep.c (avr_scan_prologue): Update.
1582 * ax-gdb.c (gen_var_ref): Update.
1583 * breakpoint.c (struct breakpoint_objfile_data)
1584 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
1585 type to bound_minimal_symbol.
1586 (create_overlay_event_breakpoint)
1587 (create_longjmp_master_breakpoint)
1588 (create_std_terminate_master_breakpoint)
1589 (create_exception_master_breakpoint): Update.
1590 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
1591 * c-exp.y (classify_name): Update.
1592 * coffread.c (coff_symfile_read): Update.
1593 * common/agent.c (agent_look_up_symbols): Update.
1594 * d-lang.c (d_main_name): Update.
1595 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
1596 * dec-thread.c (enable_dec_thread): Update.
1597 * dwarf2loc.c (call_site_to_target_addr): Update.
1598 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
1599 * eval.c (evaluate_subexp_standard): Update.
1600 * findvar.c (struct minsym_lookup_data) <result>: Change type
1601 to bound_minimal_symbol.
1603 (minsym_lookup_iterator_cb, default_read_var_value): Update.
1604 * frame.c (inside_main_func): Update.
1605 * frv-tdep.c (frv_frame_this_id): Update.
1606 * gcore.c (call_target_sbrk): Update.
1607 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
1608 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
1610 * go-lang.c (go_main_name): Update.
1611 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
1612 (hppa_hpux_find_import_stub_for_addr): Update.
1613 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
1614 Update. Change return type.
1615 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
1617 * jit.c (jit_breakpoint_re_set_internal): Update.
1618 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
1620 * linux-nat.c (get_signo): Update.
1621 * linux-thread-db.c (inferior_has_bug): Update
1622 * m32c-tdep.c (m32c_return_value)
1623 (m32c_m16c_address_to_pointer): Update.
1624 * m32r-tdep.c (m32r_frame_this_id): Update.
1625 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
1626 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
1627 * minsyms.c (lookup_minimal_symbol_internal): Rename to
1628 lookup_minimal_symbol. Change return type.
1629 (lookup_minimal_symbol): Remove.
1630 (lookup_bound_minimal_symbol): Update.
1631 (lookup_minimal_symbol_text): Change return type.
1632 (lookup_minimal_symbol_solib_trampoline): Change return type.
1633 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
1634 (lookup_minimal_symbol_solib_trampoline): Change return type.
1635 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
1636 * objc-lang.c (lookup_objc_class, lookup_child_selector)
1637 (value_nsstring, find_imps): Update.
1638 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
1639 * p-lang.c (pascal_main_name): Update.
1640 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
1641 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
1642 * proc-service.c (ps_pglobal_lookup): Update.
1643 * ravenscar-thread.c (get_running_thread_msymbol): Change
1645 (has_ravenscar_runtime, get_running_thread_id): Update.
1646 * remote.c (remote_check_symbols): Update.
1647 * sol-thread.c (ps_pglobal_lookup): Update.
1648 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
1649 * solib-dsbt.c (lm_base): Update.
1650 * solib-frv.c (lm_base, frv_relocate_section_addresses):
1652 * solib-irix.c (locate_base): Update.
1653 * solib-som.c (som_solib_create_inferior_hook)
1654 (som_solib_desire_dynamic_linker_symbols, link_map_start):
1656 * solib-spu.c (spu_enable_break): Update.
1657 * solib-svr4.c (elf_locate_base, enable_break): Update.
1658 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
1659 (flush_ea_cache): Update.
1660 * stabsread.c (define_symbol): Update.
1661 * symfile.c (simple_read_overlay_table): Update.
1662 * symtab.c (find_pc_sect_line): Update.
1663 * tracepoint.c (scope_info): Update.
1664 * tui-disasm.c (tui_get_begin_asm_address): Update.
1665 * value.c (value_static_field): Update.
1667 2014-02-26 Tom Tromey <tromey@redhat.com>
1669 * minsyms.c (prim_record_minimal_symbol_full): Use
1670 SET_MSYMBOL_VALUE_ADDRESS.
1671 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
1672 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
1673 SET_MSYMBOL_VALUE_ADDRESS.
1674 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
1675 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
1677 2014-02-26 Tom Tromey <tromey@redhat.com>
1679 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
1680 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
1681 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
1682 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
1683 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
1684 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
1685 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
1686 * ada-lang.c (ada_main_name): Update.
1687 (ada_lookup_simple_minsym): Update.
1688 (ada_make_symbol_completion_list): Update.
1689 (ada_add_standard_exceptions): Update.
1690 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
1691 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
1692 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
1693 * arm-tdep.c (skip_prologue_function): Update.
1694 (arm_skip_stack_protector, arm_skip_stub): Update.
1695 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
1696 (arm_wince_skip_main_prologue): Update.
1697 * auxv.c (ld_so_xfer_auxv): Update.
1698 * avr-tdep.c (avr_scan_prologue): Update.
1699 * ax-gdb.c (gen_var_ref): Update.
1700 * block.c (call_site_for_pc): Update.
1701 * blockframe.c (get_pc_function_start): Update.
1702 (find_pc_partial_function_gnu_ifunc): Update.
1703 * breakpoint.c (create_overlay_event_breakpoint): Update.
1704 (create_longjmp_master_breakpoint): Update.
1705 (create_std_terminate_master_breakpoint): Update.
1706 (create_exception_master_breakpoint): Update.
1707 (resolve_sal_pc): Update.
1708 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
1709 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
1711 * c-valprint.c (c_val_print): Update.
1712 * coff-pe-read.c (add_pe_forwarded_sym): Update.
1713 * coffread.c (coff_symfile_read): Update.
1714 * common/agent.c (agent_look_up_symbols): Update.
1715 * dbxread.c (find_stab_function_addr): Update.
1716 (end_psymtab): Update.
1717 * dwarf2loc.c (call_site_to_target_addr): Update.
1718 (func_verify_no_selftailcall): Update.
1719 (tailcall_dump): Update.
1720 (call_site_find_chain_1): Update.
1721 (dwarf_expr_reg_to_entry_parameter): Update.
1722 * elfread.c (elf_gnu_ifunc_record_cache): Update.
1723 (elf_gnu_ifunc_resolve_by_got): Update.
1724 * f-valprint.c (info_common_command): Update.
1725 * findvar.c (read_var_value): Update.
1726 * frame.c (get_prev_frame_1): Update.
1727 (inside_main_func): Update.
1728 * frv-tdep.c (frv_skip_main_prologue): Update.
1729 (frv_frame_this_id): Update.
1730 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
1731 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
1732 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
1733 (gnuv3_skip_trampoline): Update.
1734 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
1735 (hppa64_hpux_in_solib_call_trampoline): Update.
1736 (hppa_hpux_skip_trampoline_code): Update.
1737 (hppa64_hpux_search_dummy_call_sequence): Update.
1738 (hppa_hpux_find_import_stub_for_addr): Update.
1739 (hppa_hpux_find_dummy_bpaddr): Update.
1740 * hppa-tdep.c (hppa_symbol_address)
1741 (hppa_lookup_stub_minimal_symbol): Update.
1742 * i386-tdep.c (i386_skip_main_prologue): Update.
1743 (i386_pe_skip_trampoline_code): Update.
1744 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
1745 * infcall.c (get_function_name): Update.
1746 * infcmd.c (until_next_command): Update.
1747 * jit.c (jit_breakpoint_re_set_internal): Update.
1748 (jit_inferior_init): Update.
1749 * linespec.c (minsym_found): Update.
1750 (add_minsym): Update.
1751 * linux-fork.c (info_checkpoints_command): Update.
1752 * linux-nat.c (get_signo): Update.
1753 * linux-thread-db.c (inferior_has_bug): Update.
1754 * m32c-tdep.c (m32c_return_value): Update.
1755 (m32c_m16c_address_to_pointer): Update.
1756 (m32c_m16c_pointer_to_address): Update.
1757 * m32r-tdep.c (m32r_frame_this_id): Update.
1758 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
1759 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
1760 * maint.c (maintenance_translate_address): Update.
1761 * minsyms.c (add_minsym_to_hash_table): Update.
1762 (add_minsym_to_demangled_hash_table): Update.
1763 (msymbol_objfile): Update.
1764 (lookup_minimal_symbol): Update.
1765 (iterate_over_minimal_symbols): Update.
1766 (lookup_minimal_symbol_text): Update.
1767 (lookup_minimal_symbol_by_pc_name): Update.
1768 (lookup_minimal_symbol_solib_trampoline): Update.
1769 (lookup_minimal_symbol_by_pc_section_1): Update.
1770 (lookup_minimal_symbol_and_objfile): Update.
1771 (prim_record_minimal_symbol_full): Update.
1772 (compare_minimal_symbols): Update.
1773 (compact_minimal_symbols): Update.
1774 (build_minimal_symbol_hash_tables): Update.
1775 (install_minimal_symbols): Update.
1776 (terminate_minimal_symbol_table): Update.
1777 (find_solib_trampoline_target): Update.
1778 (minimal_symbol_upper_bound): Update.
1779 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
1780 * mips-tdep.c (mips_stub_frame_sniffer): Update.
1781 (mips_skip_pic_trampoline_code): Update.
1782 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
1783 * objc-lang.c (selectors_info): Update.
1784 (classes_info): Update.
1785 (find_methods): Update.
1786 (find_imps): Update.
1787 (find_objc_msgsend): Update.
1788 * objfiles.c (objfile_relocate1): Update.
1789 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
1790 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
1791 * p-valprint.c (pascal_val_print): Update.
1792 * parse.c (write_exp_msymbol): Update.
1793 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
1794 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
1795 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
1796 * printcmd.c (build_address_symbolic): Update.
1798 (address_info): Update.
1799 * proc-service.c (ps_pglobal_lookup): Update.
1800 * psymtab.c (find_pc_sect_psymtab_closer): Update.
1801 (find_pc_sect_psymtab): Update.
1802 * python/py-framefilter.c (py_print_frame): Update.
1803 * ravenscar-thread.c (get_running_thread_id): Update.
1804 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
1806 * remote.c (remote_check_symbols): Update.
1807 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
1808 (rs6000_skip_trampoline_code): Update.
1809 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
1810 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
1811 * solib-dsbt.c (lm_base): Update.
1812 * solib-frv.c (lm_base): Update.
1814 * solib-irix.c (locate_base): Update.
1815 * solib-som.c (som_solib_create_inferior_hook): Update.
1816 (som_solib_desire_dynamic_linker_symbols): Update.
1817 (link_map_start): Update.
1818 * solib-spu.c (spu_enable_break): Update.
1819 (ocl_enable_break): Update.
1820 * solib-svr4.c (elf_locate_base): Update.
1821 (enable_break): Update.
1822 * spu-tdep.c (spu_get_overlay_table): Update.
1823 (spu_catch_start): Update.
1824 (flush_ea_cache): Update.
1825 * stabsread.c (define_symbol): Update.
1826 (scan_file_globals): Update.
1827 * stack.c (find_frame_funname): Update.
1828 (frame_info): Update.
1829 * symfile.c (simple_read_overlay_table): Update.
1830 (simple_overlay_update): Update.
1831 * symmisc.c (dump_msymbols): Update.
1832 * symtab.c (fixup_section): Update.
1833 (find_pc_sect_line): Update.
1834 (skip_prologue_sal): Update.
1835 (search_symbols): Update.
1836 (print_msymbol_info): Update.
1837 (rbreak_command): Update.
1838 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
1839 (completion_list_objc_symbol): Update.
1840 (default_make_symbol_completion_list_break_on): Update.
1841 * tracepoint.c (scope_info): Update.
1842 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
1843 (tui_get_begin_asm_address): Update.
1844 * valops.c (find_function_in_inferior): Update.
1845 * value.c (value_static_field): Update.
1846 (value_fn_field): Update.
1848 2014-02-26 Tom Tromey <tromey@redhat.com>
1850 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
1851 bound minimal symbols. Move code that knows about minsym
1853 * minsyms.c (minimal_symbol_upper_bound): ... here. New
1855 * minsyms.h (minimal_symbol_upper_bound): Declare.
1856 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
1857 minimal_symbol_upper_bound.
1859 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1861 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
1862 Use the type's name if its basic type does not have a tag.
1864 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1866 * dwarf2read.c (read_subrange_type): Add comment.
1868 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1870 * dwarf2read.c (update_enumeration_type_from_children): New
1871 function, mostly extracted from process_structure_scope.
1872 (read_enumeration_type): Call update_enumeration_type_from_children.
1873 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
1874 and flag_flag_enum fields.
1876 2014-02-26 Pedro Alves <palves@redhat.com>
1878 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
1879 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
1880 to_xfer_partial method.
1882 2014-02-26 Pedro Alves <palves@redhat.com>
1884 * target.c (complete_target_initialization): Don't install
1885 default_xfer_partial as to_xfer_partial hook.
1887 (update_current_target): Don't INHERIT nor de_fault
1888 deprecated_xfer_memory. Delete de_fault macro.
1889 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
1890 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
1891 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
1894 2014-02-26 Pedro Alves <palves@redhat.com>
1896 * go32-nat.c (my_write_child): New function.
1897 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
1898 (go32_xfer_partial): New function.
1899 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
1900 Instead install a to_xfer_partial hook.
1902 2014-02-26 Pedro Alves <palves@redhat.com>
1904 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
1905 to_xfer_partial helper. Rewrite.
1906 (procfs_xfer_partial): New function.
1907 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
1908 Install a to_xfer_partial hook.
1910 2014-02-26 Pedro Alves <palves@redhat.com>
1912 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
1913 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
1914 (m32r_xfer_partial): New function.
1915 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
1916 Install a to_xfer_partial hook.
1918 2014-02-26 Pedro Alves <palves@redhat.com>
1920 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
1922 (mips_xfer_partial): New function.
1923 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
1924 hook. Install a to_xfer_partial hook.
1926 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1928 * gdbtypes.h (create_array_type_with_stride): Add declaration.
1929 * gdbtypes.c (create_array_type_with_stride): New function,
1930 renaming create_array_type, but with an added parameter
1931 called "bit_stride".
1932 (create_array_type): Re-implement using
1933 create_array_type_with_stride.
1934 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
1935 and DW_AT_bit_stride attributes.
1937 2014-02-26 Pedro Alves <palves@redhat.com>
1939 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
1940 task-specific breakpoints.
1942 2014-02-25 Pedro Alves <palves@redhat.com>
1944 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
1945 handling of object == TARGET_OBJECT_UNWIND_TABLE.
1947 2014-02-25 Stan Shebs <stan@codesourcery.com>
1949 * defs.h: Annotate comments for Doxygen.
1951 2014-02-25 Tom Tromey <tromey@redhat.com>
1953 * target.h (target_ignore): Don't declare.
1954 * target.c (target_ignore): Remove.
1956 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1959 * auto-load.c (auto_load_objfile_script_1): Change filename to
1962 2014-02-25 Joel Brobecker <brobecker@adacore.com>
1964 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
1965 documentation. Adjust prototype to match the target_ops
1966 to_xfer_partial method. Adjust implementation accordingly.
1968 2014-02-25 Hui Zhu <hui@codesourcery.com>
1970 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
1973 2014-02-25 Kevin Buettner <kevinb@redhat.com>
1975 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
1976 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
1977 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
1978 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
1979 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
1980 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
1981 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
1982 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
1984 (rl78_register_type): Use a data pointer type for SP and
1985 new pseudo registers mentioned above. Use a 16 bit integer
1986 type for all other register pairs.
1987 (rl78_register_name, rl78_g10_register_name): Update for
1988 new pseudo registers.
1989 (rl78_pseudo_register_read): Likewise.
1990 (rl78_pseudo_register_write): Likewise.
1991 (rl78_dwarf_reg_to_regnum): Return register numbers representing
1992 to the newly added pseudo registers.
1994 2014-02-24 Doug Evans <dje@google.com>
1996 * value.c (record_latest_value): Fix comment.
1997 * printcmd.c (print_command_1): Remove code to handle -1 return from
1998 record_latest_value.
2000 2014-02-24 Pedro Alves <palves@redhat.com>
2002 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
2003 deprecated_xfer_memory hook.
2004 (procfs_xfer_partial): Call procfs_xfer_memory instead
2005 of the deprecated_xfer_memory target hook.
2006 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
2009 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
2011 * windows-nat.c (windows_xfer_shared_libraries): Return
2012 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
2013 requested object is TARGET_OBJECT_LIBRARIES.
2015 2014-02-24 Yao Qi <yao@codesourcery.com>
2017 * target.h (enum target_xfer_status)
2018 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
2019 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
2021 * corefile.c (memory_error_message): User updated.
2022 * exec.c (section_table_read_available_memory): Likewise.
2023 * record-btrace.c (record_btrace_xfer_partial): Likewise.
2024 * target.c (target_xfer_status_to_string): Likewise.
2025 (raw_memory_xfer_partial): Likewise.
2026 (memory_xfer_partial_1, target_xfer_partial): Likewise.
2027 * valops.c (read_value_memory): Likewise.
2028 * exec.h: Update comments.
2030 2014-02-24 Yao Qi <yao@codesourcery.com>
2032 * target.c (target_xfer_status_to_string): Rename argument err
2034 * target.h (target_xfer_status_to_string): Update declaration.
2035 Replace target_xfer_error_to_string with
2036 target_xfer_status_to_string in comment.
2038 2014-02-24 Yao Qi <yao@codesourcery.com>
2040 * mips-linux-nat.c (super_close): Update its type.
2041 (mips_linux_close): Pass 'self' to super_close.
2043 2014-02-24 Yao Qi <yao@codesourcery.com>
2045 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
2046 * corefile.c (read_memory): Adjusted.
2047 * target.c (target_write_with_progress): Adjusted.
2049 2014-02-23 Yao Qi <yao@codesourcery.com>
2053 2013-10-25 Yao Qi <yao@codesourcery.com>
2055 * remote.c (remote_traceframe_info): Return early if
2056 traceframe is not selected.
2058 2013-07-19 Yao Qi <yao@codesourcery.com>
2060 * target.c (update_current_target): Change the default action
2061 of 'to_traceframe_info' from tcomplain to return_zero.
2062 * target.h (struct target_ops) <to_traceframe_info>: Add more
2065 2014-02-23 Yao Qi <yao@codesourcery.com>
2067 * valops.c (read_value_memory): Rewrite it. Call
2068 target_xfer_partial in a loop.
2069 * exec.h (section_table_available_memory): Remove declaration.
2070 Move comments to ...
2071 * exec.c (section_table_available_memory): ... here. Make it
2074 2014-02-23 Yao Qi <yao@codesourcery.com>
2076 * exec.c (section_table_read_available_memory): New function.
2077 * exec.h (section_table_read_available_memory): Declare.
2078 * ctf.c (ctf_xfer_partial): Call
2079 section_table_read_available_memory.
2080 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
2082 2014-02-23 Yao Qi <yao@codesourcery.com>
2084 * ctf.c (ctf_xfer_partial): Move code to ...
2085 * exec.c (exec_read_partial_read_only): ... it. New function.
2086 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
2087 * tracefile.c: Include "exec.h".
2088 * exec.h (exec_read_partial_read_only): Declare.
2090 2014-02-23 Yao Qi <yao@codesourcery.com>
2092 * tracefile-tfile.c (tfile_has_all_memory): Remove.
2093 (tfile_has_memory): Remove.
2094 (init_tfile_ops): Don't set fields to_has_all_memory and
2095 to_has_memory of tfile_ops.
2096 * tracefile.c (tracefile_has_all_memory): New function.
2097 (tracefile_has_memory): New function.
2098 (init_tracefile_ops): Initialize fields to_has_all_memory and
2099 to_has_memory of 'ops'.
2101 2014-02-23 Yao Qi <yao@codesourcery.com>
2103 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
2104 (ctf_thread_alive, ctf_get_trace_status): Remove.
2105 (init_ctf_ops): Don't set some fields of ctf_ops. Call
2107 * tracefile-tfile.c (tfile_get_trace_status): Remove.
2108 (tfile_has_stack, tfile_has_registers): Remove.
2109 (tfile_thread_alive): Remove.
2110 (init_tfile_ops): Don't set some fields of tfile_ops. Call
2112 * tracefile.c (tracefile_has_stack): New function.
2113 (tracefile_has_registers): New function.
2114 (tracefile_thread_alive): New function.
2115 (tracefile_get_trace_status): New function.
2116 (init_tracefile_ops): New function.
2117 * tracefile.h (init_tracefile_ops): Declare.
2119 2014-02-23 Yao Qi <yao@codesourcery.com>
2121 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
2122 (O_LARGEFILE): Likewise.
2123 (tfile_ops): Likewise.
2124 (TRACE_HEADER_SIZE): Likewise.
2125 (trace_fd, trace_frames_offset, cur_offset): Likewise.
2126 (cur_data_size): Likewise.
2127 (tfile_read, tfile_open, tfile_interp_line): Likewise.
2128 (tfile_close, tfile_files_info): Likewise.
2129 (tfile_get_trace_status): Likewise.
2130 (tfile_get_tracepoint_status): Likewise.
2131 (tfile_get_traceframe_address): Likewise.
2132 (tfile_trace_find, match_blocktype): Likewise.
2133 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
2134 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
2135 (tfile_get_trace_state_variable_value): Likewise.
2136 (tfile_has_all_memory, tfile_has_memory): Likewise.
2137 (tfile_has_stack, tfile_has_registers): Likewise.
2138 (tfile_thread_alive, build_traceframe_info): Likewise.
2139 (tfile_traceframe_info, init_tfile_ops): Likewise.
2140 (_initialize_tracepoint): Don't call init_tfile_ops
2141 and add_target_with_completer.
2142 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
2143 exec.h, completer.h and filenames.h.
2144 (_initialize_tracefile_tfile): New function.
2146 2014-02-23 Yao Qi <yao@codesourcery.com>
2148 * Makefile.in (REMOTE_OBS): Append tracefile.o and
2150 (HFILES_NO_SRCDIR): Add tracefile.h.
2151 * ctf.c: Include "tracefile.h".
2152 * tracefile.h: New file.
2153 * tracefile.c: New file
2154 * tracefile-tfile.c: New file.
2155 * tracepoint.c: Include "tracefile.h".
2156 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
2157 (stop_reason_names): Add const.
2158 (trace_file_writer_xfree): Move it to tracefile.c.
2159 (trace_save, trace_save_command, trace_save_tfile): Likewise.
2160 (trace_save_ctf): Likewise.
2161 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
2162 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
2163 (tfile_write_header, tfile_write_regblock_type): Likewise.
2164 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
2165 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
2166 (tfile_write_raw_data, tfile_end): Likewise.
2167 (tfile_trace_file_writer_new): Likewise.
2168 (free_uploaded_tp): Make it extern.
2169 (free_uploaded_tsv): Make it extern.
2170 (_initialize_tracepoint): Move code to register command 'tsave'
2172 * tracepoint.h (stop_reason_names): Declare.
2173 (struct trace_frame_write_ops): Move it to tracefile.h.
2174 (struct trace_file_write_ops): Likewise.
2175 (struct trace_file_writer): Likewise.
2176 (free_uploaded_tsvs, free_uploaded_tps): Declare.
2178 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2181 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
2183 (get_cores_used_by_process): New parameter num_cores, use it.
2184 (linux_xfer_osdata_processes): Pass num_cores to it.
2185 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
2188 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
2190 * target.c (memory_xfer_partial): Fix length arg in call to
2191 breakpoint_xfer_memory.
2193 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2196 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
2197 number comes after the + or - signs. Adjust length of register
2198 name to be extracted.
2200 2014-02-20 Tom Tromey <tromey@redhat.com>
2202 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
2203 (ada_varobj_ops): Mark "extern".
2205 2014-02-20 Tom Tromey <tromey@redhat.com>
2207 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
2209 2014-02-20 Doug Evans <xdje42@gmail.com>
2211 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
2212 All callers updated.
2213 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
2214 All callers updated.
2215 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
2216 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
2218 2014-02-20 lin zuojian <manjian2006@gmail.com>
2219 Joel Brobecker <brobecker@adacore.com>
2220 Doug Evans <xdje42@gmail.com>
2223 * dwarf2read.c (struct die_info): New member in_process.
2224 (reset_die_in_process): New function.
2225 (process_die): Set it at the start, reset when returning.
2226 (inherit_abstract_dies): Only call process_die if origin_child_die
2227 not already being processed.
2229 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2231 * windows-nat.c (handle_unload_dll): Add function documentation.
2232 (do_initial_windows_stuff): Add comment explaining why we wait
2233 until after inferior initialization has finished before
2234 processing all DLLs.
2236 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2238 * windows-nat.c (get_module_name): Delete.
2239 (windows_get_exec_module_filename): New function, mostly
2240 inspired from get_module_name.
2241 (windows_pid_to_exec_file): Replace call to get_module_name
2242 by call to windows_get_exec_module_filename.
2244 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2246 * windows-nat.c (handle_load_dll): Rewrite this function's
2247 introductory comment. Remove code using get_module_name
2248 to get the DLL's name.
2250 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2252 * windows-nat.c (get_windows_debug_event): Ignore
2253 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
2254 if windows_initialization_done == 0.
2255 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
2256 Adjust implementation to always load all DLLs.
2257 (do_initial_windows_stuff): Replace call to
2258 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
2260 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2262 * windows-nat.c (_initialize_windows_nat): Deprecate the
2263 "dll-symbols" command. Turn the "add-shared-symbol-files"
2264 and "assf" aliases into commands, and deprecate them as well.
2265 * NEWS: Add entry explaining that "dll-symbols" and its two
2266 aliases are now deprecated.
2268 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2270 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
2271 new-line in debug string. Remove trailing spaces.
2273 2014-02-19 Stan Shebs <stan@codesourcery.com>
2275 * darwin-nat.c (darwin_xfer_partial): Fix return type.
2277 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2279 * NEWS: Add entry for the new feature
2280 * python/py-value.c (valpy_binop): Call value_x_binop for struct
2283 2014-02-19 Stan Shebs <stan@codesourcery.com>
2285 * MAINTAINERS: List Yao Qi as nios2 maintainer.
2287 2014-02-19 Pedro Alves <palves@redhat.com>
2289 * common/ptid.h (struct ptid): Mention that process_stratum
2290 targets should prefer ptid.lwp.
2292 2014-02-19 Pedro Alves <palves@redhat.com>
2294 * remote.c (remote_thread_alive, write_ptid, read_ptid)
2295 (read_ptid, remote_newthread_step, remote_threads_extra_info)
2296 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
2297 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
2298 store remote thread ids rather than ptid.tid.
2299 (_initialize_remote): Adjust.
2301 2014-02-19 Tom Tromey <tromey@redhat.com>
2303 * target.c (target_get_unwinder): Rewrite.
2304 (target_get_tailcall_unwinder): Rewrite.
2305 * record-btrace.c (record_btrace_to_get_unwinder): New function.
2306 (record_btrace_to_get_tailcall_unwinder): New function.
2307 (init_record_btrace_ops): Update.
2308 * target.h (struct target_ops) <to_get_unwinder,
2309 to_get_tailcall_unwinder>: Now function pointers. Use
2310 TARGET_DEFAULT_RETURN.
2312 2014-02-19 Tom Tromey <tromey@redhat.com>
2314 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
2316 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
2318 2014-02-19 Tom Tromey <tromey@redhat.com>
2320 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
2322 * target-delegates.c: Rebuild.
2323 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
2324 TARGET_DEFAULT_FUNC.
2325 * target.c (default_target_decr_pc_after_break): Rename from
2326 forward_target_decr_pc_after_break. Simplify.
2327 (target_decr_pc_after_break): Rely on delegation.
2329 2014-02-19 Tom Tromey <tromey@redhat.com>
2331 * target.c (update_current_target): Do not INHERIT to_doc or
2332 to_magic. Do not de_fault to_open or to_close.
2334 2014-02-19 Tom Tromey <tromey@redhat.com>
2336 * gcore.h (objfile_find_memory_regions): Declare.
2337 * gcore.c (objfile_find_memory_regions): No longer static. Add
2339 (_initialize_gcore): Don't call exec_set_find_memory_regions.
2340 * exec.c: Include gcore.h.
2341 (exec_set_find_memory_regions): Remove.
2342 (exec_find_memory_regions): Remove.
2343 (exec_do_find_memory_regions): Remove.
2344 (init_exec_ops): Update.
2345 * defs.h (exec_set_find_memory_regions): Remove.
2347 2014-02-19 Tom Tromey <tromey@redhat.com>
2349 * target-delegates.c: Rebuild.
2350 * target.h (struct target_ops) <to_extra_thread_info,
2351 to_thread_name, to_pid_to_exec_file, to_get_section_table,
2352 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
2353 not 0, in TARGET_DEFAULT_RETURN.
2355 2014-02-19 Tom Tromey <tromey@redhat.com>
2357 * target.c (complete_target_initialization): Remove casts. Use
2358 return_zero_has_execution.
2359 (return_zero): Add "ignore" argument.
2360 (return_zero_has_execution): New function.
2361 (init_dummy_target): Remove casts. Use
2362 return_zero_has_execution.
2364 2014-02-19 Tom Tromey <tromey@redhat.com>
2366 * target.c (update_current_target): Update comments. Do not
2369 2014-02-19 Tom Tromey <tromey@redhat.com>
2371 * arm-linux-nat.c (arm_linux_read_description): Delegate when
2373 * corelow.c (core_read_description): Delegate when needed.
2374 * remote.c (remote_read_description): Delegate when needed.
2375 * target-delegates.c: Rebuild.
2376 * target.c (target_read_description): Rewrite.
2377 * target.h (struct target_ops) <to_read_description>: Update
2378 comment. Use TARGET_DEFAULT_RETURN.
2380 2014-02-19 Tom Tromey <tromey@redhat.com>
2382 * target-delegates.c: Rebuild.
2383 * target.c (update_current_target): Don't inherit or default
2385 (find_default_run_target): Check against delegate_can_run.
2386 * target.h (struct target_ops) <to_can_run>: Use
2387 TARGET_DEFAULT_RETURN.
2389 2014-02-19 Tom Tromey <tromey@redhat.com>
2391 * target-delegates.c: Rebuild.
2392 * target.c (target_disconnect): Unconditionally delegate.
2393 * target.h (struct target_ops) <to_disconnect>: Use
2394 TARGET_DEFAULT_NORETURN.
2396 2014-02-19 Tom Tromey <tromey@redhat.com>
2398 * record.c (record_stop): Unconditionally delegate.
2399 * target-delegates.c: Rebuild.
2400 * target.c (target_stop_recording): Unconditionally delegate.
2401 * target.h (struct target_ops) <to_stop_recording>: Use
2402 TARGET_DEFAULT_IGNORE.
2404 2014-02-19 Tom Tromey <tromey@redhat.com>
2406 * target-delegates.c: Rebuild.
2407 * target.c (target_enable_btrace): Unconditionally delegate.
2408 * target.h (struct target_ops) <to_enable_btrace>: Use
2409 TARGET_DEFAULT_NORETURN.
2411 2014-02-19 Tom Tromey <tromey@redhat.com>
2413 * target-delegates.c: Rebuild.
2414 * target.c (target_read_btrace): Unconditionally delegate.
2415 * target.h (struct target_ops) <to_read_btrace>: Use
2416 TARGET_DEFAULT_NORETURN.
2418 2014-02-19 Tom Tromey <tromey@redhat.com>
2420 * target-delegates.c: Rebuild.
2421 * target.c (target_teardown_btrace): Unconditionally delegate.
2422 * target.h (struct target_ops) <to_teardown_btrace>: Use
2423 TARGET_DEFAULT_NORETURN.
2425 2014-02-19 Tom Tromey <tromey@redhat.com>
2427 * target-delegates.c: Rebuild.
2428 * target.c (target_disable_btrace): Unconditionally delegate.
2429 * target.h (struct target_ops) <to_disable_btrace>: Use
2430 TARGET_DEFAULT_NORETURN.
2432 2014-02-19 Tom Tromey <tromey@redhat.com>
2434 * target-delegates.c: Rebuild.
2435 * target.c (default_search_memory): New function.
2436 (simple_search_memory): Update comment.
2437 (target_search_memory): Unconditionally delegate.
2438 * target.h (struct target_ops) <to_search_memory>: Use
2439 TARGET_DEFAULT_FUNC.
2441 2014-02-19 Tom Tromey <tromey@redhat.com>
2443 * auxv.c (default_auxv_parse): No longer static.
2444 (target_auxv_parse): Unconditionally delegate.
2445 * auxv.h (default_auxv_parse): Declare.
2446 * target-delegates.c: Rebuild.
2447 * target.c: Include auxv.h.
2448 * target.h (struct target_ops) <to_auxv_parse>: Use
2449 TARGET_DEFAULT_FUNC.
2451 2014-02-19 Tom Tromey <tromey@redhat.com>
2453 * target-delegates.c: Rebuild.
2454 * target.c (target_memory_map): Unconditionally delegate.
2455 * target.h (struct target_ops) <to_memory_map>: Use
2456 TARGET_DEFAULT_RETURN.
2458 2014-02-19 Tom Tromey <tromey@redhat.com>
2460 * target-delegates.c: Rebuild.
2461 * target.c (target_thread_alive): Unconditionally delegate.
2462 * target.h (struct target_ops) <to_thread_alive>: Use
2463 TARGET_DEFAULT_RETURN.
2465 2014-02-19 Tom Tromey <tromey@redhat.com>
2467 * target-delegates.c: Rebuild.
2468 * target.c (target_save_record): Unconditionally delegate.
2469 * target.h (struct target_ops) <to_save_record>: Use
2470 TARGET_DEFAULT_NORETURN.
2472 2014-02-19 Tom Tromey <tromey@redhat.com>
2474 * target-delegates.c: Rebuild.
2475 * target.c (target_delete_record): Unconditionally delegate.
2476 * target.h (struct target_ops) <to_delete_record>: Use
2477 TARGET_DEFAULT_NORETURN.
2479 2014-02-19 Tom Tromey <tromey@redhat.com>
2481 * target-delegates.c: Rebuild.
2482 * target.c (target_record_is_replaying): Unconditionally
2484 * target.h (struct target_ops) <to_record_is_replaying>: Use
2485 TARGET_DEFAULT_RETURN.
2487 2014-02-19 Tom Tromey <tromey@redhat.com>
2489 * target-delegates.c: Rebuild.
2490 * target.c (target_goto_record_begin): Unconditionally delegate.
2491 * target.h (struct target_ops) <to_goto_record_begin>: Use
2492 TARGET_DEFAULT_NORETURN.
2494 2014-02-19 Tom Tromey <tromey@redhat.com>
2496 * target-delegates.c: Rebuild.
2497 * target.c (target_goto_record_end): Unconditionally delegate.
2498 * target.h (struct target_ops) <to_goto_record_end>: Use
2499 TARGET_DEFAULT_NORETURN.
2501 2014-02-19 Tom Tromey <tromey@redhat.com>
2503 * target-delegates.c: Rebuild.
2504 * target.c (target_goto_record): Unconditionally delegate.
2505 * target.h (struct target_ops) <to_goto_record>: Use
2506 TARGET_DEFAULT_NORETURN.
2508 2014-02-19 Tom Tromey <tromey@redhat.com>
2510 * target-delegates.c: Rebuild.
2511 * target.c (target_insn_history): Unconditionally delegate.
2512 * target.h (struct target_ops) <to_insn_history>: Use
2513 TARGET_DEFAULT_NORETURN.
2515 2014-02-19 Tom Tromey <tromey@redhat.com>
2517 * target-delegates.c: Rebuild.
2518 * target.c (target_insn_history_from): Unconditionally delegate.
2519 * target.h (struct target_ops) <to_insn_history_from>: Use
2520 TARGET_DEFAULT_NORETURN.
2522 2014-02-19 Tom Tromey <tromey@redhat.com>
2524 * target-delegates.c: Rebuild.
2525 * target.c (target_insn_history_range): Unconditionally delegate.
2526 * target.h (struct target_ops) <to_insn_history_range>: Use
2527 TARGET_DEFAULT_NORETURN.
2529 2014-02-19 Tom Tromey <tromey@redhat.com>
2531 * target-delegates.c: Rebuild.
2532 * target.c (target_call_history): Unconditionally delegate.
2533 * target.h (struct target_ops) <to_call_history>: Use
2534 TARGET_DEFAULT_NORETURN.
2536 2014-02-19 Tom Tromey <tromey@redhat.com>
2538 * target-delegates.c: Rebuild.
2539 * target.c (target_call_history_from): Unconditionally delegate.
2540 * target.h (struct target_ops) <to_call_history_from>: Use
2541 TARGET_DEFAULT_NORETURN.
2543 2014-02-19 Tom Tromey <tromey@redhat.com>
2545 * target-delegates.c: Rebuild.
2546 * target.c (target_call_history_range): Unconditionally delegate.
2547 * target.h (struct target_ops) <to_call_history_range>: Use
2548 TARGET_DEFAULT_NORETURN.
2550 2014-02-19 Tom Tromey <tromey@redhat.com>
2552 * target-delegates.c: Rebuild.
2553 * target.c (target_verify_memory): Unconditionally delegate.
2554 * target.h (struct target_ops) <to_verify_memory>: Use
2555 TARGET_DEFAULT_NORETURN.
2557 2014-02-19 Tom Tromey <tromey@redhat.com>
2559 * target-delegates.c: Rebuild.
2560 * target.c (target_core_of_thread): Unconditionally delegate.
2561 * target.h (struct target_ops) <to_core_of_thread>: Use
2562 TARGET_DEFAULT_RETURN.
2564 2014-02-19 Tom Tromey <tromey@redhat.com>
2566 * target-delegates.c: Rebuild.
2567 * target.c (target_flash_done): Unconditionally delegate.
2568 * target.h (struct target_ops) <to_flash_done>: Use
2569 TARGET_DEFAULT_NORETURN.
2571 2014-02-19 Tom Tromey <tromey@redhat.com>
2573 * target-delegates.c: Rebuild.
2574 * target.c (target_flash_erase): Unconditionally delegate.
2575 * target.h (struct target_ops) <to_flash_erase>: Use
2576 TARGET_DEFAULT_NORETURN.
2578 2014-02-19 Tom Tromey <tromey@redhat.com>
2580 * target-delegates.c: Rebuild.
2581 * target.c (target_get_section_table): Unconditionally delegate.
2582 * target.h (struct target_ops) <to_get_section_table>: Use
2583 TARGET_DEFAULT_RETURN.
2585 2014-02-19 Tom Tromey <tromey@redhat.com>
2587 * target-delegates.c: Rebuild.
2588 * target.c (target_pid_to_str): Unconditionally delegate.
2589 (init_dummy_target): Don't initialize to_pid_to_str.
2590 (default_pid_to_str): Rename from dummy_pid_to_str.
2591 * target.h (struct target_ops) <to_pid_to_str>: Use
2592 TARGET_DEFAULT_FUNC.
2594 2014-02-19 Tom Tromey <tromey@redhat.com>
2596 * target-delegates.c: Rebuild.
2597 * target.c (target_find_new_threads): Unconditionally delegate.
2598 * target.h (struct target_ops) <to_find_new_threads>: Use
2599 TARGET_DEFAULT_RETURN.
2601 2014-02-19 Tom Tromey <tromey@redhat.com>
2603 * target-delegates.c: Rebuild.
2604 * target.c (target_program_signals): Unconditionally delegate.
2605 * target.h (struct target_ops) <to_program_signals>: Use
2606 TARGET_DEFAULT_IGNORE.
2608 2014-02-19 Tom Tromey <tromey@redhat.com>
2610 * target-delegates.c: Rebuild.
2611 * target.c (target_pass_signals): Unconditionally delegate.
2612 * target.h (struct target_ops) <to_pass_signals>: Use
2613 TARGET_DEFAULT_IGNORE.
2615 2014-02-19 Tom Tromey <tromey@redhat.com>
2617 * target-delegates.c: Rebuild.
2618 * target.c (default_mourn_inferior): New function.
2619 (target_mourn_inferior): Unconditionally delegate.
2620 * target.h (struct target_ops) <to_mourn_inferior>: Use
2621 TARGET_DEFAULT_FUNC.
2623 2014-02-19 Tom Tromey <tromey@redhat.com>
2625 * target-delegates.c: Rebuild.
2626 * target.c (default_follow_fork): New function.
2627 (target_follow_fork): Unconditionally delegate.
2628 * target.h (struct target_ops) <to_follow_fork>: Use
2629 TARGET_DEFAULT_FUNC.
2631 2014-02-19 Tom Tromey <tromey@redhat.com>
2633 * target-delegates.c: Rebuild.
2634 * target.c (target_kill): Unconditionally delegate.
2635 * target.h (struct target_ops) <to_kill>: Use
2636 TARGET_DEFAULT_NORETURN.
2638 2014-02-19 Tom Tromey <tromey@redhat.com>
2640 * target-delegates.c: Rebuild.
2641 * target.c (target_masked_watch_num_registers): Unconditionally
2643 * target.h (struct target_ops) <to_masked_watch_num_registers>:
2644 Use TARGET_DEFAULT_RETURN.
2646 2014-02-19 Tom Tromey <tromey@redhat.com>
2648 * target-delegates.c: Rebuild.
2649 * target.c (target_remove_mask_watchpoint): Unconditionally
2651 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
2652 TARGET_DEFAULT_RETURN.
2654 2014-02-19 Tom Tromey <tromey@redhat.com>
2656 * target-delegates.c: Rebuild.
2657 * target.c (target_insert_mask_watchpoint): Unconditionally
2659 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
2660 TARGET_DEFAULT_RETURN.
2662 2014-02-19 Tom Tromey <tromey@redhat.com>
2664 * target-delegates.c: Rebuild.
2665 * target.c (target_ranged_break_num_registers): Unconditionally
2667 * target.h (struct target_ops) <to_ranged_break_num_registers>:
2668 Use TARGET_DEFAULT_RETURN.
2670 2014-02-19 Tom Tromey <tromey@redhat.com>
2672 * target-delegates.c: Rebuild.
2673 * target.c (target_fetch_registers): Unconditionally delegate.
2674 * target.h (struct target_ops) <to_fetch_registers>: Use
2675 TARGET_DEFAULT_NORETURN.
2677 2014-02-19 Tom Tromey <tromey@redhat.com>
2679 * target-delegates.c: Rebuild.
2680 * target.c (update_current_target): Don't inherit or default
2682 * target.h (struct target_ops) <to_stop>: Use
2683 TARGET_DEFAULT_IGNORE.
2685 2014-02-19 Tom Tromey <tromey@redhat.com>
2687 * target-delegates.c: Rebuild.
2688 * target.c (update_current_target): Don't inherit or default
2689 to_can_run_breakpoint_commands.
2690 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
2691 Use TARGET_DEFAULT_RETURN.
2693 2014-02-19 Tom Tromey <tromey@redhat.com>
2695 * target-delegates.c: Rebuild.
2696 * target.c (update_current_target): Don't inherit or default
2697 to_supports_evaluation_of_breakpoint_conditions.
2698 * target.h (struct target_ops)
2699 <to_supports_evaluation_of_breakpoint_conditions>: Use
2700 TARGET_DEFAULT_RETURN.
2702 2014-02-19 Tom Tromey <tromey@redhat.com>
2704 * target-delegates.c: Rebuild.
2705 * target.c (update_current_target): Don't inherit or default
2706 to_augmented_libraries_svr4_read.
2707 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
2708 Use TARGET_DEFAULT_RETURN.
2710 2014-02-19 Tom Tromey <tromey@redhat.com>
2712 * target-delegates.c: Rebuild.
2713 * target.c (update_current_target): Don't inherit or default
2715 * target.h (struct target_ops) <to_can_use_agent>: Use
2716 TARGET_DEFAULT_RETURN.
2718 2014-02-19 Tom Tromey <tromey@redhat.com>
2720 * target-delegates.c: Rebuild.
2721 * target.c (update_current_target): Don't inherit or default
2723 * target.h (struct target_ops) <to_use_agent>: Use
2724 TARGET_DEFAULT_NORETURN.
2726 2014-02-19 Tom Tromey <tromey@redhat.com>
2728 * target-delegates.c: Rebuild.
2729 * target.c (update_current_target): Don't inherit or default
2731 (return_null): Remove.
2732 * target.h (struct target_ops) <to_traceframe_info>: Use
2733 TARGET_DEFAULT_RETURN.
2735 2014-02-19 Tom Tromey <tromey@redhat.com>
2737 * target-delegates.c: Rebuild.
2738 * target.c (update_current_target): Don't inherit or default
2739 to_static_tracepoint_markers_by_strid.
2740 * target.h (struct target_ops)
2741 <to_static_tracepoint_markers_by_strid>: Use
2742 TARGET_DEFAULT_NORETURN.
2744 2014-02-19 Tom Tromey <tromey@redhat.com>
2746 * target-delegates.c: Rebuild.
2747 * target.c (update_current_target): Don't inherit or default
2748 to_static_tracepoint_marker_at.
2749 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
2750 Use TARGET_DEFAULT_RETURN.
2752 2014-02-19 Tom Tromey <tromey@redhat.com>
2754 * target-delegates.c: Rebuild.
2755 * target.c (update_current_target): Don't inherit or default
2757 * target.h (struct target_ops) <to_set_permissions>: Use
2758 TARGET_DEFAULT_IGNORE.
2760 2014-02-19 Tom Tromey <tromey@redhat.com>
2762 * target-delegates.c: Rebuild.
2763 * target.c (update_current_target): Don't inherit or default
2765 * target.h (struct target_ops) <to_get_tib_address>: Use
2766 TARGET_DEFAULT_NORETURN.
2768 2014-02-19 Tom Tromey <tromey@redhat.com>
2770 * target-delegates.c: Rebuild.
2771 * target.c (update_current_target): Don't inherit or default
2773 * target.h (struct target_ops) <to_set_trace_notes>: Use
2774 TARGET_DEFAULT_RETURN.
2776 2014-02-19 Tom Tromey <tromey@redhat.com>
2778 * target-delegates.c: Rebuild.
2779 * target.c (update_current_target): Don't initialize
2780 to_set_trace_buffer_size.
2781 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
2782 TARGET_DEFAULT_IGNORE.
2784 2014-02-19 Tom Tromey <tromey@redhat.com>
2786 * target-delegates.c: Rebuild.
2787 * target.c (update_current_target): Don't inherit or default
2788 to_set_circular_trace_buffer.
2789 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
2790 TARGET_DEFAULT_IGNORE.
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_set_disconnected_tracing.
2797 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
2798 TARGET_DEFAULT_IGNORE.
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
2804 to_get_min_fast_tracepoint_insn_len.
2805 (return_minus_one): Remove.
2806 * target.h (struct target_ops)
2807 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
2809 2014-02-19 Tom Tromey <tromey@redhat.com>
2811 * target-delegates.c: Rebuild.
2812 * target.c (update_current_target): Don't inherit or default
2813 to_get_raw_trace_data.
2814 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
2815 TARGET_DEFAULT_NORETURN.
2817 2014-02-19 Tom Tromey <tromey@redhat.com>
2819 * target-delegates.c: Rebuild.
2820 * target.c (update_current_target): Don't inherit or default
2821 to_upload_trace_state_variables.
2822 * target.h (struct target_ops) <to_upload_trace_state_variables>:
2823 Use 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_upload_tracepoints.
2830 * target.h (struct target_ops) <to_upload_tracepoints>: Use
2831 TARGET_DEFAULT_RETURN.
2833 2014-02-19 Tom Tromey <tromey@redhat.com>
2835 * target-delegates.c: Rebuild.
2836 * target.c (update_current_target): Don't inherit or default
2838 * target.h (struct target_ops) <to_save_trace_data>: Use
2839 TARGET_DEFAULT_NORETURN.
2841 2014-02-19 Tom Tromey <tromey@redhat.com>
2843 * target-delegates.c: Rebuild.
2844 * target.c (update_current_target): Don't inherit or default
2845 to_get_trace_state_variable_value.
2846 * target.h (struct target_ops)
2847 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
2849 2014-02-19 Tom Tromey <tromey@redhat.com>
2851 * target-delegates.c: Rebuild.
2852 * target.c (update_current_target): Don't inherit or default
2854 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
2856 2014-02-19 Tom Tromey <tromey@redhat.com>
2858 * target-delegates.c: Rebuild.
2859 * target.c (update_current_target): Don't inherit or default
2861 * target.h (struct target_ops) <to_trace_stop>: Use
2862 TARGET_DEFAULT_NORETURN.
2864 2014-02-19 Tom Tromey <tromey@redhat.com>
2866 * target-delegates.c: Rebuild.
2867 * target.c (update_current_target): Don't inherit or default
2868 to_get_tracepoint_status.
2869 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
2870 TARGET_DEFAULT_NORETURN.
2872 2014-02-19 Tom Tromey <tromey@redhat.com>
2874 * target-delegates.c: Rebuild.
2875 * target.c (update_current_target): Don't inherit or default
2876 to_get_trace_status.
2877 * target.h (struct target_ops) <to_get_trace_status>: Use
2878 TARGET_DEFAULT_RETURN.
2880 2014-02-19 Tom Tromey <tromey@redhat.com>
2882 * target-delegates.c: Rebuild.
2883 * target.c (update_current_target): Don't inherit or default
2885 * target.h (struct target_ops) <to_trace_start>: Use
2886 TARGET_DEFAULT_NORETURN.
2888 2014-02-19 Tom Tromey <tromey@redhat.com>
2890 * target-delegates.c: Rebuild.
2891 * target.c (update_current_target): Don't inherit or default
2892 to_trace_set_readonly_regions.
2893 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
2894 Use TARGET_DEFAULT_NORETURN.
2896 2014-02-19 Tom Tromey <tromey@redhat.com>
2898 * target-delegates.c: Rebuild.
2899 * target.c (update_current_target): Don't inherit or default
2900 to_disable_tracepoint.
2901 * target.h (struct target_ops) <to_disable_tracepoint>: Use
2902 TARGET_DEFAULT_NORETURN.
2904 2014-02-19 Tom Tromey <tromey@redhat.com>
2906 * target-delegates.c: Rebuild.
2907 * target.c (update_current_target): Don't inherit or default
2908 to_enable_tracepoint.
2909 * target.h (struct target_ops) <to_enable_tracepoint>: Use
2910 TARGET_DEFAULT_NORETURN.
2912 2014-02-19 Tom Tromey <tromey@redhat.com>
2914 * target-delegates.c: Rebuild.
2915 * target.c (update_current_target): Don't inherit or default
2916 to_download_trace_state_variable.
2917 * target.h (struct target_ops) <to_download_trace_state_variable>:
2918 Use TARGET_DEFAULT_NORETURN.
2920 2014-02-19 Tom Tromey <tromey@redhat.com>
2922 * target-delegates.c: Rebuild.
2923 * target.c (update_current_target): Don't inherit or default
2924 to_can_download_tracepoint.
2925 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
2926 TARGET_DEFAULT_RETURN.
2928 2014-02-19 Tom Tromey <tromey@redhat.com>
2930 * target-delegates.c: Rebuild.
2931 * target.c (update_current_target): Don't inherit or default
2932 to_download_tracepoint.
2933 * target.h (struct target_ops) <to_download_tracepoint>: Use
2934 TARGET_DEFAULT_NORETURN.
2936 2014-02-19 Tom Tromey <tromey@redhat.com>
2938 * target-delegates.c: Rebuild.
2939 * target.c (update_current_target): Don't inherit or default
2941 * target.h (struct target_ops) <to_trace_init>: Use
2942 TARGET_DEFAULT_RETURN.
2944 2014-02-19 Tom Tromey <tromey@redhat.com>
2946 * target-delegates.c: Rebuild.
2947 * target.c (update_current_target): Don't inherit or default
2948 to_supports_string_tracing.
2949 * target.h (struct target_ops) <to_supports_string_tracing>: Use
2950 TARGET_DEFAULT_RETURN.
2952 2014-02-19 Tom Tromey <tromey@redhat.com>
2954 * target-delegates.c: Rebuild.
2955 * target.c (update_current_target): Don't inherit or default
2956 to_supports_enable_disable_tracepoint.
2957 * target.h (struct target_ops)
2958 <to_supports_enable_disable_tracepoint>: Use
2959 TARGET_DEFAULT_RETURN.
2961 2014-02-19 Tom Tromey <tromey@redhat.com>
2963 * target-delegates.c: Rebuild.
2964 * target.c (update_current_target): Don't inherit or default
2965 to_supports_multi_process.
2966 * target.h (struct target_ops) <to_supports_multi_process>: Use
2967 TARGET_DEFAULT_RETURN.
2969 2014-02-19 Tom Tromey <tromey@redhat.com>
2971 * target-delegates.c: Rebuild.
2972 * target.c (update_current_target): Don't inherit or default
2973 to_get_ada_task_ptid.
2974 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
2975 TARGET_DEFAULT_FUNC.
2977 2014-02-19 Tom Tromey <tromey@redhat.com>
2979 * target-delegates.c: Rebuild.
2980 * target.c (update_current_target): Don't inherit or default
2981 to_thread_architecture.
2982 * target.h (struct target_ops) <to_thread_architecture>: Use
2983 TARGET_DEFAULT_FUNC.
2985 2014-02-19 Tom Tromey <tromey@redhat.com>
2987 * target-delegates.c: Rebuild.
2988 * target.c (update_current_target): Don't inherit or default
2989 to_execution_direction.
2990 * target.h (struct target_ops) <to_execution_direction>: Use
2991 TARGET_DEFAULT_FUNC.
2993 2014-02-19 Tom Tromey <tromey@redhat.com>
2995 * target-delegates.c: Rebuild.
2996 * target.c (update_current_target): Don't inherit or default
2997 to_can_execute_reverse.
2998 * target.h (struct target_ops) <to_can_execute_reverse>: Use
2999 TARGET_DEFAULT_RETURN.
3000 (target_can_execute_reverse): Unconditionally delegate.
3002 2014-02-19 Tom Tromey <tromey@redhat.com>
3004 * target-delegates.c: Rebuild.
3005 * target.c (update_current_target): Don't inherit or default
3007 (dummy_goto_bookmark): Remove.
3008 (init_dummy_target): Don't inherit or default to_goto_bookmark.
3009 * target.h (struct target_ops) <to_goto_bookmark>: Use
3010 TARGET_DEFAULT_NORETURN.
3012 2014-02-19 Tom Tromey <tromey@redhat.com>
3014 * target-delegates.c: Rebuild.
3015 * target.c (update_current_target): Don't inherit or default
3017 (dummy_get_bookmark): Remove.
3018 (init_dummy_target): Don't inherit or default to_get_bookmark.
3019 * target.h (struct target_ops) <to_get_bookmark>: Use
3020 TARGET_DEFAULT_NORETURN
3022 2014-02-19 Tom Tromey <tromey@redhat.com>
3024 * target-delegates.c: Rebuild.
3025 * target.c (update_current_target): Don't inherit or default
3026 to_make_corefile_notes.
3027 (init_dummy_target): Don't initialize to_make_corefile_notes.
3028 * target.h (struct target_ops) <to_make_corefile_notes>: Use
3029 TARGET_DEFAULT_FUNC.
3031 2014-02-19 Tom Tromey <tromey@redhat.com>
3033 * target-delegates.c: Rebuild.
3034 * target.c (update_current_target): Don't inherit or default
3035 to_find_memory_regions.
3036 (init_dummy_target): Don't initialize to_find_memory_regions.
3037 * target.h (struct target_ops) <to_find_memory_regions>: Use
3038 TARGET_DEFAULT_FUNC.
3040 2014-02-19 Tom Tromey <tromey@redhat.com>
3042 * target-delegates.c: Rebuild.
3043 * target.c (update_current_target): Don't inherit or default
3045 * target.h (struct target_ops) <to_log_command>: Use
3046 TARGET_DEFAULT_IGNORE.
3047 (target_log_command): Unconditionally delegate.
3049 2014-02-19 Tom Tromey <tromey@redhat.com>
3051 * target-delegates.c: Rebuild.
3052 * target.c (update_current_target): Don't inherit or default
3053 to_pid_to_exec_file.
3054 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
3055 TARGET_DEFAULT_RETURN.
3057 2014-02-19 Tom Tromey <tromey@redhat.com>
3059 * target-delegates.c: Rebuild.
3060 * target.c (update_current_target): Don't inherit or default
3062 (target_thread_name): Unconditionally delegate.
3063 * target.h (struct target_ops) <to_thread_name>: Use
3064 TARGET_DEFAULT_RETURN.
3066 2014-02-19 Tom Tromey <tromey@redhat.com>
3068 * target-delegates.c: Rebuild.
3069 * target.c (update_current_target): Don't inherit or default
3070 to_extra_thread_info.
3071 * target.h (struct target_ops) <to_extra_thread_info>: Use
3072 TARGET_DEFAULT_RETURN.
3074 2014-02-19 Tom Tromey <tromey@redhat.com>
3076 * target-delegates.c: Rebuild.
3077 * target.c (update_current_target): Don't inherit or default
3079 * target.h (struct target_ops) <to_has_exited>: Use
3080 TARGET_DEFAULT_RETURN..
3082 2014-02-19 Tom Tromey <tromey@redhat.com>
3084 * target-delegates.c: Rebuild.
3085 * target.c (update_current_target): Don't inherit or default
3086 to_set_syscall_catchpoint.
3087 (return_one): Remove.
3088 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
3089 TARGET_DEFAULT_RETURN.
3091 2014-02-19 Tom Tromey <tromey@redhat.com>
3093 * target-delegates.c: Rebuild.
3094 * target.c (update_current_target): Don't inherit or default
3095 to_insert_exec_catchpoint.
3096 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
3097 TARGET_DEFAULT_RETURN.
3099 2014-01-08 Tom Tromey <tromey@redhat.com>
3101 * target-delegates.c: Rebuild.
3102 * target.c (update_current_target): Don't inherit or default
3103 to_insert_exec_catchpoint.
3104 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
3105 TARGET_DEFAULT_RETURN.
3107 2014-02-19 Tom Tromey <tromey@redhat.com>
3109 * target-delegates.c: Rebuild.
3110 * target.c (update_current_target): Don't inherit or default
3111 to_remove_vfork_catchpoint.
3112 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
3113 TARGET_DEFAULT_RETURN.
3115 2014-02-19 Tom Tromey <tromey@redhat.com>
3117 * target-delegates.c: Rebuild.
3118 * target.c (update_current_target): Don't inherit or default
3119 to_insert_vfork_catchpoint.
3120 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
3121 TARGET_DEFAULT_RETURN.
3123 2014-02-19 Tom Tromey <tromey@redhat.com>
3125 * target-delegates.c: Rebuild.
3126 * target.c (update_current_target): Don't inherit or default
3127 to_remove_fork_catchpoint.
3128 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
3129 TARGET_DEFAULT_RETURN.
3131 2014-02-19 Tom Tromey <tromey@redhat.com>
3133 * target-delegates.c: Rebuild.
3134 * target.c (update_current_target): Don't inherit or default
3135 to_insert_fork_catchpoint.
3136 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
3137 TARGET_DEFAULT_RETURN.
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_post_startup_inferior.
3144 * target.h (struct target_ops) <to_post_startup_inferior>: Use
3145 TARGET_DEFAULT_IGNORE.
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.h (struct target_ops) <to_load>: Use
3153 TARGET_DEFAULT_NORETURN.
3155 2014-02-19 Tom Tromey <tromey@redhat.com>
3157 * target-delegates.c: Rebuild.
3158 * target.c (update_current_target): Don't inherit or default
3160 * target.h (struct target_ops) <to_terminal_info>: Use
3161 TARGET_DEFAULT_FUNC.
3163 2014-02-19 Tom Tromey <tromey@redhat.com>
3165 * target-delegates.c: Rebuild.
3166 * target.c (update_current_target): Don't inherit or default
3167 to_terminal_save_ours.
3168 * target.h (struct target_ops) <to_terminal_save_ours>: Use
3169 TARGET_DEFAULT_IGNORE.
3171 2014-02-19 Tom Tromey <tromey@redhat.com>
3173 * target-delegates.c: Rebuild.
3174 * target.c (update_current_target): Don't inherit or default
3176 * target.h (struct target_ops) <to_terminal_ours>: Use
3177 TARGET_DEFAULT_IGNORE.
3179 2014-02-19 Tom Tromey <tromey@redhat.com>
3181 * target-delegates.c: Rebuild.
3182 * target.c (update_current_target): Don't inherit or default
3183 to_terminal_ours_for_output.
3184 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
3185 TARGET_DEFAULT_IGNORE.
3187 2014-02-19 Tom Tromey <tromey@redhat.com>
3189 * target-delegates.c: Rebuild.
3190 * target.c (update_current_target): Don't inherit or default
3191 to_terminal_inferior.
3192 * target.h (struct target_ops) <to_terminal_inferior>: Use
3193 TARGET_DEFAULT_IGNORE.
3195 2014-02-19 Tom Tromey <tromey@redhat.com>
3197 * target-delegates.c: Rebuild.
3198 * target.c (update_current_target): Don't inherit or default
3200 * target.h (struct target_ops) <to_terminal_init>: Use
3201 TARGET_DEFAULT_IGNORE.
3203 2014-02-19 Tom Tromey <tromey@redhat.com>
3205 * target-delegates.c: Rebuild.
3206 * target.c (update_current_target): Don't inherit or default
3207 to_can_accel_watchpoint_condition.
3208 * target.h (struct target_ops)
3209 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
3211 2014-02-19 Tom Tromey <tromey@redhat.com>
3213 * target-delegates.c: Rebuild.
3214 * target.c (update_current_target): Don't inherit or default
3215 to_region_ok_for_hw_watchpoint.
3216 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
3217 Use TARGET_DEFAULT_FUNC.
3219 2014-02-19 Tom Tromey <tromey@redhat.com>
3221 * target-delegates.c: Rebuild.
3222 * target.c (update_current_target): Don't inherit or default
3223 to_watchpoint_addr_within_range.
3224 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
3225 Use TARGET_DEFAULT_FUNC.
3227 2014-02-19 Tom Tromey <tromey@redhat.com>
3229 * target-delegates.c: Rebuild.
3230 * target.c (update_current_target): Don't inherit or default
3231 to_remove_watchpoint.
3232 * target.h (struct target_ops) <to_remove_watchpoint>: Use
3233 TARGET_DEFAULT_NORETURN.
3235 2014-02-19 Tom Tromey <tromey@redhat.com>
3237 * target-delegates.c: Rebuild.
3238 * target.c (update_current_target): Don't inherit or default
3239 to_insert_watchpoint.
3240 * target.h (struct target_ops) <to_insert_watchpoint>: Use
3241 TARGET_DEFAULT_RETURN.
3243 2014-02-19 Tom Tromey <tromey@redhat.com>
3245 * target-delegates.c: Rebuild.
3246 * target.c (update_current_target): Don't inherit or default
3247 to_remove_hw_breakpoint.
3248 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
3249 TARGET_DEFAULT_RETURN.
3251 2014-02-19 Tom Tromey <tromey@redhat.com>
3253 * target-delegates.c: Rebuild.
3254 * target.c (update_current_target): Don't inherit or default
3255 to_insert_hw_breakpoint.
3256 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
3257 TARGET_DEFAULT_RETURN.
3259 2014-02-19 Tom Tromey <tromey@redhat.com>
3261 * target-delegates.c: Rebuild.
3262 * target.c (update_current_target): Don't inherit or default
3263 to_can_use_hw_breakpoint.
3264 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
3265 TARGET_DEFAULT_RETURN.
3267 2014-02-19 Tom Tromey <tromey@redhat.com>
3269 * target-delegates.c: Rebuild.
3270 * target.c (update_current_target): Don't inherit or default
3272 * target.h (struct target_ops) <to_files_info>: Use
3273 TARGET_DEFAULT_IGNORE.
3275 2014-02-19 Tom Tromey <tromey@redhat.com>
3277 * target-delegates.c: Rebuild.
3278 * target.c (update_current_target): Don't inherit or default
3280 * target.h (struct target_ops) <to_store>: Use
3281 TARGET_DEFAULT_NORETURN.
3283 2014-02-19 Tom Tromey <tromey@redhat.com>
3285 * target-delegates.c: Rebuild.
3286 * target.c (update_current_target): Don't inherit or default
3288 * target.h (struct target_ops) <to_post_attach>: Use
3289 TARGET_DEFAULT_IGNORE.
3291 2014-02-19 Tom Tromey <tromey@redhat.com>
3293 * target-delegates.c: Rebuild.
3294 * target.c (update_current_target): Don't inherit or default
3296 (default_rcmd): New function.
3297 (do_monitor_command): Unconditionally delegate.
3298 * target.h (struct target_ops) <to_rmcd>: Use
3299 TARGET_DEFAULT_FUNC.
3301 2014-02-19 Tom Tromey <tromey@redhat.com>
3303 * target-delegates.c: Rebuild.
3304 * target.c (init_dummy_target): Don't initialize to_attach.
3305 (target_attach): Unconditionally delegate.
3306 * target.h (struct target_ops) <to_attach>: Use
3307 TARGET_DEFAULT_FUNC.
3309 2014-02-19 Tom Tromey <tromey@redhat.com>
3311 * target-delegates.c: Rebuild.
3312 * target.c (target_detach): Unconditionally delegate.
3313 (init_dummy_target): Don't initialize to_detach.
3314 * target.h (struct target_ops) <to_detach>: Use
3315 TARGET_DEFAULT_IGNORE.
3317 2014-02-19 Tom Tromey <tromey@redhat.com>
3319 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
3321 (target_augmented_libraries_svr4_read): Add argument.
3322 * target.c (update_current_target): Update.
3323 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
3326 2014-02-19 Tom Tromey <tromey@redhat.com>
3328 * target.h (struct target_ops) <to_call_history_range>: Add
3330 * target.c (target_call_history_range): Add argument.
3331 * record-btrace.c (record_btrace_call_history_range): Add 'self'
3333 (record_btrace_call_history_from): Update.
3335 2014-02-19 Tom Tromey <tromey@redhat.com>
3337 * target.h (struct target_ops) <to_call_history_from>: Add
3339 * target.c (target_call_history_from): Add argument.
3340 * record-btrace.c (record_btrace_call_history_from): Add 'self'
3343 2014-02-19 Tom Tromey <tromey@redhat.com>
3345 * target.h (struct target_ops) <to_call_history>: Add argument.
3346 * target.c (target_call_history): Add argument.
3347 * record-btrace.c (record_btrace_call_history): Add 'self'
3350 2014-02-19 Tom Tromey <tromey@redhat.com>
3352 * target.h (struct target_ops) <to_insn_history_range>: Add
3354 * target.c (target_insn_history_range): Add argument.
3355 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
3357 (record_btrace_insn_history_from): Update.
3359 2014-02-19 Tom Tromey <tromey@redhat.com>
3361 * target.h (struct target_ops) <to_insn_history_from>: Add
3363 * target.c (target_insn_history_from): Add argument.
3364 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
3367 2014-02-19 Tom Tromey <tromey@redhat.com>
3369 * target.h (struct target_ops) <to_insn_history>: Add argument.
3370 * target.c (target_insn_history): Add argument.
3371 * record-btrace.c (record_btrace_insn_history): Add 'self'
3374 2014-02-19 Tom Tromey <tromey@redhat.com>
3376 * target.h (struct target_ops) <to_goto_record>: Add argument.
3377 * target.c (target_goto_record): Add argument.
3378 * record-full.c (record_full_goto): Add 'self' argument.
3379 * record-btrace.c (record_btrace_goto): Add 'self' argument.
3381 2014-02-19 Tom Tromey <tromey@redhat.com>
3383 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
3384 * target.c (target_goto_record_end): Add argument.
3385 * record-full.c (record_full_goto_end): Add 'self' argument.
3386 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
3388 2014-02-19 Tom Tromey <tromey@redhat.com>
3390 * target.h (struct target_ops) <to_goto_record_begin>: Add
3392 * target.c (target_goto_record_begin): Add argument.
3393 * record-full.c (record_full_goto_begin): Add 'self' argument.
3394 * record-btrace.c (record_btrace_goto_begin): Add 'self'
3397 2014-02-19 Tom Tromey <tromey@redhat.com>
3399 * target.h (struct target_ops) <to_record_is_replaying>: Add
3401 * target.c (target_record_is_replaying): Add argument.
3402 * record-full.c (record_full_is_replaying): Add 'self' argument.
3403 * record-btrace.c (record_btrace_is_replaying): Add 'self'
3405 (record_btrace_xfer_partial, record_btrace_store_registers)
3406 (record_btrace_prepare_to_store, record_btrace_resume)
3407 (record_btrace_wait, record_btrace_decr_pc_after_break)
3408 (record_btrace_find_new_threads, record_btrace_thread_alive):
3411 2014-02-19 Tom Tromey <tromey@redhat.com>
3413 * target.h (struct target_ops) <to_delete_record>: Add argument.
3414 * target.c (target_delete_record): Add argument.
3415 * record-full.c (record_full_delete): Add 'self' argument.
3417 2014-02-19 Tom Tromey <tromey@redhat.com>
3419 * target.h (struct target_ops) <to_save_record>: Add argument.
3420 * target.c (target_save_record): Add argument.
3421 * record-full.c (record_full_save): Add 'self' argument.
3422 (record_full_save): Add 'self' argument.
3424 2014-02-19 Tom Tromey <tromey@redhat.com>
3426 * target.h (struct target_ops) <to_info_record>: Add argument.
3427 * target.c (target_info_record): Add argument.
3428 * record.c (info_record_command): Add argument.
3429 * record-full.c (record_full_info): Add 'self' argument.
3430 * record-btrace.c (record_btrace_info): Add 'self' argument.
3432 2014-02-19 Tom Tromey <tromey@redhat.com>
3434 * target.h (struct target_ops) <to_stop_recording>: Add argument.
3435 * target.c (target_stop_recording): Add argument.
3436 * record.c (record_stop): Add argument.
3437 * record-btrace.c (record_btrace_stop_recording): Add 'self'
3440 2014-02-19 Tom Tromey <tromey@redhat.com>
3442 * target.h (struct target_ops) <to_read_btrace>: Add argument.
3443 * target.c (struct target_ops) <to_read_btrace>: Add argument.
3444 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
3446 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
3447 (_initialize_amd64_linux_nat): Use it.
3448 * i386-linux-nat.c (i386_linux_read_btrace): New function.
3449 (_initialize_i386_linux_nat): Use it.
3451 2014-02-19 Tom Tromey <tromey@redhat.com>
3453 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
3454 * target.c (target_teardown_btrace): Add argument.
3455 * remote.c (remote_teardown_btrace): Add 'self' argument.
3456 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
3458 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
3461 2014-02-19 Tom Tromey <tromey@redhat.com>
3463 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
3464 * target.c (target_disable_btrace): Add argument.
3465 * remote.c (remote_disable_btrace): Add 'self' argument.
3466 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
3468 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
3471 2014-02-19 Tom Tromey <tromey@redhat.com>
3473 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
3474 * target.c (target_enable_btrace): Add argument.
3475 * remote.c (remote_enable_btrace): Add 'self' argument.
3476 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
3478 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
3481 2014-02-19 Tom Tromey <tromey@redhat.com>
3483 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
3484 (target_can_use_agent): Add argument.
3485 * target.c (update_current_target): Update.
3486 * remote.c (remote_can_use_agent): Add 'self' argument.
3487 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
3489 2014-02-19 Tom Tromey <tromey@redhat.com>
3491 * target.h (struct target_ops) <to_use_agent>: Add argument.
3492 (target_use_agent): Add argument.
3493 * target.c (update_current_target): Update.
3494 * remote.c (remote_use_agent): Add 'self' argument.
3495 * inf-child.c (inf_child_use_agent): Add 'self' argument.
3497 2014-02-19 Tom Tromey <tromey@redhat.com>
3499 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
3500 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
3501 (target_traceframe_info): Add argument.
3502 * target.c (update_current_target): Update.
3503 * remote.c (remote_traceframe_info): Add 'self' argument.
3504 * ctf.c (ctf_traceframe_info): Add 'self' argument.
3506 2014-02-19 Tom Tromey <tromey@redhat.com>
3508 * target.h (target_static_tracepoint_markers_by_strid): Add
3510 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
3512 * target.c (update_current_target): Update.
3513 * remote.c (struct target_ops)
3514 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
3515 * linux-nat.c (struct target_ops)
3516 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
3518 2014-02-19 Tom Tromey <tromey@redhat.com>
3520 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
3522 (target_static_tracepoint_marker_at): Add argument.
3523 * target.c (update_current_target): Update.
3524 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
3527 2014-02-19 Tom Tromey <tromey@redhat.com>
3529 * target.h (struct target_ops) <to_set_permissions>: Add argument.
3530 (target_set_permissions): Add argument.
3531 * target.c (update_current_target): Update.
3532 * remote.c (remote_set_permissions): Add 'self' argument.
3533 (remote_start_remote): Update.
3535 2014-02-19 Tom Tromey <tromey@redhat.com>
3537 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
3538 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
3539 (target_get_tib_address): Add argument.
3540 * target.c (update_current_target): Update.
3541 * remote.c (remote_get_tib_address): Add 'self' argument.
3543 2014-02-19 Tom Tromey <tromey@redhat.com>
3545 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
3546 (target_set_trace_notes): Add argument.
3547 * target.c (update_current_target): Update.
3548 * remote.c (remote_set_trace_notes): Add 'self' argument.
3550 2014-02-19 Tom Tromey <tromey@redhat.com>
3552 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
3554 (target_set_trace_buffer_size): Add argument.
3555 * target.c (update_current_target): Update.
3556 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
3558 2014-02-19 Tom Tromey <tromey@redhat.com>
3560 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
3562 (target_set_circular_trace_buffer): Add argument.
3563 * target.c (update_current_target): Update.
3564 * remote.c (remote_set_circular_trace_buffer): Add 'self'
3567 2014-02-19 Tom Tromey <tromey@redhat.com>
3569 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
3571 (target_set_disconnected_tracing): Add argument.
3572 * target.c (update_current_target): Update.
3573 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
3575 2014-02-19 Tom Tromey <tromey@redhat.com>
3577 * target.h (struct target_ops)
3578 <to_get_min_fast_tracepoint_insn_len>: Add argument.
3579 (target_get_min_fast_tracepoint_insn_len): Add argument.
3580 * target.c (update_current_target): Update.
3581 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
3584 2014-02-19 Tom Tromey <tromey@redhat.com>
3586 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
3588 (target_get_raw_trace_data): Add argument.
3589 * target.c (update_current_target): Update.
3590 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
3592 2014-02-19 Tom Tromey <tromey@redhat.com>
3594 * target.h (struct target_ops) <to_upload_trace_state_variables>:
3596 (target_upload_trace_state_variables): Add argument.
3597 * target.c (update_current_target): Update.
3598 * remote.c (remote_upload_trace_state_variables): Add 'self'
3600 (remote_start_remote): Update.
3602 2014-02-19 Tom Tromey <tromey@redhat.com>
3604 * target.h (struct target_ops) <to_upload_tracepoints>: Add
3606 (target_upload_tracepoints): Add argument.
3607 * target.c (update_current_target): Update.
3608 * remote.c (remote_upload_tracepoints): Add 'self' argument.
3609 (remote_start_remote): Update.
3611 2014-02-19 Tom Tromey <tromey@redhat.com>
3613 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
3614 (target_save_trace_data): Add argument.
3615 * target.c (update_current_target): Update.
3616 * remote.c (remote_save_trace_data): Add 'self' argument.
3618 2014-02-19 Tom Tromey <tromey@redhat.com>
3620 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
3622 * target.h (struct target_ops)
3623 <to_get_trace_state_variable_value>: Add argument.
3624 (target_get_trace_state_variable_value): Add argument.
3625 * target.c (update_current_target): Update.
3626 * remote.c (remote_get_trace_state_variable_value): Add 'self'
3628 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
3630 2014-02-19 Tom Tromey <tromey@redhat.com>
3632 * tracepoint.c (tfile_trace_find): Add 'self' argument.
3633 * target.h (struct target_ops) <to_trace_find>: Add argument.
3634 (target_trace_find): Add argument.
3635 * target.c (update_current_target): Update.
3636 * remote.c (remote_trace_find): Add 'self' argument.
3637 * ctf.c (ctf_trace_find): Add 'self' argument.
3639 2014-02-19 Tom Tromey <tromey@redhat.com>
3641 * target.h (struct target_ops) <to_trace_stop>: Add argument.
3642 (target_trace_stop): Add argument.
3643 * target.c (update_current_target): Update.
3644 * remote.c (remote_trace_stop): Add 'self' argument.
3646 2014-02-19 Tom Tromey <tromey@redhat.com>
3648 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
3649 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
3651 (target_get_tracepoint_status): Add argument.
3652 * target.c (update_current_target): Update.
3653 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
3655 2014-02-19 Tom Tromey <tromey@redhat.com>
3657 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
3658 * target.h (struct target_ops) <to_get_trace_status>: Add
3660 (target_get_trace_status): Add argument.
3661 * target.c (update_current_target): Update.
3662 * remote.c (remote_get_trace_status): Add 'self' argument.
3663 (remote_start_remote, remote_can_download_tracepoint): Update.
3664 * ctf.c (ctf_get_trace_status): Add 'self' argument.
3666 2014-02-19 Tom Tromey <tromey@redhat.com>
3668 * target.h (struct target_ops) <to_trace_start>: Add argument.
3669 (target_trace_start): Add argument.
3670 * target.c (update_current_target): Update.
3671 * remote.c (remote_trace_start): Add 'self' argument.
3673 2014-02-19 Tom Tromey <tromey@redhat.com>
3675 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
3677 (target_trace_set_readonly_regions): Add argument.
3678 * target.c (update_current_target): Update.
3679 * remote.c (remote_trace_set_readonly_regions): Add 'self'
3682 2014-02-19 Tom Tromey <tromey@redhat.com>
3684 * target.h (struct target_ops) <to_disable_tracepoint>: Add
3686 (target_disable_tracepoint): Add argument.
3687 * target.c (update_current_target): Update.
3688 * remote.c (remote_disable_tracepoint): Add 'self' argument.
3690 2014-02-19 Tom Tromey <tromey@redhat.com>
3692 * target.h (struct target_ops) <to_enable_tracepoint>: Add
3694 (target_enable_tracepoint): Add argument.
3695 * target.c (update_current_target): Update.
3696 * remote.c (remote_enable_tracepoint): Add 'self' argument.
3698 2014-02-19 Tom Tromey <tromey@redhat.com>
3700 * target.h (struct target_ops) <to_download_trace_state_variable>:
3702 (target_download_trace_state_variable): Add argument.
3703 * target.c (update_current_target): Update.
3704 * remote.c (remote_download_trace_state_variable): Add 'self'
3707 2014-02-19 Tom Tromey <tromey@redhat.com>
3709 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
3711 (target_can_download_tracepoint): Add argument.
3712 * target.c (update_current_target): Update.
3713 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
3715 2014-02-19 Tom Tromey <tromey@redhat.com>
3717 * target.h (struct target_ops) <to_download_tracepoint>: Add
3719 (target_download_tracepoint): Add argument.
3720 * target.c (update_current_target): Update.
3721 * remote.c (remote_download_tracepoint): Add 'self' argument.
3723 2014-02-19 Tom Tromey <tromey@redhat.com>
3725 * target.h (struct target_ops) <to_trace_init>: Add argument.
3726 (target_trace_init): Add argument.
3727 * target.c (update_current_target): Update.
3728 * remote.c (remote_trace_init): Add 'self' argument.
3730 2014-02-19 Tom Tromey <tromey@redhat.com>
3732 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
3733 * target.c (target_fileio_readlink): Add argument.
3734 * remote.c (remote_hostio_readlink): Add 'self' argument.
3735 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
3737 2014-02-19 Tom Tromey <tromey@redhat.com>
3739 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
3740 * target.c (target_fileio_unlink): Add argument.
3741 * remote.c (remote_hostio_unlink): Add 'self' argument.
3742 (remote_file_delete): Update.
3743 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
3745 2014-02-19 Tom Tromey <tromey@redhat.com>
3747 * target.h (struct target_ops) <to_fileio_close>: Add argument.
3748 * target.c (target_fileio_close): Add argument.
3749 * remote.c (remote_hostio_close): Add 'self' argument.
3750 (remote_hostio_close_cleanup): Update.
3751 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
3753 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
3755 2014-02-19 Tom Tromey <tromey@redhat.com>
3757 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
3758 * target.c (target_fileio_pread): Add argument.
3759 * remote.c (remote_hostio_pread): Add 'self' argument.
3760 (remote_bfd_iovec_pread, remote_file_get): Update.
3761 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
3763 2014-02-19 Tom Tromey <tromey@redhat.com>
3765 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
3766 * target.c (target_fileio_pwrite): Add argument.
3767 * remote.c (remote_hostio_pwrite): Add 'self' argument.
3768 (remote_file_put): Update.
3769 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
3771 2014-02-19 Tom Tromey <tromey@redhat.com>
3773 * target.h (struct target_ops) <to_fileio_open>: Add argument.
3774 * target.c (target_fileio_open): Add argument.
3775 * remote.c (remote_hostio_open): Add 'self' argument.
3776 (remote_bfd_iovec_open): Add 'self' argument.
3777 (remote_file_put): Add 'self' argument.
3778 (remote_file_get): Add 'self' argument.
3779 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
3781 2014-02-19 Tom Tromey <tromey@redhat.com>
3783 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
3785 (target_can_run_breakpoint_commands): Add argument.
3786 * target.c (update_current_target): Update.
3787 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
3789 (remote_insert_breakpoint): Add 'self' argument.
3790 (remote_insert_hw_breakpoint): Add 'self' argument.
3791 (remote_can_run_breakpoint_commands): Add 'self' argument.
3793 2014-02-19 Tom Tromey <tromey@redhat.com>
3795 * target.h (struct target_ops)
3796 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
3797 (target_supports_evaluation_of_breakpoint_conditions): Add
3799 * target.c (update_current_target): Update.
3800 * remote.c (remote_supports_cond_breakpoints): Add 'self'
3802 (remote_insert_breakpoint): Add 'self' argument.
3803 (remote_insert_hw_breakpoint): Add 'self' argument.
3804 (remote_supports_cond_breakpoints): Add 'self' argument.
3806 2014-02-19 Tom Tromey <tromey@redhat.com>
3808 * target.h (struct target_ops) <to_supports_string_tracing>: Add
3810 (target_supports_string_tracing): Add argument.
3811 * target.c (update_current_target): Update.
3812 * remote.c (remote_supports_string_tracing): Add 'self' argument.
3814 2014-02-19 Tom Tromey <tromey@redhat.com>
3816 * target.h (struct target_ops)
3817 <to_supports_disable_randomization>: Add argument.
3818 * target.c (find_default_supports_disable_randomization): Add
3820 (target_supports_disable_randomization): Add argument.
3821 (find_default_supports_disable_randomization): Add 'self'
3823 * remote.c (extended_remote_supports_disable_randomization): Add
3825 (remote_supports_disable_randomization): Add 'self' argument.
3826 (extended_remote_create_inferior): Update.
3827 * linux-nat.c (linux_nat_supports_disable_randomization): Add
3830 2014-02-19 Tom Tromey <tromey@redhat.com>
3832 * target.h (struct target_ops)
3833 <to_supports_enable_disable_tracepoint>: Add argument.
3834 (target_supports_enable_disable_tracepoint): Add argument.
3835 * target.c (update_current_target): Update.
3836 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
3839 2014-02-19 Tom Tromey <tromey@redhat.com>
3841 * target.h (struct target_ops) <to_supports_multi_process>: Add
3843 (target_supports_multi_process): Add argument.
3844 * target.c (update_current_target): Update.
3845 * remote.c (remote_supports_multi_process): Add 'self' argument.
3846 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
3848 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
3851 2014-02-19 Tom Tromey <tromey@redhat.com>
3853 * target.h (struct target_ops) <to_execution_direction>: Add
3855 (target_execution_direction): Add argument.
3856 * target.c (default_execution_direction): Add 'self' argument.
3857 * record-full.c (record_full_execution_direction): Add 'self'
3860 2014-02-19 Tom Tromey <tromey@redhat.com>
3862 * target.h (struct target_ops) <to_can_execute_reverse>: Add
3864 (target_can_execute_reverse): Add argument.
3865 * remote.c (remote_can_execute_reverse): Add 'self' argument.
3866 * record-full.c (record_full_can_execute_reverse): Add 'self'
3868 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
3871 2014-02-19 Tom Tromey <tromey@redhat.com>
3873 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
3874 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
3876 (target_get_ada_task_ptid): Add argument.
3877 * target.c (update_current_target): Update.
3878 (default_get_ada_task_ptid): Add 'self' argument.
3879 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
3880 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
3881 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
3883 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
3885 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
3887 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
3889 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
3890 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
3893 2014-02-19 Tom Tromey <tromey@redhat.com>
3895 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
3896 (target_goto_bookmark): Add argument.
3897 * target.c (dummy_goto_bookmark): Add 'self' argument.
3898 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
3900 2014-02-19 Tom Tromey <tromey@redhat.com>
3902 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
3903 (target_get_bookmark): Add argument.
3904 * target.c (dummy_get_bookmark): Add 'self' argument.
3905 * record-full.c (record_full_get_bookmark): Add 'self' argument.
3907 2014-02-19 Tom Tromey <tromey@redhat.com>
3909 * target.h (struct target_ops) <to_make_corefile_notes>: Add
3911 (target_make_corefile_notes): Add argument.
3912 * target.c (dummy_make_corefile_notes): Add 'self' argument.
3913 * procfs.c (procfs_make_note_section): Add 'self' argument.
3914 (procfs_make_note_section): Add 'self' argument.
3915 (procfs_make_note_section): Add 'self' argument.
3916 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
3918 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
3919 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
3920 * exec.c (exec_make_note_section): Add 'self' argument.
3921 (exec_make_note_section): Add 'self' argument.
3923 2014-02-19 Tom Tromey <tromey@redhat.com>
3925 * target.h (struct target_ops) <to_find_memory_regions>: Add
3927 (target_find_memory_regions): Add argument.
3928 * target.c (dummy_find_memory_regions): Add 'self' argument.
3929 * procfs.c (proc_find_memory_regions): Add 'self' argument.
3930 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
3931 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
3932 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
3933 * exec. (exec_do_find_memory_regions): New global.
3934 (exec_set_find_memory_regions): Rewrite.
3935 (exec_find_memory_regions): New function.
3936 (init_exec_ops): Use exec_find_memory_regions.
3938 2014-02-19 Tom Tromey <tromey@redhat.com>
3940 * target.h (struct target_ops) <to_supports_non_stop>: Add
3942 * target.c (find_default_supports_non_stop): Add argument.
3943 (target_supports_non_stop): Add argument.
3944 (find_default_supports_non_stop): Add 'self' argument.
3945 * remote.c (remote_supports_non_stop): Add 'self' argument.
3946 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
3948 2014-02-19 Tom Tromey <tromey@redhat.com>
3950 * target.h (struct target_ops) <to_log_command>: Add argument.
3951 (target_log_command): Add argument.
3952 * serial.h (serial_log_command): Add 'self' argument.
3953 * serial.c (serial_log_command): Add 'self' argument.
3955 2014-02-19 Tom Tromey <tromey@redhat.com>
3957 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
3958 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
3960 (target_pid_to_exec_file): Add argument.
3961 * target.c (debug_to_pid_to_exec_file): Add argument.
3962 (update_current_target): Update.
3963 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
3964 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
3965 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
3966 (linux_handle_extended_wait): Update.
3967 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
3968 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
3969 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
3970 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
3972 2014-02-19 Tom Tromey <tromey@redhat.com>
3974 * target.h (struct target_ops) <to_rcmd>: Add argument.
3975 (target_rcmd): Add argument.
3976 * target.c (debug_to_rcmd): Add argument.
3977 (update_current_target, do_monitor_command): Update.
3978 * remote.c (remote_rcmd): Add 'self' argument.
3979 * monitor.c (monitor_rcmd): Add 'self' argument.
3981 2014-02-19 Tom Tromey <tromey@redhat.com>
3983 * windows-nat.c (windows_stop): Add 'self' argument.
3984 * target.h (struct target_ops) <to_stop>: Add argument.
3985 * target.c (target_stop): Add argument.
3986 (debug_to_stop): Add argument.
3987 (update_current_target): Update.
3988 * remote.c (remote_stop): Add 'self' argument.
3989 * remote-sim.c (gdbsim_stop): Add 'self' argument.
3990 (gdbsim_cntrl_c): Update.
3991 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
3992 * procfs.c (procfs_stop): Add 'self' argument.
3993 * nto-procfs.c (procfs_stop): Add 'self' argument.
3994 * monitor.c (monitor_stop): Add 'self' argument.
3995 (monitor_open): Update.
3996 * linux-nat.c (linux_nat_stop): Add argument.
3997 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
3998 * gnu-nat.c (gnu_stop): Add 'self' argument.
3999 * darwin-nat.c (darwin_stop): Add 'self' argument.
4001 2014-02-19 Tom Tromey <tromey@redhat.com>
4003 * target.h (struct target_ops) <to_thread_name>: Add argument.
4004 * target.c (target_thread_name): Add argument.
4005 (update_current_target): Update.
4006 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
4008 2014-02-19 Tom Tromey <tromey@redhat.com>
4010 * target.h (struct target_ops) <to_extra_thread_info>: Add
4012 (target_extra_thread_info): Add argument.
4013 * target.c (update_current_target): Update.
4014 * remote.c (remote_threads_extra_info): Add 'self' argument.
4015 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
4017 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
4018 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
4019 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
4021 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
4023 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
4025 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
4028 2014-02-19 Tom Tromey <tromey@redhat.com>
4030 * target.h (struct target_ops) <to_program_signals>: Add argument.
4031 * target.c (target_program_signals): Add argument.
4032 * remote.c (remote_program_signals): Add 'self' argument.
4034 2014-02-19 Tom Tromey <tromey@redhat.com>
4036 * target.h (struct target_ops) <to_pass_signals>: Add argument.
4037 * target.c (target_pass_signals): Add argument.
4038 * remote.c (remote_pass_signals): Add 'self' argument.
4039 (remote_start_remote): Update.
4040 * procfs.c (procfs_pass_signals): Add 'self' argument.
4041 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
4042 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
4043 (linux_nat_create_inferior, linux_nat_attach): Update.
4045 2014-02-19 Tom Tromey <tromey@redhat.com>
4047 * windows-nat.c (windows_can_run): Add 'self' argument.
4048 * target.h (struct target_ops) <to_can_run>: Add argument.
4049 (target_can_run): Add argument.
4050 * target.c (debug_to_can_run): Add argument.
4051 (update_current_target): Update.
4052 * nto-procfs.c (procfs_can_run): Add 'self' argument.
4053 * inf-child.c (inf_child_can_run): Add 'self' argument.
4054 * go32-nat.c (go32_can_run): Add 'self' argument.
4056 2014-02-19 Tom Tromey <tromey@redhat.com>
4058 * target.h (struct target_ops) <to_has_exited>: Add argument.
4059 (target_has_exited): Add argument.
4060 * target.c (debug_to_has_exited): Add argument.
4061 (update_current_target): Update.
4063 2014-02-19 Tom Tromey <tromey@redhat.com>
4065 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
4067 (target_set_syscall_catchpoint): Add argument.
4068 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
4070 * target.c (update_current_target): Update.
4072 2014-02-19 Tom Tromey <tromey@redhat.com>
4074 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
4076 (target_remove_exec_catchpoint): Add argument.
4077 * target.c (debug_to_remove_exec_catchpoint): Add argument.
4078 (update_current_target): Update.
4079 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
4082 2014-02-19 Tom Tromey <tromey@redhat.com>
4084 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
4086 (target_insert_exec_catchpoint): Add argument.
4087 * target.c (debug_to_insert_exec_catchpoint): Add argument.
4088 (update_current_target): Update.
4089 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
4092 2014-02-19 Tom Tromey <tromey@redhat.com>
4094 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
4096 (target_remove_vfork_catchpoint): Add argument.
4097 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
4098 (update_current_target): Update.
4099 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
4102 2014-02-19 Tom Tromey <tromey@redhat.com>
4104 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
4106 (target_insert_vfork_catchpoint): Add argument.
4107 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
4108 (update_current_target): Update.
4109 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
4112 2014-02-19 Tom Tromey <tromey@redhat.com>
4114 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
4116 (target_remove_fork_catchpoint): Add argument.
4117 * target.c (debug_to_remove_fork_catchpoint): Add argument.
4118 (update_current_target): Update.
4119 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
4122 2014-02-19 Tom Tromey <tromey@redhat.com>
4124 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
4126 (target_insert_fork_catchpoint): Add argument.
4127 * target.c (debug_to_insert_fork_catchpoint): Add argument.
4128 (update_current_target): Update.
4129 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
4132 2014-02-19 Tom Tromey <tromey@redhat.com>
4134 * target.h (struct target_ops) <to_post_startup_inferior>: Add
4136 (target_post_startup_inferior): Add argument.
4137 * target.c (debug_to_post_startup_inferior): Add argument.
4138 (update_current_target): Update.
4139 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
4141 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
4143 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
4145 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
4147 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
4149 (super_post_startup_inferior): Likewise.
4150 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
4152 (super_post_startup_inferior): Likewise.
4153 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
4154 Add 'self' argument.
4155 (super_post_startup_inferior): Likewise.
4157 2014-02-19 Tom Tromey <tromey@redhat.com>
4159 * target.h (struct target_ops) <to_load>: Add argument.
4160 * target.c (target_load): Add argument.
4161 (debug_to_load): Add argument.
4162 (update_current_target): Update.
4163 * remote.c (remote_load): Add 'self' argument.
4164 * remote-sim.c (gdbsim_load): Add 'self' argument.
4165 * remote-mips.c (mips_load): Add 'self' argument.
4166 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
4167 * monitor.c (monitor_load): Add 'self' argument.
4168 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
4170 2014-02-19 Tom Tromey <tromey@redhat.com>
4172 * target.h (struct target_ops) <to_terminal_info>: Add argument.
4173 (target_terminal_info): Add argument.
4174 * target.c (debug_to_terminal_info): Add argument.
4175 (default_terminal_info): Likewise.
4176 * inflow.c (child_terminal_info): Add 'self' argument.
4177 * inferior.h (child_terminal_info): Add 'self' argument.
4178 * go32-nat.c (go32_terminal_info): Add 'self' argument.
4180 2014-02-19 Tom Tromey <tromey@redhat.com>
4182 * target.h (struct target_ops) <to_terminal_save_ours>: Add
4184 (target_terminal_save_ours): Add argument.
4185 * target.c (debug_to_terminal_save_ours): Add argument.
4186 (update_current_target): Update.
4187 * inflow.c (terminal_save_ours): Add 'self' argument.
4188 * inferior.h (terminal_save_ours): Add 'self' argument.
4190 2014-02-19 Tom Tromey <tromey@redhat.com>
4192 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
4193 (target_terminal_ours): Add argument.
4194 * target.c (debug_to_terminal_ours): Add argument.
4195 (update_current_target): Update.
4196 * remote.c (remote_terminal_ours): Add 'self' argument.
4197 (remote_close): Update.
4198 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
4199 * inflow.c (terminal_ours): Add 'self' argument.
4200 * inferior.h (terminal_ours): Add 'self' argument.
4201 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
4203 2014-02-19 Pedro Alves <palves@redhat.com>
4204 Tom Tromey <tromey@redhat.com>
4206 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
4208 (target_terminal_ours_for_output): Add argument.
4209 * target.c (debug_to_terminal_ours_for_output): Add argument.
4210 (update_current_target): Update.
4211 * inflow.c (terminal_ours_for_output): Add 'self' argument.
4212 * inferior.h (terminal_ours_for_output): Add 'self' argument.
4213 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
4215 2014-02-19 Tom Tromey <tromey@redhat.com>
4217 * target.h (struct target_ops) <to_terminal_inferior>: Add
4219 * target.c (target_terminal_inferior): Add argument.
4220 (update_current_target): Update.
4221 * remote.c (remote_terminal_inferior): Add 'self' argument.
4222 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
4223 * inflow.c (terminal_inferior): Add 'self' argument.
4224 * inferior.h (terminal_inferior): Add 'self' argument.
4225 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
4226 (go32_terminal_inferior): Add 'self' argument.
4228 2014-02-19 Tom Tromey <tromey@redhat.com>
4230 * target.h (struct target_ops) <to_terminal_init>: Add argument.
4231 (target_terminal_init): Add argument.
4232 * target.c (debug_to_terminal_init): Add argument.
4233 (update_current_target): Update.
4234 * inflow.c (terminal_init_inferior): Add 'self' argument.
4235 * inferior.h (terminal_init_inferior): Add 'self' argument.
4236 * go32-nat.c (go32_terminal_init): Add 'self' argument.
4237 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
4239 2014-02-19 Tom Tromey <tromey@redhat.com>
4241 * target.h (struct target_ops)
4242 <to_can_accel_watchpoint_condition>: Add argument.
4243 (target_can_accel_watchpoint_condition): Add argument.
4244 * target.c (debug_to_can_accel_watchpoint_condition): Add
4246 (update_current_target): Update.
4247 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
4250 2014-02-19 Tom Tromey <tromey@redhat.com>
4252 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
4254 (target_region_ok_for_hw_watchpoint): Add argument.
4255 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
4256 (default_region_ok_for_hw_watchpoint): Add argument.
4257 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
4258 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
4260 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
4262 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
4264 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
4266 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
4268 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
4270 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
4271 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
4273 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
4274 Add 'self' argument.
4276 2014-02-19 Tom Tromey <tromey@redhat.com>
4278 * target.h (struct target_ops) <to_insert_watchpoint>: Add
4280 (target_insert_watchpoint): Add argument.
4281 * target.c (debug_to_insert_watchpoint): Add argument.
4282 (update_current_target): Update.
4283 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
4284 * remote.c (remote_insert_watchpoint): Add 'self' argument.
4285 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
4286 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
4287 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
4288 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
4290 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
4291 (procfs_insert_hw_watchpoint): Add 'self' argument.
4292 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
4294 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
4296 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
4298 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
4299 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
4301 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
4304 2014-02-19 Tom Tromey <tromey@redhat.com>
4306 * target.h (struct target_ops) <to_remove_watchpoint>: Add
4308 (target_remove_watchpoint): Add argument.
4309 * target.c (debug_to_remove_watchpoint): Add argument.
4310 (update_current_target): Update.
4311 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
4312 * remote.c (remote_remove_watchpoint): Add 'self' argument.
4313 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
4314 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
4315 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
4316 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
4318 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
4319 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
4321 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
4323 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
4325 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
4326 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
4328 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
4331 2014-02-19 Tom Tromey <tromey@redhat.com>
4333 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
4335 (target_remove_hw_breakpoint): Add argument.
4336 * target.c (debug_to_remove_hw_breakpoint): Add argument.
4337 (update_current_target): Update.
4338 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
4339 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
4341 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
4342 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
4344 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
4347 2014-02-19 Tom Tromey <tromey@redhat.com>
4349 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
4351 (target_insert_hw_breakpoint): Add argument.
4352 * target.c (debug_to_insert_hw_breakpoint): Add argument.
4353 (update_current_target): Update.
4354 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
4355 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
4357 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
4358 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
4359 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
4361 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
4364 2014-02-19 Tom Tromey <tromey@redhat.com>
4366 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
4368 (target_can_use_hardware_watchpoint): Add argument.
4369 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
4370 (update_current_target): Update.
4371 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
4373 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
4375 * remote.c (remote_check_watch_resources): Add 'self' argument.
4376 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
4377 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
4379 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
4380 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
4382 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
4384 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
4386 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
4388 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
4390 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
4392 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
4393 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
4395 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
4398 2014-02-19 Tom Tromey <tromey@redhat.com>
4400 * target.h (struct target_ops) <to_post_attach>: Add argument.
4401 (target_post_attach): Add argument.
4402 * target.c (debug_to_post_attach): Add argument.
4403 (update_current_target): Update.
4404 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
4405 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
4406 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
4407 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
4408 * inf-child.c (inf_child_post_attach): Add 'self' argument.
4410 2014-02-19 Tom Tromey <tromey@redhat.com>
4412 * windows-nat.c (windows_close): Add 'self' argument.
4413 * tracepoint.c (tfile_close): Add 'self' argument.
4414 * target.h (struct target_ops) <to_close>: Add argument.
4415 * target.c (target_close): Add argument.
4416 (update_current_target): Update.
4417 * remote.c (remote_close): Add 'self' argument.
4418 * remote-sim.c (gdbsim_close): Add 'self' argument.
4419 * remote-mips.c (mips_close): Add 'self' argument.
4420 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
4421 * record-full.c (record_full_close): Add 'self' argument.
4422 * record-btrace.c (record_btrace_close): Add 'self' argument.
4423 * monitor.h (monitor_close): Add 'self' argument.
4424 * monitor.c (monitor_close): Add 'self' argument.
4425 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
4426 * linux-nat.c (linux_nat_close): Add argument.
4427 * go32-nat.c (go32_close): Add 'self' argument.
4428 * exec.c (exec_close_1): Add 'self' argument.
4429 * ctf.c (ctf_close): Add 'self' argument.
4430 * corelow.c (core_close): Add 'self' argument.
4431 (core_close_cleanup): Update.
4432 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
4433 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
4435 2014-02-19 Tom Tromey <tromey@redhat.com>
4437 * remote.c (remote_load): New function.
4438 (init_remote_ops): Use it.
4440 2014-02-19 Tom Tromey <tromey@redhat.com>
4442 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
4444 * common/linux-btrace.h (linux_supports_btrace): Update.
4445 * remote.c (remote_supports_btrace): Add "self" argument.
4446 * target-delegates.c: Rebuild.
4447 * target.c (target_supports_btrace): Remove.
4448 * target.h (struct target_ops) <to_supports_btrace>: Add
4449 target_ops argument.
4450 (target_supports_btrace): New define.
4452 2014-02-19 Tom Tromey <tromey@redhat.com>
4454 * record-full.c (record_full_beneath_to_resume_ops)
4455 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
4456 (record_full_beneath_to_wait)
4457 (record_full_beneath_to_store_registers_ops)
4458 (record_full_beneath_to_store_registers)
4459 (record_full_beneath_to_xfer_partial_ops)
4460 (record_full_beneath_to_xfer_partial)
4461 (record_full_beneath_to_insert_breakpoint_ops)
4462 (record_full_beneath_to_insert_breakpoint)
4463 (record_full_beneath_to_remove_breakpoint_ops)
4464 (record_full_beneath_to_remove_breakpoint)
4465 (record_full_beneath_to_stopped_by_watchpoint)
4466 (record_full_beneath_to_stopped_data_address)
4467 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
4468 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
4469 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
4470 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
4471 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
4472 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
4473 (tmp_to_stopped_data_address, tmp_to_async): Remove.
4474 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
4475 (record_full_resume, record_full_wait_1)
4476 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
4477 (record_full_store_registers, record_full_xfer_partial)
4478 (record_full_insert_breakpoint, record_full_remove_breakpoint)
4479 (record_full_async, record_full_core_xfer_partial): Use target
4481 * target-delegates.c: Rebuild.
4482 * target.c (current_xfer_partial): Remove.
4483 (update_current_target): Do not INHERIT or de_fault
4484 to_insert_breakpoint, to_remove_breakpoint,
4485 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
4486 to_is_async_p, to_async. Do not set to_xfer_partial field.
4487 (default_xfer_partial): Simplify.
4488 (current_xfer_partial): Remove.
4489 (target_wait, target_resume): Simplify.
4490 (find_default_can_async_p, find_default_is_async_p): Update.
4491 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
4492 to_xfer_partial, to_stopped_by_watchpoint,
4493 to_stopped_data_address.
4494 (target_store_registers): Simplify.
4495 (forward_target_remove_breakpoint)
4496 (forward_target_insert_breakpoint): Remove.
4497 (target_remove_breakpoint, target_insert_breakpoint)
4498 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
4499 * target.h (struct target_ops) <to_resume, to_wait,
4500 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
4501 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
4502 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
4504 (forward_target_remove_breakpoint)
4505 (forward_target_insert_breakpoint): Remove.
4506 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
4508 (record_btrace_insert_breakpoint): Delegate directly.
4510 2014-02-19 Tom Tromey <tromey@redhat.com>
4513 * target-delegates.c: New file.
4514 * target.c: Include target-delegates.c.
4515 (init_dummy_target): Call install_dummy_methods.
4516 (complete_target_initialization): Call install_delegators.
4517 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
4518 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
4519 * make-target-delegates: New file.
4521 2014-02-19 Tom Tromey <tromey@redhat.com>
4523 * record.c (find_record_target): Use find_target_at.
4524 * target.c (find_target_at): New function.
4525 * target.h (find_target_at): Declare.
4527 2014-02-19 Tom Tromey <tromey@redhat.com>
4529 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
4531 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
4533 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
4534 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
4536 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
4538 * linux-nat.c (save_sigtrap): Update.
4539 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
4540 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
4541 (linux_nat_close): Update.
4542 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
4544 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
4546 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
4547 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
4548 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
4549 (tmp_to_async): Add 'ops' argument.
4550 (record_full_stopped_by_watchpoint, record_full_async)
4551 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
4553 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
4554 (m32r_stopped_by_watchpoint): Add 'ops' argument.
4555 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
4556 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
4557 (remote_is_async_p, remote_async): Add 'ops' argument.
4558 (remote_stopped_data_address): Update.
4559 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
4560 * target.c (update_current_target)
4561 (find_default_can_async_p, find_default_is_async_p): Update.
4562 (init_dummy_target): Update.
4563 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
4564 * target.h (struct target_ops) <to_stopped_by_watchpoint,
4565 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
4566 (target_can_async_p, target_is_async_p, target_async)
4567 (target_stopped_by_watchpoint): Update.
4569 2014-02-19 Yao Qi <yao@codesourcery.com>
4572 * gdbarch.sh: Remove startup_gdbarch.
4573 * gdbarch.c: Regenerated.
4574 * gdbarch.h: Likewise.
4576 2014-02-17 Kevin Buettner <kevinb@redhat.com>
4578 * rl78-tdep.c (rl78_g10_register_name): New function.
4579 (rl78_return_value): Add g10 support.
4580 (rl78_gdbarch_init): Register rl78_g10_register_name for the
4583 2014-02-17 Doug Evans <xdje42@gmail.com>
4585 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
4586 (SUBDIR_GUILE_SRCS): Ditto.
4587 (scm-gsmob.o): Ditto.
4589 2014-02-17 Yao Qi <yao@codesourcery.com>
4591 * gnu-nat.c (ILL_RPC): Declare defined function.
4593 2014-02-17 Yao Qi <yao@codesourcery.com>
4595 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
4596 mach_msg_type_number_t.
4597 (gnu_write_inferior): Likewise.
4599 2014-02-17 Yao Qi <yao@codesourcery.com>
4601 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
4603 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
4604 (inf_validate_procs, inf_signal): Likewise.
4605 (S_exception_raise_request): Likewise.
4606 (do_mach_notify_dead_name): Likewise.
4607 (steal_exc_port): Likewise.
4608 (gnu_read_inferior): Change 'copy_count''s type to
4609 mach_msg_type_number_t.
4610 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
4613 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
4615 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
4616 flag. Adjust all users; in particular...
4617 (gnu_wait): ..., don't decrement its value in here...
4618 (gnu_create_inferior): ..., and instead set the flag in here,
4619 around the startup_inferior call, and call that one with
4620 START_INFERIOR_TRAPS_EXPECTED.
4622 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
4623 (ILL_RPC): ... new macro.
4624 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
4625 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
4626 (do_mach_notify_send_once, S_proc_setmsgport_reply)
4627 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
4628 functions with ILL_RPC macro.
4629 (S_proc_pid2task_reply, S_proc_task2pid_reply)
4630 (S_proc_task2proc_reply, S_proc_proc2task_reply)
4631 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
4632 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
4633 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
4634 (S_proc_getlogin_reply, S_proc_getsid_reply)
4635 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
4636 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
4637 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
4638 (S_proc_getnports_reply, S_proc_is_important_reply)
4639 (S_proc_get_code_reply): New stub functions, generated with
4642 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
4643 collected the type check structures.
4645 * reply_mig_hack.awk: Don't expect to see the auto keyword.
4647 2014-02-14 Doug Evans <dje@google.com>
4649 * target.c (target_write_partial): Fix result type.
4651 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
4653 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
4654 the proper offsets to access fpregset_t.
4656 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
4658 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
4659 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
4660 * h8300-tdep.c (setmachinelist): Remove global.
4661 * hppa-tdep.c (hppa_sigtramp): Remove global.
4662 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
4663 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
4664 * ravenscar-thread.c (update_target_observer): Remove global.
4665 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
4667 2014-02-12 Tom Tromey <tromey@redhat.com>
4669 * common/rsp-low.c: Update comments.
4670 * common/rsp-low.h: Update comments.
4672 2014-02-12 Tom Tromey <tromey@redhat.com>
4674 * common/rsp-low.c (convert_ascii_to_int): Remove.
4675 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
4677 2014-02-12 Tom Tromey <tromey@redhat.com>
4679 * common/rsp-low.h (unhexify): Don't declare.
4680 * common/rsp-low.c (unhexify): Remove.
4682 2014-02-12 Tom Tromey <tromey@redhat.com>
4684 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
4685 * common/rsp-low.c (convert_int_to_ascii): Remove.
4687 2014-02-12 Tom Tromey <tromey@redhat.com>
4689 * common/rsp-low.h (hexify): Don't declare.
4690 * common/rsp-low.c (hexify): Remove.
4692 2014-02-12 Tom Tromey <tromey@redhat.com>
4694 * common/rsp-low.c (hexify): Never take strlen of argument.
4696 2014-02-12 Tom Tromey <tromey@redhat.com>
4698 * common/rsp-low.c (bin2hex): Never take strlen of argument.
4699 * remote.c (extended_remote_run, remote_rcmd)
4700 (remote_download_trace_state_variable, remote_save_trace_data)
4701 (remote_set_trace_notes): Update.
4702 * tracepoint.c (encode_source_string, tfile_write_status)
4703 (tfile_write_uploaded_tsv): Update.
4705 2014-02-12 Tom Tromey <tromey@redhat.com>
4707 * tracepoint.c: Include rsp-low.h.
4708 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
4709 * remote.c: Include rsp-low.h.
4710 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
4711 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
4712 (remote_unescape_input): Move to common/rsp-low.c.
4713 * common/rsp-low.h: New file.
4714 * common/rsp-low.c: New file.
4715 * Makefile.in (SFILES): Add common/rsp-low.c.
4716 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
4717 (COMMON_OBS): Add rsp-low.o.
4718 (rsp-low.o): New target.
4720 2014-02-12 Tom Tromey <tromey@redhat.com>
4722 * utils.h: Include print-utils.h.
4723 (host_address_to_string, plongest, pulongest, phex, phex_nz)
4724 (int_string, core_addr_to_string, core_addr_to_string_nz)
4725 (hex_string, hex_string_custom): Don't declare.
4726 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
4727 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
4728 (hex_string_custom, int_string, core_addr_to_string)
4729 (core_addr_to_string_nz, host_address_to_string): Move to
4730 common/print-utils.c.
4731 * common/print-utils.h: New file.
4732 * common/print-utils.c: New file
4733 * Makefile.in (SFILES): Add common/print-utils.c.
4734 (HFILES_NO_SRCDIR): Add common/print-utils.h.
4735 (COMMON_OBS): Add print-utils.o.
4736 (print-utils.o): New target.
4738 2014-02-12 Tom Tromey <tromey@redhat.com>
4740 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
4742 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4744 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
4746 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4748 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
4749 if a PT_IO ptrace request returns sucessfully but indicates that 0
4750 bytes were transferred.
4752 2014-02-12 Pedro Alves <palves@redhat.com>
4753 Kevin Buettner <kevinb@redhat.com>
4755 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
4756 TYPE_INSTANCE_FLAG_CODE_SPACE.
4758 2014-02-12 Pedro Alves <palves@redhat.com>
4760 * h8300-tdep.c (pseudo_from_raw_register)
4761 (raw_from_pseudo_register): New functions.
4762 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
4765 2014-02-12 Pedro Alves <palves@redhat.com>
4767 * h8300-tdep.c (h8300_register_sim_regno): New function.
4768 (h8300_gdbarch_init): Install h8300_register_sim_regno as
4769 gdbarch_register_sim_regno hook.
4771 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
4773 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
4775 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
4777 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
4779 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4781 * obsd-tdep.h (obsd_init_abi): New prototype.
4782 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
4783 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
4784 (obsd_init_abi): New functions.
4785 * i386obsd-tdep.c: Include "obsd-tdep.h".
4786 (i386obsd_init_abi): Call obsd_init_abi.
4787 * amd64obsd-tdep.c: Include "obsd-tdep.h".
4788 (amd64obsd_init_abi): Call obsd_init_abi.
4789 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
4790 obsd-tdep.c to gdb_target_obs.
4792 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
4794 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
4795 double float arguments to 16-byte in the argument slots.
4797 2014-02-11 Doug Evans <xdje42@gmail.com>
4799 * configure.ac: Don't crash if pkg-config is not found and guile
4800 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
4802 * configure: Regenerate.
4804 2014-02-11 Yao Qi <yao@codesourcery.com>
4806 * aix-thread.c (aix_thread_xfer_partial): Update comments.
4807 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
4808 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4809 * gnu-nat.c (gnu_xfer_memory): Likewise.
4810 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
4811 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4812 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4813 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4815 2014-02-11 Yao Qi <yao@codesourcery.com>
4817 * target.h (enum target_xfer_error): Rename to ...
4818 (enum target_xfer_status): ... it. New. All users updated.
4819 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
4821 (TARGET_XFER_STATUS_ERROR_P): New macro.
4822 (target_xfer_error_to_string): Remove declaration.
4823 (target_xfer_status_to_string): Declare.
4824 (target_xfer_partial_ftype): Adjust it.
4825 (struct target_ops) <to_xfer_partial>: Return
4826 target_xfer_status. Add argument xfered_len. Update
4828 * target.c (target_xfer_error_to_string): Rename to ...
4829 (target_xfer_status_to_string): ... it. New. All callers
4831 (target_read_live_memory): Likewise. Call target_xfer_partial
4832 instead of target_read.
4833 (memory_xfer_live_readonly_partial): Return
4834 target_xfer_status. Add argument xfered_len.
4835 (raw_memory_xfer_partial): Likewise.
4836 (memory_xfer_partial_1): Likewise.
4837 (memory_xfer_partial): Likewise.
4838 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
4839 properly. Update debug message.
4840 (default_xfer_partial, current_xfer_partial): Likewise.
4841 (target_write_partial): Likewise.
4842 (target_read_partial): Likewise. All callers updated.
4843 (read_whatever_is_readable): Likewise.
4844 (target_write_with_progress): Likewise.
4845 (target_read_alloc_1): Likewise.
4847 * aix-thread.c (aix_thread_xfer_partial): Likewise.
4848 * auxv.c (procfs_xfer_auxv): Likewise.
4849 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
4850 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4851 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4852 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
4853 * corefile.c (read_memory): Adjust.
4854 * corelow.c (core_xfer_partial): Likewise.
4855 * ctf.c (ctf_xfer_partial): Likewise.
4856 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
4858 (darwin_xfer_partial): Likewise.
4859 * exec.c (section_table_xfer_memory_partial): Likewise. All
4861 (exec_xfer_partial): Likewise.
4862 * exec.h (section_table_xfer_memory_partial): Update
4864 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
4866 (gnu_xfer_partial): Likewise.
4867 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
4868 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
4869 (ia64_hpux_xfer_solib_got): Likewise.
4870 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
4871 type of 'partial_len' to ULONGEST.
4872 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
4873 * linux-nat.c (linux_xfer_siginfo ): Likewise.
4874 (linux_nat_xfer_partial): Likewise.
4875 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
4876 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
4877 * monitor.c (monitor_xfer_memory): Likewise.
4878 (monitor_xfer_partial): Likewise.
4879 * procfs.c (procfs_xfer_partial): Likewise.
4880 * record-btrace.c (record_btrace_xfer_partial): Likewise.
4881 * record-full.c (record_full_xfer_partial): Likewise.
4882 (record_full_core_xfer_partial): Likewise.
4883 * remote-sim.c (gdbsim_xfer_memory): Likewise.
4884 (gdbsim_xfer_partial): Likewise.
4885 * remote.c (remote_write_bytes_aux): Likewise. All callers
4887 (remote_write_bytes, remote_read_bytes): Likewise. All
4889 (remote_flash_erase): Likewise. All callers updated.
4890 (remote_write_qxfer): Likewise. All callers updated.
4891 (remote_read_qxfer): Likewise. All callers updated.
4892 (remote_xfer_partial): Likewise.
4893 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4894 (rs6000_xfer_shared_libraries): Likewise.
4895 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4896 (sol_thread_xfer_partial): Likewise.
4897 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4898 (sparc_xfer_partial): Likewise.
4899 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
4901 (spu_xfer_partial): Likewise.
4902 * spu-multiarch.c (spu_xfer_partial): Likewise.
4903 * tracepoint.c (tfile_xfer_partial): Likewise.
4904 * windows-nat.c (windows_xfer_memory): Likewise.
4905 (windows_xfer_shared_libraries): Likewise.
4906 (windows_xfer_partial): Likewise.
4907 * valprint.c: Replace 'target_xfer_error' with
4908 'target_xfer_status' in comments.
4910 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
4912 Checked in by Joel Brobecker <brobecker@adacore.com>.
4913 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
4915 2014-02-11 Joel Brobecker <brobecker@adacore.com>
4917 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
4918 function parameters.
4920 2014-02-10 Will Newton <will.newton@linaro.org>
4922 * elfread.c (elf_rel_plt_read): Look for a .got section if
4923 looking up .got.plt fails.
4924 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
4925 on address passed to elf_gnu_ifunc_record_cache.
4926 (elf_gnu_ifunc_resolve_addr): Likewise.
4927 (elf_gnu_ifunc_resolver_return_stop): Likewise.
4929 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
4931 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
4932 (X_RETTURN): New macro.
4933 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
4935 * sparc64-tdep.c (sparc64_init_abi): Hook
4936 sparc_in_function_epilogue_p.
4938 2014-02-10 Gary Benson <gbenson@redhat.com>
4940 * symfile-debug.c (debug_qf_expand_symtabs_matching):
4941 Rename name_matcher to symbol_matcher.
4943 2014-02-10 Gary Benson <gbenson@redhat.com>
4945 * symfile-debug.c (debug_qf_expand_symtabs_matching):
4946 Use expand_symtabs_file_matcher_ftype and
4947 expand_symtabs_symbol_matcher_ftype.
4949 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4951 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
4952 (struct ada_symbol_cache): New.
4953 (ada_free_symbol_cache): Forward declare.
4954 (struct ada_pspace_data): New.
4955 (ada_pspace_data_handle): New static global.
4956 (get_ada_pspace_data, ada_pspace_data_cleanup)
4957 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
4958 (cache_space, cache): Delete, now folded inside struct
4960 (ada_get_symbol_cache): New function.
4961 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
4963 (_initialize_ada_language): Remove initialization of cache_space.
4964 Move call to observer_attach_inferior_exit up, grouping it
4965 with the other observer registrations inside this function.
4966 Rename command to be more general. Add call to
4967 register_program_space_data_with_cleanup.
4969 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4971 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
4972 ada_new_objfile_observer.
4973 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
4974 (_initialize_tasks): Update uses of ada_new_objfile_observer
4975 and ada_tasks_normal_stop_observer.
4977 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4979 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
4980 returned by the 'Length attribute to integer.
4982 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4984 * ada-lang.c (_initialize_ada_language): Initialize
4985 cache_space obstack.
4987 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4989 * ada-lang.c (HASH_SIZE): New macro.
4990 (struct cache_entry): New type.
4991 (cache_space, cache): New static globals.
4992 (ada_clear_symbol_cache, find_entry): New functions.
4993 (lookup_cached_symbol, cache_symbol): Implement.
4994 (ada_new_objfile_observer, ada_free_objfile_observer): New.
4995 (_initialize_ada_language): Attach ada_new_objfile_observer
4996 and ada_free_objfile_observer.
4998 2014-02-10 Joel Brobecker <brobecker@adacore.com>
5000 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
5001 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
5002 struct block * parameter.
5003 (ada_lookup_symbol_list_worker): Constify local variable "block".
5004 Remove cast which is no longer necessary.
5006 2014-02-10 Doug Evans <xdje42@gmail.com>
5008 Add Guile as an extension language.
5009 * NEWS: Mention Guile scripting.
5010 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
5011 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
5012 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
5013 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
5014 (CLIBS): Add GUILE_LIBS.
5015 (install-guile): New rule.
5016 (guile.o): New rule.
5017 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
5018 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
5019 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
5020 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
5021 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
5022 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
5023 (scm-type.o, scm-utils.o, scm-value.o): New rules.
5024 * configure.ac: New option --with-guile.
5025 * configure: Regenerate.
5026 * config.in: Regenerate.
5027 * auto-load.c: Remove #include "python/python.h". Add #include
5028 "gdb/section-scripts.h".
5029 (source_section_scripts): Handle Guile scripts.
5030 (_initialize_auto_load): Add name of Guile objfile script to
5031 scripts-directory help text.
5032 * breakpoint.c (condition_command): Tweak comment to include Scheme.
5033 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
5034 (struct breakpoint): New member scm_bp_object.
5035 * defs.h (enum command_control_type): New value guile_control.
5036 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
5038 (show_user): Update comment.
5039 (_initialize_cli_cmds): Update help text for "show user". Update help
5040 text for max-user-call-depth.
5041 * cli/cli-script.c: Remove #include "python/python.h". Add #include
5043 (multi_line_command_p): Add guile_control.
5044 (print_command_lines): Handle guile_control.
5045 (execute_control_command, recurse_read_control_structure): Ditto.
5046 (process_next_line): Recognize "guile" commands.
5047 * disasm.c (gdb_disassemble_info): Make non-static.
5048 * disasm.h: #include "dis-asm.h".
5049 (struct gdbarch): Add forward decl.
5050 (gdb_disassemble_info): Declare.
5051 * extension.c: #include "guile/guile.h".
5052 (extension_languages): Add guile.
5053 (get_ext_lang_defn): Handle EXT_LANG_GDB.
5054 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
5055 * gdbtypes.c (get_unsigned_type_max): New function.
5056 (get_signed_type_minmax): New function.
5057 * gdbtypes.h (get_unsigned_type_max): Declare.
5058 (get_signed_type_minmax): Declare.
5059 * guile/README: New file.
5060 * guile/guile-internal.h: New file.
5061 * guile/guile.c: New file.
5062 * guile/guile.h: New file.
5063 * guile/scm-arch.c: New file.
5064 * guile/scm-auto-load.c: New file.
5065 * guile/scm-block.c: New file.
5066 * guile/scm-breakpoint.c: New file.
5067 * guile/scm-disasm.c: New file.
5068 * guile/scm-exception.c: New file.
5069 * guile/scm-frame.c: New file.
5070 * guile/scm-gsmob.c: New file.
5071 * guile/scm-iterator.c: New file.
5072 * guile/scm-lazy-string.c: New file.
5073 * guile/scm-math.c: New file.
5074 * guile/scm-objfile.c: New file.
5075 * guile/scm-ports.c: New file.
5076 * guile/scm-pretty-print.c: New file.
5077 * guile/scm-safe-call.c: New file.
5078 * guile/scm-string.c: New file.
5079 * guile/scm-symbol.c: New file.
5080 * guile/scm-symtab.c: New file.
5081 * guile/scm-type.c: New file.
5082 * guile/scm-utils.c: New file.
5083 * guile/scm-value.c: New file.
5084 * guile/lib/gdb.scm: New file.
5085 * guile/lib/gdb/boot.scm: New file.
5086 * guile/lib/gdb/experimental.scm: New file.
5087 * guile/lib/gdb/init.scm: New file.
5088 * guile/lib/gdb/iterator.scm: New file.
5089 * guile/lib/gdb/printing.scm: New file.
5090 * guile/lib/gdb/types.scm: New file.
5091 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
5092 (VPATH): Add $(GUILE_SRCDIR).
5093 (GUILE_DIR): New variable.
5094 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
5095 (all): Add stamp-guile dependency.
5096 (stamp-guile): New rule.
5097 (clean-guile, install-guile, uninstall-guile): New rules.
5098 (install-only): Add install-guile dependency.
5099 (uninstall): Add uninstall-guile dependency.
5100 (clean): Add clean-guile dependency.
5102 2014-02-09 Doug Evans <xdje42@gmail.com>
5104 Revert this patch (which I approved, mea culpa).
5106 2014-02-08 Mark Kettenis <kettenis@gnu.org>
5108 * Makefile.in (all-lib): Remove.
5109 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
5111 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5113 Fix Python stack corruption.
5114 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
5117 2014-02-08 Mark Kettenis <kettenis@gnu.org>
5119 * Makefile.in (all-lib): Remove.
5120 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
5122 2014-02-07 Doug Evans <dje@google.com>
5124 * extension-priv.h (extension_language_script_ops): Add comment.
5125 (extension_language_ops): Add comment.
5126 (active_ext_lang_state): Fix typo in comment.
5128 2014-02-07 Pedro Alves <palves@redhat.com>
5130 PR breakpoints/16292
5131 * infrun.c (handle_signal_stop) <signal arrives while stepping
5132 over a breakpoint>: Switch back to the stepping thread.
5134 2014-02-07 Yao Qi <yao@codesourcery.com>
5136 * target.c (target_xfer_partial): Return zero if LEN is zero.
5138 2014-02-07 Yao Qi <yao@codesourcery.com>
5140 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
5141 (ld_so_xfer_auxv): Likewise.
5142 * bfd-target.c (target_bfd_xfer_partial): Likewise.
5143 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
5144 * corelow.c (core_xfer_partial): Likewise.
5145 * ctf.c (ctf_xfer_partial): Likewise.
5146 * darwin-nat.c (darwin_read_dyld_info): Likewise.
5147 (darwin_xfer_partial): Likewise.
5148 * exec.c (exec_xfer_partial): Likewise.
5149 * gnu-nat.c (gnu_xfer_partial): Likewise.
5150 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
5151 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
5152 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
5153 * linux-nat.c (linux_xfer_siginfo): Likewise.
5154 (linux_proc_xfer_spu): Likewise.
5155 * procfs.c (procfs_xfer_partial): Likewise.
5156 * record-full.c (record_full_xfer_partial): Likewise.
5157 (record_full_core_xfer_partial): Likewise.
5158 * remote-sim.c (gdbsim_xfer_partial): Likewise.
5159 * remote.c (remote_write_qxfer): Likewise.
5160 (remote_write_qxfer, remote_read_qxfer): Likewise.
5161 (remote_xfer_partial): Likewise.
5162 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5163 (rs6000_xfer_shared_libraries): Likewise.
5164 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5165 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
5166 (spu_xfer_partial): Likewise.
5167 * target.c (memory_xfer_partial_1): Likewise.
5168 * tracepoint.c (tfile_xfer_partial): Likewise.
5169 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
5170 (windows_xfer_partial): Likewise.
5172 2014-02-07 Yao Qi <yao@codesourcery.com>
5174 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
5176 (core_xfer_shared_libraries_aix): Likewise.
5177 * gdbarch.c, gdbarch.h: Regenerated.
5178 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
5179 ULONGEST. Change 'len_avail' type to ULONGEST.
5180 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5181 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
5183 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
5185 2014-02-07 Yao Qi <yao@codesourcery.com>
5187 * corefile.c (memory_error): Get 'exception' from ERR and pass
5188 'exception' to throw_error.
5190 2014-02-06 Doug Evans <xdje42@gmail.com>
5192 * configure.ac (libpython checking): Remove all but python.o from
5193 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
5194 * configure: Regenerate.
5196 * Makefile.in (SFILES): Add extension.c.
5197 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
5198 (COMMON_OBS): Add extension.o.
5199 * extension.h: New file.
5200 * extension-priv.h: New file.
5201 * extension.c: New file.
5203 * python/python-internal.h: #include "extension.h".
5204 (gdbpy_auto_load_enabled): Declare.
5205 (gdbpy_apply_val_pretty_printer): Declare.
5206 (gdbpy_apply_frame_filter): Declare.
5207 (gdbpy_preserve_values): Declare.
5208 (gdbpy_breakpoint_cond_says_stop): Declare.
5209 (gdbpy_breakpoint_has_cond): Declare.
5210 (void source_python_script_for_objfile): Delete.
5211 * python/python.c: #include "extension-priv.h".
5212 Delete inclusion of "observer.h".
5213 (extension_language_python): Moved here and renamed from
5214 script_language_python in py-auto-load.c.
5215 Redefined to be of type extension_language_defn.
5216 (python_extension_script_ops): New global.
5217 (python_extension_ops): New global.
5218 (struct python_env): New member previous_active.
5219 (restore_python_env): Call restore_active_ext_lang.
5220 (ensure_python_env): Call set_active_ext_lang.
5221 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
5223 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
5225 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
5227 (gdbpy_eval_from_control_command): Renamed from
5228 eval_python_from_control_command, made static. New arg extlang.
5229 (gdbpy_source_script) Renamed from source_python_script, made static.
5231 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
5232 result to int. New arg extlang.
5233 (gdbpy_source_objfile_script): Renamed from
5234 source_python_script_for_objfile, made static. New arg extlang.
5235 (gdbpy_start_type_printers): Renamed from start_type_printers, made
5236 static. New args extlang, extlang_printers. Change result type to
5238 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
5239 static. New arg extlang. Rename arg printers to extlang_printers
5240 and change type to ext_lang_type_printers *.
5241 (gdbpy_free_type_printers): Renamed from free_type_printers, made
5242 static. Replace argument arg with extlang, extlang_printers.
5243 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
5244 (!HAVE_PYTHON, source_python_script): Delete.
5245 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
5246 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
5247 (!HAVE_PYTHON, start_type_printers): Delete.
5248 (!HAVE_PYTHON, apply_type_printers): Delete.
5249 (!HAVE_PYTHON, free_type_printers): Delete.
5250 (_initialize_python): Delete call to observer_attach_before_prompt.
5251 (finalize_python): Set/restore active extension language.
5252 (gdbpy_finish_initialization) Renamed from
5253 finish_python_initialization, made static. New arg extlang.
5254 (gdbpy_initialized): New function.
5255 * python/python.h: #include "extension.h". Delete #include
5256 "value.h", "mi/mi-cmds.h".
5257 (extension_language_python): Declare.
5258 (GDBPY_AUTO_FILE_NAME): Delete.
5259 (enum py_bt_status): Moved to extension.h and renamed to
5261 (enum frame_filter_flags): Moved to extension.h.
5262 (enum py_frame_args): Moved to extension.h and renamed to
5263 ext_lang_frame_args.
5264 (finish_python_initialization): Delete.
5265 (eval_python_from_control_command): Delete.
5266 (source_python_script): Delete.
5267 (apply_val_pretty_printer): Delete.
5268 (apply_frame_filter): Delete.
5269 (preserve_python_values): Delete.
5270 (gdbpy_script_language_defn): Delete.
5271 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
5272 (start_type_printers, apply_type_printers, free_type_printers): Delete.
5274 * auto-load.c: #include "extension.h".
5275 (GDB_AUTO_FILE_NAME): Delete.
5276 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
5277 (script_language_gdb): Delete, moved to extension.c and renamed to
5278 extension_language_gdb.
5279 (source_gdb_script_for_objfile): Delete.
5280 (auto_load_pspace_info): New member unsupported_script_warning_printed.
5281 (loaded_script): Change type of language member to
5282 struct extension_language_defn *.
5283 (init_loaded_scripts_info): Initialize
5284 unsupported_script_warning_printed.
5285 (maybe_add_script): Make static. Change type of language arg to
5286 struct extension_language_defn *.
5287 (clear_section_scripts): Reset unsupported_script_warning_printed.
5288 (auto_load_objfile_script_1): Rewrite to use extension language API.
5289 (auto_load_objfile_script): Make public. Remove support-compiled-in
5290 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
5291 (source_section_scripts): Rewrite to use extension language API.
5292 (load_auto_scripts_for_objfile): Rewrite to use
5293 auto_load_scripts_for_objfile.
5294 (collect_matching_scripts_data): Change type of language member to
5295 struct extension_language_defn *.
5296 (auto_load_info_scripts): Change type of language arg to
5297 struct extension_language_defn *.
5298 (unsupported_script_warning_print): New function.
5299 (script_not_found_warning_print): Make static.
5300 (_initialize_auto_load): Rewrite construction of scripts-directory
5302 * auto-load.h (struct objfile): Add forward decl.
5303 (struct script_language): Delete.
5304 (struct auto_load_pspace_info): Add forward decl.
5305 (struct extension_language_defn): Add forward decl.
5306 (maybe_add_script): Delete.
5307 (auto_load_objfile_script): Declare.
5308 (script_not_found_warning_print): Delete.
5309 (auto_load_info_scripts): Update prototype.
5310 (auto_load_gdb_scripts_enabled): Declare.
5311 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
5312 auto_load_python_scripts_enabled and made public.
5313 (script_language_python): Delete, moved to python.c.
5314 (gdbpy_script_language_defn): Delete.
5315 (info_auto_load_python_scripts): Update to use
5316 extension_language_python.
5318 * breakpoint.c (condition_command): Replace call to
5319 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
5320 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
5321 with call to breakpoint_ext_lang_cond_says_stop.
5322 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
5323 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
5324 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
5325 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
5327 (local_setattro): Print name of extension language with existing
5330 * valprint.c (val_print, value_print): Update to call
5331 apply_ext_lang_val_pretty_printer.
5332 * cp-valprint.c (cp_print_value): Update call to
5333 apply_ext_lang_val_pretty_printer.
5334 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
5335 (gdbpy_apply_val_pretty_printer): Renamed from
5336 apply_val_pretty_printer. New arg extlang.
5337 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
5339 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
5340 extension language API.
5341 * cli/cli-script.c (execute_control_command): Update to call
5342 eval_ext_lang_from_control_command.
5344 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
5345 enum ext_lang_bt_status values. Update call to
5346 apply_ext_lang_frame_filter.
5347 (mi_cmd_stack_list_locals): Ditto.
5348 (mi_cmd_stack_list_args): Ditto.
5349 (mi_cmd_stack_list_variables): Ditto.
5350 * mi/mi-main.c: Delete #include "python/python-internal.h".
5351 Add #include "extension.h".
5352 (mi_cmd_list_features): Replace reference to python internal variable
5353 gdb_python_initialized with call to ext_lang_initialized_p.
5355 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
5356 Update to use enum ext_lang_frame_args. Update to call
5357 apply_ext_lang_frame_filter.
5358 * python/py-framefilter.c (extract_sym): Update to use enum
5360 (extract_value, py_print_type, py_print_value): Ditto.
5361 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
5362 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
5363 (py_print_frame): Ditto.
5364 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
5365 New arg extlang. Update to use enum ext_lang_bt_status.
5367 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
5368 finish_python_initialization. Replace with call to
5369 finish_ext_lang_initialization.
5371 * typeprint.c (do_free_global_table): Update to call
5372 free_ext_lang_type_printers.
5373 (create_global_typedef_table): Update to call
5374 start_ext_lang_type_printers.
5375 (find_global_typedef): Update to call apply_ext_lang_type_printers.
5376 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
5377 (type_print_options): Change type of global_printers from "void *"
5378 to "struct ext_lang_type_printers *".
5380 * value.c (preserve_values): Update to call preserve_ext_lang_values.
5381 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
5382 (gdbpy_preserve_values): Renamed from preserve_python_values.
5384 (!HAVE_PYTHON, preserve_python_values): Delete.
5386 * utils.c (quit_flag): Delete, moved to extension.c.
5387 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
5390 * eval.c: Delete #include "python/python.h".
5391 * main.c: Delete #include "python/python.h".
5393 * defs.h: Update comment.
5395 2014-02-06 Joel Brobecker <brobecker@adacore.com>
5399 2014-02-05 Mark Kettenis <kettenis@gnu.org>
5401 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
5404 2014-02-05 Yao Qi <yao@codesourcery.com>
5406 * remote.c (remote_pass_signals): Remove local 'buf' and use
5408 (remote_program_signals): Likewise.
5410 2014-02-05 Yao Qi <yao@codesourcery.com>
5412 * ctf.c: Include "inferior.h" and "gdbthread.h".
5413 (CTF_PID): A new macro.
5414 (ctf_open): Call inferior_appeared and add_thread_silent.
5415 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
5416 (ctf_thread_alive): New function.
5417 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
5419 2014-02-05 Yao Qi <yao@codesourcery.com>
5423 2013-05-24 Yao Qi <yao@codesourcery.com>
5425 * tracepoint.c (TFILE_PID): Remove.
5426 (tfile_open): Don't add thread and inferior.
5427 (tfile_close): Don't set 'inferior_ptid'. Don't call
5428 exit_inferior_silent.
5429 (tfile_thread_alive): Remove.
5430 (init_tfile_ops): Don't set field 'to_thread_alive' of
5433 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
5435 * remote.c (remote_start_remote): Call remote_check_symbols even
5436 if only symbol-file (not file) has been given.
5438 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5440 * gdbarch.sh (skip_entrypoint): New callback.
5441 * gdbarch.c, gdbarch.h: Regenerate.
5442 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
5443 * infrun.c (fill_in_stop_func): Likewise.
5444 * ppc-linux-tdep.c: Include "elf/ppc64.h".
5445 (ppc_elfv2_elf_make_msymbol_special): New function.
5446 (ppc_elfv2_skip_entrypoint): Likewise.
5447 (ppc_linux_init_abi): Install them for ELFv2.
5449 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5451 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
5452 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
5453 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
5454 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
5455 structures returned in GPRs.
5457 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5459 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
5460 offset to the stack parameter list for the ELFv2 ABI.
5462 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5464 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
5465 set_gdbarch_convert_from_func_ptr_addr and
5466 set_gdbarch_elf_make_msymbol_special for ELFv1.
5467 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
5468 function descriptors on ELFv1.
5469 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
5470 set up r12 at function entry.
5472 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5474 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
5475 (struct gdbarch_tdep): New member elf_abi.
5477 * rs6000-tdep.c: Include "elf/ppc64.h".
5478 (rs6000_gdbarch_init): Detect ELF ABI version.
5480 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5482 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
5483 within a register pair holding a DFP 128-bit value on little-endian.
5484 (ppc64_sysv_abi_return_value_base): Likewise.
5485 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
5486 (dfp_pseudo_register_write): Likewise.
5488 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5490 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
5491 offset on little-endian when passing _Decimal32.
5492 (ppc64_sysv_abi_return_value_base): Likewise for return values.
5494 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5496 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
5497 of the overlapped FP register within the VSX register on little-
5499 (efpr_pseudo_register_write): Likewise.
5501 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5503 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
5504 offset on little-endian when passing small structures.
5506 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5508 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
5509 (struct ppc64_sysv_argpos): New data structure.
5510 (ppc64_sysv_abi_push_float): Remove.
5511 (ppc64_sysv_abi_push_val): New function.
5512 (ppc64_sysv_abi_push_integer): Likewise.
5513 (ppc64_sysv_abi_push_freg): Likewise.
5514 (ppc64_sysv_abi_push_vreg): Likewise.
5515 (ppc64_sysv_abi_push_param): Likewise.
5516 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
5517 (ppc64_sysv_abi_return_value_base): New function.
5518 (ppc64_sysv_abi_return_value): Refactor to use it.
5520 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5522 * NEWS: Document new target powerpc64le-*-linux*.
5524 2014-02-04 Mark Kettenis <kettenis@gnu.org>
5526 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
5527 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
5529 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
5530 register set used in ELF core dumps. Add floating-point register set.
5532 2014-02-03 Kevin Buettner <kevinb@redhat.com>
5534 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
5535 dwarf2_to_gdb[] table using symbolic constants. Adjust
5536 penultimate entry from number representing the PC register
5537 to symbolic constant representing the MDR register. Add
5538 constant for the PC register to the end of the table.
5540 2014-02-03 Mark Kettenis <kettenis@gnu.org>
5542 * bsd-kvm.c: Include <sys/param.h>
5544 2014-02-03 Mark Kettenis <kettenis@gnu.org>
5546 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
5548 2014-01-31 Joel Brobecker <brobecker@adacore.com>
5550 * ada-lang.h (clear_ada_sym_cache): Delete.
5552 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
5554 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
5556 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
5558 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
5559 the sigreturn register save area only if the syscall is
5562 2014-01-29 Joel Brobecker <brobecker@adacore.com>
5564 * valops.c (value_slice): Minor reformatting.
5566 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
5568 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
5570 2014-01-28 Joel Brobecker <brobecker@adacore.com>
5572 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
5574 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
5575 (ada_ignore_descriptive_types_p): New static global.
5576 (find_parallel_type_by_descriptive_type): Return immediately
5577 if ada_ignore_descriptive_types_p is set.
5578 (_initialize_ada_language): Register new commands "maintenance
5579 set ada", "maintenance show ada", "maintenance set ada
5580 ignore-descriptive-types" and "maintenance show ada
5581 ignore-descriptive-types".
5582 * NEWS: Add entry for new "maint ada set/show
5583 ignore-descriptive-types" commands.
5585 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
5587 * record-btrace.c (record_btrace_close): Call btrace_teardown
5590 2014-01-27 Joel Brobecker <brobecker@adacore.com>
5592 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
5595 2014-01-27 Joel Brobecker <brobecker@adacore.com>
5597 * ada-typeprint (type_is_full_subrange_of_target_type):
5599 (print_range): Add parameter bounds_prefered_p. If not set,
5600 try printing range types using the name of their base type.
5601 (print_range_type): Add parameter bounds_prefered_p.
5602 Use it in call to print_range.
5603 (print_array_type, ada_print_type): Update calls to print_range
5604 and print_range_type.
5606 2014-01-27 Joel Brobecker <brobecker@adacore.com>
5608 * ada-typeprint.c (print_array_type, print_choices, print_range)
5609 (print_range_bound, print_dynamic_range_bound, print_range_type):
5612 2014-01-27 Joel Brobecker <brobecker@adacore.com>
5614 * ada-typeprint.c (print_range): Add missing empty line
5615 after local declaration.
5617 2014-01-27 Joel Brobecker <brobecker@adacore.com>
5619 * ada-valprint.c (print_optional_low_bound): Get index_type's
5620 target type for as long as it is a TYPE_CODE_RANGE.
5622 2014-01-27 Joel Brobecker <brobecker@adacore.com>
5624 * procfs.c (procfs_make_note_section): Remove assertion and
5627 2014-01-24 Yao Qi <yao@codesourcery.com>
5629 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
5630 * corelow.c (get_core_siginfo): Likewise.
5632 2014-01-24 Yao Qi <yao@codesourcery.com>
5634 * remote.c (remote_write_bytes_aux): Change type of 'len' to
5635 ULONGEST. Don't check 'len' is negative.
5636 (remote_write_bytes): Change type of 'len' to ULONGEST.
5638 2014-01-23 Tom Tromey <tromey@redhat.com>
5641 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
5642 Handle exception from frame.block.
5643 (FrameVars.fetch_frame_locals): Likewise.
5645 2014-01-23 Tom Tromey <tromey@redhat.com>
5648 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
5649 on a NULL pointer. Move "goto error" to correct place.
5651 2014-01-23 Tom Tromey <tromey@redhat.com>
5654 * python/py-framefilter.c (apply_frame_filter): Call
5655 ensure_python_env after computing gdbarch.
5657 2014-01-23 Yao Qi <yao@codesourcery.com>
5659 * target.c (raw_memory_xfer_partial): Change argument type
5660 from void * to gdb_byte *.
5661 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
5663 2014-01-22 Doug Evans <dje@google.com>
5665 New gdbserver option --debug-format=timestamp.
5668 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5670 * syscalls/s390x-linux.xml: New file.
5671 * syscalls/s390-linux.xml: New file.
5672 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
5673 (XML_SYSCALL_FILENAME_S390X): Likewise.
5674 (op_svc): New enum value for SVC opcode.
5675 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
5676 (s390_linux_get_syscall_number): New function.
5677 (s390_gdbarch_init): Register '*get_syscall_number' and the
5678 syscall xml file name.
5679 * data-directory/Makefile.in (SYSCALLS_FILES): Add
5680 "s390-linux.xml" and "s390x-linux.xml".
5681 * NEWS: Announce new feature.
5683 2014-01-22 Baruch Siach <baruch@tkos.co.il>
5685 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
5687 2014-01-22 Pedro Alves <palves@redhat.com>
5689 * xtensa-config.c: Include defs.h.
5691 2014-01-22 Joel Brobecker <brobecker@adacore.com>
5693 * common/common-utils.h: Add "ARI:" comment beside __func__
5696 2014-01-22 Joel Brobecker <brobecker@adacore.com>
5698 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
5699 documentation a bit.
5701 2014-01-21 Roland McGrath <mcgrathr@google.com>
5703 * configure.ac: Call AM_PROG_INSTALL_STRIP.
5704 * configure: Regenerate.
5705 * aclocal.m4: Regenerate.
5706 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
5707 New substituted variables.
5708 (install-strip): New target.
5709 (INSTALL_SCRIPT): New substituted variable.
5710 (FLAGS_TO_PASS): Add it.
5711 (install-only): Use $(INSTALL_SCRIPT) rather than
5712 $(INSTALL_PROGRAM) for gcore.
5714 2014-01-20 Tom Tromey <tromey@redhat.com>
5716 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
5719 2014-01-20 Tom Tromey <tromey@redhat.com>
5721 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
5722 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
5723 (deprecated_cmd_warning, complete_on_cmdlist): Update.
5724 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
5725 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
5726 (struct cmd_list_element) <flags>: Remove.
5727 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
5728 doc_allocated>: New fields.
5729 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
5731 * maint.c (maintenance_do_deprecate): Update.
5732 * top.c (execute_command): Update.
5734 2014-01-20 Baruch Siach <baruch@tkos.co.il>
5736 * xtensa-linux-nat.c: Include asm/ptrace.h.
5738 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5740 * Makefile.in (SFILES): Add d-support.c.
5741 (COMMON_OBS): Add d-support.o.
5742 * d-lang.h (d_parse_symbol): Add comment, now defined in
5744 * d-lang.c (parse_call_convention)
5745 (parse_attributes, parse_function_types)
5746 (parse_function_args, parse_type, parse_identifier)
5747 (call_convention_p, d_parse_symbol): Move functions to ...
5748 * d-support.c: ... New file.
5750 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5752 * d-lang.h (d_parse_symbol): Add declaration.
5753 * d-lang.c (extract_identifiers)
5754 (extract_type_info): Remove functions.
5755 (parse_call_convention, parse_attributes)
5756 (parse_function_types, parse_function_args)
5757 (parse_type, parse_identifier, call_convention_p)
5758 (d_parse_symbol): New functions.
5759 (d_demangle): Use d_parse_symbol to demangle D symbols.
5761 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5763 * d-lang.h (struct builtin_d_type): New data type.
5764 (builtin_d_type): Add declaration.
5765 * d-lang.c (d_language_arch_info, build_d_types)
5766 (builtin_d_type): New functions.
5767 (enum d_primitive_types): New data type.
5768 (d_language_defn): Change c_language_arch_info to
5769 d_language_arch_info.
5770 (d_type_data): New static variable.
5771 (_initialize_d_language): Initialize d_type_data.
5773 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5775 * d-lang.h (d_main_name): Add declaration.
5776 * d-lang.c (d_main_name): New function.
5777 * symtab.c (find_main_name): Add call to d_main_name.
5779 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5781 * d-lang.c (d_language_defn): Change macro_expansion_c to
5784 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5786 * MAINTAINERS: Add myself as a write-after-approval maintainer.
5788 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
5790 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
5791 gdb_exception" declaration.
5792 * remote.c (getpkt_or_notif_sane): Likewise.
5794 2014-01-17 Doug Evans <dje@google.com>
5796 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
5797 function, contents of dirnames_to_char_ptr_vec_append moved here.
5798 (delim_string_to_char_ptr_vec): New function.
5799 (dirnames_to_char_ptr_vec_append): Rewrite.
5800 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
5802 2014-01-17 Doug Evans <dje@google.com>
5804 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
5806 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
5807 #include "common-utils.h".
5808 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
5809 * common/vec.h (VEC_ASSERT_PASS): Update.
5810 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
5811 (MACH_CHECK_ERROR): Update.
5813 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
5815 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
5817 * gdbarch.h: Regenerate.
5819 2014-01-16 Tom Tromey <tromey@redhat.com>
5821 * value.c (struct value) <regnum>: Move earlier.
5823 2014-01-16 Tom Tromey <tromey@redhat.com>
5825 * remote.c (extended_remote_create_inferior): Rename from
5826 extended_remote_create_inferior_1. Add "ops" argument. Remove
5829 2014-01-16 Pedro Alves <palves@redhat.com>
5831 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
5832 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
5835 2014-01-16 Doug Evans <dje@google.com>
5837 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
5839 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5841 * btrace.h (btrace_thread_flag): New.
5842 (struct btrace_thread_info) <flags>: New.
5843 * record-btrace.c (record_btrace_resume_thread)
5844 (record_btrace_find_thread_to_move, btrace_step_no_history)
5845 (btrace_step_stopped, record_btrace_start_replaying)
5846 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
5847 (record_btrace_find_resume_thread): New.
5848 (record_btrace_resume, record_btrace_wait): Extend.
5849 (record_btrace_can_execute_reverse): New.
5850 (record_btrace_open): Fail in non-stop mode.
5851 (record_btrace_set_replay): Split into this, ...
5852 (record_btrace_stop_replaying): ... this, ...
5853 (record_btrace_clear_histories): ... and this.
5854 (init_record_btrace_ops): Init to_can_execute_reverse.
5855 * NEWS: Announce it.
5857 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5859 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
5860 (forward_target_decr_pc_after_break)
5861 (target_decr_pc_after_break): New.
5862 * target.c (forward_target_decr_pc_after_break)
5863 (target_decr_pc_after_break): New.
5864 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
5865 instead of gdbarch_decr_pc_after_break.
5866 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
5867 instead of gdbarch_decr_pc_after_break.
5868 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
5869 instead of gdbarch_decr_pc_after_break.
5870 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
5871 instead of gdbarch_decr_pc_after_break.
5872 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
5873 instead of gdbarch_decr_pc_after_break.
5874 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
5875 instead of gdbarch_decr_pc_after_break.
5877 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5879 * btrace.c: Include regcache.h.
5880 (btrace_add_pc): New.
5881 (btrace_enable): Call btrace_add_pc.
5882 (btrace_is_empty): New.
5883 * btrace.h (btrace_is_empty): New.
5884 * record-btrace.c (require_btrace, record_btrace_info): Call
5887 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5889 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
5890 Support delta reads.
5891 (linux_disable_btrace): Change return type.
5892 * common/linux-btrace.h (linux_read_btrace): Change parameters
5893 and return type to allow error reporting. Update users.
5894 (linux_disable_btrace): Change return type. Update users.
5895 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
5897 (btrace_error): New.
5898 (btrace_block) <begin>: Comment on BEGIN == 0.
5899 * btrace.c (btrace_compute_ftrace): Start from the end of
5901 (btrace_stitch_trace, btrace_clear_history): New.
5902 (btrace_fetch): Read delta trace, return if replaying.
5903 (btrace_clear): Move clear history code to btrace_clear_history.
5904 (parse_xml_btrace): Throw an error if parsing failed.
5905 * target.h (struct target_ops) <to_read_btrace>: Change parameters
5906 and return type to allow error reporting.
5907 (target_read_btrace): Change parameters and return type to allow
5909 * target.c (target_read_btrace): Update.
5910 * remote.c (remote_read_btrace): Support delta reads. Pass
5912 * NEWS: Announce it.
5914 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5916 * record.h (record_btrace_frame_unwind)
5917 (record_btrace_tailcall_frame_unwind): New declarations.
5918 * dwarf2-frame: Include record.h
5919 (dwarf2_frame_cfa): Throw an error for btrace frames.
5920 * record-btrace.c: Include hashtab.h.
5921 (btrace_get_bfun_name): New.
5922 (btrace_call_history): Call btrace_get_bfun_name.
5923 (struct btrace_frame_cache): New.
5925 (bfcache_hash, bfcache_eq, bfcache_new): New.
5926 (btrace_get_frame_function): New.
5927 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
5928 (record_btrace_frame_this_id): Compute own id.
5929 (record_btrace_frame_prev_register): Provide PC, throw_error
5930 for all other registers.
5931 (record_btrace_frame_sniffer): Detect btrace frames.
5932 (record_btrace_tailcall_frame_sniffer): New.
5933 (record_btrace_frame_dealloc_cache): New.
5934 (record_btrace_frame_unwind): Add new functions.
5935 (record_btrace_tailcall_frame_unwind): New.
5936 (_initialize_record_btrace): Allocate cache.
5937 * btrace.c (btrace_clear): Call reinit_frame_cache.
5938 * NEWS: Announce it.
5940 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5942 * record-btrace.c (record_btrace_set_replay)
5943 (record_btrace_goto_begin, record_btrace_goto_end)
5944 (record_btrace_goto): New.
5945 (init_record_btrace_ops): Initialize them.
5946 * NEWS: Announce it.
5948 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5950 * record-btrace.c (record_btrace_find_new_threads)
5951 (record_btrace_thread_alive): New.
5952 (init_record_btrace_ops): Initialize to_find_new_threads and
5955 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5957 * record-btrace.c (record_btrace_resume): New.
5958 (record_btrace_wait): New.
5959 (init_record_btrace_ops): Initialize to_wait and to_resume.
5961 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5963 * record-btrace.c (record_btrace_xfer_partial)
5964 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
5965 (record_btrace_allow_memory_access): New.
5966 (init_record_btrace_ops): Initialize new methods.
5967 * target.c (raw_memory_xfer_partial): Bail out if target reports
5968 that this memory is not available.
5970 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5972 * target.h (target_ops) <to_insert_breakpoint>
5973 <to_remove_breakpoint>: Add target_ops parameter.
5974 (forward_target_insert_breakpoint): New.
5975 (forward_target_remove_breakpoint): New.
5976 (memory_remove_breakpoint, memory_insert_breakpoint):
5977 Add target_ops parameter.
5978 * target.c (target_insert_breakpoint): Split into this and ...
5979 (forward_target_insert_breakpoint): ... this.
5980 (target_remove_breakpoint): Split into this and ...
5981 (forward_target_remove_breakpoint): ... this.
5982 (debug_to_insert_breakpoint): Add target_ops parameter.
5983 Call forward_target_insert_breakpoint.
5984 (debug_to_remove_breakpoint): Add target_ops parameter.
5985 Call forward_target_remove_breakpoint.
5986 (update_current_target): Do not inherit or default to_insert_breakpoint
5987 and to_remove_breakpoint.
5988 * corelow.c (ignore): Add target_ops parameter.
5989 * exec.c (ignore): Add target_ops parameter.
5990 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
5991 Add target_ops parameter.
5992 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
5993 Add target_ops parameter.
5994 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
5995 Add target_ops parameter.
5996 * record-full.c (record_full_beneath_to_insert_breakpoint)
5997 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
5998 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
5999 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
6000 (record_full_core_remove_breakpoint): Add target_ops parameter.
6002 (record_full_beneath_to_insert_breakpoint_ops)
6003 (record_full_beneath_to_remove_breakpoint_ops)
6004 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
6005 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
6006 tmp_to_remove_breakpoint_ops,
6007 record_full_beneath_to_insert_breakpoint_ops, and
6008 record_full_beneath_to_remove_breakpoint_ops.
6009 * remote-m32r-sdi.c (m32r_insert_breakpoint)
6010 (m32r_remove_breakpoint): Add target_ops parameter.
6011 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
6012 Add target_ops parameter.
6013 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
6014 Add target_ops parameter.
6016 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6017 Markus Metzger <markus.t.metzger@intel.com>
6019 * record-btrace.c: Include frame-unwind.h.
6020 (record_btrace_frame_unwind_stop_reason)
6021 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
6022 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
6024 (init_record_btrace_ops): Install it.
6026 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6028 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
6031 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6033 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
6036 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6038 * frame-unwind.c: Include target.h.
6039 (frame_unwind_try_unwinder): New function with code from ...
6040 (frame_unwind_find_by_frame): ... here. New variable
6041 unwinder_from_target, call also target_get_unwinder)
6042 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
6043 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
6044 * target.h (struct target_ops): New fields to_get_unwinder and
6045 to_get_tailcall_unwinder.
6046 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
6048 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6050 * record-btrace.c (record_btrace_fetch_registers)
6051 (record_btrace_store_registers)
6052 (record_btrace_to_prepare_to_store): New.
6053 (init_record_btrace_ops): Add the above.
6055 2014-01-16 Tom Tromey <tromey@redhat.com>
6057 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
6058 * target.h (struct target_ops) <to_prepare_to_store>: Add
6060 (target_prepare_to_store): Add argument.
6061 * target.c (debug_to_prepare_to_store): Add argument.
6062 (update_current_target): Update.
6063 * remote.c (remote_prepare_to_store): Add 'self' argument.
6064 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
6065 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
6066 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
6067 * record-full.c (record_full_core_prepare_to_store): Add 'self'
6069 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
6070 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
6071 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
6072 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
6073 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
6075 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6077 * btrace.h (replay) <replay>: New.
6078 (btrace_is_replaying): New.
6079 * btrace.c (btrace_clear): Free replay iterator.
6080 (btrace_is_replaying): New.
6081 * record-btrace.c (record_btrace_is_replaying): New.
6082 (record_btrace_info): Print insn number if replaying.
6083 (record_btrace_insn_history): Start at replay position.
6084 (record_btrace_call_history): Start at replay position.
6085 (init_record_btrace_ops): Init to_record_is_replaying.
6087 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6089 * record-btrace.c (record_btrace_insn_history_range): Include
6091 (record_btrace_insn_history_from): Adjust range.
6092 (record_btrace_call_history_range): Include
6094 (record_btrace_call_history_from): Adjust range.
6095 * NEWS: Announce changes.
6097 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6099 * record.h (enum record_print_flag)
6100 <record_print_indent_calls>: New.
6101 * record.c (get_call_history_modifiers): Recognize /c modifier.
6102 (_initialize_record): Document /c modifier.
6103 * record-btrace.c (btrace_call_history): Add btinfo parameter.
6104 Reorder fields. Optionally indent the function name. Update
6106 * NEWS: Announce changes.
6108 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6110 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
6112 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6114 * btrace.c (ftrace_new_function): Start counting at one.
6115 * record-btrace.c (record_btrace_info): Adjust number of calls
6117 * NEWS: Announce it.
6119 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6121 * record-btrace.c (btrace_call_history_insn_range): Print
6122 insn range as [begin, end].
6124 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6126 * btrace.h (struct btrace_func_link): New.
6127 (enum btrace_function_flag): New.
6128 (struct btrace_inst): Rename to ...
6129 (struct btrace_insn): ...this. Update all users.
6130 (struct btrace_func) <ibegin, iend>: Remove.
6131 (struct btrace_func_link): New.
6132 (struct btrace_func): Rename to ...
6133 (struct btrace_function): ...this. Update all users.
6134 (struct btrace_function) <segment, flow, up, insn, insn_offset)
6135 (number, level, flags>: New.
6136 (struct btrace_insn_iterator): Rename to ...
6137 (struct btrace_insn_history): ...this.
6139 (struct btrace_insn_iterator, btrace_call_iterator): New.
6140 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
6141 (struct btrace_target_info) <begin, end, level>
6142 <insn_history, call_history>: New.
6143 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
6144 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
6145 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
6146 (btrace_call_number, btrace_call_begin, btrace_call_end)
6147 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
6148 (btrace_find_function_by_number, btrace_set_insn_history)
6149 (btrace_set_call_history): New.
6150 * btrace.c (btrace_init_insn_iterator)
6151 (btrace_init_func_iterator, compute_itrace): Remove.
6152 (ftrace_print_function_name, ftrace_print_filename)
6153 (ftrace_skip_file): Change
6155 (ftrace_init_func): Remove.
6156 (ftrace_debug): Use new btrace_function fields.
6157 (ftrace_function_switched): Also consider gaining and
6158 losing symbol information).
6159 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
6160 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
6161 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
6163 (ftrace_new_function): Move. Remove debug print.
6164 (ftrace_update_lines, ftrace_update_insns): New.
6165 (ftrace_update_function): Check for call, ret, and jump.
6166 (compute_ftrace): Renamed to ...
6167 (btrace_compute_ftrace): ...this. Rewritten to compute call
6169 (btrace_fetch, btrace_clear): Updated.
6170 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
6171 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
6172 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
6173 (btrace_call_number, btrace_call_begin, btrace_call_end)
6174 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
6175 (btrace_find_function_by_number, btrace_set_insn_history)
6176 (btrace_set_call_history): New.
6177 * record-btrace.c (require_btrace): Use new btrace thread
6179 (record_btrace_info, btrace_insn_history)
6180 (record_btrace_insn_history, record_btrace_insn_history_range):
6181 Use new btrace thread info fields and new iterator.
6182 (btrace_func_history_src_line): Rename to ...
6183 (btrace_call_history_src_line): ...this. Use new btrace
6185 (btrace_func_history): Rename to ...
6186 (btrace_call_history): ...this. Use new btrace thread info
6187 fields and new iterator.
6188 (record_btrace_call_history, record_btrace_call_history_range):
6189 Use new btrace thread info fields and new iterator.
6191 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6193 * frame.h (frame_id_build_unavailable_stack_special): New.
6194 * frame.c (frame_id_build_unavailable_stack_special): New.
6196 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6198 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
6199 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
6200 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
6202 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
6203 (i386_insn_is_jump, i386_jmp_p): New.
6204 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
6205 insn_is_jump to gdbarch.
6206 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
6207 * gdbarch.h: Regenerated.
6208 * gdbarch.c: Regenerated.
6209 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
6210 (default_insn_is_jump): New.
6211 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
6212 (default_insn_is_jump): New.
6214 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6216 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
6218 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
6219 (btrace_read_type) <btrace_read_new>: Change to ...
6220 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
6222 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6224 * common/linux-btrace.c (linux_read_btrace): Free trace from
6227 2014-01-15 Doug Evans <dje@google.com>
6229 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
6232 2014-01-15 Tom Tromey <tromey@redhat.com>
6234 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
6235 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
6236 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
6237 (set_objfile_main_name): New function.
6238 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
6239 language_of_main>: New fields.
6240 (set_objfile_main_name): Declare.
6241 * symtab.c (find_main_name): Loop over objfiles to find the main
6243 (set_main_name): Now static.
6244 (get_main_info): Add comment.
6245 * symtab.h (set_main_name): Don't declare.
6247 2014-01-15 Tom Tromey <tromey@redhat.com>
6249 * symtab.c (main_progspace_key): New global.
6250 (struct main_info): New.
6251 (name_of_main, language_of_main): Remove.
6252 (get_main_info, main_info_cleanup): New function.
6253 (set_main_name, main_name, main_language): Use get_main_info.
6254 (_initialize_symtab): Initialize main_progspace_key.
6256 2014-01-15 Tom Tromey <tromey@redhat.com>
6258 * dbxread.c (process_one_symbol): Update.
6259 * dwarf2read.c (read_partial_die): Update.
6260 * symfile.c (set_initial_language): Call main_language.
6261 * symtab.c (language_of_main): Now static.
6262 (set_main_name): Add 'lang' parameter.
6263 (find_main_name): Update.
6264 (main_language): New function.
6265 (symtab_observer_executable_changed): Update.
6266 * symtab.h (set_main_name): Update.
6267 (language_of_main): Remove.
6268 (main_language): Declare.
6270 2014-01-15 Tom Tromey <tromey@redhat.com>
6272 * symfile.c (init_entry_point_info): Use new "initialized" field.
6274 * objfiles.h (struct entry_point) <initialized>: New field.
6275 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
6276 (struct objfile) <ei>: ...here. Remove.
6277 * objfiles.c (entry_point_address_query): Update.
6279 2014-01-15 Tom Tromey <tromey@redhat.com>
6281 * objfiles.c (entry_point_address_query): Relocate entry point
6283 (objfile_relocate1): Do not relocate entry point address.
6284 * objfiles.h (struct entry_info) <entry_point>: Update comment.
6285 <the_bfd_section_index>: New field.
6286 * symfile.c (init_entry_point_info): Find the entry point's
6289 2014-01-15 Tom Tromey <tromey@redhat.com>
6291 * solib-frv.c (enable_break): Use entry_point_address_query.
6293 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6295 * NEWS: Add note on improved process record-replay on
6296 arm*-linux* targets.
6298 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6300 * arm-tdep.c (enum arm_record_result): New enum.
6301 (arm_record_unsupported_insn): New function.
6302 (arm_record_coproc_data_proc): Removed.
6303 (thumb2_record_ld_st_multiple): New function.
6304 (thumb2_record_ld_st_dual_ex_tbb): New function.
6305 (thumb2_record_data_proc_sreg_mimm): New function.
6306 (thumb2_record_ps_dest_generic): New function.
6307 (thumb2_record_branch_misc_cntrl): New function.
6308 (thumb2_record_str_single_data): New function.
6309 (thumb2_record_ld_mem_hints): New function.
6310 (thumb2_record_ld_word): New function.
6311 (thumb2_record_lmul_lmla_div): New function.
6312 (thumb2_record_decode_insn_handler): New function.
6313 (decode_insn): Add thumb32 instruction handlers.
6315 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6317 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
6318 (struct arm_linux_record_tdep): Declare.
6319 (arm_canonicalize_syscall): New function.
6320 (arm_all_but_pc_registers_record): New function.
6321 (arm_linux_syscall_record): New function.
6322 (arm_linux_init_abi): Add syscall recording constructs.
6323 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
6324 decoding. (arm_record_coproc_data_proc): Update arm syscall
6326 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
6327 <arm_syscall_record>: New field.
6328 * configure.tgt (arm*-*-linux*): Add linux-record.o to
6331 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6333 * arm-tdep.c (thumb_record_misc): Update to use sp as base
6334 register for push instruction recording.
6336 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6338 * arm-tdep.c (thumb_record_misc): Update to correct logical
6339 error while recording ldm, ldmia and pop instructions.
6341 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6343 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
6345 2014-01-15 Pedro Alves <palves@redhat.com>
6347 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
6348 (go32_resume, go32_fetch_registers, store_register)
6349 (go32_store_registers, go32_prepare_to_store)
6350 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
6351 (go32_create_inferior, go32_can_run, go32_terminal_init)
6352 (go32_terminal_inferior, go32_terminal_ours): Delete forward
6355 2014-01-15 Tom Tromey <tromey@redhat.com>
6357 * target.h (async_callback_ftype): New typedef.
6358 (struct target_ops) <to_async>: Use it.
6360 2014-01-15 Joel Brobecker <brobecker@adacore.com>
6362 * python/py-value.c (get_field_type): Remove unnecessary curly
6363 braces for single-statement if block.
6365 2014-01-15 Joel Brobecker <brobecker@adacore.com>
6367 * python/py-type.c (convert_field): Add missing empty line
6370 2014-01-14 Doug Evans <dje@google.com>
6372 * symfile.h (expand_symtabs_matching): Renamed from
6373 expand_partial_symbol_names. Update prototype.
6374 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
6375 * symfile.c (expand_symtabs_matching): Renamed from
6376 expand_partial_symbol_names. New args file_matcher, kind.
6377 Rename arg fun to symbol_matcher.
6378 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
6379 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
6380 ada_expand_partial_symbol_name.
6381 (ada_make_symbol_completion_list): Update to call
6382 expand_symtabs_matching.
6383 (ada_add_global_exceptions): Call expand_symtabs_matching.
6384 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
6385 call map_symbol_filenames.
6386 * symtab.c (sources_info): Update to call map_symbol_filenames.
6387 (search_symbols): Call expand_symtabs_matching.
6388 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
6389 (default_make_symbol_completion_list_break_on): Update to call
6390 expand_symtabs_matching.
6391 (make_source_files_completion_list): Update to call
6392 map_symbol_filenames.
6394 2014-01-14 Doug Evans <dje@google.com>
6396 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
6397 (expand_symtabs_symbol_matcher_ftype): New typedef.
6398 (quick_symbol_functions.expand_symtabs_matching): Update to use.
6399 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
6400 * symfile.c (expand_partial_symbol_names): Update to use
6401 expand_symtabs_symbol_matcher_ftype.
6402 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
6403 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
6404 Arg name_matcher renamed to symbol_matcher.
6405 * psymtab.c (recursively_search_psymtabs): Update to use
6406 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
6408 (expand_symtabs_matching_via_partial): Update to use
6409 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
6410 Arg name_matcher renamed to symbol_matcher.
6412 2014-01-14 Doug Evans <dje@google.com>
6414 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
6415 (map_partial_symbol_filenames): Ditto.
6416 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
6417 (map_partial_symbol_filenames): Ditto.
6418 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
6419 (map_partial_symbol_filenames): Ditto.
6420 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
6421 (map_partial_symbol_filenames): Ditto.
6422 * symtab.c: Delete #include "psymtab.h".
6424 2014-01-14 Pedro Alves <palves@redhat.com>
6425 Tom Tromey <tromey@redhat.com>
6427 * infrun.c (use_displaced_stepping): Use find_record_target
6428 instead of RECORD_IS_USED.
6429 (adjust_pc_after_break): Use record_full_is_used instead of
6431 * record-btrace.c (record_btrace_open): Call record_preopen
6432 instead of checking RECORD_IS_USED.
6433 * record-full.c (record_full_shortname)
6434 (record_full_core_shortname): New globals.
6435 (record_full_is_used): New function.
6436 (find_full_open): Call record_preopen instead of checking
6438 (init_record_full_ops): Set the target's shortname to
6439 record_full_shortname.
6440 (init_record_full_core_ops): Set the target's shortname to
6441 record_full_core_shortname.
6442 * record-full.h (record_full_is_used): Declare.
6443 * record.c (find_record_target): Make extern.
6444 (record_preopen): New function.
6445 * record.h (RECORD_IS_USED): Delete macro.
6446 (find_record_target, record_preopen): Declare functions.
6448 2014-01-14 Yao Qi <yao@codesourcery.com>
6450 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
6451 'len''s type to ULONGEST.
6452 (core_xfer_shared_libraries_aix): Likewise.
6453 * gdbarch.c, gdbarch.h: Regenerated.
6454 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
6455 Change type of 'len' to ULONGEST.
6456 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
6457 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
6459 2014-01-14 Yao Qi <yao@codesourcery.com>
6461 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
6462 type of 'len' to ULONGEST.
6463 (linux_xfer_osdata_processgroups): Likewise.
6464 (linux_xfer_osdata_threads): Likewise.
6465 (linux_xfer_osdata_fds): Likewise.
6466 (linux_xfer_osdata_isockets): Likewise.
6467 (linux_xfer_osdata_shm): Likewise.
6468 (linux_xfer_osdata_sem): Likewise.
6469 (linux_xfer_osdata_msg): Likewise.
6470 (linux_common_xfer_osdata): Likewise.
6471 (struct osdata_type) <getter>: Likewise.
6472 * common/linux-osdata.h (linux_common_xfer_osdata): Update
6475 2014-01-14 Yao Qi <yao@codesourcery.com>
6477 * target.h (target_xfer_partial_ftype): Update.
6478 (struct target_ops) <to_xfer_partial>: Change 'len' type to
6480 * aix-thread.c (aix_thread_xfer_partial): Change type of
6481 argument 'len' to ULONGEST.
6482 * auxv.c (procfs_xfer_auxv): Likewise.
6483 (ld_so_xfer_auxv): Likewise.
6484 (memory_xfer_auxv): Likewise.
6485 * bfd-target.c (target_bfd_xfer_partial): Likewise.
6486 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
6487 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
6488 * corelow.c (core_xfer_partial): Likewise.
6489 * ctf.c (ctf_xfer_partial): Likewise.
6490 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
6492 (darwin_read_dyld_info): Likewise.
6493 (darwin_xfer_partial): Likewise.
6494 * exec.c (section_table_xfer_memory_partial): Likewise.
6495 (exec_xfer_partial): Likewise.
6496 * exec.h (section_table_xfer_memory_partial): Update
6498 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
6499 instead of plongest.
6500 (gnu_xfer_partial): Likewise.
6501 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
6502 (ia64_hpux_xfer_solib_got): Likewise.
6503 (ia64_hpux_xfer_partial): Likewise.
6504 * ia64-linux-nat.c (ia64_linux_xfer_partial):
6505 * inf-ptrace.c (inf_ptrace_xfer_partial):
6506 * inf-ttrace.c (inf_ttrace_xfer_partial):
6507 * linux-nat.c (linux_xfer_siginfo): Likewise.
6508 (linux_nat_xfer_partial): Likewise.
6509 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
6510 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
6511 * monitor.c (monitor_xfer_memory): Likewise.
6512 (monitor_xfer_partial): Likewise.
6513 * procfs.c (procfs_xfer_partial): Likewise.
6514 * record-full.c (record_full_xfer_partial): Likewise.
6515 (record_full_core_xfer_partial): Likewise.
6516 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
6517 instead of plongest.
6518 (gdbsim_xfer_partial): Likewise.
6519 * remote.c (remote_xfer_partial): Likewise.
6520 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
6521 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
6523 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
6524 (rs6000_xfer_shared_libraries): Likewise.
6525 * sol-thread.c (sol_thread_xfer_partial): Likewise.
6526 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
6527 (sparc_xfer_partial): Likewise.
6528 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
6529 (spu_xfer_partial): Likewise.
6530 * spu-multiarch.c (spu_xfer_partial): Likewise.
6531 * target.c (target_read_live_memory): Likewise.
6532 (memory_xfer_live_readonly_partial): Likewise.
6533 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
6534 (target_xfer_partial, default_xfer_partial): Likewise.
6535 (current_xfer_partial): Likewise.
6536 * tracepoint.c (tfile_xfer_partial): Likewise.
6537 * windows-nat.c (windows_xfer_memory): Likewise. Call
6538 pulongest instead of plongest.
6539 (windows_xfer_partial): Likewise.
6540 (windows_xfer_shared_libraries): Likewise.
6542 2014-01-14 Yao Qi <yao@codesourcery.com>
6544 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
6545 target_xfer_partial_ftype.
6547 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
6551 * valops.c (value_struct_elt_bitpos): New function
6552 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
6553 object to 'None' if the field name is an empty string ("").
6554 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
6555 attribute to look for a field when 'name' is 'None'.
6556 (get_field_type): New function
6558 2014-01-13 Doug Evans <dje@google.com>
6561 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
6562 (try_open_dwop_file): Ditto.
6563 * gdb_bfd.c: #include "vec.h".
6564 (bfdp): New typedef.
6565 (struct gdb_bfd_data): New member included_bfds.
6566 (gdb_bfd_unref): Unref all included bfds.
6567 (gdb_bfd_record_inclusion): New function.
6568 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
6570 2014-01-13 Tom Tromey <tromey@redhat.com>
6572 * gdbcore.h (deprecated_core_resize_section_table): Remove.
6574 2014-01-13 Tom Tromey <tromey@redhat.com>
6576 * defs.h (use_windows): Remove.
6577 * gdb.c (main): Update.
6578 * main.c (captured_main, gdb_main): Update.
6579 * main.h (struct captured_main_args) <use_windows>: Remove.
6580 * top.c (use_windows): Remove.
6582 2014-01-13 Tom Tromey <tromey@redhat.com>
6584 * defs.h (deprecated_flush_hook): Remove.
6586 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6589 * linux-thread-db.c (try_thread_db_load): Add parameter
6590 check_auto_load_safe. Move here the file_is_auto_load_safe call.
6591 (try_thread_db_load_from_pdir_1): Move it there from here.
6592 (try_thread_db_load_from_sdir): Update caller.
6593 (try_thread_db_load_from_dir): Move it there from here.
6595 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
6597 * regformats/regdat.sh: Always rewrite the register file.
6599 2014-01-13 Pedro Alves <palves@redhat.com>
6601 * Makefile.in (CHECK_HEADERS): New variable.
6602 (check-headers:): New rule.
6604 2014-01-13 Tom Tromey <tromey@redhat.com>
6606 * cli/cli-setshow.c (do_set_command): Update.
6607 * defs.h (deprecated_set_hook): Remove.
6608 * top.c (deprecated_set_hook): Remove.
6610 2014-01-13 Pedro Alves <palves@redhat.com>
6612 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
6613 the tracepoint if the PC is a pseudo-register.
6615 2014-01-13 Tom Tromey <tromey@redhat.com>
6617 * defs.h (XCALLOC): Remove.
6618 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
6619 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
6620 * dwarf2loc.c (allocate_piece_closure): Likewise.
6621 * elfread.c (elf_symfile_segments): Likewise.
6622 (elf_symfile_segments): Likewise.
6623 * gdbtypes.c (copy_type_recursive): Likewise.
6624 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
6625 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
6626 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
6628 * mt-tdep.c (mt_gdbarch_init): Likewise.
6629 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
6631 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
6632 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
6633 * registry.c (registry_alloc_data): Likewise.
6634 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
6635 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
6636 * serial.c (serial_fdopen_ops): Likewise.
6637 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
6639 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
6640 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
6643 2014-01-13 Tom Tromey <tromey@redhat.com>
6645 * defs.h (XMALLOC): Remove.
6646 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
6647 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
6648 * cli-out.c (struct ui_out *): Likewise.
6649 * cli/cli-dump.c (add_dump_command): Likewise.
6650 (add_dump_command): Likewise.
6651 * complaints.c (get_complaints): Likewise.
6652 (find_complaint): Likewise.
6653 * dwarf2-frame.c (execute_cfa_program): Likewise.
6654 * dwarf2read.c (abbrev_table_read_table): Likewise.
6655 * gdbarch.sh: Likewise.
6656 * gdbarch.c: Rebuild.
6657 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
6658 * interps.c (interp_new): Likewise.
6659 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
6660 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
6661 * mi/mi-console.c (mi_console_file_new): Likewise.
6662 * mi/mi-interp.c (mi_interpreter_init): Likewise.
6663 * mi/mi-out.c (mi_out_new): Likewise.
6664 * mi/mi-parse.c (mi_parse): Likewise.
6665 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
6666 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
6667 * observer.c (xalloc_observer_list_node): Likewise.
6668 * regcache.c (regcache_xmalloc_1): Likewise.
6669 * reggroups.c (reggroup_new): Likewise.
6670 (_initialize_reggroup): Likewise.
6671 * registry.c (register_data_with_cleanup): Likewise.
6672 * remote.c (remote_notif_stop_alloc_reply): Likewise.
6673 * ser-base.c (serial_ttystate): Likewise.
6674 * ser-mingw.c (make_pipe_state): Likewise.
6675 * ser-pipe.c (pipe_open): Likewise.
6676 * serial.c (serial_open): Likewise.
6677 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
6678 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
6679 (tui_alloc_win_info): Likewise.
6680 (tui_add_content_elements): Likewise.
6681 * tui/tui-file.c (tui_file_new): Likewise.
6682 * tui/tui-out.c (tui_out_new): Likewise.
6683 * ui-file.c (mem_file_new): Likewise.
6684 * ui-out.c (push_level): Likewise.
6685 (make_cleanup_ui_out_end): Likewise.
6686 (append_header_to_list): Likewise.
6687 (ui_out_new): Likewise.
6688 * user-regs.c (user_reg_add_builtin): Likewise.
6690 2014-01-13 Tom Tromey <tromey@redhat.com>
6692 * defs.h (XZALLOC): Remove.
6693 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
6694 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
6695 (get_ada_tasks_inferior_data): Likewise.
6696 * auto-load.c (get_auto_load_pspace_data): Likewise.
6697 * auxv.c (get_auxv_inferior_data): Likewise.
6698 * bfd-target.c (target_bfd_reopen): Likewise.
6699 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
6700 (deprecated_insert_raw_breakpoint): Likewise.
6701 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
6702 * corelow.c (core_open): Likewise.
6703 * darwin-nat.c (darwin_check_new_threads): Likewise.
6704 (darwin_attach_pid): Likewise.
6705 * dummy-frame.c (dummy_frame_push): Likewise.
6706 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
6707 * dwarf2loc.c (allocate_piece_closure): Likewise.
6708 * elfread.c (elf_symfile_segments): Likewise.
6709 * eval.c (ptrmath_type_p): Likewise.
6710 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
6711 * gdbtypes.c (alloc_type_arch): Likewise.
6712 (alloc_type_instance): Likewise.
6713 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
6714 * inf-child.c (inf_child_can_use_agent): Likewise.
6715 * inflow.c (get_inflow_inferior_data): Likewise.
6716 * infrun.c (save_infcall_suspend_state): Likewise.
6717 * jit.c (jit_reader_load): Likewise.
6718 (get_jit_objfile_data): Likewise.
6719 (get_jit_program_space_data): Likewise.
6720 (jit_object_open_impl): Likewise.
6721 (jit_symtab_open_impl): Likewise.
6722 (jit_block_open_impl): Likewise.
6723 (jit_frame_sniffer): Likewise.
6724 * linux-fork.c (add_fork): Likewise.
6725 * maint.c (make_command_stats_cleanup): Likewise.
6726 * objfiles.c (get_objfile_pspace_data): Likewise.
6727 * opencl-lang.c (struct lval_closure): Likewise.
6728 * osdata.c (osdata_start_osdata): Likewise.
6729 * progspace.c (new_address_space): Likewise.
6730 (add_program_space): Likewise.
6731 * remote-sim.c (get_sim_inferior_data): Likewise.
6732 * sh-tdep.c (sh_gdbarch_init): Likewise.
6733 * skip.c (Ignore): Likewise.
6734 (skip_delete_command): Likewise.
6735 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
6736 (library_list_start_library): Likewise.
6737 (solib_aix_current_sos): Likewise.
6738 * solib-darwin.c (get_darwin_info): Likewise.
6739 (darwin_current_sos): Likewise.
6740 * solib-dsbt.c (get_dsbt_info): Likewise.
6741 * solib-ia64-hpux.c (new_so_list): Likewise.
6742 (ia64_hpux_get_solib_linkage_addr): Likewise.
6743 * solib-spu.c (append_ocl_sos): Likewise.
6744 (spu_current_sos): Likewise.
6745 * solib-svr4.c (get_svr4_info): Likewise.
6746 (svr4_keep_data_in_core): Likewise.
6747 (library_list_start_library): Likewise.
6748 (svr4_default_sos): Likewise.
6749 (svr4_read_so_list): Likewise.
6750 * solib-target.c (library_list_start_library): Likewise.
6751 (solib_target_current_sos): Likewise.
6752 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
6753 * symfile-debug.c (install_symfile_debug_logging): Likewise.
6754 * symfile.c (default_symfile_segments): Likewise.
6755 * target-descriptions.c (tdesc_data_init): Likewise.
6756 (tdesc_create_reg): Likewise.
6757 (struct tdesc_type *): Likewise.
6758 (tdesc_create_vector): Likewise.
6759 (tdesc_set_struct_size): Likewise.
6760 (struct tdesc_type *): Likewise.
6761 (tdesc_free_feature): Likewise.
6762 (tdesc_create_feature): Likewise.
6763 * windows-nat.c (windows_add_thread): Likewise.
6764 (windows_make_so): Likewise.
6765 * xml-support.c (gdb_xml_body_text): Likewise.
6766 (gdb_xml_create_parser_and_cleanup): Likewise.
6767 (xml_process_xincludes): Likewise.
6768 * xml-syscall.c (allocate_syscalls_info): Likewise.
6769 (syscall_create_syscall_desc): Likewise.
6771 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
6773 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
6774 function, with code from i386_stap_parse_special_token.
6775 (i386_stap_parse_special_token_three_arg_disp): Likewise.
6776 (i386_stap_parse_special_token): Move code to the two functions
6779 2014-01-09 Pedro Alves <palves@redhat.com>
6780 Hui Zhu <hui@codesourcery.com>
6783 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
6784 bp_err_string. Don't mark the location shlib_disabled if the
6785 error thrown wasn't a generic or memory error. Catch errors
6786 thrown while inserting breakpoints in overlayed code. Output
6787 error message of software breakpoints.
6788 * remote.c (remote_insert_breakpoint): If this breakpoint has
6789 target-side commands but this stub doesn't support Z0 packets,
6790 throw NOT_SUPPORTED_ERROR error.
6791 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
6792 * target.h (target_insert_breakpoint): Extend comment.
6793 (target_insert_hw_breakpoint): Add comment.
6795 2014-01-08 Pedro Alves <palves@redhat.com>
6797 * remote.c (remote_add_thread): Add threads silently if starting
6799 (remote_notice_new_inferior): If in all-stop, and starting up,
6800 don't call notice_new_inferior.
6801 (get_current_thread): New function, factored out from ...
6802 (add_current_inferior_and_thread): ... this. Adjust.
6803 (remote_start_remote) <all-stop>: Fetch the thread list. If we
6804 found any thread, then select the remote's current thread as GDB's
6807 2014-01-08 Joel Brobecker <brobecker@adacore.com>
6809 * NEWS: Create a new section for the next release branch.
6810 Rename the section of the current branch, now that it has
6813 2014-01-08 Joel Brobecker <brobecker@adacore.com>
6815 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
6816 * version.in: Bump version to 7.7.50.DATE-cvs.
6818 2014-01-08 Yao Qi <yao@codesourcery.com>
6820 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
6821 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
6822 (spu_xfer_partial): Cast 'buf' to 'const char *'.
6824 2014-01-08 Yao Qi <yao@codesourcery.com>
6826 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
6827 return value of bfd_get_filename to symbol_file_add_from_bfd.
6829 2014-01-08 Pierre Muller <muller@sourceware.org>
6832 * coff-pe-read.c (struct read_pe_section_data): Add index field.
6833 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
6834 to prim_record_mininal_symbol_and_info.
6835 (add_pe_forwarded_sym): Use known section number of forwarded symbol
6836 in call to prim_record_minimal_symbol_and_info.
6837 (read_pe_exported_syms): Set index field of section_data.
6839 2014-01-07 Andrew Pinski <apinski@cavium.com>
6841 * features/aarch64-core.xml (cpsr): Change to be 64bit.
6842 * features/aarch64.c: Regenerate.
6844 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
6846 * target.c (return_null): Define.
6847 (update_current_target): Use it instead of return_zero for
6848 functions that return a pointer.
6850 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6852 * source.c (add_path): Fix check for duplicated paths in the previously
6855 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
6857 * ada-lang.c: Remove duplicated include statements.
6858 * alphabsd-nat.c: Ditto.
6859 * amd64-darwin-tdep.c: Ditto.
6860 * amd64fbsd-nat.c: Ditto.
6861 * auto-load.c: Ditto.
6863 * breakpoint.c: Ditto.
6865 * fork-child.c: Ditto.
6866 * gdb_usleep.c: Ditto.
6867 * i386-darwin-tdep.c: Ditto.
6868 * i386fbsd-nat.c: Ditto.
6870 * inferior.c: Ditto.
6872 * linux-nat.c: Ditto.
6873 * linux-tdep.c: Ditto.
6874 * m68kbsd-nat.c: Ditto.
6875 * m68klinux-nat.c: Ditto.
6876 * microblaze-tdep.c: Ditto.
6877 * mips-linux-tdep.c: Ditto.
6878 * mn10300-tdep.c: Ditto.
6879 * nto-tdep.c: Ditto.
6880 * opencl-lang.c: Ditto.
6882 * printcmd.c: Ditto.
6883 * regcache.c: Ditto.
6884 * remote-m32r-sdi.c: Ditto.
6888 * tilegx-linux-nat.c: Ditto.
6889 * tilegx-tdep.c: Ditto.
6890 * tracepoint.c: Ditto.
6892 * vaxbsd-nat.c: Ditto.
6893 * windows-nat.c: Ditto.
6894 * xtensa-tdep.c: Ditto.
6896 2014-01-07 Yao Qi <yao@codesourcery.com>
6898 * spu-linux-nat.c (_initialize_spu_nat): Declare.
6900 2014-01-07 Yao Qi <yao@codesourcery.com>
6901 Joel Brobecker <brobecker@adacore.com>
6903 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
6904 (pdc_write_regs): Likewise.
6905 (fetch_regs_kernel_thread): Likewise.
6906 (store_regs_kernel_thread): Likewise.
6908 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6910 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
6911 tagged type objects to their actual type.
6913 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6915 * ada-valprint.c (print_field_values): Add "language" parameter.
6916 Update calls to print_field_values and print_variant_part.
6917 Pass new parameter "language" in call to val_print instead
6918 of "current_language". Replace call to ada_val_print by call
6920 (print_variant_part): Add "language" parameter.
6921 (ada_val_print_struct_union): Update call to print_field_values.
6923 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6925 * ada-valprint.c (ui_memcpy): Delete.
6926 (ada_print_floating): Update documentation. Add empty line
6927 between between function documentation and implementation.
6928 Delete variable "buffer". Use ui_file_xstrdup in place of
6929 ui_file_put. Minor adjustments following this change.
6931 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6933 * ada-valprint.c (ada_val_print_string): New function,
6934 extracted from ada_val_print_array.
6935 (ada_val_print_array): Replace extracted code by call
6936 to ada_val_print_string followed by a return. Move
6937 "else" branch to the function's top block.
6939 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6941 * ada-valprint.c (ada_val_print_array): Move implementation
6942 down. Rename parameter "offset" and "val" into "offset_aligned"
6943 and "original_value" respectively. Add parameter "offset".
6945 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6947 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
6948 re-organizing the code. Change the "???" message printed
6949 when target type is a TYPE_CODE_UNDEF into
6950 "<ref to undefined type>".
6952 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6954 * ada-valprint.c (print_record): Delete, implementation inlined...
6955 (ada_val_print_struct_union): ... here. Remove call to
6956 ada_check_typedef in inlined implementation.
6958 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6960 * ada-valprint.c (ada_val_print_gnat_array): New function,
6961 extracted from ada_val_print_1;
6962 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
6963 (ada_val_print_flt, ada_val_print_struct_union)
6964 (ada_val_print_ref): Likewise.
6965 (ada_val_print_1): Delete variables i and elttype.
6966 Replace extracted-out code by call to corresponding
6969 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6971 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
6973 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6975 * ada-valprint.c (ada_val_print_1): Replace calls to
6976 ada_val_print_1 by calls to val_print.
6978 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6980 * ada-valprint.c (ada_val_print_1): Add parameter "language".
6981 Update calls to self accordingly. Replace calls to c_val_print
6982 by calls to val_print.
6984 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6986 * ada-valprint.c (print_record): Delete declaration.
6987 (adjust_type_signedness, ada_val_print_1): Likewise.
6988 (ada_val_print): Move function implementation down.
6989 (print_variant_part, print_field_values, print_record):
6990 Move function implementation up.
6992 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6994 * python/py-type.c (typy_get_name): New function.
6995 (type_object_getset): Add entry for attribute "name".
6996 * NEWS: Add entry mentioning this new attribute.
6998 2014-01-07 Yao Qi <yao@codesourcery.com>
7000 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
7003 2014-01-07 Yao Qi <yao@codesourcery.com>
7005 * gnu-nat.c (info_port_rights): Add qualifier const to
7008 2014-01-07 Yao Qi <yao@codesourcery.com>
7010 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
7012 2014-01-07 Yao Qi <yao@codesourcery.com>
7014 * gnu-nat.c (make_inf) Update declaration.
7015 (make_inf): Make it static.
7016 (inf_set_traced): Likewise.
7017 (inf_port_to_thread, inf_task_died_status): Likewise.
7019 2014-01-07 Yao Qi <yao@codesourcery.com>
7021 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
7023 2014-01-07 Yao Qi <yao@codesourcery.com>
7025 * gnu-nat.c (_initialize_gnu_nat): Declare.
7027 2014-01-07 Yao Qi <yao@codesourcery.com>
7029 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
7031 (struct gdbarch_info) <byte_order>: Change type to
7033 <byte_order_for_code>: Likewise.
7034 * gdbarch.c, gdbarch.h: Regenerated.
7036 2014-01-06 Sasha Smundak <asmundak@google.com>
7038 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
7040 2014-01-06 Tom Tromey <tromey@redhat.com>
7042 * doublest.c (convert_doublest_to_floatformat): Use const, not
7044 * somread.c (som_symtab_read): Likewise.
7046 2014-01-07 Hui Zhu <hui@codesourcery.com>
7048 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
7049 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
7050 (gdb_bfd_fopen): Ditto.
7051 (gdb_bfd_openr): Ditto.
7052 (gdb_bfd_openw): Ditto.
7053 (gdb_bfd_openr_iovec): Ditto.
7054 (gdb_bfd_fdopenr): Ditto.
7055 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
7056 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
7058 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
7060 * symfile-mem.c (symbol_file_add_from_memory): Removed
7061 gdb_bfd_stash_filename.
7063 2014-01-03 Doug Evans <dje@google.com>
7065 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
7068 2014-01-01 Joel Brobecker <brobecker@adacore.com>
7070 Update year range in copyright notice of all files.
7072 2014-01-01 Joel Brobecker <brobecker@adacore.com>
7074 * top.c (print_gdb_version): Set copyright year to 2014.
7076 2014-01-01 Joel Brobecker <brobecker@adacore.com>
7078 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
7080 For older changes see ChangeLog-2013.
7086 version-control: never