1 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3 * c-typeprint.c (c_type_print_varspec_suffix): Added
4 check for not yet resolved high bound. If unresolved, print
5 "variable length" string to the console instead of random
8 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
10 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
12 (ada_template_to_fixed_record_type_1): Likewise.
13 (ada_to_fixed_type_1): Likewise.
14 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
15 (cp_print_value): Likewise.
16 * d-valprint.c (dynamic_array_type): Likewise.
17 * findvar.c (address_of_variable): Likewise.
18 * jv-valprint.c (java_value_print): Likewise.
19 * valops.c (value_ind): Likewise.
20 * value.c (coerce_ref): Likewise.
22 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
24 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
25 value and retrieve the dynamic type size.
27 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
29 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
30 passed to sizeof is dynamic evaluate the argument to compute the length.
32 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
33 Joel Brobecker <brobecker@adacore.com>
35 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
36 (dwarf2_evaluate_property): New function.
37 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
38 * dwarf2read.c (attr_to_dynamic_prop): New function.
39 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
41 * gdbtypes.c: Include dwarf2loc.h.
42 (is_dynamic_type): New function.
43 (resolve_dynamic_type): New function.
44 (resolve_dynamic_bounds): New function.
45 (get_type_length): New function.
46 (check_typedef): Use get_type_length to compute type length.
47 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
48 (TYPE_LOW_BOUND_KIND): New macro.
49 (is_dynamic_type): New function prototype.
50 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
51 to resolve dynamic properties of the type. Update comment.
52 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
54 2014-04-14 Richard Henderson <rth@redhat.com>
56 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
58 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
59 Doug Evans <xdje42@gmail.com>
61 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
62 dereference TYPE_CODE_REF values.
64 2014-04-11 Joel Brobecker <brobecker@adacore.com>
66 Revert the following changes due to regressions:
68 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
69 (dwarf2_evaluate_property): New function.
70 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
71 * dwarf2read.c (attr_to_dynamic_prop): New function.
72 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
74 * gdbtypes.c: Include dwarf2loc.h.
75 (is_dynamic_type): New function.
76 (resolve_dynamic_type): New function.
77 (resolve_dynamic_bounds): New function.
78 (get_type_length): New function.
79 (check_typedef): Use get_type_length to compute type length.
80 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
81 (TYPE_LOW_BOUND_KIND): New macro.
82 (is_dynamic_type): New function prototype.
83 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
84 to resolve dynamic properties of the type. Update comment.
85 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
87 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
88 passed to sizeof is dynamic evaluate the argument to compute the length.
90 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
91 value and retrieve the dynamic type size.
93 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
94 (ada_template_to_fixed_record_type_1): Likewise.
95 (ada_to_fixed_type_1): Likewise.
96 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
97 (cp_print_value): Likewise.
98 * d-valprint.c (dynamic_array_type): Likewise.
99 * eval.c (evaluate_subexp_with_coercion): Likewise.
100 * findvar.c (address_of_variable): Likewise.
101 * jv-valprint.c (java_value_print): Likewise.
102 * valops.c (value_ind): Likewise.
103 * value.c (coerce_ref): Likewise.
105 * c-typeprint.c (c_type_print_varspec_suffix): Added
106 check for not yet resolved high bound. If unresolved, print
107 "variable length" string to the console instead of random
110 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
111 property and store it as the high bound and flag the range accordingly.
112 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
113 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
114 * gdbtypes.h (enum range_flags): New enum.
115 (struct range_bounds): Add flags member.
117 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
118 points to a constant blob.
120 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
121 (evaluate_subexp_standard): Pass noside argument.
122 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
123 if noside equals EVAL_NORMAL. If the subscript yields a vla type
124 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
125 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
126 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
128 2014-04-11 Keith Seitz <keiths@redhat.com>
131 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
132 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
135 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
137 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
138 (evaluate_subexp_standard): Pass noside argument.
139 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
140 if noside equals EVAL_NORMAL. If the subscript yields a vla type
141 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
142 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
143 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
145 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
147 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
148 points to a constant blob.
150 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
152 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
153 property and store it as the high bound and flag the range accordingly.
154 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
155 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
156 * gdbtypes.h (enum range_flags): New enum.
157 (struct range_bounds): Add flags member.
159 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
161 * c-typeprint.c (c_type_print_varspec_suffix): Added
162 check for not yet resolved high bound. If unresolved, print
163 "variable length" string to the console instead of random
166 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
168 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
169 (ada_template_to_fixed_record_type_1): Likewise.
170 (ada_to_fixed_type_1): Likewise.
171 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
172 (cp_print_value): Likewise.
173 * d-valprint.c (dynamic_array_type): Likewise.
174 * eval.c (evaluate_subexp_with_coercion): Likewise.
175 * findvar.c (address_of_variable): Likewise.
176 * jv-valprint.c (java_value_print): Likewise.
177 * valops.c (value_ind): Likewise.
178 * value.c (coerce_ref): Likewise.
180 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
182 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
183 value and retrieve the dynamic type size.
185 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
187 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
188 passed to sizeof is dynamic evaluate the argument to compute the length.
190 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
192 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
193 (dwarf2_evaluate_property): New function.
194 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
195 * dwarf2read.c (attr_to_dynamic_prop): New function.
196 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
198 * gdbtypes.c: Include dwarf2loc.h.
199 (is_dynamic_type): New function.
200 (resolve_dynamic_type): New function.
201 (resolve_dynamic_bounds): New function.
202 (get_type_length): New function.
203 (check_typedef): Use get_type_length to compute type length.
204 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
205 (TYPE_LOW_BOUND_KIND): New macro.
206 (is_dynamic_type): New function prototype.
207 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
208 to resolve dynamic properties of the type. Update comment.
209 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
211 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
213 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
214 declaring high/low bounds and change uses accordingly. Call
215 create_range_type instead of create_static_range_type.
216 * gdbtypes.c (create_range_type): New function.
217 (create_range_type): Convert bounds into struct bound_prop and pass
218 them to create_range_type.
219 * gdbtypes.h (struct bound_prop): New struct.
220 (create_range_type): New function prototype.
221 (struct range_bounds): Use struct bound_prop instead of LONGEST for
222 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
223 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
225 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
227 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
229 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
230 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
231 * ada-lang.c: All uses of create_range_type updated.
232 * coffread.c: All uses of create_range_type updated.
233 * dwarf2read.c: All uses of create_range_type updated.
234 * f-exp.y: All uses of create_range_type updated.
235 * m2-valprint.c: All uses of create_range_type updated.
236 * mdebugread.c: All uses of create_range_type updated.
237 * stabsread.c: All uses of create_range_type updated.
238 * valops.c: All uses of create_range_type updated.
239 * valprint.c: All uses of create_range_type updated.
241 2014-04-10 Pedro Alves <palves@redhat.com>
243 * breakpoint.c (single_step_breakpoints)
244 (single_step_gdbarch): Move up in the file.
245 (one_breakpoint_xfer_memory): New function, factored out from ...
246 (breakpoint_xfer_memory): ... here. Also process single-step
249 2014-04-09 Tristan Gingold <gingold@adacore.com>
251 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
253 (darwin_decode_exception_message): Free port only after use.
255 2014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
257 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
258 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
259 when setting the size of call_length.
261 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
263 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
264 dereference TYPE_CODE_REF values.
266 2014-04-07 Joel Brobecker <brobecker@adacore.com>
268 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
269 end of warning message.
271 2014-04-03 Doug Evans <dje@google.com>
273 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
274 of stub_comp_unit_die, stub_comp_dir is non-NULL.
276 2014-04-02 Alan Modra <amodra@gmail.com>
278 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
279 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
280 (struct symbol_file_add_from_memory_args): Add size field.
281 (find_vdso_size): New function.
282 (add_vsyscall_page): Attempt to find vdso size.
284 2014-04-01 Doug Evans <dje@google.com>
286 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
288 2014-04-01 Tristan Gingold <gingold@adacore.com>
290 * darwin-nat.c (darwin_encode_reply): Add prototype.
291 (darwin_decode_exception_message): Reply to unknown inferiors.
292 (darwin_decode_message): Handle message by id. Ignore message
294 (darwin_wait): Discard unknown messages, add debug trace.
296 2014-03-31 Doug Evans <dje@google.com>
298 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
301 2014-03-31 Doug Evans <dje@google.com>
303 New option "set print symbol-loading".
305 * solib.c (solib_read_symbols): Only print symbol loading messages
307 (solib_add): If symbol loading is in "brief" mode, notify user
308 symbols are being loaded.
309 (reload_shared_libraries_1): Ditto.
310 * symfile.c (print_symbol_loading_off): New static global.
311 (print_symbol_loading_brief): New static global.
312 (print_symbol_loading_full): New static global.
313 (print_symbol_loading_enums): New static global.
314 (print_symbol_loading): New static global.
315 (print_symbol_loading_p): New function.
316 (symbol_file_add_with_addrs): Only print symbol loading messages
318 (_initialize_symfile): Register "print symbol-loading" set/show
320 * symfile.h (print_symbol_loading_p): Declare.
322 2014-03-30 Doug Evans <xdje42@gmail.com>
324 * infrun.c (set_last_target_status): New function.
325 (handle_inferior_event): Call it.
327 2014-03-30 Doug Evans <xdje42@gmail.com>
329 * inferior.h (enum stop_kind): Improve comment.
331 2014-03-28 Joel Brobecker <brobecker@adacore.com>
333 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
334 a reference, strip the reference layer before calling
335 the lang_ops value_has_mutated callback.
337 2014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
339 Remove some globals from our parser.
340 * language.c (unk_lang_parser): Add "struct parser_state"
342 * language.h (struct language_defn) <la_parser>: Likewise.
343 * parse.c (expout, expout_size, expout_ptr): Remove variables.
344 (initialize_expout): Add "struct parser_state" argument.
345 Rewrite function to use the parser state.
346 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
347 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
348 write_exp_elt_longcst, write_exp_elt_dblcst,
349 write_exp_elt_decfloatcst, write_exp_elt_type,
350 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
351 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
352 write_dollar_variable): Likewise.
353 (parse_exp_in_context_1): Use parser state.
354 (insert_type_address_space): Add "struct parser_state" argument.
356 (increase_expout_size): New function.
357 * parser-defs.h: Forward declare "struct language_defn" and
358 "struct parser_state".
359 (expout, expout_size, expout_ptr): Remove extern declarations.
360 (parse_gdbarch, parse_language): Rewrite macro declarations to
361 accept the parser state.
362 (struct parser_state): New struct.
363 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
364 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
365 write_exp_elt_decfloatcst, write_exp_elt_type,
366 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
367 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
368 write_exp_msymbol, write_dollar_variable,
369 mark_struct_expression, insert_type_address_space): Add "struct
370 parser_state" argument.
371 (increase_expout_size): New function.
372 * utils.c (do_clear_parser_state): New function.
373 (make_cleanup_clear_parser_state): Likewise.
374 * utils.h (make_cleanup_clear_parser_state): New function
376 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
377 Update calls to write_exp* in order to pass the parser state.
378 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
379 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
380 (i386_stap_parse_special_token_three_arg_disp): Likewise.
381 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
382 * stap-probe.c (stap_parse_register_operand): Likewise.
383 (stap_parse_single_operand): Likewise.
384 (stap_parse_argument_1): Likewise.
385 (stap_parse_argument): Use parser state.
386 * stap-probe.h: Include "parser-defs.h".
387 (struct stap_parse_info) <pstate>: New field.
388 * c-exp.y (parse_type): Rewrite to use parser state.
389 (yyparse): Redefine to c_parse_internal.
390 (pstate): New global variable.
391 (parse_number): Add "struct parser_state" argument.
392 (write_destructor_name): Likewise.
393 (type_exp): Update calls to write_exp* and similars in order to
395 (exp1, exp, variable, qualified_name, space_identifier,
396 typename, typebase): Likewise.
397 (write_destructor_name, parse_number, lex_one_token,
398 classify_name, classify_inner_name, c_parse): Add "struct
399 parser_state" argument. Update function to use parser state.
400 * c-lang.h: Forward declare "struct parser_state".
401 (c_parse): Add "struct parser_state" argument.
402 * ada-exp.y (parse_type): Rewrite macro to use parser state.
403 (yyparse): Redefine macro to ada_parse_internal.
404 (pstate): New variable.
405 (write_int, write_object_renaming, write_var_or_type,
406 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
407 type_int, type_long, type_long_long, type_float, type_double,
408 type_long_double, type_char, type_boolean, type_system_address):
409 Add "struct parser_state" argument.
410 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
411 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
412 var_or_type, aggregate, aggregate_component_list,
413 positional_list, others, component_group,
414 component_associations): Update calls to write_exp* and similar
415 functions in order to use parser state.
416 (ada_parse, write_var_from_sym, write_int,
417 write_exp_op_with_string, write_object_renaming,
418 find_primitive_type, write_selectors, write_ambiguous_var,
419 write_var_or_type, write_name_assoc, type_int, type_long,
420 type_long_long, type_float, type_double, type_long_double,
421 type_char, type_boolean, type_system_address): Add "struct
422 parser_state" argument. Adjust function to use parser state.
423 * ada-lang.c (parse): Likewise.
424 * ada-lang.h: Forward declare "struct parser_state".
425 (ada_parse): Add "struct parser_state" argument.
426 * ada-lex.l (processInt, processReal): Likewise. Adjust all
427 calls to both functions.
428 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
430 (yyparse): Redefine macro to f_parse_internal.
431 (pstate): New variable.
432 (parse_number): Add "struct parser_state" argument.
433 (type_exp, exp, subrange, typebase): Update calls to write_exp*
434 and similars in order to use parser state.
435 (parse_number): Adjust code to use parser state.
437 (f_parse): New function.
438 * f-lang.h: Forward declare "struct parser_state".
439 (f_parse): Add "struct parser_state" argument.
440 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
442 (yyparse): Redefine macro for java_parse_internal.
443 (pstate): New variable.
444 (push_expression_name, push_expression_name, insert_exp): Add
445 "struct parser_state" argument.
446 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
447 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
448 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
449 PostIncrementExpression, PostDecrementExpression,
450 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
451 UnaryExpressionNotPlusMinus, CastExpression,
452 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
453 RelationalExpression, EqualityExpression, AndExpression,
454 ExclusiveOrExpression, InclusiveOrExpression,
455 ConditionalAndExpression, ConditionalOrExpression,
456 ConditionalExpression, Assignment, LeftHandSide): Update
457 calls to write_exp* and similars in order to use parser state.
458 (parse_number): Ajust code to use parser state.
460 (java_parse): New function.
461 (push_variable): Add "struct parser_state" argument. Adjust
462 code to user parser state.
463 (push_fieldnames, push_qualified_expression_name,
464 push_expression_name, insert_exp): Likewise.
465 * jv-lang.h: Forward declare "struct parser_state".
466 (java_parse): Add "struct parser_state" argument.
467 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
469 (yyparse): Redefine macro to m2_parse_internal.
470 (pstate): New variable.
471 (type_exp, exp, fblock, variable, type): Update calls to
472 write_exp* and similars to use parser state.
474 (m2_parse): New function.
475 * m2-lang.h: Forward declare "struct parser_state".
476 (m2_parse): Add "struct parser_state" argument.
477 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
478 * objc-lang.h: Forward declare "struct parser_state".
479 (end_msglist): Add "struct parser_state" argument.
480 * p-exp.y (parse_type): Rewrite macro to use parser state.
481 (yyparse): Redefine macro to pascal_parse_internal.
482 (pstate): New variable.
483 (parse_number): Add "struct parser_state" argument.
484 (type_exp, exp1, exp, qualified_name, variable): Update calls to
485 write_exp* and similars in order to use parser state.
486 (parse_number, yylex): Adjust code to use parser state.
487 (pascal_parse): New function.
488 * p-lang.h: Forward declare "struct parser_state".
489 (pascal_parse): Add "struct parser_state" argument.
490 * go-exp.y (parse_type): Rewrite macro to use parser state.
491 (yyparse): Redefine macro to go_parse_internal.
492 (pstate): New variable.
493 (parse_number): Add "struct parser_state" argument.
494 (type_exp, exp1, exp, variable, type): Update calls to
495 write_exp* and similars in order to use parser state.
496 (parse_number, lex_one_token, classify_name, yylex): Adjust code
498 (go_parse): Likewise.
499 * go-lang.h: Forward declare "struct parser_state".
500 (go_parse): Add "struct parser_state" argument.
502 2014-03-27 Doug Evans <dje@google.com>
504 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
506 2014-03-27 Doug Evans <dje@google.com>
508 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
509 Remove argument abbrev_section. All callers updated.
511 2014-03-27 Doug Evans <dje@google.com>
513 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
514 addr_base, ranges_base.
516 2014-03-26 Keith Seitz <keiths@redhat.com>
518 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
519 types, not VAR_DOMAIN.
521 2014-03-25 Sandra Loosemore <sandra@codesourcery.com>
523 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
525 * features/nios2-linux.c: Regenerated.
526 * features/nios2.c: Regenerated.
528 2014-03-25 Pedro Alves <palves@redhat.com>
530 * cli/cli-script.c (script_from_file): Force the interpreter to
533 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
535 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
536 small stack allocation.
538 2014-03-24 Tristan Gingold <gingold@adacore.com>
540 * darwin-nat.c (exc_server): Remove unused prototype.
541 (darwin_dump_message): Correctly display data on x86_64.
542 (darwin_encode_reply): Fix style.
543 Add comments and fix indentation.
545 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
547 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
549 2014-03-22 Doug Evans <xdje42@gmail.com>
551 * infcmd.c: Whitespace fixes.
552 (interrupt_command): Merge two function comments into one.
554 2014-03-22 Doug Evans <xdje42@gmail.com>
556 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
559 2014-03-22 Yao Qi <yao@codesourcery.com>
561 * remote.c (target_read_live_memory): Remove.
562 (memory_xfer_live_readonly_partial): Rename it to
563 remote_xfer_live_readonly_partial. Remove argument 'object'.
564 All callers updated. Call remote_read_bytes_1
565 instead of target_read_live_memory.
566 * tracepoint.c (set_traceframe_number): Remove.
567 (make_cleanup_restore_traceframe_number): Likewise .
568 * tracepoint.h (set_traceframe_number): Remove declaration.
569 (make_cleanup_restore_traceframe_number): Likewise.
571 2014-03-22 Yao Qi <yao@codesourcery.com>
573 * remote.c (remote_read_bytes): Move code on reading from the
575 (remote_read_bytes_1): ... here. New function.
577 2014-03-22 Yao Qi <yao@codesourcery.com>
579 * ctf.c (ctf_xfer_partial): Check the return value of
580 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
581 return TARGET_XFER_UNAVAILABLE.
582 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
583 * target.c (target_read_live_memory): Move it to remote.c.
584 (memory_xfer_live_readonly_partial): Likewise.
585 (memory_xfer_partial_1): Move some code to remote_read_bytes.
586 * remote.c (target_read_live_memory): Moved from target.c.
587 (memory_xfer_live_readonly_partial): Likewise.
588 (remote_read_bytes): Factored out from
589 memory_xfer_partial_1.
591 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
593 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
596 2014-03-21 Pedro Alves <palves@redhat.com>
598 * infrun.c (normal_stop): Extend comment.
600 2014-03-21 Hui Zhu <hui@codesourcery.com>
601 Pedro Alves <palves@redhat.com>
603 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
605 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
606 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
607 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
609 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
611 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
612 `z' formatted output modifier.
614 2014-03-20 Tom Tromey <tromey@redhat.com>
615 Sergio Durigan Junior <sergiodj@redhat.com>
617 * probe.c (parse_probes): Turn assert into an ordinary error.
618 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
619 exceptions when parsing probes. Rearrange the code for clarity.
621 2014-03-20 Tom Tromey <tromey@redhat.com>
624 * top.c (execute_command): Only dispatch events if the command
627 2014-03-20 Tom Tromey <tromey@redhat.com>
630 * infcall.c: Include event-top.h.
631 (run_inferior_call): Call async_disable_stdin if needed.
633 2014-03-20 Pedro Alves <palves@redhat.com>
635 * infrun.c (prepare_to_proceed): Delete.
636 (thread_still_needs_step_over): New function.
637 (find_thread_needs_step_over): New function.
638 (proceed): If the current thread needs a step-over, set its
639 steping_over_breakpoint flag. Adjust to use
640 find_thread_needs_step_over instead of prepare_to_proceed.
641 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
642 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
644 (switch_back_to_stepped_thread): Step over breakpoints of all
645 threads not the stepping thread, before switching back to the
648 2014-03-20 Pedro Alves <palves@redhat.com>
650 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
652 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
653 * infrun.c (saved_singlestep_ptid)
654 (stepping_past_singlestep_breakpoint): Delete.
655 (resume): Remove stepping_past_singlestep_breakpoint handling.
656 (proceed): Store the prev_pc of the stepping thread too.
657 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
659 (enum infwait_states): Delete infwait_thread_hop_state.
660 (struct execution_control_state) <hit_singlestep_breakpoint>: New
662 (handle_inferior_event): Adjust.
663 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
664 handling and the thread-hop code. Before removing single-step
665 breakpoints, check whether the thread hit a single-step breakpoint
666 of another thread. If it did, the trap is not a random signal.
667 (switch_back_to_stepped_thread): If the event thread hit a
668 single-step breakpoint, unblock it before switching to the
669 stepping thread. Handle the case of the stepped thread having
671 (keep_going): Handle the case of the current thread moving past a
672 single-step breakpoint.
674 2014-03-20 Pedro Alves <palves@redhat.com>
677 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
678 are being stepped over.
679 (breakpoint_address_match): Make extern.
680 * breakpoint.h (breakpoint_address_match): New declaration.
681 * inferior.h (stepping_past_instruction_at): New declaration.
682 * infrun.c (struct step_over_info): New type.
683 (step_over_info): New global.
684 (set_step_over_info, clear_step_over_info)
685 (stepping_past_instruction_at): New functions.
686 (handle_inferior_event): Clear the step-over info when
687 trap_expected is cleared.
688 (resume): Remove now stale comment.
689 (clear_proceed_status): Clear step-over info.
690 (proceed): Adjust step-over handling to set or clear the step-over
691 info instead of removing all breakpoints.
692 (handle_signal_stop): When setting up a thread-hop, don't remove
694 (stop_stepping): Clear step-over info.
695 (keep_going): Adjust step-over handling to set or clear step-over
696 info and then always inserting breakpoints, instead of removing
697 all breakpoints when stepping over one.
699 2014-03-20 Pedro Alves <palves@redhat.com>
701 * infrun.c (previous_inferior_ptid): Adjust comment.
702 (deferred_step_ptid): Delete.
703 (infrun_thread_ptid_changed, prepare_to_proceed)
704 (init_wait_for_inferior): Adjust.
705 (handle_signal_stop): Delete deferred_step_ptid handling.
707 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
710 * defs.h (sync_quit_force_run): New declaration.
711 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
712 * event-top.c (async_sigterm_handler): New declaration.
713 (async_sigterm_token): New variable.
714 (async_init_signals): Create also async_sigterm_token.
715 (async_sigterm_handler): New function.
716 (sync_quit_force_run): New variable.
717 (handle_sigterm): Replace quit_force call by other calls.
718 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
720 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
722 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
723 offset into SPE pseudo registers.
725 2014-03-18 Pedro Alves <palves@redhat.com>
728 * inferior.h (print_stop_event): Declare.
729 * infrun.c (print_stop_event): New, factored out from ...
730 (normal_stop): ... this.
731 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
732 of bpstat_print/print_stack_frame.
734 2014-03-17 Tom Tromey <tromey@redhat.com>
736 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
738 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
740 * ada-lang.c (decode_constrained_packed_array): Perform a
741 minimal coercion for reference with coerce_ref instead of
744 2014-03-17 Tristan Gingold <gingold@adacore.com>
746 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
747 (darwin_solib_create_inferior_hook): Emit a warning if version
750 2014-03-16 Ulrich Weigand <uweigand@de.ibm.com>
752 * python/py-value.c (get_field_flag): Cast flag_name argument to
753 PyObject_GetAttrString to support Python 2.4.
755 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
757 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
758 (Global Maintainers): Remove Jan Kratochvil.
760 2014-03-14 Pedro Alves <palves@redhat.com>
762 * inferior.h (terminal_ours_for_output): Rename to ...
763 (child_terminal_ours_for_output): ... this.
764 (terminal_save_ours): Rename to ...
765 (child_terminal_save_ours): ... this.
766 (terminal_ours): Rename to ...
767 (child_terminal_ours): ... this.
768 (terminal_inferior): Rename to ...
769 (child_terminal_inferior): ... this.
770 (terminal_init_inferior): Rename to ...
771 (child_terminal_init_inferior): ... this.
772 (terminal_init_inferior_with_pgrp): Rename to ...
773 (child_terminal_init_inferior_with_pgrp): ... this.
774 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
775 (child_terminal_init_with_pgrp): ... this.
776 (terminal_save_ours): Rename to ...
777 (child_terminal_save_ours): ... this.
778 (terminal_init_inferior): Rename to ...
779 (child_terminal_init): ... this. Adjust.
780 (terminal_inferior): Rename to ...
781 (child_terminal_inferior): ... this.
782 (terminal_ours_for_output): Rename to ...
783 (child_terminal_ours_for_output): ... this. Adjust.
784 (terminal_ours): Rename to ...
785 (child_terminal_ours): ... this.
786 (terminal_ours_1): Rename to ...
787 (child_terminal_ours_1): ... this. Adjust.
788 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
789 * windows-nat.c (do_initial_windows_stuff): Adjust.
790 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
791 (gnu_terminal_init): ... this. Adjust.
792 (gnu_target): Adjust.
793 * inf-child.c (inf_child_target): Adjust.
795 2014-03-13 Doug Evans <xdje42@gmail.com>
798 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
801 2014-03-13 Doug Evans <xdje42@gmail.com>
803 * value.c (record_latest_value): Call release_value_or_incref
804 instead of release_value.
806 2014-03-13 Pedro Alves <palves@redhat.com>
808 * procfs.c (procfs_target): Don't override to_shortname,
809 to_longname or to_doc.
811 2014-03-13 Pedro Alves <palves@redhat.com>
813 * inf-child.c (inf_child_open, inf_child_target): Don't mention
814 Unix in user visible strings.
816 2014-03-12 Stan Shebs <stan@codesourcery.com>
818 * gdbtypes.h: Annotate comments for Doxygen, add a page
819 block comment with some general info.
821 2014-03-12 Pedro Alves <palves@redhat.com>
823 * infcmd.c (prepare_execution_command): New function, factored out
824 from several execution commands.
825 (run_command_1, continue_command, step_1, jump_command)
826 (signal_command, until_command, advance_command, finish_command)
827 (attach_command): Use prepare_execution_command.
829 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
831 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
834 (struct arm_linux_thread_points): Removed.
835 (struct arm_linux_process_info): New.
836 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
837 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
838 (arm_linux_find_breakpoints_by_tid): Removed.
839 (struct arch_lwp_info): New.
840 (arm_linux_find_process_pid): New functions.
841 (arm_linux_add_process): New functions.
842 (arm_linux_process_info_get): New functions.
843 (arm_linux_forget_process): New function.
844 (arm_linux_get_debug_reg_state): New function.
845 (struct update_registers_data): New.
846 (update_registers_callback): New function.
847 (arm_linux_insert_hw_breakpoint1): Updated.
848 (arm_linux_remove_hw_breakpoint1): Updated.
849 (arm_linux_insert_hw_breakpoint): Updated.
850 (arm_linux_remove_hw_breakpoint): Updated.
851 (arm_linux_insert_watchpoint): Updated.
852 (arm_linux_remove_watchpoint): Updated.
853 (arm_linux_new_thread): Updated.
854 (arm_linux_prepare_to_resume): New function.
855 (arm_linux_new_fork): New function.
856 (_initialize_arm_linux_nat): Updated.
858 2014-03-12 Pedro Alves <palves@redhat.com>
860 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
862 2014-03-12 Tom Tromey <tromey@redhat.com>
864 * inf-child.c (return_zero): New function.
865 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
866 * aix-thread.c (aix_thread_inferior_created): New function.
867 (aix_thread_attach): Remove.
868 (init_aix_thread_ops): Don't set to_attach.
869 (_initialize_aix_thread): Register inferior_created observer.
870 * corelow.c (init_core_ops): Don't set to_attach or
872 * exec.c (init_exec_ops): Don't set to_attach or
874 * infcmd.c (run_command_1): Use find_run_target. Make direct
876 (attach_command): Use find_attach_target. Make direct target
878 * record-btrace.c (init_record_btrace_ops): Don't set
880 * record-full.c (record_full_can_async_p, record_full_is_async_p):
882 (init_record_full_ops, init_record_full_core_ops): Update. Don't
883 set to_create_inferior.
884 * target.c (complete_target_initialization): Add assertion.
885 (target_create_inferior): Remove.
886 (find_default_attach, find_default_create_inferior): Remove.
887 (find_attach_target, find_run_target): New functions.
888 (find_default_is_async_p, find_default_can_async_p)
889 (target_supports_non_stop, target_attach): Remove.
890 (init_dummy_target): Don't set to_create_inferior or
891 to_supports_non_stop.
892 * target.h (struct target_ops) <to_attach>: Add comment. Remove
894 <to_create_inferior>: Add comment.
895 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
896 TARGET_DEFAULT_RETURN.
897 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
898 (find_attach_target, find_run_target): Declare.
899 (target_create_inferior): Remove.
900 (target_has_execution_1): Update comment.
901 (target_supports_non_stop): Remove.
902 * target-delegates.c: Rebuild.
904 2014-03-12 Pedro Alves <palves@redhat.com>
906 * inf-child.h: Update comment to not mention Unix.
908 2014-03-12 Pedro Alves <palves@redhat.com>
910 * inf-child.c: Update top comment to not mention Unix. Add
911 generic comment describing how this target is meant to be used.
912 (inf_child_post_attach, inf_child_post_startup_inferior)
913 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
916 2014-03-12 Pedro Alves <palves@redhat.com>
918 * nto-procfs.c: Include inf-child.h.
919 (procfs_ops): Delete global.
920 (procfs_can_run): Delete method.
921 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
922 target pointer instead of referencing procfs_ops.
923 (procfs_prepare_to_store): Delete.
924 (init_procfs_ops): Delete function.
925 (procfs_target): New function, based on init_procfs_ops, but
926 inherit inf_child_target.
927 (_initialize_procfs): Use procfs_target.
929 2014-03-12 Pedro Alves <palves@redhat.com>
931 * windows-nat.c: Include inf-child.h.
932 (windows_ops): Delete global.
933 (windows_open, windows_prepare_to_store, windows_can_run): Delete
935 (init_windows_ops): Delete function.
936 (windows_target): New function, based on init_windows_ops, but
937 inherit inf_child_target.
938 (_initialize_windows_nat): Use windows_target. Install x86
939 specific target methods here.
941 2014-03-10 Doug Evans <xdje42@gmail.com>
943 * guile/guile.c (call_initialize_gdb_module): New function.
944 (initialize_guile): Replace call to scm_init_guile with call to
947 2014-03-10 Joel Brobecker <brobecker@adacore.com>
949 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
950 in call to TYPE_CODE macro.
952 2014-03-10 Jerome Guitton <guitton@adacore.com>
954 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
955 Resolve tagged types to full view.
957 2014-03-10 Hui Zhu <hui@codesourcery.com>
959 * target.h (target_insert_breakpoint): Remove "hardware" from its
962 2014-03-07 Doug Evans <dje@google.com>
964 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
966 2014-03-07 Doug Evans <dje@google.com>
968 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
969 Remove unused local comp_dir_attr. Assert exactly one of
970 stub_comp_unit_die, stub_comp_dir is non-NULL.
972 2014-03-07 Joel Brobecker <brobecker@adacore.com>
974 * target.h (complete_target_initialization, add_target):
977 2014-03-07 Pedro Alves <palves@redhat.com>
979 * go32-nat.c: Include inf-child.h.
980 (go32_ops): Delete global.
981 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
983 (go32_create_inferior): Push the passed in target pointer instead
984 of referencing go32_ops.
985 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
986 (go32_target): New function, based on init_go32_ops, but inherit
988 (_initialize_go32_nat): Use go32_target. Move parts of
991 2014-03-06 Joel Brobecker <brobecker@adacore.com>
993 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
994 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
995 SYMBOL_VALUE_ADDRESS.
996 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
998 2014-03-06 Yao Qi <yao@codesourcery.com>
1000 * breakpoint.c (get_tracepoint_by_number): Remove argument
1001 optional_p. All callers updated. Adjust comments. Update
1003 * breakpoint.h (get_tracepoint_by_number): Update declaration.
1005 2014-03-06 Yao Qi <yao@codesourcery.com>
1007 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
1008 early if get_number returns zero. Use 'p' instead of 'args'.
1010 2014-03-06 Yao Qi <yao@codesourcery.com>
1012 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
1015 2014-03-06 Yao Qi <yao@codesourcery.com>
1017 PR breakpoints/16508
1018 * tracepoint.c (check_trace_running): New function.
1019 (trace_find_command): Move code to check_trace_running and
1020 call check_trace_running.
1021 (trace_find_pc_command): Likewise.
1022 (trace_find_tracepoint_command): Likewise.
1023 (trace_find_line_command): Likewise.
1024 (trace_find_range_command): Likewise.
1025 * tracepoint.h (check_trace_running): Likewise.
1026 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
1028 2014-03-06 Yao Qi <yao@codesourcery.com>
1030 * target.h (struct target_ops) <to_traceframe_info>: Use
1031 TARGET_DEFAULT_NORETURN (tcomplain ()).
1032 * target-delegates.c: Regenerated.
1034 2014-03-05 Pedro Alves <palves@redhat.com>
1037 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
1038 void. Update comment.
1039 (dcache_xfer_memory): Delete.
1040 (dcache_read_memory_partial): New, based on the read bits of
1042 (dcache_update): Add status parameter. Use ULONGEST for len, and
1043 adjust. Discard cache lines if the reason for the update was
1045 * dcache.h (dcache_xfer_memory): Delete declaration.
1046 (dcache_read_memory_partial): New declaration.
1047 (dcache_update): Update prototype.
1048 * target.c (raw_memory_xfer_partial): Update the dcache here.
1049 (memory_xfer_partial_1): Don't handle dcache writes here.
1051 2014-03-05 Mike Frysinger <vapier@gentoo.org>
1053 * remote-sim.c (gdbsim_load): Add const to prog.
1055 2014-03-03 Tom Tromey <tromey@redhat.com>
1057 * elfread.c (probe_key): Change to bfd_data.
1058 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
1059 now per-BFD, not per-objfile.
1060 * stap-probe.c (stap_probe_destroy): Update comment.
1061 (handle_stap_probe): Allocate on the per-BFD obstack.
1063 2014-03-03 Tom Tromey <tromey@redhat.com>
1065 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
1066 * breakpoint.c (create_longjmp_master_breakpoint): Use
1068 (add_location_to_breakpoint, bkpt_probe_insert_location)
1069 (bkpt_probe_remove_location): Update.
1070 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
1071 * elfread.c (elf_symfile_relocate_probe): Remove.
1072 (elf_probe_fns): Update.
1073 (insert_exception_resume_breakpoint): Change type of "probe"
1074 parameter to bound_probe.
1075 (check_exception_resume): Update.
1076 * objfiles.c (objfile_relocate1): Don't relocate probes.
1077 * probe.c (bound_probe_s): New typedef.
1078 (parse_probes): Use get_probe_address. Set sal's objfile.
1079 (find_probe_by_pc): Return a bound_probe.
1080 (collect_probes): Return a VEC(bound_probe_s).
1081 (compare_probes): Update.
1082 (gen_ui_out_table_header_info): Change type of "probes"
1084 (info_probes_for_ops): Update.
1085 (get_probe_address): New function.
1086 (probe_safe_evaluate_at_pc): Update.
1087 * probe.h (struct probe_ops) <get_probe_address>: New field.
1088 <set_semaphore, clear_semaphore>: Add objfile parameter.
1089 (struct probe) <objfile>: Remove field.
1091 <address>: Update comment.
1092 (struct bound_probe): New.
1093 (find_probe_by_pc): Return a bound_probe.
1094 (get_probe_address): Declare.
1095 * solib-svr4.c (struct probe_and_action) <address>: New field.
1096 (hash_probe_and_action, equal_probe_and_action): Update.
1097 (register_solib_event_probe): Add address parameter.
1098 (solib_event_probe_at): Update.
1099 (svr4_create_probe_breakpoints): Add objfile parameter. Use
1101 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
1102 (stap_get_probe_address): New function.
1103 (stap_can_evaluate_probe_arguments, compute_probe_arg)
1104 (compile_probe_arg): Update.
1105 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
1107 (handle_stap_probe): Don't relocate the probe.
1108 (stap_relocate): Remove.
1109 (stap_gen_info_probes_table_values): Update.
1110 (stap_probe_ops): Remove stap_relocate.
1111 * symfile-debug.c (debug_sym_relocate_probe): Remove.
1112 (debug_sym_probe_fns): Update.
1113 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
1114 * symtab.c (init_sal): Use memset.
1115 * symtab.h (struct symtab_and_line) <objfile>: New field.
1116 * tracepoint.c (start_tracing, stop_tracing): Update.
1118 2014-03-03 Tom Tromey <tromey@redhat.com>
1120 * probe.h (parse_probes, find_probe_by_pc)
1121 (find_probes_in_objfile): Fix comments.
1123 2014-03-02 Doug Evans <xdje42@gmail.com>
1125 * infrun.c (handle_signal_stop): Replace test for
1126 TARGET_WAITKIND_STOPPED with an assert.
1128 2014-03-02 Doug Evans <xdje42@gmail.com>
1130 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
1132 2014-03-02 Doug Evans <xdje42@gmail.com>
1134 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
1136 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1138 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
1140 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1142 * i386obsd-nat.c: Include "obsd-nat.h".
1143 (_initialize_i386obsd_nat): Call obsd_add_target instead of
1145 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
1147 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1149 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
1151 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1153 * mips64obsd-nat.c: Include "obsd-nath".
1154 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
1156 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
1158 2014-03-01 Mark Kettenis <kettenis@gnu.org>
1160 * amd64obsd-nat.c: Include "obsd-nat,h.
1161 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
1163 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
1165 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
1167 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
1168 (find_overload_match): Update call to find_oload_champ.
1169 (find_oload_champ_namespace_loop): Likewise
1171 2014-02-28 Mark Kettenis <kettenis@gnu.org>
1173 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
1175 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
1176 * config/sparc/obsd64.mh: New file.
1177 * sparc64obsd-nat.c: New file.
1179 * obsd-nat.h: New file.
1180 * obsd-nat.c: New file.
1181 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
1182 (ALLDEPFILES): Add obsd-nat.c.
1184 2014-02-28 Tom Tromey <tromey@redhat.com>
1186 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
1187 * cli-out.h (cli_ui_out_impl): Now const.
1188 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
1189 * ui-out.c (struct ui_out) <impl>: Now const.
1190 (default_ui_out_impl): Now const.
1191 (ui_out_new): Make 'impl' parameter const.
1192 * ui-out.h (ui_out_new): Update.
1194 2014-02-27 Mark Kettenis <kettenis@gnu.org>
1196 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
1198 2014-02-27 Mark Kettenis <kettenis@gnu.org>
1200 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
1202 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1204 Additional PR 8882 fix.
1205 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
1207 2014-02-27 Pedro Alves <palves@redhat.com>
1209 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
1212 2014-02-27 Pedro Alves <palves@redhat.com>
1215 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
1216 * nat/linux-waitpid.c: Include string.h.
1217 (status_to_str): Moved here and made extern.
1218 * nat/linux-waitpid.h (status_to_str): New declaration.
1220 2014-02-27 Hui Zhu <hui@codesourcery.com>
1223 * infrun.c (ptid_match): Move ...
1224 * common/ptid.c (ptid_match): ... here.
1225 * inferior.h (ptid_match): Move ...
1226 * common/ptid.h (ptid_match): ... here.
1228 2014-02-27 Mark Kettenis <kettenis@gnu.org>
1230 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
1231 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
1234 2014-02-27 Mark Kettenis <kettenis@gnu.org>
1236 * obsd-tdep.c (obsd_auxv_parse): New function.
1237 (obsd_init_abi): Set auxv_parse.
1239 * gdbarch.sh (auxv_parse): New.
1240 * gdbarch.h: Regenerated.
1241 * gdbarch.c: Regenerated.
1242 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
1244 2014-02-26 Ludovic Courtès <ludo@gnu.org>
1246 * guile/scm-value.c (gdbscm_history_append_x): New function.
1247 (value_functions): Add it.
1249 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1251 * dwarf2read.c (attr_value_as_address): New function.
1252 (dwarf2_find_base_address, read_call_site_scope): Use
1253 attr_value_as_address in place of DW_ADDR.
1254 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
1255 the low and high addresses. Slight rework of the handling
1256 of the high pc being a constant form, and limit it to
1257 DWARF verson 4 or higher.
1258 (dwarf2_record_block_ranges): Likewise.
1259 (read_partial_die): Likewise.
1260 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
1262 2014-02-26 Tom Tromey <tromey@redhat.com>
1264 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
1266 2014-02-26 Tom Tromey <tromey@redhat.com>
1268 * elfread.c (elf_read_minimal_symbols): Return early if
1269 minimal symbols have already been read. Add "ei" parameter.
1270 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
1271 * minsyms.c (prim_record_minimal_symbol_full): Update.
1272 * objfiles.h (struct objstats) <n_minsyms>: Move...
1273 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
1274 * symmisc.c (print_objfile_statistics): Update.
1276 2014-02-26 Tom Tromey <tromey@redhat.com>
1278 * elfread.c (elf_read_minimal_symbols): New function, from
1280 (elf_symfile_read): Call it.
1282 2014-02-26 Tom Tromey <tromey@redhat.com>
1284 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
1285 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
1286 (lookup_minimal_symbol_solib_trampoline)
1287 (lookup_minimal_symbol_by_pc_section_1)
1288 (lookup_minimal_symbol_and_objfile): Update.
1289 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
1290 Don't allocate a minimal symbol if minsyms have already been read.
1291 (build_minimal_symbol_hash_tables): Update.
1292 (install_minimal_symbols): Do nothing if minsyms already read.
1293 Use the per-BFD obstack.
1294 (terminate_minimal_symbol_table): Use the per-BFD obstack.
1295 * objfiles.c (allocate_objfile): Call
1296 terminate_minimal_symbol_table later.
1297 (have_minimal_symbols): Update.
1298 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
1299 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
1300 Move from struct objfile.
1301 <minsyms_read>: New field.
1302 (struct objfile) <msymbols, minimal_symbol_count,
1303 msymbol_hash, msymbol_demangled_hash>: Move.
1304 (ALL_OBJFILE_MSYMBOLS): Update.
1305 * symfile.c (read_symbols): Set minsyms_read.
1306 (reread_symbols): Update.
1307 * symmisc.c (dump_objfile, dump_msymbols): Update.
1309 2014-02-26 Tom Tromey <tromey@redhat.com>
1311 * minsyms.c (msymbols_sort): Remove.
1312 * minsyms.h (msymbols_sort): Remove.
1313 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
1314 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
1315 * elfread.c (elf_symtab_read): Don't add section offsets.
1316 * xcoffread.c (record_minimal_symbol): Don't add section offset
1317 to minimal symbol address.
1318 * somread.c (text_offset, data_offset): Remove.
1319 (som_symtab_read): Don't add section offsets to minimal symbol
1321 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
1322 Don't add section offsets to minimal symbols.
1323 * coffread.c (coff_symtab_read): Don't add section offsets
1324 to minimal symbol addresses.
1325 * machoread.c (macho_symtab_add_minsym): Don't add section offset
1326 to minimal symbol addresses.
1327 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
1328 section offset to minimal symbol addresses.
1329 * mdebugread.c (parse_partial_symbols): Don't add section
1330 offset to minimal symbol addresses.
1331 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
1332 offset to minimal symbol addresses.
1334 2014-02-26 Tom Tromey <tromey@redhat.com>
1336 * ada-lang.c (ada_main_name): Update.
1337 (ada_add_standard_exceptions): Update.
1338 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
1339 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
1340 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
1341 * auxv.c (ld_so_xfer_auxv): Update.
1342 * avr-tdep.c (avr_scan_prologue): Update.
1343 * ax-gdb.c (gen_var_ref): Update.
1344 * blockframe.c (get_pc_function_start)
1345 (find_pc_partial_function_gnu_ifunc): Update.
1346 * breakpoint.c (create_overlay_event_breakpoint)
1347 (create_longjmp_master_breakpoint)
1348 (create_std_terminate_master_breakpoint)
1349 (create_exception_master_breakpoint): Update.
1350 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
1351 * c-valprint.c (c_val_print): Update.
1352 * coff-pe-read.c (add_pe_forwarded_sym): Update.
1353 * common/agent.c (agent_look_up_symbols): Update.
1354 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
1355 * dwarf2loc.c (call_site_to_target_addr): Update.
1356 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
1357 * elfread.c (elf_gnu_ifunc_record_cache)
1358 (elf_gnu_ifunc_resolve_by_got): Update.
1359 * findvar.c (default_read_var_value): Update.
1360 * frame.c (inside_main_func): Update.
1361 * frv-tdep.c (frv_frame_this_id): Update.
1362 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
1363 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
1365 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
1366 (hppa_hpux_find_dummy_bpaddr): Update.
1367 * hppa-tdep.c (hppa_symbol_address): Update.
1368 * infcmd.c (until_next_command): Update.
1369 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
1371 * linespec.c (minsym_found, add_minsym): Update.
1372 * linux-nat.c (get_signo): Update.
1373 * linux-thread-db.c (inferior_has_bug): Update.
1374 * m32c-tdep.c (m32c_return_value)
1375 (m32c_m16c_address_to_pointer): Update.
1376 * m32r-tdep.c (m32r_frame_this_id): Update.
1377 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
1378 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
1379 * maint.c (maintenance_translate_address): Update.
1380 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
1381 (frob_address): New function.
1382 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
1383 frob_address. Rename parameter to "pc_in".
1384 (compare_minimal_symbols, compact_minimal_symbols): Use raw
1386 (find_solib_trampoline_target, minimal_symbol_upper_bound):
1388 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
1389 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
1390 * objc-lang.c (find_objc_msgsend): Update.
1391 * objfiles.c (objfile_relocate1): Update.
1392 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
1393 * p-valprint.c (pascal_val_print): Update.
1394 * parse.c (write_exp_msymbol): Update.
1395 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
1396 (ppc_elfv2_skip_entrypoint): Update.
1397 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
1398 * printcmd.c (build_address_symbolic, msym_info)
1399 (address_info): Update.
1400 * proc-service.c (ps_pglobal_lookup): Update.
1401 * psymtab.c (find_pc_sect_psymtab_closer)
1402 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
1403 Change msymbol parameter to bound_minimal_symbol.
1404 * ravenscar-thread.c (get_running_thread_id): Update.
1405 * remote.c (remote_check_symbols): Update.
1406 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
1408 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
1409 * solib-dsbt.c (lm_base): Update.
1410 * solib-frv.c (lm_base, main_got): Update.
1411 * solib-irix.c (locate_base): Update.
1412 * solib-som.c (som_solib_create_inferior_hook)
1413 (link_map_start): Update.
1414 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
1415 * solib-svr4.c (elf_locate_base, enable_break): Update.
1416 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
1417 (flush_ea_cache): Update.
1418 * stabsread.c (define_symbol, scan_file_globals): Update.
1419 * stack.c (find_frame_funname): Update.
1420 * symfile-debug.c (debug_qf_expand_symtabs_matching)
1421 (debug_qf_find_pc_sect_symtab): Update.
1422 * symfile.c (simple_read_overlay_table)
1423 (simple_overlay_update): Update.
1424 * symfile.h (struct quick_symbol_functions)
1425 <find_pc_sect_symtab>: Change type of msymbol to
1426 bound_minimal_symbol.
1427 * symmisc.c (dump_msymbols): Update.
1428 * symtab.c (find_pc_sect_symtab_via_partial)
1429 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
1430 (search_symbols, print_msymbol_info): Update.
1431 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
1432 (MSYMBOL_VALUE_ADDRESS): Redefine.
1433 (BMSYMBOL_VALUE_ADDRESS): New macro.
1434 * tracepoint.c (scope_info): Update.
1435 * tui/tui-disasm.c (tui_find_disassembly_address)
1436 (tui_get_begin_asm_address): Update.
1437 * valops.c (find_function_in_inferior): Update.
1438 * value.c (value_static_field, value_fn_field): Update.
1440 2014-02-26 Tom Tromey <tromey@redhat.com>
1442 * ada-lang.c (ada_update_initial_language): Update.
1443 (ada_main_name, ada_has_this_exception_support): Update.
1444 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
1445 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
1446 * arm-tdep.c (arm_skip_stub): Update.
1447 * auxv.c (ld_so_xfer_auxv): Update.
1448 * avr-tdep.c (avr_scan_prologue): Update.
1449 * ax-gdb.c (gen_var_ref): Update.
1450 * breakpoint.c (struct breakpoint_objfile_data)
1451 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
1452 type to bound_minimal_symbol.
1453 (create_overlay_event_breakpoint)
1454 (create_longjmp_master_breakpoint)
1455 (create_std_terminate_master_breakpoint)
1456 (create_exception_master_breakpoint): Update.
1457 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
1458 * c-exp.y (classify_name): Update.
1459 * coffread.c (coff_symfile_read): Update.
1460 * common/agent.c (agent_look_up_symbols): Update.
1461 * d-lang.c (d_main_name): Update.
1462 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
1463 * dec-thread.c (enable_dec_thread): Update.
1464 * dwarf2loc.c (call_site_to_target_addr): Update.
1465 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
1466 * eval.c (evaluate_subexp_standard): Update.
1467 * findvar.c (struct minsym_lookup_data) <result>: Change type
1468 to bound_minimal_symbol.
1470 (minsym_lookup_iterator_cb, default_read_var_value): Update.
1471 * frame.c (inside_main_func): Update.
1472 * frv-tdep.c (frv_frame_this_id): Update.
1473 * gcore.c (call_target_sbrk): Update.
1474 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
1475 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
1477 * go-lang.c (go_main_name): Update.
1478 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
1479 (hppa_hpux_find_import_stub_for_addr): Update.
1480 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
1481 Update. Change return type.
1482 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
1484 * jit.c (jit_breakpoint_re_set_internal): Update.
1485 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
1487 * linux-nat.c (get_signo): Update.
1488 * linux-thread-db.c (inferior_has_bug): Update
1489 * m32c-tdep.c (m32c_return_value)
1490 (m32c_m16c_address_to_pointer): Update.
1491 * m32r-tdep.c (m32r_frame_this_id): Update.
1492 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
1493 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
1494 * minsyms.c (lookup_minimal_symbol_internal): Rename to
1495 lookup_minimal_symbol. Change return type.
1496 (lookup_minimal_symbol): Remove.
1497 (lookup_bound_minimal_symbol): Update.
1498 (lookup_minimal_symbol_text): Change return type.
1499 (lookup_minimal_symbol_solib_trampoline): Change return type.
1500 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
1501 (lookup_minimal_symbol_solib_trampoline): Change return type.
1502 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
1503 * objc-lang.c (lookup_objc_class, lookup_child_selector)
1504 (value_nsstring, find_imps): Update.
1505 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
1506 * p-lang.c (pascal_main_name): Update.
1507 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
1508 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
1509 * proc-service.c (ps_pglobal_lookup): Update.
1510 * ravenscar-thread.c (get_running_thread_msymbol): Change
1512 (has_ravenscar_runtime, get_running_thread_id): Update.
1513 * remote.c (remote_check_symbols): Update.
1514 * sol-thread.c (ps_pglobal_lookup): Update.
1515 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
1516 * solib-dsbt.c (lm_base): Update.
1517 * solib-frv.c (lm_base, frv_relocate_section_addresses):
1519 * solib-irix.c (locate_base): Update.
1520 * solib-som.c (som_solib_create_inferior_hook)
1521 (som_solib_desire_dynamic_linker_symbols, link_map_start):
1523 * solib-spu.c (spu_enable_break): Update.
1524 * solib-svr4.c (elf_locate_base, enable_break): Update.
1525 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
1526 (flush_ea_cache): Update.
1527 * stabsread.c (define_symbol): Update.
1528 * symfile.c (simple_read_overlay_table): Update.
1529 * symtab.c (find_pc_sect_line): Update.
1530 * tracepoint.c (scope_info): Update.
1531 * tui-disasm.c (tui_get_begin_asm_address): Update.
1532 * value.c (value_static_field): Update.
1534 2014-02-26 Tom Tromey <tromey@redhat.com>
1536 * minsyms.c (prim_record_minimal_symbol_full): Use
1537 SET_MSYMBOL_VALUE_ADDRESS.
1538 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
1539 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
1540 SET_MSYMBOL_VALUE_ADDRESS.
1541 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
1542 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
1544 2014-02-26 Tom Tromey <tromey@redhat.com>
1546 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
1547 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
1548 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
1549 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
1550 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
1551 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
1552 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
1553 * ada-lang.c (ada_main_name): Update.
1554 (ada_lookup_simple_minsym): Update.
1555 (ada_make_symbol_completion_list): Update.
1556 (ada_add_standard_exceptions): Update.
1557 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
1558 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
1559 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
1560 * arm-tdep.c (skip_prologue_function): Update.
1561 (arm_skip_stack_protector, arm_skip_stub): Update.
1562 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
1563 (arm_wince_skip_main_prologue): Update.
1564 * auxv.c (ld_so_xfer_auxv): Update.
1565 * avr-tdep.c (avr_scan_prologue): Update.
1566 * ax-gdb.c (gen_var_ref): Update.
1567 * block.c (call_site_for_pc): Update.
1568 * blockframe.c (get_pc_function_start): Update.
1569 (find_pc_partial_function_gnu_ifunc): Update.
1570 * breakpoint.c (create_overlay_event_breakpoint): Update.
1571 (create_longjmp_master_breakpoint): Update.
1572 (create_std_terminate_master_breakpoint): Update.
1573 (create_exception_master_breakpoint): Update.
1574 (resolve_sal_pc): Update.
1575 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
1576 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
1578 * c-valprint.c (c_val_print): Update.
1579 * coff-pe-read.c (add_pe_forwarded_sym): Update.
1580 * coffread.c (coff_symfile_read): Update.
1581 * common/agent.c (agent_look_up_symbols): Update.
1582 * dbxread.c (find_stab_function_addr): Update.
1583 (end_psymtab): Update.
1584 * dwarf2loc.c (call_site_to_target_addr): Update.
1585 (func_verify_no_selftailcall): Update.
1586 (tailcall_dump): Update.
1587 (call_site_find_chain_1): Update.
1588 (dwarf_expr_reg_to_entry_parameter): Update.
1589 * elfread.c (elf_gnu_ifunc_record_cache): Update.
1590 (elf_gnu_ifunc_resolve_by_got): Update.
1591 * f-valprint.c (info_common_command): Update.
1592 * findvar.c (read_var_value): Update.
1593 * frame.c (get_prev_frame_1): Update.
1594 (inside_main_func): Update.
1595 * frv-tdep.c (frv_skip_main_prologue): Update.
1596 (frv_frame_this_id): Update.
1597 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
1598 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
1599 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
1600 (gnuv3_skip_trampoline): Update.
1601 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
1602 (hppa64_hpux_in_solib_call_trampoline): Update.
1603 (hppa_hpux_skip_trampoline_code): Update.
1604 (hppa64_hpux_search_dummy_call_sequence): Update.
1605 (hppa_hpux_find_import_stub_for_addr): Update.
1606 (hppa_hpux_find_dummy_bpaddr): Update.
1607 * hppa-tdep.c (hppa_symbol_address)
1608 (hppa_lookup_stub_minimal_symbol): Update.
1609 * i386-tdep.c (i386_skip_main_prologue): Update.
1610 (i386_pe_skip_trampoline_code): Update.
1611 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
1612 * infcall.c (get_function_name): Update.
1613 * infcmd.c (until_next_command): Update.
1614 * jit.c (jit_breakpoint_re_set_internal): Update.
1615 (jit_inferior_init): Update.
1616 * linespec.c (minsym_found): Update.
1617 (add_minsym): Update.
1618 * linux-fork.c (info_checkpoints_command): Update.
1619 * linux-nat.c (get_signo): Update.
1620 * linux-thread-db.c (inferior_has_bug): Update.
1621 * m32c-tdep.c (m32c_return_value): Update.
1622 (m32c_m16c_address_to_pointer): Update.
1623 (m32c_m16c_pointer_to_address): 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 * maint.c (maintenance_translate_address): Update.
1628 * minsyms.c (add_minsym_to_hash_table): Update.
1629 (add_minsym_to_demangled_hash_table): Update.
1630 (msymbol_objfile): Update.
1631 (lookup_minimal_symbol): Update.
1632 (iterate_over_minimal_symbols): Update.
1633 (lookup_minimal_symbol_text): Update.
1634 (lookup_minimal_symbol_by_pc_name): Update.
1635 (lookup_minimal_symbol_solib_trampoline): Update.
1636 (lookup_minimal_symbol_by_pc_section_1): Update.
1637 (lookup_minimal_symbol_and_objfile): Update.
1638 (prim_record_minimal_symbol_full): Update.
1639 (compare_minimal_symbols): Update.
1640 (compact_minimal_symbols): Update.
1641 (build_minimal_symbol_hash_tables): Update.
1642 (install_minimal_symbols): Update.
1643 (terminate_minimal_symbol_table): Update.
1644 (find_solib_trampoline_target): Update.
1645 (minimal_symbol_upper_bound): Update.
1646 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
1647 * mips-tdep.c (mips_stub_frame_sniffer): Update.
1648 (mips_skip_pic_trampoline_code): Update.
1649 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
1650 * objc-lang.c (selectors_info): Update.
1651 (classes_info): Update.
1652 (find_methods): Update.
1653 (find_imps): Update.
1654 (find_objc_msgsend): Update.
1655 * objfiles.c (objfile_relocate1): Update.
1656 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
1657 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
1658 * p-valprint.c (pascal_val_print): Update.
1659 * parse.c (write_exp_msymbol): Update.
1660 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
1661 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
1662 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
1663 * printcmd.c (build_address_symbolic): Update.
1665 (address_info): Update.
1666 * proc-service.c (ps_pglobal_lookup): Update.
1667 * psymtab.c (find_pc_sect_psymtab_closer): Update.
1668 (find_pc_sect_psymtab): Update.
1669 * python/py-framefilter.c (py_print_frame): Update.
1670 * ravenscar-thread.c (get_running_thread_id): Update.
1671 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
1673 * remote.c (remote_check_symbols): Update.
1674 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
1675 (rs6000_skip_trampoline_code): Update.
1676 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
1677 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
1678 * solib-dsbt.c (lm_base): Update.
1679 * solib-frv.c (lm_base): Update.
1681 * solib-irix.c (locate_base): Update.
1682 * solib-som.c (som_solib_create_inferior_hook): Update.
1683 (som_solib_desire_dynamic_linker_symbols): Update.
1684 (link_map_start): Update.
1685 * solib-spu.c (spu_enable_break): Update.
1686 (ocl_enable_break): Update.
1687 * solib-svr4.c (elf_locate_base): Update.
1688 (enable_break): Update.
1689 * spu-tdep.c (spu_get_overlay_table): Update.
1690 (spu_catch_start): Update.
1691 (flush_ea_cache): Update.
1692 * stabsread.c (define_symbol): Update.
1693 (scan_file_globals): Update.
1694 * stack.c (find_frame_funname): Update.
1695 (frame_info): Update.
1696 * symfile.c (simple_read_overlay_table): Update.
1697 (simple_overlay_update): Update.
1698 * symmisc.c (dump_msymbols): Update.
1699 * symtab.c (fixup_section): Update.
1700 (find_pc_sect_line): Update.
1701 (skip_prologue_sal): Update.
1702 (search_symbols): Update.
1703 (print_msymbol_info): Update.
1704 (rbreak_command): Update.
1705 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
1706 (completion_list_objc_symbol): Update.
1707 (default_make_symbol_completion_list_break_on): Update.
1708 * tracepoint.c (scope_info): Update.
1709 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
1710 (tui_get_begin_asm_address): Update.
1711 * valops.c (find_function_in_inferior): Update.
1712 * value.c (value_static_field): Update.
1713 (value_fn_field): Update.
1715 2014-02-26 Tom Tromey <tromey@redhat.com>
1717 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
1718 bound minimal symbols. Move code that knows about minsym
1720 * minsyms.c (minimal_symbol_upper_bound): ... here. New
1722 * minsyms.h (minimal_symbol_upper_bound): Declare.
1723 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
1724 minimal_symbol_upper_bound.
1726 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1728 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
1729 Use the type's name if its basic type does not have a tag.
1731 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1733 * dwarf2read.c (read_subrange_type): Add comment.
1735 2014-02-27 Joel Brobecker <brobecker@adacore.com>
1737 * dwarf2read.c (update_enumeration_type_from_children): New
1738 function, mostly extracted from process_structure_scope.
1739 (read_enumeration_type): Call update_enumeration_type_from_children.
1740 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
1741 and flag_flag_enum fields.
1743 2014-02-26 Pedro Alves <palves@redhat.com>
1745 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
1746 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
1747 to_xfer_partial method.
1749 2014-02-26 Pedro Alves <palves@redhat.com>
1751 * target.c (complete_target_initialization): Don't install
1752 default_xfer_partial as to_xfer_partial hook.
1754 (update_current_target): Don't INHERIT nor de_fault
1755 deprecated_xfer_memory. Delete de_fault macro.
1756 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
1757 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
1758 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
1761 2014-02-26 Pedro Alves <palves@redhat.com>
1763 * go32-nat.c (my_write_child): New function.
1764 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
1765 (go32_xfer_partial): New function.
1766 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
1767 Instead install a to_xfer_partial hook.
1769 2014-02-26 Pedro Alves <palves@redhat.com>
1771 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
1772 to_xfer_partial helper. Rewrite.
1773 (procfs_xfer_partial): New function.
1774 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
1775 Install a to_xfer_partial hook.
1777 2014-02-26 Pedro Alves <palves@redhat.com>
1779 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
1780 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
1781 (m32r_xfer_partial): New function.
1782 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
1783 Install a to_xfer_partial hook.
1785 2014-02-26 Pedro Alves <palves@redhat.com>
1787 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
1789 (mips_xfer_partial): New function.
1790 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
1791 hook. Install a to_xfer_partial hook.
1793 2014-02-26 Joel Brobecker <brobecker@adacore.com>
1795 * gdbtypes.h (create_array_type_with_stride): Add declaration.
1796 * gdbtypes.c (create_array_type_with_stride): New function,
1797 renaming create_array_type, but with an added parameter
1798 called "bit_stride".
1799 (create_array_type): Re-implement using
1800 create_array_type_with_stride.
1801 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
1802 and DW_AT_bit_stride attributes.
1804 2014-02-26 Pedro Alves <palves@redhat.com>
1806 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
1807 task-specific breakpoints.
1809 2014-02-25 Pedro Alves <palves@redhat.com>
1811 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
1812 handling of object == TARGET_OBJECT_UNWIND_TABLE.
1814 2014-02-25 Stan Shebs <stan@codesourcery.com>
1816 * defs.h: Annotate comments for Doxygen.
1818 2014-02-25 Tom Tromey <tromey@redhat.com>
1820 * target.h (target_ignore): Don't declare.
1821 * target.c (target_ignore): Remove.
1823 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1826 * auto-load.c (auto_load_objfile_script_1): Change filename to
1829 2014-02-25 Joel Brobecker <brobecker@adacore.com>
1831 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
1832 documentation. Adjust prototype to match the target_ops
1833 to_xfer_partial method. Adjust implementation accordingly.
1835 2014-02-25 Hui Zhu <hui@codesourcery.com>
1837 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
1840 2014-02-25 Kevin Buettner <kevinb@redhat.com>
1842 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
1843 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
1844 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
1845 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
1846 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
1847 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
1848 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
1849 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
1851 (rl78_register_type): Use a data pointer type for SP and
1852 new pseudo registers mentioned above. Use a 16 bit integer
1853 type for all other register pairs.
1854 (rl78_register_name, rl78_g10_register_name): Update for
1855 new pseudo registers.
1856 (rl78_pseudo_register_read): Likewise.
1857 (rl78_pseudo_register_write): Likewise.
1858 (rl78_dwarf_reg_to_regnum): Return register numbers representing
1859 to the newly added pseudo registers.
1861 2014-02-24 Doug Evans <dje@google.com>
1863 * value.c (record_latest_value): Fix comment.
1864 * printcmd.c (print_command_1): Remove code to handle -1 return from
1865 record_latest_value.
1867 2014-02-24 Pedro Alves <palves@redhat.com>
1869 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
1870 deprecated_xfer_memory hook.
1871 (procfs_xfer_partial): Call procfs_xfer_memory instead
1872 of the deprecated_xfer_memory target hook.
1873 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
1876 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
1878 * windows-nat.c (windows_xfer_shared_libraries): Return
1879 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
1880 requested object is TARGET_OBJECT_LIBRARIES.
1882 2014-02-24 Yao Qi <yao@codesourcery.com>
1884 * target.h (enum target_xfer_status)
1885 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
1886 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
1888 * corefile.c (memory_error_message): User updated.
1889 * exec.c (section_table_read_available_memory): Likewise.
1890 * record-btrace.c (record_btrace_xfer_partial): Likewise.
1891 * target.c (target_xfer_status_to_string): Likewise.
1892 (raw_memory_xfer_partial): Likewise.
1893 (memory_xfer_partial_1, target_xfer_partial): Likewise.
1894 * valops.c (read_value_memory): Likewise.
1895 * exec.h: Update comments.
1897 2014-02-24 Yao Qi <yao@codesourcery.com>
1899 * target.c (target_xfer_status_to_string): Rename argument err
1901 * target.h (target_xfer_status_to_string): Update declaration.
1902 Replace target_xfer_error_to_string with
1903 target_xfer_status_to_string in comment.
1905 2014-02-24 Yao Qi <yao@codesourcery.com>
1907 * mips-linux-nat.c (super_close): Update its type.
1908 (mips_linux_close): Pass 'self' to super_close.
1910 2014-02-24 Yao Qi <yao@codesourcery.com>
1912 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
1913 * corefile.c (read_memory): Adjusted.
1914 * target.c (target_write_with_progress): Adjusted.
1916 2014-02-23 Yao Qi <yao@codesourcery.com>
1920 2013-10-25 Yao Qi <yao@codesourcery.com>
1922 * remote.c (remote_traceframe_info): Return early if
1923 traceframe is not selected.
1925 2013-07-19 Yao Qi <yao@codesourcery.com>
1927 * target.c (update_current_target): Change the default action
1928 of 'to_traceframe_info' from tcomplain to return_zero.
1929 * target.h (struct target_ops) <to_traceframe_info>: Add more
1932 2014-02-23 Yao Qi <yao@codesourcery.com>
1934 * valops.c (read_value_memory): Rewrite it. Call
1935 target_xfer_partial in a loop.
1936 * exec.h (section_table_available_memory): Remove declaration.
1937 Move comments to ...
1938 * exec.c (section_table_available_memory): ... here. Make it
1941 2014-02-23 Yao Qi <yao@codesourcery.com>
1943 * exec.c (section_table_read_available_memory): New function.
1944 * exec.h (section_table_read_available_memory): Declare.
1945 * ctf.c (ctf_xfer_partial): Call
1946 section_table_read_available_memory.
1947 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1949 2014-02-23 Yao Qi <yao@codesourcery.com>
1951 * ctf.c (ctf_xfer_partial): Move code to ...
1952 * exec.c (exec_read_partial_read_only): ... it. New function.
1953 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
1954 * tracefile.c: Include "exec.h".
1955 * exec.h (exec_read_partial_read_only): Declare.
1957 2014-02-23 Yao Qi <yao@codesourcery.com>
1959 * tracefile-tfile.c (tfile_has_all_memory): Remove.
1960 (tfile_has_memory): Remove.
1961 (init_tfile_ops): Don't set fields to_has_all_memory and
1962 to_has_memory of tfile_ops.
1963 * tracefile.c (tracefile_has_all_memory): New function.
1964 (tracefile_has_memory): New function.
1965 (init_tracefile_ops): Initialize fields to_has_all_memory and
1966 to_has_memory of 'ops'.
1968 2014-02-23 Yao Qi <yao@codesourcery.com>
1970 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
1971 (ctf_thread_alive, ctf_get_trace_status): Remove.
1972 (init_ctf_ops): Don't set some fields of ctf_ops. Call
1974 * tracefile-tfile.c (tfile_get_trace_status): Remove.
1975 (tfile_has_stack, tfile_has_registers): Remove.
1976 (tfile_thread_alive): Remove.
1977 (init_tfile_ops): Don't set some fields of tfile_ops. Call
1979 * tracefile.c (tracefile_has_stack): New function.
1980 (tracefile_has_registers): New function.
1981 (tracefile_thread_alive): New function.
1982 (tracefile_get_trace_status): New function.
1983 (init_tracefile_ops): New function.
1984 * tracefile.h (init_tracefile_ops): Declare.
1986 2014-02-23 Yao Qi <yao@codesourcery.com>
1988 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
1989 (O_LARGEFILE): Likewise.
1990 (tfile_ops): Likewise.
1991 (TRACE_HEADER_SIZE): Likewise.
1992 (trace_fd, trace_frames_offset, cur_offset): Likewise.
1993 (cur_data_size): Likewise.
1994 (tfile_read, tfile_open, tfile_interp_line): Likewise.
1995 (tfile_close, tfile_files_info): Likewise.
1996 (tfile_get_trace_status): Likewise.
1997 (tfile_get_tracepoint_status): Likewise.
1998 (tfile_get_traceframe_address): Likewise.
1999 (tfile_trace_find, match_blocktype): Likewise.
2000 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
2001 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
2002 (tfile_get_trace_state_variable_value): Likewise.
2003 (tfile_has_all_memory, tfile_has_memory): Likewise.
2004 (tfile_has_stack, tfile_has_registers): Likewise.
2005 (tfile_thread_alive, build_traceframe_info): Likewise.
2006 (tfile_traceframe_info, init_tfile_ops): Likewise.
2007 (_initialize_tracepoint): Don't call init_tfile_ops
2008 and add_target_with_completer.
2009 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
2010 exec.h, completer.h and filenames.h.
2011 (_initialize_tracefile_tfile): New function.
2013 2014-02-23 Yao Qi <yao@codesourcery.com>
2015 * Makefile.in (REMOTE_OBS): Append tracefile.o and
2017 (HFILES_NO_SRCDIR): Add tracefile.h.
2018 * ctf.c: Include "tracefile.h".
2019 * tracefile.h: New file.
2020 * tracefile.c: New file
2021 * tracefile-tfile.c: New file.
2022 * tracepoint.c: Include "tracefile.h".
2023 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
2024 (stop_reason_names): Add const.
2025 (trace_file_writer_xfree): Move it to tracefile.c.
2026 (trace_save, trace_save_command, trace_save_tfile): Likewise.
2027 (trace_save_ctf): Likewise.
2028 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
2029 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
2030 (tfile_write_header, tfile_write_regblock_type): Likewise.
2031 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
2032 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
2033 (tfile_write_raw_data, tfile_end): Likewise.
2034 (tfile_trace_file_writer_new): Likewise.
2035 (free_uploaded_tp): Make it extern.
2036 (free_uploaded_tsv): Make it extern.
2037 (_initialize_tracepoint): Move code to register command 'tsave'
2039 * tracepoint.h (stop_reason_names): Declare.
2040 (struct trace_frame_write_ops): Move it to tracefile.h.
2041 (struct trace_file_write_ops): Likewise.
2042 (struct trace_file_writer): Likewise.
2043 (free_uploaded_tsvs, free_uploaded_tps): Declare.
2045 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2048 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
2050 (get_cores_used_by_process): New parameter num_cores, use it.
2051 (linux_xfer_osdata_processes): Pass num_cores to it.
2052 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
2055 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
2057 * target.c (memory_xfer_partial): Fix length arg in call to
2058 breakpoint_xfer_memory.
2060 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2063 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
2064 number comes after the + or - signs. Adjust length of register
2065 name to be extracted.
2067 2014-02-20 Tom Tromey <tromey@redhat.com>
2069 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
2070 (ada_varobj_ops): Mark "extern".
2072 2014-02-20 Tom Tromey <tromey@redhat.com>
2074 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
2076 2014-02-20 Doug Evans <xdje42@gmail.com>
2078 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
2079 All callers updated.
2080 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
2081 All callers updated.
2082 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
2083 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
2085 2014-02-20 lin zuojian <manjian2006@gmail.com>
2086 Joel Brobecker <brobecker@adacore.com>
2087 Doug Evans <xdje42@gmail.com>
2090 * dwarf2read.c (struct die_info): New member in_process.
2091 (reset_die_in_process): New function.
2092 (process_die): Set it at the start, reset when returning.
2093 (inherit_abstract_dies): Only call process_die if origin_child_die
2094 not already being processed.
2096 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2098 * windows-nat.c (handle_unload_dll): Add function documentation.
2099 (do_initial_windows_stuff): Add comment explaining why we wait
2100 until after inferior initialization has finished before
2101 processing all DLLs.
2103 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2105 * windows-nat.c (get_module_name): Delete.
2106 (windows_get_exec_module_filename): New function, mostly
2107 inspired from get_module_name.
2108 (windows_pid_to_exec_file): Replace call to get_module_name
2109 by call to windows_get_exec_module_filename.
2111 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2113 * windows-nat.c (handle_load_dll): Rewrite this function's
2114 introductory comment. Remove code using get_module_name
2115 to get the DLL's name.
2117 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2119 * windows-nat.c (get_windows_debug_event): Ignore
2120 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
2121 if windows_initialization_done == 0.
2122 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
2123 Adjust implementation to always load all DLLs.
2124 (do_initial_windows_stuff): Replace call to
2125 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
2127 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2129 * windows-nat.c (_initialize_windows_nat): Deprecate the
2130 "dll-symbols" command. Turn the "add-shared-symbol-files"
2131 and "assf" aliases into commands, and deprecate them as well.
2132 * NEWS: Add entry explaining that "dll-symbols" and its two
2133 aliases are now deprecated.
2135 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2137 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
2138 new-line in debug string. Remove trailing spaces.
2140 2014-02-19 Stan Shebs <stan@codesourcery.com>
2142 * darwin-nat.c (darwin_xfer_partial): Fix return type.
2144 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2146 * NEWS: Add entry for the new feature
2147 * python/py-value.c (valpy_binop): Call value_x_binop for struct
2150 2014-02-19 Stan Shebs <stan@codesourcery.com>
2152 * MAINTAINERS: List Yao Qi as nios2 maintainer.
2154 2014-02-19 Pedro Alves <palves@redhat.com>
2156 * common/ptid.h (struct ptid): Mention that process_stratum
2157 targets should prefer ptid.lwp.
2159 2014-02-19 Pedro Alves <palves@redhat.com>
2161 * remote.c (remote_thread_alive, write_ptid, read_ptid)
2162 (read_ptid, remote_newthread_step, remote_threads_extra_info)
2163 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
2164 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
2165 store remote thread ids rather than ptid.tid.
2166 (_initialize_remote): Adjust.
2168 2014-02-19 Tom Tromey <tromey@redhat.com>
2170 * target.c (target_get_unwinder): Rewrite.
2171 (target_get_tailcall_unwinder): Rewrite.
2172 * record-btrace.c (record_btrace_to_get_unwinder): New function.
2173 (record_btrace_to_get_tailcall_unwinder): New function.
2174 (init_record_btrace_ops): Update.
2175 * target.h (struct target_ops) <to_get_unwinder,
2176 to_get_tailcall_unwinder>: Now function pointers. Use
2177 TARGET_DEFAULT_RETURN.
2179 2014-02-19 Tom Tromey <tromey@redhat.com>
2181 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
2183 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
2185 2014-02-19 Tom Tromey <tromey@redhat.com>
2187 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
2189 * target-delegates.c: Rebuild.
2190 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
2191 TARGET_DEFAULT_FUNC.
2192 * target.c (default_target_decr_pc_after_break): Rename from
2193 forward_target_decr_pc_after_break. Simplify.
2194 (target_decr_pc_after_break): Rely on delegation.
2196 2014-02-19 Tom Tromey <tromey@redhat.com>
2198 * target.c (update_current_target): Do not INHERIT to_doc or
2199 to_magic. Do not de_fault to_open or to_close.
2201 2014-02-19 Tom Tromey <tromey@redhat.com>
2203 * gcore.h (objfile_find_memory_regions): Declare.
2204 * gcore.c (objfile_find_memory_regions): No longer static. Add
2206 (_initialize_gcore): Don't call exec_set_find_memory_regions.
2207 * exec.c: Include gcore.h.
2208 (exec_set_find_memory_regions): Remove.
2209 (exec_find_memory_regions): Remove.
2210 (exec_do_find_memory_regions): Remove.
2211 (init_exec_ops): Update.
2212 * defs.h (exec_set_find_memory_regions): Remove.
2214 2014-02-19 Tom Tromey <tromey@redhat.com>
2216 * target-delegates.c: Rebuild.
2217 * target.h (struct target_ops) <to_extra_thread_info,
2218 to_thread_name, to_pid_to_exec_file, to_get_section_table,
2219 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
2220 not 0, in TARGET_DEFAULT_RETURN.
2222 2014-02-19 Tom Tromey <tromey@redhat.com>
2224 * target.c (complete_target_initialization): Remove casts. Use
2225 return_zero_has_execution.
2226 (return_zero): Add "ignore" argument.
2227 (return_zero_has_execution): New function.
2228 (init_dummy_target): Remove casts. Use
2229 return_zero_has_execution.
2231 2014-02-19 Tom Tromey <tromey@redhat.com>
2233 * target.c (update_current_target): Update comments. Do not
2236 2014-02-19 Tom Tromey <tromey@redhat.com>
2238 * arm-linux-nat.c (arm_linux_read_description): Delegate when
2240 * corelow.c (core_read_description): Delegate when needed.
2241 * remote.c (remote_read_description): Delegate when needed.
2242 * target-delegates.c: Rebuild.
2243 * target.c (target_read_description): Rewrite.
2244 * target.h (struct target_ops) <to_read_description>: Update
2245 comment. Use TARGET_DEFAULT_RETURN.
2247 2014-02-19 Tom Tromey <tromey@redhat.com>
2249 * target-delegates.c: Rebuild.
2250 * target.c (update_current_target): Don't inherit or default
2252 (find_default_run_target): Check against delegate_can_run.
2253 * target.h (struct target_ops) <to_can_run>: Use
2254 TARGET_DEFAULT_RETURN.
2256 2014-02-19 Tom Tromey <tromey@redhat.com>
2258 * target-delegates.c: Rebuild.
2259 * target.c (target_disconnect): Unconditionally delegate.
2260 * target.h (struct target_ops) <to_disconnect>: Use
2261 TARGET_DEFAULT_NORETURN.
2263 2014-02-19 Tom Tromey <tromey@redhat.com>
2265 * record.c (record_stop): Unconditionally delegate.
2266 * target-delegates.c: Rebuild.
2267 * target.c (target_stop_recording): Unconditionally delegate.
2268 * target.h (struct target_ops) <to_stop_recording>: Use
2269 TARGET_DEFAULT_IGNORE.
2271 2014-02-19 Tom Tromey <tromey@redhat.com>
2273 * target-delegates.c: Rebuild.
2274 * target.c (target_enable_btrace): Unconditionally delegate.
2275 * target.h (struct target_ops) <to_enable_btrace>: Use
2276 TARGET_DEFAULT_NORETURN.
2278 2014-02-19 Tom Tromey <tromey@redhat.com>
2280 * target-delegates.c: Rebuild.
2281 * target.c (target_read_btrace): Unconditionally delegate.
2282 * target.h (struct target_ops) <to_read_btrace>: Use
2283 TARGET_DEFAULT_NORETURN.
2285 2014-02-19 Tom Tromey <tromey@redhat.com>
2287 * target-delegates.c: Rebuild.
2288 * target.c (target_teardown_btrace): Unconditionally delegate.
2289 * target.h (struct target_ops) <to_teardown_btrace>: Use
2290 TARGET_DEFAULT_NORETURN.
2292 2014-02-19 Tom Tromey <tromey@redhat.com>
2294 * target-delegates.c: Rebuild.
2295 * target.c (target_disable_btrace): Unconditionally delegate.
2296 * target.h (struct target_ops) <to_disable_btrace>: Use
2297 TARGET_DEFAULT_NORETURN.
2299 2014-02-19 Tom Tromey <tromey@redhat.com>
2301 * target-delegates.c: Rebuild.
2302 * target.c (default_search_memory): New function.
2303 (simple_search_memory): Update comment.
2304 (target_search_memory): Unconditionally delegate.
2305 * target.h (struct target_ops) <to_search_memory>: Use
2306 TARGET_DEFAULT_FUNC.
2308 2014-02-19 Tom Tromey <tromey@redhat.com>
2310 * auxv.c (default_auxv_parse): No longer static.
2311 (target_auxv_parse): Unconditionally delegate.
2312 * auxv.h (default_auxv_parse): Declare.
2313 * target-delegates.c: Rebuild.
2314 * target.c: Include auxv.h.
2315 * target.h (struct target_ops) <to_auxv_parse>: Use
2316 TARGET_DEFAULT_FUNC.
2318 2014-02-19 Tom Tromey <tromey@redhat.com>
2320 * target-delegates.c: Rebuild.
2321 * target.c (target_memory_map): Unconditionally delegate.
2322 * target.h (struct target_ops) <to_memory_map>: Use
2323 TARGET_DEFAULT_RETURN.
2325 2014-02-19 Tom Tromey <tromey@redhat.com>
2327 * target-delegates.c: Rebuild.
2328 * target.c (target_thread_alive): Unconditionally delegate.
2329 * target.h (struct target_ops) <to_thread_alive>: Use
2330 TARGET_DEFAULT_RETURN.
2332 2014-02-19 Tom Tromey <tromey@redhat.com>
2334 * target-delegates.c: Rebuild.
2335 * target.c (target_save_record): Unconditionally delegate.
2336 * target.h (struct target_ops) <to_save_record>: Use
2337 TARGET_DEFAULT_NORETURN.
2339 2014-02-19 Tom Tromey <tromey@redhat.com>
2341 * target-delegates.c: Rebuild.
2342 * target.c (target_delete_record): Unconditionally delegate.
2343 * target.h (struct target_ops) <to_delete_record>: Use
2344 TARGET_DEFAULT_NORETURN.
2346 2014-02-19 Tom Tromey <tromey@redhat.com>
2348 * target-delegates.c: Rebuild.
2349 * target.c (target_record_is_replaying): Unconditionally
2351 * target.h (struct target_ops) <to_record_is_replaying>: Use
2352 TARGET_DEFAULT_RETURN.
2354 2014-02-19 Tom Tromey <tromey@redhat.com>
2356 * target-delegates.c: Rebuild.
2357 * target.c (target_goto_record_begin): Unconditionally delegate.
2358 * target.h (struct target_ops) <to_goto_record_begin>: Use
2359 TARGET_DEFAULT_NORETURN.
2361 2014-02-19 Tom Tromey <tromey@redhat.com>
2363 * target-delegates.c: Rebuild.
2364 * target.c (target_goto_record_end): Unconditionally delegate.
2365 * target.h (struct target_ops) <to_goto_record_end>: Use
2366 TARGET_DEFAULT_NORETURN.
2368 2014-02-19 Tom Tromey <tromey@redhat.com>
2370 * target-delegates.c: Rebuild.
2371 * target.c (target_goto_record): Unconditionally delegate.
2372 * target.h (struct target_ops) <to_goto_record>: Use
2373 TARGET_DEFAULT_NORETURN.
2375 2014-02-19 Tom Tromey <tromey@redhat.com>
2377 * target-delegates.c: Rebuild.
2378 * target.c (target_insn_history): Unconditionally delegate.
2379 * target.h (struct target_ops) <to_insn_history>: Use
2380 TARGET_DEFAULT_NORETURN.
2382 2014-02-19 Tom Tromey <tromey@redhat.com>
2384 * target-delegates.c: Rebuild.
2385 * target.c (target_insn_history_from): Unconditionally delegate.
2386 * target.h (struct target_ops) <to_insn_history_from>: Use
2387 TARGET_DEFAULT_NORETURN.
2389 2014-02-19 Tom Tromey <tromey@redhat.com>
2391 * target-delegates.c: Rebuild.
2392 * target.c (target_insn_history_range): Unconditionally delegate.
2393 * target.h (struct target_ops) <to_insn_history_range>: Use
2394 TARGET_DEFAULT_NORETURN.
2396 2014-02-19 Tom Tromey <tromey@redhat.com>
2398 * target-delegates.c: Rebuild.
2399 * target.c (target_call_history): Unconditionally delegate.
2400 * target.h (struct target_ops) <to_call_history>: Use
2401 TARGET_DEFAULT_NORETURN.
2403 2014-02-19 Tom Tromey <tromey@redhat.com>
2405 * target-delegates.c: Rebuild.
2406 * target.c (target_call_history_from): Unconditionally delegate.
2407 * target.h (struct target_ops) <to_call_history_from>: Use
2408 TARGET_DEFAULT_NORETURN.
2410 2014-02-19 Tom Tromey <tromey@redhat.com>
2412 * target-delegates.c: Rebuild.
2413 * target.c (target_call_history_range): Unconditionally delegate.
2414 * target.h (struct target_ops) <to_call_history_range>: Use
2415 TARGET_DEFAULT_NORETURN.
2417 2014-02-19 Tom Tromey <tromey@redhat.com>
2419 * target-delegates.c: Rebuild.
2420 * target.c (target_verify_memory): Unconditionally delegate.
2421 * target.h (struct target_ops) <to_verify_memory>: Use
2422 TARGET_DEFAULT_NORETURN.
2424 2014-02-19 Tom Tromey <tromey@redhat.com>
2426 * target-delegates.c: Rebuild.
2427 * target.c (target_core_of_thread): Unconditionally delegate.
2428 * target.h (struct target_ops) <to_core_of_thread>: Use
2429 TARGET_DEFAULT_RETURN.
2431 2014-02-19 Tom Tromey <tromey@redhat.com>
2433 * target-delegates.c: Rebuild.
2434 * target.c (target_flash_done): Unconditionally delegate.
2435 * target.h (struct target_ops) <to_flash_done>: Use
2436 TARGET_DEFAULT_NORETURN.
2438 2014-02-19 Tom Tromey <tromey@redhat.com>
2440 * target-delegates.c: Rebuild.
2441 * target.c (target_flash_erase): Unconditionally delegate.
2442 * target.h (struct target_ops) <to_flash_erase>: Use
2443 TARGET_DEFAULT_NORETURN.
2445 2014-02-19 Tom Tromey <tromey@redhat.com>
2447 * target-delegates.c: Rebuild.
2448 * target.c (target_get_section_table): Unconditionally delegate.
2449 * target.h (struct target_ops) <to_get_section_table>: Use
2450 TARGET_DEFAULT_RETURN.
2452 2014-02-19 Tom Tromey <tromey@redhat.com>
2454 * target-delegates.c: Rebuild.
2455 * target.c (target_pid_to_str): Unconditionally delegate.
2456 (init_dummy_target): Don't initialize to_pid_to_str.
2457 (default_pid_to_str): Rename from dummy_pid_to_str.
2458 * target.h (struct target_ops) <to_pid_to_str>: Use
2459 TARGET_DEFAULT_FUNC.
2461 2014-02-19 Tom Tromey <tromey@redhat.com>
2463 * target-delegates.c: Rebuild.
2464 * target.c (target_find_new_threads): Unconditionally delegate.
2465 * target.h (struct target_ops) <to_find_new_threads>: Use
2466 TARGET_DEFAULT_RETURN.
2468 2014-02-19 Tom Tromey <tromey@redhat.com>
2470 * target-delegates.c: Rebuild.
2471 * target.c (target_program_signals): Unconditionally delegate.
2472 * target.h (struct target_ops) <to_program_signals>: Use
2473 TARGET_DEFAULT_IGNORE.
2475 2014-02-19 Tom Tromey <tromey@redhat.com>
2477 * target-delegates.c: Rebuild.
2478 * target.c (target_pass_signals): Unconditionally delegate.
2479 * target.h (struct target_ops) <to_pass_signals>: Use
2480 TARGET_DEFAULT_IGNORE.
2482 2014-02-19 Tom Tromey <tromey@redhat.com>
2484 * target-delegates.c: Rebuild.
2485 * target.c (default_mourn_inferior): New function.
2486 (target_mourn_inferior): Unconditionally delegate.
2487 * target.h (struct target_ops) <to_mourn_inferior>: Use
2488 TARGET_DEFAULT_FUNC.
2490 2014-02-19 Tom Tromey <tromey@redhat.com>
2492 * target-delegates.c: Rebuild.
2493 * target.c (default_follow_fork): New function.
2494 (target_follow_fork): Unconditionally delegate.
2495 * target.h (struct target_ops) <to_follow_fork>: Use
2496 TARGET_DEFAULT_FUNC.
2498 2014-02-19 Tom Tromey <tromey@redhat.com>
2500 * target-delegates.c: Rebuild.
2501 * target.c (target_kill): Unconditionally delegate.
2502 * target.h (struct target_ops) <to_kill>: Use
2503 TARGET_DEFAULT_NORETURN.
2505 2014-02-19 Tom Tromey <tromey@redhat.com>
2507 * target-delegates.c: Rebuild.
2508 * target.c (target_masked_watch_num_registers): Unconditionally
2510 * target.h (struct target_ops) <to_masked_watch_num_registers>:
2511 Use TARGET_DEFAULT_RETURN.
2513 2014-02-19 Tom Tromey <tromey@redhat.com>
2515 * target-delegates.c: Rebuild.
2516 * target.c (target_remove_mask_watchpoint): Unconditionally
2518 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
2519 TARGET_DEFAULT_RETURN.
2521 2014-02-19 Tom Tromey <tromey@redhat.com>
2523 * target-delegates.c: Rebuild.
2524 * target.c (target_insert_mask_watchpoint): Unconditionally
2526 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
2527 TARGET_DEFAULT_RETURN.
2529 2014-02-19 Tom Tromey <tromey@redhat.com>
2531 * target-delegates.c: Rebuild.
2532 * target.c (target_ranged_break_num_registers): Unconditionally
2534 * target.h (struct target_ops) <to_ranged_break_num_registers>:
2535 Use TARGET_DEFAULT_RETURN.
2537 2014-02-19 Tom Tromey <tromey@redhat.com>
2539 * target-delegates.c: Rebuild.
2540 * target.c (target_fetch_registers): Unconditionally delegate.
2541 * target.h (struct target_ops) <to_fetch_registers>: Use
2542 TARGET_DEFAULT_NORETURN.
2544 2014-02-19 Tom Tromey <tromey@redhat.com>
2546 * target-delegates.c: Rebuild.
2547 * target.c (update_current_target): Don't inherit or default
2549 * target.h (struct target_ops) <to_stop>: Use
2550 TARGET_DEFAULT_IGNORE.
2552 2014-02-19 Tom Tromey <tromey@redhat.com>
2554 * target-delegates.c: Rebuild.
2555 * target.c (update_current_target): Don't inherit or default
2556 to_can_run_breakpoint_commands.
2557 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
2558 Use TARGET_DEFAULT_RETURN.
2560 2014-02-19 Tom Tromey <tromey@redhat.com>
2562 * target-delegates.c: Rebuild.
2563 * target.c (update_current_target): Don't inherit or default
2564 to_supports_evaluation_of_breakpoint_conditions.
2565 * target.h (struct target_ops)
2566 <to_supports_evaluation_of_breakpoint_conditions>: Use
2567 TARGET_DEFAULT_RETURN.
2569 2014-02-19 Tom Tromey <tromey@redhat.com>
2571 * target-delegates.c: Rebuild.
2572 * target.c (update_current_target): Don't inherit or default
2573 to_augmented_libraries_svr4_read.
2574 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
2575 Use TARGET_DEFAULT_RETURN.
2577 2014-02-19 Tom Tromey <tromey@redhat.com>
2579 * target-delegates.c: Rebuild.
2580 * target.c (update_current_target): Don't inherit or default
2582 * target.h (struct target_ops) <to_can_use_agent>: Use
2583 TARGET_DEFAULT_RETURN.
2585 2014-02-19 Tom Tromey <tromey@redhat.com>
2587 * target-delegates.c: Rebuild.
2588 * target.c (update_current_target): Don't inherit or default
2590 * target.h (struct target_ops) <to_use_agent>: Use
2591 TARGET_DEFAULT_NORETURN.
2593 2014-02-19 Tom Tromey <tromey@redhat.com>
2595 * target-delegates.c: Rebuild.
2596 * target.c (update_current_target): Don't inherit or default
2598 (return_null): Remove.
2599 * target.h (struct target_ops) <to_traceframe_info>: Use
2600 TARGET_DEFAULT_RETURN.
2602 2014-02-19 Tom Tromey <tromey@redhat.com>
2604 * target-delegates.c: Rebuild.
2605 * target.c (update_current_target): Don't inherit or default
2606 to_static_tracepoint_markers_by_strid.
2607 * target.h (struct target_ops)
2608 <to_static_tracepoint_markers_by_strid>: Use
2609 TARGET_DEFAULT_NORETURN.
2611 2014-02-19 Tom Tromey <tromey@redhat.com>
2613 * target-delegates.c: Rebuild.
2614 * target.c (update_current_target): Don't inherit or default
2615 to_static_tracepoint_marker_at.
2616 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
2617 Use TARGET_DEFAULT_RETURN.
2619 2014-02-19 Tom Tromey <tromey@redhat.com>
2621 * target-delegates.c: Rebuild.
2622 * target.c (update_current_target): Don't inherit or default
2624 * target.h (struct target_ops) <to_set_permissions>: Use
2625 TARGET_DEFAULT_IGNORE.
2627 2014-02-19 Tom Tromey <tromey@redhat.com>
2629 * target-delegates.c: Rebuild.
2630 * target.c (update_current_target): Don't inherit or default
2632 * target.h (struct target_ops) <to_get_tib_address>: Use
2633 TARGET_DEFAULT_NORETURN.
2635 2014-02-19 Tom Tromey <tromey@redhat.com>
2637 * target-delegates.c: Rebuild.
2638 * target.c (update_current_target): Don't inherit or default
2640 * target.h (struct target_ops) <to_set_trace_notes>: Use
2641 TARGET_DEFAULT_RETURN.
2643 2014-02-19 Tom Tromey <tromey@redhat.com>
2645 * target-delegates.c: Rebuild.
2646 * target.c (update_current_target): Don't initialize
2647 to_set_trace_buffer_size.
2648 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
2649 TARGET_DEFAULT_IGNORE.
2651 2014-02-19 Tom Tromey <tromey@redhat.com>
2653 * target-delegates.c: Rebuild.
2654 * target.c (update_current_target): Don't inherit or default
2655 to_set_circular_trace_buffer.
2656 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
2657 TARGET_DEFAULT_IGNORE.
2659 2014-02-19 Tom Tromey <tromey@redhat.com>
2661 * target-delegates.c: Rebuild.
2662 * target.c (update_current_target): Don't inherit or default
2663 to_set_disconnected_tracing.
2664 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
2665 TARGET_DEFAULT_IGNORE.
2667 2014-02-19 Tom Tromey <tromey@redhat.com>
2669 * target-delegates.c: Rebuild.
2670 * target.c (update_current_target): Don't inherit or default
2671 to_get_min_fast_tracepoint_insn_len.
2672 (return_minus_one): Remove.
2673 * target.h (struct target_ops)
2674 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
2676 2014-02-19 Tom Tromey <tromey@redhat.com>
2678 * target-delegates.c: Rebuild.
2679 * target.c (update_current_target): Don't inherit or default
2680 to_get_raw_trace_data.
2681 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
2682 TARGET_DEFAULT_NORETURN.
2684 2014-02-19 Tom Tromey <tromey@redhat.com>
2686 * target-delegates.c: Rebuild.
2687 * target.c (update_current_target): Don't inherit or default
2688 to_upload_trace_state_variables.
2689 * target.h (struct target_ops) <to_upload_trace_state_variables>:
2690 Use TARGET_DEFAULT_RETURN.
2692 2014-02-19 Tom Tromey <tromey@redhat.com>
2694 * target-delegates.c: Rebuild.
2695 * target.c (update_current_target): Don't inherit or default
2696 to_upload_tracepoints.
2697 * target.h (struct target_ops) <to_upload_tracepoints>: Use
2698 TARGET_DEFAULT_RETURN.
2700 2014-02-19 Tom Tromey <tromey@redhat.com>
2702 * target-delegates.c: Rebuild.
2703 * target.c (update_current_target): Don't inherit or default
2705 * target.h (struct target_ops) <to_save_trace_data>: Use
2706 TARGET_DEFAULT_NORETURN.
2708 2014-02-19 Tom Tromey <tromey@redhat.com>
2710 * target-delegates.c: Rebuild.
2711 * target.c (update_current_target): Don't inherit or default
2712 to_get_trace_state_variable_value.
2713 * target.h (struct target_ops)
2714 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
2716 2014-02-19 Tom Tromey <tromey@redhat.com>
2718 * target-delegates.c: Rebuild.
2719 * target.c (update_current_target): Don't inherit or default
2721 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
2723 2014-02-19 Tom Tromey <tromey@redhat.com>
2725 * target-delegates.c: Rebuild.
2726 * target.c (update_current_target): Don't inherit or default
2728 * target.h (struct target_ops) <to_trace_stop>: Use
2729 TARGET_DEFAULT_NORETURN.
2731 2014-02-19 Tom Tromey <tromey@redhat.com>
2733 * target-delegates.c: Rebuild.
2734 * target.c (update_current_target): Don't inherit or default
2735 to_get_tracepoint_status.
2736 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
2737 TARGET_DEFAULT_NORETURN.
2739 2014-02-19 Tom Tromey <tromey@redhat.com>
2741 * target-delegates.c: Rebuild.
2742 * target.c (update_current_target): Don't inherit or default
2743 to_get_trace_status.
2744 * target.h (struct target_ops) <to_get_trace_status>: Use
2745 TARGET_DEFAULT_RETURN.
2747 2014-02-19 Tom Tromey <tromey@redhat.com>
2749 * target-delegates.c: Rebuild.
2750 * target.c (update_current_target): Don't inherit or default
2752 * target.h (struct target_ops) <to_trace_start>: Use
2753 TARGET_DEFAULT_NORETURN.
2755 2014-02-19 Tom Tromey <tromey@redhat.com>
2757 * target-delegates.c: Rebuild.
2758 * target.c (update_current_target): Don't inherit or default
2759 to_trace_set_readonly_regions.
2760 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
2761 Use TARGET_DEFAULT_NORETURN.
2763 2014-02-19 Tom Tromey <tromey@redhat.com>
2765 * target-delegates.c: Rebuild.
2766 * target.c (update_current_target): Don't inherit or default
2767 to_disable_tracepoint.
2768 * target.h (struct target_ops) <to_disable_tracepoint>: Use
2769 TARGET_DEFAULT_NORETURN.
2771 2014-02-19 Tom Tromey <tromey@redhat.com>
2773 * target-delegates.c: Rebuild.
2774 * target.c (update_current_target): Don't inherit or default
2775 to_enable_tracepoint.
2776 * target.h (struct target_ops) <to_enable_tracepoint>: Use
2777 TARGET_DEFAULT_NORETURN.
2779 2014-02-19 Tom Tromey <tromey@redhat.com>
2781 * target-delegates.c: Rebuild.
2782 * target.c (update_current_target): Don't inherit or default
2783 to_download_trace_state_variable.
2784 * target.h (struct target_ops) <to_download_trace_state_variable>:
2785 Use TARGET_DEFAULT_NORETURN.
2787 2014-02-19 Tom Tromey <tromey@redhat.com>
2789 * target-delegates.c: Rebuild.
2790 * target.c (update_current_target): Don't inherit or default
2791 to_can_download_tracepoint.
2792 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
2793 TARGET_DEFAULT_RETURN.
2795 2014-02-19 Tom Tromey <tromey@redhat.com>
2797 * target-delegates.c: Rebuild.
2798 * target.c (update_current_target): Don't inherit or default
2799 to_download_tracepoint.
2800 * target.h (struct target_ops) <to_download_tracepoint>: Use
2801 TARGET_DEFAULT_NORETURN.
2803 2014-02-19 Tom Tromey <tromey@redhat.com>
2805 * target-delegates.c: Rebuild.
2806 * target.c (update_current_target): Don't inherit or default
2808 * target.h (struct target_ops) <to_trace_init>: Use
2809 TARGET_DEFAULT_RETURN.
2811 2014-02-19 Tom Tromey <tromey@redhat.com>
2813 * target-delegates.c: Rebuild.
2814 * target.c (update_current_target): Don't inherit or default
2815 to_supports_string_tracing.
2816 * target.h (struct target_ops) <to_supports_string_tracing>: Use
2817 TARGET_DEFAULT_RETURN.
2819 2014-02-19 Tom Tromey <tromey@redhat.com>
2821 * target-delegates.c: Rebuild.
2822 * target.c (update_current_target): Don't inherit or default
2823 to_supports_enable_disable_tracepoint.
2824 * target.h (struct target_ops)
2825 <to_supports_enable_disable_tracepoint>: Use
2826 TARGET_DEFAULT_RETURN.
2828 2014-02-19 Tom Tromey <tromey@redhat.com>
2830 * target-delegates.c: Rebuild.
2831 * target.c (update_current_target): Don't inherit or default
2832 to_supports_multi_process.
2833 * target.h (struct target_ops) <to_supports_multi_process>: Use
2834 TARGET_DEFAULT_RETURN.
2836 2014-02-19 Tom Tromey <tromey@redhat.com>
2838 * target-delegates.c: Rebuild.
2839 * target.c (update_current_target): Don't inherit or default
2840 to_get_ada_task_ptid.
2841 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
2842 TARGET_DEFAULT_FUNC.
2844 2014-02-19 Tom Tromey <tromey@redhat.com>
2846 * target-delegates.c: Rebuild.
2847 * target.c (update_current_target): Don't inherit or default
2848 to_thread_architecture.
2849 * target.h (struct target_ops) <to_thread_architecture>: Use
2850 TARGET_DEFAULT_FUNC.
2852 2014-02-19 Tom Tromey <tromey@redhat.com>
2854 * target-delegates.c: Rebuild.
2855 * target.c (update_current_target): Don't inherit or default
2856 to_execution_direction.
2857 * target.h (struct target_ops) <to_execution_direction>: Use
2858 TARGET_DEFAULT_FUNC.
2860 2014-02-19 Tom Tromey <tromey@redhat.com>
2862 * target-delegates.c: Rebuild.
2863 * target.c (update_current_target): Don't inherit or default
2864 to_can_execute_reverse.
2865 * target.h (struct target_ops) <to_can_execute_reverse>: Use
2866 TARGET_DEFAULT_RETURN.
2867 (target_can_execute_reverse): Unconditionally delegate.
2869 2014-02-19 Tom Tromey <tromey@redhat.com>
2871 * target-delegates.c: Rebuild.
2872 * target.c (update_current_target): Don't inherit or default
2874 (dummy_goto_bookmark): Remove.
2875 (init_dummy_target): Don't inherit or default to_goto_bookmark.
2876 * target.h (struct target_ops) <to_goto_bookmark>: Use
2877 TARGET_DEFAULT_NORETURN.
2879 2014-02-19 Tom Tromey <tromey@redhat.com>
2881 * target-delegates.c: Rebuild.
2882 * target.c (update_current_target): Don't inherit or default
2884 (dummy_get_bookmark): Remove.
2885 (init_dummy_target): Don't inherit or default to_get_bookmark.
2886 * target.h (struct target_ops) <to_get_bookmark>: Use
2887 TARGET_DEFAULT_NORETURN
2889 2014-02-19 Tom Tromey <tromey@redhat.com>
2891 * target-delegates.c: Rebuild.
2892 * target.c (update_current_target): Don't inherit or default
2893 to_make_corefile_notes.
2894 (init_dummy_target): Don't initialize to_make_corefile_notes.
2895 * target.h (struct target_ops) <to_make_corefile_notes>: Use
2896 TARGET_DEFAULT_FUNC.
2898 2014-02-19 Tom Tromey <tromey@redhat.com>
2900 * target-delegates.c: Rebuild.
2901 * target.c (update_current_target): Don't inherit or default
2902 to_find_memory_regions.
2903 (init_dummy_target): Don't initialize to_find_memory_regions.
2904 * target.h (struct target_ops) <to_find_memory_regions>: Use
2905 TARGET_DEFAULT_FUNC.
2907 2014-02-19 Tom Tromey <tromey@redhat.com>
2909 * target-delegates.c: Rebuild.
2910 * target.c (update_current_target): Don't inherit or default
2912 * target.h (struct target_ops) <to_log_command>: Use
2913 TARGET_DEFAULT_IGNORE.
2914 (target_log_command): Unconditionally delegate.
2916 2014-02-19 Tom Tromey <tromey@redhat.com>
2918 * target-delegates.c: Rebuild.
2919 * target.c (update_current_target): Don't inherit or default
2920 to_pid_to_exec_file.
2921 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
2922 TARGET_DEFAULT_RETURN.
2924 2014-02-19 Tom Tromey <tromey@redhat.com>
2926 * target-delegates.c: Rebuild.
2927 * target.c (update_current_target): Don't inherit or default
2929 (target_thread_name): Unconditionally delegate.
2930 * target.h (struct target_ops) <to_thread_name>: Use
2931 TARGET_DEFAULT_RETURN.
2933 2014-02-19 Tom Tromey <tromey@redhat.com>
2935 * target-delegates.c: Rebuild.
2936 * target.c (update_current_target): Don't inherit or default
2937 to_extra_thread_info.
2938 * target.h (struct target_ops) <to_extra_thread_info>: Use
2939 TARGET_DEFAULT_RETURN.
2941 2014-02-19 Tom Tromey <tromey@redhat.com>
2943 * target-delegates.c: Rebuild.
2944 * target.c (update_current_target): Don't inherit or default
2946 * target.h (struct target_ops) <to_has_exited>: Use
2947 TARGET_DEFAULT_RETURN..
2949 2014-02-19 Tom Tromey <tromey@redhat.com>
2951 * target-delegates.c: Rebuild.
2952 * target.c (update_current_target): Don't inherit or default
2953 to_set_syscall_catchpoint.
2954 (return_one): Remove.
2955 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
2956 TARGET_DEFAULT_RETURN.
2958 2014-02-19 Tom Tromey <tromey@redhat.com>
2960 * target-delegates.c: Rebuild.
2961 * target.c (update_current_target): Don't inherit or default
2962 to_insert_exec_catchpoint.
2963 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
2964 TARGET_DEFAULT_RETURN.
2966 2014-01-08 Tom Tromey <tromey@redhat.com>
2968 * target-delegates.c: Rebuild.
2969 * target.c (update_current_target): Don't inherit or default
2970 to_insert_exec_catchpoint.
2971 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
2972 TARGET_DEFAULT_RETURN.
2974 2014-02-19 Tom Tromey <tromey@redhat.com>
2976 * target-delegates.c: Rebuild.
2977 * target.c (update_current_target): Don't inherit or default
2978 to_remove_vfork_catchpoint.
2979 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
2980 TARGET_DEFAULT_RETURN.
2982 2014-02-19 Tom Tromey <tromey@redhat.com>
2984 * target-delegates.c: Rebuild.
2985 * target.c (update_current_target): Don't inherit or default
2986 to_insert_vfork_catchpoint.
2987 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
2988 TARGET_DEFAULT_RETURN.
2990 2014-02-19 Tom Tromey <tromey@redhat.com>
2992 * target-delegates.c: Rebuild.
2993 * target.c (update_current_target): Don't inherit or default
2994 to_remove_fork_catchpoint.
2995 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
2996 TARGET_DEFAULT_RETURN.
2998 2014-02-19 Tom Tromey <tromey@redhat.com>
3000 * target-delegates.c: Rebuild.
3001 * target.c (update_current_target): Don't inherit or default
3002 to_insert_fork_catchpoint.
3003 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
3004 TARGET_DEFAULT_RETURN.
3006 2014-02-19 Tom Tromey <tromey@redhat.com>
3008 * target-delegates.c: Rebuild.
3009 * target.c (update_current_target): Don't inherit or default
3010 to_post_startup_inferior.
3011 * target.h (struct target_ops) <to_post_startup_inferior>: Use
3012 TARGET_DEFAULT_IGNORE.
3014 2014-02-19 Tom Tromey <tromey@redhat.com>
3016 * target-delegates.c: Rebuild.
3017 * target.c (update_current_target): Don't inherit or default
3019 * target.h (struct target_ops) <to_load>: 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
3027 * target.h (struct target_ops) <to_terminal_info>: Use
3028 TARGET_DEFAULT_FUNC.
3030 2014-02-19 Tom Tromey <tromey@redhat.com>
3032 * target-delegates.c: Rebuild.
3033 * target.c (update_current_target): Don't inherit or default
3034 to_terminal_save_ours.
3035 * target.h (struct target_ops) <to_terminal_save_ours>: Use
3036 TARGET_DEFAULT_IGNORE.
3038 2014-02-19 Tom Tromey <tromey@redhat.com>
3040 * target-delegates.c: Rebuild.
3041 * target.c (update_current_target): Don't inherit or default
3043 * target.h (struct target_ops) <to_terminal_ours>: Use
3044 TARGET_DEFAULT_IGNORE.
3046 2014-02-19 Tom Tromey <tromey@redhat.com>
3048 * target-delegates.c: Rebuild.
3049 * target.c (update_current_target): Don't inherit or default
3050 to_terminal_ours_for_output.
3051 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
3052 TARGET_DEFAULT_IGNORE.
3054 2014-02-19 Tom Tromey <tromey@redhat.com>
3056 * target-delegates.c: Rebuild.
3057 * target.c (update_current_target): Don't inherit or default
3058 to_terminal_inferior.
3059 * target.h (struct target_ops) <to_terminal_inferior>: Use
3060 TARGET_DEFAULT_IGNORE.
3062 2014-02-19 Tom Tromey <tromey@redhat.com>
3064 * target-delegates.c: Rebuild.
3065 * target.c (update_current_target): Don't inherit or default
3067 * target.h (struct target_ops) <to_terminal_init>: Use
3068 TARGET_DEFAULT_IGNORE.
3070 2014-02-19 Tom Tromey <tromey@redhat.com>
3072 * target-delegates.c: Rebuild.
3073 * target.c (update_current_target): Don't inherit or default
3074 to_can_accel_watchpoint_condition.
3075 * target.h (struct target_ops)
3076 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
3078 2014-02-19 Tom Tromey <tromey@redhat.com>
3080 * target-delegates.c: Rebuild.
3081 * target.c (update_current_target): Don't inherit or default
3082 to_region_ok_for_hw_watchpoint.
3083 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
3084 Use TARGET_DEFAULT_FUNC.
3086 2014-02-19 Tom Tromey <tromey@redhat.com>
3088 * target-delegates.c: Rebuild.
3089 * target.c (update_current_target): Don't inherit or default
3090 to_watchpoint_addr_within_range.
3091 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
3092 Use TARGET_DEFAULT_FUNC.
3094 2014-02-19 Tom Tromey <tromey@redhat.com>
3096 * target-delegates.c: Rebuild.
3097 * target.c (update_current_target): Don't inherit or default
3098 to_remove_watchpoint.
3099 * target.h (struct target_ops) <to_remove_watchpoint>: Use
3100 TARGET_DEFAULT_NORETURN.
3102 2014-02-19 Tom Tromey <tromey@redhat.com>
3104 * target-delegates.c: Rebuild.
3105 * target.c (update_current_target): Don't inherit or default
3106 to_insert_watchpoint.
3107 * target.h (struct target_ops) <to_insert_watchpoint>: Use
3108 TARGET_DEFAULT_RETURN.
3110 2014-02-19 Tom Tromey <tromey@redhat.com>
3112 * target-delegates.c: Rebuild.
3113 * target.c (update_current_target): Don't inherit or default
3114 to_remove_hw_breakpoint.
3115 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
3116 TARGET_DEFAULT_RETURN.
3118 2014-02-19 Tom Tromey <tromey@redhat.com>
3120 * target-delegates.c: Rebuild.
3121 * target.c (update_current_target): Don't inherit or default
3122 to_insert_hw_breakpoint.
3123 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
3124 TARGET_DEFAULT_RETURN.
3126 2014-02-19 Tom Tromey <tromey@redhat.com>
3128 * target-delegates.c: Rebuild.
3129 * target.c (update_current_target): Don't inherit or default
3130 to_can_use_hw_breakpoint.
3131 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
3132 TARGET_DEFAULT_RETURN.
3134 2014-02-19 Tom Tromey <tromey@redhat.com>
3136 * target-delegates.c: Rebuild.
3137 * target.c (update_current_target): Don't inherit or default
3139 * target.h (struct target_ops) <to_files_info>: Use
3140 TARGET_DEFAULT_IGNORE.
3142 2014-02-19 Tom Tromey <tromey@redhat.com>
3144 * target-delegates.c: Rebuild.
3145 * target.c (update_current_target): Don't inherit or default
3147 * target.h (struct target_ops) <to_store>: Use
3148 TARGET_DEFAULT_NORETURN.
3150 2014-02-19 Tom Tromey <tromey@redhat.com>
3152 * target-delegates.c: Rebuild.
3153 * target.c (update_current_target): Don't inherit or default
3155 * target.h (struct target_ops) <to_post_attach>: Use
3156 TARGET_DEFAULT_IGNORE.
3158 2014-02-19 Tom Tromey <tromey@redhat.com>
3160 * target-delegates.c: Rebuild.
3161 * target.c (update_current_target): Don't inherit or default
3163 (default_rcmd): New function.
3164 (do_monitor_command): Unconditionally delegate.
3165 * target.h (struct target_ops) <to_rmcd>: Use
3166 TARGET_DEFAULT_FUNC.
3168 2014-02-19 Tom Tromey <tromey@redhat.com>
3170 * target-delegates.c: Rebuild.
3171 * target.c (init_dummy_target): Don't initialize to_attach.
3172 (target_attach): Unconditionally delegate.
3173 * target.h (struct target_ops) <to_attach>: Use
3174 TARGET_DEFAULT_FUNC.
3176 2014-02-19 Tom Tromey <tromey@redhat.com>
3178 * target-delegates.c: Rebuild.
3179 * target.c (target_detach): Unconditionally delegate.
3180 (init_dummy_target): Don't initialize to_detach.
3181 * target.h (struct target_ops) <to_detach>: Use
3182 TARGET_DEFAULT_IGNORE.
3184 2014-02-19 Tom Tromey <tromey@redhat.com>
3186 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
3188 (target_augmented_libraries_svr4_read): Add argument.
3189 * target.c (update_current_target): Update.
3190 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
3193 2014-02-19 Tom Tromey <tromey@redhat.com>
3195 * target.h (struct target_ops) <to_call_history_range>: Add
3197 * target.c (target_call_history_range): Add argument.
3198 * record-btrace.c (record_btrace_call_history_range): Add 'self'
3200 (record_btrace_call_history_from): Update.
3202 2014-02-19 Tom Tromey <tromey@redhat.com>
3204 * target.h (struct target_ops) <to_call_history_from>: Add
3206 * target.c (target_call_history_from): Add argument.
3207 * record-btrace.c (record_btrace_call_history_from): Add 'self'
3210 2014-02-19 Tom Tromey <tromey@redhat.com>
3212 * target.h (struct target_ops) <to_call_history>: Add argument.
3213 * target.c (target_call_history): Add argument.
3214 * record-btrace.c (record_btrace_call_history): Add 'self'
3217 2014-02-19 Tom Tromey <tromey@redhat.com>
3219 * target.h (struct target_ops) <to_insn_history_range>: Add
3221 * target.c (target_insn_history_range): Add argument.
3222 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
3224 (record_btrace_insn_history_from): Update.
3226 2014-02-19 Tom Tromey <tromey@redhat.com>
3228 * target.h (struct target_ops) <to_insn_history_from>: Add
3230 * target.c (target_insn_history_from): Add argument.
3231 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
3234 2014-02-19 Tom Tromey <tromey@redhat.com>
3236 * target.h (struct target_ops) <to_insn_history>: Add argument.
3237 * target.c (target_insn_history): Add argument.
3238 * record-btrace.c (record_btrace_insn_history): Add 'self'
3241 2014-02-19 Tom Tromey <tromey@redhat.com>
3243 * target.h (struct target_ops) <to_goto_record>: Add argument.
3244 * target.c (target_goto_record): Add argument.
3245 * record-full.c (record_full_goto): Add 'self' argument.
3246 * record-btrace.c (record_btrace_goto): Add 'self' argument.
3248 2014-02-19 Tom Tromey <tromey@redhat.com>
3250 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
3251 * target.c (target_goto_record_end): Add argument.
3252 * record-full.c (record_full_goto_end): Add 'self' argument.
3253 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
3255 2014-02-19 Tom Tromey <tromey@redhat.com>
3257 * target.h (struct target_ops) <to_goto_record_begin>: Add
3259 * target.c (target_goto_record_begin): Add argument.
3260 * record-full.c (record_full_goto_begin): Add 'self' argument.
3261 * record-btrace.c (record_btrace_goto_begin): Add 'self'
3264 2014-02-19 Tom Tromey <tromey@redhat.com>
3266 * target.h (struct target_ops) <to_record_is_replaying>: Add
3268 * target.c (target_record_is_replaying): Add argument.
3269 * record-full.c (record_full_is_replaying): Add 'self' argument.
3270 * record-btrace.c (record_btrace_is_replaying): Add 'self'
3272 (record_btrace_xfer_partial, record_btrace_store_registers)
3273 (record_btrace_prepare_to_store, record_btrace_resume)
3274 (record_btrace_wait, record_btrace_decr_pc_after_break)
3275 (record_btrace_find_new_threads, record_btrace_thread_alive):
3278 2014-02-19 Tom Tromey <tromey@redhat.com>
3280 * target.h (struct target_ops) <to_delete_record>: Add argument.
3281 * target.c (target_delete_record): Add argument.
3282 * record-full.c (record_full_delete): Add 'self' argument.
3284 2014-02-19 Tom Tromey <tromey@redhat.com>
3286 * target.h (struct target_ops) <to_save_record>: Add argument.
3287 * target.c (target_save_record): Add argument.
3288 * record-full.c (record_full_save): Add 'self' argument.
3289 (record_full_save): Add 'self' argument.
3291 2014-02-19 Tom Tromey <tromey@redhat.com>
3293 * target.h (struct target_ops) <to_info_record>: Add argument.
3294 * target.c (target_info_record): Add argument.
3295 * record.c (info_record_command): Add argument.
3296 * record-full.c (record_full_info): Add 'self' argument.
3297 * record-btrace.c (record_btrace_info): Add 'self' argument.
3299 2014-02-19 Tom Tromey <tromey@redhat.com>
3301 * target.h (struct target_ops) <to_stop_recording>: Add argument.
3302 * target.c (target_stop_recording): Add argument.
3303 * record.c (record_stop): Add argument.
3304 * record-btrace.c (record_btrace_stop_recording): Add 'self'
3307 2014-02-19 Tom Tromey <tromey@redhat.com>
3309 * target.h (struct target_ops) <to_read_btrace>: Add argument.
3310 * target.c (struct target_ops) <to_read_btrace>: Add argument.
3311 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
3313 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
3314 (_initialize_amd64_linux_nat): Use it.
3315 * i386-linux-nat.c (i386_linux_read_btrace): New function.
3316 (_initialize_i386_linux_nat): Use it.
3318 2014-02-19 Tom Tromey <tromey@redhat.com>
3320 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
3321 * target.c (target_teardown_btrace): Add argument.
3322 * remote.c (remote_teardown_btrace): Add 'self' argument.
3323 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
3325 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
3328 2014-02-19 Tom Tromey <tromey@redhat.com>
3330 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
3331 * target.c (target_disable_btrace): Add argument.
3332 * remote.c (remote_disable_btrace): Add 'self' argument.
3333 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
3335 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
3338 2014-02-19 Tom Tromey <tromey@redhat.com>
3340 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
3341 * target.c (target_enable_btrace): Add argument.
3342 * remote.c (remote_enable_btrace): Add 'self' argument.
3343 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
3345 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
3348 2014-02-19 Tom Tromey <tromey@redhat.com>
3350 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
3351 (target_can_use_agent): Add argument.
3352 * target.c (update_current_target): Update.
3353 * remote.c (remote_can_use_agent): Add 'self' argument.
3354 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
3356 2014-02-19 Tom Tromey <tromey@redhat.com>
3358 * target.h (struct target_ops) <to_use_agent>: Add argument.
3359 (target_use_agent): Add argument.
3360 * target.c (update_current_target): Update.
3361 * remote.c (remote_use_agent): Add 'self' argument.
3362 * inf-child.c (inf_child_use_agent): Add 'self' argument.
3364 2014-02-19 Tom Tromey <tromey@redhat.com>
3366 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
3367 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
3368 (target_traceframe_info): Add argument.
3369 * target.c (update_current_target): Update.
3370 * remote.c (remote_traceframe_info): Add 'self' argument.
3371 * ctf.c (ctf_traceframe_info): Add 'self' argument.
3373 2014-02-19 Tom Tromey <tromey@redhat.com>
3375 * target.h (target_static_tracepoint_markers_by_strid): Add
3377 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
3379 * target.c (update_current_target): Update.
3380 * remote.c (struct target_ops)
3381 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
3382 * linux-nat.c (struct target_ops)
3383 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
3385 2014-02-19 Tom Tromey <tromey@redhat.com>
3387 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
3389 (target_static_tracepoint_marker_at): Add argument.
3390 * target.c (update_current_target): Update.
3391 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
3394 2014-02-19 Tom Tromey <tromey@redhat.com>
3396 * target.h (struct target_ops) <to_set_permissions>: Add argument.
3397 (target_set_permissions): Add argument.
3398 * target.c (update_current_target): Update.
3399 * remote.c (remote_set_permissions): Add 'self' argument.
3400 (remote_start_remote): Update.
3402 2014-02-19 Tom Tromey <tromey@redhat.com>
3404 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
3405 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
3406 (target_get_tib_address): Add argument.
3407 * target.c (update_current_target): Update.
3408 * remote.c (remote_get_tib_address): Add 'self' argument.
3410 2014-02-19 Tom Tromey <tromey@redhat.com>
3412 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
3413 (target_set_trace_notes): Add argument.
3414 * target.c (update_current_target): Update.
3415 * remote.c (remote_set_trace_notes): Add 'self' argument.
3417 2014-02-19 Tom Tromey <tromey@redhat.com>
3419 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
3421 (target_set_trace_buffer_size): Add argument.
3422 * target.c (update_current_target): Update.
3423 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
3425 2014-02-19 Tom Tromey <tromey@redhat.com>
3427 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
3429 (target_set_circular_trace_buffer): Add argument.
3430 * target.c (update_current_target): Update.
3431 * remote.c (remote_set_circular_trace_buffer): Add 'self'
3434 2014-02-19 Tom Tromey <tromey@redhat.com>
3436 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
3438 (target_set_disconnected_tracing): Add argument.
3439 * target.c (update_current_target): Update.
3440 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
3442 2014-02-19 Tom Tromey <tromey@redhat.com>
3444 * target.h (struct target_ops)
3445 <to_get_min_fast_tracepoint_insn_len>: Add argument.
3446 (target_get_min_fast_tracepoint_insn_len): Add argument.
3447 * target.c (update_current_target): Update.
3448 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
3451 2014-02-19 Tom Tromey <tromey@redhat.com>
3453 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
3455 (target_get_raw_trace_data): Add argument.
3456 * target.c (update_current_target): Update.
3457 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
3459 2014-02-19 Tom Tromey <tromey@redhat.com>
3461 * target.h (struct target_ops) <to_upload_trace_state_variables>:
3463 (target_upload_trace_state_variables): Add argument.
3464 * target.c (update_current_target): Update.
3465 * remote.c (remote_upload_trace_state_variables): Add 'self'
3467 (remote_start_remote): Update.
3469 2014-02-19 Tom Tromey <tromey@redhat.com>
3471 * target.h (struct target_ops) <to_upload_tracepoints>: Add
3473 (target_upload_tracepoints): Add argument.
3474 * target.c (update_current_target): Update.
3475 * remote.c (remote_upload_tracepoints): Add 'self' argument.
3476 (remote_start_remote): Update.
3478 2014-02-19 Tom Tromey <tromey@redhat.com>
3480 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
3481 (target_save_trace_data): Add argument.
3482 * target.c (update_current_target): Update.
3483 * remote.c (remote_save_trace_data): Add 'self' argument.
3485 2014-02-19 Tom Tromey <tromey@redhat.com>
3487 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
3489 * target.h (struct target_ops)
3490 <to_get_trace_state_variable_value>: Add argument.
3491 (target_get_trace_state_variable_value): Add argument.
3492 * target.c (update_current_target): Update.
3493 * remote.c (remote_get_trace_state_variable_value): Add 'self'
3495 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
3497 2014-02-19 Tom Tromey <tromey@redhat.com>
3499 * tracepoint.c (tfile_trace_find): Add 'self' argument.
3500 * target.h (struct target_ops) <to_trace_find>: Add argument.
3501 (target_trace_find): Add argument.
3502 * target.c (update_current_target): Update.
3503 * remote.c (remote_trace_find): Add 'self' argument.
3504 * ctf.c (ctf_trace_find): Add 'self' argument.
3506 2014-02-19 Tom Tromey <tromey@redhat.com>
3508 * target.h (struct target_ops) <to_trace_stop>: Add argument.
3509 (target_trace_stop): Add argument.
3510 * target.c (update_current_target): Update.
3511 * remote.c (remote_trace_stop): Add 'self' argument.
3513 2014-02-19 Tom Tromey <tromey@redhat.com>
3515 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
3516 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
3518 (target_get_tracepoint_status): Add argument.
3519 * target.c (update_current_target): Update.
3520 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
3522 2014-02-19 Tom Tromey <tromey@redhat.com>
3524 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
3525 * target.h (struct target_ops) <to_get_trace_status>: Add
3527 (target_get_trace_status): Add argument.
3528 * target.c (update_current_target): Update.
3529 * remote.c (remote_get_trace_status): Add 'self' argument.
3530 (remote_start_remote, remote_can_download_tracepoint): Update.
3531 * ctf.c (ctf_get_trace_status): Add 'self' argument.
3533 2014-02-19 Tom Tromey <tromey@redhat.com>
3535 * target.h (struct target_ops) <to_trace_start>: Add argument.
3536 (target_trace_start): Add argument.
3537 * target.c (update_current_target): Update.
3538 * remote.c (remote_trace_start): Add 'self' argument.
3540 2014-02-19 Tom Tromey <tromey@redhat.com>
3542 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
3544 (target_trace_set_readonly_regions): Add argument.
3545 * target.c (update_current_target): Update.
3546 * remote.c (remote_trace_set_readonly_regions): Add 'self'
3549 2014-02-19 Tom Tromey <tromey@redhat.com>
3551 * target.h (struct target_ops) <to_disable_tracepoint>: Add
3553 (target_disable_tracepoint): Add argument.
3554 * target.c (update_current_target): Update.
3555 * remote.c (remote_disable_tracepoint): Add 'self' argument.
3557 2014-02-19 Tom Tromey <tromey@redhat.com>
3559 * target.h (struct target_ops) <to_enable_tracepoint>: Add
3561 (target_enable_tracepoint): Add argument.
3562 * target.c (update_current_target): Update.
3563 * remote.c (remote_enable_tracepoint): Add 'self' argument.
3565 2014-02-19 Tom Tromey <tromey@redhat.com>
3567 * target.h (struct target_ops) <to_download_trace_state_variable>:
3569 (target_download_trace_state_variable): Add argument.
3570 * target.c (update_current_target): Update.
3571 * remote.c (remote_download_trace_state_variable): Add 'self'
3574 2014-02-19 Tom Tromey <tromey@redhat.com>
3576 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
3578 (target_can_download_tracepoint): Add argument.
3579 * target.c (update_current_target): Update.
3580 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
3582 2014-02-19 Tom Tromey <tromey@redhat.com>
3584 * target.h (struct target_ops) <to_download_tracepoint>: Add
3586 (target_download_tracepoint): Add argument.
3587 * target.c (update_current_target): Update.
3588 * remote.c (remote_download_tracepoint): Add 'self' argument.
3590 2014-02-19 Tom Tromey <tromey@redhat.com>
3592 * target.h (struct target_ops) <to_trace_init>: Add argument.
3593 (target_trace_init): Add argument.
3594 * target.c (update_current_target): Update.
3595 * remote.c (remote_trace_init): Add 'self' argument.
3597 2014-02-19 Tom Tromey <tromey@redhat.com>
3599 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
3600 * target.c (target_fileio_readlink): Add argument.
3601 * remote.c (remote_hostio_readlink): Add 'self' argument.
3602 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
3604 2014-02-19 Tom Tromey <tromey@redhat.com>
3606 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
3607 * target.c (target_fileio_unlink): Add argument.
3608 * remote.c (remote_hostio_unlink): Add 'self' argument.
3609 (remote_file_delete): Update.
3610 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
3612 2014-02-19 Tom Tromey <tromey@redhat.com>
3614 * target.h (struct target_ops) <to_fileio_close>: Add argument.
3615 * target.c (target_fileio_close): Add argument.
3616 * remote.c (remote_hostio_close): Add 'self' argument.
3617 (remote_hostio_close_cleanup): Update.
3618 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
3620 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
3622 2014-02-19 Tom Tromey <tromey@redhat.com>
3624 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
3625 * target.c (target_fileio_pread): Add argument.
3626 * remote.c (remote_hostio_pread): Add 'self' argument.
3627 (remote_bfd_iovec_pread, remote_file_get): Update.
3628 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
3630 2014-02-19 Tom Tromey <tromey@redhat.com>
3632 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
3633 * target.c (target_fileio_pwrite): Add argument.
3634 * remote.c (remote_hostio_pwrite): Add 'self' argument.
3635 (remote_file_put): Update.
3636 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
3638 2014-02-19 Tom Tromey <tromey@redhat.com>
3640 * target.h (struct target_ops) <to_fileio_open>: Add argument.
3641 * target.c (target_fileio_open): Add argument.
3642 * remote.c (remote_hostio_open): Add 'self' argument.
3643 (remote_bfd_iovec_open): Add 'self' argument.
3644 (remote_file_put): Add 'self' argument.
3645 (remote_file_get): Add 'self' argument.
3646 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
3648 2014-02-19 Tom Tromey <tromey@redhat.com>
3650 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
3652 (target_can_run_breakpoint_commands): Add argument.
3653 * target.c (update_current_target): Update.
3654 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
3656 (remote_insert_breakpoint): Add 'self' argument.
3657 (remote_insert_hw_breakpoint): Add 'self' argument.
3658 (remote_can_run_breakpoint_commands): Add 'self' argument.
3660 2014-02-19 Tom Tromey <tromey@redhat.com>
3662 * target.h (struct target_ops)
3663 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
3664 (target_supports_evaluation_of_breakpoint_conditions): Add
3666 * target.c (update_current_target): Update.
3667 * remote.c (remote_supports_cond_breakpoints): Add 'self'
3669 (remote_insert_breakpoint): Add 'self' argument.
3670 (remote_insert_hw_breakpoint): Add 'self' argument.
3671 (remote_supports_cond_breakpoints): Add 'self' argument.
3673 2014-02-19 Tom Tromey <tromey@redhat.com>
3675 * target.h (struct target_ops) <to_supports_string_tracing>: Add
3677 (target_supports_string_tracing): Add argument.
3678 * target.c (update_current_target): Update.
3679 * remote.c (remote_supports_string_tracing): Add 'self' argument.
3681 2014-02-19 Tom Tromey <tromey@redhat.com>
3683 * target.h (struct target_ops)
3684 <to_supports_disable_randomization>: Add argument.
3685 * target.c (find_default_supports_disable_randomization): Add
3687 (target_supports_disable_randomization): Add argument.
3688 (find_default_supports_disable_randomization): Add 'self'
3690 * remote.c (extended_remote_supports_disable_randomization): Add
3692 (remote_supports_disable_randomization): Add 'self' argument.
3693 (extended_remote_create_inferior): Update.
3694 * linux-nat.c (linux_nat_supports_disable_randomization): Add
3697 2014-02-19 Tom Tromey <tromey@redhat.com>
3699 * target.h (struct target_ops)
3700 <to_supports_enable_disable_tracepoint>: Add argument.
3701 (target_supports_enable_disable_tracepoint): Add argument.
3702 * target.c (update_current_target): Update.
3703 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
3706 2014-02-19 Tom Tromey <tromey@redhat.com>
3708 * target.h (struct target_ops) <to_supports_multi_process>: Add
3710 (target_supports_multi_process): Add argument.
3711 * target.c (update_current_target): Update.
3712 * remote.c (remote_supports_multi_process): Add 'self' argument.
3713 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
3715 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
3718 2014-02-19 Tom Tromey <tromey@redhat.com>
3720 * target.h (struct target_ops) <to_execution_direction>: Add
3722 (target_execution_direction): Add argument.
3723 * target.c (default_execution_direction): Add 'self' argument.
3724 * record-full.c (record_full_execution_direction): Add 'self'
3727 2014-02-19 Tom Tromey <tromey@redhat.com>
3729 * target.h (struct target_ops) <to_can_execute_reverse>: Add
3731 (target_can_execute_reverse): Add argument.
3732 * remote.c (remote_can_execute_reverse): Add 'self' argument.
3733 * record-full.c (record_full_can_execute_reverse): Add 'self'
3735 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
3738 2014-02-19 Tom Tromey <tromey@redhat.com>
3740 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
3741 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
3743 (target_get_ada_task_ptid): Add argument.
3744 * target.c (update_current_target): Update.
3745 (default_get_ada_task_ptid): Add 'self' argument.
3746 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
3747 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
3748 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
3750 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
3752 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
3754 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
3756 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
3757 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
3760 2014-02-19 Tom Tromey <tromey@redhat.com>
3762 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
3763 (target_goto_bookmark): Add argument.
3764 * target.c (dummy_goto_bookmark): Add 'self' argument.
3765 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
3767 2014-02-19 Tom Tromey <tromey@redhat.com>
3769 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
3770 (target_get_bookmark): Add argument.
3771 * target.c (dummy_get_bookmark): Add 'self' argument.
3772 * record-full.c (record_full_get_bookmark): Add 'self' argument.
3774 2014-02-19 Tom Tromey <tromey@redhat.com>
3776 * target.h (struct target_ops) <to_make_corefile_notes>: Add
3778 (target_make_corefile_notes): Add argument.
3779 * target.c (dummy_make_corefile_notes): Add 'self' argument.
3780 * procfs.c (procfs_make_note_section): Add 'self' argument.
3781 (procfs_make_note_section): Add 'self' argument.
3782 (procfs_make_note_section): Add 'self' argument.
3783 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
3785 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
3786 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
3787 * exec.c (exec_make_note_section): Add 'self' argument.
3788 (exec_make_note_section): Add 'self' argument.
3790 2014-02-19 Tom Tromey <tromey@redhat.com>
3792 * target.h (struct target_ops) <to_find_memory_regions>: Add
3794 (target_find_memory_regions): Add argument.
3795 * target.c (dummy_find_memory_regions): Add 'self' argument.
3796 * procfs.c (proc_find_memory_regions): Add 'self' argument.
3797 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
3798 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
3799 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
3800 * exec. (exec_do_find_memory_regions): New global.
3801 (exec_set_find_memory_regions): Rewrite.
3802 (exec_find_memory_regions): New function.
3803 (init_exec_ops): Use exec_find_memory_regions.
3805 2014-02-19 Tom Tromey <tromey@redhat.com>
3807 * target.h (struct target_ops) <to_supports_non_stop>: Add
3809 * target.c (find_default_supports_non_stop): Add argument.
3810 (target_supports_non_stop): Add argument.
3811 (find_default_supports_non_stop): Add 'self' argument.
3812 * remote.c (remote_supports_non_stop): Add 'self' argument.
3813 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
3815 2014-02-19 Tom Tromey <tromey@redhat.com>
3817 * target.h (struct target_ops) <to_log_command>: Add argument.
3818 (target_log_command): Add argument.
3819 * serial.h (serial_log_command): Add 'self' argument.
3820 * serial.c (serial_log_command): Add 'self' argument.
3822 2014-02-19 Tom Tromey <tromey@redhat.com>
3824 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
3825 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
3827 (target_pid_to_exec_file): Add argument.
3828 * target.c (debug_to_pid_to_exec_file): Add argument.
3829 (update_current_target): Update.
3830 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
3831 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
3832 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
3833 (linux_handle_extended_wait): Update.
3834 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
3835 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
3836 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
3837 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
3839 2014-02-19 Tom Tromey <tromey@redhat.com>
3841 * target.h (struct target_ops) <to_rcmd>: Add argument.
3842 (target_rcmd): Add argument.
3843 * target.c (debug_to_rcmd): Add argument.
3844 (update_current_target, do_monitor_command): Update.
3845 * remote.c (remote_rcmd): Add 'self' argument.
3846 * monitor.c (monitor_rcmd): Add 'self' argument.
3848 2014-02-19 Tom Tromey <tromey@redhat.com>
3850 * windows-nat.c (windows_stop): Add 'self' argument.
3851 * target.h (struct target_ops) <to_stop>: Add argument.
3852 * target.c (target_stop): Add argument.
3853 (debug_to_stop): Add argument.
3854 (update_current_target): Update.
3855 * remote.c (remote_stop): Add 'self' argument.
3856 * remote-sim.c (gdbsim_stop): Add 'self' argument.
3857 (gdbsim_cntrl_c): Update.
3858 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
3859 * procfs.c (procfs_stop): Add 'self' argument.
3860 * nto-procfs.c (procfs_stop): Add 'self' argument.
3861 * monitor.c (monitor_stop): Add 'self' argument.
3862 (monitor_open): Update.
3863 * linux-nat.c (linux_nat_stop): Add argument.
3864 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
3865 * gnu-nat.c (gnu_stop): Add 'self' argument.
3866 * darwin-nat.c (darwin_stop): Add 'self' argument.
3868 2014-02-19 Tom Tromey <tromey@redhat.com>
3870 * target.h (struct target_ops) <to_thread_name>: Add argument.
3871 * target.c (target_thread_name): Add argument.
3872 (update_current_target): Update.
3873 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
3875 2014-02-19 Tom Tromey <tromey@redhat.com>
3877 * target.h (struct target_ops) <to_extra_thread_info>: Add
3879 (target_extra_thread_info): Add argument.
3880 * target.c (update_current_target): Update.
3881 * remote.c (remote_threads_extra_info): Add 'self' argument.
3882 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
3884 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
3885 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
3886 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
3888 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
3890 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
3892 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
3895 2014-02-19 Tom Tromey <tromey@redhat.com>
3897 * target.h (struct target_ops) <to_program_signals>: Add argument.
3898 * target.c (target_program_signals): Add argument.
3899 * remote.c (remote_program_signals): Add 'self' argument.
3901 2014-02-19 Tom Tromey <tromey@redhat.com>
3903 * target.h (struct target_ops) <to_pass_signals>: Add argument.
3904 * target.c (target_pass_signals): Add argument.
3905 * remote.c (remote_pass_signals): Add 'self' argument.
3906 (remote_start_remote): Update.
3907 * procfs.c (procfs_pass_signals): Add 'self' argument.
3908 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
3909 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
3910 (linux_nat_create_inferior, linux_nat_attach): Update.
3912 2014-02-19 Tom Tromey <tromey@redhat.com>
3914 * windows-nat.c (windows_can_run): Add 'self' argument.
3915 * target.h (struct target_ops) <to_can_run>: Add argument.
3916 (target_can_run): Add argument.
3917 * target.c (debug_to_can_run): Add argument.
3918 (update_current_target): Update.
3919 * nto-procfs.c (procfs_can_run): Add 'self' argument.
3920 * inf-child.c (inf_child_can_run): Add 'self' argument.
3921 * go32-nat.c (go32_can_run): Add 'self' argument.
3923 2014-02-19 Tom Tromey <tromey@redhat.com>
3925 * target.h (struct target_ops) <to_has_exited>: Add argument.
3926 (target_has_exited): Add argument.
3927 * target.c (debug_to_has_exited): Add argument.
3928 (update_current_target): Update.
3930 2014-02-19 Tom Tromey <tromey@redhat.com>
3932 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
3934 (target_set_syscall_catchpoint): Add argument.
3935 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
3937 * target.c (update_current_target): Update.
3939 2014-02-19 Tom Tromey <tromey@redhat.com>
3941 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
3943 (target_remove_exec_catchpoint): Add argument.
3944 * target.c (debug_to_remove_exec_catchpoint): Add argument.
3945 (update_current_target): Update.
3946 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
3949 2014-02-19 Tom Tromey <tromey@redhat.com>
3951 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
3953 (target_insert_exec_catchpoint): Add argument.
3954 * target.c (debug_to_insert_exec_catchpoint): Add argument.
3955 (update_current_target): Update.
3956 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
3959 2014-02-19 Tom Tromey <tromey@redhat.com>
3961 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
3963 (target_remove_vfork_catchpoint): Add argument.
3964 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
3965 (update_current_target): Update.
3966 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
3969 2014-02-19 Tom Tromey <tromey@redhat.com>
3971 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
3973 (target_insert_vfork_catchpoint): Add argument.
3974 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
3975 (update_current_target): Update.
3976 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
3979 2014-02-19 Tom Tromey <tromey@redhat.com>
3981 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
3983 (target_remove_fork_catchpoint): Add argument.
3984 * target.c (debug_to_remove_fork_catchpoint): Add argument.
3985 (update_current_target): Update.
3986 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
3989 2014-02-19 Tom Tromey <tromey@redhat.com>
3991 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
3993 (target_insert_fork_catchpoint): Add argument.
3994 * target.c (debug_to_insert_fork_catchpoint): Add argument.
3995 (update_current_target): Update.
3996 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
3999 2014-02-19 Tom Tromey <tromey@redhat.com>
4001 * target.h (struct target_ops) <to_post_startup_inferior>: Add
4003 (target_post_startup_inferior): Add argument.
4004 * target.c (debug_to_post_startup_inferior): Add argument.
4005 (update_current_target): Update.
4006 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
4008 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
4010 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
4012 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
4014 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
4016 (super_post_startup_inferior): Likewise.
4017 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
4019 (super_post_startup_inferior): Likewise.
4020 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
4021 Add 'self' argument.
4022 (super_post_startup_inferior): Likewise.
4024 2014-02-19 Tom Tromey <tromey@redhat.com>
4026 * target.h (struct target_ops) <to_load>: Add argument.
4027 * target.c (target_load): Add argument.
4028 (debug_to_load): Add argument.
4029 (update_current_target): Update.
4030 * remote.c (remote_load): Add 'self' argument.
4031 * remote-sim.c (gdbsim_load): Add 'self' argument.
4032 * remote-mips.c (mips_load): Add 'self' argument.
4033 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
4034 * monitor.c (monitor_load): Add 'self' argument.
4035 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
4037 2014-02-19 Tom Tromey <tromey@redhat.com>
4039 * target.h (struct target_ops) <to_terminal_info>: Add argument.
4040 (target_terminal_info): Add argument.
4041 * target.c (debug_to_terminal_info): Add argument.
4042 (default_terminal_info): Likewise.
4043 * inflow.c (child_terminal_info): Add 'self' argument.
4044 * inferior.h (child_terminal_info): Add 'self' argument.
4045 * go32-nat.c (go32_terminal_info): Add 'self' argument.
4047 2014-02-19 Tom Tromey <tromey@redhat.com>
4049 * target.h (struct target_ops) <to_terminal_save_ours>: Add
4051 (target_terminal_save_ours): Add argument.
4052 * target.c (debug_to_terminal_save_ours): Add argument.
4053 (update_current_target): Update.
4054 * inflow.c (terminal_save_ours): Add 'self' argument.
4055 * inferior.h (terminal_save_ours): Add 'self' argument.
4057 2014-02-19 Tom Tromey <tromey@redhat.com>
4059 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
4060 (target_terminal_ours): Add argument.
4061 * target.c (debug_to_terminal_ours): Add argument.
4062 (update_current_target): Update.
4063 * remote.c (remote_terminal_ours): Add 'self' argument.
4064 (remote_close): Update.
4065 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
4066 * inflow.c (terminal_ours): Add 'self' argument.
4067 * inferior.h (terminal_ours): Add 'self' argument.
4068 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
4070 2014-02-19 Pedro Alves <palves@redhat.com>
4071 Tom Tromey <tromey@redhat.com>
4073 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
4075 (target_terminal_ours_for_output): Add argument.
4076 * target.c (debug_to_terminal_ours_for_output): Add argument.
4077 (update_current_target): Update.
4078 * inflow.c (terminal_ours_for_output): Add 'self' argument.
4079 * inferior.h (terminal_ours_for_output): Add 'self' argument.
4080 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
4082 2014-02-19 Tom Tromey <tromey@redhat.com>
4084 * target.h (struct target_ops) <to_terminal_inferior>: Add
4086 * target.c (target_terminal_inferior): Add argument.
4087 (update_current_target): Update.
4088 * remote.c (remote_terminal_inferior): Add 'self' argument.
4089 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
4090 * inflow.c (terminal_inferior): Add 'self' argument.
4091 * inferior.h (terminal_inferior): Add 'self' argument.
4092 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
4093 (go32_terminal_inferior): Add 'self' argument.
4095 2014-02-19 Tom Tromey <tromey@redhat.com>
4097 * target.h (struct target_ops) <to_terminal_init>: Add argument.
4098 (target_terminal_init): Add argument.
4099 * target.c (debug_to_terminal_init): Add argument.
4100 (update_current_target): Update.
4101 * inflow.c (terminal_init_inferior): Add 'self' argument.
4102 * inferior.h (terminal_init_inferior): Add 'self' argument.
4103 * go32-nat.c (go32_terminal_init): Add 'self' argument.
4104 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
4106 2014-02-19 Tom Tromey <tromey@redhat.com>
4108 * target.h (struct target_ops)
4109 <to_can_accel_watchpoint_condition>: Add argument.
4110 (target_can_accel_watchpoint_condition): Add argument.
4111 * target.c (debug_to_can_accel_watchpoint_condition): Add
4113 (update_current_target): Update.
4114 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
4117 2014-02-19 Tom Tromey <tromey@redhat.com>
4119 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
4121 (target_region_ok_for_hw_watchpoint): Add argument.
4122 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
4123 (default_region_ok_for_hw_watchpoint): Add argument.
4124 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
4125 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
4127 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
4129 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
4131 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
4133 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
4135 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
4137 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
4138 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
4140 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
4141 Add 'self' argument.
4143 2014-02-19 Tom Tromey <tromey@redhat.com>
4145 * target.h (struct target_ops) <to_insert_watchpoint>: Add
4147 (target_insert_watchpoint): Add argument.
4148 * target.c (debug_to_insert_watchpoint): Add argument.
4149 (update_current_target): Update.
4150 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
4151 * remote.c (remote_insert_watchpoint): Add 'self' argument.
4152 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
4153 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
4154 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
4155 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
4157 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
4158 (procfs_insert_hw_watchpoint): Add 'self' argument.
4159 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
4161 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
4163 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
4165 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
4166 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
4168 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
4171 2014-02-19 Tom Tromey <tromey@redhat.com>
4173 * target.h (struct target_ops) <to_remove_watchpoint>: Add
4175 (target_remove_watchpoint): Add argument.
4176 * target.c (debug_to_remove_watchpoint): Add argument.
4177 (update_current_target): Update.
4178 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
4179 * remote.c (remote_remove_watchpoint): Add 'self' argument.
4180 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
4181 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
4182 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
4183 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
4185 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
4186 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
4188 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
4190 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
4192 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
4193 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
4195 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
4198 2014-02-19 Tom Tromey <tromey@redhat.com>
4200 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
4202 (target_remove_hw_breakpoint): Add argument.
4203 * target.c (debug_to_remove_hw_breakpoint): Add argument.
4204 (update_current_target): Update.
4205 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
4206 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
4208 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
4209 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
4211 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
4214 2014-02-19 Tom Tromey <tromey@redhat.com>
4216 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
4218 (target_insert_hw_breakpoint): Add argument.
4219 * target.c (debug_to_insert_hw_breakpoint): Add argument.
4220 (update_current_target): Update.
4221 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
4222 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
4224 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
4225 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
4226 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
4228 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
4231 2014-02-19 Tom Tromey <tromey@redhat.com>
4233 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
4235 (target_can_use_hardware_watchpoint): Add argument.
4236 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
4237 (update_current_target): Update.
4238 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
4240 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
4242 * remote.c (remote_check_watch_resources): Add 'self' argument.
4243 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
4244 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
4246 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
4247 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
4249 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
4251 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
4253 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
4255 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
4257 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
4259 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
4260 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
4262 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
4265 2014-02-19 Tom Tromey <tromey@redhat.com>
4267 * target.h (struct target_ops) <to_post_attach>: Add argument.
4268 (target_post_attach): Add argument.
4269 * target.c (debug_to_post_attach): Add argument.
4270 (update_current_target): Update.
4271 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
4272 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
4273 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
4274 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
4275 * inf-child.c (inf_child_post_attach): Add 'self' argument.
4277 2014-02-19 Tom Tromey <tromey@redhat.com>
4279 * windows-nat.c (windows_close): Add 'self' argument.
4280 * tracepoint.c (tfile_close): Add 'self' argument.
4281 * target.h (struct target_ops) <to_close>: Add argument.
4282 * target.c (target_close): Add argument.
4283 (update_current_target): Update.
4284 * remote.c (remote_close): Add 'self' argument.
4285 * remote-sim.c (gdbsim_close): Add 'self' argument.
4286 * remote-mips.c (mips_close): Add 'self' argument.
4287 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
4288 * record-full.c (record_full_close): Add 'self' argument.
4289 * record-btrace.c (record_btrace_close): Add 'self' argument.
4290 * monitor.h (monitor_close): Add 'self' argument.
4291 * monitor.c (monitor_close): Add 'self' argument.
4292 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
4293 * linux-nat.c (linux_nat_close): Add argument.
4294 * go32-nat.c (go32_close): Add 'self' argument.
4295 * exec.c (exec_close_1): Add 'self' argument.
4296 * ctf.c (ctf_close): Add 'self' argument.
4297 * corelow.c (core_close): Add 'self' argument.
4298 (core_close_cleanup): Update.
4299 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
4300 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
4302 2014-02-19 Tom Tromey <tromey@redhat.com>
4304 * remote.c (remote_load): New function.
4305 (init_remote_ops): Use it.
4307 2014-02-19 Tom Tromey <tromey@redhat.com>
4309 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
4311 * common/linux-btrace.h (linux_supports_btrace): Update.
4312 * remote.c (remote_supports_btrace): Add "self" argument.
4313 * target-delegates.c: Rebuild.
4314 * target.c (target_supports_btrace): Remove.
4315 * target.h (struct target_ops) <to_supports_btrace>: Add
4316 target_ops argument.
4317 (target_supports_btrace): New define.
4319 2014-02-19 Tom Tromey <tromey@redhat.com>
4321 * record-full.c (record_full_beneath_to_resume_ops)
4322 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
4323 (record_full_beneath_to_wait)
4324 (record_full_beneath_to_store_registers_ops)
4325 (record_full_beneath_to_store_registers)
4326 (record_full_beneath_to_xfer_partial_ops)
4327 (record_full_beneath_to_xfer_partial)
4328 (record_full_beneath_to_insert_breakpoint_ops)
4329 (record_full_beneath_to_insert_breakpoint)
4330 (record_full_beneath_to_remove_breakpoint_ops)
4331 (record_full_beneath_to_remove_breakpoint)
4332 (record_full_beneath_to_stopped_by_watchpoint)
4333 (record_full_beneath_to_stopped_data_address)
4334 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
4335 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
4336 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
4337 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
4338 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
4339 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
4340 (tmp_to_stopped_data_address, tmp_to_async): Remove.
4341 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
4342 (record_full_resume, record_full_wait_1)
4343 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
4344 (record_full_store_registers, record_full_xfer_partial)
4345 (record_full_insert_breakpoint, record_full_remove_breakpoint)
4346 (record_full_async, record_full_core_xfer_partial): Use target
4348 * target-delegates.c: Rebuild.
4349 * target.c (current_xfer_partial): Remove.
4350 (update_current_target): Do not INHERIT or de_fault
4351 to_insert_breakpoint, to_remove_breakpoint,
4352 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
4353 to_is_async_p, to_async. Do not set to_xfer_partial field.
4354 (default_xfer_partial): Simplify.
4355 (current_xfer_partial): Remove.
4356 (target_wait, target_resume): Simplify.
4357 (find_default_can_async_p, find_default_is_async_p): Update.
4358 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
4359 to_xfer_partial, to_stopped_by_watchpoint,
4360 to_stopped_data_address.
4361 (target_store_registers): Simplify.
4362 (forward_target_remove_breakpoint)
4363 (forward_target_insert_breakpoint): Remove.
4364 (target_remove_breakpoint, target_insert_breakpoint)
4365 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
4366 * target.h (struct target_ops) <to_resume, to_wait,
4367 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
4368 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
4369 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
4371 (forward_target_remove_breakpoint)
4372 (forward_target_insert_breakpoint): Remove.
4373 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
4375 (record_btrace_insert_breakpoint): Delegate directly.
4377 2014-02-19 Tom Tromey <tromey@redhat.com>
4380 * target-delegates.c: New file.
4381 * target.c: Include target-delegates.c.
4382 (init_dummy_target): Call install_dummy_methods.
4383 (complete_target_initialization): Call install_delegators.
4384 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
4385 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
4386 * make-target-delegates: New file.
4388 2014-02-19 Tom Tromey <tromey@redhat.com>
4390 * record.c (find_record_target): Use find_target_at.
4391 * target.c (find_target_at): New function.
4392 * target.h (find_target_at): Declare.
4394 2014-02-19 Tom Tromey <tromey@redhat.com>
4396 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
4398 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
4400 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
4401 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
4403 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
4405 * linux-nat.c (save_sigtrap): Update.
4406 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
4407 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
4408 (linux_nat_close): Update.
4409 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
4411 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
4413 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
4414 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
4415 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
4416 (tmp_to_async): Add 'ops' argument.
4417 (record_full_stopped_by_watchpoint, record_full_async)
4418 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
4420 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
4421 (m32r_stopped_by_watchpoint): Add 'ops' argument.
4422 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
4423 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
4424 (remote_is_async_p, remote_async): Add 'ops' argument.
4425 (remote_stopped_data_address): Update.
4426 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
4427 * target.c (update_current_target)
4428 (find_default_can_async_p, find_default_is_async_p): Update.
4429 (init_dummy_target): Update.
4430 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
4431 * target.h (struct target_ops) <to_stopped_by_watchpoint,
4432 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
4433 (target_can_async_p, target_is_async_p, target_async)
4434 (target_stopped_by_watchpoint): Update.
4436 2014-02-19 Yao Qi <yao@codesourcery.com>
4439 * gdbarch.sh: Remove startup_gdbarch.
4440 * gdbarch.c: Regenerated.
4441 * gdbarch.h: Likewise.
4443 2014-02-17 Kevin Buettner <kevinb@redhat.com>
4445 * rl78-tdep.c (rl78_g10_register_name): New function.
4446 (rl78_return_value): Add g10 support.
4447 (rl78_gdbarch_init): Register rl78_g10_register_name for the
4450 2014-02-17 Doug Evans <xdje42@gmail.com>
4452 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
4453 (SUBDIR_GUILE_SRCS): Ditto.
4454 (scm-gsmob.o): Ditto.
4456 2014-02-17 Yao Qi <yao@codesourcery.com>
4458 * gnu-nat.c (ILL_RPC): Declare defined function.
4460 2014-02-17 Yao Qi <yao@codesourcery.com>
4462 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
4463 mach_msg_type_number_t.
4464 (gnu_write_inferior): Likewise.
4466 2014-02-17 Yao Qi <yao@codesourcery.com>
4468 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
4470 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
4471 (inf_validate_procs, inf_signal): Likewise.
4472 (S_exception_raise_request): Likewise.
4473 (do_mach_notify_dead_name): Likewise.
4474 (steal_exc_port): Likewise.
4475 (gnu_read_inferior): Change 'copy_count''s type to
4476 mach_msg_type_number_t.
4477 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
4480 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
4482 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
4483 flag. Adjust all users; in particular...
4484 (gnu_wait): ..., don't decrement its value in here...
4485 (gnu_create_inferior): ..., and instead set the flag in here,
4486 around the startup_inferior call, and call that one with
4487 START_INFERIOR_TRAPS_EXPECTED.
4489 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
4490 (ILL_RPC): ... new macro.
4491 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
4492 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
4493 (do_mach_notify_send_once, S_proc_setmsgport_reply)
4494 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
4495 functions with ILL_RPC macro.
4496 (S_proc_pid2task_reply, S_proc_task2pid_reply)
4497 (S_proc_task2proc_reply, S_proc_proc2task_reply)
4498 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
4499 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
4500 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
4501 (S_proc_getlogin_reply, S_proc_getsid_reply)
4502 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
4503 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
4504 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
4505 (S_proc_getnports_reply, S_proc_is_important_reply)
4506 (S_proc_get_code_reply): New stub functions, generated with
4509 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
4510 collected the type check structures.
4512 * reply_mig_hack.awk: Don't expect to see the auto keyword.
4514 2014-02-14 Doug Evans <dje@google.com>
4516 * target.c (target_write_partial): Fix result type.
4518 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
4520 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
4521 the proper offsets to access fpregset_t.
4523 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
4525 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
4526 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
4527 * h8300-tdep.c (setmachinelist): Remove global.
4528 * hppa-tdep.c (hppa_sigtramp): Remove global.
4529 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
4530 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
4531 * ravenscar-thread.c (update_target_observer): Remove global.
4532 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
4534 2014-02-12 Tom Tromey <tromey@redhat.com>
4536 * common/rsp-low.c: Update comments.
4537 * common/rsp-low.h: Update comments.
4539 2014-02-12 Tom Tromey <tromey@redhat.com>
4541 * common/rsp-low.c (convert_ascii_to_int): Remove.
4542 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
4544 2014-02-12 Tom Tromey <tromey@redhat.com>
4546 * common/rsp-low.h (unhexify): Don't declare.
4547 * common/rsp-low.c (unhexify): Remove.
4549 2014-02-12 Tom Tromey <tromey@redhat.com>
4551 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
4552 * common/rsp-low.c (convert_int_to_ascii): Remove.
4554 2014-02-12 Tom Tromey <tromey@redhat.com>
4556 * common/rsp-low.h (hexify): Don't declare.
4557 * common/rsp-low.c (hexify): Remove.
4559 2014-02-12 Tom Tromey <tromey@redhat.com>
4561 * common/rsp-low.c (hexify): Never take strlen of argument.
4563 2014-02-12 Tom Tromey <tromey@redhat.com>
4565 * common/rsp-low.c (bin2hex): Never take strlen of argument.
4566 * remote.c (extended_remote_run, remote_rcmd)
4567 (remote_download_trace_state_variable, remote_save_trace_data)
4568 (remote_set_trace_notes): Update.
4569 * tracepoint.c (encode_source_string, tfile_write_status)
4570 (tfile_write_uploaded_tsv): Update.
4572 2014-02-12 Tom Tromey <tromey@redhat.com>
4574 * tracepoint.c: Include rsp-low.h.
4575 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
4576 * remote.c: Include rsp-low.h.
4577 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
4578 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
4579 (remote_unescape_input): Move to common/rsp-low.c.
4580 * common/rsp-low.h: New file.
4581 * common/rsp-low.c: New file.
4582 * Makefile.in (SFILES): Add common/rsp-low.c.
4583 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
4584 (COMMON_OBS): Add rsp-low.o.
4585 (rsp-low.o): New target.
4587 2014-02-12 Tom Tromey <tromey@redhat.com>
4589 * utils.h: Include print-utils.h.
4590 (host_address_to_string, plongest, pulongest, phex, phex_nz)
4591 (int_string, core_addr_to_string, core_addr_to_string_nz)
4592 (hex_string, hex_string_custom): Don't declare.
4593 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
4594 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
4595 (hex_string_custom, int_string, core_addr_to_string)
4596 (core_addr_to_string_nz, host_address_to_string): Move to
4597 common/print-utils.c.
4598 * common/print-utils.h: New file.
4599 * common/print-utils.c: New file
4600 * Makefile.in (SFILES): Add common/print-utils.c.
4601 (HFILES_NO_SRCDIR): Add common/print-utils.h.
4602 (COMMON_OBS): Add print-utils.o.
4603 (print-utils.o): New target.
4605 2014-02-12 Tom Tromey <tromey@redhat.com>
4607 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
4609 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4611 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
4613 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4615 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
4616 if a PT_IO ptrace request returns sucessfully but indicates that 0
4617 bytes were transferred.
4619 2014-02-12 Pedro Alves <palves@redhat.com>
4620 Kevin Buettner <kevinb@redhat.com>
4622 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
4623 TYPE_INSTANCE_FLAG_CODE_SPACE.
4625 2014-02-12 Pedro Alves <palves@redhat.com>
4627 * h8300-tdep.c (pseudo_from_raw_register)
4628 (raw_from_pseudo_register): New functions.
4629 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
4632 2014-02-12 Pedro Alves <palves@redhat.com>
4634 * h8300-tdep.c (h8300_register_sim_regno): New function.
4635 (h8300_gdbarch_init): Install h8300_register_sim_regno as
4636 gdbarch_register_sim_regno hook.
4638 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
4640 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
4642 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
4644 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
4646 2014-02-12 Mark Kettenis <kettenis@gnu.org>
4648 * obsd-tdep.h (obsd_init_abi): New prototype.
4649 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
4650 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
4651 (obsd_init_abi): New functions.
4652 * i386obsd-tdep.c: Include "obsd-tdep.h".
4653 (i386obsd_init_abi): Call obsd_init_abi.
4654 * amd64obsd-tdep.c: Include "obsd-tdep.h".
4655 (amd64obsd_init_abi): Call obsd_init_abi.
4656 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
4657 obsd-tdep.c to gdb_target_obs.
4659 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
4661 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
4662 double float arguments to 16-byte in the argument slots.
4664 2014-02-11 Doug Evans <xdje42@gmail.com>
4666 * configure.ac: Don't crash if pkg-config is not found and guile
4667 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
4669 * configure: Regenerate.
4671 2014-02-11 Yao Qi <yao@codesourcery.com>
4673 * aix-thread.c (aix_thread_xfer_partial): Update comments.
4674 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
4675 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
4676 * gnu-nat.c (gnu_xfer_memory): Likewise.
4677 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
4678 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4679 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4680 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
4682 2014-02-11 Yao Qi <yao@codesourcery.com>
4684 * target.h (enum target_xfer_error): Rename to ...
4685 (enum target_xfer_status): ... it. New. All users updated.
4686 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
4688 (TARGET_XFER_STATUS_ERROR_P): New macro.
4689 (target_xfer_error_to_string): Remove declaration.
4690 (target_xfer_status_to_string): Declare.
4691 (target_xfer_partial_ftype): Adjust it.
4692 (struct target_ops) <to_xfer_partial>: Return
4693 target_xfer_status. Add argument xfered_len. Update
4695 * target.c (target_xfer_error_to_string): Rename to ...
4696 (target_xfer_status_to_string): ... it. New. All callers
4698 (target_read_live_memory): Likewise. Call target_xfer_partial
4699 instead of target_read.
4700 (memory_xfer_live_readonly_partial): Return
4701 target_xfer_status. Add argument xfered_len.
4702 (raw_memory_xfer_partial): Likewise.
4703 (memory_xfer_partial_1): Likewise.
4704 (memory_xfer_partial): Likewise.
4705 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
4706 properly. Update debug message.
4707 (default_xfer_partial, current_xfer_partial): Likewise.
4708 (target_write_partial): Likewise.
4709 (target_read_partial): Likewise. All callers updated.
4710 (read_whatever_is_readable): Likewise.
4711 (target_write_with_progress): Likewise.
4712 (target_read_alloc_1): Likewise.
4714 * aix-thread.c (aix_thread_xfer_partial): Likewise.
4715 * auxv.c (procfs_xfer_auxv): Likewise.
4716 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
4717 * bfd-target.c (target_bfd_xfer_partial): Likewise.
4718 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
4719 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
4720 * corefile.c (read_memory): Adjust.
4721 * corelow.c (core_xfer_partial): Likewise.
4722 * ctf.c (ctf_xfer_partial): Likewise.
4723 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
4725 (darwin_xfer_partial): Likewise.
4726 * exec.c (section_table_xfer_memory_partial): Likewise. All
4728 (exec_xfer_partial): Likewise.
4729 * exec.h (section_table_xfer_memory_partial): Update
4731 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
4733 (gnu_xfer_partial): Likewise.
4734 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
4735 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
4736 (ia64_hpux_xfer_solib_got): Likewise.
4737 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
4738 type of 'partial_len' to ULONGEST.
4739 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
4740 * linux-nat.c (linux_xfer_siginfo ): Likewise.
4741 (linux_nat_xfer_partial): Likewise.
4742 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
4743 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
4744 * monitor.c (monitor_xfer_memory): Likewise.
4745 (monitor_xfer_partial): Likewise.
4746 * procfs.c (procfs_xfer_partial): Likewise.
4747 * record-btrace.c (record_btrace_xfer_partial): Likewise.
4748 * record-full.c (record_full_xfer_partial): Likewise.
4749 (record_full_core_xfer_partial): Likewise.
4750 * remote-sim.c (gdbsim_xfer_memory): Likewise.
4751 (gdbsim_xfer_partial): Likewise.
4752 * remote.c (remote_write_bytes_aux): Likewise. All callers
4754 (remote_write_bytes, remote_read_bytes): Likewise. All
4756 (remote_flash_erase): Likewise. All callers updated.
4757 (remote_write_qxfer): Likewise. All callers updated.
4758 (remote_read_qxfer): Likewise. All callers updated.
4759 (remote_xfer_partial): Likewise.
4760 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
4761 (rs6000_xfer_shared_libraries): Likewise.
4762 * sol-thread.c (sol_thread_xfer_partial): Likewise.
4763 (sol_thread_xfer_partial): Likewise.
4764 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
4765 (sparc_xfer_partial): Likewise.
4766 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
4768 (spu_xfer_partial): Likewise.
4769 * spu-multiarch.c (spu_xfer_partial): Likewise.
4770 * tracepoint.c (tfile_xfer_partial): Likewise.
4771 * windows-nat.c (windows_xfer_memory): Likewise.
4772 (windows_xfer_shared_libraries): Likewise.
4773 (windows_xfer_partial): Likewise.
4774 * valprint.c: Replace 'target_xfer_error' with
4775 'target_xfer_status' in comments.
4777 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
4779 Checked in by Joel Brobecker <brobecker@adacore.com>.
4780 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
4782 2014-02-11 Joel Brobecker <brobecker@adacore.com>
4784 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
4785 function parameters.
4787 2014-02-10 Will Newton <will.newton@linaro.org>
4789 * elfread.c (elf_rel_plt_read): Look for a .got section if
4790 looking up .got.plt fails.
4791 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
4792 on address passed to elf_gnu_ifunc_record_cache.
4793 (elf_gnu_ifunc_resolve_addr): Likewise.
4794 (elf_gnu_ifunc_resolver_return_stop): Likewise.
4796 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
4798 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
4799 (X_RETTURN): New macro.
4800 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
4802 * sparc64-tdep.c (sparc64_init_abi): Hook
4803 sparc_in_function_epilogue_p.
4805 2014-02-10 Gary Benson <gbenson@redhat.com>
4807 * symfile-debug.c (debug_qf_expand_symtabs_matching):
4808 Rename name_matcher to symbol_matcher.
4810 2014-02-10 Gary Benson <gbenson@redhat.com>
4812 * symfile-debug.c (debug_qf_expand_symtabs_matching):
4813 Use expand_symtabs_file_matcher_ftype and
4814 expand_symtabs_symbol_matcher_ftype.
4816 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4818 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
4819 (struct ada_symbol_cache): New.
4820 (ada_free_symbol_cache): Forward declare.
4821 (struct ada_pspace_data): New.
4822 (ada_pspace_data_handle): New static global.
4823 (get_ada_pspace_data, ada_pspace_data_cleanup)
4824 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
4825 (cache_space, cache): Delete, now folded inside struct
4827 (ada_get_symbol_cache): New function.
4828 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
4830 (_initialize_ada_language): Remove initialization of cache_space.
4831 Move call to observer_attach_inferior_exit up, grouping it
4832 with the other observer registrations inside this function.
4833 Rename command to be more general. Add call to
4834 register_program_space_data_with_cleanup.
4836 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4838 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
4839 ada_new_objfile_observer.
4840 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
4841 (_initialize_tasks): Update uses of ada_new_objfile_observer
4842 and ada_tasks_normal_stop_observer.
4844 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4846 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
4847 returned by the 'Length attribute to integer.
4849 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4851 * ada-lang.c (_initialize_ada_language): Initialize
4852 cache_space obstack.
4854 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4856 * ada-lang.c (HASH_SIZE): New macro.
4857 (struct cache_entry): New type.
4858 (cache_space, cache): New static globals.
4859 (ada_clear_symbol_cache, find_entry): New functions.
4860 (lookup_cached_symbol, cache_symbol): Implement.
4861 (ada_new_objfile_observer, ada_free_objfile_observer): New.
4862 (_initialize_ada_language): Attach ada_new_objfile_observer
4863 and ada_free_objfile_observer.
4865 2014-02-10 Joel Brobecker <brobecker@adacore.com>
4867 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
4868 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
4869 struct block * parameter.
4870 (ada_lookup_symbol_list_worker): Constify local variable "block".
4871 Remove cast which is no longer necessary.
4873 2014-02-10 Doug Evans <xdje42@gmail.com>
4875 Add Guile as an extension language.
4876 * NEWS: Mention Guile scripting.
4877 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
4878 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
4879 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
4880 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
4881 (CLIBS): Add GUILE_LIBS.
4882 (install-guile): New rule.
4883 (guile.o): New rule.
4884 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
4885 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
4886 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
4887 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
4888 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
4889 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
4890 (scm-type.o, scm-utils.o, scm-value.o): New rules.
4891 * configure.ac: New option --with-guile.
4892 * configure: Regenerate.
4893 * config.in: Regenerate.
4894 * auto-load.c: Remove #include "python/python.h". Add #include
4895 "gdb/section-scripts.h".
4896 (source_section_scripts): Handle Guile scripts.
4897 (_initialize_auto_load): Add name of Guile objfile script to
4898 scripts-directory help text.
4899 * breakpoint.c (condition_command): Tweak comment to include Scheme.
4900 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
4901 (struct breakpoint): New member scm_bp_object.
4902 * defs.h (enum command_control_type): New value guile_control.
4903 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
4905 (show_user): Update comment.
4906 (_initialize_cli_cmds): Update help text for "show user". Update help
4907 text for max-user-call-depth.
4908 * cli/cli-script.c: Remove #include "python/python.h". Add #include
4910 (multi_line_command_p): Add guile_control.
4911 (print_command_lines): Handle guile_control.
4912 (execute_control_command, recurse_read_control_structure): Ditto.
4913 (process_next_line): Recognize "guile" commands.
4914 * disasm.c (gdb_disassemble_info): Make non-static.
4915 * disasm.h: #include "dis-asm.h".
4916 (struct gdbarch): Add forward decl.
4917 (gdb_disassemble_info): Declare.
4918 * extension.c: #include "guile/guile.h".
4919 (extension_languages): Add guile.
4920 (get_ext_lang_defn): Handle EXT_LANG_GDB.
4921 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
4922 * gdbtypes.c (get_unsigned_type_max): New function.
4923 (get_signed_type_minmax): New function.
4924 * gdbtypes.h (get_unsigned_type_max): Declare.
4925 (get_signed_type_minmax): Declare.
4926 * guile/README: New file.
4927 * guile/guile-internal.h: New file.
4928 * guile/guile.c: New file.
4929 * guile/guile.h: New file.
4930 * guile/scm-arch.c: New file.
4931 * guile/scm-auto-load.c: New file.
4932 * guile/scm-block.c: New file.
4933 * guile/scm-breakpoint.c: New file.
4934 * guile/scm-disasm.c: New file.
4935 * guile/scm-exception.c: New file.
4936 * guile/scm-frame.c: New file.
4937 * guile/scm-gsmob.c: New file.
4938 * guile/scm-iterator.c: New file.
4939 * guile/scm-lazy-string.c: New file.
4940 * guile/scm-math.c: New file.
4941 * guile/scm-objfile.c: New file.
4942 * guile/scm-ports.c: New file.
4943 * guile/scm-pretty-print.c: New file.
4944 * guile/scm-safe-call.c: New file.
4945 * guile/scm-string.c: New file.
4946 * guile/scm-symbol.c: New file.
4947 * guile/scm-symtab.c: New file.
4948 * guile/scm-type.c: New file.
4949 * guile/scm-utils.c: New file.
4950 * guile/scm-value.c: New file.
4951 * guile/lib/gdb.scm: New file.
4952 * guile/lib/gdb/boot.scm: New file.
4953 * guile/lib/gdb/experimental.scm: New file.
4954 * guile/lib/gdb/init.scm: New file.
4955 * guile/lib/gdb/iterator.scm: New file.
4956 * guile/lib/gdb/printing.scm: New file.
4957 * guile/lib/gdb/types.scm: New file.
4958 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
4959 (VPATH): Add $(GUILE_SRCDIR).
4960 (GUILE_DIR): New variable.
4961 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
4962 (all): Add stamp-guile dependency.
4963 (stamp-guile): New rule.
4964 (clean-guile, install-guile, uninstall-guile): New rules.
4965 (install-only): Add install-guile dependency.
4966 (uninstall): Add uninstall-guile dependency.
4967 (clean): Add clean-guile dependency.
4969 2014-02-09 Doug Evans <xdje42@gmail.com>
4971 Revert this patch (which I approved, mea culpa).
4973 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4975 * Makefile.in (all-lib): Remove.
4976 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4978 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4980 Fix Python stack corruption.
4981 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
4984 2014-02-08 Mark Kettenis <kettenis@gnu.org>
4986 * Makefile.in (all-lib): Remove.
4987 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
4989 2014-02-07 Doug Evans <dje@google.com>
4991 * extension-priv.h (extension_language_script_ops): Add comment.
4992 (extension_language_ops): Add comment.
4993 (active_ext_lang_state): Fix typo in comment.
4995 2014-02-07 Pedro Alves <palves@redhat.com>
4997 PR breakpoints/16292
4998 * infrun.c (handle_signal_stop) <signal arrives while stepping
4999 over a breakpoint>: Switch back to the stepping thread.
5001 2014-02-07 Yao Qi <yao@codesourcery.com>
5003 * target.c (target_xfer_partial): Return zero if LEN is zero.
5005 2014-02-07 Yao Qi <yao@codesourcery.com>
5007 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
5008 (ld_so_xfer_auxv): Likewise.
5009 * bfd-target.c (target_bfd_xfer_partial): Likewise.
5010 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
5011 * corelow.c (core_xfer_partial): Likewise.
5012 * ctf.c (ctf_xfer_partial): Likewise.
5013 * darwin-nat.c (darwin_read_dyld_info): Likewise.
5014 (darwin_xfer_partial): Likewise.
5015 * exec.c (exec_xfer_partial): Likewise.
5016 * gnu-nat.c (gnu_xfer_partial): Likewise.
5017 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
5018 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
5019 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
5020 * linux-nat.c (linux_xfer_siginfo): Likewise.
5021 (linux_proc_xfer_spu): Likewise.
5022 * procfs.c (procfs_xfer_partial): Likewise.
5023 * record-full.c (record_full_xfer_partial): Likewise.
5024 (record_full_core_xfer_partial): Likewise.
5025 * remote-sim.c (gdbsim_xfer_partial): Likewise.
5026 * remote.c (remote_write_qxfer): Likewise.
5027 (remote_write_qxfer, remote_read_qxfer): Likewise.
5028 (remote_xfer_partial): Likewise.
5029 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
5030 (rs6000_xfer_shared_libraries): Likewise.
5031 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
5032 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
5033 (spu_xfer_partial): Likewise.
5034 * target.c (memory_xfer_partial_1): Likewise.
5035 * tracepoint.c (tfile_xfer_partial): Likewise.
5036 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
5037 (windows_xfer_partial): Likewise.
5039 2014-02-07 Yao Qi <yao@codesourcery.com>
5041 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
5043 (core_xfer_shared_libraries_aix): Likewise.
5044 * gdbarch.c, gdbarch.h: Regenerated.
5045 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
5046 ULONGEST. Change 'len_avail' type to ULONGEST.
5047 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
5048 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
5050 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
5052 2014-02-07 Yao Qi <yao@codesourcery.com>
5054 * corefile.c (memory_error): Get 'exception' from ERR and pass
5055 'exception' to throw_error.
5057 2014-02-06 Doug Evans <xdje42@gmail.com>
5059 * configure.ac (libpython checking): Remove all but python.o from
5060 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
5061 * configure: Regenerate.
5063 * Makefile.in (SFILES): Add extension.c.
5064 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
5065 (COMMON_OBS): Add extension.o.
5066 * extension.h: New file.
5067 * extension-priv.h: New file.
5068 * extension.c: New file.
5070 * python/python-internal.h: #include "extension.h".
5071 (gdbpy_auto_load_enabled): Declare.
5072 (gdbpy_apply_val_pretty_printer): Declare.
5073 (gdbpy_apply_frame_filter): Declare.
5074 (gdbpy_preserve_values): Declare.
5075 (gdbpy_breakpoint_cond_says_stop): Declare.
5076 (gdbpy_breakpoint_has_cond): Declare.
5077 (void source_python_script_for_objfile): Delete.
5078 * python/python.c: #include "extension-priv.h".
5079 Delete inclusion of "observer.h".
5080 (extension_language_python): Moved here and renamed from
5081 script_language_python in py-auto-load.c.
5082 Redefined to be of type extension_language_defn.
5083 (python_extension_script_ops): New global.
5084 (python_extension_ops): New global.
5085 (struct python_env): New member previous_active.
5086 (restore_python_env): Call restore_active_ext_lang.
5087 (ensure_python_env): Call set_active_ext_lang.
5088 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
5090 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
5092 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
5094 (gdbpy_eval_from_control_command): Renamed from
5095 eval_python_from_control_command, made static. New arg extlang.
5096 (gdbpy_source_script) Renamed from source_python_script, made static.
5098 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
5099 result to int. New arg extlang.
5100 (gdbpy_source_objfile_script): Renamed from
5101 source_python_script_for_objfile, made static. New arg extlang.
5102 (gdbpy_start_type_printers): Renamed from start_type_printers, made
5103 static. New args extlang, extlang_printers. Change result type to
5105 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
5106 static. New arg extlang. Rename arg printers to extlang_printers
5107 and change type to ext_lang_type_printers *.
5108 (gdbpy_free_type_printers): Renamed from free_type_printers, made
5109 static. Replace argument arg with extlang, extlang_printers.
5110 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
5111 (!HAVE_PYTHON, source_python_script): Delete.
5112 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
5113 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
5114 (!HAVE_PYTHON, start_type_printers): Delete.
5115 (!HAVE_PYTHON, apply_type_printers): Delete.
5116 (!HAVE_PYTHON, free_type_printers): Delete.
5117 (_initialize_python): Delete call to observer_attach_before_prompt.
5118 (finalize_python): Set/restore active extension language.
5119 (gdbpy_finish_initialization) Renamed from
5120 finish_python_initialization, made static. New arg extlang.
5121 (gdbpy_initialized): New function.
5122 * python/python.h: #include "extension.h". Delete #include
5123 "value.h", "mi/mi-cmds.h".
5124 (extension_language_python): Declare.
5125 (GDBPY_AUTO_FILE_NAME): Delete.
5126 (enum py_bt_status): Moved to extension.h and renamed to
5128 (enum frame_filter_flags): Moved to extension.h.
5129 (enum py_frame_args): Moved to extension.h and renamed to
5130 ext_lang_frame_args.
5131 (finish_python_initialization): Delete.
5132 (eval_python_from_control_command): Delete.
5133 (source_python_script): Delete.
5134 (apply_val_pretty_printer): Delete.
5135 (apply_frame_filter): Delete.
5136 (preserve_python_values): Delete.
5137 (gdbpy_script_language_defn): Delete.
5138 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
5139 (start_type_printers, apply_type_printers, free_type_printers): Delete.
5141 * auto-load.c: #include "extension.h".
5142 (GDB_AUTO_FILE_NAME): Delete.
5143 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
5144 (script_language_gdb): Delete, moved to extension.c and renamed to
5145 extension_language_gdb.
5146 (source_gdb_script_for_objfile): Delete.
5147 (auto_load_pspace_info): New member unsupported_script_warning_printed.
5148 (loaded_script): Change type of language member to
5149 struct extension_language_defn *.
5150 (init_loaded_scripts_info): Initialize
5151 unsupported_script_warning_printed.
5152 (maybe_add_script): Make static. Change type of language arg to
5153 struct extension_language_defn *.
5154 (clear_section_scripts): Reset unsupported_script_warning_printed.
5155 (auto_load_objfile_script_1): Rewrite to use extension language API.
5156 (auto_load_objfile_script): Make public. Remove support-compiled-in
5157 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
5158 (source_section_scripts): Rewrite to use extension language API.
5159 (load_auto_scripts_for_objfile): Rewrite to use
5160 auto_load_scripts_for_objfile.
5161 (collect_matching_scripts_data): Change type of language member to
5162 struct extension_language_defn *.
5163 (auto_load_info_scripts): Change type of language arg to
5164 struct extension_language_defn *.
5165 (unsupported_script_warning_print): New function.
5166 (script_not_found_warning_print): Make static.
5167 (_initialize_auto_load): Rewrite construction of scripts-directory
5169 * auto-load.h (struct objfile): Add forward decl.
5170 (struct script_language): Delete.
5171 (struct auto_load_pspace_info): Add forward decl.
5172 (struct extension_language_defn): Add forward decl.
5173 (maybe_add_script): Delete.
5174 (auto_load_objfile_script): Declare.
5175 (script_not_found_warning_print): Delete.
5176 (auto_load_info_scripts): Update prototype.
5177 (auto_load_gdb_scripts_enabled): Declare.
5178 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
5179 auto_load_python_scripts_enabled and made public.
5180 (script_language_python): Delete, moved to python.c.
5181 (gdbpy_script_language_defn): Delete.
5182 (info_auto_load_python_scripts): Update to use
5183 extension_language_python.
5185 * breakpoint.c (condition_command): Replace call to
5186 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
5187 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
5188 with call to breakpoint_ext_lang_cond_says_stop.
5189 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
5190 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
5191 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
5192 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
5194 (local_setattro): Print name of extension language with existing
5197 * valprint.c (val_print, value_print): Update to call
5198 apply_ext_lang_val_pretty_printer.
5199 * cp-valprint.c (cp_print_value): Update call to
5200 apply_ext_lang_val_pretty_printer.
5201 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
5202 (gdbpy_apply_val_pretty_printer): Renamed from
5203 apply_val_pretty_printer. New arg extlang.
5204 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
5206 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
5207 extension language API.
5208 * cli/cli-script.c (execute_control_command): Update to call
5209 eval_ext_lang_from_control_command.
5211 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
5212 enum ext_lang_bt_status values. Update call to
5213 apply_ext_lang_frame_filter.
5214 (mi_cmd_stack_list_locals): Ditto.
5215 (mi_cmd_stack_list_args): Ditto.
5216 (mi_cmd_stack_list_variables): Ditto.
5217 * mi/mi-main.c: Delete #include "python/python-internal.h".
5218 Add #include "extension.h".
5219 (mi_cmd_list_features): Replace reference to python internal variable
5220 gdb_python_initialized with call to ext_lang_initialized_p.
5222 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
5223 Update to use enum ext_lang_frame_args. Update to call
5224 apply_ext_lang_frame_filter.
5225 * python/py-framefilter.c (extract_sym): Update to use enum
5227 (extract_value, py_print_type, py_print_value): Ditto.
5228 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
5229 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
5230 (py_print_frame): Ditto.
5231 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
5232 New arg extlang. Update to use enum ext_lang_bt_status.
5234 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
5235 finish_python_initialization. Replace with call to
5236 finish_ext_lang_initialization.
5238 * typeprint.c (do_free_global_table): Update to call
5239 free_ext_lang_type_printers.
5240 (create_global_typedef_table): Update to call
5241 start_ext_lang_type_printers.
5242 (find_global_typedef): Update to call apply_ext_lang_type_printers.
5243 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
5244 (type_print_options): Change type of global_printers from "void *"
5245 to "struct ext_lang_type_printers *".
5247 * value.c (preserve_values): Update to call preserve_ext_lang_values.
5248 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
5249 (gdbpy_preserve_values): Renamed from preserve_python_values.
5251 (!HAVE_PYTHON, preserve_python_values): Delete.
5253 * utils.c (quit_flag): Delete, moved to extension.c.
5254 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
5257 * eval.c: Delete #include "python/python.h".
5258 * main.c: Delete #include "python/python.h".
5260 * defs.h: Update comment.
5262 2014-02-06 Joel Brobecker <brobecker@adacore.com>
5266 2014-02-05 Mark Kettenis <kettenis@gnu.org>
5268 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
5271 2014-02-05 Yao Qi <yao@codesourcery.com>
5273 * remote.c (remote_pass_signals): Remove local 'buf' and use
5275 (remote_program_signals): Likewise.
5277 2014-02-05 Yao Qi <yao@codesourcery.com>
5279 * ctf.c: Include "inferior.h" and "gdbthread.h".
5280 (CTF_PID): A new macro.
5281 (ctf_open): Call inferior_appeared and add_thread_silent.
5282 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
5283 (ctf_thread_alive): New function.
5284 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
5286 2014-02-05 Yao Qi <yao@codesourcery.com>
5290 2013-05-24 Yao Qi <yao@codesourcery.com>
5292 * tracepoint.c (TFILE_PID): Remove.
5293 (tfile_open): Don't add thread and inferior.
5294 (tfile_close): Don't set 'inferior_ptid'. Don't call
5295 exit_inferior_silent.
5296 (tfile_thread_alive): Remove.
5297 (init_tfile_ops): Don't set field 'to_thread_alive' of
5300 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
5302 * remote.c (remote_start_remote): Call remote_check_symbols even
5303 if only symbol-file (not file) has been given.
5305 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5307 * gdbarch.sh (skip_entrypoint): New callback.
5308 * gdbarch.c, gdbarch.h: Regenerate.
5309 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
5310 * infrun.c (fill_in_stop_func): Likewise.
5311 * ppc-linux-tdep.c: Include "elf/ppc64.h".
5312 (ppc_elfv2_elf_make_msymbol_special): New function.
5313 (ppc_elfv2_skip_entrypoint): Likewise.
5314 (ppc_linux_init_abi): Install them for ELFv2.
5316 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5318 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
5319 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
5320 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
5321 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
5322 structures returned in GPRs.
5324 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5326 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
5327 offset to the stack parameter list for the ELFv2 ABI.
5329 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5331 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
5332 set_gdbarch_convert_from_func_ptr_addr and
5333 set_gdbarch_elf_make_msymbol_special for ELFv1.
5334 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
5335 function descriptors on ELFv1.
5336 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
5337 set up r12 at function entry.
5339 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5341 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
5342 (struct gdbarch_tdep): New member elf_abi.
5344 * rs6000-tdep.c: Include "elf/ppc64.h".
5345 (rs6000_gdbarch_init): Detect ELF ABI version.
5347 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5349 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
5350 within a register pair holding a DFP 128-bit value on little-endian.
5351 (ppc64_sysv_abi_return_value_base): Likewise.
5352 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
5353 (dfp_pseudo_register_write): Likewise.
5355 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5357 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
5358 offset on little-endian when passing _Decimal32.
5359 (ppc64_sysv_abi_return_value_base): Likewise for return values.
5361 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5363 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
5364 of the overlapped FP register within the VSX register on little-
5366 (efpr_pseudo_register_write): Likewise.
5368 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5370 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
5371 offset on little-endian when passing small structures.
5373 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5375 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
5376 (struct ppc64_sysv_argpos): New data structure.
5377 (ppc64_sysv_abi_push_float): Remove.
5378 (ppc64_sysv_abi_push_val): New function.
5379 (ppc64_sysv_abi_push_integer): Likewise.
5380 (ppc64_sysv_abi_push_freg): Likewise.
5381 (ppc64_sysv_abi_push_vreg): Likewise.
5382 (ppc64_sysv_abi_push_param): Likewise.
5383 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
5384 (ppc64_sysv_abi_return_value_base): New function.
5385 (ppc64_sysv_abi_return_value): Refactor to use it.
5387 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
5389 * NEWS: Document new target powerpc64le-*-linux*.
5391 2014-02-04 Mark Kettenis <kettenis@gnu.org>
5393 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
5394 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
5396 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
5397 register set used in ELF core dumps. Add floating-point register set.
5399 2014-02-03 Kevin Buettner <kevinb@redhat.com>
5401 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
5402 dwarf2_to_gdb[] table using symbolic constants. Adjust
5403 penultimate entry from number representing the PC register
5404 to symbolic constant representing the MDR register. Add
5405 constant for the PC register to the end of the table.
5407 2014-02-03 Mark Kettenis <kettenis@gnu.org>
5409 * bsd-kvm.c: Include <sys/param.h>
5411 2014-02-03 Mark Kettenis <kettenis@gnu.org>
5413 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
5415 2014-01-31 Joel Brobecker <brobecker@adacore.com>
5417 * ada-lang.h (clear_ada_sym_cache): Delete.
5419 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
5421 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
5423 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
5425 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
5426 the sigreturn register save area only if the syscall is
5429 2014-01-29 Joel Brobecker <brobecker@adacore.com>
5431 * valops.c (value_slice): Minor reformatting.
5433 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com>
5435 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
5437 2014-01-28 Joel Brobecker <brobecker@adacore.com>
5439 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
5441 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
5442 (ada_ignore_descriptive_types_p): New static global.
5443 (find_parallel_type_by_descriptive_type): Return immediately
5444 if ada_ignore_descriptive_types_p is set.
5445 (_initialize_ada_language): Register new commands "maintenance
5446 set ada", "maintenance show ada", "maintenance set ada
5447 ignore-descriptive-types" and "maintenance show ada
5448 ignore-descriptive-types".
5449 * NEWS: Add entry for new "maint ada set/show
5450 ignore-descriptive-types" commands.
5452 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
5454 * record-btrace.c (record_btrace_close): Call btrace_teardown
5457 2014-01-27 Joel Brobecker <brobecker@adacore.com>
5459 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
5462 2014-01-27 Joel Brobecker <brobecker@adacore.com>
5464 * ada-typeprint (type_is_full_subrange_of_target_type):
5466 (print_range): Add parameter bounds_prefered_p. If not set,
5467 try printing range types using the name of their base type.
5468 (print_range_type): Add parameter bounds_prefered_p.
5469 Use it in call to print_range.
5470 (print_array_type, ada_print_type): Update calls to print_range
5471 and print_range_type.
5473 2014-01-27 Joel Brobecker <brobecker@adacore.com>
5475 * ada-typeprint.c (print_array_type, print_choices, print_range)
5476 (print_range_bound, print_dynamic_range_bound, print_range_type):
5479 2014-01-27 Joel Brobecker <brobecker@adacore.com>
5481 * ada-typeprint.c (print_range): Add missing empty line
5482 after local declaration.
5484 2014-01-27 Joel Brobecker <brobecker@adacore.com>
5486 * ada-valprint.c (print_optional_low_bound): Get index_type's
5487 target type for as long as it is a TYPE_CODE_RANGE.
5489 2014-01-27 Joel Brobecker <brobecker@adacore.com>
5491 * procfs.c (procfs_make_note_section): Remove assertion and
5494 2014-01-24 Yao Qi <yao@codesourcery.com>
5496 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
5497 * corelow.c (get_core_siginfo): Likewise.
5499 2014-01-24 Yao Qi <yao@codesourcery.com>
5501 * remote.c (remote_write_bytes_aux): Change type of 'len' to
5502 ULONGEST. Don't check 'len' is negative.
5503 (remote_write_bytes): Change type of 'len' to ULONGEST.
5505 2014-01-23 Tom Tromey <tromey@redhat.com>
5508 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
5509 Handle exception from frame.block.
5510 (FrameVars.fetch_frame_locals): Likewise.
5512 2014-01-23 Tom Tromey <tromey@redhat.com>
5515 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
5516 on a NULL pointer. Move "goto error" to correct place.
5518 2014-01-23 Tom Tromey <tromey@redhat.com>
5521 * python/py-framefilter.c (apply_frame_filter): Call
5522 ensure_python_env after computing gdbarch.
5524 2014-01-23 Yao Qi <yao@codesourcery.com>
5526 * target.c (raw_memory_xfer_partial): Change argument type
5527 from void * to gdb_byte *.
5528 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
5530 2014-01-22 Doug Evans <dje@google.com>
5532 New gdbserver option --debug-format=timestamp.
5535 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
5537 * syscalls/s390x-linux.xml: New file.
5538 * syscalls/s390-linux.xml: New file.
5539 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
5540 (XML_SYSCALL_FILENAME_S390X): Likewise.
5541 (op_svc): New enum value for SVC opcode.
5542 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
5543 (s390_linux_get_syscall_number): New function.
5544 (s390_gdbarch_init): Register '*get_syscall_number' and the
5545 syscall xml file name.
5546 * data-directory/Makefile.in (SYSCALLS_FILES): Add
5547 "s390-linux.xml" and "s390x-linux.xml".
5548 * NEWS: Announce new feature.
5550 2014-01-22 Baruch Siach <baruch@tkos.co.il>
5552 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
5554 2014-01-22 Pedro Alves <palves@redhat.com>
5556 * xtensa-config.c: Include defs.h.
5558 2014-01-22 Joel Brobecker <brobecker@adacore.com>
5560 * common/common-utils.h: Add "ARI:" comment beside __func__
5563 2014-01-22 Joel Brobecker <brobecker@adacore.com>
5565 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
5566 documentation a bit.
5568 2014-01-21 Roland McGrath <mcgrathr@google.com>
5570 * configure.ac: Call AM_PROG_INSTALL_STRIP.
5571 * configure: Regenerate.
5572 * aclocal.m4: Regenerate.
5573 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
5574 New substituted variables.
5575 (install-strip): New target.
5576 (INSTALL_SCRIPT): New substituted variable.
5577 (FLAGS_TO_PASS): Add it.
5578 (install-only): Use $(INSTALL_SCRIPT) rather than
5579 $(INSTALL_PROGRAM) for gcore.
5581 2014-01-20 Tom Tromey <tromey@redhat.com>
5583 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
5586 2014-01-20 Tom Tromey <tromey@redhat.com>
5588 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
5589 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
5590 (deprecated_cmd_warning, complete_on_cmdlist): Update.
5591 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
5592 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
5593 (struct cmd_list_element) <flags>: Remove.
5594 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
5595 doc_allocated>: New fields.
5596 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
5598 * maint.c (maintenance_do_deprecate): Update.
5599 * top.c (execute_command): Update.
5601 2014-01-20 Baruch Siach <baruch@tkos.co.il>
5603 * xtensa-linux-nat.c: Include asm/ptrace.h.
5605 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5607 * Makefile.in (SFILES): Add d-support.c.
5608 (COMMON_OBS): Add d-support.o.
5609 * d-lang.h (d_parse_symbol): Add comment, now defined in
5611 * d-lang.c (parse_call_convention)
5612 (parse_attributes, parse_function_types)
5613 (parse_function_args, parse_type, parse_identifier)
5614 (call_convention_p, d_parse_symbol): Move functions to ...
5615 * d-support.c: ... New file.
5617 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5619 * d-lang.h (d_parse_symbol): Add declaration.
5620 * d-lang.c (extract_identifiers)
5621 (extract_type_info): Remove functions.
5622 (parse_call_convention, parse_attributes)
5623 (parse_function_types, parse_function_args)
5624 (parse_type, parse_identifier, call_convention_p)
5625 (d_parse_symbol): New functions.
5626 (d_demangle): Use d_parse_symbol to demangle D symbols.
5628 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5630 * d-lang.h (struct builtin_d_type): New data type.
5631 (builtin_d_type): Add declaration.
5632 * d-lang.c (d_language_arch_info, build_d_types)
5633 (builtin_d_type): New functions.
5634 (enum d_primitive_types): New data type.
5635 (d_language_defn): Change c_language_arch_info to
5636 d_language_arch_info.
5637 (d_type_data): New static variable.
5638 (_initialize_d_language): Initialize d_type_data.
5640 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5642 * d-lang.h (d_main_name): Add declaration.
5643 * d-lang.c (d_main_name): New function.
5644 * symtab.c (find_main_name): Add call to d_main_name.
5646 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5648 * d-lang.c (d_language_defn): Change macro_expansion_c to
5651 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
5653 * MAINTAINERS: Add myself as a write-after-approval maintainer.
5655 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
5657 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
5658 gdb_exception" declaration.
5659 * remote.c (getpkt_or_notif_sane): Likewise.
5661 2014-01-17 Doug Evans <dje@google.com>
5663 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
5664 function, contents of dirnames_to_char_ptr_vec_append moved here.
5665 (delim_string_to_char_ptr_vec): New function.
5666 (dirnames_to_char_ptr_vec_append): Rewrite.
5667 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
5669 2014-01-17 Doug Evans <dje@google.com>
5671 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
5673 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
5674 #include "common-utils.h".
5675 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
5676 * common/vec.h (VEC_ASSERT_PASS): Update.
5677 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
5678 (MACH_CHECK_ERROR): Update.
5680 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
5682 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
5684 * gdbarch.h: Regenerate.
5686 2014-01-16 Tom Tromey <tromey@redhat.com>
5688 * value.c (struct value) <regnum>: Move earlier.
5690 2014-01-16 Tom Tromey <tromey@redhat.com>
5692 * remote.c (extended_remote_create_inferior): Rename from
5693 extended_remote_create_inferior_1. Add "ops" argument. Remove
5696 2014-01-16 Pedro Alves <palves@redhat.com>
5698 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
5699 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
5702 2014-01-16 Doug Evans <dje@google.com>
5704 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
5706 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5708 * btrace.h (btrace_thread_flag): New.
5709 (struct btrace_thread_info) <flags>: New.
5710 * record-btrace.c (record_btrace_resume_thread)
5711 (record_btrace_find_thread_to_move, btrace_step_no_history)
5712 (btrace_step_stopped, record_btrace_start_replaying)
5713 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
5714 (record_btrace_find_resume_thread): New.
5715 (record_btrace_resume, record_btrace_wait): Extend.
5716 (record_btrace_can_execute_reverse): New.
5717 (record_btrace_open): Fail in non-stop mode.
5718 (record_btrace_set_replay): Split into this, ...
5719 (record_btrace_stop_replaying): ... this, ...
5720 (record_btrace_clear_histories): ... and this.
5721 (init_record_btrace_ops): Init to_can_execute_reverse.
5722 * NEWS: Announce it.
5724 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5726 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
5727 (forward_target_decr_pc_after_break)
5728 (target_decr_pc_after_break): New.
5729 * target.c (forward_target_decr_pc_after_break)
5730 (target_decr_pc_after_break): New.
5731 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
5732 instead of gdbarch_decr_pc_after_break.
5733 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
5734 instead of gdbarch_decr_pc_after_break.
5735 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
5736 instead of gdbarch_decr_pc_after_break.
5737 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
5738 instead of gdbarch_decr_pc_after_break.
5739 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
5740 instead of gdbarch_decr_pc_after_break.
5741 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
5742 instead of gdbarch_decr_pc_after_break.
5744 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5746 * btrace.c: Include regcache.h.
5747 (btrace_add_pc): New.
5748 (btrace_enable): Call btrace_add_pc.
5749 (btrace_is_empty): New.
5750 * btrace.h (btrace_is_empty): New.
5751 * record-btrace.c (require_btrace, record_btrace_info): Call
5754 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5756 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
5757 Support delta reads.
5758 (linux_disable_btrace): Change return type.
5759 * common/linux-btrace.h (linux_read_btrace): Change parameters
5760 and return type to allow error reporting. Update users.
5761 (linux_disable_btrace): Change return type. Update users.
5762 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
5764 (btrace_error): New.
5765 (btrace_block) <begin>: Comment on BEGIN == 0.
5766 * btrace.c (btrace_compute_ftrace): Start from the end of
5768 (btrace_stitch_trace, btrace_clear_history): New.
5769 (btrace_fetch): Read delta trace, return if replaying.
5770 (btrace_clear): Move clear history code to btrace_clear_history.
5771 (parse_xml_btrace): Throw an error if parsing failed.
5772 * target.h (struct target_ops) <to_read_btrace>: Change parameters
5773 and return type to allow error reporting.
5774 (target_read_btrace): Change parameters and return type to allow
5776 * target.c (target_read_btrace): Update.
5777 * remote.c (remote_read_btrace): Support delta reads. Pass
5779 * NEWS: Announce it.
5781 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5783 * record.h (record_btrace_frame_unwind)
5784 (record_btrace_tailcall_frame_unwind): New declarations.
5785 * dwarf2-frame: Include record.h
5786 (dwarf2_frame_cfa): Throw an error for btrace frames.
5787 * record-btrace.c: Include hashtab.h.
5788 (btrace_get_bfun_name): New.
5789 (btrace_call_history): Call btrace_get_bfun_name.
5790 (struct btrace_frame_cache): New.
5792 (bfcache_hash, bfcache_eq, bfcache_new): New.
5793 (btrace_get_frame_function): New.
5794 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
5795 (record_btrace_frame_this_id): Compute own id.
5796 (record_btrace_frame_prev_register): Provide PC, throw_error
5797 for all other registers.
5798 (record_btrace_frame_sniffer): Detect btrace frames.
5799 (record_btrace_tailcall_frame_sniffer): New.
5800 (record_btrace_frame_dealloc_cache): New.
5801 (record_btrace_frame_unwind): Add new functions.
5802 (record_btrace_tailcall_frame_unwind): New.
5803 (_initialize_record_btrace): Allocate cache.
5804 * btrace.c (btrace_clear): Call reinit_frame_cache.
5805 * NEWS: Announce it.
5807 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5809 * record-btrace.c (record_btrace_set_replay)
5810 (record_btrace_goto_begin, record_btrace_goto_end)
5811 (record_btrace_goto): New.
5812 (init_record_btrace_ops): Initialize them.
5813 * NEWS: Announce it.
5815 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5817 * record-btrace.c (record_btrace_find_new_threads)
5818 (record_btrace_thread_alive): New.
5819 (init_record_btrace_ops): Initialize to_find_new_threads and
5822 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5824 * record-btrace.c (record_btrace_resume): New.
5825 (record_btrace_wait): New.
5826 (init_record_btrace_ops): Initialize to_wait and to_resume.
5828 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5830 * record-btrace.c (record_btrace_xfer_partial)
5831 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
5832 (record_btrace_allow_memory_access): New.
5833 (init_record_btrace_ops): Initialize new methods.
5834 * target.c (raw_memory_xfer_partial): Bail out if target reports
5835 that this memory is not available.
5837 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5839 * target.h (target_ops) <to_insert_breakpoint>
5840 <to_remove_breakpoint>: Add target_ops parameter.
5841 (forward_target_insert_breakpoint): New.
5842 (forward_target_remove_breakpoint): New.
5843 (memory_remove_breakpoint, memory_insert_breakpoint):
5844 Add target_ops parameter.
5845 * target.c (target_insert_breakpoint): Split into this and ...
5846 (forward_target_insert_breakpoint): ... this.
5847 (target_remove_breakpoint): Split into this and ...
5848 (forward_target_remove_breakpoint): ... this.
5849 (debug_to_insert_breakpoint): Add target_ops parameter.
5850 Call forward_target_insert_breakpoint.
5851 (debug_to_remove_breakpoint): Add target_ops parameter.
5852 Call forward_target_remove_breakpoint.
5853 (update_current_target): Do not inherit or default to_insert_breakpoint
5854 and to_remove_breakpoint.
5855 * corelow.c (ignore): Add target_ops parameter.
5856 * exec.c (ignore): Add target_ops parameter.
5857 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
5858 Add target_ops parameter.
5859 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
5860 Add target_ops parameter.
5861 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
5862 Add target_ops parameter.
5863 * record-full.c (record_full_beneath_to_insert_breakpoint)
5864 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
5865 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
5866 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
5867 (record_full_core_remove_breakpoint): Add target_ops parameter.
5869 (record_full_beneath_to_insert_breakpoint_ops)
5870 (record_full_beneath_to_remove_breakpoint_ops)
5871 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
5872 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
5873 tmp_to_remove_breakpoint_ops,
5874 record_full_beneath_to_insert_breakpoint_ops, and
5875 record_full_beneath_to_remove_breakpoint_ops.
5876 * remote-m32r-sdi.c (m32r_insert_breakpoint)
5877 (m32r_remove_breakpoint): Add target_ops parameter.
5878 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
5879 Add target_ops parameter.
5880 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
5881 Add target_ops parameter.
5883 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5884 Markus Metzger <markus.t.metzger@intel.com>
5886 * record-btrace.c: Include frame-unwind.h.
5887 (record_btrace_frame_unwind_stop_reason)
5888 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
5889 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
5891 (init_record_btrace_ops): Install it.
5893 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5895 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
5898 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5900 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
5903 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5905 * frame-unwind.c: Include target.h.
5906 (frame_unwind_try_unwinder): New function with code from ...
5907 (frame_unwind_find_by_frame): ... here. New variable
5908 unwinder_from_target, call also target_get_unwinder)
5909 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
5910 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
5911 * target.h (struct target_ops): New fields to_get_unwinder and
5912 to_get_tailcall_unwinder.
5913 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
5915 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5917 * record-btrace.c (record_btrace_fetch_registers)
5918 (record_btrace_store_registers)
5919 (record_btrace_to_prepare_to_store): New.
5920 (init_record_btrace_ops): Add the above.
5922 2014-01-16 Tom Tromey <tromey@redhat.com>
5924 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
5925 * target.h (struct target_ops) <to_prepare_to_store>: Add
5927 (target_prepare_to_store): Add argument.
5928 * target.c (debug_to_prepare_to_store): Add argument.
5929 (update_current_target): Update.
5930 * remote.c (remote_prepare_to_store): Add 'self' argument.
5931 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
5932 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
5933 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
5934 * record-full.c (record_full_core_prepare_to_store): Add 'self'
5936 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
5937 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
5938 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
5939 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
5940 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
5942 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5944 * btrace.h (replay) <replay>: New.
5945 (btrace_is_replaying): New.
5946 * btrace.c (btrace_clear): Free replay iterator.
5947 (btrace_is_replaying): New.
5948 * record-btrace.c (record_btrace_is_replaying): New.
5949 (record_btrace_info): Print insn number if replaying.
5950 (record_btrace_insn_history): Start at replay position.
5951 (record_btrace_call_history): Start at replay position.
5952 (init_record_btrace_ops): Init to_record_is_replaying.
5954 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5956 * record-btrace.c (record_btrace_insn_history_range): Include
5958 (record_btrace_insn_history_from): Adjust range.
5959 (record_btrace_call_history_range): Include
5961 (record_btrace_call_history_from): Adjust range.
5962 * NEWS: Announce changes.
5964 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5966 * record.h (enum record_print_flag)
5967 <record_print_indent_calls>: New.
5968 * record.c (get_call_history_modifiers): Recognize /c modifier.
5969 (_initialize_record): Document /c modifier.
5970 * record-btrace.c (btrace_call_history): Add btinfo parameter.
5971 Reorder fields. Optionally indent the function name. Update
5973 * NEWS: Announce changes.
5975 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5977 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
5979 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5981 * btrace.c (ftrace_new_function): Start counting at one.
5982 * record-btrace.c (record_btrace_info): Adjust number of calls
5984 * NEWS: Announce it.
5986 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5988 * record-btrace.c (btrace_call_history_insn_range): Print
5989 insn range as [begin, end].
5991 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
5993 * btrace.h (struct btrace_func_link): New.
5994 (enum btrace_function_flag): New.
5995 (struct btrace_inst): Rename to ...
5996 (struct btrace_insn): ...this. Update all users.
5997 (struct btrace_func) <ibegin, iend>: Remove.
5998 (struct btrace_func_link): New.
5999 (struct btrace_func): Rename to ...
6000 (struct btrace_function): ...this. Update all users.
6001 (struct btrace_function) <segment, flow, up, insn, insn_offset)
6002 (number, level, flags>: New.
6003 (struct btrace_insn_iterator): Rename to ...
6004 (struct btrace_insn_history): ...this.
6006 (struct btrace_insn_iterator, btrace_call_iterator): New.
6007 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
6008 (struct btrace_target_info) <begin, end, level>
6009 <insn_history, call_history>: New.
6010 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
6011 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
6012 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
6013 (btrace_call_number, btrace_call_begin, btrace_call_end)
6014 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
6015 (btrace_find_function_by_number, btrace_set_insn_history)
6016 (btrace_set_call_history): New.
6017 * btrace.c (btrace_init_insn_iterator)
6018 (btrace_init_func_iterator, compute_itrace): Remove.
6019 (ftrace_print_function_name, ftrace_print_filename)
6020 (ftrace_skip_file): Change
6022 (ftrace_init_func): Remove.
6023 (ftrace_debug): Use new btrace_function fields.
6024 (ftrace_function_switched): Also consider gaining and
6025 losing symbol information).
6026 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
6027 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
6028 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
6030 (ftrace_new_function): Move. Remove debug print.
6031 (ftrace_update_lines, ftrace_update_insns): New.
6032 (ftrace_update_function): Check for call, ret, and jump.
6033 (compute_ftrace): Renamed to ...
6034 (btrace_compute_ftrace): ...this. Rewritten to compute call
6036 (btrace_fetch, btrace_clear): Updated.
6037 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
6038 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
6039 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
6040 (btrace_call_number, btrace_call_begin, btrace_call_end)
6041 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
6042 (btrace_find_function_by_number, btrace_set_insn_history)
6043 (btrace_set_call_history): New.
6044 * record-btrace.c (require_btrace): Use new btrace thread
6046 (record_btrace_info, btrace_insn_history)
6047 (record_btrace_insn_history, record_btrace_insn_history_range):
6048 Use new btrace thread info fields and new iterator.
6049 (btrace_func_history_src_line): Rename to ...
6050 (btrace_call_history_src_line): ...this. Use new btrace
6052 (btrace_func_history): Rename to ...
6053 (btrace_call_history): ...this. Use new btrace thread info
6054 fields and new iterator.
6055 (record_btrace_call_history, record_btrace_call_history_range):
6056 Use new btrace thread info fields and new iterator.
6058 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6060 * frame.h (frame_id_build_unavailable_stack_special): New.
6061 * frame.c (frame_id_build_unavailable_stack_special): New.
6063 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6065 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
6066 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
6067 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
6069 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
6070 (i386_insn_is_jump, i386_jmp_p): New.
6071 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
6072 insn_is_jump to gdbarch.
6073 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
6074 * gdbarch.h: Regenerated.
6075 * gdbarch.c: Regenerated.
6076 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
6077 (default_insn_is_jump): New.
6078 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
6079 (default_insn_is_jump): New.
6081 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6083 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
6085 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
6086 (btrace_read_type) <btrace_read_new>: Change to ...
6087 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
6089 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
6091 * common/linux-btrace.c (linux_read_btrace): Free trace from
6094 2014-01-15 Doug Evans <dje@google.com>
6096 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
6099 2014-01-15 Tom Tromey <tromey@redhat.com>
6101 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
6102 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
6103 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
6104 (set_objfile_main_name): New function.
6105 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
6106 language_of_main>: New fields.
6107 (set_objfile_main_name): Declare.
6108 * symtab.c (find_main_name): Loop over objfiles to find the main
6110 (set_main_name): Now static.
6111 (get_main_info): Add comment.
6112 * symtab.h (set_main_name): Don't declare.
6114 2014-01-15 Tom Tromey <tromey@redhat.com>
6116 * symtab.c (main_progspace_key): New global.
6117 (struct main_info): New.
6118 (name_of_main, language_of_main): Remove.
6119 (get_main_info, main_info_cleanup): New function.
6120 (set_main_name, main_name, main_language): Use get_main_info.
6121 (_initialize_symtab): Initialize main_progspace_key.
6123 2014-01-15 Tom Tromey <tromey@redhat.com>
6125 * dbxread.c (process_one_symbol): Update.
6126 * dwarf2read.c (read_partial_die): Update.
6127 * symfile.c (set_initial_language): Call main_language.
6128 * symtab.c (language_of_main): Now static.
6129 (set_main_name): Add 'lang' parameter.
6130 (find_main_name): Update.
6131 (main_language): New function.
6132 (symtab_observer_executable_changed): Update.
6133 * symtab.h (set_main_name): Update.
6134 (language_of_main): Remove.
6135 (main_language): Declare.
6137 2014-01-15 Tom Tromey <tromey@redhat.com>
6139 * symfile.c (init_entry_point_info): Use new "initialized" field.
6141 * objfiles.h (struct entry_point) <initialized>: New field.
6142 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
6143 (struct objfile) <ei>: ...here. Remove.
6144 * objfiles.c (entry_point_address_query): Update.
6146 2014-01-15 Tom Tromey <tromey@redhat.com>
6148 * objfiles.c (entry_point_address_query): Relocate entry point
6150 (objfile_relocate1): Do not relocate entry point address.
6151 * objfiles.h (struct entry_info) <entry_point>: Update comment.
6152 <the_bfd_section_index>: New field.
6153 * symfile.c (init_entry_point_info): Find the entry point's
6156 2014-01-15 Tom Tromey <tromey@redhat.com>
6158 * solib-frv.c (enable_break): Use entry_point_address_query.
6160 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6162 * NEWS: Add note on improved process record-replay on
6163 arm*-linux* targets.
6165 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6167 * arm-tdep.c (enum arm_record_result): New enum.
6168 (arm_record_unsupported_insn): New function.
6169 (arm_record_coproc_data_proc): Removed.
6170 (thumb2_record_ld_st_multiple): New function.
6171 (thumb2_record_ld_st_dual_ex_tbb): New function.
6172 (thumb2_record_data_proc_sreg_mimm): New function.
6173 (thumb2_record_ps_dest_generic): New function.
6174 (thumb2_record_branch_misc_cntrl): New function.
6175 (thumb2_record_str_single_data): New function.
6176 (thumb2_record_ld_mem_hints): New function.
6177 (thumb2_record_ld_word): New function.
6178 (thumb2_record_lmul_lmla_div): New function.
6179 (thumb2_record_decode_insn_handler): New function.
6180 (decode_insn): Add thumb32 instruction handlers.
6182 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6184 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
6185 (struct arm_linux_record_tdep): Declare.
6186 (arm_canonicalize_syscall): New function.
6187 (arm_all_but_pc_registers_record): New function.
6188 (arm_linux_syscall_record): New function.
6189 (arm_linux_init_abi): Add syscall recording constructs.
6190 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
6191 decoding. (arm_record_coproc_data_proc): Update arm syscall
6193 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
6194 <arm_syscall_record>: New field.
6195 * configure.tgt (arm*-*-linux*): Add linux-record.o to
6198 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6200 * arm-tdep.c (thumb_record_misc): Update to use sp as base
6201 register for push instruction recording.
6203 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6205 * arm-tdep.c (thumb_record_misc): Update to correct logical
6206 error while recording ldm, ldmia and pop instructions.
6208 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
6210 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
6212 2014-01-15 Pedro Alves <palves@redhat.com>
6214 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
6215 (go32_resume, go32_fetch_registers, store_register)
6216 (go32_store_registers, go32_prepare_to_store)
6217 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
6218 (go32_create_inferior, go32_can_run, go32_terminal_init)
6219 (go32_terminal_inferior, go32_terminal_ours): Delete forward
6222 2014-01-15 Tom Tromey <tromey@redhat.com>
6224 * target.h (async_callback_ftype): New typedef.
6225 (struct target_ops) <to_async>: Use it.
6227 2014-01-15 Joel Brobecker <brobecker@adacore.com>
6229 * python/py-value.c (get_field_type): Remove unnecessary curly
6230 braces for single-statement if block.
6232 2014-01-15 Joel Brobecker <brobecker@adacore.com>
6234 * python/py-type.c (convert_field): Add missing empty line
6237 2014-01-14 Doug Evans <dje@google.com>
6239 * symfile.h (expand_symtabs_matching): Renamed from
6240 expand_partial_symbol_names. Update prototype.
6241 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
6242 * symfile.c (expand_symtabs_matching): Renamed from
6243 expand_partial_symbol_names. New args file_matcher, kind.
6244 Rename arg fun to symbol_matcher.
6245 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
6246 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
6247 ada_expand_partial_symbol_name.
6248 (ada_make_symbol_completion_list): Update to call
6249 expand_symtabs_matching.
6250 (ada_add_global_exceptions): Call expand_symtabs_matching.
6251 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
6252 call map_symbol_filenames.
6253 * symtab.c (sources_info): Update to call map_symbol_filenames.
6254 (search_symbols): Call expand_symtabs_matching.
6255 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
6256 (default_make_symbol_completion_list_break_on): Update to call
6257 expand_symtabs_matching.
6258 (make_source_files_completion_list): Update to call
6259 map_symbol_filenames.
6261 2014-01-14 Doug Evans <dje@google.com>
6263 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
6264 (expand_symtabs_symbol_matcher_ftype): New typedef.
6265 (quick_symbol_functions.expand_symtabs_matching): Update to use.
6266 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
6267 * symfile.c (expand_partial_symbol_names): Update to use
6268 expand_symtabs_symbol_matcher_ftype.
6269 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
6270 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
6271 Arg name_matcher renamed to symbol_matcher.
6272 * psymtab.c (recursively_search_psymtabs): Update to use
6273 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
6275 (expand_symtabs_matching_via_partial): Update to use
6276 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
6277 Arg name_matcher renamed to symbol_matcher.
6279 2014-01-14 Doug Evans <dje@google.com>
6281 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
6282 (map_partial_symbol_filenames): Ditto.
6283 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
6284 (map_partial_symbol_filenames): Ditto.
6285 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
6286 (map_partial_symbol_filenames): Ditto.
6287 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
6288 (map_partial_symbol_filenames): Ditto.
6289 * symtab.c: Delete #include "psymtab.h".
6291 2014-01-14 Pedro Alves <palves@redhat.com>
6292 Tom Tromey <tromey@redhat.com>
6294 * infrun.c (use_displaced_stepping): Use find_record_target
6295 instead of RECORD_IS_USED.
6296 (adjust_pc_after_break): Use record_full_is_used instead of
6298 * record-btrace.c (record_btrace_open): Call record_preopen
6299 instead of checking RECORD_IS_USED.
6300 * record-full.c (record_full_shortname)
6301 (record_full_core_shortname): New globals.
6302 (record_full_is_used): New function.
6303 (find_full_open): Call record_preopen instead of checking
6305 (init_record_full_ops): Set the target's shortname to
6306 record_full_shortname.
6307 (init_record_full_core_ops): Set the target's shortname to
6308 record_full_core_shortname.
6309 * record-full.h (record_full_is_used): Declare.
6310 * record.c (find_record_target): Make extern.
6311 (record_preopen): New function.
6312 * record.h (RECORD_IS_USED): Delete macro.
6313 (find_record_target, record_preopen): Declare functions.
6315 2014-01-14 Yao Qi <yao@codesourcery.com>
6317 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
6318 'len''s type to ULONGEST.
6319 (core_xfer_shared_libraries_aix): Likewise.
6320 * gdbarch.c, gdbarch.h: Regenerated.
6321 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
6322 Change type of 'len' to ULONGEST.
6323 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
6324 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
6326 2014-01-14 Yao Qi <yao@codesourcery.com>
6328 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
6329 type of 'len' to ULONGEST.
6330 (linux_xfer_osdata_processgroups): Likewise.
6331 (linux_xfer_osdata_threads): Likewise.
6332 (linux_xfer_osdata_fds): Likewise.
6333 (linux_xfer_osdata_isockets): Likewise.
6334 (linux_xfer_osdata_shm): Likewise.
6335 (linux_xfer_osdata_sem): Likewise.
6336 (linux_xfer_osdata_msg): Likewise.
6337 (linux_common_xfer_osdata): Likewise.
6338 (struct osdata_type) <getter>: Likewise.
6339 * common/linux-osdata.h (linux_common_xfer_osdata): Update
6342 2014-01-14 Yao Qi <yao@codesourcery.com>
6344 * target.h (target_xfer_partial_ftype): Update.
6345 (struct target_ops) <to_xfer_partial>: Change 'len' type to
6347 * aix-thread.c (aix_thread_xfer_partial): Change type of
6348 argument 'len' to ULONGEST.
6349 * auxv.c (procfs_xfer_auxv): Likewise.
6350 (ld_so_xfer_auxv): Likewise.
6351 (memory_xfer_auxv): Likewise.
6352 * bfd-target.c (target_bfd_xfer_partial): Likewise.
6353 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
6354 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
6355 * corelow.c (core_xfer_partial): Likewise.
6356 * ctf.c (ctf_xfer_partial): Likewise.
6357 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
6359 (darwin_read_dyld_info): Likewise.
6360 (darwin_xfer_partial): Likewise.
6361 * exec.c (section_table_xfer_memory_partial): Likewise.
6362 (exec_xfer_partial): Likewise.
6363 * exec.h (section_table_xfer_memory_partial): Update
6365 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
6366 instead of plongest.
6367 (gnu_xfer_partial): Likewise.
6368 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
6369 (ia64_hpux_xfer_solib_got): Likewise.
6370 (ia64_hpux_xfer_partial): Likewise.
6371 * ia64-linux-nat.c (ia64_linux_xfer_partial):
6372 * inf-ptrace.c (inf_ptrace_xfer_partial):
6373 * inf-ttrace.c (inf_ttrace_xfer_partial):
6374 * linux-nat.c (linux_xfer_siginfo): Likewise.
6375 (linux_nat_xfer_partial): Likewise.
6376 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
6377 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
6378 * monitor.c (monitor_xfer_memory): Likewise.
6379 (monitor_xfer_partial): Likewise.
6380 * procfs.c (procfs_xfer_partial): Likewise.
6381 * record-full.c (record_full_xfer_partial): Likewise.
6382 (record_full_core_xfer_partial): Likewise.
6383 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
6384 instead of plongest.
6385 (gdbsim_xfer_partial): Likewise.
6386 * remote.c (remote_xfer_partial): Likewise.
6387 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
6388 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
6390 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
6391 (rs6000_xfer_shared_libraries): Likewise.
6392 * sol-thread.c (sol_thread_xfer_partial): Likewise.
6393 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
6394 (sparc_xfer_partial): Likewise.
6395 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
6396 (spu_xfer_partial): Likewise.
6397 * spu-multiarch.c (spu_xfer_partial): Likewise.
6398 * target.c (target_read_live_memory): Likewise.
6399 (memory_xfer_live_readonly_partial): Likewise.
6400 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
6401 (target_xfer_partial, default_xfer_partial): Likewise.
6402 (current_xfer_partial): Likewise.
6403 * tracepoint.c (tfile_xfer_partial): Likewise.
6404 * windows-nat.c (windows_xfer_memory): Likewise. Call
6405 pulongest instead of plongest.
6406 (windows_xfer_partial): Likewise.
6407 (windows_xfer_shared_libraries): Likewise.
6409 2014-01-14 Yao Qi <yao@codesourcery.com>
6411 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
6412 target_xfer_partial_ftype.
6414 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
6418 * valops.c (value_struct_elt_bitpos): New function
6419 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
6420 object to 'None' if the field name is an empty string ("").
6421 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
6422 attribute to look for a field when 'name' is 'None'.
6423 (get_field_type): New function
6425 2014-01-13 Doug Evans <dje@google.com>
6428 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
6429 (try_open_dwop_file): Ditto.
6430 * gdb_bfd.c: #include "vec.h".
6431 (bfdp): New typedef.
6432 (struct gdb_bfd_data): New member included_bfds.
6433 (gdb_bfd_unref): Unref all included bfds.
6434 (gdb_bfd_record_inclusion): New function.
6435 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
6437 2014-01-13 Tom Tromey <tromey@redhat.com>
6439 * gdbcore.h (deprecated_core_resize_section_table): Remove.
6441 2014-01-13 Tom Tromey <tromey@redhat.com>
6443 * defs.h (use_windows): Remove.
6444 * gdb.c (main): Update.
6445 * main.c (captured_main, gdb_main): Update.
6446 * main.h (struct captured_main_args) <use_windows>: Remove.
6447 * top.c (use_windows): Remove.
6449 2014-01-13 Tom Tromey <tromey@redhat.com>
6451 * defs.h (deprecated_flush_hook): Remove.
6453 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6456 * linux-thread-db.c (try_thread_db_load): Add parameter
6457 check_auto_load_safe. Move here the file_is_auto_load_safe call.
6458 (try_thread_db_load_from_pdir_1): Move it there from here.
6459 (try_thread_db_load_from_sdir): Update caller.
6460 (try_thread_db_load_from_dir): Move it there from here.
6462 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
6464 * regformats/regdat.sh: Always rewrite the register file.
6466 2014-01-13 Pedro Alves <palves@redhat.com>
6468 * Makefile.in (CHECK_HEADERS): New variable.
6469 (check-headers:): New rule.
6471 2014-01-13 Tom Tromey <tromey@redhat.com>
6473 * cli/cli-setshow.c (do_set_command): Update.
6474 * defs.h (deprecated_set_hook): Remove.
6475 * top.c (deprecated_set_hook): Remove.
6477 2014-01-13 Pedro Alves <palves@redhat.com>
6479 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
6480 the tracepoint if the PC is a pseudo-register.
6482 2014-01-13 Tom Tromey <tromey@redhat.com>
6484 * defs.h (XCALLOC): Remove.
6485 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
6486 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
6487 * dwarf2loc.c (allocate_piece_closure): Likewise.
6488 * elfread.c (elf_symfile_segments): Likewise.
6489 (elf_symfile_segments): Likewise.
6490 * gdbtypes.c (copy_type_recursive): Likewise.
6491 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
6492 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
6493 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
6495 * mt-tdep.c (mt_gdbarch_init): Likewise.
6496 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
6498 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
6499 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
6500 * registry.c (registry_alloc_data): Likewise.
6501 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
6502 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
6503 * serial.c (serial_fdopen_ops): Likewise.
6504 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
6506 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
6507 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
6510 2014-01-13 Tom Tromey <tromey@redhat.com>
6512 * defs.h (XMALLOC): Remove.
6513 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
6514 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
6515 * cli-out.c (struct ui_out *): Likewise.
6516 * cli/cli-dump.c (add_dump_command): Likewise.
6517 (add_dump_command): Likewise.
6518 * complaints.c (get_complaints): Likewise.
6519 (find_complaint): Likewise.
6520 * dwarf2-frame.c (execute_cfa_program): Likewise.
6521 * dwarf2read.c (abbrev_table_read_table): Likewise.
6522 * gdbarch.sh: Likewise.
6523 * gdbarch.c: Rebuild.
6524 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
6525 * interps.c (interp_new): Likewise.
6526 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
6527 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
6528 * mi/mi-console.c (mi_console_file_new): Likewise.
6529 * mi/mi-interp.c (mi_interpreter_init): Likewise.
6530 * mi/mi-out.c (mi_out_new): Likewise.
6531 * mi/mi-parse.c (mi_parse): Likewise.
6532 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
6533 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
6534 * observer.c (xalloc_observer_list_node): Likewise.
6535 * regcache.c (regcache_xmalloc_1): Likewise.
6536 * reggroups.c (reggroup_new): Likewise.
6537 (_initialize_reggroup): Likewise.
6538 * registry.c (register_data_with_cleanup): Likewise.
6539 * remote.c (remote_notif_stop_alloc_reply): Likewise.
6540 * ser-base.c (serial_ttystate): Likewise.
6541 * ser-mingw.c (make_pipe_state): Likewise.
6542 * ser-pipe.c (pipe_open): Likewise.
6543 * serial.c (serial_open): Likewise.
6544 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
6545 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
6546 (tui_alloc_win_info): Likewise.
6547 (tui_add_content_elements): Likewise.
6548 * tui/tui-file.c (tui_file_new): Likewise.
6549 * tui/tui-out.c (tui_out_new): Likewise.
6550 * ui-file.c (mem_file_new): Likewise.
6551 * ui-out.c (push_level): Likewise.
6552 (make_cleanup_ui_out_end): Likewise.
6553 (append_header_to_list): Likewise.
6554 (ui_out_new): Likewise.
6555 * user-regs.c (user_reg_add_builtin): Likewise.
6557 2014-01-13 Tom Tromey <tromey@redhat.com>
6559 * defs.h (XZALLOC): Remove.
6560 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
6561 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
6562 (get_ada_tasks_inferior_data): Likewise.
6563 * auto-load.c (get_auto_load_pspace_data): Likewise.
6564 * auxv.c (get_auxv_inferior_data): Likewise.
6565 * bfd-target.c (target_bfd_reopen): Likewise.
6566 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
6567 (deprecated_insert_raw_breakpoint): Likewise.
6568 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
6569 * corelow.c (core_open): Likewise.
6570 * darwin-nat.c (darwin_check_new_threads): Likewise.
6571 (darwin_attach_pid): Likewise.
6572 * dummy-frame.c (dummy_frame_push): Likewise.
6573 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
6574 * dwarf2loc.c (allocate_piece_closure): Likewise.
6575 * elfread.c (elf_symfile_segments): Likewise.
6576 * eval.c (ptrmath_type_p): Likewise.
6577 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
6578 * gdbtypes.c (alloc_type_arch): Likewise.
6579 (alloc_type_instance): Likewise.
6580 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
6581 * inf-child.c (inf_child_can_use_agent): Likewise.
6582 * inflow.c (get_inflow_inferior_data): Likewise.
6583 * infrun.c (save_infcall_suspend_state): Likewise.
6584 * jit.c (jit_reader_load): Likewise.
6585 (get_jit_objfile_data): Likewise.
6586 (get_jit_program_space_data): Likewise.
6587 (jit_object_open_impl): Likewise.
6588 (jit_symtab_open_impl): Likewise.
6589 (jit_block_open_impl): Likewise.
6590 (jit_frame_sniffer): Likewise.
6591 * linux-fork.c (add_fork): Likewise.
6592 * maint.c (make_command_stats_cleanup): Likewise.
6593 * objfiles.c (get_objfile_pspace_data): Likewise.
6594 * opencl-lang.c (struct lval_closure): Likewise.
6595 * osdata.c (osdata_start_osdata): Likewise.
6596 * progspace.c (new_address_space): Likewise.
6597 (add_program_space): Likewise.
6598 * remote-sim.c (get_sim_inferior_data): Likewise.
6599 * sh-tdep.c (sh_gdbarch_init): Likewise.
6600 * skip.c (Ignore): Likewise.
6601 (skip_delete_command): Likewise.
6602 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
6603 (library_list_start_library): Likewise.
6604 (solib_aix_current_sos): Likewise.
6605 * solib-darwin.c (get_darwin_info): Likewise.
6606 (darwin_current_sos): Likewise.
6607 * solib-dsbt.c (get_dsbt_info): Likewise.
6608 * solib-ia64-hpux.c (new_so_list): Likewise.
6609 (ia64_hpux_get_solib_linkage_addr): Likewise.
6610 * solib-spu.c (append_ocl_sos): Likewise.
6611 (spu_current_sos): Likewise.
6612 * solib-svr4.c (get_svr4_info): Likewise.
6613 (svr4_keep_data_in_core): Likewise.
6614 (library_list_start_library): Likewise.
6615 (svr4_default_sos): Likewise.
6616 (svr4_read_so_list): Likewise.
6617 * solib-target.c (library_list_start_library): Likewise.
6618 (solib_target_current_sos): Likewise.
6619 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
6620 * symfile-debug.c (install_symfile_debug_logging): Likewise.
6621 * symfile.c (default_symfile_segments): Likewise.
6622 * target-descriptions.c (tdesc_data_init): Likewise.
6623 (tdesc_create_reg): Likewise.
6624 (struct tdesc_type *): Likewise.
6625 (tdesc_create_vector): Likewise.
6626 (tdesc_set_struct_size): Likewise.
6627 (struct tdesc_type *): Likewise.
6628 (tdesc_free_feature): Likewise.
6629 (tdesc_create_feature): Likewise.
6630 * windows-nat.c (windows_add_thread): Likewise.
6631 (windows_make_so): Likewise.
6632 * xml-support.c (gdb_xml_body_text): Likewise.
6633 (gdb_xml_create_parser_and_cleanup): Likewise.
6634 (xml_process_xincludes): Likewise.
6635 * xml-syscall.c (allocate_syscalls_info): Likewise.
6636 (syscall_create_syscall_desc): Likewise.
6638 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
6640 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
6641 function, with code from i386_stap_parse_special_token.
6642 (i386_stap_parse_special_token_three_arg_disp): Likewise.
6643 (i386_stap_parse_special_token): Move code to the two functions
6646 2014-01-09 Pedro Alves <palves@redhat.com>
6647 Hui Zhu <hui@codesourcery.com>
6650 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
6651 bp_err_string. Don't mark the location shlib_disabled if the
6652 error thrown wasn't a generic or memory error. Catch errors
6653 thrown while inserting breakpoints in overlayed code. Output
6654 error message of software breakpoints.
6655 * remote.c (remote_insert_breakpoint): If this breakpoint has
6656 target-side commands but this stub doesn't support Z0 packets,
6657 throw NOT_SUPPORTED_ERROR error.
6658 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
6659 * target.h (target_insert_breakpoint): Extend comment.
6660 (target_insert_hw_breakpoint): Add comment.
6662 2014-01-08 Pedro Alves <palves@redhat.com>
6664 * remote.c (remote_add_thread): Add threads silently if starting
6666 (remote_notice_new_inferior): If in all-stop, and starting up,
6667 don't call notice_new_inferior.
6668 (get_current_thread): New function, factored out from ...
6669 (add_current_inferior_and_thread): ... this. Adjust.
6670 (remote_start_remote) <all-stop>: Fetch the thread list. If we
6671 found any thread, then select the remote's current thread as GDB's
6674 2014-01-08 Joel Brobecker <brobecker@adacore.com>
6676 * NEWS: Create a new section for the next release branch.
6677 Rename the section of the current branch, now that it has
6680 2014-01-08 Joel Brobecker <brobecker@adacore.com>
6682 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
6683 * version.in: Bump version to 7.7.50.DATE-cvs.
6685 2014-01-08 Yao Qi <yao@codesourcery.com>
6687 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
6688 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
6689 (spu_xfer_partial): Cast 'buf' to 'const char *'.
6691 2014-01-08 Yao Qi <yao@codesourcery.com>
6693 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
6694 return value of bfd_get_filename to symbol_file_add_from_bfd.
6696 2014-01-08 Pierre Muller <muller@sourceware.org>
6699 * coff-pe-read.c (struct read_pe_section_data): Add index field.
6700 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
6701 to prim_record_mininal_symbol_and_info.
6702 (add_pe_forwarded_sym): Use known section number of forwarded symbol
6703 in call to prim_record_minimal_symbol_and_info.
6704 (read_pe_exported_syms): Set index field of section_data.
6706 2014-01-07 Andrew Pinski <apinski@cavium.com>
6708 * features/aarch64-core.xml (cpsr): Change to be 64bit.
6709 * features/aarch64.c: Regenerate.
6711 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
6713 * target.c (return_null): Define.
6714 (update_current_target): Use it instead of return_zero for
6715 functions that return a pointer.
6717 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6719 * source.c (add_path): Fix check for duplicated paths in the previously
6722 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
6724 * ada-lang.c: Remove duplicated include statements.
6725 * alphabsd-nat.c: Ditto.
6726 * amd64-darwin-tdep.c: Ditto.
6727 * amd64fbsd-nat.c: Ditto.
6728 * auto-load.c: Ditto.
6730 * breakpoint.c: Ditto.
6732 * fork-child.c: Ditto.
6733 * gdb_usleep.c: Ditto.
6734 * i386-darwin-tdep.c: Ditto.
6735 * i386fbsd-nat.c: Ditto.
6737 * inferior.c: Ditto.
6739 * linux-nat.c: Ditto.
6740 * linux-tdep.c: Ditto.
6741 * m68kbsd-nat.c: Ditto.
6742 * m68klinux-nat.c: Ditto.
6743 * microblaze-tdep.c: Ditto.
6744 * mips-linux-tdep.c: Ditto.
6745 * mn10300-tdep.c: Ditto.
6746 * nto-tdep.c: Ditto.
6747 * opencl-lang.c: Ditto.
6749 * printcmd.c: Ditto.
6750 * regcache.c: Ditto.
6751 * remote-m32r-sdi.c: Ditto.
6755 * tilegx-linux-nat.c: Ditto.
6756 * tilegx-tdep.c: Ditto.
6757 * tracepoint.c: Ditto.
6759 * vaxbsd-nat.c: Ditto.
6760 * windows-nat.c: Ditto.
6761 * xtensa-tdep.c: Ditto.
6763 2014-01-07 Yao Qi <yao@codesourcery.com>
6765 * spu-linux-nat.c (_initialize_spu_nat): Declare.
6767 2014-01-07 Yao Qi <yao@codesourcery.com>
6768 Joel Brobecker <brobecker@adacore.com>
6770 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
6771 (pdc_write_regs): Likewise.
6772 (fetch_regs_kernel_thread): Likewise.
6773 (store_regs_kernel_thread): Likewise.
6775 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6777 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
6778 tagged type objects to their actual type.
6780 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6782 * ada-valprint.c (print_field_values): Add "language" parameter.
6783 Update calls to print_field_values and print_variant_part.
6784 Pass new parameter "language" in call to val_print instead
6785 of "current_language". Replace call to ada_val_print by call
6787 (print_variant_part): Add "language" parameter.
6788 (ada_val_print_struct_union): Update call to print_field_values.
6790 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6792 * ada-valprint.c (ui_memcpy): Delete.
6793 (ada_print_floating): Update documentation. Add empty line
6794 between between function documentation and implementation.
6795 Delete variable "buffer". Use ui_file_xstrdup in place of
6796 ui_file_put. Minor adjustments following this change.
6798 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6800 * ada-valprint.c (ada_val_print_string): New function,
6801 extracted from ada_val_print_array.
6802 (ada_val_print_array): Replace extracted code by call
6803 to ada_val_print_string followed by a return. Move
6804 "else" branch to the function's top block.
6806 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6808 * ada-valprint.c (ada_val_print_array): Move implementation
6809 down. Rename parameter "offset" and "val" into "offset_aligned"
6810 and "original_value" respectively. Add parameter "offset".
6812 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6814 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
6815 re-organizing the code. Change the "???" message printed
6816 when target type is a TYPE_CODE_UNDEF into
6817 "<ref to undefined type>".
6819 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6821 * ada-valprint.c (print_record): Delete, implementation inlined...
6822 (ada_val_print_struct_union): ... here. Remove call to
6823 ada_check_typedef in inlined implementation.
6825 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6827 * ada-valprint.c (ada_val_print_gnat_array): New function,
6828 extracted from ada_val_print_1;
6829 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
6830 (ada_val_print_flt, ada_val_print_struct_union)
6831 (ada_val_print_ref): Likewise.
6832 (ada_val_print_1): Delete variables i and elttype.
6833 Replace extracted-out code by call to corresponding
6836 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6838 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
6840 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6842 * ada-valprint.c (ada_val_print_1): Replace calls to
6843 ada_val_print_1 by calls to val_print.
6845 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6847 * ada-valprint.c (ada_val_print_1): Add parameter "language".
6848 Update calls to self accordingly. Replace calls to c_val_print
6849 by calls to val_print.
6851 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6853 * ada-valprint.c (print_record): Delete declaration.
6854 (adjust_type_signedness, ada_val_print_1): Likewise.
6855 (ada_val_print): Move function implementation down.
6856 (print_variant_part, print_field_values, print_record):
6857 Move function implementation up.
6859 2014-01-07 Joel Brobecker <brobecker@adacore.com>
6861 * python/py-type.c (typy_get_name): New function.
6862 (type_object_getset): Add entry for attribute "name".
6863 * NEWS: Add entry mentioning this new attribute.
6865 2014-01-07 Yao Qi <yao@codesourcery.com>
6867 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
6870 2014-01-07 Yao Qi <yao@codesourcery.com>
6872 * gnu-nat.c (info_port_rights): Add qualifier const to
6875 2014-01-07 Yao Qi <yao@codesourcery.com>
6877 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
6879 2014-01-07 Yao Qi <yao@codesourcery.com>
6881 * gnu-nat.c (make_inf) Update declaration.
6882 (make_inf): Make it static.
6883 (inf_set_traced): Likewise.
6884 (inf_port_to_thread, inf_task_died_status): Likewise.
6886 2014-01-07 Yao Qi <yao@codesourcery.com>
6888 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
6890 2014-01-07 Yao Qi <yao@codesourcery.com>
6892 * gnu-nat.c (_initialize_gnu_nat): Declare.
6894 2014-01-07 Yao Qi <yao@codesourcery.com>
6896 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
6898 (struct gdbarch_info) <byte_order>: Change type to
6900 <byte_order_for_code>: Likewise.
6901 * gdbarch.c, gdbarch.h: Regenerated.
6903 2014-01-06 Sasha Smundak <asmundak@google.com>
6905 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
6907 2014-01-06 Tom Tromey <tromey@redhat.com>
6909 * doublest.c (convert_doublest_to_floatformat): Use const, not
6911 * somread.c (som_symtab_read): Likewise.
6913 2014-01-07 Hui Zhu <hui@codesourcery.com>
6915 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
6916 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
6917 (gdb_bfd_fopen): Ditto.
6918 (gdb_bfd_openr): Ditto.
6919 (gdb_bfd_openw): Ditto.
6920 (gdb_bfd_openr_iovec): Ditto.
6921 (gdb_bfd_fdopenr): Ditto.
6922 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
6923 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
6925 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
6927 * symfile-mem.c (symbol_file_add_from_memory): Removed
6928 gdb_bfd_stash_filename.
6930 2014-01-03 Doug Evans <dje@google.com>
6932 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
6935 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6937 Update year range in copyright notice of all files.
6939 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6941 * top.c (print_gdb_version): Set copyright year to 2014.
6943 2014-01-01 Joel Brobecker <brobecker@adacore.com>
6945 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
6947 For older changes see ChangeLog-2013.
6953 version-control: never